:root,html[data-theme="light"] {
  --primary:#386b54;--secondary:#2d5945;--accent:#c59b5b;
  --primary-fg:#fff;--body-bg:#f5f4ef;--body-fg:#29322c;
  --header-color:#fff;--header-branding-color:#fff;
  --breadcrumbs-bg:#e8eee8;--breadcrumbs-fg:#466c53;
  --link-fg:#386b54;--link-hover-color:#234d39;--link-selected-fg:#234d39;
  --hairline-color:#e5e9e2;--border-color:#dde3d9;
  --darkened-bg:#f0f3ee;--selected-bg:#eaf1e9;--selected-row:#f1f6ef;
  --button-bg:#386b54;--button-hover-bg:#2d5945;--default-button-bg:#2d5945;
  --default-button-hover-bg:#234935;
}
html{scroll-behavior:smooth}
body{font-family:Inter,"Segoe UI",Arial,sans-serif;line-height:1.5}
#container{min-width:0}
#header{min-height:66px;padding:10px 26px;background:#2d5945;box-shadow:0 3px 20px rgba(30,58,42,.12)}
#branding h1,#branding h1 a:link,#branding h1 a:visited{display:flex;align-items:center;gap:11px;color:white;font-size:19px;font-weight:650;letter-spacing:-.02em;text-decoration:none}
.admin-brand-mark{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:11px 11px 11px 4px;background:#fff;color:#2d5945;font-family:Georgia,serif;font-size:23px;font-weight:700}
#user-tools{font-size:12px;line-height:1.7}
#user-tools a:link,#user-tools a:visited{color:#eef5ed}
#user-tools a:hover{text-decoration:underline}
#nav-global{display:flex;align-items:center;margin-left:20px}
.admin-catalog-link{padding:8px 12px;border:1px solid rgba(255,255,255,.35);border-radius:8px;color:white!important;font-size:12px;text-decoration:none!important;white-space:nowrap}
.admin-catalog-link:hover{background:rgba(255,255,255,.12)}
div.breadcrumbs{padding:11px 27px;background:#e8eee8;color:#466c53;font-size:12px}
div.breadcrumbs a{color:#2d5945!important}
#content{padding:28px;max-width:1500px}
#content h1{margin:0 0 18px;font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:500;letter-spacing:-.02em;color:#26392b}
#content h2{font-size:19px}
#content-main{min-width:0}
#content-related{border-radius:12px;background:#fff;box-shadow:0 5px 23px rgba(32,58,38,.05)}
.module{overflow:hidden;border:1px solid #e5e9e2;border-radius:12px;background:white;box-shadow:0 4px 20px rgba(32,58,38,.045)}
.module h2,.module caption,.inline-group h2{padding:12px 16px;background:#e8eee8;color:#2d5945;font-weight:650}
.module table{width:100%}
.module th,.module td{padding:10px 14px}
.module tr:hover{background:#f7faf5}
#content-main>.module{margin-bottom:18px}
.dashboard #content-main .module{margin-bottom:18px}
.dashboard #content-main .module table th{width:auto}
.object-tools a:link,.object-tools a:visited{padding:10px 14px;border-radius:8px;background:#386b54;color:white}
.object-tools a:hover{background:#2d5945}
input[type=text],input[type=password],input[type=email],input[type=url],input[type=number],input[type=search],select,textarea,.select2-container--admin-autocomplete .select2-selection{min-height:38px;border:1px solid #d7dfd5;border-radius:8px;background:#fff;color:#29322c;font:inherit}
textarea{padding:10px;line-height:1.5}
input[type=text]:focus,input[type=password]:focus,input[type=email]:focus,input[type=url]:focus,input[type=number]:focus,input[type=search]:focus,select:focus,textarea:focus{border-color:#709c7d;outline:none;box-shadow:0 0 0 3px rgba(56,107,84,.13)}
.aligned .form-row{padding:15px 18px;border-bottom:1px solid #edf0e9}
.aligned label{font-weight:600;color:#445049}
fieldset.module{margin-bottom:18px}
fieldset.module h2{border-bottom:1px solid #dce7da}
.submit-row{padding:13px 16px;border:1px solid #e3e9df;border-radius:11px;background:#eef3eb}
.button,input[type=submit],input[type=button],.submit-row input,.button.default,input[type=submit].default{min-height:37px;padding:8px 15px;border:0;border-radius:8px;background:#386b54;color:#fff;font-weight:600;box-shadow:none}
.button:hover,input[type=submit]:hover,input[type=button]:hover,.submit-row input:hover,.button.default:hover,input[type=submit].default:hover{background:#2d5945}
.submit-row a.deletelink{min-height:37px;padding:8px 12px;border-radius:8px}
#changelist{border-radius:12px}
#changelist .changelist-form-container{min-width:0}
#changelist .results{overflow-x:auto;border:1px solid #e5e9e2;border-radius:10px;background:white}
#changelist table thead th{padding:11px 12px;background:#e8eee8;color:#2d5945;white-space:nowrap}
#changelist table tbody th,#changelist table tbody td{padding:8px 12px;vertical-align:middle}
#changelist table tbody tr:hover{background:#f1f6ef}
#changelist table tbody tr:nth-child(even){background:#fafbf8}
#changelist table tbody tr:nth-child(even):hover{background:#f1f6ef}
.admin-book-cover{display:block;width:32px;height:43px;object-fit:cover;border-radius:3px;background:#e8eee8}
#changelist-search{padding:12px 15px;border:1px solid #e5e9e2;border-radius:10px;background:white}
#changelist-search input[type=text]{width:min(420px,70vw);padding:7px 11px}
#changelist-search input[type=submit]{margin-left:7px}
#changelist-filter{padding:0;border:1px solid #e5e9e2;border-radius:11px;background:white;box-shadow:0 4px 20px rgba(32,58,38,.04)}
#changelist-filter h2{padding:13px 16px;border-radius:10px 10px 0 0;background:#e8eee8;color:#2d5945;font-weight:650}
#changelist-filter h3{padding:12px 15px 2px;color:#6f7a6e}
#changelist-filter li{padding:2px 15px}
#changelist-filter li.selected{border-left:3px solid #386b54;background:#eef5ec}
#changelist-filter li.selected a{color:#234d39!important;font-weight:700}
.paginator{padding:13px 8px;color:#667269}
.paginator a{padding:6px 9px;border-radius:6px;background:#eef3eb;color:#386b54}
.messagelist li{padding:12px 18px;border-radius:9px;box-shadow:0 4px 14px rgba(32,58,38,.04)}
.help,.helptext{color:#78837a!important}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #ad894f;outline-offset:2px}
@media(max-width:900px){#header{padding:10px 16px}#content{padding:20px 16px}#nav-global{margin-left:8px}.admin-catalog-link{padding:7px 9px}#changelist-filter{max-height:400px;overflow:auto}}
@media(max-width:600px){#header{gap:8px;flex-wrap:wrap}#branding h1,#branding h1 a:link,#branding h1 a:visited{font-size:16px}.admin-brand-mark{width:33px;height:33px;font-size:20px}#nav-global{order:2;margin:0}#user-tools{font-size:11px}#content{padding:17px 12px}#content h1{font-size:25px}.aligned .form-row{padding:12px}.module th,.module td{padding:8px}div.breadcrumbs{padding:10px 14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
