/*
 * Agrico admin utility compatibility layer.
 *
 * The vendored TailAdmin bundle is intentionally curated and does not include
 * every legacy Tailwind color utility used by older admin views/helpers. Keep
 * these small, explicit, and limited to classes already referenced in admin PHP.
 */
.bg-blue-50,.hover\:bg-blue-50:hover{background-color:#eff6ff}
.bg-blue-100,.hover\:bg-blue-100:hover{background-color:#dbeafe}
.bg-blue-200,.hover\:bg-blue-200:hover{background-color:#bfdbfe}
.bg-blue-400{background-color:#60a5fa}
.bg-blue-500{background-color:#3b82f6}
.bg-blue-600,.hover\:bg-blue-600:hover{background-color:#2563eb}
.bg-blue-700,.hover\:bg-blue-700:hover{background-color:#1d4ed8}
.text-blue-500,.hover\:text-blue-500:hover{color:#3b82f6}
.text-blue-600,.hover\:text-blue-600:hover{color:#2563eb}
.text-blue-700,.hover\:text-blue-700:hover{color:#1d4ed8}
.text-blue-800,.hover\:text-blue-800:hover{color:#1e40af}
.text-blue-900,.hover\:text-blue-900:hover{color:#1e3a8a}
.border-blue-100{border-color:#dbeafe}
.border-blue-200{border-color:#bfdbfe}
.border-blue-300,.hover\:border-blue-300:hover{border-color:#93c5fd}
.border-blue-500{border-color:#3b82f6}
.border-blue-600{border-color:#2563eb}
.border-blue-700{border-color:#1d4ed8}

.bg-yellow-50,.hover\:bg-yellow-50:hover{background-color:#fefce8}
.bg-yellow-100,.hover\:bg-yellow-100:hover{background-color:#fef9c3}
.bg-yellow-200,.hover\:bg-yellow-200:hover{background-color:#fef08a}
.bg-yellow-400{background-color:#facc15}
.bg-yellow-500{background-color:#eab308}
.text-yellow-600{color:#ca8a04}
.text-yellow-800{color:#854d0e}
.text-yellow-900{color:#713f12}
.border-yellow-200{border-color:#fef08a}
.border-yellow-300{border-color:#fde047}
.border-yellow-500{border-color:#eab308}

.bg-amber-50,.hover\:bg-amber-50:hover{background-color:#fffbeb}
.bg-amber-100,.hover\:bg-amber-100:hover{background-color:#fef3c7}
.bg-amber-400{background-color:#fbbf24}
.bg-amber-500{background-color:#f59e0b}
.text-amber-700,.hover\:text-amber-700:hover{color:#b45309}
.text-amber-800,.hover\:text-amber-800:hover{color:#92400e}
.text-amber-900,.hover\:text-amber-900:hover{color:#78350f}
.text-amber-950{color:#451a03}
.border-amber-100{border-color:#fef3c7}
.border-amber-200{border-color:#fde68a}
.border-amber-300{border-color:#fcd34d}

.bg-emerald-50,.hover\:bg-emerald-50:hover{background-color:#ecfdf5}
.bg-emerald-100,.hover\:bg-emerald-100:hover{background-color:#d1fae5}
.bg-emerald-500{background-color:#10b981}
.bg-emerald-600,.hover\:bg-emerald-600:hover{background-color:#059669}
.bg-emerald-700,.hover\:bg-emerald-700:hover{background-color:#047857}
.text-emerald-600{color:#059669}
.text-emerald-700,.hover\:text-emerald-700:hover{color:#047857}
.text-emerald-800{color:#065f46}
.text-emerald-900{color:#064e3b}
.border-emerald-200{border-color:#a7f3d0}
.border-emerald-300,.hover\:border-emerald-300:hover{border-color:#6ee7b7}

.bg-purple-100{background-color:#f3e8ff}
.bg-purple-200,.hover\:bg-purple-200:hover{background-color:#e9d5ff}
.bg-purple-400{background-color:#c084fc}
.text-purple-600{color:#9333ea}
.text-purple-800{color:#6b21a8}
.text-purple-900{color:#581c87}

.bg-rose-50{background-color:#fff1f2}
.bg-rose-100{background-color:#ffe4e6}
.bg-rose-500{background-color:#f43f5e}
.text-rose-600{color:#e11d48}
.text-rose-700{color:#be123c}
.text-rose-800{color:#9f1239}
.text-rose-900{color:#881337}
.border-rose-200{border-color:#fecdd3}

.bg-slate-50{background-color:#f8fafc}
.bg-slate-50\/95{background-color:rgb(248 250 252/.95)}
.bg-slate-100{background-color:#f1f5f9}
.text-slate-500{color:#64748b}
.text-slate-600{color:#475569}
.text-slate-700{color:#334155}
.text-slate-900{color:#0f172a}
.border-slate-200{border-color:#e2e8f0}

.ring-blue-200{--tw-ring-color:#bfdbfe}
.ring-blue-400{--tw-ring-color:#60a5fa}
.ring-blue-500,.focus\:ring-blue-500:focus{--tw-ring-color:#3b82f6}
.ring-amber-200{--tw-ring-color:#fde68a}
.ring-amber-300,.focus\:ring-amber-300:focus{--tw-ring-color:#fcd34d}
.ring-amber-400,.focus\:ring-amber-400:focus{--tw-ring-color:#fbbf24}
.ring-emerald-200{--tw-ring-color:#a7f3d0}
.ring-emerald-300,.focus\:ring-emerald-300:focus{--tw-ring-color:#6ee7b7}
.ring-emerald-400,.focus\:ring-emerald-400:focus{--tw-ring-color:#34d399}
.ring-rose-200{--tw-ring-color:#fecdd3}
.ring-yellow-500,.focus\:ring-yellow-500:focus{--tw-ring-color:#eab308}

.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}
.from-blue-50{--tw-gradient-from:#eff6ff var(--tw-gradient-from-position);--tw-gradient-to:rgb(239 246 255/0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}
.from-green-50{--tw-gradient-from:#f0fdf4 var(--tw-gradient-from-position);--tw-gradient-to:rgb(240 253 244/0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}
.from-purple-50{--tw-gradient-from:#faf5ff var(--tw-gradient-from-position);--tw-gradient-to:rgb(250 245 255/0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}
.from-orange-50{--tw-gradient-from:#fff7ed var(--tw-gradient-from-position);--tw-gradient-to:rgb(255 247 237/0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}
.to-blue-100{--tw-gradient-to:#dbeafe var(--tw-gradient-to-position)}
.to-green-100{--tw-gradient-to:#dcfce7 var(--tw-gradient-to-position)}
.to-purple-100{--tw-gradient-to:#f3e8ff var(--tw-gradient-to-position)}
.to-orange-100{--tw-gradient-to:#ffedd5 var(--tw-gradient-to-position)}
.to-indigo-50{--tw-gradient-to:#eef2ff var(--tw-gradient-to-position)}

.admin-sidebar-shell{position:fixed;top:0;left:0;z-index:9999;display:flex;width:290px;height:100vh;flex-shrink:0;flex-direction:column;overflow-y:auto;border-right:1px solid #e5e7eb;background:#fff;padding-left:1.25rem;padding-right:1.25rem;transition:transform 280ms cubic-bezier(.32,.72,0,1),visibility 0s linear 280ms;transform:translateX(-100%);visibility:hidden}
.admin-sidebar-logo-link{display:flex;width:100%;min-height:150px;align-items:center;justify-content:center}
.admin-sidebar-logo-full{display:flex;width:100%;min-height:150px;align-items:center;justify-content:center}
.admin-sidebar-logo-icon{display:none;width:100%;min-height:150px;align-items:center;justify-content:center}
.admin-sidebar-logo-full picture,.admin-sidebar-logo-icon picture{display:flex;width:100%;align-items:center;justify-content:center}
.admin-sidebar-logo-full img{display:block;width:150px;height:150px;object-fit:contain}
.admin-sidebar-logo-icon img{display:block;width:40px;height:40px;object-fit:contain}
.admin-sidebar-collapse-show-on-desktop{display:none}
.admin-sidebar-rail{position:relative;z-index:60;flex:0 0 0;width:0;align-self:stretch}
.admin-sidebar-overlay{position:fixed;inset:0;z-index:50;display:none;width:100vw;height:100dvh;background:rgba(22,24,29,.22);opacity:0;transition:opacity 280ms cubic-bezier(.32,.72,0,1)}
.admin-sidebar-section-row{display:flex;align-items:center;justify-content:space-between;padding:.5rem .75rem}
.admin-sidebar-section-row-simple{display:flex;align-items:center;padding:.5rem .75rem}
.admin-sidebar-section-title{color:#43a8a5;font-size:.75rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.admin-sidebar-menu-group-icon{display:none;margin-left:auto;margin-right:auto;align-items:center;justify-content:center}
.admin-sidebar-section-count{font-size:.75rem;line-height:1rem;font-weight:500;color:#9ca3af}
.admin-sidebar-divider{margin-top:.5rem;margin-bottom:.5rem;border-top:1px solid #e5e7eb}
.admin-sidebar-mobile-close{position:absolute;top:.75rem;right:.75rem;z-index:2;display:inline-flex;width:2.75rem;height:2.75rem;align-items:center;justify-content:center;border:1px solid #ded9d1;border-radius:.75rem;background:#fffdf9;color:#57534e;box-shadow:0 1px 2px rgba(28,25,23,.05)}
.admin-sidebar-mobile-close:hover{border-color:#cbc4b9;background:#fff;color:#292524}
.admin-sidebar-mobile-close:focus-visible{outline:3px solid rgba(239,33,71,.14);outline-offset:2px}
.dark .admin-sidebar-shell{border-color:#1f2937;background:#000}
@media (max-width:1023px){
  .admin-sidebar-mobile-open .admin-sidebar-shell{transform:translateX(0);visibility:visible;transition:transform 520ms var(--admin-sidebar-spring,cubic-bezier(.22,1.18,.36,1)),visibility 0s linear 0s}
}
@media (min-width:1024px){
  .admin-sidebar-rail{flex:0 0 268px;width:268px}
  .admin-sidebar-shell{position:static;transform:translateX(0);visibility:visible;transition:all .3s ease}
  .admin-sidebar-mobile-close{display:none}
  .admin-sidebar-mobile-toggle,.admin-header-mobile-search-toggle{display:none!important}
  #sidebar-overlay.admin-sidebar-overlay{display:none!important;opacity:0!important;pointer-events:none!important}
  .admin-sidebar-collapsed .admin-sidebar-rail{flex:0 0 90px;width:90px}
  .admin-sidebar-collapsed .admin-sidebar-shell{width:90px}
  .admin-sidebar-toggle-active{background:#f3f4f6}
  .admin-sidebar-collapsed .admin-sidebar-collapse-hide-on-desktop{display:none!important}
  .admin-sidebar-collapsed .admin-sidebar-logo-icon.admin-sidebar-collapse-show-on-desktop{display:flex}
  .admin-sidebar-collapsed .admin-sidebar-menu-group-icon.admin-sidebar-collapse-show-on-desktop{display:inline-flex}
  .admin-sidebar-collapsed [data-admin-sidebar-collapse-scale]{transform:none}
}

[x-cloak]{display:none!important}
html,body{color-scheme:light;overflow:hidden;height:100%}
.admin-main-scroll{min-height:0}
@media (prefers-color-scheme:dark){
  *{color-scheme:light!important}
  [class*="dark:bg-"]{background-color:inherit!important}
  [class*="dark:text-"]{color:inherit!important}
  [class*="dark:border-"]{border-color:inherit!important}
}
html.dark,body.dark,html[class*="dark"],body[class*="dark"]{background-color:#f9fafb!important;color:#111827!important}
.custom-scrollbar::-webkit-scrollbar{width:6px;height:6px}
.custom-scrollbar::-webkit-scrollbar-track{background:#f1f1f1;border-radius:9999px}
.custom-scrollbar::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:9999px}
.custom-scrollbar::-webkit-scrollbar-thumb:hover{background:#9ca3af}
.fixed.inset-0{position:fixed;top:0;right:0;bottom:0;left:0}
#toolbarContainer,div[id*="debugbar"],div[id*="ci-toolbar"]{max-height:50vh!important;overflow-y:auto!important;flex-shrink:0!important}
#debug-icon{right:4.5rem!important}
.z-9999{z-index:9999}
@media (width >= 1024px){
  #sidebar.sidebar{position:static;translate:0 0;transform:translateX(0)}
}
.no-scrollbar::-webkit-scrollbar{display:none}
.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}
footer{flex-shrink:0;min-height:auto!important;height:auto!important;max-height:none!important}
footer>div{min-height:auto!important;height:auto!important;max-height:none!important}
body.modal-open{overflow:hidden}
[id*="-modal"] [id*="-menu"].absolute,
[id*="-modal"] [id*="-dropdown"] [id*="-menu"],
[id*="-modal"] .absolute.z-\[60\]{position:fixed!important;z-index:60!important}
[id*="-modal"],[id*="-modal"]>div{overflow:visible!important}
[id*="-modal"] [class*="overflow-y-auto"]{position:relative}
[id*="-modal"] [class*="overflow-y-auto"]>div{overflow:visible!important}
[id*="-menu"].absolute.z-\[60\]{z-index:60!important}
#search-input:focus{box-shadow:0 0 0 3px rgba(239,33,71,.1)}
#search-dropdown{box-shadow:0 12px 30px rgba(15,23,42,.12)}
#search-dropdown::-webkit-scrollbar{width:8px}
#search-dropdown::-webkit-scrollbar-thumb{background-color:rgba(148,163,184,.5);border-radius:9999px}
header button,header a{transition:background-color .2s ease,color .2s ease,border-color .2s ease}
.theme-toggle-btn{border-radius:.375rem;padding:.5rem;color:#374151;transition:background-color .15s ease,color .15s ease}
.theme-toggle-btn:hover{background:#f3f4f6;color:#111827}
.theme-toggle-btn:focus{outline:0}
.admin-public-lang-toggle{display:flex;align-items:center;gap:.5rem;border:1px solid #d1d5db;border-radius:.375rem;background:#fff;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#374151;transition:background-color .15s ease,color .15s ease,border-color .15s ease}
.admin-public-lang-toggle:hover{background:#f9fafb;color:#111827}
.admin-public-lang-toggle:focus{outline:0;box-shadow:0 0 0 2px rgba(70,97,255,.2)}
.language-selector-menu{position:absolute;right:0;z-index:9999;margin-top:.5rem;width:12rem;border:1px solid rgba(0,0,0,.08);border-radius:.375rem;background:#fff;box-shadow:0 10px 15px -3px rgba(16,24,40,.1),0 4px 6px -4px rgba(16,24,40,.1);outline:0}
.language-link{display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;color:#374151;transition:background-color .15s ease,color .15s ease}
.language-link:hover{background:#f3f4f6;color:#111827}
.language-link-active{background:#f9fafb;color:var(--color-primary-text,#d51d40);font-weight:500}
.lang-arrow,.admin-lang-arrow{display:inline-flex;width:1rem;height:1rem;align-items:center;justify-content:center;color:#6b7280;transition:transform .2s ease}
.admin-lang-toggle{display:flex;align-items:center;gap:.5rem;border-radius:.5rem;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#374151;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}
.admin-lang-toggle:hover{background:#f3f4f6;color:#111827}
.admin-lang-toggle:focus{outline:0;box-shadow:0 0 0 2px rgba(70,97,255,.25)}
@media(min-width:640px) and (max-width:1023.98px){.admin-workspace-page .admin-lang-toggle{min-height:44px}}
.admin-lang-flag{display:inline-flex;align-items:center;flex-shrink:0}
.admin-lang-name{font-size:.875rem;line-height:1.25rem}
.admin-lang-check{display:inline-flex;width:1rem;height:1rem;align-items:center;justify-content:center;color:var(--color-primary-text,#d51d40)}
.admin-lang-menu{position:absolute;right:0;z-index:50;margin-top:.5rem;width:12rem;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;padding:.25rem 0;box-shadow:0 10px 15px -3px rgba(16,24,40,.1),0 4px 6px -4px rgba(16,24,40,.1)}
.admin-lang-item{display:flex;width:100%;cursor:pointer;align-items:center;gap:.75rem;border:0;background:transparent;padding:.5rem 1rem;text-align:left;font-size:.875rem;line-height:1.25rem;color:#374151;transition:background-color .15s ease,color .15s ease}
.admin-lang-item:hover{background:#f3f4f6}
.admin-lang-item-active{background:rgba(70,97,255,.1);color:var(--color-primary-text,#d51d40)}

:root{
  --primary-color:#ef2147;
  --color-primary:#ef2147;
  --color-primary-action:#d51d40;
  --color-primary-text:#d51d40;
  --color-brand-50:#fff4f6;
  --color-brand-100:#ffe3e8;
  --color-brand-300:#f99aac;
  --color-brand-500:#ef2147;
  --color-brand-600:#b91937;
  --color-brand-700:#96142e;
}

/* Exact emblem red is an accent; small white action labels need a deeper fill. */
.dark{--color-primary-text:#f99aac}
.bg-brand-500.text-white,.bg-primary.text-white{background-color:var(--color-primary-action,#d51d40)}

/* Agrata Regular wordmark subset; UI text keeps the workspace font. */
@font-face{
  font-family:"Agrata Wordmark";
  src:url("../fonts/agrata/agrata-wordmark-regular.975a55e2b9ee.woff2") format("woff2"),
      url("../fonts/agrata/agrata-wordmark-regular.18968e1321a6.woff") format("woff"),
      url("../fonts/agrata/agrata-wordmark-regular.8d5f56de3f08.ttf") format("truetype");
  font-style:normal;
  font-weight:400;
  font-display:swap;
  unicode-range:U+0020,U+0041,U+0061,U+0067,U+0072,U+0074;
}

.your-logo-text{font-family:"Agrata Wordmark",Outfit,ui-sans-serif,system-ui,sans-serif;font-style:normal;font-weight:400;font-synthesis:none;font-kerning:normal;letter-spacing:-.0106383em;text-transform:none}

/* Agrata workspace shell — warm, calm companion to the sign-in experience. */
.admin-workspace-page{background:#f7f4ed;color:#1c1917;font-family:Outfit,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.admin-workspace-shell{background:#f7f4ed}
.admin-workspace-page .admin-main-scroll{background:#f7f4ed}
.admin-workspace-page .admin-main-scroll{overflow-x:hidden}
.admin-workspace-page .admin-main-content-shell{background:#f7f4ed;padding-top:1.25rem}
.admin-workspace-content{width:100%;max-width:80rem;margin-left:auto;margin-right:auto}
.admin-content-minimal-width{width:100%;margin-left:auto;margin-right:auto}

/* Profile workspace: contain every responsive interaction inside its card. */
.admin-profile-tab-shell{min-width:0;max-width:100%;overflow:hidden}
.admin-profile-passkey-register-row{display:flex;align-items:flex-end;gap:1rem}
.admin-profile-passkey-name-field{min-width:0;flex:1 1 0%}
.admin-profile-passkey-register-row>button{flex:0 0 auto}
[data-admin-mobile-only][hidden]{display:none!important}
.admin-profile-passkey-faceid{display:none;margin-bottom:1rem}
.admin-profile-passkey-faceid .login-submit-btn{width:100%}
.admin-device-mobile .admin-profile-passkey-faceid{display:block}
.admin-profile-audit-message{white-space:normal;overflow-wrap:anywhere}
.admin-localized-file-control{display:flex;min-width:0;align-items:center;gap:.75rem}
.admin-localized-file-control .admin-file-input-control{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;padding:0}
.admin-localized-file-button{display:inline-flex;min-height:2.75rem;flex:0 0 auto;cursor:pointer;align-items:center;gap:.5rem;border:1px solid #d6d3d1;border-radius:.75rem;background:#fff;padding:.625rem .875rem;font-size:.875rem;font-weight:600;color:#292524;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
.admin-localized-file-button:hover{border-color:#a8a29e;background:#fafaf9}
.admin-localized-file-control .admin-file-input-control:focus+.admin-localized-file-button{border-color:var(--color-brand-500,#ef2147);box-shadow:0 0 0 3px rgba(239,33,71,.12)}
.admin-localized-file-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;color:#78716c}
.admin-timesheet-filter-summary-layout{display:grid;gap:1rem;min-width:0}
.admin-timesheet-filter-controls{display:grid;width:100%;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.admin-timesheet-filter-control{min-width:0}
.admin-timesheet-filter-control-user{grid-column:1/-1}
.admin-timesheet-stats-grid{margin-left:auto;display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}

@media (max-width:639.98px){
  .admin-profile-passkey-register-row{flex-direction:column;align-items:stretch}
  .admin-profile-passkey-register-row>button{width:100%;justify-content:center}
  .admin-localized-file-control{align-items:stretch;flex-direction:column}
  .admin-localized-file-button{justify-content:center}
  .admin-localized-file-name{text-align:center}
}

@media (min-width:768px){
  .admin-timesheet-filter-controls{grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin-timesheet-filter-control-user{grid-column:auto}
  .admin-timesheet-stats-grid{display:flex;width:auto;gap:1rem}
}

@media (min-width:1280px){
  .admin-timesheet-filter-summary-layout{grid-template-columns:minmax(0,1fr) auto;align-items:center}
}

.admin-workspace-page{--admin-sidebar-spring:cubic-bezier(.22,1.18,.36,1);--admin-sidebar-out:cubic-bezier(.32,.72,0,1)}
@supports (transition-timing-function:linear(0,1)){
  .admin-workspace-page{--admin-sidebar-spring:linear(0,.009 1.1%,.035 2.4%,.141 6.1%,.723 22.4%,.938 30.3%,1.032 37.4%,1.046 41.2%,1.032 45.6%,.995 54.9%,.988 62.7%,1)}
}
@keyframes admin-sidebar-item-in{from{opacity:0;transform:translateX(-12px)}to{opacity:1;transform:none}}
.admin-workspace-page .admin-sidebar-shell{width:268px;overflow:hidden;border-right:1px solid #23262e;background:#16181d;color:#e4e1dd;padding:0 1rem;box-shadow:none}
.admin-workspace-page .admin-sidebar-scroll{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#3a3d46 transparent}
.admin-workspace-page .admin-sidebar-scroll::-webkit-scrollbar{width:6px}
.admin-workspace-page .admin-sidebar-scroll::-webkit-scrollbar-thumb{border-radius:999px;background:#3a3d46}
.admin-workspace-page .admin-sidebar-logo-link{min-height:112px;justify-content:flex-start;border-bottom:1px solid #2a2d35}
.admin-workspace-page .admin-sidebar-logo-full{min-height:112px;justify-content:flex-start;gap:.75rem}
.admin-workspace-page .admin-sidebar-shell .admin-sidebar-logo-full{display:flex}
.admin-workspace-page .admin-sidebar-logo-icon{min-height:112px}
.admin-workspace-page .admin-sidebar-logo-full picture{width:56px;flex:0 0 56px}
.admin-workspace-page .admin-sidebar-logo-full img{width:56px;height:56px}
.admin-workspace-page .admin-sidebar-brand-copy{display:flex;min-width:0;flex-direction:column;gap:.05rem}
.admin-workspace-page .admin-sidebar-brand-copy strong{font-family:"Agrata Wordmark",Outfit,ui-sans-serif,system-ui,sans-serif;font-size:1.5rem;line-height:1.2;font-style:normal;font-weight:400;font-synthesis:none;font-kerning:normal;letter-spacing:-.0106383em;color:#faf9f7}
.admin-workspace-page .admin-sidebar-brand-copy small{font-size:.62rem;line-height:1rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#d0ccc8}
.admin-workspace-page .admin-sidebar-nav{gap:.2rem;padding-top:1rem;padding-bottom:calc(2.75rem + env(safe-area-inset-bottom,0px))}
.admin-workspace-page .admin-sidebar-divider{margin:1.75rem 0 0;border:0;height:0}
.admin-workspace-page .admin-sidebar-section-row,.admin-workspace-page .admin-sidebar-section-row-simple{padding:.35rem .75rem;color:#d0ccc8}
.admin-workspace-page .admin-sidebar-section-title{display:flex;align-items:center;gap:.5rem;color:#d0ccc8;font-size:.69rem;font-weight:650;letter-spacing:.06em}
.admin-workspace-page .admin-sidebar-section-title::before{content:"";width:7px;height:7px;border-radius:99px;flex:0 0 7px;background:#d0ccc8}
.admin-workspace-page .admin-sidebar-group-crop .admin-sidebar-section-title::before{background:#8fcb9b}
.admin-workspace-page .admin-sidebar-group-harvest .admin-sidebar-section-title::before{background:#e0b35c}
.admin-workspace-page .admin-sidebar-group-commerce .admin-sidebar-section-title::before{background:#7eb8d4}
.admin-workspace-page .admin-sidebar-group-finance .admin-sidebar-section-title::before{background:#c4b5e8}
.admin-workspace-page .admin-sidebar-group-utilities .admin-sidebar-section-title::before{background:#e4a98a}
.admin-workspace-page .admin-sidebar-group-reports .admin-sidebar-section-title::before{background:#6ec8b9}
.admin-workspace-page .admin-sidebar-group-management .admin-sidebar-section-title::before{background:#d9b8a3}
.admin-workspace-page .admin-sidebar-group-equipment .admin-sidebar-section-title::before{background:#b7c4a0}
.admin-workspace-page .admin-sidebar-group-users .admin-sidebar-section-title::before{background:#9bb0d4}
.admin-workspace-page .admin-sidebar-stage::first-letter{color:inherit}
.admin-workspace-page .admin-sidebar-section-count{color:#d0ccc8}
.admin-workspace-page .admin-sidebar-menu-group-icon{color:#d0ccc8}
.admin-workspace-page .admin-sidebar-mobile-close{border-color:#2a2d35;background:#23262e;color:#e4e1dd;box-shadow:none}
.admin-workspace-page .admin-sidebar-mobile-close:hover{border-color:#3a3d46;background:#2a2d35;color:#faf9f7}
.admin-workspace-page .menu-item{min-height:2.75rem;border:1px solid transparent;border-radius:.75rem;padding:.65rem .75rem;font-size:1rem;line-height:1.25rem;color:#e4e1dd}
.admin-workspace-page .menu-item:hover{border-color:transparent;background:#23262e;color:#faf9f7}
.admin-workspace-page .menu-item:focus-visible{outline:2px solid #f3f1ee;outline-offset:2px}
.admin-workspace-page .menu-item-active,.admin-workspace-page .menu-item-active:is(:hover,:focus){border-color:transparent;border-radius:.625rem;background:#fff0f3;color:#b91937;box-shadow:none}
.admin-workspace-page .menu-item-active svg,.admin-workspace-page .menu-item-icon-active{color:inherit;fill:currentColor}
.admin-workspace-page .menu-item-inactive svg,.admin-workspace-page .menu-item-icon-inactive{color:#e4e1dd}
.admin-workspace-page .menu-item i{font-size:1.25rem;line-height:1}

.admin-workspace-page .admin-header-shell{border-color:rgba(222,217,209,.86);background:rgba(247,244,237,.86);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.admin-web-app-install{display:none;align-items:flex-start;gap:12px;margin:0 1rem .75rem;padding:12px 14px;border:1px solid #ded9d1;border-radius:14px;background:#fffdf8;color:#49381d;box-shadow:0 1px 2px rgba(28,25,23,.04)}
.admin-web-app-install.is-visible{display:flex}
.admin-web-app-install[hidden]{display:none!important}
.admin-web-app-install-copy{flex:1;min-width:0}
.admin-web-app-install-title{margin:0 0 .25rem;font-size:.875rem;font-weight:650;line-height:1.35;color:#292524}
.admin-web-app-install-copy p{margin:0;font-size:.8125rem;line-height:1.45;color:#57534e}
.admin-web-app-install-copy p[hidden]{display:none}
.admin-web-app-update{border-color:#fed7aa;background:#fffaf0}
.admin-web-app-update.is-blocked{border-color:#f5c2c7;background:#fff8f8}
.admin-web-app-install-actions{display:flex;flex-shrink:0;flex-direction:column;gap:8px}
.admin-web-app-install-action,.admin-web-app-install-dismiss{min-height:44px;padding:8px 12px;border-radius:10px;font-size:.8125rem;font-weight:650;line-height:1.2;touch-action:manipulation}
.admin-web-app-install-action{border:1px solid #ef2147;background:#d51d40;color:#fff}
.admin-web-app-install-dismiss{border:1px solid #ded9d1;background:#fff;color:#44403c}
.admin-web-app-install-action:focus-visible,.admin-web-app-install-dismiss:focus-visible{outline:3px solid #bd592e;outline-offset:2px}
.admin-login-page .admin-web-app-install{margin:0 0 1rem}
@media(max-width:639.98px){.admin-web-app-install{margin-right:1rem;margin-left:1rem;flex-wrap:wrap}.admin-web-app-install-actions{width:100%;flex-direction:row}.admin-web-app-install-action,.admin-web-app-install-dismiss{flex:1}}
@media (display-mode: standalone), (display-mode: fullscreen) {
  .admin-web-app-install:not(.admin-web-app-update){display:none!important}
  .admin-workspace-page .admin-header-shell{padding-top:env(safe-area-inset-top,0px)}
  .admin-workspace-page .admin-footer-shell{padding-bottom:max(.5rem,env(safe-area-inset-bottom,0px))}
  .admin-workspace-page .admin-sidebar-shell{padding-top:env(safe-area-inset-top,0px)}
  .admin-login-page .admin-login-panel{padding-top:max(1.5rem,env(safe-area-inset-top,0px));padding-bottom:max(1.5rem,env(safe-area-inset-bottom,0px));padding-left:max(1.5rem,env(safe-area-inset-left,0px));padding-right:max(1.5rem,env(safe-area-inset-right,0px))}
}
html.admin-web-app-standalone .admin-web-app-install:not(.admin-web-app-update){display:none!important}
html.admin-web-app-standalone .admin-workspace-page .admin-header-shell{padding-top:env(safe-area-inset-top,0px)}
html.admin-web-app-standalone .admin-workspace-page .admin-footer-shell{padding-bottom:max(.5rem,env(safe-area-inset-bottom,0px))}
html.admin-web-app-standalone .admin-workspace-page .admin-sidebar-shell{padding-top:env(safe-area-inset-top,0px)}
html.admin-web-app-standalone .admin-login-page .admin-login-panel{padding-top:max(1.5rem,env(safe-area-inset-top,0px));padding-bottom:max(1.5rem,env(safe-area-inset-bottom,0px));padding-left:max(1.5rem,env(safe-area-inset-left,0px));padding-right:max(1.5rem,env(safe-area-inset-right,0px))}
html.admin-web-app-standalone.admin-sidebar-mobile-open,
html.admin-web-app-standalone.admin-sidebar-mobile-open body{
  background:#16181d;
}
@media (display-mode: standalone), (display-mode: fullscreen) {
  html.admin-sidebar-mobile-open,
  html.admin-sidebar-mobile-open body{
    background:#16181d;
  }
}
.admin-workspace-page .admin-header-row{min-height:4.5rem;padding:.75rem 1rem}
.admin-workspace-page .admin-header-icon-button{border-color:#ded9d1;border-radius:.75rem;background:rgba(255,255,255,.72);color:#78716c;box-shadow:0 1px 2px rgba(28,25,23,.03)}
.admin-workspace-page .admin-header-icon-button:hover{border-color:#cbc4b9;background:#fff;color:#292524}
.admin-workspace-page .admin-header-search-shell{max-width:38rem}
.admin-header-search-host{display:none}
.admin-header-search-stage,.admin-header-search-close{display:none}
.admin-header-search-host.admin-header-search-mobile-open{position:fixed;inset:0;z-index:100001;display:flex;isolation:isolate;max-width:none;flex-direction:column;align-items:center;justify-content:center;border:0;border-radius:0;background:linear-gradient(to bottom,#f7f4ed 0,#f7f4ed calc(env(safe-area-inset-top,0px) + .5rem),rgba(247,244,237,.55) calc(env(safe-area-inset-top,0px) + 3.25rem),rgba(22,24,29,.48) calc(env(safe-area-inset-top,0px) + 7rem),rgba(22,24,29,.48) 100%);padding:max(1.25rem,env(safe-area-inset-top,0px)) 1.25rem max(1.25rem,env(safe-area-inset-bottom,0px));box-shadow:none}
.admin-header-search-host.admin-header-search-mobile-open::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);-webkit-mask-image:linear-gradient(to bottom,transparent 0,transparent calc(env(safe-area-inset-top,0px) + .5rem),rgba(0,0,0,.28) calc(env(safe-area-inset-top,0px) + 3.25rem),#000 52%);mask-image:linear-gradient(to bottom,transparent 0,transparent calc(env(safe-area-inset-top,0px) + .5rem),rgba(0,0,0,.28) calc(env(safe-area-inset-top,0px) + 3.25rem),#000 52%)}
.admin-header-search-host.admin-header-search-mobile-open.admin-header-search-spotlight-active{justify-content:flex-start;padding-top:max(.75rem,env(safe-area-inset-top,0px))}
.admin-header-search-spotlight{position:relative;z-index:1;display:flex;width:100%;max-width:28rem;flex-direction:column;align-items:stretch}
.admin-header-search-host.admin-header-search-mobile-open .admin-header-search-close{position:absolute;top:max(.45rem,env(safe-area-inset-top,0px));right:max(.45rem,env(safe-area-inset-right,0px));z-index:1;display:inline-flex;width:2.75rem;height:2.75rem;align-items:center;justify-content:center;border:0;border-radius:.75rem;background:transparent;color:#57534e}
.admin-header-search-host.admin-header-search-mobile-open .admin-header-search-close:hover{color:#292524}
.admin-header-search-host.admin-header-search-mobile-open .admin-header-search-close:focus-visible{outline:3px solid rgba(239,33,71,.28);outline-offset:2px}
.admin-header-search-host.admin-header-search-mobile-open .admin-header-search-stage{display:block;margin:0 2.75rem 1.1rem;text-align:center}
.admin-header-search-stage-title{margin:0;font-size:1.65rem;line-height:1.2;font-weight:650;letter-spacing:-.03em;color:#faf9f7}
.admin-header-search-stage-copy{margin:.45rem 0 0;font-size:.95rem;line-height:1.4;color:#e7e5e4}
.admin-header-search-host.admin-header-search-spotlight-active .admin-header-search-stage{display:none}
.admin-header-search-host.admin-header-search-mobile-open .admin-header-search-shell{max-width:none}
.admin-header-search-host.admin-header-search-mobile-open .admin-header-search-shortcut{display:none}
.admin-header-search-host.admin-header-search-mobile-open .admin-header-search-input{height:3rem;padding-right:1rem;border-color:transparent;border-radius:1rem;background:#fffdf9;font-size:16px;box-shadow:none}
.admin-header-search-host.admin-header-search-mobile-open .admin-header-search-input:focus{border-color:transparent;background:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.28)}
.admin-header-search-host.admin-header-search-mobile-open .admin-header-search-dropdown{position:static;margin-top:.75rem;border-color:transparent;border-radius:1rem;background:rgba(255,253,249,.94);box-shadow:none}
.admin-header-search-host.admin-header-search-mobile-open .admin-header-search-results{max-height:min(52dvh,28rem)}
.admin-search-spotlight-open{overflow:hidden}
@media (prefers-reduced-motion:reduce){
  .admin-header-search-host.admin-header-search-mobile-open::before{backdrop-filter:none;-webkit-backdrop-filter:none}
}
.admin-workspace-page .admin-header-search-input{height:2.9rem;border-color:#ded9d1;border-radius:.85rem;background:rgba(255,255,255,.7);color:#292524;box-shadow:0 1px 2px rgba(28,25,23,.025)}
.admin-workspace-page .admin-header-search-input:focus{border-color:#ef2147;background:#fff;box-shadow:0 0 0 3px rgba(239,33,71,.11)}
.admin-workspace-page .admin-header-search-shortcut{border-color:#e4ded5;background:#f7f4ed;color:#78716c}
.admin-workspace-page .admin-header-search-dropdown,.admin-workspace-page .admin-lang-menu,.admin-workspace-page .admin-header-user-menu-panel{border-color:#ded9d1;border-radius:1rem;background:#fffdf9;box-shadow:0 20px 45px rgba(28,25,23,.12)}
.admin-workspace-page .admin-lang-toggle,.admin-workspace-page .admin-header-user-trigger{border:1px solid transparent;border-radius:.75rem;color:#57534e}
.admin-workspace-page .admin-lang-toggle:hover,.admin-workspace-page .admin-header-user-trigger:hover{border-color:#e4ded5;background:rgba(255,255,255,.75);color:#292524}
.admin-workspace-page .admin-header-user-trigger:focus,.admin-workspace-page .admin-lang-toggle:focus{box-shadow:0 0 0 3px rgba(239,33,71,.11)}
.admin-workspace-page .admin-header-user-avatar{background:#fff0e9;box-shadow:inset 0 0 0 1px #fed7cc}
.admin-workspace-page .admin-header-user-initial{color:#c93c14}
@media(max-width:639.98px){.admin-workspace-page .admin-header-row{gap:8px;padding-right:16px;padding-left:16px}.admin-header-primary-actions{gap:8px}.admin-header-account-actions{gap:6px}.admin-workspace-page .admin-header-icon-button{width:44px;height:44px}.admin-workspace-page .admin-lang-toggle,.admin-workspace-page .admin-header-user-trigger{min-width:44px;min-height:44px;justify-content:center;gap:4px;padding:6px}.admin-workspace-page .admin-header-user-avatar{width:32px;height:32px}.admin-workspace-page .admin-header-user-initial{font-size:14px;line-height:20px}.admin-workspace-page .admin-lang-toggle .language-flag{flex-basis:22px;width:22px;height:15.4px}.admin-workspace-page .admin-lang-arrow,.admin-workspace-page .admin-header-chevron{display:none}}

.admin-page-heading-shell{margin-bottom:1.75rem;display:flex;flex-direction:column;gap:1rem}
.admin-page-heading-main{display:flex;min-width:0;align-items:center;gap:1rem}
.admin-page-heading-icon{display:flex;width:3.25rem;height:3.25rem;flex:0 0 auto;align-items:center;justify-content:center;border:1px solid #fed7cc;border-radius:1rem;background:#fff4f6;color:#d94318}
.admin-page-heading-icon svg{width:2rem!important;height:2rem!important;color:inherit;fill:currentColor}
.admin-page-heading-copy{min-width:0}
.admin-page-heading-title{margin:0;font-size:clamp(1.7rem,3vw,2.35rem);line-height:1.1;font-weight:700;letter-spacing:-.04em;color:#1c1917}
.admin-page-heading-description{max-width:52rem;margin:.45rem 0 0;font-size:.9rem;line-height:1.55;color:#6b655f}
.admin-page-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.625rem;margin:0 0 1.25rem}
.admin-page-actions-end{justify-content:flex-end}
.admin-page-actions-start{justify-content:flex-start}

.admin-workspace-page .admin-card-shell,.admin-workspace-page .admin-surface-card,.admin-workspace-page .admin-calendar-surface{border-color:#e2ddd5;border-radius:1rem;background:rgba(255,255,255,.82);box-shadow:0 1px 2px rgba(28,25,23,.025),0 12px 30px rgba(28,25,23,.035)}
.admin-workspace-page .admin-card-shell:hover{border-color:#d8d1c7}
.admin-workspace-page .admin-card-section-header,.admin-workspace-page .admin-card-compact-header,.admin-workspace-page .admin-panel-header-row{border-color:#eee9e2}
.admin-workspace-page .admin-card-footer-muted,.admin-workspace-page .admin-modal-footer,.admin-workspace-page .admin-table-controls{background:#faf8f3}
.admin-workspace-page .admin-stat-card-label,.admin-workspace-page .admin-widget-item-label{color:#78716c}
.admin-workspace-page .admin-stat-card-value,.admin-workspace-page .admin-widget-item-value{color:#1c1917;letter-spacing:-.025em}
.admin-workspace-page .admin-section-title,.admin-workspace-page .admin-subsection-title,.admin-workspace-page .admin-card-subsection-title{color:#292524}
.admin-workspace-page .admin-section-description,.admin-workspace-page .admin-subsection-description,.admin-workspace-page .admin-muted-prose{color:#78716c}

.admin-workspace-page .admin-action-button,.admin-workspace-page .admin-primary-submit-button,.admin-workspace-page .admin-import-action-button,.admin-workspace-page .admin-secondary-button,.admin-workspace-page .admin-cancel-button,.admin-workspace-page .admin-outline-action-button{border-radius:.75rem}
.admin-workspace-page .admin-action-button-primary,.admin-workspace-page .admin-action-button-green,.admin-workspace-page .admin-primary-submit-button,.admin-workspace-page .admin-import-action-button-brand{background:#d51d40;box-shadow:0 1px 2px rgba(150,20,46,.14)}
.admin-workspace-page .admin-action-button-primary:hover,.admin-workspace-page .admin-action-button-green:hover,.admin-workspace-page .admin-primary-submit-button:hover,.admin-workspace-page .admin-import-action-button-brand:hover{background:#b91937;transform:translateY(-1px)}
.admin-workspace-page .admin-action-button:focus,.admin-workspace-page .admin-primary-submit-button:focus{box-shadow:0 0 0 3px rgba(239,33,71,.14)}
.admin-workspace-page .admin-secondary-button,.admin-workspace-page .admin-cancel-button,.admin-workspace-page .admin-outline-action-button{border-color:#ded9d1;background:#fffdf9;color:#44403c;box-shadow:0 1px 2px rgba(28,25,23,.025)}
.admin-workspace-page .admin-secondary-button:hover,.admin-workspace-page .admin-cancel-button:hover,.admin-workspace-page .admin-outline-action-button:hover{border-color:#cbc4b9;background:#fff;color:#1c1917}

.admin-workspace-page .admin-main-root input[type="text"],.admin-workspace-page .admin-main-root input[type="email"],.admin-workspace-page .admin-main-root input[type="password"],.admin-workspace-page .admin-main-root input[type="number"],.admin-workspace-page .admin-main-root input[type="date"],.admin-workspace-page .admin-main-root input[type="time"],.admin-workspace-page .admin-main-root select,.admin-workspace-page .admin-main-root textarea{border-color:#ded9d1;border-radius:.75rem;background:#fffdf9;color:#292524}
.admin-workspace-page .admin-main-root :is(input[type="url"],input[type="tel"]),.admin-workspace-page .admin-main-root .admin-form .admin-base-dropdown-trigger{border-color:#ded9d1;border-radius:.75rem;background:#fffdf9;color:#292524}
.admin-workspace-page .admin-main-root input:focus,.admin-workspace-page .admin-main-root select:focus,.admin-workspace-page .admin-main-root textarea:focus{border-color:#ef2147;outline:0;box-shadow:0 0 0 3px rgba(239,33,71,.1)}
.admin-workspace-page .admin-field-label,.admin-workspace-page .admin-filter-label{color:#57534e}
.admin-workspace-page .admin-field-help{color:#6b6560}
.admin-workspace-page :is(.admin-field-label,.admin-field-label-strong,.admin-field-label-icon) .text-red-500{color:#b91c1c}
.admin-workspace-page .admin-filter-select,.admin-workspace-page .admin-filter-chip{border-color:#ded9d1;border-radius:.75rem;background:#fffdf9;color:#57534e}
.admin-workspace-page .admin-filter-select:focus{border-color:#ef2147;box-shadow:0 0 0 3px rgba(239,33,71,.1)}
.admin-workspace-page .admin-filter-chip{gap:.5rem}
.admin-dashboard-cooling-unavailable{display:block;font-size:.72rem;line-height:1rem;color:#78716c}
.admin-dashboard-cooling-retry{display:inline-flex;min-width:2.75rem;min-height:2.75rem;align-items:center;justify-content:center;margin-top:.25rem;border:0;background:transparent;padding:.5rem 0;font-size:.72rem;line-height:1rem;font-weight:700;color:#c93c14;text-decoration:underline;text-underline-offset:2px}
.admin-dashboard-cooling-retry:hover{color:#96142e}
.admin-dashboard-cooling-retry[aria-busy="true"]{gap:.4rem;cursor:wait;text-decoration:none}
.admin-dashboard-cooling-retry[aria-busy="true"]::before{width:.75rem;height:.75rem;flex:0 0 .75rem;border:2px solid currentColor;border-right-color:transparent;border-radius:9999px;content:"";animation:admin-warehouse-control-spin .8s linear infinite}
.admin-weather-provider-card{margin-bottom:1rem;overflow:hidden;border:1px solid #e2ddd5;border-radius:1rem;background:rgba(255,255,255,.82);box-shadow:0 1px 2px rgba(28,25,23,.025)}
.admin-weather-provider-summary{display:flex;min-height:5rem;cursor:pointer;list-style:none;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;color:#292524}
.admin-weather-provider-summary::-webkit-details-marker{display:none}
.admin-weather-provider-summary::after{content:'+';display:inline-flex;width:2rem;height:2rem;flex:0 0 auto;align-items:center;justify-content:center;border:1px solid #ded9d1;border-radius:.65rem;background:#fffdf9;font-size:1.2rem;color:#78716c}
.admin-weather-provider-card[open]>.admin-weather-provider-summary::after{content:'−'}
.admin-weather-provider-summary:focus-visible{outline:3px solid rgba(239,33,71,.15);outline-offset:-3px}
.admin-weather-provider-copy{display:flex;min-width:0;flex-direction:column;gap:.15rem}
.admin-weather-provider-copy strong{font-size:.95rem;letter-spacing:.035em}
.admin-weather-provider-copy span{font-size:.78rem;color:#78716c}
.admin-weather-provider-badges{display:flex;align-items:center;gap:.5rem}
.admin-weather-provider-body{border-top:1px solid #eee9e2;padding:0}
.admin-weather-provider-body>form+form{border-top:1px solid #eee9e2}
.admin-weather-provider-body>form>.admin-modal-actions-footer{position:static;border-color:#eee9e2;background:#faf8f3;backdrop-filter:none}
.admin-weather-provider-health{display:flex;flex-direction:column;gap:.5rem;border-top:1px solid #eee9e2;padding:1rem 1.25rem}
.admin-weather-provider-health .admin-helper-text{margin:0}
.admin-client-config-card{overflow:hidden}
.admin-client-config [data-admin-tab-panel]>.admin-content-stack-5>.admin-card-shell{margin-bottom:0}
.admin-client-config .admin-status-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,13.5rem),1fr))}
.admin-client-config .admin-status-tile{align-items:center;padding:.875rem;box-shadow:none}
.admin-client-config .admin-status-tile-value{font-size:.9rem;font-weight:600}
.admin-client-config .admin-status-tile-description{color:#78716c}
.admin-client-config .admin-modal-actions-footer{position:static;flex-direction:row;justify-content:flex-end}
.admin-settings-toggle-row{display:flex;align-items:center;min-height:3.5rem;border-bottom:1px solid #e5dfd6;padding:.75rem 0}
.admin-client-config .admin-client-config-security-note{background:#faf8f3;border-color:#e5dfd6;color:#57534e}
.admin-client-config .admin-client-config-provider-grid>.admin-weather-provider-card{margin-bottom:0;box-shadow:none}
@media (min-width:640px){
  .admin-client-config .admin-modal-actions-footer>.admin-primary-submit-button{width:auto;min-width:10rem}
}
@media (max-width:639px){
  .admin-client-config .admin-form-action-row>*,
  .admin-client-config .admin-form-action-row .admin-action-button,
  .admin-client-config .admin-flex-row-wrap>.admin-action-button{width:100%;justify-content:center}
}
.dark .admin-settings-toggle-row{border-color:#344054}
.dark .admin-client-config .admin-status-tile,
.dark .admin-client-config .admin-client-config-security-note{background:#1d2939;border-color:#344054;color:#d0d5dd}
.dark .admin-client-config .admin-status-tile-value{color:#f2f4f7}
.dark .admin-client-config .admin-status-tile-label,
.dark .admin-client-config .admin-status-tile-description{color:#d0d5dd}
.dark .admin-client-config .admin-modal-actions-footer,
.dark .admin-client-config .admin-client-config-provider-card{background:#1d2939;border-color:#344054}
.dark .admin-client-config .admin-client-config-provider-name{color:#f2f4f7}
.dark .admin-client-config .admin-client-config-provider-description{color:#d0d5dd}
.admin-client-config-card>.admin-card-section-header+.admin-card-body{padding:1.5rem}
.admin-client-config-card>.admin-card-section-header+.admin-card-body>.admin-helper-text{margin:0}
.admin-client-config-card>form>.admin-modal-actions-footer{position:static;border-color:#eee9e2;background:#faf8f3;backdrop-filter:none}
.admin-client-config .admin-action-button,.admin-client-config .admin-primary-submit-button,.admin-client-config .admin-secondary-button{min-height:2.75rem}
.admin-client-config .admin-card-shell .flex.items-center{gap:.75rem}
.admin-client-config .admin-card-shell .flex.items-center>.ml-3,.admin-client-config .admin-card-shell .flex.items-center>.ml-4{margin-left:0}
.admin-status-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
.admin-status-grid-compact{gap:.75rem}
.admin-status-tile{display:flex;min-width:0;align-items:flex-start;gap:.875rem;border:1px solid #e5dfd6;border-radius:.9rem;background:#fffdf9;padding:1rem}
.admin-status-tile-icon{display:inline-flex;width:2.65rem;height:2.65rem;flex:0 0 auto;align-items:center;justify-content:center;border-radius:.75rem;background:#f2efea;color:#78716c}
.admin-status-tile-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:.16rem;padding-top:.05rem}
.admin-status-tile-heading{display:flex;min-width:0;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.35rem .65rem}
.admin-status-tile-label{font-size:.72rem;line-height:1rem;font-weight:700;letter-spacing:.045em;text-transform:uppercase;color:#78716c}
.admin-status-tile-value{overflow-wrap:anywhere;font-size:1rem;line-height:1.4;font-weight:700;color:#292524}
.admin-status-tile-description{font-size:.76rem;line-height:1.4;color:#8f877d}
.admin-status-tile-action{display:flex;align-items:flex-end;margin-top:.65rem}
.admin-status-tile-action form{width:100%}
.admin-status-tile-action button{width:100%;justify-content:center}
.admin-status-tile-primary .admin-status-tile-icon{background:#fff0e9;color:#d94318}
.admin-status-tile-success .admin-status-tile-icon{background:#eaf8ef;color:#15803d}
.admin-status-tile-warning .admin-status-tile-icon{background:#fff7df;color:#a16207}
.admin-status-tile-danger .admin-status-tile-icon{background:#fff0f0;color:#c02626}
.admin-status-tile-info .admin-status-tile-icon{background:#eaf5ff;color:#0369a1}
.admin-client-config-section-intro{display:flex;align-items:flex-start;gap:.875rem}
.admin-client-config-section-intro-icon{display:inline-flex;width:2.75rem;height:2.75rem;flex:0 0 auto;align-items:center;justify-content:center;border-radius:.8rem;background:#fff0e9;color:#d94318}
.admin-client-config-section-intro-copy{min-width:0}
.admin-client-config-section-intro-copy>.admin-helper-text{margin:.2rem 0 0}
.admin-client-config-provider-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
.admin-client-config-provider-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid #e2ddd5;border-radius:1rem;background:rgba(255,255,255,.84);box-shadow:0 1px 2px rgba(28,25,23,.025)}
.admin-client-config-provider-card>form{display:flex;min-height:100%;flex:1;flex-direction:column}
.admin-client-config-provider-card-body{display:flex;flex:1;flex-direction:column;gap:1rem;padding:1.25rem}
.admin-client-config-provider-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.admin-client-config-provider-title{display:flex;min-width:0;align-items:flex-start;gap:.7rem}
.admin-client-config-provider-icon{display:inline-flex;width:2.5rem;height:2.5rem;flex:0 0 auto;align-items:center;justify-content:center;border-radius:.75rem;background:#eef6ff;color:#0369a1}
.admin-client-config-provider-name{margin:0;font-size:1rem;line-height:1.35;font-weight:700;color:#292524}
.admin-client-config-provider-description{margin:0;font-size:.83rem;line-height:1.55;color:#78716c}
.admin-client-config-provider-card .admin-modal-actions-footer{position:static;margin-top:auto;border-color:#eee9e2;background:#faf8f3;backdrop-filter:none}
.admin-client-config-mapping-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
.admin-client-config-mapping-card{overflow:hidden;border:1px solid #e2ddd5;border-radius:1rem;background:#fffdf9}
.admin-client-config-mapping-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border-bottom:1px solid #eee9e2;padding:1rem 1.1rem}
.admin-client-config-mapping-card-body{padding:1rem 1.1rem}
.admin-client-config-security-note{display:flex;align-items:flex-start;gap:.75rem;border:1px solid #dbeafe;border-radius:.85rem;background:#eff6ff;padding:1rem;color:#1e3a5f}
.admin-client-config-security-note>span:first-child{display:inline-flex;flex:0 0 auto;padding-top:.1rem;color:#0369a1}
.admin-client-config-steps{display:grid;grid-template-columns:minmax(0,1fr);gap:.75rem;counter-reset:client-config-step}
.admin-client-config-step{display:flex;align-items:flex-start;gap:.75rem;border:1px solid #e5dfd6;border-radius:.85rem;background:#fffdf9;padding:.9rem 1rem;counter-increment:client-config-step}
.admin-client-config-step::before{content:counter(client-config-step);display:inline-flex;width:1.75rem;height:1.75rem;flex:0 0 auto;align-items:center;justify-content:center;border-radius:9999px;background:#d51d40;font-size:.75rem;font-weight:800;color:#fff}
.admin-client-config-step p{margin:0;font-size:.8rem;line-height:1.5;color:#57534e}

@media (max-width:639px){
  .admin-client-config-provider-heading{flex-direction:column;align-items:stretch;gap:.75rem}
  .admin-client-config-provider-heading>.admin-badge{align-self:flex-start}
}

@media (min-width:768px){
  .admin-status-grid-2,.admin-client-config-provider-grid,.admin-client-config-mapping-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-status-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin-client-config-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
}

.admin-workspace-page table{color:#44403c}
.admin-workspace-page table thead{background:#faf8f3}
.admin-workspace-page table th{border-color:#e9e4dc;color:#78716c;font-size:.72rem;font-weight:700;letter-spacing:.055em;text-transform:uppercase}
.admin-workspace-page table td{border-color:#eee9e2}
.admin-workspace-page tbody tr{transition:background-color .15s ease}
.admin-workspace-page tbody tr:hover{background:#fffaf5}
.admin-workspace-page .admin-table-empty-state,.admin-workspace-page .admin-empty-state-wrapper{border-color:#e5dfd6;border-radius:1rem;background:#faf8f3}
.admin-workspace-page .admin-empty-state-icon-circle{background:#fff0e9;color:#d94318}
.admin-workspace-page .admin-empty-state-title{color:#292524}
.admin-workspace-page .admin-empty-state-description{color:#78716c}
.admin-workspace-page .admin-footer-shell{border-color:#e5dfd6;background:#f7f4ed;color:#8f877d}

/* FullCalendar 7 uses generated class names; anchor the timesheet chrome to stable roles. */
.admin-workspace-page #timesheet-calendar{min-height:0!important;color:#292524}
.admin-workspace-page #timesheet-calendar>div:first-child{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1rem;border-bottom:1px solid #e9e4dc;padding:1.1rem 1.25rem}
.admin-workspace-page #timesheet-calendar>div:first-child>div:nth-child(2){text-align:center}
.admin-workspace-page #timesheet-calendar [role="heading"]{font-size:1.05rem;font-weight:700;letter-spacing:-.02em;color:#292524}
.admin-workspace-page #timesheet-calendar>div:first-child>div:first-child button{min-width:2.5rem;border:1px solid #ded9d1;background:#fffdf9;padding:.55rem .75rem;font-size:.75rem;font-weight:700;color:#57534e}
.admin-workspace-page #timesheet-calendar>div:first-child>div:first-child button:first-child{border-radius:.7rem 0 0 .7rem}
.admin-workspace-page #timesheet-calendar>div:first-child>div:first-child button+button{margin-left:-1px;border-radius:0 .7rem .7rem 0}
.admin-workspace-page #timesheet-calendar>div:first-child>div:first-child button:hover{position:relative;border-color:#cbc4b9;background:#fff;color:#1c1917}
.admin-workspace-page #timesheet-calendar [role="tablist"]{display:flex;border-radius:.7rem;background:#f1ede6;padding:.2rem}
.admin-workspace-page #timesheet-calendar [role="tab"]{border:0;border-radius:.55rem;background:transparent;padding:.45rem .75rem;font-size:.75rem;font-weight:650;color:#78716c}
.admin-workspace-page #timesheet-calendar [role="tab"][aria-selected="true"]{background:#fff;color:#c93c14;box-shadow:0 1px 3px rgba(28,25,23,.1)}
.admin-workspace-page #timesheet-calendar [role="grid"]{overflow:hidden}
.admin-workspace-page #timesheet-calendar [role="columnheader"]{background:#faf8f3;color:#8f877d}
.admin-workspace-page #timesheet-calendar [role="columnheader"]>div{padding:.75rem .65rem;font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.admin-workspace-page #timesheet-calendar [role="gridcell"]{border-color:#eee9e2;background:rgba(255,255,255,.55);transition:background-color .15s ease}
.admin-workspace-page #timesheet-calendar [role="gridcell"]:hover{background:#fffaf5}
.admin-workspace-page #timesheet-calendar [role="gridcell"][aria-current="date"]{background:#fff4f6;box-shadow:inset 0 0 0 1px #fed7cc}
.admin-workspace-page #timesheet-calendar [role="gridcell"]>div:first-child{padding:.55rem .65rem;font-size:.78rem;font-weight:600;color:#57534e}

@media (min-width:640px){
  .admin-page-heading-shell{flex-direction:row;align-items:center;justify-content:space-between}
}
@media (min-width:1024px){
  .admin-workspace-page .admin-sidebar-rail{flex-basis:268px;width:268px}
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail{flex-basis:90px;width:90px}
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-shell{width:90px;padding-right:.75rem;padding-left:.75rem}
  .admin-workspace-page.admin-sidebar-collapsed [data-admin-sidebar-collapse-scale]{transform:none}
  .admin-workspace-page.admin-sidebar-collapsed .menu-item{justify-content:center;padding-right:.5rem;padding-left:.5rem}
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-section-row,.admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-section-row-simple{display:none}
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-divider{margin-right:.25rem;margin-left:.25rem}
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-collapse-hide-on-desktop{display:none!important}
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-logo-link,.admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-logo-icon{min-height:72px;justify-content:center}
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:hover .admin-sidebar-shell,
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:focus-within .admin-sidebar-shell{position:absolute;top:0;left:0;bottom:0;width:268px;height:100%;padding-right:1rem;padding-left:1rem;box-shadow:16px 0 36px rgba(15,16,20,.45)}
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:hover .admin-sidebar-collapse-hide-on-desktop,
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:focus-within .admin-sidebar-collapse-hide-on-desktop{display:flex!important}
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:hover .menu-item-text,
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:focus-within .menu-item-text{display:inline!important}
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:hover .admin-sidebar-section-title,
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:focus-within .admin-sidebar-section-title{display:flex!important}
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:hover .admin-sidebar-section-row,
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:hover .admin-sidebar-section-row-simple,
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:focus-within .admin-sidebar-section-row,
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:focus-within .admin-sidebar-section-row-simple{display:flex;justify-content:space-between;padding:.35rem .75rem}
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:hover .menu-item,
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:focus-within .menu-item{justify-content:flex-start;padding-right:.75rem;padding-left:.75rem}
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:hover .admin-sidebar-logo-icon,
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:hover .admin-sidebar-menu-group-icon,
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:focus-within .admin-sidebar-logo-icon,
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:focus-within .admin-sidebar-menu-group-icon{display:none!important}
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:hover .admin-sidebar-logo-link,
  .admin-workspace-page.admin-sidebar-collapsed .admin-sidebar-rail:focus-within .admin-sidebar-logo-link{min-height:112px;justify-content:flex-start}
  .admin-header-search-host{display:block}
  .admin-workspace-page .admin-header-row{padding-left:1.5rem;padding-right:1.5rem}
  .admin-workspace-page .admin-main-content-shell{padding:2rem 2.25rem}
}
@media (max-width:1023px){
  .admin-workspace-page.admin-sidebar-mobile-open .admin-workspace-shell{background:#16181d}
  .admin-workspace-page .admin-header-shell,
  .admin-workspace-page .admin-web-app-install,
  .admin-workspace-page .admin-main-content-shell{
    transform:scale(1) translateX(0);
    transform-origin:100% 0;
    transition:transform 280ms var(--admin-sidebar-out)
  }
  .admin-workspace-page.admin-sidebar-mobile-open .admin-header-shell,
  .admin-workspace-page.admin-sidebar-mobile-open .admin-web-app-install,
  .admin-workspace-page.admin-sidebar-mobile-open .admin-main-content-shell{
    transform:scale(.94) translateX(12px);
    transition:transform 520ms var(--admin-sidebar-spring)
  }
  .admin-workspace-page.admin-sidebar-mobile-open .admin-sidebar-overlay{transition:opacity 520ms var(--admin-sidebar-spring)}
  .admin-sidebar-burger-glyph{position:relative;display:block;width:1.15rem;height:1.15rem}
  .admin-sidebar-burger-glyph>span{position:absolute;left:1px;width:16px;height:1.5px;border-radius:1px;background:currentColor;transition:transform 420ms var(--admin-sidebar-spring),opacity 180ms ease}
  .admin-sidebar-burger-glyph>span:nth-child(1){top:4px}
  .admin-sidebar-burger-glyph>span:nth-child(2){top:8.25px}
  .admin-sidebar-burger-glyph>span:nth-child(3){top:12.5px}
  .admin-sidebar-mobile-open .admin-sidebar-burger-glyph>span:nth-child(1){transform:translateY(4.25px) rotate(45deg)}
  .admin-sidebar-mobile-open .admin-sidebar-burger-glyph>span:nth-child(2){opacity:0;transform:scaleX(.2)}
  .admin-sidebar-mobile-open .admin-sidebar-burger-glyph>span:nth-child(3){transform:translateY(-4.25px) rotate(-45deg)}
}
@media (max-width:1023px) and (prefers-reduced-motion:no-preference){
  .admin-workspace-page.admin-sidebar-mobile-open .admin-sidebar-nav>*{animation:admin-sidebar-item-in 420ms var(--admin-sidebar-spring) both}
  .admin-workspace-page.admin-sidebar-mobile-open .admin-sidebar-nav>*:nth-child(1){animation-delay:40ms}
  .admin-workspace-page.admin-sidebar-mobile-open .admin-sidebar-nav>*:nth-child(2){animation-delay:80ms}
  .admin-workspace-page.admin-sidebar-mobile-open .admin-sidebar-nav>*:nth-child(3){animation-delay:120ms}
  .admin-workspace-page.admin-sidebar-mobile-open .admin-sidebar-nav>*:nth-child(4){animation-delay:160ms}
  .admin-workspace-page.admin-sidebar-mobile-open .admin-sidebar-nav>*:nth-child(5){animation-delay:200ms}
  .admin-workspace-page.admin-sidebar-mobile-open .admin-sidebar-nav>*:nth-child(6){animation-delay:240ms}
  .admin-workspace-page.admin-sidebar-mobile-open .admin-sidebar-nav>*:nth-child(7){animation-delay:280ms}
  .admin-workspace-page.admin-sidebar-mobile-open .admin-sidebar-nav>*:nth-child(8){animation-delay:320ms}
  .admin-workspace-page.admin-sidebar-mobile-open .admin-sidebar-nav>*:nth-child(9){animation-delay:360ms}
  .admin-workspace-page.admin-sidebar-mobile-open .admin-sidebar-nav>*:nth-child(10){animation-delay:400ms}
  .admin-workspace-page.admin-sidebar-mobile-open .admin-sidebar-nav>*:nth-child(11){animation-delay:440ms}
  .admin-workspace-page.admin-sidebar-mobile-open .admin-sidebar-nav>*:nth-child(12){animation-delay:480ms}
  .admin-workspace-page.admin-sidebar-mobile-open .admin-sidebar-nav>*:nth-child(n+13){animation-delay:520ms}
}
@media (max-width:1023px) and (prefers-reduced-motion:reduce){
  .admin-workspace-page .admin-header-shell,
  .admin-workspace-page .admin-web-app-install,
  .admin-workspace-page .admin-main-content-shell,
  .admin-workspace-page .admin-sidebar-shell,
  .admin-workspace-page .admin-sidebar-overlay,
  .admin-sidebar-burger-glyph>span{transition:none}
  .admin-workspace-page.admin-sidebar-mobile-open .admin-header-shell,
  .admin-workspace-page.admin-sidebar-mobile-open .admin-web-app-install,
  .admin-workspace-page.admin-sidebar-mobile-open .admin-main-content-shell{transform:none}
  .admin-workspace-page.admin-sidebar-mobile-open .admin-sidebar-nav>*{animation:none}
}
@media (max-width:1023px){
  .admin-workspace-page .admin-icon-action-blue,
  .admin-workspace-page .admin-icon-button-compact,
  .admin-workspace-page .admin-toggle-icon-button{min-width:2.75rem;min-height:2.75rem}
  .admin-workspace-page .admin-tag-button,
  .admin-workspace-page .admin-outline-action-sm,
  .admin-workspace-page .admin-import-action-button,
  .admin-workspace-page .admin-secondary-button-compact,
  .admin-workspace-page .admin-remove-image-button,
  .admin-workspace-page .admin-action-button,
  .admin-workspace-page .admin-secondary-button,
  .admin-workspace-page .admin-cancel-button,
  .admin-workspace-page .admin-outline-action-button,
  .admin-workspace-page .admin-pagination-control{min-height:2.75rem}
  .admin-workspace-page .admin-secondary-button-compact{min-width:2.75rem}
  .admin-workspace-page .admin-remove-image-button{display:inline-flex;align-items:center}
  .admin-workspace-page .admin-action-button,
  .admin-workspace-page .admin-icon-button-bordered-sm,
  .admin-workspace-page .admin-pagination-control{min-width:2.75rem;min-height:2.75rem}
  .admin-workspace-page #timesheet-calendar>div:first-child>div:first-child button,
  .admin-workspace-page #timesheet-calendar [role="tab"]{min-width:2.75rem;min-height:2.75rem}
}
@media (max-width:639px){
  .admin-page-heading-shell{margin-bottom:1rem;gap:.75rem}
  .admin-page-heading-main{align-items:flex-start;gap:.75rem}
  .admin-page-heading-icon{width:2.5rem;height:2.5rem;border-radius:.75rem}
  .admin-page-heading-icon svg{width:1.65rem!important;height:1.65rem!important}
  .admin-page-heading-title{font-size:1.45rem}
  .admin-page-heading-description{margin-top:.3rem;font-size:.8rem;line-height:1.4}
  .admin-workspace-page #timesheet-calendar>div:first-child{grid-template-columns:1fr 1fr;gap:.65rem;padding:1rem}
  .admin-workspace-page #timesheet-calendar>div:first-child>div:nth-child(2){grid-column:1/-1;grid-row:1;text-align:left}
  .admin-workspace-page #timesheet-calendar>div:first-child>div:nth-child(3){justify-self:end}
  .admin-workspace-page #timesheet-calendar [role="tab"]{padding:.4rem .55rem}
}
.admin-login-page{position:relative;isolation:isolate;margin:0;min-height:100vh;overflow-y:auto;background:#f7f4ed;color:#1c1917}
.admin-processing-entry-root,.admin-processing-entry-page{min-height:100%;background:#f7f4ed}
.admin-processing-entry-page{min-height:100dvh;overflow-y:hidden}
.admin-login-shell{position:relative;z-index:1;display:grid;min-height:100vh;padding:1rem}
.admin-login-story{position:relative;display:none;min-height:calc(100vh - 2rem);overflow:hidden;border-radius:1.75rem;background:#403b30}
.admin-login-story-media,.admin-login-story-slide,.admin-login-story picture{position:absolute;inset:0;display:block;width:100%;height:100%}
.admin-login-story-media{z-index:0}
.admin-login-story-slide{opacity:0;transform:scale(1.025);transition:opacity 1.5s ease,transform 7.2s ease;will-change:opacity,transform}
.admin-login-story-slide.is-active{opacity:1;transform:scale(1);z-index:1}
.admin-login-story-image{display:block;width:100%;height:100%;object-fit:cover}
.admin-login-story-image-focus-center{object-position:center center}
.admin-login-story-image-focus-left{object-position:32% center}

.admin-login-story-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(24,20,15,.08) 10%,rgba(24,20,15,.24) 48%,rgba(24,20,15,.84) 100%)}
.admin-login-story-content{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(2rem,4vw,4.5rem);color:#fff}
.admin-login-story-topline{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.admin-login-story-kicker{display:flex;align-items:center;gap:.65rem;margin:0;font-size:.72rem;line-height:1rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.admin-login-story-kicker span{width:.55rem;height:.55rem;border-radius:999px;background:#fb5a2b;box-shadow:0 0 0 .35rem rgba(251,90,43,.17)}
.admin-login-story-control{min-height:2.75rem;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(28,25,23,.22);padding:.55rem .9rem;font-size:.75rem;line-height:1rem;font-weight:700;color:#fff;cursor:pointer;backdrop-filter:blur(8px);transition:background-color .15s ease,border-color .15s ease}
.admin-login-story-control:hover{border-color:rgba(255,255,255,.5);background:rgba(28,25,23,.38)}
.admin-login-story-control:focus{outline:2px solid #fff;outline-offset:3px}
.admin-login-story-copy{display:grid;max-width:36rem}
.admin-login-story-copy-slide{grid-area:1/1;align-self:end;opacity:0;visibility:hidden;transform:translateY(.75rem);transition:opacity .65s ease,transform .65s ease,visibility 0s linear .65s}
.admin-login-story-copy-slide.is-active{opacity:1;visibility:visible;transform:none;transition-delay:.18s,.18s,0s}
.admin-login-story-label{margin:0 0 1rem;font-size:.78rem;line-height:1rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.76)}
.admin-login-story-copy-slide h2{max-width:33rem;margin:0;font-size:clamp(2.5rem,4.4vw,5.25rem);line-height:.98;font-weight:700;letter-spacing:-.055em;color:#fff}
.admin-login-story-copy-slide>p:last-child{max-width:29rem;margin:1.5rem 0 0;font-size:clamp(1rem,1.35vw,1.2rem);line-height:1.65;color:rgba(255,255,255,.78)}
.admin-login-panel{position:relative;display:flex;min-width:0;align-items:center;justify-content:center;padding:clamp(1.5rem,6vw,5rem)}
.admin-login-language{position:absolute;top:1.25rem;right:1.25rem;z-index:3}
.admin-login-content{width:100%;max-width:27.5rem}
.admin-login-header{display:flex;width:100%;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.15rem}
.admin-login-header .admin-login-brand{min-width:0;margin-bottom:0}
.admin-login-header .admin-login-language{position:relative;top:auto;right:auto;z-index:3;flex:0 0 auto}
.admin-login-header .admin-login-logo-img{width:2.15rem;height:2.15rem}
.admin-login-header .admin-login-logo-mark{width:2.15rem;height:2.15rem;border-radius:.65rem;font-size:.95rem}
.admin-login-brand{display:flex;align-items:center;margin-bottom:clamp(1.75rem,4vh,2.75rem)}
.admin-login-logo-img{display:block;width:4rem;height:4rem;object-fit:contain}
/* The generated mark owns 90% canvas occupancy and clean, lossless ink. */
.admin-processing-logo{display:block;position:relative;flex:none}
@supports (mask-image:url("/assets/images/agrata_logo-crisp.webp")){
  .admin-processing-logo .admin-login-logo-img{opacity:0}
  .admin-processing-logo::after{content:"";position:absolute;inset:0;pointer-events:none;background:#ef2147;mask-image:url("/assets/images/agrata_logo-crisp.webp");mask-mode:alpha;mask-position:center;mask-repeat:no-repeat;mask-size:100% 100%}
}
.admin-login-heading{margin-bottom:1rem}
.admin-login-eyebrow{margin:0 0 .12rem;font-size:.72rem;line-height:1rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#c93c14}
.admin-login-heading h1{margin:0;font-size:clamp(2.25rem,5vw,3.5rem);line-height:1.02;font-weight:700;letter-spacing:-.05em;color:#1c1917}
.admin-login-heading>p:last-child{max-width:24rem;margin:.95rem 0 0;font-size:.95rem;line-height:1.65;color:#78716c}
.admin-login-card{border:0;background:transparent;padding:0;box-shadow:none}
.admin-login-form-stack{display:flex;flex-direction:column;gap:1rem}
.admin-login-feedback:empty{display:none}
.admin-login-feedback>div{margin-bottom:.5rem;border-color:#fed7cc;border-radius:.875rem;background:#fff4f6;padding:.875rem 1rem;box-shadow:none}
.admin-login-feedback .admin-flash-icon{color:#c93c14}
.admin-login-feedback p{color:#7c2d12}
#submit-btn:disabled,#google-signin-btn:disabled{opacity:.7!important;cursor:not-allowed!important}
#google-signin-btn:disabled{background-color:#fff!important;border-color:#d1d5db!important;filter:grayscale(.8)}
#submit-btn{display:flex!important;visibility:visible!important;opacity:1!important;color:#fff!important}
button#submit-btn{opacity:1!important;color:#fff!important}
.cf-turnstile~* button#submit-btn,form button#submit-btn{opacity:1!important;visibility:visible!important;display:flex!important}
#turnstile-container{width:100%!important;min-height:65px!important;margin:0 auto!important;display:block!important;visibility:visible!important;opacity:1!important}
.cf-turnstile{width:100%!important;max-width:100%!important;min-height:65px!important;display:block!important;visibility:visible!important;opacity:1!important}
.cf-turnstile iframe{width:100%!important;max-width:100%!important;min-height:65px!important;display:block!important;visibility:visible!important}
.admin-login-page .admin-field-label{margin-bottom:.5rem;font-size:.8rem;font-weight:650;letter-spacing:.01em;color:#44403c}
.admin-login-secondary-button{display:flex;width:100%;min-height:3.25rem;align-items:center;justify-content:center;gap:.5rem;border:1px solid #ded9d1;border-radius:.875rem;background:rgba(255,255,255,.78);padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:650;color:#292524;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease,opacity .15s ease}
.admin-login-secondary-button:hover{border-color:#cbc4b9;background:#fff;transform:translateY(-1px)}
.admin-login-secondary-button:focus{outline:0;box-shadow:0 0 0 3px rgba(239,33,71,.14)}
.admin-login-secondary-button:disabled{cursor:not-allowed;opacity:.5}
.admin-login-secondary-button-strong{gap:.75rem;border-width:1px;box-shadow:0 1px 2px rgba(28,25,23,.04)}
.admin-login-secondary-button-strong:focus{box-shadow:0 0 0 3px rgba(239,33,71,.14)}
.login-input-icon{position:absolute;top:0;bottom:0;left:0;display:flex;align-items:center;pointer-events:none;color:#a8a29e}
.login-input:focus{border-color:var(--primary-color)}
.login-input{height:3.25rem;width:100%;border:1px solid #ded9d1;border-radius:.875rem;background:rgba(255,255,255,.9);padding:.75rem 1rem;font-size:.925rem;line-height:1.25rem;color:#1c1917;box-shadow:0 1px 2px rgba(28,25,23,.04);transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
.login-input::placeholder{color:#a8a29e}
.login-input:focus{border-color:#ef2147;background:#fff;outline:0;box-shadow:0 0 0 3px rgba(239,33,71,.12)}
.login-input-password{padding-right:2.5rem}
.login-toggle-password{position:absolute;top:0;bottom:0;right:0;display:flex;cursor:pointer;align-items:center;border:0;background:none;padding-right:.875rem;color:#a8a29e}
.login-toggle-password:hover{color:#57534e}
.login-toggle-password:focus{outline:2px solid #ef2147;outline-offset:-2px;border-radius:.625rem}
.login-submit-btn{display:flex;width:100%;min-height:3.25rem;align-items:center;justify-content:center;gap:.5rem;border:0;border-radius:.875rem;background:#d51d40;padding:.75rem 1rem;font-size:.9rem;line-height:1.25rem;font-weight:700;color:#fff;box-shadow:0 8px 18px rgba(185,25,55,.18);transition:background-color .15s ease,box-shadow .15s ease,transform .15s ease,opacity .15s ease}
.login-submit-btn:hover{background:#b91937;box-shadow:0 10px 22px rgba(185,25,55,.24);transform:translateY(-1px)}
.login-submit-btn:disabled{cursor:not-allowed;opacity:.7}
.login-submit-btn[aria-busy="true"],.admin-login-ink-button[aria-busy="true"],.admin-login-secondary-button[aria-busy="true"],.admin-secondary-action-button[aria-busy="true"]{transform:none}
@media (prefers-reduced-motion:reduce){.login-submit-btn[aria-busy="true"] .animate-spin,.admin-login-ink-button[aria-busy="true"] .animate-spin,.admin-login-secondary-button[aria-busy="true"] .animate-spin,.admin-secondary-action-button[aria-busy="true"] .animate-spin{animation:none}}
.login-divider{margin:.125rem 0}
.login-divider::before{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background:#ded9d1}
.login-divider-text{position:relative;background:#f7f4ed;color:#a8a29e}
.login-submit-btn:hover:not(:disabled){opacity:.95}
.login-submit-btn:focus{outline:2px solid var(--primary-color);outline-offset:2px}
.admin-login-page .admin-auth-footer-note{display:flex;align-items:center;justify-content:center;gap:.45rem;margin-top:1.75rem;color:#8c8279}
.admin-login-page .admin-auth-footer-note svg,.admin-login-page .admin-auth-footer-note i{flex:0 0 auto}
.admin-login-shell.admin-login-shell-single{display:flex;align-items:flex-start;justify-content:center}
.admin-login-shell-single .admin-login-panel{width:100%;max-width:44rem;align-items:flex-start;justify-content:flex-start}
.admin-login-shell-single .login-input{padding-left:1rem}
/* Login field stage: the Processing start screen's 3D language, own artwork. */
.admin-login-stage{position:relative;pointer-events:none;perspective:900px;isolation:isolate;overflow:clip;--admin-login-glass-lift:62px}
.admin-login-stage.admin-login-stage-compact{display:block;width:min(100%,21rem);height:9.75rem;margin:0 auto .4rem;overflow:clip;--admin-login-glass-lift:28px}
.admin-login-stage-compact .admin-login-stage-halo{inset:0;background:radial-gradient(ellipse 92% 78% at 50% 42%,rgba(239,33,71,.3),rgba(232,138,94,.24) 36%,transparent 70%);-webkit-mask-image:linear-gradient(to bottom,#000 42%,transparent 100%);mask-image:linear-gradient(to bottom,#000 42%,transparent 100%)}
.admin-login-stage-compact .admin-login-stage-shadow{left:20%;right:16%;bottom:8%;height:28%;background:#c45a3233;filter:blur(22px)}
.admin-login-stage-compact .admin-login-stage-object{width:min(42%,124px);top:50%}
.admin-login-stage-compact .admin-login-stage-orbit{width:78%;height:48%}
.admin-login-stage-compact .admin-login-stage-orbit-two{width:62%;height:64%}
.admin-login-stage-story{position:absolute;z-index:2;top:clamp(5.5rem,18vh,9rem);right:clamp(1.5rem,4vw,4.5rem);width:clamp(10.5rem,19vw,15.5rem);height:clamp(10.5rem,19vw,15.5rem);--admin-login-glass-lift:52px}
/* Separate pointer rotation from the finite entrance; never flatten this 3D owner. */
.admin-login-stage-tilt{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(var(--admin-login-tilt-x,0deg)) rotateY(var(--admin-login-tilt-y,0deg))}
.admin-login-stage-halo{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 55%,#f0bd9b52,transparent 64%)}
.admin-login-stage-orbit{position:absolute;left:50%;top:53%;width:92%;height:56%;border:1px solid #c39c7a30;border-radius:50%;transform:translate(-50%,-50%) rotate(-18deg)}
.admin-login-stage-orbit-two{width:74%;height:78%;transform:translate(-50%,-50%) rotate(28deg);border-color:#c39c7a1f}
.admin-login-stage-orbit-one::after{content:"";position:absolute;left:12%;top:10%;width:6px;height:6px;border-radius:50%;background:#d37551;box-shadow:0 0 0 5px #d375510f}
.admin-login-stage-shadow{position:absolute;left:26%;right:22%;bottom:6%;height:14%;border-radius:50%;background:#7e432030;filter:blur(18px)}
/* The isometric projection is ~0.83x as tall as it is wide; size against the shorter axis. */
.admin-login-stage-object{position:absolute;left:50%;top:50%;width:min(78%,200px);aspect-ratio:1;translate:-50% -50%;transform-style:preserve-3d;transform:rotateX(54deg) rotateZ(-38deg)}
.admin-login-stage-base,.admin-login-stage-field{position:absolute;inset:0;border-radius:36px}
.admin-login-stage-base{transform:translateZ(-13px);background:linear-gradient(135deg,#c9835a,#7f4830);box-shadow:-1px 2px 0 #b06c47,-2px 4px 0 #a76545,-3px 6px 0 #995c3e,0 22px 32px #70402426}
.admin-login-stage-field{overflow:hidden;border:1px solid #fff9ed;box-shadow:inset 0 0 22px #fff5e1}
.admin-login-stage-field svg{display:block;width:100%;height:100%}
.admin-login-stage-panel{position:absolute;inset:23%;border:1px solid #fffffff0;border-radius:26px;background:linear-gradient(140deg,#ffffffd6,#fff8ed70 58%,#f3c9a88f);box-shadow:0 10px 26px #8e512f24,inset 0 1px 0 #fff;color:#b94e2e;transform:translateZ(var(--admin-login-glass-lift))}
.admin-login-stage-panel svg{display:block;width:100%;height:100%}
.admin-login-stage-panel::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:.55;background:linear-gradient(115deg,transparent 15%,#ffffff70 43%,#ffffff08 58%,transparent 80%);background-size:220% 100%;background-position:var(--admin-login-light-x,50%) 50%}
.admin-login-stage-rows{position:absolute;left:53%;top:15%;width:32%;height:26%;transform:translateZ(3px)}
.admin-login-stage-row{position:absolute;left:0;width:100%;height:5px;transform-origin:left center;background:radial-gradient(ellipse at 50% 90%,#5f7040 0 42%,transparent 48%) 0 0/11px 5px repeat-x}
.admin-login-stage-row-one{top:0}
.admin-login-stage-row-two{top:38%;left:3%}
.admin-login-stage-row-three{top:76%;left:6%}
.admin-login-stage-marker{position:absolute;left:46%;top:51%;width:11px;height:11px;border-radius:50%;transform:translateZ(38px);background:#ef2147;box-shadow:0 0 0 5px #ef214726,0 8px 12px #8e3a1c33}
.admin-login-stage-satellite{position:absolute;right:-5%;top:11%;width:16px;height:16px;border-radius:50%;transform:translateZ(54px);background:radial-gradient(circle at 30% 25%,#ffe0be,#dd7643 50%,#ac422c);box-shadow:0 10px 15px #a8502e26}
.admin-login-stage-scan{opacity:0}
/* Photo plate parallaxes less than the lifted sculpture; the copy never moves. */
.admin-login-story-media{inset:-16px;width:auto;height:auto;transform:translate3d(calc(var(--admin-login-parallax-x,0)*-7px),calc(var(--admin-login-parallax-y,0)*-7px),0)}
@media (min-width:960px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .admin-login-stage-tilt{transition:transform .35s cubic-bezier(.2,.8,.2,1)}
  .admin-login-stage-panel::after{transition:background-position .35s ease-out}
  .admin-login-story-media{transition:transform .45s cubic-bezier(.2,.8,.2,1)}
}


/* Warm depth behind the credential card; the mesh is gradients, never an image. */
.admin-login-panel-plain{background:transparent;align-items:stretch;padding-top:1rem;padding-bottom:1rem}
.admin-login-panel-plain .admin-login-content{display:flex;flex-direction:column;max-width:32rem;margin-inline:auto}
.admin-login-panel-plain .admin-login-header{flex-shrink:0;margin-bottom:0}
.admin-login-credential-stage{margin-block:auto;padding-block:2rem}
.admin-login-form-plain{display:flex;flex-direction:column;border:0;border-radius:0;background:transparent;padding:0;box-shadow:none;backdrop-filter:none}
.admin-login-form-plain > #google-signin-container{margin-top:.5rem}
.admin-login-form-plain .login-divider{display:flex;align-items:center;gap:.875rem;margin:.25rem 0}
.admin-login-form-plain .login-divider::before{position:static;flex:1 1 auto}
.admin-login-form-plain .login-divider::after{content:"";flex:1 1 auto;height:1px;background:#e4ddd2}
.admin-login-form-plain .login-divider-text{flex:0 0 auto;background:transparent}
.admin-login-form-plain .admin-processing-credential-divider{margin:1.5rem 0}
.admin-login-form-plain .login-submit-btn{position:relative;isolation:isolate;overflow:hidden;border:1px solid #b91937;background:linear-gradient(135deg,#d51d40,#b91937);box-shadow:0 10px 24px #b9193726,inset 0 1px 0 #ffffff3d;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}
.admin-login-form-plain .login-submit-btn:active:not(:disabled){transform:translateY(0)}
.admin-login-form-plain .admin-login-ink-button{display:flex;width:100%;min-height:3.25rem;align-items:center;justify-content:center;gap:.5rem;border-radius:.875rem;padding:.75rem 1rem;font-size:.9rem;line-height:1.25rem;font-weight:700;color:#fff;position:relative;isolation:isolate;overflow:hidden;border:1px solid #2a2421;background:linear-gradient(135deg,#2a2421,#1a1614);box-shadow:0 10px 24px #1a161429,inset 0 1px 0 #ffffff24;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}
.admin-login-form-plain .admin-login-ink-button:active:not(:disabled){transform:translateY(0)}
.admin-login-form-plain .admin-login-ink-button:disabled{cursor:not-allowed;opacity:.7}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.admin-login-form-plain .login-submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 14px 30px #b919373d;background:linear-gradient(135deg,#d51d40,#b91937)}.admin-login-form-plain .admin-login-ink-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 14px 30px #1a16143d;background:linear-gradient(135deg,#2a2421,#1a1614)}}
/* Pending actions remain mounted beneath the security overlay. */
.admin-login-gate[data-turnstile-gated]{transition:opacity .2s ease,filter .2s ease}
.admin-login-gate.is-gate-pending{opacity:.5;filter:saturate(.55)}
.admin-login-gate-note{display:flex;align-items:center;justify-content:center;gap:.45rem;margin:0;color:#8c8279;font-size:.72rem;line-height:1rem;font-weight:650}
.admin-login-gate-note[hidden]{display:none}
.admin-login-gate-note svg,.admin-login-gate-note i{flex:0 0 auto}
@media (prefers-reduced-motion:no-preference){
  .admin-login-stage-object{animation:admin-login-field-arrive 1.4s cubic-bezier(.16,1,.3,1) both}
  .admin-login-stage-contours{stroke-dasharray:520;animation:admin-login-field-draw 1.8s cubic-bezier(.22,1,.36,1) both}
  .admin-login-stage-parcel{animation:admin-login-stage-fade .8s .15s ease backwards}
  .admin-login-stage-parcel-two{animation-delay:.28s}
  .admin-login-stage-parcel-three{animation-delay:.41s}
  .admin-login-stage-parcel-four{animation-delay:.54s}
  .admin-login-stage-row{animation:admin-login-rows-grow 1.4s .72s cubic-bezier(.35,0,.25,1) backwards}
  .admin-login-stage-row-two{animation-delay:.85s}
  .admin-login-stage-row-three{animation-delay:.98s}
  .admin-login-stage-marker{animation:admin-login-marker-drop .75s 1.5s cubic-bezier(.2,1.35,.4,1) backwards}
  .admin-login-stage-panel{animation:admin-login-glass-arrive .9s 1.85s cubic-bezier(.16,1,.3,1) both}
  .admin-login-stage-scan{animation:admin-login-field-scan .9s 2.35s ease-in-out both}
  .admin-login-stage-halo,.admin-login-stage-orbit,.admin-login-stage-shadow,.admin-login-stage-satellite{animation:admin-login-stage-fade 1.8s ease both}
  .admin-login-panel-plain .admin-login-brand{animation:admin-login-arrive .8s .1s cubic-bezier(.16,1,.3,1) backwards}
  .admin-login-panel-plain .admin-login-heading{animation:admin-login-arrive .8s .18s cubic-bezier(.16,1,.3,1) backwards}
  .admin-login-form-plain{animation:admin-login-arrive .8s .28s cubic-bezier(.16,1,.3,1) backwards}
  .admin-login-form-plain .login-submit-btn::after,.admin-login-form-plain .admin-login-ink-button::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 30%,#ffffff40 50%,transparent 70%);animation:processing-button-light 1s 1.5s both}
}
/* Keep opacity off the preserve-3d owner: grouping opacity flattens its layers. */
@keyframes admin-login-field-arrive{from{transform:translateY(42px) rotateX(70deg) rotateZ(-64deg) scale(.76)}to{transform:rotateX(54deg) rotateZ(-38deg)}}
@keyframes admin-login-field-draw{from{stroke-dashoffset:520}to{stroke-dashoffset:0}}
@keyframes admin-login-glass-arrive{from{opacity:0;transform:translateZ(14px) scale(.82)}to{opacity:1;transform:translateZ(var(--admin-login-glass-lift))}}
@keyframes admin-login-rows-grow{from{opacity:0;transform:scaleX(0)}to{opacity:1;transform:scaleX(1)}}
@keyframes admin-login-marker-drop{from{opacity:0;transform:translateZ(120px) scale(.4)}to{opacity:1;transform:translateZ(38px) scale(1)}}
@keyframes admin-login-field-scan{0%{opacity:0;transform:translateY(-26px)}25%,70%{opacity:.85}100%{opacity:0;transform:translateY(20px)}}
@keyframes admin-login-stage-fade{from{opacity:0}to{opacity:1}}
@keyframes admin-login-arrive{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.admin-processing-entry-page .admin-login-shell{height:100dvh;min-height:0;overflow:hidden;padding:0}
.admin-processing-entry-page .admin-login-panel{height:100%;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:1rem 1.25rem 2.5rem}
.admin-processing-entry-page .admin-login-content{display:flex;min-height:calc(100dvh - 3.5rem);margin:0 auto;flex-direction:column}
.admin-login-page.admin-processing-entry-page .admin-auth-footer-note{margin-top:auto;padding-top:2rem;text-align:center}
.admin-processing-site-link{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;color:inherit;font-weight:650;text-decoration:underline;text-underline-offset:.18rem;text-decoration-color:rgba(140,130,121,.75)}
.admin-processing-site-link:hover{color:#b93815;text-decoration-color:#b93815}
.admin-processing-site-link:focus-visible{outline:2px solid #ef2147;outline-offset:2px;border-radius:.25rem}
.admin-processing-entry-header{display:flex;width:100%;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}
.admin-processing-entry-header .admin-login-brand{min-width:0;margin-bottom:0}
.admin-processing-entry-header .admin-login-language{position:relative;top:auto;right:auto;z-index:3;flex:0 0 auto}
.admin-processing-entry-page .admin-login-logo-img{width:3.6rem;height:3.6rem}
.admin-processing-start-page .admin-login-heading{margin-top:0;margin-bottom:2rem;text-align:center}
.admin-processing-start-page .admin-login-heading>p:last-child{max-width:22rem;margin-right:auto;margin-left:auto}
.admin-processing-start-page .admin-login-card{width:100%;max-width:21rem;margin-right:auto;margin-left:auto}
/* Processing start: dimensional field sculpture; finite motion never gates entry. */
.admin-processing-start-page .admin-login-content{width:100%;max-width:38rem;min-width:0;min-height:calc(100svh - 3.5rem)}
.admin-processing-start-page .admin-login-panel{overflow-x:hidden}
.admin-processing-start-page .admin-processing-entry-header{margin-bottom:0}
.admin-processing-start-page .admin-lang-toggle{min-width:44px;min-height:44px;justify-content:center}
.admin-processing-start-page .admin-login-heading h1{max-width:34rem;margin:0 auto;font-size:clamp(2rem,4.5vw,3rem);line-height:1.06;letter-spacing:-.055em;text-wrap:balance}
.admin-processing-start-page .admin-login-heading>p:last-child{max-width:25rem;margin-top:1rem;line-height:1.65;color:#6f675f;text-wrap:balance}
.processing-intro{position:relative;flex:0 0 auto;width:min(100%,30rem);height:clamp(12rem,31svh,19rem);margin:auto auto 2rem;pointer-events:none;perspective:900px;isolation:isolate;overflow:clip;--processing-glass-lift:64px}
.processing-story-settled .processing-intro *,.processing-story-settled .admin-login-brand,.processing-story-settled .admin-lang-toggle,.processing-story-settled .admin-login-heading,.processing-story-settled .admin-login-heading>p,.processing-story-settled .login-submit-btn::after,.processing-story-settled .admin-auth-footer-note{animation:none!important}
.processing-intro-sunbeam{position:absolute;inset:0;pointer-events:none;opacity:0;background:linear-gradient(115deg,transparent 20%,#ffe4a87a 45%,#fff5d870 52%,transparent 74%)}
.processing-intro-dust{position:absolute;right:100%;top:30%;width:70%;height:50%;transform:translateZ(3px)}
.processing-intro-dust span{position:absolute;width:55%;height:70%;border-radius:50%;background:radial-gradient(ellipse,#d5aa7370,transparent 70%);opacity:0}
.processing-intro-dust span:nth-child(2){left:-28%;top:25%}
.processing-intro-dust span:nth-child(3){left:-55%;top:-20%}
.processing-scan-bridge{transform-origin:center;position:fixed;z-index:61;box-sizing:border-box;border:0 solid #ffad78;border-radius:22px;background:#fcebd526;pointer-events:none;box-shadow:0 0 32px #f3b37140}


.processing-scan-bridge .processing-intro-scan-symbol{animation:none}
.processing-scan-bridge svg{width:100%;height:100%;color:#b94e2e}
.processing-scan-bridge i{position:absolute;width:22%;height:22%;border-color:#ffad78;border-style:solid;border-width:0}
.processing-scan-bridge i:nth-of-type(1){left:-2px;top:-2px;border-left-width:3px;border-top-width:3px;border-top-left-radius:16px}
.processing-scan-bridge i:nth-of-type(2){right:-2px;top:-2px;border-right-width:3px;border-top-width:3px;border-top-right-radius:16px}
.processing-scan-bridge i:nth-of-type(3){right:-2px;bottom:-2px;border-right-width:3px;border-bottom-width:3px;border-bottom-right-radius:16px}
.processing-scan-bridge i:nth-of-type(4){left:-2px;bottom:-2px;border-left-width:3px;border-bottom-width:3px;border-bottom-left-radius:16px}
@media (prefers-reduced-motion:no-preference){
  .admin-processing-start-page .processing-intro{transition:opacity .9s ease}
  .processing-camera-open .processing-intro{opacity:0}
  .processing-camera-open .processing-intro-glass,.processing-camera-return .processing-intro-glass{visibility:hidden}
  .processing-camera-open :is(#processing-entry-scanner,#qr-scan-modal) .admin-qr-scan-frame{animation:processing-frame-reveal 1s ease both}
  .processing-camera-open #processing-entry-scanner{animation:processing-camera-reveal 1s ease both}
}
@keyframes processing-frame-reveal{0%,75%{opacity:0}100%{opacity:1}}
@keyframes processing-camera-reveal{from{opacity:0}to{opacity:1}}

@media (prefers-reduced-motion:no-preference){
  .processing-intro-sunbeam{animation:processing-sunbeam 2.4s .4s ease both}
  .processing-intro-dust span{animation:processing-dust 1.6s .7s ease-out both}
  .processing-intro-dust span:nth-child(2){animation-delay:.85s}
  .processing-intro-dust span:nth-child(3){animation-delay:1s}
}
@keyframes processing-sunbeam{0%{opacity:0;transform:translateX(-35%)}35%{opacity:.7}100%{opacity:0;transform:translateX(35%)}}
@keyframes processing-dust{0%{opacity:0;transform:translateX(10%) scale(.5)}25%{opacity:.6}100%{opacity:0;transform:translateX(-60%) scale(1.6)}}
/* Separate pointer rotation from the finite entrance; never flatten this 3D owner. */
.processing-intro-tilt{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(var(--processing-tilt-x,0deg)) rotateY(var(--processing-tilt-y,0deg))}
.processing-intro-glass::after,.processing-tractor-hood::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(115deg,transparent 15%,#ffffff70 43%,#ffffff08 58%,transparent 80%);background-size:220% 100%;background-position:var(--processing-light-x,50%) 50%}
.processing-intro-glass::after{opacity:.55}
.processing-tractor-hood::before{opacity:.45}
@media (min-width:640px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .processing-intro-tilt{transition:transform .35s cubic-bezier(.2,.8,.2,1)}
  .processing-intro-glass::after,.processing-tractor-hood::before{transition:background-position .35s ease-out}
}
.processing-intro-halo{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 55%,#edb89b55,transparent 63%)}
.processing-intro-orbit{position:absolute;left:50%;top:53%;width:90%;height:55%;border:1px solid #bb98772b;border-radius:50%;transform:translate(-50%,-50%) rotate(-18deg)}
.processing-intro-orbit-two{width:72%;height:75%;transform:translate(-50%,-50%) rotate(28deg);border-color:#bb98771c}
.processing-intro-orbit-one::after{content:"";position:absolute;left:12%;top:10%;width:6px;height:6px;border-radius:50%;background:#d37551;box-shadow:0 0 0 5px #d375510c}
.processing-intro-shadow{position:absolute;left:27%;right:23%;bottom:5%;height:14%;border-radius:50%;background:#7e43202e;filter:blur(18px)}
.processing-intro-object{position:absolute;width:190px;height:190px;left:50%;top:50%;margin:-95px;transform-style:preserve-3d;transform:rotateX(53deg) rotateZ(-34deg)}
.processing-intro-base,.processing-intro-field,.processing-intro-glass{position:absolute;inset:0;border-radius:34px}
.processing-intro-base{transform:translateZ(-12px);background:linear-gradient(135deg,#c47c54,#81492f);box-shadow:-1px 2px 0 #ad6844,-2px 4px 0 #a66443,-3px 6px 0 #985b3d,0 20px 30px #70402424}
.processing-intro-field{overflow:hidden;background:linear-gradient(145deg,#fff0d9,#eed5b5 65%,#d8ad87);border:1px solid #fff9ed;box-shadow:inset 0 0 20px #fff5e1}
.processing-intro-field svg{width:100%;height:100%}
.processing-intro-glass{inset:38px;transform:translateZ(var(--processing-glass-lift));border:1px solid #ffffffec;background:linear-gradient(140deg,#ffffffcc,#fff8ed66 60%,#f2c7a688);box-shadow:0 8px 22px #8e512f1c,inset 0 1px 0 #fff;color:#b94e2e}
.processing-intro-glass svg{width:100%;height:100%}
/* Tractor geometry shares the field's perspective; only its wheels rotate. */
.processing-intro-tractor{position:absolute;left:64%;top:62%;width:28%;height:18%;transform:translateZ(8px);transform-style:preserve-3d}
.processing-tractor-shadow{position:absolute;inset:-10%;background:#63482f30;border-radius:50%;filter:blur(4px);transform:translateZ(-7px)}
.processing-tractor-chassis{position:absolute;inset:18% 0;background:#703e27;border-radius:3px;transform:translateZ(4px)}
.processing-tractor-hood{position:absolute;left:48%;top:17%;width:52%;height:66%;border-radius:3px 5px 5px 3px;transform:translateZ(13px);background:linear-gradient(90deg,#dc6739,#f18c50);border:1px solid #f5ad74;box-shadow:0 3px 0 #b34c2c,0 5px 0 #853b26}
.processing-tractor-hood::after{content:"";position:absolute;right:5%;top:18%;bottom:18%;width:12%;border-radius:1px;background:repeating-linear-gradient(0deg,#513e30 0 1px,#a98361 1px 2px)}
.processing-tractor-cab{position:absolute;left:11%;top:10%;width:38%;height:80%;border:2px solid #b95430;border-radius:3px;background:linear-gradient(135deg,#d9edf0,#719795);transform:translateZ(17px);box-shadow:0 4px 0 #4e7371,0 7px 0 #3f5c59}
.processing-tractor-roof{position:absolute;left:7%;top:4%;width:46%;height:92%;border:1px solid #fff9e4;border-radius:3px;background:linear-gradient(135deg,#fff4d8,#ecd3ae);transform:translateZ(26px);box-shadow:0 2px 0 #bba180}
.processing-tractor-exhaust{position:absolute;left:63%;top:14%;width:6%;height:13%;border-radius:2px;background:#584534;transform:translateZ(23px);box-shadow:0 3px 0 #6b5240,0 6px 0 #6b5240,0 9px 0 #6b5240}
.processing-tractor-wheel{position:absolute;width:34%;aspect-ratio:1;border-radius:50%;transform:translateZ(6px) rotateX(90deg);background:#35352d;border:2px solid #262b25;box-shadow:0 0 0 1px #5d5a49;transform-style:preserve-3d}
.processing-tractor-wheel span{position:absolute;inset:12%;border:2px solid #73654e;border-radius:50%;background:conic-gradient(#e5c099 0 15%,#8d7357 15% 25%,#e5c099 25% 40%,#8d7357 40% 50%,#e5c099 50% 65%,#8d7357 65% 75%,#e5c099 75% 90%,#8d7357 90%);box-shadow:inset 0 0 0 2px #b5916c}
.processing-tractor-wheel-rear-left{left:5%;top:-27%}
.processing-tractor-wheel-rear-right{left:5%;top:67%}
.processing-tractor-wheel-front-left{left:76%;top:-16%;width:25%}
.processing-tractor-wheel-front-right{left:76%;top:70%;width:25%}
.processing-intro-crops{position:absolute;left:15%;top:62%;width:48%;height:22%;transform:translateZ(2px)}
.processing-intro-crop-row{position:absolute;left:0;width:100%;height:5px;transform-origin:left center;background:radial-gradient(ellipse at 50% 90%,#77864e 0 42%,transparent 48%) 0 0/12px 5px repeat-x}
.processing-intro-crop-row-one{top:0}
.processing-intro-crop-row-two{top:35%;left:2%}
.processing-intro-crop-row-three{top:70%;left:4%}
.processing-intro-satellite{position:absolute;right:-18px;top:25px;width:18px;height:18px;border-radius:50%;transform:translateZ(48px);background:radial-gradient(circle at 30% 25%,#ffe0be,#dd7643 50%,#ac422c);box-shadow:0 10px 15px #a8502e22}
.admin-processing-start-page .login-submit-btn{position:relative;isolation:isolate;overflow:hidden;min-height:3.25rem;border:1px solid #b91937;background:linear-gradient(135deg,#d51d40,#b91937);box-shadow:0 8px 22px #b9193724,inset 0 1px 0 #ffffff3d;transition:transform .2s ease,box-shadow .2s ease}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.admin-processing-start-page .login-submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 28px #b9193738}}
.admin-processing-start-page .login-submit-btn:active:not(:disabled){transform:translateY(0)}
@media (prefers-reduced-motion:no-preference){
  .admin-processing-start-page .admin-login-brand{animation:processing-header-arrive .65s .45s cubic-bezier(.16,1,.3,1) backwards}
  .admin-processing-start-page .admin-lang-toggle{animation:processing-header-arrive .65s .6s cubic-bezier(.16,1,.3,1) backwards}
  .admin-processing-start-page .admin-lang-toggle:focus-visible{animation:none}
  .processing-intro-object{animation:processing-field-arrive 1.4s 0s cubic-bezier(.16,1,.3,1) both}
  .processing-intro-glass{animation:processing-glass-arrive 1.2s 1.35s cubic-bezier(.16,1,.3,1) both}
  .processing-intro-tractor{animation:processing-tractor-pass 2.3s .35s cubic-bezier(.35,0,.25,1) both}
  .processing-tractor-wheel span{animation:processing-tractor-roll 2.3s .35s cubic-bezier(.35,0,.25,1) backwards}
  .processing-intro-crop-row{animation:processing-crops-grow 1.7s .65s cubic-bezier(.35,0,.25,1) backwards}
  .processing-intro-crop-row-two{animation-delay:.78s}
  .processing-intro-crop-row-three{animation-delay:.91s}
  .processing-intro-contours{stroke-dasharray:500;animation:processing-field-draw 1.8s 0s cubic-bezier(.22,1,.36,1) both}
  .processing-intro-halo,.processing-intro-orbit,.processing-intro-shadow{animation:processing-intro-fade 1.8s 0s ease both}
  .processing-intro-scan{animation:processing-field-scan .8s 2.55s ease-in-out both}
  .admin-processing-start-page .admin-login-heading{animation:processing-copy-arrive .9s .15s cubic-bezier(.16,1,.3,1) backwards}
  .admin-processing-start-page .admin-login-heading>p{animation:processing-copy-arrive .9s .25s cubic-bezier(.16,1,.3,1) backwards}
  .admin-processing-start-page .login-submit-btn::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 30%,#ffffff40 50%,transparent 70%);animation:processing-button-light 1s 2.75s both}
}
/* Keep opacity off the preserve-3d owner: grouping opacity flattens its layers. */
@keyframes processing-field-arrive{from{transform:translateY(45px) rotateX(68deg) rotateZ(-60deg) scale(.75)}to{transform:rotateX(53deg) rotateZ(-34deg)}}
@keyframes processing-header-arrive{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@keyframes processing-glass-arrive{from{opacity:0;transform:translateZ(20px) scale(.75)}to{opacity:1;transform:translateZ(var(--processing-glass-lift))}}
@keyframes processing-tractor-pass{from{transform:translateX(-180%) translateZ(8px)}to{transform:translateZ(8px)}}
@keyframes processing-tractor-roll{from{transform:rotate(0deg)}to{transform:rotate(720deg)}}
@keyframes processing-crops-grow{from{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}
@keyframes processing-field-draw{from{stroke-dashoffset:500}to{stroke-dashoffset:0}}
@keyframes processing-intro-fade{from{opacity:0}to{opacity:1}}
@keyframes processing-copy-arrive{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes processing-field-scan{0%{opacity:0;transform:translateY(-30px)}25%,70%{opacity:.8}100%{opacity:0;transform:translateY(22px)}}
@keyframes processing-button-light{from{transform:translateX(-110%)}to{transform:translateX(110%)}}
.processing-intro-scan{opacity:0}
@media (max-width:639px){
  .processing-intro{height:clamp(10rem,27svh,15rem);margin-bottom:1.75rem}
  .processing-intro-object{width:160px;height:160px;margin:-80px}
  .processing-intro-glass{inset:30px}
  .admin-processing-start-page .admin-login-heading h1{font-size:2.1rem}
}
@media (max-height:700px){
  .processing-intro{height:11rem;margin-top:0;margin-bottom:1rem;--processing-glass-lift:40px}
  .processing-intro-object{width:130px;height:130px;margin:-65px}
  .processing-intro-glass{inset:26px}
  .admin-processing-start-page .admin-login-heading h1{font-size:1.8rem}
  .admin-processing-start-page .admin-login-heading{margin-bottom:1.25rem}
}
@media (prefers-reduced-motion:no-preference){
  .processing-intro-scan-symbol{animation:processing-symbol-arrive .7s 1.6s both}
}
@keyframes processing-symbol-arrive{from{opacity:0}to{opacity:1}}
.admin-processing-credential-divider{display:flex;align-items:center;gap:.875rem;margin:1rem 0;color:#8c8279;font-size:.7rem;line-height:1rem;font-weight:750;letter-spacing:.14em;text-align:center}
.admin-processing-credential-divider::before,.admin-processing-credential-divider::after{content:"";height:1px;flex:1;background:#ded9d1}
.admin-processing-credential-divider span{flex:0 0 auto}
.admin-processing-pin-modal-max-width{max-width:24rem}
.admin-processing-pin-dialog-content{width:100%;overflow:hidden;border:1px solid rgba(214,208,199,.9)!important;border-radius:1.5rem!important;background:#fbfaf7!important;box-shadow:0 28px 70px rgba(41,37,36,.24),0 3px 12px rgba(41,37,36,.09)!important}
.admin-processing-pin-dialog-body{padding:1.5rem!important}
.admin-processing-pin-dialog-title{margin:0;padding-right:2.75rem;font-size:1.2rem;line-height:1.35;font-weight:750;letter-spacing:-.02em;color:#1c1917}
.admin-processing-pin-form{display:flex;flex-direction:column;margin-top:1.25rem}
.admin-processing-pin-label{margin-bottom:.5rem!important;text-align:center}
.admin-processing-pin-display{display:block;width:100%;height:clamp(4.25rem,9dvh,5.25rem);border:1px solid #d6d0c7;border-radius:1rem;background:#fff;padding:.75rem .4rem .75rem 1rem;text-align:center;font-size:clamp(1.35rem,3dvh,1.6rem);line-height:1.5rem;font-weight:750;letter-spacing:.65rem;color:#1c1917;box-shadow:inset 0 1px 2px rgba(28,25,23,.04);caret-color:transparent}
.admin-processing-pin-display:focus{border-color:#ef2147;outline:0;box-shadow:0 0 0 3px rgba(239,33,71,.12)}
.admin-processing-pin-modal-status{min-height:2.5rem;margin:clamp(.75rem,1.5dvh,1rem) 0 clamp(1rem,2dvh,1.25rem);text-align:center;font-size:.75rem;line-height:1.25rem;color:#78716c}
.admin-processing-pin-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.75rem,1.6dvh,1rem)}
.admin-processing-pin-key{display:flex;min-width:0;min-height:clamp(3.75rem,8dvh,4.5rem);align-items:center;justify-content:center;border:1px solid #d6d0c7;border-radius:1rem;background:#fff;cursor:pointer;font-size:clamp(1.2rem,3dvh,1.45rem);line-height:1;font-weight:750;color:#292524;box-shadow:0 2px 5px rgba(28,25,23,.06);transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease,transform .15s ease,opacity .15s ease}
.admin-processing-pin-key:hover:not(:disabled){border-color:#ef2147;background:#fff6f8;transform:translateY(-1px)}
.admin-processing-pin-key:active:not(:disabled){transform:translateY(1px);box-shadow:none}
.admin-processing-pin-key:focus-visible{outline:2px solid #ef2147;outline-offset:2px}
.admin-processing-pin-key:disabled{cursor:not-allowed;opacity:.5}
.admin-processing-pin-key-spacer{display:block}
.admin-processing-pin-key-backspace{color:#c93c14}
.admin-processing-pin-key-backspace span{font-size:1.45rem;line-height:1}
.admin-processing-enrollment-toggle{display:block;width:max-content;max-width:100%;min-height:2.75rem;margin:1.5rem auto 0;border:0;background:transparent;padding:.625rem .75rem;cursor:pointer;text-align:center;font-size:.75rem;line-height:1rem;font-weight:650;color:#2563eb;text-decoration:underline;text-underline-offset:.25rem}
.admin-processing-enrollment-toggle:hover{color:#1d4ed8}
.admin-processing-enrollment-toggle:focus-visible{border-radius:.5rem;outline:2px solid #ef2147;outline-offset:2px}
.admin-processing-enrollment-options{display:flex;flex-direction:column;gap:1.25rem;margin-top:1rem;border-top:1px solid #ded9d1;padding-top:1.5rem}
.admin-processing-enrollment-options[hidden]{display:none}
.admin-processing-enrollment-intro{text-align:left}
.admin-processing-enrollment-kicker{margin:0 0 .3rem;color:#c93c14;font-size:.65rem;line-height:1rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.admin-processing-enrollment-intro h2{margin:0;color:#1c1917;font-size:1.25rem;line-height:1.55rem;font-weight:780;letter-spacing:-.02em}
.admin-processing-enrollment-intro>p:last-child{margin:.45rem 0 0;color:#78716c;font-size:.78rem;line-height:1.25rem}
.admin-processing-enrollment-account{display:flex;flex-direction:column;gap:.75rem;border:1px solid #e7e1d8;border-radius:1rem;background:#f5f2eb;padding:1rem}
.admin-processing-enrollment-account p{margin:0;text-align:center;color:#57534e;font-size:.72rem;line-height:1rem;font-weight:650}
.admin-processing-enrollment-divider,.admin-processing-enrollment-choice-divider{display:flex;align-items:center;gap:.75rem;color:#8c8279;font-size:.62rem;line-height:1rem;font-weight:800;letter-spacing:.12em;text-align:center}
.admin-processing-enrollment-divider::before,.admin-processing-enrollment-divider::after,.admin-processing-enrollment-choice-divider::before,.admin-processing-enrollment-choice-divider::after{content:"";height:1px;flex:1;background:#ded9d1}
.admin-processing-enrollment-divider span,.admin-processing-enrollment-choice-divider span{flex:0 0 auto}
.admin-processing-enrollment-flow{display:flex;flex-direction:column;gap:1rem}
.admin-processing-enrollment-step{border:1px solid #ded9d1;border-radius:1.25rem;background:rgba(255,255,255,.82);padding:1rem;box-shadow:0 2px 8px rgba(41,37,36,.04);transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}
.admin-processing-enrollment-step-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:.75rem}
.admin-processing-enrollment-step-number{display:flex;width:2rem;height:2rem;align-items:center;justify-content:center;border-radius:999px;background:#d51d40;color:#fff;font-size:.78rem;line-height:1;font-weight:800;box-shadow:0 4px 10px rgba(239,33,71,.18)}
.admin-processing-enrollment-step-header h3{margin:0;color:#292524;font-size:.9rem;line-height:1.2rem;font-weight:760}
.admin-processing-enrollment-step-header p{margin:.2rem 0 0;color:#78716c;font-size:.7rem;line-height:1.05rem}
.admin-processing-enrollment-step-status{align-self:start;border-radius:999px;background:#ebe7e0;padding:.28rem .5rem;color:#78716c;font-size:.58rem;line-height:.8rem;font-weight:800;white-space:nowrap}
.admin-processing-enrollment-step-choice[data-state="locked"]{background:#f7f4ef}
.admin-processing-enrollment-step-choice[data-state="locked"] .admin-processing-enrollment-step-number{background:#a8a29e;box-shadow:none}
.admin-processing-enrollment-step-choice[data-state="ready"]{border-color:#f2b9a8;background:#fffaf7;box-shadow:0 8px 24px rgba(239,33,71,.07)}
.admin-processing-enrollment-step-choice[data-state="ready"] .admin-processing-enrollment-step-status{background:#dcfce7;color:#166534}
.admin-processing-enrollment-fields{display:grid;grid-template-columns:1fr;gap:.85rem;margin-top:1rem}
.admin-processing-enrollment-field{min-width:0}
.admin-processing-enrollment-field .admin-field-label{display:block;margin-bottom:.4rem}
.admin-processing-enrollment-field .login-input{box-sizing:border-box;width:100%;min-width:0}
.admin-processing-enrollment-passkey-button{margin-top:1rem}
.admin-processing-enrollment-choice-divider{margin:1rem 0}
.admin-processing-pin-setup{border-radius:1rem;background:#f5f2eb;padding:.9rem}
.admin-processing-pin-setup h4{margin:0;color:#292524;font-size:.8rem;line-height:1.1rem;font-weight:760}
.admin-processing-pin-setup>p{margin:.25rem 0 0;color:#78716c;font-size:.66rem;line-height:1rem}
.admin-processing-pin-enrollment-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1rem 0}
.admin-processing-pin-enrollment-row .login-input{text-align:center;font-size:1rem;font-weight:750;letter-spacing:.25rem;padding-right:.5rem;padding-left:.75rem}
.admin-secondary-action-button{display:flex;width:100%;min-height:3.25rem;align-items:center;justify-content:center;gap:.5rem;border:1px solid #d6d0c7;border-radius:.875rem;background:rgba(255,255,255,.82);padding:.75rem 1rem;cursor:pointer;font-size:.85rem;line-height:1.2rem;font-weight:700;color:#292524;transition:border-color .15s ease,background-color .15s ease,transform .15s ease,opacity .15s ease}
.admin-secondary-action-button:hover:not(:disabled){border-color:#b8afa3;background:#fff;transform:translateY(-1px)}
.admin-secondary-action-button:focus-visible{outline:2px solid #ef2147;outline-offset:2px}
.admin-secondary-action-button:disabled{cursor:not-allowed;opacity:.55}
@media (min-width:560px){
  .admin-processing-enrollment-fields{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
}
@media (min-width:960px){
  .admin-login-shell{height:100vh;min-height:0;grid-template-columns:minmax(0,.82fr) minmax(32rem,1.18fr)}
  .admin-login-story{display:block;align-self:center;height:calc(100vh - 4rem);min-height:0}
  .admin-login-panel{align-self:start;height:calc(100vh - 2rem);overflow-y:auto;scrollbar-gutter:stable}
}
@media (max-width:639px){
  .admin-login-shell{padding:0}
  .admin-login-panel{align-items:flex-start;padding:1.15rem 1.25rem 2.5rem}
  .admin-login-language{top:1rem;right:1rem}
  .admin-login-header{margin-bottom:0}
  .admin-login-brand{margin-bottom:2rem}
  .admin-login-heading{margin-bottom:.65rem}
  .admin-login-heading h1{font-size:2.05rem}
  .admin-processing-entry-page .admin-login-logo-img{width:3.3rem;height:3.3rem}
}
@media (max-height:860px) and (min-width:960px){
  .admin-login-panel{padding-top:1.25rem;padding-bottom:1.25rem}
  .admin-login-brand{margin-bottom:1.25rem}
  .admin-login-logo-img{width:3.5rem;height:3.5rem}
  .admin-login-heading{margin-bottom:1rem}
  .admin-login-eyebrow{margin-bottom:.5rem}
  .admin-login-heading h1{font-size:2.25rem}
  .admin-login-heading>p:last-child{margin-top:.5rem;line-height:1.4}
  .admin-login-form-stack{gap:.625rem}
  .admin-login-form-stack .mt-3{margin-top:0}
  .login-input,.login-submit-btn,.admin-login-ink-button,.admin-login-secondary-button{height:3rem;min-height:3rem}
  .admin-login-page .admin-auth-footer-note{margin-top:.75rem}
}
@media (prefers-reduced-motion:reduce){
  .admin-login-story-slide{transition:none;transform:none}
  .admin-login-story-copy-slide{transition:none;transform:none}
  .admin-login-story-control{display:none}
}

.admin-land-measurement-actions{display:flex;flex-direction:column;align-items:stretch;gap:.5rem}
.admin-land-measurement-actions>a,.admin-land-measurement-actions>form,.admin-land-measurement-actions button{width:100%}
table.admin-land-measurement-history th,table.admin-land-measurement-history td{white-space:normal;overflow-wrap:anywhere}
@media(min-width:768px){.admin-land-measurement-history{width:100%;table-layout:fixed}.admin-land-measurement-history .admin-table-action-head,.admin-land-measurement-history .admin-table-action-cell{width:12rem}table.admin-land-measurement-history th,table.admin-land-measurement-history td{padding-left:.75rem;padding-right:.75rem;vertical-align:top}}

#admin-ai-assistant{--admin-ai-gradient:linear-gradient(135deg,#3641c7 0%,#465fff 100%);--admin-ai-brand:#4549dc;--admin-ai-brand-soft:rgba(69,73,220,.1);--admin-ai-launcher-bottom:5px;position:fixed;right:5px;bottom:calc(var(--admin-ai-launcher-bottom) + env(safe-area-inset-bottom));z-index:99999;--admin-ai-panel-right:20px;--admin-ai-panel-bottom:16px;--admin-ai-panel-width:440px;--admin-ai-panel-min-width:300px;--admin-ai-panel-max-width:calc(100vw - 32px);--admin-ai-panel-height:min(68dvh,620px);--admin-ai-input-height:44px;--admin-ai-input-max-height:120px;--admin-ai-layer:99999}
.admin-sidebar-mobile-open #admin-ai-assistant,.admin-search-spotlight-open #admin-ai-assistant{visibility:hidden;pointer-events:none;opacity:0}
.admin-ai-gradient-bg{background:var(--admin-ai-gradient)}
.admin-ai-toggle-button{display:flex;width:3rem;height:3rem;align-items:center;justify-content:center;overflow:hidden;border:0;border-radius:9999px;background:transparent;padding:0;color:#fff;box-shadow:0 10px 15px -3px rgba(16,24,40,.1),0 4px 6px -4px rgba(16,24,40,.1)}
.admin-ai-profile-image{display:block;width:100%;height:100%;border-radius:9999px;object-fit:cover}
@media(min-width:1024px){.admin-ai-toggle-button[aria-expanded="true"]{visibility:hidden}}
.admin-ai-toggle-button:focus{outline:0}
.admin-ai-toggle-button:focus-visible{box-shadow:0 0 0 2px rgba(96,165,250,.65),0 10px 15px -3px rgba(16,24,40,.1)}
.admin-ai-panel{position:fixed;right:var(--admin-ai-panel-right);bottom:var(--admin-ai-panel-bottom);width:var(--admin-ai-panel-width);min-width:var(--admin-ai-panel-min-width);max-width:var(--admin-ai-panel-max-width);height:var(--admin-ai-panel-height);max-height:calc(100dvh - 32px);min-height:0;overflow:hidden;display:none;flex-direction:column;z-index:var(--admin-ai-layer);border:1px solid #e5e7eb;border-radius:1rem;background:#fff;box-shadow:0 25px 50px -12px rgba(16,24,40,.25)}
.admin-ai-panel-section{flex-shrink:0}
.admin-ai-panel-header{position:relative;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e7eb;padding:.75rem 1rem}
.admin-ai-panel-footer{border-top:1px solid #e5e7eb;padding:.875rem 1rem}
.admin-ai-wordmark{display:flex;width:2.375rem;height:2.375rem;flex-shrink:0;align-items:center;justify-content:center;border-radius:.75rem;background:#f0f0ff;color:#4549dc;font-size:1rem;font-weight:600}
.admin-ai-footer-note{margin:.5rem 0 0;text-align:center;font-size:.75rem;line-height:1rem;color:#667085}
.admin-ai-profile-row{display:flex;min-width:0;align-items:center;gap:.625rem}
.admin-ai-panel-actions{display:flex;flex-shrink:0;align-items:center;gap:.25rem}
.admin-ai-text-icon-button{display:flex;width:2.75rem;height:2.75rem;flex-shrink:0;align-items:center;justify-content:center;border-radius:.625rem;color:#374151;transition:color .15s ease,background-color .15s ease}
.admin-ai-text-icon-button:hover{color:#1f2937}
.admin-ai-text-icon-button:hover{background:#f3f4f6}
.admin-ai-messages{flex:1 1 auto;min-height:0;overflow-y:auto;padding:1.25rem;display:flex;flex-direction:column;gap:1.25rem;overscroll-behavior:contain}
.admin-ai-messages>*{flex-shrink:0}
.admin-ai-welcome-title{margin:0 0 .5rem;font-size:1.375rem;line-height:1.75rem;font-weight:600;letter-spacing:-.025em;color:#253047}
.admin-ai-welcome-description{margin:0;font-size:.875rem;line-height:1.5rem;color:#667085}
.admin-ai-title-block{min-width:0;flex:1 1 0%}
.admin-ai-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1.375rem;font-weight:600;color:#253047}
.admin-ai-subtitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-ai-assistant-row{display:flex;min-width:0;align-items:flex-start;gap:.75rem}
.admin-ai-assistant-message{min-width:0;width:100%;max-width:100%}
.admin-ai-assistant-content{min-width:0;flex:1 1 0%}
.admin-ai-assistant-message-body{position:relative;padding:0;background:transparent}
.admin-ai-user-message{margin-left:auto;min-width:0;max-width:calc(100% - 1.5rem);text-align:left}
.admin-ai-user-message-body{border-radius:.75rem .75rem .1875rem .75rem;padding:.75rem .875rem;background:#f0f0ff;color:#253047}
.admin-ai-message-text,.admin-ai-message-text-inverse{margin:0;overflow-wrap:anywhere;font-size:.875rem;line-height:1.5rem;color:#253047}
.admin-ai-message-sources{overflow-wrap:anywhere;margin-top:.5rem;font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-ai-feedback{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem;margin-top:.5rem;font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-ai-feedback-prompt{margin-right:.125rem}
.admin-ai-feedback-actions{display:flex;gap:.25rem}
.admin-ai-feedback-button{display:inline-flex;min-width:2.75rem;height:2.75rem;align-items:center;justify-content:center;border:1px solid #d1d5db;border-radius:.5rem;background:#fff;transition:border-color .15s ease,background-color .15s ease}
.admin-ai-feedback-button:hover,.admin-ai-feedback-button:focus-visible{border-color:var(--admin-ai-brand);background:var(--admin-ai-brand-soft)}
.admin-ai-feedback-reasons{display:flex;flex:1 0 100%;flex-wrap:wrap;gap:.25rem}
.admin-ai-feedback-reason{min-height:2.75rem;border:1px solid #d1d5db;border-radius:9999px;background:#fff;padding:.5rem .75rem;color:#4b5563}
.admin-ai-feedback-reason:hover,.admin-ai-feedback-reason:focus-visible{border-color:var(--admin-ai-brand);color:var(--admin-ai-brand)}
.admin-ai-feedback button:disabled{cursor:not-allowed;opacity:.55}
.admin-ai-feedback-status{flex:1 0 100%;color:#b42318}
.admin-ai-feedback-complete{color:#067647}
.admin-ai-scope{display:flex;flex-wrap:wrap;gap:.375rem .75rem;min-width:0;padding-bottom:.75rem;border-bottom:1px solid #e5e7eb}
.admin-ai-scope-chip{max-width:100%;overflow-wrap:anywhere;font-size:.75rem;line-height:1.125rem;color:#667085}
.admin-ai-question-group{min-width:0}
.admin-ai-question-heading{margin:0 0 .375rem;font-size:.75rem;line-height:1.125rem;color:#667085}
.admin-ai-starters{display:flex;flex-direction:column;min-width:0}
.admin-ai-starter{display:flex;align-items:center;gap:.625rem;width:100%;min-height:3rem;max-width:100%;border:0;border-bottom:1px solid #e5e7eb;border-radius:0;background:transparent;padding:.75rem 0;text-align:left;font-size:.875rem;line-height:1.25rem;color:#253047;overflow-wrap:anywhere}
.admin-ai-starter:last-child{border-bottom:0}
.admin-ai-starter-icon,.admin-ai-starter-arrow{display:flex;flex:0 0 auto;color:#667085}
.admin-ai-starter-label{min-width:0;flex:1}
.admin-ai-starter:hover,.admin-ai-starter:focus-visible{color:#4549dc;background:#f8f9fc}
.admin-ai-starter:focus-visible{outline:2px solid #4549dc;outline-offset:2px}
.admin-ai-starter:disabled{cursor:wait;opacity:.6}
#admin-ai-assistant .admin-generated-link{color:var(--admin-ai-brand)}
.admin-ai-evidence{min-width:0;margin-top:.875rem;border:1px solid #e5e7eb;border-radius:.75rem;background:#fff;padding:.75rem .875rem}
.admin-ai-evidence .admin-ai-question-group{margin-top:.5rem;padding-top:.75rem;border-top:1px solid #e5e7eb}
.admin-ai-evidence-heading-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;margin:-.75rem -.875rem .5rem;padding:.75rem .875rem;border-bottom:1px solid #e5e7eb;border-radius:.6875rem .6875rem 0 0;background:#f5f6fa}
.admin-ai-evidence-partial{display:inline-block;margin:0;padding:.25rem .5rem;border-radius:.375rem;background:#fff6e9;color:#865316;font-size:.75rem;line-height:1rem}
.admin-ai-evidence-title{margin:0;font-size:.8125rem;line-height:1.25rem;font-weight:600;color:#1f2937;overflow-wrap:anywhere}
.admin-ai-evidence-meta,.admin-ai-evidence-summary{margin:.25rem 0 0;font-size:.75rem;line-height:1rem;color:#6b7280;overflow-wrap:anywhere}
.admin-ai-evidence-scroll{max-width:100%;overflow-x:auto;margin-top:.375rem}
.admin-ai-evidence-table{width:100%;border-collapse:collapse;font-size:.75rem;line-height:1rem}
.admin-ai-evidence-table th,.admin-ai-evidence-table td{padding:.25rem .375rem;text-align:left;vertical-align:top;overflow-wrap:anywhere;color:#374151}
.admin-ai-evidence-table th{font-weight:600;color:#4b5563}
.admin-ai-evidence-facts th,.admin-ai-evidence-facts td{padding:.625rem 0;border-bottom:1px solid #e5e7eb;line-height:1.25rem}
.admin-ai-evidence-facts th{width:50%;font-weight:400}
.admin-ai-evidence-facts td{text-align:right;font-variant-numeric:tabular-nums;padding-left:.75rem}
.admin-ai-evidence-facts tr:last-child th,.admin-ai-evidence-facts tr:last-child td{border-bottom:0}
.admin-ai-evidence-action{display:inline-flex;min-height:2.75rem;align-items:center;margin-top:.375rem;font-size:.75rem;line-height:1rem;color:var(--admin-ai-brand);overflow-wrap:anywhere}
.admin-ni-field-ask{display:inline-flex;position:absolute;top:50%;left:50%;width:2.75rem;height:2.75rem;flex-shrink:0;align-items:center;justify-content:center;border:0;border-radius:9999px;background:transparent;color:#667085;transform:translate(-50%,-50%)}
.admin-ni-field-ask:hover,.admin-ni-field-ask:focus-visible{color:var(--admin-ai-brand);background:transparent}
.admin-ai-close-btn{cursor:pointer;position:relative;z-index:10}
.admin-ai-form{display:block;margin:0}
.admin-ai-input-shell{display:flex;align-items:flex-end;gap:.5rem;position:relative;width:100%;padding:.3125rem;border:1px solid #e5e7eb;border-radius:.75rem;background:#f5f6fa;transition:border-color .15s ease,box-shadow .15s ease}
.admin-ai-input-shell:focus-within{border-color:var(--admin-ai-brand);box-shadow:0 0 0 3px var(--admin-ai-brand-soft)}
.admin-ai-input{display:block;flex:1;min-width:0;box-sizing:border-box;width:100%;resize:none;border:0;background:transparent;padding:.6875rem .5rem;font-size:1rem;line-height:1.375rem;color:#253047;outline:0;min-height:44px;max-height:var(--admin-ai-input-max-height);height:44px;overflow-y:hidden}
.admin-ai-input::placeholder{color:#667085}
.admin-ai-input:focus{border-color:transparent;box-shadow:none}
.admin-ai-send-button{display:flex;width:2.75rem;height:2.75rem;flex:0 0 2.75rem;align-items:center;justify-content:center;border-radius:.5625rem;background:#4549dc;color:#fff;transition:opacity .15s ease}
.admin-ai-send-button:hover{opacity:.9}
.admin-ai-loading-body{padding:.5rem 0}
.admin-ai-loading-label{display:block;font-size:.75rem;line-height:1.25rem;color:#667085}
.admin-ai-typing{display:flex;gap:.25rem}
.admin-ai-typing span{width:8px;height:8px;border-radius:9999px;background-color:#9ca3af;display:inline-block;animation:admin-ai-typing-bounce 1s infinite ease-in-out}
.admin-ai-typing span:nth-child(2){animation-delay:.15s}
.admin-ai-typing span:nth-child(3){animation-delay:.3s}
@keyframes admin-ai-typing-bounce{
  0%,80%,100%{transform:translateY(0);opacity:.5}
  40%{transform:translateY(-4px);opacity:1}
}
@media (max-width:639px){
  #admin-ai-assistant{--admin-ai-panel-right:12px;--admin-ai-panel-bottom:calc(12px + env(safe-area-inset-bottom));--admin-ai-panel-width:calc(100vw - 24px);--admin-ai-panel-min-width:0;--admin-ai-panel-max-width:calc(100vw - 24px);--admin-ai-panel-height:min(68dvh,580px)}
  .admin-ai-panel{border-radius:.875rem}
  .admin-ai-assistant-row{gap:.625rem}
  .admin-ai-messages{padding:1rem}
}
@media (prefers-reduced-motion:reduce){
  #admin-ai-assistant{transition:none}
  .admin-ai-typing span{animation:none}
  .admin-ai-starter,.admin-ni-field-ask,.admin-ai-evidence-action{transition:none}
}
.dark #admin-ai-assistant{--admin-ai-brand:#b2afff;--admin-ai-brand-soft:rgba(178,175,255,.12)}
.dark .admin-ai-panel{border-color:#374151;background:#111827}
.dark .admin-ai-panel-header,.dark .admin-ai-panel-footer{border-color:#374151}
.dark .admin-ai-wordmark,.dark .admin-ai-user-message-body{background:#343052;color:#eef0f7}
.dark .admin-ai-wordmark{color:#b2afff}
.dark .admin-ai-welcome-title,.dark .admin-ai-message-text,.dark .admin-ai-message-text-inverse{color:#eef0f7}
.dark .admin-ai-welcome-description,.dark .admin-ai-footer-note,.dark .admin-ai-question-heading,.dark .admin-ai-loading-label,.dark .admin-ai-starter-icon,.dark .admin-ai-starter-arrow{color:#b2bacb}
.dark .admin-ai-scope,.dark .admin-ai-evidence .admin-ai-question-group,.dark .admin-ai-evidence-facts th,.dark .admin-ai-evidence-facts td{border-color:#3e4656}
.dark .admin-ai-evidence-partial{background:#453722;color:#f5cf99}
.dark .admin-ai-evidence-heading-row{border-color:#3e4656;background:#2a303d}
.dark .admin-ai-text-icon-button{color:#d1d5db}
.dark .admin-ai-text-icon-button:hover{background:#1f2937;color:#fff}
.dark .admin-ai-title,.dark .admin-ai-input{color:#f3f4f6}
.dark .admin-ai-subtitle,.dark .admin-ai-message-sources,.dark .admin-ai-input::placeholder{color:#9ca3af}
.dark .admin-ai-input-shell{border-color:#4b5563;background:#2a303d}
.dark .admin-ai-feedback{color:#9ca3af}
.dark .admin-ai-feedback-status{color:#fda29b}
.dark .admin-ai-feedback-complete{color:#6ce9a6}
.dark .admin-ai-feedback-button,.dark .admin-ai-feedback-reason{border-color:#4b5563;background:#1f2937;color:#d1d5db}
.dark .admin-ai-scope-chip{color:#b2bacb}
.dark .admin-ai-starter{border-color:#3e4656;background:transparent;color:#eef0f7}
.dark .admin-ai-starter:hover,.dark .admin-ai-starter:focus-visible{color:#c7d2fe;background:#2a303d;outline-color:#b2afff}
.dark .admin-ai-evidence{border-color:#374151;background:#1f2937}
.dark .admin-ai-evidence-title{color:#f3f4f6}
.dark .admin-ai-evidence-meta,.dark .admin-ai-evidence-summary,.dark .admin-ai-evidence-table th{color:#9ca3af}
.dark .admin-ai-evidence-table td{color:#e5e7eb}
.dark .admin-ni-field-ask{background:transparent;color:#9ca3af}
.dark .admin-ni-field-ask:hover,.dark .admin-ni-field-ask:focus-visible{color:#c7d2fe;background:transparent}

.form-check-input:checked+.box{border-width:2px}
.form-check-input:checked+.box>span{display:block}
.form-check-input:not(:checked)+.box>span{display:none}
#modalDanger:checked+.box{border-color:#ef4444}
#modalDanger:checked+.box>span{background-color:#ef4444}
#modalSuccess:checked+.box{border-color:#22c55e}
#modalSuccess:checked+.box>span{background-color:#22c55e}
#modalPrimary:checked+.box{border-color:#3b82f6}
#modalPrimary:checked+.box>span{background-color:#3b82f6}
#modalWarning:checked+.box{border-color:#eab308}
#modalWarning:checked+.box>span{background-color:#eab308}

.fc-event.event-fc-color{border-radius:6px!important;box-shadow:0 1px 3px rgba(0,0,0,.15)!important;border:1px solid rgba(255,255,255,.3)!important}
.fc-timeGridWeek .fc-timegrid-col-events,.fc-timeGridDay .fc-timegrid-col-events{position:relative!important;width:100%!important}
.fc-timeGridWeek .fc-timegrid-col-event,.fc-timeGridDay .fc-timegrid-col-event{position:absolute!important;box-sizing:border-box!important}
.fc-timeGridWeek .fc-timegrid-col-event .fc-timegrid-event-harness,.fc-timeGridDay .fc-timegrid-col-event .fc-timegrid-event-harness{width:100%!important;position:relative!important}
.fc-timeGridWeek .fc-timegrid-event-harness,.fc-timeGridDay .fc-timegrid-event-harness{margin-bottom:6px!important;padding-bottom:2px!important}
.fc-timeGridWeek .fc-timegrid-event-harness+.fc-timegrid-event-harness,.fc-timeGridDay .fc-timegrid-event-harness+.fc-timegrid-event-harness{margin-top:4px!important}
.fc-timeGridWeek .fc-timegrid-event,.fc-timeGridDay .fc-timegrid-event{border-radius:6px!important;box-shadow:0 1px 3px rgba(0,0,0,.15)!important;border:1px solid rgba(255,255,255,.4)!important;margin:2px 0!important;width:calc(100% - 4px)!important;left:2px!important;right:2px!important}
.fc-timeGridWeek .fc-timegrid-event-harness-abs,.fc-timeGridDay .fc-timegrid-event-harness-abs{margin-bottom:6px!important;padding-bottom:2px!important}
.fc-timeGridWeek .fc-event-main,.fc-timeGridDay .fc-event-main,.fc-event-main{padding:4px 8px!important}
.fc .fc-scrollgrid-section-sticky>*{z-index:1!important}
.fc-daygrid-event{margin-bottom:4px!important;margin-top:2px!important;border-radius:6px!important;box-shadow:0 1px 2px rgba(0,0,0,.1)!important}
/* Named hooks keep the compact month layout independent of FullCalendar theme hashes. */
#timesheet-calendar .admin-timesheet-tag-list{display:flex;flex-wrap:wrap;align-content:flex-start;gap:4px;min-height:0!important;padding:2px 4px}
#timesheet-calendar .admin-timesheet-tag-slot{position:static!important;inset:auto!important;flex:0 1 auto;min-width:0;max-width:100%;margin:0!important}
#timesheet-calendar .admin-timesheet-tag-slot>[role="button"]{width:fit-content;max-width:100%;min-height:30px;margin:0!important;padding:0!important;display:flex;align-items:center;box-sizing:border-box;box-shadow:none!important}
#timesheet-calendar .admin-timesheet-tag-slot>[role="button"]>div{min-width:0;padding:4px 4px!important}
#timesheet-calendar .admin-timesheet-tag-slot>[role="button"] .fc-event-title{font-size:12px;line-height:20px;white-space:nowrap}
.fc-timegrid-event-harness:not(:last-child){margin-bottom:6px!important}
.fc-timegrid .fc-event{margin-bottom:4px!important}

table[id^="admin-table-"] td.never,
table[id^="admin-table-"] th.never,
table[id^="admin-table-"] tbody tr td:last-child,
table[id^="admin-table-"] thead tr th:last-child,
table[id^="admin-table-"] tbody tr td.dtr-hidden:last-child,
table[id^="admin-table-"] thead tr th.dtr-hidden:last-child,
table[id^="admin-table-"] td.never.dtr-hidden,
table[id^="admin-table-"] th.never.dtr-hidden,
table[id^="admin-table-"] tbody tr td:last-child[style*="display: none"],
table[id^="admin-table-"] thead tr th:last-child[style*="display: none"],
table[id^="admin-table-"] tbody tr.dtr-hidden td:last-child,
table[id^="admin-table-"] tbody tr.dtr-hidden td.never{display:table-cell!important;visibility:visible!important}

.care-summary-bg{background:linear-gradient(to right,rgba(239,246,255,1),rgba(238,242,255,1))!important}
.care-summary-header-bg{background-color:rgba(239,246,255,.5)!important}
.care-summary-header{margin:-.25rem -.25rem .75rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;border-radius:.375rem;background:rgba(239,246,255,.5);padding:.75rem}
.text-orange-red{color:#ea580c!important}
#harvest_unusual_warning_title,#harvest_confirmation_title{display:none}

.admin-toast-container{max-width:400px}
.admin-toast-container-wide{max-width:420px}
.admin-generated-toast{display:flex;align-items:center;gap:.75rem;border:1px solid;border-radius:.5rem;padding:1rem;box-shadow:0 10px 15px -3px rgba(16,24,40,.1),0 4px 6px -4px rgba(16,24,40,.1);transform:translateZ(0);transition:all .3s ease}
.admin-generated-toast-pointer{pointer-events:auto}
.admin-generated-toast-start{align-items:flex-start}
.admin-generated-toast-success{border-color:#bbf7d0;background:#f0fdf4;color:#14532d}
.admin-generated-toast-error{border-color:#fecaca;background:#fef2f2;color:#7f1d1d}
.admin-generated-toast-error-strong{border-color:#fca5a5;background:#fef2f2;color:#7f1d1d}
.admin-generated-toast-warning{border-color:#fef08a;background:#fefce8;color:#713f12}
.admin-generated-toast-info{border-color:#bfdbfe;background:#eff6ff;color:#1e3a8a}
.admin-generated-toast-icon{font-size:1.125rem;line-height:1.75rem;font-weight:700}
.admin-generated-toast-icon-fixed{flex-shrink:0}
.admin-generated-toast-message{flex:1 1 0%;font-size:.875rem;line-height:1.25rem;font-weight:500}
.admin-generated-toast-message-plain{flex:1 1 0%;font-size:.875rem;line-height:1.25rem}
.admin-generated-toast-dismiss{color:#9ca3af;transition:color .15s ease}
.admin-generated-toast-dismiss:hover{color:#4b5563}
.admin-generated-toast-dismiss-padded{flex-shrink:0;padding:.25rem}
.admin-global-toast-container{pointer-events:none;position:fixed;right:1rem;top:1rem;z-index:9999;display:flex;flex-direction:column;align-items:flex-end;gap:.5rem}
.admin-processing-turnstile-lock{position:fixed;inset:0;z-index:9998;display:grid;place-items:center;overflow-y:auto;padding:1.25rem;background:var(--admin-modal-backdrop-color);backdrop-filter:blur(var(--admin-modal-backdrop-blur));-webkit-backdrop-filter:blur(var(--admin-modal-backdrop-blur))}
.admin-processing-turnstile-lock[hidden]{display:none}
.admin-processing-turnstile-lock-panel{display:flex;width:min(100%,24rem);min-height:11rem;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;border:1px solid rgba(255,255,255,.72);border-radius:1rem;background:#fffdf9;padding:1.25rem;box-shadow:0 24px 60px rgba(28,25,23,.28);text-align:center}
.admin-processing-turnstile-lock-spinner{display:block;width:1.75rem;height:1.75rem;border:3px solid #fed7aa;border-top-color:#ef2147;border-radius:9999px;animation:admin-processing-turnstile-spin .8s linear infinite}
.admin-processing-turnstile-lock[data-state="error"] .admin-processing-turnstile-lock-spinner,.admin-processing-turnstile-lock[data-state="expired"] .admin-processing-turnstile-lock-spinner{border-color:#fecaca;border-top-color:#dc2626;animation:none}
.admin-processing-turnstile-lock-title{margin:0;font-size:1rem;line-height:1.5rem;font-weight:700;color:#1c1917}
.admin-processing-turnstile-lock-message{margin:0;max-width:20rem;font-size:.8125rem;line-height:1.25rem;color:#57534e}
.admin-processing-turnstile-widget{width:100%;margin-top:.25rem}
@keyframes admin-processing-turnstile-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.admin-processing-turnstile-lock-spinner{animation-duration:1.6s}}
.admin-global-toast-shell{pointer-events:auto;display:flex;width:20rem;max-width:calc(100vw - 2rem);align-items:center;gap:.75rem;overflow:hidden;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;padding:.75rem 1rem;box-shadow:0 10px 15px -3px rgba(16,24,40,.1),0 4px 6px -4px rgba(16,24,40,.1);opacity:0;transform:translateX(.5rem);transition:all .2s ease}
.admin-processing-login-page .admin-global-toast-container{left:0;right:0;top:0}
.admin-processing-login-page .admin-global-toast-shell[role="alert"]{box-sizing:border-box;pointer-events:none;width:100%;max-width:none;border-width:0 0 1px;border-color:#fecaca;border-radius:0;background:#fef2f2;padding:1rem;transform:none}
.admin-processing-login-page .admin-global-toast-shell[role="alert"] .admin-global-toast-close{pointer-events:auto}
.admin-processing-login-page .admin-global-toast-shell[role="alert"].admin-global-toast-visible{transform:none}
.admin-processing-login-page .admin-global-toast-shell[role="status"]{margin-right:1rem;margin-top:1rem}
.admin-global-toast-visible{opacity:1;transform:translateX(0)}
.admin-global-toast-icon{display:inline-flex;width:1.25rem;height:1.25rem;flex-shrink:0;align-items:center;justify-content:center}
.admin-global-toast-icon-success{color:#16a34a}
.admin-global-toast-icon-error{color:#dc2626}
.admin-global-toast-icon-warning{color:#ca8a04}
.admin-global-toast-icon-info{color:#2563eb}
.admin-global-toast-body{min-width:0;flex:1 1 0%;font-size:.875rem;line-height:1.25rem;color:#1f2937}
.admin-global-toast-title{font-weight:600;color:#111827}
.admin-global-toast-message{overflow-wrap:anywhere}
.admin-global-toast-close{display:inline-flex;width:44px;height:44px;margin-left:.25rem;flex-shrink:0;align-items:center;justify-content:center;color:#9ca3af;transition:color .15s ease}
.admin-global-toast-close:hover{color:#4b5563}
.admin-permission-empty{font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-permission-list-item{display:flex;align-items:flex-start;gap:.5rem;font-size:.875rem;line-height:1.25rem;color:#374151}
.admin-permission-list-icon{margin-top:.125rem;display:inline-flex;align-items:center;justify-content:center;color:#16a34a}
.admin-warning-input-border{border-color:#facc15!important}
.admin-brand-text{color:var(--color-primary-text,#d51d40)}
.admin-brand-bg{background-color:#ef2147}
.admin-min-h-70{min-height:70px}
.admin-map-min-h-400{min-height:400px}
.admin-map-min-h-340{min-height:340px}
.admin-map-min-h-300{min-height:300px}
.admin-map-min-h-280{min-height:280px}
.admin-planting-map{min-height:364px}
.admin-map-preview-empty{display:flex;align-items:center;justify-content:center;min-height:280px;border:2px dashed #e5e7eb;border-radius:.5rem;background:#f9fafb;padding:2rem;font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-map-preview-wrapper{border:1px solid #e5e7eb;border-radius:.5rem;background:#f9fafb}
.admin-map-preview-size{border-bottom:1px solid #e5e7eb;background:#fff;padding:.5rem .75rem;font-size:.75rem;line-height:1rem;color:#4b5563}
.admin-map-message{display:flex;height:100%;align-items:center;justify-content:center;border:1px solid #e5e7eb;border-radius:.5rem;background:#f3f4f6}
.admin-map-message-error{border-color:#fecaca;background:#fef2f2}
.admin-map-message-text{padding:1rem;text-align:center;font-size:.875rem;line-height:1.25rem;color:#4b5563}
.admin-map-message-error .admin-map-message-text{color:#b91c1c}
.admin-map-boundary-editor{height:62vh;min-height:460px}
.admin-map-canvas{width:100%;height:500px}
.admin-map-canvas-empty{height:500px}
.admin-map-h-220{height:220px}
.admin-map-h-240{height:240px}
.admin-map-h-500{height:500px}
.admin-map-h-620{height:620px}
.admin-map-h-680{height:680px}
.admin-map-h-62vh{height:62vh}
.admin-map-h-66dvh{height:clamp(22rem,66dvh,46rem)}
.admin-machine-drawer-bg{background:#f3e8ed}
.admin-footer-shell{border-top:1px solid #e5dfd6;background:#f7f4ed;padding-top:.375rem;padding-bottom:.375rem}
.admin-footer-microcopy{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:0 1.5rem;min-height:2.75rem;color:#626873;font-size:.8125rem;line-height:1.25rem}
.admin-footer-identity{display:flex;align-items:center;gap:.4375rem;margin:0;min-height:1.5rem;white-space:nowrap}
.admin-footer-wordmark{font-family:"Agrata Wordmark",Outfit,ui-sans-serif,system-ui,sans-serif;font-size:1.125rem;line-height:1.25;font-style:normal;font-weight:400;font-synthesis:none;font-kerning:normal;letter-spacing:-.0106383em;text-transform:none;color:#16181d}
.admin-footer-utilities{display:flex;align-items:center;justify-content:space-between;gap:1.125rem;min-width:0;width:100%}
.admin-footer-help.admin-inline-text-link{display:inline-flex;align-items:center;gap:.375rem;min-height:2.75rem;min-width:0;max-width:100%;font-weight:400;color:#454b55;text-decoration:none}
.admin-footer-help>span:first-child{display:inline-flex;flex:none}
.admin-footer-help.admin-inline-text-link:hover{color:var(--color-primary-text,#d51d40);text-decoration:underline;text-underline-offset:.2em}
.admin-footer-help:focus-visible{outline:2px solid var(--color-primary,#ef2147);outline-offset:3px;border-radius:.25rem}
.admin-footer-version{flex:none;font-size:.75rem;font-weight:400;line-height:1.125rem;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(min-width:1024px){.admin-workspace-page:has(#admin-ai-assistant) .admin-footer-utilities{padding-right:3.5rem}}
.admin-icon-muted-18{font-size:18px;color:#9ca3af}
.admin-safe-bottom{padding-bottom:max(1rem,env(safe-area-inset-bottom))}
.admin-safe-top{padding-top:max(1rem,env(safe-area-inset-top))}
.admin-line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.admin-offscreen-measure-table{position:absolute;left:-9999px;visibility:hidden;width:0;height:0}
.admin-dot-8{width:8px;height:8px}
.admin-status-dot-xs,.admin-status-dot-sm{width:8px;height:8px}
.admin-status-dot-md{width:12px;height:12px}
.admin-fa-icon-size-16{font-size:16px}
.admin-fa-icon-size-20{font-size:20px}
.admin-fa-icon-size-24{font-size:24px}
.admin-fa-icon-size-32{font-size:32px}
.admin-fa-icon-size-40{font-size:40px}
.admin-fa-icon-size-48{font-size:48px}
.admin-fa-icon-size-56{font-size:56px}
.admin-fa-icon-size-64{font-size:64px}
.admin-fa-icon-inherit{color:inherit}
.admin-progress-w-0{width:0}
.admin-progress-track{position:relative;width:100%;border-radius:9999px;background:#e5e7eb}
.admin-progress-fill{width:var(--admin-progress-width,0)}
.admin-progress-fill-base{position:absolute;left:0;display:flex;height:100%;align-items:center;justify-content:center;border-radius:9999px;font-weight:500;line-height:1.1}
.admin-progress-fill-muted{background:#d1d5db}
.admin-form-progress-label{font-size:.75rem;line-height:1rem;font-weight:500;color:#4b5563}
.admin-form-progress-value{font-size:.75rem;line-height:1rem;font-weight:600;color:var(--color-primary-text,#d51d40)}
.admin-form-progress-track{width:100%;height:.5rem;border-radius:9999px;background:#e5e7eb}
.admin-form-progress-fill{height:.5rem;width:0;border-radius:9999px;background:var(--color-brand-500,#465fff);transition:width .3s ease}
.admin-distribution-segment{width:var(--admin-segment-width,0);min-width:2px;border:0;cursor:pointer;transition:opacity .15s ease}
.admin-distribution-segment:hover{opacity:.9}
.admin-distribution-segment:focus{outline:0;box-shadow:inset 0 0 0 2px rgba(255,255,255,.7)}
.admin-distribution-segment-emerald{background:#10b981}
.admin-distribution-segment-amber{background:#f59e0b}
.admin-distribution-segment-gray{background:#9ca3af}
.admin-distribution-filter-chip{display:inline-flex;align-items:center;gap:.375rem;border-radius:9999px;padding:.25rem .625rem;font-size:.75rem;line-height:1rem;font-weight:500;cursor:pointer;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}
.admin-distribution-filter-chip:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(156,163,175,.35)}
.admin-distribution-filter-chip-emerald:hover{background:#ecfdf5;color:#047857}
.admin-distribution-filter-chip-emerald:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(16,185,129,.35)}
.admin-distribution-filter-chip-amber:hover{background:#fffbeb;color:#b45309}
.admin-distribution-filter-chip-amber:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(245,158,11,.35)}
.admin-distribution-filter-chip-gray{color:#9ca3af}
.admin-distribution-filter-chip-gray:hover{background:#f3f4f6;color:#374151}
.admin-distribution-dot{width:.5rem;height:.5rem;flex-shrink:0;border-radius:9999px}
.admin-distribution-dot-emerald{background:#10b981}
.admin-distribution-dot-amber{background:#f59e0b}
.admin-distribution-dot-gray{background:#9ca3af}
.admin-distribution-label{margin-bottom:.375rem;font-size:.75rem;line-height:1rem;font-weight:500;color:#6b7280}
.admin-distribution-hint{font-weight:400;color:#9ca3af}
.admin-heatmap-cell{position:relative;height:1rem;width:1rem;border-radius:.125rem;border:1px solid #e2e8f0}
.admin-heatmap-level-1{background-color:rgba(14,116,144,.1)}
.admin-heatmap-level-2{background-color:rgba(14,116,144,.2)}
.admin-heatmap-level-3{background-color:rgba(14,116,144,.3)}
.admin-heatmap-level-4{background-color:rgba(14,116,144,.4)}
.admin-heatmap-level-5{background-color:rgba(14,116,144,.5)}
.admin-heatmap-level-6{background-color:rgba(14,116,144,.6)}
.admin-heatmap-level-7{background-color:rgba(14,116,144,.7)}
.admin-heatmap-level-8{background-color:rgba(14,116,144,.8)}
.admin-heatmap-level-9{background-color:rgba(14,116,144,.9)}
.admin-heatmap-level-10{background-color:rgba(14,116,144,1)}
.admin-company-pill{font-size:12px;line-height:1.2;padding:7px 6px}
.admin-company-pill-owned{background-color:#ecfdf5;border-color:#a7f3d0;color:#047857}
.admin-company-pill-swap-out{background-color:#f5f3ff;border-color:#ddd6fe;color:#6d28d9}
.admin-company-pill-swap-in{background-color:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}
.admin-company-pill-leased{background-color:#fefce8;border-color:#fde68a;color:#a16207}
.admin-land-tenure-tag{display:inline-flex;align-items:center;gap:6px;max-width:100%;white-space:normal;border-width:1px;border-style:solid;border-radius:9999px;font-weight:600}
.admin-land-tenure-tag>span{flex:none}
.admin-land-tenure-partial{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}
.admin-land-tenure-unrecorded{background:#f3f4f6;border-color:#d1d5db;color:#4b5563}
.dark .admin-land-tenure-tag.admin-company-pill-owned{background:#123b2d;border-color:#27674c;color:#a7f3d0}
.dark .admin-land-tenure-tag.admin-company-pill-leased{background:#3b3015;border-color:#735d26;color:#fde68a}
.dark .admin-land-tenure-partial{background:#1e3250;border-color:#3d6090;color:#bfdbfe}
.dark .admin-land-tenure-unrecorded{background:#303640;border-color:#56606d;color:#e5e7eb}
.admin-company-pill-0{background-color:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}
.admin-company-pill-1{background-color:#ecfeff;border-color:#a5f3fc;color:#0e7490}
.admin-company-pill-2{background-color:#ecfdf5;border-color:#a7f3d0;color:#047857}
.admin-company-pill-3{background-color:#f0fdf4;border-color:#bbf7d0;color:#166534}
.admin-company-pill-4{background-color:#fffbeb;border-color:#fde68a;color:#a16207}
.admin-company-pill-5{background-color:#fff7ed;border-color:#fdba74;color:#c2410c}
.admin-company-pill-6{background-color:#fef2f2;border-color:#fecaca;color:#b91c1c}
.admin-company-pill-7{background-color:#fdf2f8;border-color:#fbcfe8;color:#be185d}
.admin-company-pill-8{background-color:#faf5ff;border-color:#e9d5ff;color:#7e22ce}
.admin-company-pill-9{background-color:#eef2ff;border-color:#c7d2fe;color:#4338ca}
.admin-radio-inner-circle{position:absolute;top:50%;left:50%;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%) scale(0);opacity:0!important;background-color:#fff!important}
.admin-radio-inner-circle-selected{transform:translate(-50%,-50%) scale(1)!important;opacity:1!important;background-color:#16a34a!important}
.admin-flex-field{flex:1 1 220px;min-width:220px}
.admin-flex-field-full{flex:1 1 100%;min-width:220px}
.admin-flex-row-wrap{display:flex;gap:1rem;align-items:flex-start;flex-wrap:wrap}
.admin-flex-fill{flex:1 1 0%;min-width:0}
.admin-form-grid-sm-2,.admin-form-grid-sm-3,.admin-land-primary-grid,.admin-land-identifier-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1rem}
.admin-land-primary-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr))}
.admin-land-identifier-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr))}
.admin-land-identifier-grid>:last-child{grid-column:1/-1}
.admin-land-create-boundary-layout{display:grid;gap:1rem}
.admin-land-create-boundary-actions{display:grid;width:100%;grid-template-columns:minmax(0,1fr);gap:.5rem}
.admin-land-create-boundary-actions>*{width:100%;min-height:2.75rem;justify-content:center}
.admin-tab-panel-pad{padding:1rem}
.admin-tab-header-bar{border-bottom:1px solid #e5e7eb}
.admin-responsive-split-row{display:flex;flex-direction:column}
.admin-responsive-split-row-gap-3{gap:.75rem}
.admin-responsive-split-row-gap-4{gap:1rem}
.admin-dropdown-caret{margin-left:.5rem;display:inline-flex;align-items:center;justify-content:center;color:#9ca3af;transition:transform .15s ease}
.admin-input-affix{pointer-events:none;position:absolute;top:0;right:0;bottom:0;display:flex;align-items:center;padding-right:1rem}
.admin-input-affix-separator{margin-right:.75rem;width:1px;height:1.5rem;background:#d1d5db}
.admin-input-affix-text{font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-input-affix-text-padded{padding-right:1rem}
.admin-micro-meta-inline{margin-top:.25rem;display:inline-flex;align-items:center;gap:.25rem;font-size:10px;color:#6b7280}
.admin-micro-kicker{margin-bottom:.25rem;font-size:10px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:#6b7280}
.admin-micro-kicker-spaced{margin-bottom:.5rem}
.admin-filter-row{display:flex;flex-wrap:nowrap;align-items:flex-end;gap:.75rem;overflow-x:auto;-webkit-overflow-scrolling:touch}
.admin-filter-label{margin-bottom:.25rem;display:block;font-size:.75rem;line-height:1rem;font-weight:500;color:#374151}
.admin-filter-select{width:100%;height:2.75rem;border:1px solid #d1d5db;border-radius:.5rem;background:#fff;padding:.625rem 1rem;font-size:.875rem;line-height:1.25rem;color:#1f2937;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05))}
.admin-filter-select:focus{border-color:var(--color-brand-300,#9cb9ff);outline:0;box-shadow:0 0 0 3px rgba(70,95,255,.1)}
.admin-filter-actions{display:flex;gap:.5rem;white-space:nowrap}
.admin-select-min-w-224{min-width:14rem}
.admin-select-max-w-200{max-width:200px}
.admin-filter-min-w-200{min-width:200px}
.admin-filter-min-w-220{min-width:220px}
.admin-filter-min-w-260{min-width:260px}
.admin-filter-chip{display:inline-flex;min-height:2.75rem;align-items:center;justify-content:center;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;padding:.5rem .75rem;font-size:.75rem;line-height:1rem;font-weight:600;color:#374151;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.admin-filter-chip:hover{background:#f9fafb}
.admin-filter-chip-active{border-color:var(--color-primary,#4661ff);background:rgba(70,97,255,.1);color:var(--color-primary-text,#d51d40)}
.admin-summary-strip{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;border:1px solid #e2e8f0;border-radius:.5rem;background:#f8fafc;padding:.5rem .75rem;font-size:.75rem;line-height:1rem;color:#334155}
.admin-info-panel{border:1px solid #e5e7eb;border-radius:.5rem;background:#f9fafb;padding:1rem}
.admin-info-panel-lg{border-radius:.75rem}
.admin-info-panel-blue{border-color:#dbeafe;background:#eff6ff;color:#1e3a8a}
.admin-widget-card{border:1px solid #e5e7eb;border-radius:.75rem;background:#fff;padding:1.5rem;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05))}
.admin-widget-card-plain{border:0;box-shadow:none}
.admin-info-widget-row{display:flex;flex-wrap:wrap;align-items:stretch;gap:.75rem;margin-bottom:1.5rem}
.admin-widget-card-slim{display:flex;flex:1 1 12rem;max-width:20rem;min-width:0;padding:.75rem 1rem}
.admin-widget-card-slim .admin-info-widget-body{display:flex;align-items:flex-start;gap:.75rem;width:100%}
.admin-widget-card-slim .admin-info-widget-label{margin-bottom:.25rem}
.admin-widget-card-slim .admin-info-widget-value{font-size:1rem;line-height:1.5rem}
.admin-widget-card-slim .admin-info-widget-subtitle{margin-top:.125rem;font-size:.75rem;line-height:1rem}
.admin-harvest-top-metrics .admin-widget-card-slim{max-width:none}
.admin-harvest-log-body{padding-bottom:.25rem}
.admin-harvest-log-type-filter{width:100%;max-width:20rem}
.admin-harvest-entry-form-card{scroll-margin-top:5.5rem}
.admin-harvest-container-settings{gap:1rem}
.admin-harvest-container-settings-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem 1.25rem}
.admin-harvest-container-settings-section{display:flex;flex-direction:column;gap:.75rem;border:1px solid #e5e7eb;border-radius:.75rem;background:#fff;padding:1rem}
.admin-harvest-container-settings-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.admin-harvest-container-band-range,.admin-harvest-warehouse-range{display:grid;grid-template-columns:minmax(7rem,.7fr) minmax(7rem,.7fr) minmax(12rem,1.2fr) auto;align-items:end;gap:.75rem;border:1px solid #e5e7eb;border-radius:.625rem;background:#f9fafb;padding:.75rem}
.admin-harvest-container-band-range .admin-bulk-inline-field,.admin-harvest-warehouse-range .admin-bulk-inline-field{display:flex;min-width:0;flex-direction:column;align-items:stretch;gap:.375rem}
.admin-harvest-container-band-range .admin-bulk-number-input,.admin-harvest-warehouse-range .admin-bulk-number-input{width:100%;border-radius:.625rem;background:#fff;padding:.625rem .75rem}
.admin-harvest-container-band-choice{min-width:0}
.admin-harvest-container-band-range .admin-bulk-remove-button,.admin-harvest-warehouse-range .admin-bulk-remove-button{justify-content:center;padding:0 .5rem}
.admin-harvest-container-band-range-invalid,.admin-harvest-warehouse-range-invalid{border-color:#fca5a5;background:#fff7f7}
.admin-harvest-container-band-range-error,.admin-harvest-warehouse-range-error{grid-column:1/-1;margin-top:0}
.admin-harvest-container-band-ranges-status,.admin-harvest-warehouse-ranges-status{margin:0;border-radius:.5rem;padding:.625rem .75rem;font-size:.8125rem;line-height:1.25rem;font-weight:500}
.admin-harvest-container-band-ranges-status-valid,.admin-harvest-warehouse-ranges-status-valid{border:1px solid #bbf7d0;background:#f0fdf4;color:#15803d}
.admin-harvest-container-band-ranges-status-invalid,.admin-harvest-warehouse-ranges-status-invalid{border:1px solid #fecaca;background:#fef2f2;color:#b91c1c}
@media (max-width:640px){.admin-widget-card-slim{max-width:none;flex:1 1 100%}}
@media (max-width:640px){.admin-harvest-container-settings-summary{grid-template-columns:1fr}.admin-harvest-container-settings-heading{align-items:stretch;flex-direction:column}.admin-harvest-container-band-range,.admin-harvest-warehouse-range{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-harvest-container-band-choice,.admin-harvest-warehouse-range .admin-bulk-warehouse-field{grid-column:1/-1}.admin-harvest-container-band-range .admin-bulk-remove-button,.admin-harvest-warehouse-range .admin-bulk-remove-button{grid-column:1/-1;width:100%}}
.admin-widget-item{display:flex;align-items:center;border:1px solid #e5e7eb;background:#fff;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05))}
.admin-widget-item-compact{gap:.75rem;border-radius:.75rem;padding:.75rem}
.admin-widget-item-roomy{gap:1.25rem;border-radius:1rem;padding:1rem}
.admin-info-widget-label{margin-bottom:.5rem;font-size:.75rem;line-height:1rem;font-weight:500;color:#6b7280}
.admin-info-widget-value{font-size:1.125rem;line-height:1.75rem;font-weight:600;color:#111827}
.admin-info-widget-subtitle{margin-top:.25rem;font-size:.875rem;line-height:1.25rem;color:#4b5563}
.admin-info-widget-footer{margin-top:.5rem;font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-widget-section-title{margin-bottom:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#4b5563}
.admin-form-control{display:block;width:100%;min-height:2.75rem;border:1px solid #d1d5db;border-radius:.5rem;padding:.625rem 1rem;font-size:.875rem;line-height:1.25rem;color:#111827;background:#fff}
.admin-form-control:focus{border-color:var(--color-primary,#4661ff);outline:0;box-shadow:0 0 0 1px var(--color-primary,#4661ff)}
.admin-form-control-brand:focus{border-color:var(--color-brand-500,#465fff);box-shadow:0 0 0 1px var(--color-brand-500,#465fff)}
.admin-form-control-invalid:invalid,.admin-form-control-invalid[aria-invalid="true"],.admin-input-invalid,[aria-invalid="true"]{border-color:#fca5a5}
.admin-form-control-invalid:invalid:focus,.admin-form-control-invalid[aria-invalid="true"]:focus,.admin-input-invalid:focus,[aria-invalid="true"]:focus{box-shadow:0 0 0 1px #ef4444}
.admin-base-dropdown-trigger[aria-invalid="true"]{border-color:#fca5a5}
.admin-form-control-disabled{background:#f3f4f6}
.admin-input-number-no-spinner{-moz-appearance:textfield}
.admin-input-number-no-spinner::-webkit-outer-spin-button,.admin-input-number-no-spinner::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.admin-choice-card{position:relative;display:flex;align-items:center;border:2px solid #e5e7eb;border-radius:.5rem;padding:1rem;cursor:pointer;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease,opacity .2s ease}
.admin-choice-card:hover{border-color:rgba(70,97,255,.5)}
.admin-choice-card:has(input:focus-visible){outline:2px solid #ef2147;outline-offset:3px;opacity:1}
.admin-choice-card-selected{opacity:1;border-color:#16a34a;background:#f0fdf4;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05))}
.admin-choice-card-muted{opacity:.6}
.admin-radio-indicator{position:relative;display:flex;width:1.25rem;height:1.25rem;align-items:center;justify-content:center;flex-shrink:0;border:2px solid;border-radius:9999px;transition:all .2s ease}
.admin-radio-indicator-selected{border-color:#16a34a;background:#16a34a}
.admin-radio-indicator-muted{border-color:#d1d5db;background:#fff}
.admin-file-attachments-panel{position:relative;margin-top:1.5rem;border:1px solid #e5e7eb;border-radius:.75rem;background:#f9fafb;padding:.75rem}
.admin-file-attachments-header{margin-bottom:1.25rem;display:flex;align-items:center;gap:.75rem}
.admin-file-attachments-divider{display:block;width:1px;height:1rem;background:#e5e7eb}
.admin-file-attachments-upload-label{cursor:pointer;font-size:.875rem;line-height:1.25rem;font-weight:500;color:var(--color-primary-text,#d51d40)}
.admin-file-attachments-upload-label:hover{color:var(--color-brand-600,#3641f5)}
.admin-file-attachments-list{display:flex;flex-direction:column;align-items:center;gap:.75rem}
.admin-file-remove-button{position:absolute;right:-.5rem;top:-.5rem;display:flex;width:1.25rem;height:1.25rem;align-items:center;justify-content:center;border:1px solid #e5e7eb;border-radius:9999px;background:#fff;color:#9ca3af;opacity:0;cursor:pointer;transition:opacity .15s ease,color .15s ease}
.admin-file-row:hover .admin-file-remove-button{opacity:1}
.admin-file-meta-row{display:flex;align-items:center;gap:.375rem}
.admin-file-meta-row-wrap{flex-wrap:wrap;margin-top:.25rem}
.admin-file-meta-dot{display:inline-block;width:.25rem;height:.25rem;border-radius:9999px;background:#9ca3af}
.admin-file-add-tile{display:flex;width:100%;height:60px;cursor:pointer;align-items:center;justify-content:center;border:1px solid #e5e7eb;border-radius:.75rem;background:#fff;color:#374151}
.admin-readonly-control{display:flex;width:100%;align-items:center;gap:.5rem;border:1px solid #d1d5db;border-radius:.5rem;background:#f9fafb;padding:.625rem 1rem;font-size:.875rem;line-height:1.25rem;color:#6b7280;cursor:not-allowed}
.admin-readonly-control-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;color:#111827}
.admin-stock-entry-card{display:grid;grid-template-columns:1fr auto auto auto;align-items:center;gap:1rem;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;padding:.5rem .75rem}
.admin-scroll-panel{overflow-y:auto;border:1px solid #e5e7eb;border-radius:.5rem;background:#f9fafb;padding:.75rem}
.admin-input-control{display:block;height:3rem;width:100%;border:1px solid #d1d5db;border-radius:.625rem;background:transparent;padding:.75rem 1rem;font-size:.9rem;line-height:1.35rem;color:#1f2937;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05))}
.admin-input-control::placeholder{color:#9ca3af}
.admin-input-control:focus{border-color:var(--color-brand-300,#9cb9ff);outline:0;box-shadow:0 0 0 3px rgba(70,95,255,.1)}
.admin-input-control-primary:focus{border-color:var(--color-primary-300,#9cb9ff);box-shadow:0 0 0 3px rgba(70,97,255,.1)}
.admin-input-control-date{appearance:none;padding-left:1rem;padding-right:2.75rem}
.admin-input-control-search{padding-left:2.75rem;padding-right:1rem}
.admin-input-control-affix{padding-right:4rem}
.admin-input-control-flag{padding-right:2.5rem}
.admin-textarea-control{display:block;min-height:7rem;width:100%;border:1px solid #d1d5db;border-radius:.625rem;background:transparent;padding:.75rem 1rem;font-size:.9rem;line-height:1.45rem;color:#1f2937}
.admin-textarea-control::placeholder{color:#9ca3af}
.admin-textarea-control:focus{border-color:var(--color-brand-500,#465fff);outline:0;box-shadow:0 0 0 3px rgba(70,95,255,.1)}
.admin-input-invalid:invalid,.admin-input-invalid[aria-invalid="true"]{border-color:#fca5a5}
.admin-input-invalid:invalid:focus,.admin-input-invalid[aria-invalid="true"]:focus{box-shadow:0 0 0 3px rgba(239,68,68,.14)}
.dark .admin-input-control{border-color:#374151;background:#111827;color:rgba(255,255,255,.9)}
.dark .admin-input-control::placeholder{color:rgba(255,255,255,.3)}
.dark .admin-input-control:focus{border-color:var(--color-brand-800,#252d7a)}
.dark .admin-input-control-primary:focus{border-color:var(--color-primary-800,#252d7a)}
.admin-package-size-control{height:2.5rem;padding:.5rem .75rem}
.admin-secondary-button{display:inline-flex;min-height:2.75rem;align-items:center;justify-content:center;gap:.5rem;border:1px solid #d1d5db;border-radius:.5rem;background:#fff;padding:.625rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#374151;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05));transition:background-color .15s ease,color .15s ease,border-color .15s ease}
.admin-secondary-button:hover{background:#f9fafb}
.admin-secondary-button:disabled,.admin-cancel-button:disabled,.admin-outline-action-button:disabled{cursor:not-allowed;opacity:.45;filter:grayscale(.35);box-shadow:none}
.admin-secondary-button:disabled:hover,.admin-cancel-button:disabled:hover,.admin-outline-action-button:disabled:hover{background:#fffdf9;color:#78716c;border-color:#ded9d1}
.admin-secondary-button-compact{padding:.5rem 1rem;font-weight:500}
.admin-action-button{display:inline-flex;min-height:2.75rem;align-items:center;justify-content:center;gap:.5rem;border-radius:.5rem;font-weight:600;color:#fff;transition:background-color .15s ease,color .15s ease,border-color .15s ease,opacity .15s ease}
.admin-action-button:focus{outline:0;box-shadow:0 0 0 2px rgba(70,95,255,.18),0 0 0 4px rgba(255,255,255,.9)}
.admin-action-button:disabled,.admin-action-button-disabled{cursor:not-allowed;opacity:.5}
.admin-workspace-page .admin-action-button[aria-busy="true"],
.admin-workspace-page .admin-action-text-link[aria-busy="true"],
.admin-workspace-page .admin-inline-text-link[aria-busy="true"],
.admin-workspace-page .admin-icon-action-blue[aria-busy="true"],
.admin-workspace-page .admin-cancel-button[aria-busy="true"],
.admin-workspace-page .admin-primary-submit-button[aria-busy="true"],
.admin-workspace-page .admin-import-action-button[aria-busy="true"],
.admin-workspace-page .admin-secondary-button[aria-busy="true"],
.admin-workspace-page .admin-outline-action-button[aria-busy="true"],
.admin-workspace-page button[type="submit"]:not(.admin-header-signout-button)[aria-busy="true"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  cursor:wait;
  pointer-events:none;
  opacity:1;
  transform:none
}
.admin-workspace-page .admin-action-button[aria-busy="true"]::before,
.admin-workspace-page .admin-action-text-link[aria-busy="true"]::before,
.admin-workspace-page .admin-inline-text-link[aria-busy="true"]::before,
.admin-workspace-page .admin-icon-action-blue[aria-busy="true"]::before,
.admin-workspace-page .admin-cancel-button[aria-busy="true"]::before,
.admin-workspace-page .admin-primary-submit-button[aria-busy="true"]::before,
.admin-workspace-page .admin-import-action-button[aria-busy="true"]::before,
.admin-workspace-page .admin-secondary-button[aria-busy="true"]::before,
.admin-workspace-page .admin-outline-action-button[aria-busy="true"]::before,
.admin-workspace-page button[type="submit"]:not(.admin-header-signout-button)[aria-busy="true"]::before{
  content:"";
  box-sizing:border-box;
  width:1rem;
  height:1rem;
  flex:0 0 1rem;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:admin-table-page-spin .8s linear infinite
}
.admin-workspace-page .admin-action-button[aria-busy="true"]>svg:first-of-type,
.admin-workspace-page .admin-action-text-link[aria-busy="true"]>svg:first-of-type,
.admin-workspace-page .admin-inline-text-link[aria-busy="true"]>svg:first-of-type,
.admin-workspace-page .admin-icon-action-blue[aria-busy="true"]>svg:first-of-type,
.admin-workspace-page .admin-action-button[aria-busy="true"]>i:first-of-type,
.admin-workspace-page .admin-action-text-link[aria-busy="true"]>i:first-of-type,
.admin-workspace-page .admin-inline-text-link[aria-busy="true"]>i:first-of-type,
.admin-workspace-page .admin-icon-action-blue[aria-busy="true"]>i:first-of-type,
.admin-workspace-page .admin-cancel-button[aria-busy="true"]>svg:first-of-type,
.admin-workspace-page .admin-cancel-button[aria-busy="true"]>i:first-of-type,
.admin-workspace-page .admin-primary-submit-button[aria-busy="true"]>svg:first-of-type,
.admin-workspace-page .admin-primary-submit-button[aria-busy="true"]>i:first-of-type,
.admin-workspace-page button[type="submit"]:not(.admin-header-signout-button)[aria-busy="true"]>svg:first-of-type,
.admin-workspace-page button[type="submit"]:not(.admin-header-signout-button)[aria-busy="true"]>i:first-of-type{display:none}
@media (prefers-reduced-motion:reduce){
  .admin-workspace-page .admin-action-button[aria-busy="true"]::before,
  .admin-workspace-page .admin-action-text-link[aria-busy="true"]::before,
  .admin-workspace-page .admin-inline-text-link[aria-busy="true"]::before,
  .admin-workspace-page .admin-icon-action-blue[aria-busy="true"]::before,
  .admin-workspace-page .admin-cancel-button[aria-busy="true"]::before,
  .admin-workspace-page .admin-primary-submit-button[aria-busy="true"]::before,
  .admin-workspace-page .admin-import-action-button[aria-busy="true"]::before,
  .admin-workspace-page .admin-secondary-button[aria-busy="true"]::before,
  .admin-workspace-page .admin-outline-action-button[aria-busy="true"]::before,
  .admin-workspace-page button[type="submit"]:not(.admin-header-signout-button)[aria-busy="true"]::before{animation:none;border-style:dotted}
}
.admin-action-button-sm{padding:.5rem .75rem;font-size:.75rem;line-height:1rem}
.admin-action-button-sm-tight{padding:.375rem .75rem;font-size:.75rem;line-height:1rem}
.admin-action-button-md{padding:.625rem 1rem;font-size:.875rem;line-height:1.25rem}
.admin-action-button-md-wide{padding:.625rem 1.5rem;font-size:.875rem;line-height:1.25rem}
.admin-action-button-lg{padding:.75rem 1.5rem;font-size:1rem;line-height:1.5rem}
.admin-action-button-center{justify-content:center}
.admin-action-button-full{width:100%;justify-content:center}
.admin-action-button-shadow{box-shadow:var(--shadow-theme-sm,0 1px 3px 0 rgba(16,24,40,.1),0 1px 2px 0 rgba(16,24,40,.06))}
.admin-action-button-green{background:#16a34a}
.admin-action-button-green:hover{background:#15803d}
.admin-action-button-blue{background:#2563eb}
.admin-action-button-blue:hover{background:#1d4ed8}
.admin-action-button-primary{background:var(--color-primary-action,#d51d40)}
.admin-action-button-primary:hover{background:var(--color-brand-600,#3641f5)}
.admin-action-button-red{background:#dc2626}
.admin-action-button-red:hover{background:#b91c1c}
.admin-action-button-dark{background:#111827}
.admin-action-button-dark:hover{background:#030712}
.admin-action-button-ai{border:1px solid #c4b5fd;background:#f5f3ff;color:#4c1d95;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05))}
.admin-action-button-ai:hover{background:#ede9fe;color:#3b0764}
.admin-remove-image-button{margin-top:.5rem;color:#dc2626;transition:color .15s ease}
.admin-remove-image-button:hover{color:#991b1b}
.admin-remove-image-button-xs{font-size:.75rem;line-height:1rem}
.admin-remove-image-button-sm{font-size:.875rem;line-height:1.25rem}
.admin-muted-icon-button{color:#9ca3af;transition:color .15s ease}
.admin-muted-icon-button:hover{color:#4b5563}
.admin-muted-icon-button-soft{color:#9ca3af;transition:color .15s ease}
.admin-muted-icon-button-soft:hover{color:#6b7280}
.admin-copy-button{border-radius:.25rem;background:#16a34a;font-weight:600;color:#fff;transition:background-color .15s ease}
.admin-copy-button:hover{background:#15803d}
.admin-copy-button-sm{padding:.5rem .75rem;font-size:.75rem;line-height:1rem}
.admin-copy-button-md{padding:.625rem 1rem;font-size:.875rem;line-height:1.25rem}
.admin-copy-button-lg{padding:.75rem 1.5rem;font-size:1rem;line-height:1.5rem}
.admin-toggle-icon-button{color:#9ca3af;transition:color .15s ease}
.admin-toggle-icon-button:hover{color:#4b5563}
.admin-view-image-button{overflow:hidden;border:2px solid #fff;border-radius:9999px;box-shadow:var(--shadow-theme-sm,0 1px 3px 0 rgba(16,24,40,.1),0 1px 2px 0 rgba(16,24,40,.06));cursor:pointer;transition:border-color .15s ease}
.admin-view-image-button:hover{border-color:var(--color-primary,#4661ff)}
.admin-view-image-button-sm{width:2rem;height:2rem}
.admin-view-image-button-md{width:2.5rem;height:2.5rem}
.admin-view-image-button-lg{width:3rem;height:3rem}
.admin-view-image-gallery-button{position:relative;overflow:visible}
.admin-view-image-gallery-button .admin-view-image-img{border-radius:inherit}
.admin-view-image-count{position:absolute;top:-.35rem;right:-.4rem;display:flex;align-items:center;justify-content:center;min-width:1.4rem;height:1.4rem;padding:0 .25rem;border:2px solid #fff;border-radius:999px;background:#344054;color:#fff;font-size:.7rem;font-weight:700;line-height:1;pointer-events:none}
.admin-view-image-img{width:100%;height:100%;object-fit:cover}
.admin-cancel-button{display:inline-flex;justify-content:center;border:1px solid #d1d5db;border-radius:.5rem;background:#fff;font-weight:600;color:#374151;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05));transition:background-color .15s ease,color .15s ease,border-color .15s ease}
.admin-cancel-button:hover{background:#f9fafb}
.hidden.admin-secondary-button,.hidden.admin-import-action-button,.hidden.admin-assist-action-button{display:none!important}
.admin-primary-submit-button{display:inline-flex;width:100%;min-height:2.75rem;align-items:center;justify-content:center;gap:.5rem;border-radius:.5rem;background:var(--color-primary-action,#d51d40);padding:.625rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#fff}
.admin-primary-submit-button:hover{background:var(--color-brand-600,#3641f5)}
.admin-primary-submit-button:focus{outline:0;box-shadow:0 0 0 3px rgba(70,95,255,.1)}
.admin-form-action-button{width:100%}
@media (min-width:640px){.admin-form-action-button{width:auto}}
.admin-modal-primary-action{display:inline-flex;width:100%;justify-content:center;border-radius:.5rem;background:var(--color-primary-action,#d51d40);padding:.625rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#fff}
.admin-modal-primary-action:hover{background:var(--color-brand-600,#3641f5)}
.hidden.admin-modal-primary-action{display:none!important}
@media (min-width:640px){.admin-modal-primary-action{width:auto}}
.admin-modal-secondary-action{display:inline-flex;width:100%;align-items:center;justify-content:center;border:1px solid #d1d5db;border-radius:.5rem;background:#fff;padding:.625rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#374151;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05));transition:background-color .15s ease,color .15s ease,border-color .15s ease}
.admin-modal-secondary-action:hover{background:#f9fafb}
@media (min-width:640px){.admin-modal-secondary-action{width:auto}}
.admin-form-action-pad{width:100%;padding-left:.625rem;padding-right:.625rem}
.admin-form-action-row{margin-top:.25rem;display:flex;flex-direction:column;gap:.5rem}
.admin-form-action-row .admin-import-action-button,
.admin-form-action-row .admin-secondary-button,
.admin-form-action-row .admin-primary-submit-button{width:100%}
.admin-inline-action-wrap{width:100%}
.admin-inline-action-wrap>button,
.admin-inline-action-wrap>a{display:flex;width:100%;justify-content:center}
@media (min-width:640px){
  .admin-form-action-row{flex-direction:row;align-items:center;gap:.75rem}
  .admin-form-action-row .admin-import-action-button,
  .admin-form-action-row .admin-secondary-button,
  .admin-form-action-row .admin-primary-submit-button{width:auto}
  .admin-inline-action-wrap{width:auto}
  .admin-inline-action-wrap>button,
  .admin-inline-action-wrap>a{display:inline-flex;width:auto}
}
.admin-success-submit-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:.5rem;background:#15803d;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#fff;transition:background-color .15s ease,opacity .15s ease}
.admin-success-submit-button:hover{background:#166534}
.admin-success-submit-button:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px #15803d}
.admin-success-submit-button:disabled{cursor:not-allowed;opacity:.5}
.admin-blue-value-badge{display:inline-flex;align-items:center;gap:.375rem;border:1px solid #bfdbfe;border-radius:9999px;background:#eff6ff;padding:.25rem .625rem;font-size:.75rem;line-height:1rem;font-weight:500;color:#1d4ed8}
.admin-map-layer-button{display:inline-flex;min-height:2.75rem;align-items:center;border-radius:.375rem;padding:.375rem .75rem;color:#374151;transition:background-color .15s ease,color .15s ease}
.admin-map-layer-button:hover{background:#f9fafb}
.admin-map-legend-label{font-weight:600;color:#374151}
.admin-map-action-button{display:inline-flex;align-items:center;gap:.375rem;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;padding:.5rem .625rem;font-size:.75rem;line-height:1rem;font-weight:600;color:#1f2937;box-shadow:0 4px 6px -1px rgba(16,24,40,.1),0 2px 4px -2px rgba(16,24,40,.1);transition:background-color .15s ease}
.admin-map-action-button:hover{background:#f9fafb}
.admin-map-pill-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid;border-radius:.5rem;padding:.5rem .75rem;font-size:.75rem;line-height:1rem;font-weight:600;color:#fff;box-shadow:var(--shadow-theme-sm,0 1px 3px 0 rgba(16,24,40,.1),0 1px 2px 0 rgba(16,24,40,.06));transition:background-color .15s ease,box-shadow .15s ease}
.admin-map-pill-link:focus{outline:0;box-shadow:0 0 0 2px rgba(70,95,255,.2),0 0 0 4px rgba(255,255,255,.9)}
.admin-map-square-link{display:inline-flex;width:2.75rem;min-width:2.75rem;height:2.75rem;align-items:center;justify-content:center;border:1px solid;border-radius:.5rem;color:#fff;box-shadow:var(--shadow-theme-sm,0 1px 3px 0 rgba(16,24,40,.1),0 1px 2px 0 rgba(16,24,40,.06));transition:background-color .15s ease,box-shadow .15s ease}
.admin-map-square-link:focus{outline:0;box-shadow:0 0 0 2px rgba(70,95,255,.2),0 0 0 4px rgba(255,255,255,.9)}
.admin-map-link-blue{border-color:#1d4ed8;background:#2563eb}
.admin-map-link-blue:hover{background:#1d4ed8}
.admin-map-link-green{border-color:#15803d;background:#16a34a}
.admin-map-link-green:hover{background:#15803d}
.admin-period-map-card{border:1px solid #e5e7eb;border-radius:.75rem;background:#fff;padding:.75rem 1rem;text-align:left;box-shadow:0 1px 2px rgba(16,24,40,.06);transition:background-color .15s ease,border-color .15s ease}
.admin-period-map-card-green:hover{border-color:#86efac;background:#f0fdf4}
.admin-period-map-card-blue:hover{border-color:#93c5fd;background:#eff6ff}
.admin-period-map-card-emerald:hover{border-color:#6ee7b7;background:#ecfdf5}
.admin-dashboard-icon-tile{display:inline-flex;width:2.5rem;height:2.5rem;align-items:center;justify-content:center;border-radius:.75rem;background:#eef2ff;color:var(--color-primary-text,#d51d40)}
.admin-dashboard-kpi-icon{display:inline-flex;width:2.5rem;height:2.5rem;align-items:center;justify-content:center;border-radius:.75rem}
.admin-dashboard-micro-badge{display:inline-flex;align-items:center;border-radius:9999px;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500}
.admin-dashboard-micro-badge-xs{font-size:10px;line-height:1rem}
.admin-dashboard-micro-badge-xs-pill{display:inline-flex;align-items:center;border-radius:9999px;padding:.125rem .5rem;font-size:10px;line-height:1rem;font-weight:500}
.admin-dashboard-tone-brand,.admin-dashboard-badge-brand{background:#eef2ff;color:var(--color-primary-text,#d51d40)}
.admin-dashboard-tone-green,.admin-dashboard-badge-green{background:#ecfdf5;color:#16a34a}
.admin-dashboard-tone-red,.admin-dashboard-badge-red{background:#fef2f2;color:#dc2626}
.admin-dashboard-tone-gray,.admin-dashboard-badge-gray{background:#f9fafb;color:#374151}
/* Compact status rows: one surface, neutral readings, explicit exceptions. */
.admin-dashboard-cooling-section{container:dashboard-cooling / inline-size}
.admin-dashboard-cooling-section .admin-dashboard-cooling-grid{display:grid;grid-template-columns:minmax(8rem,1fr) minmax(4.6rem,auto) minmax(0,8.5rem) auto;column-gap:.75rem;padding:0}
.admin-dashboard-cooling-tile{display:grid;grid-column:1 / -1;grid-template-columns:subgrid;row-gap:.35rem;align-items:center;min-width:0;border-bottom:1px solid var(--color-gray-200,#e5e7eb);padding:.72rem 1rem}
.admin-dashboard-cooling-tile:last-child{border-bottom:0}
.admin-dashboard-cooling-tile.is-alarm{background:linear-gradient(90deg,transparent 58%,#fff7f5)}
.admin-dashboard-cooling-identity{display:flex;grid-column:1;grid-row:1;min-width:0;flex-direction:column;gap:.12rem}
.admin-dashboard-cooling-section .admin-dashboard-cooling-link{display:inline-flex;min-width:0;min-height:2.75rem;align-items:center;justify-content:flex-start;font-size:.875rem;font-weight:650;text-align:left;color:var(--color-gray-900,#111827);overflow-wrap:anywhere}
.admin-dashboard-cooling-section .admin-dashboard-cooling-link:hover{color:#ad2f12}
.admin-dashboard-cooling-reading{display:flex;grid-column:2;grid-row:1;min-width:4.6rem;align-items:baseline;justify-content:flex-end;gap:.2rem;margin:0;color:var(--color-gray-900,#111827);font-variant-numeric:tabular-nums;white-space:nowrap}
.admin-dashboard-cooling-temperature{font-size:1.375rem;line-height:1.2;letter-spacing:-.025em}
.admin-dashboard-cooling-reading>span{font-size:.8125rem;color:var(--color-gray-500,#667085)}
.admin-dashboard-cooling-reading>.admin-dashboard-cooling-missing{max-width:6.5rem;font-size:.75rem;font-weight:500;line-height:1.25;text-align:right;white-space:normal}
.admin-dashboard-cooling-values{display:flex;min-width:0;flex-wrap:wrap;gap:.12rem .65rem;margin:0;font-size:.72rem;line-height:1.35}
.admin-dashboard-cooling-values>div{display:flex;gap:.25rem;white-space:nowrap}
.admin-dashboard-cooling-values dt{color:var(--color-gray-500,#667085)}
.admin-dashboard-cooling-values dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}
.admin-dashboard-cooling-state{display:flex;grid-column:4;grid-row:1;min-width:0;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.35rem .65rem;text-align:right}
.admin-dashboard-cooling-activity-row{display:flex;flex:none;align-items:center;justify-content:flex-end;gap:.5rem;margin:0}
.admin-dashboard-cooling-activity-label{color:var(--color-gray-500,#667085);font-size:.75rem;font-weight:600}
.admin-dashboard-cooling-trend{display:flex;grid-column:3;grid-row:1;min-width:0;flex-direction:column;align-items:flex-end;gap:.15rem;color:var(--color-gray-600,#475467);text-align:right}
.admin-dashboard-cooling-sparkline{display:block;width:7rem;max-width:100%;line-height:0}
.admin-dashboard-cooling-sparkline svg{display:block;width:100%;height:1.75rem;overflow:visible}
.admin-dashboard-cooling-sparkline polyline{stroke:currentColor;stroke-width:1.75;stroke-linejoin:round;stroke-linecap:round}
.admin-dashboard-cooling-trend-caption{font-size:.65rem;line-height:1.3;overflow-wrap:anywhere}
.admin-dashboard-cooling-alarm{display:inline-flex;flex:none;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;margin:0;color:#b42318}
.admin-dashboard-cooling-alarm>span{display:inline-flex}
.admin-dashboard-cooling-footer{display:flex;min-width:0;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.25rem .5rem;margin:0}
.admin-dashboard-cooling-footer:not(:has(p:not([hidden]),button:not([hidden]))){display:none}
.admin-dashboard-cooling-availability{min-width:0;color:var(--color-gray-500,#667085);font-size:.68rem;line-height:1.25;overflow-wrap:anywhere}
.admin-dashboard-cooling-availability p{margin:0}
.admin-dashboard-cooling-tile.is-unavailable .admin-dashboard-cooling-state,
.admin-dashboard-cooling-tile.is-stale .admin-dashboard-cooling-state{grid-column:1 / -1;grid-row:2}
.admin-dashboard-cooling-section .admin-dashboard-cooling-retry{min-height:2.75rem;margin:0;padding:.25rem 0;font-size:.72rem}
.admin-dashboard-cooling-section .admin-inline-text-link-brand{color:#ad2f12;transition:none}
.admin-dashboard-cooling-section .admin-inline-text-link-brand:hover{color:#8f260e}
html.dark .admin-dashboard-cooling-section .admin-inline-text-link-brand{color:#ffb39c!important}
html.dark .admin-dashboard-cooling-section .admin-inline-text-link-brand:hover{color:#ffd5c7!important}
.admin-dashboard-cooling-tile.is-stale .admin-dashboard-cooling-availability{color:#854a0e}
.admin-dashboard-cooling-section [hidden]{display:none!important}
@container dashboard-cooling (max-width:36rem){
    .admin-dashboard-cooling-section .admin-dashboard-cooling-grid{grid-template-columns:minmax(0,1fr)}
    .admin-dashboard-cooling-tile{grid-template-columns:minmax(0,1fr) auto;gap:.25rem .75rem;padding:.72rem .85rem}
    .admin-dashboard-cooling-identity{grid-column:1;grid-row:1 / span 2}
    .admin-dashboard-cooling-reading{grid-column:2;grid-row:1}
    .admin-dashboard-cooling-trend{grid-column:2;grid-row:2;min-width:0;text-align:right}
    .admin-dashboard-cooling-section .admin-dashboard-cooling-tile .admin-dashboard-cooling-state{grid-column:1 / -1;grid-row:3;justify-content:flex-start;gap:.25rem .65rem;text-align:left}
    .admin-dashboard-cooling-footer{justify-content:flex-start;flex-wrap:wrap}
    .admin-dashboard-cooling-availability{white-space:normal}
}

.admin-dashboard-cooling-idle{background:#fff}
.admin-dashboard-cooling-running{background:#f0fdf4}
.admin-dashboard-cooling-alert{background:#fef2f2}
.admin-dashboard-cooling-anomaly{box-shadow:0 0 0 2px #fca5a5}
.admin-dashboard-cooling-icon{display:inline-flex;width:2.5rem;height:2.5rem;flex:none;align-items:center;justify-content:center;border-radius:.75rem;background:#eef2ff;color:var(--color-primary-text,#d51d40)}
.admin-dashboard-cooling-status{display:flex;align-items:center;gap:.25rem;font-size:.6875rem;line-height:1rem;color:#6b7280}
.admin-dashboard-cooling-meta{margin-top:.5rem;display:flex;flex-wrap:wrap;align-items:center;column-gap:.75rem;row-gap:.25rem;font-size:.75rem;line-height:1rem}
.admin-dashboard-cooling-meta-item{display:flex;align-items:center;gap:.25rem}
.admin-dashboard-cooling-meta-label{font-size:11px;line-height:1rem;color:#6b7280}
.admin-dashboard-cooling-meta-value{font-size:.75rem;line-height:1rem;color:#374151}
.admin-dashboard-cooling-separator{color:#d1d5db}
.admin-dashboard-temp-badge{display:inline-flex;align-items:center;border-radius:9999px;background:#dcfce7;padding:.125rem .5rem;font-size:11px;line-height:1rem;font-weight:600;color:#166534}
.admin-dashboard-temp-badge-pulse{animation:admin-simple-pulse 2s cubic-bezier(.4,0,.6,1) infinite}
.admin-dashboard-trend{font-size:11px;line-height:1rem;font-weight:600}
.admin-dashboard-trend-up{color:#dc2626}
.admin-dashboard-trend-down{color:var(--color-primary-text,#d51d40)}
.admin-dashboard-trend-flat{color:#9ca3af}
.admin-icon-preview-tile{display:flex;width:3rem;height:3rem;flex:none;align-items:center;justify-content:center;border:1px solid #cae8d7;border-radius:.75rem;background:#eff8f3;color:#16794b}
.admin-crop-icon-preview-tile{display:flex;width:2.5rem;height:2.5rem;align-items:center;justify-content:center;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;padding:.25rem}
.admin-crop-icon-svg{display:inline-flex;max-width:100%;max-height:100%}
.agrico-crop-icon{display:block;flex:none}
.admin-crop-icon-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(8.25rem,1fr));gap:.5rem;max-height:18rem;margin-top:.75rem;padding:.125rem;overflow-y:auto}
.admin-crop-recommendation-button{display:flex;min-width:0;align-items:center;gap:.625rem;border:1px solid #e5e7eb;border-radius:.75rem;background:#fff;padding:.625rem .75rem;text-align:left;font-size:.75rem;line-height:1rem;font-weight:600;color:#344054;transition:background-color .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease}
.admin-crop-recommendation-button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-crop-recommendation-button:hover{border-color:#8fd0ad;background:#f5fbf7;color:#16794b}
.admin-crop-recommendation-button:focus-visible{outline:2px solid #168a50;outline-offset:2px}
.admin-crop-recommendation-button.is-selected{border-color:#168a50;background:#e5f5ec;color:#11643f;box-shadow:0 0 0 1px rgba(22,138,80,.12)}
.admin-crop-display-icon-frame{display:inline-flex;width:3.5rem;height:3.5rem;align-items:center;justify-content:center;border:1px solid #cae8d7;border-radius:.875rem;background:#eff8f3;color:#16794b}
.admin-crop-preview-fa{font-size:28px;color:#16794b}
.admin-crop-preview-fa-muted{color:#98a2b3}
.dark .admin-icon-preview-tile,.dark .admin-crop-display-icon-frame{border-color:#245d43;background:#122c21;color:#6ee7a5}
.dark .admin-crop-recommendation-button{border-color:#344054;background:#1d2939;color:#d0d5dd}
.dark .admin-crop-recommendation-button:hover,.dark .admin-crop-recommendation-button.is-selected{border-color:#32b879;background:#153d2b;color:#8ce9b4}
.admin-quality-chip{display:inline-flex;align-items:center;gap:.375rem;border:1px solid #e5e7eb;border-radius:9999px;background:#f9fafb;padding:.25rem .625rem;font-size:.75rem;line-height:1rem;font-weight:500;color:#374151}
.admin-icon-action-blue{display:inline-flex;min-width:2.75rem;min-height:2.75rem;align-items:center;justify-content:center;border-radius:.25rem;padding:.375rem;color:#2563eb;transition:background-color .15s ease,color .15s ease}
.admin-icon-action-blue:hover{background:#eff6ff;color:#1e40af}
.admin-disabled-action-icon{display:inline-flex;align-items:center;justify-content:center;color:#d1d5db;cursor:not-allowed}
.admin-disabled-action-icon-pad{padding:.375rem}
.admin-mini-icon-tile{display:flex;width:1.75rem;height:1.75rem;flex-shrink:0;align-items:center;justify-content:center;border-radius:.375rem;background:#f3f4f6;color:#6b7280}
.admin-icon-tile-sm{display:inline-flex;width:2rem;height:2rem;align-items:center;justify-content:center;border-radius:.375rem}
.admin-icon-tile-warning-red{background:#fee2e2;color:#b91c1c}
.admin-icon-tile-warning-orange{background:#ffedd5;color:#c2410c}
.admin-icon-tile-warning-amber{background:#fef3c7;color:#b45309}
.admin-file-icon-tile{display:inline-flex;width:2.5rem;height:2.5rem;align-items:center;justify-content:center;border-radius:.5rem}
.admin-file-icon-pdf{background:#fee2e2;color:#dc2626}
.admin-file-icon-media{background:#dbeafe;color:#2563eb}
.admin-file-icon-image{background:#dcfce7;color:#16a34a}
.admin-file-row{position:relative;display:flex;width:100%;align-items:center;gap:.75rem;border:1px solid #e5e7eb;border-radius:.75rem;background:#fff;padding:.625rem 1.25rem .625rem .75rem}
.admin-file-row-clickable{cursor:pointer}
.admin-file-row-start{align-items:flex-start}
.admin-file-row-icon-wrap{width:100%;height:2.5rem;max-width:2.5rem}
.admin-file-row-content{min-width:0;flex:1 1 0%}
.admin-file-row-title{font-size:.875rem;line-height:1.25rem;font-weight:500;color:#1f2937}
.admin-file-row-title-clamp{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.admin-file-row-meta-text{font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-file-row-meta-link{font-size:.75rem;line-height:1rem;color:#6b7280;transition:color .15s ease}
.admin-file-row-meta-link:hover{color:var(--color-primary-text,#d51d40)}
.admin-file-row-delete{border:0;background:transparent;padding:0;font-size:.75rem;line-height:1rem;font-weight:500;color:#dc2626;cursor:pointer;vertical-align:baseline;transition:color .15s ease}
.admin-file-row-delete:hover{color:#b91c1c}
.dark .admin-file-row{border-color:#1f2937;background:rgba(255,255,255,.05)}
.dark .admin-file-row-title{color:rgba(255,255,255,.9)}
.dark .admin-file-row-meta-text{color:#9ca3af}
.dark .admin-file-row-meta-link{color:#9ca3af}
.admin-inline-error-hint{border:1px solid #fecaca;border-radius:.375rem;background:#fef2f2;padding:.5rem .75rem;font-size:.75rem;line-height:1rem;color:#991b1b}
.admin-inline-info-hint{border:1px solid #bfdbfe;border-radius:.375rem;background:#eff6ff;padding:.5rem .75rem;font-size:.75rem;line-height:1rem;color:#1e40af}
.admin-inline-ai-result{margin-top:.75rem;border:1px solid #ddd6fe;border-radius:.5rem;background:#f5f3ff;padding:.75rem;font-size:.875rem;line-height:1.25rem;color:#1f2937;white-space:pre-wrap}
.admin-callout{border:1px solid;border-radius:.5rem;padding:1rem}
.admin-callout-spaced{margin-top:1.5rem}
.admin-callout-mb{margin-bottom:1.5rem}
.admin-callout-mb-tight{margin-bottom:1rem}
.admin-callout-green{border-color:#bbf7d0;background:#f0fdf4;color:#166534}
.admin-callout-red{border-color:#fecaca;background:#fef2f2;color:#991b1b}
.admin-callout-yellow{border-color:#fde68a;background:#fffbeb;color:#92400e}
.admin-callout-blue{border-color:#bfdbfe;background:#eff6ff;color:#1e40af}
.admin-callout-slate{border-color:#e2e8f0;background:#f8fafc;color:#334155}
.admin-callout-compact{padding:.5rem .75rem;font-size:.75rem;line-height:1rem}
.admin-callout-roomy{padding:1.5rem}
.admin-callout-title{margin-bottom:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:inherit}
.admin-callout-title-inline{margin-bottom:0}
.admin-callout-body{font-size:.875rem;line-height:1.25rem;color:inherit}
.admin-callout-body-spaced{margin-top:.5rem}
.admin-callout-code{display:block;border:1px solid;border-radius:.375rem;background:#fff;padding:.75rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:.875rem;line-height:1.25rem;color:#111827}
.admin-callout-code-compact{padding:.5rem}
.admin-callout-code-break{word-break:break-all}
.admin-debug-list{max-height:16rem;overflow-y:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:.75rem;line-height:1rem}
.admin-debug-row{border-bottom:1px solid rgba(254,202,202,.85);padding:.25rem 0}
.admin-debug-key{font-weight:600;color:#7f1d1d}
.admin-debug-value{word-break:break-all;color:#991b1b}
.admin-stat-panel{border:1px solid;border-radius:.5rem;padding:1rem;color:#0f172a}
.admin-stat-panel-compact{padding:.75rem}
.admin-stat-panel-white{border-color:#e2e8f0;background:#fff}
.admin-stat-panel-slate{border-color:#e2e8f0;background:#f8fafc}
.admin-stat-panel-green{border-color:#a7f3d0;background:#ecfdf5;color:#065f46}
.admin-stat-label{font-size:.75rem;line-height:1rem;font-weight:500;text-transform:uppercase;letter-spacing:.025em;color:inherit;opacity:.78}
.admin-stat-value{margin-top:.5rem;font-size:1.5rem;line-height:2rem;font-weight:700;font-variant-numeric:tabular-nums;color:inherit}
.admin-stat-value-compact{margin-top:.25rem;font-size:1.25rem;line-height:1.75rem}
.admin-stat-description{margin-top:.25rem;font-size:.75rem;line-height:1rem;color:inherit;opacity:.82}
.admin-stat-description-relaxed{line-height:1.625}
.admin-ai-action-button{display:inline-flex;min-height:2.75rem;justify-content:center;align-items:center;gap:.375rem;flex-shrink:0;border:1px solid #ddd6fe;border-radius:.5rem;background:#f5f3ff;padding:.375rem .75rem;font-size:.75rem;line-height:1rem;font-weight:500;color:#6d28d9;transition:background-color .15s ease}
.admin-ai-action-button:hover{background:#ede9fe}
.admin-ai-action-button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.admin-header-ai-slot{display:none}
.admin-vehicle-type-label{display:inline-flex;align-items:center;gap:.5rem;white-space:normal}
.admin-vehicle-type-label>[aria-hidden]{display:inline-flex;flex-shrink:0}
@media(max-width:1023px){
  .admin-header-ai-slot:not(:empty){display:flex;flex:0 0 auto}
  .admin-header-ai-slot .admin-ai-toggle-button{width:44px;height:44px;box-shadow:none;border:1px solid var(--admin-palette-border,#e4dcd2);padding:3px;background:var(--admin-palette-surface,#fffdf9)}
  .admin-header-ai-slot .admin-ai-toggle-button:focus-visible{outline:2px solid #f04416;outline-offset:2px}
}
.admin-inline-add-link{margin-top:.5rem;display:inline-flex;min-height:2.75rem;align-items:center;gap:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:var(--color-primary-text,#d51d40);text-decoration:underline}
.admin-inline-add-link:hover{color:rgba(70,97,255,.8)}
.admin-inline-edit-link{display:inline-flex;align-items:center;gap:.25rem;border:0;background:transparent;padding:0;font:inherit;cursor:pointer;color:var(--color-primary-text,#d51d40);transition:color .15s ease}
.admin-inline-edit-link:hover{color:rgba(70,97,255,.8)}
.admin-inline-danger-link{display:inline-flex;align-items:center;gap:.25rem;border:0;background:transparent;padding:0;font:inherit;cursor:pointer;color:#dc2626;transition:color .15s ease}
.admin-inline-danger-link:hover{color:#991b1b}
.admin-inline-meta-row{display:inline-flex;align-items:center;gap:.5rem}
.admin-inline-meta-row-tight{display:inline-flex;align-items:center;gap:.25rem}
.admin-inline-table-link{display:inline-flex;min-height:2.75rem;align-items:center;text-align:left;font-size:.875rem;line-height:1.25rem;color:var(--color-primary-text,#d51d40);text-decoration:underline;text-underline-offset:2px}
.admin-inline-table-link:hover{color:var(--color-brand-600,#3641f5)}
.admin-inline-text-link{display:inline-flex;min-width:2.75rem;min-height:2.75rem;align-items:center;justify-content:center;font-weight:500;transition:color .15s ease}
.admin-inline-text-link-brand{color:var(--color-primary-text,#d51d40)}
.admin-inline-text-link-brand:hover{color:var(--color-brand-600,#3641f5);text-decoration:underline;text-underline-offset:2px}
.admin-inline-text-link-primary{color:var(--color-primary-text,#d51d40)}
.admin-inline-text-link-primary:hover{color:rgba(70,97,255,.85);text-decoration:underline;text-underline-offset:2px}
.admin-inline-danger-icon-button{flex-shrink:0;color:#dc2626;padding:.5rem;margin-top:1.75rem;transition:color .15s ease}
.admin-inline-danger-icon-button:hover{color:#991b1b}
.admin-action-text-link{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;transition:color .15s ease}
.admin-action-text-link-primary{color:var(--color-primary-text,#d51d40)}
.admin-action-text-link-primary:hover{color:rgba(70,97,255,.8)}
.admin-action-text-link-danger{color:#dc2626}
.admin-action-text-link-danger:hover{color:#991b1b}
.admin-action-text-link-success{color:#16a34a}
.admin-action-text-link-success:hover{color:#166534}
.admin-tag-badge{display:inline-flex;align-items:center;gap:.375rem;border-radius:9999px;padding:7px .625rem;font-size:.875rem;line-height:1.25rem;font-weight:500}
.admin-tag-list{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;min-width:0}
.admin-crop-type-tag{display:inline-flex;min-width:0;max-width:100%;align-items:center;white-space:nowrap;border:1px solid #e4e7ec;border-radius:9999px;background:#f9fafb;padding:.1875rem .625rem;color:#1d2939;font-size:.75rem;line-height:1rem;font-weight:600}
.admin-crop-type-tag-with-quality{padding-right:.1875rem}
.admin-crop-type-tag-name{min-width:0;overflow:hidden;text-overflow:ellipsis}
.admin-crop-type-quality-code{display:inline-flex;min-width:1.5rem;min-height:1.375rem;align-items:center;justify-content:center;gap:.1875rem;margin-left:.375rem;border:1px solid transparent;border-radius:9999px;padding:0 .375rem;font-size:.6875rem;line-height:1;font-weight:800;letter-spacing:.02em}
.admin-crop-type-quality-icon{display:inline-flex;align-items:center;justify-content:center;line-height:1}
.admin-crop-type-quality-icon i{display:block;line-height:1}
.admin-crop-type-quality-se{border-color:#f79009;background:#fef0c7;color:#7a2e0e}
.admin-crop-type-quality-e{border-color:#fec84b;background:#fffaeb;color:#93370d}
.admin-crop-type-quality-i{border-color:#84caff;background:#eff8ff;color:#175cd3}
.admin-crop-type-quality-ii{border-color:#6ce9a6;background:#ecfdf3;color:#067647}
.admin-crop-type-quality-b{border-color:#d0d5dd;background:#f2f4f7;color:#344054}
.admin-crop-type-quality-certified{border-color:#d6bbfb;background:#f4ebff;color:#6941c6}
.admin-crop-type-quality-standard{border-color:#99f6e0;background:#f0fdfa;color:#0f766e}
.admin-crop-type-quality-other{border-color:#d0d5dd;background:#fff;color:#475467}
.admin-tag-button{display:inline-flex;align-items:center;gap:.5rem;border-radius:.5rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:600;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}
.admin-tag-button:focus{outline:0;box-shadow:0 0 0 2px rgba(75,85,99,.2),0 0 0 4px rgba(255,255,255,.9)}
.admin-badge{display:inline-flex;align-items:center;gap:.25rem;border-radius:9999px;font-weight:500}
.admin-badge-xs{padding:7px .625rem;font-size:.875rem;line-height:1.25rem}
.admin-badge-sm{padding:7px .75rem;font-size:1rem;line-height:1.5rem}
.admin-badge-md{padding:7px .875rem;font-size:1.125rem;line-height:1.75rem}
.admin-badge.admin-badge-icon-only{box-sizing:border-box;width:calc(1lh + 14px);height:calc(1lh + 14px);padding:7px;justify-content:center;flex-shrink:0;border-radius:50%}
.admin-filter-button{display:inline-flex;align-items:center;gap:.5rem;border-radius:.5rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:600;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}
.admin-filter-button:focus{outline:0;box-shadow:0 0 0 3px rgba(70,95,255,.12)}
.admin-filter-button-compact{gap:.375rem;border-radius:.375rem;padding:.25rem .625rem;font-size:.75rem;line-height:1rem}
.admin-filter-badge{display:inline-flex;align-items:center;gap:.5rem;border-radius:9999px;padding:.25rem .75rem;font-size:.75rem;line-height:1rem;font-weight:500;transition:background-color .15s ease,color .15s ease}
.admin-generated-link{color:#2563eb;text-decoration:underline;transition:color .15s ease}
.admin-generated-link:hover{color:#1e40af}
.admin-generated-link-danger{font-weight:600;text-decoration:underline;transition:color .15s ease}
.admin-generated-link-danger:hover{color:#991b1b}
.admin-amber-notice{border:1px solid #fde68a;border-radius:.5rem;background:#fffbeb;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;color:#92400e}
.admin-amber-notice-compact{font-size:.75rem;line-height:1rem;font-weight:500}
.admin-notice-muted{margin-bottom:1.5rem;border:1px solid #e5e7eb;border-radius:.5rem;background:#f9fafb;padding:.75rem 1rem}
.admin-notice-row{margin-bottom:1.5rem;display:flex;flex-direction:column;gap:.75rem;border-radius:.5rem;padding:.75rem 1rem}
.admin-notice-row-amber{border:1px solid #fde68a;background:#fffbeb;color:#92400e}
.admin-notice-row-amber a{color:#92400e}
.admin-notice-row-amber a:hover{color:#78350f}
.admin-success-notice-row{margin-bottom:1rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;border:1px solid #bbf7d0;border-radius:.5rem;background:#f0fdf4;padding:.5rem .75rem}
.admin-success-notice-row-text{font-size:.875rem;line-height:1.25rem;color:#166534}
.admin-notice-panel{margin-bottom:1.25rem;border-radius:.75rem;border:1px solid;padding:1rem}
.admin-notice-panel-emerald{border-color:#a7f3d0;background:rgba(236,253,245,.7);color:#065f46}
.admin-notice-panel-amber{border-color:#fde68a;background:rgba(255,251,235,.8);color:#92400e}
.admin-notice-panel-emerald-full{margin-bottom:1.25rem;border:1px solid #a7f3d0;border-radius:.75rem;background:rgba(236,253,245,.7);padding:1rem;color:#065f46}
.admin-notice-panel-amber-full{margin-bottom:1.25rem;border:1px solid #fde68a;border-radius:.75rem;background:rgba(255,251,235,.8);padding:1rem;color:#92400e}
.admin-notice-panel-title{font-size:.875rem;line-height:1.25rem;font-weight:600}
.admin-notice-panel-body{font-size:.875rem;line-height:1.25rem}
.admin-summary-panel{margin-bottom:1rem;border:1px solid #e5e7eb;border-radius:.5rem;background:#f9fafb;padding:1rem;font-size:.875rem;line-height:1.25rem;color:#374151}
.admin-summary-panel>*+*{margin-top:.25rem}
.admin-form-section-panel{margin-bottom:2rem;border-radius:.5rem;background:rgba(249,250,251,.3);padding:1rem 1rem 1.5rem}
.admin-form-section-panel-muted{border:1px solid #e5e7eb;border-radius:.75rem;background:rgba(249,250,251,.5);padding:1.5rem}
.admin-form-section-panel-hidden{display:none}
.admin-harvest-add-form .admin-form-section-panel{margin:0;padding:0;background:transparent}
.admin-harvest-add-form.admin-form-stack-tight{gap:1.25rem}
.admin-harvest-add-form>.hidden{display:none}
.admin-harvest-intake-actions{padding-top:.25rem}
.admin-harvest-add-form .mt-4{margin-top:.75rem}
.admin-land-swap-partner-wrap{margin-top:.75rem}
.admin-form-stack{display:flex;flex-direction:column;gap:1.25rem}
.admin-form-stack-lg{display:flex;flex-direction:column;gap:1.5rem}
.admin-form-stack-tight{display:flex;flex-direction:column;gap:.75rem}
.admin-scroll-stack-tight{display:flex;max-height:24rem;flex-direction:column;gap:.75rem;overflow-y:auto}
.admin-content-stack{display:flex;flex-direction:column;gap:1rem}
.admin-content-stack-lg{display:flex;flex-direction:column;gap:1.5rem}
.admin-content-stack-5{display:flex;flex-direction:column;gap:1.25rem}
.admin-tab-shell{}
.admin-dropdown-menu-stack{display:flex;flex-direction:column;gap:.25rem}
.admin-sidebar-nav{display:flex;flex-direction:column;gap:.25rem}
.admin-list-stack-xs{display:flex;flex-direction:column;gap:.25rem}
.admin-list-stack{display:flex;flex-direction:column;gap:.5rem}
.admin-list-stack-relaxed{display:flex;flex-direction:column;gap:.625rem}
.admin-widget-card-list{margin-top:.5rem;display:flex;flex-direction:column;gap:.25rem}
.admin-widget-grid,.admin-statistics-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr))}
.admin-statistics-grid.admin-statistics-grid-autofit{grid-template-columns:repeat(auto-fit,minmax(min(100%,13.5rem),1fr))}
/* Expandable statistics keep one surface for the headline and its details. */
.admin-statistics-grid:has(>.admin-stat-disclosure){align-items:start}
.admin-stat-disclosure{display:block;min-width:0;overflow:hidden;transition:border-color .25s ease,box-shadow .25s ease}
.admin-stat-disclosure>.admin-widget-item-link{padding:.75rem}
.admin-stat-disclosure>.admin-widget-item-link::after{content:"";width:.45rem;height:.45rem;flex:0 0 .45rem;margin:0 .25rem;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .25s ease}
.admin-stat-disclosure.is-expanded{grid-column:1/-1;border-color:#e9c78d;box-shadow:0 8px 24px rgba(16,24,40,.06)}
.admin-stat-disclosure.is-expanded>.admin-widget-item-link::after{transform:rotate(225deg)}
.admin-stat-disclosure>.admin-widget-item-link:hover{background:#fffbf2}
.admin-stat-disclosure>.admin-widget-item-link:focus-visible{outline:2px solid #b45309;outline-offset:-3px;border-radius:.75rem}
.admin-stat-reveal{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .32s cubic-bezier(.22,1,.36,1),visibility .32s}
.admin-stat-disclosure.is-expanded .admin-stat-reveal{grid-template-rows:1fr;visibility:visible}
.admin-stat-reveal-inner{min-height:0;overflow:hidden}
.admin-stat-reveal-body{padding:0 1rem 1rem}
.admin-stat-attention-list{list-style:none;margin:0;padding:0;border-top:1px solid #eee9e2;max-height:24rem;overflow-y:auto;overscroll-behavior:contain}
.admin-stat-attention-list>li+li{border-top:1px solid #eee9e2}
.admin-stat-attention-link{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:2.75rem;padding:.875rem .25rem;color:#292524;font-size:.875rem}
.admin-stat-attention-link>span:first-child{min-width:0;overflow-wrap:anywhere}
.admin-stat-attention-link:hover{background:#faf8f4}
.admin-stat-attention-link:focus-visible{outline:2px solid #b45309;outline-offset:-2px}
.admin-stat-attention-kind{display:block;margin-top:.125rem;color:#78716c;font-size:.75rem}
.admin-stat-attention-quantity{flex-shrink:0;font-variant-numeric:tabular-nums;color:#57534e}
.dark .admin-stat-disclosure{background:#101828;border-color:#344054;color:#f3f4f6}
.dark .admin-stat-disclosure.is-expanded{border-color:#9a723a}
.dark .admin-stat-disclosure .admin-widget-item-value-compact{color:#f3f4f6}
.dark .admin-stat-disclosure .admin-widget-item-label,.dark .admin-stat-attention-kind,.dark .admin-stat-attention-quantity{color:#d1d5db}
.dark .admin-stat-disclosure>.admin-widget-item-link:hover,.dark .admin-stat-attention-link:hover{background:#1f2937}
.dark .admin-stat-attention-link{color:#f3f4f6}
.dark .admin-stat-attention-list,.dark .admin-stat-attention-list>li+li{border-color:#344054}
.admin-statistics-grid.admin-statistics-grid-autofit:has(>.admin-stat-disclosure.is-expanded){grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:679px){.admin-statistics-grid.admin-statistics-grid-autofit:has(>.admin-stat-disclosure.is-expanded){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:359px){.admin-statistics-grid.admin-statistics-grid-autofit:has(>.admin-stat-disclosure.is-expanded){grid-template-columns:minmax(0,1fr)}.admin-stat-attention-link{gap:.5rem}.admin-stat-attention-quantity{max-width:40%;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.admin-stat-disclosure,.admin-stat-disclosure>.admin-widget-item-link::after,.admin-stat-reveal{transition:none}}
.admin-care-section-description{margin-top:.25rem;font-size:.75rem;line-height:1.35;color:#57534e}
.admin-care-toolbar{display:flex;min-width:0;align-items:center;gap:.75rem;margin-top:1rem}
.admin-care-toolbar-empty{margin-top:0}
.admin-care-toolbar-filters{display:flex;min-width:0;flex:1 1 23rem;align-items:center;gap:.75rem}
.admin-care-toolbar-control{min-width:0;flex:1 1 11rem}
.admin-care-toolbar-dropdown{max-width:none}
.admin-care-toolbar-actions{display:flex;flex:0 0 auto;align-items:center;gap:.5rem;margin-left:auto}
.admin-care-type-filter-control{flex:0 1 21rem}
.admin-care-type-summary-filter-dropdown{width:min(21rem,100%);min-width:min(18rem,100%);max-width:21rem}
.admin-care-type-summary-filter-dropdown .admin-base-dropdown-trigger{border-color:#ead8cf;background:linear-gradient(135deg,#fff 0%,#fff9f6 100%);box-shadow:0 1px 2px rgba(16,24,40,.04)}
.admin-care-type-summary-filter-dropdown .admin-base-dropdown-trigger:hover{border-color:#d8a995;background:#fff7f2}
.admin-care-type-summary-filter-dropdown .admin-dropdown-selected-svg{color:#b93815}
.admin-care-type-summary-filter-dropdown .admin-dropdown-selected-label{min-width:0;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-care-type-summary-option-icon{display:flex;width:2.5rem;height:2.5rem;flex:0 0 2.5rem;align-items:center;justify-content:center;overflow:visible;border:1px solid #f0ddd4;border-radius:.75rem;background:#fff5f0;color:#a73516;font-size:1.25rem}
.admin-care-type-summary-option-icon i,.admin-care-type-summary-option-icon svg,.admin-care-type-summary-option-icon .svg-inline--fa{display:block;width:1em!important;height:1em!important;max-width:none!important;max-height:none!important;overflow:visible!important}
.admin-care-records-table{width:100%;min-width:0;table-layout:fixed}
.admin-care-records-table th,.admin-care-records-table td{overflow-wrap:anywhere}
.admin-care-records-table .admin-care-col-land{width:15%}
.admin-care-records-table .admin-care-col-crop{width:11%}
.admin-care-records-table .admin-care-col-type{width:15%}
.admin-care-records-table .admin-care-col-product{width:24%}
.admin-care-records-table .admin-care-col-amount{width:12%}
.admin-care-records-table .admin-care-col-date{width:12%}
.admin-care-records-table .admin-care-col-amount,.admin-care-records-table .admin-care-col-date{white-space:nowrap;overflow-wrap:normal}
.admin-care-records-table .admin-table-action-head,.admin-care-records-table .admin-table-action-cell{width:7rem}
.admin-care-records-table .admin-inline-text-link-brand{color:#b93815}
.admin-care-records-table .admin-inline-text-link-brand:hover{color:#8f2812}
.admin-care-records-table th[class*="dt-orderable"]{position:relative}
.admin-care-records-table th[class*="dt-orderable"] .dt-column-order{position:absolute!important;top:0!important;right:0!important;bottom:0!important;width:2rem!important;height:auto!important;min-height:100%}
.admin-care-records-table th[class*="dt-orderable"] .dt-column-order:focus-visible{border-radius:.25rem;outline:2px solid #b93815;outline-offset:-2px}
.admin-care-mobile-secondary{display:none}
.dark .admin-care-section-description{color:#d6d3d1}
.dark .admin-care-type-summary-filter-dropdown .admin-base-dropdown-trigger{border-color:#5b443b;background:linear-gradient(135deg,#1f2937 0%,#2a211d 100%)}
.dark .admin-care-type-summary-option-icon{border-color:#6e4839;background:#43291f;color:#fdba9a}
@media (max-width:1279.98px){
  .admin-care-toolbar{flex-wrap:wrap;align-items:stretch}
  .admin-care-toolbar-filters{width:100%;flex-basis:100%}
  .admin-care-toolbar-actions{width:100%;margin-left:0}
}
@media (max-width:767.98px){
  .admin-care-section-header{padding-left:1rem;padding-right:1rem}
  .admin-care-toolbar,.admin-care-toolbar-filters{flex-direction:column;align-items:stretch}
  .admin-care-toolbar-control{width:100%;flex-basis:auto}
  .admin-care-type-filter-control{max-width:none}
  .admin-care-type-summary-filter-dropdown{width:100%;min-width:0;max-width:none}
  .admin-care-toolbar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-care-toolbar-actions>*{width:100%;justify-content:center}
  .admin-care-toolbar-empty{gap:.75rem}
  /* The shared responsive-table sheet owns the complete card grid. Care only
     decorates content inside those full-width labeled rows. */
  .admin-care-land-cell{display:flex;min-width:0;flex-direction:column;gap:.15rem}
  .admin-care-mobile-secondary{display:block;font-size:.75rem;line-height:1rem;color:#57534e}
  .admin-care-records-table .admin-care-col-type>.admin-tag-badge,.admin-care-records-table .admin-care-col-type>.admin-metric-chip{width:max-content;max-width:100%;justify-self:end;overflow-wrap:normal;word-break:normal;text-align:left}
  .admin-care-records-table .admin-subsection-description{white-space:normal}
  .admin-care-records-table+.admin-dt-footer{margin-top:.25rem}
  .dark .admin-care-mobile-secondary{color:#d6d3d1}
}
.admin-section-header-card-pad{padding:1rem 1.5rem}
.admin-form-grid-2{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1.5rem}
.admin-form-grid-span-2{grid-column:1/-1}
.admin-form-grid-2-compact{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1rem}
.admin-form-grid-3{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1.25rem}
.admin-form-grid-4{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1rem}
.admin-sales-create-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));align-items:end;gap:1rem}
.consumption-sales-card-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.75rem 1rem}
.consumption-sales-summary{min-width:0}
.consumption-sales-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:.65rem}
.consumption-sales-create-toggle>i,.consumption-sales-create-toggle>svg{transition:transform .15s ease}
.consumption-sales-create-toggle[aria-expanded="true"]>i,.consumption-sales-create-toggle[aria-expanded="true"]>svg{transform:rotate(45deg)}
.consumption-sales-create-panel{margin-top:1.5rem;border:1px solid #fed7c7;border-radius:1rem;background:#fffaf7;padding:1rem}
.consumption-sales-create-panel[hidden],.consumption-sales-create-panel.hidden{display:none}
.consumption-sales-create-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.consumption-sales-create-panel-heading h3{color:#111827;font-size:1rem;font-weight:750;line-height:1.35}
.consumption-sales-create-panel-heading p{margin-top:.15rem;color:#6b7280;font-size:.78rem;font-weight:500;line-height:1.4}
.consumption-sales-create-panel-close{flex:0 0 auto;white-space:nowrap}
.consumption-sale-flow{display:flex;flex-direction:column;gap:1rem}
.consumption-sale-stage{min-width:0;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;padding:1rem}
.consumption-sale-stage-heading{display:flex;width:100%;align-items:center;gap:.75rem;padding:0 .25rem .9rem;color:#111827}
.consumption-sale-stage-number{display:inline-flex;height:2rem;width:2rem;flex:0 0 auto;align-items:center;justify-content:center;border-radius:9999px;background:#f3f4f6;color:#4b5563;font-size:.8rem;font-weight:800;transition:background-color .15s ease,color .15s ease}
.consumption-sale-stage.is-complete .consumption-sale-stage-number{background:#dcfce7;color:#047857}
.consumption-sale-stage-title,.consumption-sale-stage-description{display:block}
.consumption-sale-stage-title{font-size:.95rem;font-weight:700;line-height:1.3}
.consumption-sale-stage-description{margin-top:.125rem;color:#6b7280;font-size:.78rem;font-weight:500;line-height:1.35}
.consumption-sale-stage-grid{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:1rem}
.consumption-sale-lines{display:flex;min-width:0;flex-direction:column;gap:.75rem;container-type:inline-size}
.consumption-sale-line{display:grid;min-width:0;grid-template-columns:minmax(0,1fr);align-items:start;gap:.75rem;border:1px solid #e5e7eb;border-radius:.875rem;background:#f8fafc;padding:.9rem}
.consumption-sale-line>div{min-width:0}
@container (min-width:60rem){
  .consumption-sale-lines>.consumption-sale-line{grid-template-columns:minmax(0,1.45fr) minmax(0,1.35fr) minmax(0,.65fr) minmax(0,.6fr) minmax(0,.65fr) 52px}
}
.consumption-sale-line .finished-product-picker-trigger{height:52px;min-height:52px;padding-top:.45rem;padding-bottom:.45rem}
.consumption-sale-line-control,.consumption-sale-total{height:52px;min-height:52px}
.consumption-sale-lot-control{display:grid;grid-template-columns:minmax(0,1fr) 52px;gap:.4rem}
.consumption-lot-helper-icon,.consumption-sale-line-remove-button{display:inline-flex;height:52px;width:52px;align-items:center;justify-content:center;border:1px solid #d1d5db;border-radius:.75rem;background:#fff;color:#475569;transition:border-color .15s ease,background-color .15s ease,color .15s ease,transform .15s ease}
.consumption-lot-helper-icon:hover:not(:disabled){border-color:#60a5fa;background:#eff6ff;color:#1d4ed8;transform:translateY(-1px)}
.consumption-lot-helper-icon:disabled{cursor:not-allowed;background:#f3f4f6;color:#9ca3af}
.consumption-sale-line-remove-button{border-color:#fecaca;color:#b91c1c}
.consumption-sale-line-remove-button:hover:not(:disabled){border-color:#fca5a5;background:#fef2f2;color:#991b1b;transform:translateY(-1px)}
.consumption-sale-line-remove-button:disabled{cursor:not-allowed;border-color:#e5e7eb;background:#f3f4f6;color:#9ca3af}
.consumption-sale-line-origin{margin-top:.35rem;overflow:hidden;color:#047857;font-size:.7rem;font-weight:650;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.consumption-sale-lines-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-top:.85rem}
.consumption-sale-line-add-button{min-height:42px;border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8;font-weight:700}
.consumption-sale-line-add-button:hover{border-color:#93c5fd;background:#dbeafe;color:#1e40af}
.consumption-sale-total{display:flex;align-items:center;justify-content:space-between;gap:.5rem;border:1px solid #e5e7eb;border-radius:.75rem;background:#f9fafb;padding:.75rem 1rem;color:#6b7280;transition:border-color .15s ease,background-color .15s ease,color .15s ease}
.consumption-sale-total output{color:#4b5563;font-size:1.05rem;font-weight:750;font-variant-numeric:tabular-nums}
.consumption-sale-total span{font-size:.8rem;font-weight:700;text-transform:uppercase}
.consumption-sale-total.is-active{border-color:#bbf7d0;background:#f0fdf4;color:#047857}
.consumption-sale-total.is-active output{color:#065f46}
.consumption-sale-action{display:flex;min-width:0;justify-content:flex-end;margin-top:1rem}
.consumption-sale-action-status{min-height:1.1rem;color:#6b7280;font-size:.75rem;font-weight:600;line-height:1.35}
.consumption-sale-action-status.is-ready{color:#047857}
.consumption-sale-submit{min-height:52px;min-width:min(100%,22rem);gap:.45rem;font-weight:700}
.consumption-sale-submit:disabled,.admin-workspace-page .consumption-sale-submit:disabled{cursor:not-allowed;background:#d1d5db;box-shadow:none;color:#6b7280;transform:none}
.consumption-sale-submit:disabled:hover,.admin-workspace-page .consumption-sale-submit:disabled:hover{background:#d1d5db;transform:none}
.consumption-sales-history{margin-top:0;border-top:0;padding-top:0}
.consumption-sales-create-panel:not([hidden]):not(.hidden)+.consumption-sales-history{margin-top:1.25rem;border-top:1px solid #f1f5f9;padding-top:1.25rem}
.consumption-sales-history-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.75rem}
.consumption-sales-history-heading h3{color:#111827;font-size:.95rem;font-weight:700}
.consumption-sales-history-heading p{margin-top:.125rem;color:#6b7280;font-size:.78rem;font-weight:500}
.consumption-sales-history-count{display:inline-flex;min-width:2rem;justify-content:center;border-radius:9999px;background:#f3f4f6;padding:.25rem .6rem;color:#4b5563;font-size:.75rem;font-weight:800}
.admin-empty-state.consumption-sales-empty{border:1px dashed #d1d5db;border-radius:.875rem;background:#f9fafb;padding:1.5rem}
.finished-product-picker{position:relative;min-width:0}
.finished-product-picker-trigger,.consumption-client-picker-trigger{display:flex;min-height:52px;width:100%;align-items:center;justify-content:space-between;gap:.75rem;text-align:left}
.admin-workspace-page .admin-main-root :is(.finished-product-picker-trigger,.consumption-client-picker-trigger){border-color:#ded9d1;border-radius:.75rem;background:#fffdf9;color:#292524}
.consumption-sale-stage-grid label{display:flex;align-items:center;min-height:1.25rem;margin-bottom:.5rem}
.consumption-sale-stage-grid .consumption-client-picker-trigger{height:3rem;min-height:3rem;padding-top:.25rem;padding-bottom:.25rem}
.finished-product-picker-trigger:disabled,.consumption-client-picker-trigger:disabled{cursor:not-allowed;background:#f9fafb;color:#9ca3af;opacity:.72}
.finished-product-picker-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:.125rem}
.finished-product-picker-name{overflow:hidden;color:#111827;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.finished-product-picker-meta{overflow:hidden;color:#6b7280;font-size:.75rem;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.finished-product-picker-menu{z-index:100020;overflow:hidden;border:1px solid #e5e7eb;border-radius:.875rem;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.18)}
.finished-product-picker-menu:not(.hidden){display:flex;flex-direction:column}
.finished-product-picker-search-wrap{flex:0 0 auto;padding:.75rem;border-bottom:1px solid #f3f4f6}
.finished-product-picker-search{height:44px;min-height:44px}
.finished-product-picker-options{flex:1 1 auto;min-height:0;max-height:260px;overflow-y:auto;overscroll-behavior:contain;padding:.375rem .75rem}
.finished-product-option{display:flex;width:100%;align-items:center;gap:.75rem;border-radius:.625rem;padding:.7rem 1rem;text-align:left;transition:background-color .15s ease}
.finished-product-option .finished-product-picker-name{white-space:normal;overflow-wrap:anywhere}
.finished-product-option:hover,.finished-product-option:focus-visible{background:#f0fdf4;outline:none}
.finished-product-option.is-selected{background:#ecfdf5;box-shadow:inset 0 0 0 1px #a7f3d0}
.finished-product-option:focus-visible{outline:2px solid var(--primary-color,#ef2147);outline-offset:-2px}
.finished-product-option-icon{display:flex;height:2.25rem;width:2.25rem;flex:0 0 auto;align-items:center;justify-content:center;border-radius:.6rem;background:#ecfdf5;color:#047857}
.finished-product-picker-empty{padding:1.25rem;color:#6b7280;font-size:.875rem;text-align:center}
.finished-product-picker-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;border-top:1px solid #f3f4f6;padding:.65rem .75rem}
.finished-product-picker-add,.finished-product-picker-manage{display:inline-flex;min-height:44px;max-width:100%;padding:0 1rem;border-radius:.625rem;align-items:center;gap:.35rem;font-size:.82rem;font-weight:700}
.finished-product-picker-add{color:#047857}
.finished-product-picker-add:hover{color:#065f46;text-decoration:underline}
.finished-product-picker-manage{color:#2563eb}
.finished-product-picker-manage:hover{color:#1d4ed8;text-decoration:underline}
/* Shared compact multiselect: first selected name + remaining count. */
.admin-multiselect-picker .finished-product-picker-trigger>.finished-product-picker-copy{flex-direction:row;align-items:center;gap:.5rem}
.admin-multiselect-picker .finished-product-picker-trigger .finished-product-picker-name{min-width:0}
.admin-multiselect-picker .finished-product-picker-trigger .finished-product-picker-meta:empty{display:none}
.admin-multiselect-picker .finished-product-picker-trigger>:last-child{flex-shrink:0}
.admin-multiselect-picker .finished-product-picker-trigger[aria-expanded=true]>:last-child{transform:rotate(180deg)}
.admin-multiselect-count{flex:0 0 auto;border-radius:.375rem;background:#f1f3f4;color:#475569;padding:.125rem .4375rem;font-size:.75rem;line-height:1.5;font-weight:600}
.admin-multiselect-menu .finished-product-option{min-height:48px;padding:.625rem .75rem;gap:.75rem}
.admin-multiselect-menu .finished-product-option.is-selected{box-shadow:none;background:#edf6f1}
.admin-multiselect-menu .finished-product-option[aria-selected=true]{background:#edf6f1}
.admin-multiselect-check{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:18px;height:18px;border:1px solid #64748b;border-radius:4px;background:#fff;color:#fff}
.admin-multiselect-check>*{visibility:hidden}
.admin-multiselect-menu [aria-selected=true]>.admin-multiselect-check{background:#24734b;border-color:#24734b}
.admin-multiselect-menu [aria-selected=true]>.admin-multiselect-check>*{visibility:visible}
.admin-multiselect-total{margin-left:auto;font-size:.75rem;color:#64748b;white-space:nowrap}
.admin-multiselect-menu .finished-product-picker-actions{gap:.5rem}
.admin-multiselect-menu .finished-product-picker-manage{padding:0 .75rem}
.dark .admin-multiselect-count{background:#334155;color:#e2e8f0}
.consumption-lot-field{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.65rem}
.consumption-lot-input,.consumption-lot-helper-trigger{height:52px;min-height:52px}
.consumption-lot-helper-trigger{gap:.5rem;white-space:nowrap}
.consumption-lot-helper-trigger:disabled{cursor:not-allowed;opacity:.55}
.consumption-lot-selection{grid-column:1/-1;margin-top:-.25rem;color:#047857;font-size:.75rem;font-weight:650;line-height:1.4}
.consumption-lot-helper-title{margin:0 3rem .6rem 0}
#consumption-lot-helper-modal .consumption-lot-helper-body{gap:.7rem;padding:1.1rem 1.25rem .9rem}
#consumption-lot-helper-modal .admin-modal-close-button{top:.85rem;right:1rem;width:2.25rem;height:2.25rem}
.consumption-lot-helper-intro{display:flex;flex-direction:column;gap:.5rem;color:#64748b;font-size:.8rem;line-height:1.45}
.consumption-lot-helper-intro>p:first-child{max-width:42rem}
.consumption-lot-helper-search{position:relative;display:flex;align-items:center;color:#94a3b8}
.consumption-lot-helper-search>i,.consumption-lot-helper-search>svg{position:absolute;left:.95rem;top:50%;z-index:1;display:block;transform:translateY(-50%);pointer-events:none}
.consumption-lot-helper-search input{height:44px;min-height:44px;padding-left:2.75rem}
.consumption-lot-helper-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.consumption-lot-helper-filters>div{display:flex;min-width:0;flex-direction:column;gap:.3rem}
.consumption-lot-filter-dropdown .admin-base-dropdown-trigger{height:44px;min-height:44px;border-radius:.7rem;padding:.45rem .75rem}
.consumption-lot-filter-dropdown .admin-dropdown-selected-label{font-size:.82rem}
.consumption-lot-filter-help{color:#94a3b8;font-size:.68rem;font-weight:550;line-height:1.35}
.consumption-lot-result-count{color:#64748b;font-size:.75rem;font-weight:700}
.consumption-lot-results{display:flex;flex-direction:column;gap:.55rem}
.consumption-lot-empty{border:1px dashed #cbd5e1;border-radius:.875rem;background:#f8fafc;padding:1.5rem;color:#64748b;text-align:center}
.consumption-lot-candidate{display:flex;flex-direction:column;gap:.5rem;border:1px solid #dfe5ec;border-radius:.8rem;background:#fff;padding:.7rem .8rem;transition:border-color .15s ease,box-shadow .15s ease,opacity .15s ease}
.consumption-lot-candidate:hover{border-color:#86efac;box-shadow:0 8px 20px rgba(15,23,42,.06)}
.consumption-lot-candidate.is-unavailable{background:#fbfcfd}
.consumption-lot-candidate.is-unavailable:hover{border-color:#cbd5e1;box-shadow:none}
.consumption-lot-candidate-header,.consumption-lot-candidate-footer{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.consumption-lot-candidate-header>div:first-child{min-width:0}
.consumption-lot-candidate-header h4{overflow:hidden;color:#0f172a;font-size:.88rem;font-weight:780;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.consumption-lot-candidate-header p{margin-top:.12rem;overflow:hidden;color:#64748b;font-size:.72rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.consumption-lot-candidate-badges{display:flex;flex:0 0 auto;align-items:center;gap:.4rem}
.consumption-lot-source-badge,.consumption-lot-status-badge{display:inline-flex;justify-content:center;border-radius:9999px;padding:.24rem .5rem;font-size:.65rem;font-weight:800;line-height:1.2}
.consumption-lot-source-badge{min-width:2.25rem}
.consumption-lot-source-badge.is-own{background:#dcfce7;color:#047857}
.consumption-lot-source-badge.is-import{background:#dbeafe;color:#1d4ed8}
.consumption-lot-status-badge.is-ready{background:#ecfdf5;color:#047857}
.consumption-lot-status-badge.is-blocked{background:#fff7ed;color:#c2410c}
.consumption-lot-status-badge.is-incompatible{background:#f1f5f9;color:#64748b}
.consumption-lot-metrics{display:flex;flex-wrap:wrap;gap:.35rem}
.consumption-lot-metric{display:inline-flex;align-items:baseline;gap:.3rem;border:1px solid #e8edf3;border-radius:9999px;background:#f8fafc;padding:.28rem .55rem;color:#64748b;font-size:.64rem;font-weight:700}
.consumption-lot-metric strong{color:#1e293b;font-size:.73rem;font-variant-numeric:tabular-nums}
.consumption-lot-candidate-footer{border-top:1px solid #eef2f6;padding-top:.5rem}
.consumption-lot-candidate-footer code{min-width:0;overflow:hidden;color:#047857;font-size:.84rem;font-weight:800;letter-spacing:.035em;text-overflow:ellipsis;white-space:nowrap}
.consumption-lot-use{min-height:36px;min-width:0;flex:0 0 auto;justify-content:center;border:1px solid transparent;padding:.45rem .8rem;color:#fff;font-size:.75rem;line-height:1.15;white-space:nowrap}
.consumption-lot-use.is-ready{border-color:#15803d;background:#16a34a;box-shadow:0 1px 2px rgba(21,128,61,.16)}
.consumption-lot-use.is-ready:hover{border-color:#166534;background:#15803d;color:#fff;transform:translateY(-1px)}
.consumption-lot-use.is-disabled{border:1px solid #e2e8f0;background:#f1f5f9;color:#94a3b8;box-shadow:none}
.dark .consumption-lot-use.is-ready{border-color:#22c55e;background:#15803d;color:#fff}
.dark .consumption-lot-use.is-disabled{border-color:#334155;background:#1e293b;color:#64748b}
.consumption-lot-candidate-warning,.consumption-lot-candidate-guidance{font-size:.73rem;font-weight:650;line-height:1.4}
.consumption-lot-candidate-warning{color:#9a3412}
.consumption-lot-candidate-guidance{color:#0369a1}
@media (max-width:639px){
  .consumption-sales-card-actions,.consumption-sales-header-actions{align-items:stretch;flex-direction:column;width:100%}
  .consumption-sales-summary{text-align:left}
  .consumption-products-link,.consumption-sales-create-toggle{justify-content:center;width:100%}
  .consumption-sales-create-panel{padding:.8rem}
  .consumption-sales-create-panel-heading{align-items:stretch;flex-direction:column}
  .consumption-sales-create-panel-close{justify-content:center;width:100%}
  .consumption-sale-lines-footer{align-items:stretch;flex-direction:column}
  .consumption-sale-line-add-button,.consumption-sale-submit{justify-content:center;width:100%}
  .consumption-lot-helper-filters{grid-template-columns:minmax(0,1fr)}
  .consumption-lot-candidate-header{align-items:flex-start;flex-direction:column}
  .consumption-lot-candidate-footer{align-items:stretch;flex-direction:column}
  .consumption-lot-use{justify-content:center;width:100%}
}
.finished-product-modal-company{display:flex;flex-direction:column;gap:.35rem;border:1px solid #e5e7eb;border-radius:.75rem;background:#f9fafb;padding:.85rem 1rem;color:#111827}
.finished-product-field-disabled{opacity:.55}
.finished-product-table-packaging{display:flex;align-items:center;gap:.5rem;color:#374151;font-weight:600}
.finished-product-table-crop{display:flex;align-items:center;gap:.5rem;color:#065f46;font-weight:700}
.finished-product-table-crop svg,.finished-product-table-crop i{flex:0 0 auto;color:#047857}
.admin-form-grid-lg-2{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1.5rem}
.admin-form-grid-lg-2-start{align-items:flex-start}
.admin-grid-lg-3-spacious{margin-top:1.5rem;display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1.5rem}
.admin-dashboard-grid-lg-3{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1.5rem}
.admin-dashboard-card-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:.75rem}
.admin-dashboard-tile-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:.75rem}
.admin-dashboard-health-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1rem}
.admin-dashboard-pickup-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem .75rem;margin-bottom:.5rem}
.admin-dashboard-pickup-title{display:flex;min-width:0;flex:1 1 12rem;align-items:center;gap:.75rem}
.admin-dashboard-pickup-action{display:inline-flex;min-height:2.75rem;flex:0 0 auto;align-items:center;white-space:normal}
.admin-tractor-utilization-section{min-width:0}
.admin-tractor-utilization-section-header{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}
.admin-tractor-utilization-actions{display:flex;align-items:flex-end;flex-direction:column;gap:.15rem;text-align:right}
.admin-tractor-utilization-refresh-status{color:#64748b;font-size:.65rem;line-height:.9rem}
.admin-tractor-utilization-refresh-status[aria-busy="true"]{opacity:.7}
.admin-tractor-utilization-refresh-status.is-stale{color:#b45309}
.admin-tractor-utilization-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,30rem),1fr));gap:1rem}
.admin-tractor-utilization-card{min-width:0;padding:1rem}
.admin-tractor-utilization-identity{display:grid;grid-template-columns:3.25rem minmax(0,1fr) auto;align-items:start;gap:.75rem}
.admin-tractor-utilization-image{display:flex;width:3.25rem;height:3.25rem;align-items:center;justify-content:center;overflow:hidden;border:1px solid #e5e7eb;border-radius:.75rem;background:#f9fafb;color:#047857}
.admin-tractor-utilization-image img{width:100%;height:100%;object-fit:cover}
.admin-tractor-utilization-title-wrap{min-width:0}
.admin-tractor-utilization-title{display:flex;min-height:2.75rem;align-items:center;overflow:hidden;color:#111827;font-size:.95rem;font-weight:750;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.admin-tractor-utilization-title:hover{color:var(--color-primary-text,#d51d40)}
.admin-tractor-utilization-brand{margin-top:.15rem;overflow:hidden;color:#6b7280;font-size:.75rem;line-height:1rem;text-overflow:ellipsis;white-space:nowrap}
.admin-tractor-utilization-driver{display:flex;align-items:center;gap:.3rem;min-width:0;margin-top:.35rem;color:#475569;font-size:.72rem;line-height:1rem}
.admin-tractor-utilization-driver svg{flex:0 0 auto}
.admin-tractor-utilization-driver span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-tractor-utilization-summary{display:flex;align-items:end;justify-content:space-between;gap:.75rem;margin-top:1rem}
.admin-tractor-utilization-label{color:#6b7280;font-size:.7rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.admin-tractor-utilization-value{margin-top:.1rem;color:#111827;font-size:1.15rem;font-weight:800;font-variant-numeric:tabular-nums}
.admin-tractor-utilization-date{color:#64748b;font-size:.72rem;text-align:right}
.admin-tractor-utilization-bar{display:block;width:100%;height:.75rem;margin-top:.5rem;overflow:hidden;border-radius:.25rem}
.admin-tractor-utilization-bar-empty{fill:#e5e7eb}
.admin-tractor-utilization-bar-work{fill:#16a34a}
.admin-tractor-utilization-bar-transport{fill:#64748b}
.admin-tractor-utilization-bar-idle{fill:#f97316}
.admin-tractor-utilization-legend{display:flex;flex-wrap:wrap;gap:.35rem .75rem;margin-top:.5rem;color:#64748b;font-size:.65rem;font-weight:650}
.admin-tractor-utilization-legend span{display:inline-flex;align-items:center;gap:.28rem}
.admin-tractor-utilization-dot{display:inline-block;width:.42rem;height:.42rem;border-radius:9999px}
.admin-tractor-utilization-dot-work{background:#16a34a}
.admin-tractor-utilization-dot-transport{background:#64748b}
.admin-tractor-utilization-dot-idle{background:#f97316}
.admin-tractor-utilization-dot-unknown{background:#e5e7eb}
.admin-tractor-utilization-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.35rem;margin-top:.9rem}
.admin-tractor-utilization-metrics>div{min-width:0;border:1px solid #e5e7eb;border-radius:.55rem;background:#fff;padding:.55rem .45rem}
.admin-tractor-utilization-metrics dt,.admin-tractor-utilization-fuel dt{overflow:hidden;color:#6b7280;font-size:.62rem;font-weight:700;letter-spacing:.035em;line-height:.85rem;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
.admin-tractor-utilization-metrics dd,.admin-tractor-utilization-fuel dd{margin-top:.25rem;color:#111827;font-size:.78rem;font-weight:750;font-variant-numeric:tabular-nums;line-height:1rem}
.admin-tractor-utilization-fuel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin-top:.75rem;border-radius:.65rem;background:#f8fafc;padding:.7rem .75rem}
.admin-tractor-utilization-fuel>div{min-width:0}
.admin-tractor-latest-work{margin-top:.85rem;border:1px solid #dbeafe;border-radius:.7rem;background:#f8fafc;padding:.7rem}
.admin-tractor-latest-work-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;color:#64748b;font-size:.65rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.admin-tractor-latest-work-heading span:last-child{font-weight:600;letter-spacing:0;text-transform:none}
.admin-tractor-latest-work-summary{display:flex;align-items:end;justify-content:space-between;gap:.75rem;margin-top:.45rem}
.admin-tractor-latest-work-summary>div{display:flex;min-width:0;flex-direction:column;gap:.12rem}
.admin-tractor-latest-work-summary strong{overflow:hidden;color:#0f172a;font-size:.84rem;text-overflow:ellipsis;white-space:nowrap}
.admin-tractor-latest-work-summary span{overflow:hidden;color:#475569;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}
.admin-tractor-latest-work-summary dl{display:grid;flex:0 0 auto;grid-template-columns:repeat(2,minmax(5.2rem,1fr));gap:.35rem}
.admin-tractor-latest-work-summary dt{color:#64748b;font-size:.58rem;font-weight:700;text-transform:uppercase}
.admin-tractor-latest-work-summary dd{margin-top:.1rem;color:#0f172a;font-size:.7rem;font-weight:750;text-align:right}
.admin-tractor-latest-work-map{margin-top:.55rem;overflow:hidden;border:1px solid #cbd5e1;border-radius:.6rem}
.admin-tractor-latest-work-note,.admin-tractor-latest-work-empty{margin-top:.45rem;color:#64748b;font-size:.63rem;line-height:.9rem}
.admin-tractor-health-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:.85rem;color:#64748b;font-size:.65rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.admin-tractor-health-heading span:last-child{font-weight:600;letter-spacing:0;text-transform:none}
.admin-tractor-health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;margin-top:.4rem}
.admin-tractor-health-item{min-width:0;border:1px solid #e2e8f0;border-radius:.6rem;background:#f8fafc;padding:.58rem .62rem}
.admin-tractor-health-item dt{color:#64748b;font-size:.62rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase}
.admin-tractor-health-item dd{margin-top:.22rem;color:#0f172a;font-size:.77rem;font-weight:800;line-height:1rem}
.admin-tractor-health-item small{display:-webkit-box;overflow:hidden;margin-top:.18rem;color:#64748b;font-size:.62rem;line-height:.82rem;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.admin-tractor-health-item.is-success{border-color:#bbf7d0;background:#f0fdf4}
.admin-tractor-health-item.is-success dd{color:#166534}
.admin-tractor-health-item.is-danger{border-color:#fecaca;background:#fef2f2}
.admin-tractor-health-item.is-danger dd{color:#b91c1c}
.admin-tractor-utilization-footer{display:flex;align-items:start;justify-content:space-between;gap:.75rem;margin-top:.65rem;color:#64748b;font-size:.65rem;line-height:.9rem}
.admin-tractor-utilization-footer span{min-width:0}
.admin-tractor-utilization-footer a{display:inline-flex;min-height:2.75rem;align-items:center;flex:0 0 auto;color:var(--color-primary-text,#d51d40);font-weight:700}
.admin-tractor-utilization-footer a:hover{text-decoration:underline}
.dark .admin-tractor-utilization-image{border-color:#334155;background:#1e293b;color:#4ade80}
.dark .admin-tractor-utilization-title,.dark .admin-tractor-utilization-value,.dark .admin-tractor-utilization-metrics dd,.dark .admin-tractor-utilization-fuel dd{color:#f8fafc}
.dark .admin-tractor-utilization-brand,.dark .admin-tractor-utilization-driver,.dark .admin-tractor-utilization-date,.dark .admin-tractor-utilization-legend,.dark .admin-tractor-utilization-footer{color:#94a3b8}
.dark .admin-tractor-utilization-refresh-status{color:#94a3b8}
.dark .admin-tractor-utilization-refresh-status.is-stale{color:#fbbf24}
.dark .admin-tractor-utilization-bar-empty{fill:#334155}
.dark .admin-tractor-utilization-dot-unknown{background:#334155}
.dark .admin-tractor-utilization-metrics>div{border-color:#334155;background:#0f172a}
.dark .admin-tractor-utilization-fuel{background:#1e293b}
.dark .admin-tractor-latest-work{border-color:#334155;background:#0f172a}
.dark .admin-tractor-latest-work-heading,.dark .admin-tractor-latest-work-summary span,.dark .admin-tractor-latest-work-note,.dark .admin-tractor-latest-work-empty{color:#94a3b8}
.dark .admin-tractor-latest-work-summary strong,.dark .admin-tractor-latest-work-summary dd{color:#f8fafc}
.dark .admin-tractor-latest-work-map{border-color:#475569}
.dark .admin-tractor-utilization-metrics dt,.dark .admin-tractor-utilization-fuel dt{color:#94a3b8}
.dark .admin-tractor-health-heading,.dark .admin-tractor-health-item dt,.dark .admin-tractor-health-item small{color:#94a3b8}
.dark .admin-tractor-health-item{border-color:#334155;background:#0f172a}
.dark .admin-tractor-health-item dd{color:#f8fafc}
.dark .admin-tractor-health-item.is-success{border-color:#166534;background:#052e16}
.dark .admin-tractor-health-item.is-success dd{color:#86efac}
.dark .admin-tractor-health-item.is-danger{border-color:#991b1b;background:#450a0a}
.dark .admin-tractor-health-item.is-danger dd{color:#fca5a5}
.admin-detail-grid-lg-3{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1.5rem}
.admin-role-permissions-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1.5rem}
.admin-service-company-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));align-items:stretch;gap:1.5rem}
.admin-detail-grid-xl-2-start{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));align-items:flex-start;gap:1rem}
.admin-map-filter-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:.75rem}
.admin-card-grid-sm-3{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:.75rem}
.admin-card-grid-sm-3-compact{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:.5rem}
.admin-card-grid-lg-4{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1rem}
.admin-card-grid-xl-3{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:.75rem}
.admin-form-grid-sm-3-end{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));align-items:flex-end;gap:1rem}
.admin-remote-cooling-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1rem}
.admin-remote-cooling-grid>div{min-width:0}
.admin-remote-cooling-url-field{grid-column:1/-1}
.admin-warehouse-cooling-service-control{min-width:0}
.admin-warehouse-cooling-service-field{max-width:28rem}
.admin-warehouse-cooling-fields{margin-top:1.25rem}
.admin-cooling-schedule-editor{display:flex;flex-direction:column;align-items:flex-start;gap:1rem}
.admin-cooling-schedule-list{display:grid;width:100%;gap:1rem}
.admin-cooling-schedule-empty{width:100%;border:1px dashed #cbd5e1;border-radius:.75rem;background:#f8fafc;padding:1rem;color:#64748b;font-size:.875rem;line-height:1.5}
.admin-cooling-schedule-rule{width:100%;min-width:0;border:1px solid #e2e8f0;border-radius:.75rem;background:#f8fafc;padding:1rem}
.admin-cooling-schedule-rule-header{display:flex;width:100%;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;padding:0}
.admin-cooling-schedule-remove{min-width:2.75rem;min-height:2.75rem;border:1px solid #fecdca;border-radius:.625rem;background:#fff;color:#b42318;padding:.5rem .75rem;font-size:.8rem;font-weight:600;cursor:pointer}
.admin-cooling-schedule-remove:hover{color:#7a271a}
.admin-cooling-schedule-fields{display:grid;grid-template-columns:minmax(0,1fr);align-items:end;gap:1rem}
.admin-cooling-schedule-field{min-width:0}
.admin-cooling-schedule-enabled{width:1.25rem;height:1.25rem;accent-color:#16a34a}
.admin-cooling-schedule-enabled-label{display:flex;align-items:center;justify-content:center;min-width:3rem;min-height:3rem;width:fit-content;cursor:pointer}
.admin-cooling-schedule-enabled-label:focus-within,.admin-cooling-schedule-day:focus-within{outline:2px solid #b45309;outline-offset:2px}
.admin-cooling-schedule-days{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:1rem}
.admin-cooling-schedule-days>.admin-field-label-strong{width:100%;margin-bottom:.125rem}
.admin-cooling-schedule-day{display:inline-flex;min-height:2.75rem;min-width:2.75rem;align-items:center;justify-content:center;gap:.4rem;border:1px solid #cbd5e1;border-radius:.625rem;background:#fff;padding:.45rem .7rem;color:#334155;font-size:.8rem;font-weight:600;cursor:pointer}
.admin-cooling-schedule-editor>[data-cooling-schedule-add]{align-self:stretch}
.admin-cooling-schedule-day:has(input:checked){border-color:#16a34a;background:#f0fdf4;color:#166534}
.admin-cooling-schedule-day input{width:1rem;height:1rem;accent-color:#16a34a}
.admin-cooling-schedule-status{margin-top:.75rem}
.dark .admin-cooling-schedule-empty,.dark .admin-cooling-schedule-rule{border-color:#344054;background:#101828;color:#98a2b3}
.dark .admin-cooling-schedule-day{border-color:#475467;background:#1d2939;color:#d0d5dd}
.dark .admin-cooling-schedule-day:has(input:checked){border-color:#22c55e;background:#052e16;color:#86efac}
.dark .admin-cooling-schedule-remove{color:#fda29b}
.admin-warehouse-location-grid{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:1rem}
.admin-warehouse-location-action{display:flex;min-width:0;flex-direction:column}
.admin-warehouse-location-button{display:inline-flex;min-height:3rem;width:100%;align-items:center;justify-content:center;gap:.5rem}
.admin-warehouse-location-picker-copy{margin-bottom:1rem;padding-right:2.5rem}
.admin-warehouse-location-picker .admin-map-canvas{height:clamp(18rem,52vh,31.25rem)}
.admin-warehouse-location-selection{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;margin-top:1rem;border:1px solid #e5e7eb;border-radius:.75rem;background:#f9fafb;padding:.75rem 1rem;color:#6b7280;font-size:.8rem}
.admin-warehouse-location-selection strong{color:#111827;font-variant-numeric:tabular-nums}
.admin-file-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:.75rem}
.admin-document-upload-flow{margin:1.25rem 1.5rem 1.5rem}
.admin-document-upload-integrated{display:grid;min-width:0;grid-template-columns:minmax(18rem,25rem) minmax(18rem,1fr) auto;grid-template-areas:"category drop browse" "queue queue queue";align-items:center;gap:1.25rem;border:2px dashed #f79072;border-radius:1rem;background:#f9fafb;padding:1rem 1.25rem;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
.admin-document-upload-integrated:not(:has(.admin-file-attachments-panel-disabled)):hover,.admin-document-upload-integrated:has(.admin-file-attachments-panel-compact.is-dragover){border-color:#f49a7e;background:#fffaf7;box-shadow:0 0 0 3px rgba(239,33,71,.06)}
.admin-document-upload-toolbar{display:contents}
.admin-document-upload-category{grid-area:category}
.admin-document-upload-category,.admin-document-category-field{min-width:0}
.admin-document-upload-category-help{margin:.35rem 0 0;color:#667085;font-size:.75rem;line-height:1rem}
.admin-document-upload-browse{display:inline-flex;grid-area:browse;min-height:2.5rem;min-width:7.5rem;align-items:center;justify-content:center;gap:.5rem;border:1px solid #d0d5dd;border-radius:.625rem;background:#fff;padding:.5rem .875rem;cursor:pointer;color:#344054;font-size:.875rem;line-height:1.25rem;font-weight:500;box-shadow:0 1px 2px rgba(16,24,40,.05)}
.admin-document-upload-browse:hover{border-color:#f49a7e;background:#fff4f6;color:#c72d04}
.admin-document-upload-integrated:has(.admin-file-attachments-panel-disabled) .admin-document-upload-browse{pointer-events:none;opacity:.55}
.admin-document-upload-flow .admin-file-attachments-panel-compact{grid-area:drop;min-height:5.25rem;margin:0;border:0;background:transparent;padding:0;box-shadow:none}
.admin-document-upload-flow .admin-file-attachments-panel-compact:hover,.admin-document-upload-flow .admin-file-attachments-panel-compact.is-dragover{border-color:transparent;background:transparent;box-shadow:none}
.admin-document-upload-flow .admin-file-attachments-header-compact{justify-content:center;padding:.375rem;text-align:left}
.admin-document-upload-flow .admin-file-attachments-compact-copy{max-width:42rem;flex:0 1 auto}
.admin-document-upload-flow .admin-file-attachments-panel-compact .admin-file-attachments-list{margin:.625rem 0 0}
.admin-document-upload-flow .admin-file-attachments-list-detached{display:grid;grid-area:queue;grid-template-columns:repeat(auto-fit,minmax(min(18rem,100%),1fr));align-items:stretch;gap:.75rem;margin:.25rem 0 0;cursor:default}
.admin-document-upload-flow .admin-file-attachments-list-detached:has(>.admin-file-add-tile:only-child){display:none}
.admin-document-upload-flow .admin-file-attachments-list-detached .admin-file-add-tile{display:none;padding:0;border:0}
.admin-document-upload-flow .admin-file-attachments-list-detached .admin-file-row{min-width:0;width:auto;padding-right:2rem}
.admin-document-upload-flow .admin-file-attachments-list-detached .admin-file-remove-button{top:.375rem;right:.375rem}
.admin-document-upload-flow .admin-file-attachments-list-detached .admin-file-row>div:last-child{min-width:0}
.admin-document-upload-flow .admin-file-attachments-list-detached .admin-file-row-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-file-attachments-panel-compact{min-height:9rem;margin:1.25rem 1.5rem 1.5rem;border-style:dashed;background:#f9fafb;padding:1.5rem 1.75rem;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
.admin-file-attachments-panel-compact:hover,.admin-file-attachments-panel-compact.is-dragover{border-color:#f49a7e;background:#fffaf7;box-shadow:0 0 0 3px rgba(239,33,71,.06)}
.admin-file-attachments-panel-compact.admin-file-attachments-panel-disabled{cursor:not-allowed;opacity:.58}
.admin-file-attachments-panel-compact.admin-file-attachments-panel-disabled:hover{border-color:#d0d5dd;background:#f9fafb;box-shadow:none}
.admin-file-attachments-panel-disabled .admin-file-attachments-upload-label-compact{pointer-events:none}
.admin-file-attachments-header-compact{min-height:4.5rem;margin:0;display:flex;align-items:center;gap:1rem;border-radius:.75rem;outline:0}
.admin-file-attachments-header-compact:focus-visible{box-shadow:0 0 0 3px rgba(239,33,71,.18)}
.admin-file-attachments-compact-icon{display:flex;width:2.5rem;height:2.5rem;flex:none;align-items:center;justify-content:center;border-radius:.625rem;background:#fff0f3;color:#ef2147}
.admin-file-attachments-compact-copy{display:flex;min-width:0;flex:1 1 0%;flex-direction:column;gap:.125rem}
.admin-file-attachments-compact-title{font-size:.875rem;line-height:1.25rem;font-weight:600;color:#1f2937}
.admin-file-attachments-compact-description{font-size:.75rem;line-height:1rem;color:#667085}
.admin-file-attachments-upload-label-compact{display:inline-flex;min-height:2.5rem;align-items:center;justify-content:center;border:1px solid #d0d5dd;border-radius:.625rem;background:#fff;padding:.5rem .875rem;color:#344054;box-shadow:0 1px 2px rgba(16,24,40,.05)}
.admin-file-attachments-upload-label-compact:hover{border-color:#f49a7e;background:#fff4f6;color:#c72d04}
.admin-file-attachments-panel-compact .admin-file-attachments-list{align-items:stretch;margin-top:1rem;cursor:default}
.admin-file-attachments-panel-compact .admin-file-attachments-list:has(>.admin-file-add-tile:only-child){display:none}
.admin-file-attachments-panel-compact .admin-file-add-tile{display:none}
.admin-document-workspace{display:grid;min-width:0;gap:1rem;margin:0 1.5rem 1.5rem}
.admin-document-list-pane,.admin-document-preview-pane{min-width:0}
.admin-document-list-pane{border:0;border-radius:0;background:transparent;padding:.125rem 0;box-shadow:none}
.admin-document-preview-pane{border:1px solid #e4e7ec;border-radius:.875rem;background:#fff}
.admin-document-list-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding:.125rem .125rem .875rem}
.admin-document-storage-status{display:inline-flex;min-height:1.75rem;align-items:center;gap:.375rem;border-radius:9999px;background:#ecfdf3;padding:.25rem .625rem;font-size:.7rem;line-height:1rem;font-weight:600;color:#067647;white-space:nowrap}
.admin-document-list{display:flex;flex-direction:column;border-top:1px solid #e4e7ec}
.admin-document-row{display:flex;min-width:0;align-items:center;border:0;border-bottom:1px solid #e4e7ec;background:transparent;transition:background-color .15s ease,box-shadow .15s ease}
.admin-document-row:hover{background:#f9fafb}
.admin-document-row:has(.admin-document-select[aria-pressed="true"]){background:#fff4f6;box-shadow:inset 3px 0 0 #ef2147}
.admin-document-select{display:grid;min-width:0;flex:1 1 0%;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem;border:0;background:transparent;padding:.75rem;text-align:left;color:#1f2937;cursor:pointer}
.admin-document-select:focus-visible{outline:2px solid #ef2147;outline-offset:2px;border-radius:.625rem}
.admin-document-icon{display:flex;width:2.5rem;height:2.5rem;flex:none;align-items:center;justify-content:center;border-radius:.625rem;background:#f2f4f7;color:#475467}
.admin-document-select[data-preview-kind="pdf"] .admin-document-icon{background:#fef3f2;color:#d92d20}
.admin-document-select[data-preview-kind="image"] .admin-document-icon{background:#ecfdf3;color:#067647}
.admin-document-identity{display:flex;min-width:0;flex-direction:column;gap:.125rem}
.admin-document-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;line-height:1.25rem;font-weight:600;color:#101828}
.admin-document-meta{display:flex;min-width:0;flex-wrap:wrap;align-items:center;gap:.35rem;font-size:.7rem;line-height:1rem;color:#667085}
.admin-document-category{display:inline-flex;align-items:center;border-radius:9999px;background:#fff0f3;padding:.125rem .45rem;color:#b93815;font-weight:650}
.admin-document-ready{display:none;align-items:center;gap:.3rem;font-size:.7rem;line-height:1rem;color:#067647;white-space:nowrap}
.admin-document-row-delete{display:flex;width:2.75rem;height:2.75rem;flex:none;align-items:center;justify-content:center;border:0;border-left:1px solid #e4e7ec;background:transparent;color:#b42318;cursor:pointer}
.admin-document-row-delete:hover{background:#fef3f2;color:#912018}
.admin-document-row-delete:focus-visible{outline:2px solid #b42318;outline-offset:-3px}
.admin-document-list-empty{padding:.75rem 0 0}
.admin-document-preview-pane{display:flex;min-height:26rem;flex-direction:column;overflow:hidden}
.admin-document-preview-heading{display:flex;min-height:4.5rem;align-items:center;justify-content:space-between;gap:.75rem;border-bottom:1px solid #e4e7ec;padding:.75rem .875rem}
.admin-document-preview-heading-copy{min-width:0}
.admin-document-preview-title{font-size:.7rem;line-height:1rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#667085}
.admin-document-preview-file{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:.125rem;font-size:.85rem;line-height:1.25rem;font-weight:600;color:#101828}
.admin-document-preview-type{font-size:.7rem;line-height:1rem;color:#667085}
.admin-document-preview-actions{display:flex;flex:none;align-items:center;gap:.375rem}
.admin-document-preview-action{display:inline-flex;min-height:2.5rem;align-items:center;justify-content:center;gap:.375rem;border:1px solid #d0d5dd;border-radius:.625rem;background:#fff;padding:.45rem .65rem;font-size:.75rem;line-height:1rem;font-weight:600;color:#344054;box-shadow:0 1px 2px rgba(16,24,40,.05)}
.admin-document-preview-action:hover{border-color:#f49a7e;background:#fff4f6;color:#c72d04}
.admin-document-preview-stage{display:grid;min-height:22rem;flex:1 1 auto;place-items:center;background:#f2f4f7;padding:.875rem}
.admin-document-preview-placeholder,.admin-document-preview-loading,.admin-document-preview-unsupported,.admin-document-preview-error{display:flex;max-width:22rem;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;text-align:center;font-size:.8rem;line-height:1.25rem;color:#667085}
.admin-document-preview-unsupported{color:#475467}
.admin-document-preview-error{color:#b42318}
.admin-document-preview-image{display:block;max-width:100%;max-height:34rem;border-radius:.375rem;background:#fff;box-shadow:0 8px 22px rgba(16,24,40,.12);object-fit:contain}
.admin-document-preview-frame{display:block;width:100%;min-height:34rem;align-self:stretch;border:0;border-radius:.375rem;background:#fff;box-shadow:0 8px 22px rgba(16,24,40,.12)}
.dark .admin-document-storage-status{background:#074d31;color:#75e0a7}
.dark .admin-document-upload-integrated{border-color:#ff9c7a;background:#101828}
.dark .admin-document-upload-integrated:not(:has(.admin-file-attachments-panel-disabled)):hover,.dark .admin-document-upload-integrated:has(.admin-file-attachments-panel-compact.is-dragover){border-color:#ff9c7a;background:#1b1f2a}
.dark .admin-document-upload-category-help{color:#98a2b3}
.dark .admin-document-category{background:#401306;color:#ffb199}
.dark .admin-file-attachments-panel-compact{border-color:#475467;background:#101828}
.dark .admin-file-attachments-panel-compact:hover,.dark .admin-file-attachments-panel-compact.is-dragover{border-color:#ff9c7a;background:#1b1f2a}
.dark .admin-file-attachments-compact-icon{background:#401306;color:#ff9c7a}
.dark .admin-file-attachments-compact-title,.dark .admin-document-name,.dark .admin-document-preview-file{color:#f2f4f7}
.dark .admin-file-attachments-compact-description,.dark .admin-document-meta,.dark .admin-document-preview-title,.dark .admin-document-preview-type{color:#98a2b3}
.dark .admin-file-attachments-upload-label-compact,.dark .admin-document-upload-browse,.dark .admin-document-preview-action{border-color:#475467;background:#1d2939;color:#d0d5dd}
.dark .admin-document-list-pane{background:transparent}
.dark .admin-document-preview-pane{border-color:#344054;background:#1d2939}
.dark .admin-document-list{border-color:#344054}
.dark .admin-document-row{border-color:#344054;background:transparent}
.dark .admin-document-row:hover{background:#182230}
.dark .admin-document-row:has(.admin-document-select[aria-pressed="true"]){background:#38180e;box-shadow:inset 3px 0 0 #ff6b3d}
.dark .admin-document-select{color:#f2f4f7}
.dark .admin-document-icon{background:#344054;color:#d0d5dd}
.dark .admin-document-row-delete,.dark .admin-document-preview-heading{border-color:#344054}
.dark .admin-document-preview-stage{background:#101828}
@media (min-width:768px){.admin-document-ready{display:inline-flex}}
@media (min-width:1024px){.admin-document-upload-integrated{grid-template-rows:auto auto auto auto;grid-template-areas:"category-label . ." "category-control drop browse" "category-help . ." "queue queue queue";column-gap:1.25rem;row-gap:.35rem}.admin-document-upload-category,.admin-document-category-field{display:contents}.admin-document-category-field>.admin-field-label-icon{grid-area:category-label;margin:0}.admin-document-category-field>.admin-base-dropdown{grid-area:category-control}.admin-document-category-field>.admin-field-error{grid-column:1;grid-row:5}.admin-document-upload-category-help{grid-area:category-help;margin:0}.admin-document-workspace{grid-template-columns:minmax(0,1.15fr) minmax(20rem,.85fr)}}
@media (max-width:1023px){.admin-document-upload-integrated{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"category browse" "drop drop" "queue queue"}.admin-document-upload-flow .admin-file-attachments-panel-compact{min-height:6.5rem}}
@media (max-width:767px){.admin-document-upload-integrated{grid-template-columns:minmax(0,1fr);grid-template-areas:"category" "drop" "browse" "queue"}.admin-document-upload-browse{width:100%}}
@media (max-width:639px){.admin-document-upload-flow{margin-left:1rem;margin-right:1rem}.admin-document-upload-integrated{gap:.875rem;padding:.875rem}.admin-file-attachments-panel-compact,.admin-document-workspace{margin-left:1rem;margin-right:1rem}.admin-document-upload-flow .admin-file-attachments-panel-compact{min-height:8rem;margin-left:0;margin-right:0;padding:0}.admin-document-upload-flow .admin-file-attachments-header-compact{align-items:center;flex-direction:column;justify-content:center;flex-wrap:nowrap;text-align:center}.admin-file-attachments-panel-compact{min-height:12rem;padding:1.25rem}.admin-file-attachments-header-compact{align-items:flex-start;flex-wrap:wrap}.admin-file-attachments-upload-label-compact{width:100%}.admin-document-list-heading,.admin-document-preview-heading{align-items:stretch;flex-direction:column}.admin-document-storage-status{align-self:flex-start}.admin-document-preview-actions{width:100%}.admin-document-preview-action{flex:1 1 0%}.admin-document-preview-frame{min-height:25rem}.admin-document-preview-pane{min-height:22rem}}
.admin-land-editor-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1rem}
.admin-land-editor-shell{display:flex;min-height:0;flex-direction:column;gap:.75rem}
.admin-land-editor-toolbar{display:flex;min-width:0;align-items:center;gap:.375rem;padding-right:3.25rem}
.admin-land-editor-tool-button{display:inline-flex;width:2.75rem;min-width:2.75rem;height:2.75rem;min-height:2.75rem;align-items:center;justify-content:center;border:1px solid #d0d5dd;border-radius:.75rem;background:#fff;color:#344054;box-shadow:0 1px 2px rgba(16,24,40,.05);transition:border-color .15s ease,background-color .15s ease,color .15s ease,box-shadow .15s ease}
.admin-land-editor-tool-button:hover{border-color:#98a2b3;background:#f9fafb;color:#101828}
.admin-land-editor-tool-button:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(70,95,255,.18)}
.admin-land-editor-tool-button:disabled{cursor:not-allowed;opacity:.45}
.admin-land-editor-tool-button-danger:not(:disabled){color:#b42318}
.admin-land-editor-tool-button-location:not(:disabled){border-color:#84adff;color:#175cd3}
.admin-land-editor-tool-button-waypoint:not(:disabled){border-color:#abefc6;color:#067647}
.admin-land-editor-feedback{display:grid;grid-template-columns:minmax(0,1fr);gap:.25rem;min-height:2.75rem;border:1px solid #e4e7ec;border-radius:.75rem;background:#f9fafb;padding:.5rem .75rem}
.admin-land-editor-boundary-status,.admin-land-editor-location-status{margin:0;font-size:.75rem;line-height:1rem;color:#475467;overflow-wrap:anywhere}
.admin-land-editor-boundary-status{font-weight:600;color:#344054}
.admin-land-editor-location-status[data-state="loading"]{color:#175cd3}
.admin-land-editor-location-status[data-state="ready"]{color:#067647}
.admin-land-editor-location-status[data-state="ready"][data-accuracy-quality="weak"]{color:#b54708}
.admin-land-editor-location-status[data-state="error"]{color:#b42318}
.admin-land-editor #create-land-boundary-editor-map{border-radius:.875rem}
.admin-land-editor .admin-modal-close-button{top:.75rem;right:.75rem}
.admin-land-editor .admin-modal-footer{padding:.75rem 1rem}
.admin-land-editor .admin-modal-footer .admin-action-button{min-height:3.25rem;border-radius:.875rem;font-weight:700}
.admin-subtle-panel{border:1px solid #e5e7eb;border-radius:.5rem;background:rgba(249,250,251,.9);padding:1rem}
/* Clip flush card surfaces without creating a scroll container; explicit
   component/utility overflow contracts still take precedence. */
@layer base{.admin-card-shell{overflow:clip}}
.admin-card-shell{border:1px solid #e5e7eb;border-radius:.75rem;background:#fff;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05))}
.admin-form-row-card{display:flex;align-items:flex-start;gap:.75rem;border:1px solid #e5e7eb;border-radius:.5rem;background:#f9fafb;padding:.75rem}
.admin-seed-item-field,.admin-seed-payment-field{min-width:0}
.admin-seed-item-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(6rem,.6fr);align-items:start}
.admin-seed-item-row:has([data-admin-seed-remove-item-button]:not(.hidden)){grid-template-columns:repeat(3,minmax(0,1fr)) minmax(6rem,.6fr) 44px}
.admin-seed-item-row .admin-seed-item-field{width:100%;min-width:0}
.admin-seed-item-row [data-admin-seed-stock-chip]{grid-column:1/-1;order:1}
.admin-seed-item-row .admin-seed-item-field .admin-base-dropdown-trigger,.admin-seed-item-row .admin-form-control,.admin-seed-payment-row .admin-form-control{height:3rem;min-height:3rem}
.admin-seed-item-row label{display:flex;align-items:center;min-height:1.25rem;margin-bottom:.5rem}
.admin-seed-item-row [data-admin-seed-remove-item-button]{align-self:end}
@layer utilities{
  .admin-seed-order-card{width:100%;max-width:100%!important}
  .admin-seed-order-guided{--seed-order-soft:#f8f7f4;--seed-order-line:#e8e4de;--seed-order-muted:#756f68;--seed-order-ink:#302d29;padding:1.5rem 2rem}
  .admin-seed-order-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-bottom:2rem}
  .admin-seed-order-steps .admin-secondary-button{justify-content:flex-start;min-width:0;min-height:3rem;white-space:normal}
  .admin-seed-order-steps [aria-current="step"]{background:#fff0f3!important;border-color:var(--color-brand-500)!important;color:var(--color-brand-600)!important}
  .admin-seed-order-step-number{display:inline-grid;place-items:center;flex-shrink:0;width:1.5rem;height:1.5rem;border-radius:50%;background:var(--seed-order-soft);font-size:.75rem}
  .admin-seed-order-steps .is-complete .admin-seed-order-step-number{background:#e8f5ec;color:#267b48}
  .admin-seed-order-customer-field{width:100%;padding:1rem 0 2rem}
  .admin-seed-order-customer-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;margin-bottom:1.5rem;background:var(--seed-order-soft);border-radius:.75rem}
  .admin-seed-order-customer-summary>div{display:flex;align-items:center;gap:.75rem;min-width:0;overflow-wrap:anywhere}
  .admin-seed-order-items{display:block!important;gap:0!important;border:1px solid var(--seed-order-line);border-radius:.75rem;overflow:clip;margin-top:1rem}
  .admin-seed-order-items .admin-seed-item-row{margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;padding:.75rem!important;gap:.625rem}
  .admin-seed-order-items .admin-seed-item-row+.admin-seed-item-row{border-top:1px solid var(--seed-order-line)!important}
  .admin-seed-order-stock-summary{margin-top:1.25rem;padding:1rem;border:1px solid var(--seed-order-line);border-radius:.75rem;background:var(--seed-order-soft)}
  .admin-seed-order-stock-row{padding:.75rem 0;border-bottom:1px solid var(--seed-order-line)}
  .admin-seed-order-stock-row:last-child{border-bottom:0;padding-bottom:0}
  .admin-seed-order-stock-values{display:grid;grid-template-columns:minmax(0,1.8fr) repeat(5,minmax(0,1fr));gap:1rem;align-items:start}
  .admin-seed-order-stock-item{min-width:0;overflow-wrap:anywhere;font-size:.875rem}
  .admin-seed-order-stock-item span{display:block;margin-top:.25rem;color:var(--seed-order-muted);font-size:.75rem}
  .admin-seed-order-stock-values .admin-seed-coverage-metric{background:transparent;padding:0;border-radius:0}
  .admin-seed-order-stock-values .admin-seed-coverage-metric strong{font-size:1rem}
  .admin-seed-order-stock-feedback{display:flex;justify-content:space-between;align-items:center;gap:.5rem}
  .admin-seed-order-stock-feedback .admin-seed-coverage-message{margin-bottom:0}
  .admin-seed-coverage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}
  .admin-seed-coverage-metric{min-width:0;background:var(--seed-order-soft);border-radius:.5rem;padding:.75rem}
  .admin-seed-coverage-metric span{display:block;color:var(--seed-order-muted);font-size:.75rem;line-height:1.25rem}
  .admin-seed-coverage-metric strong{display:block;margin-top:.25rem;font-size:1.125rem;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
  .admin-seed-coverage-metric .is-shortage{color:#996719}
  .admin-seed-coverage-message{margin-top:.625rem;color:var(--seed-order-muted);font-size:.8125rem}
  .admin-seed-order-review{margin:1rem 0 1.5rem;padding:1rem;background:var(--seed-order-soft);border-radius:.75rem}
  .admin-seed-order-review-item,.admin-seed-order-review-total{display:flex;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--seed-order-line)}
  .admin-seed-order-review-item>div{min-width:0;overflow-wrap:anywhere}
  .admin-seed-order-review-item>div:last-child{text-align:right}
  .admin-seed-order-review-item span{display:block;color:var(--seed-order-muted);font-size:.8125rem;margin-top:.25rem}
  .admin-seed-order-review-total{border:0;padding-bottom:0}
  .admin-seed-order-optional{display:grid;gap:1rem}
  .admin-seed-order-help{font-size:.875rem;color:var(--seed-order-muted);margin:1.5rem 0}
  .admin-seed-order-error{color:#b42318;margin:1rem 0;font-size:.875rem}
  .admin-seed-order-footer{display:flex;justify-content:space-between;gap:1rem;align-items:center;border-top:1px solid var(--seed-order-line);padding-top:1.25rem;margin-top:1.5rem}
  .admin-seed-order-continue{background:var(--color-brand-500)!important;border-color:var(--color-brand-500)!important;color:#fff!important}
  .admin-seed-order-footer .admin-form-actions-row{margin:0!important;border-top:0!important;padding-top:0!important}
  .dark .admin-seed-order-guided{--seed-order-soft:#252831;--seed-order-line:#3a3e48;--seed-order-muted:#b4b7c0;--seed-order-ink:#ece9e3}
  .dark .admin-seed-coverage-metric .is-shortage{color:#f4ca83}
  @media(max-width:767px){
    .admin-seed-order-guided{padding:1.25rem}
    .admin-seed-order-steps{gap:.5rem;margin-bottom:1.5rem}
    .admin-seed-order-steps .admin-secondary-button{flex-direction:column;gap:.375rem;font-size:.8125rem;padding:.625rem .25rem;text-align:center}
    .admin-seed-coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .admin-seed-order-items .admin-seed-item-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
    .admin-seed-order-items .admin-seed-quality-field{grid-column:1/-1}
    .admin-seed-order-items [data-admin-seed-remove-item-button]{grid-column:2;justify-self:end;margin-top:0}
    .admin-seed-order-items .admin-dropdown-selected-label{white-space:normal!important;overflow-wrap:anywhere;text-overflow:clip!important}
    .admin-seed-order-items .admin-base-dropdown-trigger{height:auto!important;min-height:3rem}
    .admin-seed-order-items .admin-dropdown-selected-svg{display:none!important}
    .admin-seed-order-stock-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
    .admin-seed-order-stock-item{grid-column:1/-1}
    .admin-seed-order-stock-feedback{align-items:flex-start;flex-direction:column}
    .admin-seed-order-customer-summary{align-items:flex-start;flex-direction:column}
    .admin-seed-order-footer{flex-wrap:wrap}
    .admin-seed-order-footer>.admin-form-actions-row{width:100%}
    .admin-seed-order-footer .admin-form-actions-row>span,.admin-seed-order-footer .admin-form-actions-row>span>button{width:100%}
  }
}
.admin-form-actions-row{margin-top:1.5rem;display:flex;align-items:center;justify-content:flex-end;gap:.75rem;border-top:1px solid #e5e7eb;padding-top:1.5rem}
.admin-form-actions-row>.admin-action-button,.admin-form-actions-row>.admin-cancel-button,.admin-form-actions-row>.admin-secondary-button{min-height:2.75rem}
.admin-form-actions-row-spacious{margin-top:2rem}
.admin-warehouse-form-section{margin-bottom:1.5rem;min-width:0}
.admin-warehouse-form-section:last-child{margin-bottom:0}
.admin-warehouse-form .admin-input-control,.admin-warehouse-form .admin-base-dropdown-trigger{height:3rem;min-height:3rem;border-radius:.75rem;font-size:1rem}
.admin-warehouse-form .admin-input-control{padding:.625rem 1rem}
.admin-warehouse-form .admin-textarea-control{min-height:8rem;padding:.625rem 1rem;font-size:1rem;line-height:1.5}
.admin-warehouse-form .admin-field-label-strong{min-height:1.5rem;margin-bottom:.5rem;font-size:.875rem;line-height:1.5rem}
.admin-warehouse-form .admin-dropdown-selected-label-placeholder{color:#667085}
.admin-warehouse-form label .text-red-500{color:#b42318}
.admin-warehouse-form.admin-form-contained{padding-bottom:0}
.admin-warehouse-form .admin-warehouse-cooling-service-field{max-width:none}
.admin-warehouse-form .admin-field-help{margin-top:.45rem;line-height:1.4}
.admin-warehouse-cooling-grid{row-gap:1.25rem}
.admin-section-divider-line{margin-top:1.5rem;margin-bottom:1.5rem;border-top:1px solid #e5e7eb}
.admin-section-divider-line-top{margin-top:1.5rem;border-top:1px solid #e5e7eb}
.admin-actions-divider-top{margin-top:1.5rem;border-top:1px solid #e5e7eb;padding-top:1rem}
.admin-empty-section-divider{border-bottom:1px solid #e5e7eb;padding:0 1.5rem 1rem}
.admin-inline-section-heading{border-bottom:1px solid #e5e7eb;padding-bottom:.5rem}
.admin-detail-section-divider{border-bottom:1px solid #e5e7eb;padding-bottom:1.5rem}
.admin-detail-section-print{break-inside:avoid;page-break-inside:avoid}
@media screen{
  .period-status-print-only{display:none!important}
  #period-overview-map-shell:fullscreen,
  #period-overview-map-shell:-webkit-full-screen,
  #period-overview-map-shell:-moz-full-screen,
  #period-overview-map-shell.admin-map-css-fullscreen{display:flex!important;flex-direction:column!important;width:100vw!important;height:100vh!important;min-height:100vh!important;max-height:100vh!important;box-sizing:border-box!important}
  #period-overview-map-shell.admin-map-css-fullscreen{position:fixed!important;inset:0;z-index:90;background:#fff}
  #period-overview-map-shell:fullscreen #period-overview-map,
  #period-overview-map-shell:-webkit-full-screen #period-overview-map,
  #period-overview-map-shell:-moz-full-screen #period-overview-map,
  #period-overview-map-shell.admin-map-css-fullscreen #period-overview-map{flex:1 1 auto!important;min-height:0!important;height:auto!important;width:100%!important}
  body.admin-page-css-fullscreen{overflow:hidden}
}
@media print{
  .no-print,.admin-footer-shell,.period-status-screen-only{display:none!important}
  @page{size:A3 landscape;margin:10mm}
  html,body{width:100%!important;height:auto!important;margin:0!important;padding:0!important;background:#fff!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  html.period-status-map-print-active body *{visibility:hidden!important}
  html.period-status-map-print-active body #period-status-map-print-root,
  html.period-status-map-print-active body #period-status-map-print-root *{visibility:visible!important}
  html.period-status-map-print-active body #period-status-map-print-root{position:fixed!important;left:0!important;top:0!important;width:100vw!important;height:100vh!important;min-height:100vh!important;margin:0!important;padding:0!important;background:#fff!important;z-index:2147483646!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important}
  html.period-status-map-print-active #period-overview-map-shell{border-radius:0!important;overflow:hidden!important;background:#fff!important;flex:1 1 auto!important;min-height:0!important;display:flex!important;flex-direction:column!important}
  html.period-status-map-print-active #period-overview-map{width:100%!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;page-break-inside:avoid!important}
  html.period-status-map-print-active .period-map-print-hint{flex-shrink:0!important}
  .period-map-print-header{display:block!important;padding:0 0 6px!important;margin-bottom:4px!important;font-size:11pt!important;color:#111!important;border-bottom:1px solid #ccc!important}
  .period-map-print-meta{font-weight:400!important;color:#444!important}
  .period-map-print-hint{display:block!important;margin-top:6px!important;font-size:8pt!important;color:#555!important;line-height:1.35!important}
}
.admin-panel-header-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e7eb;padding:1rem}
.admin-card-section-header{border-bottom:1px solid #e5e7eb;padding:1.5rem 1.5rem 1rem}
.admin-section-header-split{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.admin-section-header-main{min-width:0}
.admin-section-header-actions{flex-shrink:0}
.admin-data-table-section-description{margin-top:.35rem;max-width:72rem;color:#78716c;font-size:.875rem;line-height:1.45}
.admin-data-table-section-header .admin-section-header-split{flex-wrap:wrap}
.admin-data-table-section-header .admin-section-header-main{flex:1 1 20rem}
.admin-data-table-section-header .admin-section-header-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:.75rem;max-width:100%}
@media(max-width:639.98px){.admin-data-table-section-header .admin-section-header-main{flex:0 1 auto} .admin-data-table-section-header .admin-section-header-split{flex-direction:column;align-items:stretch}.admin-data-table-section-header .admin-section-header-actions{width:100%;justify-content:flex-start}.admin-data-table-section-header .admin-section-header-actions>div{max-width:100%}}
.admin-terminal-anomalies-card{overflow:hidden;padding:0}
.admin-terminal-anomalies-card>.admin-data-table-section-header{width:100%;border-bottom-color:#fde68a}
.admin-terminal-anomalies-card-embedded{margin:0;border-width:0;border-radius:0}
.dark .admin-data-table-section-description{color:#a8a29e}
.admin-card-compact-header{border-bottom:1px solid #e5e7eb;padding:1rem 1.5rem}
.admin-card-compact-header-split{display:flex;align-items:center;justify-content:space-between}
.admin-card-body{padding:1.5rem}
.admin-card-body-compact{padding:1rem}
/* A DataTable that is the card's primary content owns its own controls spacing;
   keep the controls, grid, selection row, and pagination flush with the card. */
.admin-card-body:has(>.admin-table-controls-header:first-child),
.admin-card-body:has(>.admin-table-scroll:first-child){padding:0}
.admin-card-footer-actions{border-top:1px solid #f3f4f6;padding:.75rem 1rem}
.admin-card-footer-muted{border-top:1px solid #e5e7eb;background:#f9fafb;padding:.75rem 1rem}
.admin-card-subsection-title{font-size:1rem;line-height:1.5rem;font-weight:600;color:#1f2937}
.admin-card-subsection-title-mb-3{margin-bottom:.75rem}
.admin-card-subsection-title-mb-4{margin-bottom:1rem}
.admin-stat-card-label{font-size:.875rem;line-height:1.25rem;font-weight:500;color:#6b7280}
.admin-stat-card-label-compact{font-size:.75rem;line-height:1.25;font-weight:500;color:#6b7280}
.admin-stat-card-value{font-size:1.5rem;line-height:2rem;font-weight:700;color:#111827}
.admin-stat-card-value-compact{font-size:1.125rem;line-height:1.75rem;font-weight:700;color:#111827}
.admin-widget-item-icon-color{color:#1f2937}
.admin-widget-item-value{font-size:1.5rem;line-height:2rem;font-weight:600;color:#1f2937}
.admin-widget-item-value-compact{font-size:1.125rem;line-height:1.75rem;font-weight:600;color:#1f2937}
.admin-widget-item-label{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .75rem;font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-widget-item-label-compact{font-size:.75rem;line-height:1rem}
.admin-widget-item-label>.admin-badge{max-width:100%;overflow-wrap:anywhere}
.admin-widget-item:has(.admin-widget-item-label>.admin-badge),.admin-widget-item-link:has(.admin-widget-item-label>.admin-badge){flex-wrap:wrap}
.admin-widget-item:has(.admin-widget-item-label>.admin-badge) .admin-widget-item-content{flex-basis:7rem}
.admin-widget-item-value,.admin-widget-item-value-compact{overflow-wrap:anywhere}
.admin-map-filter-panel{position:relative;z-index:20;border-bottom:1px solid #e5e7eb;padding:1rem}
.admin-form-section-divider{margin-bottom:1.5rem;border-bottom:1px solid #e5e7eb;padding-bottom:1.5rem}
.admin-field-label{margin-bottom:.375rem;display:block;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#374151}
.admin-field-label-strong{margin-bottom:.5rem;display:block;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#374151}
.admin-field-label-icon{margin-bottom:.5rem;display:inline-flex;align-items:center;gap:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#374151}
.admin-field-label-row{margin-bottom:.5rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem}
.admin-field-label-row>label{min-width:0}
.admin-field-label-row .admin-field-label-strong,.admin-field-label-row .admin-field-label-icon{margin-bottom:0}
.admin-field-label-actions{display:flex;min-width:0;flex-shrink:0;align-items:center;gap:.5rem}
.admin-field-label-actions:has(>.admin-ni-field-ask:only-child){position:relative;width:1.25rem;height:1.25rem}
.admin-password-suggestion-button{min-height:2rem;padding:.35rem .65rem;font-size:.75rem;line-height:1rem;white-space:nowrap}
.admin-input-end-action-pr{padding-right:3.5rem}
.admin-input-end-action{position:absolute;top:50%;right:.25rem;display:flex;align-items:center;transform:translateY(-50%)}
.admin-password-visibility-button{display:inline-flex;width:2.75rem;height:2.75rem;align-items:center;justify-content:center;border-radius:.5rem;color:#78716c;transition:background-color .15s ease,color .15s ease}
.admin-password-visibility-button:hover{background:#f5f5f4;color:#292524}
.admin-password-visibility-button:focus-visible{outline:2px solid #2563eb;outline-offset:1px}
.dark .admin-password-visibility-button{color:#a8a29e}
.dark .admin-password-visibility-button:hover{background:#292524;color:#f5f5f4}
.admin-dropdown-option-label{font-size:.875rem;line-height:1.25rem;font-weight:500;color:#1f2937}
.admin-field-help{margin-top:.25rem;font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-field-help-spaced{margin-top:.5rem}
.admin-field-help-roomy{margin-top:.75rem}
.admin-field-help-mb-3{margin-bottom:.75rem}
.admin-field-error{margin-top:.25rem;font-size:.75rem;line-height:1rem;color:#dc2626}
.admin-field-warning{margin-top:.25rem;display:flex;align-items:center;gap:.25rem;font-size:.75rem;line-height:1rem;color:#ef4444}
.admin-section-title{font-size:1.125rem;line-height:1.75rem;font-weight:600;color:#111827}
.admin-section-title-icon{display:flex;align-items:center;gap:.625rem}
.admin-section-title-spaced{margin-bottom:1rem}
.admin-subsection-title{font-size:.875rem;line-height:1.25rem;font-weight:600;color:#111827}
.admin-subsection-title-spaced{margin-bottom:.5rem}
.admin-subsection-title-spacious{margin-bottom:1rem}
.admin-section-description{margin-top:.25rem;font-size:.875rem;line-height:1.25rem;color:#4b5563}
.admin-section-description-spaced{margin-top:.5rem}
.admin-section-description-mb-3{margin-bottom:.75rem}
.admin-form-section-label,.admin-form-section-title{display:flex;align-items:center;gap:.75rem;margin:.5rem 0 1rem;color:#78716c;font-size:.75rem;line-height:1rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.admin-form-section-label::after,.admin-form-section-title::after{content:"";height:1px;min-width:2rem;flex:1;background:#e7e5e4}
.dark .admin-form-section-label,.dark .admin-form-section-title{color:#a8a29e}
.dark .admin-form-section-label::after,.dark .admin-form-section-title::after{background:#44403c}
.admin-subsection-description{margin-top:.25rem;font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-description-mb-2{margin-bottom:.5rem}
.admin-description-mb-4{margin-bottom:1rem}
.admin-description-wide{max-width:48rem}
.admin-description-relaxed{line-height:1.625}
.admin-muted-prose{font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-muted-prose-mb-4{margin-bottom:1rem}
.admin-muted-prose-right{text-align:right}
.admin-muted-prose-centered{text-align:center}
.admin-muted-prose-spacious{margin-top:1.5rem}
.admin-inline-info-text{display:inline-flex;align-items:center;gap:.5rem;font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-muted-link{display:inline-flex;min-height:2.75rem;align-items:center;font-size:.875rem;line-height:1.25rem;color:#4b5563;transition:color .15s ease}
.admin-muted-link:hover{color:#111827}
.admin-auth-footer-note{margin-top:1.5rem;text-align:center;font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-land-distance-marker{display:flex;align-items:center;gap:.25rem;font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-muted-title-sm{font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-muted-label-xs{margin-bottom:.5rem;font-size:.75rem;line-height:1rem;font-weight:600;color:#6b7280}
.admin-muted-label-uppercase{letter-spacing:.05em;text-transform:uppercase}
.admin-muted-meta-strong{margin-top:.25rem;font-size:.75rem;line-height:1rem;font-weight:600;color:#6b7280}
.admin-empty-state-title{margin-top:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#111827}
.admin-empty-state-description{margin-top:.25rem;font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-inline-label-icon{display:inline-flex;align-items:center;gap:.375rem}
.admin-inline-label-icon-leading{margin-right:.375rem}
.admin-file-input-control{display:block;width:100%;height:2.75rem;overflow:hidden;border:1px solid #d1d5db;border-radius:.5rem;background:transparent;font-size:.875rem;line-height:1.25rem;color:#6b7280;transition:border-color .15s ease,box-shadow .15s ease,color .15s ease}
.admin-file-input-control::file-selector-button{height:100%;margin-right:1.25rem;border:0;border-right:1px solid #e5e7eb;background:#f9fafb;padding:.75rem .75rem .75rem .875rem;font-size:.875rem;line-height:1.25rem;color:#374151;cursor:pointer}
.admin-file-input-control:hover::file-selector-button{background:#f3f4f6}
.admin-file-input-control:focus{border-color:var(--color-brand-300,#9cb9ff);outline:0;box-shadow:0 0 0 3px rgba(70,95,255,.1)}
.admin-form-control-icon-right{position:absolute;right:1rem;top:50%;z-index:30;display:inline-flex;align-items:center;justify-content:center;color:#6b7280;transform:translateY(-50%)}
.admin-lang-pill-button{border-radius:.25rem;padding:.125rem .375rem;font-size:1rem;line-height:1.5rem;transition:background-color .15s ease,box-shadow .15s ease}
.admin-checkbox-control{width:1rem;height:1rem;border:1px solid #d1d5db;border-radius:.25rem;color:var(--color-primary-text,#d51d40)}
.admin-checkbox-control:focus{outline:0;box-shadow:0 0 0 3px rgba(70,95,255,.18)}
.admin-checkbox-label{display:flex;align-items:center;font-size:.875rem;line-height:1.25rem;color:#374151}
.admin-table-row-select-target{display:inline-flex;width:2.75rem;min-width:2.75rem;height:2.75rem;align-items:center;justify-content:center;border-radius:.5rem;cursor:pointer}
.admin-table-row-select-target:has(input:disabled){cursor:not-allowed}
.admin-selected-options-strip{display:flex;min-width:0;flex:1;flex-wrap:wrap;align-items:center;gap:.375rem}
.admin-dropdown-option-row{display:flex;cursor:pointer;align-items:center;gap:.75rem;border-radius:.5rem;padding:.625rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#374151;transition:background-color .15s ease,color .15s ease}
.admin-dropdown-option-row:hover{background:#f9fafb}
.admin-dropdown-option-row-selected{background:rgba(70,97,255,.1);color:var(--color-primary-text,#d51d40)}
.admin-dropdown-option-row-alpine-selected{background:rgba(70,97,255,.05)}
.admin-dropdown-label-icon{display:inline-flex;align-items:center;justify-content:center;margin-right:.5rem}
.admin-dropdown-trigger-content{display:flex;min-width:0;flex:1 1 0%;align-items:center;gap:.5rem;overflow:visible}
.admin-dropdown-trigger-content-spread{display:inline-flex;width:100%;align-items:center;justify-content:space-between;gap:.5rem}
.admin-dropdown-trigger-image{width:1.25rem;height:1.25rem;flex-shrink:0;border-radius:.25rem;object-fit:cover}
.admin-dropdown-trigger-image-lg{width:2.5rem;height:2.5rem;flex-shrink:0}
.admin-dropdown-selected-svg{display:flex;width:1.5rem;height:1.5rem;flex-shrink:0;align-items:center;justify-content:center;overflow:visible;line-height:1;font-size:1.125rem}
.admin-dropdown-selected-svg i,.admin-dropdown-selected-svg svg,.admin-dropdown-selected-svg .svg-inline--fa{display:block;width:1em!important;height:1em!important;max-width:100%;max-height:100%;font-size:1em!important;line-height:1;overflow:visible}
.admin-dropdown-option-icon{display:flex;width:2.5rem;height:2.5rem;flex-shrink:0;align-items:center;justify-content:center;overflow:visible;line-height:1;font-size:1.75rem}
.admin-dropdown-option-icon-sm{width:2rem;height:2rem;font-size:1.25rem}
.admin-dropdown-option-icon i,.admin-dropdown-option-icon svg,.admin-dropdown-option-icon .svg-inline--fa{display:block;width:1em!important;height:1em!important;max-width:100%;max-height:100%;font-size:1em!important;line-height:1;overflow:visible}
/* Crop artwork needs a full 24px canvas in the closed selection, including after JS selection. */
.admin-dropdown-selected-svg svg.agrico-crop-icon{width:1.5rem!important;height:1.5rem!important;color:inherit;stroke:currentColor}
.admin-dropdown-option-icon svg.agrico-crop-icon{width:1.75rem!important;height:1.75rem!important;flex-shrink:0;color:inherit;stroke:currentColor}
/* Botanical phase detail uses the full icon canvas in options and selections. */
.admin-dropdown-selected-svg svg.agrico-phase-icon{width:1.5rem!important;height:1.5rem!important;color:inherit;stroke:currentColor}
.admin-dropdown-option-icon svg.agrico-phase-icon{width:1.75rem!important;height:1.75rem!important;flex-shrink:0;color:inherit;stroke:currentColor}
.admin-crop-multiselect-icon{display:flex;flex:0 0 1.5rem;width:1.5rem;height:1.5rem;align-items:center;justify-content:center}
.dark .admin-crop-dropdown .admin-base-dropdown-trigger{background:#111827;border-color:#475467;color:#f2f4f7}
.admin-dropdown-selected-flag{display:flex;width:1.5rem;height:1rem;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;border-radius:.25rem}
.admin-dropdown-selected-image{width:1.25rem;height:1.25rem;flex-shrink:0;border-radius:.25rem;object-fit:cover}
.admin-dropdown-selected-placeholder{display:flex;width:1.25rem;height:1.25rem;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;border-radius:.25rem;background:#f3f4f6;object-fit:cover}
.admin-dropdown-option-image-lg{width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:.25rem;object-fit:cover}
.admin-dropdown-option-flag{display:flex;width:3rem;height:2rem;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;border-radius:.25rem}
.admin-dropdown-trigger-placeholder{display:flex;width:1.25rem;height:1.25rem;flex-shrink:0;align-items:center;justify-content:center;border-radius:.25rem;background:#f3f4f6;object-fit:cover}
.admin-dropdown-option-placeholder{display:flex;width:1.25rem;height:1.25rem;flex-shrink:0;align-items:center;justify-content:center;border-radius:.25rem;background:#f3f4f6;object-fit:cover}
.admin-dropdown-option-label{flex:1 1 0%;text-align:left}
.admin-dropdown-option-copy{display:flex;min-width:0;flex:1 1 0%;flex-direction:column;gap:.125rem;text-align:left}
.admin-dropdown-option-title{display:flex;min-width:0;align-items:center;gap:.5rem}
.admin-dropdown-option-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1rem;font-weight:400;color:#6b7280}
.admin-dropdown-option-badge{display:inline-flex;flex-shrink:0;align-items:center;border-radius:9999px;background:#eef2ff;padding:.125rem .5rem;font-size:.6875rem;line-height:1rem;font-weight:700;letter-spacing:.025em;color:#3730a3;text-transform:uppercase}
.admin-dropdown-selected-metadata{display:flex;flex-shrink:0;align-items:center;gap:.45rem;font-variant-numeric:tabular-nums}
.admin-dropdown-selected-description{color:#667085;font-size:.75rem;line-height:1rem;font-weight:600;white-space:nowrap}
.admin-dropdown-selected-badge{display:inline-flex;align-items:center;border-radius:9999px;background:#f2f4f7;padding:.125rem .4rem;color:#475467;font-size:.7rem;line-height:1rem;font-weight:700;white-space:nowrap}
.admin-dropdown-group-heading{padding:.75rem 1rem .25rem;font-size:.6875rem;line-height:1rem;font-weight:700;letter-spacing:.08em;color:#78716c;text-transform:uppercase}
.dark .admin-dropdown-option-description{color:#9ca3af}
.dark .admin-dropdown-option-badge{background:rgba(99,102,241,.18);color:#c7d2fe}
.dark .admin-dropdown-selected-description{color:#9ca3af}
.dark .admin-dropdown-selected-badge{background:#374151;color:#d1d5db}
.dark .admin-dropdown-group-heading{color:#a8a29e}
.admin-dropdown-selected-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.admin-dropdown-selected-label-strong{flex:1 1 0%;font-weight:600}
.admin-dropdown-selected-label-placeholder{color:#6b7280}
.admin-dropdown-selected-label-value{color:#111827}
.dark .admin-dropdown-selected-label{color:#f5f5f4}
.dark .admin-dropdown-selected-label-placeholder{color:#9ca3af}
.admin-dropdown-chevron{margin-left:auto;display:inline-flex;width:1.25rem;height:1.25rem;flex-shrink:0;align-items:center;justify-content:center;color:#9ca3af;transition:transform .2s ease}
.admin-dropdown-check{display:inline-flex;width:1.25rem;height:1.25rem;flex-shrink:0;align-items:center;justify-content:center;color:var(--color-primary-text,#d51d40)}
.admin-dropdown-trigger-enabled{background:transparent}
.admin-dropdown-trigger-enabled:hover{background:#f9fafb}
.admin-dropdown-trigger-disabled{cursor:not-allowed;background:#f3f4f6;opacity:.6}
.admin-dropdown-option-row[aria-disabled=true]{cursor:not-allowed;opacity:.5}
[data-efactura-company][hidden],[data-efactura-prompt][hidden]{display:none!important}
.admin-connection-disclosure{border-top:1px solid #e4e7ec;padding-top:1rem}
.admin-connection-disclosure>summary{cursor:pointer;min-height:44px;color:#667085;font-size:.875rem;font-weight:500}
.admin-connection-disclosure>summary{padding:.65rem 0;line-height:1.5;overflow-wrap:anywhere}
.admin-connection-disclosure>summary:focus-visible{outline:2px solid #ef2147;outline-offset:3px;border-radius:.25rem}
.admin-connection-disclosure>div{padding-top:1rem}
.dark .admin-connection-disclosure{border-color:#344054}
.dark .admin-connection-disclosure>summary{color:#98a2b3}
.admin-max-w-xs{max-width:20rem}
.admin-dropdown-trigger-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.admin-dropdown-trigger-chevron{margin-left:auto;width:1.25rem;height:1.25rem;flex-shrink:0;color:#9ca3af;transition:transform .2s ease}
.admin-dropdown-shell-md{position:relative;display:inline-block;width:100%;max-width:28rem}
.admin-base-dropdown-menu{position:absolute;left:0;top:100%;z-index:40;margin-top:.5rem;width:100%;min-width:260px;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;padding:.75rem;box-shadow:0 10px 15px -3px rgba(16,24,40,.1),0 4px 6px -4px rgba(16,24,40,.1)}
.admin-dropdown-options-list{display:flex;max-height:15rem;flex-direction:column;gap:.25rem;overflow-y:auto}
.admin-section-heading-icon{margin-bottom:.5rem;display:inline-flex;align-items:center;gap:.5rem;font-size:1.125rem;line-height:1.75rem;font-weight:600;color:#111827}
.admin-section-heading-icon-warning{color:#713f12}
.admin-section-kicker{font-size:.75rem;line-height:1rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:#6b7280}
.admin-section-kicker-spaced{margin-bottom:.75rem}
.admin-filter-pill{display:inline-flex;align-items:center;border-radius:9999px;background:#f3f4f6;padding:.25rem .75rem;font-size:.875rem;line-height:1.25rem;color:#374151}
.admin-filter-pill:hover{background:#e5e7eb}
.admin-filter-pill-active{background:var(--color-primary,#4661ff);color:#fff}
.admin-filter-pill-active:hover{background:var(--color-primary,#4661ff);color:#fff;opacity:.9}
.admin-segmented-control{display:inline-flex;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;padding:.25rem;font-size:.75rem;line-height:1rem;font-weight:600}
.admin-outline-action-button{display:inline-flex;min-height:2.75rem;align-items:center;justify-content:center;gap:.5rem;flex-shrink:0;border:1px solid #d1d5db;border-radius:.5rem;background:#fff;padding:.625rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#374151;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05));transition:background-color .15s ease,box-shadow .15s ease}
.admin-outline-action-button:hover{background:#f9fafb}
.admin-outline-action-button:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px #d1d5db}
.admin-success-action-button{display:inline-flex;min-height:2.75rem;align-items:center;gap:.5rem;border-radius:.5rem;background:#059669;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#fff}
.admin-success-action-button:hover{background:#047857}
.admin-success-action-button:disabled{cursor:not-allowed;opacity:.6}
.admin-import-action-button{display:inline-flex;min-height:2.75rem;align-items:center;justify-content:center;gap:.5rem;border-radius:.5rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#fff;transition:background-color .15s ease,opacity .15s ease}
.admin-import-action-button-sm{font-size:.75rem;line-height:1rem}
.admin-import-action-button-secondary{border:1px solid #d0d5dd;background:#fff;color:#344054}
.admin-import-action-button-secondary:hover{background:#f9fafb;color:#1d2939}
.dark .admin-import-action-button-secondary{border-color:#475467;background:#1d2939;color:#f2f4f7}
.dark .admin-import-action-button-secondary:hover{background:#344054;color:#fff}
.admin-import-action-button-dev-test{background:#059669;font-size:.75rem;line-height:1rem}
.admin-import-action-button-dev-test:hover{background:#047857}
.admin-import-action-button:disabled{cursor:not-allowed;opacity:.6}
.admin-import-action-button-success{background:#059669}
.admin-import-action-button-success:hover{background:#047857}
.admin-import-action-button-info{background:#2563eb}
.admin-import-action-button-info:hover{background:#1d4ed8}
.admin-import-action-button-brand{background:var(--color-primary-action,#d51d40)}
.admin-import-action-button-brand:hover{background:var(--color-brand-600,#3641f5)}
.admin-import-confirm-button{display:inline-flex;align-items:center;border-radius:.5rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:500;transition:background-color .15s ease,color .15s ease,opacity .15s ease}
.admin-inline-blue-action{display:inline-flex;align-items:center;gap:.5rem;border:1px solid #bfdbfe;border-radius:.5rem;padding:.375rem .75rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#2563eb;transition:background-color .15s ease,color .15s ease}
.admin-inline-blue-action:hover{background:#eff6ff;color:#1e40af}
.admin-brand-text-link{display:inline-flex;min-height:2.75rem;align-items:center;gap:.375rem;border-radius:.5rem;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:var(--color-primary-text,#d51d40);transition:background-color .15s ease,color .15s ease}
.admin-brand-text-link:hover{background:rgba(70,95,255,.08);color:var(--color-brand-600,#3641f5)}
.admin-underlined-brand-link{display:inline-flex;min-height:2.75rem;align-items:center;border-radius:.25rem;padding:0 .25rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:var(--color-brand-600,#3641f5);text-decoration:underline;text-underline-offset:2px;text-decoration-color:rgba(54,65,245,.4)}
.admin-warning-inline-link{display:inline-flex;align-items:center;gap:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#713f12;text-decoration:underline;text-underline-offset:2px}
.admin-warning-inline-link:hover{color:#854d0e}
.admin-underlined-brand-link:hover{color:#312e81;text-decoration-color:#312e81}
.admin-square-icon-button{display:inline-flex;width:2.5rem;height:2.5rem;align-items:center;justify-content:center;border:1px solid #d1d5db;border-radius:.5rem;background:#fff;color:#4b5563;transition:background-color .15s ease,color .15s ease}
.admin-square-icon-button:hover{background:#f9fafb;color:#111827}
.admin-icon-button-compact{display:inline-flex;width:2.25rem;height:2.25rem;align-items:center;justify-content:center;border-radius:.5rem;color:#6b7280;transition:background-color .15s ease,color .15s ease}
.admin-icon-button-compact.hidden{display:none}
.admin-icon-button-compact:hover{background:#f3f4f6;color:#374151}
.admin-icon-button-compact-active{color:#374151}
.admin-icon-button-compact-inverse{width:2.5rem;height:2.5rem;color:rgba(255,255,255,.8)}
.admin-icon-button-compact-inverse:hover{background:rgba(255,255,255,.1);color:#fff}
.admin-icon-button-bordered-sm{display:inline-flex;width:2rem;height:2rem;align-items:center;justify-content:center;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#374151}
.admin-icon-button-bordered-sm:hover{background:#f9fafb}
.admin-modal-icon-circle{display:flex;width:3rem;height:3rem;flex-shrink:0;align-items:center;justify-content:center;border-radius:9999px}
.admin-modal-icon-circle-blue{background:#dbeafe;color:#2563eb}
.admin-confirm-primary{display:inline-flex;width:100%;justify-content:center;border:1px solid transparent;border-radius:.375rem;background:#2563eb;padding:.5rem 1rem;font-size:1rem;line-height:1.5rem;font-weight:500;color:#fff;box-shadow:0 1px 2px rgba(16,24,40,.05)}
.admin-confirm-primary:hover{background:#1d4ed8}
.admin-confirm-primary:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px #3b82f6}
.admin-confirm-secondary{margin-top:.75rem;display:inline-flex;width:100%;justify-content:center;border:1px solid #d1d5db;border-radius:.375rem;background:#fff;padding:.5rem 1rem;font-size:1rem;line-height:1.5rem;font-weight:500;color:#374151;box-shadow:0 1px 2px rgba(16,24,40,.05)}
.admin-confirm-secondary:hover{background:#f9fafb}
.admin-confirm-secondary:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px #3b82f6}
.admin-kpi-strip{position:sticky;top:0;z-index:10;margin-bottom:1.5rem;display:grid;grid-template-columns:1fr;gap:.75rem;border:1px solid #cbd5e1;border-radius:.75rem;background:rgba(248,250,252,.95);padding:.75rem;backdrop-filter:blur(8px)}
.admin-kpi-strip-card{border:1px solid;border-radius:.5rem;padding:.75rem}
.admin-kpi-strip-card-label{font-size:.75rem;line-height:1rem}
.admin-kpi-strip-card-value{font-size:1.125rem;line-height:1.75rem;font-weight:600}
.admin-kpi-strip-card-yellow{border-color:#fde68a;background:#fefce8;color:#713f12}
.admin-kpi-strip-card-green{border-color:#bbf7d0;background:#f0fdf4;color:#14532d}
.admin-kpi-strip-card-blue{border-color:#bfdbfe;background:#eff6ff;color:#1e3a8a}
.admin-kpi-strip-card-rose{border-color:#fecdd3;background:#fff1f2;color:#881337}
.admin-metric-chip{display:inline-flex;align-items:center;border-radius:9999px;padding:.375rem .75rem;font-size:.875rem;line-height:1.25rem;font-weight:600}
.admin-metric-chip-sm{padding:.25rem .75rem;font-size:.75rem;line-height:1rem;font-weight:500}
.admin-metric-chip-with-icon{gap:.375rem}
.admin-metric-chip-sm-icon{display:inline-flex;align-items:center;gap:.375rem;border-radius:9999px;padding:.25rem .75rem;font-size:.75rem;line-height:1rem;font-weight:500}
.admin-metric-chip-blue{background:#eff6ff;color:#1e40af;box-shadow:inset 0 0 0 1px #bfdbfe}
.admin-metric-chip-emerald{background:#ecfdf5;color:#047857;box-shadow:inset 0 0 0 1px #a7f3d0}
.admin-metric-chip-gray{background:#f3f4f6;color:#1f2937;box-shadow:inset 0 0 0 1px #e5e7eb}
.admin-metric-chip-amber{background:#fffbeb;color:#92400e;box-shadow:inset 0 0 0 1px #fde68a}
.admin-metric-chip-indigo{background:#eef2ff;color:#3730a3;box-shadow:inset 0 0 0 1px #c7d2fe}
.admin-metric-chip-brand{background:rgba(70,95,255,.1);color:#3730a3}
.admin-metric-chip-green{background:#dcfce7;color:#166534}
.admin-metric-chip-red{background:#fee2e2;color:#991b1b}
.admin-metric-chip-orange{background:#ffedd5;color:#9a3412}
.admin-compact-metric-row{display:flex;align-items:center;gap:.75rem;border:1px solid #f3f4f6;border-radius:.5rem;background:#fff;padding:.5rem .75rem}
.admin-metric-summary-card{border:1px solid #e5e7eb;border-radius:.5rem;padding:1rem}
.admin-metric-summary-card-compact{padding:.75rem}
.admin-metric-summary-label{font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-metric-summary-label-caps{font-weight:500;letter-spacing:.05em;text-transform:uppercase}
.admin-metric-summary-value{margin-top:.25rem;font-size:1.125rem;line-height:1.75rem;font-weight:700;color:#111827}
.admin-metric-summary-value-primary{color:var(--color-primary-text,#d51d40)}
.admin-metric-summary-value-sm{margin-top:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#111827}
.admin-metric-summary-unit{font-size:.875rem;line-height:1.25rem;font-weight:400;color:#4b5563}
.admin-metric-summary-meta{margin-top:.25rem;font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-metric-summary-meta-warning{color:#b45309}
.admin-dashboard-alert-header{margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem}
.admin-dashboard-alert-dot{width:.5rem;height:.5rem;border-radius:9999px;flex-shrink:0}
.admin-dashboard-alert-title{font-size:.75rem;line-height:1rem;font-weight:600;color:#6b7280}
.admin-dashboard-alert-list{display:flex;flex-direction:column;gap:.25rem;font-size:.875rem;line-height:1.25rem;color:#374151}
.admin-dashboard-divided-list>:not([hidden])~:not([hidden]){border-top:1px solid #f3f4f6}
.admin-dashboard-alert-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.admin-dashboard-alert-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-dashboard-alert-meta{flex-shrink:0;font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-dashboard-alert-empty{font-size:.875rem;line-height:1.25rem;color:#9ca3af}
.admin-dashboard-mini-card{border-radius:.75rem;background:#fff;padding:.75rem;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05))}
.admin-dashboard-mini-card-spaced{margin-top:.5rem}
.admin-compact-list-row{display:flex;flex-direction:column;gap:.75rem;border:1px solid #f3f4f6;border-radius:.5rem;background:#f9fafb;padding:.625rem .75rem}
.admin-meter-reading-row{display:flex;flex-direction:column;gap:.75rem;border:1px solid #e5e7eb;border-radius:.5rem;background:rgba(249,250,251,.9);padding:.75rem 1rem}
.admin-package-action{display:inline-flex;align-items:center;border-radius:.375rem;border:1px solid;padding:.375rem .625rem;font-size:.75rem;line-height:1rem;font-weight:500}
.js-edit-package{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}
.js-edit-package:hover{background:#dbeafe}
.js-delete-package{border-color:#fecaca;background:#fef2f2;color:#b91c1c}
.js-delete-package:hover{background:#fee2e2}
.machine-profile-trigger-menu{display:block;width:100%;padding:.5rem .75rem;text-align:left;font-size:.875rem;line-height:1.25rem;color:#374151}
.machine-profile-trigger-menu:hover{background:#f9fafb}
.machine-profile-trigger-link{font-size:.875rem;line-height:1.25rem;font-weight:500;color:#1d4ed8}
.machine-profile-trigger-link:hover{color:#1e3a8a}
.admin-input-suffix-label{pointer-events:none;position:absolute;top:50%;right:1rem;transform:translateY(-50%);font-size:.875rem;line-height:1.25rem;font-weight:500;color:#6b7280}
.admin-native-picker-button{position:absolute;top:50%;right:.25rem;display:inline-flex;width:2.75rem;height:2.75rem;align-items:center;justify-content:center;transform:translateY(-50%);color:#9ca3af}
.admin-native-picker-button:hover{color:#4b5563}
.admin-native-picker-button:focus{outline:0}
.admin-header-dropdown-item,
.admin-header-signout-button{display:flex;align-items:center;gap:.75rem;border-radius:.5rem;padding:.5rem .75rem;font-family:inherit;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#374151;transition:background-color .15s ease,color .15s ease}
.admin-header-dropdown-item:hover,
.admin-header-signout-button:hover{background:#f3f4f6;color:#374151}
.admin-header-shell{position:sticky;top:0;z-index:30;display:flex;width:100%;border-bottom:1px solid #e5e7eb;background:#fff}
.admin-header-shell.admin-header-overlay-open{z-index:100000}
.admin-header-row{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between;gap:.5rem;padding:.75rem}
.admin-header-menu-divider{display:flex;flex-direction:column;gap:.25rem;border-bottom:1px solid #e5e7eb;padding-top:1rem;padding-bottom:.75rem}
.admin-header-icon-button{z-index:9999;display:flex;width:2.75rem;height:2.75rem;flex-shrink:0;align-items:center;justify-content:center;border:1px solid #e5e7eb;border-radius:.5rem;color:#6b7280;transition:background-color .15s ease,color .15s ease}
.admin-header-icon-button:hover{background:#f3f4f6;color:#374151}
.admin-header-toggle-icon{display:inline-flex;width:1.15rem;height:1.15rem;align-items:center;justify-content:center;color:currentColor}
.admin-header-toggle-icon svg{display:block;width:1.15rem;height:1.15rem}
.admin-header-search-shell{position:relative;width:100%;max-width:38rem}
.admin-header-search-icon{pointer-events:none;position:absolute;top:50%;left:1rem;display:inline-flex;transform:translateY(-50%);align-items:center;justify-content:center;color:#6b7280}
.admin-header-search-input{height:2.75rem;width:100%;max-width:none;border:1px solid #e5e7eb;border-radius:.5rem;background:transparent;padding:.625rem 3.5rem .625rem 3rem;font-size:.875rem;line-height:1.25rem;color:#1f2937;transition:border-color .15s ease,box-shadow .15s ease}
.admin-header-search-input::placeholder{color:#9ca3af}
.admin-header-search-input:focus{border-color:var(--color-primary,#4661ff);outline:0;box-shadow:0 0 0 3px rgba(70,97,255,.1)}
.admin-header-search-shortcut{position:absolute;top:50%;right:0;display:inline-flex;min-width:2.75rem;height:2.75rem;transform:translateY(-50%);align-items:center;justify-content:center;gap:.125rem;border:1px solid #e5e7eb;border-radius:.5rem;background:#f9fafb;padding:.25rem .5rem;font-size:.75rem;line-height:1rem;color:#6b7280;letter-spacing:0;transition:background-color .15s ease,color .15s ease}
.admin-header-search-shortcut-keys{display:inline-flex;align-items:center;gap:.125rem}
.admin-header-search-shortcut-icon{display:none;align-items:center;justify-content:center}
.admin-header-search-shortcut:hover{background:#f3f4f6}
@media(max-width:767px){.admin-header-search-shortcut{padding:.25rem}.admin-header-search-shortcut-keys{display:none}.admin-header-search-shortcut-icon{display:inline-flex}}
.admin-header-search-dropdown{position:absolute;left:0;right:0;top:100%;z-index:50;margin-top:.5rem;border:1px solid #e5e7eb;border-radius:.75rem;background:#fff}
.admin-header-search-results{overflow-y:auto;padding:.5rem 0}
.admin-header-search-list{display:flex;flex-direction:column}
.admin-header-search-group-heading{padding:.5rem 1rem .25rem;font-size:.75rem;line-height:1rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:#9ca3af}
.admin-header-search-result-link{display:flex;flex-direction:column;gap:.25rem;padding:.625rem 1rem;font-size:.875rem;line-height:1.25rem;color:#374151;transition:background-color .15s ease}
.admin-header-search-result-link:hover{background:#f9fafb}
.admin-header-search-result-title{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-weight:500;color:#1f2937}
.admin-header-search-result-badge{border-radius:9999px;background:rgba(70,97,255,.1);padding:.125rem .5rem;font-size:10px;line-height:1rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--color-primary-text,#d51d40)}
.admin-header-search-result-breadcrumb{font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-header-search-result-meta{font-size:.75rem;line-height:1rem;color:#9ca3af}
.admin-header-search-empty{padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-header-user-trigger{display:flex;flex-shrink:0;align-items:center;gap:.5rem;border-radius:.5rem;padding:.375rem .5rem;font-size:.875rem;line-height:1.25rem;transition:background-color .15s ease,box-shadow .15s ease}
.admin-header-user-trigger:hover{background:#f3f4f6}
.admin-header-user-trigger:focus{outline:0;box-shadow:0 0 0 2px rgba(70,97,255,.35)}
.admin-header-user-avatar{display:flex;width:2rem;height:2rem;align-items:center;justify-content:center;border-radius:9999px;background:rgba(70,97,255,.1)}
.admin-header-user-initial{font-size:.875rem;line-height:1.25rem;font-weight:600;color:var(--color-primary-text,#d51d40)}
.admin-header-user-name{display:none;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#374151}
.admin-header-chevron{display:inline-flex;align-items:center;justify-content:center;color:#6b7280;transition:transform .2s ease}
.admin-header-signout-button{width:100%;text-align:left}
.admin-header-dropdown-item[aria-busy="true"],
.admin-header-signout-button[aria-busy="true"]{
  cursor:wait;
  pointer-events:none;
  opacity:1;
  justify-content:flex-start
}
.admin-header-dropdown-item[aria-busy="true"]::before,
.admin-header-signout-button[aria-busy="true"]::before{
  content:"";
  box-sizing:border-box;
  width:1rem;
  height:1rem;
  flex:0 0 1rem;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:admin-table-page-spin .8s linear infinite
}
.admin-header-dropdown-item[aria-busy="true"]>svg:first-of-type,
.admin-header-dropdown-item[aria-busy="true"]>i:first-of-type,
.admin-header-signout-button[aria-busy="true"]>svg:first-of-type,
.admin-header-signout-button[aria-busy="true"]>i:first-of-type{display:none}
@media (prefers-reduced-motion:reduce){
  .admin-header-dropdown-item[aria-busy="true"]::before,
  .admin-header-signout-button[aria-busy="true"]::before{animation:none;border-style:dotted}
}
.admin-main-root{flex:1 1 0%}
.admin-main-content-shell{padding:1rem;background:#f3f4f6}
.admin-main-content-minimal{padding:0;background:#fff}
.language-flag{position:relative;display:inline-block;flex:0 0 20px;width:20px;height:14px;overflow:hidden;border-radius:2px;background:#fff center/100% 100% no-repeat;vertical-align:middle}
.language-flag::after{position:absolute;inset:0;border:1px solid rgba(16,24,40,.16);border-radius:inherit;content:""}
.language-flag-ro{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2060%2042%22%3E%3Cpath%20fill%3D%22%23002B7F%22%20d%3D%22M0%200h20v42H0z%22%2F%3E%3Cpath%20fill%3D%22%23FCD116%22%20d%3D%22M20%200h20v42H20z%22%2F%3E%3Cpath%20fill%3D%22%23CE1126%22%20d%3D%22M40%200h20v42H40z%22%2F%3E%3C%2Fsvg%3E")}
.language-flag-hu{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2060%2042%22%3E%3Cpath%20fill%3D%22%23CE2939%22%20d%3D%22M0%200h60v14H0z%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M0%2014h60v14H0z%22%2F%3E%3Cpath%20fill%3D%22%23477050%22%20d%3D%22M0%2028h60v14H0z%22%2F%3E%3C%2Fsvg%3E")}
.language-flag-en{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2060%2042%22%3E%3Cpath%20fill%3D%22%23012169%22%20d%3D%22M0%200h60v42H0z%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-width%3D%229%22%20d%3D%22m0%200%2060%2042m0-42L0%2042%22%2F%3E%3Cpath%20stroke%3D%22%23C8102E%22%20stroke-width%3D%223%22%20d%3D%22m0%200%2030%2021m30-21L30%2021m0%200L0%2042m30-21%2030%2021%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-width%3D%2214%22%20d%3D%22M30%200v42M0%2021h60%22%2F%3E%3Cpath%20stroke%3D%22%23C8102E%22%20stroke-width%3D%228%22%20d%3D%22M30%200v42M0%2021h60%22%2F%3E%3C%2Fsvg%3E")}
.admin-generated-secret-code{flex:1;border:1px solid #e5e7eb;border-radius:.25rem;background:#f9fafb;padding:.5rem .75rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:.875rem;line-height:1.25rem;color:#111827;word-break:break-all}
.admin-generated-secret-panel{margin-top:.75rem;border:1px solid #86efac;border-radius:.5rem;background:#fff;padding:.75rem}
.admin-generated-secret-title{margin-bottom:.5rem;font-size:.75rem;line-height:1rem;font-weight:600;color:#374151}
.admin-generated-secret-warning{margin-top:.5rem;font-size:.75rem;line-height:1rem;font-weight:500;color:#dc2626}
.admin-activity-metadata{margin-top:.5rem;display:flex;flex-direction:column;gap:.25rem;font-size:.75rem;line-height:1rem;color:#4b5563}
.admin-activity-metadata-label{font-weight:500;color:#374151}
.admin-treatment-package-list{margin-top:.75rem;display:flex;flex-direction:column;gap:.5rem}
.admin-treatment-package-form{margin-top:1rem;display:flex;flex-direction:column;gap:.75rem;border-top:1px solid #f3f4f6;padding-top:1rem}
.admin-treatment-stock-list{margin-top:.75rem;display:flex;flex-direction:column;gap:.5rem;font-size:.75rem;line-height:1rem;color:#4b5563}
.admin-generated-spinner-icon{width:1rem;height:1rem}
.admin-generated-spinner-icon-danger{width:1rem;height:1rem;color:#dc2626}
.admin-generated-spinner-label{margin-left:.5rem}
.admin-generated-table-empty-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem}
.admin-generated-table-empty-cell{text-align:center}
.admin-generated-table-empty-pad{padding:3rem 1.5rem}
.admin-generated-table-empty-text{font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-generated-table-empty-icon{width:2rem;height:2rem;color:#9ca3af}
.admin-admin-alert-icon-svg{width:1.5rem;height:1.5rem}
.admin-admin-alert-success{background:#dcfce7;color:#16a34a}
.admin-admin-alert-error{background:#fee2e2;color:#dc2626}
.admin-admin-alert-warning{background:#fef9c3;color:#ca8a04}
.admin-admin-alert-info{background:#dbeafe;color:#2563eb}
.admin-checkbox-select-all{border-radius:.25rem;border-color:#d1d5db;color:var(--color-primary-text,#d51d40)}
.admin-checkbox-select-all:focus{outline:0;box-shadow:0 0 0 3px rgba(70,97,255,.18)}
.admin-product-stock-panel{overflow:hidden;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.06),0 0 0 1px rgba(17,24,39,.05)}
.admin-product-stock-header{border-bottom:1px solid #f3f4f6;padding:1rem 1.25rem}
.admin-product-stock-header-brand{background:linear-gradient(90deg,rgba(70,95,255,.06),#fff,#fff)}
.admin-product-stock-header-slate{background:linear-gradient(90deg,#f8fafc,#fff,#fff)}
.admin-product-stock-header-split{display:flex;flex-direction:column;gap:.25rem}
.admin-product-stock-header-slate-split{display:flex;flex-direction:column;gap:.25rem;border-bottom:1px solid #f3f4f6;background:linear-gradient(90deg,#f8fafc,#fff,#fff);padding:1rem 1.25rem}
.admin-product-stock-heading,.admin-product-stock-heading-row{display:flex;align-items:center;gap:.75rem}
.admin-product-stock-heading{font-size:1.125rem;line-height:1.75rem;font-weight:600;color:#111827}
.admin-product-stock-title{font-size:1.125rem;line-height:1.75rem;font-weight:600;color:#111827}
.admin-product-stock-heading-icon{display:flex;width:2.5rem;height:2.5rem;flex-shrink:0;align-items:center;justify-content:center;border-radius:.75rem}
.admin-product-stock-heading-icon-brand{background:rgba(70,95,255,.1);color:var(--color-brand-600,#3641f5)}
.admin-product-stock-heading-icon-slate{background:#f1f5f9;color:#475569}
.admin-product-stock-heading-description{margin-top:.375rem;font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-product-stock-input{height:2.75rem;width:100%;border:1px solid #d1d5db;border-radius:.75rem;background:rgba(249,250,251,.5);padding:.625rem 1rem;font-size:.875rem;line-height:1.25rem;color:#1f2937;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05));transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
.admin-product-stock-input::placeholder{color:#9ca3af}
.admin-product-stock-input:focus{border-color:var(--color-brand-500,#465fff);background:#fff;outline:0;box-shadow:0 0 0 3px rgba(70,95,255,.1)}
.admin-product-stock-input-pr-calendar{padding-right:2.75rem}
.admin-product-stock-input-pr-price{padding-right:3rem}
.admin-product-stock-input-pr-unit{padding-right:4rem}
.admin-product-stock-submit{display:flex;height:2.75rem;width:100%;align-items:center;justify-content:center;gap:.5rem;white-space:nowrap;border-radius:.75rem;background:var(--color-primary-action,#d51d40);padding:.625rem 1.5rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#fff;box-shadow:0 1px 2px rgba(16,24,40,.06);transition:background-color .15s ease,box-shadow .15s ease}
.admin-product-stock-submit:hover{background:var(--color-brand-600,#3641f5)}
.admin-product-stock-submit:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(70,95,255,.4)}
.admin-status-badge-shell{display:inline-flex;align-items:center;border:1px solid;border-radius:9999px;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500}
.admin-status-badge-slate{border-color:#cbd5e1;background:#f1f5f9;color:#334155}
.admin-status-badge-rose{border-color:#fecdd3;background:#ffe4e6;color:#be123c}
.admin-status-badge-amber{border-color:#fde68a;background:#fef3c7;color:#b45309}
.admin-status-badge-emerald{border-color:#a7f3d0;background:#d1fae5;color:#047857}
.admin-map-card{margin-bottom:1.5rem;border:1px solid #e5e7eb;border-radius:.75rem;background:#fff;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05))}
.admin-map-canvas-frame{overflow:hidden;border:1px solid #e5e7eb;border-radius:.5rem}
.admin-map-frame{width:100%;border:1px solid #e5e7eb;border-radius:.5rem}
.admin-map-frame-attached{border:0;border-radius:0}
.admin-map-frame-full{height:100%}
.admin-map-empty-dashed{display:flex;align-items:center;justify-content:center;border:2px dashed #e5e7eb;border-radius:.5rem;background:#f9fafb;padding:2rem;font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-alert-icon{margin-top:.125rem;display:inline-flex;width:1.25rem;height:1.25rem;flex-shrink:0;align-items:center;justify-content:center}
.admin-empty-state-icon{margin-left:auto;margin-right:auto;display:inline-flex;align-items:center;justify-content:center}
.admin-empty-state-icon-circle{display:flex;width:3rem;height:3rem;align-items:center;justify-content:center;border-radius:9999px;background:#f3f4f6;color:#6b7280}
.admin-inline-center{display:inline-flex;align-items:center;justify-content:center}
.admin-icon-size-5{width:1.25rem;height:1.25rem}
.admin-icon-size-6{width:1.5rem;height:1.5rem}
.admin-empty-value{color:#9ca3af}
.admin-loading-block{display:flex;align-items:center;justify-content:center;padding:3rem 0}
.admin-loading-inner{text-align:center}
.admin-loading-spinner{margin-left:auto;margin-right:auto;width:2rem;height:2rem;color:#9ca3af;animation:spin 1s linear infinite}
.admin-loading-message{margin-top:1rem;font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-error-block{display:flex;align-items:center;justify-content:center;padding:3rem 0}
.admin-error-message{font-size:.875rem;line-height:1.25rem;color:#ef4444}
.admin-readonly-value-chip{display:flex;align-items:center;gap:.5rem;border:1px solid #d1d5db;border-radius:.5rem;background:#f9fafb;padding:.625rem 1rem}
.admin-code-chip{flex:1;border:1px solid #e5e7eb;border-radius:.25rem;background:#f9fafb;padding:.5rem .75rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:.75rem;line-height:1rem;color:#111827;word-break:break-all}
.admin-water-chart-panel{border:1px solid #e5e7eb;border-radius:.75rem;background:rgba(249,250,251,.8);padding:1.25rem}
@media (min-width:640px){.admin-water-chart-panel{padding:1.5rem 1.5rem 0}}
.admin-table-heading-cell{white-space:nowrap;padding:.75rem 1rem;font-size:.75rem;line-height:1rem;font-weight:600;letter-spacing:.025em;text-transform:uppercase;color:#4b5563}
.admin-compact-table-heading-cell{padding:.5rem .75rem;text-align:left;font-size:.75rem;line-height:1rem;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:#6b7280}
.admin-compact-table-heading-cell-right{text-align:right}
.admin-compact-table-cell{padding:.5rem .75rem;white-space:nowrap;font-size:.875rem;line-height:1.25rem;color:#4b5563}
.admin-compact-table-cell-strong{font-weight:500;color:#111827}
.admin-compact-table-cell-right{text-align:right}
.admin-compact-table-inline-text{font-size:.75rem;line-height:1rem;color:#374151}
.admin-compact-table-shell{min-width:100%;font-size:.75rem;line-height:1rem;color:#4b5563}
.admin-passkey-meta{margin-top:.25rem;display:flex;flex-direction:column;gap:.125rem}
.admin-passkey-meta-empty{font-size:.75rem;line-height:1rem;font-style:italic;color:#9ca3af}
.admin-processing-log-list{margin-top:.5rem;display:flex;flex-direction:column;gap:.25rem;font-size:.75rem;line-height:1rem;color:#4b5563}
.admin-processing-log-item{border-radius:.25rem;background:#f9fafb;padding:.25rem .5rem}
.admin-processing-divided-list>:not([hidden])~:not([hidden]){border-top:1px solid #f3f4f6}
.admin-processing-offline-list{max-height:16rem;font-size:.875rem;line-height:1.25rem;color:#374151}
.admin-processing-offline-item{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding:.75rem 0;border-bottom:1px solid rgba(17,24,39,.08)}
.admin-processing-offline-item:last-child{border-bottom:0}
.admin-processing-offline-item-copy{min-width:0;flex:1}
.admin-processing-offline-item-title{margin:0;font-weight:600;color:#111827}
.admin-processing-offline-item-status{margin:.25rem 0 0;font-size:.75rem;line-height:1rem;font-weight:600}
.admin-processing-offline-item-status--pending{color:#b45309}
.admin-processing-offline-item-status--attention{color:#b91c1c}
.admin-processing-offline-item-actions{display:flex;flex-direction:column;gap:.5rem;flex-shrink:0}
.admin-processing-offline-retry,.admin-processing-offline-discard{min-height:44px;min-width:44px;padding:.5rem .75rem;border-radius:.5rem;font-size:.8125rem;line-height:1.25rem;font-weight:600}
.admin-processing-offline-retry{border:1px solid #f59e0b;background:#fffbeb;color:#92400e}
.admin-processing-offline-discard{border:1px solid #e5e7eb;background:#fff;color:#374151}
.admin-processing-offline-banner{position:fixed;top:0;left:0;right:0;z-index:70;border-bottom:1px solid #fcd34d;background:#fffbeb;padding:.5rem 1rem;text-align:center;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#78350f;box-shadow:var(--shadow-theme-sm,0 1px 3px 0 rgba(16,24,40,.1),0 1px 2px 0 rgba(16,24,40,.06))}
.admin-processing-offline-badge{pointer-events:auto;display:inline-flex;align-items:center;border-radius:9999px;background:#f59e0b;padding:.25rem .625rem;font-size:.75rem;line-height:1rem;font-weight:600;color:#fff;box-shadow:var(--shadow-theme-sm,0 1px 3px 0 rgba(16,24,40,.1),0 1px 2px 0 rgba(16,24,40,.06))}
.admin-processing-offline-title{font-size:1rem;line-height:1.5rem;font-weight:700;color:#111827}
.admin-processing-offline-empty{padding:1.5rem 1rem;text-align:center}
.admin-processing-mobile-header{background:#f7f4ed;padding:2rem 1rem 1.5rem}
.admin-expandable-row-cell{padding:1rem 1.5rem}
.admin-tab-list{display:flex;max-width:100%;min-width:0;align-items:stretch;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.admin-tab-list-page{border:1px solid #e2ddd5;border-radius:1rem;background:rgba(255,255,255,.88);padding:0;box-shadow:0 1px 2px rgba(28,25,23,.03)}
.admin-tab-list-nested{width:max-content;max-width:100%;gap:.25rem;border:1px solid #e2ddd5;border-radius:.85rem;background:#f1eee7;padding:.3rem}
.admin-tab-list-card-inset{max-width:calc(100% - 2rem);margin:1rem 1rem 0}
.admin-tab-list-settings{flex-direction:column;gap:.25rem;overflow:visible;border:1px solid #e2ddd5;border-radius:1rem;background:#f1eee7;padding:.5rem}
.admin-tab-settings-layout{display:grid;min-width:0;grid-template-columns:13.5rem minmax(0,1fr);align-items:start;gap:1.25rem}
.admin-tab-settings-panels{min-width:0}
.admin-tab-button{display:inline-flex;min-height:3rem;flex-shrink:0;align-items:center;justify-content:center;white-space:nowrap;border:0;border-bottom:2px solid transparent;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:600;transition:color .15s ease,border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
.admin-tab-button-active{border-color:var(--color-brand-500,#465fff);color:var(--color-primary-text,#d51d40)}
.admin-tab-button-inactive{border-color:transparent;color:#6b7280}
.admin-tab-button-inactive:hover{border-color:#d1d5db;color:#374151}
.admin-tab-button:focus{outline:0}
.admin-tab-button:focus-visible{border-radius:.65rem;box-shadow:inset 0 0 0 3px rgba(239,33,71,.16)}
.admin-tab-list-page .admin-tab-button{flex:1 0 0%;min-height:4rem;padding:1rem 1.5rem;border-radius:0}
.admin-tab-list-page>.admin-tab-button:first-child{border-top-left-radius:inherit}
.admin-tab-list-page>.admin-tab-button:last-child{border-top-right-radius:inherit}
.admin-tab-list-page .admin-tab-button-active{background:rgba(239,33,71,.04)}
.admin-tab-list-nested .admin-tab-button{min-height:2.75rem;border:0;border-radius:.65rem;padding:.55rem .9rem}
.admin-tab-list-nested .admin-tab-button-active{background:#fff;box-shadow:0 1px 3px rgba(28,25,23,.12)}
.admin-tab-list-nested .admin-tab-button-inactive:hover{border-color:transparent;background:rgba(255,255,255,.62)}
.admin-tab-list-fill{width:100%}
.admin-tab-list-fill .admin-tab-button{flex:1 0 0%}
.admin-settings-link-list{list-style:none;margin:0;padding:0}
.admin-settings-link-list>li+li{border-top:1px solid #e7e5e4}
.admin-settings-link-list a{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4.5rem;padding:.875rem .5rem;color:#292524;border-radius:.5rem}
.admin-settings-link-list a:hover,.admin-settings-link-list a:focus-visible{background:#f5f5f4;color:#d94318}
.admin-settings-link-list a:focus-visible{outline:2px solid #d94318;outline-offset:-2px}
.admin-settings-link-list a>span:first-child{min-width:0;overflow-wrap:anywhere}
.admin-settings-link-list strong{font-size:.875rem;line-height:1.4}
.admin-settings-link-status{display:block;margin-top:.25rem;color:#78716c;font-size:.8125rem;line-height:1.4}
.admin-settings-link-chevron{flex:0 0 auto;font-size:1.5rem;line-height:1}
.dark .admin-settings-link-list>li+li{border-color:#44403c}
.dark .admin-settings-link-list a{color:#f2f4f7}
.dark .admin-settings-link-list a:hover,.dark .admin-settings-link-list a:focus-visible{background:#344054;color:#ff9c7f}
.dark .admin-settings-link-status{color:#98a2b3}
.admin-tab-list-settings .admin-tab-button{width:100%;justify-content:flex-start;border:0;border-radius:.7rem;padding:.7rem .8rem;text-align:left}
.admin-tab-list-settings .admin-tab-button-active{background:#fff;box-shadow:0 1px 3px rgba(28,25,23,.1)}
.admin-tab-list-settings .admin-tab-button-inactive:hover{border-color:transparent;background:rgba(255,255,255,.58)}
.admin-tab-list .admin-tab-button:focus-visible{box-shadow:inset 0 0 0 3px rgba(239,33,71,.16)}
.admin-card-shell>.admin-tab-shell{border-radius:inherit}
.admin-card-shell>.admin-tab-shell>.admin-tab-list-page{border-width:0 0 1px;border-radius:inherit;border-bottom-right-radius:0;border-bottom-left-radius:0;background:#fff;box-shadow:none}
.admin-tab-icon{display:inline-flex;flex:0 0 auto;margin-right:.5rem}
.admin-tab-badge{margin-left:.5rem;border-radius:9999px;background:#f3f4f6;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:600;color:#4b5563}
@media (max-width:767.98px){
  .admin-tab-settings-layout{display:block}
  .admin-tab-list-settings{flex-direction:row;gap:0;overflow-x:auto;overflow-y:hidden;border-radius:1rem;background:rgba(255,255,255,.88);padding:0 .5rem;margin-bottom:1rem}
  .admin-tab-list-settings .admin-tab-button{width:auto;justify-content:center;border-radius:0;border-bottom:2px solid transparent;padding:.75rem 1rem;text-align:center}
  .admin-tab-list-settings .admin-tab-button-active{border-color:var(--color-brand-500,#465fff);background:transparent;box-shadow:none}
  .admin-tab-list-settings .admin-tab-button-inactive:hover{border-color:#d1d5db;background:transparent}
}
.admin-tab-list-settings-horizontal{flex-direction:row;gap:0;overflow-x:auto;overflow-y:hidden;border-radius:1rem;background:rgba(255,255,255,.88);padding:0 .5rem;margin-bottom:0}
.admin-tab-list-settings-horizontal .admin-tab-button{width:auto;justify-content:center;border-radius:0;border-bottom:2px solid transparent;padding:.75rem 1rem;text-align:center}
.admin-tab-list-settings-horizontal .admin-tab-button-active{border-color:var(--color-brand-500,#465fff);background:transparent;box-shadow:none}
.admin-tab-list-settings-horizontal .admin-tab-button-inactive:hover{border-color:#d1d5db;background:transparent}
.dark .admin-tab-list-page{border-color:#344054;background:#1d2939}
.dark .admin-tab-list-page .admin-tab-button-active{background:rgba(239,33,71,.12)}
.dark .admin-tab-list-nested,.dark .admin-tab-list-settings{border-color:#344054;background:#101828}
.dark .admin-tab-list-nested .admin-tab-button-active,.dark .admin-tab-list-settings .admin-tab-button-active{background:#1d2939}
.dark .admin-card-shell>.admin-tab-shell>.admin-tab-list-page{background:#101828}
.admin-success-icon-button{display:inline-flex;min-width:2.75rem;min-height:2.75rem;align-items:center;justify-content:center;border-radius:.5rem;background:#16a34a;padding:.5rem;color:#fff;transition:background-color .15s ease}
.admin-success-icon-button:hover{background:#15803d}
.admin-success-icon-button:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px #22c55e}
.admin-selection-chip{display:inline-flex;align-items:center;gap:.25rem;flex-shrink:0;border-radius:.375rem;background:#e0e7ff;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;color:#3730a3}
.admin-selection-chip-remove{margin-right:-.125rem;line-height:1}
.admin-selection-chip-remove:hover{color:#4f46e5}
.admin-multiselect-menu-panel{position:absolute;z-index:60;margin-top:.25rem;width:100%;max-height:18rem;overflow:auto;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;padding:.5rem 0;box-shadow:0 10px 15px -3px rgba(16,24,40,.1),0 4px 6px -4px rgba(16,24,40,.1)}
.admin-dropdown-menu-panel{position:absolute;z-index:100100;margin-top:.25rem;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;box-shadow:0 10px 15px -3px rgba(16,24,40,.1),0 4px 6px -4px rgba(16,24,40,.1)}
.admin-dropdown-menu-panel.admin-dropdown-menu-fixed{position:fixed;margin-top:0;max-width:calc(100vw - 1rem)}
.admin-dropdown-menu-scroll.admin-dropdown-menu-searchable{overflow-y:auto}
.admin-dropdown-search-wrap{position:sticky;top:0;z-index:2;border-bottom:1px solid #e5e7eb;background:#fff;padding:.75rem}
.admin-dropdown-search-icon{pointer-events:none;position:absolute;left:1.6rem;top:50%;display:inline-flex;transform:translateY(-50%);color:#6b7280}
.admin-dropdown-search-input{width:100%;min-height:2.75rem;border:1px solid #d1d5db;border-radius:.625rem;background:#fff;padding:.625rem .875rem .625rem 2.65rem;font-size:.875rem;line-height:1.25rem;color:#1f2937;outline:0}
.admin-dropdown-search-input::placeholder{color:#9ca3af}
.admin-dropdown-search-input:focus{border-color:var(--color-brand-300,#9cb9ff);box-shadow:0 0 0 3px rgba(70,95,255,.1)}
@media(max-width:639.98px){.admin-dropdown-search-input{font-size:1rem}}
.admin-dropdown-search-options{padding:.5rem}
.dark .admin-dropdown-search-wrap{border-color:#374151;background:#1f2937}
.dark .admin-dropdown-search-input{border-color:#4b5563;background:#1f2937;color:#f9fafb}
.admin-water-usage-menu{position:absolute;right:0;z-index:60;margin-top:.25rem;display:flex;min-width:10rem;flex-direction:column;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;padding:.25rem;box-shadow:0 10px 15px -3px rgba(16,24,40,.1),0 4px 6px -4px rgba(16,24,40,.1)}
.admin-dropdown-menu-panel-spacious{position:absolute;left:0;top:100%;z-index:40;margin-top:.5rem;width:100%;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;padding:.75rem;box-shadow:0 10px 15px -3px rgba(16,24,40,.1),0 4px 6px -4px rgba(16,24,40,.1)}
.admin-dropdown-menu-right{right:0;top:100%}
.admin-dropdown-menu-compact{width:10rem;padding:.5rem}
.admin-dropdown-action-row{display:flex;width:100%;border-radius:.5rem;padding:.5rem .75rem;text-align:left;font-size:.75rem;line-height:1rem;font-weight:500;color:#6b7280;transition:background-color .15s ease,color .15s ease}
.admin-dropdown-action-row:hover{background:#f3f4f6;color:#374151}
.admin-dropdown-empty{padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-dropdown-empty-center{text-align:center}
.admin-dropdown-empty-compact{padding:.625rem .75rem}
.admin-multiselect-trigger{display:flex;width:100%;min-height:3rem;align-items:center;justify-content:space-between;border:1px solid #d1d5db;border-radius:.625rem;background:transparent;padding:.75rem 1rem;font-size:.9rem;line-height:1.35rem;color:#1f2937;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05));transition:border-color .15s ease,box-shadow .15s ease}
.admin-multiselect-trigger:focus{border-color:var(--color-brand-500,#465fff);outline:0;box-shadow:0 0 0 3px rgba(70,95,255,.1)}
.admin-base-dropdown-trigger{display:flex;width:100%;height:3rem;align-items:center;justify-content:space-between;overflow:visible;border:1px solid #d1d5db;border-radius:.625rem;padding:.75rem 1rem;font-size:.9rem;line-height:1.35rem;color:#1f2937;transition:all .2s ease}
.admin-base-dropdown-trigger:focus{border-color:var(--color-brand-300,#9cb9ff);outline:0;box-shadow:0 0 0 3px rgba(70,95,255,.1)}
.admin-form .admin-base-dropdown{max-width:none!important}
@media (max-width:639px){.admin-base-dropdown{max-width:none!important}}
.admin-bulk-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.5rem}
.admin-bulk-inline-field{display:flex;align-items:center;gap:.25rem}
.admin-bulk-label{font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-bulk-number-input{width:5rem;min-height:2.75rem;border:1px solid #d1d5db;border-radius:.25rem;padding:.25rem .5rem;font-size:.875rem;line-height:1.25rem}
.admin-bulk-warehouse-select{min-width:140px;min-height:2.75rem;flex:1 1 0%;border:1px solid #d1d5db;border-radius:.25rem;padding:.25rem .5rem;font-size:.875rem;line-height:1.25rem}
.admin-bulk-remove-button{display:inline-flex;min-height:2.75rem;align-items:center;font-size:.875rem;line-height:1.25rem;color:#dc2626}
.admin-bulk-remove-button:hover{text-decoration:underline}
.admin-warehouse-cooling-stack{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;font-size:.875rem;line-height:1.25rem}
.admin-warehouse-alert-row{margin-bottom:.25rem;display:flex;align-items:center;gap:.375rem}
.admin-warehouse-alert-badge{display:inline-flex;align-items:center;border:1px solid #fecaca;border-radius:.25rem;background:#fee2e2;padding:.25rem .5rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#991b1b}
.admin-warehouse-controller-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.admin-warehouse-temperature-cell{display:inline-flex;flex-direction:column;gap:.25rem;font-size:.9375rem;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.admin-warehouse-temperature-cell small{font-size:.6875rem;font-weight:400;color:#6b7280}
.admin-warehouse-temperature-cached{color:#6b7280}
.admin-warehouse-current-summary{display:inline-flex;flex-direction:column;align-items:flex-start;gap:.375rem}
.admin-warehouse-activity{display:inline-flex;align-items:center;gap:.5rem}
.admin-warehouse-activity-indicator{display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;color:#9ca3af;cursor:default;flex-shrink:0}
.admin-warehouse-activity-indicator>span{display:inline-flex;align-items:center;justify-content:center}
.admin-warehouse-activity-indicator svg,.admin-warehouse-activity-indicator i{width:1.125rem;height:1.125rem;font-size:1.125rem;line-height:1}
.admin-warehouse-activity-indicator[data-state="running"]{color:#15803d;filter:drop-shadow(0 0 3px rgba(34,197,94,.45));animation:admin-warehouse-activity-shine 3s ease-in-out infinite}
.admin-warehouse-activity-indicator[data-state="stopped"]{color:#dc2626}
.admin-warehouse-activity-indicator[data-state="running"]>span{animation:admin-warehouse-control-spin 1.5s linear infinite}
@keyframes admin-warehouse-activity-shine{0%,100%{filter:brightness(1) drop-shadow(0 0 2px rgba(34,197,94,.3))}45%,55%{filter:brightness(1.25) drop-shadow(0 0 6px rgba(34,197,94,.65))}}
@media (prefers-reduced-motion:reduce){.admin-warehouse-activity-indicator[data-state="running"],.admin-warehouse-activity-indicator[data-state="running"]>span{animation:none;filter:none}}
.admin-warehouse-schedule-link{font-size:.75rem;white-space:nowrap}
.admin-warehouse-native-schedule-summary{display:flex;min-width:9rem;max-width:16rem;flex-direction:column;align-items:flex-start;gap:.45rem;font-size:.75rem;line-height:1.25rem;white-space:normal}
.admin-warehouse-native-schedule-state{display:inline-flex;align-items:center;gap:.4rem;min-height:1.75rem;border:1px solid #d1d5db;border-radius:9999px;background:#f3f4f6;padding:.25rem .625rem;font-weight:650;color:#4b5563;white-space:nowrap}
.admin-warehouse-native-schedule-state[data-state="on"]{border-color:#86efac;background:#dcfce7;color:#166534}
.admin-warehouse-native-schedule-state[data-state="off"]{border-color:#fca5a5;background:#fee2e2;color:#991b1b}
.admin-warehouse-native-schedule-state[data-state="loading"]{color:#6b7280}
.admin-warehouse-native-schedule-state[data-state="loading"]::before{width:.75rem;height:.75rem;flex:0 0 .75rem;border:2px solid currentColor;border-right-color:transparent;border-radius:9999px;content:"";animation:admin-warehouse-control-spin .8s linear infinite}
.admin-warehouse-native-timeline{display:flex;flex-direction:column;gap:.2rem;margin:0;padding:0;list-style:none;font-variant-numeric:tabular-nums}
.admin-warehouse-native-slot{display:flex;align-items:baseline;gap:.35rem;min-width:0}
.admin-warehouse-native-slot-marker{display:inline-flex;width:1.25rem;height:1.25rem;flex:0 0 1.25rem;align-items:center;justify-content:center;border:1px solid #d1d5db;border-radius:9999px;background:#fff;color:#4b5563;font-size:.6875rem;font-weight:700;line-height:1}
.admin-warehouse-native-slot-time{font-weight:600;white-space:nowrap}
.admin-warehouse-native-slot small{color:#6b7280;white-space:nowrap}
.admin-warehouse-native-schedule-note{display:block;color:#6b7280;line-height:1.3}
.dark .admin-warehouse-native-schedule-state{border-color:#475467;background:#344054;color:#d0d5dd}
.dark .admin-warehouse-native-schedule-state[data-state="on"]{border-color:#067647;background:#053321;color:#abefc6}
.dark .admin-warehouse-native-schedule-state[data-state="off"]{border-color:#b42318;background:#55160c;color:#fecdca}
.dark .admin-warehouse-native-slot-marker{border-color:#475467;background:#1d2939;color:#d0d5dd}
.dark .admin-warehouse-native-slot small,.dark .admin-warehouse-native-schedule-note{color:#98a2b3}
.admin-warehouse-climate-action{display:inline-flex}
.admin-warehouse-climate-trigger{width:2.75rem;height:2.75rem;justify-content:center;border-radius:.625rem}
.admin-warehouse-climate-trigger[aria-expanded="true"]{background:#fff0f3;box-shadow:inset 0 0 0 1px #d45b3d}
.admin-warehouse-climate-card{overflow-wrap:anywhere;position:fixed;inset:auto;margin:0;width:min(21rem,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;padding:1rem;border:1px solid #e5e1db;border-radius:1rem;background:#fffdfa;color:#27303f;box-shadow:0 14px 40px rgba(39,48,63,.18);text-align:left;white-space:normal;font-size:.875rem;line-height:1.4}
.admin-warehouse-climate-card:not(:popover-open){display:none}
.admin-warehouse-climate-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem}
.admin-warehouse-climate-heading small{display:block;color:#73716c;font-size:.75rem}
.admin-warehouse-climate-heading h3{font-size:1rem;line-height:1.4;font-weight:600;margin:.25rem 0 0;overflow-wrap:anywhere}
.admin-warehouse-climate-close{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;flex:0 0 2.75rem;border-radius:.625rem;border:1px solid #e5e1db;background:#fff;color:#606772;cursor:pointer}
.admin-warehouse-climate-close:hover{background:#f5f3ef}
.admin-warehouse-climate-close:focus-visible,.admin-warehouse-climate-trigger:focus-visible{outline:2px solid #d45b3d;outline-offset:2px}
.admin-warehouse-climate-stats{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin:1rem 0;padding:.75rem;border-radius:.75rem;background:#f6f4f0}
.admin-warehouse-climate-stats dt{font-size:.75rem;color:#666b73;white-space:normal}
.admin-warehouse-climate-stats dd{margin:.25rem 0 0;font-size:1.25rem;font-weight:600;font-variant-numeric:tabular-nums}
.admin-warehouse-climate-activity{margin:0 0 1rem}
.admin-warehouse-climate-activity h4,.admin-warehouse-climate-control-heading h4{margin:0;color:#374151;font-size:.8125rem;font-weight:600}
.admin-warehouse-climate-activity-grid{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-top:.5rem}
.admin-warehouse-climate-activity-item{display:flex;align-items:center;gap:.5rem;min-width:0;border:1px solid #e5e7eb;border-radius:.625rem;background:#fff;padding:.5rem;color:#9ca3af}
.admin-warehouse-climate-activity-item[data-state="running"]{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}
.admin-warehouse-climate-activity-item[data-state="stopped"]{border-color:#fecaca;background:#fef2f2;color:#dc2626}
.admin-warehouse-climate-activity-item[data-state="running"] .admin-warehouse-climate-activity-icon{animation:admin-warehouse-control-spin 1.5s linear infinite}
.admin-warehouse-climate-activity-icon{display:inline-flex;width:1.375rem;height:1.375rem;flex:0 0 1.375rem;align-items:center;justify-content:center}
.admin-warehouse-climate-activity-icon svg,.admin-warehouse-climate-activity-icon i{width:1.125rem;height:1.125rem;font-size:1.125rem;line-height:1}
.admin-warehouse-climate-activity-copy{display:flex;min-width:0;flex-direction:column;line-height:1.2}
.admin-warehouse-climate-activity-copy strong{color:#374151;font-size:.75rem;font-weight:600}
.admin-warehouse-climate-activity-copy small{margin-top:.125rem;color:currentColor;font-size:.6875rem}
.admin-warehouse-climate-control-heading{margin:0 0 .625rem;padding-top:.875rem;border-top:1px solid #e5e1db}
.admin-warehouse-climate-control-heading p{margin:.25rem 0 0;color:#73716c;font-size:.6875rem;line-height:1.35}
.admin-warehouse-climate-card .admin-warehouse-cooling-stack{width:100%}
.admin-warehouse-climate-card .admin-warehouse-controller-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;width:100%;gap:.75rem}
.admin-warehouse-climate-control-label{min-width:0;text-align:left;font-size:.75rem;font-weight:600;line-height:1.25}
.admin-warehouse-climate-card .admin-warehouse-cooling-toggle{width:100%;min-height:3.75rem;align-items:center;justify-content:flex-start;gap:.625rem;flex-basis:auto;padding:.75rem}
.admin-warehouse-climate-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e1db}
.admin-warehouse-climate-footer .admin-action-text-link{min-height:2.75rem;font-size:.75rem}
.admin-warehouse-climate-card .admin-table-placeholder{color:#667085}
.admin-warehouse-climate-card .admin-action-text-link-primary{color:#b91937;transition:none}
.dark .admin-warehouse-climate-card{color-scheme:dark;border-color:#344054;background:#101828;color:#f2f4f7;box-shadow:0 14px 40px rgba(0,0,0,.45)}
.dark .admin-warehouse-climate-heading small,.dark .admin-warehouse-climate-stats dt,.dark .admin-warehouse-climate-control-heading p{color:#98a2b3}
.dark .admin-warehouse-climate-close{border-color:#475467;background:#1d2939;color:#d0d5dd}
.dark .admin-warehouse-climate-close:hover{background:#344054;color:#f2f4f7}
.dark .admin-warehouse-climate-stats{background:#1d2939}
.dark .admin-warehouse-climate-stats dd,.dark .admin-warehouse-climate-activity h4,.dark .admin-warehouse-climate-control-heading h4{color:#f2f4f7}
.dark .admin-warehouse-climate-activity-item{border-color:#344054;background:#1d2939;color:#98a2b3}
.dark .admin-warehouse-climate-activity-item[data-state="running"]{border-color:#067647;background:#053321;color:#abefc6}
.dark .admin-warehouse-climate-activity-item[data-state="stopped"]{border-color:#b42318;background:#55160c;color:#fecdca}
.dark .admin-warehouse-climate-activity-copy strong{color:inherit}
.dark .admin-warehouse-climate-control-heading,.dark .admin-warehouse-climate-footer,.dark .admin-warehouse-native-schedule{border-color:#344054}
.dark .admin-warehouse-climate-card .admin-dashboard-cooling-retry{color:#fda29b}
.dark .admin-warehouse-climate-card .admin-dashboard-cooling-retry:hover{color:#fecdca}
.dark .admin-warehouse-climate-card .admin-action-text-link-primary{color:#fda29b}
.dark .admin-warehouse-climate-card .admin-warehouse-cooling-unknown{border-color:#475467;background:#344054;color:#d0d5dd}
.dark .admin-warehouse-climate-card .admin-table-placeholder{color:#98a2b3}
.admin-warehouse-cooling-toggle{display:inline-flex;min-width:2.75rem;min-height:2.75rem;align-items:center;justify-content:center;border:1px solid transparent;border-radius:.75rem;padding:.625rem;color:#fff;box-shadow:0 1px 2px rgba(15,23,42,.12),inset 0 1px 0 rgba(255,255,255,.16);cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}
.admin-warehouse-cooling-toggle:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 8px rgba(15,23,42,.18),inset 0 1px 0 rgba(255,255,255,.18)}
.admin-warehouse-cooling-toggle:focus-visible{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px #3b82f6}
.admin-warehouse-cooling-toggle:disabled{cursor:not-allowed}
/* Action colors: running equipment offers red Stop; stopped equipment offers green Start. */
.admin-warehouse-control-state-on{border-color:#b91c1c;background:#dc2626;color:#fff}
.admin-warehouse-control-state-on:hover{background:#b91c1c}
.admin-warehouse-control-state-off{border-color:#166534;background:#15803d;color:#fff}
.admin-warehouse-control-state-off:hover{background:#166534}
.admin-warehouse-cooling-unknown{border-color:#d1d5db;background:#f3f4f6;color:#9ca3af;box-shadow:none}
.admin-warehouse-cooling-toggle:disabled{border-color:#d1d5db;background:#f3f4f6;color:#667085;box-shadow:none;filter:none}
.dark .admin-warehouse-cooling-toggle:disabled{border-color:#475467;background:#344054;color:#98a2b3}
.admin-warehouse-control-icon{display:inline-flex;width:1.375rem;height:1.375rem;align-items:center;justify-content:center;pointer-events:none}
.admin-warehouse-control-icon>i{line-height:1}
.admin-warehouse-control-icon-working{animation:admin-warehouse-control-spin 1.5s linear infinite}
@keyframes admin-warehouse-control-spin{to{transform:rotate(360deg)}}
.admin-warehouse-temperature-row{display:flex;align-items:center;gap:.375rem;color:#4b5563}
.tooltip{position:absolute;z-index:100200;max-width:min(20rem,calc(100vw - 1.25rem));visibility:hidden;opacity:0;pointer-events:none;border-radius:.5rem;background:#111827;padding:.5rem .625rem;color:#fff;font-size:.75rem;line-height:1rem;font-weight:600;white-space:normal;overflow-wrap:anywhere;box-shadow:0 8px 18px rgba(15,23,42,.24);transform:translateY(2px);transition:opacity .12s ease,transform .12s ease,visibility .12s ease}
.tooltip::after{position:absolute;width:0;height:0;content:"";border:5px solid transparent}
.tooltip-show{visibility:visible;opacity:1;transform:translateY(0)}
.tooltip-top::after{left:50%;bottom:-10px;border-top-color:#111827;transform:translateX(-50%)}
.tooltip-bottom::after{left:50%;top:-10px;border-bottom-color:#111827;transform:translateX(-50%)}
.tooltip-left::after{right:-10px;top:50%;border-left-color:#111827;transform:translateY(-50%)}
.tooltip-right::after{left:-10px;top:50%;border-right-color:#111827;transform:translateY(-50%)}
.admin-chart-tooltip{min-width:200px;border-radius:.5rem;background:#1f2937;padding:.75rem;color:#fff;box-shadow:0 4px 6px rgba(0,0,0,.3);font-family:Outfit,sans-serif}
.admin-chart-tooltip-title{margin-bottom:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#fff}
.admin-chart-tooltip-primary-row{margin-bottom:.375rem;font-size:.8125rem}
.admin-chart-tooltip-label{font-weight:500}
.admin-chart-tooltip-value{font-weight:700;color:#60a5fa}
.admin-chart-tooltip-muted-row{margin-bottom:.25rem;font-size:.75rem;color:#d1d5db}
.admin-chart-tooltip-strong{font-weight:600}
.admin-chart-tooltip-divider-row{margin-top:.5rem;border-top:1px solid #374151;padding-top:.5rem;font-size:.75rem}
.admin-chart-tooltip-status{font-weight:700}
.admin-chart-tooltip-status-on{color:#34d399}
.admin-chart-tooltip-status-off{color:#9ca3af}
.admin-chart-canvas-min-500{min-height:500px}
.admin-chart-canvas-fill{width:100%;min-height:500px}
.admin-chart-panel-muted{border:1px solid #e5e7eb;border-radius:.5rem;background:#f9fafb;padding:1.5rem}
.admin-selected-control-shadow{box-shadow:0 0 0 3px rgba(34,197,94,.1)}
.admin-outline-action-sm{display:inline-flex;align-items:center;border:1px solid #d1d5db;border-radius:.5rem;padding:.5rem .75rem;font-size:.75rem;line-height:1rem;font-weight:600;color:#374151}
.admin-outline-action-sm:hover{background:#f9fafb}
.warehouse-option{width:100%;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;padding:.75rem 1rem;text-align:left;font-size:1rem;line-height:1.5rem;font-weight:600;color:#374151;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.admin-processing-warehouse-option{min-height:52px}
.warehouse-option:hover{border-color:var(--color-primary,#4661ff);background:rgba(70,97,255,.05)}
.warehouse-option-selected{border-color:var(--color-primary,#4661ff);background:rgba(70,97,255,.05);color:var(--color-primary-text,#d51d40)}
.admin-outline-control{display:inline-flex;align-items:center;border:1px solid #d1d5db;border-radius:.5rem;background:#fff;padding:.375rem .75rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#374151}
.admin-outline-control:hover{background:#f9fafb}
.admin-outline-control:disabled{cursor:not-allowed;opacity:.5}
.admin-status-pill{display:inline-flex;align-items:center;border-radius:9999px;padding:.25rem .625rem;font-size:.75rem;line-height:1rem;font-weight:500}
.admin-status-pill-gap{gap:.5rem}
.admin-status-pill-strong{font-weight:600}
.admin-status-pill-compact{padding:.125rem .5rem}
.admin-status-pill-spacious{padding:.25rem .75rem}
.admin-status-pill-bordered{border:1px solid}
.admin-status-pill-compact-bordered{display:inline-flex;align-items:center;border:1px solid;border-radius:9999px;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500}
.admin-status-pill-compact-bordered-gap{display:inline-flex;align-items:center;border:1px solid;border-radius:9999px;margin-top:.25rem;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500}
.admin-status-pill-compact-rose{display:inline-flex;align-items:center;border:1px solid #fecdd3;border-radius:9999px;background:#fff1f2;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;color:#be123c}
.admin-status-pill-compact-emerald{display:inline-flex;align-items:center;border:1px solid #a7f3d0;border-radius:9999px;background:#ecfdf5;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;color:#047857}
.admin-status-pill-spacious-strong{display:inline-flex;align-items:center;border-radius:9999px;padding:.25rem .75rem;font-size:.75rem;line-height:1rem;font-weight:600}
.admin-status-pill-spacious-strong-bordered{display:inline-flex;align-items:center;border:1px solid;border-radius:9999px;padding:.25rem .75rem;font-size:.75rem;line-height:1rem;font-weight:600}
.admin-status-pill-spacious-strong-bordered-gap{display:inline-flex;align-items:center;border:1px solid;border-radius:9999px;margin-top:.25rem;padding:.25rem .75rem;font-size:.75rem;line-height:1rem;font-weight:600}
.admin-status-pill-block-gap{margin-top:.25rem}
.admin-status-pill-active{background:#f0fdf4;color:#15803d}
.admin-status-pill-inactive{background:#f3f4f6;color:#4b5563}
.admin-status-pill-danger{background:#fee2e2;color:#991b1b}
.admin-status-pill-rose{border-color:#fecdd3;background:#fff1f2;color:#be123c}
.admin-status-pill-emerald{border-color:#a7f3d0;background:#ecfdf5;color:#047857}
.admin-status-pill-red{border-color:#fecaca;background:#fee2e2;color:#b91c1c}
.admin-status-pill-slate{border-color:#e2e8f0;background:#f1f5f9;color:#334155}
.admin-status-pill-amber{border-color:#fde68a;background:#fef3c7;color:#b45309}
.admin-status-pill-orange{border-color:#fed7aa;background:#fff7ed;color:#c2410c}
.admin-status-pill-blue{border-color:#bfdbfe;background:#dbeafe;color:#1d4ed8}
.admin-status-pill-gray{border-color:#e5e7eb;background:#f3f4f6;color:#374151}
.admin-legend-pill{display:inline-flex;align-items:center;gap:.375rem;border-radius:9999px;padding:.25rem .625rem;font-size:.75rem;line-height:1rem;font-weight:500}
.admin-legend-dot{width:.5rem;height:.5rem;border-radius:9999px;flex-shrink:0}
.admin-legend-pill-gray{background:#e5e7eb;color:#1f2937}
.admin-legend-pill-gray-subtle{background:#f3f4f6;color:#1f2937}
.admin-legend-pill-yellow{background:#fefce8;color:#854d0e}
.admin-legend-pill-blue{background:#eff6ff;color:#1e40af}
.admin-legend-pill-green{background:#f0fdf4;color:#166534}
.admin-legend-pill-emerald{background:#ecfdf5;color:#065f46}
.admin-legend-pill-amber{background:#fffbeb;color:#92400e}
.admin-legend-pill-red{background:#fef2f2;color:#991b1b}
.admin-legend-pill-orange{background:#fff7ed;color:#9a3412}
.admin-legend-pill-lime{background:#f7fee7;color:#3f6212}
.admin-legend-dot-gray{background:#4b5563}
.admin-legend-dot-gray-subtle{background:#9ca3af}
.admin-legend-dot-yellow{background:#facc15}
.admin-legend-dot-blue{background:#60a5fa}
.admin-legend-dot-green{background:#22c55e}
.admin-legend-dot-green-strong{background:#16a34a}
.admin-legend-dot-emerald{background:#10b981}
.admin-legend-dot-amber{background:#f59e0b}
.admin-legend-dot-red{background:#ef4444}
.admin-legend-dot-orange{background:#fb923c}
.admin-legend-dot-lime{background:#84cc16}
.admin-boundary-points-panel{margin-top:.5rem;max-height:16rem;overflow-y:auto;border:1px solid #f3f4f6;border-radius:.5rem;background:#f9fafb;padding:.5rem;font-size:.75rem;line-height:1rem;color:#374151}
.admin-fuel-filter-min-w-year{min-width:140px}
.admin-fuel-filter-min-w-month{min-width:170px}
.admin-fuel-filter-min-w-type{min-width:220px}
.admin-fuel-filter-min-w-machine{min-width:360px}
.admin-fuel-filter-band{border-bottom:1px solid #e5e7eb;padding:1.5rem}
.admin-fuel-chart-filter-band{border-bottom:1px solid #e5e7eb;padding:0 1.5rem 1rem}
.admin-fuel-heatmap-band{border-top:1px solid #e5e7eb;padding:1.5rem}
.admin-current-stock-filter-selects{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;min-width:0}
.admin-current-stock-filter-company,.admin-current-stock-filter-crop,.admin-current-stock-filter-warehouse{min-width:0}
.admin-filter-button-icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center}
.admin-filter-button-icon .harvest-type-image-icon{display:block;width:1.375rem;height:1.375rem;object-fit:contain}
.admin-current-stock-warehouse-guidance,.admin-current-stock-adjust-guidance{display:flex;align-items:flex-start;gap:.75rem}
.admin-current-stock-warehouse-guidance{margin-bottom:1.5rem}
.admin-current-stock-warehouse-guidance>span,.admin-current-stock-adjust-guidance>span{display:inline-flex;flex:0 0 auto;padding-top:.1rem}
.admin-current-stock-warehouse-guidance p,.admin-current-stock-adjust-guidance p{margin:0}
.current-stock-row>.admin-table-body-cell{padding-top:.75rem;padding-bottom:.75rem}
.current-stock-row .admin-icon-action-blue,.current-stock-row .admin-disabled-action-icon{min-width:2.75rem;min-height:2.75rem}
.admin-current-stock-processing{display:flex;min-width:8rem;flex-direction:column;gap:.35rem}
.admin-current-stock-processing-copy{display:flex;align-items:center;justify-content:space-between;gap:.75rem;font-size:.72rem;line-height:1rem;font-weight:600;color:#57534e}
.admin-current-stock-processing-track{display:block;width:100%;height:.42rem;overflow:hidden;border:0;border-radius:9999px;background:#e7e5e4;appearance:none}
.admin-current-stock-processing-track::-webkit-progress-bar{border-radius:9999px;background:#e7e5e4}
.admin-current-stock-processing-track::-webkit-progress-value{border-radius:9999px;background:#16a34a}
.admin-current-stock-processing-track::-moz-progress-bar{border-radius:9999px;background:#16a34a}
@media (min-width:768px){.admin-current-stock-filter-selects{grid-template-columns:repeat(3,minmax(0,1fr))}}
.admin-stat-card-min-w-150{min-width:150px}
.admin-stat-card-min-w-170{min-width:170px}
.admin-filter-select-sm-w-220,.admin-filter-select-sm-w-240{width:100%}
@media (min-width:640px){.admin-filter-select-sm-w-220{width:220px}.admin-filter-select-sm-w-240{width:240px}}
.admin-header-user-menu{margin-top:17px;width:260px}
.admin-header-user-menu-panel{position:absolute;right:0;display:none;flex-direction:column;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;padding:.75rem;box-shadow:0 10px 15px -3px rgba(16,24,40,.1),0 4px 6px -4px rgba(16,24,40,.1)}
.admin-header-user-menu-panel:not(.hidden){display:flex}
.admin-header-search-input{max-width:none}
.admin-header-search-shortcut{padding:4.5px 7px;letter-spacing:0}
.admin-header-search-results{max-height:320px}
.admin-water-chart-canvas{width:100%;min-width:0;min-height:195px}
@media (min-width:1280px){.admin-water-chart-canvas{min-width:100%}}
.admin-company-financial-chart{min-height:250px}
.admin-fuel-chart-canvas{min-height:320px}
.admin-fuel-empty-note{font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-fuel-event-card{margin-bottom:.5rem;border:1px solid #e5e7eb;border-radius:.375rem;padding:.5rem}
.admin-fuel-event-date{font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-fuel-event-quantity{font-size:.875rem;line-height:1.25rem;color:#111827}
.admin-fuel-event-meta{font-size:.75rem;line-height:1rem;color:#4b5563}
.admin-fuel-trend-row{display:flex;justify-content:space-between;font-size:.75rem;line-height:1rem}
.admin-fuel-drawer-section{margin-bottom:1rem}
.admin-fuel-drawer-title{font-size:1.125rem;line-height:1.75rem;font-weight:600;color:#111827}
.admin-fuel-drawer-meta{font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-fuel-vehicle-chip{margin-top:.25rem;display:inline-flex;border-radius:9999px;background:#eff6ff;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;color:#1d4ed8}
.admin-fuel-stat-card{margin-bottom:1rem;border:1px solid #e2e8f0;border-radius:.5rem;background:#f8fafc;padding:.75rem}
.admin-fuel-stat-label{font-size:.75rem;line-height:1rem;color:#475569}
.admin-fuel-stat-value{font-size:1.25rem;line-height:1.75rem;font-weight:600;color:#0f172a}
.admin-fuel-section-title{margin-bottom:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#1f2937}
.admin-service-performance-card{height:100%;min-height:320px}
.admin-service-summary-row{margin-top:1.5rem;display:flex;flex-direction:column;gap:1rem;border-top:1px solid #e5e7eb;padding-top:1.5rem}
.admin-service-stat-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1rem;border-top:1px solid #e5e7eb;padding-top:.5rem}
.admin-service-company-header{margin-bottom:1.25rem;border-bottom:1px solid #e5e7eb;padding-bottom:1.25rem}
.admin-service-company-title{font-size:1.25rem;line-height:1.75rem;font-weight:700;color:#111827}
.admin-service-actions-section{display:flex;min-height:0;flex:1 1 0%;flex-direction:column;border-top:1px solid #e5e7eb;padding-top:1rem}
.admin-service-action-name{min-width:0;font-weight:500;line-height:1.375;color:#1f2937}
.admin-service-action-value{flex-shrink:0;text-align:right;line-height:1.25;color:#4b5563;font-variant-numeric:tabular-nums}
.admin-service-unit-suffix{font-size:1rem;line-height:1.5rem;font-weight:600;color:#4b5563}
.admin-service-unit-suffix-blue{color:#3b82f6}
.admin-break-anywhere{overflow-wrap:anywhere}
.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}
.disabled\:opacity-50:disabled{opacity:.5}
.bg-primary\/10{background-color:color-mix(in srgb,var(--color-primary,#4661ff) 10%,transparent)}
.bg-primary\/5{background-color:color-mix(in srgb,var(--color-primary,#4661ff) 5%,transparent)}
.bg-primary\/90{background-color:color-mix(in srgb,var(--color-primary,#4661ff) 90%,transparent)}
.bg-primary{background-color:var(--color-primary,#4661ff)!important}
.border-primary{border-color:var(--color-primary,#4661ff)!important}
.border-primary\/50{border-color:color-mix(in srgb,var(--color-primary,#4661ff) 50%,transparent)!important}
.text-primary{color:var(--color-primary-text,#d51d40)!important}
.text-primary\/80{color:color-mix(in srgb,var(--color-primary,#4661ff) 80%,transparent)!important}
.ring-primary{--tw-ring-color:var(--color-primary,#4661ff)!important}
.ring-primary\/10{--tw-ring-color:color-mix(in srgb,var(--color-primary,#4661ff) 10%,transparent)!important}
.hover\:bg-primary\/5:hover{background-color:color-mix(in srgb,var(--color-primary,#4661ff) 5%,transparent)}
.hover\:bg-primary\/90:hover{background-color:color-mix(in srgb,var(--color-primary,#4661ff) 90%,transparent)}
.hover\:bg-amber-50:hover{background-color:#fffbeb}
.hover\:bg-emerald-50:hover{background-color:#ecfdf5}
.hover\:bg-gray-100:hover{background-color:#f3f4f6}
.hover\:border-primary:hover{border-color:var(--color-primary,#4661ff)!important}
.hover\:border-primary\/50:hover{border-color:color-mix(in srgb,var(--color-primary,#4661ff) 50%,transparent)!important}
.hover\:text-primary:hover{color:var(--color-primary-text,#d51d40)!important}
.hover\:text-primary\/80:hover{color:color-mix(in srgb,var(--color-primary,#4661ff) 80%,transparent)!important}
.hover\:text-amber-700:hover{color:#b45309}
.hover\:text-emerald-700:hover{color:#047857}
.hover\:text-gray-700:hover{color:#374151}
.hover\:ring-primary:hover{--tw-ring-color:var(--color-primary,#4661ff)!important}
.focus\:border-primary:focus{border-color:var(--color-primary,#4661ff)!important}
.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}
.focus\:ring-2:focus{box-shadow:0 0 0 2px var(--tw-ring-color,#2563eb)}
.focus\:ring-3:focus{box-shadow:0 0 0 3px var(--tw-ring-color,#2563eb)}
.focus\:ring-inset:focus{box-shadow:inset 0 0 0 2px var(--tw-ring-color,#2563eb)}
.focus\:ring-offset-1:focus{outline-offset:1px}
.focus\:ring-amber-300:focus{--tw-ring-color:#fcd34d}
.focus\:ring-amber-400:focus{--tw-ring-color:#fbbf24}
.focus\:ring-emerald-300:focus{--tw-ring-color:#6ee7b7}
.focus\:ring-emerald-400:focus{--tw-ring-color:#34d399}
.focus\:ring-gray-300:focus{--tw-ring-color:#d1d5db}
.focus\:ring-gray-400:focus{--tw-ring-color:#9ca3af}
.focus\:ring-gray-500:focus{--tw-ring-color:#6b7280}
.focus\:ring-primary:focus{--tw-ring-color:var(--color-primary,#4661ff)!important}
.focus\:ring-primary\/10:focus{--tw-ring-color:color-mix(in srgb,var(--color-primary,#4661ff) 10%,transparent)!important}
.text-red-700{color:#b91c1c}
.hover\:underline:hover{text-decoration-line:underline}
.flex-shrink-0{flex-shrink:0}
.shrink-0{flex-shrink:0}
.min-w-0{min-width:0}
.min-h-0{min-height:0}
.min-w-max{min-width:max-content}
.whitespace-nowrap{white-space:nowrap}
.whitespace-normal{white-space:normal}
.whitespace-pre-wrap{white-space:pre-wrap}
.break-all{word-break:break-all}
.break-words{overflow-wrap:break-word}
.tracking-wide{letter-spacing:.025em}
.tracking-wider{letter-spacing:.05em}
.tabular-nums{font-variant-numeric:tabular-nums}
.align-top{vertical-align:top}
.align-middle{vertical-align:middle}
.align-bottom{vertical-align:bottom}
.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}
.object-cover{object-fit:cover}
.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}
.focus\:ring-1:focus{--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:var(--color-brand-500,#465fff);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 0 1px var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}
.focus\:ring-2:focus{--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:var(--color-brand-500,#465fff);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 0 2px var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}
.focus\:ring-offset-1:focus{--tw-ring-offset-width:1px}
.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}
.focus\:ring-inset:focus{--tw-ring-inset:inset}
.text-red-500{color:#ef4444}
.text-red-600{color:#dc2626}
.text-red-800{color:#991b1b}
.text-red-900{color:#7f1d1d}
.text-green-600{color:#16a34a}
.text-green-700{color:#15803d}
.text-green-800{color:#166534}
.text-green-900{color:#14532d}
.bg-red-50{background-color:#fef2f2}
.bg-red-100{background-color:#fee2e2}
.bg-red-500{background-color:#ef4444}
.bg-green-50{background-color:#f0fdf4}
.bg-green-100{background-color:#dcfce7}
.bg-green-500{background-color:#22c55e}
.bg-green-600{background-color:#16a34a}
.bg-green-700{background-color:#15803d}
.border-red-100{border-color:#fee2e2}
.border-red-200{border-color:#fecaca}
.border-red-300{border-color:#fca5a5}
.border-red-500{border-color:#ef4444}
.border-green-200{border-color:#bbf7d0}
.border-green-300{border-color:#86efac}
.border-green-500{border-color:#22c55e}
.hover\:bg-green-50:hover{background-color:#f0fdf4}
.hover\:bg-green-600:hover{background-color:#16a34a}
.hover\:bg-green-700:hover{background-color:#15803d}
.hover\:bg-green-800:hover{background-color:#166534}
.hover\:bg-red-50:hover{background-color:#fef2f2}
.hover\:bg-red-100:hover{background-color:#fee2e2}
.hover\:bg-red-700:hover{background-color:#b91c1c}
.hover\:text-red-700:hover{color:#b91c1c}
.hover\:text-red-800:hover{color:#991b1b}
.invalid\:border-red-300:invalid{border-color:#fca5a5}
.invalid\:focus\:ring-red-500:invalid:focus{--tw-ring-color:#ef4444}
.space-y-0>:not([hidden])~:not([hidden]){margin-top:0}
.space-y-2>:not([hidden])~:not([hidden]){margin-top:.5rem}
.space-y-3>:not([hidden])~:not([hidden]){margin-top:.75rem}
.space-y-4>:not([hidden])~:not([hidden]){margin-top:1rem}
.space-y-8>:not([hidden])~:not([hidden]){margin-top:2rem}
.mt-4{margin-top:1rem}
.pt-6{padding-top:1.5rem}
.pb-6{padding-bottom:1.5rem}
.divide-gray-200>:not([hidden])~:not([hidden]){border-color:#e5e7eb}
.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
.duration-200{transition-duration:.2s}
.shadow-xs{box-shadow:0 1px 2px 0 rgba(16,24,40,.05)}
.shadow-lg{box-shadow:0 10px 15px -3px rgba(16,24,40,.1),0 4px 6px -4px rgba(16,24,40,.1)}
.shadow-xl{box-shadow:0 20px 25px -5px rgba(16,24,40,.1),0 8px 10px -6px rgba(16,24,40,.1)}
.shadow-md{box-shadow:0 4px 6px -1px rgba(16,24,40,.1),0 2px 4px -2px rgba(16,24,40,.1)}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.leading-none{line-height:1}
.leading-5{line-height:1.25rem}
.leading-snug{line-height:1.375}
.leading-relaxed{line-height:1.625}
.flex-nowrap{flex-wrap:nowrap}
.items-stretch{align-items:stretch}
.cursor-not-allowed{cursor:not-allowed}
.touch-manipulation{touch-action:manipulation}
.resize-none{resize:none}
.list-none{list-style-type:none}
.list-decimal{list-style-type:decimal}
.list-inside{list-style-position:inside}
.italic{font-style:italic}
.normal-case{text-transform:none}
.tracking-normal{letter-spacing:0}
.bg-gray-50\/30{background-color:rgba(249,250,251,.3)}
.bg-gray-50\/50{background-color:rgba(249,250,251,.5)}
.bg-gray-50\/80{background-color:rgba(249,250,251,.8)}
.bg-gray-50\/90{background-color:rgba(249,250,251,.9)}
.bg-white\/80{background-color:rgba(255,255,255,.8)}
.bg-white\/90{background-color:rgba(255,255,255,.9)}
.bg-brand-100{background-color:#e0e7ff}
.bg-brand-500\/10{background-color:color-mix(in srgb,var(--color-brand-500,#465fff) 10%,transparent)}
.text-brand-600{color:var(--color-brand-600,#3641f5)}
.text-brand-800{color:#2f3bc7}
.hover\:text-brand-700:hover{color:#3440f0}
.hover\:text-brand-500:hover{color:var(--color-primary-text,#d51d40)}
.focus\:border-brand-500:focus{border-color:var(--color-brand-500,#465fff)!important}
.focus\:bg-white:focus{background-color:#fff}
.focus\:ring-green-500:focus{--tw-ring-color:#22c55e!important}
.focus\:ring-gray-300:focus{--tw-ring-color:#d1d5db!important}
.focus\:ring-gray-500:focus{--tw-ring-color:#6b7280!important}
.hover\:opacity-90:hover{opacity:.9}
.hover\:opacity-80:hover{opacity:.8}
.hover\:scale-110:hover{transform:scale(1.1)}
.hover\:shadow-xl:hover{box-shadow:0 20px 25px -5px rgba(16,24,40,.1),0 8px 10px -6px rgba(16,24,40,.1)}
.text-\[10px\]{font-size:10px}
.text-\[11px\]{font-size:11px}
.min-w-\[2px\]{min-width:2px}
.min-w-\[2rem\]{min-width:2rem}
.min-w-\[8\.5rem\]{min-width:8.5rem}
.min-w-\[9\.5rem\]{min-width:9.5rem}
.min-w-\[140px\]{min-width:140px}
.min-w-\[150px\]{min-width:150px}
.min-w-\[170px\]{min-width:170px}
.min-w-\[180px\]{min-width:180px}
.min-w-\[200px\]{min-width:200px}
.min-w-\[220px\]{min-width:220px}
.min-w-\[250px\]{min-width:250px}
.min-w-\[260px\]{min-width:260px}
.min-w-\[280px\]{min-width:280px}
.min-w-\[300px\]{min-width:300px}
.min-w-\[360px\]{min-width:360px}
.min-w-\[690px\]{min-width:690px}
.min-h-\[44px\]{min-height:44px}
.min-h-\[48px\]{min-height:48px}
.min-h-\[52px\]{min-height:52px}
.min-h-\[195px\]{min-height:195px}
.min-h-\[250px\]{min-height:250px}
.min-h-\[280px\]{min-height:280px}
.min-h-\[320px\]{min-height:320px}
.min-h-\[500px\]{min-height:500px}
.max-w-\[140px\]{max-width:140px}
.max-w-\[12rem\]{max-width:12rem}
.max-w-\[14rem\]{max-width:14rem}
.max-w-\[200px\]{max-width:200px}
.max-w-\[220px\]{max-width:220px}
.max-w-\[260px\]{max-width:260px}
.max-w-\[320px\]{max-width:320px}
.max-w-\[420px\]{max-width:420px}
.max-w-\[430px\]{max-width:430px}
.max-w-\[507px\]{max-width:507px}
.max-w-\[700px\]{max-width:700px}
.max-h-\[300px\]{max-height:300px}
.max-h-\[320px\]{max-height:320px}
.max-h-\[90vh\]{max-height:90vh}
.h-\[60px\]{height:60px}
.h-\[90vh\]{height:90vh}
.h-\[92vh\]{height:92vh}
.w-\[60px\]{width:60px}
.w-\[6\.5rem\]{width:6.5rem}
.w-\[90px\]{width:90px}
.w-\[200px\]{width:200px}
.w-\[220px\]{width:220px}
.w-\[240px\]{width:240px}
.w-\[260px\]{width:260px}
.w-\[290px\]{width:290px}
.w-\[300px\]{width:300px}
.z-\[60\]{z-index:60}
.z-\[70\]{z-index:70}
.z-\[75\]{z-index:75}
.z-\[999\]{z-index:999}
.z-\[9999\]{z-index:9999}
.z-\[99999\]{z-index:99999}
.border-\[1\.5px\]{border-width:1.5px}
.pl-\[18px\]{padding-left:18px}
.pr-\[80px\]{padding-right:80px}
.py-\[11px\]{padding-top:11px;padding-bottom:11px}
.backdrop-blur-\[10px\]{backdrop-filter:blur(10px)}
.backdrop-blur-\[32px\]{backdrop-filter:blur(32px)}
.transition-\[box-shadow\,background-color\,color\]{transition-property:box-shadow,background-color,color}
.grid-cols-\[1fr_auto_auto_auto\]{grid-template-columns:1fr auto auto auto}
.grid-cols-\[minmax\(0\,1fr\)_280px\]{grid-template-columns:minmax(0,1fr) 280px}
.shadow-\[0_0_0_3px_rgba\(34\,197\,94\,0\.1\)\]{box-shadow:0 0 0 3px rgba(34,197,94,.1)}
.scale-\[2\]{--tw-scale-x:2;--tw-scale-y:2;transform:translate(var(--tw-translate-x,0),var(--tw-translate-y,0)) rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}
@media (min-width:640px){
  .sm\:text-\[11px\]{font-size:11px}
  .sm\:inline{display:inline}
  .sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sm\:text-left{text-align:left}
  .sm\:text-xs{font-size:.75rem;line-height:1rem}
  .sm\:items-end{align-items:flex-end}
  .admin-notice-row{flex-direction:row;align-items:center;justify-content:space-between}
  .admin-responsive-split-row{flex-direction:row;align-items:center;justify-content:space-between}
  .admin-header-user-name{display:block}
  .admin-form-grid-sm-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-land-create-boundary-actions{width:auto;grid-template-columns:repeat(2,max-content)}
  .admin-land-create-boundary-actions>*{width:auto}
  .admin-remote-cooling-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-warehouse-location-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-warehouse-location-action{grid-column:1/-1}
  .admin-form-grid-sm-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin-service-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin-service-unit-suffix{font-size:1.125rem;line-height:1.75rem}
  .admin-form-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-form-grid-2-compact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-dashboard-card-grid,.admin-dashboard-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-service-company-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-card-grid-xl-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-card-grid-sm-3,.admin-card-grid-sm-3-compact,.admin-form-grid-sm-3-end{grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin-card-grid-lg-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-file-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-tab-panel-pad{padding:1.5rem}
  .admin-meter-reading-row{flex-direction:row;align-items:center;gap:1rem}
  .admin-main-content-shell{padding:1.5rem}
  .admin-file-attachments-panel{padding:1.25rem}
  .admin-file-attachments-list{flex-direction:row}
  .admin-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sm\:flex-row-reverse{flex-direction:row-reverse}
  .sm\:pb-4{padding-bottom:1rem}
  .sm\:w-\[60px\]{width:60px}
  .sm\:w-\[220px\]{width:220px}
  .sm\:w-\[240px\]{width:240px}
  .sm\:max-w-\[200px\]{max-width:200px}
  .sm\:pl-\[3\.25rem\]{padding-left:3.25rem}
}
@media (min-width:1280px){
  .admin-land-create-boundary-layout{grid-template-columns:minmax(0,1fr) auto;align-items:center}
  .admin-land-identifier-grid>:last-child{grid-column:auto}
}
@media (max-width:639px){
  .admin-tractor-utilization-identity{grid-template-columns:3rem minmax(0,1fr)}
  .admin-tractor-utilization-identity>.admin-dashboard-micro-badge-xs-pill{grid-column:2;justify-self:start}
  .admin-tractor-utilization-image{width:3rem;height:3rem}
  .admin-tractor-utilization-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-tractor-utilization-fuel{grid-template-columns:minmax(0,1fr)}
  .admin-tractor-latest-work-summary{align-items:stretch;flex-direction:column}
  .admin-tractor-latest-work-summary dl{width:100%}
  .admin-tractor-health-grid{grid-template-columns:minmax(0,1fr)}
  .admin-tractor-utilization-footer{align-items:flex-start;flex-direction:column}
}
@media (min-width:768px){
  .md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .admin-map-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-dashboard-health-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .consumption-sale-stage-grid-context{grid-template-columns:repeat(2,minmax(0,1fr))}
  .consumption-sale-line{grid-template-columns:repeat(2,minmax(0,1fr))}
  .md\:flex-row{flex-direction:row}
  .md\:items-center{align-items:center}
  .md\:justify-between{justify-content:space-between}
  .md\:col-span-1{grid-column:span 1/span 1}
}
@media (min-width:1024px){
  .lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .admin-form .admin-form-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .admin-sales-create-grid{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(220px,1fr) minmax(160px,220px)}
  .consumption-sale-stage{padding:1.15rem 1.25rem}
  .consumption-sale-stage-grid-context{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-main-content-shell{padding:2rem}
  .admin-kpi-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
  .lg\:col-span-2{grid-column:span 2/span 2}
  .lg\:sticky{position:sticky}
  .lg\:top-6{top:1.5rem}
  .lg\:scale-\[2\]{--tw-scale-x:2;--tw-scale-y:2;transform:translate(var(--tw-translate-x,0),var(--tw-translate-y,0)) rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}
}
@media (min-width:1280px){
  .xl\:grid-cols-\[minmax\(0\,1fr\)_280px\]{grid-template-columns:minmax(0,1fr) 280px}
  .xl\:w-\[300px\]{width:300px}
  .admin-header-icon-button{width:2.75rem;height:2.75rem}
}
.admin-band-icon-rounded-4 i{border-radius:4px}
.admin-band-icon-rounded-6 i{border-radius:6px}
.admin-btn-bg-green{background-color:#16a34a!important}
.admin-btn-bg-green:hover{background-color:#15803d!important}
.admin-btn-bg-blue{background-color:#2563eb!important}
.admin-btn-bg-blue:hover{background-color:#1d4ed8!important}
.admin-btn-bg-primary{background-color:var(--color-primary,#4661ff)!important}
.admin-btn-bg-primary:hover{background-color:var(--color-primary,#4661ff)!important;opacity:.9}
.admin-btn-bg-brand{background-color:var(--color-brand-500,#465fff)!important}
.admin-btn-bg-brand:hover{background-color:var(--color-brand-600,#3641f5)!important}
.admin-btn-bg-red{background-color:#dc2626!important}
.admin-btn-bg-red:hover{background-color:#b91c1c!important}
.admin-border-green-700{border-color:#15803d!important}
.admin-border-blue-700{border-color:#1d4ed8!important}
.admin-z-image-modal{z-index:99999}
.admin-z-image-modal-overlay{z-index:99998}
.admin-image-modal-stage{display:flex;align-items:center;justify-content:center;max-height:calc(100vh - 200px);min-height:200px;border-radius:.5rem;background:#f9fafb;padding:1rem}
.admin-image-modal-preview{max-height:calc(100vh - 200px)}
#admin-image-gallery .admin-image-modal-stage{height:min(55vh,520px);min-height:120px;overflow:hidden;touch-action:pan-y pinch-zoom;user-select:none;cursor:grab}
#admin-image-gallery .admin-image-modal-preview{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:.5rem}
#admin-image-gallery [hidden]{display:none!important}
.admin-image-gallery-title{margin:0 0 .75rem;font-size:.875rem;font-weight:600;overflow-wrap:anywhere;color:#344054}
.admin-image-gallery-navigation{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:.75rem}
.admin-image-gallery-nav{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #d0d5dd;border-radius:999px;background:#fff;color:#344054;cursor:pointer}
.admin-image-gallery-nav[aria-disabled=true]{opacity:.4;cursor:default}
.admin-image-gallery-nav:focus-visible{outline:2px solid #465fff;outline-offset:2px}
#admin-image-gallery-position{min-width:4rem;text-align:center;font-variant-numeric:tabular-nums;color:#344054;font-size:.875rem}
.admin-image-gallery-feedback{text-align:center;color:#475467;font-size:.875rem}
.admin-image-gallery-feedback button{margin-top:.75rem}
.dark .admin-image-gallery-title,.dark #admin-image-gallery-position,.dark .admin-image-gallery-feedback{color:#e4e7ec}
.dark #admin-image-view-modal .admin-image-modal-content,.dark #admin-image-view-modal .admin-modal-body{background:#101828;color:#e4e7ec}
.dark #admin-image-view-modal .admin-section-title{color:#f2f4f7}
.dark #admin-image-view-modal .admin-modal-close-button{background:#344054;color:#f2f4f7}
.dark #admin-image-gallery .admin-image-modal-stage{background:#1d2939}
.dark .admin-image-gallery-nav{color:#e4e7ec;background:#1d2939;border-color:#475467}
@media(max-height:500px){#admin-image-gallery .admin-image-modal-stage{height:38vh;min-height:80px}.admin-image-gallery-navigation{margin-top:.25rem}}
/* Opt-in edge-to-edge photo viewer; shared modal runtime retains focus and Escape. */
#admin-image-view-modal.admin-image-view-fullscreen{overflow:hidden;background:#0c111d}
#admin-image-view-modal.admin-image-view-fullscreen .admin-modal-frame{height:100vh;height:100dvh;min-height:0;padding:0}
#admin-image-view-modal.admin-image-view-fullscreen .admin-image-modal-content{width:100%;height:100%;max-width:none;max-height:none;margin:0;border-radius:0;box-shadow:none;transform:none}
#admin-image-view-modal.admin-image-view-fullscreen .admin-modal-body{padding:0;overflow:hidden;background:#0c111d;color:#fff}
#admin-image-view-modal.admin-image-view-fullscreen #image-modal-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#admin-image-view-modal.admin-image-view-fullscreen #admin-image-gallery{position:absolute;inset:0}
#admin-image-view-modal.admin-image-view-fullscreen .admin-image-modal-stage{width:100%;height:100%;min-height:0;max-height:none;padding:0;border-radius:0;background:#0c111d}
#admin-image-view-modal.admin-image-view-fullscreen .admin-image-modal-preview{width:100%;height:100%;max-width:100%;max-height:100%;border-radius:0;object-fit:contain}
#admin-image-view-modal.admin-image-view-fullscreen .admin-image-gallery-title{position:absolute;bottom:max(1rem,env(safe-area-inset-bottom));left:max(1rem,env(safe-area-inset-left));z-index:2;max-width:calc(100% - 2rem);margin:0;padding:.5rem .75rem;border-radius:.5rem;background:rgba(12,17,29,.8);color:#fff;pointer-events:none}
#admin-image-view-modal.admin-image-view-fullscreen .admin-modal-close-button{top:max(1rem,env(safe-area-inset-top));right:max(1rem,env(safe-area-inset-right));background:rgba(12,17,29,.8);color:#fff;border:1px solid #ffffff40}
#admin-image-view-modal.admin-image-view-fullscreen .admin-modal-close-button:hover{background:#344054}
#admin-image-view-modal.admin-image-view-fullscreen .admin-modal-close-button>i,.admin-potato-review-body .admin-modal-close-button>i{display:none}
#admin-image-view-modal.admin-image-view-fullscreen .admin-modal-close-button::before,#admin-image-view-modal.admin-image-view-fullscreen .admin-modal-close-button::after,.admin-potato-review-body .admin-modal-close-button::before,.admin-potato-review-body .admin-modal-close-button::after{position:absolute;width:18px;height:2px;border-radius:1px;background:currentColor;content:"";transform:rotate(45deg)}
#admin-image-view-modal.admin-image-view-fullscreen .admin-modal-close-button::after,.admin-potato-review-body .admin-modal-close-button::after{transform:rotate(-45deg)}
#admin-image-view-modal.admin-image-view-fullscreen .admin-image-gallery-feedback{color:#fff}
#admin-image-view-modal.admin-image-view-fullscreen .admin-image-gallery-navigation{position:absolute;bottom:max(4rem,env(safe-area-inset-bottom));left:0;right:0}
#admin-image-view-modal.admin-image-view-fullscreen #admin-image-gallery-position{color:#fff;background:#0c111d;border-radius:.5rem}
.admin-map-info-window{padding:8px;min-width:200px}
.admin-map-info-image{max-width:150px;max-height:150px;border-radius:4px;cursor:pointer}
.admin-map-info-description{font-size:.9em;color:#666}
.admin-map-info-link{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;background:#3b82f6;color:#fff;border-radius:4px;text-decoration:none;font-size:.85em}
.admin-map-block-order-label{display:inline-flex;min-width:24px;height:24px;align-items:center;justify-content:center;border:2px solid rgba(255,255,255,.95);border-radius:9999px;background:#111827;color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.35);font-size:12px;font-weight:700;line-height:1}
.admin-well-marker{display:inline-flex;align-items:center;justify-content:center;padding:8px;width:42px;height:42px;border-radius:999px;background:#1d4ed8;border:1px solid #1e3a8a;color:#fff;box-shadow:0 2px 6px rgba(0,0,0,.15);white-space:nowrap}
.admin-well-marker-icon{font-size:18px;line-height:1}
.admin-dropdown-menu-over-modal{position:absolute!important;z-index:99999!important}
.admin-dropdown-menu-scroll{width:min(400px,100%);z-index:100100;max-height:400px;overflow:auto;scroll-behavior:smooth}
.admin-dropdown-menu-min-w-260{min-width:260px}
.admin-dropdown-w-200{width:200px}
.admin-input-affix-pr{padding-right:80px}
.admin-input-number-affix-pr{padding-right:90px}
.admin-text-micro{font-size:10px}
.admin-text-caption{font-size:11px}
.admin-service-caption{font-size:11px;line-height:1.375;color:#9ca3af}
.admin-service-caption-mb-2{margin-bottom:.5rem}
.admin-service-caption-mb-3{margin-bottom:.75rem}
.admin-file-title-text{font-size:10px}
.admin-text-micro-sm-xs{font-size:10px}
.admin-touch-target-md{min-height:48px}
.admin-touch-target-lg{min-height:52px}
.admin-touch-action-button{display:inline-flex;width:100%;max-width:24rem;align-items:center;justify-content:center;gap:.5rem;border-radius:.5rem;padding:.75rem 1.5rem;font-size:1rem;line-height:1.5rem;font-weight:600;touch-action:manipulation}
.admin-touch-action-button-full{max-width:none}
.admin-touch-action-primary{background:var(--color-primary,#4661ff);color:#fff}
.admin-touch-action-primary:hover{background:rgba(70,97,255,.9)}
.admin-touch-action-primary-outline{border:1px solid var(--color-primary,#4661ff);background:#fff;color:var(--color-primary-text,#d51d40)}
.admin-touch-action-primary-outline:hover{background:rgba(70,97,255,.05)}
.admin-touch-action-secondary{border:1px solid #d1d5db;background:#fff;color:#1f2937}
.admin-touch-action-secondary:hover{background:#f9fafb}
.admin-touch-action-muted{background:#f3f4f6;color:#1f2937;box-shadow:inset 0 0 0 1px #d1d5db}
.admin-touch-action-muted:hover{background:#f9fafb}
.admin-touch-action-disabled{cursor:not-allowed;background:#e5e7eb;color:#6b7280}
.admin-processing-harvest-image-button{display:flex;height:4rem;width:4rem;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;border:1px solid #cfd4dc;border-radius:.75rem;background:#f2f4f7;color:#98a2b3;box-shadow:0 1px 2px rgba(16,24,40,.06);touch-action:manipulation}
.admin-processing-harvest-image-button:hover{border-color:var(--color-primary,#4661ff);color:var(--color-primary-text,#d51d40)}
.admin-processing-harvest-image-button:focus-visible{outline:3px solid rgba(70,97,255,.28);outline-offset:2px}
.admin-processing-harvest-image-thumb{display:block;height:100%;width:100%;object-fit:cover}
.admin-processing-harvest-image-empty{display:flex;height:100%;width:100%;align-items:center;justify-content:center}
.admin-processing-harvest-image-empty.hidden,.admin-processing-harvest-image-thumb.hidden{display:none}
.admin-processing-page-surface{min-height:100dvh;background:#f7f4ed}
.admin-processing-top-controls{position:relative;z-index:40;display:flex;width:100%;max-width:36rem;align-items:center;justify-content:flex-end;gap:.5rem;margin:0 auto;padding:max(.75rem,env(safe-area-inset-top)) 1rem 0}
.admin-processing-brand-logo{display:inline-flex;min-height:2.75rem;min-width:2.75rem;align-items:center;justify-content:center;margin-right:auto}
.admin-processing-brand-logo picture{display:flex;align-items:center;justify-content:center}
.admin-processing-brand-logo .admin-login-logo-img{width:2.7rem;height:2.7rem;object-fit:contain}
.admin-processing-overlay-open .admin-processing-top-controls{visibility:hidden;pointer-events:none}
.admin-processing-empty-content{box-sizing:border-box;width:100%;max-width:36rem;margin:0 auto;padding:0 1rem 2rem}
.admin-processing-content-with-actions{padding-bottom:calc(11rem + env(safe-area-inset-bottom))}
.admin-processing-title-row{display:flex;align-items:center;gap:1rem;margin-top:.5rem}
.admin-processing-title-copy{min-width:0;flex:1 1 0%}
.admin-processing-primary-title{font-size:1.625rem;line-height:1.2;font-weight:800;letter-spacing:-.025em;color:#111827;overflow-wrap:anywhere}
.admin-processing-summary-line{display:flex;width:100%;flex-wrap:wrap;align-items:center;gap:.375rem;margin-top:.625rem;overflow:visible}
.admin-processing-summary-line::-webkit-scrollbar{display:none}
.admin-processing-summary-chip{display:inline-flex;flex:0 0 auto;align-items:center;gap:.25rem;min-height:1.75rem;white-space:nowrap;border-radius:9999px;padding:.25rem .625rem;font-size:.75rem;line-height:1rem;font-weight:600}
.admin-processing-summary-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.25rem 0 1.25rem;border-top:1px solid #e1dfd6;padding:1.125rem 0 .5rem}
.admin-processing-summary-metrics dt{margin-bottom:.5rem;color:#667085;font-size:.875rem;line-height:1.5}
.admin-processing-summary-metrics dd{margin:0;color:#111827;font-size:1.625rem;line-height:1.25;font-weight:800;letter-spacing:-.025em;overflow-wrap:anywhere}
.admin-processing-summary-metrics small{font-size:.875rem;font-weight:500;letter-spacing:0;color:#667085}
.admin-processing-today-kpi-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:0}
.admin-processing-today-kpi-metrics dt{margin-bottom:.35rem;color:#667085;font-size:.875rem;line-height:1.5}
.admin-processing-today-kpi-metrics dd{margin:0;font-size:1.625rem;line-height:1.25;font-weight:800;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.admin-processing-today-kpi-processed dd{color:#166534}
.admin-processing-today-kpi-allocated dd{color:#92400e}
.admin-card-shell.admin-processing-status-card{padding:1.125rem;background:#fffefa;border:1px solid #e1dfd6;border-radius:1.125rem;box-shadow:0 4px 14px rgba(60,48,24,.04)}
.admin-processing-status-counts{display:flex;flex-wrap:wrap;gap:.625rem 1rem;padding-bottom:1.125rem;margin-bottom:1.25rem;border-bottom:1px solid #e1dfd6}
.admin-processing-status-count{display:inline-flex;align-items:center;gap:.375rem;color:#667085;font-size:.75rem;line-height:1.5}
.admin-processing-status-dot{flex:none;width:.4375rem;height:.4375rem;border-radius:50%}
.admin-processing-status-dot-pending{background:#98a2b3}
.admin-processing-status-dot-assigned{background:#d99526}
.admin-processing-status-dot-processed{background:#27834c}
.admin-processing-crate-item{min-width:0;width:100%;max-width:5rem}
.admin-processing-crate-scanned-label{display:block;margin-top:.5rem;color:#b4401e;text-align:center;font-size:.6875rem;line-height:1.4;font-weight:750;overflow-wrap:anywhere}
.admin-processing-scanned-summary{display:flex;align-items:center;gap:.625rem;margin-top:1.5rem;border-top:1px solid #e1dfd6;padding-top:1rem;color:#667085;font-size:.8125rem;line-height:1.6;overflow-wrap:anywhere}
.admin-processing-scanned-summary>svg{flex:none;color:#b4401e}
.admin-processing-scanned-summary strong{color:#344054;font-weight:650}
.admin-processing-image-menu-dialog{max-width:22rem;overflow:hidden}
.admin-processing-image-menu-body{position:relative;padding:3.75rem 1.25rem 1.25rem}
.admin-processing-image-menu-actions{display:flex;width:100%;flex-direction:column;gap:.75rem}
.admin-processing-image-menu-actions>span{display:flex;width:100%}
.admin-processing-image-menu-actions>span.hidden{display:none}
.admin-processing-image-menu-actions button{min-height:3.25rem;width:100%;align-items:center;justify-content:center;gap:.625rem}
.admin-processing-image-upload-source{display:block}
.admin-processing-image-upload-source>*{display:none}
.admin-processing-image-upload-source>.admin-field-error:not(.hidden){display:block;text-align:center}
.admin-processing-image-menu-status{min-height:1.25rem;margin:.75rem 0 0;text-align:center}
.admin-secondary-button.admin-processing-image-camera-action{display:inline-flex;min-height:3.5rem;width:100%;align-items:center;justify-content:center;gap:.625rem;border:1px solid #b91937;border-radius:.75rem;background:#d51d40;padding:.875rem 1rem;color:#fff;font-size:1rem;line-height:1.5rem;font-weight:750;box-shadow:0 4px 12px rgba(239,33,71,.22);touch-action:manipulation}
.admin-secondary-button.admin-processing-image-camera-action:hover{border-color:#b42318;background:#b91937;color:#fff}
.admin-secondary-button.admin-processing-image-camera-action:focus-visible{outline:3px solid rgba(253,176,34,.45);outline-offset:2px}
.admin-secondary-button.admin-processing-image-view-action{display:inline-flex;border-color:#98a2b3;background:#fff;color:#344054;font-weight:700}
.admin-secondary-button.admin-processing-image-view-action:hover{border-color:#667085;background:#f9fafb;color:#1d2939}
.admin-processing-image-fullscreen-modal{overflow:hidden;background:#f7f4ed}
.admin-processing-image-fullscreen-shell{height:100dvh;min-height:100dvh;padding:0}
.admin-processing-image-fullscreen-dialog{height:100dvh;max-height:100dvh!important;max-width:none!important;border-radius:0;background:#f7f4ed;color:#111827;box-shadow:none}
.admin-modal-body.admin-processing-image-fullscreen-body{position:relative;display:flex;flex:1 1 auto;align-items:center;justify-content:center;overflow:hidden;background:#f7f4ed;padding:4.5rem 1rem 1rem}
.admin-processing-image-fullscreen-title{position:absolute;top:1.4rem;left:1rem;z-index:2;margin:0;color:#111827;font-size:1.125rem;line-height:1.5rem;font-weight:750}
.admin-processing-image-fullscreen-preview{display:block;width:auto;max-width:100%;height:auto;max-height:calc(100dvh - 6rem);border-radius:.75rem;object-fit:contain}
.admin-processing-image-fullscreen-body .admin-modal-close-button{top:1rem;right:1rem;background:rgba(17,24,39,.08);color:#111827}
.admin-processing-image-fullscreen-body .admin-modal-close-button:hover{background:rgba(17,24,39,.14);color:#111827}
@media (max-width:640px){.admin-processing-harvest-image-button{height:4.25rem;width:4.25rem}.admin-processing-primary-title{font-size:1.45rem}}
.admin-processing-action-stack{display:flex;width:100%;max-width:36rem;margin:0 auto;flex-direction:column;gap:.75rem}
.admin-processing-secondary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.admin-processing-allocate-button,.admin-processing-scan-next-button{box-sizing:border-box;min-width:0;min-height:52px;display:inline-flex;width:100%;max-width:none;align-items:center;justify-content:center;gap:.5rem;border-radius:.5rem;padding:.75rem .875rem;text-align:center;font-size:.875rem;line-height:1.25rem;font-weight:600;touch-action:manipulation}
.admin-processing-allocate-button span,.admin-processing-scan-next-button span{min-width:0;overflow-wrap:anywhere}
.admin-workspace-page .admin-processing-allocate-button{border:1px solid #f59e0b;background:#fff;color:#92400e;box-shadow:none}
.admin-workspace-page .admin-processing-allocate-button:hover{border-color:#d97706;background:#fffbeb;color:#92400e}
.admin-processing-scan-next-button{border:1px solid #d1d5db;background:#fff;color:#4b5563}
.admin-processing-scan-next-button:hover{border-color:#9ca3af;background:#f3f4f6;color:#374151}
.admin-processing-allocate-button:focus-visible,.admin-processing-scan-next-button:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.admin-processing-scanner-overlay{box-sizing:border-box;position:fixed;inset:0;z-index:60;display:flex;width:100vw;height:100dvh;min-height:100dvh;flex-direction:column;background:#000}
.admin-processing-scanner-overlay.hidden{display:none}
.admin-processing-scanner-overlay--unallocation{border:.375rem solid #7e22ce}
.admin-processing-scanner-overlay--label-removal{border:.375rem solid #dc2626}
.admin-processing-scanner-warning{max-width:42rem;margin-top:.5rem;border:1px solid transparent;border-radius:.65rem;padding:.45rem .65rem;font-size:.8125rem;line-height:1.125rem;font-weight:700}
.admin-processing-scanner-overlay--unallocation .admin-processing-scanner-warning{border-color:#c084fc;background:rgba(88,28,135,.82);color:#faf5ff}
.admin-processing-scanner-overlay--label-removal .admin-processing-scanner-warning{border-color:#fca5a5;background:rgba(127,29,29,.86);color:#fef2f2}
.admin-processing-scanner-overlay--unallocation .admin-qr-scan-frame{border-color:#c084fc;box-shadow:0 0 0 .25rem rgba(126,34,206,.28)}
.admin-processing-scanner-overlay--label-removal .admin-qr-scan-frame{border-color:#f87171;box-shadow:0 0 0 .25rem rgba(220,38,38,.3)}
.admin-processing-scanner-overlay--unallocation .admin-processing-manual-submit{border-color:#7e22ce;background:#7e22ce}
.admin-processing-scanner-overlay--unallocation .admin-processing-manual-submit:hover{background:#6b21a8}
.admin-processing-scanner-overlay--label-removal .admin-processing-manual-submit{border-color:#dc2626;background:#dc2626}
.admin-processing-scanner-overlay--label-removal .admin-processing-manual-submit:hover{background:#b91c1c}
.admin-processing-scanner-footer{display:flex;flex-direction:column;gap:.75rem;padding:1rem}
.admin-processing-scanner-manual-action{display:inline-flex;min-height:48px;width:100%;align-items:center;justify-content:center;gap:.5rem;border:1px solid rgba(255,255,255,.56);border-radius:.75rem;background:rgba(255,255,255,.12);padding:.7rem 1rem;font-size:1rem;line-height:1.5rem;font-weight:600;color:#fff;touch-action:manipulation}
.admin-processing-scanner-manual-action:hover{background:rgba(255,255,255,.2)}
.admin-processing-scanner-manual-action:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.admin-processing-scanner-exit{display:inline-flex;min-height:52px;width:100%;align-items:center;justify-content:center;gap:.5rem;border:1px solid rgba(255,255,255,.72);border-radius:.75rem;background:#fff;padding:.75rem 1rem;font-size:1rem;line-height:1.5rem;font-weight:700;color:#111827;touch-action:manipulation}
.admin-processing-scanner-exit:hover{background:#f3f4f6}
.admin-processing-scanner-exit:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.admin-processing-manual-panel{position:absolute;inset:0;overflow-y:auto;background:#f7f4ed;padding:1rem}
.admin-processing-manual-card{display:flex;width:100%;max-width:30rem;margin:0 auto;flex-direction:column;justify-content:flex-start;gap:1.25rem;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;padding:1.25rem;box-shadow:0 12px 30px rgba(17,24,39,.12)}
.admin-processing-manual-input{display:block;min-height:56px;width:100%;margin-top:.5rem;border:1px solid #9ca3af;border-radius:.75rem;background:#fff;padding:.75rem 1rem;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#111827}
.admin-processing-manual-input:focus{border-color:var(--color-primary,#4661ff);outline:3px solid rgba(70,97,255,.18);outline-offset:1px}
.admin-processing-manual-input[aria-invalid="true"]{border-color:#dc2626;outline-color:rgba(220,38,38,.16)}
.admin-processing-manual-error{margin-top:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#b91c1c}
.admin-processing-manual-actions{display:flex;flex-direction:column;gap:.75rem}
.admin-processing-manual-submit,.admin-processing-manual-camera{display:inline-flex;min-height:52px;width:100%;align-items:center;justify-content:center;gap:.5rem;border-radius:.75rem;padding:.75rem 1rem;font-size:1rem;line-height:1.5rem;font-weight:700;touch-action:manipulation}
.admin-processing-manual-submit{border:1px solid var(--color-primary,#4661ff);background:var(--color-primary,#4661ff);color:#fff}
.admin-processing-manual-submit:hover{background:#3548d4}
.admin-processing-manual-camera{border:1px solid #d1d5db;background:#fff;color:#1f2937}
.admin-processing-manual-camera:hover{background:#f9fafb}
.admin-processing-manual-submit:focus-visible,.admin-processing-manual-camera:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.admin-processing-submit-button{box-sizing:border-box;min-height:52px;width:100%;touch-action:manipulation;font-size:1rem;line-height:1.5rem;text-transform:none;letter-spacing:normal}
.admin-workspace-page .admin-processing-submit-button{border:1px solid #16a34a;background:#16a34a;box-shadow:0 1px 2px rgba(21,128,61,.2);color:#fff}
.admin-workspace-page .admin-processing-submit-button:hover:not(:disabled){background:#15803d;transform:translateY(-1px)}
.admin-workspace-page .admin-processing-submit-button:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(22,163,74,.22)}
.admin-processing-submit-button[aria-busy="true"]{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:wait;transform:none}
.admin-processing-submit-button[aria-busy="true"]::before{content:"";flex:none;width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:processing-login-spin .8s linear infinite}
@media(prefers-reduced-motion:reduce){.admin-processing-submit-button[aria-busy="true"]::before{animation:none;border-style:dotted}}
.admin-processing-disabled-button,.admin-processing-warehouse-button{min-height:52px;display:inline-flex;width:100%;max-width:none;align-items:center;justify-content:center;gap:.5rem;border-radius:.5rem;padding:.75rem 1.5rem;font-size:1rem;line-height:1.5rem;font-weight:600;touch-action:manipulation}
.admin-processing-disabled-button{cursor:not-allowed;background:#e5e7eb;color:#6b7280;text-transform:uppercase;letter-spacing:.025em}
.admin-processing-warehouse-button{background:#f3f4f6;color:#1f2937;box-shadow:inset 0 0 0 1px #d1d5db}
.admin-processing-warehouse-button:hover{background:#f9fafb}
.admin-assist-action-button{display:inline-flex;min-height:2.75rem;align-items:center;gap:.375rem;border:1px solid #bfdbfe;border-radius:.5rem;background:#eff6ff;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#1d4ed8;transition:background-color .15s ease,color .15s ease}
.admin-assist-action-button:hover{background:#dbeafe;color:#1e40af}
.admin-processing-crate-progress{margin:.125rem 0 .875rem}
.admin-processing-crate-cell{box-sizing:border-box;display:inline-flex;width:100%;aspect-ratio:1;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;border:1px solid;border-radius:.75rem;padding:.25rem;font-variant-numeric:tabular-nums}
.admin-processing-crate-number{font-size:1.25rem;line-height:1.3;font-weight:800}
.admin-processing-crate-band{color:#2563eb;font-size:.6875rem;line-height:1;font-weight:700;letter-spacing:.015em}
.admin-processing-crate-cell-action{appearance:none;cursor:pointer;touch-action:manipulation;user-select:none;font-family:inherit;transition:box-shadow .15s ease,transform .15s ease}
.admin-processing-crate-cell-action:hover{box-shadow:0 0 0 2px rgba(220,38,38,.35);transform:translateY(-1px)}
.admin-processing-crate-cell-action:focus-visible{outline:3px solid #dc2626;outline-offset:2px}
.admin-processing-crate-cell-action:disabled{cursor:wait;opacity:.6;transform:none}
.admin-processing-crate-undo-help{margin-top:.35rem;color:#b42318;font-weight:600}
.admin-processing-crate-cell-pending{border-color:#d1d5db;background:#f3f4f6;color:#4b5563}
.admin-processing-crate-cell-assigned{border-color:#f59e0b;background:#fffbeb;color:#92400e}
.admin-processing-crate-cell-processed{border-color:#22c55e;background:#dcfce7;color:#166534}
.admin-processing-crate-cell-current{position:relative;z-index:2;outline:2px solid #c44722;outline-offset:1px;box-shadow:0 2px 9px rgba(196,71,34,.12)}
.admin-processing-crate-grid-numbered{display:grid;grid-template-columns:repeat(auto-fit,minmax(3.25rem,1fr));gap:.875rem .625rem;width:100%;justify-content:start;align-items:start}
.admin-processing-crate-grid-10{--processing-crate-columns:10}
.admin-processing-crate-grid-15{--processing-crate-columns:15}
.admin-processing-crate-grid-dense{grid-template-columns:repeat(var(--processing-crate-columns),minmax(0,1fr));gap:.25rem .125rem;min-width:0}
.admin-processing-crate-grid-dense .admin-processing-crate-item{max-width:none;container-type:inline-size}
.admin-processing-crate-grid-dense .admin-processing-crate-cell{min-height:0;padding:0;border-radius:.25rem;gap:0}
.admin-processing-crate-grid-dense .admin-processing-crate-number{font-size:min(.6875rem,50cqw);line-height:1.2;letter-spacing:-.04em}
.admin-processing-crate-grid-dense .admin-processing-crate-band,.admin-processing-crate-grid-dense .admin-processing-crate-scanned-label{display:none}
.admin-processing-crate-grid-dense .admin-processing-crate-cell-current{outline:1px solid #c44722;outline-offset:0;box-shadow:inset 0 0 0 1px #c44722}
.dark .admin-processing-crate-cell-current{outline-color:#c44722}
.admin-processing-parcel-groups{display:flex;flex-direction:column;gap:1rem}
.admin-processing-parcel-group{display:flex;min-width:0;flex-direction:column;gap:1.125rem}
.admin-processing-parcel-group+.admin-processing-parcel-group{border-top:1px solid #eaecf0;padding-top:1rem}
.admin-processing-parcel-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;color:#344054;font-size:1rem;font-weight:750;overflow-wrap:anywhere}
.admin-processing-parcel-count{color:#667085;font-size:.75rem;font-weight:600;letter-spacing:0;text-transform:none}
.admin-processing-parcel-harvest{display:flex;min-width:0;flex-direction:column;gap:.35rem}
.admin-processing-harvest-reference{align-self:flex-start;border-radius:9999px;background:#f2f4f7;padding:.12rem .45rem;color:#667085;font-size:.62rem;font-weight:700}
.dark .admin-processing-parcel-group+.admin-processing-parcel-group{border-color:#344054}
.dark .admin-processing-parcel-heading{color:#f2f4f7}
.dark .admin-processing-harvest-reference{background:#344054;color:#d0d5dd}
.admin-harvest-container-trigger{display:inline-flex;align-items:center;border:0;border-radius:9999px;background:transparent;padding:0;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.admin-crop-summary-filter-dropdown .admin-base-dropdown-trigger.admin-harvest-crop-filter-active,.admin-crop-summary-filter-dropdown .admin-base-dropdown-trigger.admin-harvest-crop-filter-active:focus{border-color:#ef2147;box-shadow:0 0 0 3px rgba(239,33,71,.14)}
.admin-harvest-container-trigger:hover{transform:translateY(-1px);box-shadow:0 4px 10px rgba(37,99,235,.16)}
.admin-harvest-container-trigger:focus-visible{outline:3px solid rgba(37,99,235,.3);outline-offset:2px}
.admin-harvest-crop-detail-trigger{display:inline-flex;border:0;border-radius:9999px;background:transparent;padding:0;cursor:pointer}
.admin-harvest-crop-detail-trigger:hover .admin-tag,.admin-harvest-crop-detail-trigger:focus-visible .admin-tag{box-shadow:0 0 0 3px rgba(37,99,235,.18)}
.admin-harvest-crop-detail-trigger:hover .admin-crop-type-tag,.admin-harvest-crop-detail-trigger:focus-visible .admin-crop-type-tag{box-shadow:0 0 0 3px rgba(37,99,235,.18)}
.admin-harvest-crop-detail-trigger:focus-visible{outline:0}
.admin-harvest-lifecycle{display:flex;min-width:10rem;flex-direction:column;gap:.3rem;border:0;border-radius:.65rem;background:transparent;padding:.25rem;text-align:left;cursor:pointer;transition:background-color .15s ease}
.admin-harvest-lifecycle:hover{background:#f8fafc}
.admin-harvest-lifecycle:focus-visible{outline:3px solid rgba(37,99,235,.28);outline-offset:2px}
.admin-harvest-lifecycle-copy{display:flex;align-items:center;gap:.4rem;color:#101828;font-size:.8rem;line-height:1rem}
.admin-harvest-lifecycle-alert{display:inline-flex;min-width:1.1rem;height:1.1rem;align-items:center;justify-content:center;border-radius:9999px;background:#fff1e8;color:#b91937;font-size:.65rem;font-weight:800}
.admin-harvest-lifecycle-bar{display:flex;width:100%;height:.5rem;overflow:hidden;border-radius:9999px;background:#eaecf0}
.admin-harvest-lifecycle-segment{min-width:2px;flex-basis:0;transition:flex-grow .2s ease}
.admin-harvest-lifecycle-segment-pending{background:#d1d5db}
.admin-harvest-lifecycle-segment-assigned{background:#f59e0b}
.admin-harvest-lifecycle-segment-processed{background:#22c55e}
.admin-harvest-lifecycle-summary{max-width:15rem;color:#667085;font-size:.68rem;line-height:.9rem}
.admin-harvest-log-total-context{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

@media (max-width:767px){
  #harvest-log-table .admin-harvest-log-total-spacer{display:none!important}
  #harvest-log-table .admin-harvest-log-total-primary{padding-bottom:.45rem!important}
  #harvest-log-table .admin-harvest-log-total-metric{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;text-align:right!important}
  #harvest-log-table .admin-harvest-log-total-context{position:static;width:auto;height:auto;overflow:visible;clip:auto;color:#78716c;font-size:.65rem;font-weight:700;letter-spacing:.04em;line-height:1rem;text-align:left;text-transform:uppercase;white-space:normal}
}
.admin-harvest-lifecycle-unassigned{display:inline-flex;align-self:flex-start;align-items:center;border:1px solid #fedf89;border-radius:9999px;background:#fffaeb;padding:.16rem .45rem;color:#93370d;font-size:.65rem;line-height:.9rem;font-weight:750}
@media (min-width:768px){#harvest-stock-table tbody>tr.admin-harvest-row-logs-closed>td{background:#ecfdf3}#harvest-stock-table tbody>tr.admin-harvest-row-logs-closed:hover>td{background:#dcfae6}#harvest-stock-table tbody>tr.admin-harvest-row-needs-label-assignment>td{background:#fffcf5}#harvest-stock-table tbody>tr.admin-harvest-row-needs-label-assignment:hover>td{background:#fff8e8}#harvest-stock-table tbody>tr.admin-harvest-row-needs-label-assignment>td:first-child{box-shadow:inset .25rem 0 0 #f79009}}
.admin-harvest-land-cell{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.admin-harvest-land-name{color:#1c1917;font-size:.875rem;font-weight:650;line-height:1.25;overflow-wrap:anywhere}
.admin-harvest-land-size{color:#78716c;font-size:.8125rem;font-weight:500;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums}
.admin-harvest-row-identity{display:flex;align-items:center;gap:.75rem;min-width:0;width:100%}
.admin-harvest-row-icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center}
.admin-harvest-row-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:.15rem}
.admin-harvest-row-name{color:#1c1917;font-size:1rem;font-weight:700;line-height:1.25}
.admin-harvest-row-meta,.admin-harvest-row-weight{display:none}
@media (max-width:767.98px){
  .admin-harvest-row-identity{display:grid;grid-template-columns:3rem minmax(0,1fr) auto;align-items:center;gap:.75rem}
  .admin-harvest-row-icon{width:3rem;height:3rem;border-radius:9999px;background:#f6e8dc}
  .admin-harvest-row-meta{display:block;color:#78716c;font-size:.875rem;font-weight:500;line-height:1.2}
  .admin-harvest-row-weight{display:block;color:#1c1917;font-size:1rem;font-weight:700;white-space:nowrap}
  #harvest-stock-table.admin-responsive-card-table:not(.admin-manual-table-empty) tbody>tr,#harvest-stock-table.admin-responsive-card-table:not(.admin-manual-table-empty) tbody>tr.admin-harvest-row-needs-label-assignment,#harvest-stock-table.admin-responsive-card-table:not(.admin-manual-table-empty) tbody>tr.admin-harvest-row-needs-label-assignment:hover,#harvest-stock-table.admin-responsive-card-table:not(.admin-manual-table-empty) tbody>tr.admin-harvest-row-logs-closed,#harvest-stock-table.admin-responsive-card-table:not(.admin-manual-table-empty) tbody>tr.admin-harvest-row-logs-closed:hover{margin:0;border:0;border-radius:0;border-bottom:1px solid #efe7dc;background:transparent;box-shadow:none;padding:.85rem 0}
  #harvest-stock-table.admin-responsive-card-table:not(.admin-manual-table-empty) tbody>tr:last-child{border-bottom:0}
  #harvest-stock-table.admin-responsive-card-table:not(.admin-manual-table-empty) tbody>tr>.admin-table-mobile-primary{padding:0!important;font-weight:500}
  #harvest-stock-table.admin-responsive-card-table:not(.admin-manual-table-empty) tbody>tr>.admin-table-mobile-primary::before{display:none}
  #harvest-stock-table.admin-responsive-card-table:not(.admin-manual-table-empty) tbody>tr>.admin-table-mobile-primary>.admin-harvest-row-identity{justify-self:stretch;width:100%}
  #harvest-stock-table.admin-responsive-card-table:not(.admin-manual-table-empty) tbody>tr>.admin-table-action-cell{align-self:center;padding:0!important}
  #harvest-stock-table .admin-table-action-cell .admin-action-group{flex-wrap:nowrap}
}
.admin-harvest-alert-banner{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:.75rem;width:100%;margin-bottom:1rem;border:1px solid #fedf89;border-radius:.85rem;background:#fffaeb;padding:.85rem 1rem;color:#93370d;text-align:left;cursor:pointer;box-shadow:0 1px 2px rgba(16,24,40,.04);transition:transform .15s ease,box-shadow .15s ease}
.admin-harvest-alert-banner:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(181,71,8,.1)}
.admin-harvest-alert-banner:focus-visible{outline:3px solid rgba(245,158,11,.35);outline-offset:2px}
.admin-harvest-alert-banner-critical{border-color:#fecdca;background:#fef3f2;color:#b42318}
.admin-harvest-alert-icon{display:flex;width:2.25rem;height:2.25rem;align-items:center;justify-content:center;border-radius:.65rem;background:rgba(255,255,255,.7)}
.admin-warning-sonar-icon{position:relative;isolation:isolate;overflow:visible}
.admin-warning-sonar-icon>svg{position:relative;z-index:2}
.admin-warning-sonar-icon::before,.admin-warning-sonar-icon::after{content:"";position:absolute;inset:.35rem;z-index:1;border:1px solid currentColor;border-radius:9999px;opacity:0;pointer-events:none;animation:admin-warning-sonar 3.2s cubic-bezier(.2,.65,.3,1) infinite}
.admin-warning-sonar-icon::after{animation-delay:1.6s}
@keyframes admin-warning-sonar{0%{opacity:0;transform:scale(.72)}12%{opacity:.34}72%,100%{opacity:0;transform:scale(2.1)}}
@media (prefers-reduced-motion:reduce){.admin-warning-sonar-icon::before,.admin-warning-sonar-icon::after{animation:none}}
.admin-harvest-alert-copy{display:flex;min-width:0;flex-direction:column;gap:.15rem}
.admin-harvest-alert-copy strong{font-size:.875rem;line-height:1.25rem}
.admin-harvest-alert-copy span{color:#7a2e0e;font-size:.75rem;line-height:1rem}
.admin-harvest-alert-banner-critical .admin-harvest-alert-copy span{color:#912018}
.admin-harvest-alert-counts{display:flex;gap:.35rem}
.admin-harvest-alert-count-critical,.admin-harvest-alert-count-warning{display:inline-flex;min-width:1.55rem;height:1.55rem;align-items:center;justify-content:center;border-radius:9999px;padding:0 .4rem;font-size:.72rem;font-weight:800}
.admin-harvest-alert-count-critical{background:#fee4e2;color:#b42318}
.admin-harvest-alert-count-warning{background:#fef0c7;color:#b54708}
.admin-harvest-alert-open{display:flex;align-items:center}
.admin-harvest-status-context{margin-right:2.75rem;font-size:.875rem;line-height:1.25rem;font-weight:700;color:#344054}
.admin-harvest-detail-dialog{height:min(90vh,calc(100dvh - 2rem));max-height:min(90vh,calc(100dvh - 2rem))}
.admin-harvest-detail-dialog .admin-modal-close-button{width:2.75rem;height:2.75rem}
.admin-modal-body.admin-harvest-detail-dialog-body{overflow:hidden!important}
.admin-harvest-report-dialog{max-height:min(90vh,calc(100dvh - 2rem))}
.admin-harvest-report-dialog .admin-modal-close-button{width:2.75rem;height:2.75rem}
.admin-harvest-report-dialog-body{padding:1.25rem}
.admin-harvest-report-content{display:flex;min-width:0;flex-direction:column;gap:1rem}
.admin-harvest-report-description{margin:-.35rem 2.75rem 0 0;color:#57534e}
.admin-harvest-report-dialog .admin-field-help{color:#57534e}
.admin-harvest-report-summary{display:flex;min-width:0;flex-direction:column;gap:.6rem;padding-top:.15rem}
.admin-harvest-report-table-wrap{max-width:100%;overflow-x:auto;border:1px solid #e4e7ec;border-radius:.85rem;overscroll-behavior-x:contain}
.admin-harvest-report-table{min-width:48rem}
.admin-harvest-report-table-compact{min-width:32rem}
.admin-harvest-report-dialog.admin-harvest-potato-report-dialog{width:100%;max-width:none;max-height:calc(100dvh - 2rem)}
.admin-harvest-potato-report-dialog .admin-harvest-report-dialog-body{padding:2rem 2.25rem}
.admin-harvest-potato-report-dialog .admin-harvest-report-content{gap:2rem}
.admin-harvest-potato-report-dialog .admin-statistics-grid{gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-harvest-potato-report-dialog .admin-harvest-report-summary{gap:1rem}
.admin-harvest-potato-report-dialog .admin-tab-list-nested .admin-tab-button{min-height:3.25rem;padding:.75rem 1.1rem}
.admin-harvest-potato-report-dialog .admin-tab-button-inactive{color:#4b5563}
.admin-harvest-potato-report-dialog .admin-tab-button-active{color:#b42318}
.dark .admin-harvest-potato-report-dialog .admin-tab-button-inactive{color:#d0d5dd}
.dark .admin-harvest-potato-report-dialog .admin-tab-button-active{color:#fda98b}
.dark .admin-harvest-potato-report-dialog .admin-tab-list-nested .admin-tab-button-inactive:hover{background:#344054;color:#f2f4f7}
.admin-harvest-potato-report-dialog .admin-harvest-report-table th,.admin-harvest-potato-report-dialog .admin-harvest-report-table td{padding:1.25rem 1.1rem}
@media(min-width:1200px){
  .admin-harvest-potato-report-dialog .admin-statistics-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:639px){
  .admin-harvest-potato-report-dialog .admin-harvest-report-dialog-body{padding:1.25rem}
  .admin-harvest-potato-report-dialog .admin-harvest-report-content{gap:1.5rem}
  .admin-harvest-potato-report-dialog .admin-statistics-grid{grid-template-columns:minmax(0,1fr)}
}
.admin-harvest-daily-intake{margin-top:1rem}
.admin-harvest-report-content [role="tabpanel"]{padding-top:2rem}
.admin-harvest-report-content [role="tabpanel"][hidden]{display:none}
.admin-harvest-land-company-table{min-width:52rem}
.admin-harvest-land-company-table th,.admin-harvest-land-company-table td{padding:.85rem 1rem;font-size:.875rem}
.admin-harvest-land-company-table thead th{min-width:10rem;white-space:normal}
.admin-harvest-land-company-table .admin-harvest-land-name{min-width:13rem;text-align:left;white-space:normal;vertical-align:middle}
.admin-harvest-land-company-table .admin-harvest-land-crop-type{min-width:11rem;text-align:left;white-space:normal;vertical-align:middle}
.admin-harvest-company-dates{display:block;margin-top:.25rem;color:#667085;font-size:.75rem;white-space:nowrap}
.admin-harvest-company-share{display:block;margin-top:.65rem;color:#667085;font-size:.8125rem;white-space:nowrap}
.admin-harvest-land-company-table tfoot{background:#f9fafb;font-weight:700}
.dark .admin-harvest-company-share,.dark .admin-harvest-company-dates{color:#98a2b3}
.dark .admin-harvest-land-company-table tfoot,.dark .admin-harvest-land-company-table tfoot th,.dark .admin-harvest-land-company-table tfoot td{background:#1d2939;color:#f2f4f7}
.admin-harvest-daily-intake-table{min-width:65rem}
.admin-harvest-daily-intake-table th,.admin-harvest-daily-intake-table td{padding:.8rem .65rem;font-size:.875rem;white-space:nowrap}
.admin-harvest-daily-intake-table thead th{text-align:center}
.admin-harvest-daily-intake-table .admin-harvest-daily-date{text-align:left;white-space:normal;min-width:11rem;font-weight:600}
.admin-harvest-daily-subtotal{background:#f9fafb;font-weight:700}
.admin-harvest-daily-total{background:#fff8eb;font-weight:800}
.dark .admin-harvest-daily-subtotal{background:#1d2939;color:#f2f4f7}
.dark .admin-harvest-daily-total{background:#382d1c;color:#f2f4f7}
.admin-harvest-report-table th,.admin-harvest-report-table td{border-right:1px solid #e4e7ec;border-bottom:1px solid #e4e7ec}
.admin-harvest-report-table tr>*:last-child{border-right:0}
.admin-harvest-report-group-cell{width:24%;vertical-align:middle;background:#fcfcfd;text-align:left}
.admin-harvest-report-harvest-type{width:22%;font-weight:700;text-align:left}
.admin-harvest-report-harvest-type-content{display:inline-flex;align-items:center;gap:.6rem;white-space:nowrap}
.admin-harvest-report-harvest-type-content .harvest-type-image-icon{flex:0 0 auto;object-fit:contain}
.admin-harvest-report-summary-cell{width:16%;vertical-align:middle;background:#f9fafb;font-weight:750;white-space:nowrap}
.admin-harvest-report-empty{min-height:10rem}
.dark .admin-harvest-report-table-wrap{border-color:#344054}
.dark .admin-harvest-report-table th,.dark .admin-harvest-report-table td{border-color:#344054}
.dark .admin-harvest-report-table tbody th,.dark .admin-harvest-report-table tbody td{background:#101828;color:#f2f4f7}
.dark .admin-harvest-report-group-cell,.dark .admin-harvest-report-summary-cell{background:#1d2939;color:#f2f4f7}
/* Payments import prototype: keep brand marks legible even on disabled choices. */
.admin-bank-import-menu{position:relative}
.admin-bank-import-trigger{cursor:pointer;list-style:none}
.admin-bank-import-trigger::-webkit-details-marker{display:none}
.admin-bank-import-trigger:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.admin-bank-import-menu[open] .admin-bank-import-trigger>:last-child{transform:rotate(180deg)}
.admin-bank-import-options{position:absolute;right:0;top:calc(100% + .5rem);z-index:50;width:22rem;max-width:calc(100vw - 2rem);padding:.5rem;border:1px solid #e4e7ec;border-radius:.75rem;background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.12)}
.admin-bank-import-options{overflow:auto;overscroll-behavior:contain}
.admin-bank-import-option{display:flex;align-items:center;gap:.75rem;width:100%;min-height:56px;padding:.625rem;border:0;border-radius:.5rem;background:transparent;color:#344054;text-align:left;cursor:not-allowed;opacity:1}
.admin-bank-import-option img{width:32px;height:32px;object-fit:contain;flex-shrink:0}
.admin-bank-import-option-enabled{cursor:pointer;text-decoration:none}
.admin-bank-import-option-enabled:hover{background:#f2f4f7}
.admin-bank-import-option-enabled:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.dark .admin-bank-import-option-enabled:hover{background:#344054}
.admin-bank-import-label{flex:1;min-width:0;font-size:.875rem;font-weight:600}
.admin-bank-import-note{margin:.5rem;padding:.75rem 0 0;border-top:1px solid #e4e7ec;color:#667085;font-size:.75rem;line-height:1.5}
.admin-financial-amount{display:inline-flex;align-items:baseline;gap:.35rem;white-space:nowrap}
.admin-payment-register-identity>a.admin-action-text-link{justify-content:flex-start;text-align:left;min-height:0;font-size:1.0625rem;line-height:1.45;font-weight:600}
.admin-payment-register-identity>a.admin-action-text-link-primary,.admin-payment-register-identity>a.admin-action-text-link-primary:hover{color:var(--payment-ledger-ink,#111827)}
.admin-financial-cell-stack{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:.35rem}
.admin-financial-allocated-invoice-links{gap:.3rem}
:is(.admin-financial-allocated-invoice-link,.admin-financial-allocation-assignment){box-sizing:border-box;display:inline-grid;width:fit-content;max-width:100%;min-height:2.75rem;grid-template-columns:1.75rem minmax(0,1fr);align-items:center;gap:.45rem;border-radius:.625rem;padding:.2rem .45rem .2rem .2rem;color:#344054;font-size:.8125rem;line-height:1.15rem;font-weight:700;text-decoration:none;transition:background-color .15s ease,color .15s ease}
.admin-financial-allocated-invoice-icon{display:inline-flex;width:1.75rem;height:1.75rem;align-items:center;justify-content:center;border-radius:.5rem;background:#fff1ec;color:#d92d0b}
.admin-financial-allocation-assignment .admin-financial-allocated-invoice-icon{background:#f2f4f7;color:#344054}
.admin-financial-allocated-invoice-number{min-width:0;overflow-wrap:anywhere}
.admin-financial-allocated-invoice-link:hover{background:#fff4f6;color:#b93815}
.admin-financial-allocated-invoice-link:focus-visible{outline:2px solid #f26a3d;outline-offset:2px;background:#fff4f6;color:#b93815}
.dark :is(.admin-financial-allocated-invoice-link,.admin-financial-allocation-assignment){color:#e4e7ec}
.dark .admin-financial-allocated-invoice-icon{background:#492517;color:#ffb39c}
.dark .admin-financial-allocation-assignment .admin-financial-allocated-invoice-icon{background:#344054;color:#e4e7ec}
.dark .admin-financial-allocated-invoice-link:hover,.dark .admin-financial-allocated-invoice-link:focus-visible{background:#34231e;color:#ffd5c7}
.admin-financial-register-table .admin-table-head-cell,.admin-financial-register-table .admin-table-body-cell{padding-left:1rem;padding-right:1rem}
.admin-financial-register-table .admin-outline-action-sm{min-height:2.75rem}
.admin-financial-register-table .admin-table-action-head,.admin-financial-register-table .admin-table-action-cell{min-width:6.5rem}
.admin-financial-bulk-action{min-height:2.75rem}
.admin-financial-row-actions{justify-content:flex-end}
.admin-financial-status-cell{text-align:right}
.admin-financial-status-cell .admin-financial-cell-stack{align-items:flex-end;margin-left:auto;text-align:right}
.admin-financial-status-dropdown.admin-base-dropdown{display:block;width:14rem;max-width:100%;margin-left:auto;--financial-status-border:#e5e1da;--financial-status-surface:#fff;--financial-status-shadow:rgba(16,24,40,.1)}
.admin-financial-status-dropdown[data-admin-modern-dropdown] .admin-base-dropdown-trigger{display:flex;width:100%;min-width:0;min-height:3.25rem;height:auto;align-items:center;justify-content:flex-start;overflow:visible;border:1px solid var(--financial-status-border);background:var(--financial-status-surface);padding:0;border-radius:.875rem;box-shadow:0 1px 3px var(--financial-status-shadow);cursor:pointer;transition:border-color .15s ease}
.admin-financial-status-dropdown[data-admin-modern-dropdown] .admin-base-dropdown-trigger .admin-badge{display:flex;width:100%;min-width:0;gap:.75rem;min-height:3.125rem;border-radius:inherit;background:transparent!important;padding:.8rem 1rem;font-size:.875rem;line-height:1.25rem;white-space:normal;text-align:left}
.admin-financial-status-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 1.25rem;width:1.25rem;height:1.25rem}
.admin-financial-status-icon>span{display:inline-flex}
.admin-financial-status-dropdown[data-admin-modern-dropdown] .admin-base-dropdown-trigger:hover{border-color:#98a2b3}
.admin-financial-status-dropdown[data-admin-modern-dropdown][data-admin-dropdown-open="1"]{position:relative;z-index:100101}
.admin-financial-status-dropdown[data-admin-modern-dropdown][data-admin-dropdown-open="1"] .admin-base-dropdown-trigger{border-color:var(--financial-status-border);border-radius:.875rem .875rem 0 0;box-shadow:0 -3px 12px var(--financial-status-shadow)}
.admin-financial-status-dropdown[data-admin-modern-dropdown][data-admin-dropdown-placement="above"] .admin-base-dropdown-trigger{border-radius:0 0 .875rem .875rem;box-shadow:0 3px 12px var(--financial-status-shadow)}
.admin-financial-status-dropdown[data-admin-modern-dropdown] .admin-base-dropdown-trigger .admin-dropdown-chevron{position:static;display:inline-flex;flex:0 0 1.25rem;width:1.25rem;height:1.25rem;margin-left:auto;align-items:center;justify-content:center;color:currentColor;transition:transform .15s ease}
.admin-financial-status-dropdown[data-admin-modern-dropdown] .admin-base-dropdown-trigger .admin-dropdown-chevron svg{width:.875rem;height:.875rem}
.admin-financial-status-dropdown[data-admin-modern-dropdown] .admin-base-dropdown-trigger[aria-expanded=true] .admin-dropdown-chevron{transform:rotate(180deg)}
.admin-financial-status-dropdown[data-admin-modern-dropdown] .admin-base-dropdown-trigger:focus-visible{outline:2px solid #98a2b3;outline-offset:-3px}
.admin-financial-status-dropdown[data-admin-modern-dropdown] .admin-base-dropdown-trigger[aria-expanded=true]{outline:0}
.admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu]{box-sizing:border-box;margin:0!important;padding:.375rem;border:1px solid #e5e1da;border-top:0;border-radius:0 0 .875rem .875rem;background:#fff;box-shadow:0 10px 24px rgba(16,24,40,.1);animation:none}
.admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu].admin-financial-status-menu-above{border-top:1px solid #e5e1da;border-bottom:0;border-radius:.875rem .875rem 0 0;box-shadow:0 -10px 24px rgba(16,24,40,.1)}
.admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu] .admin-dropdown-option-row{display:grid;grid-template-columns:1.25rem minmax(0,1fr) 1.25rem;gap:.75rem;min-height:2.875rem;border-radius:.5625rem;padding:.625rem;color:#344054;font-weight:600}
.admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu] .admin-dropdown-search-options{padding:0}
.admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu] .admin-dropdown-option-icon{border:0;border-radius:0;background:transparent;color:inherit;width:1.25rem;height:1.25rem;font-size:1rem}
.admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu] .admin-dropdown-option-label{font-size:.875rem;line-height:1.25rem;font-weight:600;white-space:normal;overflow-wrap:anywhere}
.admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu] .admin-dropdown-option-row[aria-selected="true"]{background:#eef9f2;color:#137c50}
.admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu] .admin-dropdown-option-row[aria-selected="true"] .admin-dropdown-option-label,.admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu] .admin-dropdown-option-row[aria-selected="true"] .admin-dropdown-option-icon{color:inherit}
.admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu] .admin-dropdown-check{color:#137c50}
@media(prefers-reduced-motion:reduce){.admin-financial-status-dropdown[data-admin-modern-dropdown] .admin-base-dropdown-trigger,.admin-financial-status-dropdown[data-admin-modern-dropdown] .admin-dropdown-chevron{transition:none}}
@media(max-width:767.98px){#financial_invoices_table tbody>tr>td.admin-financial-status-cell{grid-template-columns:minmax(0,1fr);gap:.5rem}#financial_invoices_table .admin-financial-status-dropdown[data-admin-modern-dropdown]{width:100%;max-width:none}}
.dark .admin-financial-status-dropdown[data-admin-modern-dropdown]{--financial-status-border:#475467;--financial-status-surface:#1d2939;--financial-status-shadow:rgba(0,0,0,.24)}
.dark .admin-financial-status-dropdown[data-admin-modern-dropdown] .admin-base-dropdown-trigger:hover{border-color:#667085}
.dark .admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu]{border-color:#475467;background:#1d2939;box-shadow:0 10px 24px rgba(0,0,0,.28)}
.dark .admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu] .admin-dropdown-option-row{color:#e4e7ec}
.dark .admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu] .admin-dropdown-option-row[aria-selected="true"]{background:#233c30;color:#80d8aa}
.dark .admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu] .admin-dropdown-check{color:#80d8aa}
.admin-financial-detail-touch-action{min-height:2.75rem}
/* Invoice detail: one compact ledger, with shared cards/tables owning edges. */
.admin-invoice-ledger-identity{container-type:inline-size}
.admin-invoice-ledger-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.5rem}
.admin-invoice-ledger-actions :is(a,button){min-height:2.75rem}
.admin-invoice-ledger-actions :is(a,button),:is(#invoice-settlement,#invoice-allocations) .admin-financial-detail-touch-action{display:inline-flex;align-items:center;justify-content:center;gap:.5rem}
.admin-payment-ledger{display:grid;gap:24px;min-width:0}
.admin-payment-ledger>.admin-card-shell,.admin-payment-ledger-columns>.admin-card-shell{margin-bottom:0;min-width:0}
.admin-payment-ledger-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.admin-payment-ledger-accounts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 24px}
.admin-payment-ledger .admin-record-detail-value{overflow-wrap:anywhere}
.admin-payment-ledger-evidence{padding:14px 24px;border-top:1px solid #e8e4de;color:#6b7280;font-size:13px}
.admin-payment-ledger-evidence p{margin:0}
.dark .admin-payment-ledger-evidence{border-color:#374151;color:#d1d5db}
.admin-payment-ledger #payment-panel-packet .admin-connection-disclosure{border-top:0;padding-top:0}
.admin-payment-ledger #payment-panel-packet .admin-connection-disclosure>summary{padding:16px 24px}
@media(max-width:639px){.admin-payment-ledger #payment-panel-packet .admin-connection-disclosure>summary{padding:16px}}
@media(max-width:1100px){.admin-payment-ledger-columns{grid-template-columns:minmax(0,1fr)}}
@media(max-width:639px){.admin-payment-ledger-accounts{grid-template-columns:minmax(0,1fr)}.admin-payment-ledger-accounts>:nth-child(3){grid-row:2}.admin-payment-ledger-evidence{padding:14px 16px}}
.admin-invoice-ledger-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #e8e4de}
.admin-invoice-ledger-facts>div{display:flex;flex-direction:column;min-width:0;padding:1.125rem 1.5rem;border-inline-start:1px solid #e8e4de}
.admin-invoice-ledger-facts .admin-record-detail-value{margin-top:auto}
.admin-invoice-ledger-facts>div:first-child{border-inline-start:0;background:#eff6ff}
.admin-invoice-ledger-facts .admin-record-detail-label{margin-bottom:.625rem}
.admin-invoice-ledger-facts .admin-record-detail-value{font-size:1rem;line-height:1.5;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.admin-invoice-ledger-facts>div:first-child :is(.admin-record-detail-value,.admin-record-detail-label){color:#1d4ed8}
.admin-invoice-ledger-facts>div:first-child .admin-record-detail-value{font-size:1.375rem;font-weight:800;letter-spacing:-.025em}
.admin-invoice-ledger-facts>div:first-child .admin-mini-icon-tile{background:#dbeafe;color:#2563eb}
.admin-invoice-ledger-parties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
.admin-invoice-ledger-party{min-width:0;overflow-wrap:anywhere}
.admin-invoice-ledger-party:nth-child(even){border-inline-start:1px solid #e8e4de;padding-inline-start:1.5rem}
.admin-invoice-ledger-party-name{font-size:1rem;font-weight:700;line-height:1.5;margin:.625rem 0 .875rem;color:#1d2939}
.admin-invoice-ledger-party-fields{display:grid;gap:.375rem}
.admin-invoice-ledger-party-fields .admin-detail-label-value-row{display:block;line-height:1.55}
.admin-invoice-ledger-party-fields :is(.admin-detail-row-label,.admin-detail-row-value){font-size:.8125rem;line-height:inherit}
.admin-invoice-ledger-party-fields .admin-detail-row-label{margin-inline-end:.375rem}
.admin-invoice-ledger-columns{display:grid;align-items:start;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;margin-bottom:1.5rem}
.admin-invoice-ledger-panel{min-width:0}
/* Invoice settlement: aligned totals and compact header actions; pending evidence stays separate. */
.admin-invoice-settlement-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}
.admin-invoice-settlement-body{display:grid;gap:1rem}
.admin-invoice-settlement-status{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem}
.admin-invoice-settlement-status :is(.admin-record-detail-label,.admin-record-detail-value){margin:0}
.admin-invoice-settlement-status .admin-record-detail-label{font-size:.8125rem;text-transform:none;letter-spacing:0}
.admin-invoice-settlement-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e8e4de;border-radius:.75rem;background:#faf9f6;overflow:hidden}
.admin-invoice-settlement-metrics>div{display:flex;flex-direction:column;min-width:0;padding:1rem;border-inline-start:1px solid #e8e4de}
.admin-invoice-settlement-metrics>div:first-child{border-inline-start:0}
.admin-invoice-settlement-metrics .admin-record-detail-label{display:flex;align-items:flex-start;margin:0 0 .5rem;font-size:.75rem;line-height:1.5;text-transform:none;letter-spacing:0;color:#6b7280}
.admin-invoice-settlement-metrics .admin-record-detail-value{margin:auto 0 0;font-size:1.0625rem;line-height:1.5;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#344054}
.admin-invoice-settlement-metrics .admin-field-semantic-icon{flex:none}
.admin-invoice-settlement-reconciled .admin-record-detail-value{color:#067647}
.admin-invoice-settlement-outstanding{background:#f2efe9}
.admin-invoice-settlement-outstanding .admin-record-detail-value{color:#1c1917;font-weight:800}
.admin-invoice-settlement-notes{display:grid;gap:1rem;border-top:1px solid #e8e4de;padding-top:1rem}
.admin-invoice-settlement-notes .admin-record-detail-label{font-size:.75rem;text-transform:none;letter-spacing:0}
.admin-invoice-settlement-notes .admin-record-detail-value{margin:.375rem 0 0;font-size:.875rem;font-weight:400;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.admin-invoice-settlement-reservations .admin-detail-row-label{font-weight:400}
.admin-invoice-allocations-table{width:100%;min-width:100%}
.admin-invoice-allocation-identity{display:flex;flex-direction:column;gap:.25rem;min-width:0;max-width:32rem;line-height:1.5}
.admin-invoice-allocation-identity strong{font-size:.875rem;font-weight:650;overflow-wrap:anywhere;color:#1d2939}
.admin-invoice-allocation-identity>span{font-size:.8125rem;font-weight:400;overflow-wrap:anywhere;color:#475467}
.admin-invoice-allocation-identity small{font-size:.75rem;font-weight:400;color:#667085}
.admin-invoice-allocation-balance{display:grid;gap:.375rem;min-width:12rem}
.admin-invoice-allocation-balance .admin-detail-label-value-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:1.5rem}
.admin-invoice-allocation-balance :is(.admin-detail-row-label,.admin-detail-row-value){font-size:.8125rem;font-weight:400;line-height:1.5}
.admin-invoice-allocation-balance .admin-detail-row-label{text-align:left;color:#667085}
.admin-invoice-allocation-balance .admin-detail-row-value{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;color:#344054}
.admin-invoice-allocation-balance .admin-detail-label-value-row:first-child .admin-detail-row-value{font-size:.875rem;font-weight:700}
.admin-invoice-allocation-balance .admin-detail-label-value-row:last-child .admin-detail-row-value{font-weight:650}
.admin-invoice-allocation-amount{display:flex;flex-direction:column;align-items:flex-end;gap:.375rem;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:.875rem;color:#1d2939}
.admin-invoice-allocation-amount strong{font-weight:700}
.admin-invoice-allocation-amount small{font-size:.75rem;font-weight:400;color:#667085;white-space:normal}
@media(min-width:768px){.admin-invoice-allocations-table>tbody>tr>td{vertical-align:middle}.admin-invoice-allocations-table>thead>tr>th:first-child{width:34%}}
@media(max-width:767.98px){#financial_invoice_allocations td.admin-invoice-allocation-balance-cell{grid-template-columns:minmax(0,1fr);gap:.5rem}.admin-invoice-allocation-balance{min-width:0;width:100%}}
@media(max-width:639.98px){
 .admin-invoice-settlement-actions{width:100%}
 .admin-invoice-settlement-actions>:first-child{flex:1}
 .admin-invoice-settlement-metrics{grid-template-columns:minmax(0,1fr)}
 .admin-invoice-settlement-metrics>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:1rem;padding:.75rem 1rem;border-inline-start:0;border-top:1px solid #e8e4de}
 .admin-invoice-settlement-metrics>div:first-child{border-top:0}
 .admin-invoice-settlement-metrics .admin-record-detail-label{margin:0}
 .admin-invoice-settlement-metrics .admin-record-detail-value{margin:0;text-align:right;font-size:1rem}
}
.dark .admin-invoice-settlement-metrics{background:#1d2939}
.dark .admin-invoice-settlement-outstanding{background:#344054}
.dark :is(.admin-invoice-settlement-metrics,.admin-invoice-settlement-metrics>div,.admin-invoice-settlement-notes){border-color:#475467}
.dark :is(.admin-invoice-settlement-metrics .admin-record-detail-value,.admin-invoice-allocation-identity strong,.admin-invoice-allocation-amount,.admin-invoice-allocation-balance .admin-detail-row-value){color:#f2f4f7}
.dark .admin-invoice-settlement-reconciled .admin-record-detail-value{color:#75e0a7}
.dark :is(.admin-invoice-settlement-metrics .admin-record-detail-label,.admin-invoice-allocation-identity>span,.admin-invoice-allocation-identity small,.admin-invoice-allocation-amount small,.admin-invoice-allocation-balance .admin-detail-row-label){color:#d0d5dd}

.admin-invoice-ledger-rows{display:grid;gap:.875rem}
.admin-invoice-ledger-rows .admin-detail-label-value-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);align-items:baseline;gap:1rem}
.admin-invoice-ledger-rows :is(.admin-detail-row-label,.admin-detail-row-value){font-size:.875rem;line-height:1.5;overflow-wrap:anywhere;white-space:normal;min-width:0}
.admin-invoice-ledger-rows .admin-detail-row-value{text-align:right;font-variant-numeric:tabular-nums}
.admin-invoice-ledger-adjustments:empty{display:none}
.admin-invoice-ledger-adjustments:not(:empty){padding-top:1.125rem;border-top:1px solid #e8e4de}
.admin-invoice-ledger-metadata{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.admin-invoice-ledger-metadata>div{min-width:0;overflow-wrap:anywhere}
#invoice-source .admin-connection-disclosure:first-child{border-top:0;padding-top:0}
#invoice-lines .admin-financial-invoice-lines-table{width:100%;min-width:100%}
#invoice-lines .admin-financial-invoice-grand-total-cell .admin-financial-amount{color:#1d4ed8;font-size:1.125rem;font-weight:800}
@container(max-width:750px){
 .admin-invoice-ledger-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-invoice-ledger-facts>div:nth-child(3){border-inline-start:0}
 .admin-invoice-ledger-facts>div:nth-child(n+3){border-top:1px solid #e8e4de}
}
@media(max-width:1100px){.admin-invoice-ledger-columns{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767.98px){
 .admin-invoice-ledger-parties{grid-template-columns:minmax(0,1fr)}
 .admin-invoice-ledger-party:nth-child(even){border-inline-start:0;padding-inline-start:0;border-top:1px solid #e8e4de;padding-top:1.25rem}
 .admin-invoice-ledger-metadata{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:639.98px){
 .admin-invoice-ledger-actions,.admin-invoice-ledger-actions :is(a,button){width:100%}
 .admin-invoice-ledger-actions{flex-direction:column;align-items:stretch}
 .admin-invoice-ledger-facts>div{padding:1rem}
 .admin-invoice-ledger-facts .admin-record-detail-label{line-height:1.4;align-items:flex-start}
 .admin-invoice-ledger-facts .admin-record-detail-value{font-size:.9375rem}
 .admin-invoice-ledger-facts>div:first-child .admin-record-detail-value{font-size:1.1875rem}
 .admin-invoice-ledger-metadata{grid-template-columns:minmax(0,1fr)}
}
.dark .admin-invoice-ledger-facts>div:first-child{background:#172554}
.dark .admin-invoice-ledger-facts>div:first-child :is(.admin-record-detail-value,.admin-record-detail-label){color:#bfdbfe}
.dark .admin-invoice-ledger-facts>div:first-child .admin-mini-icon-tile{background:#1e3a8a;color:#93c5fd}
.dark :is(.admin-invoice-ledger-facts,.admin-invoice-ledger-facts>div,.admin-invoice-ledger-party:nth-child(even),.admin-invoice-ledger-adjustments){border-color:#344054}
.dark :is(.admin-invoice-ledger-party-name,.admin-invoice-ledger-facts .admin-record-detail-value,.admin-invoice-ledger-rows .admin-detail-row-value,.admin-invoice-ledger-party-fields .admin-detail-row-value,.admin-invoice-ledger-metadata .admin-record-detail-value){color:#f2f4f7}
.dark #invoice-lines .admin-financial-invoice-grand-total-cell .admin-financial-amount{color:#93c5fd}
.admin-financial-payable-stat{border-color:#93c5fd;background:#eff6ff}
.admin-financial-payable-stat .admin-stat-icon-box{background:#dbeafe;color:#2563eb}
.admin-financial-payable-stat .admin-widget-item-value-compact{color:#1d4ed8;font-weight:800}
.admin-financial-payable-stat .admin-widget-item-label{color:#1e40af;font-weight:600}
.dark .admin-financial-payable-stat{border-color:#2563eb;background:#172554}
.dark .admin-financial-payable-stat .admin-stat-icon-box{background:#1e3a8a;color:#93c5fd}
.dark .admin-financial-payable-stat .admin-widget-item-value-compact{color:#bfdbfe}
.dark .admin-financial-payable-stat .admin-widget-item-label{color:#93c5fd}
.admin-financial-invoice-lines-footer>td{border-top:2px solid #d6d3d1;background:#fafaf9;vertical-align:middle}
.admin-financial-invoice-total-label-cell{color:#57534e;font-weight:800;text-align:right;text-transform:uppercase;letter-spacing:.04em}
.admin-financial-invoice-total-cell{text-align:right;color:#1c1917;white-space:nowrap}
.admin-financial-invoice-line-total{display:flex;min-width:0;flex-direction:column;align-items:flex-end;gap:.2rem}
.admin-financial-invoice-line-total-label{color:#78716c;font-size:.6875rem;line-height:1rem;font-weight:700;text-transform:uppercase;letter-spacing:.035em;white-space:normal}
.admin-financial-invoice-total-cell .admin-financial-amount{font-weight:700}
.admin-financial-invoice-grand-total-cell .admin-financial-amount{font-size:1rem;font-weight:800}
.dark .admin-financial-invoice-lines-footer>td{border-color:#475467;background:#1d2939}
.dark .admin-financial-invoice-total-label-cell,.dark .admin-financial-invoice-total-cell{color:#f9fafb}
.dark .admin-financial-invoice-line-total-label{color:#d0d5dd}
@media(max-width:767.98px){
  .admin-financial-invoice-lines-footer{gap:.5rem!important}
  .admin-financial-invoice-lines-footer>td{padding:.35rem 0!important}
  .admin-financial-invoice-total-label-cell{text-align:left}
  .admin-financial-invoice-total-cell{display:block!important}
  .admin-financial-invoice-line-total{flex-direction:row;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.2rem 1rem}
  .admin-financial-invoice-line-total-label{text-align:left}
  .admin-financial-invoice-line-total .admin-financial-amount{margin-inline-start:auto}
}
.admin-financial-confirm-width{max-width:430px}
.admin-financial-status-confirmation{display:flex;flex-direction:column;gap:1.25rem}
.admin-financial-confirm-identity{display:flex;align-items:flex-start;gap:.75rem}
.admin-financial-confirm-identity>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:.25rem;overflow-wrap:anywhere}
.admin-financial-confirm-summary{display:flex;flex-direction:column;gap:1rem;margin:0;padding:1rem 0;border-block:1px solid #e8e4de}
.admin-financial-confirm-summary>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);align-items:center;gap:1rem}
.admin-financial-confirm-summary dt{color:#667085;font-size:.8125rem}
.admin-financial-confirm-summary dd{margin:0;text-align:right;font-size:.875rem;font-weight:700;overflow-wrap:anywhere}
.admin-financial-confirm-status{display:inline-block;text-align:center;padding:.375rem .625rem;border-radius:.5rem;background:#edf8f1;color:#176b46;line-height:1.4}
.admin-financial-confirm-note{display:flex;align-items:flex-start;gap:.5rem;font-size:.75rem;line-height:1.5;color:#667085}
.admin-financial-confirm-note>i{flex-shrink:0;margin-top:.125rem}
#financial-invoice-status-confirm-form .admin-modal-footer{display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr);background:transparent;border:0;padding-top:0;gap:.625rem}
#financial-invoice-status-confirm-form .admin-modal-footer>.admin-secondary-button{order:-1}
#financial-invoice-status-confirm-form .admin-modal-footer>button{min-width:0;width:100%;padding:.75rem;white-space:normal}
.dark .admin-financial-confirm-summary{border-color:#414650}
.dark .admin-financial-confirm-summary dt,.dark .admin-financial-confirm-note{color:#b4bbc8}
.dark .admin-financial-confirm-status{background:#263e32;color:#94d9b3}
.admin-financial-bank-control{display:inline-flex;align-items:center;justify-content:center;min-width:0}
.admin-financial-bank-control-label,.admin-financial-mobile-date-label,.admin-financial-bank-checkbox-unavailable,.admin-financial-bank-unavailable-reason{display:none}
.admin-financial-bank-unavailable{display:inline-flex;align-items:center;justify-content:center;justify-self:end;vertical-align:middle;border-radius:.5rem;cursor:help;--invoice-status-surface:#f2f4f7;--invoice-status-border:#d0d5dd;--invoice-status-ink:#667085;color:var(--invoice-status-ink)}
.admin-financial-bank-unavailable:focus-visible{outline:2px solid var(--invoice-status-ink);outline-offset:2px}
.dark .admin-financial-bank-unavailable{--invoice-status-surface:#1d2939;--invoice-status-border:#475467;--invoice-status-ink:#98a2b3}

.admin-financial-tablet-summary{display:none}
@media(min-width:768px) and (max-width:1535.98px){
  .admin-financial-register-table .admin-table-head-cell,.admin-financial-register-table .admin-table-body-cell{padding-left:.75rem;padding-right:.75rem}
  .admin-financial-register-table .admin-financial-tablet-hide{display:none}
  #financial_payments_table{width:100%;min-width:0;table-layout:fixed}
  #financial_payments_table .admin-financial-payment-date-cell{width:6.5rem}
  #financial_payments_table .admin-financial-payment-source-cell{width:7rem}
  #financial_payments_table .admin-financial-payment-status-cell{width:10.5rem}
  #financial_payments_table .admin-financial-payment-amount-cell{width:7.5rem}
  #financial_payments_table .admin-financial-payment-status-cell .admin-badge{max-width:100%;white-space:normal;text-align:left}
  #financial_invoices_table{width:100%;min-width:0;table-layout:fixed}
  #financial_invoices_table .admin-financial-select-cell{width:3.5rem}
  #financial_invoices_table .admin-financial-invoice-po-cell{width:4.25rem}
  #financial_invoices_table .admin-financial-invoice-identity-cell{width:48%}
  #financial_invoices_table .admin-financial-payable-cell{width:17%}
  #financial_invoices_table .admin-financial-status-cell{width:25%}
  .admin-financial-tablet-summary{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:.35rem;margin-top:.35rem;padding-top:.45rem;border-top:1px solid #ebe6df}
  .admin-financial-tablet-date{display:inline-flex;align-items:center;gap:.4rem;color:#667085;font-size:.75rem;line-height:1rem;white-space:nowrap}
  .admin-financial-tablet-summary>.admin-financial-cell-stack{gap:.25rem}
}
@media(min-width:768px) and (max-width:1535.98px){.admin-financial-register-table .admin-financial-tight-desktop-hide{display:none}}
@media(max-width:767.98px){
  .admin-responsive-card-table .admin-financial-cell-stack{max-width:100%;align-items:flex-end;text-align:right}
  table.admin-financial-register-table.admin-responsive-card-table tbody>tr>.admin-table-mobile-primary{grid-column:1/-1!important;grid-row:1!important;padding-right:0!important}
  table.admin-financial-register-table.admin-responsive-card-table tbody>tr>.admin-table-action-cell{grid-column:1/-1!important;grid-row:2!important;width:100%!important;min-width:0;border-top:1px solid #ebe6df!important;padding:.75rem 0!important}
  .admin-financial-row-actions{width:100%;justify-content:flex-end}
}
@media(max-width:479.98px){
  .admin-financial-detail-stat .admin-widget-item-value-compact,.admin-financial-stat-date .admin-widget-item-value-compact{font-size:.9375rem;line-height:1.35;letter-spacing:-.02em;white-space:nowrap}
}
.admin-card-shell>.admin-financial-invoice-form{overflow:hidden;border-radius:inherit}
.admin-financial-invoice-form>.bg-white{border-radius:inherit}
.dark .admin-bank-import-options{background:#1d2939;border-color:#344054}
.dark .admin-bank-import-option{color:#f2f4f7}
.dark .admin-bank-import-note{color:#d0d5dd;border-color:#344054}
@media(max-width:639px){.admin-bank-import-menu,.admin-bank-import-trigger{width:100%}.admin-bank-import-options{width:100%}}
.admin-harvest-reports-menu{position:relative}
.admin-harvest-reports-trigger{cursor:pointer;list-style:none}
.admin-harvest-reports-trigger::-webkit-details-marker{display:none}
.admin-harvest-reports-options{position:absolute;right:0;top:calc(100% + .5rem);z-index:50;min-width:13rem;max-width:calc(100vw - 2rem);padding:.375rem;border:1px solid #e4e7ec;border-radius:.75rem;background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.12)}
.admin-harvest-reports-options .admin-secondary-button{width:100%;justify-content:flex-start;border:0;box-shadow:none;white-space:nowrap}
.dark .admin-harvest-reports-options{background:#1d2939;border-color:#344054}
.admin-harvest-detail-context{margin-right:2.75rem;color:#475467;font-size:.8rem;line-height:1.1rem;font-weight:650}
.admin-harvest-detail-loading{display:flex;align-items:center;justify-content:center;gap:.6rem;min-height:13rem;color:#667085;font-size:.875rem}
.admin-harvest-detail-tabs{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;margin-top:1rem;overflow:hidden;border:1px solid #e4e7ec;border-radius:.85rem;background:#fff}
.admin-harvest-detail-tabs>.admin-tab-list-nested{position:relative;z-index:2;width:100%;max-width:100%;flex:0 0 auto;overflow-x:auto;overflow-y:hidden;border:0;border-bottom:1px solid #e4e7ec;border-radius:0;background:#f9fafb;padding:.35rem .5rem;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.admin-harvest-detail-panel-wrap{min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:1rem;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}
.admin-harvest-detail-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}
.admin-harvest-detail-metric{display:flex;min-width:0;flex-direction:column;gap:.25rem;border:1px solid #eaecf0;border-radius:.75rem;background:#f9fafb;padding:.75rem}
.admin-harvest-detail-metric-label{color:#667085;font-size:.7rem;line-height:.9rem;font-weight:650;text-transform:uppercase;letter-spacing:.04em}
.admin-harvest-detail-metric-value{color:#101828;font-size:1.2rem;line-height:1.5rem}
.admin-harvest-detail-metric-assigned{border-color:#fedf89;background:#fffaeb}
.admin-harvest-detail-metric-processed{border-color:#abefc6;background:#ecfdf3}
.admin-harvest-detail-section{margin-top:1rem}
.admin-harvest-detail-section-title{margin-bottom:.6rem;color:#101828;font-size:.9rem;line-height:1.25rem;font-weight:750}
.admin-harvest-detail-alert-list,.admin-harvest-alert-center-list{display:flex;flex-direction:column;gap:.5rem}
.admin-harvest-alert-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:.7rem;border:1px solid #fedf89;border-radius:.75rem;background:#fffcf5;padding:.7rem}
.admin-harvest-alert-item-critical{border-color:#fecdca;background:#fffafa}
.admin-harvest-alert-item-marker{display:inline-flex;min-width:1.65rem;height:1.65rem;align-items:center;justify-content:center;border-radius:.5rem;background:#fef0c7;color:#b54708;font-size:.75rem;font-weight:800}
.admin-harvest-alert-item-critical .admin-harvest-alert-item-marker{background:#fee4e2;color:#b42318}
.admin-harvest-alert-item-copy{display:flex;min-width:0;flex-direction:column;gap:.15rem}
.admin-harvest-alert-item-copy strong{color:#344054;font-size:.8rem;line-height:1rem}
.admin-harvest-alert-item-copy p{color:#667085;font-size:.72rem;line-height:1rem}
.admin-harvest-alert-item-action{align-self:center;border:1px solid #d0d5dd;border-radius:.5rem;background:#fff;padding:.4rem .55rem;color:#344054;font-size:.7rem;line-height:.9rem;font-weight:700}
.admin-harvest-alert-item-action:hover{border-color:#98a2b3;background:#f9fafb}
.admin-harvest-detail-empty{color:#667085;font-size:.75rem;line-height:1rem}
.admin-harvest-crop-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.admin-harvest-crop-detail-card{border:1px solid #e4e7ec;border-radius:.75rem;background:#fff;padding:.8rem;transition:border-color .15s ease,box-shadow .15s ease}
.admin-harvest-crop-detail-card-focused{border-color:#2e90fa;box-shadow:0 0 0 3px rgba(46,144,250,.14)}
.admin-harvest-crop-detail-title{color:#101828;font-size:.9rem;line-height:1.2rem;font-weight:750}
.admin-harvest-crop-detail-meta{margin-top:.2rem;color:#667085;font-size:.72rem;line-height:1rem}
.admin-harvest-crop-detail-lot-title{display:block;margin-top:.65rem;color:#475467;font-size:.7rem;text-transform:uppercase;letter-spacing:.04em}
.admin-harvest-crop-detail-lots{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.35rem}
.admin-harvest-crop-detail-lot{border-radius:9999px;background:#eef4ff;padding:.2rem .45rem;color:#3538cd;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.7rem;font-weight:700}
.admin-harvest-status-legend{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-top:1rem;padding:.75rem;border:1px solid #e5e7eb;border-radius:.75rem;background:#f8fafc}
.admin-harvest-status-legend-item{display:inline-flex;align-items:center;gap:.4rem;font-size:.75rem;line-height:1rem;font-weight:600;color:#475467}
.admin-harvest-status-legend-swatch{display:inline-block;width:.9rem;height:.55rem;border-radius:2px}
.admin-harvest-status-stack{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}
.admin-harvest-status-group{overflow:hidden;border:1px solid #e5e7eb;border-radius:.85rem;background:#fff}
.admin-harvest-status-group-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border-bottom:1px solid #e5e7eb;background:#f8fafc;padding:.8rem 1rem}
.admin-harvest-status-group-title{font-size:1rem;line-height:1.5rem;font-weight:750;color:#101828}
.admin-harvest-status-group-summary{font-size:.75rem;line-height:1rem;font-weight:600;color:#667085;text-align:right}
.admin-harvest-status-warehouse-list{display:flex;flex-direction:column}
.admin-harvest-status-warehouse{padding:.85rem 1rem}
.admin-harvest-status-warehouse+.admin-harvest-status-warehouse{border-top:1px solid #eaecf0}
.admin-harvest-status-warehouse-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.55rem}
.admin-harvest-status-warehouse-name{font-size:.875rem;line-height:1.25rem;font-weight:700;color:#344054}
.admin-harvest-status-counts{font-size:.75rem;line-height:1rem;font-weight:500;color:#667085;text-align:right}
.admin-harvest-status-grid{display:grid;grid-template-columns:repeat(var(--harvest-status-columns,60),minmax(0,.75rem));gap:2px;width:min(100%,calc(var(--harvest-status-columns,60) * .75rem + (var(--harvest-status-columns,60) - 1) * 2px))}
.admin-harvest-container-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(16rem,20rem);gap:1rem;align-items:start}
.admin-harvest-crate-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(2.35rem,1fr));gap:.35rem}
.admin-harvest-crate-tile{display:flex;min-height:2.35rem;align-items:center;justify-content:center;border:2px solid transparent;border-radius:.5rem;color:#344054;font-size:.75rem;font-weight:800;cursor:pointer;transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease}
.admin-harvest-crate-tile:hover{transform:translateY(-1px);box-shadow:0 4px 9px rgba(16,24,40,.12)}
.admin-harvest-crate-tile:focus-visible{outline:3px solid rgba(37,99,235,.28);outline-offset:2px}
.admin-harvest-crate-tile-pending{background:#eaecf0;border-color:#d0d5dd}
.admin-harvest-crate-tile-assigned{background:#fef0c7;border-color:#fdb022;color:#93370d}
.admin-harvest-crate-tile-processed{background:#d1fadf;border-color:#32d583;color:#05603a}
.admin-harvest-crate-tile-current{border-color:#101828;box-shadow:0 0 0 2px rgba(16,24,40,.14)}
.admin-harvest-crate-detail{position:sticky;top:0;border:1px solid #d0d5dd;border-radius:.8rem;background:#f9fafb;padding:.85rem}
.admin-harvest-crate-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}
.admin-harvest-crate-action{flex:1 1 8rem;min-height:44px;border:0;border-radius:.5rem;padding:.6rem .75rem;color:#fff;font-weight:700;line-height:1.25rem}
.admin-harvest-crate-action-unassign{background:#7e22ce}
.admin-harvest-crate-action-assign{background:#f59e0b;color:#111827}
.admin-harvest-crate-action-assign:hover:not(:disabled){background:#d97706}
.admin-harvest-crate-action-unassign:hover:not(:disabled){background:#6b21a8}
.admin-harvest-crate-action-removeLabel{background:#dc2626}
.admin-harvest-crate-action-removeLabel:hover:not(:disabled){background:#b91c1c}
.admin-harvest-crate-action:disabled{opacity:.5;cursor:not-allowed}
.admin-harvest-crate-action:focus-visible{outline:3px solid #818cf8;outline-offset:3px}
.admin-harvest-crate-detail-title{padding-right:1.75rem;color:#101828;font-size:.95rem;line-height:1.25rem;font-weight:800}
.admin-harvest-crate-subtitle{margin-top:1rem;margin-bottom:.35rem;color:#344054;font-size:.75rem;line-height:1rem;font-weight:750;text-transform:uppercase;letter-spacing:.04em}
.admin-harvest-crate-meta{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.25rem .65rem;margin-top:.65rem;font-size:.72rem;line-height:1rem}
.admin-harvest-crate-meta dt{color:#667085}
.admin-harvest-crate-meta dd{color:#344054;font-weight:650;text-align:right}
.admin-harvest-label-language-actions{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.45rem}
.admin-harvest-label-language-link{display:inline-flex;gap:.4rem;min-height:2.75rem;align-items:center;justify-content:center;border:1px solid #d0d5dd;border-radius:.5rem;background:#fff;padding:.4rem .55rem;color:#344054;font-size:.72rem;font-weight:700;text-decoration:none}
.admin-harvest-label-language-link:hover{border-color:#2e90fa;background:#eff8ff;color:#175cd3}
.admin-harvest-label-action{min-width:2.75rem;min-height:2.75rem}
.admin-harvest-timeline{display:flex;flex-direction:column;gap:.55rem;margin-top:.5rem}
.admin-harvest-timeline-item{position:relative;display:flex;flex-direction:column;gap:.1rem;border-left:2px solid #d0d5dd;padding-left:.65rem;color:#344054;font-size:.7rem;line-height:.95rem}
.admin-harvest-timeline-item span{color:#667085}
.admin-harvest-timeline-item-processed{border-left-color:#22c55e}
.admin-harvest-timeline-item-label_assigned{border-left-color:#f59e0b}
.admin-harvest-label-stack{display:flex;flex-direction:column;gap:1rem}
.admin-harvest-label-group{min-width:0}
.admin-harvest-label-group+.admin-harvest-label-group{border-top:1px solid #e4e7ec;padding-top:1rem}
.admin-harvest-label-group-title{margin-bottom:.6rem;color:#101828;font-size:1rem;line-height:1.35rem;font-weight:800}
.admin-harvest-label-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:.75rem;align-items:start}
.admin-harvest-label-card{border:1px solid #e4e7ec;border-radius:.8rem;background:#fff;padding:.75rem}
.admin-harvest-label-card-header{display:flex;align-items:start;justify-content:space-between;gap:.75rem}
.admin-harvest-close-button{flex:0 0 auto}
.admin-harvest-label-card-title{color:#101828;font-size:.9rem;line-height:1.2rem;font-weight:800}
.admin-harvest-label-card-meta{margin-top:.2rem;color:#667085;font-size:.72rem;line-height:1rem}
.admin-harvest-label-card .admin-harvest-crate-subtitle{margin-top:.65rem;margin-bottom:.2rem}
.admin-harvest-label-card .admin-harvest-label-language-actions{margin-top:.35rem}
.admin-harvest-print-history{display:flex;flex-direction:column;gap:.35rem}
.admin-harvest-print-history-item{display:flex;align-items:start;justify-content:space-between;gap:.75rem;border-top:1px solid #eaecf0;padding-top:.45rem;color:#344054;font-size:.7rem;line-height:.95rem}
.admin-harvest-print-history-item span{color:#667085;text-align:right}
.admin-harvest-alert-center-summary{margin-right:2.75rem;margin-bottom:.8rem;color:#475467;font-size:.8rem;font-weight:700}
.admin-harvest-alert-center-group{display:flex;flex-direction:column;gap:.45rem}
.admin-harvest-alert-center-group+.admin-harvest-alert-center-group{margin-top:.8rem;border-top:1px solid #eaecf0;padding-top:.8rem}
.admin-harvest-alert-center-title{color:#101828;font-size:.85rem;line-height:1.1rem;font-weight:800}
.admin-harvest-status-tile{display:block;min-width:0;height:.55rem;border-radius:2px}
.admin-harvest-status-tile-pending{background:#d1d5db}
.admin-harvest-status-tile-assigned{background:#f59e0b}
.admin-harvest-status-tile-processed{background:#22c55e}
.admin-harvest-status-empty{margin-top:1rem;border:1px dashed #d0d5dd;border-radius:.75rem;padding:1.5rem;text-align:center;font-size:.875rem;line-height:1.25rem;color:#667085}
.dark .admin-harvest-status-context,.dark .admin-harvest-status-warehouse-name{color:#e5e7eb}
.dark .admin-harvest-lifecycle:hover,.dark .admin-harvest-crate-detail{background:#1d2939}
.dark .admin-harvest-lifecycle-copy,.dark .admin-harvest-detail-metric-value,.dark .admin-harvest-detail-section-title,.dark .admin-harvest-crop-detail-title,.dark .admin-harvest-crate-detail-title,.dark .admin-harvest-label-group-title,.dark .admin-harvest-label-card-title,.dark .admin-harvest-alert-center-title{color:#f9fafb}
.dark .admin-harvest-lifecycle-summary,.dark .admin-harvest-detail-context,.dark .admin-harvest-detail-loading,.dark .admin-harvest-detail-empty,.dark .admin-harvest-crop-detail-meta,.dark .admin-harvest-label-card-meta,.dark .admin-harvest-print-history-item span{color:#d0d5dd}
.dark .admin-harvest-lifecycle-unassigned{border-color:#b54708;background:#4a2b0b;color:#fedf89}
@media (min-width:768px){.dark #harvest-stock-table tbody>tr.admin-harvest-row-logs-closed>td{background:#163528}.dark #harvest-stock-table tbody>tr.admin-harvest-row-logs-closed:hover>td{background:#1c4634}.dark #harvest-stock-table tbody>tr.admin-harvest-row-needs-label-assignment>td{background:#2d2518}.dark #harvest-stock-table tbody>tr.admin-harvest-row-needs-label-assignment:hover>td{background:#382b16}.dark #harvest-stock-table tbody>tr.admin-harvest-row-needs-label-assignment>td:first-child{box-shadow:inset .25rem 0 0 #fdb022}}
.dark .admin-harvest-land-name,.dark .admin-harvest-row-name,.dark .admin-harvest-row-weight{color:#f5f0ea}
.dark .admin-harvest-land-size,.dark .admin-harvest-row-meta{color:#a8a29e}
@media (max-width:767.98px){
  .dark .admin-harvest-row-icon{background:#3f2e27}
  .dark #harvest-stock-table.admin-responsive-card-table:not(.admin-manual-table-empty) tbody>tr,.dark #harvest-stock-table.admin-responsive-card-table:not(.admin-manual-table-empty) tbody>tr.admin-harvest-row-needs-label-assignment,.dark #harvest-stock-table.admin-responsive-card-table:not(.admin-manual-table-empty) tbody>tr.admin-harvest-row-needs-label-assignment:hover,.dark #harvest-stock-table.admin-responsive-card-table:not(.admin-manual-table-empty) tbody>tr.admin-harvest-row-logs-closed,.dark #harvest-stock-table.admin-responsive-card-table:not(.admin-manual-table-empty) tbody>tr.admin-harvest-row-logs-closed:hover{border-bottom-color:#44403c;background:transparent;box-shadow:none}
}
.dark .admin-harvest-detail-tabs,.dark .admin-harvest-detail-metric,.dark .admin-harvest-crop-detail-card,.dark .admin-harvest-label-card{border-color:#344054;background:#101828}
.dark .admin-harvest-detail-metric-assigned{background:#3f2f12}
.dark .admin-harvest-detail-metric-processed{background:#073b2b}
.dark .admin-harvest-alert-item{border-color:#854a0e;background:#3f2f12}
.dark .admin-harvest-alert-item-critical{border-color:#912018;background:#3b1212}
.dark .admin-harvest-alert-item-copy strong,.dark .admin-harvest-crate-meta dd,.dark .admin-harvest-crate-subtitle,.dark .admin-harvest-timeline-item,.dark .admin-harvest-print-history-item{color:#e5e7eb}
.dark .admin-harvest-alert-item-copy p,.dark .admin-harvest-crate-meta dt,.dark .admin-harvest-timeline-item span{color:#d0d5dd}
.dark .admin-harvest-label-language-link,.dark .admin-harvest-alert-item-action{border-color:#475467;background:#1d2939;color:#f2f4f7}
.dark .admin-harvest-label-group+.admin-harvest-label-group{border-color:#344054}
.dark .admin-harvest-detail-tabs>.admin-tab-header-bar{border-color:#344054;background:#101828}
.dark .admin-harvest-status-legend,.dark .admin-harvest-status-group-header{border-color:#344054;background:#1d2939}
.dark .admin-harvest-status-legend-item,.dark .admin-harvest-status-group-summary,.dark .admin-harvest-status-counts{color:#d0d5dd}
.dark .admin-harvest-status-group{border-color:#344054;background:#101828}
.dark .admin-harvest-status-group-title{color:#f9fafb}
.dark .admin-harvest-status-warehouse+.admin-harvest-status-warehouse{border-color:#344054}
.dark .admin-harvest-status-empty{border-color:#475467;color:#d0d5dd}
@media (max-width:900px){.admin-harvest-container-workspace{grid-template-columns:1fr}.admin-harvest-crate-detail{position:static}.admin-harvest-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.admin-harvest-alert-banner{grid-template-columns:auto minmax(0,1fr) auto}.admin-harvest-alert-counts{display:none}.admin-harvest-alert-copy span{display:none}.admin-harvest-status-group-header,.admin-harvest-status-warehouse-header,.admin-harvest-label-card-header{flex-direction:column;gap:.25rem}.admin-harvest-close-button{width:100%;margin-top:.35rem}.admin-harvest-status-group-summary,.admin-harvest-status-counts{text-align:left}.admin-harvest-status-grid{grid-template-columns:repeat(var(--harvest-status-columns,60),minmax(0,1fr));width:100%}.admin-harvest-crop-detail-grid{grid-template-columns:1fr}.admin-harvest-alert-item{grid-template-columns:auto minmax(0,1fr)}.admin-harvest-alert-item-action{grid-column:1/-1;width:100%}.admin-harvest-print-history-item{flex-direction:column;gap:.15rem}.admin-harvest-print-history-item span{text-align:left}}
/* Harvest operations keeps one aligned content grid, including long translated names. */
.admin-harvest-detail-dialog-body{min-width:0}
.admin-harvest-detail-dialog-body>.admin-section-title{display:flex;min-height:2.75rem;align-items:center;margin-bottom:.5rem;overflow-wrap:anywhere}
.admin-harvest-detail-dialog .admin-modal-close-button{top:1.5rem;right:1.5rem}
.admin-harvest-detail-context{margin-right:0;overflow-wrap:anywhere}
.admin-harvest-status-legend{margin-top:0}
.admin-harvest-container-workspace{margin-top:1rem}
.admin-harvest-container-workspace>.admin-harvest-status-stack{min-width:0;margin-top:0}
.admin-harvest-crate-detail{min-width:0;border-color:#e5e7eb;border-radius:.85rem;padding:1rem}
.admin-harvest-status-group-header,.admin-harvest-status-warehouse-header{align-items:center;flex-wrap:wrap}
.admin-harvest-status-group-title,.admin-harvest-status-warehouse-name{min-width:0;flex:1 1 12rem;overflow-wrap:anywhere}
.admin-harvest-status-group-summary,.admin-harvest-status-counts{flex:1 1 10rem;overflow-wrap:anywhere}
.admin-harvest-crate-grid{grid-template-columns:repeat(auto-fill,minmax(2.75rem,1fr));gap:.375rem}
.admin-harvest-crate-tile{min-height:2.75rem}
.admin-harvest-crate-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-harvest-crate-action{min-width:0;overflow-wrap:anywhere}
.admin-harvest-crate-detail-title{padding-right:0;overflow-wrap:anywhere}
.admin-harvest-crate-meta{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
.admin-harvest-crate-meta>*{min-width:0;overflow-wrap:anywhere}
.admin-harvest-label-language-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.admin-harvest-label-language-link{min-width:0;padding-inline:.25rem}
.admin-harvest-timeline-item,.admin-harvest-crop-detail-lot,.admin-harvest-crop-detail-title,.admin-harvest-label-card-title,.admin-harvest-label-card-meta{overflow-wrap:anywhere;min-width:0;max-width:100%}
.admin-harvest-detail-metric-value{overflow-wrap:anywhere}
.dark .admin-harvest-crate-detail{border-color:#344054}
.dark .admin-harvest-status-warehouse-name{color:#f2f4f7}
.dark .admin-harvest-detail-tabs>.admin-tab-list-nested{background:#101828;border-color:#344054}
.admin-harvest-label-group-title{overflow-wrap:anywhere}
.dark .admin-harvest-detail-dialog .admin-modal-body{background:#101828;color:#f2f4f7}
.dark .admin-harvest-detail-dialog .admin-section-title{color:#f9fafb}
.dark .admin-harvest-detail-dialog .admin-modal-close-button{background:#344054;color:#f2f4f7}
.dark .admin-harvest-detail-metric-label,.dark .admin-harvest-crop-detail-lot-title{color:#d0d5dd}
.dark .admin-harvest-detail-tabs .admin-tab-button{color:#d0d5dd}
.dark .admin-harvest-detail-tabs .admin-tab-button-active{background:#344054;color:#fdba74}
.dark .admin-harvest-crate-tile-current{border-color:#f9fafb;box-shadow:0 0 0 2px #667085}
.dark .admin-harvest-close-button{background:#1d2939;border-color:#475467;color:#f2f4f7}
@media(max-width:640px){
 .admin-harvest-status-group-header,.admin-harvest-status-warehouse-header{align-items:stretch}
 .admin-harvest-status-group-title,.admin-harvest-status-group-summary,.admin-harvest-status-warehouse-name,.admin-harvest-status-counts{flex-basis:auto}
 .admin-harvest-detail-dialog .admin-modal-body{padding:1rem}
 .admin-harvest-detail-dialog .admin-modal-close-button{top:1rem;right:1rem}
 .admin-harvest-detail-dialog-body>.admin-section-title{font-size:1rem;line-height:1.25rem}
 .admin-harvest-detail-tabs>.admin-tab-list-nested{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.25rem;padding:.35rem}
 .admin-harvest-detail-tabs>.admin-tab-list-nested .admin-tab-button{min-width:0;min-height:4rem;flex-direction:column;gap:.2rem;white-space:normal;padding:.4rem .2rem;font-size:.75rem;line-height:1rem}
 .admin-harvest-detail-panel-wrap{padding:.75rem;scrollbar-gutter:auto}
 .admin-harvest-crate-actions{grid-template-columns:1fr}
 .admin-harvest-detail-context{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}
@media(max-height:500px){
 .admin-harvest-detail-dialog .admin-modal-body{padding-block:.75rem}
 .admin-harvest-detail-dialog .admin-modal-close-button{top:.75rem}
 .admin-harvest-detail-context{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .admin-harvest-detail-tabs{margin-top:.5rem}
}
.admin-confirmation-copy{min-width:0;overflow-wrap:anywhere}
.admin-confirmation-copy .admin-compact-meta{color:#667085}
#admin-delete-confirm-modal .admin-action-button-green{background:#15803d}
#admin-delete-confirm-modal .admin-action-button-green:hover{background:#166534}
.dark #admin-delete-confirm-modal .admin-modal-body{background:#1d2939;color:#f2f4f7}
.dark #admin-delete-confirm-modal .admin-modal-footer{background:#101828;border-color:#344054}
.dark .admin-confirmation-copy :is(.admin-section-title,.admin-table-text-strong){color:#f9fafb}
.dark .admin-confirmation-copy :is(.admin-muted-prose,.admin-compact-meta){color:#d0d5dd}
.admin-confirmation-warning{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:9999px;background:var(--color-red-100,#fee2e2)}
.dark .admin-confirmation-warning{background:#7a271a;color:#fecdca}
.dark #admin-delete-confirm-cancel-btn{background:#344054;border-color:#475467;color:#f2f4f7}
.admin-safe-bottom-blur{backdrop-filter:blur(10px)}
.admin-image-placeholder{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f3f4f6;color:#9ca3af}
.admin-image-placeholder-round{border:2px solid #e5e7eb;border-radius:9999px}
.admin-image-placeholder-square{border-radius:.25rem}
.admin-image-placeholder-sm{width:2rem;height:2rem}
.admin-image-placeholder-md{width:2.5rem;height:2.5rem}
.admin-image-placeholder-lg{width:3rem;height:3rem}
.admin-image-placeholder-xl{width:4rem;height:4rem}
.admin-image-placeholder-bordered{border:1px solid #d1d5db;border-radius:.5rem}
.admin-image-placeholder-option{flex-shrink:0;object-fit:cover}
.admin-image-option-placeholder{display:flex;width:2.5rem;height:2.5rem;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;border-radius:.25rem;background:#f3f4f6;color:#9ca3af;object-fit:cover}
.admin-empty-state{text-align:center;padding:3rem 1.5rem}
.admin-empty-state-wrapper{border:1px solid #e5e7eb;border-radius:.5rem;background:#f9fafb;padding:3rem 0}
.admin-effective-area-empty-state{padding:1.5rem}
.admin-empty-state-icon-lg{width:4rem;height:4rem}
.admin-thumb-square{width:2.5rem;height:2.5rem;border:1px solid #e5e7eb;border-radius:.5rem;object-fit:cover}
.admin-thumb-md{width:4rem;height:4rem;border-radius:.5rem;object-fit:cover}
.admin-thumb-xl{width:6rem;height:6rem;border:1px solid #d1d5db;border-radius:.5rem;object-fit:cover}
.admin-thumb-clickable{cursor:pointer;transition:opacity .15s ease}
.admin-thumb-clickable:hover{opacity:.8}
.admin-image-preview-contain-md{max-width:100%;height:8rem;border:1px solid #e5e7eb;border-radius:.5rem;object-fit:contain}
.admin-image-preview-contain-lg{max-width:100%;max-height:300px;border:1px solid #e5e7eb;border-radius:.5rem;object-fit:contain}
.admin-avatar-preview-lg{width:6rem;height:6rem;border:1px solid #e5e7eb;border-radius:9999px;object-fit:cover}
.admin-product-preview-image{max-width:100%;max-height:300px;border:1px solid #e5e7eb;border-radius:.5rem;object-fit:contain}
.admin-crop-summary-icon-image{width:2.5rem;height:2.5rem;border:1px solid #e5e7eb;border-radius:.5rem;object-fit:contain}
.admin-icon-tile-md{display:inline-flex;width:2.5rem;height:2.5rem;align-items:center;justify-content:center;border:1px solid #e5e7eb;border-radius:.5rem;background:#f9fafb;color:#1f2937}
.admin-icon-muted{color:#9ca3af}
.admin-stat-icon-box{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center}
.admin-stat-icon-box-sm{width:2.75rem;height:2.75rem;border-radius:.5rem}
.admin-stat-icon-box-lg{width:4rem;height:4rem;border-radius:.75rem}
.admin-table-search-input{width:100%}
[data-admin-table-extra-actions]{display:contents}
.admin-table-controls-header{margin:0;display:flex;flex-direction:column;gap:.5rem;padding:1rem;background:#f8f0f0}
.admin-table-controls-left,.admin-table-controls-right,.admin-table-controls-actions{display:flex;flex-direction:column;gap:.5rem}
.admin-table-controls-right{gap:.75rem}
.admin-table-controls-filter-trigger,.admin-table-controls-overflow-trigger{display:inline-flex;width:2.75rem;height:2.75rem;flex:0 0 2.75rem;align-items:center;justify-content:center;padding:0;border:1px solid #d1d5db;border-radius:.75rem;background:#fff;color:#344054;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05))}
.admin-table-controls-filter-trigger:hover,.admin-table-controls-overflow-trigger:hover{background:#f9fafb}
.admin-table-controls-filter-trigger:focus-visible,.admin-table-controls-overflow-trigger:focus-visible{outline:2px solid #b93815;outline-offset:2px}
.admin-table-controls-filter-trigger[aria-expanded="true"],.admin-table-controls-overflow-trigger[aria-expanded="true"]{border-color:#fdbda7;background:#fff7ed;color:#c2410c}
.dark .admin-table-controls-filter-trigger,.dark .admin-table-controls-overflow-trigger{border-color:#374151;background:#1f2937;color:#e5e7eb}
.dark .admin-table-controls-filter-trigger:hover,.dark .admin-table-controls-overflow-trigger:hover{background:rgba(255,255,255,.03)}
.dark .admin-table-controls-filter-trigger[aria-expanded="true"],.dark .admin-table-controls-overflow-trigger[aria-expanded="true"]{border-color:#9a3412;background:#431407;color:#fdba74}
.admin-table-search-shell{position:relative}
.admin-table-search-icon{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#6b7280}
.admin-table-icon-action{display:inline-flex;width:2.75rem;height:2.75rem;flex:0 0 2.75rem;align-items:center;justify-content:center;padding:0}
.admin-dt-controls{margin-top:1rem;display:flex;flex-direction:column;gap:.5rem;padding-left:1rem;padding-right:1rem}
.admin-dt-control-group{display:flex;align-items:center;gap:.75rem}
.admin-dt-control-group-sm{gap:.5rem}
.admin-dt-search-shell{position:relative}
.admin-dt-footer{margin-top:1rem;display:flex;flex-direction:column;gap:.5rem;padding-left:1rem;padding-right:1rem}
.admin-dt-info{font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-dt-footer-info{border-bottom:1px solid #f3f4f6;padding-bottom:.75rem;text-align:center}
.admin-dt-pagination{display:flex;align-items:center;justify-content:center;gap:.125rem;padding-top:.75rem}
.admin-table-head-cell{padding:.75rem 1.5rem;font-size:.75rem;line-height:1rem;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:#6b7280}
.admin-table-body-cell{padding:1rem 1.5rem}
.admin-table-numeric-cell{white-space:nowrap;text-align:right;font-size:.875rem;line-height:1.25rem;color:#374151;font-variant-numeric:tabular-nums}
.admin-table-action-cell{padding:1rem 1.5rem;font-size:.875rem;line-height:1.25rem;font-weight:500}
.admin-table-export-details{position:relative;display:inline-block}
.admin-table-export-trigger{cursor:pointer;list-style:none}
.admin-table-export-trigger::-webkit-details-marker{display:none}
.admin-table-export-caret{margin-left:.25rem;display:inline-flex;width:1.25rem;height:1.25rem;flex-shrink:0;align-items:center;justify-content:center;color:inherit}
.admin-table-export-button{display:flex;width:100%;align-items:center;justify-content:center;gap:.5rem;border:1px solid #d1d5db;border-radius:.5rem;background:#fff;padding:11px 1rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#374151;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05))}
.admin-table-export-button:hover{background:#f9fafb}
.admin-table-export-button:disabled,.admin-table-export-button[aria-disabled=true]{cursor:not-allowed;border-color:#e5e7eb;background:#f3f4f6;color:#9ca3af;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05));opacity:1}
.admin-table-export-button:disabled:hover,.admin-table-export-button[aria-disabled=true]:hover{background:#f3f4f6;color:#9ca3af}
.dark .admin-table-export-button{border-color:#374151;background:#1f2937;color:#9ca3af}
.dark .admin-table-export-button:hover{background:rgba(255,255,255,.03)}
.dark .admin-table-export-button:disabled,.dark .admin-table-export-button[aria-disabled=true],.dark .admin-table-export-button:disabled:hover,.dark .admin-table-export-button[aria-disabled=true]:hover{border-color:#374151;background:#111827;color:#6b7280}
.admin-table-export-menu{position:absolute;right:0;top:100%;z-index:50;margin-top:.25rem;min-width:140px;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;padding:.25rem 0;box-shadow:0 10px 15px -3px rgba(16,24,40,.1),0 4px 6px -4px rgba(16,24,40,.1)}
.admin-table-export-menu-item{display:flex;min-height:2.75rem;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;color:#374151}
.admin-table-export-menu-item:hover{background:#f3f4f6}
.admin-table-export-menu[popover]{position:fixed;inset:auto;margin:0;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto}
.admin-table-export-menu-item{width:100%;text-align:left}
.admin-table-export-trigger:focus-visible,.admin-table-export-menu-item:focus-visible{outline:2px solid var(--color-brand-500,#f04400);outline-offset:2px}
.dark .admin-table-export-menu{background:#1f2937;border-color:#374151;color:#f3f4f6}
.dark .admin-table-export-menu-item{color:#f3f4f6}
.dark .admin-table-export-menu-item:hover{background:#374151}
.admin-table-selection-bar{position:sticky;bottom:calc(1rem + env(safe-area-inset-bottom,0px));z-index:30;display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;padding:.75rem 1rem;border:1px solid #e4ded5;border-radius:.75rem;background:#fffdf9;box-shadow:0 6px 24px rgba(16,24,40,.14)}
.admin-table-selection-bar[hidden]{display:none!important}
.admin-table-selection-bar-summary{min-width:0;color:#344054;font-size:.875rem;font-weight:600}
.admin-table-selection-bar-actions{display:flex;align-items:center;gap:.75rem}
.admin-table-selection-bar-actions>button{width:auto;min-height:44px;white-space:nowrap;flex-shrink:0}
.dark .admin-table-selection-bar{border-color:#44403c;background:#1c1917;box-shadow:0 6px 24px rgba(0,0,0,.35)}
.dark .admin-table-selection-bar-summary{color:#e7e5e4}
@media(max-width:639.98px){
  .admin-table-selection-bar{flex-wrap:wrap;gap:.5rem;padding:.75rem}
  .admin-table-selection-bar-actions{display:contents}
  .admin-table-selection-bar-actions>button:first-child{margin-left:auto}
  .admin-table-selection-bar [data-selection-bar-clear]{width:44px;height:44px;padding:0}
  .admin-table-selection-bar [data-selection-bar-clear]>span{display:none}
  .admin-table-selection-bar-actions>button:last-child{width:100%}
}
.admin-table-selection-row{background:#fffdf9}
.admin-table-selection-row>td{border-top:1px solid #e5e7eb;vertical-align:middle}
.admin-table-selection-control-cell{width:5.25rem;padding:.65rem 1rem;text-align:center}
.admin-table-selection-summary-cell{border-left:1px solid #f0ece5;padding:.65rem 1rem}
.admin-table-selection-single-cell{padding:.65rem 1rem}
.admin-table-selection-single-inner{display:flex;min-width:0;align-items:center;gap:.75rem}
.admin-table-selection-menu{position:relative;display:inline-flex}
.admin-table-selection-menu-trigger{display:inline-flex;width:2.75rem;height:2.75rem;align-items:center;justify-content:center;border:1px solid #d7dce3;border-radius:.65rem;background:#fff;color:#344054;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05));transition:border-color .15s ease,background-color .15s ease,color .15s ease,box-shadow .15s ease}
.admin-table-selection-menu-trigger:not(:disabled):hover{border-color:#fdba74;background:#fff7ed;color:#c2410c}
.admin-table-selection-menu-trigger:not(:disabled):focus-visible{border-color:#f97316;outline:0;box-shadow:0 0 0 3px rgba(249,115,22,.16)}
.admin-table-selection-menu-trigger:disabled{cursor:not-allowed;border-color:#e5e7eb;background:#f8fafc;color:#c0c7d1;box-shadow:none}
.admin-table-selection-menu-panel{position:fixed;z-index:100200;width:min(17rem,calc(100vw - 1rem));border:1px solid #e5e7eb;border-radius:.75rem;background:#fff;padding:.35rem;box-shadow:0 18px 40px rgba(16,24,40,.16)}
.admin-table-selection-menu-panel .admin-table-selection-menu-command{width:100%;min-height:2.75rem;justify-content:flex-start;border:0;background:transparent;padding:.65rem .75rem;box-shadow:none;text-align:left}
.admin-table-selection-menu-panel .admin-table-selection-menu-command:not(:disabled):hover{background:#fff7ed;color:#c2410c}
.admin-table-selection-menu-panel .admin-table-selection-menu-command:disabled{background:transparent;color:#98a2b3}
.admin-table-selection-summary{display:flex;min-width:0;align-items:center;gap:.55rem;color:#667085;font-size:.78rem;font-weight:600;line-height:1.2rem}
.admin-table-selection-count{display:inline-flex;min-width:1.55rem;height:1.55rem;align-items:center;justify-content:center;border-radius:999px;background:#fff0e6;padding:0 .45rem;color:#c2410c;font-size:.72rem;font-weight:800}
.admin-table-footer-pad{border-top:1px solid #f3f4f6;padding:1rem 1rem 1rem 18px}
.admin-table-footer-inner{display:flex;flex-direction:column;min-width:0;max-width:100%;flex-wrap:wrap;gap:.75rem}
.admin-table-info-text{border-bottom:1px solid #f3f4f6;padding-bottom:.75rem;text-align:center;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#6b7280}
.admin-table-page-numbers{display:inline-flex;align-items:center;gap:.125rem}
.admin-table-page-status{display:none;font-size:.875rem;font-weight:600;color:inherit;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:639.98px){
  .admin-table-footer-inner .admin-table-pagination{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:.5rem;width:100%}
  .admin-table-pagination .admin-table-page-numbers{display:none}
  .admin-table-pagination .admin-table-page-status{display:block}
  .admin-table-pagination>button{width:100%;min-width:44px;min-height:44px;margin:0;padding:.625rem .5rem}
  .admin-form-actions-row{flex-direction:column;align-items:stretch}
  .admin-form-actions-row>*{width:100%;justify-content:center}
}
.admin-table-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.125rem;max-width:100%;padding-top:.75rem}
.dark .admin-table-selection-row{background:#1c1917}
.dark .admin-table-selection-row>td{border-top-color:#44403c}
.dark .admin-table-selection-summary-cell{border-left-color:#44403c}
.dark .admin-table-selection-menu-trigger{border-color:#44403c;background:#292524;color:#e7e5e4}
.dark .admin-table-selection-menu-trigger:not(:disabled):hover{border-color:#c2410c;background:#431407;color:#fed7aa}
.dark .admin-table-selection-menu-trigger:disabled{border-color:#292524;background:#1c1917;color:#57534e}
.dark .admin-table-selection-menu-panel{border-color:#44403c;background:#1c1917;box-shadow:0 18px 40px rgba(0,0,0,.35)}
.dark .admin-table-selection-menu-panel .admin-table-selection-menu-command{color:#e7e5e4}
.dark .admin-table-selection-menu-panel .admin-table-selection-menu-command:not(:disabled):hover{background:#431407;color:#fed7aa}
.dark .admin-table-selection-menu-panel .admin-table-selection-menu-command:disabled{color:#78716c}
.dark .admin-table-selection-summary{color:#a8a29e}
.dark .admin-table-selection-count{background:#431407;color:#fed7aa}
@media (max-width:767.98px){
table:where(.admin-responsive-card-table:not(.admin-manual-table-empty)) tfoot:has(.admin-table-selection-row){padding:0}
table:where(.admin-responsive-card-table:not(.admin-manual-table-empty)) tfoot .admin-table-selection-row{display:grid!important;grid-template-columns:4rem minmax(0,1fr);gap:0}
table:where(.admin-responsive-card-table:not(.admin-manual-table-empty)) tfoot .admin-table-selection-row>td{display:flex;min-width:0;align-items:center;padding:.6rem!important}
table:where(.admin-responsive-card-table:not(.admin-manual-table-empty)) tfoot .admin-table-selection-control-cell{justify-content:center}
table:where(.admin-responsive-card-table:not(.admin-manual-table-empty)) tfoot .admin-table-selection-summary-cell{border-left:1px solid #e5dfd6}
.dark table:where(.admin-responsive-card-table:not(.admin-manual-table-empty)) tfoot .admin-table-selection-summary-cell{border-left-color:#44403c}
}
/* Multi-selects share the warm admin palette and escape clipped cards via a body portal. */
.admin-multiselect-trigger{min-height:3.5rem;gap:.75rem;border-color:#e5dfd6;border-radius:.875rem;background:#fffdfa;text-align:left;font-weight:600}
.admin-form .admin-multiselect-trigger{min-height:3rem;padding:.5rem 1rem;border-radius:.625rem}
.admin-multiselect-trigger:hover{border-color:#cfc3b6;background:#fffaf5}
.admin-multiselect-trigger:focus,.admin-multiselect-trigger[aria-expanded=true]{border-color:#ef2147;box-shadow:0 0 0 3px rgba(239,33,71,.12)}
.admin-multiselect-placeholder{color:#78716c}
.admin-multiselect .admin-selection-chip{max-width:100%;white-space:normal;overflow-wrap:anywhere;border:1px solid #fed7c7;border-radius:.5rem;background:#fff0e7;color:#9a3412;padding:.25rem .5rem}
.admin-multiselect-removals{display:flex;flex-wrap:wrap;gap:.375rem;margin-top:.5rem}
.admin-multiselect-menu-panel.admin-dropdown-menu-fixed{display:flex;flex-direction:column;min-width:0;margin:0;padding:0;overflow:hidden;border:1px solid #e5dfd6;border-radius:1rem;background:#fffdfa;box-shadow:0 18px 40px rgba(62,44,26,.16)}
.admin-multiselect-menu .admin-dropdown-search-wrap{flex:0 0 auto;position:relative;background:inherit;border-color:#e5dfd6}
.admin-multiselect-options{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:.5rem}
.admin-multiselect-menu .admin-dropdown-option-row{min-height:3.5rem;gap:.75rem;border-radius:.75rem;padding:.5rem .75rem;font-weight:600;color:#292524}
.admin-multiselect-menu .admin-dropdown-option-label{min-width:0;overflow-wrap:anywhere}
.admin-multiselect-menu .admin-dropdown-option-row:hover,.admin-multiselect-menu .admin-dropdown-option-row:focus-within{background:#fff7ed}
.admin-multiselect-menu .admin-dropdown-option-row-selected{background:#fff0e7;color:#9a3412}
.admin-multiselect-menu .admin-checkbox-control{flex-shrink:0;accent-color:#ef2147}
.admin-multiselect-menu .admin-crop-multiselect-icon{box-sizing:content-box;flex:0 0 1.5rem;padding:.375rem;border:1px solid #d9eadf;border-radius:.625rem;background:#f0f9f3;color:#245f3b}
.admin-multiselect-menu .admin-crop-multiselect-icon svg{width:24px!important;height:24px!important}
.dark .admin-multiselect-trigger{border-color:#44403c;background:#1c1917;color:#f5f5f4}
.dark .admin-multiselect-placeholder{color:#d6d3d1}
.dark .admin-multiselect .admin-selection-chip{border-color:#7c3f27;background:#42291f;color:#fed7aa}
.dark .admin-multiselect-menu-panel.admin-dropdown-menu-fixed{border-color:#44403c;background:#1c1917}
.dark .admin-multiselect-menu .admin-dropdown-search-wrap{border-color:#44403c}
.dark .admin-multiselect-menu .admin-dropdown-option-row{color:#e7e5e4}
.dark .admin-multiselect-menu .admin-dropdown-option-row:hover,.dark .admin-multiselect-menu .admin-dropdown-option-row:focus-within{background:#33251f}
.dark .admin-multiselect-menu .admin-dropdown-option-row-selected{background:#42291f;color:#fed7aa}
.dark .admin-multiselect-menu .admin-crop-multiselect-icon{border-color:#365643;background:#203d2b;color:#a7f3d0}
.admin-stock-warehouse-select{min-width:9.5rem;max-width:14rem}
.admin-stock-warehouse-select-control{border:1px solid #d1d5db;border-radius:.5rem;background:#fff;padding:.375rem 2rem .375rem .5rem;font-size:.875rem;line-height:1.25rem;color:#1f2937;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05));transition:border-color .15s ease,box-shadow .15s ease,color .15s ease}
.admin-stock-warehouse-select-control:focus{border-color:#465fff;outline:none;box-shadow:0 0 0 3px rgba(70,95,255,.15)}
.admin-stock-warehouse-select-control:disabled{cursor:not-allowed;opacity:.6}
.admin-table-scroll{max-width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.admin-table-frame{border:1px solid #e5e7eb;border-radius:.5rem}
.admin-table-frame-spaced{margin-top:.75rem}
.admin-table-frame-mb{margin-bottom:.75rem}
.admin-table-empty-cell{padding:3rem 1.5rem;text-align:center;font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-table-empty-row-cell{padding:3rem 1.5rem;text-align:center}
.admin-table-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:1rem 0}
.admin-table-empty-title{font-size:.875rem;line-height:1.25rem;font-weight:600;color:#111827}
.admin-table-empty-description{max-width:28rem;font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-workspace-page .admin-table-empty-state{border:0;border-radius:0;background:transparent}
table.dataTable tbody td.admin-table-empty-cell{padding:3rem 1.5rem;text-align:center;white-space:normal}
.admin-table-footer-pad[hidden]{display:none}
.dark .admin-table-empty-title{color:#f2f4f7}
.dark .admin-table-empty-description{color:#d0d5dd}
.admin-table-text-muted{font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-table-text-muted-xs{font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-table-text-muted-block{display:block}
.admin-table-text-muted-break{word-break:break-all}
.admin-table-text-muted-nowrap{white-space:nowrap}
.admin-table-text-strong{font-size:.875rem;line-height:1.25rem;font-weight:500;color:#111827}
.dark .admin-table-text-strong{color:#f5f5f4}
.dark :is(.admin-table-text-muted-xs,.admin-table-unit-suffix){color:#a8a29e}
.admin-table-link,.admin-dashboard-cooling-link{display:inline-flex;min-width:2.75rem;min-height:2.75rem;align-items:center;justify-content:center}
.admin-table-value-strong-right{text-align:right;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#111827}
.admin-table-value-muted{font-size:.875rem;line-height:1.25rem;font-weight:500;color:#374151}
.admin-table-value-positive{font-size:.875rem;line-height:1.25rem;font-weight:600;color:#16a34a}
.admin-table-value-negative{font-size:.875rem;line-height:1.25rem;font-weight:600;color:#dc2626}
.admin-table-value-note{font-size:.75rem;line-height:1rem}
.admin-table-progress-label{font-size:.75rem;line-height:1rem;font-weight:500;color:#4b5563;white-space:nowrap}
.admin-table-code-strong{font-size:.75rem;line-height:1rem;font-weight:600;color:#374151}
.admin-table-unit-suffix{color:#6b7280}
.admin-inline-separator{color:#9ca3af}
.admin-action-group{display:inline-flex;align-items:center;gap:.5rem}
.admin-action-group>form{display:inline-flex;margin:0;align-items:center}
.admin-action-group-separator{display:block;width:1px;height:1rem;background:#d6d3d1;flex-shrink:0}
.admin-step-separator{color:#d1d5db}
.admin-table-filter-token{display:none!important}
.admin-work-machine-filter-controls{display:grid;width:min(31rem,100%);min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:.625rem}
.admin-work-machine-type-filter{min-width:0}
.admin-work-machine-type-dropdown{width:100%;max-width:none}
.admin-work-machine-type-dropdown .admin-base-dropdown-trigger{border-color:#d7e3db;background:linear-gradient(135deg,#fff 0%,#f8fcf9 100%);box-shadow:0 1px 2px rgba(16,24,40,.04)}
.admin-work-machine-type-dropdown .admin-base-dropdown-trigger:hover{border-color:#9fc2aa;background:#f6fbf7}
.admin-work-machine-filter-dropdown{position:relative;min-width:0}
.admin-work-machine-filter-trigger{display:flex;align-items:center;justify-content:flex-start;gap:.6rem;border-color:#e5dbcf;background:linear-gradient(135deg,#fff 0%,#fffaf5 100%);text-align:left;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.admin-work-machine-filter-trigger:hover{border-color:#d8b896;background:#fff8ef}
.admin-work-machine-filter-trigger-active,.admin-work-machine-filter-trigger-active:focus{border-color:#e6872f;box-shadow:0 0 0 3px rgba(230,135,47,.13)}
.admin-work-machine-filter-trigger-icon{display:grid;width:1.8rem;height:1.8rem;flex:0 0 1.8rem;place-items:center;border-radius:.55rem;background:#fff1df;color:#b54708;line-height:0}
.admin-work-machine-filter-trigger-label{display:flex;min-width:0;flex:1 1 auto;align-items:center;overflow:hidden;color:#1f2937;font-weight:700;line-height:1.35rem;text-overflow:ellipsis;white-space:nowrap}
.admin-work-machine-filter-count{display:inline-flex;min-width:1.5rem;height:1.5rem;flex:0 0 auto;align-items:center;justify-content:center;border-radius:999px;background:#fff1df;padding:0 .4rem;color:#b54708;font-size:.72rem;font-weight:800}
.admin-work-machine-filter-count[hidden]{display:none}
.admin-work-machine-filter-trigger .admin-dropdown-caret{width:1.25rem;height:1.25rem;flex:0 0 1.25rem;margin-left:0}
.admin-work-machine-filter-menu{position:absolute;left:0;top:calc(100% + .5rem);z-index:80;width:min(24rem,calc(100vw - 2rem));max-height:min(32rem,70vh);overflow-y:auto;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;padding:.45rem;box-shadow:0 16px 32px rgba(16,24,40,.16)}
.admin-work-machine-filter-menu[hidden]{display:none}
.admin-work-machine-filter-section{padding:.35rem}
.admin-work-machine-filter-section+.admin-work-machine-filter-section{border-top:1px solid #f0ece6;padding-top:.65rem}
.admin-work-machine-filter-section-label{margin:0 0 .3rem;padding:0 .45rem;color:#8a8177;font-size:.68rem;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
.admin-work-machine-filter-option{display:grid;width:100%;min-height:3.5rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.7rem;border:1px solid transparent;border-radius:.75rem;background:transparent;padding:.45rem;text-align:left;transition:background-color .15s ease,border-color .15s ease}
.admin-work-machine-filter-option:hover{background:#faf8f5}
.admin-work-machine-filter-option:focus-visible{border-color:#f0a35a;outline:0;box-shadow:0 0 0 3px rgba(230,135,47,.12)}
.admin-work-machine-filter-option-selected{border-color:#f3d0ac;background:#fff8ef}
.admin-work-machine-filter-option-icon{display:grid;width:2.3rem;height:2.3rem;place-items:center;border-radius:.65rem;background:#f2f4f7;color:#475467}
.admin-work-machine-filter-option-icon-danger{background:#fee4e2;color:#b42318}
.admin-work-machine-filter-option-icon-warning{background:#fef0c7;color:#b54708}
.admin-work-machine-filter-option-icon-success{background:#dcfae6;color:#067647}
.admin-work-machine-filter-option-copy{display:flex;min-width:0;flex-direction:column;gap:.1rem}
.admin-work-machine-filter-option-copy strong{overflow:hidden;color:#1f2937;font-size:.84rem;line-height:1.1rem;text-overflow:ellipsis;white-space:nowrap}
.admin-work-machine-filter-option-copy small{overflow:hidden;color:#667085;font-size:.7rem;line-height:.95rem;text-overflow:ellipsis;white-space:nowrap}
.admin-work-machine-filter-option-check{display:grid;width:1.5rem;height:1.5rem;place-items:center;border-radius:999px;background:#fff1df;color:#b54708}
.admin-work-machine-filter-option-check[hidden]{display:none}
.admin-work-machine-filter-footer{position:sticky;bottom:-.45rem;border-top:1px solid #f0ece6;background:#fff;padding:.55rem .45rem .45rem}
.admin-work-machine-filter-reset{display:flex;width:100%;min-height:2.75rem;align-items:center;justify-content:center;border:1px solid #e5dbcf;border-radius:.65rem;background:#fffaf5;color:#8a3d06;font-size:.78rem;font-weight:750}
.admin-work-machine-filter-reset:hover:not(:disabled){border-color:#e9b77f;background:#fff3e3}
.admin-work-machine-filter-reset:disabled{cursor:not-allowed;opacity:.45}
.dark .admin-work-machine-type-dropdown .admin-base-dropdown-trigger{border-color:#3f5147;background:linear-gradient(135deg,#1f2937 0%,#17231c 100%)}
.dark .admin-work-machine-filter-trigger{border-color:#51463b;background:linear-gradient(135deg,#1f2937 0%,#2a211d 100%)}
.dark .admin-work-machine-filter-trigger-label,.dark .admin-work-machine-filter-option-copy strong{color:#f9fafb}
.dark .admin-work-machine-filter-menu,.dark .admin-work-machine-filter-footer{border-color:#344054;background:#1d2939}
.dark .admin-work-machine-filter-section+.admin-work-machine-filter-section{border-color:#344054}
.dark .admin-work-machine-filter-section-label,.dark .admin-work-machine-filter-option-copy small{color:#98a2b3}
.dark .admin-work-machine-filter-option:hover{background:#283548}
.dark .admin-work-machine-filter-option-selected{border-color:#7a4c24;background:#392817}
.dark .admin-work-machine-filter-reset{border-color:#51463b;background:#2a211d;color:#fdbb74}
@media (max-width:639.98px){.admin-work-machine-filter-controls{width:100%;grid-template-columns:minmax(0,1fr);align-items:stretch}.admin-work-machine-filter-menu{width:100%}}
.admin-users-name-cell{display:flex;align-items:center;gap:.75rem;min-width:0}
.admin-users-compact-email{display:block;margin-top:.15rem;color:#667085;font-size:.75rem;font-weight:400;line-height:1rem;overflow-wrap:anywhere;white-space:normal}
.admin-user-meta-label{display:flex;min-width:0;align-items:center;gap:.45rem;color:#344054;font-size:.8125rem;font-weight:650;line-height:1.25rem}
.admin-user-meta-label>span:first-child{display:inline-flex;flex:0 0 auto;color:#667085}
.admin-user-meta-label>span:last-child{overflow-wrap:anywhere}
.admin-user-alert-tags{display:flex;min-width:0;flex-wrap:wrap;align-items:center;gap:.35rem}
.dark .admin-user-meta-label{color:#f2f4f7}
.dark .admin-user-meta-label>span:first-child{color:#98a2b3}
.dark .admin-users-compact-email{color:#98a2b3}
@media (min-width:768px){#users-panel-users .admin-table-action-head,#users-panel-users .admin-table-action-cell{min-width:10rem}}
@media (min-width:768px) and (max-width:1599.98px){#users-panel-users .agrico-table-wide-only{display:none!important}}
#manage-salaries-modal .admin-modal-frame{padding:.5vh .5vw;padding:.5dvh .5vw}
.admin-salary-modal-width{width:99vw;max-width:99vw;flex-shrink:0}
.admin-salary-modal-height{height:99vh;max-height:99vh;height:99dvh;max-height:99dvh}
.admin-salary-modal-width .admin-modal-body{display:flex;flex-direction:column;min-height:0;overflow:clip!important}
/* User forms retain a light card surface when the surrounding theme is dark. */
.dark .admin-user-form :is(.admin-form-section-label,.admin-form-section-title){color:#6b6560}
.dark .admin-user-form :is(.admin-form-section-label,.admin-form-section-title)::after{background:#e7e5e4}
.dark .admin-user-form :is(.admin-dropdown-selected-label-value,.admin-table-text-strong){color:#111827}
.dark .admin-user-form .admin-dropdown-selected-label-placeholder{color:#6b7280}
.admin-salary-modal-width .admin-modal-content-scroll{display:flex;flex-direction:column;overflow:clip!important;padding-inline-end:0;scrollbar-gutter:auto}
.admin-salary-modal-width .admin-modal-content-scroll>.admin-table-scroll{flex:1 1 auto;min-height:0;overflow:auto!important;border:1px solid #eaecf0;border-radius:.75rem;overscroll-behavior:contain}
.admin-salary-table{width:100%;min-width:84rem;table-layout:fixed}
.admin-salary-table th,.admin-salary-table td{padding:.75rem .625rem;vertical-align:middle}
.admin-salary-table tbody td{vertical-align:top}
.admin-salary-table thead th{position:sticky;top:0;z-index:2;background:#f9fafb;white-space:normal}
.admin-salary-table th:first-child{width:15rem;z-index:3}
.admin-salary-table th:not(:first-child){width:11.5rem}
.admin-salary-table :is(th,td):first-child{position:sticky;left:0;background:#fff;box-shadow:1px 0 0 #eaecf0}
.admin-salary-table th:first-child{background:#f9fafb}
.admin-salary-table td:first-child{z-index:1}
.admin-salary-table tr:focus-within td{background:#fffaf8}
.admin-salary-identity{display:flex;align-items:center;gap:.75rem;min-width:0}
.admin-salary-avatar{width:2.75rem;height:2.75rem}
.admin-salary-name{overflow-wrap:anywhere;margin:0;line-height:1.4}
.admin-salary-table .admin-salary-avatar{width:2.25rem;height:2.25rem;flex-shrink:0;--color-primary:#9c2a10}
.admin-salary-column-label{display:flex;align-items:flex-start;gap:.5rem;min-width:0}
.admin-salary-column-label>i{flex:0 0 auto;margin-top:.1rem;color:#667085}
.admin-salary-column-label>span{min-width:0;overflow-wrap:anywhere}
.admin-salary-table thead .admin-salary-column-label{align-items:center}
.admin-salary-table thead .admin-salary-column-label>i{width:1.25rem;margin-top:0;text-align:center}
.admin-salary-table tfoot td{position:sticky;bottom:0;z-index:2;border-top:2px solid #a6c8af;background:#edf6ef;color:#245f3b;text-align:right;white-space:normal;box-shadow:0 -3px 8px rgba(16,24,40,.04)}
.admin-salary-table tfoot td:first-child{z-index:3;background:#edf6ef;text-align:left;font-weight:700}
.admin-salary-total{display:flex;flex-direction:column;gap:.25rem;font-variant-numeric:tabular-nums}
.admin-salary-total output{font-size:.875rem;font-weight:750;overflow-wrap:anywhere}
.admin-salary-total-count{color:#475467;font-size:.6875rem;font-weight:500}
.dark .admin-salary-column-label>i{color:#d0d5dd}
.dark .admin-salary-table tfoot td,.dark .admin-salary-table tfoot td:first-child{background:#18372b;border-top-color:#397558;color:#dcfce7}
.dark .admin-salary-total-count{color:#c4d8cd}
.admin-salary-field>label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.admin-salary-table input[type=number]{border-radius:.75rem;font-variant-numeric:tabular-nums;text-align:right;background:#f9fafb}
.admin-salary-table input[type=number]:focus{background:#fff}
.admin-salary-field .admin-input-end-action{pointer-events:none}
.admin-work-pay-stack{display:flex;flex-direction:column;gap:2rem;margin-top:.25rem}
.admin-work-pay-stack>.admin-field-help{margin-top:-.5rem}
.admin-work-pay-amounts{display:flex;flex-direction:column;gap:1.75rem}
.admin-work-pay-grid{gap:1.25rem 1rem}
.admin-work-pay-payable{width:100%;padding:1.125rem 1.375rem;border:1px solid color-mix(in srgb,var(--color-primary,#4661ff) 32%,#eaecf0);border-radius:.75rem;background:color-mix(in srgb,var(--color-primary,#4661ff) 6%,#fff);box-shadow:0 1px 2px rgba(16,24,40,.05)}
.admin-work-pay-payable-field .admin-field-label-icon{font-weight:700;color:var(--color-primary-text,#d51d40)}
.admin-work-pay-payable-field .admin-field-label-icon .min-w-0{color:var(--color-primary-text,#d51d40)}
.admin-work-pay-payable-field .admin-mini-icon-tile{color:var(--color-primary-text,#d51d40);background:color-mix(in srgb,var(--color-primary,#4661ff) 12%,#fff)}
.admin-work-pay-payable-field input[type=number]{border-color:color-mix(in srgb,var(--color-primary,#4661ff) 35%,#d0d5dd);background:#fff;font-weight:600;font-variant-numeric:tabular-nums}
.dark .admin-work-pay-payable{border-color:color-mix(in srgb,var(--color-primary,#4661ff) 40%,#344054);background:color-mix(in srgb,var(--color-primary,#4661ff) 12%,#1d2939);box-shadow:none}
.dark .admin-work-pay-payable-field .admin-field-label-icon,.dark .admin-work-pay-payable-field .admin-field-label-icon .min-w-0{color:#84adff}
.dark .admin-work-pay-payable-field .admin-mini-icon-tile{color:#84adff;background:color-mix(in srgb,var(--color-primary,#4661ff) 18%,#1d2939)}
.dark .admin-work-pay-payable-field input[type=number]{border-color:color-mix(in srgb,var(--color-primary,#4661ff) 45%,#475467);background:#101828;color:#f9fafb}
.admin-salary-import-indicator{display:inline-flex;width:2rem;height:2rem;align-items:center;justify-content:center;border-radius:.5rem;background:#eff8ff;color:#175cd3}
.admin-salary-feedback{display:flex;max-width:100%;min-height:1rem;margin:.25rem 0 0;align-items:flex-start;justify-content:flex-end;gap:.25rem;color:#667085;font-size:.6875rem;line-height:1rem;text-align:right;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.admin-salary-feedback[hidden]{display:flex;visibility:hidden}
.admin-salary-feedback-icon{display:none;flex:0 0 auto;margin-top:.05rem}
.admin-salary-feedback.is-warning{color:#b54708;font-weight:600}
.admin-salary-feedback.is-warning .admin-salary-feedback-icon{display:inline-flex}
.admin-salary-table input[aria-invalid=true]{border-color:#f79009;box-shadow:0 0 0 1px rgba(247,144,9,.16)}
.admin-salary-table :is(input,button){scroll-margin-block:6rem;scroll-margin-inline:17rem 1rem}
.dark .admin-salary-modal-width,.dark .admin-salary-modal-width .admin-modal-body{background:#1d2939;color:#f2f4f7}
.dark .admin-salary-modal-width .admin-section-title{color:#f2f4f7}
.dark .admin-salary-table tbody td{background:#1d2939;border-color:#344054}
.dark .admin-salary-table .admin-base-dropdown-trigger{background:#182230!important;border-color:#667085;color:#f2f4f7}
.dark .admin-salary-table .admin-dropdown-selected-label-placeholder{color:#d0d5dd}
.dark .admin-salary-table .admin-salary-avatar{--color-primary:#fdba74}
.dark .admin-salary-modal-width .admin-table-scroll{border-color:#344054}
.dark .admin-salary-table :is(th,td):first-child{background:#1d2939;box-shadow:1px 0 0 #344054}
.dark .admin-salary-table th,.dark .admin-salary-table th:first-child{background:#182230;color:#f2f4f7}
.dark .admin-salary-table tr:focus-within td{background:#344054}
.dark .admin-salary-table .admin-salary-name{color:#f2f4f7}
.dark .admin-salary-table input[type=number]{border-radius:.75rem;background:#182230;border-color:#667085;color:#f2f4f7}
.dark .admin-salary-import-indicator{background:#194185;color:#d1e9ff}
.dark .admin-salary-feedback{color:#98a2b3}
.dark .admin-salary-feedback.is-warning{color:#fec84b}
.dark .admin-salary-table input[aria-invalid=true]{border-color:#fdb022;box-shadow:0 0 0 1px rgba(253,176,34,.24)}
@media(max-width:639px){.admin-salary-modal-width .admin-modal-footer{flex-direction:row-reverse;padding:.75rem}.admin-salary-modal-width .admin-modal-footer>button{flex:1;min-width:0}.admin-salary-table :is(input,button){scroll-margin-inline:9.5rem 1rem}}
/* A pinned identity must never cover most of an editable field on narrow phones. */
@media(max-width:479px){.admin-salary-table :is(th,td):first-child{left:auto;box-shadow:none}.admin-salary-table tbody td:first-child{position:static}.admin-salary-table :is(input,button){scroll-margin-inline:1rem}}
@media(max-height:700px){.admin-salary-modal-width .admin-modal-body{padding:.5rem .75rem}.admin-salary-modal-width .admin-section-title-spaced{margin-bottom:.5rem;min-height:2.75rem;display:flex;align-items:center}.admin-salary-modal-width .admin-modal-close-button{top:.5rem;right:.75rem}.admin-salary-modal-width .admin-modal-footer{padding:.5rem .75rem;flex-direction:row-reverse}.admin-salary-table :is(input,button){scroll-margin-block:4rem}}
@media(max-width:639px){.admin-salary-table .admin-salary-identity{gap:.375rem}.admin-salary-table .admin-salary-avatar{width:1.5rem;height:1.5rem;font-size:.625rem}.admin-salary-table :is(th,td):first-child{padding-left:.375rem;padding-right:.375rem}.admin-salary-table th:first-child{width:8.5rem}.admin-salary-table th:not(:first-child){width:11.5rem}.admin-salary-table{min-width:77.5rem}.admin-salary-modal-width .admin-modal-body{padding:1rem .75rem}}

/* Presence disclosure: intrinsic-height motion keeps every tag reachable. */
.admin-statistics-grid:has(>.admin-users-presence-stat){align-items:start}
.admin-users-presence-stat:has(.admin-presence-reveal){display:block;min-width:0;transition:border-color .25s ease,box-shadow .25s ease}
.admin-users-presence-stat.is-expanded{border-color:#a6e3c2;box-shadow:0 8px 24px rgba(16,24,40,.08)}
.admin-users-presence-stat>.admin-widget-item-link{padding:.75rem}
.admin-users-presence-stat>.admin-widget-item-link::after{content:"";width:.45rem;height:.45rem;flex:0 0 .45rem;margin:0 .25rem;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .25s ease;color:#667085}
.admin-users-presence-stat.is-expanded>.admin-widget-item-link::after{transform:rotate(225deg)}
.admin-users-presence-stat>.admin-widget-item-link:hover{background:#f6fcf8}
.admin-users-presence-stat>.admin-widget-item-link:focus-visible{outline:2px solid #039855;outline-offset:-3px;border-radius:.75rem}
.admin-presence-reveal{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .32s cubic-bezier(.22,1,.36,1),visibility .32s}
.admin-users-presence-stat.is-expanded .admin-presence-reveal{grid-template-rows:1fr;visibility:visible}
.admin-presence-reveal-inner{min-height:0;overflow:hidden}
.admin-presence-tags{display:flex;flex-wrap:wrap;gap:.5rem;max-height:20rem;overflow-y:auto;overscroll-behavior:contain;list-style:none;margin:0 .75rem;padding:.75rem 0;border-top:1px solid #e4eee7;opacity:0;transform:translateY(-6px);transition:opacity .22s ease,transform .32s cubic-bezier(.22,1,.36,1)}
.admin-users-presence-stat.is-expanded .admin-presence-tags{opacity:1;transform:translateY(0)}
.admin-presence-tags>li{min-width:0;max-width:100%}
.admin-presence-tag{display:flex;align-items:center;gap:.4rem;min-height:2.75rem;max-width:100%;padding:.25rem .65rem .25rem .3rem;border:1px solid #d1eadc;border-radius:999px;background:#f3faf6;color:#24533a;text-decoration:none;font-size:.75rem;font-weight:600;line-height:1.3;transition:background .15s ease}
.admin-presence-tag:hover{background:#e3f4e9}
.admin-presence-tag:focus-visible{outline:2px solid #039855;outline-offset:2px}
.admin-presence-tag-avatar{width:1.75rem;height:1.75rem;flex:0 0 1.75rem;border-radius:999px}
.admin-presence-tag .admin-presence-tag-avatar{--color-primary:#24533a;background:#e2f1e7}
.admin-presence-tag-name{min-width:0;overflow-wrap:anywhere}
.dark .admin-users-presence-stat{background:#101828;border-color:#344054}
.dark .admin-users-presence-stat .admin-widget-item-value-compact{color:#f2f4f7}
.dark .admin-users-presence-stat .admin-widget-item-label{color:#98a2b3}
.dark .admin-users-presence-stat.is-expanded{border-color:#317853}
.dark .admin-users-presence-stat>.admin-widget-item-link:hover{background:#182e25}
.dark .admin-presence-tags{border-color:#344d40}
.dark .admin-presence-tag{background:#182e25;border-color:#315941;color:#b9ebcb}
.dark .admin-presence-tag:hover{background:#244435}
.dark .admin-presence-tag .admin-presence-tag-avatar{--color-primary:#b9ebcb;background:#244435}
@media(prefers-reduced-motion:reduce){.admin-users-presence-stat,.admin-users-presence-stat>.admin-widget-item-link::after,.admin-presence-reveal,.admin-presence-tags,.admin-presence-tag{transition:none}.admin-presence-tags{transform:none}}
.admin-users-presence-stat .admin-widget-item-value-compact{font-size:.875rem;line-height:1.3;white-space:normal}
.admin-office-presence-card{min-width:0;overflow:visible}
.admin-office-presence{display:grid;min-width:0;grid-template-columns:minmax(12rem,1fr) auto auto;align-items:center;gap:1rem;padding:1rem 1.125rem}
.admin-office-presence-heading{display:flex;min-width:0;align-items:center;gap:.75rem}
.admin-office-presence-heading-icon{display:grid;width:2.625rem;height:2.625rem;flex:0 0 2.625rem;place-items:center;border-radius:.75rem;background:#ecfdf3;color:#039855}
.admin-office-presence-title{margin:0;color:#101828;font-size:.9rem;font-weight:800;line-height:1.2}
.admin-office-presence-summary{display:flex;align-items:center;gap:.35rem;margin:.2rem 0 0;color:#667085;font-size:.72rem;font-weight:600;line-height:1.25}
.admin-office-presence-live-dot{width:.45rem;height:.45rem;flex:0 0 .45rem;border-radius:999px;background:#12b76a;box-shadow:0 0 0 3px rgba(18,183,106,.12)}
.admin-office-presence-list{display:flex;min-width:0;align-items:center;gap:.25rem;overflow:visible}
.admin-office-presence-item{width:2.75rem;flex:0 0 2.75rem}
.admin-office-presence-person{position:relative;display:grid;width:2.75rem;height:2.75rem;place-items:center;border-radius:999px;color:#344054;text-decoration:none}
.admin-office-presence-person:focus-visible{outline:3px solid rgba(70,95,255,.28);outline-offset:2px}
.admin-office-presence-avatar{display:grid;width:2.25rem;height:2.25rem;place-items:center;overflow:hidden;border:2px solid #12b76a;border-radius:999px;background:#ecfdf3;box-shadow:0 0 0 2px rgba(18,183,106,.14),0 1px 2px rgba(16,24,40,.08);transition:box-shadow .15s ease,transform .15s ease}
.admin-office-presence-person:hover .admin-office-presence-avatar{transform:translateY(-1px)}
.admin-office-presence-avatar-media{width:100%;height:100%}
.admin-office-presence-initials{font-size:.7rem;line-height:1rem}
.admin-office-presence-more{display:grid;width:2.25rem;height:2.25rem;flex:0 0 2.25rem;place-items:center;border-radius:999px;background:#f2f4f7;color:#667085;font-size:.7rem;font-weight:700;line-height:1}
.admin-office-presence-name{display:none;position:absolute;z-index:20;bottom:calc(100% + .4rem);left:50%;width:max-content;max-width:12rem;overflow:hidden;transform:translateX(-50%);border-radius:.4rem;background:#101828;padding:.3rem .45rem;color:#fff;font-size:.68rem;font-weight:700;line-height:.85rem;pointer-events:none;text-align:center;text-overflow:ellipsis;white-space:nowrap;box-shadow:0 4px 10px rgba(16,24,40,.18)}
.admin-office-presence-person:hover .admin-office-presence-name,.admin-office-presence-person:focus-visible .admin-office-presence-name{display:block}
.admin-office-presence-directory-action{grid-column:3;flex:0 0 auto;white-space:nowrap}
.admin-users-directory-panel{scroll-margin-top:5.5rem}
.dark .admin-office-presence-heading-icon{background:#153d2e;color:#75e0a7}
.dark .admin-office-presence-title{color:#f9fafb}
.dark .admin-office-presence-summary{color:#98a2b3}
.dark .admin-office-presence-name{background:#f9fafb;color:#101828}
.dark .admin-office-presence-avatar{border-color:#32d583;background:#153d2e;box-shadow:0 0 0 2px rgba(50,213,131,.16)}
.dark .admin-office-presence-more{background:#344054;color:#d0d5dd}
@media (max-width:639px){
  .admin-inline-text-link,.admin-inline-edit-link,.admin-underlined-brand-link,.admin-filter-badge{min-height:2.75rem;align-items:center}
  .admin-inline-text-link,.admin-underlined-brand-link{display:inline-flex}
  .admin-service-reference-table{width:100%;min-width:0;table-layout:fixed}
  .admin-service-reference-table th,.admin-service-reference-table td{padding-left:.5rem;padding-right:.5rem;white-space:normal}
  .admin-service-reference-table th:first-child,.admin-service-reference-table td:first-child{width:48%}
  .admin-service-reference-table th:nth-child(2),.admin-service-reference-table td:nth-child(2),.admin-service-reference-table th:nth-child(3),.admin-service-reference-table td:nth-child(3){width:26%}
  .admin-card-section-header .admin-section-header-split{flex-direction:column;align-items:stretch}
  .admin-card-section-header .admin-section-header-actions{display:flex;width:100%}
  .admin-card-section-header .admin-section-header-actions>.admin-action-button,
  .admin-card-section-header .admin-section-header-actions>.admin-outline-action-button{width:100%;justify-content:center}
  .admin-table-scroll-empty{overflow-x:hidden}
  .admin-table-scroll-empty thead{display:none}
  .admin-table-scroll-empty .admin-manual-table-empty{width:100%;min-width:100%;table-layout:fixed}
  .admin-table-scroll-empty .admin-table-empty-cell{width:100%;padding:2rem 1rem}
  .admin-seed-item-row,.admin-seed-item-row:has([data-admin-seed-remove-item-button]:not(.hidden)){grid-template-columns:minmax(0,1fr);align-items:stretch}
  .admin-seed-item-row .admin-seed-item-field{width:100%}
  .admin-seed-payment-row{flex-direction:column;align-items:stretch}
  .admin-seed-payment-row .admin-seed-payment-field{width:100%;flex:none}
  .admin-seed-payment-row [data-admin-seed-remove-payment-button]{align-self:flex-end;margin-top:0}
  .admin-office-presence{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:.625rem;padding:.875rem}
  .admin-office-presence-list{width:100%}
  .admin-office-presence-directory-action{grid-column:1;width:100%;justify-content:center}
  .admin-filter-row{width:100%;min-width:0;flex-direction:column;align-items:stretch;overflow-x:visible}
  .admin-filter-row>:not([type="hidden"]){width:100%;min-width:0;max-width:none;flex:0 0 auto}
  .admin-filter-row .admin-filter-actions{flex-direction:column}
  .admin-filter-row .admin-filter-actions>*{width:100%;justify-content:center}
  .admin-modal-actions-footer{display:grid!important;grid-template-columns:1fr;gap:.75rem;position:sticky;padding:.75rem 1rem}
  .admin-modal-actions-footer>*{width:100%;justify-content:center}
  .work-machine-view-tabs .admin-modal-actions-footer{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:.5rem}
  .work-machine-view-tabs .admin-modal-actions-footer>:first-child{grid-column:1/-1}
}
.admin-kpi-label{margin-top:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#6b7280}
.admin-kpi-sparkline-empty{font-size:.75rem;line-height:1rem;color:#9ca3af}
.admin-kpi-delta{margin-top:.25rem;font-size:.75rem;line-height:1rem;font-weight:500}
.admin-summary-kicker{font-size:.75rem;line-height:1rem;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:#6b7280}
.admin-table-flag-badge{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.25rem;border:1px solid #e5e7eb;border-radius:.25rem;background:#fff}
.admin-table-placeholder{font-size:.875rem;line-height:1.25rem;color:#9ca3af}
.admin-table-placeholder-right{text-align:right}
.admin-empty-action-link{display:inline-flex;align-items:center;gap:.5rem;border-radius:.5rem;background:#16a34a;padding:.625rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#fff}
.admin-empty-action-link:hover{background:#15803d}
.admin-scroll-strip{overflow-x:auto;-webkit-overflow-scrolling:touch}
.admin-period-status-stats-wrap{min-width:0}
.admin-period-status-stats-grid{display:grid;min-width:0;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:.75rem}
.admin-chart-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.admin-overflow-visible{overflow:visible}
.admin-detail-row-between{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:.75rem 0}
.admin-detail-row-between:first-child{padding-top:0}
.admin-detail-row-between:last-child{padding-bottom:0}
.admin-detail-row-center{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 0}
.admin-detail-label{flex-shrink:0;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#6b7280}
.admin-detail-value{text-align:right;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#111827;overflow-wrap:anywhere}
.admin-detail-label-value-row{display:flex;flex-direction:column;gap:.25rem}
.admin-detail-row-label{font-size:.75rem;line-height:1rem;font-weight:500;color:#6b7280;white-space:nowrap}
.admin-detail-row-value{font-size:.875rem;line-height:1.25rem;color:#111827;overflow-wrap:anywhere}
@media (min-width:640px){.admin-detail-label-value-row{flex-direction:row;align-items:center;gap:.5rem}.admin-detail-row-label{font-size:.875rem;line-height:1.25rem}.admin-detail-row-value{font-size:1rem;line-height:1.5rem}}
.admin-record-detail-value{font-size:.875rem;line-height:1.25rem;font-weight:500;color:#111827}
.admin-record-detail-value-strong{font-weight:600}
.admin-record-detail-prewrap{white-space:pre-wrap}
.admin-record-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:1rem 1.5rem;min-width:0}
.admin-record-detail-grid>div{min-width:0;display:flex;flex-direction:column;overflow-wrap:anywhere}
.admin-record-detail-grid .admin-record-detail-value{margin-top:auto;font-variant-numeric:tabular-nums}
.admin-storage-loss-details{display:flex;flex-direction:column;gap:1rem;min-width:0;padding:1rem;border:1px solid #e9e4dc;border-radius:.75rem;background:#faf8f4}
.admin-storage-loss-details .admin-field-help{margin-top:0;color:#57534e;line-height:1.5;overflow-wrap:anywhere}
.admin-storage-loss-details .admin-record-detail-label{color:#57534e}
.dark .admin-storage-loss-details{background:#1f2937;border-color:#374151}
.dark .admin-storage-loss-details :is(.admin-field-help,.admin-record-detail-label){color:#d1d5db}
.dark .admin-storage-loss-details .admin-record-detail-value{color:#f3f4f6}
.dark :is(.admin-storage-loss-settings,.admin-stock-details-dialog,.admin-harvest-report-dialog){background:#101828;border-color:#344054;color:#f2f4f7}
.dark :is(.admin-storage-loss-settings,.admin-stock-details-dialog,.admin-harvest-report-dialog) :is(.admin-section-title,.admin-subsection-title,.admin-field-label,.admin-field-label-icon,.admin-record-detail-value,.admin-widget-item-value,.admin-widget-item-value-compact){color:#f2f4f7}
.dark :is(.admin-storage-loss-settings,.admin-stock-details-dialog,.admin-harvest-report-dialog) :is(.admin-field-help,.admin-section-description,.admin-subsection-description,.admin-record-detail-label,.admin-table-text-muted,.admin-widget-item-label,summary){color:#d0d5dd}
.dark .admin-workspace-page .admin-storage-loss-settings .admin-form .admin-base-dropdown-trigger{background:#1d2939;border-color:#475467;color:#f2f4f7}
.dark .admin-storage-loss-settings .admin-card-section-header{border-color:#344054}
.dark .admin-harvest-report-dialog .admin-widget-item{background:#1d2939;border-color:#344054}
.dark :is(.admin-stock-details-dialog,.admin-harvest-report-dialog) .admin-modal-body{background:#101828}
.dark .admin-harvest-report-dialog .admin-harvest-report-table thead th{background:#1d2939;color:#f2f4f7}
.dark .admin-harvest-report-dialog .harvest-type-image-icon{filter:brightness(0) invert(1)}
.dark .admin-stock-details-dialog :is(.admin-manual-table-cell,.admin-table-text-strong){color:#f2f4f7}
.dark .admin-stock-details-dialog .admin-manual-table-head-cell{background:#1d2939;color:#d0d5dd}
.dark .admin-stock-details-dialog :is(.admin-table-text-muted-xs,.admin-stock-details-sale-meta){color:#d0d5dd}
.dark .admin-stock-details-dialog .admin-stock-details-row-out{background:#3b2028}
.admin-stock-details-dialog .admin-tab-button-inactive{color:#4b5563}
.dark .admin-stock-details-dialog .admin-tab-button-inactive{color:#d0d5dd}
.dark .admin-stock-details-dialog .admin-tab-button-active{color:#fda98b}
.dark .admin-stock-details-dialog .admin-tab-list-nested .admin-tab-button-inactive:hover{background:#344054;color:#f2f4f7}
.dark .admin-stock-details-dialog :is(.admin-text-strong,.admin-manual-table-cell-strong){color:#f2f4f7}
.dark .admin-stock-details-dialog .admin-text-danger-strong{color:#fda29b}
.admin-record-detail-label{display:block;margin-bottom:.25rem;font-size:.75rem;line-height:1rem;font-weight:500;color:#6b7280}
.admin-record-detail-label-inline{display:flex;align-items:center;gap:.375rem;margin-bottom:.25rem;font-size:.75rem;line-height:1rem;font-weight:500;color:#6b7280}
.admin-record-detail-note{margin-top:.125rem;font-size:.75rem;line-height:1rem;color:#9ca3af}
.admin-helper-more-text{font-size:.75rem;line-height:1rem;color:#9ca3af}
.admin-stock-entry-amount{font-size:.875rem;line-height:1.25rem;font-weight:500;color:#111827}
.admin-stock-entry-meta{font-size:.75rem;line-height:1rem;color:#4b5563;white-space:nowrap}
.admin-stock-entry-empty{font-size:.75rem;line-height:1rem;color:#9ca3af;white-space:nowrap}
.admin-detail-content-prewrap{font-size:.875rem;line-height:1.25rem;color:#374151;white-space:pre-wrap}
.admin-file-info-name{font-size:.875rem;line-height:1.25rem;font-weight:500;color:#111827}
.admin-info-note{font-size:.75rem;line-height:1rem}
.admin-info-note-spaced{margin-top:.25rem}
.admin-info-note-blue{color:#1d4ed8}
.admin-info-note-green{color:#15803d}
.admin-info-note-red{color:#dc2626}
.admin-info-note-italic{font-style:italic}
.admin-compact-meta{font-size:.75rem;line-height:1rem;color:#4b5563}
.admin-compact-meta-spaced{margin-top:.125rem}
.admin-compact-meta-muted{color:#9ca3af}
.admin-status-placeholder{font-size:.75rem;line-height:1rem;color:#9ca3af}
.admin-summary-description{margin-top:.25rem;font-size:.75rem;line-height:1rem;color:#4b5563}
.admin-summary-description-spaced{margin-top:.125rem}
.admin-summary-value-strong{font-size:.875rem;line-height:1.25rem;font-weight:700}
.admin-summary-value-blue{color:#1d4ed8}
.admin-summary-value-green{color:#15803d}
.admin-summary-value-amber{color:#b45309}
.admin-detail-action-row{display:flex;width:100%;align-items:flex-start;justify-content:space-between;gap:1rem;border-radius:.5rem;padding:.75rem .25rem;text-align:left;touch-action:manipulation;transition:background-color .15s ease}
.admin-detail-action-row:hover{background:#f9fafb}
.admin-map-panel-band{border-bottom:1px solid #e5e7eb;background:rgba(249,250,251,.8);padding:1rem}
.admin-map-panel-band-footer{border-top:1px solid #e5e7eb;border-bottom:0}
.admin-map-panel-band-stacked{display:flex;flex-direction:column;gap:.75rem}
.admin-map-toolbar-band .admin-outline-control{min-height:2.75rem;gap:.375rem}
.admin-map-toolbar-band{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;border-bottom:1px solid #e5e7eb;background:#f9fafb;padding:.5rem .75rem}
.admin-map-legend-band{display:flex;flex-wrap:wrap;gap:.625rem;border-bottom:1px solid #e5e7eb;background:#fff;padding:.75rem}
.admin-map-legend-tag{display:inline-flex;align-items:center;flex-wrap:wrap;gap:.375rem .625rem;max-width:100%;min-height:44px;padding:.625rem .875rem;border:1px solid;border-radius:.75rem;color:#111827;font-size:1rem;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.admin-map-legend-tag-area{font-size:.875rem;font-weight:500;white-space:nowrap}
.admin-planting-map-name{color:#fff;font-size:.875rem;font-weight:600;line-height:1.4;white-space:nowrap;text-align:center;text-shadow:0 1px 3px #111827,0 -1px 3px #111827,1px 0 3px #111827,-1px 0 3px #111827;pointer-events:none}
.admin-manual-table{min-width:100%;border-collapse:separate;border-spacing:0}
.admin-manual-table-divided{border-top:1px solid #e5e7eb}
.admin-manual-table-head-neutral{background:#f9fafb}
.admin-manual-table-body{background:#fff}
.admin-manual-table-body-divided>tr+tr>td{border-top:1px solid #f3f4f6}
.admin-manual-table-body-divided-strong>tr+tr>td{border-top:1px solid #e5e7eb}
.admin-table-row-divider>td{border-bottom:1px solid #f3f4f6}
.admin-table-row-hover:hover{background:#f9fafb}
.admin-table-row-hover-soft:hover{background:rgba(249,250,251,.6)}
.admin-manual-table th{vertical-align:middle;white-space:nowrap}
.admin-manual-table td{vertical-align:middle}
.admin-manual-table-head-cell{padding:.75rem 1rem;text-align:left;font-size:.75rem;line-height:1rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:#4b5563}
.admin-manual-table-head-cell-right{text-align:right}
.admin-manual-table-head-cell-plain{padding:.625rem 1rem;text-align:left;font-weight:600;color:#111827}
.admin-manual-table-head-cell-compact{padding:.5rem .75rem}
.admin-manual-table-cell{padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;color:#374151}
.admin-manual-table-cell-compact{padding:.5rem 1rem}
.admin-manual-table-cell-strong{font-weight:500;color:#111827}
.admin-manual-table-cell-right{text-align:right}
.admin-manual-table-cell-num{font-variant-numeric:tabular-nums}
.admin-manual-table-cell-top{vertical-align:top}
.admin-manual-table-cell-nowrap{white-space:nowrap}
.admin-text-strong{font-weight:600;color:#111827}
.admin-text-danger-strong{font-weight:600;color:#dc2626}
.admin-stock-details-row-out{background:#fef2f2}
.admin-stock-details-sale-meta{display:flex;flex-direction:column;gap:.25rem;font-size:.75rem;line-height:1rem;color:#4b5563}
.admin-stock-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:1rem;border:1px solid #e9e4dc;border-radius:.75rem;background:#faf8f4}
.admin-stock-summary-grid .admin-record-detail-value{font-size:1.35rem;line-height:1.5;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#292524}
.admin-stock-summary-grid .admin-record-detail-note{color:#78716c}
.admin-stock-accounting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.admin-stock-record-links{display:flex;align-items:flex-start;flex-direction:column;gap:.375rem}
.dark .admin-stock-summary-grid{background:#1f2937;border-color:#374151}
.dark .admin-stock-summary-grid .admin-record-detail-value{color:#f3f4f6}
.dark .admin-stock-summary-grid .admin-record-detail-label{color:#d1d5db}
.dark .admin-stock-summary-grid .admin-record-detail-note{color:#9ca3af}
@media(max-width:639px){.admin-stock-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.875rem;padding:.875rem}.admin-stock-summary-grid>div:last-child{grid-column:1/-1}.admin-stock-accounting-grid{grid-template-columns:minmax(0,1fr)}.admin-stock-record-links{align-items:stretch}.admin-stock-record-links .admin-secondary-button{justify-content:center}}
.admin-stock-adjust-total{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem}
.admin-stock-adjust-total-label{font-size:.875rem;line-height:1.25rem;font-weight:500;color:#374151}
.admin-stock-adjust-total-value{margin-top:.25rem;font-size:1.125rem;line-height:1.75rem;font-weight:600;color:#111827}
.admin-stock-adjust-warehouse{display:flex;flex-direction:column;align-items:flex-end;gap:.2rem;text-align:right}
.admin-stock-adjust-warehouse span{font-size:.72rem;line-height:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#6b7280}
.admin-stock-adjust-warehouse strong{font-size:.875rem;line-height:1.25rem;color:#111827}
.admin-stock-adjust-company-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;padding:.75rem}
.admin-stock-adjust-company-main{flex:1 1 0%}
.admin-stock-adjust-label{margin-bottom:.25rem;display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#374151}
.admin-stock-adjust-label span{font-size:.68rem;line-height:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.035em;color:#6b7280}
.admin-stock-adjust-current{font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-stock-adjust-input-wrap{position:relative;width:9rem}
.admin-stock-adjust-input-wrap>span{pointer-events:none;position:absolute;right:.75rem;top:50%;transform:translateY(-50%);font-size:.75rem;font-weight:600;color:#6b7280}
.admin-stock-adjust-input{display:block;width:100%;min-height:2.75rem;border:1px solid #d1d5db;border-radius:.375rem;padding:.5rem 2.3rem .5rem .75rem;font-size:.875rem;line-height:1.25rem;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05))}
.admin-stock-adjust-input:focus{border-color:var(--color-brand-500,#465fff);outline:0;box-shadow:0 0 0 2px rgba(70,95,255,.14)}
@media (max-width:639px){.admin-stock-adjust-company-row{align-items:stretch;flex-direction:column}.admin-stock-adjust-input-wrap{width:100%}.admin-stock-adjust-warehouse{align-items:flex-start;text-align:left}}
.admin-heatmap-type-cell{padding:.5rem .75rem;white-space:nowrap;font-weight:500;color:#374151}
.admin-heatmap-day-head{padding:.5rem .25rem;text-align:center;font-size:.75rem;line-height:1rem;font-weight:600;color:#6b7280}
.admin-heatmap-day-cell{padding:.5rem .25rem;text-align:center}
.admin-generated-empty-text{font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-generated-empty-inline{font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-generated-empty-center{display:flex;align-items:center;justify-content:center;padding:3rem 0;text-align:center}
.admin-generated-empty-block{padding:2rem 0;text-align:center;font-size:.875rem;line-height:1.25rem;color:#6b7280}
.admin-flash-icon{display:inline-flex;width:1.25rem;height:1.25rem;flex-shrink:0;align-items:center;justify-content:center}
.admin-flash-dismiss{position:absolute;top:.75rem;right:.75rem;display:inline-flex;width:2rem;height:2rem;align-items:center;justify-content:center;border-radius:.5rem;color:#6b7280;transition:background-color .15s ease,color .15s ease}
.admin-flash-dismiss:hover{background:rgba(0,0,0,.05);color:#374151}
.admin-warehouse-occupancy-list{border-top:1px solid #e5e7eb}
.admin-warehouse-occupancy-summary{border-bottom:1px solid #e5e7eb;padding:.75rem 1rem}
.admin-warehouse-occupancy-item{border-bottom:1px solid #e5e7eb;padding:.5rem 0}
.admin-warehouse-occupancy-title{font-size:.875rem;line-height:1.25rem;font-weight:500;color:#111827}
.admin-warehouse-occupancy-meta{font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-warehouse-cooling-muted{font-size:.875rem;line-height:1.25rem;color:#9ca3af}
.admin-warehouse-temperature-value{font-weight:700}
@keyframes admin-simple-pulse{50%{opacity:.5}}
@media (prefers-reduced-motion:reduce){.admin-warehouse-control-icon-working,.admin-warehouse-climate-activity-item[data-state="running"],.admin-warehouse-climate-activity-item[data-state="running"] .admin-warehouse-climate-activity-icon,.admin-warehouse-native-schedule-state[data-state="loading"]::before,.admin-dashboard-cooling-retry[aria-busy="true"]::before{animation:none!important;filter:none}}
.admin-stock-current-cell{min-width:8.5rem}
.stock-current-value{display:inline-flex;align-items:center;border-radius:.5rem;background:rgba(70,95,255,.1);padding:.25rem .625rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#3730a3;font-variant-numeric:tabular-nums}
.stock-current-btn-edit{border-radius:.375rem;padding:.375rem;color:#6b7280;transition:background-color .15s ease,color .15s ease}
.stock-current-btn-edit:hover{background:#f3f4f6;color:var(--color-brand-600,#3641f5)}
.admin-stock-current-input{width:6.5rem;height:2.25rem;border:1px solid #d1d5db;border-radius:.5rem;background:#fff;padding:.5rem 2.5rem .5rem .5rem;font-size:.875rem;line-height:1.25rem;color:#111827;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05));font-variant-numeric:tabular-nums}
.admin-stock-current-input:focus{border-color:var(--color-brand-500,#465fff);outline:0;box-shadow:0 0 0 2px rgba(70,95,255,.15)}
.stock-current-btn-save{border-radius:.5rem;background:var(--color-primary-action,#d51d40);padding:.375rem .625rem;font-size:.75rem;line-height:1rem;font-weight:600;color:#fff}
.stock-current-btn-save:hover{background:var(--color-brand-600,#3641f5)}
.stock-current-btn-cancel{border:1px solid #e5e7eb;border-radius:.5rem;padding:.375rem .625rem;font-size:.75rem;line-height:1rem;font-weight:500;color:#374151}
.stock-current-btn-cancel:hover{background:#f9fafb}
.admin-message-max-w-420{max-width:420px}
.admin-meta-max-w-260{max-width:260px}
.admin-code-max-w-220{max-width:220px}
.admin-code-muted-wrap{display:block;white-space:normal;overflow-wrap:break-word;font-size:.75rem;line-height:1.625;color:#6b7280}
.admin-chip-wrap-max-w-320{max-width:320px}
.admin-dropdown-max-w-200{max-width:200px}
.admin-order-status-select{min-width:200px}
.admin-actions-menu-min-w{min-width:180px}
.admin-actions-menu{position:absolute;right:0;z-index:20;margin-top:.25rem;min-width:180px;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;box-shadow:0 10px 15px -3px rgba(16,24,40,.1),0 4px 6px -4px rgba(16,24,40,.1)}
.admin-actions-menu-item{display:block;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;color:#374151}
.admin-actions-menu-item:hover{background:#f9fafb}
.admin-fuel-filter-pill{display:inline-flex;align-items:center;gap:.25rem;border:1px solid #bfdbfe;border-radius:9999px;background:#eff6ff;padding:.25rem .75rem;font-size:.75rem;line-height:1rem;color:#1e40af}
.admin-fuel-filter-pill:hover{background:#dbeafe}
.admin-fuel-filter-pill-muted{border-color:#d1d5db;background:#fff;color:#374151}
.admin-fuel-filter-pill-muted:hover{background:#f9fafb}
.admin-passkey-row{display:flex;align-items:center;justify-content:space-between;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;padding:1rem;transition:background-color .15s ease}
.admin-passkey-row:hover{background:#f9fafb}
.admin-passkey-main{display:flex;flex:1 1 0%;align-items:center;gap:.75rem;min-width:0}
.admin-passkey-delete{display:inline-flex;align-items:center;justify-content:center;min-width:2.75rem;min-height:2.75rem;flex-shrink:0;border-radius:.5rem;padding:.5rem;color:#dc2626;transition:background-color .15s ease,color .15s ease}
.admin-passkey-delete:hover{background:#fef2f2;color:#991b1b}
.admin-passkey-only-badge{display:inline-flex;align-items:center;border-radius:.25rem;background:#fef3c7;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;color:#92400e}
.admin-profile-subscription-panel{margin-top:.75rem;border:1px solid #e5e7eb;border-radius:.25rem;background:#fff;padding:.75rem}
.admin-profile-subscription-title{font-size:.75rem;line-height:1rem;font-weight:600;color:#374151}
.admin-stock-lot-cell{max-width:12rem}
.admin-company-cell-min-h{min-height:44px}
.admin-planting-allocation-body{padding:1rem 1.5rem}
.admin-planting-allocation-status{align-items:center;border-color:#bbf7d0;background:#f0fdf4;padding:.75rem 1rem}
.admin-planting-allocation-status .admin-status-tile-icon{width:2.25rem;height:2.25rem;border-radius:.65rem;background:#dcfce7;color:#15803d}
.admin-planting-allocation-status .admin-status-tile-copy{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;gap:.2rem .75rem;padding-top:0}
.admin-planting-allocation-status .admin-status-tile-label{color:#15803d}
.admin-planting-allocation-status .admin-status-tile-value{font-size:.9rem;color:#166534}
.admin-planting-allocation-status .admin-status-tile-description{text-align:right;color:#4b7358;font-variant-numeric:tabular-nums}
.planting-crop-block-table .admin-table-head-cell,.planting-crop-block-table .admin-table-body-cell{padding-left:1rem;padding-right:1rem}
.planting-crop-block-table .planting-crop-block-cell{min-width:15rem}
.planting-crop-block-table .planting-company-cell{width:12rem;min-width:11rem}
.planting-crop-block-table .planting-crop-area-cell{width:10.5rem;min-width:10.5rem}
.planting-crop-block-table .agrico-table-wide-only{min-width:19rem}
.admin-planting-block-identity{display:flex;min-width:0;align-items:flex-start;gap:.75rem}
.admin-planting-block-icon{display:inline-flex;width:2.75rem;height:2.75rem;flex:0 0 auto;align-items:center;justify-content:center;border-radius:.75rem;background:#eef6f0;color:#307a50}
.admin-planting-block-copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:.12rem}
.admin-planting-block-title{font-size:1rem;line-height:1.35rem;font-weight:700;color:#1f2937}
.admin-planting-block-date{display:inline-flex;align-items:center;gap:.35rem;margin-top:.3rem;font-size:.72rem;line-height:1rem;color:#8b93a1}
.admin-planting-compact-details{margin-top:.8rem;padding-top:.75rem;border-top:1px solid #eceff3}
.planting-company-cell .company-cell{min-width:0}
.planting-company-cell .admin-base-dropdown-trigger{height:2.75rem;border-color:#dce3df;border-radius:.7rem;background:#fbfdfb;padding:.55rem .7rem;font-size:.84rem;box-shadow:none}
.planting-company-cell .admin-base-dropdown-trigger:hover{border-color:#b7cbbd;background:#f5faf6}
.planting-company-cell .admin-selected-control-shadow{box-shadow:0 0 0 2px rgba(48,122,80,.1)}
.admin-planting-area-metric{display:inline-flex;min-width:9.3rem;align-items:center;gap:.6rem;border-radius:.7rem;background:#eef5ff;padding:.58rem .7rem;color:#2556a7;box-shadow:inset 0 0 0 1px #d4e4ff;font-variant-numeric:tabular-nums}
.admin-planting-area-icon{display:inline-flex;width:1.65rem;height:1.65rem;flex:0 0 auto;align-items:center;justify-content:center;border-radius:.4rem;background:#dceaff;color:#2463c7}
.admin-planting-area-copy{display:flex;min-width:0;flex-direction:column;gap:.05rem}
.admin-planting-area-copy strong{font-size:.84rem;line-height:1.15rem;font-weight:750;color:#234f9a;white-space:nowrap}
.admin-planting-area-copy span{font-size:.69rem;line-height:1rem;color:#607ca8;white-space:nowrap}
.admin-planting-detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem .9rem;min-width:0}
.admin-planting-detail-item{display:flex;min-width:0;align-items:flex-start;gap:.45rem}
.admin-planting-detail-icon{display:inline-flex;width:1.75rem;height:1.75rem;flex:0 0 auto;align-items:center;justify-content:center;border-radius:.45rem;background:#f4f1ec;color:#756e66}
.admin-planting-detail-copy{display:flex;min-width:0;flex-direction:column;gap:.05rem}
.admin-planting-detail-label{font-size:.68rem;line-height:.95rem;font-weight:700;letter-spacing:.045em;text-transform:uppercase;color:#8a837b}
.admin-planting-detail-value{overflow-wrap:anywhere;font-size:.79rem;line-height:1.12rem;font-weight:550;color:#545b68}
.planting-crop-footer-row{background:#f8fafc}
.planting-crop-footer-row td{border-top:1px solid #e5e7eb}
.planting-crop-footer-label,.planting-crop-footer-area{font-variant-numeric:tabular-nums}
.planting-crop-footer-area-value{white-space:nowrap}
.planting-crop-footer-actions{background:#f8fafc}
.dark .admin-planting-allocation-status{border-color:#166534;background:rgba(20,83,45,.22)}
.dark .admin-planting-allocation-status .admin-status-tile-value{color:#bbf7d0}
.dark .admin-workspace-page .admin-planting-crop-block-card{background:#1c1917;border-color:#44403c}
.dark .admin-planting-crop-block-card :is(.admin-card-section-header,.admin-manual-table-body,.admin-table-body-cell,.admin-table-action-cell){background:#1c1917;border-color:#44403c;color:#e7e5e4}
.dark .admin-planting-crop-block-card :is(.admin-manual-table-head-neutral,.admin-table-head-cell,.planting-crop-footer-row,.planting-crop-footer-row td){background:#292524;border-color:#44403c;color:#e7e5e4}
.dark .admin-planting-crop-block-card :is(.admin-section-title,.admin-manual-table-cell-strong,.company-cell){color:#f5f5f4}
.dark .admin-planting-crop-block-card :is(.admin-data-table-section-description,.admin-section-description,.admin-planting-block-date,.admin-planting-detail-label){color:#a8a29e}
.dark .admin-planting-crop-block-card .admin-planting-compact-details{border-color:#44403c}
.dark .admin-planting-crop-block-card .admin-tab-header-bar{border-color:#44403c}
.dark .admin-planting-crop-block-card .planting-crop-area-cell::before{color:#a8a29e}
.dark .admin-planting-crop-block-card .admin-planting-area-copy span{color:#a7c7f3}
.dark .admin-planting-block-icon{background:rgba(22,101,52,.22);color:#86efac}
.dark .admin-planting-block-title{color:#f3f4f6}
.dark .admin-planting-area-metric{background:rgba(30,64,175,.2);box-shadow:inset 0 0 0 1px rgba(96,165,250,.28)}
.dark .admin-planting-area-copy strong{color:#bfdbfe}
.dark .admin-planting-detail-icon{background:rgba(255,255,255,.06);color:#cbd5e1}
.dark .admin-planting-detail-value{color:#d1d5db}
.admin-notice-action-link,.admin-dashboard-product-link,.admin-dashboard-heading-link{display:inline-flex;min-height:2.75rem;align-items:center}
.admin-notice-action-link{gap:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:500;text-decoration:underline}
.admin-planting-filter-section{border-bottom:1px solid #e5e7eb;padding:1.25rem 1.5rem}
.admin-planting-filter-section-compact{min-width:0;border:0;padding:0}
.admin-crop-summary-filter-dropdown{width:min(22rem,100%);min-width:min(19rem,100%);max-width:22rem}
.admin-crop-summary-filter-dropdown .admin-base-dropdown-trigger{border-color:#d7e3db;background:linear-gradient(135deg,#fff 0%,#f8fcf9 100%);box-shadow:0 1px 2px rgba(16,24,40,.04)}
.admin-crop-summary-filter-dropdown .admin-base-dropdown-trigger:hover{border-color:#9fc2aa;background:#f6fbf7}
.admin-crop-summary-filter-dropdown .admin-dropdown-selected-svg{color:#247348}
.admin-crop-summary-filter-dropdown .admin-dropdown-selected-label{min-width:0;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-crop-summary-option-icon{display:flex;width:2.5rem;height:2.5rem;flex:0 0 2.5rem;align-items:center;justify-content:center;overflow:visible;border:1px solid #d9eadf;border-radius:.75rem;background:#f0f9f3;color:#245f3b;font-size:1.75rem}
.admin-crop-summary-option-icon i,.admin-crop-summary-option-icon svg,.admin-crop-summary-option-icon .svg-inline--fa{display:block;width:1em!important;height:1em!important;max-width:none!important;max-height:none!important;overflow:visible!important}
.dark .admin-crop-summary-filter-dropdown .admin-base-dropdown-trigger{border-color:#3f5147;background:linear-gradient(135deg,#1f2937 0%,#17231c 100%)}
.dark .admin-crop-summary-filter-dropdown .admin-dropdown-selected-svg{color:#a7f3d0}
.dark .admin-crop-summary-option-icon{border-color:#365643;background:#203d2b;color:#a7f3d0}
.admin-planting-overview-table{width:100%;min-width:720px}
.admin-table-scroll-hint{display:none}
.admin-table-scroll[tabindex]:focus-visible{outline:2px solid #b93815;outline-offset:-2px}
@media(max-width:767.98px){.admin-table-scroll-hint{display:block;margin:0;padding:.75rem 1rem;font-size:.8125rem;line-height:1.5;color:#667085;border-bottom:1px solid #eaecf0}.dark .admin-table-scroll-hint{color:#d0d5dd;border-color:#344054}}
.admin-planting-overview-crop-head,.admin-planting-overview-crop-cell{position:sticky;left:0;z-index:1;min-width:220px;background:#fff}
.admin-planting-overview-crop-head{z-index:2;background:#f9fafb}
.admin-planting-overview-crop{display:flex;align-items:center;gap:.625rem;font-size:.875rem;line-height:1.25rem;font-weight:600;color:#344054}
.admin-planting-overview-number-head{min-width:120px;text-align:right;white-space:normal}
.admin-planting-overview-number-cell{text-align:right;font-variant-numeric:tabular-nums}
.admin-planting-overview-value{font-weight:500;color:#344054}
.admin-planting-overview-zero{color:#98a2b3}
.admin-planting-overview-total-head{min-width:120px;background:#f0fdf4;text-align:right;color:#166534}
.admin-planting-overview-total-cell{background:#f0fdf4;text-align:right;font-weight:700;color:#166534;font-variant-numeric:tabular-nums}
.admin-planting-overview-footer-row{background:#f8fafc}
.admin-planting-overview-footer-label{position:sticky;left:0;z-index:1;background:#f8fafc;padding:.875rem 1.5rem;font-size:.75rem;line-height:1rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#475467}
.admin-planting-overview-footer-value{padding:.875rem 1.5rem;text-align:right;font-size:.875rem;line-height:1.25rem;font-weight:700;color:#344054;font-variant-numeric:tabular-nums}
.admin-planting-overview-footer-grand-total{padding:.875rem 1.5rem;background:#dcfce7;text-align:right;font-size:.875rem;line-height:1.25rem;font-weight:800;color:#166534;font-variant-numeric:tabular-nums}
.admin-calendar-min-h-500{min-height:500px}
#care-timeline-calendar button{min-width:2.75rem;min-height:2.75rem}
.admin-modal-max-w-700{max-width:700px}
.admin-modal-max-w-507{max-width:507px}
.admin-modal-max-w-48rem{max-width:48rem}
.admin-modal-max-w-64rem{max-width:64rem}
.admin-modal-max-w-harvest-viewport{max-width:calc(100vw - 2rem)}
.admin-modal-max-w-56rem{max-width:56rem}
.admin-modal-panel-sm{position:relative;display:inline-block;width:100%;max-width:507px;vertical-align:middle;border-radius:.75rem;background:#fff;text-align:left;box-shadow:0 20px 25px -5px rgba(16,24,40,.1),0 8px 10px -6px rgba(16,24,40,.1);transform:translateZ(0);transition:all .15s ease}
.admin-modal-panel-md{position:relative;display:inline-block;width:100%;max-width:32rem;vertical-align:middle;border-radius:.5rem;background:#fff;text-align:left;box-shadow:0 20px 25px -5px rgba(16,24,40,.1),0 8px 10px -6px rgba(16,24,40,.1);transform:translateZ(0);transition:all .15s ease}
.admin-modal-panel-wide{position:relative;display:inline-block;width:100%;max-width:48rem;vertical-align:middle;border-radius:.75rem;background:#fff;text-align:left;box-shadow:0 20px 25px -5px rgba(16,24,40,.1),0 8px 10px -6px rgba(16,24,40,.1);transform:translateZ(0);transition:all .15s ease}
.admin-operational-field-operation-dialog{z-index:100000}
.admin-modal-panel-xwide{position:relative;display:inline-block;width:100%;max-width:56rem;vertical-align:middle;border-radius:.75rem;background:#fff;text-align:left;box-shadow:0 20px 25px -5px rgba(16,24,40,.1),0 8px 10px -6px rgba(16,24,40,.1);transform:translateZ(0);transition:all .15s ease}
.admin-modal-panel-lg{position:relative;display:flex;width:100%;max-width:700px;flex-direction:column;overflow-y:auto;border-radius:1.5rem;background:#fff;padding:1.5rem}
.admin-modal-close-button{position:absolute;top:1.25rem;right:1.25rem;z-index:999;display:flex;width:2.75rem;height:2.75rem;min-width:2.75rem;min-height:2.75rem;align-items:center;justify-content:center;border-radius:9999px;background:#f3f4f6;color:#9ca3af;transition:background-color .15s ease,color .15s ease}
.admin-modal-body:has(>.admin-modal-close-button){position:relative}
.admin-modal-body:has(>.admin-modal-close-button)>.admin-section-title{padding-right:3.25rem}
.admin-modal-close-button:hover{background:#e5e7eb;color:#4b5563}
.dark .admin-modal-close-button{background:rgba(255,255,255,.05);color:#9ca3af}
.dark .admin-modal-close-button:hover{background:rgba(255,255,255,.07);color:#d1d5db}
.admin-modal-body{background:#fff;padding:1.5rem 1.5rem 1rem}
.admin-modal-body-flush{padding:0}
.admin-modal-overflow-locked{overflow:hidden!important}
.admin-modal-overflow-auto{overflow:auto!important}
.admin-modal-content-scroll{overflow-y:auto!important;scrollbar-gutter:stable;padding-inline-end:1rem;-webkit-overflow-scrolling:touch}
.admin-modal-footer{position:sticky;bottom:0;z-index:8;display:flex;flex-direction:row-reverse;gap:.75rem;background:#f9fafb;padding:1rem 1.5rem}
.admin-modal-footer>button,.admin-modal-footer>a{min-height:2.75rem}
@media(max-width:639px){.admin-modal-footer{flex-direction:column}.admin-modal-footer>button,.admin-modal-footer>a{width:100%;white-space:normal;justify-content:center}}
.admin-modal-actions-footer{position:sticky;bottom:0;z-index:8;border-top:1px solid #e5e7eb;background:rgba(249,250,251,.96);padding:1rem 1.5rem;backdrop-filter:blur(10px)}
/* Embedded page forms keep actions in flow, below every field. */
.admin-form-contained>.admin-modal-actions-footer{position:static;gap:.75rem;backdrop-filter:none}
.admin-map-location-control{display:inline-flex;min-height:44px;align-items:center;gap:.45rem;margin:10px;padding:.5rem .75rem;border:1px solid #cbd5e1;border-radius:.6rem;background:rgba(255,255,255,.96);box-shadow:0 1px 4px rgba(15,23,42,.2);color:#1e293b;font:600 .75rem/1rem inherit;cursor:pointer}
.admin-map-location-control:hover,.admin-map-location-control:focus-visible,.admin-map-location-control[aria-pressed="true"]{border-color:#2563eb;color:#1d4ed8;outline:none}
.admin-generic-confirm-modal{position:fixed;inset:0;z-index:99999}
.admin-generic-confirm-modal.hidden{display:none}
.admin-generic-confirm-modal>.admin-modal-backdrop{position:absolute;inset:0}
.admin-generic-confirm-panel{display:flex;flex-direction:column;text-align:left;position:relative;z-index:1;width:100%;max-width:30rem;overflow:hidden;border-radius:.75rem;background:#fff;box-shadow:0 24px 48px rgba(15,23,42,.22)}
/* Generic confirmation has no escaping dropdowns; retain its rounded clipping. */
#admin-generic-confirm-modal>.admin-generic-confirm-panel{overflow:hidden!important}
.admin-generic-confirm-icon,.admin-generic-confirm-button-icon{display:none}
.admin-generic-confirm-actions{gap:.75rem}
.admin-generic-confirm-actions>button{min-width:2.75rem;min-height:2.75rem}
.admin-generic-confirm-modal-processing .admin-generic-confirm-panel{max-width:27rem;border:1px solid rgba(255,255,255,.8);border-radius:1.5rem;background:#fffdf9;box-shadow:0 30px 80px rgba(30,24,18,.28),0 8px 24px rgba(30,24,18,.14);animation:admin-generic-confirm-enter .2s cubic-bezier(.2,.8,.2,1)}
.admin-generic-confirm-modal-processing .admin-modal-body{display:flex;align-items:flex-start;gap:1rem;background:linear-gradient(145deg,#fff 0%,#fffaf3 100%);padding:1.75rem 1.5rem 1.5rem}
.admin-generic-confirm-modal-processing .admin-generic-confirm-icon{display:flex;width:3.5rem;height:3.5rem;flex:0 0 3.5rem;align-items:center;justify-content:center;border:1px solid #ffd6c8;border-radius:1rem;background:linear-gradient(145deg,#fff2eb 0%,#ffe5d8 100%);color:#b91937;box-shadow:inset 0 1px 0 #fff,0 8px 20px rgba(239,33,71,.12)}
.admin-generic-confirm-modal-processing .admin-generic-confirm-svg{width:1.5rem;height:1.5rem;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.admin-generic-confirm-modal-processing .admin-generic-confirm-copy{min-width:0;padding-top:.2rem}
.admin-generic-confirm-modal-processing .admin-section-title{font-size:1.1875rem;line-height:1.5rem;font-weight:750;letter-spacing:-.012em;color:#1d2939}
.admin-generic-confirm-modal-processing .admin-section-description{margin-top:.55rem;font-size:.9375rem;line-height:1.5rem;color:#667085}
.admin-generic-confirm-modal-processing .admin-generic-confirm-actions{position:static;display:grid!important;grid-template-columns:1fr;gap:1rem;border-top:1px solid #eee9e2;background:linear-gradient(180deg,#fbf8f3 0%,#f8f4ed 100%);padding:1rem 1.5rem 1.5rem;backdrop-filter:none}
.admin-generic-confirm-modal-processing .admin-generic-confirm-actions>button{width:100%;min-height:3.25rem;justify-content:center;gap:.625rem;border-radius:.875rem;padding:.75rem 1rem;font-size:.9375rem;line-height:1.25rem;font-weight:700;transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease}
.admin-generic-confirm-modal-processing .admin-generic-confirm-actions [data-generic-confirm="yes"]{border:1px solid #ef2147;background:linear-gradient(180deg,#d51d40 0%,#b91937 100%);box-shadow:0 10px 22px rgba(239,33,71,.22),inset 0 1px 0 rgba(255,255,255,.22)}
.admin-generic-confirm-modal-processing .admin-generic-confirm-actions [data-generic-confirm="yes"]:hover{background:linear-gradient(180deg,#d93404 0%,#c72900 100%);box-shadow:0 12px 26px rgba(197,44,0,.27);transform:translateY(-1px)}
.admin-generic-confirm-modal-processing .admin-generic-confirm-actions [data-generic-confirm="no"]{border:1px solid #d6d0c8;background:rgba(255,255,255,.88);color:#344054;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.admin-generic-confirm-modal-processing .admin-generic-confirm-actions [data-generic-confirm="no"]:hover{border-color:#bbb3a9;background:#fff;color:#1d2939;transform:translateY(-1px)}
.admin-generic-confirm-modal-processing .admin-generic-confirm-actions button:focus-visible{outline:3px solid rgba(239,33,71,.22);outline-offset:2px}
.admin-generic-confirm-modal-processing .admin-generic-confirm-button-icon{display:inline-flex;width:1.25rem;height:1.25rem;flex:0 0 1.25rem;align-items:center;justify-content:center}
.admin-generic-confirm-modal-processing .admin-generic-confirm-button-icon .admin-generic-confirm-svg{width:1.25rem;height:1.25rem}
@keyframes admin-generic-confirm-enter{from{opacity:0;transform:translateY(.75rem) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
@media (max-width:639px){
  .admin-generic-confirm-modal-processing .admin-modal-body{gap:.875rem;padding:1.5rem 1.25rem 1.25rem}
  .admin-generic-confirm-modal-processing .admin-generic-confirm-icon{width:3.25rem;height:3.25rem;flex-basis:3.25rem;border-radius:.875rem}
  .admin-generic-confirm-modal-processing .admin-generic-confirm-actions{padding:.875rem 1.25rem 1.25rem}
}
@media (prefers-reduced-motion:reduce){.admin-generic-confirm-modal-processing .admin-generic-confirm-panel{animation:none}.admin-generic-confirm-modal-processing .admin-generic-confirm-actions>button{transition:none}}
.dark .admin-generic-confirm-modal-processing .admin-generic-confirm-panel{border-color:#344054;background:#171b24}
.dark .admin-generic-confirm-modal-processing .admin-modal-body{background:linear-gradient(145deg,#1d2430 0%,#171b24 100%)}
.dark .admin-generic-confirm-modal-processing .admin-generic-confirm-icon{border-color:rgba(255,107,61,.3);background:rgba(239,33,71,.14);color:#ff8057;box-shadow:none}
.dark .admin-generic-confirm-modal-processing .admin-section-title{color:#f9fafb}
.dark .admin-generic-confirm-modal-processing .admin-section-description{color:#98a2b3}
.dark .admin-generic-confirm-modal-processing .admin-generic-confirm-actions{border-color:#344054;background:#11151c}
.dark .admin-generic-confirm-modal-processing .admin-generic-confirm-actions [data-generic-confirm="no"]{border-color:#475467;background:#1d2430;color:#eaecf0}
.admin-modal-footer-fixed{flex-shrink:0}
@media (max-width:639px){
  .admin-land-detail-tabs>.admin-tab-list-page .admin-tab-button{min-width:0;flex:1 1 0%;flex-direction:column;gap:.25rem;padding:.75rem .25rem;white-space:normal;font-size:.75rem;line-height:1rem}
  .admin-land-detail-tabs>.admin-tab-list-page .admin-tab-icon{margin-right:0}
}
/* The land editor becomes a map-first, full-height mobile workspace. */
#create-land-boundary-editor-modal>div{height:100%;min-height:0;box-sizing:border-box}
#create-land-boundary-editor-modal>div>div:last-child{height:min(60rem,100%);min-height:0;max-height:100%}
@media (max-width:639px){
  #create-land-boundary-editor-modal{overflow:hidden}
  #create-land-boundary-editor-modal>div{height:100%;align-items:stretch;padding:0}
  #create-land-boundary-editor-modal>div>div:last-child{height:100%;max-height:100%;border-radius:0}
  .admin-land-editor .admin-modal-body{padding:.75rem}
  .admin-land-editor .admin-modal-content-scroll{overflow-y:auto!important}
  .admin-land-editor .admin-modal-footer{flex-direction:column}
  .admin-land-editor .admin-modal-footer{padding:.75rem max(.75rem,env(safe-area-inset-right)) max(.75rem,env(safe-area-inset-bottom)) max(.75rem,env(safe-area-inset-left))}
  .admin-land-editor .admin-modal-footer>button{width:100%;white-space:normal;justify-content:center}
  .admin-land-editor-toolbar{gap:.25rem}
  .admin-land-editor-feedback{padding:.45rem .625rem}
}
@media (max-width:359px){
  .admin-land-editor-toolbar{justify-content:space-between;padding-top:3rem;padding-right:0}
}
.dark .admin-modal-footer{background:#111827}
/* Global overlay contract: change these tokens once for every modal and drawer backdrop. */
:root{--admin-modal-backdrop-color:rgba(16,24,40,.3);--admin-modal-backdrop-blur:4px;--admin-modal-gutter:1rem}
.admin-modal-backdrop{background:var(--admin-modal-backdrop-color);-webkit-backdrop-filter:blur(var(--admin-modal-backdrop-blur));backdrop-filter:blur(var(--admin-modal-backdrop-blur))}
.admin-modal-frame{display:flex;align-items:center;justify-content:center;width:100%;height:100vh;height:100dvh;min-height:0;max-height:100dvh;padding:var(--admin-modal-gutter);box-sizing:border-box;text-align:center}
.admin-sidebar-width{width:290px}
.admin-modal-h-90vh{height:90vh;height:90dvh;max-height:calc(100dvh - 2 * var(--admin-modal-gutter))}
.admin-modal-h-92vh{height:92vh;height:92dvh;max-height:calc(100dvh - 2 * var(--admin-modal-gutter))}
.admin-modal-h-boundary-editor{height:min(60rem,100%);min-height:0;max-height:100%}
.admin-land-editor{min-height:0}
.admin-modal-max-h-90vh{max-height:min(90vh,calc(100vh - 2 * var(--admin-modal-gutter)));max-height:min(90dvh,calc(100dvh - 2 * var(--admin-modal-gutter)))}
.admin-surface-card{border:1px solid #e5e7eb;border-radius:1rem;background:#fff;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05))}
.admin-surface-card-padded{padding:1rem}
.admin-surface-card-roomy{padding:1.5rem}
.admin-import-mapping-card{border:1px solid #fcd34d;border-radius:.25rem;background:#fff;padding:.75rem}
.admin-distribution-bar{display:flex;height:1rem;overflow:hidden;border:1px solid #e5e7eb;border-radius:.5rem;background:#f3f4f6}
.admin-company-loading-overlay{position:absolute;inset:0;z-index:10;border-radius:.25rem;background:rgba(255,255,255,.9)}
.admin-company-success-overlay{position:absolute;inset:0;z-index:10;border-radius:.25rem;background:rgba(236,253,245,.9)}
.admin-overlay-center{display:flex;align-items:center;justify-content:center}
.admin-overlay-center.hidden{display:none}
.admin-calendar-surface{overflow:hidden;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;box-shadow:var(--shadow-theme-xs,0 1px 2px 0 rgba(16,24,40,.05))}
.admin-workspace-page .admin-calendar-surface-embedded{border-width:0;border-radius:0;box-shadow:none}
.admin-map-shell-muted{position:relative;width:100%;overflow:hidden;border-radius:.5rem;background:#f3f4f6}
.admin-qr-scan-frame{height:14rem;width:14rem;border:2px solid rgba(255,255,255,.6);border-radius:1rem}
/* Start-page Focus corners scanner: camera owns the canvas; chrome stays readable. */
#processing-entry-scanner{overflow:hidden;width:100%;color:#fff;background:#101713;isolation:isolate;touch-action:none}
#processing-entry-scanner .processing-focus-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.processing-focus-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(5,12,8,.88),rgba(5,12,8,.12) 32%,rgba(5,12,8,.12) 64%,rgba(5,12,8,.88))}
.processing-focus-header{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:calc(28px + env(safe-area-inset-top,0px)) 24px 16px}
.processing-focus-brand{display:block;font-size:10px;font-weight:700;letter-spacing:.24em;color:#eee8d9;margin-bottom:8px}
:is(#processing-entry-scanner,#qr-scan-modal) h2{margin:0;color:#fff;font-size:clamp(19px,5vw,24px);line-height:1.3;font-weight:700;overflow-wrap:anywhere}
.processing-focus-close,.processing-focus-light,.processing-focus-zoom{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;flex-shrink:0;border:1px solid #ffffff40;background:#101b17d9;color:#fff;border-radius:999px;touch-action:manipulation}
.processing-focus-close{width:48px}
.admin-processing-scanner-tools{display:flex;align-items:center;gap:8px}
.admin-processing-scanner-tools button:disabled{opacity:.55;cursor:wait}
.processing-focus-close:focus-visible,.processing-focus-light:focus-visible,.processing-focus-zoom input:focus-visible{outline:3px solid #ffb583;outline-offset:3px}
.processing-focus-target{position:relative;z-index:1;flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:16px 24px}
:is(#processing-entry-scanner,#qr-scan-modal) .admin-qr-scan-frame{position:relative;flex-shrink:0;width:min(64vw,260px,44dvh);height:auto;aspect-ratio:1;border:0;border-radius:22px;box-shadow:0 0 0 100vmax #06100b30}
:is(#processing-entry-scanner,#qr-scan-modal) .admin-qr-scan-frame i{position:absolute;width:34px;height:34px;border:solid #ffad78;border-width:0}
:is(#processing-entry-scanner,#qr-scan-modal) .admin-qr-scan-frame i:nth-child(1){top:0;left:0;border-top-width:3px;border-left-width:3px;border-top-left-radius:22px}
:is(#processing-entry-scanner,#qr-scan-modal) .admin-qr-scan-frame i:nth-child(2){top:0;right:0;border-top-width:3px;border-right-width:3px;border-top-right-radius:22px}
:is(#processing-entry-scanner,#qr-scan-modal) .admin-qr-scan-frame i:nth-child(3){bottom:0;right:0;border-bottom-width:3px;border-right-width:3px;border-bottom-right-radius:22px}
:is(#processing-entry-scanner,#qr-scan-modal) .admin-qr-scan-frame i:nth-child(4){bottom:0;left:0;border-bottom-width:3px;border-left-width:3px;border-bottom-left-radius:22px}
#processing-entry-scanner #processing-entry-status{position:relative;z-index:1;margin:0;max-width:320px;border-radius:18px;padding:12px 18px;background:#101b17e8;color:#fff;text-align:center;font-size:14px;line-height:1.5}
.processing-focus-footer{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px calc(24px + env(safe-area-inset-bottom,0px))}
.processing-focus-footer p{margin:0 0 0 auto;color:#fff;font-size:12px;line-height:1.5;text-align:right}
.processing-focus-light{padding:10px 16px;font-size:12px;max-width:65%;line-height:1.4}
.processing-focus-light[hidden]{display:none}
.processing-focus-light[aria-pressed="true"]{background:#ffad78;color:#18241e;border-color:#ffad78}
.processing-focus-light:disabled{opacity:.6}
.processing-focus-zoom{flex:1;min-width:72px;max-width:42%;padding:0 12px;border-radius:999px}
.processing-focus-zoom[hidden]{display:none}
.processing-focus-zoom input{width:100%;height:44px;margin:0;accent-color:#ffad78;touch-action:none}
.processing-focus-footer:has(.processing-focus-zoom:not([hidden])) .processing-focus-light{max-width:38%}
#processing-entry-scanner[data-scan-hint="hold"] #processing-entry-status{background:#18241ee8}
#processing-entry-scanner[data-scan-hint="light"] #processing-entry-status{background:#3a2a12e8;color:#fff1d7}
#processing-entry-scanner[data-camera-state="found"] .admin-qr-scan-frame i{border-color:#7ee3a8}
#processing-entry-scanner[data-camera-state="found"] #processing-entry-status{background:#123c2e;color:#e7fff0}
.processing-focus-sweep{position:absolute;left:10%;right:10%;top:10%;height:1px;background:linear-gradient(90deg,transparent,#ffad78,transparent);opacity:0}
@media(prefers-reduced-motion:no-preference){#processing-entry-scanner[data-camera-state="ready"] .processing-focus-sweep{animation:processing-focus-sweep 2.4s ease-in-out 1s 1}}
@keyframes processing-focus-sweep{0%,100%{opacity:0;top:10%}20%{opacity:.85}85%{opacity:.85;top:90%}99%{top:90%}}
@media(max-height:480px){.processing-focus-header{padding-top:calc(12px + env(safe-area-inset-top,0px));padding-bottom:8px}.processing-focus-brand{display:none}.processing-focus-target{gap:8px;padding:4px 24px}:is(#processing-entry-scanner,#qr-scan-modal) .admin-qr-scan-frame{width:min(32dvh,180px)}#processing-entry-scanner #processing-entry-status{padding:6px 12px;font-size:12px}.processing-focus-footer{padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}.processing-focus-zoom{max-width:34%;min-width:64px}}

.admin-processing-allocation-feedback{position:absolute;inset:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;text-align:center;color:#fff;background:rgba(5,46,22,.78);backdrop-filter:blur(3px)}
.admin-processing-allocation-feedback.hidden{display:none}
.admin-processing-allocation-check{display:flex;height:6rem;width:6rem;align-items:center;justify-content:center;border-radius:9999px;background:#22c55e;color:#fff;box-shadow:0 0 0 .5rem rgba(255,255,255,.18)}
.admin-processing-allocation-code{margin-top:1.5rem;font-size:2rem;line-height:2.25rem;font-weight:800;letter-spacing:.025em}
.admin-processing-allocation-message{margin-top:.5rem;max-width:22rem;font-size:1rem;line-height:1.5rem;font-weight:600}
.admin-processing-allocation-count{margin-top:1rem;font-size:.875rem;line-height:1.25rem;color:rgba(255,255,255,.8)}
.admin-mobile-action-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;border-top:1px solid #e5dfd6;background:#f7f4ed;padding:0.75rem 1rem 1rem}
.admin-mobile-action-bar.admin-safe-bottom{padding-bottom:max(1rem,env(safe-area-inset-bottom))}
/* Processing floating dock: opaque controls, transparent non-interactive gutters. */
.admin-processing-floating-actions{position:fixed;left:0;right:0;bottom:0;z-index:40;padding:12px max(12px,env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));pointer-events:none}
.admin-processing-floating-actions .admin-processing-action-stack{box-sizing:border-box;pointer-events:auto;gap:8px;padding:11px;border:1px solid #e8e4dc;border-radius:24px;background:#fffdf8;box-shadow:0 10px 30px rgba(48,53,39,.14),0 2px 6px rgba(48,53,39,.04)}
.admin-processing-floating-actions .admin-processing-secondary-actions{gap:8px}
.admin-processing-floating-actions :is(.admin-processing-submit-button,.admin-processing-disabled-button,.admin-processing-allocate-button,.admin-processing-scan-next-button){border-radius:14px;white-space:normal}
.admin-processing-floating-actions :is(.admin-processing-allocate-button,.admin-processing-scan-next-button){padding:10px 8px;box-shadow:none}
.admin-processing-floating-actions .admin-processing-allocate-button{border-color:transparent;background:#fcf2e4;color:#92400e}
.admin-processing-floating-actions .admin-processing-allocate-button:hover{border-color:transparent;background:#f9e8ce;color:#78350f}
.admin-processing-floating-actions .admin-processing-scan-next-button{border-color:transparent;background:#f1f2ec;color:#42483e}
.admin-processing-floating-actions .admin-processing-scan-next-button:hover{border-color:transparent;background:#e7e9e1;color:#272e23}
.admin-processing-floating-actions :is(svg,i){flex-shrink:0}
.admin-processing-floating-actions button:focus-visible{outline:3px solid #237442;outline-offset:2px}
.dark .admin-processing-floating-actions .admin-processing-action-stack{background:#1d2521;border-color:#37453c;box-shadow:0 10px 30px rgba(0,0,0,.3)}
.dark .admin-processing-floating-actions .admin-processing-allocate-button{background:#3c3021;color:#f5ca88}
.dark .admin-processing-floating-actions .admin-processing-scan-next-button{background:#2d3730;color:#e2e9df}
@media(prefers-reduced-motion:reduce){.admin-processing-floating-actions button{transition:none}.admin-processing-floating-actions .admin-processing-submit-button:hover:not(:disabled){transform:none}}

.dark .admin-surface-card,.dark .admin-calendar-surface{border-color:#1f2937;background:rgba(255,255,255,.03)}
@media (min-width:640px){
  .admin-footer-microcopy{flex-direction:row;align-items:center;flex-wrap:wrap}
  .admin-footer-utilities{width:auto;margin-left:auto}
  .admin-footer-help+.admin-footer-version{border-left:1px solid #ddd8cf;padding-left:1.125rem}
  .admin-header-row{gap:.75rem}
  .admin-table-controls-header{flex-direction:row;align-items:center;justify-content:space-between}
  .admin-table-controls-header{flex-wrap:wrap}
  .admin-table-controls-left,.admin-table-controls-right,.admin-table-controls-actions{flex-direction:row;align-items:center}
  .admin-table-controls-left{min-width:0;flex:1 1 auto;flex-wrap:wrap}
  .admin-table-controls-right{flex:0 0 auto;margin-left:auto}
  .admin-table-controls-filter-trigger,.admin-table-controls-overflow-trigger{display:none}
  .admin-table-controls-actions{display:flex;flex:0 0 auto;gap:.75rem}
  .admin-dt-controls{flex-direction:row;align-items:center;justify-content:space-between}
  .admin-compact-list-row{flex-direction:row;align-items:center;justify-content:space-between}
  .admin-modal-actions-footer{display:flex;flex-direction:row-reverse;gap:.75rem}
  .admin-file-add-tile{width:60px}
  .admin-mobile-action-bar{padding-left:1.5rem;padding-right:1.5rem}
  .admin-processing-mobile-header{padding-left:1.5rem;padding-right:1.5rem}
  .admin-processing-primary-title{font-size:2rem}
  .admin-file-title-text{font-size:11px}
  .admin-text-micro-sm-xs{font-size:.75rem;line-height:1rem}
  .admin-tab-button{flex:1 1 0%;padding:1rem 1.5rem}
  .admin-surface-card-padded{padding:1.25rem}
  .admin-table-export-button{width:auto}
  .admin-planting-crop-label{max-width:200px}
  .admin-modal-close-button{width:2.75rem;height:2.75rem}
}
@media (min-width:1024px){
  .admin-header-row{padding-top:1rem;padding-bottom:1rem}
  .admin-modal-panel-lg{padding:2.75rem}
}
@media (min-width:1280px){
  .admin-header-row{gap:1.5rem;padding-left:1.5rem;padding-right:1.5rem}
  .admin-table-footer-inner{flex-direction:row;align-items:center;justify-content:space-between}
  .admin-table-info-text{border-bottom:0;padding-bottom:0;text-align:left}
  .admin-table-pagination{justify-content:flex-end;padding-top:0}
  .admin-dt-footer{flex-direction:row;align-items:center;justify-content:space-between}
  .admin-dt-footer-info{border-bottom:0;padding-bottom:0;text-align:left}
  .admin-dt-pagination{justify-content:flex-end;padding-top:0}
  .admin-table-search-input{width:300px}
}
@media (min-width:1024px){
  .admin-form-grid-lg-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-remote-cooling-grid{grid-template-columns:repeat(12,minmax(0,1fr))}
  .admin-remote-cooling-meta-field{grid-column:span 4/span 4}
  .admin-cooling-schedule-fields{grid-template-columns:minmax(6rem,.5fr) minmax(9rem,1fr) minmax(10rem,1fr) minmax(9rem,1fr)}
  .admin-warehouse-location-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(13rem,.55fr)}
  .admin-warehouse-location-action{grid-column:auto}
  .admin-grid-lg-3-spacious{grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin-dashboard-card-grid,.admin-role-permissions-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin-dashboard-grid-lg-3,.admin-detail-grid-lg-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin-service-company-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin-card-grid-lg-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .admin-form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:1.5rem;row-gap:1.25rem}
  .admin-file-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin-sidebar-collapsed-width{width:90px}
  .admin-service-summary-row{flex-direction:row;align-items:center;justify-content:space-between}
}
@media (min-width:1280px){
  .admin-detail-grid-xl-2-start{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-dashboard-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .admin-card-grid-xl-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin-service-company-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .admin-land-editor-grid{grid-template-columns:minmax(0,1fr) 280px}
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hidden{display:none!important}
.admin-tab-shell [data-admin-tab-panel][hidden],
[data-financial-panel][hidden]{display:none!important}
.admin-login-logo-mark{display:flex;width:72px;height:72px;align-items:center;justify-content:center;border-radius:1.1rem;background:#fff4f6;color:#ef2147;font-size:1.7rem;font-weight:800;letter-spacing:-.04em}
.admin-login-brand:has(img.is-loaded) .admin-login-logo-mark{display:none}
#machine-profile-drawer{position:fixed;top:0;right:0;z-index:10060;display:flex;height:100dvh;max-height:100dvh;flex-direction:column}
#machine-profile-drawer .admin-panel-header-row{flex-shrink:0}
#machine-profile-content{min-height:0;flex:1 1 auto;overflow:auto}
#machine-profile-drawer-backdrop{z-index:10055}
.admin-workspace-content,.admin-page-heading-shell,.admin-main-content-shell,.admin-card-shell,.admin-tab-shell{min-width:0;max-width:100%}
.admin-page-heading-period{flex:1 0 100%;order:3;min-width:0;width:100%}
.admin-page-heading-with-period{gap:1.25rem;flex-wrap:wrap}
.admin-page-heading-with-period .admin-period-context-bar{margin-bottom:0}
.admin-page-heading-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.5rem;min-width:0;order:2}
.admin-page-heading-main{order:1}
.admin-page-heading-title{overflow-wrap:normal;word-break:normal;hyphens:none}
.admin-page-heading-description{overflow-wrap:anywhere;max-width:100%}
.admin-page-heading-shell.admin-page-heading-with-back{flex-direction:row;align-items:flex-start;justify-content:space-between}
.admin-page-heading-with-back .admin-page-heading-main{flex:1 1 0}
.admin-page-heading-with-back .admin-page-heading-actions{flex:0 1 auto;width:auto;max-width:45%;justify-content:flex-end}
.admin-page-heading-with-back .admin-page-heading-actions>div{min-width:0;max-width:100%}
.admin-page-heading-with-back [data-admin-back]{max-width:100%;min-height:2.75rem;white-space:normal;overflow-wrap:anywhere}
.admin-flash-banner{max-width:100%;overflow-wrap:anywhere}
.admin-table-controls{flex-wrap:wrap;min-width:0}
.admin-action-text-link,.admin-map-pill-link,.admin-filter-pill,.admin-filter-button,.filter-btn,.admin-inline-danger-icon-button,.admin-map-action-button{min-height:2.75rem;min-width:2.75rem;box-sizing:border-box}
.admin-checkbox-label,.admin-weather-provider-summary{min-height:2.75rem}
.admin-checkbox-control{width:1.25rem;height:1.25rem}
.admin-filter-pill,.admin-filter-button,.filter-btn{padding:.5rem .875rem}
@media (max-width:1279.98px){
  .admin-page-heading-shell{align-items:flex-start}
  .admin-page-heading-actions{width:100%;justify-content:flex-start}
}

.admin-harvest-destination-body{padding-top:1rem;padding-bottom:1rem}
.admin-harvest-destination-selector{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));overflow:hidden;border:1px solid #d0d5dd;border-radius:.75rem;background:#fff}
.admin-harvest-destination-choice{display:flex;min-width:0;min-height:4rem;align-items:center;justify-content:center;gap:.625rem;border:0;border-right:1px solid #d0d5dd;background:#fff;padding:.75rem 1rem;color:#475467;font-size:.75rem;font-weight:800;letter-spacing:.045em;text-transform:uppercase;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}
.admin-harvest-destination-choice:last-child{border-right:0}
.admin-harvest-destination-choice:hover{background:#fff6f8;color:#b93815}
.admin-harvest-destination-choice[aria-checked="true"]{background:#101828;color:#fff;box-shadow:inset 0 0 0 1px #101828}
.admin-harvest-destination-choice:focus-visible{position:relative;z-index:1;outline:0;box-shadow:inset 0 0 0 2px #465fff,0 0 0 3px rgba(70,95,255,.2)}
.admin-harvest-destination-choice:disabled{cursor:not-allowed;opacity:.58}
.admin-harvest-destination-choice-icon{display:flex;width:2.25rem;height:2.25rem;flex:0 0 2.25rem;align-items:center;justify-content:center;border-radius:.6rem;background:#f2f4f7;color:#475467}
.admin-harvest-destination-choice[aria-checked="true"] .admin-harvest-destination-choice-icon{background:rgba(255,255,255,.12);color:#fff}
.admin-harvest-destination-choice[aria-checked="true"] .harvest-type-image-icon{filter:brightness(0) invert(1)}
.admin-harvest-destination-instruction{margin:1rem 0 .5rem;color:#667085;font-size:.8125rem;font-weight:600}
.admin-harvest-destination-groups{display:flex;flex-direction:column}
.admin-harvest-destination-group{min-width:0}
.admin-harvest-destination-group[hidden],.admin-harvest-destination-add-button[hidden]{display:none!important}
.admin-harvest-destination-group+.admin-harvest-destination-group{border-top:1px solid #eaecf0}
.admin-harvest-crop-action{display:flex;width:100%;min-width:0;min-height:4.75rem;align-items:center;gap:.75rem;border:1px solid transparent;border-radius:.75rem;background:#fff;padding:.75rem;color:#344054;text-align:left;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease}
.admin-harvest-crop-action:hover{border-color:#fed7c7;background:#fff6f8;color:#b93815}
.admin-harvest-crop-action:focus-visible{outline:0;border-color:#ef2147;box-shadow:0 0 0 3px rgba(239,33,71,.18)}
.admin-harvest-crop-action-selected{border-color:#ef2147;background:#fff6f8;box-shadow:0 0 0 3px rgba(239,33,71,.14)}
.admin-harvest-crop-action:disabled{border-color:transparent;background:#f9fafb;color:#98a2b3;cursor:not-allowed}
.admin-harvest-crop-action-icon{display:flex;width:2.5rem;height:2.5rem;flex:0 0 2.5rem;align-items:center;justify-content:center;border-radius:.625rem;background:#f2f4f7;color:#475467}
.admin-harvest-crop-action-type-icon{display:flex;align-items:center;justify-content:center}
.admin-harvest-crop-action-type-icon[hidden]{display:none!important}
.admin-harvest-crop-action:hover .admin-harvest-crop-action-icon,.admin-harvest-crop-action-selected .admin-harvest-crop-action-icon{background:#ffebe3;color:#b93815}
.admin-harvest-crop-action-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:.18rem}
.admin-harvest-crop-action-copy strong{overflow-wrap:anywhere;color:#101828;font-size:.9rem;line-height:1.25rem;font-weight:750}
.admin-harvest-crop-action-copy small{color:#667085;font-size:.75rem;line-height:1rem;font-weight:600}
.admin-harvest-crop-action-chevron{display:flex;flex:0 0 auto;align-items:center;justify-content:center;color:#98a2b3;transition:color .15s ease,transform .15s ease}
.admin-harvest-crop-action:hover .admin-harvest-crop-action-chevron,.admin-harvest-crop-action-selected .admin-harvest-crop-action-chevron{color:#ef2147;transform:translateX(.125rem)}
.admin-harvest-crop-action:disabled .admin-harvest-crop-action-chevron{visibility:hidden}
.admin-harvest-destination-add-button{display:inline-flex;width:2.75rem;height:2.75rem;flex:0 0 2.75rem;align-items:center;justify-content:center;margin-left:auto;border:1px solid #ef2147;border-radius:.625rem;background:#d51d40;color:#fff;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
.admin-harvest-destination-add-button:hover{border-color:#b92802;background:#b92802}
.admin-harvest-destination-add-button:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(239,33,71,.25)}
.admin-harvest-destination-add-button:disabled{border-color:#d0d5dd;background:#e4e7ec;color:#98a2b3;cursor:not-allowed}
.admin-harvest-log-add-button{margin-left:0}
.admin-harvest-log-harvest-cell{display:flex;min-width:6.5rem;align-items:center;gap:.625rem}
.admin-harvest-log-harvest-type-icon{display:inline-flex;width:2rem;height:2rem;flex:0 0 2rem;align-items:center;justify-content:center;border-radius:.5rem;color:#4f46e5}
.admin-harvest-log-harvest-type-icon:focus-visible{outline:2px solid #4f46e5;outline-offset:2px}
.admin-harvest-log-value{display:flex;min-width:0;align-items:center;gap:.4rem}
.admin-harvest-log-value-center{justify-content:center}
.admin-harvest-log-warnings{display:inline-flex;align-items:center;gap:.2rem}
.admin-harvest-log-warning{display:inline-flex;width:1.5rem;height:1.5rem;flex:0 0 1.5rem;align-items:center;justify-content:center;border-radius:.375rem;background:#fffaeb;color:#b54708}
.admin-harvest-log-warning:focus-visible{outline:2px solid rgba(245,158,11,.45);outline-offset:1px}
.admin-harvest-log-closed{display:inline-flex;width:2.75rem;height:2.75rem;align-items:center;justify-content:center;border-radius:.5rem;background:#f2f4f7;color:#667085}
.admin-harvest-log-closed:focus-visible{outline:2px solid #98a2b3;outline-offset:1px}
.admin-harvest-image-trigger{display:inline-flex;width:4rem;height:4rem;align-items:center;justify-content:center;overflow:hidden;border:1px solid transparent;border-radius:.625rem;background:transparent;color:#98a2b3;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.admin-harvest-image-trigger:hover{border-color:#98a2b3;transform:translateY(-1px)}
.admin-harvest-image-trigger:focus-visible{border-color:#465fff;outline:0;box-shadow:0 0 0 3px rgba(70,95,255,.2)}
@media (max-width:767.98px){#harvest-log-table.admin-table-has-actions tbody>tr>.admin-table-mobile-primary{grid-column:1/-1;grid-row:1}#harvest-log-table.admin-table-has-actions tbody>tr>.admin-table-action-cell{grid-column:1/-1;grid-row:2;border-top:1px solid #ebe6df!important;padding:.75rem 0!important}#harvest-log-table .admin-table-action-cell .admin-action-group{width:100%;justify-content:flex-start}}
@media (max-width:767.98px){#users-panel-users .admin-table-has-actions tbody>tr>.admin-table-action-cell{grid-column:1/-1;grid-row:1;width:100%!important}#users-panel-users .admin-table-has-actions tbody>tr>.admin-table-mobile-primary{grid-column:1/-1;grid-row:2;width:100%!important}}
.admin-harvest-image-thumb{width:4rem;height:4rem;border-radius:.625rem;object-fit:cover}
.admin-harvest-image-empty{display:flex;width:4rem;height:4rem;align-items:center;justify-content:center;overflow:hidden;border:1px solid #d1d5db;border-radius:.5rem;background:#f3f4f6;color:#9ca3af}
.admin-harvest-image-manager-dialog{overflow:hidden}
.admin-harvest-image-manager-body{position:relative;padding-top:3.5rem}
.admin-harvest-image-manager-stage{display:flex;min-height:18rem;max-height:min(58vh,34rem);align-items:center;justify-content:center;overflow:hidden;border:1px solid #eaecf0;border-radius:.75rem;background:#f9fafb;padding:1rem}
.admin-harvest-image-manager-preview{width:auto;max-width:100%;height:auto;max-height:min(54vh,31rem);border-radius:.5rem;object-fit:contain}
.admin-harvest-image-manager-empty{display:flex;max-width:22rem;flex-direction:column;align-items:center;gap:.75rem;text-align:center;color:#667085}
.admin-harvest-image-manager-empty strong{color:#344054;font-size:1rem}
.admin-harvest-image-manager-help{text-align:center}
.admin-harvest-image-manager-actions{display:flex;width:100%;align-items:center;justify-content:flex-end;gap:.75rem}
.admin-harvest-image-manager-actions>span{display:inline-flex}
.admin-harvest-image-manager-actions>span.hidden{display:none}
.admin-harvest-image-manager-actions button{min-height:2.75rem}
.admin-harvest-image-upload-source{display:none}
#harvest-log-image-manager-status{min-height:1.25rem;margin-top:.5rem;color:#475467;font-size:.8125rem;text-align:center}
.admin-harvest-lifecycle-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
.admin-harvest-lifecycle-chip{display:flex;min-width:0;flex-direction:column;border:1px solid;border-radius:.65rem;padding:.45rem .55rem;font-size:.7rem;line-height:1.2}
.admin-harvest-lifecycle-chip strong{font-size:1rem}
.admin-harvest-lifecycle-created{border-color:#d0d5dd;background:#f2f4f7;color:#475467}
.admin-harvest-lifecycle-assigned{border-color:#fdb022;background:#fffaeb;color:#b54708}
.admin-harvest-lifecycle-processed{border-color:#12b76a;background:#ecfdf3;color:#027a48}
.admin-harvest-destination-metrics{display:flex;flex-wrap:wrap;gap:.5rem 1rem;color:#667085;font-size:.8rem}
.admin-harvest-destination-metrics strong{color:#344054}
.admin-harvest-caliber-chips{display:flex;flex-wrap:wrap;gap:.4rem}
.admin-harvest-caliber-chip{border:1px solid #c7d7fe;border-radius:999px;background:#eef4ff;padding:.25rem .55rem;color:#3538cd;font-size:.75rem;font-weight:700}
.admin-harvest-warning-list{display:flex;flex-direction:column;gap:.35rem;border-radius:.65rem;background:#fffaeb;padding:.65rem;color:#b54708;font-size:.75rem}
.admin-harvest-warning-list span{display:flex;align-items:center;gap:.35rem}
.admin-harvest-batch-history{border-top:1px solid #eaecf0;padding-top:.75rem}
.admin-harvest-batch-history summary{cursor:pointer;color:#344054;font-size:.8rem;font-weight:700}
.admin-harvest-batch-list{display:flex;max-height:14rem;flex-direction:column;gap:.5rem;overflow-y:auto;padding-top:.75rem}
.admin-harvest-batch-row{display:flex;flex-wrap:wrap;gap:.3rem .65rem;border-radius:.55rem;background:#f9fafb;padding:.6rem;color:#667085;font-size:.75rem}
.admin-harvest-batch-row strong{width:100%;color:#344054}
.admin-harvest-batch-note{width:100%;font-style:italic}
.admin-harvest-destination-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:auto}
.admin-harvest-entry-form-slot{margin-top:1.25rem;border-top:1px solid #eaecf0}
.admin-harvest-entry-form-slot{margin-inline:-1.5rem}
.admin-harvest-entry-form-slot .admin-harvest-entry-form-card{margin:0;border:0;border-radius:0;box-shadow:none;scroll-margin-top:calc(var(--admin-harvest-entry-sticky-top,0px) + .75rem)}
.admin-harvest-entry-form-toolbar{position:sticky;top:var(--admin-harvest-entry-sticky-top,0px);z-index:29;display:grid;grid-template-columns:minmax(0,1fr) clamp(4.5rem,20vw,16rem) 2.75rem;align-items:center;gap:.75rem;border-bottom:1px solid #eaecf0;background:rgba(255,255,255,.96);padding:.25rem 1.5rem;backdrop-filter:blur(10px)}
.admin-warehouse-bulk-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.75rem}
.admin-warehouse-bulk-header>p{flex:1 1 12rem;min-width:0}
.admin-warehouse-bulk-header>button{min-height:44px}
.admin-harvest-entry-form-card :is(input,button,textarea,a[href]){scroll-margin-top:calc(var(--admin-harvest-entry-sticky-top,0px) + 4rem)}
.admin-harvest-entry-context{display:flex;min-width:0;align-items:center;gap:.5rem;white-space:nowrap;color:#667085;font-size:.8125rem;line-height:1.125rem}
.admin-harvest-entry-context>strong,.admin-harvest-entry-context-identity{min-width:0;overflow:hidden;text-overflow:ellipsis}
.admin-harvest-entry-context>strong{flex-shrink:0;max-width:45%}
.admin-harvest-entry-crop-icon{display:inline-flex;flex:0 0 1.25rem;width:1.25rem;height:1.25rem;align-items:center;justify-content:center;color:inherit}
.admin-harvest-entry-crop-icon[hidden]{display:none}
.admin-harvest-entry-context strong{color:#101828;font-weight:700}
.admin-harvest-entry-form-progress{display:flex;min-width:0;align-items:center;gap:.5rem}
.admin-harvest-entry-form-progress .admin-form-progress-track{min-width:0;height:.25rem}
.admin-harvest-entry-form-progress .admin-form-progress-fill{height:.25rem}
.admin-harvest-entry-form-progress .admin-form-progress-value{flex-shrink:0;font-variant-numeric:tabular-nums}
.admin-harvest-entry-close{width:2.75rem;height:2.75rem;min-width:2.75rem;padding:0}
@media (max-width:639.98px){.admin-harvest-destination-choice{min-height:4.5rem;flex-direction:column;gap:.35rem;padding:.55rem .35rem;font-size:.675rem;line-height:.875rem;text-align:center}.admin-harvest-destination-choice-icon{width:2rem;height:2rem;flex-basis:2rem}.admin-harvest-crop-action{min-height:4.5rem;padding:.65rem}.admin-harvest-crop-action-copy strong{font-size:.8125rem}}
@media (max-width:640px){.admin-harvest-entry-form-toolbar{gap:.5rem;padding:.25rem .75rem}.admin-harvest-entry-context{gap:.35rem}.admin-harvest-image-manager-body{padding:3.25rem 1rem .75rem}.admin-harvest-image-manager-stage{min-height:14rem;max-height:48vh;padding:.75rem}.admin-harvest-image-manager-preview{max-height:44vh}.admin-harvest-image-manager-actions{flex-direction:column-reverse;align-items:stretch}.admin-harvest-image-manager-actions>span,.admin-harvest-image-manager-actions button{width:100%}}
.dark .admin-harvest-destination-group+.admin-harvest-destination-group{border-color:#344054}
.dark .admin-harvest-destination-selector{border-color:#475467;background:#101828}
.dark .admin-harvest-destination-choice{border-color:#475467;background:#101828;color:#d0d5dd}
.dark .admin-harvest-destination-choice:hover{background:#1d2939;color:#f9fafb}
.dark .admin-harvest-destination-choice[aria-checked="true"]{background:#f9fafb;color:#101828;box-shadow:inset 0 0 0 1px #f9fafb}
.dark .admin-harvest-destination-choice-icon{background:#1d2939;color:#d0d5dd}
.dark .admin-harvest-destination-choice[aria-checked="true"] .admin-harvest-destination-choice-icon{background:#eaecf0;color:#101828}
.dark .admin-harvest-destination-choice .harvest-type-image-icon{filter:brightness(0) invert(1)}
.dark .admin-harvest-destination-choice[aria-checked="true"] .harvest-type-image-icon{filter:brightness(0)}
.dark .admin-harvest-destination-instruction{color:#98a2b3}
.dark .admin-harvest-crop-action{background:#101828;color:#d0d5dd}
.dark .admin-harvest-crop-action:hover,.dark .admin-harvest-crop-action-selected{border-color:#b93815;background:#261b18;color:#fda98b}
.dark .admin-harvest-crop-action:disabled,.dark .admin-harvest-batch-row{background:#1d2939;color:#667085}
.dark .admin-harvest-crop-action-icon{background:#1d2939;color:#d0d5dd}
.dark .admin-harvest-crop-action:hover .admin-harvest-crop-action-icon,.dark .admin-harvest-crop-action-selected .admin-harvest-crop-action-icon{background:#3a2119;color:#fda98b}
.dark .admin-harvest-crop-action-copy strong{color:#f9fafb}
.dark .admin-harvest-crop-action-copy small{color:#98a2b3}
.dark .admin-harvest-log-warning{background:#3d2d12;color:#fdb022}
.dark .admin-harvest-log-closed{background:#1d2939;color:#98a2b3}
.dark .admin-harvest-image-manager-stage{border-color:#344054;background:#1d2939}
.dark .admin-harvest-image-manager-empty,.dark #harvest-log-image-manager-status{color:#d0d5dd}
.dark .admin-harvest-image-manager-empty strong{color:#f9fafb}
.dark .admin-harvest-destination-metrics,.dark .admin-harvest-batch-row{color:#d0d5dd}
.dark .admin-harvest-destination-metrics strong,.dark .admin-harvest-batch-row strong,.dark .admin-harvest-batch-history summary{color:#f2f4f7}
.dark .admin-harvest-batch-history{border-color:#344054}
.dark .admin-harvest-entry-form-slot,.dark .admin-harvest-entry-form-toolbar{border-color:#344054}
.dark .admin-harvest-entry-form-toolbar{background:rgba(16,24,40,.96)}
.dark .admin-harvest-entry-context{color:#98a2b3}
.dark .admin-harvest-entry-context strong{color:#f9fafb}
.dark .admin-harvest-entry-close{border-color:#475467;color:#d0d5dd}
.dark .admin-harvest-entry-close:hover{background:#1d2939}

/* Unified seed sales workspace */
.seed-sales-header-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.seed-sales-tabs{margin-top:1.25rem}
.seed-sales-product-cell{display:flex;align-items:flex-start;gap:.65rem;min-width:13rem}
.seed-sales-shortage-banner{display:flex;align-items:center;gap:.5rem;margin:0 1rem 1rem;border:1px solid #fecdca;border-radius:.65rem;background:#fef3f2;padding:.75rem 1rem;color:#b42318;font-size:.875rem;font-weight:600}
.seed-sales-coverage-meter{display:flex;min-width:9rem;align-items:center;gap:.65rem}
.seed-sales-coverage-track{height:.5rem;flex:1;overflow:hidden;border-radius:999px;background:#eaecf0}
.seed-sales-coverage-fill{display:block;height:100%;width:0;border-radius:inherit;transition:width .25s ease}
.seed-sales-coverage-fill-healthy{background:#12b76a}
.seed-sales-coverage-fill-shortage{background:#f79009}
.seed-sales-coverage-label{min-width:3.25rem;color:#475467;font-size:.75rem;font-weight:700;text-align:right}
.seed-sales-mini-progress{height:.3rem;width:8rem;max-width:100%;overflow:hidden;border-radius:999px;background:#eaecf0;margin:.3rem 0}
.seed-sales-mini-progress span{display:block;height:100%;width:0;border-radius:inherit;background:#6172f3}
.seed-sales-row-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.65rem}
@media (min-width:768px){
  .seed-sales-row-actions{display:inline-flex;flex-wrap:nowrap;gap:0;padding:6px;border:1px solid #e5e2dc;border-radius:.75rem;background:#faf9f6}
  .seed-sales-row-actions>:is(button,a){position:relative;width:3rem;height:3rem;padding:.75rem;border-radius:.5rem}
  .seed-sales-row-actions>:is(button,a)>i{font-size:1.125rem!important}
  .seed-sales-row-actions>:is(button,a)+:is(button,a)::before{position:absolute;content:"";left:0;top:50%;width:1px;height:1.25rem;transform:translateY(-50%);background:#e5e2dc}
  .seed-sales-row-actions>.admin-action-text-link-success:hover{background:#ecfdf3;color:#166534}
  .seed-sales-row-actions>.admin-icon-action-blue:hover{background:#eff6ff;color:#1e40af}
  .seed-sales-row-actions>.admin-action-text-link-danger:hover{background:#fef3f2;color:#991b1b}
  .dark .seed-sales-row-actions{background:#1d2939;border-color:#344054}
  .dark .seed-sales-row-actions>:is(button,a)+:is(button,a)::before{background:#344054}
  .dark .seed-sales-row-actions>.admin-action-text-link-success{color:#32d583}
  .dark .seed-sales-row-actions>.admin-icon-action-blue{color:#84adff}
  .dark .seed-sales-row-actions>.admin-action-text-link-danger{color:#f97066}
  .dark .seed-sales-row-actions>.admin-action-text-link-success:hover{background:#054f31;color:#75e0a7}
  .dark .seed-sales-row-actions>.admin-icon-action-blue:hover{background:#194185;color:#b2ccff}
  .dark .seed-sales-row-actions>.admin-action-text-link-danger:hover{background:#7a271a;color:#fda29b}
}
.seed-sales-status-filters{display:flex;max-width:100%;flex-wrap:wrap;align-items:center;gap:.5rem}
.seed-sales-status-filters>.admin-base-dropdown{flex:1 1 13rem;min-width:0;width:16rem;max-width:20rem}
.seed-sales-dialog-summary{display:flex;min-height:4rem;flex-direction:column;gap:.2rem;border:1px solid #d0d5dd;border-radius:.65rem;background:#f9fafb;padding:.75rem;color:#475467;font-size:.8rem}
.seed-sales-dialog-summary:empty{display:none}
.seed-sales-dialog-summary strong{color:#101828;font-size:.9rem}
.seed-sales-warning-panel{border-color:#fedf89;background:#fffaeb;color:#93370d}
@media (max-width:767.98px){
  .seed-sales-header-actions,.seed-sales-header-actions>*{width:100%}
  .seed-sales-header-actions .admin-action-button,.seed-sales-header-actions .admin-secondary-button{justify-content:center}
  .seed-sales-status-filters{width:100%;flex-direction:column}
  .seed-sales-status-filters>.admin-base-dropdown{flex:none;width:100%;max-width:none}
}

/* Harvest live Band operations board */
.admin-harvest-header-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.admin-harvest-band-report-page{box-sizing:border-box;width:100%;min-height:calc(100dvh - 4rem);background:#f7f4ed;padding:1.25rem clamp(1rem,2vw,2rem) 2rem}
.admin-live-report-modal{overflow:hidden}
.admin-live-report-modal>.admin-modal-frame{height:100vh;height:100dvh;min-height:0;padding:0}
.admin-live-report-dialog{height:100%;max-width:none;max-height:none;margin:0;border-radius:0;box-shadow:none;transform:none}
.admin-modal-body.admin-live-report-body{padding:0}
.admin-live-report-body>[data-harvest-report]{flex:1;min-height:0}
.admin-live-report-body .admin-harvest-band-report-page{min-height:100dvh;padding-top:max(1rem,env(safe-area-inset-top))}
.admin-live-report-body .admin-live-report-topbar{padding-right:3.5rem}
.admin-live-report-body>.admin-modal-close-button{position:fixed;top:max(.75rem,env(safe-area-inset-top));right:max(.75rem,env(safe-area-inset-right));z-index:3;background:#fff;border:1px solid #d0d5dd;color:#344054}
.admin-live-report-body>[data-harvest-report]>[data-report-status],.admin-live-report-body>[data-harvest-report]>button{margin:1.5rem;max-width:calc(100% - 5rem)}
.dark .admin-live-report-body>.admin-modal-close-button{background:#101828;border-color:#344054;color:#f2f4f7}
.admin-harvest-band-report-page:fullscreen,.admin-harvest-band-report-page.admin-live-report-css-fullscreen{min-height:100dvh;overflow:auto;background:#f7f4ed}
.admin-harvest-band-report-page.admin-live-report-css-fullscreen{position:fixed;inset:0;z-index:100200}
.admin-live-report-body-fullscreen{overflow:hidden}
.admin-harvest-band-report{display:flex;min-width:0;flex-direction:column;gap:1.75rem}
.admin-live-report-topbar{position:static;display:flex;min-height:3.25rem;align-items:center;justify-content:space-between;gap:1.25rem;margin-bottom:1.25rem;border-bottom:1px solid #e2ddd5;background:transparent;padding:0 0 1rem}
.admin-live-report-title-wrap{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:.55rem}
.admin-live-report-title{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin:0;color:#101828;font-size:1.35rem;font-weight:900;line-height:1.2}
.admin-live-report-legend{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem .85rem;margin:0;padding:0;color:#667085;font-size:.72rem;font-weight:750;line-height:1.2;list-style:none}
.admin-live-report-legend li{display:inline-flex;align-items:center;gap:.35rem}
.admin-live-report-legend-swatch{display:inline-block;width:.62rem;height:.62rem;flex:0 0 .62rem;border:1px solid currentColor;border-radius:999px;background:currentColor}
.admin-live-report-legend-swatch-pending{color:#98a2b3}
.admin-live-report-legend-swatch-allocated{color:#f59e0b}
.admin-live-report-legend-swatch-processed{color:#12b76a}
.admin-live-report-topbar-actions{display:flex;flex:0 0 auto;align-items:center;gap:.5rem}
.admin-live-report-topbar-actions .admin-action-button,.admin-live-report-topbar-actions .admin-secondary-button{min-height:2.75rem}
.admin-live-report-refresh-indicator{--admin-live-refresh-progress:100%;--admin-live-refresh-color:#12b76a;position:fixed;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));z-index:100;display:grid;width:3rem;height:3rem;place-items:center;margin:0;border-radius:999px;background:conic-gradient(var(--admin-live-refresh-color) var(--admin-live-refresh-progress),#d0d5dd 0);box-shadow:0 8px 24px rgba(16,24,40,.18);pointer-events:none}
.admin-live-report-refresh-indicator::before{position:absolute;inset:.28rem;border-radius:inherit;background:#fff;content:""}
.admin-live-report-refresh-countdown{position:relative;z-index:1;color:#344054;font-size:.8rem;font-weight:900;font-variant-numeric:tabular-nums}
.admin-live-report-refresh-indicator-refreshing{--admin-live-refresh-color:#6172f3}
.admin-live-report-refresh-indicator-paused{--admin-live-refresh-color:#f79009}
.admin-live-report-refresh-indicator-error{--admin-live-refresh-color:#f04438}
.admin-live-report-change-summary{position:fixed;right:max(1rem,env(safe-area-inset-right));bottom:max(5rem,calc(env(safe-area-inset-bottom) + 5rem));z-index:101;max-width:min(28rem,calc(100vw - 2rem));border:1px solid #d0d5dd;border-radius:999px;background:#fff;padding:.55rem .8rem;color:#344054;font-size:.75rem;font-weight:750;line-height:1.3;box-shadow:0 8px 24px rgba(16,24,40,.14);opacity:0;pointer-events:none;transform:translateY(.4rem);transition:opacity .18s ease,transform .18s ease}
.admin-live-report-change-summary.is-visible{opacity:1;transform:translateY(0)}
.admin-live-report-change-summary.hidden{display:none}
.admin-live-report-error{border:1px solid #fecdca;border-radius:.7rem;background:#fef3f2;padding:.55rem .7rem;color:#b42318;font-size:.8rem;font-weight:600}
.admin-live-report-error.hidden{display:none}
.admin-live-report-summary{display:grid;grid-template-columns:10rem minmax(0,1fr) minmax(13rem,.65fr);gap:0;overflow:hidden;border:1px solid #e2ddd5;border-radius:1rem;background:#fff;padding:0}
.admin-live-report-filters{overflow:hidden;border:1px solid #e2ddd5;border-radius:1rem;background:#fff}
.admin-live-report-filters .admin-live-report-period{min-width:0;padding:.75rem 1rem}
.admin-live-report-range-heading{display:none}
.admin-live-report-type-filter{display:grid;grid-auto-columns:minmax(0,1fr);grid-template-columns:repeat(auto-fit,minmax(min(100%,8.5rem),1fr));overflow:hidden;border:0;border-top:1px solid #e2ddd5;border-radius:0;background:transparent}
.admin-live-report-type-filter[hidden]{display:none!important}
.admin-live-report-type-filter-mobile{display:none}
.admin-live-report-type-filter-mobile[hidden]{display:none!important}
.admin-live-report-type-choice{display:flex;min-width:0;min-height:2.75rem;align-items:center;justify-content:center;gap:.625rem;border:0;border-right:1px solid #e2ddd5;background:#fff;padding:.7rem .9rem;color:#475467;font-size:.75rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}
.admin-live-report-type-choice:last-child{border-right:0}
.admin-live-report-type-choice:hover{background:#f7f4ed;color:#101828}
.admin-live-report-type-choice[aria-checked="true"]{background:#101828;color:#fff;box-shadow:inset 0 0 0 1px #101828}
.admin-live-report-type-choice:focus-visible{position:relative;z-index:1;outline:0;box-shadow:inset 0 0 0 2px #465fff,0 0 0 3px rgba(70,95,255,.2)}
.admin-live-report-type-choice-icon{display:flex;width:2.25rem;height:2.25rem;flex:0 0 2.25rem;align-items:center;justify-content:center;border-radius:.6rem;background:#f2f4f7;color:#475467}
.admin-live-report-type-choice[aria-checked="true"] .admin-live-report-type-choice-icon{background:rgba(255,255,255,.12);color:#fff}
.admin-live-report-type-choice[aria-checked="true"] .harvest-type-image-icon{filter:brightness(0) invert(1)}
.admin-live-report-type-choice-copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:.1rem}
.admin-live-report-type-choice-copy strong{font-size:.75rem;line-height:1.2;font-weight:800}
.admin-live-report-type-choice-count{color:#667085;font-size:.7rem;line-height:1.2;font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:0;text-transform:none}
.admin-live-report-type-choice[aria-checked="true"] .admin-live-report-type-choice-count{color:#d0d5dd}
.admin-live-report-stat{display:flex;min-height:4rem;flex-direction:column;justify-content:center;border:1px solid #e2ddd5;border-radius:.75rem;background:#fff;padding:.6rem .8rem;box-shadow:0 1px 2px rgba(41,37,36,.03)}
.admin-live-report-stat-value{color:#101828;font-size:1.15rem;line-height:1.1}
.admin-live-report-stat-label{margin-top:.15rem;color:#667085;font-size:.7rem;font-weight:700;letter-spacing:.025em;text-transform:uppercase}
.admin-live-report-section{min-width:0;margin-top:1.25rem;overflow:visible;border:0;border-radius:0;background:transparent}
.admin-live-report-board{min-width:0;background:transparent;padding:0}
.admin-live-report-job-total{display:inline-flex;min-height:1.9rem;align-items:center;justify-content:center;gap:.25rem;border-radius:999px;background:#eef4ff;padding:.3rem .55rem;color:#3538cd;font-size:.68rem;font-weight:800;text-transform:uppercase}
.admin-live-report-job-total strong{font-size:.82rem;line-height:1;font-variant-numeric:tabular-nums}
.admin-live-report-jobs{display:grid;max-height:none;min-height:10rem;grid-template-columns:repeat(var(--admin-live-report-active-lanes,3),minmax(0,1fr));gap:1.5rem;align-items:start;overflow-y:visible}
.admin-live-report-lane{display:flex;min-width:0;flex-direction:column;gap:1rem;border:0;border-radius:0;background:transparent;padding:0}
.admin-live-report-lane-header{display:flex;min-height:2.5rem;align-items:center;justify-content:space-between;gap:.75rem;border-bottom:1px solid #ded8cf;padding:.05rem 0 .75rem}
.admin-live-report-lane-heading{display:flex;min-width:0;align-items:center;gap:.75rem}
.admin-live-report-lane-icon{display:grid;width:4rem;height:4rem;flex:0 0 4rem;place-items:center;border-radius:1.1rem;background:#eef4ff}
.admin-live-report-lane-icon-image{display:block;width:3rem;height:3rem;object-fit:contain}
.admin-live-report-lane-title{margin:0;color:#101828;font-size:1.7rem;line-height:1.25;font-weight:800;overflow-wrap:anywhere}
.admin-live-report-lane-count{display:inline-flex;min-height:1.75rem;flex:0 0 auto;align-items:center;justify-content:center;gap:.25rem;border-radius:999px;background:#fff;padding:.25rem .5rem;color:#667085;font-size:.65rem;font-weight:800;letter-spacing:.02em;text-transform:uppercase;box-shadow:inset 0 0 0 1px #d0d5dd}
.admin-live-report-lane-count strong{color:#344054;font-size:.78rem;line-height:1;font-variant-numeric:tabular-nums}
.admin-live-report-lane-stack{display:flex;min-width:0;flex-direction:column;gap:1rem}
.admin-live-report-lane-empty{display:grid;min-height:8rem;place-items:center;margin:0;border:0;border-radius:0;background:transparent;padding:1.5rem .75rem;color:#667085;font-size:.78rem;line-height:1.4;text-align:center}
.admin-live-report-lane-empty-state{grid-column:1/-1;display:grid;min-height:0;grid-template-columns:minmax(0,max-content) minmax(0,1fr);align-items:center;gap:1rem;border-top:1px solid #ded8cf;padding:.75rem 0}
.admin-live-report-lane-empty-state .admin-live-report-lane-header{min-height:0;justify-content:flex-start;gap:.55rem;border:0;padding:0}
.admin-live-report-lane-empty-state .admin-live-report-lane-heading{gap:.55rem}
.admin-live-report-lane-empty-state .admin-live-report-lane-icon{width:2rem;height:2rem;flex-basis:2rem;border-radius:.55rem}
.admin-live-report-lane-empty-state .admin-live-report-lane-icon-image{width:1.5rem;height:1.5rem}
.admin-live-report-lane-empty-state .admin-live-report-lane-title{font-size:.95rem}
.admin-live-report-lane-empty-state .admin-live-report-lane-count{min-height:1.55rem;padding:.2rem .45rem}
.admin-live-report-lane-empty-state .admin-live-report-lane-stack{display:block}
.admin-live-report-lane-empty-state .admin-live-report-lane-empty{display:block;min-height:0;padding:0;text-align:left}
.admin-live-report-job{border:1px solid #ded8cf;border-radius:.875rem;background:#fff;padding:.9rem;box-shadow:0 2px 6px rgba(41,37,36,.04)}
.admin-live-report-job-closed{border-color:#98a2b3;background:#f2f4f7;box-shadow:inset 0 0 0 1px #d0d5dd}
.admin-live-report-job-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.admin-live-report-job-main{display:flex;min-width:0;align-items:flex-start;gap:.75rem}
.admin-live-report-job-identity{min-width:0}
.admin-live-report-job-title-row{display:flex;min-width:0;align-items:flex-start;gap:.4rem}
.admin-live-report-job-title{margin:0;color:#101828;font-size:1.7rem;line-height:1.2;font-weight:800;overflow-wrap:anywhere}
.admin-live-report-job-qty{margin:.15rem 0 0;color:#101828;font-size:1.7rem;line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.admin-live-report-job-title-lock{flex:0 0 auto;margin-top:.15rem;color:#475467;font-size:.85rem;line-height:1}
.admin-live-report-job-heading-status{display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-end;gap:.35rem}
.admin-live-report-job-closed-button{display:inline-flex;min-height:2.75rem;align-items:center;justify-content:center;gap:.35rem;border:1px solid #98a2b3;border-radius:999px;background:#e4e7ec;padding:.35rem .65rem;color:#475467;font-size:.75rem;font-weight:800;cursor:not-allowed;opacity:1}
.admin-live-report-job-closed-button-icon{font-size:.75rem;line-height:1}
.admin-live-report-job-meta,.admin-live-report-job-context,.admin-live-report-job-latest{margin:0;color:#667085;font-size:.75rem;line-height:1.4}
.admin-live-report-job-meta{margin-top:.2rem;color:#475467;font-weight:700}
.admin-live-report-job-context{margin-top:.3rem}
.admin-live-report-job-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;margin:.8rem 0 0}
.admin-live-report-job-progress-item{display:flex;min-width:0;align-items:baseline;gap:.3rem;border:1px solid #eaecf0;border-radius:.6rem;background:#f9fafb;padding:.45rem .55rem;color:#667085}
.admin-live-report-job-progress-item strong{color:#344054;font-size:.85rem;line-height:1;font-variant-numeric:tabular-nums}
.admin-live-report-job-progress-item span{overflow:hidden;font-size:.68rem;line-height:1.2;font-weight:700;letter-spacing:.02em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
.admin-live-report-job-progress-allocated{border-color:#f59e0b;background:#fffbeb;color:#92400e}
.admin-live-report-job-progress-processed{border-color:#abefc6;background:#f6fef9;color:#027a48}
.admin-live-report-job-progress-zero{border-color:#eaecf0;background:#f9fafb;color:#98a2b3}
.admin-live-report-job-progress-zero strong{color:#667085}
.admin-live-report-job-latest{margin-top:.85rem;border-top:1px solid #eaecf0;padding-top:.7rem}
.admin-live-report-crates{display:grid;grid-template-columns:repeat(auto-fill,minmax(2.75rem,1fr));gap:.5rem;margin:.85rem 0 0;padding:0;list-style:none}
.admin-live-report-crate{display:flex;min-width:2.75rem;min-height:2.75rem;overflow:hidden;flex-direction:column;align-items:center;justify-content:center;gap:.0625rem;border:2px solid #d0d5dd;border-radius:.65rem;background:#f2f4f7;color:#344054;font-size:.86rem;font-weight:900}
.admin-live-report-crate-button{display:flex;width:100%;min-height:2.5rem;appearance:none;flex-direction:column;align-items:center;justify-content:center;gap:.0625rem;border:0;border-radius:.45rem;background:transparent;padding:.15rem;color:inherit;font:inherit;cursor:pointer;transition:box-shadow .16s ease,background-color .16s ease}
.admin-live-report-crate-button:hover{background:rgba(255,255,255,.45);box-shadow:inset 0 0 0 1px currentColor}
.admin-live-report-crate-button:focus-visible{outline:3px solid #101828;outline-offset:-3px}
.admin-live-report-crate-number{line-height:.8rem}
.admin-live-report-crate-band{color:#2563eb;font-size:.625rem;line-height:.625rem;font-weight:800;letter-spacing:.015em}
.admin-live-report-crate-allocated{border-color:#f59e0b;background:#fffbeb;color:#92400e}
.admin-live-report-crate-processed{border-color:#12b76a;background:#dcfae6;color:#027a48}
.admin-live-report-crate-transition-added{animation:admin-live-crate-added .45s cubic-bezier(.22,1,.36,1) both}
.admin-live-report-crate-transition-allocated{animation:admin-live-crate-allocated .6s cubic-bezier(.22,1,.36,1) both}
.admin-live-report-crate-transition-unassigned{animation:admin-live-crate-unassigned .55s cubic-bezier(.22,1,.36,1) both}
.admin-live-report-crate-transition-processed{animation:admin-live-crate-processed .65s cubic-bezier(.22,1,.36,1) both}
.admin-live-report-crate-transition-changed{animation:admin-live-crate-changed .5s cubic-bezier(.22,1,.36,1) both}
.admin-live-report-crate-removing{pointer-events:none;transform-origin:center;animation:admin-live-crate-removed .7s cubic-bezier(.4,0,.2,1) both}
@keyframes admin-live-crate-added{0%{opacity:0;transform:scale(.72)}70%{opacity:1;transform:scale(1.08)}100%{opacity:1;transform:scale(1)}}
@keyframes admin-live-crate-allocated{0%{transform:scale(.82);box-shadow:0 0 0 0 rgba(245,158,11,.42)}55%{transform:scale(1.1);box-shadow:0 0 0 .45rem rgba(245,158,11,.16)}100%{transform:scale(1);box-shadow:0 0 0 0 rgba(245,158,11,0)}}
@keyframes admin-live-crate-unassigned{0%{transform:scale(1.08);box-shadow:0 0 0 .35rem rgba(245,158,11,.12)}50%{transform:scale(.88)}100%{transform:scale(1);box-shadow:0 0 0 0 rgba(245,158,11,0)}}
@keyframes admin-live-crate-processed{0%{transform:scale(.82);box-shadow:0 0 0 0 rgba(18,183,106,.45)}50%{transform:scale(1.12);box-shadow:0 0 0 .5rem rgba(18,183,106,.16)}100%{transform:scale(1);box-shadow:0 0 0 0 rgba(18,183,106,0)}}
@keyframes admin-live-crate-changed{0%{transform:scale(.9);box-shadow:0 0 0 .3rem rgba(247,144,9,.12)}100%{transform:scale(1);box-shadow:0 0 0 0 rgba(247,144,9,0)}}
@keyframes admin-live-crate-removed{0%{opacity:1;transform:scale(1)}35%{opacity:1;transform:scale(1.08)}100%{opacity:0;transform:scale(.28)}}
.admin-live-report-qr-modal-content{border:1px solid #ded8cf;background:#f7f4ed}
.admin-live-report-qr-modal-body{padding:1.25rem}
.admin-live-report-qr-dialog{display:grid;min-height:22rem;place-items:center}
.admin-live-report-qr-loading{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1rem;color:#475467;text-align:center}
.admin-live-report-qr-loading-icon{display:grid;width:5rem;height:5rem;place-items:center;border-radius:1.25rem;background:#fff;color:#344054;box-shadow:0 1px 3px rgba(16,24,40,.1)}
.admin-live-report-qr-loading p{margin:0;font-size:.85rem;font-weight:700}
.admin-live-report-qr-error{width:100%;border:1px solid #fecdca;border-radius:.75rem;background:#fef3f2;padding:1rem;color:#b42318;font-size:.85rem;font-weight:700;text-align:center}
.admin-live-report-qr-content{display:flex;width:100%;align-items:center;flex-direction:column;gap:1rem;margin:0;text-align:center}
.admin-live-report-qr-frame{display:grid;width:min(100%,22rem);place-items:center;border:1px solid #ded8cf;border-radius:1rem;background:#fff;padding:1rem;box-shadow:0 8px 24px rgba(16,24,40,.08)}
.admin-live-report-qr-frame img{display:block;width:min(100%,20rem);height:auto;aspect-ratio:1;object-fit:contain;image-rendering:pixelated}
.admin-live-report-qr-caption{display:flex;max-width:24rem;align-items:center;flex-direction:column;gap:.35rem;color:#667085;font-size:.78rem;line-height:1.45}
.admin-live-report-qr-caption strong{color:#101828;font-size:1.2rem;line-height:1.2;font-variant-numeric:tabular-nums}
.admin-live-report-empty{margin:0;border:1px dashed #d0d5dd;border-radius:.75rem;background:#f9fafb;padding:1rem;color:#667085;font-size:.85rem;text-align:center}

.admin-live-report-stat-total{border-color:#101828;background:#101828}
.admin-live-report-stat-total .admin-live-report-stat-value{color:#fff}
.admin-live-report-stat-total .admin-live-report-stat-label{color:#d0d5dd}
.admin-live-report-section{margin-top:.25rem}
.admin-live-report-table{overflow:hidden;border:1px solid #ded8cf;border-radius:1rem;background:#fff;box-shadow:0 10px 28px rgba(41,37,36,.05)}
.admin-live-report-table-caption{display:flex;min-height:4.5rem;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem}
.admin-live-report-table-caption-copy{min-width:0}
.admin-live-report-table-title{margin:0;color:#101828;font-size:1.05rem;font-weight:850;line-height:1.3}
.admin-live-report-table-description{margin:.2rem 0 0;color:#667085;font-size:.75rem;line-height:1.4}
.admin-live-report-table-total{flex:0 0 auto;color:#101828;font-size:.78rem;font-weight:800}
.admin-live-report-table-columns,.admin-live-report-job{display:grid;grid-template-columns:minmax(15rem,1.15fr) minmax(8rem,.55fr) minmax(0,2.3fr);gap:1.25rem;align-items:center}
.admin-live-report-table-columns{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.admin-live-report-table-column{color:#667085;font-size:.65rem;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
.admin-live-report-table-body{display:block}
.admin-live-report-job{min-height:6rem;border:0;border-radius:0;background:#fff;padding:.85rem 1.25rem;box-shadow:none}
.admin-live-report-job+.admin-live-report-job,.admin-live-report-empty-destination+.admin-live-report-job,.admin-live-report-job+.admin-live-report-empty-destination,.admin-live-report-table-body>.admin-live-report-job:first-child{border-top:1px solid #e4e7ec}
.admin-live-report-job-closed{border-color:#98a2b3;background:#f2f4f7;box-shadow:inset .2rem 0 0 #98a2b3}
.admin-live-report-job-destination{display:flex;min-width:0;align-items:center;gap:.65rem}
.admin-live-report-job-destination-icon{display:grid;width:2.5rem;height:2.5rem;flex:0 0 2.5rem;place-items:center;border-radius:.7rem;background:#eef4ff}
.admin-live-report-job-destination-icon img{display:block;width:2rem;height:2rem;object-fit:contain}
.admin-live-report-job-destination-copy{display:flex;min-width:0;flex-direction:column;gap:.12rem}
.admin-live-report-job-destination-copy strong{color:#101828;font-size:.82rem;line-height:1.25;overflow-wrap:anywhere}
.admin-live-report-job-destination-copy>span{color:#667085;font-size:.68rem;font-weight:650}
.admin-live-report-job-main{display:flex;min-width:0;align-items:flex-start;gap:.65rem;flex-wrap:wrap}
.admin-live-report-job-main .admin-live-report-job-identity{flex:1 1 8rem}
.admin-live-report-job-title,.admin-live-report-job-qty{font-size:1.7rem}
.admin-live-report-job-meta,.admin-live-report-job-context,.admin-live-report-job-latest{font-size:.68rem}
.admin-live-report-job-context{margin-top:.2rem}
.admin-live-report-job-closed-button{padding:.25rem .5rem;font-size:.68rem}
.admin-live-report-job-status{min-width:0}
.admin-live-report-job-progress{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:.4rem;margin:0}
.admin-live-report-job-progress-item{flex:0 1 auto;gap:.3rem;border:0;border-radius:0;background:transparent;padding:0}
.admin-live-report-job-progress-item::before{content:"●";font-size:.55rem}
.admin-live-report-job-progress-allocated::before{content:"◆"}
.admin-live-report-job-progress-processed::before{content:"✓"}
.admin-live-report-job-progress-zero:not(.admin-live-report-job-progress-created){display:none}
.admin-live-report-job-progress-item strong{font-size:.75rem}
.admin-live-report-job-progress-item span{font-size:.75rem;text-transform:none;letter-spacing:0;white-space:normal;overflow:visible}
.admin-live-report-crates{display:flex;min-width:0;flex-wrap:wrap;gap:.45rem;margin:0}
.admin-live-report-crates[data-band-label]::before{content:attr(data-band-label);flex:0 0 100%;color:#2563eb;font-size:.6875rem;font-weight:650;line-height:1.4}
.admin-live-report-crates-single-band .admin-live-report-crate-band{display:none}
.admin-live-report-crate{width:2.75rem;min-width:2.75rem;height:2.75rem;min-height:2.75rem;border-width:1px;border-radius:.5rem;font-size:.78rem;box-shadow:none}
.admin-live-report-crate-button{height:100%;min-height:100%;border-radius:inherit}
.admin-live-report-job-latest{margin:.45rem 0 0;border:0;padding:0;overflow-wrap:anywhere;font-size:.6875rem;line-height:1.45}
.admin-live-report-empty-destination{display:grid;grid-template-columns:minmax(15rem,1.15fr) minmax(0,2.85fr);gap:1.25rem;align-items:center;border-top:1px solid #e4e7ec;background:#fafafa;padding:.7rem 1.25rem}
.admin-live-report-empty-destination .admin-live-report-lane-empty{min-height:0;padding:0;text-align:left}
.dark .admin-harvest-band-report-page{background:#0c111d}
.dark .admin-live-report-job{border-color:#344054;background:#101828}
.dark .admin-live-report-section,.dark .admin-live-report-lane{border-color:transparent;background:transparent}
.dark .admin-live-report-lane-header{border-color:#344054}
.dark .admin-live-report-lane-icon{background:#344054}
.dark .admin-live-report-lane-title{color:#f9fafb}
.dark .admin-live-report-lane-count{background:#101828;color:#d0d5dd;box-shadow:inset 0 0 0 1px #475467}
.dark .admin-live-report-lane-count strong{color:#f2f4f7}
.dark .admin-live-report-lane-empty{border-color:transparent;background:transparent;color:#98a2b3}
.dark .admin-live-report-lane-empty-state{border-color:#344054}
.dark .admin-live-report-topbar,.dark .admin-live-report-board{background:transparent}
.dark .admin-live-report-summary{border-color:#344054;background:#101828}
.dark .admin-live-report-filters{border-color:#344054;background:#101828}
.dark .admin-live-report-type-filter{border-color:#344054;background:transparent}
.dark .admin-live-report-type-filter-mobile{border-color:#344054}
.dark .admin-live-report-type-filter-label{color:#f2f4f7}
.dark .admin-live-report-type-choice{border-color:#475467;background:#101828;color:#d0d5dd}
.dark .admin-live-report-type-choice:hover{background:#1d2939;color:#f9fafb}
.dark .admin-live-report-type-choice[aria-checked="true"]{background:#f9fafb;color:#101828;box-shadow:inset 0 0 0 1px #f9fafb}
.dark .admin-live-report-type-choice-icon{background:#1d2939;color:#d0d5dd}
.dark .admin-live-report-type-choice[aria-checked="true"] .admin-live-report-type-choice-icon{background:#eaecf0;color:#101828}
.dark .admin-live-report-type-choice .harvest-type-image-icon{filter:brightness(0) invert(1)}
.dark .admin-live-report-type-choice[aria-checked="true"] .harvest-type-image-icon{filter:brightness(0)}
.dark .admin-live-report-type-choice-count{color:#98a2b3}
.dark .admin-live-report-type-choice[aria-checked="true"] .admin-live-report-type-choice-count{color:#475467}
.dark .admin-live-report-job-closed{border-color:#667085;background:#1d2939;box-shadow:inset 0 0 0 1px #475467}
.dark .admin-live-report-topbar{border-color:#344054}
.dark .admin-live-report-title,.dark .admin-live-report-stat-value,.dark .admin-live-report-job-title,.dark .admin-live-report-job-qty{color:#f9fafb}
.dark .admin-live-report-legend{color:#d0d5dd}
.dark .admin-live-report-job-meta,.dark .admin-live-report-job-context,.dark .admin-live-report-job-latest{color:#98a2b3}
.dark .admin-live-report-refresh-indicator::before{background:#101828}
.dark .admin-live-report-refresh-countdown{color:#f9fafb}
.dark .admin-live-report-change-summary{border-color:#475467;background:#1d2939;color:#f2f4f7}
.dark .admin-live-report-stat,.dark .admin-live-report-empty{border-color:#344054;background:#1d2939}
.dark .admin-live-report-job-title-lock{color:#d0d5dd}
.dark .admin-live-report-job-closed-button{border-color:#667085;background:#344054;color:#d0d5dd}
.dark .admin-live-report-job-latest{border-color:#344054}
.dark .admin-live-report-job-progress-item{border-color:#344054;background:#1d2939;color:#98a2b3}
.dark .admin-live-report-job-progress-item strong{color:#f2f4f7}
.dark .admin-live-report-job-progress-allocated{border-color:#b54708;background:#4a2b0b;color:#fedf89}
.dark .admin-live-report-job-progress-processed{border-color:#027a48;background:#153d2e;color:#75e0a7}
.dark .admin-live-report-job-progress-zero{border-color:#344054;background:#1d2939;color:#98a2b3}
.dark .admin-live-report-job-progress-zero strong{color:#d0d5dd}
.dark .admin-live-report-crate{border-color:#475467;background:#344054;color:#f2f4f7}
.dark .admin-live-report-crate-band{color:#84caff}
.dark .admin-live-report-crate-allocated{border-color:#b54708;background:#4a2b0b;color:#fedf89}
.dark .admin-live-report-crate-processed{border-color:#12b76a;background:#153d2e;color:#75e0a7}
.dark .admin-live-report-crate-button:focus-visible{outline-color:#f9fafb}
.dark .admin-live-report-qr-modal-content{border-color:#344054;background:#101828}
.dark .admin-live-report-qr-loading{color:#d0d5dd}
.dark .admin-live-report-qr-loading-icon{background:#1d2939;color:#f2f4f7}
.dark .admin-live-report-qr-caption{color:#98a2b3}
.dark .admin-live-report-qr-caption strong{color:#f9fafb}
.dark .admin-live-report-table{border-color:#344054;background:#101828}
.dark .admin-live-report-table-title,.dark .admin-live-report-table-total,.dark .admin-live-report-job-destination-copy strong{color:#f9fafb}
.dark .admin-live-report-table-description,.dark .admin-live-report-job-destination-copy>span{color:#98a2b3}
.dark .admin-live-report-table-columns{border-color:#344054;background:#1d2939}
.dark .admin-live-report-table-column{color:#98a2b3}
.dark .admin-live-report-job+.admin-live-report-job,.dark .admin-live-report-empty-destination+.admin-live-report-job,.dark .admin-live-report-job+.admin-live-report-empty-destination{border-color:#344054}
.dark .admin-live-report-job-destination-icon{background:#344054}
.dark .admin-live-report-empty-destination{border-color:#344054;background:#1d2939}
.dark .admin-live-report-job-main,.dark .admin-live-report-job-status,.dark .admin-live-report-crates,.dark .admin-live-report-job-latest{border-color:#344054}
@media (prefers-reduced-motion:reduce){
  .admin-live-report-crate-button,.admin-live-report-change-summary{transition:none}
  .admin-live-report-crate-transition-added,.admin-live-report-crate-transition-allocated,.admin-live-report-crate-transition-unassigned,.admin-live-report-crate-transition-processed,.admin-live-report-crate-transition-changed,.admin-live-report-crate-removing{animation:none}
}
/* Refined harvesting overview: flat crate faces; dimensional styling is a separate review. */
.admin-live-report-title-wrap{min-width:0}
.admin-live-report-eyebrow{color:#667085;font-size:.6875rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.admin-live-report-eyebrow span{padding:0 .6rem;color:#98a2b3}
.admin-live-report-title{grid-column:1;margin:0;font-size:1.65rem;font-weight:800;letter-spacing:-.04em}

.admin-live-report-summary .admin-live-report-stat{min-height:0;border:0;border-radius:0;box-shadow:none}
.admin-live-report-summary .admin-live-report-stat-total{padding:1.25rem 1.4rem}
.admin-live-report-stat-total .admin-live-report-stat-value{margin:.25rem 0;font-size:2.65rem;font-weight:800;letter-spacing:-.04em;line-height:1.15}
.admin-live-report-stat-total .admin-live-report-stat-label{margin:0;font-size:.75rem;text-transform:none;letter-spacing:0}
.admin-live-report-stat-context{color:#d0d5dd;font-size:.6875rem;line-height:1.4}
.admin-live-report-overview-progress{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:1.3rem 1.5rem}
.admin-live-report-overview-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.4rem .75rem;color:#475467;font-size:.75rem}
.admin-live-report-progress-caption{color:#101828;font-weight:650}
.admin-live-report-progress-track{display:flex;height:.6rem;flex:0 0 .6rem;overflow:hidden;border-radius:999px;background:#f2f4f7;margin:1rem 0 .9rem}
.admin-live-report-progress-segment{height:100%;flex-shrink:0}
.admin-live-report-progress-pending{background:#98a2b3}
.admin-live-report-progress-allocated{background:#f59e0b}
.admin-live-report-progress-processed{background:#12b76a}
.admin-live-report-legend{gap:.5rem 1rem;font-size:.75rem;font-weight:500;line-height:1.4}
.admin-live-report-legend strong{font-weight:700}
.admin-live-report-legend-allocated{color:#92400e}
.admin-live-report-legend-processed{color:#027a48}
.admin-live-report-overview-bands{display:flex;min-width:0;flex-direction:column;justify-content:center;gap:.6rem;border-left:1px solid #e4e7ec;padding:1.25rem 1.4rem}
.admin-live-report-overview-bands>.admin-live-report-stat-label{margin:0;font-size:.75rem;font-weight:500;text-transform:none;letter-spacing:0}
.admin-live-report-daily-values{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem}
.admin-live-report-daily-values .admin-live-report-stat{gap:.2rem;background:transparent;padding:0}
.admin-live-report-daily-values .admin-live-report-stat-label{margin:0;color:#2563eb;font-size:.6875rem}
.admin-live-report-daily-values .admin-live-report-stat-value{font-size:1.35rem;font-weight:750;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.admin-live-report-active-bands{color:#667085;font-size:.6875rem}
.admin-live-report-job-progress-item strong{color:inherit}
.admin-live-report-job-progress-allocated,.admin-live-report-job-progress-processed,.admin-live-report-job-progress-zero{background:transparent}
.dark .admin-live-report-overview-heading,.dark .admin-live-report-eyebrow,.dark .admin-live-report-active-bands{color:#98a2b3}
.dark .admin-live-report-progress-caption{color:#f9fafb}
.dark .admin-live-report-progress-track{background:#344054}
.dark .admin-live-report-overview-bands{border-color:#344054}
.dark .admin-live-report-summary .admin-live-report-stat-total{background:#0c111d}
.dark .admin-live-report-daily-values .admin-live-report-stat{background:transparent}
.dark .admin-live-report-overview-bands>.admin-live-report-stat-label{color:#98a2b3}
.dark .admin-live-report-daily-values .admin-live-report-stat-label,.dark .admin-live-report-crates[data-band-label]::before{color:#84caff}
.dark .admin-live-report-legend-allocated{color:#fedf89}
.dark .admin-live-report-legend-processed{color:#75e0a7}
.dark .admin-live-report-job-progress-item{border:0;background:transparent}
.dark .admin-live-report-job-progress-item strong{color:inherit}
@media (max-width:1023.98px){
  .admin-live-report-summary{grid-template-columns:8.5rem minmax(0,1fr)}
  .admin-live-report-overview-bands{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:.75rem 1.25rem;border-left:0;border-top:1px solid #e4e7ec;padding:1rem 1.25rem}
  .admin-live-report-daily-values .admin-live-report-stat{flex-direction:row;align-items:baseline;gap:.5rem}
  .admin-live-report-table-columns,.admin-live-report-job{grid-template-columns:minmax(12rem,1fr) minmax(7.5rem,.55fr) minmax(0,1.55fr);gap:1rem}
}
@media (max-width:767.98px){
  .admin-harvest-header-actions,.admin-harvest-header-actions>*{width:100%}
  .admin-harvest-header-actions .admin-action-button,.admin-harvest-header-actions .admin-secondary-button{justify-content:center}
  .admin-harvest-reports-menu,.admin-harvest-reports-trigger{width:100%}
  .admin-harvest-reports-options{width:100%}
  .admin-harvest-band-report-page{padding:1rem .75rem 4.5rem}
  .admin-live-report-title{font-size:1.35rem}
  .admin-live-report-summary{grid-template-columns:7rem minmax(0,1fr)}
  .admin-live-report-summary .admin-live-report-stat-total{padding:1.15rem 1rem}
  .admin-live-report-overview-progress{padding:1.15rem 1rem}
  .admin-live-report-overview-bands{padding:1rem}
  .admin-live-report-overview-heading{font-size:.6875rem}
  .admin-live-report-legend{font-size:.6875rem;gap:.4rem .7rem}
  .admin-live-report-type-choice{min-height:4.5rem;flex-direction:column;gap:.35rem;padding:.55rem .35rem;font-size:.675rem;line-height:.875rem;text-align:center}
  .admin-live-report-type-choice-icon{width:2rem;height:2rem;flex-basis:2rem}
  .admin-live-report-type-choice-copy{align-items:center}
  .admin-live-report-table-caption{align-items:flex-start;flex-direction:column;padding:1rem}
  .admin-live-report-table-total{align-self:flex-start}
  .admin-live-report-table-columns{display:none}
  .admin-live-report-job{grid-template-columns:minmax(0,1fr) minmax(6.5rem,.6fr);gap:1rem;padding:1rem;align-items:start}
  .admin-live-report-job-main{grid-column:1;gap:.5rem}
  .admin-live-report-job-main .admin-live-report-job-destination-icon{width:2rem;height:2rem;flex-basis:2rem}
  .admin-live-report-job-main .admin-live-report-job-destination-icon img{width:1.5rem;height:1.5rem}
  .admin-live-report-job-main .admin-live-report-job-identity{flex-basis:100%}
  .admin-live-report-job-status{grid-column:2;padding-top:.3rem}
  .admin-live-report-job-progress-item span{font-size:.6875rem}
  .admin-live-report-crates{grid-column:1/-1}
  .admin-live-report-empty-destination{grid-template-columns:minmax(0,1fr);gap:.45rem;padding:.85rem 1rem}
}
@media (max-width:359.98px){
  .admin-live-report-summary{grid-template-columns:6rem minmax(0,1fr)}
  .admin-live-report-summary .admin-live-report-stat-total,.admin-live-report-overview-progress{padding:1rem .75rem}
  .admin-live-report-job{grid-template-columns:minmax(0,1fr)}
  .admin-live-report-job-main,.admin-live-report-job-status{grid-column:1}
}
.admin-live-report-harvest-image{position:relative;display:block;width:4.5rem;height:4.5rem;min-width:4.5rem;overflow:hidden;border:1px solid #d0d5dd;border-radius:.75rem;background:#f2f4f7;padding:0;cursor:pointer}
.admin-live-report-harvest-image-thumb{display:block;width:100%;height:100%;object-fit:cover}
.admin-live-report-harvest-image-expand{position:absolute;right:.25rem;bottom:.25rem;display:grid;width:1.5rem;height:1.5rem;place-items:center;border-radius:.4rem;background:rgba(16,24,40,.82);color:#fff;font-size:.65rem}
.admin-live-report-harvest-image:focus-visible{outline:3px solid #465fff;outline-offset:2px}
.admin-live-report-job-destination-icon-overlay{position:absolute;left:.25rem;bottom:.25rem;width:1.5rem;height:1.5rem;min-width:1.5rem;flex-basis:1.5rem;border:1px solid rgba(255,255,255,.8);border-radius:.4rem;background:rgba(255,255,255,.9)}
.admin-live-report-job-destination-icon-overlay img{width:1.1rem;height:1.1rem}
.admin-live-report-crate-cell{display:flex;min-width:0;flex-direction:column;align-items:stretch;gap:.65rem}
.admin-live-report-view-all-crates{display:grid;min-height:2.75rem;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.25rem .6rem;border:1px solid #d0d5dd;border-radius:.6rem;background:#fff;padding:.45rem .7rem;color:#344054;text-align:left}
.admin-live-report-view-all-crates:hover{border-color:#98a2b3;background:#f9fafb}
.admin-live-report-view-all-crates:focus-visible{outline:3px solid #465fff;outline-offset:2px}
.admin-live-report-view-all-crates strong{overflow:hidden;font-size:.75rem;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.admin-live-report-view-all-crates span{color:#667085;font-size:.6875rem;white-space:nowrap}
.admin-live-report-view-all-crates i{font-size:.75rem}
.admin-live-report-image-fullscreen-modal{overflow:hidden;background:rgba(12,17,29,.96)}
.admin-live-report-image-fullscreen-shell{height:100dvh;min-height:100dvh;padding:0}
.admin-live-report-image-fullscreen-dialog{height:100dvh;max-height:100dvh!important;max-width:none!important;border-radius:0;background:#0c111d;color:#fff;box-shadow:none}
.admin-modal-body.admin-live-report-image-fullscreen-body{position:relative;display:flex;flex:1 1 auto;align-items:center;justify-content:center;overflow:hidden;background:#0c111d;padding:4.75rem 1rem 1rem}
.admin-live-report-image-fullscreen-title{position:absolute;top:1.4rem;left:1rem;z-index:2;max-width:calc(100% - 5rem);margin:0;color:#fff;font-size:1.125rem;line-height:1.5rem;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-live-report-image-fullscreen-preview{display:block;width:auto;max-width:100%;height:auto;max-height:calc(100dvh - 6rem);border-radius:.75rem;object-fit:contain}
.admin-live-report-image-fullscreen-body .admin-modal-close-button{top:1rem;right:1rem;background:rgba(255,255,255,.12);color:#fff}
.admin-live-report-image-fullscreen-body .admin-modal-close-button:hover{background:rgba(255,255,255,.2);color:#fff}
.admin-live-report-crate-explorer-modal .admin-modal-frame{display:flex;min-height:100%;align-items:center;justify-content:center;padding:1rem}
.admin-live-report-crate-explorer-dialog{position:relative;isolation:isolate;display:flex;width:min(82rem,calc(100vw - 2rem));max-width:82rem!important;height:min(94dvh,64rem);max-height:min(94dvh,64rem)!important;flex-direction:column;overflow:hidden;border:1px solid rgba(148,163,184,.32);border-radius:1.25rem;background:#fff;box-shadow:0 2rem 5rem rgba(15,23,42,.24),0 .5rem 1.5rem rgba(15,23,42,.12);transform-origin:50% 78%;transform-style:preserve-3d}
.admin-live-report-crate-explorer-dialog::before{position:absolute;inset:0 0 auto;z-index:3;height:3px;background:linear-gradient(90deg,#0f172a 0%,#344054 38%,#16a34a 72%,#f59e0b 100%);content:"";pointer-events:none}
.admin-modal-body.admin-live-report-crate-explorer-body{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;overflow:hidden;padding:0;background:#fff}
#harvest-live-report-crate-explorer-modal-title{display:flex;min-height:4.75rem;flex:0 0 auto;align-items:center;margin:0;border-bottom:1px solid #e4e7ec;background:linear-gradient(145deg,#fff 20%,#f8fafc 100%);padding:1.15rem 5rem 1rem 1.25rem;color:#101828;font-size:1.15rem;line-height:1.35;font-weight:800;letter-spacing:-.015em;overflow-wrap:anywhere}
.admin-live-report-crate-explorer-dialog .admin-modal-close-button{top:1rem;right:1rem;width:2.75rem;height:2.75rem;border:1px solid #e4e7ec;background:rgba(255,255,255,.9);color:#475467;box-shadow:0 .4rem 1rem rgba(15,23,42,.1);backdrop-filter:blur(10px);transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease}
.admin-live-report-crate-explorer-dialog .admin-modal-close-button:hover{background:#f2f4f7;color:#101828;box-shadow:0 .55rem 1.25rem rgba(15,23,42,.14);transform:translateY(-1px) rotate(2deg)}
.admin-live-report-crate-explorer{display:flex;min-height:0;flex:1 1 auto;flex-direction:column}
.admin-live-report-crate-explorer-toolbar{display:grid;flex:0 0 auto;grid-template-columns:minmax(0,1fr) minmax(16rem,21rem);align-items:center;gap:.75rem;border-bottom:1px solid #e4e7ec;background:rgba(255,255,255,.96);padding:.9rem 1.25rem}
.admin-live-report-crate-filters{display:grid;min-width:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem}
.admin-live-report-crate-filter{display:inline-flex;min-width:0;min-height:3rem;align-items:center;justify-content:center;gap:.4rem;border:1px solid #d0d5dd;border-radius:.75rem;background:linear-gradient(180deg,#fff,#f9fafb);padding:.5rem .7rem;color:#475467;font-size:.78rem;font-weight:750;box-shadow:0 1px 2px rgba(15,23,42,.04);transition:border-color .18s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}
.admin-live-report-crate-filter strong{font-variant-numeric:tabular-nums}
.admin-live-report-crate-filter:hover{border-color:#98a2b3;background:#fff;color:#1d2939;transform:translateY(-1px)}
.admin-live-report-crate-filter[aria-checked="true"]{border-color:#101828;background:linear-gradient(145deg,#101828,#1d2939);color:#fff;box-shadow:0 .4rem .9rem rgba(15,23,42,.2),inset 0 1px rgba(255,255,255,.12)}
.admin-live-report-crate-filter:focus-visible{outline:3px solid #465fff;outline-offset:2px}
.admin-live-report-crate-search-wrap{position:relative;width:100%}
.admin-live-report-crate-search-wrap i{position:absolute;top:50%;left:.9rem;color:#667085;font-size:.85rem;transform:translateY(-50%);pointer-events:none}
.admin-live-report-crate-search{width:100%;min-height:3rem;border:1px solid #d0d5dd;border-radius:.75rem;background:#fff;padding:.6rem .9rem .6rem 2.55rem;color:#101828;font-size:.82rem;box-shadow:inset 0 1px 2px rgba(15,23,42,.03);transition:border-color .18s ease,box-shadow .18s ease}
.admin-live-report-crate-search:focus{border-color:#465fff;outline:0;box-shadow:0 0 0 3px rgba(70,95,255,.16),0 .4rem 1rem rgba(15,23,42,.06)}
.admin-live-report-crate-explorer-summary{display:flex;min-height:2.75rem;flex:0 0 auto;align-items:center;gap:.5rem;margin:0;border-bottom:1px solid #e4e7ec;background:#fbfcfe;padding:.65rem 1.25rem;color:#475467;font-size:.78rem;font-weight:750;font-variant-numeric:tabular-nums}
.admin-live-report-crate-explorer-summary::before{width:.5rem;height:.5rem;flex:0 0 auto;border-radius:9999px;background:#16a34a;box-shadow:0 0 0 4px rgba(22,163,74,.12);content:""}
.admin-live-report-crates.admin-live-report-crate-explorer-list{display:grid;min-height:0;flex:1 1 auto;grid-template-columns:repeat(auto-fill,3.5rem);grid-auto-rows:minmax(3.5rem,auto);align-content:start;justify-content:center;gap:.85rem .75rem;margin:0;overflow-y:auto;overscroll-behavior:contain;padding:1.25rem clamp(1rem,3vw,2rem) 2rem;background:radial-gradient(circle at 20% 0%,rgba(22,163,74,.07),transparent 22rem),radial-gradient(circle at 100% 20%,rgba(245,158,11,.07),transparent 24rem),#fff;perspective:900px;scrollbar-gutter:stable both-edges}
.admin-live-report-crate-explorer-list[data-band-label]::before{grid-column:1/-1}
.admin-live-report-crate-explorer-list>.admin-live-report-crate{transform-style:preserve-3d}
.admin-live-report-crate-explorer-list .admin-live-report-crate-button{transform-origin:50% 78%;transform-style:preserve-3d;transition:transform .28s cubic-bezier(.2,.8,.2,1),filter .28s ease}
.admin-live-report-crate-explorer-list .admin-live-report-crate-button::after{position:absolute;inset:.15rem .1rem .8rem;z-index:2;border-radius:.35rem;background:linear-gradient(110deg,transparent 22%,rgba(255,255,255,.72) 48%,transparent 68%);content:"";opacity:0;transform:translateX(-48%) skewX(-12deg);transition:opacity .24s ease,transform .42s cubic-bezier(.2,.8,.2,1);pointer-events:none}
.admin-live-report-crate-explorer-list .admin-packaging-shadow{transform-box:fill-box;transform-origin:center;transition:opacity .28s ease,transform .28s ease}
@media(hover:hover){
 .admin-live-report-crate-explorer-list .admin-live-report-crate-button:hover,.admin-live-report-crate-explorer-list .admin-live-report-crate-button:focus-visible{filter:drop-shadow(0 .75rem .45rem rgba(15,23,42,.16));transform:translate3d(0,-.35rem,1rem) rotateX(8deg) rotateY(-5deg) scale(1.055)}
 .admin-live-report-crate-explorer-list .admin-live-report-crate-button:hover::after,.admin-live-report-crate-explorer-list .admin-live-report-crate-button:focus-visible::after{opacity:.65;transform:translateX(48%) skewX(-12deg)}
 .admin-live-report-crate-explorer-list .admin-live-report-crate-button:hover .admin-packaging-shadow,.admin-live-report-crate-explorer-list .admin-live-report-crate-button:focus-visible .admin-packaging-shadow{opacity:.72;transform:translateY(3px) scaleX(1.14)}
}
.admin-live-report-crate-explorer-list .admin-live-report-crate-button:active{filter:drop-shadow(0 .25rem .2rem rgba(15,23,42,.12));transform:translate3d(0,-.05rem,0) rotateX(-4deg) scale(.97)}
.admin-live-report-crate-explorer-modal:not(.hidden) .admin-live-report-crate-explorer-dialog{animation:admin-live-report-crate-explorer-dialog-in .42s cubic-bezier(.16,1,.3,1) both}
.admin-live-report-crate-explorer-modal:not(.hidden) .admin-live-report-crate-explorer-list>.admin-live-report-crate{animation:admin-live-report-crate-explorer-arrive .58s cubic-bezier(.16,1,.3,1) both;animation-delay:var(--crate-explorer-delay,0ms)}
@keyframes admin-live-report-crate-explorer-dialog-in{from{opacity:0;transform:translateY(1.25rem) rotateX(-7deg) scale(.965)}to{opacity:1;transform:translateY(0) rotateX(0) scale(1)}}
@keyframes admin-live-report-crate-explorer-arrive{from{opacity:0;filter:blur(2px);transform:translate3d(0,1.1rem,-2rem) rotateX(-18deg) rotateY(8deg) scale(.86)}to{opacity:1;filter:blur(0);transform:translate3d(0,0,0) rotateX(0) rotateY(0) scale(1)}}
.admin-live-report-crate-explorer-empty{margin:auto;border:1px dashed #cbd5e1;border-radius:1rem;background:#f8fafc;padding:2rem;color:#667085;font-size:.85rem;text-align:center}
.admin-live-report-crate-explorer-empty.hidden{display:none}
.dark .admin-live-report-crate-explorer-dialog,.dark .admin-modal-body.admin-live-report-crate-explorer-body{border-color:#344054;background:#101828}
.dark #harvest-live-report-crate-explorer-modal-title{border-color:#344054;background:linear-gradient(145deg,#101828,#1d2939);color:#f9fafb}
.dark .admin-live-report-crate-explorer-dialog .admin-modal-close-button{border-color:#475467;background:rgba(52,64,84,.92);color:#f2f4f7}
.dark .admin-live-report-crate-explorer-toolbar{border-color:#344054;background:rgba(16,24,40,.96)}
.dark .admin-live-report-crate-filter{border-color:#475467;background:#1d2939;color:#d0d5dd}
.dark .admin-live-report-crate-filter[aria-checked="true"]{border-color:#f2f4f7;background:#f2f4f7;color:#101828}
.dark .admin-live-report-crate-search{border-color:#475467;background:#1d2939;color:#f2f4f7}
.dark .admin-live-report-crate-explorer-summary{border-color:#344054;background:#182230;color:#d0d5dd}
.dark .admin-live-report-crates.admin-live-report-crate-explorer-list{background:radial-gradient(circle at 20% 0%,rgba(34,197,94,.1),transparent 22rem),radial-gradient(circle at 100% 20%,rgba(245,158,11,.09),transparent 24rem),#101828}
.dark .admin-live-report-crate-explorer-empty{border-color:#475467;background:#1d2939;color:#d0d5dd}
.dark .admin-live-report-harvest-image{border-color:#475467;background:#344054}
.dark .admin-live-report-job-destination-icon-overlay{border-color:#475467;background:rgba(29,41,57,.92)}
.dark .admin-live-report-view-all-crates,.dark .admin-live-report-crate-filter,.dark .admin-live-report-crate-search{border-color:#475467;background:#101828;color:#f2f4f7}
.dark .admin-live-report-view-all-crates:hover{border-color:#667085;background:#1d2939}
.dark .admin-live-report-view-all-crates span,.dark .admin-live-report-crate-search-wrap i,.dark .admin-live-report-crate-explorer-summary,.dark .admin-live-report-crate-explorer-empty{color:#98a2b3}
.dark .admin-live-report-crate-explorer-toolbar,.dark .admin-live-report-crate-explorer-summary{border-color:#344054}
.dark .admin-live-report-crate-filter[aria-checked="true"]{border-color:#f9fafb;background:#f9fafb;color:#101828}
@media (max-width:767.98px){
  .admin-live-report-harvest-image{width:3.75rem;height:3.75rem;min-width:3.75rem}
  .admin-live-report-crate-cell{grid-column:1/-1}
 .admin-live-report-crate-explorer-modal .admin-modal-frame{padding:max(.375rem,env(safe-area-inset-top)) max(.375rem,env(safe-area-inset-right)) max(.375rem,env(safe-area-inset-bottom)) max(.375rem,env(safe-area-inset-left))}
 .admin-live-report-crate-explorer-dialog{width:calc(100vw - .75rem);height:calc(100dvh - .75rem);max-height:calc(100dvh - .75rem)!important;border-radius:1rem}
 #harvest-live-report-crate-explorer-modal-title{min-height:4.25rem;padding:.95rem 4.5rem .85rem 1rem;font-size:1rem}
 .admin-live-report-crate-explorer-dialog .admin-modal-close-button{top:.75rem;right:.75rem}
 .admin-live-report-crate-explorer-toolbar{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:.7rem;padding:.8rem}
 .admin-live-report-crate-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-live-report-crate-filter{width:100%}
 .admin-live-report-crate-explorer-summary{min-height:2.65rem;padding:.6rem 1rem}
 .admin-live-report-crates.admin-live-report-crate-explorer-list{gap:.8rem .7rem;padding:1rem .75rem 1.5rem;scrollbar-gutter:auto}
}
@media(prefers-reduced-motion:reduce){
 .admin-live-report-crate-explorer-modal:not(.hidden) .admin-live-report-crate-explorer-dialog,.admin-live-report-crate-explorer-modal:not(.hidden) .admin-live-report-crate-explorer-list>.admin-live-report-crate{animation:none}
 .admin-live-report-crate-explorer-dialog .admin-modal-close-button,.admin-live-report-crate-filter,.admin-live-report-crate-search,.admin-live-report-crate-explorer-list .admin-live-report-crate-button,.admin-live-report-crate-explorer-list .admin-live-report-crate-button::after,.admin-live-report-crate-explorer-list .admin-packaging-shadow{transition:none}
 .admin-live-report-crate-explorer-dialog .admin-modal-close-button:hover,.admin-live-report-crate-filter:hover,.admin-live-report-crate-explorer-list .admin-live-report-crate-button:hover,.admin-live-report-crate-explorer-list .admin-live-report-crate-button:focus-visible,.admin-live-report-crate-explorer-list .admin-live-report-crate-button:active{filter:none;transform:none}
}
/* Packaging silhouettes retain native QR targets and status semantics. */
/* Full-width batch ribbons: metadata above two width-budgeted crate rows. */
.admin-live-report-job.admin-live-report-job-ribbon{grid-template-columns:minmax(0,1fr) minmax(15rem,.6fr);align-items:start;gap:.65rem 1.25rem;padding:.85rem 1.25rem}
.admin-live-report-job-ribbon .admin-live-report-job-main{grid-column:1;flex-wrap:nowrap;gap:.65rem}
.admin-live-report-job-ribbon .admin-live-report-job-identity{display:flex;min-width:0;align-items:baseline;flex-wrap:wrap;gap:.15rem .5rem}
.admin-live-report-job-ribbon .admin-live-report-job-title-row{flex:0 0 100%;align-items:baseline;flex-wrap:wrap;gap:.35rem .65rem}
.admin-live-report-job-ribbon .admin-live-report-job-title{font-size:1.2rem;line-height:1.35}
.admin-live-report-job-ribbon .admin-live-report-job-qty{margin:0;font-size:.875rem;line-height:1.4;font-weight:700;color:#475467}
.admin-live-report-job-ribbon .admin-live-report-job-meta,.admin-live-report-job-ribbon .admin-live-report-job-context{margin:0;font-size:.75rem;line-height:1.5}
.admin-live-report-job-ribbon .admin-live-report-job-meta{flex:0 0 auto}
.admin-live-report-job-ribbon .admin-live-report-job-context{min-width:0;overflow-wrap:anywhere}
.admin-live-report-job-ribbon .admin-live-report-job-status{grid-column:2;padding:0;text-align:right}
.admin-live-report-job-ribbon .admin-live-report-job-progress{flex-direction:row;justify-content:flex-end;flex-wrap:wrap;gap:.35rem .85rem}
.admin-live-report-job-ribbon .admin-live-report-job-latest{margin:.3rem 0 0;font-size:.75rem;line-height:1.5}
.admin-live-report-job-ribbon .admin-live-report-crate-cell{grid-column:1/-1;gap:.15rem}
.admin-live-report-job-ribbon .admin-live-report-crates{gap:.5rem}
.admin-live-report-job-ribbon .admin-live-report-view-all-crates{align-self:flex-start;min-height:2.75rem;grid-template-columns:auto auto auto;gap:.65rem;border-color:transparent;background:transparent;padding:.25rem .15rem;color:#344054}
.admin-live-report-job-ribbon .admin-live-report-view-all-crates:hover{color:#465fff;background:#f9fafb}
.admin-live-report-job-ribbon .admin-live-report-harvest-image{width:3.5rem;height:3.5rem;min-width:3.5rem;flex-shrink:0}
.dark .admin-live-report-job-ribbon .admin-live-report-job-qty,.dark .admin-live-report-job-ribbon .admin-live-report-view-all-crates{color:#d0d5dd}
.dark .admin-live-report-job-ribbon .admin-live-report-view-all-crates:hover{color:#b2ccff;background:#1d2939}
@media(max-width:767.98px){
 .admin-live-report-job.admin-live-report-job-ribbon{grid-template-columns:minmax(0,1fr);gap:.5rem;padding:.75rem 1rem}
 .admin-live-report-job-ribbon .admin-live-report-job-status{grid-column:1;text-align:left}
 .admin-live-report-job-ribbon .admin-live-report-job-progress{justify-content:flex-start}
 .admin-live-report-job-ribbon .admin-live-report-job-title{font-size:1.05rem}
 .admin-live-report-job-ribbon .admin-live-report-job-progress-item span{font-size:.75rem}
 .admin-live-report-job-ribbon .admin-live-report-view-all-crates{max-width:100%;grid-template-columns:minmax(0,1fr) auto auto}
}
/* One packaging family across controls, tables, actions and operational units. */
.admin-packaging-icon{display:inline-block;flex-shrink:0;vertical-align:middle;overflow:visible;pointer-events:none}
.admin-packaging-icon path{stroke:var(--package-stroke,currentColor);stroke-width:1.15;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.admin-packaging-face{fill:var(--package-face,color-mix(in srgb,currentColor 6%,transparent))}
.admin-packaging-top{fill:var(--package-top,color-mix(in srgb,currentColor 12%,transparent))}
.admin-packaging-side{fill:var(--package-side,color-mix(in srgb,currentColor 23%,transparent))}
.admin-packaging-cue,.admin-packaging-detail,.admin-packaging-loops{fill:none}
.admin-packaging-detail{opacity:.35}
.admin-packaging-shadow{fill:#101828;opacity:.09}
.admin-packaging-icon-small .admin-packaging-detail,.admin-packaging-icon-small .admin-packaging-shadow,.admin-packaging-icon-action .admin-packaging-detail,.admin-packaging-icon-action .admin-packaging-shadow{display:none}
.admin-packaging-icon-action path{fill:none;stroke:currentColor}
.admin-packaging-caption,.admin-processing-packaging-heading{display:inline-flex;align-items:center;gap:.5rem}
.admin-processing-packaging-heading{color:#667085;font-size:.75rem;font-weight:600;margin-bottom:.5rem}
.dark .admin-processing-packaging-heading{color:#98a2b3}
.admin-processing-package-unit{--package-stroke:#98a2b3;--package-face:#f2f4f7;--package-side:#d0d5dd;--package-top:#e4e7ec;--package-ink:#344054;position:relative;min-height:4.25rem;border:0;background:transparent;color:var(--package-ink);box-shadow:none}
.admin-processing-package-unit.admin-processing-crate-cell-assigned{--package-stroke:#e99b11;--package-face:#fffbeb;--package-side:#fedf89;--package-top:#fef0c7;--package-ink:#92400e}
.admin-processing-package-unit.admin-processing-crate-cell-processed{--package-stroke:#12b76a;--package-face:#ecfdf3;--package-side:#a6f4c5;--package-top:#d1fadf;--package-ink:#027a48}
.admin-processing-package-unit>.admin-packaging-icon{position:absolute;top:0;left:50%;transform:translateX(-50%);width:3.5rem;height:3.5rem}
.admin-processing-package-unit>.admin-processing-crate-number{position:absolute;top:1.35rem;left:calc(50% - 2px);transform:translateX(-50%);border-radius:2px;background:var(--package-face);padding:.08rem .1rem;font-size:.8rem;line-height:1rem;font-variant-numeric:tabular-nums}
.admin-processing-package-unit>.admin-processing-crate-band{position:absolute;bottom:.15rem}
.dark .admin-processing-package-unit{--package-stroke:#98a2b3;--package-face:#344054;--package-side:#1d2939;--package-top:#475467;--package-ink:#f2f4f7;background:transparent}
.dark .admin-processing-package-unit.admin-processing-crate-cell-assigned{--package-stroke:#fdb022;--package-face:#4a2b0b;--package-side:#713b12;--package-top:#93370d;--package-ink:#fedf89}
.dark .admin-processing-package-unit.admin-processing-crate-cell-processed{--package-stroke:#32d583;--package-face:#153d2e;--package-side:#085d3a;--package-top:#067647;--package-ink:#a6f4c5}
.admin-live-report-crate[data-packaging-type]{--package-stroke:#98a2b3;--package-face:#f2f4f7;--package-side:#d0d5dd;--package-top:#e4e7ec;--package-ink:#344054;width:3.5rem;min-width:3.5rem;height:4.25rem;min-height:4.25rem;overflow:visible;border:0;background:transparent;color:var(--package-ink);box-shadow:none}
.admin-live-report-bulk{--package-stroke:#b7791f;--package-face:#fef3c7;--package-side:#e9c46a;--package-top:#fde68a;width:100%;max-width:40rem;color:#344054}
.admin-live-report-bulk-trigger{display:flex;align-items:center;gap:.75rem;min-height:4.5rem;width:fit-content;max-width:100%;padding:.25rem .5rem;cursor:pointer;list-style:none;border-radius:.65rem}
.admin-live-report-bulk-trigger::-webkit-details-marker{display:none}
.admin-live-report-bulk-trigger:hover{background:#fffbeb}
.admin-live-report-bulk-trigger:focus-visible{outline:2px solid #465fff;outline-offset:3px}
.admin-live-report-bulk-trigger>.admin-packaging-icon{position:static;width:4.5rem;height:4.5rem;transform:none}
.admin-live-report-bulk-copy{display:flex;flex-direction:column;min-width:0;gap:.2rem;overflow-wrap:anywhere}
.admin-live-report-bulk-copy strong{font-size:1rem;font-variant-numeric:tabular-nums}
.admin-live-report-bulk-copy span{font-size:.75rem;color:#667085}
.admin-live-report-bulk-trigger>i{font-size:.75rem}
.admin-live-report-bulk[open]>.admin-live-report-bulk-trigger>i{transform:rotate(180deg)}
.admin-live-report-bulk-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem 1rem;margin:.5rem 0;padding:.75rem;border-top:1px solid #eaecf0;font-size:.8rem}
.admin-live-report-bulk-details div{min-width:0;overflow-wrap:anywhere}
.admin-live-report-bulk-details dt{font-size:.7rem;color:#667085}
.admin-live-report-bulk-details dd{margin:.15rem 0 0}
.admin-live-report-bulk-details div:last-child{grid-column:1/-1}
.dark .admin-live-report-bulk{--package-stroke:#fdb022;--package-face:#713b12;--package-side:#93370d;color:#f2f4f7}
.dark .admin-live-report-bulk-trigger:hover{background:#344054}
.dark .admin-live-report-bulk-copy span,.dark .admin-live-report-bulk-details dt{color:#98a2b3}
.dark .admin-live-report-bulk-details{border-color:#475467}
.admin-live-report-crates-single-band .admin-live-report-crate[data-packaging-type]{height:3.5rem;min-height:3.5rem}
.admin-live-report-crate-allocated[data-packaging-type]{--package-stroke:#e99b11;--package-face:#fffbeb;--package-side:#fedf89;--package-top:#fef0c7;--package-ink:#92400e}
.admin-live-report-crate-processed[data-packaging-type]{--package-stroke:#12b76a;--package-face:#ecfdf3;--package-side:#a6f4c5;--package-top:#d1fadf;--package-ink:#027a48}
.admin-live-report-crate[data-packaging-type] .admin-live-report-crate-button{position:relative;display:block;padding:0;background:transparent;box-shadow:none;transition:transform .16s ease}
.admin-live-report-crate[data-packaging-type] .admin-live-report-crate-button:hover{transform:translateY(-2px)}
.admin-live-report-crate[data-packaging-type] .admin-live-report-crate-button:active{transform:translateY(1px)}
.admin-live-report-package-art{position:absolute;inset:0;width:3.5rem;height:3.5rem;overflow:visible;pointer-events:none}
.admin-live-report-crate[data-packaging-type] .admin-live-report-crate-number{position:absolute;top:1.35rem;left:46.6%;transform:translateX(-50%);border-radius:2px;background:var(--package-face);padding:.08rem .1rem;color:var(--package-ink);font-size:.8rem;line-height:1rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.admin-live-report-crate[data-packaging-type] .admin-live-report-crate-band{position:absolute;right:0;bottom:.15rem;left:0;text-align:center}
.dark .admin-live-report-crate[data-packaging-type]{--package-stroke:#98a2b3;--package-face:#344054;--package-side:#1d2939;--package-top:#475467;--package-ink:#f2f4f7}
.dark .admin-live-report-crate-allocated[data-packaging-type]{--package-stroke:#fdb022;--package-face:#4a2b0b;--package-side:#713b12;--package-top:#93370d;--package-ink:#fedf89}
.dark .admin-live-report-crate-processed[data-packaging-type]{--package-stroke:#32d583;--package-face:#153d2e;--package-side:#085d3a;--package-top:#067647;--package-ink:#a6f4c5}
.dark .admin-packaging-shadow{fill:#000;opacity:.25}
@media(prefers-reduced-motion:reduce){
  .admin-live-report-crate[data-packaging-type] .admin-live-report-crate-button{transition:none}
  .admin-live-report-crate[data-packaging-type] .admin-live-report-crate-button:hover,.admin-live-report-crate[data-packaging-type] .admin-live-report-crate-button:active{transform:none}
}

/* Date fields sit above harvest-type buttons in one filter card. */
.admin-live-report-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;justify-content:initial;gap:.65rem 1.5rem;align-items:center}
.admin-live-report-eyebrow{grid-column:1/-1}
.admin-live-report-title-wrap{grid-column:1;grid-row:2}
.admin-live-report-topbar-actions{grid-column:2;grid-row:2;justify-self:end}
.admin-live-report-range-form{display:flex;min-width:0;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:.5rem .75rem}
.admin-live-report-date-field{display:grid;grid-template-columns:max-content 10.5rem;align-items:center;gap:0 .5rem;min-width:0}
.admin-live-report-date-field>.admin-field-label-strong{margin:0;white-space:nowrap}
.admin-live-report-date-field>.admin-native-picker-field{min-width:0}
.admin-live-report-date-field>.admin-field-error{grid-column:2}
.admin-live-report-range-form .admin-filter-actions{margin:0}
.admin-live-report-last-thirty{display:none}
.admin-live-report-range-preset[aria-current="true"],.admin-live-report-range-preset[aria-current="true"]:hover{border-color:#6ce9a6;background:#ecfdf3;color:#067647;box-shadow:inset 0 0 0 1px rgba(18,183,106,.14),0 3px 8px rgba(18,183,106,.1)}
.admin-live-report-range-note{margin:.45rem 0 0;color:#667085;font-size:.6875rem}
.admin-live-report-range-note[hidden]{display:none}
.dark .admin-live-report-range-note{color:#98a2b3}
.dark .admin-live-report-range-preset[aria-current="true"],.dark .admin-live-report-range-preset[aria-current="true"]:hover{border-color:#32d583;background:#053321;color:#a6f4c5;box-shadow:inset 0 0 0 1px rgba(50,213,131,.18)}
@media(max-width:767.98px){
  .admin-live-report-topbar{gap:1rem;margin-bottom:1.25rem;padding-bottom:1rem}
  .admin-live-report-title-wrap{grid-column:1/-1}
  .admin-live-report-topbar-actions{grid-column:1/-1;grid-row:3;justify-self:stretch}
  .admin-live-report-topbar-actions>*{flex:1 1 0;justify-content:center}
  .admin-live-report-filters .admin-live-report-period{padding:1rem}
  .admin-live-report-range-heading{display:block;margin:0 0 .85rem;color:#101828;font-size:1rem;line-height:1.35rem;font-weight:800}
  .admin-live-report-range-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:.75rem}
  .admin-live-report-range-form .admin-filter-actions{display:grid;grid-column:1/-1;grid-row:1;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin:0;gap:.5rem}
  .admin-live-report-range-form .admin-filter-actions .admin-secondary-button{width:100%;min-width:0;min-height:3rem;justify-content:center;padding-right:.45rem;padding-left:.45rem;text-align:center;white-space:normal}
  .admin-live-report-range-form .admin-live-report-today{order:1}
  .admin-live-report-range-form .admin-live-report-reset{order:2}
  .admin-live-report-range-form .admin-live-report-last-thirty{display:inline-flex;order:3}
  .admin-live-report-date-field{display:flex;grid-row:2;width:100%;min-width:0;flex-direction:column;align-items:stretch;gap:.35rem}
  .admin-live-report-date-field>.admin-field-label-strong{white-space:normal}
  .admin-live-report-date-field>.admin-native-picker-field,.admin-live-report-date-field .admin-input-control{width:100%;min-width:0}
  .admin-live-report-date-field>.admin-field-error{width:100%}
  .admin-live-report-range-form>.admin-live-report-range-apply{grid-column:1/-1;grid-row:3;width:100%;min-height:3.5rem;justify-content:center;border-color:#101828;background:#101828;color:#fff}
  .dark .admin-live-report-range-heading{color:#f9fafb}
  .admin-live-report-type-filter{display:none}
  .admin-live-report-type-filter-mobile{display:block;border-top:1px solid #e2ddd5;padding:1rem}
  .admin-live-report-type-filter-label{display:flex;min-height:1.5rem;align-items:center;gap:.5rem;margin:0 0 .5rem;color:#344054;font-size:.75rem;line-height:1rem;font-weight:700}
  .admin-live-report-type-filter-label-icon{display:inline-flex;width:1.25rem;height:1.25rem;flex:0 0 1.25rem;align-items:center;justify-content:center;color:#b91937}
  .admin-live-report-type-filter-label-icon svg{display:block;width:100%;height:100%}
  .admin-live-report-type-filter-mobile [data-admin-dropdown]{width:100%}
  .admin-live-report-type-filter-mobile [data-admin-dropdown] .admin-base-dropdown-trigger{width:100%;min-height:3.1rem}
}

.admin-period-context-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1.25rem;padding:.75rem .875rem;border:1px solid #efd8cc;border-radius:.875rem;background:#fffaf7;color:#292524}
.admin-period-context-heading{display:flex;align-items:center;gap:.75rem;min-width:0}
.admin-period-context-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:2.5rem;height:2.5rem;border-radius:.75rem;background:#fff0f3;color:#dc2f0b}
.admin-period-context-copy{display:flex;align-items:baseline;gap:.35rem;min-width:0;flex-wrap:wrap}
.admin-period-context-title{font-size:.875rem;line-height:1.25rem;font-weight:700;color:#292524}
.admin-period-context-scope{font-size:.75rem;line-height:1.125rem;color:#78716c}
.admin-period-context-interactions{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;min-width:0;flex:1}
.admin-period-context-controls{display:flex;align-items:flex-end;justify-content:flex-end;gap:.625rem;min-width:0}
.admin-period-context-dropdown{width:100%;min-width:12rem;max-width:16rem}
.admin-period-context-controls>.admin-base-dropdown{min-width:10rem}
.admin-period-context-extra{font-size:.75rem;line-height:1.125rem;color:#78716c}
.admin-period-sticky-summary{position:sticky;top:var(--admin-period-sticky-top,4.5rem);z-index:29;height:0;overflow:visible;pointer-events:none}
.admin-period-sticky-summary-inner{display:flex;min-height:2.25rem;align-items:center;border-bottom:1px solid #efd8cc;background:#fffaf7;color:#292524;box-shadow:0 4px 12px rgba(41,37,36,.08);opacity:0;transform:translateY(-100%);transition:opacity .16s ease,transform .16s ease}
.admin-period-sticky-summary-visible .admin-period-sticky-summary-inner{opacity:1;transform:translateY(0)}
.admin-period-sticky-summary-content{display:flex;width:100%;max-width:100%;min-width:0;align-items:baseline;gap:.45rem;margin:0 auto;padding:.45rem 1rem;white-space:nowrap}
.admin-period-sticky-summary-title,.admin-period-sticky-summary-value{min-width:0;overflow:hidden;text-overflow:ellipsis}
.admin-period-sticky-summary-title{flex:0 1 auto;font-size:.8rem;line-height:1.1rem;font-weight:700;color:#292524}
.admin-period-sticky-summary-value{flex:0 0 auto;font-size:.8rem;line-height:1.1rem;font-weight:600;color:#c93c14;font-variant-numeric:tabular-nums}
.dark .admin-period-context-bar{border-color:#5b3b32;background:#302622;color:#f5f1ed}
.dark .admin-period-context-icon{background:#472a22;color:#ff8a6d}
.dark .admin-period-context-title{color:#f5f1ed}
.dark .admin-period-context-scope,.dark .admin-period-context-extra{color:#b8afa8}
.dark .admin-period-sticky-summary-inner{border-color:#5b3b32;background:#302622;color:#f5f1ed}
.dark .admin-period-sticky-summary-title{color:#f5f1ed}
.dark .admin-period-sticky-summary-value{color:#ff8a6d}
@media(prefers-reduced-motion:reduce){.admin-period-sticky-summary-inner{transition:none}}
/* Match the main content gutter, including the tablet breakpoint. */
@media(min-width:640px){.admin-period-sticky-summary-content{padding-right:1.5rem;padding-left:1.5rem}}
@media(min-width:1440px){.admin-period-sticky-summary-content{padding-right:2.25rem;padding-left:2.25rem}}
@media(max-width:639.98px){.admin-period-context-bar{align-items:stretch;flex-direction:column;padding:.75rem}.admin-period-context-interactions,.admin-period-context-controls{align-items:stretch;justify-content:stretch;width:100%}.admin-period-context-dropdown,.admin-period-context-controls>.admin-base-dropdown{min-width:0;max-width:none;width:100%}}
@media(max-width:639.98px){.admin-period-context-interactions,.admin-period-context-controls{flex-direction:column}.admin-page-actions{align-items:stretch;flex-direction:column}.admin-page-actions>*{width:100%}.admin-page-actions .admin-action-button,.admin-page-actions .admin-secondary-button,.admin-page-actions .admin-outline-action-button{justify-content:center;width:100%}}
@media(max-width:639.98px){
  .admin-period-sticky-summary{display:none}
  .admin-page-heading-shell{position:sticky;top:var(--admin-period-sticky-top,4.5rem);z-index:28;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:.5rem;width:calc(100% + 2rem);max-width:none;margin:0 -1rem 1.5rem;padding:.5rem 1rem;border-bottom:1px solid transparent;background:#f7f4ed}
  .admin-page-heading-shell.admin-page-heading-is-stuck{border-bottom-color:#efd8cc}
  .admin-page-heading-main{min-width:0;flex:1 1 auto;align-items:center;gap:.55rem}
  .admin-page-heading-icon{width:2rem;height:2rem;border-radius:.6rem}
  .admin-page-heading-icon svg{width:1.15rem!important;height:1.15rem!important}
  .admin-page-heading-copy{min-width:0;flex:1 1 auto}
  .admin-page-heading-title{font-size:1.15rem;line-height:1.3;letter-spacing:-.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .admin-page-heading-description{display:none}
  .admin-page-heading-period,.admin-page-heading-shell+.admin-period-context-bar{flex:0 1 auto;flex-basis:auto;width:auto;order:2;min-width:0;max-width:12.5rem;margin:0}
  .admin-page-heading-actions{flex:0 0 auto;order:3;width:auto;max-width:none;justify-content:flex-end}
  .admin-page-heading-period .admin-period-context-bar,.admin-page-heading-shell+.admin-period-context-bar{flex-direction:row;align-items:center;justify-content:flex-end;gap:.25rem;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
  .admin-page-heading-period .admin-period-context-heading,.admin-page-heading-shell+.admin-period-context-bar .admin-period-context-heading{display:none}
  .admin-page-heading-period .admin-period-context-interactions,.admin-page-heading-period .admin-period-context-controls,.admin-page-heading-shell+.admin-period-context-bar .admin-period-context-interactions,.admin-page-heading-shell+.admin-period-context-bar .admin-period-context-controls{flex-direction:row;align-items:center;justify-content:flex-end;width:auto;min-width:0}
  .admin-page-heading-period .admin-period-context-dropdown,.admin-page-heading-period .admin-period-context-controls>.admin-base-dropdown,.admin-page-heading-shell+.admin-period-context-bar .admin-period-context-dropdown,.admin-page-heading-shell+.admin-period-context-bar .admin-period-context-controls>.admin-base-dropdown{width:auto;min-width:0;max-width:12.5rem}
  .admin-page-heading-period [data-admin-modern-dropdown] .admin-dropdown-selected-svg,.admin-page-heading-shell+.admin-period-context-bar [data-admin-modern-dropdown] .admin-dropdown-selected-svg{display:none}
  .dark .admin-page-heading-shell{background:#1c1917}
  .dark .admin-page-heading-shell.admin-page-heading-is-stuck{border-bottom-color:#5b3b32}
  .dark .admin-page-heading-period [data-admin-modern-dropdown] .admin-dropdown-selected-label,.dark .admin-page-heading-period [data-admin-modern-dropdown] .admin-dropdown-chevron,.dark .admin-page-heading-shell+.admin-period-context-bar [data-admin-modern-dropdown] .admin-dropdown-selected-label,.dark .admin-page-heading-shell+.admin-period-context-bar [data-admin-modern-dropdown] .admin-dropdown-chevron{color:#ff8a6d}
}
@media(max-width:359.98px){
 .admin-page-heading-with-back .admin-page-heading-title{font-size:1.05rem;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:normal;word-break:normal}
}

/* Dashboard command center: keep primary text at 15px and supporting copy at 13px
   (root-relative); flexible fleet tracks must fit the card at desktop breakpoints. */
.admin-dashboard-command-center{display:flex;min-width:0;flex-direction:column;gap:1rem;margin-bottom:1.5rem}
.admin-dashboard-command-grid{display:grid;min-width:0;gap:1rem;align-items:stretch}
.admin-dashboard-command-grid-top{grid-template-columns:minmax(20rem,.82fr) minmax(28rem,1.18fr)}
.admin-dashboard-command-grid-bottom{grid-template-columns:minmax(22rem,.9fr) minmax(32rem,1.1fr)}
.admin-dashboard-command-stack{display:grid;min-width:0;grid-template-rows:auto;align-content:start;gap:1rem}
.admin-dashboard-command-stack:only-child{grid-column:1/-1}
.admin-dashboard-command-card{min-width:0;margin:0!important;overflow:hidden;border-color:#e5e7eb;box-shadow:0 1px 2px rgba(16,24,40,.035)}
.admin-dashboard-company-overview-section{margin-bottom:1.5rem!important}
.admin-dashboard-secondary-grid{display:grid;min-width:0;grid-template-columns:minmax(0,1.08fr) minmax(28rem,.92fr);gap:1rem;align-items:start;margin-bottom:1.5rem}
.admin-dashboard-secondary-panel{min-width:0}
.admin-dashboard-secondary-grid .admin-dashboard-secondary-panel>.admin-card-shell{margin-bottom:0!important}
.admin-dashboard-card-footer{display:flex;justify-content:flex-end;border-top:1px solid #eaecf0;padding:.5rem 1rem}
.admin-dashboard-card-footer>a{display:inline-flex;align-items:center;min-height:2.75rem;font-size:.875rem}
.admin-dashboard-command-card>.admin-card-section-header{background:linear-gradient(180deg,#fff 0%,#fffdfb 100%)}
.admin-dashboard-command-card>.admin-card-section-header .admin-section-header-actions>a{font-size:.875rem}
.admin-dashboard-section-icon{display:grid;width:2rem;height:2rem;flex:0 0 2rem;place-items:center;border-radius:.62rem;background:#f2f4f7;color:#475467}
.admin-dashboard-section-icon.is-brand{background:#fff0f3;color:#b91937}
.admin-dashboard-section-icon.is-green{background:#ecfdf3;color:#067647}
.admin-dashboard-section-icon.is-warning{background:#fffaeb;color:#b54708}
.admin-dashboard-section-count{display:grid;min-width:2rem;height:2rem;place-items:center;border:1px solid #eaecf0;border-radius:999px;background:#f9fafb;color:#344054;font-size:.875rem;font-weight:800;font-variant-numeric:tabular-nums}
.admin-dashboard-operations-list{display:flex;flex-direction:column;padding:.4rem 1rem 1rem}
.admin-dashboard-operation-row{display:grid;grid-template-columns:2.5rem minmax(0,1fr) auto 1rem;gap:.7rem;align-items:center;border-bottom:1px solid #f0f1f3;padding:.78rem .25rem;color:#344054;text-decoration:none;transition:background-color .16s ease,color .16s ease,transform .16s ease}
.admin-dashboard-operation-row:last-child{border-bottom:0}
.admin-dashboard-operation-row:hover{border-radius:.65rem;background:#fffaf7;color:#b93815;transform:translateX(2px)}
.admin-dashboard-operation-row:focus-visible{border-radius:.6rem;outline:2px solid #b93815;outline-offset:2px}
.admin-dashboard-operation-icon{display:grid;width:2.5rem;height:2.5rem;place-items:center;border-radius:.72rem;background:#f2f4f7;color:#475467}
.admin-dashboard-operation-icon.is-green{background:#ecfdf3;color:#067647}
.admin-dashboard-operation-icon.is-blue{background:#eff8ff;color:#175cd3}
.admin-dashboard-operation-icon.is-brand{background:#fff0f3;color:#b91937}
.admin-dashboard-operation-icon.is-amber{background:#fffaeb;color:#b54708}
.admin-dashboard-operation-copy{display:flex;min-width:0;flex-direction:column;gap:.14rem}
.admin-dashboard-operation-copy strong{color:#101828;font-size:.9375rem;line-height:1.2}
.admin-dashboard-operation-copy small{overflow:hidden;color:#667085;font-size:.8125rem;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.admin-dashboard-operation-count{display:grid;min-width:2rem;height:2rem;place-items:center;border:1px solid #eaecf0;border-radius:999px;background:#f9fafb;color:#344054;font-size:.9375rem;font-weight:800;font-variant-numeric:tabular-nums}
.admin-dashboard-row-chevron{display:grid;place-items:center;color:#98a2b3}
.admin-dashboard-operation-row:hover .admin-dashboard-row-chevron{color:#b93815}
.progress-0{width:0}.progress-1{width:10%}.progress-2{width:20%}.progress-3{width:30%}.progress-4{width:40%}.progress-5{width:50%}.progress-6{width:60%}.progress-7{width:70%}.progress-8{width:80%}.progress-9{width:90%}.progress-10{width:100%}
.admin-dashboard-map-body{padding:0 1rem 1rem}
.admin-dashboard-map-context{display:flex;min-height:2.4rem;flex-wrap:wrap;align-items:center;gap:.45rem 1rem;color:#475467;font-size:.8125rem;font-weight:700}
.admin-dashboard-map-context span{display:inline-flex;align-items:center;gap:.35rem;min-width:0}
.admin-dashboard-map-context svg{flex:0 0 auto;color:#667085}
.admin-dashboard-command-map{overflow:hidden;border:1px solid #e4e7ec;border-radius:.85rem;background:#f2f4f7}
.admin-dashboard-map-caption{display:flex;min-height:2.25rem;flex-wrap:wrap;align-items:center;gap:.35rem .55rem;margin-top:.65rem;color:#667085;font-size:.8125rem}
.admin-dashboard-map-legend-dot{display:inline-block;width:.48rem;height:.48rem;border-radius:999px;background:#98a2b3}
.admin-dashboard-map-legend-dot.is-active{background:#12b76a}
.admin-dashboard-map-legend-dot.is-authorized{background:#667085}
.admin-dashboard-map-empty{min-height:15rem;justify-content:center;border:0;border-radius:0;background:transparent}
.admin-dashboard-attention-list{display:flex;flex-direction:column;padding:.45rem 1rem 1rem}
.admin-dashboard-attention-row{display:grid;grid-template-columns:2.5rem minmax(0,1fr) auto;gap:.75rem;align-items:center;border-bottom:1px solid #f0f1f3;padding:.72rem 0}
.admin-dashboard-attention-row:last-child{border-bottom:0}
.admin-dashboard-attention-icon{display:grid;width:2.5rem;height:2.5rem;place-items:center;border-radius:.72rem;background:#f2f4f7;color:#475467}
.admin-dashboard-attention-icon.is-danger{background:#fef3f2;color:#b42318}
.admin-dashboard-attention-icon.is-warning{background:#fffaeb;color:#b54708}
.admin-dashboard-priority{display:inline-flex;min-height:1.3rem;align-items:center;justify-content:center;align-self:flex-start;border-radius:999px;padding:.14rem .42rem;font-size:.75rem;font-weight:800;line-height:1;white-space:nowrap}
.admin-dashboard-priority.is-danger{background:#fef3f2;color:#b42318}
.admin-dashboard-priority.is-warning{background:#fffaeb;color:#b54708}
.admin-dashboard-priority.is-neutral{background:#f2f4f7;color:#475467}
.admin-dashboard-attention-copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:.18rem}
.admin-dashboard-attention-copy strong{overflow:hidden;color:#101828;font-size:.9375rem;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.admin-dashboard-attention-copy small{overflow:hidden;color:#667085;font-size:.8125rem;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.admin-dashboard-attention-action{display:inline-flex!important;min-height:2.75rem;align-items:center;font-size:.875rem!important;font-weight:700!important;white-space:nowrap}
.admin-dashboard-attention-empty{min-height:12rem;justify-content:center}
.admin-dashboard-birthdays-card>.admin-card-section-header{border-bottom:0}
.admin-dashboard-birthdays-body{padding:0 1rem 1rem}
.admin-dashboard-birthday-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:.65rem}
.admin-dashboard-birthday-item{display:grid;grid-template-columns:2.65rem minmax(0,1fr);gap:.7rem;align-items:center;min-width:0;border:1px solid #eaecf0;border-radius:.75rem;background:#fcfcfd;padding:.55rem .7rem}
.admin-dashboard-birthday-date{display:flex;width:2.65rem;height:2.65rem;flex-direction:column;align-items:center;justify-content:center;border-radius:.65rem;background:#fff0f3;color:#b93815;font-variant-numeric:tabular-nums;line-height:1}
.admin-dashboard-birthday-date strong{font-size:1rem}
.admin-dashboard-birthday-date small{margin-top:.18rem;font-size:.625rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.admin-dashboard-birthday-copy{display:flex;min-width:0;flex-direction:column;gap:.14rem}
.admin-dashboard-birthday-copy strong{overflow:hidden;color:#101828;font-size:.9375rem;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.admin-dashboard-birthday-copy small,.admin-dashboard-birthdays-empty{color:#667085;font-size:.8125rem;line-height:1.35}
.admin-dashboard-birthdays-empty{margin:0;padding:.35rem 0}
.admin-dashboard-machine-expiry-card>.admin-card-section-header{border-bottom:0}
.admin-dashboard-harvest-card>.admin-card-section-header{padding:1rem;border-bottom:0}
.admin-dashboard-harvest-card .admin-section-header-split{flex-direction:row;align-items:center;gap:.75rem}
.admin-dashboard-harvest-card .admin-section-header-actions{width:auto}
.admin-dashboard-harvest-card .admin-section-header-main h2{font-size:1rem;line-height:1.4}
.admin-dashboard-harvest-stream{padding:0 1rem}
.admin-dashboard-harvest-stream .admin-tab-list{margin:0 0 .75rem}
.admin-dashboard-harvest-stream .admin-tab-button{min-width:0;padding:.55rem .35rem;font-size:.8125rem}
.admin-dashboard-harvest-day{margin:.85rem 0 .25rem;color:#667085;font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.admin-dashboard-harvest-event{display:grid;grid-template-columns:1.875rem minmax(0,1fr) auto;gap:.65rem;align-items:center;padding:.8rem 0;border-bottom:1px solid #eaecf0}
.admin-dashboard-harvest-event:last-child{border-bottom:0}
.admin-dashboard-harvest-event-icon{display:grid;place-items:center;width:1.875rem;height:1.875rem;align-self:start;margin-top:.15rem;border-radius:50%;background:#fff4e5;color:#9a570b}
.admin-dashboard-harvest-event-icon.is-processed{background:#ecfdf3;color:#067647}
.admin-dashboard-harvest-event-copy{min-width:0}
.admin-dashboard-harvest-event-meta{display:flex;flex-wrap:wrap;gap:.25rem;color:#667085;font-size:.6875rem;line-height:1.4}
.admin-dashboard-harvest-event-crop{margin:.2rem 0}
.admin-dashboard-harvest-event-crop .admin-crop-type-tag{padding:0;border:0;border-radius:0;background:transparent;color:#1d2939;font-size:.875rem;line-height:1.4}
.admin-dashboard-harvest-event-crop .admin-crop-type-tag-name{white-space:normal;overflow-wrap:anywhere}
.admin-dashboard-harvest-event-context{color:#667085;font-size:.75rem;line-height:1.5;overflow-wrap:anywhere}
.admin-dashboard-harvest-event-quantity{display:flex;flex-direction:column;align-items:flex-end;gap:.1rem;color:#667085;font-size:.625rem;line-height:1.4}
.admin-dashboard-harvest-event-quantity strong{color:#1d2939;font-size:1.5rem;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
.admin-dashboard-harvest-empty{padding:1.5rem 0;color:#667085;font-size:.875rem}
.admin-dashboard-harvest-footer{border-top:1px solid #eaecf0;padding:.75rem 1rem;color:#667085;font-size:.6875rem}
[data-dashboard-dtc-metric][hidden],[data-dashboard-attention-empty][hidden]{display:none!important}
.dark .admin-dashboard-harvest-event,.dark .admin-dashboard-harvest-footer{border-color:#344054}
.dark .admin-dashboard-harvest-day,.dark .admin-dashboard-harvest-event-meta,.dark .admin-dashboard-harvest-event-context,.dark .admin-dashboard-harvest-event-quantity,.dark .admin-dashboard-harvest-empty,.dark .admin-dashboard-harvest-footer{color:#98a2b3}
.dark .admin-dashboard-harvest-event-crop .admin-crop-type-tag,.dark .admin-dashboard-harvest-event-quantity strong{color:#f2f4f7}
.dark .admin-dashboard-harvest-event-icon{background:#432f1c;color:#fedf89}
.dark .admin-dashboard-harvest-event-icon.is-processed{background:#053321;color:#75e0a7}
.admin-dashboard-machine-expiry-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;padding:0 1rem 1rem}
.admin-dashboard-machine-expiry-metrics.has-dtc{grid-template-columns:repeat(4,minmax(0,1fr))}
.admin-dashboard-machine-expiry-metric[hidden]{display:none!important}
.admin-dashboard-machine-expiry-metric{display:grid;grid-template-columns:2.5rem minmax(0,1fr);gap:.7rem;align-items:center;min-width:0;border:1px solid #eaecf0;border-radius:.75rem;background:#fcfcfd;padding:.65rem .7rem}
.admin-dashboard-machine-expiry-icon{display:grid;width:2.5rem;height:2.5rem;place-items:center;border-radius:.65rem;background:#f2f4f7;color:#475467}
.admin-dashboard-machine-expiry-metric.is-danger .admin-dashboard-machine-expiry-icon{background:#fef3f2;color:#b42318}
.admin-dashboard-machine-expiry-metric.is-warning .admin-dashboard-machine-expiry-icon{background:#fffaeb;color:#b54708}
.admin-dashboard-machine-expiry-copy{display:flex;min-width:0;flex-direction:column;gap:.12rem}
.admin-dashboard-machine-expiry-copy strong{color:#101828;font-size:1rem;line-height:1.15;font-weight:800;font-variant-numeric:tabular-nums}
.admin-dashboard-machine-expiry-copy small{color:#667085;font-size:.75rem;line-height:1.3}
/* Assigned fleet dashboard: two-column tractor summaries at every size. */
.admin-dashboard-personal{display:grid;gap:1rem;min-width:0}
.admin-dashboard-fleet.is-personal .admin-dashboard-fleet-rows{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,24rem),1fr));gap:1rem;padding:1rem}
.admin-dashboard-fleet.is-personal .admin-dashboard-fleet-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #eaecf0;border-radius:1rem;gap:1rem;padding:1rem;align-content:start}
.admin-dashboard-fleet.is-personal .admin-dashboard-fleet-identity{grid-column:1 / -1}
.admin-dashboard-fleet.is-personal .admin-dashboard-fleet-machine strong{color:#101828;font-size:1.1rem}
.admin-dashboard-fleet.is-personal .admin-dashboard-fleet-machine small,.admin-dashboard-fleet.is-personal .admin-dashboard-fleet-location strong,.admin-dashboard-fleet.is-personal .admin-dashboard-fleet-status small{white-space:normal;overflow-wrap:anywhere}
.admin-dashboard-fleet.is-personal .admin-dashboard-fleet-mobile-label{display:inline-flex}
.admin-dashboard-fleet.is-personal .admin-dashboard-fleet-status{padding-left:0}
.admin-dashboard-fleet.is-personal .admin-dashboard-fleet-status-dot{display:none}
.admin-dashboard-fleet-documents{display:grid;grid-column:1 / -1;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;border-top:1px solid #eaecf0;padding-top:1rem;margin:0}
.admin-dashboard-fleet-documents dt,.admin-dashboard-fleet-documents small{color:#667085;font-size:.75rem;line-height:1.4;display:block}
.admin-dashboard-fleet-documents dd{margin:.3rem 0;color:#101828;font-size:.875rem;font-weight:700}
.admin-dashboard-fleet-documents small.text-red-600{color:#b42318}
.admin-dashboard-fleet-documents small.admin-dashboard-fleet-document-state{display:flex;align-items:center;gap:.3rem}
.admin-dashboard-fleet-document-state>span:first-child{display:inline-flex;flex:0 0 auto;align-items:center}
.admin-dashboard-fleet-photo{display:inline-flex;flex:0 0 3rem;width:3rem;height:3rem;align-items:center;justify-content:center}
.admin-dashboard-fleet-photo .admin-view-image-button,.admin-dashboard-fleet-photo .admin-image-placeholder{border-radius:.65rem}
.admin-dashboard-fleet-dtc{grid-column:1 / -1;margin:0;color:#b42318;font-size:.875rem;overflow-wrap:anywhere}
.admin-dashboard-fleet-dtc strong{display:block}
.dark .admin-dashboard-fleet.is-personal .admin-dashboard-fleet-row,.dark .admin-dashboard-fleet-documents{border-color:#344054}
.dark .admin-dashboard-fleet.is-personal .admin-dashboard-fleet-machine strong,.dark .admin-dashboard-fleet-documents dd{color:#f9fafb}
.dark .admin-dashboard-fleet-documents dt,.dark .admin-dashboard-fleet-documents small{color:#98a2b3}
.dark .admin-dashboard-fleet-documents small.text-red-600{color:#fda29b}
@media(max-width:359.98px){.admin-dashboard-fleet-documents{grid-template-columns:minmax(0,1fr)}}
.admin-dashboard-fleet{min-width:0}
.admin-dashboard-fleet-meta,.admin-dashboard-fleet-row{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) minmax(0,1.15fr) minmax(0,.65fr) minmax(0,.65fr);gap:.75rem;align-items:center}
.admin-dashboard-fleet-meta{border-bottom:1px solid #eaecf0;background:#f9fafb;padding:.55rem 1rem;color:#667085;font-size:.75rem;font-weight:750;letter-spacing:.045em;text-transform:uppercase}
.admin-dashboard-fleet-meta-label{display:inline-flex;min-width:0;align-items:center;gap:.35rem}
.admin-dashboard-fleet-meta-label svg{flex:0 0 auto;color:#98a2b3}
.admin-dashboard-fleet-rows{display:flex;min-width:0;flex-direction:column}
.admin-dashboard-fleet-row{border-bottom:1px solid #f0f1f3;padding:.7rem 1rem}
.admin-dashboard-fleet-row:last-child{border-bottom:0}
.admin-dashboard-fleet-identity{display:flex;min-width:0;align-items:center;gap:.65rem}
.admin-dashboard-fleet-avatar{display:grid;width:2.2rem;height:2.2rem;flex:0 0 2.2rem;place-items:center;overflow:hidden;border:1px solid #e4e7ec;border-radius:.65rem;background:#f9fafb;color:#067647}
.admin-dashboard-fleet-avatar img{width:100%;height:100%;object-fit:cover}
.admin-dashboard-fleet-machine,.admin-dashboard-fleet-status,.admin-dashboard-fleet-location{display:flex;min-width:0;flex-direction:column;gap:.12rem}
.admin-dashboard-fleet-machine a,.admin-dashboard-fleet-status strong,.admin-dashboard-fleet-location strong{overflow:hidden;color:#101828;font-size:.9375rem;font-weight:750;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.admin-dashboard-fleet-machine a:hover{color:#b93815}
.admin-dashboard-fleet-machine small,.admin-dashboard-fleet-status small,.admin-dashboard-fleet-location small{overflow:hidden;color:#667085;font-size:.8125rem;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.admin-dashboard-fleet-status{position:relative;padding-left:.9rem}
.admin-dashboard-fleet-status>span:last-child{display:flex;min-width:0;flex-direction:column;gap:.12rem}
.admin-dashboard-fleet-status-dot{position:absolute;top:.3rem;left:0;width:.46rem;height:.46rem;border-radius:999px;background:#98a2b3}
.admin-dashboard-fleet-status-dot.is-success{background:#12b76a}.admin-dashboard-fleet-status-dot.is-warning{background:#f79009}.admin-dashboard-fleet-status-dot.is-danger{background:#f04438}
.admin-dashboard-fleet-meter{display:flex;min-width:0;flex-direction:column;gap:.32rem}
.admin-dashboard-fleet-mobile-label{display:none;align-items:center;gap:.3rem;color:#667085;font-size:.8125rem;font-weight:700}
.admin-dashboard-fleet-meter strong{color:#344054;font-size:.9375rem;font-variant-numeric:tabular-nums}
.admin-dashboard-fleet-meter-track{display:block;width:100%;height:.3rem;overflow:hidden;border-radius:999px;background:#eaecf0}
.admin-dashboard-fleet-meter-track i{display:block;height:100%;border-radius:inherit;background:#12b76a}
.admin-dashboard-fleet-meter-track.is-utilization i{background:#667085}
.admin-dashboard-fleet-footer{display:flex;min-height:2.5rem;align-items:center;justify-content:space-between;gap:1rem;border-top:1px solid #eaecf0;background:#fcfcfd;padding:.55rem 1rem;color:#667085;font-size:.8125rem}
.admin-dashboard-fleet-footer p{margin:0}
.admin-dashboard-detail-disclosure{overflow:hidden;border:1px solid #e4e7ec;border-radius:.9rem;background:#fff}
.admin-dashboard-detail-summary{display:grid;grid-template-columns:2.35rem minmax(0,1fr) auto;gap:.75rem;align-items:center;min-height:4rem;padding:.7rem 1rem;color:#344054;cursor:pointer;list-style:none}
.admin-dashboard-detail-summary::-webkit-details-marker{display:none}
.admin-dashboard-detail-summary:hover{background:#fffaf7}
.admin-dashboard-detail-summary:focus-visible{outline:2px solid #b93815;outline-offset:-2px}
.admin-dashboard-detail-summary-icon{display:grid;width:2.35rem;height:2.35rem;place-items:center;border-radius:.7rem;background:#fff0f3;color:#b91937}
.admin-dashboard-detail-summary>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:.16rem}
.admin-dashboard-detail-summary strong{color:#101828;font-size:.9375rem}
.admin-dashboard-detail-summary small{color:#667085;font-size:.8125rem;line-height:1.35}
.admin-dashboard-detail-chevron{color:#667085;transition:transform .16s ease}
.admin-dashboard-detail-disclosure[open] .admin-dashboard-detail-chevron{transform:rotate(180deg)}
.admin-dashboard-detail-body{border-top:1px solid #eaecf0;background:#f9fafb;padding:1rem}
.admin-dashboard-detail-disclosure{border:0;background:transparent;overflow:visible}
.admin-dashboard-detail-summary{border:1px solid #e4e7ec;border-radius:.9rem;background:#fff}
.admin-dashboard-detail-disclosure[open]>.admin-dashboard-detail-summary{margin-bottom:1rem}
.admin-dashboard-detail-disclosure>.admin-dashboard-detail-body{border:0;background:transparent;padding:0}
.admin-dashboard-report-metrics .admin-statistics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.admin-dashboard-report-metrics article{border:0;border-radius:0;box-shadow:none;background:transparent;padding:.75rem .5rem}
.admin-dashboard-health-section{min-width:0;padding:0 1rem}
.admin-dashboard-health-section+.admin-dashboard-health-section{border-left:1px solid #eaecf0}
.admin-dashboard-health-section:first-child{padding-left:0}
.admin-dashboard-health-section:last-child{padding-right:0}
.admin-dashboard-health-grid{gap:0}
.admin-dashboard-health-section .admin-dashboard-mini-card{border-radius:0;background:transparent;box-shadow:none;padding:.5rem 0}
.admin-dashboard-health-section .admin-dashboard-alert-name{white-space:normal;overflow-wrap:anywhere}
.admin-dashboard-health-section .admin-dashboard-alert-row{align-items:flex-start;padding:.25rem 0}
.admin-dashboard-health-section .admin-dashboard-alert-empty{color:#667085;padding:.5rem 0}
.dark details.admin-dashboard-detail-disclosure{background:transparent}
.dark .admin-dashboard-detail-summary{background:#101828;border-color:#344054}
.dark .admin-dashboard-health-section{border-color:#344054}
.dark .admin-dashboard-health-section .admin-dashboard-alert-title,.dark .admin-dashboard-health-section .admin-dashboard-alert-meta,.dark .admin-dashboard-health-section .admin-dashboard-alert-empty{color:#98a2b3}
.dark .admin-dashboard-health-section .admin-dashboard-alert-name{color:#f2f4f7}
@media(max-width:1023.98px){.admin-dashboard-health-grid{grid-template-columns:minmax(0,1fr)}.admin-dashboard-health-section{padding:.75rem 0}.admin-dashboard-health-section+.admin-dashboard-health-section{border-left:0;border-top:1px solid #eaecf0}}
@media(max-width:639.98px){.admin-dashboard-detail-disclosure>.admin-dashboard-detail-summary{grid-template-columns:2.35rem minmax(0,1fr) auto}.admin-dashboard-detail-summary>.admin-dashboard-detail-chevron{display:block}.admin-dashboard-detail-disclosure>.admin-dashboard-detail-body{padding:0}}
.dark .admin-dashboard-command-card,.dark .admin-dashboard-detail-disclosure{border-color:#344054;background:#101828}
.dark .admin-dashboard-command-card>.admin-card-section-header{background:#101828}
.dark .admin-dashboard-operation-row,.dark .admin-dashboard-attention-row,.dark .admin-dashboard-fleet-row{border-color:#344054}
.dark .admin-dashboard-birthday-item{border-color:#344054;background:#1d2939}
.dark .admin-dashboard-machine-expiry-metric{border-color:#344054;background:#1d2939}
.dark .admin-dashboard-birthday-copy strong{color:#f9fafb}
.dark .admin-dashboard-machine-expiry-copy strong{color:#f9fafb}
.dark .admin-dashboard-birthday-copy small,.dark .admin-dashboard-birthdays-empty,.dark .admin-dashboard-machine-expiry-copy small{color:#98a2b3}
.dark .admin-dashboard-operation-row:hover{background:#1d2939}
.dark .admin-dashboard-operation-copy strong,.dark .admin-dashboard-attention-copy strong,.dark .admin-dashboard-fleet-machine a,.dark .admin-dashboard-fleet-status strong,.dark .admin-dashboard-fleet-location strong,.dark .admin-dashboard-detail-summary strong{color:#f9fafb}
.dark .admin-dashboard-operation-copy small,.dark .admin-dashboard-attention-copy small,.dark .admin-dashboard-fleet-machine small,.dark .admin-dashboard-fleet-status small,.dark .admin-dashboard-fleet-location small,.dark .admin-dashboard-map-caption,.dark .admin-dashboard-map-context,.dark .admin-dashboard-fleet-mobile-label,.dark .admin-dashboard-detail-summary small{color:#98a2b3}
.dark .admin-dashboard-operation-count,.dark .admin-dashboard-section-count,.dark .admin-dashboard-fleet-meta,.dark .admin-dashboard-fleet-footer{border-color:#344054;background:#1d2939;color:#d0d5dd}
.dark .admin-dashboard-detail-body{color:#d0d5dd}
.dark .admin-dashboard-fleet-meter-track{background:#344054}
.dark .admin-dashboard-fleet-avatar{border-color:#475467;background:#1d2939}
.admin-dashboard-command-card a:focus-visible,.admin-dashboard-cooling-section a:focus-visible,.admin-dashboard-cooling-retry:focus-visible{outline:2px solid #b93815;outline-offset:2px;border-radius:.35rem}
.dark .admin-dashboard-command-card .admin-empty-state-title,.dark .admin-dashboard-cooling-link,.dark .admin-dashboard-cooling-reading,.dark .admin-dashboard-cooling-values dd{color:#f2f4f7}
.dark .admin-dashboard-command-card .admin-empty-state-description,.dark .admin-dashboard-cooling-trend{color:#d0d5dd}
.dark .admin-dashboard-cooling-tile{border-color:#344054}
.dark .admin-dashboard-cooling-tile.is-alarm{background:linear-gradient(90deg,transparent 58%,#2d1c20)}
.dark .admin-workspace-page .admin-dashboard-cooling-section{background:#101828;border-color:#344054}
.dark .admin-dashboard-cooling-section>.admin-card-section-header{border-color:#344054;background:#101828}
.dark .admin-dashboard-cooling-section .admin-section-title{color:#f2f4f7}
.dark .admin-dashboard-cooling-section .admin-section-description,
.dark .admin-dashboard-cooling-section .admin-dashboard-cooling-reading>span,
.dark .admin-dashboard-cooling-section .admin-dashboard-cooling-values dt,
.dark .admin-dashboard-cooling-section .admin-dashboard-cooling-activity-label,
.dark .admin-dashboard-cooling-section .admin-dashboard-cooling-availability{color:#98a2b3}
.dark .admin-dashboard-cooling-section .admin-dashboard-cooling-alarm{color:#fda29b}
.dark .admin-dashboard-cooling-section .is-stale .admin-dashboard-cooling-availability{color:#fec84b}
.dark .admin-dashboard-cooling-section .admin-dashboard-cooling-retry,
.dark .admin-dashboard-cooling-section .admin-dashboard-cooling-link:hover{color:#ffb39c}
.dark .admin-dashboard-cooling-section .admin-inline-text-link-brand{color:#ffb39c!important}
.dark .admin-dashboard-cooling-section .admin-inline-text-link-brand:hover{color:#ffd5c7!important}
.dark .admin-dashboard-cooling-section a:focus-visible,
.dark .admin-dashboard-cooling-section .admin-dashboard-cooling-retry:focus-visible{outline-color:#fda29b}
.dark .admin-dashboard-detail-summary{color:#d0d5dd}
.dark .admin-dashboard-detail-summary:hover{background:#1d2939}
@media(max-width:1199.98px){.admin-dashboard-command-grid-top,.admin-dashboard-command-grid-bottom{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1199.98px){.admin-dashboard-secondary-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:899.98px){.admin-dashboard-fleet-meta{display:none}.admin-dashboard-fleet-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.85rem 1rem}.admin-dashboard-fleet-identity{grid-column:1 / -1}.admin-dashboard-fleet-mobile-label{display:inline-flex}.admin-dashboard-fleet-status{padding-left:0}.admin-dashboard-fleet-status-dot{display:none}}
@media(max-width:639.98px){.admin-dashboard-command-stack{grid-template-rows:auto}.admin-dashboard-machine-expiry-metrics,.admin-dashboard-machine-expiry-metrics.has-dtc{grid-template-columns:minmax(0,1fr)}.admin-dashboard-command-card>.admin-card-section-header .admin-section-header-actions>a{display:inline-flex;min-height:2.75rem;align-items:center}.admin-dashboard-operation-copy small,.admin-dashboard-attention-copy small{white-space:normal}.admin-dashboard-operation-row{grid-template-columns:2.5rem minmax(0,1fr) auto}.admin-dashboard-row-chevron{display:none}.admin-dashboard-attention-row{grid-template-columns:2.5rem minmax(0,1fr)}.admin-dashboard-attention-action{grid-column:2;justify-self:start}.admin-dashboard-attention-empty,.admin-dashboard-fleet-empty{min-height:0;padding:1.5rem 1rem}.admin-dashboard-fleet-empty-body{padding:.5rem 1rem 1rem}.admin-dashboard-fleet-machine a{display:inline-flex;min-height:2.75rem;align-items:center}.admin-dashboard-fleet-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.admin-dashboard-fleet-identity{grid-column:1 / -1}.admin-dashboard-fleet-status,.admin-dashboard-fleet-location{min-height:2.75rem}.admin-dashboard-detail-summary{grid-template-columns:2.35rem minmax(0,1fr)}.admin-dashboard-detail-chevron{display:none}.admin-dashboard-detail-body{padding:.75rem}}
@media(prefers-reduced-motion:reduce){.admin-dashboard-operation-row,.admin-dashboard-detail-chevron{transition:none}}

/* Dashboard palette: readable headings, links and reports across complete surfaces. */
.admin-dashboard-page{min-width:0}
.admin-dashboard-page .admin-page-heading-description,.admin-dashboard-page .admin-dashboard-alert-empty{color:#667085}
.admin-dashboard-page .admin-inline-text-link-brand{color:#ad2f12}
.admin-dashboard-page .admin-inline-text-link-brand:hover{color:#8f260e}
.dark .admin-workspace-page:has(.admin-dashboard-page) :is(.admin-main-scroll,.admin-main-root){background:#0c111d}
.dark .admin-dashboard-page{color:#f2f4f7}
.dark .admin-dashboard-page :is(.admin-surface-card,.admin-card-shell,.admin-widget-item){background:#101828;border-color:#344054}
.dark .admin-dashboard-page :is(.admin-page-heading-title,.admin-section-title,.admin-subsection-title,.admin-widget-item-value-compact,.admin-text-strong,.admin-metric-summary-value,.text-gray-900,.text-gray-800){color:#f2f4f7}
.dark .admin-dashboard-page :is(.admin-page-heading-description,.admin-section-description,.admin-widget-item-label,.admin-table-text-muted-xs,.admin-metric-summary-label,.admin-dashboard-alert-empty,.text-gray-500){color:#98a2b3}
.dark .admin-dashboard-page .admin-inline-text-link-brand{color:#ffb39c}
.dark .admin-dashboard-page .admin-inline-text-link-brand:hover{color:#ffd5c7}
.dark .admin-dashboard-page :is(.admin-card-section-header,.admin-card-compact-header,.admin-dashboard-card-footer){border-color:#344054;background:#101828}
.dark .admin-dashboard-page :is(.admin-table-controls-row,.admin-table-footer-pad){background:#101828;border-color:#344054}
.dark .admin-dashboard-page .admin-table-empty-cell{background:#101828}
.dark .admin-dashboard-page .admin-dashboard-report-metrics .admin-widget-item{background:transparent}
.dark .admin-dashboard-page .admin-dashboard-fleet-meter strong{color:#d0d5dd}
.dark .admin-dashboard-page a:focus-visible,.dark .admin-dashboard-page summary:focus-visible{outline-color:#fda29b}

/* Variety details: one tabbed surface, short reading columns and secondary evidence. */
.crop-agronomy-guide>.admin-content-stack{gap:0}
.crop-agronomy-topic{padding:1.75rem 0;border-bottom:1px solid #e8e3dc;min-width:0}
.crop-agronomy-topic:first-child{padding-top:0}
.crop-agronomy-topic-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem}
.crop-agronomy-topic-heading .admin-subsection-title{display:flex;align-items:center;gap:.65rem;font-size:1.125rem}
.crop-agronomy-meta{font-size:.75rem;line-height:1.6;color:#667085}
.crop-agronomy-summary{margin-top:.8rem;max-width:90ch;line-height:1.75;color:#475467;overflow-wrap:anywhere}
.crop-agronomy-guidance{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13.5rem),1fr));gap:1.5rem;margin-top:1.25rem}
.crop-agronomy-guidance-group{min-width:0;padding-left:1rem;border-left:2px solid #e4e7ec}
.crop-agronomy-guidance-group h4{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:650;color:#344054}
.crop-agronomy-guidance-group ul{padding-left:1.05rem;margin-top:.65rem;list-style:disc;color:#475467;font-size:.875rem;line-height:1.75;overflow-wrap:anywhere}
.crop-agronomy-guidance-group li+li{margin-top:.45rem}
.crop-agronomy-recommendations{border-color:#a6d8be}
.crop-agronomy-avoid{border-color:#f3cd8a}
.crop-agronomy-checks{border-color:#b9cbea}
.crop-agronomy-guide>.admin-content-stack>.admin-detail-section{padding-top:1.75rem}
.dark .crop-agronomy-topic{border-color:#344054}
.dark .crop-agronomy-meta{color:#98a2b3}
.dark .crop-agronomy-summary,.dark .crop-agronomy-guidance-group ul{color:#d0d5dd}
.dark .crop-agronomy-guidance-group h4{color:#f2f4f7}
@media(max-width:639.98px){.crop-agronomy-guidance{grid-template-columns:minmax(0,1fr);gap:1.25rem}.crop-agronomy-topic{padding:1.5rem 0}}
.crop-variety-detail,.crop-variety-detail [role="tabpanel"]{min-width:0}
.crop-variety-profile{display:flex;flex-direction:column;gap:1.5rem}
.crop-variety-intro{max-width:76ch;font-size:1.05rem;line-height:1.8;color:#374151}
.crop-variety-copy{line-height:1.75;color:#4b5563}
.crop-variety-traits{display:flex;flex-wrap:wrap;gap:.5rem}
.crop-variety-traits>span{white-space:normal;text-align:left;line-height:1.5}
.crop-variety-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}
.crop-variety-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.crop-variety-topic{display:flex;flex-direction:column;gap:1rem;min-width:0;padding:1.25rem;border:1px solid #e8e3dc;border-radius:12px;background:#fdfbf8}
.crop-variety-topic .admin-subsection-title{display:flex;align-items:center;gap:.6rem;font-size:1rem}
.crop-variety-list{display:flex;flex-direction:column;gap:1rem;list-style:disc;padding-left:1.1rem;line-height:1.7;color:#4b5563}
.crop-variety-list li>strong{display:block;color:#1f2937;font-weight:600}
.crop-variety-list li>span{display:block;margin-top:.25rem}
.crop-variety-cooking-code{font-size:2.75rem;font-weight:750;line-height:1.1;color:#c7360a}
.crop-variety-assessment{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;padding:.75rem 0;border-bottom:1px solid #e8e3dc}
.crop-variety-assessment>strong{margin-right:auto}
.crop-variety-assessment>.admin-table-text-muted-xs{flex-basis:100%}
.crop-variety-evidence{display:flex;flex-direction:column;gap:.85rem}
.crop-variety-evidence-row{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;padding-bottom:.75rem;border-bottom:1px solid #e8e3dc;min-width:0}
.crop-variety-evidence-row>a{overflow-wrap:anywhere;min-height:2.75rem;display:inline-flex;align-items:center}
.crop-variety-evidence-row>p{flex-basis:100%}
.admin-workspace-page .crop-variety-evidence-disclaimer{color:#6b6258}
.crop-variety-detail .admin-detail-content-prewrap{white-space:normal;line-height:1.7;overflow-wrap:anywhere}
.crop-variety-detail .admin-connection-disclosure summary{min-height:2.75rem}
.dark .crop-variety-topic{background:#1f2937;border-color:#374151}
.dark .crop-variety-intro,.dark .crop-variety-copy,.dark .crop-variety-list{color:#d1d5db}
.dark .crop-variety-list li>strong{color:#f3f4f6}
.dark .crop-variety-cooking-code{color:#fb923c}
.dark .crop-variety-assessment,.dark .crop-variety-evidence-row{border-color:#374151}
@media(max-width:1100px){.crop-variety-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:639.98px){.crop-variety-grid{grid-template-columns:minmax(0,1fr)}.crop-variety-topic{padding:1rem}.crop-variety-intro{font-size:1rem}.crop-variety-profile{gap:1.25rem}}

/* Read-only company identity; editing belongs to the owning form/modal. */
.admin-company-identity{display:inline-flex;align-items:center;gap:.625rem;max-width:100%;vertical-align:middle}
.admin-company-identity-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;color:inherit}
.admin-company-identity-icon img{width:24px;height:24px;object-fit:contain;border-radius:.25rem}
.admin-company-identity-label{min-width:0;overflow-wrap:anywhere;font-weight:600}
.admin-company-mobile-details{display:none}
.admin-company-financial-table-actions{display:flex;justify-content:flex-end;margin-bottom:.75rem}
.admin-action-text-link[disabled]{cursor:not-allowed;opacity:.45;filter:grayscale(.35)}
@media(max-width:767.98px){
  .admin-company-mobile-details{display:block;margin-top:.5rem;color:#475467;font-weight:400}
  .admin-company-mobile-details summary{display:flex;min-height:2.75rem;align-items:center;cursor:pointer;color:#344054;font-size:.8125rem;font-weight:600}
  .admin-company-mobile-details dl{display:grid;gap:.5rem;margin:.25rem 0 .5rem;padding:.75rem;border:1px solid #eaecf0;border-radius:.5rem;background:#f9fafb}
  .admin-company-mobile-details dl>div{display:flex;justify-content:space-between;gap:1rem}
  .admin-company-mobile-details dt{color:#667085}
  .admin-company-mobile-details dd{min-width:0;text-align:right;overflow-wrap:anywhere;color:#101828}
  .admin-company-financial-table-actions{justify-content:stretch}
  .admin-company-financial-table-actions>.admin-secondary-button{width:100%}
}

/* Compact crop-block editor: quiet controls, clear groups and optional geometry. */
.admin-planting-editor-context{display:flex;align-items:center;gap:.75rem;margin-bottom:1.25rem;padding:.65rem .875rem;border-radius:.625rem;background:#f6f8f5;font-size:.875rem;color:#667085}
.admin-planting-editor-context strong{color:#344054}
.admin-planting-editor .admin-planting-editor-context{margin-bottom:0}
.admin-planting-editor :is(.admin-form-grid-lg-2,.admin-form-grid-2-compact){column-gap:1.5rem;row-gap:1.25rem}
.admin-planting-editor.admin-form :is(.admin-base-dropdown-trigger,.admin-input-control){height:3rem;min-height:3rem;border-radius:.625rem;font-size:.9rem;line-height:1.35rem}
.admin-planting-editor .admin-base-dropdown-trigger{box-shadow:none;background:#fff}
.admin-planting-editor .admin-base-dropdown-trigger:focus-visible{outline:2px solid #ef2147;outline-offset:2px}
.admin-planting-editor .admin-modal-close-button{width:2.75rem;height:2.75rem;top:1rem;right:1rem;color:#475467}
.admin-planting-editor .admin-section-title{padding-right:3rem}
.admin-planting-editor .admin-field-label-actions:has(>.admin-ni-field-ask:only-child){width:2.75rem;height:2.75rem}
.admin-planting-editor :is(.admin-form-grid-lg-2,.admin-form-grid-2-compact,.admin-form-grid-sm-3-end) :is(.admin-field-label-strong,.admin-field-label-icon){display:flex;min-height:2.75rem;align-items:center}
.admin-planting-editor .admin-field-label-strong{font-size:.875rem;line-height:1.25rem;margin-bottom:.5rem}
.admin-planting-editor .admin-field-label-row .admin-field-label-strong,.admin-planting-editor .admin-field-label-row .admin-field-label-icon{margin-bottom:0}
.admin-planting-editor .admin-field-label{margin-bottom:.5rem}
.admin-planting-editor .admin-modal-footer>button{min-height:2.75rem}
.dark :is(.admin-land-editor,.admin-planting-editor) .admin-modal-body{background:#1d2939;color:#f2f4f7}
.dark :is(.admin-land-editor,.admin-planting-editor) :is(.admin-section-title,.admin-subsection-title,.admin-field-label,.admin-field-label-strong,.admin-field-label-icon){color:#f2f4f7}
.dark :is(.admin-land-editor,.admin-planting-editor) :is(.admin-field-help,.admin-section-description){color:#d0d5dd}
.dark :is(.admin-land-editor,.admin-planting-editor) .admin-base-dropdown-trigger{background:#111827;border-color:#475467;color:#f2f4f7}
.dark :is(.admin-land-editor,.admin-planting-editor) .admin-dropdown-selected-label{color:#f2f4f7}
.dark :is(.admin-land-editor,.admin-planting-editor) :is(input,textarea)::placeholder{color:#98a2b3}
.dark .admin-land-editor .admin-surface-card{background:#111827;border-color:#475467}
.dark .admin-land-editor .admin-boundary-points-panel{background:#1d2939;color:#e4e7ec}
.dark .admin-land-editor-tool-button{border-color:#475467;background:#111827;color:#d0d5dd;box-shadow:none}
.dark .admin-land-editor-tool-button:hover{border-color:#667085;background:#1d2939;color:#f9fafb}
.dark .admin-land-editor-tool-button-danger:not(:disabled){color:#fda29b}
.dark .admin-land-editor-tool-button-location:not(:disabled){border-color:#2e90fa;color:#84caff}
.dark .admin-land-editor-tool-button-waypoint:not(:disabled){border-color:#039855;color:#75e0a7}
.dark .admin-land-editor-feedback{border-color:#344054;background:#101828}
.dark .admin-land-editor-boundary-status{color:#f2f4f7}
.dark .admin-land-editor-location-status{color:#d0d5dd}
.dark .admin-land-editor-location-status[data-state="loading"]{color:#84caff}
.dark .admin-land-editor-location-status[data-state="ready"]{color:#75e0a7}
.dark .admin-land-editor-location-status[data-state="ready"][data-accuracy-quality="weak"]{color:#fedf89}
.dark .admin-land-editor-location-status[data-state="error"]{color:#fda29b}
.dark .admin-planting-editor-context{background:#111827;color:#d0d5dd}
.dark .admin-planting-editor-context strong{color:#f2f4f7}
.dark .admin-planting-editor .admin-modal-close-button{color:#d0d5dd}

@media (max-width:639px){
  .admin-planting-editor .admin-modal-footer{flex-direction:column}
  .admin-planting-editor .admin-modal-footer>button{width:100%;justify-content:center}
}

.admin-direction-angle-controls{display:grid;grid-template-columns:minmax(0,1fr) 8rem;align-items:end;gap:1rem}
.admin-form input.admin-direction-slider{width:100%;min-height:44px;padding:0;border:0;box-shadow:none;accent-color:#ef2147;cursor:pointer}
@media(max-width:479px){.admin-direction-angle-controls{grid-template-columns:minmax(0,1fr) 6rem;gap:.75rem}}

/* Timesheet global controls own the card top; the tab rail sits below them. */

/* Monthly reporting follows the spacious shared report-dialog rhythm. */
.admin-timesheet-report-dialog{max-width:96rem}
.admin-modal-body.admin-timesheet-report-body{padding:2rem 2.25rem}
.admin-timesheet-report-title{margin:0 3rem 1.75rem 0}
.admin-timesheet-report-content{display:flex;flex-direction:column;gap:1.5rem;min-width:0}
.admin-timesheet-report-content>.admin-statistics-grid{margin:0;gap:1rem}
.admin-timesheet-report-dialog .admin-modal-footer{padding:1.25rem 2.25rem;border-top:1px solid #e4e7ec}
.admin-timesheet-report-content>.admin-connection-disclosure{margin:0;flex-shrink:0}
.admin-timesheet-report-avatar{height:2.5rem;width:2.5rem}
.admin-timesheet-cost-table .admin-users-name-cell{font-weight:600}
.admin-timesheet-cost-table .admin-table-body-cell{font-variant-numeric:tabular-nums}
.admin-timesheet-cost-table .admin-table-body-cell:last-child{font-weight:600}
@media(min-width:768px){
  .admin-timesheet-cost-table{width:100%}
  .admin-timesheet-cost-table .admin-table-head-cell{padding:1rem;white-space:normal;line-height:1.25rem}
  .admin-timesheet-cost-table .admin-table-body-cell{padding:1.25rem 1rem}
}
@media(max-width:639px){
  .admin-modal-body.admin-timesheet-report-body{padding:1.25rem}
  .admin-timesheet-report-title{margin-bottom:1.5rem}
  .admin-timesheet-report-dialog .admin-modal-footer{padding:1rem 1.25rem}
}
.dark .admin-timesheet-report-dialog .admin-modal-footer{border-top-color:#344054}

/* The report table owns desktop scrolling, keeping its header and footer in view. */
@media(min-width:768px){
  .admin-modal-body.admin-timesheet-report-body{overflow:hidden!important}
  .admin-timesheet-report-title,.admin-timesheet-report-content>.admin-statistics-grid{flex-shrink:0}
  .admin-timesheet-report-content{flex:1;min-height:0}
  .admin-timesheet-report-content>.admin-table-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}
  .admin-timesheet-cost-table thead{position:sticky;top:0;z-index:2;background:#faf8f3}
  .dark .admin-timesheet-cost-table thead{background:#1d2939}
}

/* Paid adjustments: month-locked global rules with focused per-user overrides. */
.admin-paid-modal-width{max-width:68rem}
.admin-paid-status{padding:1rem 1.25rem;border:1px solid #e4e7ec;border-radius:12px;background:#faf8f3}
.admin-paid-page-status{padding:0 1.5rem;margin:0;color:#667085;font-size:.875rem}
.admin-paid-section{display:grid;gap:1rem}
.admin-paid-global-card,.admin-paid-individual-card{padding:1.25rem;border:1px solid #e4e7ec;border-radius:14px;background:#fff}
.admin-paid-global-card{background:#fffdf9}
.admin-paid-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.admin-paid-section-heading h3{margin:0;color:#101828;font-size:1rem;font-weight:700}
.admin-paid-section-heading p{margin:.25rem 0 0;color:#667085;font-size:.875rem;line-height:1.45}
.admin-paid-month-chip{display:inline-flex;align-items:center;min-height:2rem;padding:.35rem .7rem;border:1px solid #fedf89;border-radius:999px;background:#fffaeb;color:#b54708;font-size:.75rem;font-weight:700;white-space:nowrap}
.admin-paid-fields{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
.admin-paid-dates{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.admin-paid-editor-empty{display:flex;align-items:center;justify-content:center;min-height:7rem;padding:1.25rem;border:1px dashed #d0d5dd;border-radius:12px;background:#f9fafb;color:#667085;text-align:center}
.admin-paid-editor-empty[hidden]{display:none}
.admin-paid-person{padding:1.25rem;border:1px solid #e4e7ec;border-radius:12px;background:#f9fafb}
.admin-paid-person[hidden]{display:none}
.admin-paid-person-main{display:grid;grid-template-columns:minmax(13rem,1fr) 15rem minmax(14rem,18rem);gap:1rem;align-items:center}
.admin-paid-person-payment .admin-form-field{margin:0}
.admin-paid-meta{font-size:.875rem;color:#667085;margin:.5rem 0 0}
.admin-paid-footer{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.admin-paid-footer-summary{display:grid;gap:.75rem;min-width:0}
.admin-paid-footer-actions{display:flex;gap:.75rem;flex-shrink:0}
.admin-paid-error{color:#b42318;font-weight:600}
.admin-paid-footer-wrap{display:grid;gap:.75rem;width:100%}
.admin-paid-footer-wrap>.admin-paid-error,.admin-paid-footer-wrap>.admin-paid-meta{margin:0}
.admin-paid-person input:disabled,.admin-paid-person textarea:disabled{opacity:.55}
.admin-paid-person .admin-paid-error{font-size:.875rem;margin:.5rem 0 0}
.admin-paid-person .admin-checkbox-label{min-height:44px}
.admin-paid-error[hidden]{display:none}
.dark .admin-paid-status,.dark .admin-paid-global-card,.dark .admin-paid-individual-card{background:#1d2939;border-color:#344054}
.dark .admin-paid-person,.dark .admin-paid-editor-empty{background:#111827;border-color:#475467}
.dark .admin-paid-section-heading h3{color:#f2f4f7}
.dark .admin-paid-section-heading p{color:#98a2b3}
.dark .admin-paid-meta,.dark .admin-paid-page-status{color:#98a2b3}
.dark .admin-paid-error{color:#fda29b}
.dark :is(.admin-paid-modal-width,.admin-timesheet-report-dialog),.dark :is(.admin-paid-modal-width,.admin-timesheet-report-dialog) .admin-modal-body{background:#1d2939;color:#f2f4f7}
.dark :is(.admin-paid-modal-width,.admin-timesheet-report-dialog) :is(.admin-section-title,.admin-field-label,.admin-field-label-strong,.admin-field-label-icon,.admin-checkbox-label,.admin-salary-name,.admin-users-name-cell,.admin-stat-card-value-compact){color:#f2f4f7}
.dark :is(.admin-paid-modal-width,.admin-timesheet-report-dialog) :is(.admin-section-description,.admin-stat-card-label-compact,.admin-form-section-label){color:#d0d5dd}
.dark .admin-paid-modal-width .admin-base-dropdown-trigger{background:#111827;border-color:#475467;color:#f2f4f7}
.dark .admin-timesheet-report-dialog .admin-card-shell{background:#111827;border-color:#475467}
.dark .admin-timesheet-cost-table :is(tbody,tr,td){background:#1d2939;color:#f2f4f7;border-color:#475467}
.dark .admin-timesheet-cost-table th{background:#111827;color:#d0d5dd;border-color:#475467}
.dark .admin-timesheet-cost-table .admin-connection-disclosure-summary{color:#d0d5dd}
@media(max-width:900px){.admin-paid-person-main{grid-template-columns:minmax(0,1fr) minmax(14rem,18rem)}.admin-paid-person-main>.admin-checkbox-label{grid-column:1}.admin-paid-person-payment{grid-column:2}.admin-paid-footer{align-items:stretch;flex-direction:column}.admin-paid-footer-actions{justify-content:flex-end}}
@media(max-width:639px){.admin-paid-global-card,.admin-paid-individual-card{padding:1rem}.admin-paid-section-heading{flex-direction:column}.admin-paid-fields{grid-template-columns:1fr}.admin-paid-person-main{grid-template-columns:1fr}.admin-paid-person-main>.admin-salary-identity,.admin-paid-person-main>.admin-checkbox-label,.admin-paid-person-payment{grid-column:1}.admin-paid-footer-actions{flex-direction:column}.admin-paid-footer-actions>button{width:100%}.admin-paid-dates>button{width:100%}.admin-paid-month-chip{align-self:flex-start}}
.admin-paid-modal-width .admin-section-title{padding-right:3rem;white-space:normal}
#paid-adjustments-modal .admin-modal-close-button,#timesheet-cost-report-modal .admin-modal-close-button{width:2.75rem;height:2.75rem}
.admin-paid-footer-actions>button{width:auto;white-space:nowrap}
.admin-paid-footer-actions>button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:639px){.admin-paid-footer-actions>button{width:100%}}

/* Timesheet readiness, controls, calendar tags, and payroll comparisons. */
.admin-timesheet-actions-grid{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.625rem}
.admin-timesheet-actions-grid>a,.admin-timesheet-actions-grid>button{min-height:2.75rem;white-space:nowrap}
.admin-timesheet-summary-stats{margin-top:2rem;margin-bottom:2rem}
.admin-timesheet-readiness{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;border-bottom:1px solid #e7e2da;background:#fffdf9}
.admin-timesheet-readiness-heading{display:flex;align-items:flex-start;gap:.75rem;min-width:15rem}
.admin-timesheet-readiness-heading p{margin:.2rem 0 0;color:#667085;font-size:.875rem}
.admin-timesheet-readiness-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 2.5rem;width:2.5rem;height:2.5rem;border-radius:.75rem;background:#fff1ec;color:#b91937}
.admin-timesheet-readiness[data-readiness-state="ready"] .admin-timesheet-readiness-icon{background:#ecfdf3;color:#067647}
.admin-timesheet-readiness[data-readiness-state="closed"] .admin-timesheet-readiness-icon{background:#f2f4f7;color:#475467}
.admin-timesheet-readiness-items{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}
.admin-timesheet-readiness-chip{display:inline-flex;align-items:center;min-height:2rem;padding:.35rem .7rem;border:1px solid #d0d5dd;border-radius:999px;background:#fff;color:#475467;font-size:.75rem;font-weight:650;line-height:1.2;text-decoration:none}
a.admin-timesheet-readiness-chip,button.admin-timesheet-readiness-chip{min-height:2.75rem}
button.admin-timesheet-readiness-chip{cursor:pointer}
.admin-timesheet-readiness-chip.is-complete{border-color:#abefc6;background:#ecfdf3;color:#067647}
.admin-timesheet-readiness-chip.is-blocked{border-color:#fecdca;background:#fef3f2;color:#b42318}
.admin-timesheet-readiness-chip.is-pending{border-color:#fedf89;background:#fffaeb;color:#b54708}
.admin-timesheet-overview-avatar{width:2.5rem;height:2.5rem}
.admin-timesheet-user-name-line{display:flex;min-width:0;align-items:center;gap:.45rem}
.admin-timesheet-row-anomaly{display:inline-flex;min-height:1.5rem;flex:0 0 auto;align-items:center;gap:.2rem;padding:.15rem .4rem;border:1px solid #fedf89;border-radius:999px;background:#fffaeb;color:#b54708;font-size:.6875rem;font-weight:750;line-height:1}
.admin-timesheet-anomaly-action:not(:disabled){border-color:#fedf89;background:#fffaeb;color:#b54708}
.admin-timesheet-anomaly-action:not(:disabled):hover{border-color:#fdb022;background:#fef0c7;color:#93370d}
.admin-timesheet-anomaly-action:disabled{opacity:.45;cursor:not-allowed}
.admin-timesheet-overview-meta{display:block;margin-top:.2rem;color:#667085;font-size:.75rem;font-weight:500;line-height:1.25}
.admin-timesheet-overview-table .admin-table-body-cell{font-variant-numeric:tabular-nums}
.admin-timesheet-adjustment-positive{color:#067647;font-weight:650}
.admin-timesheet-adjustment-negative{color:#b42318}
.admin-timesheet-overview-progress{display:grid;grid-template-columns:minmax(7rem,1fr) auto;align-items:center;gap:.75rem;min-width:11rem}
.admin-timesheet-variance{min-width:4.75rem;text-align:right;font-weight:700}
.admin-timesheet-variance-matched{color:#067647}.admin-timesheet-variance-above{color:#175cd3}.admin-timesheet-variance-below{color:#b54708}
.admin-timesheet-user-calendar-dialog{max-width:min(64rem,calc(100vw - 2rem))}
.admin-timesheet-user-anomalies-dialog{width:100%;max-width:min(80rem,calc(100vw - 2 * var(--admin-modal-gutter)));min-height:0}
.admin-timesheet-user-anomalies-dialog .admin-section-title{padding-right:3.5rem;overflow-wrap:anywhere}
.admin-timesheet-user-anomalies-dialog .admin-modal-close-button{color:#667085}
.admin-timesheet-user-anomalies-dialog .admin-modal-close-button i{font-weight:100}
.admin-modal-body.admin-timesheet-user-anomalies-modal-body{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden!important;padding:1.5rem}
.admin-timesheet-user-anomalies-period{flex-shrink:0;margin:-.45rem 3.5rem 1rem 0;color:#667085;font-size:.875rem;line-height:1.4}
.admin-timesheet-user-anomalies-dialog .admin-section-title,.admin-timesheet-user-anomalies-dialog [data-timesheet-review-feedback]{flex-shrink:0}
.admin-timesheet-user-anomalies-dialog .admin-terminal-anomalies-card{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden;border:1px solid #e4e7ec;border-radius:.75rem;background:#fff;color:#344054}
.admin-timesheet-user-anomalies-dialog .admin-terminal-anomalies-card>.admin-data-table-section-header{flex-shrink:0;padding-top:.25rem;border-bottom-color:#e4e7ec}
.admin-timesheet-user-anomalies-dialog .admin-anomaly-summary{flex-shrink:0}
.admin-timesheet-user-anomalies-dialog .admin-terminal-anomalies-card>.admin-table-scroll{flex:1 1 auto;min-height:0;overflow:auto!important;overscroll-behavior:contain}
.admin-timesheet-user-anomalies-dialog #timesheet-user-anomalies-table thead th{position:sticky;top:0;z-index:1;border-color:#e4e7ec;background:#f9fafb;color:#475467}
.admin-timesheet-user-anomalies-dialog #timesheet-user-anomalies-table tbody tr{border-color:#eaecf0}
.admin-timesheet-user-anomalies-dialog~.admin-modal-footer{border-top:1px solid #e4e7ec}
.admin-timesheet-user-anomalies-dialog .admin-anomaly-summary-item::before{width:.45rem;height:.45rem;flex:0 0 .45rem;border-radius:999px;background:currentColor;content:""}
.dark .admin-timesheet-user-anomalies-dialog .admin-terminal-anomalies-card{border-color:#344054;background:#1d2939;color:#d0d5dd}
.dark .admin-timesheet-user-anomalies-dialog #timesheet-user-anomalies-table thead th{background:#1d2939;color:#f2f4f7}
.dark .admin-timesheet-user-anomalies-dialog #timesheet-user-anomalies-table :is(thead th,tbody tr){border-color:#344054}
.dark .admin-timesheet-user-anomalies-dialog~.admin-modal-footer{border-top-color:#344054}
.admin-timesheet-user-calendar-dialog .admin-section-title{padding-right:3.5rem;overflow-wrap:anywhere}
.admin-timesheet-user-calendar-dialog .admin-modal-close-button{color:#667085}
.admin-timesheet-user-calendar-dialog .admin-modal-close-button i{font-weight:100}
.admin-modal-body.admin-timesheet-user-calendar-modal-body{padding:1.5rem}

/* Timesheet multi-period terminal correction. */
.admin-work-periods-context{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(10rem,.7fr) minmax(10rem,.7fr);gap:.75rem;margin-bottom:1rem;padding:.75rem 1rem;border:1px solid #e4e7ec;border-radius:.75rem;background:#fcfcfd}
.admin-work-periods-context>div{display:flex;min-width:0;flex-direction:column;gap:.15rem}
.admin-work-periods-context span,.admin-work-period-summary span{color:#667085;font-size:.75rem;line-height:1.1rem;font-weight:600}
.admin-work-periods-context strong{overflow:hidden;color:#101828;font-size:.9375rem;line-height:1.35rem;text-overflow:ellipsis;white-space:nowrap}
.admin-work-periods-section{margin-top:1rem;border:1px solid #e4e7ec;border-radius:.875rem;background:#fff;padding:1rem}
.admin-work-periods-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.admin-work-periods-section-heading h4{margin:0;color:#101828;font-size:1rem;line-height:1.5rem;font-weight:700}
.admin-work-periods-section-heading p{margin:.15rem 0 0;color:#667085;font-size:.8125rem;line-height:1.25rem}
.admin-work-periods-timeline{margin-top:1rem;padding:.75rem .75rem 1.125rem;border:1px solid #eaecf0;border-radius:.75rem;background:#fcfcfd}
.admin-work-periods-timeline-labels{display:flex;justify-content:space-between;margin-bottom:.5rem;color:#667085;font-size:.6875rem;line-height:1rem;font-variant-numeric:tabular-nums}
.admin-work-periods-timeline-track{position:relative;height:1rem;margin:0 .375rem;border-radius:999px;background:#e4e7ec}
#hikvision-work-period-timeline-segments,#hikvision-work-period-timeline-punches{position:absolute;inset:0}
.admin-work-period-timeline-segment{position:absolute;top:0;height:1rem;min-width:.375rem;border-radius:999px;background:linear-gradient(90deg,#12b76a,#1570ef);box-shadow:0 0 0 2px rgba(255,255,255,.9)}
.admin-work-period-timeline-handle{position:absolute;top:50%;width:1rem;height:1rem;min-width:0;min-height:0;border:2px solid #fff;border-radius:50%;background:#175cd3;box-shadow:0 0 0 2px #175cd3;cursor:ew-resize;transform:translate(-50%,-50%)}
.admin-work-period-timeline-handle.is-start{left:0;background:#039855;box-shadow:0 0 0 2px #039855}
.admin-work-period-timeline-handle.is-end{left:100%}
.admin-work-period-timeline-handle:focus-visible{outline:3px solid #fdb022;outline-offset:4px}
.admin-work-period-timeline-punch{position:absolute;top:50%;width:.5rem;height:.5rem;border:1px solid #fff;border-radius:50%;background:#175cd3;box-shadow:0 0 0 2px #175cd3;transform:translate(-50%,-50%)}
.admin-work-period-timeline-punch.is-in{background:#039855;box-shadow:0 0 0 2px #039855}
.admin-work-period-punch-roles{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-top:.75rem}
.admin-work-period-punch-roles>div:first-child{display:flex;min-width:12rem;max-width:24rem;flex-direction:column;gap:.15rem}
.admin-work-period-punch-roles strong{color:#344054;font-size:.75rem;line-height:1.1rem}
.admin-work-period-punch-roles span{color:#667085;font-size:.6875rem;line-height:1rem}
.admin-work-period-punch-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}
.admin-work-period-punch-role{display:inline-flex;min-height:2.75rem;align-items:center;border:1px solid #b2ddff;border-radius:.625rem;background:#eff8ff;padding:.5rem .75rem;color:#175cd3;font-size:.75rem;line-height:1rem;font-weight:750;font-variant-numeric:tabular-nums;cursor:pointer}
.admin-work-period-punch-role.is-in{border-color:#abefc6;background:#ecfdf3;color:#067647}
.admin-work-period-punch-role.is-overridden{box-shadow:0 0 0 2px #fdb022}
.admin-work-period-punch-role:hover{filter:brightness(.98)}.admin-work-period-punch-role:focus-visible{outline:3px solid #fdb022;outline-offset:2px}
.admin-work-period-rows{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem}
.admin-work-period-row{display:grid;grid-template-columns:1.25rem minmax(8.5rem,1.25fr) minmax(6.5rem,.8fr) 1.25rem minmax(8.5rem,1.25fr) minmax(6.5rem,.8fr) minmax(5.75rem,.65fr) 2.75rem;gap:.625rem;align-items:end;min-width:0;margin:0;border:1px solid #e4e7ec;border-radius:.75rem;background:#fff;padding:.75rem}
.admin-work-period-row-order{display:flex;height:2.75rem;align-items:center;justify-content:center;color:#98a2b3}
.admin-work-period-field{display:flex;min-width:0;flex-direction:column;gap:.3rem}
.admin-work-period-field label{overflow:hidden;color:#475467;font-size:.6875rem;line-height:1rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.admin-work-period-field input{display:block;width:100%;height:2.75rem;min-width:0;border:1px solid #d0d5dd;border-radius:.625rem;background:#fff;padding:.55rem .625rem;color:#101828;font-size:.8125rem;line-height:1.25rem;font-variant-numeric:tabular-nums;box-shadow:0 1px 2px rgba(16,24,40,.05)}
.admin-work-period-field input:focus{border-color:#84adff;outline:0;box-shadow:0 0 0 3px rgba(46,144,250,.16)}
.admin-work-period-field input.is-invalid{border-color:#f04438;box-shadow:0 0 0 3px rgba(240,68,56,.12)}
.admin-work-period-arrow{display:flex;height:2.75rem;align-items:center;justify-content:center;color:#667085;font-size:1.25rem}
.admin-work-period-duration{display:flex;height:2.75rem;align-items:center;justify-content:flex-end;color:#101828;font-size:.8125rem;line-height:1.2rem;font-weight:800;text-align:right;font-variant-numeric:tabular-nums}
.admin-work-period-remove{display:flex;width:2.75rem;height:2.75rem;align-items:center;justify-content:center;border:1px solid #fecdca;border-radius:.625rem;background:#fff;color:#b42318;cursor:pointer}
.admin-work-period-remove:hover{background:#fef3f2}.admin-work-period-remove:focus-visible{outline:2px solid #b42318;outline-offset:2px}
.admin-work-period-add{display:flex;width:100%;min-height:2.75rem;align-items:center;justify-content:center;gap:.5rem;margin-top:.75rem;border:1px dashed #98a2b3;border-radius:.625rem;background:#fff;color:#344054;font-size:.8125rem;font-weight:700;cursor:pointer}
.admin-work-period-add:hover{border-color:#1570ef;background:#eff8ff;color:#175cd3}.admin-work-period-add:focus-visible{outline:2px solid #175cd3;outline-offset:2px}
.admin-work-period-error{margin-top:1rem;border:1px solid #fecdca;border-radius:.625rem;background:#fef3f2;padding:.7rem .875rem;color:#b42318;font-size:.8125rem;line-height:1.25rem;font-weight:600}
.admin-work-period-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(18rem,1.5fr);gap:1rem;align-items:center;margin-top:1rem;border:1px solid #abefc6;border-radius:.75rem;background:#ecfdf3;padding:.875rem 1rem}
.admin-work-period-summary>div{display:flex;min-width:0;flex-direction:column;gap:.15rem}
.admin-work-period-summary strong{color:#05603a;font-size:1.25rem;line-height:1.5rem;font-weight:800;font-variant-numeric:tabular-nums}
.admin-work-period-summary p{display:flex;align-items:flex-start;gap:.5rem;margin:0;color:#475467;font-size:.75rem;line-height:1.15rem}
.admin-work-period-summary p.is-valid{color:#067647}
.admin-work-period-summary p.is-valid i:before{content:"\f058"}
.dark .admin-work-periods-context,.dark .admin-work-periods-section,.dark .admin-work-period-row,.dark .admin-work-periods-timeline{border-color:#344054;background:#1d2939}
.dark .admin-work-periods-context strong,.dark .admin-work-periods-section-heading h4,.dark .admin-work-period-duration{color:#f2f4f7}
.dark .admin-work-periods-context span,.dark .admin-work-period-summary span,.dark .admin-work-periods-section-heading p,.dark .admin-work-period-field label,.dark .admin-work-periods-timeline-labels{color:#98a2b3}
.dark .admin-work-period-field input,.dark .admin-work-period-add{border-color:#475467;background:#101828;color:#f2f4f7}
.dark .admin-work-period-punch-roles strong{color:#f2f4f7}.dark .admin-work-period-punch-roles span{color:#98a2b3}
.dark .admin-work-period-punch-role{border-color:#194185;background:#102a56;color:#84caff}.dark .admin-work-period-punch-role.is-in{border-color:#087443;background:#053321;color:#75e0a7}
.dark .admin-work-period-summary{border-color:#085d3a;background:#053321}.dark .admin-work-period-summary strong{color:#75e0a7}
@media(max-width:900px){.admin-work-periods-context{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.admin-work-periods-context>div:first-child{grid-column:1/-1}.admin-work-periods-section-heading{flex-direction:column}.admin-work-period-punch-roles{flex-direction:column}.admin-work-period-punch-roles>div:first-child{max-width:none}.admin-work-period-punch-controls{justify-content:flex-start}.admin-work-period-row{grid-template-areas:"grip start-date start-time remove" "grip end-date end-time ." "grip duration duration .";grid-template-columns:1.25rem minmax(0,1fr) minmax(0,1fr) 2.75rem}.admin-work-period-row-order{grid-area:grip}.admin-work-period-field.is-start-date{grid-area:start-date}.admin-work-period-field.is-start-time{grid-area:start-time}.admin-work-period-field.is-end-date{grid-area:end-date}.admin-work-period-field.is-end-time{grid-area:end-time}.admin-work-period-arrow{display:none}.admin-work-period-duration{grid-area:duration;height:auto;justify-content:flex-start;text-align:left}.admin-work-period-remove{grid-area:remove}.admin-work-period-summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.admin-work-period-summary p{grid-column:1/-1}}
@media(max-width:639px){.admin-work-periods-context{grid-template-columns:minmax(0,1fr)}.admin-work-periods-context>div:first-child{grid-column:auto}.admin-work-period-punch-controls{display:grid;width:100%;grid-template-columns:minmax(0,1fr)}.admin-work-period-punch-role{width:100%;justify-content:center}.admin-work-period-row{grid-template-areas:"start-date start-time remove" "end-date end-time ." "duration duration .";grid-template-columns:minmax(0,1fr) minmax(0,1fr) 2.75rem;padding:.625rem}.admin-work-period-row-order{display:none}.admin-work-period-summary{grid-template-columns:minmax(0,1fr)}.admin-work-period-summary p{grid-column:auto}.admin-work-periods-timeline-labels span:nth-child(even){display:none}}
.admin-timesheet-user-calendar-period{margin:-.45rem 3.5rem 1rem 0;color:#667085;font-size:.875rem;line-height:1.4}
.admin-timesheet-user-calendar-surface{overflow:hidden;border:1px solid #e4e7ec;border-radius:.875rem;background:#fff}
.admin-timesheet-calendar-event{border:1px solid rgba(255,255,255,.55)!important;border-radius:.5rem!important;box-shadow:0 1px 2px rgba(16,24,40,.1)!important}
.admin-timesheet-calendar-tag{display:flex;align-items:center;min-width:0;max-width:100%}
.admin-timesheet-calendar-primary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;font-weight:750;line-height:1.05rem}
#timesheet-calendar .admin-timesheet-tag-slot>[role="button"]>div{padding:3px 5px!important}
#timesheet-calendar .admin-timesheet-tag-slot>[role="button"]{width:fit-content;min-width:0}
.admin-timesheet-report-closed{display:flex;align-items:flex-start;gap:.75rem;padding:.875rem 1rem;border:1px solid #b2ddff;border-radius:.75rem;background:#eff8ff;color:#175cd3}
.admin-timesheet-report-closed p{margin:.2rem 0 0;font-size:.8rem;color:#344054}
.admin-timesheet-report-stat-above{border-color:#b2ddff}.admin-timesheet-report-stat-below{border-color:#fedf89}.admin-timesheet-report-stat-matched{border-color:#abefc6}.admin-timesheet-report-stat-incomplete{border-color:#fecdca}
.admin-timesheet-report-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem 1rem;margin-top:.65rem;font-size:.75rem}
.admin-timesheet-report-details>div{display:flex;justify-content:space-between;gap:.75rem}.admin-timesheet-report-details dt{color:#667085}.admin-timesheet-report-details dd{font-weight:650;text-align:right}
.admin-timesheet-report-difference{font-weight:750}.admin-timesheet-report-difference-above{color:#175cd3}.admin-timesheet-report-difference-below{color:#b54708}.admin-timesheet-report-difference-matched{color:#067647}.admin-timesheet-report-difference-incomplete{color:#b42318}
.admin-anomaly-summary{display:flex;flex-wrap:wrap;gap:.5rem;padding:0 1.5rem 1rem}
.admin-anomaly-summary-item,.admin-anomaly-badge{display:inline-flex;align-items:center;border-radius:999px;font-size:.75rem;font-weight:650;line-height:1.2}
.admin-anomaly-summary-item{gap:.25rem;padding:.35rem .65rem}.admin-anomaly-badge{padding:.35rem .65rem}
.admin-anomaly-summary-item.is-critical,.admin-anomaly-badge.is-critical{background:#fef3f2;color:#b42318}.admin-anomaly-summary-item.is-warning,.admin-anomaly-badge.is-warning{background:#fffaeb;color:#b54708}.admin-anomaly-summary-item.is-info,.admin-anomaly-badge.is-info{background:#eff8ff;color:#175cd3}
@media(max-width:1279px){.admin-timesheet-section-header .admin-section-header-split{align-items:stretch;flex-direction:column}.admin-timesheet-section-header .admin-section-header-actions{width:100%}.admin-timesheet-actions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.admin-timesheet-actions-grid>a,.admin-timesheet-actions-grid>button{justify-content:center;width:100%;white-space:normal;text-align:center}}
@media(max-width:900px){.admin-timesheet-readiness{align-items:flex-start;flex-direction:column}.admin-timesheet-readiness-items{justify-content:flex-start}.admin-timesheet-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:639px){.admin-timesheet-summary-stats{margin-top:1.5rem;margin-bottom:1.5rem}.admin-timesheet-readiness{padding:1rem}.admin-timesheet-readiness-heading{min-width:0}.admin-timesheet-readiness-items{display:grid;grid-template-columns:1fr;width:100%}.admin-timesheet-readiness-chip{justify-content:center;text-align:center}.admin-timesheet-report-details{grid-template-columns:1fr}.admin-timesheet-overview-progress{min-width:0}.admin-modal-body.admin-timesheet-user-calendar-modal-body,.admin-modal-body.admin-timesheet-user-anomalies-modal-body{padding:1rem}.admin-timesheet-user-calendar-period,.admin-timesheet-user-anomalies-period{margin-top:-.25rem}#timesheet-calendar .admin-timesheet-tag-slot>[role="button"]>div{padding:2px 3px!important}.admin-timesheet-calendar-primary{font-size:.625rem;line-height:.875rem}}
.dark .admin-timesheet-readiness{border-color:#344054;background:#1d2939}.dark .admin-timesheet-readiness-heading p,.dark .admin-timesheet-overview-meta,.dark .admin-timesheet-report-details dt{color:#98a2b3}.dark .admin-timesheet-readiness-chip{background:#111827}.dark .admin-timesheet-report-closed{background:#102a43;border-color:#175cd3;color:#b2ddff}.dark .admin-timesheet-report-closed p{color:#d0d5dd}.dark .admin-timesheet-user-calendar-period,.dark .admin-timesheet-user-anomalies-period{color:#98a2b3}.dark .admin-timesheet-user-calendar-surface{border-color:#344054;background:#1d2939}.dark .admin-timesheet-row-anomaly,.dark .admin-timesheet-anomaly-action:not(:disabled){border-color:#b54708;background:#3b2a12;color:#fedf89}

/* Timesheet user cards keep identity and actions readable on narrow screens. */
.admin-timesheet-overview-table .admin-users-name-cell>div{min-width:0}
.admin-timesheet-overview-table .admin-timesheet-user-name-line .admin-table-text-strong{overflow-wrap:anywhere}
.admin-timesheet-value-stack{display:inline-flex;min-width:0;flex-direction:column;align-items:flex-end;text-align:right}
.admin-timesheet-overview-table .admin-table-action-cell .admin-action-group{display:flex;align-items:center;justify-content:flex-end;gap:.25rem}
.admin-timesheet-overview-table .admin-table-action-cell .admin-action-group-separator{display:none}
.admin-timesheet-overview-table .admin-table-action-cell .admin-action-group :is(button,a){display:inline-flex;width:2.75rem;min-width:2.75rem;height:2.75rem;min-height:2.75rem;align-items:center;justify-content:center;border:0;border-radius:.625rem;background:transparent;padding:0;color:#475467;text-align:center;text-decoration:none;box-shadow:none}
.admin-timesheet-overview-table .admin-table-action-cell .admin-action-group :is(button,a)>svg{width:1rem!important;height:1rem!important;flex:0 0 1rem}
.admin-timesheet-overview-table .admin-table-action-cell .admin-action-group :is(button,a):hover{background:#f5f3ef;color:#1d2939}
.admin-timesheet-overview-table .admin-table-action-cell .admin-timesheet-anomaly-action:not(:disabled){background:transparent;color:#b54708}
.admin-timesheet-overview-table .admin-table-action-cell [data-timesheet-card-action="details"]{color:#b91937}
.admin-timesheet-overview-table .admin-table-action-cell button:disabled{background:transparent;color:#98a2b3;box-shadow:none;opacity:1}
#timesheet-calendar .admin-timesheet-calendar-event.fc-bg-primary{border-color:#fed7c7!important;background:#fff1ec!important;color:#b93815!important}
#timesheet-calendar .admin-timesheet-calendar-event.fc-bg-success{border-color:#abefc6!important;background:#ecfdf3!important;color:#067647!important}
#timesheet-calendar .admin-timesheet-calendar-event.fc-bg-warning{border-color:#fedf89!important;background:#fffaeb!important;color:#93370d!important}
#timesheet-calendar .admin-timesheet-calendar-event .fc-event-main,#timesheet-calendar .admin-timesheet-calendar-primary{color:inherit!important}
#timesheet-calendar .admin-timesheet-calendar-event.fc-bg-primary .admin-timesheet-calendar-primary{color:#b93815!important}
#timesheet-calendar .admin-timesheet-calendar-event.fc-bg-success .admin-timesheet-calendar-primary{color:#067647!important}
#timesheet-calendar .admin-timesheet-calendar-event.fc-bg-warning .admin-timesheet-calendar-primary{color:#93370d!important}
#timesheet-calendar .admin-timesheet-calendar-event.has-anomaly{box-shadow:0 0 0 2px #f04438!important}
@media(max-width:767.98px){
  .admin-timesheet-overview-table tbody>tr{padding:1rem!important;box-shadow:0 3px 10px rgba(28,25,23,.055)!important}
  .admin-timesheet-overview-table tbody>tr>.admin-table-mobile-primary{grid-column:1/-1!important;grid-row:2!important;padding:.75rem 0 .85rem!important}
  .admin-timesheet-overview-table .admin-users-name-cell{width:100%;gap:.75rem}
  .admin-timesheet-overview-table .admin-timesheet-overview-avatar{width:2.75rem;height:2.75rem;flex:0 0 2.75rem}
  .admin-timesheet-overview-table .admin-timesheet-user-name-line .admin-table-text-strong{font-size:.9375rem;line-height:1.25rem;font-weight:650}
  .admin-timesheet-overview-table tbody>tr>.admin-table-action-cell{display:block!important;grid-column:1/-1!important;grid-row:1!important;border-top:0!important;border-bottom:1px solid #ebe6df!important;padding:0 0 .75rem!important}
  .admin-timesheet-overview-table .admin-table-action-cell .admin-action-group{width:100%}
  .admin-timesheet-overview-table .admin-timesheet-overview-progress{width:100%;min-width:0;grid-template-columns:minmax(3rem,1fr) auto;gap:.5rem}
  .admin-timesheet-overview-table .admin-timesheet-variance{min-width:0}
  #timesheet-calendar .admin-timesheet-tag-slot{flex:0 0 auto!important;max-width:100%}
  #timesheet-calendar .admin-timesheet-tag-slot>[role="button"]{max-width:calc(100% - 1px);min-height:1.75rem}
  #timesheet-calendar .admin-timesheet-tag-slot>[role="button"]>div{padding:3px 4px!important}
  .admin-timesheet-calendar-primary{overflow:visible;text-overflow:clip;font-size:.6875rem;line-height:1rem;letter-spacing:.01em}
}
.dark .admin-timesheet-overview-table .admin-table-action-cell .admin-action-group :is(button,a){border:0;background:transparent;color:#d0d5dd}
.dark #timesheet-calendar .admin-timesheet-calendar-event.fc-bg-primary{border-color:#b93815!important;background:#431407!important;color:#fed7c7!important}
.dark #timesheet-calendar .admin-timesheet-calendar-event.fc-bg-success{border-color:#079455!important;background:#053321!important;color:#abefc6!important}
.dark #timesheet-calendar .admin-timesheet-calendar-event.fc-bg-warning{border-color:#b54708!important;background:#3b2a12!important;color:#fedf89!important}
.dark #timesheet-calendar .admin-timesheet-calendar-event.fc-bg-primary .admin-timesheet-calendar-primary{color:#fed7c7!important}
.dark #timesheet-calendar .admin-timesheet-calendar-event.fc-bg-success .admin-timesheet-calendar-primary{color:#abefc6!important}
.dark #timesheet-calendar .admin-timesheet-calendar-event.fc-bg-warning .admin-timesheet-calendar-primary{color:#fedf89!important}

/* User timesheet detail: compact period controls and scan-friendly daily values. */
.admin-timesheet-user-timeline .admin-page-heading-shell{margin-bottom:1.25rem}
.admin-timesheet-timeline-period-form{display:flex;align-items:center;justify-content:flex-end;gap:.625rem;min-width:0}
.admin-timesheet-timeline-period-select{width:10.5rem;min-width:10.5rem;max-width:10.5rem}
.admin-timesheet-timeline-period-form .admin-timesheet-timeline-period-apply{min-height:2.75rem;width:auto;flex:0 0 auto;white-space:nowrap}
.admin-timesheet-user-notices{display:grid;gap:.75rem;margin:0 0 1.25rem}
.admin-timesheet-user-notices>div{margin:0}
.admin-timesheet-user-clock,.admin-timesheet-user-hours{font-variant-numeric:tabular-nums;white-space:nowrap}
.admin-timesheet-user-hours{display:inline-flex;align-items:baseline;justify-content:flex-end;gap:.15rem}
.admin-timesheet-user-timeline #timesheet-user-timeline-table :is(th,td):not(:first-child){text-align:right}
@media(min-width:768px) and (max-width:1023px){.admin-timesheet-user-timeline .admin-period-context-bar{align-items:stretch;flex-direction:column}.admin-timesheet-user-timeline .admin-period-context-interactions,.admin-timesheet-user-timeline .admin-period-context-controls{justify-content:flex-start;width:100%}.admin-timesheet-user-timeline .admin-period-context-heading,.admin-timesheet-user-timeline .admin-period-context-interactions{flex-basis:auto}}
@media(max-width:767px){.admin-timesheet-timeline-period-form{align-items:stretch;flex-direction:column;width:100%}.admin-timesheet-timeline-period-select{width:100%;min-width:0;max-width:none}.admin-timesheet-timeline-period-form .admin-timesheet-timeline-period-apply{justify-content:center;width:100%}}

/* Reference ranges keep each operation and its two labeled inputs together. */
.admin-service-consumption-fields { display: grid; gap: 1.25rem; }
#service-performance-consumption-modal .text-red-500{color:#b91c1c}
#service-performance-consumption-modal .admin-success-submit-button{border-color:#15803d;background:#15803d;color:#fff}
#service-performance-consumption-modal .admin-success-submit-button:not(:disabled):hover{border-color:#166534;background:#166534}
.dark #service-performance-consumption-modal .text-red-500{color:#fca5a5}
.admin-service-fuel-report .admin-inline-text-link-brand,.admin-service-fuel-report .admin-pagination-control.text-brand-500{color:#b93815}
.admin-service-fuel-report .admin-inline-text-link-brand:hover,.admin-service-fuel-report .admin-pagination-control:hover{color:#8f2812}
.admin-service-fuel-report .admin-service-caption{color:#57534e}
.admin-service-fuel-report .admin-service-unit-suffix-blue{color:#1d4ed8}
.dark .admin-service-fuel-report .admin-service-caption{color:#d6d3d1}
.dark .admin-service-fuel-report .admin-service-unit-suffix-blue{color:#93c5fd}
.dark .admin-service-fuel-report .admin-inline-text-link-brand,.dark .admin-service-fuel-report .admin-pagination-control.text-brand-500{color:#ffb39c}
.dark .admin-service-fuel-report .admin-inline-text-link-brand:hover,.dark .admin-service-fuel-report .admin-pagination-control:hover{color:#ffd5c7}
.admin-service-consumption-row { min-width: 0; }
.admin-service-consumption-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.admin-service-consumption-pair .admin-form-group { min-width: 0; margin-bottom: 0; }

/* Native controller schedules and explicit command outcomes in the climate disclosure. */
.admin-warehouse-native-schedule { border-top: 1px solid var(--color-gray-200, #e5e7eb); padding-top: 12px; margin-top: 12px; }
.admin-warehouse-native-schedule h4 { font-weight: 600; margin: 0 0 4px; }
.admin-warehouse-native-schedule p, .admin-warehouse-controller-outcome { font-size: 13px; line-height: 1.5; margin: 6px 0; }
.admin-warehouse-native-schedule:not(.admin-warehouse-native-schedule-summary) .admin-warehouse-native-timeline { gap: 4px; }
.admin-warehouse-controller-outcome[data-confirmation-status="confirmed"] { color: var(--color-success-700, #15803d); }
.admin-warehouse-controller-outcome[data-confirmation-status="failed"] { color: var(--color-error-700, #b91c1c); }

/* Treatment identity and source-backed application limits use the shared card/form shell. */
.admin-treatment-identity{display:flex;align-items:center;gap:.75rem;min-width:0}
.admin-treatment-identity img{flex:none;width:2.75rem;height:2.75rem;object-fit:contain;border-radius:.5rem}
.admin-treatment-identity a{overflow-wrap:anywhere}
.admin-treatment-limit-summary{display:flex;flex-direction:column;gap:.35rem;white-space:normal;overflow-wrap:anywhere;max-width:24rem}
.admin-treatment-limit-row{display:flex;flex-direction:column;gap:1rem;border-top:1px solid #e7e5e4;padding-top:1.25rem}
.admin-treatment-scan-video{display:block;width:100%;max-height:32dvh;min-height:8rem;object-fit:contain;background:#1c1917;border-radius:.75rem}
/* Treatments lookup: camera-first, viewport-sized shared dialog with safe gutters. */
.admin-treatment-scanner .admin-modal-frame{box-sizing:border-box;height:100vh;height:100dvh;min-height:0;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
.admin-treatment-scanner .admin-treatment-scanner-content{height:100%;max-height:100%;max-width:none;border-radius:24px;overflow:hidden;background:#faf8f3}
.admin-treatment-scanner .admin-modal-body{padding:20px 20px 0;overflow:auto;gap:0}
.admin-treatment-scanner .admin-section-title{padding-right:48px;margin:0;font-size:22px;line-height:1.3}
.admin-treatment-scanner .admin-modal-close-button{top:14px;right:14px;width:44px;height:44px;background:#ece9e2;color:#292524}
.admin-treatment-scanner-formats{margin:8px 48px 18px 0;color:#57534e;font-size:12px;line-height:1.5}
.admin-treatment-scanner-workspace{display:flex;flex:1;min-height:0;flex-direction:column;gap:18px}
.admin-treatment-scanner-camera{position:relative;display:flex;flex:1;min-height:180px;align-items:center;justify-content:center;isolation:isolate;overflow:hidden;border-radius:18px;background:radial-gradient(ellipse at 50% 35%,#343938,#121716 75%)}
.admin-treatment-scanner .admin-treatment-scan-video{position:absolute;inset:0;height:100%;max-height:none;min-height:0;object-fit:cover;border-radius:0}
.admin-treatment-scanner-finder{position:relative;width:min(68%,420px);height:min(48%,220px);min-height:90px;filter:drop-shadow(0 2px 6px #0008)}
.admin-treatment-scanner-finder i{position:absolute;width:30px;height:30px;border:solid #fff;border-width:0}
.admin-treatment-scanner-finder i:nth-child(1){top:0;left:0;border-top-width:3px;border-left-width:3px;border-top-left-radius:14px}
.admin-treatment-scanner-finder i:nth-child(2){top:0;right:0;border-top-width:3px;border-right-width:3px;border-top-right-radius:14px}
.admin-treatment-scanner-finder i:nth-child(3){bottom:0;right:0;border-bottom-width:3px;border-right-width:3px;border-bottom-right-radius:14px}
.admin-treatment-scanner-finder i:nth-child(4){bottom:0;left:0;border-bottom-width:3px;border-left-width:3px;border-bottom-left-radius:14px}
.admin-treatment-scanner[data-camera-state="found"] .admin-treatment-scanner-finder i{border-color:#86efac}
.admin-treatment-scanner-feedback{position:absolute;bottom:16px;left:16px;right:16px;display:flex;align-items:center;justify-content:center;gap:10px;width:fit-content;max-width:calc(100% - 32px);margin:auto;padding:10px 14px;border:1px solid #ffffff24;border-radius:14px;background:#121716eb;color:#fff;font-size:13px;line-height:1.5;text-align:center;backdrop-filter:blur(12px)}
.admin-treatment-scanner-spinner{display:none;flex:none;width:18px;height:18px;border:2px solid #ffffff40;border-top-color:#fff;border-radius:50%}
.admin-treatment-scanner:is([data-camera-state="opening"],[data-camera-state="reading"]) .admin-treatment-scanner-spinner{display:block;animation:admin-treatment-camera-spin .8s linear infinite}
@keyframes admin-treatment-camera-spin{to{transform:rotate(360deg)}}
.admin-treatment-scanner-inputs{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px}
.admin-treatment-scanner-inputs .admin-form-group{margin:0;min-width:0}
.admin-treatment-scanner-inputs .admin-secondary-button{min-height:44px;justify-content:center;gap:8px}
.admin-treatment-scanner .admin-modal-footer{gap:12px;padding:18px 20px 20px;border:0;background:transparent}
.admin-treatment-scanner .admin-modal-footer>button{min-height:48px;flex:1;justify-content:center;border-radius:12px}
.admin-treatment-scanner [hidden]{display:none!important}
.dark .admin-treatment-scanner .admin-treatment-scanner-content{background:#1c2321;color:#f5f5f4}
.dark .admin-treatment-scanner .admin-treatment-scanner-formats{color:#d6d3d1}
.dark .admin-treatment-scanner .admin-modal-close-button{background:#37413d;color:#fff}
@media(min-width:768px){.admin-treatment-scanner .admin-modal-frame{padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left))}.admin-treatment-scanner .admin-modal-body{padding:24px 24px 0}.admin-treatment-scanner .admin-modal-footer{padding:18px 24px 24px}.admin-treatment-scanner .admin-modal-footer>button{flex:0 1 auto;min-width:180px}.admin-treatment-scanner .admin-modal-close-button{top:18px;right:18px}}
@media(max-width:479px){.admin-treatment-scanner .admin-modal-body{padding:16px 14px 0}.admin-treatment-scanner .admin-section-title{font-size:20px}.admin-treatment-scanner-formats{margin-bottom:12px}.admin-treatment-scanner-inputs{grid-template-columns:1fr;gap:10px}.admin-treatment-scanner-workspace{gap:12px}.admin-treatment-scanner .admin-modal-footer{padding:12px 14px 16px}.admin-treatment-scanner-feedback{font-size:12px;padding:8px 10px;bottom:12px}.admin-treatment-scanner .admin-modal-close-button{top:10px;right:10px}}
@media(max-height:540px) and (min-width:640px){.admin-treatment-scanner-workspace{flex-direction:row}.admin-treatment-scanner-inputs{display:flex;flex:0 0 34%;flex-direction:column;align-items:stretch;justify-content:center}.admin-treatment-scanner-formats{margin-bottom:10px}.admin-treatment-scanner .admin-modal-footer{padding-top:10px;padding-bottom:12px}}
@media(prefers-reduced-motion:reduce){.admin-treatment-scanner-spinner{animation:none!important}}
.dark .admin-treatment-limit-row{border-color:#44403c}

.admin-treatment-name{display:flex;flex-direction:column;min-width:0;gap:.25rem}
.admin-treatment-name .admin-field-help{overflow-wrap:anywhere}

/* Timesheet workflow and compact summaries. */
.admin-widget-item:has(>.admin-widget-item-link){padding:0;overflow:hidden}
.admin-widget-item-link{display:flex;width:100%;min-width:0;align-items:center;gap:.75rem;padding:.875rem 1rem;border:0;background:transparent;color:inherit;text-align:left;text-decoration:none;cursor:pointer}
button.admin-widget-item-link:disabled{cursor:default;opacity:.72}
.admin-timesheet-anomaly-stat:has(button:not(:disabled)){border-color:#fedf89}
.admin-timesheet-anomaly-stat button:not(:disabled):hover{background:#fffaeb}
.admin-timesheet-readiness{padding-top:1.25rem;padding-bottom:1.25rem}
.admin-timesheet-readiness-heading strong{display:block;color:#101828;font-size:1rem;line-height:1.4}
.admin-timesheet-readiness-step{display:block;margin-bottom:.2rem;color:#667085;font-size:.6875rem;font-weight:750;letter-spacing:.055em;text-transform:uppercase}
.admin-timesheet-readiness-primary{flex:0 0 auto}
.admin-timesheet-readiness-primary>.admin-secondary-button,.admin-timesheet-readiness-actions>.admin-secondary-button{min-height:2.75rem;white-space:nowrap}
.admin-timesheet-readiness-actions{display:flex;align-items:center;justify-content:flex-end;gap:.625rem}
.admin-timesheet-setup-link,.admin-timesheet-setup-state{display:inline-block;margin-top:.25rem;max-width:100%;color:#b54708;font-size:.75rem;font-weight:700;line-height:1.35;white-space:normal}
.admin-timesheet-setup-link{text-decoration:underline;text-underline-offset:2px}
.admin-timesheet-zero-state{color:#98a2b3;font-size:.8125rem;font-weight:550}
.admin-timesheet-report-footer{display:flex;width:100%;align-items:center;justify-content:flex-end;gap:.75rem}

/* Calendar events stay compact; selecting one reveals a readable summary before editing. */
.admin-timesheet-calendar-legend{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin:0 0 1rem;color:#667085;font-size:.75rem;font-weight:650}
.admin-timesheet-calendar-legend span{display:inline-flex;align-items:center;gap:.4rem}
.admin-timesheet-calendar-legend i{width:.65rem;height:.65rem;border:1px solid transparent;border-radius:.2rem;background:#f2f4f7}
.admin-timesheet-calendar-legend .is-attendance{border-color:#fed7c7;background:#fff1ec}
.admin-timesheet-calendar-legend .is-paid{border-color:#abefc6;background:#ecfdf3}
.admin-timesheet-calendar-legend .is-unpaid{border-color:#fedf89;background:#fffaeb}
.admin-timesheet-calendar-legend .is-anomaly{border-color:#f04438;background:#fff}
.admin-timesheet-calendar-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1rem;padding:.875rem 1rem;border:1px solid #e4e7ec;border-radius:.75rem;background:#faf8f3}
.admin-timesheet-calendar-summary[hidden]{display:none}
.admin-timesheet-calendar-summary strong{display:block;color:#101828}
.admin-timesheet-calendar-summary p{margin:.15rem 0 0;color:#667085;font-size:.8125rem}
.admin-timesheet-calendar-summary-value{display:flex;align-items:center;gap:.75rem;white-space:nowrap}
.admin-timesheet-user-calendar-surface .fc-scrollgrid-section-header>*{position:sticky;top:0;z-index:3;background:#faf8f3}

@media(max-width:767.98px){
  .admin-timesheet-overview-table tbody>tr{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:.625rem!important;padding:.875rem!important}
  .admin-timesheet-overview-table tbody>tr>.admin-table-action-cell{grid-column:1/-1!important;grid-row:1!important;padding:0 0 .5rem!important}
  .admin-timesheet-overview-table tbody>tr>.admin-table-mobile-primary{grid-column:1/-1!important;grid-row:2!important;padding:.625rem 0 .75rem!important}
  .admin-timesheet-overview-table tbody>tr>.admin-timesheet-metric{display:flex!important;min-height:4.4rem;grid-column:auto!important;align-items:flex-start!important;justify-content:space-between;flex-direction:column;gap:.3rem!important;border-top:1px solid #ebe6df!important;padding:.7rem .2rem .5rem!important;text-align:left!important}
  .admin-timesheet-overview-table tbody>tr>.admin-timesheet-metric::before{font-size:.625rem;line-height:.9rem}
  .admin-timesheet-overview-table tbody>tr>.admin-timesheet-metric>*{align-items:flex-start;justify-self:start;margin:0;text-align:left!important}
  .admin-timesheet-overview-table .admin-timesheet-value-stack{align-items:flex-start;text-align:left}
  .admin-timesheet-overview-table .admin-timesheet-overview-progress{display:grid;width:100%;max-width:100%;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.4rem}
  .admin-timesheet-overview-table .admin-timesheet-overview-progress>.admin-progress{width:100%;min-width:0}
  .admin-timesheet-overview-table .admin-timesheet-variance{text-align:right}
  .admin-timesheet-readiness{gap:1rem}
  .admin-timesheet-readiness-primary,.admin-timesheet-readiness-primary>.admin-secondary-button,.admin-timesheet-readiness-actions{width:100%}
  .admin-timesheet-readiness-actions{align-items:stretch;flex-direction:column}
  .admin-timesheet-readiness-actions>.admin-secondary-button{justify-content:center;width:100%}
  .admin-timesheet-calendar-summary{align-items:flex-start;flex-direction:column}
  .admin-timesheet-calendar-summary-value{width:100%;justify-content:space-between}
}
@media(max-width:420px){
  .admin-timesheet-overview-table tbody{padding:.625rem!important}
  .admin-timesheet-overview-table tbody>tr{column-gap:.5rem!important}
  .admin-timesheet-overview-table .admin-timesheet-overview-avatar{width:2.5rem;height:2.5rem;flex-basis:2.5rem}
  .admin-timesheet-overview-table .admin-table-action-cell .admin-action-group :is(button,a){width:2.75rem;min-width:2.75rem;height:2.75rem;min-height:2.75rem}
  .admin-timesheet-calendar-legend{gap:.45rem .75rem}
}
@media(max-width:767.98px){
  .admin-row-actions-menu[data-admin-row-actions-open] :is(a,button,[type="submit"]){
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:2.75rem;
    justify-content:flex-start!important;
    padding:.65rem .75rem!important;
    border-radius:.5rem;
  }
}
.dark .admin-widget-item-link{color:inherit}
.dark .admin-timesheet-readiness-heading strong,.dark .admin-timesheet-calendar-summary strong{color:#f2f4f7}
.dark .admin-timesheet-calendar-summary{border-color:#344054;background:#111827}
.dark .admin-timesheet-calendar-summary p,.dark .admin-timesheet-calendar-legend{color:#98a2b3}
.admin-timesheet-timeline-period-nav{display:flex;align-items:center;gap:.5rem}
.admin-timesheet-timeline-nav-button{min-height:2.75rem;white-space:nowrap}
@media(max-width:767.98px){
  .admin-timesheet-timeline-period-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .admin-timesheet-timeline-period-nav{grid-column:1/-1}
  .admin-timesheet-timeline-period-select{width:100%;min-width:0;max-width:none}
  .admin-timesheet-timeline-period-form .admin-timesheet-timeline-period-apply{grid-column:1/-1;width:100%}
}
.admin-timesheet-readiness-next{border-color:#b91937!important;background:#d51d40!important;color:#fff!important}
.admin-timesheet-readiness-next:hover{background:#b93815!important;color:#fff!important}

/* Native climate details remain compact and scroll with the climate popover. */
.admin-warehouse-native-control { display: grid; gap: .5rem; margin-block: .75rem; }
.admin-warehouse-native-control input { min-height: 2.75rem; font-size: 1rem; width: 100%; min-width: 0; padding: .5rem; border: 1px solid var(--color-gray-300, #d0d5dd); border-radius: .5rem; }
.admin-warehouse-native-control input[aria-invalid="true"] { border-color: #d92d20; box-shadow: 0 0 0 3px rgba(217,45,32,.12); }
.admin-warehouse-controller-validation { margin: -.25rem 0 0; color: #b42318; font-size: .75rem; line-height: 1.35; }
.dark .admin-warehouse-native-control input { border-color: #475467; background: #1d2939; color: #f2f4f7; }
.dark .admin-warehouse-native-control input[aria-invalid="true"] { border-color: #f97066; box-shadow: 0 0 0 3px rgba(249,112,102,.18); }
.dark .admin-warehouse-controller-validation { color: #fda29b; }
.admin-warehouse-native-control .admin-warehouse-cooling-toggle { min-height: 2.75rem; }
.admin-warehouse-native-control .admin-warehouse-controller-save { width: 100%; min-height: 2.75rem; }
.admin-warehouse-native-control .admin-warehouse-controller-save:disabled { cursor: not-allowed; opacity: .62; }
.dark .admin-warehouse-native-control .admin-warehouse-controller-save { border-color: #475467; background: #344054; color: #f2f4f7; }
.dark .admin-warehouse-native-control .admin-warehouse-controller-save:hover:not(:disabled) { background: #475467; }
.admin-warehouse-native-schedule summary { min-height: 2.75rem; padding-block: .5rem; cursor: pointer; font-weight: 600; }

.admin-treatment-scan-video[hidden],.admin-treatment-source-link[hidden],#treatment-limit-capacity[hidden]{display:none!important}
.admin-treatment-source-link{align-self:flex-start;min-height:2.75rem;display:inline-flex;align-items:center}
.dark :is(#add-treatment-form,#edit-treatment-form) .admin-multiselect-placeholder{color:#57534e}
.dark .admin-treatment-source-link{color:#ad2f12}

/* Keep the last meter reading beside well identity on phones. */
.admin-water-mobile-reading { display: none; }
@media (max-width: 767px) {
    .admin-water-mobile-reading { display: block; font-size: 0.75rem; margin-top: 0.25rem; }
    #watering_wells_table .admin-table-action-cell .admin-action-group { max-width: 7rem; }
}

/* Shared modern filter chrome; financial registers retain their own grid and paging. */
form[data-financial-filter-form].admin-financial-filter-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:.75rem;width:100%!important;min-width:0!important;max-width:100%!important;overflow:visible!important;box-sizing:border-box;padding:1rem;border-bottom:1px solid var(--color-gray-200,#e4e7ec)}
form[data-financial-filter-form].admin-financial-filter-row>*{width:100%!important;min-width:0!important;max-width:none!important}
:is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) :is(.admin-base-dropdown-trigger,.admin-multiselect-trigger){height:3.25rem;min-height:3.25rem;border-color:#e4d8ce;border-radius:.75rem;background:linear-gradient(135deg,#fff 0%,#fffaf6 100%);padding:.65rem .8rem;box-shadow:0 1px 2px rgba(28,25,23,.04);color:#292524}
:is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) :is(.admin-base-dropdown-trigger,.admin-multiselect-trigger):hover{border-color:#d8aa91;background:#fff7f1;color:#1c1917}
:is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) :is(.admin-base-dropdown-trigger,.admin-multiselect-trigger):is(.admin-selected-control-shadow,.admin-work-machine-filter-trigger-active){border-color:#efb294;box-shadow:0 0 0 3px rgba(239,33,71,.09)}
:is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) :is(.admin-base-dropdown-trigger,.admin-multiselect-trigger):is(:focus-visible,[aria-expanded=true]){border-color:#ef2147;outline:0;box-shadow:0 0 0 3px rgba(239,33,71,.13)}
:is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) .admin-dropdown-selected-svg{color:#b91937}
:is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) .admin-dropdown-selected-label{font-size:.9rem;font-weight:700;color:#1c1917}
:is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) .admin-dropdown-chevron{color:#78716c}
@media(max-width:639.98px){
  .admin-page-heading-period [data-admin-modern-dropdown] .admin-base-dropdown-trigger,
  .admin-page-heading-period [data-admin-modern-dropdown] .admin-base-dropdown-trigger:is(:hover,:focus,:focus-visible,[aria-expanded=true],.admin-selected-control-shadow),
  .admin-page-heading-shell+.admin-period-context-bar [data-admin-modern-dropdown] .admin-base-dropdown-trigger,
  .admin-page-heading-shell+.admin-period-context-bar [data-admin-modern-dropdown] .admin-base-dropdown-trigger:is(:hover,:focus,:focus-visible,[aria-expanded=true],.admin-selected-control-shadow){
    height:auto;min-height:2.75rem;width:auto;max-width:100%;padding:.1rem 0;border:0;border-radius:0;outline:0;background:transparent;box-shadow:none;color:#c93c14;justify-content:flex-end;gap:.15rem;transition:none;-webkit-tap-highlight-color:transparent
  }
  .admin-page-heading-period [data-admin-modern-dropdown] .admin-dropdown-selected-label,
  .admin-page-heading-shell+.admin-period-context-bar [data-admin-modern-dropdown] .admin-dropdown-selected-label{font-size:1.15rem;line-height:1.3;font-weight:700;color:#c93c14;font-variant-numeric:tabular-nums}
  .admin-page-heading-period [data-admin-modern-dropdown] .admin-dropdown-chevron,
  .admin-page-heading-shell+.admin-period-context-bar [data-admin-modern-dropdown] .admin-dropdown-chevron{margin-left:.15rem;width:1.05rem;height:1.05rem;color:#c93c14}
  .admin-page-heading-period [data-admin-modern-dropdown] .admin-dropdown-chevron i,
  .admin-page-heading-shell+.admin-period-context-bar [data-admin-modern-dropdown] .admin-dropdown-chevron i{font-size:1rem!important;font-weight:900;-webkit-text-stroke:.75px currentColor}
  .dark .admin-page-heading-period [data-admin-modern-dropdown] .admin-base-dropdown-trigger,
  .dark .admin-page-heading-period [data-admin-modern-dropdown] .admin-dropdown-selected-label,
  .dark .admin-page-heading-period [data-admin-modern-dropdown] .admin-dropdown-chevron,
  .dark .admin-page-heading-shell+.admin-period-context-bar [data-admin-modern-dropdown] .admin-base-dropdown-trigger,
  .dark .admin-page-heading-shell+.admin-period-context-bar [data-admin-modern-dropdown] .admin-dropdown-selected-label,
  .dark .admin-page-heading-shell+.admin-period-context-bar [data-admin-modern-dropdown] .admin-dropdown-chevron{color:#ff8a6d}
}
:is(.admin-filter-option-icon,.admin-financial-filter-option-icon){display:flex;width:2.5rem;height:2.5rem;flex:0 0 2.5rem;align-items:center;justify-content:center;border:1px solid #f0d6c7;border-radius:.75rem;background:#fff5ee;color:#b93815;font-size:1.15rem}
:is(.admin-filter-option-icon,.admin-financial-filter-option-icon) i,:is(.admin-filter-option-icon,.admin-financial-filter-option-icon) svg,:is(.admin-filter-option-icon,.admin-financial-filter-option-icon) .svg-inline--fa{display:block;width:1em!important;height:1em!important;max-width:100%;max-height:100%;font-size:1em!important}
.admin-filter-dropdown-menu:is(.admin-dropdown-menu-panel,.admin-work-machine-filter-menu),#financial-sort-control-menu.admin-dropdown-menu-panel{border-color:#eadfd7;border-radius:.875rem;padding:.5rem;box-shadow:0 14px 30px rgba(41,37,36,.14),0 3px 8px rgba(41,37,36,.08)}
.admin-filter-dropdown-menu .admin-dropdown-option-row,#financial-sort-control-menu .admin-dropdown-option-row{min-height:3.5rem;border-radius:.75rem;padding:.45rem .55rem;font-weight:650}
.admin-filter-dropdown-menu .admin-dropdown-option-row:hover,#financial-sort-control-menu .admin-dropdown-option-row:hover{background:#fff7f1}
.admin-filter-dropdown-menu .admin-dropdown-option-row-selected,#financial-sort-control-menu .admin-dropdown-option-row-selected{background:#fff0e7;color:#9a3412}
.admin-filter-dropdown-menu .admin-dropdown-check,#financial-sort-control-menu .admin-dropdown-check{color:#ef2147}
.admin-financial-search-field .admin-table-search-input{width:100%;min-width:0;max-width:100%;height:3.25rem;min-height:3.25rem;border-radius:.75rem}
.dark :is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) :is(.admin-base-dropdown-trigger,.admin-multiselect-trigger),.dark .admin-form :is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) :is(.admin-base-dropdown-trigger,.admin-multiselect-trigger){border-color:#57463d;background:linear-gradient(135deg,#1d2939 0%,#29211d 100%);color:#f5f5f4}
.dark :is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) :is(.admin-base-dropdown-trigger,.admin-multiselect-trigger):hover,.dark .admin-form :is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) :is(.admin-base-dropdown-trigger,.admin-multiselect-trigger):hover{border-color:#9a6147;background:#33251f;color:#fff}
.dark :is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) :is(.admin-base-dropdown-trigger,.admin-multiselect-trigger):is(.admin-selected-control-shadow,.admin-work-machine-filter-trigger-active),.dark .admin-form :is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) :is(.admin-base-dropdown-trigger,.admin-multiselect-trigger):is(.admin-selected-control-shadow,.admin-work-machine-filter-trigger-active){border-color:#b86b49;box-shadow:0 0 0 3px rgba(251,146,60,.12)}
.dark :is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) :is(.admin-base-dropdown-trigger,.admin-multiselect-trigger):is(:focus-visible,[aria-expanded=true]),.dark .admin-form :is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) :is(.admin-base-dropdown-trigger,.admin-multiselect-trigger):is(:focus-visible,[aria-expanded=true]){border-color:#fb923c;box-shadow:0 0 0 3px rgba(251,146,60,.2)}
.dark :is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) .admin-dropdown-selected-svg{color:#fdba74}
.dark :is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) .admin-dropdown-selected-label{color:#f5f5f4}
.dark :is(.admin-filter-option-icon,.admin-financial-filter-option-icon){border-color:#694735;background:#33251f;color:#fdba74}
.dark .admin-filter-dropdown-menu:is(.admin-dropdown-menu-panel,.admin-work-machine-filter-menu),.dark #financial-sort-control-menu.admin-dropdown-menu-panel{border-color:#57463d;background:#1d2939}
.dark .admin-filter-dropdown-menu .admin-dropdown-option-row:hover,.dark #financial-sort-control-menu .admin-dropdown-option-row:hover{background:#33251f}
.dark .admin-filter-dropdown-menu .admin-dropdown-option-row-selected,.dark #financial-sort-control-menu .admin-dropdown-option-row-selected{background:#42291f;color:#fdba74}
.admin-financial-filter-row>.admin-secondary-button{min-height:2.75rem;justify-content:center}
.admin-financial-filter-row>.admin-filter-actions{display:flex;align-items:center;justify-content:flex-end;gap:.75rem}
.admin-financial-pagination{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border-top:1px solid var(--color-gray-200,#e4e7ec)}
.admin-financial-pagination-actions{display:flex;align-items:center;justify-content:flex-end;gap:.75rem}
.admin-financial-account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:.75rem}
.admin-financial-reason-list{display:flex;flex-wrap:wrap;gap:.5rem}
.admin-financial-match-difference{min-height:1.25rem;font-size:.875rem;font-weight:600;color:#667085}
.admin-financial-match-difference[data-tone="success"]{color:#067647}
.admin-financial-match-difference[data-tone="warning"]{color:#b54708}
.admin-financial-match-complement{min-height:1.25rem;font-size:.875rem;font-weight:600;color:#067647}
@media(min-width:768px) and (max-width:1199.98px){
  .admin-financial-register-table .admin-financial-tablet-hide{display:none}
  form[data-financial-filter-form].admin-financial-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767.98px){
  form[data-financial-filter-form].admin-financial-filter-row{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
  .admin-financial-filter-row>.admin-secondary-button,.admin-financial-filter-row>.admin-filter-actions{grid-column:1/-1}
  .admin-financial-pagination{align-items:stretch;flex-direction:column}
  .admin-financial-pagination-actions{justify-content:space-between}
}
@media(max-width:479.98px){
  form[data-financial-filter-form].admin-financial-filter-row{grid-template-columns:1fr}
  .admin-financial-filter-row>.admin-secondary-button,.admin-financial-filter-row>.admin-filter-actions{grid-column:auto}
  .admin-financial-pagination-actions{flex-wrap:wrap}
}
.admin-financial-register-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.75rem}
.admin-financial-header-action,.admin-financial-add-line-action{display:inline-flex;min-height:2.75rem;align-items:center;justify-content:center;gap:.5rem}
.admin-financial-add-line-action{width:auto;margin-top:.75rem}
/* Invoice entry: compact worksheet; the shared dialog owns optional row editing. */
.admin-invoice-worksheet{--invoice-line:#e4dfd7;--invoice-soft:#faf8f4;--invoice-ink:#292524;--invoice-muted:#6b6560;color:var(--invoice-ink);container-type:inline-size}
.admin-invoice-worksheet [hidden],#financial-invoice-line-editor [hidden]{display:none!important}
.admin-invoice-identity{padding:1.25rem}
.admin-invoice-parties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.admin-invoice-basics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:1rem}
.admin-invoice-optional-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:1rem}
.admin-invoice-worksheet :is(.admin-field-label,.admin-field-label-strong){font-size:.8rem;margin-bottom:.35rem}
.admin-workspace-page .admin-main-root .admin-invoice-worksheet :is(.admin-input-control,.admin-base-dropdown-trigger){min-height:2.5rem;height:2.5rem;font-size:.875rem;padding:.5rem .75rem;border-radius:.5rem}
.admin-invoice-worksheet .admin-field-help{font-size:.75rem}
.admin-workspace-page .admin-main-root .admin-invoice-worksheet textarea.admin-input-control{height:auto;min-height:5rem}
.admin-invoice-source{display:flex;align-items:center;gap:.625rem;padding:.875rem 1.25rem;background:var(--invoice-soft);border-bottom:1px solid var(--invoice-line);font-size:.8rem}
.admin-invoice-source>span:first-of-type{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-invoice-source-state{margin-left:auto;white-space:nowrap;color:#386644}
.admin-invoice-review{padding:0 1.25rem;background:#fff8e9;color:#854d0e;border-bottom:1px solid #f3e2bd}
.admin-invoice-review .admin-form-disclosure>summary{color:inherit}
.admin-invoice-review-list{list-style:disc;padding-left:1.1rem;font-size:.8rem;display:grid;gap:.5rem}
.admin-invoice-worksheet .admin-form-disclosure-flat{margin:0;border:0;border-radius:0;background:transparent}
.admin-invoice-worksheet .admin-form-disclosure-flat>summary{padding:.875rem 0;font-size:.8rem;font-weight:600;min-height:2.75rem}
.admin-invoice-worksheet .admin-form-disclosure-body{padding:0 0 1rem}
.admin-invoice-items{border-top:1px solid var(--invoice-line)}
.admin-invoice-items-heading{padding:.875rem 1.25rem;display:flex;align-items:center;justify-content:space-between}
.admin-invoice-items-heading h2{font-size:.9rem;font-weight:650;display:flex;align-items:center;gap:.5rem}
.admin-invoice-items-heading [data-invoice-line-count]{font-size:.75rem;font-weight:500;color:var(--invoice-muted);padding:.05rem .35rem;border:1px solid var(--invoice-line);border-radius:.3rem}
.admin-invoice-line-columns,.admin-invoice-line-row{display:grid;grid-template-columns:minmax(11rem,2.7fr) minmax(4rem,.65fr) minmax(5rem,.85fr) minmax(5.5rem,.9fr) minmax(5rem,.85fr) minmax(5rem,.8fr) 2.75rem;gap:.5rem;align-items:start;padding:0 1.25rem}
.admin-invoice-line-columns{padding-top:.625rem;padding-bottom:.625rem;font-size:.75rem;color:var(--invoice-muted);background:var(--invoice-soft);border-block:1px solid var(--invoice-line)}
.admin-invoice-line-columns>span{display:flex;align-items:center;gap:.3rem}
.admin-invoice-line{border-bottom:1px solid var(--invoice-line)}
.admin-invoice-line-row{padding-top:.25rem;padding-bottom:.25rem;align-items:center;min-height:3rem}
.admin-invoice-field{min-width:0}
.admin-invoice-line-row :is(.admin-field-label,.admin-field-label-strong){position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.admin-workspace-page .admin-main-root .admin-invoice-line-row :is(.admin-input-control,.admin-base-dropdown-trigger){height:2.25rem;min-height:2.25rem;padding:.375rem .45rem;font-size:.8rem;box-shadow:none;border-color:transparent;border-radius:.375rem;background:transparent}
.admin-workspace-page .admin-main-root .admin-invoice-line-row :is(.admin-input-control,.admin-base-dropdown-trigger):hover{border-color:var(--invoice-line);background:var(--invoice-soft)}
.admin-workspace-page .admin-main-root .admin-invoice-line-row :is(.admin-input-control,.admin-base-dropdown-trigger):focus-visible{border-color:#e15b2b}
.admin-invoice-line-row input{font-variant-numeric:tabular-nums;text-overflow:ellipsis}
.admin-invoice-field-quantity input,.admin-invoice-field-price input,.admin-invoice-field-net_value input{text-align:right}
.admin-invoice-line-row .admin-dropdown-selected-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-invoice-line-row .admin-field-error{font-size:.7rem;line-height:1.3}
.admin-workspace-page .admin-main-root .admin-invoice-line-row .admin-invoice-missing-value{background:#fff8e9;border-color:#ebd9b8;color:#854d0e}
.admin-invoice-line-row .admin-invoice-missing-value::placeholder{color:#854d0e;opacity:1}
.admin-invoice-vat-button{width:100%;min-height:2.75rem;display:flex;align-items:center;text-align:left;color:var(--invoice-muted);font-size:.75rem}
.admin-invoice-vat-button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-invoice-line-actions{display:flex;align-items:center;justify-content:center;min-height:2.75rem}
.admin-invoice-line-actions button{min-width:2.75rem;min-height:2.75rem;background:transparent;color:var(--invoice-muted);border:1px solid transparent;box-shadow:none}
.admin-invoice-line-actions button:hover{background:var(--invoice-soft);border-color:var(--invoice-line)}
.admin-invoice-items-footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1.25rem}
.admin-invoice-text-button{font-size:.8rem;font-weight:600;min-height:2.75rem;color:#b33e12}
.admin-invoice-totals{display:grid;grid-template-columns:minmax(0,1fr) minmax(18rem,23rem);gap:2rem;padding:1.25rem;background:var(--invoice-soft);border-top:1px solid var(--invoice-line)}
.admin-invoice-totals-values{display:grid;gap:.6rem}
.admin-invoice-totals-values>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(6rem,9rem);align-items:center;gap:.5rem}
.admin-invoice-totals-values :is(.admin-field-label,.admin-field-label-strong){margin:0;font-size:.8rem}
.admin-invoice-totals-values .admin-field-label .admin-mini-icon-tile{display:none}
.admin-invoice-totals-values .admin-field-help,.admin-invoice-totals-values .admin-field-error{grid-column:1/-1}
.admin-invoice-totals-values input{text-align:right;font-variant-numeric:tabular-nums}
.admin-invoice-totals-values>div:last-child{border-top:1px solid var(--invoice-line);padding-top:.75rem}
.admin-invoice-totals-values>div:last-child :is(label,input){font-weight:650}
.admin-invoice-check{font-size:.8rem;color:var(--invoice-muted);margin:0 0 .5rem}
.admin-invoice-check[data-state="match"]{color:#386644}
.admin-invoice-check[data-state="mismatch"]{color:#92400e}
.admin-invoice-optional{padding:0 1.25rem;border-top:1px solid var(--invoice-line)}
.admin-invoice-optional>.admin-form-disclosure,.admin-invoice-optional>#invoice-document-details{border-bottom:1px solid var(--invoice-line)}
.admin-invoice-line-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.admin-invoice-line-editor .admin-invoice-field-name,.admin-invoice-line-editor .admin-invoice-field-vat_exemption_reason,.admin-invoice-line-editor .admin-invoice-field-classification_code{grid-column:1/-1}
.admin-invoice-editor-actions{display:flex;justify-content:flex-end;align-items:center;gap:.75rem;width:100%}
.admin-invoice-editor-actions>[data-remove-financial-line]{margin-right:auto;color:#b42318}
.admin-invoice-editor-error{padding:.75rem 1rem;background:#fff4ed;border:1px solid #fed7aa;border-radius:.5rem;color:#9a3412;font-size:.875rem;margin-bottom:1rem}
@container (max-width:820px){
  .admin-invoice-line-columns,.admin-invoice-line-row{grid-template-columns:minmax(0,1fr) 6.5rem 2.75rem}
  .admin-invoice-line-row :is(.admin-invoice-field-quantity,.admin-invoice-field-unit_code,.admin-invoice-field-price,.admin-invoice-line-vat),.admin-invoice-line-columns :is(.admin-invoice-column-quantity,.admin-invoice-column-unit_code,.admin-invoice-column-price,.admin-invoice-column-vat){display:none}
  .admin-invoice-basics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-invoice-totals{grid-template-columns:1fr;gap:1rem}
  .admin-invoice-totals-values{max-width:25rem;justify-self:end;width:100%}
}
@media(max-width:639.98px){
  .admin-invoice-identity,.admin-invoice-totals{padding:1rem}
  .admin-invoice-parties,.admin-invoice-optional-grid{grid-template-columns:1fr}
  .admin-invoice-line-columns,.admin-invoice-line-row{padding-left:.75rem;padding-right:.75rem;gap:.25rem}
  .admin-invoice-items-heading,.admin-invoice-items-footer{padding-left:1rem;padding-right:1rem}
  .admin-invoice-source-state{display:none}
  .admin-invoice-optional,.admin-invoice-review{padding-inline:1rem}
  .admin-invoice-worksheet :is(.admin-input-control,.admin-base-dropdown-trigger){font-size:1rem!important;min-height:2.75rem!important}
  .admin-invoice-line-editor{grid-template-columns:1fr}
  .admin-invoice-line-editor .admin-invoice-field{grid-column:auto}
  .admin-invoice-editor-actions{flex-direction:column;gap:.75rem}
  .admin-invoice-editor-actions>*{width:100%;justify-content:center;min-height:2.75rem}
  .admin-invoice-editor-actions>[data-remove-financial-line]{margin-right:0}
}
@media(pointer:coarse){
  .admin-workspace-page .admin-main-root .admin-invoice-worksheet :is(.admin-input-control,.admin-base-dropdown-trigger){height:2.75rem;min-height:2.75rem}
  .admin-workspace-page .admin-main-root .admin-invoice-line-row :is(.admin-input-control,.admin-base-dropdown-trigger){height:2.75rem;min-height:2.75rem}
}
.dark .admin-invoice-worksheet{--invoice-line:#4b453f;--invoice-soft:#292622;--invoice-ink:#f3eee7;--invoice-muted:#c8beb2;background:#221f1b}
.dark .admin-workspace-page .admin-main-root .admin-invoice-worksheet :is(.admin-input-control,.admin-base-dropdown-trigger){color:#f3eee7;background:#292622;border-color:#4b453f}
.dark .admin-invoice-worksheet :is(.admin-field-label,.admin-field-label-strong),.dark .admin-invoice-worksheet .admin-form-disclosure>summary{color:#e7dfd6}
.dark .admin-invoice-review{background:#3d301f;color:#f9ce87;border-color:#654b26}
.dark .admin-invoice-source-state,.dark .admin-invoice-check[data-state="match"]{color:#a4d1af}
.dark .admin-invoice-text-button{color:#ffb18c}
.dark .admin-invoice-check[data-state="mismatch"]{color:#f9ce87}
.admin-form-disclosure{border:1px solid var(--color-gray-200,#e4e7ec);border-radius:.75rem;background:#fff}
.admin-form-disclosure>summary{display:flex;min-height:2.75rem;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem;color:#344054;font-weight:650;cursor:pointer;list-style:none}
.admin-form-disclosure>summary::-webkit-details-marker{display:none}
.admin-form-disclosure-chevron{display:inline-flex;transition:transform .18s ease}
.admin-form-disclosure[open] .admin-form-disclosure-chevron{transform:rotate(180deg)}
.admin-form-disclosure-body{padding:0 1rem 1rem}
.admin-form-disclosure-body>.admin-form-grid-2{margin-top:.25rem}
.dark .admin-form-disclosure{border-color:#344054;background:#1d2939}.dark .admin-form-disclosure>summary{color:#f2f4f7}
.admin-financial-detail-nav{position:sticky;top:.5rem;z-index:10;display:flex;gap:.5rem;overflow-x:auto;margin-bottom:1rem;padding:.5rem;border:1px solid var(--color-gray-200,#e4e7ec);border-radius:.75rem;background:rgba(255,255,255,.96);box-shadow:var(--shadow-theme-xs,0 1px 2px rgba(16,24,40,.05))}
.admin-financial-detail-nav a{display:inline-flex;align-items:center;min-height:2.75rem;padding:.55rem .85rem;border-radius:.5rem;color:#475467;font-size:.875rem;font-weight:600;white-space:nowrap}
.admin-financial-detail-nav a:hover,.admin-financial-detail-nav a:focus-visible{background:#fff1ed;color:#b42318}
.admin-financial-pdf-preview{display:block;width:100%;height:min(70dvh,50rem);min-height:28rem;border:1px solid var(--color-gray-200,#e4e7ec);border-radius:.75rem;background:#f8fafc}
.admin-financial-import-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:0 0 1rem;padding:0;list-style:none}
.admin-financial-import-steps li{display:flex;align-items:center;gap:.625rem;min-height:2.75rem;padding:.625rem .875rem;border:1px solid var(--color-gray-200,#e4e7ec);border-radius:.75rem;color:#667085;background:#fff}
.admin-financial-import-steps li span{display:grid;place-items:center;width:1.75rem;height:1.75rem;border-radius:999px;background:#f2f4f7;font-weight:700}
.admin-financial-import-steps li[data-state="current"]{border-color:#fda29b;color:#b42318;background:#fff5f3}
.admin-financial-import-confirm{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;padding:1rem;border:1px solid #fedf89;border-radius:.75rem;background:#fffaeb;color:#7a2e0e}
@media(max-width:767.98px){
  .admin-financial-register-actions{width:100%}
  .admin-financial-register-actions>*{flex:1 1 auto;justify-content:center}
  .admin-financial-import-steps{grid-template-columns:1fr}
  .admin-financial-import-confirm{align-items:stretch;flex-direction:column}
  .admin-financial-pdf-preview{height:65dvh;min-height:22rem}
}

/* Treatment evidence and editable controls retain readable contrast. */
.admin-workspace-page .admin-treatment-editor :is(.admin-field-help,.text-gray-400,.admin-tab-button-inactive){color:#6b6560}
.admin-treatment-editor .text-red-500{color:#b3261e}
.dark .admin-treatment-editor .admin-tab-button-inactive{color:#d0d5dd}
.dark .admin-treatment-editor .admin-tab-button-active{color:#ffc0aa}
.dark .admin-treatment-editor .admin-tab-list-nested .admin-tab-button-inactive:hover{background:#344054;color:#f2f4f7}

/* Shared treatment forms retain their light surface in the dark workspace. */
.dark .admin-treatment-editor .admin-dropdown-selected-label{color:#45403c}
.dark .admin-treatment-editor .admin-form-section-label{color:#6b6560}

.admin-water-meter-display { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.admin-water-meter-value { flex: 1 1 12rem; min-width: 0; overflow-wrap: anywhere; }
.admin-water-meter-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

.admin-workspace-page #treatments_table .admin-field-help{color:#6b6560}
#treatments_table .admin-treatment-name .admin-inline-text-link-primary{color:#b91937}

/* Planting's calculation-only worksheet; shared dialog and form controls own behavior. */
.admin-seeding-modal-width{max-width:76rem}
.admin-seeding-calculator{display:flex;flex-direction:column;gap:1.5rem;color:#292524}
.admin-seeding-calculator [hidden]{display:none!important}
.admin-seeding-toolbar{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);align-items:start;gap:1.75rem}
.admin-seeding-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:1.75rem;align-items:start}
.admin-seeding-inputs,.admin-seeding-stack{display:flex;flex-direction:column;gap:1rem;min-width:0}
.admin-seeding-field{min-width:0}
.admin-seeding-session-note{margin:0;font-size:.75rem;line-height:1.5;color:#78716c}
.admin-seeding-help{font-size:.875rem;line-height:1.6;color:#57534e;margin:0}
.admin-seeding-summary{padding:1.25rem;border:1px solid #e7dfd6;border-radius:.875rem;background:#faf7f2;min-width:0;position:sticky;top:1rem;margin-top:3.5rem}
.admin-seeding-metrics{display:grid;gap:1rem;margin:1rem 0 0}
.admin-seeding-metrics>div+div{border-top:1px solid #e7dfd6;padding-top:1rem}
.admin-seeding-metrics dt,.admin-seeding-calibration-results dt{font-size:.8rem;color:#57534e;margin-bottom:.375rem}
.admin-seeding-metrics dd,.admin-seeding-calibration-results dd{font-size:1.05rem;font-weight:600;margin:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.admin-seeding-metrics>div:first-child dd{font-size:2rem;letter-spacing:-.04em;line-height:1.25;color:#bd3009}
.admin-seeding-calibration-section{margin-top:1.5rem}
.admin-seeding-calibration-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:1rem;margin:1rem 0}
.admin-seeding-calculator .admin-form-section-label{margin:0}
.admin-seeding-calculator .admin-form-disclosure{margin:0}
.admin-seeding-calculator .admin-form-disclosure-body{display:flex;flex-direction:column;gap:1rem}
.admin-seeding-trials{display:grid;gap:.5rem;padding-left:1.5rem;margin:.75rem 0 0;font-size:.875rem;font-variant-numeric:tabular-nums}
.admin-seeding-sources{padding-left:1.25rem;margin:.75rem 0 0;font-size:.875rem;line-height:1.8}
.admin-seeding-sources a{text-decoration:underline;text-underline-offset:3px;color:#9a3412}
.dark .admin-seeding-modal-width,.dark .admin-seeding-modal-width .admin-modal-body{background:#1d2939;color:#f2f4f7}
.dark .admin-seeding-modal-width :is(.admin-section-title,.admin-field-label-icon,.admin-field-label-strong,.admin-dropdown-selected-label){color:#f2f4f7}
.dark .admin-seeding-modal-width .admin-mini-icon-tile{background:#344054;color:#d0d5dd}
.dark .admin-seeding-modal-width .admin-field-help{color:#d0d5dd}
.dark .admin-seeding-calculator .admin-base-dropdown-trigger{background:#111827;border-color:#475467;color:#f2f4f7}
.dark .admin-seeding-calculator{color:#f5f5f4}
.dark .admin-seeding-session-note{color:#a8a29e}
.dark .admin-seeding-help,.dark .admin-seeding-metrics dt,.dark .admin-seeding-calibration-results dt{color:#d6d3d1}
.dark .admin-seeding-summary{background:#292524;border-color:#57534e}
.dark .admin-seeding-metrics>div+div{border-color:#57534e}
.dark .admin-seeding-metrics>div:first-child dd,.dark .admin-seeding-sources a{color:#ffb28b}
@media(max-width:767px){.admin-seeding-layout,.admin-seeding-toolbar{grid-template-columns:minmax(0,1fr);gap:1.25rem}.admin-seeding-summary{position:static;margin-top:0}.admin-seeding-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.admin-seeding-metrics>div+div{border:0;padding:0}.admin-seeding-metrics>div:first-child{grid-column:1/-1}}

/* Invoice payment review: one readable form, exact balances, bank-specific export. */
.admin-payment-batch-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.admin-payment-batch-value-field { display: grid; gap: 6px; min-width: 0; margin-bottom: 12px; text-align: left; }
.admin-payment-batch-value { white-space: normal; overflow-wrap: anywhere; }
.admin-payment-batch-iban{display:flex;align-items:center;gap:.5rem;min-width:0;margin:0}
.admin-payment-batch-iban>span:last-child{min-width:0;overflow-wrap:anywhere}
.admin-payment-batch-bank-mark{display:inline-flex;flex:0 0 2rem;width:2rem;height:1.5rem;align-items:center;justify-content:center;border-radius:.25rem;background:#fff;color:#344054;padding:.1rem}
.admin-payment-batch-bank-mark .admin-financial-bank-logo{width:100%;height:100%;object-fit:contain}
@media(min-width:1024px){
    .admin-payment-batch-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
    .admin-payment-batch-fields:has(>[data-payment-payer-tax]:not([hidden])){grid-template-columns:minmax(0,1.1fr) minmax(0,.7fr) minmax(0,1.6fr) minmax(0,.7fr)}
}
.admin-payment-batch-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-block: 16px; }
.admin-payment-batch-note { margin-block: 16px; color: #475467; }
.admin-payment-batch-warning { padding: 12px 16px; margin-block: 16px; border: 1px solid #fedf89; background: #fffaeb; color: #93370d; border-radius: 8px; }
.admin-payment-batch-error { color: #b42318; white-space: normal; margin-top: 6px; font-size: 12px; }
.admin-payment-batch-card{overflow:clip}
/* Keep focused fields clear of the ledger's sticky Actions column. */
.admin-payment-batch-card .admin-table-scroll{scroll-padding-inline:1rem 6rem}
.admin-payment-batch-table{width:100%;min-width:64rem;table-layout:fixed}
.admin-payment-batch-table :is(th,td){box-sizing:border-box;min-width:0;overflow:hidden;padding-left:1rem;padding-right:1rem;vertical-align:middle}
.admin-payment-batch-table thead th{line-height:1.25;overflow-wrap:anywhere;white-space:normal}
.admin-payment-batch-table thead .text-red-500{color:#b91c1c}
.admin-payment-batch-table th:nth-child(1){width:11%}
.admin-payment-batch-table th:nth-child(2){width:7%}
.admin-payment-batch-table th:nth-child(3){width:13%}
.admin-payment-batch-table th:nth-child(4){width:19%}
.admin-payment-batch-table th:nth-child(5){width:12%}
.admin-payment-batch-table th:nth-child(6){width:14%}
.admin-payment-batch-table th:nth-child(7){width:7%}
.admin-payment-batch-table th:nth-child(8){width:12%}
.admin-payment-batch-table th:nth-child(9){width:5%}
.admin-payment-batch-table tbody td{padding-top:1rem;padding-bottom:1rem}
.admin-payment-batch-table-field{position:relative;min-width:0}
.admin-payment-batch-table-field>.admin-field-label-strong{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.admin-payment-batch-table-field .admin-input-control{width:100%;min-width:0}
.admin-payment-batch-table [id^="pay-iban-"]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}
.admin-payment-batch-cell-value{display:block;min-width:0;overflow:hidden;color:#101828;font-size:.9rem;font-weight:600;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.admin-payment-batch-monospace{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.83rem;letter-spacing:.01em;white-space:nowrap}
.admin-payment-batch-amount-cell .admin-payment-batch-cell-value{white-space:nowrap;font-variant-numeric:tabular-nums}
.admin-payment-batch-review-footer{display:grid;grid-template-columns:minmax(19rem,.72fr) minmax(0,1.28fr);border-top:1px solid #d9d3cb;background:#fbf8f4}
.admin-payment-batch-summary{min-width:0;padding:1.25rem 1.5rem;border-right:1px solid #e3ddd6}
.admin-payment-batch-summary-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.75rem}
.admin-payment-batch-summary-kicker{display:block;margin-bottom:.25rem;color:#706860;font-size:.68rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase}
.admin-payment-batch-summary h3{margin:0;color:#101828;font-size:1rem;font-weight:750;line-height:1.35}
.admin-payment-batch-validation-state{display:flex;max-width:14rem;align-items:flex-start;gap:.45rem;border:1px solid #a6d8c1;border-radius:.625rem;background:#edf9f3;padding:.55rem .65rem;color:#166747;font-size:.72rem;font-weight:650;line-height:1.35}
.admin-payment-batch-validation-state>svg{flex:0 0 1rem;margin-top:.05rem}
.admin-payment-batch-validation-state.is-attention{border-color:#f4cf8b;background:#fff8e8;color:#934b0c}
.admin-payment-batch-summary-list{display:grid;margin:0}
.admin-payment-batch-summary-list>div{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;padding:.55rem 0;border-top:1px solid #e8e2db}
.admin-payment-batch-summary-list dt{color:#667085;font-size:.78rem}
.admin-payment-batch-summary-list dd{margin:0;color:#101828;font-size:.82rem;font-weight:750;text-align:right;font-variant-numeric:tabular-nums}
.admin-payment-batch-summary-list .admin-payment-batch-footer-total dd{font-size:1.25rem;letter-spacing:-.02em}
.admin-payment-batch-summary-file{align-items:flex-start!important}
.admin-payment-batch-summary-file dd{max-width:17rem;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.72rem!important}
.admin-payment-batch-review-controls{min-width:0;justify-content:flex-end;padding:1.25rem 1.5rem}
.admin-payment-batch-review-controls .admin-checkbox-label{align-items:flex-start}
.admin-payment-batch-review-controls .admin-payment-batch-actions{margin-top:auto;margin-bottom:0}
.admin-payment-batch-review-controls .admin-payment-batch-actions>*{width:100%;justify-content:center}
.admin-payment-batch-table-footer :is(th,td){border-top:1px solid #d9d3cb;background:#fbf8f4;padding:1rem 1.5rem;color:#475467;text-align:left;text-transform:none;letter-spacing:normal}
.admin-payment-batch-footer-label{display:inline-flex;align-items:center;gap:.55rem;font-size:.82rem;font-weight:700;color:#344054;white-space:nowrap}
.admin-payment-batch-footer-file{display:flex;min-width:0;flex-direction:column;gap:.25rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8rem;font-weight:650;color:#344054;white-space:nowrap}
.admin-payment-batch-footer-caption{font-family:inherit;font-size:.68rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#7b736b}
.admin-payment-batch-footer-total{text-align:right!important;white-space:nowrap}
.admin-payment-batch-footer-total strong{display:block;margin-top:.2rem;color:#101828;font-size:1rem;font-variant-numeric:tabular-nums}
.admin-payment-export-panel{display:grid;gap:1rem;padding-top:.25rem}
/* Compact phone and desktop downloads share a header, body and action footer. */
.admin-payment-qr,.admin-payment-export-choice{display:flex;flex-direction:column;min-width:0;border:1px solid #d8d2ca;border-radius:.85rem;background:#fff;overflow:hidden;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.admin-payment-download-heading{display:flex;align-items:center;justify-content:space-between;gap:.65rem;padding:1rem 1rem 0;color:#667085}
.admin-payment-download-heading h4{margin:0;color:#101828;font-size:.9rem;line-height:1.4;font-weight:700}
.admin-payment-download-heading>i,.admin-payment-download-heading>svg{flex-shrink:0}
.admin-payment-download-body{display:flex;flex:1;align-items:center;gap:.85rem;min-width:0;min-height:10rem;padding:1rem}
.admin-payment-qr [data-payment-qr-link]{display:block;flex:0 0 128px;max-width:100%;border-radius:.5rem;background:#fff}
.admin-payment-qr img{display:block;width:128px;height:128px;max-width:100%;object-fit:contain;background:#fff;border-radius:.5rem}
.admin-payment-qr-copy{min-width:0;display:grid;gap:.35rem}
.admin-payment-qr-copy strong{color:#101828;font-size:.8125rem;line-height:1.4;font-weight:700}
.admin-payment-qr-copy p{margin:0;color:#667085;font-size:.75rem;line-height:1.5}
.admin-payment-download-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;min-height:4.3rem;border-top:1px solid #e7e2dc;padding:.7rem 1rem}
.admin-payment-qr-expiry{display:flex;flex:1 1 6rem;align-items:center;gap:.35rem;min-width:0;color:#667085}
.admin-payment-qr-expiry>i,.admin-payment-qr-expiry>svg{flex-shrink:0}
.admin-payment-qr-expiry p{margin:0;font-size:.75rem;line-height:1.45;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.admin-payment-qr .admin-form{container-type:normal;flex:0 0 auto;width:auto;max-width:100%;margin:0}
.admin-payment-qr-regenerate{min-height:44px;padding:.5rem .6rem;font-size:.8125rem;white-space:normal}
.admin-payment-download-button{width:100%;min-height:44px;justify-content:center;padding:.65rem .85rem;font-size:.8125rem;white-space:normal}
.dark .admin-payment-qr,.dark .admin-payment-export-choice{background:#1d2939;border-color:#475467}
.dark .admin-payment-download-heading h4,.dark .admin-payment-qr-copy strong{color:#f9fafb}
.dark .admin-payment-download-heading,.dark .admin-payment-qr-copy p,.dark .admin-payment-qr-expiry{color:#d0d5dd}
.dark .admin-payment-download-footer{border-color:#475467}
.admin-payment-phone-page{margin:0;min-height:100vh;display:grid;place-items:center;padding:1.25rem;background:#f7f4ed;color:#101828;font-family:system-ui,sans-serif}
.admin-payment-phone-card{width:100%;max-width:28rem;display:grid;gap:1rem;padding:1.5rem;border:1px solid #d9d3cb;border-radius:1rem;background:#fff}
.admin-payment-phone-card h1{font-size:1.25rem;font-weight:700}
.admin-payment-phone-card p{font-size:1rem;line-height:1.5}
.admin-payment-export-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1.25rem}
.admin-payment-export-header h3{margin-top:0;color:#101828;font-size:1.05rem;font-weight:700;line-height:1.35}
.admin-payment-export-header p{margin-top:.3rem;max-width:52rem;color:#667085;font-size:.84rem;line-height:1.5}
.admin-payment-export-header>a{flex:0 0 auto}
.admin-payment-export-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));align-items:stretch;gap:1rem}
.admin-payment-export-logo{display:flex;flex:0 0 7rem;width:7rem;min-height:3.5rem;align-items:center;justify-content:center;border-radius:.5rem;background:#fff;padding:.35rem}
.admin-payment-export-logo img{display:block;width:100%;height:auto;max-height:3.5rem;object-fit:contain}
.admin-payment-export-copy{display:flex;min-width:0;flex-direction:column;gap:.2rem}
.admin-payment-export-copy strong{color:#101828;font-size:.95rem;font-weight:750;line-height:1.3;overflow-wrap:anywhere}
.admin-payment-export-copy>span{font-size:.78rem;font-weight:600;color:#667085}
.admin-payment-export-copy small{color:#7b736b;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.7rem;line-height:1.5;overflow-wrap:anywhere}
.admin-payment-export-guidance{border-top:1px solid #eee9e3;padding-top:.8rem;color:#667085;font-size:.78rem;line-height:1.5}
.admin-table-export-menu-item:disabled { cursor: not-allowed; opacity: .5; }
.dark .admin-payment-batch-note { color: #d0d5dd; }
.dark .admin-payment-batch-error,
.dark .admin-payment-batch-card .admin-field-error { color: #fda29b; }
.dark .admin-payment-batch-card{border-color:#344054;background:#101828}
.dark .admin-payment-batch-card :is(.admin-card-body,.admin-manual-table-body){background:#101828}
.dark .admin-payment-batch-table :is(thead,th){background:#1d2939;color:#d0d5dd}
.dark .admin-payment-batch-card .text-red-500{color:#fda29b}
.dark .admin-payment-batch-table .admin-table-action-cell{background:#101828}
.dark .admin-payment-batch-table tbody tr:hover,
.dark .admin-payment-batch-table tbody tr:hover .admin-table-action-cell{background:#1d2939}
.dark .admin-payment-batch-card :is(.admin-form-section-label,.admin-field-label,.admin-field-label-strong,.admin-field-label-icon,.admin-checkbox-label,[data-payment-urgent-value]){color:#f2f4f7}
.dark .admin-payment-batch-card .admin-detail-row-label{color:#b3b8c2}
.dark .admin-payment-batch-value{color:#f2f4f7}
.dark .admin-payment-batch-cell-value,.dark .admin-payment-batch-footer-total strong,.dark .admin-payment-export-header h3,.dark .admin-payment-export-copy strong{color:#f2f4f7}
.dark .admin-payment-batch-review-footer{border-color:#475467;background:#1d2939}
.dark .admin-payment-batch-summary{border-color:#475467}
.dark .admin-payment-batch-summary h3,.dark .admin-payment-batch-summary-list dd{color:#f2f4f7}
.dark .admin-payment-batch-summary-kicker,.dark .admin-payment-batch-summary-list dt{color:#98a2b3}
.dark .admin-payment-batch-summary-list>div{border-color:#475467}
.dark .admin-payment-batch-validation-state{border-color:#287a59;background:#123c2d;color:#abefc6}
.dark .admin-payment-batch-validation-state.is-attention{border-color:#b77b24;background:#3d2b12;color:#fedf89}
.dark .admin-payment-batch-table-footer :is(th,td){border-color:#475467;background:#1d2939;color:#d0d5dd}
.dark .admin-payment-batch-footer-label,.dark .admin-payment-batch-footer-file{color:#e4e7ec}
.dark .admin-payment-batch-footer-caption{color:#98a2b3}
.dark .admin-payment-batch-card .admin-table-text-muted,.dark .admin-payment-export-copy>span,.dark .admin-payment-export-header p,.dark .admin-payment-export-guidance{color:#d0d5dd}
.dark .admin-payment-export-copy small{color:#98a2b3}
.dark .admin-payment-export-guidance{border-color:#475467}
@media (max-width: 1023px) {
    .admin-payment-batch-review-footer{grid-template-columns:minmax(0,1fr)}
    .admin-payment-batch-summary{border-right:0;border-bottom:1px solid #e3ddd6}
    .dark .admin-payment-batch-summary{border-color:#475467}
    .admin-payment-export-options{grid-template-columns:minmax(0,1fr)}
}
@media (max-width: 767px) {
    .admin-payment-batch-fields { grid-template-columns: minmax(0,1fr); }
    .admin-payment-batch-table{min-width:66rem}
    .admin-payment-batch-table .admin-input-control{min-width:0;width:100%}
    .admin-payment-batch-actions { flex-direction: column; align-items: stretch; }
    .admin-payment-batch-actions > *, .admin-payment-batch-actions summary { width: 100%; justify-content: center; }
    .admin-payment-export-header{flex-direction:column}
    .admin-payment-export-header>a{width:100%;justify-content:center}
}
@media (max-width: 479px) {
    .admin-payment-batch-summary,.admin-payment-batch-review-controls{padding:1rem}
    .admin-payment-batch-summary-header{flex-direction:column}
    .admin-payment-batch-validation-state{max-width:none;width:100%}
    .admin-payment-qr [data-payment-qr-link]{flex-basis:112px}
    .admin-payment-qr img{width:112px;height:112px}
    .admin-payment-download-body{gap:.65rem}
    .admin-payment-export-logo{flex-basis:5.5rem;width:5.5rem}

}

/* Payments overview: restrained semantic accents; bank marks keep their own colors. */
.admin-financial-stat-blue{--financial-icon-background:#bfdbfe;--financial-ink:#1d4ed8}
.admin-financial-register-stat.admin-financial-stat-blue{--financial-icon-background:#e5eeff;--financial-ink:#3462b7}
.admin-financial-stat-teal{--financial-icon-background:#99f6e4;--financial-ink:#0f766e}
.admin-financial-register-stat.admin-financial-stat-teal{--financial-icon-background:#dff7f2;--financial-ink:#258078}
.admin-financial-stat-amber{--financial-icon-background:#fde68a;--financial-ink:#a16207}
.admin-financial-register-stat.admin-financial-stat-amber{--financial-icon-background:#fff1cb;--financial-ink:#a27317}
.admin-financial-stat-green{--financial-icon-background:#bbf7d0;--financial-ink:#15803d}
.admin-financial-register-stat.admin-financial-stat-green{--financial-icon-background:#e1f5e8;--financial-ink:#287c4c}
.admin-financial-stat-rose{--financial-icon-background:#fecdd3;--financial-ink:#be123c}
.admin-financial-register-stat.admin-financial-stat-rose{--financial-icon-background:#fce8ed;--financial-ink:#ab4565}
.admin-financial-stat-slate{--financial-icon-background:#f1f2f5;--financial-ink:#626e80}
.admin-financial-stat .admin-widget-item-icon-color{background:var(--financial-icon-background);color:var(--financial-ink)}
.admin-status-tile.admin-financial-bank-card{background:#fff;align-items:center}
.admin-financial-bank-card .admin-status-tile-icon{width:5rem;height:3.5rem;flex:0 0 5rem;background:transparent;border:0}
.admin-financial-bank-logo{display:block;width:4.5rem;height:2.5rem;object-fit:contain}
.admin-financial-payment-bank-icon{display:inline-flex;width:2rem;height:2rem;align-items:center;justify-content:center;color:#667085}
.admin-financial-payment-bank-icon .admin-financial-bank-logo{width:2rem;height:1.75rem}
.admin-financial-payment-receipt-cell{display:none}
.dark .admin-financial-payment-bank-icon{color:#98a2b3}
@media(min-width:768px){
  #financial_payments_table .admin-financial-payment-bank-cell{width:3.5rem;padding-left:.75rem;padding-right:.75rem;text-align:center}
}
.admin-financial-bank-card .admin-status-tile-label{overflow-wrap:anywhere}
.admin-financial-bank-card .admin-status-tile-description{font-size:.75rem;line-height:1.45}

/* Shared table paging: retain button dimensions and accessible labels while loading. */
.admin-table-page-loading{position:relative;color:transparent!important;cursor:wait!important}
.admin-table-page-loading>*{opacity:0}
.admin-table-page-loading::after{content:"";position:absolute;left:50%;top:50%;width:1rem;height:1rem;margin:-.5rem 0 0 -.5rem;border:2px solid #667085;border-right-color:transparent;border-radius:50%;animation:admin-table-page-spin .7s linear infinite}
@keyframes admin-table-page-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.admin-table-page-loading::after{animation:none}}

.admin-table-load-error{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;background:#fff7ed;color:#9a3412;border-top:1px solid #fed7aa}
.admin-table-load-error[hidden]{display:none}
@media(max-width:639px){.admin-table-load-error{align-items:stretch;flex-direction:column}}

.admin-financial-account-link{display:flex;min-width:0;color:inherit;text-decoration:none;border-radius:.9rem}
.admin-financial-account-link>.admin-financial-bank-card{width:100%}
.admin-financial-account-link:focus-visible{outline:2px solid #f97316;outline-offset:3px}
.admin-financial-account-link[aria-current=true]>.admin-financial-bank-card{box-shadow:0 0 0 2px #fb923c}
.admin-financial-health-details>summary{padding:1rem;cursor:pointer;font-weight:600}

.admin-financial-register-tools{padding:.75rem 1rem;border-top:1px solid #eee9e2}
.admin-financial-saved-views{min-width:0}
.admin-financial-saved-views-trigger{display:flex;min-height:2.75rem;align-items:center;justify-content:space-between;gap:.75rem;border-radius:.625rem;padding:.5rem .75rem;color:#344054;cursor:pointer;list-style:none;font-size:.875rem;font-weight:650}
.admin-financial-saved-views-trigger:hover{background:#f9fafb;color:#101828}
.admin-financial-saved-views-trigger:focus-visible{outline:2px solid #f97316;outline-offset:2px}
.admin-financial-saved-views-label{display:inline-flex;min-width:0;align-items:center;gap:.5rem}
.admin-financial-saved-views-chevron{display:inline-flex;flex:0 0 auto;transition:transform .2s ease}
.admin-financial-saved-views-trigger[aria-expanded=true] .admin-financial-saved-views-chevron{transform:rotate(180deg)}
.dark .admin-financial-saved-views-trigger{color:#d0d5dd}
.dark .admin-financial-saved-views-trigger:hover{background:#1d2939;color:#f2f4f7}
@media(prefers-reduced-motion:reduce){.admin-financial-saved-views-chevron{transition:none}}
.admin-financial-saved-views.is-open{display:flex;align-items:flex-start;gap:1rem}
.admin-financial-saved-views.is-open>.admin-financial-saved-views-trigger{flex:0 0 auto;justify-content:flex-start}
.admin-financial-saved-views-panel{flex:1;min-width:0}
.admin-financial-saved-views-panel[hidden]{display:none}
.admin-financial-saved-view-list{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.5rem}
.admin-financial-saved-view-list:empty,[data-financial-view-status]:empty{display:none}
.admin-financial-saved-view-item{display:flex;align-items:center;gap:.25rem;max-width:100%;min-width:0}
.admin-financial-saved-view-item>.admin-secondary-button{min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:left}
.admin-financial-saved-view-item>.admin-action-text-link{flex:0 0 2.75rem;min-height:2.75rem}
.admin-financial-saved-view-row{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:.5rem;min-width:0}
.admin-financial-saved-view-name{display:grid;grid-template-columns:max-content minmax(6rem,1fr);align-items:center;gap:.5rem;min-width:0}
.admin-financial-saved-view-name>.admin-field-label-icon{margin-bottom:0;white-space:nowrap}
.admin-financial-saved-view-name>.admin-input-control{min-width:0}
.admin-financial-saved-view-name>.admin-field-error{grid-column:2}
[data-financial-view-status]:not(:empty){margin-top:.35rem}

.admin-financial-allocation-row{border:1px solid #e5dfd6;border-radius:.75rem;padding:1rem;margin-bottom:.75rem}
[data-financial-invoice-lookup-results]{max-height:20rem;overflow-y:auto}
[data-financial-invoice-lookup-results]>button{text-align:left;justify-content:flex-start;white-space:normal}

/* Financial registers share one section/controls hierarchy and real peer-route links. */
.admin-financial-register-navigation{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}
.admin-financial-register-navigation [aria-current="page"]{border-color:#ff9776;background:#fff6f1;color:#dd390d}
form[data-financial-filter-form].admin-financial-filter-row{display:block!important;padding:0;border-bottom:0}
.admin-financial-filter-row .admin-table-controls-header{display:grid;grid-template-columns:minmax(0,3fr) minmax(18rem,2fr);gap:.75rem;align-items:center}
.admin-financial-filter-row .admin-table-controls-left{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;min-width:0}
.admin-financial-filter-row .admin-table-controls-right{display:flex;min-width:0;margin-left:0;width:100%;gap:.75rem;align-items:center}
.admin-financial-filter-row .admin-financial-search-field{flex:1;min-width:0}
.admin-financial-filter-row .admin-table-export-button{height:52px;flex:none}
.admin-financial-register-tools{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.admin-financial-register-tools>.admin-financial-saved-views{min-width:0;max-width:none;flex:1}
.admin-financial-compact-links{display:none}
@media(min-width:768px) and (max-width:1535.98px){.admin-financial-compact-links{display:block;margin-top:.35rem}}
@media(min-width:768px) and (max-width:899.98px){
 .admin-financial-compact-links :is(.admin-financial-allocated-invoice-link,.admin-financial-allocation-assignment){grid-template-columns:1.25rem minmax(0,1fr);gap:.2rem;padding:.1rem 0}
 .admin-financial-compact-links .admin-financial-allocated-invoice-icon{width:1.25rem;height:1.25rem;border-radius:.375rem}
}
@media(max-width:1199.98px){.admin-financial-filter-row .admin-table-controls-header{grid-template-columns:minmax(0,1fr)}}
@media(max-width:639.98px){
 .admin-financial-filter-row .admin-table-controls-left{grid-template-columns:minmax(0,1fr)}
 .admin-financial-filter-row .admin-table-controls-right{flex-direction:column;align-items:stretch}
 .admin-financial-register-navigation>*{flex:1;justify-content:center}
 .admin-financial-register-tools{align-items:stretch;flex-wrap:wrap}
 .admin-financial-register-tools>.admin-financial-saved-views{max-width:100%;flex:1;min-width:min(100%,12rem)}
 .admin-financial-saved-views.is-open{display:block}
 .admin-financial-saved-views-panel{margin-top:.5rem}
 .admin-financial-saved-view-row{grid-template-columns:minmax(0,1fr);margin-top:.5rem}
 .admin-financial-saved-view-name{display:block}
 .admin-financial-saved-view-name>.admin-field-label-icon{margin-bottom:.5rem}
 .admin-financial-saved-view-row>.admin-secondary-button{width:100%;justify-content:center}
 .admin-financial-saved-view-list{margin-top:.5rem}
}

/* Keep six financial metrics in balanced rows within the actual content width. */
[data-financial-invoice-overview],[data-financial-payment-overview],.admin-financial-detail-overview{container-type:inline-size;container-name:financial-overview}
[data-financial-invoice-overview] .admin-statistics-grid,[data-financial-payment-overview] .admin-statistics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Refined mini cards: white surfaces, color on icons, neutral selection. */
.admin-financial-register-stat{position:relative;border-radius:.9375rem;border-color:#e5e7eb;box-shadow:0 1px 2px rgb(16 24 40 / .035)}
.admin-financial-register-stat>.admin-widget-item-link{min-height:6.25rem;height:100%;padding:1rem .9375rem;gap:.75rem;flex-direction:row;align-items:center;border-radius:inherit}
.admin-financial-register-stat .admin-stat-icon-box{width:2.125rem;height:2.125rem;min-width:2.125rem;flex:0 0 2.125rem;border-radius:.6875rem}
.admin-financial-register-stat .admin-widget-item-value-compact{font-size:1.5625rem;line-height:1.2;letter-spacing:-.035em;white-space:normal;overflow-wrap:anywhere}
.admin-financial-register-stat .admin-widget-item-label-compact{margin-top:.3125rem;font-size:.75rem;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.admin-financial-register-stat .admin-widget-item-content{min-width:0}
.admin-financial-outstanding-values{display:flex;min-width:0;flex-direction:column;gap:.125rem;font-size:1rem;line-height:1.25;letter-spacing:-.02em}
.admin-financial-outstanding-amount{display:flex;min-width:0;align-items:baseline;gap:.3rem;white-space:nowrap}
.admin-financial-outstanding-amount>strong{overflow:hidden;text-overflow:ellipsis;font-weight:750}
.admin-financial-outstanding-amount>small{flex:0 0 auto;font-size:.6875rem;font-weight:650;letter-spacing:.02em;color:#667085}
.dark .admin-financial-outstanding-amount>small{color:#98a2b3}
.admin-financial-stat-date time{display:flex;flex-wrap:wrap;align-items:baseline;gap:.125rem .375rem}
.admin-financial-stat-date time>span{min-width:0;white-space:normal;overflow-wrap:anywhere}
.admin-financial-stat-date time>small{font-size:.6875rem;font-weight:500;letter-spacing:0;color:#667085}
.admin-financial-stat-selected{display:none;position:absolute;right:.4375rem;top:.4375rem;pointer-events:none;color:#667085;line-height:1}
.admin-financial-register-stat[data-financial-summary-active=true]{border-color:#84909d;box-shadow:0 0 0 1px rgb(132 144 157 / .12)}
.admin-financial-register-stat[data-financial-summary-active=true]>.admin-financial-stat-selected{display:inline-flex}
.admin-financial-register-stat:has(>.admin-widget-item-link:hover){border-color:#98a2b3}
.admin-financial-register-stat>.admin-widget-item-link:focus-visible{outline:2px solid #667085;outline-offset:-3px}
.dark .admin-financial-register-stat{background:#1d2939;border-color:#344054}
.dark .admin-financial-register-stat .admin-widget-item-value-compact{color:#f2f4f7}
.dark .admin-financial-register-stat .admin-widget-item-label-compact{color:#d0d5dd}
.dark .admin-financial-register-stat[data-financial-summary-active=true]{border-color:#98a2b3}
.dark .admin-financial-register-stat.admin-financial-stat-blue{--financial-icon-background:#23344e;--financial-ink:#9ebcf0}
.dark .admin-financial-register-stat.admin-financial-stat-teal{--financial-icon-background:#193f3b;--financial-ink:#88d4c6}
.dark .admin-financial-register-stat.admin-financial-stat-amber{--financial-icon-background:#46391e;--financial-ink:#e9c46e}
.dark .admin-financial-register-stat.admin-financial-stat-green{--financial-icon-background:#214231;--financial-ink:#95d4ad}
.dark .admin-financial-register-stat.admin-financial-stat-rose{--financial-icon-background:#442b36;--financial-ink:#e7a3ba}
.dark .admin-financial-register-stat.admin-financial-stat-slate{--financial-icon-background:#344054;--financial-ink:#d0d5dd}
.dark .admin-financial-stat-date time>small,.dark .admin-financial-stat-selected{color:#98a2b3}
@container financial-overview (min-width:33rem){
 [data-financial-invoice-overview] .admin-statistics-grid,[data-financial-payment-overview] .admin-statistics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@container financial-overview (min-width:64rem){
 [data-financial-invoice-overview] .admin-statistics-grid,[data-financial-payment-overview] .admin-statistics-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@container financial-overview (max-width:24rem){
 .admin-financial-register-stat>.admin-widget-item-link{padding:.875rem .625rem;gap:.5rem}
 .admin-financial-register-stat .admin-stat-icon-box{width:1.75rem;height:1.75rem;min-width:1.75rem;flex-basis:1.75rem;border-radius:.5rem}
 .admin-financial-register-stat .admin-widget-item-value-compact{font-size:1.4375rem}
 .admin-financial-register-stat .admin-widget-item-label-compact{font-size:.6875rem}
}

@container financial-overview (max-width:24rem){
 .admin-financial-detail-overview .admin-widget-item,.admin-financial-detail-overview .admin-widget-item-link{flex-direction:column;align-items:flex-start}
 .admin-financial-detail-overview .admin-widget-item-link>div:last-child,.admin-financial-detail-overview .admin-widget-item>div:last-child{width:100%}
 .admin-financial-detail-overview .admin-widget-item-value-compact,.admin-financial-detail-overview .admin-widget-item-label{white-space:normal;overflow-wrap:anywhere}
}

/* Evidence must wrap inside Status instead of painting across the Payable amount. */
.admin-financial-status-cell .admin-financial-cell-stack{max-width:100%}
.admin-financial-status-cell .admin-table-text-muted{max-width:100%;white-space:normal;overflow-wrap:anywhere}

.dark .admin-financial-register-navigation [aria-current="page"]{background:#292524;border-color:#c2410c;color:#fdba74}
/* A full-column selection footer must not resurrect hidden tablet columns. */
@media(min-width:768px) and (max-width:1535.98px){
 #financial_invoices_table tfoot:has(.admin-table-selection-row){display:table-caption;caption-side:bottom}
 #financial_invoices_table tfoot .admin-table-selection-row{display:flex;width:100%}
 #financial_invoices_table tfoot .admin-table-selection-control-cell{display:block;flex:0 0 3.5rem;padding:.65rem .75rem}
 #financial_invoices_table tfoot .admin-table-selection-summary-cell{display:flex;align-items:center;flex:1;min-width:0}
}

/* Shared financial details: compact, icon-led fields and section navigation. */
.admin-financial-detail-label{display:flex;align-items:center;gap:.5rem}
.admin-financial-detail-nav a{gap:.5rem}
.dark .admin-financial-detail-nav{background:#1d2939;border-color:#344054}
.dark .admin-financial-detail-nav a{color:#e4e7ec}
.dark .admin-financial-detail-nav a:hover,.dark .admin-financial-detail-nav a:focus-visible{background:#292524;color:#fdba74}
.admin-financial-detail-overview .admin-statistics-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.admin-financial-detail-stat .admin-widget-item-value-compact{font-size:1rem;overflow-wrap:anywhere}
.admin-financial-confirmed-tile{background:transparent;border-color:#e4e7ec}
.dark .admin-financial-confirmed-tile{background:transparent;border-color:#344054}
[id^="payment-"]{scroll-margin-top:5rem}
@media(max-width:1199.98px){.admin-financial-detail-overview .admin-statistics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:479.98px){.admin-financial-detail-stat .admin-widget-item-value-compact{font-size:.8125rem;white-space:normal}}

.admin-financial-register-navigation>a{min-height:2.75rem;gap:.4rem}
.admin-back-label-short{display:none}

@media(max-width:639.98px){
 .admin-page-heading-with-back .admin-page-heading-actions{max-width:35%}
 .admin-page-heading-with-back [data-admin-back]{padding:.65rem .75rem;gap:.4rem}
 .admin-page-heading-with-back .admin-back-label-full{display:none}
 .admin-page-heading-with-back .admin-back-label-short{display:inline;white-space:nowrap}
 body:has(.admin-table-filter-sheet:not(.hidden)) .admin-base-dropdown-menu{max-height:max(8rem,calc(100dvh - 21rem));overflow-y:auto}
}

/* Native WebKit date content must not grow beyond its shared 48px control. */
.admin-native-picker-field{min-width:0;width:100%}
.admin-native-picker-field>.admin-input-control{appearance:none;-webkit-appearance:none;box-sizing:border-box;min-width:0;max-width:100%;height:3rem;min-height:3rem;padding-block:.625rem;padding-right:3rem;text-align:left}
.admin-native-picker-field>.admin-input-control::-webkit-date-and-time-value{min-height:1.35rem;text-align:left}
.admin-native-picker-field>.admin-input-control::-webkit-datetime-edit{padding:0;display:inline-flex;align-items:center}
/* Keep the shared picker button as the single visible calendar affordance. */
input:has(+.admin-native-picker-button)::-webkit-calendar-picker-indicator{opacity:0}
.dark .admin-workspace-page .admin-harvest-entry-form-card{background:#101828}
.dark .admin-harvest-entry-form-card .admin-base-dropdown-trigger,.dark .admin-workspace-page .admin-harvest-entry-form-card :is(.admin-input-control,.admin-form-control){background:#1d2939;border-color:#475467;color:#f9fafb;color-scheme:dark}
.dark .admin-workspace-page .admin-harvest-entry-form-card :is(.admin-field-label,.admin-field-label-icon,.admin-field-label-strong,.admin-form-progress-label){color:#d0d5dd}
.dark .admin-harvest-entry-form-card .admin-mini-icon-tile{background:#344054;color:#d0d5dd}
.dark .admin-workspace-page .admin-harvest-entry-form-card .admin-field-help{color:#98a2b3}
.dark .admin-harvest-entry-form-card #warehouse-bulk-assignments .admin-field-help{color:#475467}
.dark .admin-harvest-entry-form-card #harvest_container_type-button img{filter:brightness(0) invert(1)}
.dark .admin-harvest-entry-form-card .harvest-type-image-icon,.dark .admin-harvest-crop-action .harvest-type-image-icon{filter:brightness(0) invert(1)}
@media(max-width:639.98px){
 .admin-harvest-entry-form-card>.admin-card-body{padding:1rem}
 .admin-harvest-add-form .admin-form-grid-2,.admin-harvest-add-form .admin-form-grid-3{row-gap:1rem}
 .admin-harvest-intake-actions>.admin-action-button{width:100%}
}
.admin-care-calendar-toolbar{padding:1rem;gap:1rem}
.admin-care-calendar-title{font-size:1.25rem!important;line-height:1.4!important;white-space:normal!important}
.admin-care-week-day{font-size:.75rem;white-space:normal;text-align:center}
@media(max-width:639.98px){
  .admin-care-calendar-toolbar{display:grid!important;grid-template-columns:1fr auto;gap:.75rem}
  .admin-care-calendar-toolbar>:has(.admin-care-calendar-title){grid-column:1/-1;grid-row:1;text-align:center}
}

.admin-care-week-date{display:block;white-space:pre-line;line-height:1.4}

.admin-water-chart-panel .admin-callout{margin-top:1rem}

/* Fuel heatmap keeps exact values accessible by touch and keyboard. */
.admin-heatmap-legend{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin:.75rem 0;font-size:.75rem;color:#475467}
.admin-heatmap-legend>span{display:inline-flex;align-items:center;gap:.375rem}
.admin-heatmap-legend .admin-heatmap-cell{display:inline-block;flex-shrink:0}
.admin-heatmap-level-0{background:transparent;border-style:dashed}
.admin-heatmap-readout{min-height:3rem;padding:.75rem;border-radius:.5rem;background:#f2f4f7;color:#344054;font-size:.875rem}
.admin-heatmap-day-button{display:flex;align-items:center;justify-content:center;min-width:2.75rem;min-height:2.75rem;border-radius:.5rem}
.admin-heatmap-day-button:focus-visible,.admin-heatmap-day-button[aria-pressed="true"]{outline:2px solid #dc2f0b;outline-offset:-2px;background:#fff4ed}
.admin-fuel-heatmap .admin-heatmap-day-cell{padding:.125rem}
.admin-fuel-heatmap .admin-heatmap-type-cell{position:sticky;left:0;z-index:1;background:#fff;max-width:7rem;white-space:normal}
.admin-heatmap-anomaly-dot{position:absolute;right:-.125rem;bottom:-.125rem;width:.375rem;height:.375rem;border-radius:50%;background:#f43f5e}
.dark .admin-fuel-heatmap .admin-heatmap-type-cell{background:#1d2939;color:#f2f4f7}
.dark .admin-heatmap-readout{background:#344054;color:#f2f4f7}
.dark .admin-heatmap-legend{color:#d0d5dd}
.dark .admin-heatmap-day-button:focus-visible,.dark .admin-heatmap-day-button[aria-pressed="true"]{background:#43251c}

/* Shared field-label decoration retains wrapping, required markers and label clicks. */
.admin-field-semantic-icon{display:inline-block;width:1rem;height:1rem;margin-inline-end:.375rem;vertical-align:-.15em;color:currentColor;opacity:.75;pointer-events:none}
.admin-field-semantic-icon svg{display:block;width:100%;height:100%}

/* Care keeps an unavailable map compact so the operation stays close to land selection. */
.admin-care-form .admin-map-preview-empty{min-height:0;border:0;border-radius:0;background:transparent;padding:.25rem 0;justify-content:flex-start}

/* Invoice lookup: readable evidence beneath the invoice identity at every width. */
.admin-financial-invoice-option{display:grid;grid-template-columns:minmax(0,1fr) auto 2.5rem;align-items:center;gap:.75rem;width:100%;min-width:0;padding:.85rem;text-align:left;white-space:normal;overflow-wrap:anywhere;border-color:transparent;box-shadow:none}
.admin-financial-invoice-option:hover:not(:disabled){background:#faf8f5;border-color:#e5dfd6}
.admin-financial-invoice-option[data-selected="true"]{opacity:1;background:#f8fafc;color:#475467;border-color:#e2e8f0}
.admin-financial-invoice-option[data-selected="true"] .admin-financial-result-icon{display:none}
.admin-financial-result-copy{display:flex;flex-direction:column;gap:.2rem;min-width:0}
.admin-financial-result-copy>span{color:#667085;font-size:.8125rem;font-weight:400}
.admin-financial-result-copy>small{color:#667085;font-size:.75rem;font-weight:400}
.admin-financial-result-copy>strong,.admin-financial-result-amount{font-size:.875rem;font-weight:600}
.admin-financial-result-amount{white-space:nowrap;font-variant-numeric:tabular-nums}
.admin-financial-invoice-option>[data-financial-result-added]{font-size:.7rem;grid-column:3;grid-row:1;text-align:right}
.admin-financial-match-body{display:flex;flex-direction:column;gap:1.25rem}
.admin-financial-match-note{display:flex;align-items:center;gap:.5rem;color:#667085;font-size:.8125rem;line-height:1.5;margin:0}
.admin-financial-match-note>svg,.admin-financial-match-note>i{flex-shrink:0}
.admin-financial-match-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:1.75rem}
.admin-financial-match-picker,.admin-financial-match-selection{min-width:0}
.admin-financial-match-selection{border-left:1px solid #eee9e2;padding-left:1.75rem}
.admin-financial-match-list-heading{display:flex;justify-content:space-between;gap:.5rem;margin:1rem 0 .5rem;font-size:.75rem;color:#667085}
.admin-financial-match-results{display:flex;flex-direction:column;gap:.25rem;max-height:26rem;overflow:auto}
.admin-financial-match-status:empty{display:none}
.admin-financial-match-status{font-size:.8125rem;line-height:1.5;margin:.75rem 0}
.admin-financial-match-empty{padding:1.5rem 1rem;border:1px dashed #e5dfd6;border-radius:.75rem;color:#667085;font-size:.875rem;text-align:center}
.admin-financial-allocation-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:1rem}
.admin-financial-allocation-heading>div{min-width:0;overflow-wrap:anywhere}
.admin-financial-allocation-remove{width:2.75rem;height:2.75rem;min-width:2.75rem;padding:0;box-shadow:none;border-color:transparent;color:#667085}
.admin-financial-allocation-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:.75rem}
.admin-financial-allocation-row[data-same-currency="true"] .admin-financial-allocation-fields{grid-template-columns:minmax(0,18rem)}
.admin-financial-allocation-fields [hidden]{display:none!important}
#financial-split-allocation-form>.admin-modal-actions-footer{position:static;display:block!important;background:#fff;backdrop-filter:none;border-top:0;padding-top:.5rem}
.admin-financial-match-footer{display:flex;flex-direction:column;align-items:stretch;gap:.75rem;width:100%}
.admin-financial-match-totals{display:flex;flex-direction:column;gap:.2rem;width:100%}
.admin-financial-match-total-row{display:grid;grid-template-columns:minmax(0,1fr) 6.75rem 6.75rem 2.75rem;align-items:baseline;column-gap:.75rem;width:100%;margin:0;color:#344054;font-size:.875rem;font-weight:600}
.admin-financial-match-total-row>span:first-child{min-width:0}
.admin-financial-match-total-row>strong,.admin-financial-match-total-row>[data-financial-overflow],.admin-financial-draft-overflow,.admin-financial-draft-amount{margin:0;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.admin-financial-match-total-row[hidden]{display:none}
.admin-financial-match-balance{font-size:.875rem;font-weight:600;font-variant-numeric:tabular-nums;margin:0}
.admin-financial-match-actions{display:flex;align-items:center;gap:.75rem;flex-shrink:0}
.admin-financial-match-footer>.admin-financial-match-actions{width:100%;margin:0;padding-top:1rem;border-top:1px solid #e5e7eb}
.admin-financial-match-actions>button{width:auto;flex:none;white-space:nowrap}
.admin-financial-match-actions>button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1199px){.admin-financial-match-layout{grid-template-columns:minmax(0,1fr)}.admin-financial-match-selection{border-left:0;border-top:1px solid #eee9e2;padding:1.25rem 0 0}.admin-financial-match-results{max-height:20rem}}
@media(max-width:767px){.admin-financial-match-footer{flex-direction:column;align-items:stretch}.admin-financial-draft-summary,.admin-financial-match-total-row{grid-template-columns:minmax(0,1fr) 5.25rem 5.25rem 2.75rem;column-gap:.5rem}.admin-financial-match-actions{flex-direction:column;align-items:stretch}.admin-financial-match-actions>button{width:100%}.admin-financial-allocation-fields{grid-template-columns:minmax(0,1fr)}.admin-financial-allocation-row[data-same-currency="true"] .admin-financial-allocation-fields{grid-template-columns:minmax(0,1fr)}.admin-financial-result-amount{font-size:.8125rem}.admin-financial-invoice-option{grid-template-columns:minmax(0,1fr) auto;gap:.5rem;padding:.65rem}.admin-financial-result-copy{grid-column:1/-1;grid-row:1}.admin-financial-result-amount{grid-column:1;grid-row:2}.admin-financial-result-icon,.admin-financial-invoice-option>[data-financial-result-added]{grid-column:2;grid-row:2}}

/* Care is one editing surface; product groups use quiet inset surfaces. */
.admin-care-form-card{max-width:72rem}
/* Add Care: aligned workspace, approved full-width composition. Edit retains its compact form. */
.admin-care-workspace-card{max-width:none;width:100%}
.admin-care-form :is(.admin-input-control,.admin-form-control,.admin-base-dropdown-trigger,.admin-localized-file-button){min-height:3.5rem;height:auto;border-radius:.75rem}
.admin-form.admin-care-form [data-admin-modern-dropdown] .admin-base-dropdown-trigger{min-height:3.5rem}
.admin-care-form :is(.admin-field-label,.admin-field-label-strong,.admin-field-label-icon){display:flex;align-items:center;gap:.5rem;min-height:1.5rem;margin-bottom:.5rem;line-height:1.5rem}
.admin-care-form :is(.admin-dropdown-container,.admin-base-dropdown){width:100%;max-width:none}
.admin-care-form .admin-field-error{margin-top:.5rem;line-height:1.5;overflow-wrap:anywhere}
.admin-care-form .admin-care-photo>[id$="_preview"]{display:flex;align-items:center;gap:1rem;margin:1rem 0 0}
.admin-care-form .admin-care-photo>[id$="_preview"].hidden{display:none}
.admin-care-form .admin-localized-file-name{overflow-wrap:anywhere}
.admin-care-workspace [hidden]{display:none!important}
.admin-care-workspace :is(section,fieldset,.admin-care-workspace-product-row)>*{min-width:0}
.admin-care-workspace-context-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(10rem,1fr) minmax(10rem,1fr);gap:1.5rem;align-items:start}
.admin-care-workspace-context-meta,.admin-care-workspace-product-footer,.admin-care-workspace-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.admin-care-workspace-context-meta{margin-top:.75rem;flex-wrap:wrap}
.admin-care-workspace-inline-actions,.admin-care-workspace-footer-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.admin-care-workspace .admin-field-help{margin:.375rem 0 0;font-size:.8125rem;line-height:1.5}
.admin-care-workspace .admin-field-help:empty{display:none}
.admin-care-workspace-context-meta .admin-field-help{margin:0}
.admin-care-workspace-land-details{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;margin-top:2rem;padding-top:1rem;border-top:1px solid var(--color-gray-200,#e4e7ec)}
.admin-care-workspace #care-main-crop-targets{border:0;margin:1.25rem 0 0;padding:0}
.admin-care-workspace #care-main-crop-targets:not(:has([data-care-main-crop-panel]:not(.hidden))){display:none}
.admin-care-workspace-operation{margin-top:2rem;border-top:1px solid var(--color-gray-200,#e4e7ec)}
.admin-care-workspace-types{padding:1.5rem 0;border:0;margin:0;min-width:0}
.admin-care-workspace-types legend{float:left;width:100%;margin-bottom:.75rem;padding:0}
.admin-care-workspace-type-options{clear:both;display:flex;flex-wrap:wrap;gap:.5rem}
.admin-care-workspace-type{min-height:2.75rem;padding:.5rem .875rem;font-size:.875rem;box-shadow:none}
.admin-care-workspace .admin-care-workspace-type[aria-pressed="true"]{border-color:var(--color-brand-500,#df1244);background:var(--color-brand-50,#fff1f3);color:var(--color-brand-700,#b90d38)}
.admin-care-workspace-section-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:0 0 1.5rem}
.admin-care-workspace-section-heading h2{display:flex;align-items:center;gap:.5rem;margin:0}
.admin-care-workspace-count{font-size:.75rem;background:var(--color-gray-100,#f2f4f7);color:var(--color-gray-600,#475467);border-radius:1rem;padding:.2rem .55rem}
.admin-care-workspace-product-actions{display:flex;align-items:center;gap:.75rem}
.admin-care-workspace-product-actions>:is(.admin-dropdown-container,.admin-base-dropdown){width:14rem}
.admin-care-workspace-product-actions .admin-ai-action-button{width:auto;height:2.75rem;min-height:2.75rem;white-space:nowrap;margin:0}
.admin-form.admin-care-workspace .admin-care-workspace-product-actions [data-admin-modern-dropdown] .admin-base-dropdown-trigger{height:2.75rem;min-height:2.75rem;font-size:.875rem}
#care-workspace-product-rows{display:grid;gap:1rem;margin-bottom:1rem}
.admin-care-workspace-product-row{display:grid;grid-template-columns:1.5rem minmax(0,2fr) minmax(10rem,1fr) minmax(8rem,.85fr) 2.75rem;align-items:start;gap:.5rem 1.5rem;padding:1.25rem;border:1px solid var(--color-gray-100,#f2f4f7);border-radius:1rem;background:var(--color-gray-50,#f9fafb)}
.admin-care-workspace-product-row>div{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 4;gap:.5rem}
.admin-care-workspace-product-row :is(.admin-field-label,.admin-field-help,.admin-field-error){margin:0}
.admin-care-workspace-product-row .admin-field-help:empty{display:block}
.admin-care-workspace-row-number{grid-row:2;align-self:center;color:var(--color-gray-400,#98a2b3);font-size:.8125rem;font-variant-numeric:tabular-nums}
.admin-care-workspace-quantity{display:flex;align-items:center;gap:.5rem;min-width:0}
.admin-care-workspace-quantity input{width:100%;min-height:2.75rem;padding-right:.75rem;min-width:0;font-variant-numeric:tabular-nums}
.admin-care-workspace-quantity>span{flex-shrink:0;max-width:40%;overflow-wrap:anywhere;color:var(--color-gray-500,#667085);font-size:.8125rem}
.admin-care-workspace-product-calculated output{display:flex;min-height:3.5rem;align-items:center;font-weight:600;font-size:.9375rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.admin-care-workspace-product-calculated button{justify-self:start;padding:.125rem 0;min-height:2.75rem;border:0;background:transparent;box-shadow:none;font-size:.75rem}
.admin-care-workspace-remove{width:2.75rem;height:2.75rem;min-width:2.75rem;padding:0;grid-column:5;grid-row:2;align-self:center;margin:0;border-color:transparent;background:transparent;box-shadow:none;color:var(--color-gray-500,#667085)}
.admin-care-workspace-product-footer{padding-bottom:.5rem;flex-wrap:wrap}
.admin-care-workspace-purpose{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:end;gap:1.5rem;padding:1.5rem 0 0}
.admin-care-workspace #care-workspace-operation-amount{max-width:28rem;margin-bottom:1.25rem}
.admin-care-workspace .admin-care-optional-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
.admin-care-workspace .admin-care-notes{grid-column:1;grid-row:2}
.admin-care-workspace .admin-care-photo{grid-column:2;grid-row:1/span 2}
.admin-care-workspace .admin-form-disclosure-flat{margin-top:2rem}
.admin-care-workspace .admin-form-disclosure-flat>.admin-form-disclosure-body{padding-top:.75rem}
.admin-care-workspace #greening-details-container{margin:0 0 1.5rem;padding-top:1.5rem}
.admin-care-workspace-notice{margin:1rem 0 0;font-size:.875rem;line-height:1.5}
.admin-care-workspace #care-ai-unavailable{margin-bottom:1rem}
.admin-care-workspace [aria-invalid="true"]{border-color:#dc2626}
.admin-care-workspace [data-care-workspace-type][aria-invalid="true"]{outline:2px solid #dc2626;outline-offset:2px}
.admin-care-workspace .admin-care-machine{grid-column:auto;width:auto}
.admin-care-workspace .admin-care-optional-grid textarea{min-height:7rem}
.admin-care-form .admin-remove-image-button{display:inline-flex;align-items:center;min-height:2.75rem}
.admin-care-workspace-footer{border-top:1px solid var(--color-gray-200,#e4e7ec);margin-top:2rem;padding-top:1.25rem;flex-wrap:wrap}
.admin-care-workspace-footer-actions{margin-left:auto}
.admin-care-workspace-review-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin:1.25rem 0}
.admin-care-workspace-review-context>div{display:flex;flex-direction:column;gap:.25rem;overflow-wrap:anywhere}
.admin-care-workspace-review-context strong{font-size:.9375rem;font-weight:500;white-space:pre-wrap}
.admin-care-workspace-review-products>div{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border-top:1px solid var(--color-gray-200,#e4e7ec)}
.admin-care-workspace-review-products strong{font-size:.9375rem;font-variant-numeric:tabular-nums}
.admin-care-workspace-suggestion{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.5rem 0}
@media(max-width:1023px){
  .admin-care-workspace-context-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-care-workspace-land{grid-column:1/-1}
  .admin-care-workspace .admin-care-optional-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-care-workspace .admin-care-machine{grid-column:1;width:auto}
}
@media(max-width:767px){
  .admin-care-workspace-land-details,.admin-care-workspace-purpose,.admin-care-workspace .admin-care-optional-grid{grid-template-columns:minmax(0,1fr)}
  .admin-care-workspace :is(.admin-care-machine,.admin-care-notes,.admin-care-photo){grid-column:auto;grid-row:auto;width:auto}
  .admin-care-workspace-product-row{grid-template-columns:1.25rem minmax(0,1fr) minmax(0,1fr) 2.75rem;gap:.75rem}
  .admin-care-workspace-product-picker{grid-column:2/4;grid-row:1/span 4}
  .admin-care-workspace-remove{grid-column:4;grid-row:2}
  .admin-care-workspace-product-amount{grid-column:2;grid-row:5/span 4}
  .admin-care-workspace-product-calculated{grid-column:3/5;grid-row:5/span 4}
  .admin-care-workspace-review-context{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-care-workspace-review-products>div{align-items:flex-start;flex-direction:column;gap:.5rem}
  .admin-care-workspace-footer-actions{width:100%;justify-content:flex-end}
}
@media(max-width:479px){
  .admin-care-workspace-context-grid,.admin-care-workspace-review-context{grid-template-columns:minmax(0,1fr)}
  .admin-care-workspace-product-actions{flex-wrap:wrap;width:100%}
  .admin-care-workspace-product-actions>:is(.admin-dropdown-container,.admin-base-dropdown){flex:1;min-width:11rem}
  .admin-care-workspace-type{font-size:.8125rem;padding:.5rem .65rem}
  .admin-care-workspace-footer-actions>*{flex:1;justify-content:center}
  .admin-care-workspace-product-row{column-gap:.5rem;padding:1rem .75rem}
  .admin-care-workspace-product-amount,.admin-care-workspace-product-calculated{grid-column:2/5}
  .admin-care-workspace-product-row>.admin-care-workspace-product-calculated{grid-row:9;display:flex;align-items:center;flex-wrap:wrap;gap:.375rem .75rem}
  .admin-care-workspace-product-calculated .admin-field-label{margin:0}
  .admin-care-workspace-product-calculated output{min-height:0}
  .admin-care-workspace-product-calculated button{margin-left:auto;min-height:2.75rem}
}
.dark .admin-care-workspace-product-row{background:var(--color-gray-900,#101828);border-color:var(--color-gray-800,#1d2939)}
.dark .admin-care-workspace .admin-care-workspace-type[aria-pressed="true"]{background:rgba(223,18,68,.12);color:#fda4af}
.admin-care-form-padding{padding:1.5rem}
.admin-care-fields,.admin-care-operation{display:flex;flex-direction:column;gap:1.5rem;min-width:0}
.admin-care-operation{border-top:1px solid var(--color-gray-200,#e4e7ec);padding-top:1.5rem}
.admin-care-context-grid,.admin-care-operation-grid,.admin-care-product-grid,.admin-care-optional-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;align-items:start}
.admin-care-product-grid:not(:has(> :not(.hidden):not([hidden]))){display:none}
.admin-care-machine{min-width:0}
.admin-form-disclosure.admin-form-disclosure-flat{border:0;border-top:1px solid var(--color-gray-200,#e4e7ec);border-radius:0;background:transparent}
.admin-form-disclosure-flat>summary{padding:1rem 0;font-size:.875rem}
.admin-form-disclosure-flat>.admin-form-disclosure-body{padding:.5rem 0 0}
@media(min-width:768px){
  .admin-care-context-grid,.admin-care-operation-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
  .admin-care-product-grid,.admin-care-optional-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-care-machine{grid-column:1/-1;width:calc(50% - .75rem)}
}
@media(max-width:639.98px){
  .admin-care-form-padding{padding:1rem}
  .admin-care-context-grid,.admin-care-operation-grid,.admin-care-product-grid,.admin-care-optional-grid,.admin-care-fields,.admin-care-operation{gap:1.25rem}
}

.admin-care-form .admin-mini-icon-tile{width:1.125rem;height:1.25rem;border-radius:0;background:transparent}
.admin-care-fields>.admin-form-actions-row{margin-top:0}
.admin-care-operation>.admin-actions-divider-top{margin-top:0}

.admin-care-form .admin-field-label-icon{display:flex}
.admin-care-dose-summary{border-top:1px solid var(--color-gray-200,#e4e7ec);padding-top:1rem}
.admin-care-dose-summary .care-summary-header{margin:0 0 .75rem;border-radius:0;background:transparent;padding:0}

/* Dose totals and remaining allowance stay readable without sideways scrolling. */
.admin-care-dose-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1.25rem;margin-top:1rem}
.admin-care-dose-grid>div{min-width:0;border:0;padding:0}
.admin-care-dose-grid>div>div{min-width:0;overflow-wrap:anywhere}
@media(min-width:768px){.admin-care-dose-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1280px){.admin-care-dose-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Saved and new invoice matches belong to one payment workspace. */
.admin-financial-saved-matches{padding:.25rem 1.5rem}
.admin-financial-saved-match{padding:.35rem 0}.admin-financial-saved-match+.admin-financial-saved-match{border-top:1px solid #eee9e2}
.admin-financial-saved-match-summary{display:grid;grid-template-columns:2rem minmax(0,1fr) auto 2.75rem;align-items:center;gap:.75rem;min-height:3.5rem}
.admin-financial-saved-match-identity{display:flex;align-items:flex-start;flex-direction:column;gap:.35rem;min-width:0;overflow-wrap:break-word}
.admin-financial-saved-match-identity>.admin-badge{align-self:flex-start;font-size:.75rem;padding:.125rem .5rem}
.admin-financial-saved-match-amount{display:flex;flex-direction:column;gap:.2rem;font-size:.875rem;text-align:right;font-variant-numeric:tabular-nums}
.admin-financial-saved-match-amount>small{font-size:.75rem;color:#667085}
.admin-financial-match-reversal{margin-top:.75rem;padding:1rem 0;display:flex;flex-direction:column;align-items:stretch;gap:1rem;border-top:1px solid #eee9e2}
.admin-financial-match-reversal[hidden]{display:none!important}
.admin-financial-match-reversal>.admin-financial-reversal-reason{min-width:0}
.admin-financial-match-reversal>.admin-financial-match-actions{justify-content:flex-end}
@media(max-width:767px){.admin-financial-saved-matches{padding:1rem}.admin-financial-saved-match-summary{grid-template-columns:1.5rem minmax(0,1fr) 2.75rem;gap:.5rem}.admin-financial-saved-match-amount{grid-column:2;grid-row:2;text-align:left}.admin-financial-saved-match-summary>.admin-financial-allocation-remove{grid-column:3;grid-row:1}.admin-financial-match-reversal{flex-direction:column;align-items:stretch}}

/* Invoice drafts share the saved-match rhythm; optional editing stays inline. */
.admin-financial-draft-matches:empty{display:none}
.admin-financial-draft-matches>.admin-financial-allocation-row{border:0;border-radius:0;padding:.25rem 0 .75rem;margin:0 0 .25rem;border-bottom:1px solid #eee9e2}
.admin-financial-draft-summary{display:grid;grid-template-columns:minmax(0,1fr) 6.75rem 6.75rem 2.75rem;align-items:center;column-gap:.75rem;width:100%;margin:0;min-height:3.5rem}
.admin-financial-draft-summary:has([data-financial-edit-amount]){grid-template-columns:minmax(0,1fr) 6.75rem 6.75rem 5.75rem}
@media(max-width:767px){.admin-financial-draft-summary{grid-template-columns:minmax(0,1fr) 5.25rem 5.25rem 2.75rem;column-gap:.5rem}.admin-financial-draft-summary:has([data-financial-edit-amount]){grid-template-columns:minmax(0,1fr) 5.25rem 5.25rem 5.75rem}}
.admin-financial-draft-identity{display:flex;align-items:flex-start;gap:.75rem;min-width:0}
.admin-financial-draft-identity>.admin-mini-icon-tile{flex:0 0 auto;margin-top:.15rem}
.admin-financial-draft-overflow{display:flex;align-items:center;justify-content:flex-end;min-width:0}
.admin-financial-draft-overflow [data-financial-draft-overflow]{font-size:.75rem;font-weight:600;line-height:1.2}
.admin-financial-draft-overflow [data-financial-draft-overflow][hidden]{display:none}
.admin-financial-row-actions{display:flex;gap:.25rem;align-items:center;justify-content:flex-end;min-width:0}
.admin-financial-draft-amount{font-size:.875rem;font-weight:600;text-align:right;font-variant-numeric:tabular-nums;min-width:0}
.admin-financial-allocation-fields{margin-top:1rem}
.admin-financial-allocation-fields[hidden],#financial-match-picker[hidden],#payment-note-form[hidden]{display:none!important}
.admin-financial-match-feedback{grid-column:2/-2;font-size:.8125rem;color:#667085;min-height:1.25rem;margin:.35rem 0 0;font-weight:500}
.admin-financial-match-totals>.admin-financial-match-feedback{grid-column:auto}
.admin-financial-match-feedback:empty{display:none}
.admin-financial-match-total{display:inline-flex;align-items:center;justify-content:flex-end;gap:.4rem;margin:0;color:#344054;font-size:.875rem;font-weight:600;font-variant-numeric:tabular-nums}
.admin-financial-match-total>i[hidden]{display:none}
.admin-financial-match-total-complete{color:#087346}
.admin-financial-result{border:1px solid #e5dfd6;border-radius:.75rem;padding:0;min-width:0}
.admin-financial-company-mapping{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:0 1rem .75rem;font-size:.75rem;color:#667085}
.admin-financial-company-mapping>span{min-width:0;overflow-wrap:anywhere}
.admin-financial-company-mapping>button{flex-shrink:0;min-height:2.75rem;white-space:normal;text-align:left}
@media(max-width:767px){.admin-financial-company-mapping{align-items:flex-start;flex-direction:column;gap:.25rem}.admin-financial-company-mapping>button{width:100%}}
.admin-financial-reason-details{font-size:.75rem;color:#667085;padding:.25rem .85rem .5rem}
.admin-financial-reason-details>summary{cursor:pointer;min-height:2.75rem;display:flex;align-items:center;gap:.5rem}
.admin-financial-reason-details>summary::before{content:'+'}
.admin-financial-reason-details[open]>summary::before{content:'−'}
.admin-payment-context-section{padding:1rem 1.5rem;min-width:0}
.admin-payment-context-section+.admin-payment-context-section{border-top:1px solid #eee9e2}
.admin-payment-context-row{display:grid;grid-template-columns:1.75rem minmax(0,1fr) auto;align-items:center;gap:.75rem}
.admin-payment-context-copy{min-width:0;overflow-wrap:anywhere}
.admin-payment-context-copy h3{margin:0;font-size:.875rem;font-weight:600;line-height:1.5rem}
.admin-payment-context-copy p{margin:.125rem 0 0}
.admin-payment-context-copy [data-payment-note-metadata]:empty,.admin-payment-context-section>[data-payment-note-status]:empty{display:none}
.admin-payment-context-editor{display:flex;flex-direction:column;gap:1rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #eee9e2}
.admin-payment-context-editor[hidden]{display:none!important}
.admin-payment-context-editor>.admin-financial-match-actions{justify-content:flex-end;margin:0}
.admin-payment-classification-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;align-items:end}
.admin-payment-classification-fields>*{min-width:0}
@media(max-width:639px){.admin-payment-context-row{grid-template-columns:1.75rem minmax(0,1fr);align-items:start}.admin-payment-context-row>button{grid-column:2;justify-self:start;max-width:100%;white-space:normal;text-align:left}.admin-payment-classification-fields{grid-template-columns:minmax(0,1fr)}}
.admin-payment-note-preview{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem}
.admin-payment-note-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.875rem}
.admin-payment-note-preview>[data-payment-note-metadata]:empty{display:none}
@media(max-width:767px){.admin-financial-reason-details{padding-left:.65rem}.admin-payment-note-preview{align-items:stretch}}

.admin-financial-draft-matches>.admin-financial-allocation-row:last-child{margin-bottom:0}
.admin-financial-match-body{gap:1rem}

/* Partner add/edit collections share the desktop form grid and compact section actions. */
.admin-partner-collection{min-width:0;margin:0;padding:0;border:0}
.admin-partner-collection [data-partner-collection-items]:empty{display:none}
.admin-partner-collection-item{min-width:0;border-top:1px solid #e7e5e4;padding-top:1rem}
.admin-partner-collection-item>*{min-width:0}
.dark .admin-partner-collection-item{border-color:#44403c}

/* Compact directory identities and vertically grouped table badges. */
.admin-tag-list.admin-tag-list-stacked{flex-direction:column;align-items:flex-start}
.admin-table-link.admin-table-link-sm{font-size:.875rem;line-height:1.25rem;justify-content:flex-start;white-space:normal;overflow-wrap:anywhere;max-width:min(20rem,100%)}
.admin-table-contact{min-width:0;max-width:20rem;white-space:normal;overflow-wrap:anywhere}
.admin-tag-list-stacked .admin-tag-badge{max-width:min(16rem,100%);white-space:normal;overflow-wrap:anywhere}
@media(min-width:768px){.admin-table-link.admin-table-link-sm,.admin-table-contact,.admin-tag-list-stacked:has(.admin-tag-badge){min-width:12rem}}
.admin-company-pill:has(>.fa-fw){gap:.25rem}

/* API connections: one full-width list/detail surface and sequential enrollment. */
.admin-api-form-width{width:100%;min-width:0}
.admin-api-connections .admin-modal-actions-footer{position:static;margin-top:24px;border-radius:10px;gap:12px}
.admin-api-steps{display:flex;gap:16px;list-style:none;padding:0 0 24px;margin:0;border-bottom:1px solid #e7e5e4}
.admin-api-steps li{display:flex;align-items:center;gap:8px;flex:1;min-width:0;color:#78716c;font-size:13px;font-weight:500}
.admin-api-step-number{display:flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border:1px solid #d6d3d1;border-radius:50%;font-size:12px}
.admin-api-steps [aria-current="step"]{color:#b83211;font-weight:600}
.admin-api-steps [aria-current="step"] .admin-api-step-number{color:white;background:#c2410c;border-color:#c2410c}
.admin-api-steps .is-complete .admin-api-step-number{background:#f5f5f4;color:#44403c}
.admin-api-summary{margin:0}
.admin-api-summary>div{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:16px 0;border-bottom:1px solid #e7e5e4}
.admin-api-summary dt{color:#78716c;font-size:14px}
.admin-api-summary dd{margin:0;font-size:14px;font-weight:500;overflow-wrap:anywhere}
.admin-api-proof{margin:0;padding:16px;max-width:100%;overflow:auto;border-radius:8px;background:#f5f5f4;color:#292524;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.admin-financial-source-packet{max-height:70vh;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.admin-api-break{overflow-wrap:anywhere}
.dark .admin-api-steps,.dark .admin-api-summary>div{border-color:#44403c}
.dark .admin-api-steps li,.dark .admin-api-summary dt{color:#a8a29e}
.dark .admin-api-steps [aria-current="step"]{color:#fdba74}
.dark .admin-api-step-number{border-color:#78716c}
.dark .admin-api-steps .is-complete .admin-api-step-number,.dark .admin-api-proof{background:#292524;color:#e7e5e4}
@media(max-width:639px){
    .admin-api-steps{gap:8px}
    .admin-api-steps li{flex-direction:column;align-items:flex-start;font-size:12px;overflow-wrap:anywhere}
    .admin-api-summary>div{grid-template-columns:1fr;gap:4px}
}

/* Back remains beside the title in shared card headers, including phones. */
.admin-card-section-header .admin-section-header-split:has(>.admin-section-header-actions>[data-admin-back]){flex-direction:row;align-items:flex-start}
.admin-card-section-header .admin-section-header-actions:has(>[data-admin-back]){width:auto;flex-shrink:0}
.admin-api-form-width>.admin-secondary-button{align-self:flex-start;width:auto}
.admin-api-setup-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.admin-api-setup-actions>.admin-secondary-button{width:auto}
@media(max-width:639px){
    .admin-api-form-width>.admin-secondary-button,.admin-api-setup-actions>.admin-secondary-button{width:100%}
    .admin-api-setup-actions{flex-direction:column;align-items:stretch}
}

/* Connection access uses inset sections so actions stay inside the clipped card. */
.admin-api-access-section{display:flex;flex-direction:column;gap:16px;min-width:0;max-width:100%;padding:16px 18px;border:1px solid #e7e5e4;border-radius:12px;background:#faf9f7}
.admin-api-access-section-danger{border-color:#fecaca;background:#fef7f6}
.admin-api-access-head,.admin-api-certificate-main{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px 16px;min-width:0;max-width:100%}
.admin-api-access-copy,.admin-api-certificate-copy{flex:1 1 12rem;min-width:0}
.admin-api-access-copy>.admin-subsection-title,.admin-api-access-copy>.admin-responsive-split-row{margin:0}
.admin-api-access-copy>.admin-subsection-description,.admin-api-access-copy>.admin-helper-text{margin:.35rem 0 0}
.admin-api-access-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;width:fit-content;max-width:100%;min-width:0}
.admin-api-access-actions .admin-form{display:inline-flex;width:fit-content;max-width:100%;min-width:0;margin:0;container-type:normal}
.admin-api-access-actions .admin-form>button,.admin-api-access-actions>.admin-secondary-button,.admin-api-access-actions .admin-primary-submit-button,.admin-api-access-actions .admin-outline-action-button{width:auto;max-width:100%;white-space:normal;text-align:center}
.admin-api-certificate-list{display:flex;flex-direction:column;gap:12px;min-width:0}
.admin-api-certificate{min-width:0;padding:14px 16px;border:1px solid #e7e5e4;border-radius:10px;background:#fff}
.admin-api-certificate-heading{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:14px}
.admin-api-certificate-copy>p{margin:8px 0 0;font-size:13px}
.admin-api-expiry-note{color:#92400e}
.admin-api-certificate .admin-connection-disclosure{margin-top:12px}
.dark .admin-api-access-section{border-color:#44403c;background:#1c1917}
.dark .admin-api-access-section-danger{border-color:#7f1d1d;background:#1c1010}
.dark .admin-api-certificate{border-color:#44403c;background:#292524}
.dark .admin-api-expiry-note{color:#fcd34d}
@media(max-width:639px){
 .admin-api-access-head,.admin-api-certificate-main{flex-direction:column;align-items:stretch}
 .admin-api-access-actions{width:100%;justify-content:stretch}
 .admin-api-access-actions .admin-form,.admin-api-access-actions .admin-form>button,.admin-api-access-actions>.admin-secondary-button,.admin-api-access-actions .admin-primary-submit-button,.admin-api-access-actions .admin-outline-action-button{width:100%}
}

/* Guided machine management: task context left, latest import right; narrow containers stack. */
.admin-api-workspace{container-type:inline-size}
.admin-api-guided-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(16rem,1fr);gap:20px;align-items:start}
.admin-api-guided-grid>*{min-width:0}
.admin-api-guided-panel{padding:20px;border:1px solid #e7e5e4;border-radius:12px;background:#fff;min-width:0}
.admin-api-guided-panel>.admin-subsection-title{margin:0;font-size:16px}
.admin-api-task{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:12px;align-items:center;padding:20px 0;border-bottom:1px solid #e7e5e4}
.admin-api-task:last-child{border-bottom:0;padding-bottom:0}
.admin-api-task-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#f5f5f4;color:#78716c;font-size:13px}
.admin-api-task-icon.is-complete{background:#ecfdf3;color:#027a48}
.admin-api-task-copy{min-width:0}
.admin-api-task-heading{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.admin-api-task-heading h3,.admin-api-import h3{margin:0;font-size:14px;font-weight:600;color:#292524}
.admin-api-task-heading .admin-badge{font-size:12px;padding:4px 8px}
.admin-api-task-copy p{margin:5px 0 0;font-size:13px;color:#78716c;overflow-wrap:anywhere}
.admin-api-task-action{min-width:0;max-width:100%}
.admin-api-task-action>.admin-secondary-button{min-height:44px;max-width:100%;padding:10px 14px;white-space:normal;font-size:13px}
.admin-api-panel-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.admin-api-panel-heading>.admin-subsection-title{margin:0;font-size:16px}
.admin-api-panel-heading>.admin-secondary-button{min-height:44px;padding:10px 12px;font-size:13px}
.admin-api-shared-key{display:flex;align-items:flex-start;gap:10px;border-radius:10px;padding:14px 16px;background:#f5f5f4;color:#57534e;min-width:0}
.admin-api-shared-key>span{flex:none;font-size:14px}
.admin-api-shared-key p{margin:0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.admin-api-import{padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid #e7e5e4}
.admin-api-import>.admin-helper-text{font-size:13px;margin:6px 0 0}
.admin-api-import-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 0}
.admin-api-import-counts>div{display:flex;flex-direction:column-reverse;gap:4px;min-width:0}
.admin-api-import-counts dt{font-size:12px;color:#78716c;overflow-wrap:anywhere}
.admin-api-import-counts dd{font-size:24px;font-weight:500;margin:0;color:#292524;font-variant-numeric:tabular-nums}
.admin-api-services{display:flex;flex-direction:column;gap:18px;min-width:0}
.admin-api-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.admin-api-service-card{padding:18px;border:1px solid #e7e5e4;border-radius:12px;background:#fff;min-width:0;display:flex;flex-direction:column;gap:16px;align-items:stretch}
.admin-api-service-card:has(input[type="checkbox"]:checked){border-color:#a7d9bb}
.admin-api-service-card .admin-helper-text{margin:0;font-size:13px;overflow-wrap:anywhere}
.admin-api-service-card .admin-secondary-button{align-self:flex-start;max-width:100%;white-space:normal}
.admin-api-service-save{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}
.admin-api-service-save>.admin-primary-submit-button{width:auto;max-width:100%}
.admin-api-workspace [hidden]{display:none!important}
.admin-workspace-page .admin-api-connections :is(.admin-section-description,.admin-data-table-section-description,.admin-subsection-description,.admin-form-section-label,.admin-table-info-text){color:#6b655f}
.admin-workspace-page .admin-api-connections .admin-tab-button-inactive{color:#57534e}
.admin-workspace-page .admin-api-connections .admin-tab-button-active{color:#b93815}
.admin-workspace-page .admin-api-connections .admin-pagination-control:not(:disabled){color:#b93815}
.dark .admin-api-guided-panel,.dark .admin-api-service-card{border-color:#44403c;background:#1c1917}
.dark .admin-api-task,.dark .admin-api-import{border-color:#44403c}
.dark .admin-api-task-heading h3,.dark .admin-api-import h3,.dark .admin-api-import-counts dd{color:#f5f5f4}
.dark .admin-api-task-copy p,.dark .admin-api-import-counts dt{color:#a8a29e}
.dark .admin-api-task-icon,.dark .admin-api-shared-key{background:#292524;color:#d6d3d1}
.dark .admin-api-task-icon.is-complete{background:#063f2b;color:#a6f4c5}
.dark .admin-api-service-card:has(input[type="checkbox"]:checked){border-color:#377c54}
.dark .admin-workspace-page .admin-card-shell.admin-api-connections{background:#171717;border-color:#44403c;color:#f5f5f4}
.dark .admin-api-connections :is(.admin-card-section-header,.admin-modal-actions-footer){background:#1c1917;border-color:#44403c}
.dark .admin-api-connections :is(.admin-section-title,.admin-subsection-title,.admin-field-label,.admin-field-label-strong,.admin-field-label-icon,.admin-checkbox-label,.admin-api-certificate-heading,.admin-api-summary dd){color:#f5f5f4}
.dark .admin-api-connections :is(.admin-section-description,.admin-data-table-section-description,.admin-subsection-description,.admin-helper-text,.admin-field-help-text,.admin-field-help,.admin-form-section-label,.admin-table-info-text){color:#d6d3d1}
.dark .admin-workspace-page .admin-api-connections .admin-form :is(.admin-input-control,.admin-form-control,.admin-base-dropdown-trigger){background:#292524;border-color:#78716c;color:#f5f5f4;color-scheme:dark}
.dark .admin-api-connections :is(.admin-input-control,.admin-form-control)::placeholder{color:#a8a29e}
.dark .admin-api-connections :is(.admin-dropdown-selected-label,.admin-dropdown-selected-label-value){color:#f5f5f4}
.dark .admin-api-connections .admin-dropdown-selected-label-placeholder{color:#d6d3d1}
.dark .admin-api-connections :is(.admin-field-label,.admin-field-label-strong,.admin-field-label-icon) .text-red-500{color:#fca5a5}
.dark .admin-api-connections :is(.admin-secondary-button,.admin-outline-action-button,.admin-outline-action-sm){background:#292524;border-color:#78716c;color:#f5f5f4}
.dark .admin-api-connections :is(.admin-secondary-button,.admin-outline-action-button,.admin-outline-action-sm):hover{background:#44403c}
.dark .admin-api-connections .admin-tab-list-nested{background:#292524;border-color:#44403c}
.dark .admin-api-connections .admin-tab-button-inactive{color:#d6d3d1}
.dark .admin-api-connections .admin-tab-button-active{background:#44403c;color:#fdba74}
.dark .admin-dropdown-menu-panel[id^="api-"]{background:#292524;border-color:#78716c;color:#f5f5f4}
.dark .admin-dropdown-menu-panel[id^="api-"] .admin-dropdown-option-row{color:#f5f5f4}
.dark .admin-dropdown-menu-panel[id^="api-"] .admin-dropdown-option-row:hover{background:#44403c}
.dark .admin-dropdown-menu-panel[id^="api-"] .admin-dropdown-option-row-selected{background:#44403c;color:#fdba74}
.dark .admin-api-connections .admin-table-info-text{color:#d6d3d1;border-color:#44403c}
.dark .admin-api-connections .admin-pagination-control:not(:disabled){background:#292524;color:#fdba74;border-color:#78716c}
.dark #api-connections-table :is(th,td){background:#1c1917;border-color:#44403c;color:#f5f5f4}
.dark #api-connections-table th{background:#292524;color:#d6d3d1}
.dark #api-connections-table :is(.admin-table-text,.admin-table-text-strong,.admin-table-text-muted,.admin-table-action-link){color:#f5f5f4}
@container(max-width:780px){.admin-api-guided-grid{grid-template-columns:minmax(0,1fr)}}
@container(max-width:580px){
 .admin-api-service-grid{grid-template-columns:minmax(0,1fr)}
 .admin-api-task{grid-template-columns:32px minmax(0,1fr);align-items:start}
 .admin-api-task-action{grid-column:2}
}
@media(max-width:639px){
 .admin-api-guided-grid,.admin-api-service-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .admin-api-guided-panel,.admin-api-service-card{padding:16px}
 .admin-api-task{grid-template-columns:28px minmax(0,1fr);gap:10px;padding:16px 0;align-items:start}
 .admin-api-task-icon{width:28px;height:28px}
 .admin-api-task-action{grid-column:2}
 .admin-api-task-action>.admin-secondary-button,.admin-api-service-card .admin-secondary-button,.admin-api-service-save>.admin-primary-submit-button{width:100%}
 .admin-api-service-save{justify-content:stretch}
}

/* Saved invoice matching is a compact ledger, with one header-owned add action. */
.admin-financial-matching-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.admin-financial-header-balance{font-size:.8125rem;color:#667085;white-space:nowrap;font-variant-numeric:tabular-nums}
.admin-financial-saved-match>.admin-financial-saved-match-summary{grid-template-columns:1.5rem minmax(0,1fr) auto minmax(7rem,max-content) 2.75rem;min-height:2.75rem;gap:1rem}
.admin-financial-saved-match-status>.admin-badge{font-size:.75rem;line-height:1.4;padding:.125rem .5rem;white-space:nowrap}
.admin-financial-saved-match-identity>a{font-size:.875rem;font-weight:600;color:#344054}
.admin-financial-saved-match-identity>a:hover{color:#e73500}
.admin-financial-saved-match-summary>.admin-financial-allocation-remove{border:0;background:transparent;box-shadow:none}
#financial-split-allocation-form[hidden],#financial-split-allocation-form>.admin-modal-actions-footer[hidden]{display:none!important}
#payment-allocations+form:not([hidden])>.admin-financial-match-body{border-top:1px solid #eee9e2}
@media(max-width:767px){
 .admin-financial-saved-matches{padding:.25rem 1.5rem}
 .admin-financial-saved-match>.admin-financial-saved-match-summary{grid-template-columns:1.25rem minmax(0,1fr) auto 2.75rem;gap:.35rem .5rem}
 .admin-financial-saved-match .admin-financial-saved-match-amount{grid-column:3;grid-row:1;text-align:right;font-size:.8125rem}
 .admin-financial-saved-match-status{grid-column:2/4;grid-row:2;min-width:0}
 .admin-financial-saved-match-status>.admin-badge{white-space:normal;max-width:100%}
 .admin-financial-saved-match-summary>.admin-financial-allocation-remove{grid-column:4;grid-row:1/3}
 .admin-financial-saved-match-amount>small{max-width:8rem}
 .admin-financial-matching-actions{gap:.5rem;justify-content:space-between;width:100%}
}

@media(max-width:639px){
 .admin-financial-matching-actions{flex-direction:column;align-items:stretch;gap:12px}
 .admin-financial-matching-actions>[data-financial-picker-toggle]{width:100%;max-width:none;justify-content:center;min-height:44px}
 .admin-financial-header-balance{white-space:normal;overflow-wrap:anywhere}
}

/* Shared Ajax table loading: controls stay available while stale records are inert. */
.admin-table-loading-region{position:relative;min-width:0}
.admin-table-loading-overlay{position:absolute;left:0;right:0;z-index:30;background:rgba(255,255,255,.68);cursor:progress}
.admin-table-loading-overlay[hidden]{display:none}
.admin-table-loading-indicator{position:absolute;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:.625rem;max-width:calc(100% - 2rem);padding:.625rem .875rem;border:1px solid #e7e5e4;border-radius:9999px;background:#fff;color:#44403c;font-size:.8125rem;line-height:1.25rem;white-space:nowrap;box-shadow:0 2px 8px #0000000d}
.admin-table-loading-spinner{width:1.125rem;height:1.125rem;flex-shrink:0;border:2px solid #fed7aa;border-top-color:#ef2147;border-radius:50%;animation:admin-warehouse-control-spin .75s linear infinite}
.admin-table-loading-region.is-loading .dt-processing,.admin-table-loading-region.is-loading .dataTables_processing{display:none!important}
.dark .admin-table-loading-overlay{background:rgba(28,25,23,.68)}
.dark .admin-table-loading-indicator{background:#292524;border-color:#57534e;color:#f5f5f4}
@media(prefers-reduced-motion:reduce){.admin-table-loading-spinner{animation:none}}

/* Searchable multi-value selections: names wrap and remove controls remain tappable. */
.admin-picker-tags{display:flex;flex-wrap:wrap;gap:.5rem;min-width:0}
.admin-picker-tags:empty{display:none}
.admin-picker-tag{display:inline-flex;align-items:center;gap:.5rem;max-width:100%;padding:0 .25rem 0 .875rem;border:1px solid #cbd5e1;border-radius:1.5rem;background:#f1f5f9;color:#334155;font-size:.875rem;font-weight:500}
.admin-picker-tag>span{min-width:0;overflow-wrap:anywhere}
.admin-picker-tag-remove{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;font-size:1.25rem}
.admin-picker-tag-remove:hover{background:#e2e8f0}
.admin-picker-tag-remove:focus-visible{outline:2px solid #64748b;outline-offset:1px}
.dark .admin-picker-tag{background:#1e293b;color:#e2e8f0;border-color:#475569}
.dark .admin-picker-tag-remove:hover{background:#334155}

/* Persistent record context and plan membership are distinct from current selection. */
.admin-modal-record-context{display:flex;flex:0 0 auto;flex-wrap:wrap;align-items:baseline;gap:.25rem .75rem;margin:0 0 1rem;padding:.75rem 1rem;border:1px solid #d9eadf;border-radius:.75rem;background:#f0f9f3;color:#42634e;font-size:.875rem;line-height:1.4}
.admin-modal-record-context strong{min-width:0;overflow-wrap:anywhere;color:#245f3b;font-size:1.05rem;font-weight:700}
[data-admin-crop-assigned=true]{background:#f0f9f3}
[data-admin-crop-assigned=true] .admin-dropdown-option-badge{background:#dcfce7;color:#166534}
[data-admin-crop-assigned=true] .admin-dropdown-option-icon{color:#245f3b}
.dark .admin-modal-record-context{border-color:#365643;background:#203d2b;color:#bbd3c4}
.dark .admin-modal-record-context strong,.dark [data-admin-crop-assigned=true] .admin-dropdown-option-icon{color:#a7f3d0}
.dark [data-admin-crop-assigned=true]{background:#203d2b}
.dark [data-admin-crop-assigned=true] .admin-dropdown-option-badge{background:#14532d;color:#bbf7d0}

/* Payment matching: one result owns its confidence, disclosure and draft fields. */
.admin-financial-result-identity{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}
.admin-financial-confidence{display:inline-flex;align-items:center;gap:.25rem;border-radius:1rem;background:#fff8e6;color:#92400e;padding:.125rem .5rem;font-size:.6875rem;font-weight:600;white-space:nowrap}
.admin-financial-result-copy>.admin-financial-result-identity{color:inherit}
.admin-financial-result-identity>strong{font-size:.875rem;font-weight:600}
.admin-financial-inline-draft{border:0;border-radius:0;margin:0;padding:0 .85rem .85rem;min-width:0}
.admin-financial-inline-draft>.admin-financial-draft-summary{display:flex;justify-content:flex-end;order:2;min-height:0}
.admin-financial-inline-draft .admin-financial-draft-identity,
.admin-financial-inline-draft .admin-financial-draft-overflow,
.admin-financial-inline-draft .admin-financial-draft-amount,
.admin-financial-inline-draft [data-financial-edit-amount]{display:none}
.admin-financial-inline-draft:has(>.admin-financial-allocation-fields[hidden])>.admin-financial-draft-summary{display:none}
.admin-financial-inline-evidence{grid-column:1/-1;font-size:.75rem;line-height:1.5;color:#667085;margin:0}
.admin-financial-inline-draft>.admin-financial-allocation-fields{margin:.25rem 0 .5rem}
.admin-financial-result:has(.admin-financial-inline-draft) {background:#fafbfc;border-radius:.75rem}
.admin-financial-invoice-option[data-selected="true"] .admin-financial-result-icon{display:inline-block}
.admin-financial-match-results:has(.admin-financial-inline-draft){max-height:32rem;overflow:auto;scroll-padding-block:.75rem}
.dark .admin-financial-confidence{background:#422d10;color:#fcd78d}
.dark .admin-financial-result:has(.admin-financial-inline-draft){background:#1d2939}
.dark .admin-financial-inline-evidence{color:#98a2b3}

.admin-financial-result-identity>[data-financial-result-added]{font-size:.6875rem;color:#667085}
.admin-financial-result>.admin-financial-invoice-option{background:transparent;border:0;box-shadow:none}
.admin-financial-result>.admin-financial-invoice-option:hover:not(:disabled){background:transparent;border-color:transparent}
.admin-financial-result>.admin-financial-invoice-option:focus-visible{outline:2px solid var(--primary-color,#ef2147);outline-offset:-2px}
.admin-financial-inline-invoice-link{align-self:end;justify-self:start;min-height:2.75rem;display:inline-flex;align-items:center;font-size:.8125rem}

.admin-financial-inline-draft{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.75rem}
.admin-financial-allocation-row.admin-financial-inline-draft[data-same-currency="true"]>.admin-financial-allocation-fields{grid-template-columns:minmax(0,18rem) minmax(0,1fr)}
.admin-financial-inline-draft>.admin-financial-draft-summary{grid-column:2;grid-row:1;align-self:end;padding-bottom:.5rem}
.admin-financial-inline-draft>.admin-financial-allocation-fields{grid-column:1/-1;grid-row:1;min-width:0}
.admin-financial-inline-draft .admin-financial-inline-invoice-link{max-width:calc(100% - 3.25rem);overflow-wrap:anywhere}
.admin-financial-match-results{gap:.5rem}
.dark .admin-financial-result{border-color:#344054}
.admin-financial-inline-draft[data-same-currency="false"] .admin-financial-inline-invoice-link{grid-column:1/-1}
@media(max-width:767px){.admin-financial-allocation-row.admin-financial-inline-draft[data-same-currency="true"]>.admin-financial-allocation-fields{grid-template-columns:minmax(0,1fr)}.admin-financial-inline-draft{gap:.5rem;padding:0 .65rem .65rem}}

/* Small phones keep a saved invoice readable beside its independent removal target. */
@media(max-width:479px){
 .admin-financial-saved-match>.admin-financial-saved-match-summary{grid-template-columns:1.25rem minmax(0,1fr) 2.75rem;align-items:start;row-gap:.25rem;padding:.5rem 0}
 .admin-financial-saved-match-summary>.admin-mini-icon-tile{grid-column:1;grid-row:1}
 .admin-financial-saved-match-summary>.admin-financial-saved-match-identity{grid-column:2;grid-row:1}
 .admin-financial-saved-match .admin-financial-saved-match-amount{grid-column:2;grid-row:2;text-align:left;overflow-wrap:anywhere;min-width:0}
 .admin-financial-saved-match-status{grid-column:2;grid-row:3}
 .admin-financial-saved-match-summary>.admin-financial-allocation-remove{grid-column:3;grid-row:1/4;align-self:center}
 .admin-financial-saved-match-amount>small{max-width:none}
}

/* Source stays quieter than status. Incoming/Outgoing labels and icons use heavy green/red. */
#financial_payments_table .admin-badge-xs{font-size:.75rem;line-height:1.25rem;padding:.125rem .5rem}
#financial_payments_table .admin-financial-payment-status-cell .admin-badge{font-size:.8125rem;line-height:1.25rem;padding:.125rem .5rem}
#financial_payments_table .admin-financial-payment-status-cell .admin-payment-ledger-source .admin-badge{font-size:.75rem}
@media(max-width:767px){
 #financial_payments_table .admin-financial-payment-source-cell>.admin-badge,
 #financial_payments_table .admin-financial-payment-status-cell>.admin-badge,
 #financial_payments_table .admin-financial-payment-bank-icon{justify-self:end;width:fit-content;max-width:100%}
}

/* Mobile payment rows use one scan-friendly reconciliation receipt instead of
 * repeating the generic label/value ledger pattern. Desktop keeps the table. */
.admin-payment-receipt{display:none}
@media(max-width:767.98px){
 #financial_payments_table.admin-responsive-card-table tbody{gap:1rem}
 #financial_payments_table.admin-responsive-card-table tbody>tr:has(>.admin-financial-payment-receipt-cell){display:block;padding:0;overflow:hidden;border-radius:1.125rem;background:#fffdf9}
 #financial_payments_table.admin-responsive-card-table tbody>tr.admin-financial-payment-reconciled:has(>.admin-financial-payment-receipt-cell){box-shadow:inset 3px 0 0 #12b76a}
 .dark #financial_payments_table.admin-responsive-card-table tbody>tr.admin-financial-payment-reconciled:has(>.admin-financial-payment-receipt-cell){box-shadow:inset 3px 0 0 #4ade80}
 #financial_payments_table.admin-responsive-card-table tbody>tr:has(>.admin-financial-payment-receipt-cell)>td:not(.admin-financial-payment-receipt-cell){display:none!important}
 #financial_payments_table.admin-responsive-card-table tbody>tr>.admin-financial-payment-receipt-cell{display:block!important;width:100%!important;padding:0!important;border:0!important;text-align:left!important}
 #financial_payments_table.admin-responsive-card-table tbody>tr>.admin-financial-payment-receipt-cell::before{display:none}
 #financial_payments_table .admin-payment-receipt{display:block;width:100%;color:#172033;text-align:left;white-space:normal}
 .admin-payment-receipt-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;margin:0 1rem;padding:1rem 0 .875rem;border-bottom:1px dashed #d9d4cc}
 .admin-payment-receipt-bank{display:flex;min-width:0;align-items:center;gap:.7rem}
 .admin-payment-receipt-bank-mark{display:flex;width:3.25rem;height:2.5rem;flex:0 0 3.25rem;align-items:center;justify-content:center;color:#667085}
 .admin-payment-receipt-bank-mark .admin-financial-bank-logo{width:3.25rem;height:2.25rem}
 .admin-payment-receipt-bank-copy{display:flex;min-width:0;flex-direction:column;gap:.1rem}
 .admin-payment-receipt-bank-copy strong{font-size:.875rem;line-height:1.25rem;font-weight:750;overflow-wrap:anywhere}
 .admin-payment-receipt-bank-copy small{color:#737b89;font-size:.6875rem;line-height:1rem;overflow-wrap:anywhere}
 .admin-payment-receipt-total{display:flex;min-width:0;flex-direction:column;align-items:flex-end;gap:.15rem;text-align:right}
 .admin-payment-receipt-total strong{font-size:1rem;line-height:1.35;font-weight:800;white-space:nowrap}
 .admin-payment-receipt-total time{color:#737b89;font-size:.75rem;line-height:1rem;white-space:nowrap}
 .admin-payment-receipt-party{display:flex;min-width:0;flex-direction:column;gap:.2rem;padding:1rem}
 .admin-payment-receipt-eyebrow{color:#737b89;font-size:.6875rem;line-height:1rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase}
 .admin-payment-receipt-party>a.admin-action-text-link{justify-content:flex-start;text-align:left;min-height:0;font-size:1.125rem;line-height:1.4;font-weight:800;overflow-wrap:anywhere}
 .admin-payment-receipt-party>a.admin-action-text-link-primary,.admin-payment-receipt-party>a.admin-action-text-link-primary:hover{color:inherit}
 .admin-payment-receipt-party>span:last-child{color:#667085;font-size:.75rem;line-height:1.4;overflow-wrap:anywhere}
 .admin-payment-receipt-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:0 1rem 1rem;gap:.8rem 1rem}
 .admin-payment-receipt-facts>div{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:.3rem}
 .admin-payment-receipt-facts dt{color:#737b89;font-size:.6875rem;line-height:1rem;font-weight:650}
 .admin-payment-receipt-facts dd{display:flex;min-width:0;max-width:100%;align-items:center;margin:0;color:#344054;font-size:.8125rem;line-height:1.25rem;font-weight:700;text-align:left}
 .admin-payment-receipt-facts .admin-financial-payment-status-stack{align-items:flex-start;text-align:left}
 #financial_payments_table .admin-payment-receipt-facts .admin-badge{justify-self:auto;width:fit-content;max-width:100%;font-size:.75rem;line-height:1.15rem;padding:.2rem .45rem;white-space:normal;text-align:left}
 #financial_payments_table .admin-payment-receipt-facts .admin-payment-ledger-direction .admin-badge{padding:0;background:transparent!important;box-shadow:none;font-weight:900}
 .admin-payment-receipt-matched{overflow-wrap:anywhere}
 .admin-payment-receipt-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;padding:.875rem 1rem;background:#faf8f4;border-top:1px solid #e8e3dc}
 .admin-payment-receipt-allocation{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:.15rem}
 .admin-payment-receipt-allocation>strong{font-size:.8125rem;line-height:1.2rem;font-weight:750}
 .admin-payment-receipt-allocation>span{color:#737b89;font-size:.6875rem;line-height:1rem}
 .admin-payment-receipt-links{margin-top:.25rem}
 .admin-payment-receipt-links .admin-financial-cell-stack{align-items:flex-start;text-align:left}
 .admin-payment-receipt-action{display:flex;align-items:center;justify-content:flex-end}
 .admin-payment-receipt-action .admin-secondary-button{min-height:2.75rem;white-space:nowrap;border-color:#d8d2c9;background:#fffdf9;box-shadow:none}
 .admin-payment-receipt-action .admin-secondary-button:hover{border-color:#f26a3d;color:#c52b05;background:#fff4f6}
 .admin-payment-receipt-review{text-decoration:none}
}
@media(max-width:479.98px){
 .admin-payment-receipt-header{grid-template-columns:minmax(0,1fr);gap:.75rem}
 .admin-payment-receipt-total{align-items:flex-start;text-align:left}
 .admin-payment-receipt-footer{grid-template-columns:minmax(0,1fr)}
 .admin-payment-receipt-action{justify-content:stretch}
 .admin-payment-receipt-action .admin-payment-match-actions{width:100%;flex-wrap:nowrap}
 .admin-payment-receipt-action .admin-secondary-button{width:auto;flex:1;justify-content:center;white-space:normal}
}
.dark #financial_payments_table .admin-payment-receipt{color:#f2f4f7}
.dark .admin-payment-receipt-header{border-color:#475467}
.dark .admin-payment-receipt-bank-mark{color:#98a2b3}
.dark .admin-payment-receipt-bank-copy small,.dark .admin-payment-receipt-total time,.dark .admin-payment-receipt-eyebrow,.dark .admin-payment-receipt-party>span:last-child,.dark .admin-payment-receipt-facts dt,.dark .admin-payment-receipt-allocation>span{color:#b4bbc8}
.dark .admin-payment-receipt-facts dd{color:#e4e7ec}
.dark .admin-payment-receipt-footer{background:#242a33;border-color:#414650}
.dark .admin-payment-receipt-action .admin-secondary-button{background:#1d2939;border-color:#475467;color:#f2f4f7}

/* Incoming receipt tags use a compact searchable chooser with creation as the final result. */
.admin-receipt-tag-results{max-height:17rem;margin-top:.75rem;overflow-y:auto;border:1px solid #e4e0da;border-radius:.875rem;background:#fff}
.admin-receipt-tag-option{display:flex;width:100%;min-height:3rem;align-items:center;gap:.75rem;border:0;border-bottom:1px solid #f0ede8;background:transparent;padding:.75rem 1rem;color:#344054;text-align:left;font:inherit;font-weight:600;cursor:pointer}
.admin-receipt-tag-option:last-child{border-bottom:0}.admin-receipt-tag-option:hover,.admin-receipt-tag-option:focus-visible{background:#f9fafb;color:#1d2939}.admin-receipt-tag-option:focus-visible{outline:2px solid #f26a3d;outline-offset:-2px}
.admin-receipt-tag-option[aria-selected="true"]{background:#fff4ed;color:#b93815}.admin-receipt-tag-option i{width:1rem;flex:none;text-align:center}
.admin-receipt-tag-create{border-top:1px solid #d1e9ff;background:#eff8ff;color:#175cd3}.admin-receipt-tag-create:hover,.admin-receipt-tag-create:focus-visible{background:#dbeeff;color:#1849a9}
.admin-receipt-tag-empty{margin:0;padding:1rem;color:#667085;font-size:.875rem;line-height:1.5}
.dark .admin-receipt-tag-results{border-color:#475467;background:#1d2939}.dark .admin-receipt-tag-option{border-color:#344054;color:#eaecf0}.dark .admin-receipt-tag-option:hover,.dark .admin-receipt-tag-option:focus-visible{background:#344054;color:#fff}.dark .admin-receipt-tag-option[aria-selected="true"]{background:#542c1d;color:#fdbda7}.dark .admin-receipt-tag-create{border-color:#194185;background:#102a56;color:#b2ddff}.dark .admin-receipt-tag-empty{color:#98a2b3}

/* The toolbar responds to its own card width, including the desktop sidebar. */
.admin-table-controls-header{container:admin-table-toolbar / inline-size}
@container admin-table-toolbar (min-width:30rem) and (max-width:60rem){
  .admin-table-controls-left,.admin-table-controls-right{flex-basis:100%;width:100%;margin-left:0}
  .admin-table-controls-left>*{flex:1 1 13rem;min-width:0}
  .admin-table-controls-left .admin-base-dropdown{width:100%;max-width:none!important;min-width:0}
  .admin-table-controls-right .admin-table-search-shell{flex:1;min-width:0}
  .admin-table-controls-right .admin-table-search-input{width:100%}
}
@media(min-width:640px) and (max-width:1439.98px){
  .admin-workspace-page .admin-main-content-shell{padding:1.25rem 1.5rem}
  .admin-period-context-heading{flex:1 1 16rem}
  .admin-period-context-interactions{flex:1 1 24rem}
  .admin-period-context-controls{flex:1 1 auto;flex-wrap:wrap;justify-content:flex-start}
  .admin-period-context-controls>.admin-base-dropdown{flex:0 0 12rem}
  .admin-period-context-extra{flex:1 1 16rem;min-width:0}
  .admin-period-context-bar{gap:.75rem;flex-wrap:wrap}
}

/* Five headline metrics form balanced 3+2 rows until all five can be read. */
.admin-statistics-region{container:admin-statistics / inline-size;min-width:0}
@container admin-statistics (min-width:32rem) and (max-width:70.99rem){
  .admin-statistics-grid-autofit:has(>:nth-child(5):last-child):not(:has(.is-expanded)){grid-template-columns:repeat(6,minmax(0,1fr))}
  .admin-statistics-grid-autofit:has(>:nth-child(5):last-child):not(:has(.is-expanded))>*{grid-column:span 2}
  .admin-statistics-grid-autofit:has(>:nth-child(5):last-child):not(:has(.is-expanded))>:nth-last-child(-n+2){grid-column:span 3}
}
@container admin-statistics (min-width:32rem) and (max-width:42rem){
  .admin-widget-item-compact{gap:.5rem;padding:.625rem}
  .admin-widget-item-compact .admin-stat-icon-box-sm{width:1.75rem;height:1.75rem;min-width:1.75rem}
  .admin-widget-item-value-compact{font-size:1rem;line-height:1.5rem}
}

/* Summary composition responds to its own region, including nested cards. */
.admin-statistics-region>.admin-widget-grid,
.admin-statistics-region>.admin-info-widget-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13.5rem),1fr));gap:.75rem}
.admin-info-widget-row>.admin-widget-card-slim{max-width:none}
@container admin-statistics (min-width:32rem) and (max-width:70.99rem){
  :is(.admin-widget-grid,.admin-info-widget-row):has(>:nth-child(5):last-child){grid-template-columns:repeat(6,minmax(0,1fr))}
  :is(.admin-widget-grid,.admin-info-widget-row):has(>:nth-child(5):last-child)>*{grid-column:span 2}
  :is(.admin-widget-grid,.admin-info-widget-row):has(>:nth-child(5):last-child)>:nth-last-child(-n+2){grid-column:span 3}
}
@container admin-statistics (min-width:32rem) and (max-width:59.99rem){
  :is(.admin-widget-grid,.admin-statistics-grid-autofit,.admin-info-widget-row):has(>:nth-child(4):last-child):not(:has(.is-expanded)){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container admin-statistics (min-width:32rem) and (max-width:42rem){
  .admin-widget-card-slim{padding:.625rem}
  .admin-widget-card-slim .admin-info-widget-body{gap:.5rem}
  .admin-widget-card-slim .admin-icon-box{width:1.75rem;height:1.75rem;min-width:1.75rem;padding:.25rem}
}
/* Named form grids use the form's available width, including bounded dialogs. */
.admin-form{container:admin-form / inline-size;min-width:0}
.admin-form :is(.admin-form-grid-2,.admin-form-grid-2-compact,.admin-form-grid-lg-2,.admin-form-grid-sm-2,.admin-form-grid-3,.admin-form-grid-sm-3,.admin-form-grid-sm-3-end,.admin-form-grid-4){grid-template-columns:minmax(0,1fr)}
@container admin-form (min-width:36rem){
  .admin-form :is(.admin-form-grid-2,.admin-form-grid-2-compact,.admin-form-grid-lg-2,.admin-form-grid-sm-2,.admin-form-grid-3,.admin-form-grid-sm-3,.admin-form-grid-sm-3-end,.admin-form-grid-4){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container admin-form (min-width:44rem){
  .admin-form :is(.admin-form-grid-3,.admin-form-grid-sm-3,.admin-form-grid-sm-3-end){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@container admin-form (min-width:64rem){
  .admin-form .admin-form-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* Six summaries keep equal rows instead of stranding one or two metrics. */
@container admin-statistics (min-width:28rem) and (max-width:84.99rem){
  :is(.admin-widget-grid,.admin-statistics-grid-autofit,.admin-info-widget-row):has(>:nth-child(6):last-child):not(:has(.is-expanded)){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container admin-statistics (min-width:42rem) and (max-width:84.99rem){
  :is(.admin-widget-grid,.admin-statistics-grid-autofit,.admin-info-widget-row):has(>:nth-child(6):last-child):not(:has(.is-expanded)){grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* Sortable headings wrap inside their own column, preserving the sort target. */
.admin-responsive-card-table th .dt-column-title{white-space:normal;overflow-wrap:normal;word-break:normal}

/* Secondary block metadata stays below its clickable primary value. */
.admin-inline-table-link:has(>.admin-table-text-muted-block){flex-direction:column;align-items:flex-start;justify-content:center;gap:.125rem}

/* Quick reconciliation reuses the detail editor inside one dialog surface. */
.admin-quick-match-trigger{font-size:.8125rem;padding:.5rem .75rem;white-space:normal}
.admin-financial-cell-stack.admin-payment-match-actions{flex-direction:row;flex-wrap:wrap;align-items:center;gap:.5rem;text-align:left}
.admin-payment-match-actions>.admin-quick-match-trigger{flex:1 1 auto;min-width:0}
.admin-payment-match-actions>.admin-payment-classification-actions{flex:0 0 auto;width:auto;margin-top:0;max-width:none}
.admin-payment-classification-actions{display:flex;flex-direction:column;align-items:flex-start;gap:.375rem;max-width:19rem;margin-top:.375rem;white-space:normal}
.admin-payment-classification-options{display:flex;flex-wrap:wrap;gap:.375rem}
.admin-payment-classification-options .admin-secondary-button{font-size:.75rem;padding:.375rem .5rem;min-height:2.25rem;box-shadow:none}
.admin-payment-classification-options .is-suggested{background:#fff0f3;border-color:#ffd6c2;color:#b93815}
.admin-payment-receipt-action:has(.admin-payment-classification-actions){flex-wrap:wrap;gap:.5rem}
.dark .admin-payment-classification-options .is-suggested{background:#3b251e;border-color:#744330;color:#ffb38d}
@media(max-width:767px){
 .admin-payment-classification-options .admin-secondary-button{min-height:2.75rem;width:auto}
 .admin-payment-classification-actions{width:100%;max-width:none;text-align:left}
 .admin-payment-receipt-footer:has(.admin-payment-classification-actions){grid-template-columns:minmax(0,1fr)}
 .admin-payment-receipt-action:has(.admin-payment-classification-actions){justify-content:flex-start;text-align:left}
 .admin-payment-receipt-action>.admin-financial-cell-stack:has(.admin-payment-classification-actions){width:100%;align-items:center;text-align:left}
 .admin-payment-classification-actions .admin-table-text-muted{font-weight:400;text-align:left}
}
.admin-quick-match-dialog>h3{padding-right:2.5rem;overflow-wrap:anywhere}
.admin-quick-match-context{display:flex;align-items:center;gap:.75rem;min-width:0;margin:0 0 .75rem}
.admin-quick-match-context>.admin-mini-icon-tile{width:2.5rem;height:2.5rem;min-width:2.5rem;border-radius:.75rem;background:#eef4ff;color:#175cd3}
.admin-quick-match-context>div{display:flex;flex-direction:column;gap:.125rem;min-width:0}
.admin-quick-match-context strong{font-size:1rem;color:#101828;font-variant-numeric:tabular-nums}
.admin-quick-match-context span{font-size:.8125rem;color:#667085;overflow-wrap:anywhere}
.admin-quick-match-settlement-note{display:flex;align-items:flex-start;gap:.5rem;margin:0;padding:.625rem .75rem;border-radius:.625rem;background:#fffaeb;color:#93370d;font-size:.8125rem;line-height:1.45}
.admin-quick-match-settlement-note>svg{flex:0 0 auto;margin-top:.1rem}
.admin-quick-match-dialog #payment-matching{border:0;box-shadow:none;margin:0;border-radius:0}
.admin-quick-match-dialog #payment-matching>.admin-card-section-header{display:none}
.admin-quick-match-dialog .admin-financial-match-body{gap:1rem;padding:1rem 0 0}
.admin-quick-match-dialog .admin-financial-match-results{max-height:none}
.admin-quick-match-dialog .admin-financial-result-amount small{display:block;color:#667085;font-size:.75rem;font-weight:400;margin-top:.25rem}
.admin-quick-match-dialog .admin-modal-actions-footer{position:sticky;bottom:0;z-index:2;padding:1rem 0;background:#fff}
.admin-quick-match-dialog [data-quick-match-status]:empty{display:none}

/* Compact comparison tables recover space from padding before dropping data. */
.admin-table-compact-spacing>thead>tr>th,.admin-table-compact-spacing>tbody>tr>td{padding-inline:.75rem}

/* Quick matching: search palette first, focused confirmation second. */
.admin-quick-match-dialog .admin-financial-match-picker>.admin-field-wrapper{margin:0}
.admin-quick-match-dialog .admin-financial-match-picker>.admin-field-wrapper label{font-size:.8125rem}
.admin-quick-match-dialog .admin-financial-match-list-heading{margin:.875rem .125rem .5rem}
.admin-quick-match-dialog .admin-financial-match-results{gap:0;border:1px solid #e4e7ec;border-radius:.875rem;background:#fff;overflow:hidden}
.admin-quick-match-dialog .admin-financial-result{border:0;border-bottom:1px solid #eaecf0;border-radius:0;background:#fff;overflow:hidden}
.admin-quick-match-dialog .admin-financial-result:last-child{border-bottom:0}
.admin-quick-match-dialog .admin-financial-invoice-option{grid-template-columns:minmax(0,1fr) auto 1.25rem;gap:.75rem;padding:.875rem 1rem;min-height:4.75rem;color:#222321;border:0;border-radius:0;background:transparent}
.admin-quick-match-dialog .admin-financial-continuation-result>.admin-financial-invoice-option{background:#f5f8ff}
.admin-quick-match-dialog .admin-financial-continuation-result .admin-financial-result-identity>strong{color:#175cd3}
.admin-quick-match-dialog .admin-financial-invoice-option:hover:not(:disabled){background:#f9fafb;border-color:transparent}
.admin-quick-match-dialog .admin-financial-invoice-option:focus-visible{position:relative;z-index:1;outline:2px solid var(--primary-color,#ef2147);outline-offset:-2px}
.admin-quick-match-dialog .admin-financial-result-copy{grid-column:1;grid-row:1;min-width:0}
.admin-quick-match-dialog .admin-financial-result-amount{grid-column:2;grid-row:1;font-size:.875rem;align-self:center;text-align:right}
.admin-quick-match-dialog .admin-financial-result-arrow{grid-column:3;grid-row:1;align-self:center;color:#98a2b3}
.admin-quick-match-dialog .admin-financial-result-arrow .admin-financial-result-icon{display:block;font-size:.875rem!important}
.admin-quick-match-dialog .admin-financial-match-percent{display:inline-flex;white-space:nowrap;border-radius:.375rem;padding:.125rem .4375rem;font-size:.6875rem;font-weight:600;background:#edf8f1;color:#087346}
.admin-quick-match-dialog .admin-financial-match-percent-weak{background:#f4f5f6;color:#667085}
.admin-quick-match-dialog [data-financial-result-added]{display:none}
.admin-quick-match-dialog [data-financial-allocation-row][hidden]{display:none}
.admin-quick-match-dialog .admin-financial-quick-review>[data-financial-allocation-rows]{display:block;width:100%}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-allocation-row{padding:.55rem 0;border:0;border-bottom:1px solid #eaecf0;border-radius:0;background:transparent;box-shadow:none}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-offset-row{background:transparent}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-draft-summary{padding:0;min-height:0}
.admin-financial-quick-review .admin-financial-draft-summary,
.admin-financial-quick-review .admin-financial-match-total-row{grid-template-columns:minmax(0,1fr) 6.75rem 6.75rem 2.75rem}
.admin-quick-match-dialog .admin-financial-quick-review [data-financial-edit-amount]{display:none}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-allocation-fields{margin-top:1rem}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-feedback{font-weight:600;color:#344054}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-footer{gap:.75rem}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-totals{padding-inline:0}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-actions{display:grid;grid-template-columns:auto 1fr;width:100%}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-actions>button:last-child{justify-self:end}
.admin-quick-match-dialog .admin-financial-inline-draft{padding:0}
@media(max-width:639px){
.admin-quick-match-dialog .admin-financial-invoice-option{grid-template-columns:minmax(0,1fr) 1.25rem;gap:.5rem;padding:.75rem}
.admin-quick-match-dialog .admin-financial-result-copy{grid-column:1;grid-row:1}
.admin-quick-match-dialog .admin-financial-result-amount{grid-column:1;grid-row:2;justify-self:start;text-align:left}
.admin-quick-match-dialog .admin-financial-result-arrow{grid-column:2;grid-row:1 / 3}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-draft-summary,
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-total-row{grid-template-columns:minmax(0,1fr) auto 2.75rem;column-gap:.5rem}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-draft-identity,
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-total-row>:first-child{grid-column:1;grid-row:1 / span 2}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-draft-amount,
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-total-row>:nth-child(3){grid-column:2;grid-row:1}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-draft-overflow,
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-total-row>:nth-child(2){grid-column:2;grid-row:2}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-row-actions,
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-total-row>:nth-child(4){grid-column:3;grid-row:1 / span 2}
.admin-quick-match-dialog .admin-financial-quick-review [data-financial-allocation-row] .admin-financial-draft-summary{grid-template-columns:minmax(0,1fr) 2.75rem;row-gap:.5rem}
.admin-quick-match-dialog .admin-financial-quick-review [data-financial-allocation-row] .admin-financial-draft-identity{grid-column:1;grid-row:1}
.admin-quick-match-dialog .admin-financial-quick-review [data-financial-allocation-row] .admin-financial-draft-overflow{display:none}
.admin-quick-match-dialog .admin-financial-quick-review [data-financial-allocation-row] .admin-financial-draft-amount{grid-column:1;grid-row:2;text-align:left;padding-inline-start:2.5rem}
.admin-quick-match-dialog .admin-financial-quick-review [data-financial-allocation-row] .admin-financial-row-actions{grid-column:2;grid-row:1 / span 2}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-total-row{grid-template-columns:minmax(0,1fr) auto}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-total-row>:first-child{grid-row:1}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-total-row>:nth-child(2),.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-total-row>:nth-child(4){display:none}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-actions{grid-template-columns:1fr}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-actions>button,.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-actions>button:last-child{width:100%;justify-self:stretch}
}
.dark .admin-quick-match-dialog .admin-financial-result{background:#1b2028;border-color:#39404a}
.dark .admin-quick-match-dialog .admin-financial-invoice-option{color:#f3f4f6}
.dark .admin-quick-match-dialog .admin-financial-continuation-result>.admin-financial-invoice-option{background:#182849}
.dark .admin-quick-match-dialog .admin-financial-continuation-result .admin-financial-result-identity>strong{color:#b2ccff}
.dark .admin-quick-match-context strong{color:#f9fafb}
.dark .admin-quick-match-context>.admin-mini-icon-tile{background:#1e3a5f;color:#84adff}
.dark .admin-quick-match-settlement-note{background:#3b2f16;color:#fec84b}
.dark .admin-quick-match-dialog .admin-financial-match-results{background:#1b2028;border-color:#39404a}
.dark .admin-quick-match-dialog .admin-financial-invoice-option:hover:not(:disabled){background:#242a33}
.dark .admin-quick-match-dialog .admin-financial-quick-review .admin-financial-allocation-row{background:transparent;border-color:#39404a}
.dark .admin-quick-match-dialog .admin-financial-quick-review .admin-financial-offset-row{background:transparent;border-color:#39404a}
.dark .admin-quick-match-dialog .admin-financial-match-percent{background:#193c2d;color:#80d9aa}
.dark .admin-quick-match-dialog .admin-financial-match-percent-weak{background:#242a33;color:#adb6c6}

.admin-generic-confirm-panel>.admin-modal-body{min-height:0;overflow:auto}
.admin-generic-confirm-panel>.admin-modal-actions-footer{flex-shrink:0}

/* The dedicated scanner host opts into the entire iPhone viewport. */
.admin-processing-entry-page .admin-login-panel{padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px));padding-top:max(24px,env(safe-area-inset-top,0px));padding-bottom:max(24px,env(safe-area-inset-bottom,0px))}
.processing-focus-header,.processing-focus-footer,.processing-focus-target{padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}
@media (display-mode: standalone), (display-mode: fullscreen) {
  .admin-processing-entry-page.admin-processing-start-page .admin-login-panel{padding-top:max(12px,env(safe-area-inset-top,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-bottom:max(16px,env(safe-area-inset-bottom,0px));padding-left:max(16px,env(safe-area-inset-left,0px))}
  .processing-focus-header{padding-top:calc(12px + env(safe-area-inset-top,0px))}
  .processing-focus-footer{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
  .processing-focus-header,.processing-focus-footer,.processing-focus-target{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
}
html.admin-processing-standalone .admin-processing-entry-page.admin-processing-start-page .admin-login-panel{padding-top:max(12px,env(safe-area-inset-top,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-bottom:max(16px,env(safe-area-inset-bottom,0px));padding-left:max(16px,env(safe-area-inset-left,0px))}
html.admin-processing-standalone .processing-focus-header{padding-top:calc(12px + env(safe-area-inset-top,0px))}
html.admin-processing-standalone .processing-focus-footer{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
html.admin-processing-standalone .processing-focus-header,html.admin-processing-standalone .processing-focus-footer,html.admin-processing-standalone .processing-focus-target{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.admin-processing-page-surface{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
.processing-entry-alerts{display:none;flex-shrink:0}
.processing-entry-alerts.is-visible,.processing-entry-alerts:has(.processing-entry-notice:not([hidden])){display:grid;gap:12px;margin:16px 0}
#processing-entry-update,#processing-entry-connection{margin:0}
.processing-entry-notice{display:flex;align-items:center;gap:12px;border:1px solid #d9c9aa;border-radius:14px;background:#fff7e6;padding:12px;color:#49381d;font-size:13px;line-height:1.5;text-align:left}
/* Notices stay absent before JS and until their controller confirms a visible state. */
.processing-entry-notice[hidden],.processing-camera-connection[hidden]{display:none!important}
.processing-entry-notice-copy{flex:1;min-width:0}
.processing-entry-notice p{margin:0}
.processing-entry-notice-copy [data-processing-connection-reason]{margin-top:.35rem;font-size:12px;line-height:1.4;color:#6f675f}
.processing-entry-notice-copy [data-processing-connection-reason][hidden]{display:none}
.processing-entry-notice button{min-height:44px;padding:8px 12px;flex-shrink:0;border:1px solid #937444;border-radius:10px;font-weight:600;touch-action:manipulation}
.processing-entry-notice button:disabled{opacity:.55}
.processing-entry-notice button:focus-visible{outline:3px solid #bd592e;outline-offset:2px}
#processing-entry-scanner .processing-camera-connection{position:relative;margin:0;max-width:320px;padding:10px 14px;border-radius:14px;background:#fff1d7;color:#49381d;font-size:12px;line-height:1.4;text-align:center}
.processing-focus-target:has(.processing-camera-connection:not([hidden])){gap:12px}
@media(max-height:600px){#processing-entry-scanner:has(.processing-camera-connection:not([hidden])) .admin-qr-scan-frame{width:min(48vw,28dvh)}}
@media(max-height:480px){#processing-entry-scanner:has(.processing-camera-connection:not([hidden])) .admin-qr-scan-frame{width:min(26vw,20dvh)}}

/* Processing sign-in: balanced viewport chrome, naturally scrolling expanded forms. */
.admin-processing-login-page .admin-login-panel{height:100%;padding-top:max(24px,env(safe-area-inset-top,0px));padding-bottom:max(20px,env(safe-area-inset-bottom,0px));scrollbar-gutter:auto}
.admin-processing-login-page .admin-login-content{min-height:100%;max-width:30rem;gap:0}
.admin-processing-login-page .admin-processing-entry-header{flex:none;margin:0;padding-bottom:20px}
.admin-processing-login-page .processing-login-stage{flex:none;width:100%;margin-block:auto;padding-block:24px 28px}
.admin-login-page.admin-processing-login-page .admin-auth-footer-note{flex:none;margin:0;padding-top:20px;line-height:1.5}
.admin-processing-login-page .admin-login-heading{text-align:center;margin:0 0 24px}
.admin-processing-login-page .admin-login-heading h1{font-size:clamp(1.9rem,5.8vw,2.5rem);line-height:1.1;letter-spacing:-.045em;text-wrap:balance}
.admin-processing-login-page .admin-login-heading>p:last-child{max-width:26rem;margin:16px auto 0;font-size:1rem;line-height:1.6;color:#706a63;text-wrap:pretty}
.admin-processing-login-page .admin-login-eyebrow{margin-bottom:10px;font-size:.7rem;letter-spacing:.15em}
.admin-processing-login-page .admin-login-card{width:100%;max-width:27rem;margin-inline:auto}
.admin-login-form-plain :is(.login-submit-btn,.admin-login-ink-button){min-height:56px;height:auto;padding:15px 18px;border-radius:16px;line-height:1.4;white-space:normal;transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}
.admin-login-form-plain :is(.login-submit-btn,.admin-login-ink-button)>svg{flex:none}
.admin-login-form-plain .admin-login-ink-button:focus-visible{outline:2px solid #1a1614;outline-offset:3px}
.admin-processing-login-page :is(.login-submit-btn,#processing-pin-open-button):active:not(:disabled){transform:translateY(1px) scale(.985)}
.admin-processing-login-page .admin-processing-enrollment-toggle{display:flex;align-items:center;justify-content:center;min-height:44px;margin:16px auto 0;padding:8px 12px;color:#8e351c;font-weight:650;text-underline-offset:5px;text-decoration-color:#8e351c66;border-radius:10px}
.admin-processing-login-page .admin-processing-enrollment-toggle:hover{background:#ef214708;text-decoration-color:currentColor}
.admin-processing-login-page .admin-processing-enrollment-toggle:focus-visible{outline:2px solid #b91937;outline-offset:3px}
.admin-processing-login-page button[aria-busy="true"]::before{content:"";flex:none;width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:processing-login-spin .8s linear infinite}
.admin-processing-login-page [data-recovery-submit][aria-busy="true"]{cursor:wait;transform:none;box-shadow:none}
.admin-recovery-confirmation-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 24px;border-radius:20px;background:#ef21470d;color:#b91937;border:1px solid #ef21471a}
.admin-recovery-confirmation-notes{display:grid;gap:18px;padding:22px 24px;border:1px solid #e4ddd2;border-radius:16px;background:#ffffff40}
.admin-recovery-confirmation-notes p{display:grid;gap:4px;margin:0;font-size:.875rem;line-height:1.6}
.admin-recovery-confirmation-notes strong{color:#2a2421;font-weight:650}
.admin-recovery-confirmation-notes span{color:#706a63}
.admin-recovery-retry-link{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;color:#706a63;font-size:.875rem;line-height:1.5;text-align:center;text-decoration:underline;text-underline-offset:4px;border-radius:10px}
.admin-recovery-retry-link:hover{color:#2a2421}
.admin-recovery-retry-link:focus-visible{outline:2px solid #b91937;outline-offset:3px}
.processing-login-symbol{position:relative;width:104px;height:110px;margin:0 auto 20px;perspective:550px;pointer-events:none}
.processing-login-symbol-shadow{position:absolute;bottom:0;left:20px;width:64px;height:10px;border-radius:50%;background:radial-gradient(ellipse,#78452324,transparent 70%)}
.processing-login-glass{position:absolute;inset:3px 6px 15px;border:1px solid #fff;border-radius:23px;background:linear-gradient(135deg,#ffffffed,#fffaf380 55%,#eadbca99);box-shadow:inset -3px -3px 5px #ae78401a,inset 2px 2px 2px #fff,5px 9px 16px #75462114;transform:rotateX(12deg) rotateY(-16deg) rotateZ(-6deg);transform-style:preserve-3d}
.processing-login-glass svg{width:100%;height:100%;overflow:visible}
.processing-login-symbol-focus{stroke:#df400e;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.processing-login-symbol-fields{stroke:#b9a58d;stroke-width:1.5;stroke-linecap:round}
.processing-login-symbol-scan{stroke:#f0682c;stroke-width:2;stroke-linecap:round;opacity:.75}
@keyframes processing-login-spin{to{transform:rotate(360deg)}}
@keyframes processing-login-glass-enter{from{opacity:0;transform:translateY(8px) rotateX(30deg) rotateY(-35deg) rotateZ(-10deg)}to{opacity:1;transform:rotateX(12deg) rotateY(-16deg) rotateZ(-6deg)}}
@keyframes processing-login-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes processing-login-scan-once{0%{opacity:0;transform:translateY(-10px)}30%,70%{opacity:.8}100%{opacity:.75;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){
  .processing-login-revealed .processing-login-glass{animation:processing-login-glass-enter .8s cubic-bezier(.2,.7,.2,1) backwards}
  .processing-login-revealed .processing-login-symbol-scan{animation:processing-login-scan-once 1s .25s ease both}
  .processing-login-revealed .admin-login-heading{animation:processing-login-enter .55s .12s ease backwards}
  .processing-login-revealed .admin-login-card{animation:processing-login-enter .55s .24s ease backwards}
}
@media(prefers-reduced-motion:reduce){
  .admin-processing-login-page :is(.login-submit-btn,#processing-pin-open-button){transition:none}
  .admin-processing-login-page button[aria-busy="true"]::before{animation:none;border-style:dotted}
}
@media(max-height:650px){
  .admin-processing-login-page .processing-login-stage{padding-block:12px 16px}
  .processing-login-symbol{width:76px;height:80px;margin-bottom:14px}
  .processing-login-glass{inset:0 4px 12px;border-radius:17px}
  .admin-processing-login-page .admin-login-heading{margin-bottom:18px}
}

/* Authenticated scanner-ready state: preserve chrome and keep both entry methods at hand. */
.admin-processing-ready-page{box-sizing:border-box;display:flex;min-height:100dvh;flex-direction:column}
.admin-processing-ready-page .admin-processing-top-controls{flex:none;padding-bottom:20px}
.admin-processing-ready-page .admin-processing-empty-content{flex:none;max-width:31rem;margin-block:auto;padding:28px max(24px,env(safe-area-inset-right,0px)) 28px max(24px,env(safe-area-inset-left,0px))}
.admin-processing-ready-heading{text-align:center;margin:0 0 28px}
.admin-processing-ready-heading .admin-login-eyebrow{margin-bottom:12px}
.admin-processing-ready-heading h1{margin:0;font-size:clamp(2rem,6vw,2.6rem);line-height:1.1;letter-spacing:-.045em;text-wrap:balance}
.admin-processing-ready-heading>p:last-child{max-width:25rem;margin:16px auto 0;color:#706a63;font-size:1rem;line-height:1.6;text-wrap:pretty}
.admin-processing-ready-actions{display:flex;flex-direction:column;gap:12px}
.admin-processing-ready-actions .admin-touch-action-button{box-sizing:border-box;width:100%;min-height:56px;justify-content:center;gap:10px;border-radius:16px;padding:15px 18px;font-size:1rem;line-height:1.4;white-space:normal;transition:transform .18s ease,box-shadow .18s ease}
.admin-processing-ready-actions .admin-touch-action-primary{box-shadow:0 8px 22px #d9411226}
.admin-processing-ready-actions .admin-processing-ready-manual{border:1px solid #d6cfc5;background:#ffffff8c;color:#44403c}
.admin-processing-ready-actions .admin-processing-ready-manual:hover{background:#fff;border-color:#b9afa1}
.admin-processing-ready-actions button:active{transform:translateY(1px) scale(.985)}
.admin-processing-ready-actions button:focus-visible{outline:3px solid #b91937;outline-offset:3px}
.admin-processing-ready-actions :is(svg,i){flex:none}
.admin-processing-ready-title-row{display:flex;align-items:center;justify-content:center;gap:16px}.admin-processing-ready-title-row h1{min-width:0}.admin-processing-ready-back{display:flex;flex:none;justify-content:center}
.admin-processing-ready-page>.admin-auth-footer-note{flex:none;max-width:30rem;margin:0 auto;padding:20px 24px 8px;color:#8c8279;font-size:.75rem;line-height:1.5}
.admin-processing-web-version{margin:0;padding:.45rem 0 0;text-align:center;font-size:9px;line-height:1;letter-spacing:.08em;color:#b5ada6}
.admin-login-page .admin-processing-web-version,.admin-processing-ready-page>.admin-processing-web-version{flex:none;max-width:30rem;margin:0 auto;padding:0 24px max(16px,env(safe-area-inset-bottom,0px))}
.admin-processing-floating-actions .admin-processing-action-stack>.admin-processing-web-version{padding:.2rem 0 0}
.admin-processing-web-version-overlay{position:absolute;left:0;right:0;bottom:calc(4px + env(safe-area-inset-bottom,0px));z-index:3;padding:0;color:rgba(255,255,255,.42);pointer-events:none}
@media(prefers-reduced-motion:reduce){.admin-processing-ready-actions .admin-touch-action-button{transition:none}.admin-processing-ready-actions button:active{transform:none}}
@media(max-height:650px){.admin-processing-ready-page .admin-processing-empty-content{padding-top:16px;padding-bottom:16px}}
.admin-workspace-page:has(.admin-processing-ready-page) .admin-footer-shell{display:none}

/* Authenticated processing actions share the Focus Corners camera presentation. */
#qr-scan-modal.processing-focus-action-scanner{isolation:isolate;overflow:hidden;width:100%;color:#fff;--processing-focus-accent:#ffad78}
#qr-scan-modal.admin-processing-scanner-overlay--unallocation{--processing-focus-accent:#c084fc}
#qr-scan-modal.admin-processing-scanner-overlay--label-removal{--processing-focus-accent:#f87171}
/* An edge-only light treatment: the center stays transparent and never takes input. */
#qr-scan-modal.processing-focus-action-scanner.admin-processing-scanner-edge-glow{--processing-edge-deep:#e95a18;--processing-edge-light:#ffe4b2;border-color:transparent}
#qr-scan-modal.admin-processing-scanner-edge-glow.admin-processing-scanner-overlay--unallocation{--processing-edge-deep:#8539e5;--processing-edge-light:#ead7ff}
#qr-scan-modal.admin-processing-scanner-edge-glow.admin-processing-scanner-overlay--label-removal{--processing-edge-deep:#dc263e;--processing-edge-light:#ffc9ba}
#qr-scan-modal.admin-processing-scanner-edge-glow::before,#qr-scan-modal.admin-processing-scanner-edge-glow::after{content:"";position:fixed;inset:0;z-index:8;pointer-events:none;box-sizing:border-box;border-radius:26px;padding:3px;background:linear-gradient(135deg,var(--processing-edge-deep) 0%,var(--processing-focus-accent) 18%,var(--processing-edge-light) 34%,var(--processing-edge-deep) 53%,var(--processing-edge-light) 76%,var(--processing-focus-accent) 92%,var(--processing-edge-deep) 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude}
#qr-scan-modal.admin-processing-scanner-edge-glow::before{padding:9px;filter:blur(8px);opacity:.75}
#qr-scan-modal.admin-processing-scanner-edge-glow::after{opacity:.95}
@keyframes processing-edge-breathe{0%,100%{opacity:.48}50%{opacity:.92}}
@media(prefers-reduced-motion:no-preference){#qr-scan-modal.admin-processing-scanner-edge-glow:not(.hidden)::before{animation:processing-edge-breathe 5s ease-in-out infinite}}
@media(prefers-reduced-motion:reduce){#qr-scan-modal.admin-processing-scanner-edge-glow::before{animation:none;opacity:.65}}

#qr-scan-modal .processing-focus-header{flex-shrink:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px 12px;padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}
#qr-scan-modal .processing-focus-close.hidden{display:none}
#qr-scan-modal .processing-focus-header>div:first-child{min-width:0}
#qr-scan-modal .admin-processing-scanner-tools{flex-shrink:0}
#qr-scan-modal .admin-processing-scanner-warning{grid-column:1/-1;width:100%;max-width:none;margin:0;box-sizing:border-box}
#qr-scan-modal #qr-scan-kicker{margin:0;line-height:1.6;overflow-wrap:anywhere;color:var(--processing-focus-accent);font-size:10px;letter-spacing:.16em}
#qr-scan-modal #qr-scan-video,#qr-scan-modal .processing-focus-shade{position:fixed;inset:0;width:100%;height:100%;z-index:-2}
#qr-scan-modal .processing-focus-shade{z-index:-1}
#qr-scan-modal>.relative{min-height:0;overflow:visible}
#qr-scan-modal #qr-scan-camera-panel{container-type:size}
#qr-scan-modal .admin-qr-scan-frame{width:min(64vw,260px,34dvh,calc(100cqh - 24px));max-width:calc(100% - 48px)}
#qr-scan-modal .admin-qr-scan-frame i{border-color:var(--processing-focus-accent)}
#qr-scan-modal .admin-processing-scanner-footer{position:relative;z-index:2;flex-shrink:0;align-items:center;padding:16px max(24px,env(safe-area-inset-right,0px)) calc(24px + env(safe-area-inset-bottom,0px)) max(24px,env(safe-area-inset-left,0px))}
#qr-scan-modal #qr-scan-status{box-sizing:border-box;width:100%;max-width:none;border-radius:18px;padding:12px 18px;background:#101b17e8;color:#fff;line-height:1.5}
#qr-scan-modal .admin-processing-scanner-manual-action{width:auto;max-width:100%;border-radius:999px;background:#101b17d9;font-size:14px}
#qr-scan-modal .admin-processing-manual-panel{border-radius:20px 20px 0 0}
#qr-scan-modal:has(#qr-scan-manual-panel:not(.hidden))>.relative{overflow:hidden}
#qr-scan-modal:has(#qr-scan-manual-panel:not(.hidden)) .admin-processing-scanner-footer{display:none}
@media(prefers-reduced-motion:no-preference){#qr-scan-modal:not(.hidden) .processing-focus-sweep{animation:processing-focus-sweep 2.4s ease-in-out 1s 1}}
@media(max-height:480px){#qr-scan-modal .processing-focus-header{padding:calc(8px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) 8px max(16px,env(safe-area-inset-left,0px))}#qr-scan-modal .processing-focus-header{gap:8px 12px}#qr-scan-modal .admin-processing-scanner-warning{margin-top:4px;padding:4px 8px;font-size:12px}#qr-scan-modal .admin-processing-scanner-footer{gap:8px;padding:8px 16px calc(8px + env(safe-area-inset-bottom,0px));flex-direction:column;justify-content:center}#qr-scan-modal #qr-scan-status{font-size:12px;padding:6px 12px}#qr-scan-modal .admin-qr-scan-frame{width:min(32dvh,180px,calc(100cqh - 16px))}}

/* Keep the main sign-in header aligned to the story image, including short screens. */
@media(min-width:960px){.admin-login-panel.admin-login-panel-plain{padding-top:1rem;padding-bottom:1rem}}
@media(max-width:959px){.admin-login-panel.admin-login-panel-plain{min-height:100dvh;padding-top:max(24px,env(safe-area-inset-top,0px));padding-bottom:max(24px,env(safe-area-inset-bottom,0px))}.admin-login-panel-plain .admin-login-content{min-width:0}.admin-login-credential-stage{padding-block:2rem}}
.admin-login-passkey-lead,.admin-login-passkey-or,.admin-login-subtitle-phone{display:none}
.admin-login-subtitle-desktop{display:block}
.admin-login-form-plain #google-signin-container{margin-top:1.25rem}
.admin-device-mobile .admin-login-passkey-lead,.admin-device-mobile .admin-login-subtitle-phone{display:block}
.admin-device-mobile .admin-login-passkey-or{display:flex}
.admin-device-mobile .admin-login-subtitle-desktop{display:none}

/* Login introduction: heading only above the form. */
.admin-login-introduction{margin-bottom:1.75rem}
.admin-login-introduction .admin-login-heading{min-width:0;margin:0}
.admin-login-introduction .admin-login-heading h1{font-size:clamp(1.85rem,3.1vw,2.75rem);line-height:1.08;letter-spacing:-.045em}
.admin-login-introduction .admin-login-subtitle{max-width:18rem;margin:.85rem 0 0;font-size:.875rem;line-height:1.6;color:#78716c}
.admin-login-introduction .admin-login-eyebrow{font-size:.65rem;letter-spacing:.14em;margin-bottom:.65rem}
@media(max-width:479px){.admin-login-introduction{margin-bottom:1.5rem}.admin-login-introduction .admin-login-heading h1{font-size:1.8rem;overflow-wrap:anywhere}.admin-login-introduction .admin-login-subtitle{font-size:.8rem}}

/* Main login: approved brand lockup, language selector and accessible story pagination. */
.admin-login-panel-plain .admin-login-header{justify-content:space-between;min-height:44px}
.admin-brand-lockup{display:block;width:8.5rem;max-width:100%;height:auto;object-fit:contain}
.admin-login-story-bottom{min-width:0}
.admin-login-story-indicators{display:flex;align-items:center;gap:4px;margin-top:1.25rem}
.admin-login-story-indicator{display:flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 4px;border:0;background:transparent;cursor:pointer;touch-action:manipulation}
.admin-login-story-indicator span{display:block;width:24px;height:4px;border-radius:999px;background:rgba(255,255,255,.42);transition:width .2s ease,background-color .2s ease}
.admin-login-story-indicator[aria-pressed="true"] span{width:40px;background:#fff}
.admin-login-story-indicator:hover span{background:#fff}
.admin-login-story-indicator:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:8px}
@media(prefers-reduced-motion:reduce){.admin-login-story-indicator span{transition:none}}
@media(max-height:760px) and (min-width:960px){.admin-login-story-indicators{margin-top:.25rem}}

/* Main-login security gate shares the Processing overlay without moving the form. */
.admin-login-page:has(#login-security-overlay:not([hidden])){overflow:hidden}
/* Main-login signature belongs to the existing security gate, not the slideshow.
   Only the backdrop is masked; the dialog and its hit target remain intact. */
#login-security-overlay{--login-signature-width:min(82vw,60rem);--login-signature-top:max(1.5rem,12vh);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:clamp(1rem,3vh,2rem);padding-top:var(--login-signature-top);background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
#login-security-overlay[hidden]{display:none}
#login-security-overlay::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:var(--admin-modal-backdrop-color);backdrop-filter:blur(var(--admin-modal-backdrop-blur));-webkit-backdrop-filter:blur(var(--admin-modal-backdrop-blur))}
.admin-login-security-signature{flex:none;width:var(--login-signature-width);aspect-ratio:1000/210;display:flex;align-items:center;justify-content:center;pointer-events:none;user-select:none}
.admin-login-security-signature span{font-family:Arial,Helvetica,sans-serif;font-weight:900;font-size:clamp(3rem,14vw,10rem);line-height:1;letter-spacing:-.06em;color:rgba(255,255,255,.8)}
@supports (mask-composite:exclude){
  #login-security-overlay::before{mask-image:linear-gradient(white,white),url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%20210%22%3E%3Ctext%20x%3D%2240%22%20y%3D%22182%22%20textLength%3D%22920%22%20lengthAdjust%3D%22spacingAndGlyphs%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%22230%22%20font-weight%3D%22900%22%20fill%3D%22white%22%3EAGRATA%3C%2Ftext%3E%3C%2Fsvg%3E");mask-size:100% 100%,var(--login-signature-width) auto;mask-position:center,center var(--login-signature-top);mask-repeat:no-repeat;mask-composite:exclude}
  .admin-login-security-signature span{visibility:hidden}
}
/* Keep challenges and retry controls reachable when the keyboard/short viewport needs scrolling. */
@media(max-height:600px){
  #login-security-overlay{padding-top:1.25rem;gap:1rem}
  #login-security-overlay::before{mask-image:none}
  .admin-login-security-signature{width:auto;aspect-ratio:auto}
  .admin-login-security-signature span{visibility:visible;font-size:2.5rem}
}
#login-security-overlay .admin-processing-turnstile-lock-panel{width:min(100%,25rem)}
#login-security-overlay #turnstile-container{min-height:0!important;margin:0!important}
.admin-login-security-retry{min-height:44px;padding:.65rem 1.25rem;border:1px solid #dbd4c9;border-radius:12px;background:#f7f4ed;color:#292524;font:inherit;font-weight:600;cursor:pointer}
.admin-login-security-retry[hidden]{display:none}
.admin-login-security-retry:focus-visible{outline:2px solid #dc421c;outline-offset:3px}
#login-security-overlay[data-state="error"] .admin-processing-turnstile-lock-spinner,#login-security-overlay[data-state="expired"] .admin-processing-turnstile-lock-spinner{display:none}
@media(prefers-reduced-motion:no-preference){#login-security-overlay[data-state="pending"] .admin-processing-turnstile-lock-spinner{animation:admin-processing-turnstile-spin .9s linear infinite}}
@media(max-width:359px){#login-security-overlay{padding-right:8px;padding-left:8px;padding-bottom:8px}#login-security-overlay .admin-processing-turnstile-lock-panel{padding:12px 0}}

/* Only the harvest story slide owns video; its poster remains underneath. */
.admin-login-story-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .4s ease;pointer-events:none}
.admin-login-story-video.is-playing{opacity:1}
@media(prefers-reduced-motion:reduce){.admin-login-story-video{display:none}}

/* Refresh feedback remains visible over the current harvest until navigation. */
.admin-processing-refresh-overlay{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;background:rgba(15,23,18,.48);cursor:wait;padding:24px;touch-action:none}
.admin-processing-refresh-overlay[hidden]{display:none}
.admin-processing-refresh-content{display:flex;flex-direction:column;align-items:center;gap:16px;color:#fff;font-size:16px;font-weight:600;text-align:center;text-shadow:0 1px 3px #0006}
.admin-processing-refresh-spinner{width:42px;height:42px;border:3px solid #ffffff59;border-top-color:#fff;border-radius:50%;animation:admin-table-page-spin .8s linear infinite}
@media(prefers-reduced-motion:reduce){.admin-processing-refresh-spinner{animation:none}}

@media(prefers-reduced-motion:no-preference){
.admin-processing-crate-just-processed{position:relative;z-index:2;transform-origin:center;animation:processing-crate-complete .85s cubic-bezier(.2,.75,.2,1) both}
@keyframes processing-crate-complete{
0%{transform:perspective(500px) translateZ(35px) rotateX(12deg) scale(1.2);background-color:#fff1d6;box-shadow:0 14px 25px #16653430}
45%{transform:perspective(500px) translateZ(12px) rotateX(-3deg) scale(1.06);background-color:#a7f3c1;box-shadow:0 6px 18px #16a34a35}
100%{transform:perspective(500px) translateZ(0) rotateX(0) scale(1);background-color:#dcfce7;box-shadow:0 0 0 transparent}
}}

/* Paid invoices replace selection with a static check; invalid invoices retain the red edge. */
.admin-financial-paid-indicator,.admin-financial-bank-unavailable-icon{display:inline-flex;align-items:center;justify-content:center;justify-self:end;flex:none;width:2.75rem;min-width:2.75rem;height:2.75rem;vertical-align:middle;color:var(--invoice-status-ink)}
.admin-financial-paid-indicator>i,.admin-financial-bank-unavailable-icon>i{display:inline-flex;align-items:center;justify-content:center;flex:none;width:1.5rem;height:1.5rem;border:1px solid var(--invoice-status-border);border-radius:.5rem;background:var(--invoice-status-surface);box-shadow:0 1px 2px rgba(16,24,40,.05)}
#financial_invoices_table.admin-financial-invoice-cards tbody>tr.admin-financial-invoice-invalid{box-shadow:inset 3px 0 0 #f04438}
.dark #financial_invoices_table.admin-financial-invoice-cards tbody>tr.admin-financial-invoice-invalid{box-shadow:inset 3px 0 0 #f87171}

/* Reconciled payments keep the cream ledger and mark done with a 3px inner edge rail. */
#financial_payments_table tbody>tr.admin-financial-payment-reconciled{box-shadow:inset 3px 0 0 #12b76a}
.dark #financial_payments_table tbody>tr.admin-financial-payment-reconciled{box-shadow:inset 3px 0 0 #4ade80}

/* Land title composition: shared tab, table and dialog own their surrounding chrome. */
.land-title-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:.85rem}
.land-title-stat{display:flex;flex-direction:column;gap:.3rem;min-width:0}
.land-title-stat strong{font-size:1.35rem;font-weight:600;line-height:1.4;font-variant-numeric:tabular-nums;color:#292524;overflow-wrap:anywhere}
.land-title-name{display:block;font-weight:600}
.land-title-secondary{display:block;margin-top:.25rem;font-size:.75rem;color:#78716c;overflow-wrap:anywhere}
.land-title-badge{display:inline-flex;align-items:center;padding:.25rem .5rem;border-radius:.375rem;font-size:.75rem;font-weight:500}
.land-title-badge-owned{background:#edf7f1;color:#236943}
.land-title-badge-leased{background:#eff5fc;color:#30638f}
.land-title-modal-width{max-width:72rem}
.land-title-modal-width.land-main-title-modal-width{max-width:48rem}
.land-main-title-modal-width .admin-modal-footer{flex-direction:row;align-items:center}
.land-title-footer-note{margin-right:auto;max-width:17rem;font-size:.75rem;color:#78716c}
.land-title-footer-note[hidden]{display:none}
.land-title-record-grid{display:grid;grid-template-columns:1.2fr 1fr .9fr;gap:1rem}
.land-title-record-grid>div{min-width:0}
.land-title-record-grid-no-cf{grid-template-columns:1.4fr 1fr}
.land-title-record-notice{padding:.75rem 1rem;border-radius:.625rem;background:#fcf6e8;color:#805b1a;font-size:.8125rem}
.land-title-record-notice[hidden]{display:none}
.land-main-title-modal-width .land-title-tenure{margin:0}
.land-main-title-modal-width .land-title-form-body{gap:1rem}
.land-main-title-modal-width .land-title-form-body details{padding-top:.625rem}
.land-main-title-modal-width .admin-modal-record-context{margin-bottom:1rem}
.land-main-title-modal-width .land-title-choice{padding:.625rem .75rem;min-width:0;flex:1;font-size:.8125rem}
.land-title-lessors-field{grid-column:1/-1}
.dark .land-title-record-notice{background:#3b3223;color:#eac585}
.dark .land-title-footer-note{color:#d0d5dd}
.land-title-badge-unknown{background:#f2f4f7;color:#475467}
.dark .land-title-badge-unknown{background:#344054;color:#eaecf0}
@media(max-width:639px){.land-main-title-modal-width .admin-modal-footer{flex-direction:column;align-items:stretch}.land-title-footer-note{max-width:none;margin:0 0 .25rem}.land-title-record-grid{grid-template-columns:1fr 1fr}.land-title-record-grid>div:first-child{grid-column:1/-1}.land-title-record-grid-no-cf>div:first-child{grid-column:auto}.land-title-record-choice .land-title-tenure-choices{flex-wrap:wrap}}
@media(max-width:399px){.land-title-record-grid,.land-title-record-grid-no-cf{grid-template-columns:1fr}.land-main-title-modal-width .land-title-tenure-choices{flex-wrap:wrap}.land-main-title-modal-width .land-title-choice{flex-basis:100%}}

.land-title-modal-width.land-addendum-modal-width{max-width:48rem}
.land-title-modal-width.land-addendum-modal-width.land-addendum-history-open{max-width:min(90rem,calc(100vw - 2rem))}
.land-addendum-history-open #land-addendum-history{min-width:0;overflow-x:auto}
.land-addendum-history-open #land_addenda_table{min-width:44rem}
.land-addendum-summary{padding:1rem;border:1px solid #eee9e2;border-radius:.75rem;background:#faf8f3}
.land-addendum-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.land-addendum-contract{display:flex;align-items:center;gap:.5rem;min-width:0;font-size:.8125rem;font-weight:500;overflow-wrap:anywhere;color:#57534e}
.land-addendum-summary-heading>button{flex-shrink:0;min-height:44px}
.land-addendum-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.land-addendum-summary-grid>div{min-width:0;overflow-wrap:anywhere}
.land-addendum-summary-grid .admin-record-detail-value{font-size:.875rem;margin-top:.25rem}
.land-addendum-date-grid{display:grid;grid-template-columns:.8fr 1fr 1fr;gap:1rem}
.land-addendum-date-grid>div{min-width:0}
.land-addendum-rent{margin:1rem 0 .75rem}
.land-addendum-rent .land-title-tenure-choices{justify-content:flex-start;flex-wrap:wrap}
.land-addendum-rent .land-title-choice{flex:0 1 auto;padding:.625rem .875rem}
.land-addendum-result{display:flex;align-items:flex-start;gap:.75rem;margin-top:1.25rem;padding:.875rem 1rem;background:#edf7f1;color:#236943;border-radius:.625rem;font-size:.8125rem;overflow-wrap:anywhere}
.land-addendum-result[hidden]{display:none}
.land-addendum-result>i{flex-shrink:0;margin-top:.15rem}
.land-addendum-result strong{font-weight:600}
.land-addendum-result p{margin:.25rem 0 0}
.land-addendum-modal-width .admin-modal-footer{flex-direction:row}
.land-addendum-footer-note[hidden]{display:none}
.land-addendum-footer-note{display:flex;align-items:center;gap:.5rem;margin-right:auto;font-size:.75rem;color:#78716c;max-width:14rem}
.land-addendum-footer-note>i{flex-shrink:0}
.dark .land-addendum-summary .admin-record-detail-label{color:#d0d5dd}
.dark .land-addendum-summary .admin-record-detail-value{color:#f2f4f7}
.dark .land-addendum-summary{background:#292524;border-color:#475467}
.dark .land-addendum-contract,.dark .land-addendum-footer-note{color:#d0d5dd}
.dark .land-addendum-result{background:#1f3b2e;color:#9bdbb8}
@media(max-width:639px){.land-addendum-modal-width .admin-modal-footer{flex-direction:column}.land-addendum-summary-heading{align-items:flex-start;gap:.5rem;flex-wrap:wrap}.land-addendum-summary-grid{grid-template-columns:1fr}.land-addendum-date-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.land-addendum-date-grid>div:first-child{grid-column:1/-1}.land-addendum-rent .land-title-choice{flex:1;min-width:0}.land-addendum-footer-note{max-width:none;align-self:flex-start;margin-bottom:.25rem}}
@media(max-width:479px){.land-addendum-date-grid{grid-template-columns:1fr}.land-addendum-rent .land-title-tenure-choices{flex-direction:column}}
.land-title-modal-width button[aria-busy="true"]>i:first-child{display:inline-block;box-sizing:border-box;width:1.25rem;height:1.25rem;flex-shrink:0;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:admin-table-page-spin .8s linear infinite}
.land-title-modal-width button[aria-busy="true"]>i:first-child::before{content:none}
@media(prefers-reduced-motion:reduce){.land-title-modal-width button[aria-busy="true"]>i:first-child{animation:none}}
@media(min-width:768px){#land_title_table .land-title-identity-cell{min-width:12rem}#land_title_table .land-title-price-cell{min-width:14rem}}
@media(max-width:359px){
  :is(#land_title_table,#land_addenda_table).admin-responsive-card-table tbody>tr>td{grid-template-columns:minmax(0,1fr);text-align:left!important}
  :is(#land_title_table,#land_addenda_table).admin-responsive-card-table tbody>tr>.admin-table-mobile-primary{grid-column:1/-1;grid-row:2}
  :is(#land_title_table,#land_addenda_table).admin-responsive-card-table tbody>tr>.admin-table-action-cell{grid-column:1/-1;grid-row:1}
}
.land-title-tenure{border:0;padding:0;min-width:0}
.land-title-tenure legend{margin-bottom:.5rem}
.land-title-tenure-choices{display:flex;gap:.6rem;min-width:0}
.land-title-choice{display:flex;align-items:center;justify-content:center;gap:.5rem;flex:1;min-height:44px;border:1px solid #e7e5e4;border-radius:.5rem;padding:.625rem;cursor:pointer}
.land-title-choice input{accent-color:var(--color-brand-600,#b91937);min-width:1rem;min-height:1rem}
.land-title-choice:has(input:checked){border-color:var(--color-brand-600,#b91937);background:var(--color-brand-50,#fff4f6)}
.land-title-choice:has(input:focus-visible){outline:2px solid var(--color-brand-600,#b91937);outline-offset:3px}
.land-title-choice:has(input:disabled){cursor:default;opacity:.75}
.land-title-field-section{margin-top:1rem}
.land-title-form-body details{border-top:1px solid #e7e5e4;padding-top:1rem}
.land-title-form-body summary{cursor:pointer;font-weight:500;font-size:.875rem;line-height:1.5;min-height:44px;padding:.625rem 0;overflow-wrap:anywhere}
.land-title-form-body summary:focus-visible{outline:2px solid var(--color-brand-600,#b91937);outline-offset:3px;border-radius:.25rem}
.land-title-documents{display:flex;flex-direction:column;gap:.5rem;padding-left:1rem;list-style:disc;overflow-wrap:anywhere}
.land-title-documents:empty{display:none}
.land-title-documents a{display:inline-block;min-height:44px;padding:.625rem 0;color:var(--color-brand-700,#96142e);text-decoration:underline;text-underline-offset:3px}
.land-title-error{color:#b42318;font-size:.8rem;overflow-wrap:anywhere}
.land-title-error:empty,.land-title-status:empty{display:none}
.land-title-status,.land-title-pending{margin:1rem 1.5rem}
.land-title-pending{padding:.75rem;border:1px solid #e7e5e4;border-radius:.5rem}
.land-title-form-body [hidden],.land-structure [hidden]{display:none!important}
.dark .land-title-modal-width,.dark .land-title-modal-width .admin-modal-body{background:#1d2939;color:#f2f4f7}
.dark .land-title-modal-width :is(.admin-section-title,.admin-field-label,.admin-field-label-strong,.admin-field-label-icon){color:#f2f4f7}
.dark .admin-workspace-page .land-title-modal-width :is(.admin-field-label,.admin-field-label-strong,.admin-field-label-icon) .text-red-500{color:#fda29b}
.dark .land-title-modal-width .admin-field-help{color:#d0d5dd}
.land-structure .admin-pagination-control.text-brand-500,.land-title-modal-width .admin-pagination-control.text-brand-500{color:#b93815}
.dark :is(.land-structure,.land-title-modal-width) .admin-manual-table :is(thead,th){background:#292524;color:#d0d5dd;border-color:#44403c}
.dark :is(.land-structure,.land-title-modal-width) .admin-manual-table :is(tbody,tr,td){background:#1c1917;color:#f2f4f7;border-color:#44403c}
.dark :is(.land-structure,.land-title-modal-width) .admin-table-info-text{color:#d0d5dd}
.dark :is(.land-structure,.land-title-modal-width) .admin-pagination-control.text-brand-500{background:#43251c;color:#fdba74}
.dark .land-title-stat strong{color:#f2f4f7}
.dark .land-title-secondary{color:#d0d5dd}
.dark .land-title-badge-owned{background:#1f3b2e;color:#9bdbb8}
.dark .land-title-badge-leased{background:#23374a;color:#a8cce9}
.dark .land-title-choice,.dark .land-title-form-body details,.dark .land-title-pending{border-color:#475467}
.dark .land-title-choice:has(input:checked){border-color:var(--color-brand-300,#f99aac);background:#43251c}
.dark .land-title-documents a{color:var(--color-brand-300,#f99aac)}
.dark .land-title-error{color:#fda29b}
@media(max-width:639px){.land-title-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.land-title-stat strong{font-size:1.15rem}.land-title-status,.land-title-pending{margin:1rem}.land-title-form-body [data-title-upload]{width:100%;margin-top:.75rem}}

/* Keep the title draft scrollable when a phone keyboard reduces viewport height. */
@media(max-height:500px){#land-title-modal .land-title-modal-width{max-height:calc(100dvh - 16px)}#land-title-modal .admin-modal-body{padding:1rem}#land-title-modal .admin-modal-record-context{margin-bottom:.5rem;padding:.5rem .75rem}#land-title-modal .admin-modal-footer{padding:.75rem 1rem}}
@media(max-height:500px) and (min-width:360px){#land-title-modal .admin-modal-footer{flex-direction:row;flex-wrap:nowrap}#land-title-modal .admin-modal-footer>button{width:auto;flex:1;min-width:0}}

/* Edit-form danger actions stay secondary to Save; confirmation dialogs retain solid red. */
.admin-modal-actions-footer .admin-action-button-red{border:1px solid #fda29b;background:transparent;color:#b42318;box-shadow:none}
.admin-modal-actions-footer .admin-action-button-red:hover{border-color:#b42318;background:#fef3f2;color:#912018}
.admin-modal-actions-footer .admin-action-button-red:focus-visible{outline:2px solid #b42318;outline-offset:3px}
.dark .admin-modal-actions-footer .admin-action-button-red{border-color:#f97066;background:transparent;color:#fda29b}
.dark .admin-modal-actions-footer .admin-action-button-red:hover{border-color:#fda29b;background:#3b1817;color:#fecdca}

/* Compact read-only cadastral overlay inside the shared title dialog. */
.land-title-map{min-width:0}.land-title-map .admin-map-canvas{height:300px;min-height:300px}
#title_boundary_text,#land_title_boundary_gps{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.875rem;line-height:1.6;tab-size:2}
[data-title-boundary-metrics]:empty{display:none}
@media(max-width:639px){[data-title-boundary-preview]{width:100%}.land-title-map .admin-map-canvas{height:260px;min-height:260px}}

/* Sales register: one shared filter group, stacked by the table on phones. */
.sales-register-filters{display:flex;flex-wrap:wrap;align-items:end;gap:.75rem}.sales-register-filters>div{min-width:9rem;flex:1 1 9rem}.sales-register-filters input[type=date]{max-width:100%}@media(max-width:639px){.sales-register-filters{width:100%;display:flex;flex-direction:column;align-items:stretch}.sales-register-filters>div{width:100%;min-width:0;flex:auto}}

/* Payments / Soft balance: warm canvas, separate rounded cards and comfortable ledger rows. */
.admin-workspace-page.admin-soft-balance-page{--payment-ledger-canvas:#f7f4ed;--payment-ledger-surface:#fffdfa;--payment-ledger-soft:#f8f4ed;--payment-ledger-line:#e5dfd5;--payment-ledger-ink:#302d29;--payment-ledger-muted:#756e65;background:var(--payment-ledger-canvas)}
.admin-soft-balance-page .admin-main-scroll,.admin-soft-balance-page .admin-main-root{background:var(--payment-ledger-canvas)}
.admin-soft-balance-page .admin-page-header{margin-bottom:1.25rem}
.admin-soft-balance-page .admin-page-header h1{font-size:1.875rem;letter-spacing:-.04em}
.admin-soft-balance-page .admin-financial-register-navigation{gap:1.25rem;margin-bottom:.75rem}
.admin-soft-balance-page .admin-financial-register-navigation>a{min-height:2.75rem;border:0;border-radius:0;padding:.5rem .125rem;background:transparent;box-shadow:none;color:var(--payment-ledger-muted)}
.admin-soft-balance-page .admin-financial-register-navigation>a[aria-current=page]{color:var(--color-primary-text,#d51d40);border-bottom:2px solid currentColor}
.admin-payment-ledger-accounts{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;border:0;border-radius:0;overflow:visible}
.admin-payment-ledger-accounts>.admin-financial-account-link{border-radius:.875rem;min-width:0}
.admin-status-tile.admin-payment-ledger-account{display:grid;grid-template-columns:2rem minmax(0,1fr);align-items:center;align-content:start;gap:.65rem .6rem;min-width:0;height:100%;padding:1rem 1.125rem;border:1px solid var(--payment-ledger-line,#e5dfd5);border-radius:.875rem;background:var(--payment-ledger-surface,#fffdfa);box-shadow:0 2px 4px #51422904}
.admin-payment-ledger-account>.admin-status-tile-icon{grid-column:1;grid-row:1;width:2rem;height:1.75rem;min-width:0}
.admin-payment-ledger-account .admin-financial-bank-logo{width:2rem;height:1.75rem}
.admin-payment-ledger-account>.admin-status-tile-copy{display:contents}
.admin-payment-ledger-account .admin-status-tile-heading{grid-column:2;grid-row:1;min-width:0}
.admin-payment-ledger-account .admin-status-tile-label{font-size:.75rem;font-weight:600;line-height:1.45;text-transform:none;letter-spacing:0;color:var(--payment-ledger-muted,#66747b)}
.admin-payment-ledger-account .admin-status-tile-value{grid-column:1/-1;font-size:1.25rem;line-height:1.5;font-weight:600;color:var(--payment-ledger-ink,#253035);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.admin-payment-ledger-account .admin-status-tile-description{grid-column:1/-1;font-size:.6875rem;line-height:1.45;color:#94620d}
.admin-payment-ledger-accounts>.admin-financial-account-link[aria-current=true]>.admin-financial-bank-card{border-color:var(--primary-color,#ef2147);box-shadow:0 0 0 1px var(--primary-color,#ef2147);background:#fff0f3}
.admin-workspace-page.admin-soft-balance-page [data-financial-payment-overview] .admin-statistics-grid.admin-statistics-grid-autofit{grid-template-columns:repeat(6,minmax(0,1fr));gap:.625rem;border:0;margin-bottom:1.25rem}
.admin-payment-ledger-stat.admin-financial-register-stat{border:1px solid var(--payment-ledger-line);border-radius:.625rem;box-shadow:none;background:var(--payment-ledger-surface)}
.admin-payment-ledger-stat.admin-financial-register-stat>.admin-widget-item-link{min-height:5.25rem;padding:.875rem .75rem;gap:.5rem;border-radius:.625rem;border:0}
.admin-payment-ledger-stat.admin-financial-register-stat .admin-stat-icon-box{background:transparent;color:var(--payment-ledger-muted,#66747b);width:1.125rem;height:1.125rem;min-width:1.125rem;flex-basis:1.125rem}
.admin-payment-ledger-stat.admin-financial-register-stat .admin-stat-icon-box>i{font-size:1rem!important}
.admin-payment-ledger-stat.admin-financial-register-stat .admin-widget-item-value-compact{font-size:1.5rem;color:var(--payment-ledger-ink,#253035)}
.admin-payment-ledger-stat.admin-financial-register-stat .admin-widget-item-label-compact{font-size:.6875rem;line-height:1.4;color:var(--payment-ledger-muted,#66747b)}
.admin-payment-ledger-stat.admin-financial-register-stat[data-financial-summary-active=true]{border-color:var(--primary-color,#ef2147);box-shadow:0 0 0 1px var(--primary-color,#ef2147);background:#fff0f3}
.admin-payment-ledger-stat.admin-financial-register-stat[data-financial-summary-active=true]>.admin-widget-item-link{background:transparent}
.admin-payment-ledger-stat.admin-financial-register-stat>.admin-financial-stat-selected{display:none}
.admin-workspace-page .admin-card-shell.admin-payment-ledger-register{border-radius:.875rem;box-shadow:0 2px 6px #51422905;border-color:var(--payment-ledger-line,#e4e7e5);background:var(--payment-ledger-surface,#fff)}
.admin-payment-ledger-register>.admin-card-section-header{padding:1.25rem}
.admin-payment-ledger-register .admin-section-title{font-size:1rem}
.admin-payment-ledger-register .admin-section-description{font-size:.8125rem}
.admin-payment-ledger-register .admin-financial-filter-row .admin-table-controls-header{margin:0;gap:.625rem;padding:.875rem 1.25rem;grid-template-columns:minmax(0,3fr) minmax(16rem,2fr)}
.admin-payment-ledger-register .admin-financial-filter-row .admin-table-controls-left{gap:.5rem}
.admin-payment-ledger-register .admin-financial-filter-row .admin-table-controls-right{gap:.5rem}
.admin-payment-ledger-register .admin-financial-filter-dropdown .admin-base-dropdown-trigger,.admin-payment-ledger-register .admin-table-search-input,.admin-payment-ledger-register .admin-table-export-button{height:44px!important;min-height:44px!important;border-radius:.5rem;font-size:.8125rem;box-shadow:none}
.admin-payment-ledger-register .admin-financial-filter-dropdown .admin-base-dropdown-trigger{padding:.5rem .65rem}
.admin-payment-ledger-register .admin-financial-register-tools{padding:.35rem 1.25rem;gap:1rem;border-color:var(--payment-ledger-line,#e4e7e5)}
.admin-payment-ledger-register .admin-financial-register-tools>[data-financial-clear-filters]{background:transparent;border-color:transparent;box-shadow:none;font-size:.75rem;padding:.35rem 0}
.admin-payment-ledger-register .admin-financial-saved-views-trigger{font-size:.75rem}
.admin-payment-register-identity{display:flex;flex-direction:column;gap:.5rem;min-width:0;overflow-wrap:anywhere}
.admin-payment-register-meta{font-size:.8125rem;line-height:1.5;color:var(--payment-ledger-muted,#66747b);overflow-wrap:anywhere}
.admin-payment-register-bank{display:flex;align-items:center;gap:.5rem}
.admin-payment-register-bank .admin-financial-bank-logo{width:1.25rem;height:1.25rem;flex-shrink:0;object-fit:contain}
.admin-payment-register-bank>i{font-size:1rem!important;width:1.25rem;flex-shrink:0;text-align:center}
.admin-payment-register-context{display:flex;align-items:center;flex-wrap:wrap;gap:.375rem .875rem;border-top:1px solid var(--payment-ledger-line,#e4e7e5);padding-top:.5rem;margin-top:.125rem}
.admin-payment-register-company{display:inline-flex;align-items:baseline;gap:.4rem;min-width:0}
.admin-payment-register-company>i{flex-shrink:0}
.admin-payment-ledger-source{display:inline-flex}
.admin-payment-ledger-source .admin-badge{background:transparent!important;color:var(--payment-ledger-muted,#66747b)!important;padding:0;box-shadow:none;font-size:.8125rem;font-weight:400}
.admin-payment-register-money{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.4}
.admin-payment-register-money>.admin-table-text-strong{max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:1.25rem;font-weight:600;color:var(--payment-ledger-ink,#101828)}
.admin-payment-register-money>.admin-table-text-muted{font-size:.8125rem;font-weight:400;color:var(--payment-ledger-muted,#66747b)}
.admin-payment-register-balance{padding:.875rem 1rem;border-radius:.75rem}
.admin-payment-register-balance>.admin-table-text-strong{color:var(--payment-ledger-muted,#66747b)}
.admin-payment-register-balance--open{background:#eff5ff}
.admin-payment-register-balance--open>.admin-table-text-strong{color:#2456cc}
.dark .admin-payment-register-balance--open{background:#172b47}
.dark .admin-payment-register-balance--open>.admin-table-text-strong{color:#93bbff}
.admin-payment-register-reconciliation{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;min-width:0}
.admin-payment-receipt-matched .admin-payment-register-money{align-items:flex-start;width:fit-content;max-width:100%}
.admin-payment-receipt-matched .admin-payment-register-money>.admin-table-text-strong{font-size:1.125rem}
.admin-payment-receipt-matched .admin-payment-register-balance{padding:.5rem .625rem}
.admin-payment-ledger-direction{align-self:flex-end;margin-top:.25rem}
.admin-payment-ledger-direction .admin-badge{background:transparent!important;padding:0;box-shadow:none;font-weight:900}
.admin-payment-ledger-direction .admin-badge i{font-weight:900;color:inherit}
.admin-payment-ledger-direction--incoming .admin-badge{color:#16a34a!important}
.admin-payment-ledger-direction--outgoing .admin-badge{color:#dc2626!important}
.dark .admin-payment-ledger-direction--incoming .admin-badge{color:#4ade80!important}
.dark .admin-payment-ledger-direction--outgoing .admin-badge{color:#f87171!important}
.admin-payment-receipt-facts .admin-payment-ledger-direction{align-self:flex-start;margin-top:0}
.admin-payment-classification-menu{width:auto;min-width:2.75rem;max-width:none}
.admin-payment-classification-menu.admin-base-dropdown{width:auto}
.admin-payment-classification-menu .admin-base-dropdown-trigger{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;min-width:2.75rem;min-height:2.75rem;height:2.75rem;padding:0;gap:0;border:1px solid #ded9d1;border-radius:.5rem;box-shadow:none;background:#fffdf9;color:#44403c;font-size:.75rem}
.admin-payment-classification-menu .admin-base-dropdown-trigger:hover{border-color:#cbc4b9;background:#fff;color:#1c1917}
.admin-payment-classification-menu .admin-base-dropdown-trigger>span{display:inline-flex;align-items:center;justify-content:center}
.dark .admin-payment-classification-menu .admin-base-dropdown-trigger{background:#2b2824;border-color:#4a4237;color:#f4eee5}
.admin-payment-classification-disclosure{gap:0}
.admin-payment-classification-disclosure>[data-classification-status]:empty{display:none}
.admin-soft-balance-page .admin-quick-match-context{background:var(--payment-ledger-soft);padding:1rem;border-radius:.75rem;gap:.875rem;margin-bottom:1.125rem}
.admin-soft-balance-page .admin-quick-match-context strong{font-size:1.25rem;letter-spacing:-.025em}
.admin-soft-balance-page .admin-quick-match-dialog .admin-financial-match-results{display:flex;gap:.625rem;border:0;border-radius:0;background:transparent;overflow:visible}
.admin-soft-balance-page .admin-quick-match-dialog .admin-financial-result{border:1px solid var(--payment-ledger-line);border-radius:.75rem;overflow:hidden;background:var(--payment-ledger-surface)}
.admin-soft-balance-page .admin-quick-match-dialog .admin-financial-company-mapping{padding:.625rem 1rem;border-top:1px solid var(--payment-ledger-line);font-size:.75rem;gap:.5rem}
.admin-soft-balance-page .admin-quick-match-dialog .admin-financial-company-mapping>button{font-size:.75rem}
.admin-soft-balance-page .admin-quick-match-dialog .admin-financial-amount-difference{background:#fff6df;color:#94620d;border-radius:.375rem;padding:.4rem .6rem}
.admin-soft-balance-page #financial-quick-match-modal .admin-modal-max-w-700{border-radius:1.125rem;background:var(--payment-ledger-surface)}
@media(min-width:768px){
 .admin-payment-ledger-register #financial_payments_table{table-layout:fixed;min-width:58rem;width:100%}
 .admin-payment-ledger-register #financial_payments_table>thead>tr>th{padding:.875rem 1rem;font-size:.75rem;background:var(--payment-ledger-soft);color:var(--payment-ledger-muted)}
 .admin-payment-ledger-register #financial_payments_table>tbody>tr>td{padding:1.375rem 1rem;vertical-align:middle;font-size:.875rem;border-color:var(--payment-ledger-line)}
 .admin-payment-ledger-register #financial_payments_table .admin-financial-payment-counterparty-cell{width:32%}
 .admin-payment-ledger-register #financial_payments_table .admin-financial-payment-date-cell{width:10%}
 .admin-payment-ledger-register #financial_payments_table .admin-financial-payment-amount-cell{width:18%;text-align:right;white-space:nowrap}
 .admin-payment-ledger-register #financial_payments_table .admin-financial-payment-amount-cell .admin-financial-cell-stack{align-items:flex-end;position:relative;gap:0}
 .admin-payment-ledger-register #financial_payments_table .admin-financial-payment-amount-cell .admin-payment-ledger-direction{position:absolute;top:100%;right:0;margin-top:.5rem}
 .admin-payment-ledger-register #financial_payments_table .admin-financial-payment-balance-cell{width:17%;text-align:right}
 .admin-payment-ledger-register #financial_payments_table .admin-payment-ledger-allocation-cell{width:23%}
 .admin-payment-ledger-register #financial_payments_table .admin-financial-payment-status-stack .admin-badge{font-size:.75rem;line-height:1.4;padding:.25rem .5rem}
 .admin-payment-ledger-register #financial_payments_table .admin-quick-match-trigger{min-height:2.75rem;font-size:.8125rem;padding:.375rem .625rem;box-shadow:none;border-radius:.5rem}
 .admin-payment-ledger-register #financial_payments_table tbody>tr:nth-child(even){background:var(--payment-ledger-surface)}
 .admin-payment-ledger-register #financial_payments_table tbody>tr:hover{background:var(--payment-ledger-soft)}
}
@media(min-width:768px) and (max-width:1199.98px){.admin-payment-ledger-register #financial_payments_table .admin-payment-register-money>.admin-table-text-strong{font-size:1rem}}
@media(max-width:1199.98px){.admin-payment-ledger-accounts{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-payment-ledger-register .admin-financial-filter-row .admin-table-controls-header{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767.98px){.admin-workspace-page.admin-soft-balance-page [data-financial-payment-overview] .admin-statistics-grid.admin-statistics-grid-autofit{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-payment-ledger-stat.admin-financial-register-stat>.admin-widget-item-link{padding:.65rem .4rem}.admin-payment-ledger-register .admin-financial-register-tools{padding:.5rem 1rem}.admin-soft-balance-page .admin-quick-match-context{padding:.75rem}.admin-soft-balance-page .admin-quick-match-dialog .admin-financial-company-mapping{padding:.5rem .75rem}}
@media(max-width:639.98px){.admin-payment-ledger-account .admin-status-tile-value{font-size:1.125rem}.admin-payment-ledger-accounts{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-status-tile.admin-payment-ledger-account{padding:.75rem;gap:.5rem}.admin-payment-ledger-register .admin-financial-filter-row .admin-table-controls-left{grid-template-columns:minmax(0,1fr)}.admin-payment-ledger-register .admin-financial-filter-row .admin-table-controls-header{padding-inline:1rem}.admin-soft-balance-page .admin-financial-register-navigation>a{flex:1;justify-content:center}.admin-payment-classification-menu{width:auto}}
@media(max-width:639.98px){
  :is(.admin-table-controls-header,.admin-financial-filter-row .admin-table-controls-header,.admin-payment-ledger-register .admin-financial-filter-row .admin-table-controls-header,.lands-explorer .admin-table-controls-header){display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.5rem;flex-wrap:nowrap}
  .admin-table-controls-filter-trigger{display:inline-flex}
  .admin-table-controls-header .admin-table-controls-right .admin-table-search-input{height:2.75rem;min-height:2.75rem}
  .admin-table-controls-filter-trigger[hidden]{display:none!important}
  :is(.admin-table-controls-right,.admin-financial-filter-row .admin-table-controls-right,.admin-payment-ledger-register .admin-financial-filter-row .admin-table-controls-right),.admin-table-controls-actions{display:contents;width:auto;margin-left:0;flex-direction:unset}
  .admin-table-controls-left,[data-admin-table-extra-actions],.admin-table-record-sort{display:none}
  .admin-financial-filter-row .admin-table-controls-header .admin-table-controls-left{display:none}
  .admin-financial-register-tools{display:none}
  .admin-table-controls-actions .admin-table-export-details{width:2.75rem;min-width:0;max-width:2.75rem!important}
  .admin-table-controls-actions .admin-table-export-button{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;min-height:2.75rem;padding:0;border-radius:.75rem}
  .admin-table-controls-actions .admin-table-export-label,.admin-table-controls-actions .admin-table-export-caret{display:none}
  .admin-table-filter-sheet .admin-modal-frame{align-items:flex-end;padding:0 5px 5px}
  .admin-table-filter-sheet .admin-modal-frame > :last-child{max-width:100%;max-height:85dvh;border-radius:1.25rem}
  .admin-table-filter-sheet .admin-modal-body{padding:1.25rem}
  .admin-table-filter-sheet .admin-modal-footer{padding:1rem 1.25rem calc(1rem + env(safe-area-inset-bottom))}
  .admin-table-filter-sheet .admin-table-controls-left,
  .admin-table-filter-sheet [data-admin-table-extra-actions],
  .admin-table-filter-sheet .admin-table-record-sort{display:flex;flex-direction:column;align-items:stretch;gap:.75rem;width:100%;padding:0;margin:0;border:0;background:transparent}
  .admin-table-filter-sheet [data-admin-table-sheet-content]{display:flex;flex-direction:column;gap:1rem}
  .admin-table-filter-sheet [data-admin-table-sheet-content] :where(.admin-base-dropdown,[data-admin-dropdown],.admin-filter-row,.admin-filter-actions,.admin-care-toolbar,.admin-care-toolbar-filters,.admin-care-toolbar-control,.admin-planting-filter-section,.admin-work-machine-filter-controls,.admin-work-machine-filter-menu){width:100%!important;max-width:none!important;min-width:0;flex-wrap:wrap}
  .admin-table-filter-sheet [data-admin-table-sheet-content] > * > *{max-width:100%;min-width:0}
}
.admin-table-sheet-done{display:flex;width:100%;align-items:center;justify-content:center;min-height:2.75rem;border-radius:.75rem;background:#b93815;color:#fff;font-weight:600;border:0;padding:.75rem 1rem}
.admin-table-sheet-sort-label{font-size:.875rem;font-weight:600;color:#344054;margin-bottom:-.5rem}
.dark .admin-table-sheet-sort-label{color:#e5e7eb}
.dark .admin-table-filter-sheet .admin-modal-body,.dark .admin-table-filter-sheet .admin-modal-frame > :last-child{background:#1f2937;color:#e5e7eb}
.dark .admin-table-filter-sheet :is(.admin-section-title,.admin-field-label-strong){color:#e5e7eb}

/* Desktop utilities match the shared filter triggers; phone controls stay compact. */
@media(min-width:640px){
  [data-admin-table-toolbar] :is(.admin-table-search-input,.admin-table-export-button){height:3.25rem;min-height:3.25rem;border:1px solid #e4d8ce;border-radius:.75rem;background:linear-gradient(135deg,#fff 0%,#fffaf6 100%);box-shadow:0 1px 2px rgba(28,25,23,.04);font-size:.875rem;font-weight:600;color:#292524}
  [data-admin-table-toolbar] .admin-table-search-input::placeholder{color:#667085;opacity:1;font-weight:500}
  [data-admin-table-toolbar] .admin-table-export-button:hover{background:#fffaf6;border-color:#d6c6ba}
  [data-admin-table-toolbar] .admin-table-export-button:is(:disabled,[aria-disabled=true]),[data-admin-table-toolbar] .admin-table-export-button:is(:disabled,[aria-disabled=true]):hover{border-color:#d8dce3;background:#f3f4f6;color:#98a2b3;opacity:1}
  [data-admin-table-toolbar] .admin-table-search-input:focus{border-color:#ef2147;outline:0;box-shadow:0 0 0 3px #ffe3e8}
  .dark [data-admin-table-toolbar] :is(.admin-table-search-input,.admin-table-export-button){border-color:#475467;background:#1f2937;color:#f2f4f7;box-shadow:0 1px 2px rgba(0,0,0,.12)}
  .dark [data-admin-table-toolbar] .admin-table-search-input::placeholder{color:#98a2b3}
  .dark [data-admin-table-toolbar] .admin-table-export-button:hover{background:#344054;border-color:#667085}
  .dark [data-admin-table-toolbar] .admin-table-export-button:is(:disabled,[aria-disabled=true]),.dark [data-admin-table-toolbar] .admin-table-export-button:is(:disabled,[aria-disabled=true]):hover{border-color:#374151;background:#182230;color:#98a2b3}
  .dark [data-admin-table-toolbar] .admin-table-search-input:focus{border-color:#ef2147;box-shadow:0 0 0 3px #43252e}
}

/* Approved compact mobile toolbar. Desktop retains its existing filter groups. */
.admin-table-filter-summary{display:none}
.admin-table-filter-count[hidden],.admin-table-filter-summary[hidden]{display:none!important}
@media(max-width:639.98px){
  [data-admin-table-toolbar].admin-table-controls-header{background:#fffdf9;gap:.5rem;padding:1rem}
  [data-admin-table-toolbar] .admin-table-controls-filter-trigger{width:auto;min-width:2.75rem;height:3rem;flex-basis:auto;gap:.375rem;padding:0 .625rem;border-radius:.75rem;box-shadow:none;font-size:.8125rem;font-weight:600;white-space:nowrap}
  [data-admin-table-toolbar] .admin-table-controls-filter-trigger :is(svg,i){width:1.125rem;height:1.125rem;font-size:1.125rem;flex-shrink:0}
  [data-admin-table-toolbar] .admin-table-controls-filter-trigger.has-active-filters,
  [data-admin-table-toolbar] .admin-table-controls-filter-trigger[aria-expanded="true"]{background:#fff0f3;border-color:#fac3ce;color:#be123c}
  [data-admin-table-toolbar] .admin-table-controls-filter-trigger:focus-visible{outline-color:#ef2147}
  .admin-table-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.125rem;height:1.125rem;padding:0 .25rem;border-radius:.375rem;background:#be123c;color:#fff;font-size:.6875rem;line-height:1;font-variant-numeric:tabular-nums}
  [data-admin-table-toolbar] .admin-table-controls-right .admin-table-search-input{height:3rem!important;min-height:3rem!important;width:100%;min-width:0;border:1px solid transparent;border-radius:.75rem!important;background:#f3f3f2;box-shadow:none;padding-left:2.375rem;padding-right:.5rem;font-size:1rem!important;color:#292d35}
  [data-admin-table-toolbar] .admin-table-search-icon{left:.75rem;color:#70747c}
  [data-admin-table-toolbar] .admin-table-search-icon :is(svg,i){width:1.125rem;height:1.125rem;font-size:1.125rem!important}
  [data-admin-table-toolbar] .admin-table-search-input::placeholder{color:#70747c;opacity:1}
  [data-admin-table-toolbar] .admin-table-controls-right .admin-table-search-input:focus{border-color:#ef2147;box-shadow:0 0 0 2px #ffe4eb}
  [data-admin-table-toolbar] .admin-table-controls-actions .admin-table-export-button{height:3rem!important;min-height:3rem!important;border-color:transparent;background:transparent;box-shadow:none;color:#6b7280}
  [data-admin-table-toolbar] .admin-table-export-button :is(svg,i){width:1.125rem;height:1.125rem;font-size:1.125rem!important}
  [data-admin-table-toolbar] .admin-table-export-button:disabled{opacity:.45}
  .admin-table-filter-summary{display:none}
  .admin-table-filter-sheet .admin-table-filter-summary{display:flex;align-items:center;flex-wrap:wrap;gap:0 .375rem;min-width:0}
  .admin-table-filter-chip{display:inline-flex;align-items:center;justify-content:center;min-width:2.75rem;min-height:2.75rem;max-width:100%;padding:.25rem 0;border:0;border-radius:.5rem;background:transparent;color:#374151;font-size:.75rem;line-height:1.25;overflow-wrap:anywhere}
  .admin-table-filter-chip-content{display:inline-flex;align-items:center;gap:.375rem;max-width:100%;padding:.375rem .5rem;border:1px solid #e1e2e5;border-radius:.5rem;background:#f3f3f2}
  .admin-table-filter-chip-close{flex-shrink:0;font-size:1rem;color:#6b7280}
  .admin-table-filter-clear{min-width:2.75rem;min-height:2.75rem;margin-left:auto;padding:0 .25rem;border:0;background:transparent;color:#6b7280;font-size:.75rem}
  .admin-table-filter-chip:focus-visible,.admin-table-filter-clear:focus-visible{outline:2px solid #ef2147;outline-offset:1px}
  .dark [data-admin-table-toolbar].admin-table-controls-header{background:#202124}
  .dark [data-admin-table-toolbar] .admin-table-controls-right .admin-table-search-input{background:#2b2c2f;color:#f2f2f4}
  .dark [data-admin-table-toolbar] .admin-table-search-input::placeholder,
  .dark [data-admin-table-toolbar] .admin-table-search-icon,
  .dark [data-admin-table-toolbar] .admin-table-controls-actions .admin-table-export-button,
  .dark .admin-table-filter-clear,.dark .admin-table-filter-chip-close{color:#a9acb4}
  .dark [data-admin-table-toolbar] .admin-table-controls-filter-trigger.has-active-filters,
  .dark [data-admin-table-toolbar] .admin-table-controls-filter-trigger[aria-expanded="true"]{background:#43252e;border-color:#784351;color:#ff8099}
  .dark .admin-table-filter-count{background:#ff8099;color:#271017}
  .dark .admin-table-filter-chip{color:#e5e7eb}
  .dark .admin-table-filter-chip-content{background:#2b2c2f;border-color:#404147}
  .dark [data-admin-table-toolbar] .admin-table-controls-right .admin-table-search-input:focus{box-shadow:0 0 0 2px #43252e}
}
@media(max-width:359.98px){
  [data-admin-table-toolbar].admin-table-controls-header{padding-inline:.75rem;column-gap:.375rem}
  [data-admin-table-toolbar] .admin-table-controls-filter-trigger{padding-inline:.5rem;gap:.25rem}
}

.dark.admin-soft-balance-page,.dark .admin-soft-balance-page{--payment-ledger-canvas:#211f1c;--payment-ledger-surface:#2b2824;--payment-ledger-soft:#343029;--payment-ledger-line:#4a4237;--payment-ledger-ink:#f4eee5;--payment-ledger-muted:#c2b7a9}
.dark .admin-payment-ledger-account .admin-status-tile-description{color:#e5be79}
.dark .admin-payment-ledger-accounts>.admin-financial-account-link[aria-current=true]>.admin-financial-bank-card{background:#352a23}
.dark.admin-soft-balance-page .admin-quick-match-dialog .admin-financial-amount-difference{background:#3d3320;color:#e5be79}

.dark .admin-payment-ledger-stat.admin-financial-register-stat[data-financial-summary-active=true]{background:#3d2e24}

/* Allocation identities share one readable size; status badges keep their compact hierarchy. */
.admin-payment-ledger-register #financial_payments_table :is(td.admin-payment-ledger-allocation-cell,.admin-payment-receipt-allocation,.admin-payment-receipt-action),
.admin-payment-ledger-register #financial_payments_table :is(td.admin-payment-ledger-allocation-cell,.admin-payment-receipt-allocation,.admin-payment-receipt-action) :where(a,button,span,p,strong,small,div){font-size:.875rem}

/* Invoice balance-first ledger: shared controls/portals and exact monetary projections. */
.admin-invoice-ledger-mobile-total-label{display:none}
.admin-invoice-balance-overview .admin-statistics-grid{gap:0;border:1px solid #e4e7ec;border-radius:1rem;background:#fff;overflow:hidden}
.admin-invoice-balance-overview .admin-financial-register-stat{border:0;border-radius:0;box-shadow:none}
.admin-invoice-balance-overview .admin-financial-register-stat>.admin-widget-item-link{min-height:6rem;padding:1rem;gap:.625rem}
.admin-invoice-balance-overview .admin-financial-stat-outstanding{background:#eff5ff;--financial-icon-background:#dbeafe;--financial-ink:#2456cc}
.admin-invoice-balance-overview .admin-financial-stat-outstanding .admin-widget-item-value-compact,.admin-invoice-balance-overview .admin-financial-outstanding-amount>small{color:#2456cc}
.admin-invoice-balance-overview .admin-financial-outstanding-values{font-size:1.25rem}
.admin-invoice-balance-overview .admin-financial-outstanding-amount>strong{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}
.admin-invoice-balance-overview .admin-financial-stat-outstanding{grid-column:1/-1}
.admin-invoice-ledger-meta{display:flex;align-items:center;flex-wrap:wrap;gap:.375rem .75rem;min-width:0}
#financial_invoices_table .admin-financial-invoice-card-identity>a{max-width:100%;align-items:flex-end;overflow-wrap:anywhere;text-align:left}
#financial_invoices_table .admin-invoice-ledger-counterparty{margin-top:0;font-weight:500;color:#344054;overflow-wrap:anywhere}
#financial_invoices_table .admin-invoice-ledger-meta{width:100%;margin-top:.45rem;padding-top:.65rem;border-top:1px solid #e4e7ec}
.dark #financial_invoices_table .admin-invoice-ledger-counterparty{color:#d0d5dd}
.dark #financial_invoices_table .admin-invoice-ledger-meta{border-color:#344054}
.admin-invoice-ledger-source{display:inline-flex;align-items:center;gap:.3rem;font-size:.75rem;color:#667085}
.admin-invoice-ledger-source i{flex-shrink:0}
#financial_invoices_table.admin-invoice-balance-ledger{width:100%;min-width:0;table-layout:fixed}
#financial_invoices_table.admin-invoice-balance-ledger .admin-financial-select-cell{width:4rem}
#financial_invoices_table.admin-invoice-balance-ledger .admin-financial-invoice-po-cell{width:4.5rem;font-variant-numeric:tabular-nums}
#financial_invoices_table.admin-invoice-balance-ledger .admin-financial-invoice-identity-cell{width:auto}
#financial_invoices_table.admin-invoice-balance-ledger .admin-financial-invoice-date-cell{width:14rem}
#financial_invoices_table.admin-invoice-balance-ledger .admin-financial-status-cell{width:15rem}
#financial_invoices_table.admin-invoice-balance-ledger :is(.admin-invoice-ledger-gross,.admin-invoice-ledger-outstanding){width:11.5rem;text-align:right;font-variant-numeric:tabular-nums}
#financial_invoices_table.admin-invoice-balance-ledger tbody .admin-table-body-cell{padding-top:1.125rem;padding-bottom:1.125rem}
#financial_invoices_table.admin-invoice-balance-ledger .admin-financial-cell-stack{gap:.3rem}
#financial_invoices_table.admin-invoice-balance-ledger .admin-financial-invoice-card-identity{gap:.125rem}
#financial_invoices_table.admin-invoice-balance-ledger .admin-invoice-ledger-gross .admin-financial-cell-stack{align-items:flex-end}
#financial_invoices_table.admin-invoice-balance-ledger .admin-invoice-ledger-balance .admin-table-text-strong{color:#2456cc;font-weight:750}
#financial_invoices_table.admin-invoice-balance-ledger .admin-invoice-ledger-zero .admin-table-text-strong{color:#667085;font-weight:500}
/* Paired calendar dates and stacked amounts share the same row hierarchy on every viewport. */
.admin-financial-date-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;width:100%;text-align:left}
.admin-financial-date-part{display:flex;flex-direction:column;align-items:flex-start;gap:.3rem;min-width:0}
.admin-financial-register-date{display:flex;flex-direction:column;gap:.2rem;max-width:100%;font-variant-numeric:tabular-nums}
.admin-financial-date-day{font-size:1.125rem;line-height:1.35;font-weight:600;white-space:nowrap}
.admin-financial-date-year,.admin-financial-date-label{font-size:.75rem;line-height:1.4;font-weight:400;color:#667085}
.admin-financial-date-actionable .admin-financial-date-day{color:#b54708}
.admin-financial-date-part [data-financial-due-alert],.admin-financial-date-part [data-financial-tablet-due-alert]{display:flex;max-width:100%;font-size:.75rem;line-height:1.4}
#financial_invoices_table .admin-financial-date-part .admin-badge{white-space:normal;text-align:left;align-items:flex-start;line-height:1.4}
#financial_invoices_table .admin-financial-tablet-summary .admin-financial-date-pair{max-width:16rem;gap:.75rem}
#financial_invoices_table.admin-invoice-balance-ledger tbody :is(.admin-invoice-ledger-gross,.admin-invoice-ledger-outstanding) .admin-financial-amount{flex-direction:column;align-items:flex-end;gap:.2rem;line-height:1.35}
#financial_invoices_table.admin-invoice-balance-ledger tbody :is(.admin-invoice-ledger-gross,.admin-invoice-ledger-outstanding) .admin-financial-amount>.admin-table-text-strong{font-size:1.125rem;line-height:1.4;white-space:nowrap}
#financial_invoices_table.admin-invoice-balance-ledger tbody :is(.admin-invoice-ledger-gross,.admin-invoice-ledger-outstanding) .admin-financial-amount-long>.admin-table-text-strong{font-size:.875rem}
#financial_invoices_table.admin-invoice-balance-ledger tbody :is(.admin-invoice-ledger-gross,.admin-invoice-ledger-outstanding) .admin-financial-amount>.admin-table-text-muted{font-size:.75rem;line-height:1.4;font-weight:400}
#financial_invoices_table.admin-invoice-balance-ledger tbody [data-financial-outstanding]{display:flex;align-items:center;justify-content:flex-end;min-height:4.5rem;padding:.75rem;border-radius:.75rem;background:#eff5ff}
#financial_invoices_table.admin-invoice-balance-ledger tbody .admin-invoice-ledger-zero[data-financial-outstanding]{background:#f8fafc}
.dark .admin-financial-date-year,.dark .admin-financial-date-label{color:#98a2b3}
.dark .admin-financial-date-actionable .admin-financial-date-day{color:#fedf89}
.dark #financial_invoices_table.admin-invoice-balance-ledger tbody [data-financial-outstanding]{background:#23344e}
.dark #financial_invoices_table.admin-invoice-balance-ledger tbody .admin-invoice-ledger-zero[data-financial-outstanding]{background:#1d2939}
@media(max-width:1535.98px){
 #financial_invoices_table.admin-invoice-balance-ledger tbody [data-financial-outstanding]{padding:.625rem .5rem}
 #financial_invoices_table.admin-invoice-balance-ledger tbody :is(.admin-invoice-ledger-gross,.admin-invoice-ledger-outstanding) .admin-financial-amount-long>.admin-table-text-strong{font-size:.75rem}
}
@media(max-width:767.98px){
 #financial_invoices_table .admin-financial-date-pair{max-width:15rem;justify-self:end;gap:.75rem}
 #financial_invoices_table .admin-financial-date-day{font-size:1rem}
 #financial_invoices_table.admin-invoice-balance-ledger tbody [data-financial-outstanding]{min-width:min(100%,10rem);justify-self:end}
}
.admin-financial-po-label{display:none}
/* Standalone mobile invoice cards reuse the table cells and internal PO values. */
@media(max-width:767.98px){
 .admin-invoice-ledger-register:has(#financial_invoices_table:not(.admin-manual-table-empty)){border:0;background:transparent;box-shadow:none;overflow:visible}
 #financial_invoices_table.admin-financial-invoice-cards:not(.admin-manual-table-empty){border-top:0}
 #financial_invoices_table.admin-financial-invoice-cards:not(.admin-manual-table-empty) tbody{gap:1.25rem;padding:.75rem 0 1rem;background:transparent}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr:has(>.admin-table-mobile-primary){position:relative;grid-template-columns:repeat(6,minmax(0,1fr));column-gap:.5rem;padding:1rem;border:1px solid #d7dce2;border-radius:1rem;background:#fff;--invoice-actions-row:4}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr:has(>.admin-table-mobile-primary):not(.admin-financial-invoice-invalid){box-shadow:0 2px 6px rgba(16,24,40,.045)}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr:has(>.admin-table-mobile-primary)>td{min-width:0;border-top:0!important;padding:0!important;grid-template-columns:minmax(0,1fr);text-align:left!important}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr:has(>.admin-table-mobile-primary)>td::before{font-size:.6875rem;font-weight:400;letter-spacing:0;text-transform:none;color:#667085}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-table-mobile-primary{grid-row:1!important;grid-column:1/-1;padding-bottom:.75rem!important}
 #financial_invoices_table.admin-financial-invoice-cards .admin-table-mobile-primary::before{display:none}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-invoice-card-identity{display:flex;width:100%;align-items:flex-start;gap:.125rem;text-align:left}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-invoice-card-identity>a{max-width:calc(100% - 4.5rem);justify-content:flex-start;text-align:left;font-size:.9375rem;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
 #financial_invoices_table.admin-financial-invoice-cards [data-financial-counterparty]{font-size:.75rem;line-height:1.45;font-weight:500;color:#344054;text-align:left}
 #financial_invoices_table.admin-financial-invoice-cards .admin-invoice-ledger-meta{margin-top:.3125rem;padding:0;border:0;gap:.3125rem .625rem;justify-content:flex-start;text-align:left}
 #financial_invoices_table.admin-financial-invoice-cards .admin-invoice-ledger-meta :is(.admin-badge,[data-financial-company]){font-size:.6875rem;font-weight:400;line-height:1.4;text-align:left}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-financial-invoice-po-cell{position:absolute;top:1rem;right:1rem;display:flex;align-items:baseline;max-width:6rem;font-size:.6875rem;line-height:1.5}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-invoice-po-cell::before{display:none}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-po-marker{display:inline-flex;align-items:baseline;gap:.3125rem;color:#667085;white-space:nowrap;font-weight:500;font-variant-numeric:tabular-nums}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-po-label{display:inline}
 #financial_invoices_table.admin-financial-invoice-cards [data-financial-po]{font-size:inherit;font-weight:500;color:#667085}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-financial-invoice-date-cell{grid-row:2;grid-column:1/-1;border-top:1px solid #e4e7ec!important;padding:.75rem 0 .5rem!important}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-invoice-date-cell::before{display:none}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-date-pair{width:100%;max-width:none;justify-self:stretch;gap:.75rem}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-mobile-date-label{display:block;font-size:.6875rem}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-register-date{flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:.25rem}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-date-day{font-size:.8125rem;font-weight:500}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-date-year{font-size:.6875rem}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-date-part [data-financial-due-alert] .admin-badge{font-size:.6875rem}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td:is(.admin-invoice-ledger-gross,.admin-invoice-ledger-outstanding){grid-row:3;display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;margin:.375rem 0 .75rem;padding:.625rem 0!important}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-invoice-ledger-gross{grid-column:1/4}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-invoice-ledger-outstanding{grid-column:4/-1;padding:.625rem .75rem!important;border-radius:.625rem;background:#eff5ff}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-invoice-ledger-outstanding:has(.admin-invoice-ledger-zero){background:#f8fafc}
 #financial_invoices_table.admin-financial-invoice-cards tbody :is(.admin-invoice-ledger-gross,.admin-invoice-ledger-outstanding) :is(.admin-financial-cell-stack,.admin-financial-amount){align-items:flex-start}
 #financial_invoices_table.admin-financial-invoice-cards tbody :is(.admin-invoice-ledger-gross,.admin-invoice-ledger-outstanding) .admin-financial-amount>.admin-table-text-strong{font-size:1.25rem;font-weight:600;line-height:1.3;letter-spacing:-.025em;white-space:nowrap}
 #financial_invoices_table.admin-financial-invoice-cards tbody :is(.admin-invoice-ledger-gross,.admin-invoice-ledger-outstanding) .admin-financial-amount>.admin-table-text-muted{font-size:.6875rem}
 #financial_invoices_table.admin-financial-invoice-cards tbody [data-financial-outstanding]{min-width:0;min-height:0;padding:0;background:transparent;justify-content:flex-start}
 #financial_invoices_table.admin-financial-invoice-cards tbody .admin-invoice-ledger-zero[data-financial-outstanding]{background:transparent}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-financial-select-cell{grid-column:1/-1;grid-row:var(--invoice-actions-row);display:grid;grid-template-columns:subgrid;row-gap:.5rem;align-items:center;border-top:1px solid #e4e7ec!important;padding-top:.75rem!important}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-financial-select-cell:has(.admin-financial-bank-unavailable-reason){grid-row:var(--invoice-actions-row)/span 2;grid-template-rows:subgrid}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-select-cell::before{display:none}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-bank-control{grid-column:1/3;grid-row:1;min-height:2.75rem;justify-content:flex-start;gap:.125rem;text-align:left}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-bank-control>:first-child{flex:none;margin-inline-start:-.5rem}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-bank-control>.admin-financial-paid-indicator{margin-inline-end:-.5rem}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-bank-control-label{display:block;min-width:0;font-size:.6875rem;line-height:1.35;font-weight:400;color:#667085;overflow-wrap:normal}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-bank-unavailable-reason{display:block;grid-column:1/-1;grid-row:2;min-width:0;font-size:.6875rem;line-height:1.4;color:#667085;text-align:left;overflow-wrap:anywhere}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-financial-status-cell{grid-column:3/-1;grid-row:var(--invoice-actions-row);align-self:start;padding-top:calc(.75rem + 1px)!important}
 #financial_invoices_table.admin-financial-invoice-cards .admin-financial-status-cell::before{display:none}
 #financial_invoices_table.admin-financial-invoice-cards.admin-invoice-balance-ledger .admin-financial-status-dropdown .admin-base-dropdown-trigger .admin-badge{padding:.5rem .625rem;gap:.375rem;font-size:.75rem;white-space:normal;text-align:left}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr:has(.admin-financial-amount-long){--invoice-actions-row:5}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr:has(.admin-financial-amount-long)>td:is(.admin-invoice-ledger-gross,.admin-invoice-ledger-outstanding){grid-column:1/-1}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr:has(.admin-financial-amount-long)>td.admin-invoice-ledger-gross{margin-bottom:0}
 #financial_invoices_table.admin-financial-invoice-cards tbody>tr:has(.admin-financial-amount-long)>td.admin-invoice-ledger-outstanding{grid-row:4}
 .dark #financial_invoices_table.admin-financial-invoice-cards tbody>tr:has(>.admin-table-mobile-primary){background:#1d2939;border-color:#475467}
 .dark #financial_invoices_table.admin-financial-invoice-cards .admin-financial-po-marker{color:#98a2b3}
 .dark #financial_invoices_table.admin-financial-invoice-cards [data-financial-counterparty]{color:#e4e7ec}
 .dark #financial_invoices_table.admin-financial-invoice-cards tbody>tr:has(>.admin-table-mobile-primary)>td::before,.dark #financial_invoices_table.admin-financial-invoice-cards :is([data-financial-po],.admin-financial-bank-control-label,.admin-financial-bank-unavailable-reason){color:#98a2b3}
 .dark #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td:is(.admin-financial-invoice-date-cell,.admin-financial-select-cell){border-color:#344054!important}
 .dark #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-invoice-ledger-outstanding{background:#23344e}
 .dark #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-invoice-ledger-outstanding:has(.admin-invoice-ledger-zero){background:#182230}
 .dark #financial_invoices_table.admin-financial-invoice-cards tbody [data-financial-outstanding],.dark #financial_invoices_table.admin-financial-invoice-cards tbody .admin-invoice-ledger-zero[data-financial-outstanding]{background:transparent}
}
/* Paid surfaces remain quieter than the status button and retain neutral card borders. */
#financial_invoices_table.admin-financial-invoice-cards tbody>tr.admin-financial-invoice-paid{background:#f5fcf8}
#financial_invoices_table.admin-financial-invoice-cards tbody>tr.admin-financial-invoice-paid:hover{background:#edf9f1}
.dark #financial_invoices_table.admin-financial-invoice-cards tbody>tr.admin-financial-invoice-paid{background:#192f2a}
.dark #financial_invoices_table.admin-financial-invoice-cards tbody>tr.admin-financial-invoice-paid:hover{background:#203b32}
/* Keep invoice status actions visibly button-shaped, using the rendered badge's tone. */
.admin-financial-status-dropdown,.admin-financial-status-menu .admin-dropdown-option-row{--invoice-status-surface:#f9fafb;--invoice-status-hover:#f2f4f7;--invoice-status-border:#d0d5dd;--invoice-status-ink:#344054}
.admin-financial-paid-indicator,.admin-financial-status-dropdown:has(.admin-base-dropdown-trigger .bg-success-50),.admin-financial-status-menu .admin-dropdown-option-row:is([data-value="paid"],[data-value="prepaid"]){--invoice-status-surface:#ecfdf3;--invoice-status-hover:#d1fadf;--invoice-status-border:#a6f4c5;--invoice-status-ink:#027a48}
.admin-financial-status-dropdown:has(.admin-base-dropdown-trigger .bg-warning-50),.admin-financial-status-menu .admin-dropdown-option-row[data-value="pay_later"]{--invoice-status-surface:#fffaeb;--invoice-status-hover:#fef0c7;--invoice-status-border:#fedf89;--invoice-status-ink:#b54708}
.admin-financial-status-dropdown:has(.admin-base-dropdown-trigger .bg-blue-light-50),.admin-financial-status-menu .admin-dropdown-option-row[data-value="advance"]{--invoice-status-surface:#eff8ff;--invoice-status-hover:#d1e9ff;--invoice-status-border:#b2ddff;--invoice-status-ink:#175cd3}
.admin-financial-status-dropdown:has(.admin-base-dropdown-trigger .bg-error-50),.admin-financial-status-menu .admin-dropdown-option-row[data-value="invalid"]{--invoice-status-surface:#fef3f2;--invoice-status-hover:#fee4e2;--invoice-status-border:#fecdca;--invoice-status-ink:#b42318}
#financial_invoices_table.admin-invoice-balance-ledger .admin-financial-status-dropdown .admin-base-dropdown-trigger{min-height:2.75rem;background:var(--invoice-status-surface);border-color:var(--invoice-status-border);box-shadow:0 1px 2px rgba(16,24,40,.05);transition:background-color .15s ease,border-color .15s ease}
#financial_invoices_table.admin-invoice-balance-ledger .admin-financial-status-dropdown .admin-base-dropdown-trigger .admin-badge{min-height:2.625rem;padding:.5rem 1rem;gap:.5rem;font-size:.8125rem}
#financial_invoices_table.admin-invoice-balance-ledger .admin-financial-status-dropdown .admin-base-dropdown-trigger .admin-badge{color:var(--invoice-status-ink)}
#financial_invoices_table.admin-invoice-balance-ledger .admin-financial-status-dropdown .admin-base-dropdown-trigger:hover{background:var(--invoice-status-hover);border-color:var(--invoice-status-ink)}
.admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu] .admin-dropdown-option-row[aria-selected="true"]{background:var(--invoice-status-surface);color:var(--invoice-status-ink)}
.admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu] .admin-dropdown-option-row[aria-selected="true"] .admin-dropdown-check{color:inherit}
@media(prefers-reduced-motion:reduce){#financial_invoices_table.admin-invoice-balance-ledger .admin-financial-status-dropdown .admin-base-dropdown-trigger{transition:none}}
#financial_invoices_table.admin-invoice-balance-ledger [data-financial-due-alert] .admin-badge,#financial_invoices_table.admin-invoice-balance-ledger [data-financial-tablet-due-alert] .admin-badge{background:transparent;padding:0;border-radius:0;font-weight:500;font-size:.75rem}
#financial_invoices_table .admin-invoice-ledger-totals td{padding:.875rem 1rem;font-size:.75rem;border-top:1px solid #e4e7ec;background:#f9fafb;text-align:right}
#financial_invoices_table .admin-invoice-ledger-mini{display:inline-grid;justify-items:stretch;gap:.5rem;min-width:min(100%,24rem);text-align:right}
#financial_invoices_table .admin-invoice-ledger-total-label{color:#667085;text-align:right;line-height:1.35}
#financial_invoices_table .admin-invoice-ledger-mini-grid{display:flex;flex-direction:column;gap:.375rem;align-items:stretch}
#financial_invoices_table .admin-invoice-ledger-mini-row{display:grid;grid-template-columns:3.25rem minmax(7.5rem,auto) minmax(8.5rem,auto);column-gap:1rem;align-items:baseline;justify-content:end}
#financial_invoices_table .admin-invoice-ledger-mini-colhead{font-size:.6875rem;font-weight:600;color:#98a2b3;text-align:right;line-height:1.3}
#financial_invoices_table .admin-invoice-ledger-mini-currency{font-weight:650;color:#344054;text-align:left}
#financial_invoices_table .admin-invoice-ledger-mini :is(.admin-invoice-ledger-gross,.admin-invoice-ledger-outstanding){width:auto;min-width:0;text-align:right;font-variant-numeric:tabular-nums}
#financial_invoices_table .admin-invoice-ledger-totals .admin-invoice-ledger-outstanding .admin-table-text-strong{font-size:1rem;font-weight:800}
@container financial-overview (min-width:64rem){
 [data-financial-invoice-overview] .admin-invoice-balance-overview .admin-statistics-grid{grid-template-columns:minmax(15rem,1.8fr) repeat(5,minmax(0,1fr))}
 .admin-invoice-balance-overview .admin-financial-stat-outstanding{grid-column:auto}
}
@media(min-width:768px) and (max-width:1535.98px){
 #financial_invoices_table.admin-invoice-balance-ledger :is(.admin-invoice-ledger-gross,.admin-invoice-ledger-outstanding){width:8.5rem}
 #financial_invoices_table.admin-invoice-balance-ledger .admin-financial-status-cell{width:14rem}
 #financial_invoices_table tfoot .admin-invoice-ledger-totals{display:block;width:100%}
 #financial_invoices_table tfoot .admin-invoice-ledger-totals-cell{display:block;width:100%}
 #financial_invoices_table .admin-invoice-ledger-mini :is(.admin-invoice-ledger-gross,.admin-invoice-ledger-outstanding){width:auto}
}
@media(max-width:767.98px){
 #financial_invoices_table .admin-invoice-ledger-mobile-total-label{display:block;font-size:.6875rem;color:#667085;margin-bottom:.25rem}
 #financial_invoices_table.admin-invoice-balance-ledger .admin-invoice-ledger-meta{justify-content:flex-start;text-align:left}
 #financial_invoices_table.admin-invoice-balance-ledger tbody>tr>td.admin-invoice-ledger-gross{width:auto}
 #financial_invoices_table.admin-invoice-balance-ledger tbody>tr>td.admin-invoice-ledger-outstanding{width:auto}
 #financial_invoices_table.admin-invoice-balance-ledger .admin-financial-status-dropdown{width:100%}
 #financial_invoices_table.admin-invoice-balance-ledger tbody>tr>td.admin-financial-status-cell{width:auto}
 #financial_invoices_table.admin-invoice-balance-ledger .admin-invoice-ledger-totals{display:block;padding:.75rem 1rem;border-top:1px solid #e4e7ec;background:#f9fafb}
 #financial_invoices_table.admin-invoice-balance-ledger .admin-invoice-ledger-totals-cell{display:block;width:auto;padding:0;border:0}
 #financial_invoices_table.admin-invoice-balance-ledger .admin-invoice-ledger-mini{display:block;width:100%;min-width:0}
 #financial_invoices_table.admin-invoice-balance-ledger .admin-invoice-ledger-mini-row{grid-template-columns:2.75rem minmax(0,1fr) minmax(0,1fr);column-gap:.75rem}
}
.dark .admin-invoice-balance-overview .admin-statistics-grid{background:#1d2939;border-color:#344054}
.dark .admin-invoice-balance-overview .admin-financial-stat-outstanding{background:#23344e}
.dark .admin-invoice-balance-overview .admin-financial-stat-outstanding .admin-widget-item-value-compact,.dark .admin-invoice-balance-overview .admin-financial-outstanding-amount>small,.dark #financial_invoices_table.admin-invoice-balance-ledger .admin-invoice-ledger-balance .admin-table-text-strong{color:#a4bfff}
/* Mobile invoice summary: balance header, four filter targets, one due-date footer. */
@container financial-overview (max-width:39.999rem){
 [data-financial-invoice-overview] .admin-invoice-balance-overview .admin-statistics-grid{grid-template-columns:repeat(4,minmax(0,1fr));padding:0}
 .admin-invoice-balance-overview .admin-financial-stat-outstanding{display:grid;grid-template-columns:1rem minmax(0,1fr);gap:.625rem .4375rem;padding:1rem;align-items:center}
 .admin-invoice-balance-overview .admin-financial-stat-outstanding>.admin-stat-icon-box{grid-column:1;grid-row:1;width:1rem;height:1rem;min-width:0;flex-basis:auto;background:transparent;border-radius:0}
 .admin-invoice-balance-overview .admin-financial-stat-outstanding>.admin-stat-icon-box i{font-size:1rem!important}
 .admin-invoice-balance-overview .admin-financial-stat-outstanding>.admin-widget-item-content{display:contents}
 .admin-invoice-balance-overview .admin-financial-stat-outstanding .admin-widget-item-label-compact{grid-column:2;grid-row:1;margin:0;font-size:.75rem;color:#2456cc}
 .admin-invoice-balance-overview .admin-financial-stat-outstanding .admin-widget-item-value-compact{grid-column:1/-1;grid-row:2;margin:0;font-size:1.75rem}
 .admin-invoice-balance-overview .admin-financial-outstanding-values{flex-direction:row;flex-wrap:wrap;gap:.625rem 1.125rem;font-size:.875rem;line-height:1.25;letter-spacing:0}
 .admin-invoice-balance-overview .admin-financial-outstanding-amount{max-width:100%}
 .admin-invoice-balance-overview .admin-financial-outstanding-amount:first-child{flex-basis:100%;font-size:1.75rem;letter-spacing:-.035em}
 .admin-invoice-balance-overview .admin-financial-outstanding-amount:first-child>small{font-size:.75rem}
 .admin-invoice-balance-overview .admin-financial-register-stat:not(.admin-financial-stat-outstanding):not(.admin-financial-stat-date){margin:.625rem .1875rem;background:transparent;box-shadow:none}
 .admin-invoice-balance-overview .admin-financial-register-stat:not(.admin-financial-stat-outstanding):not(.admin-financial-stat-date)>.admin-widget-item-link{min-height:4.125rem;padding:.5rem .1875rem;align-items:flex-start;border:1px solid transparent;border-radius:.625rem;text-align:center}
 .admin-invoice-balance-overview .admin-financial-register-stat:not(.admin-financial-stat-outstanding):not(.admin-financial-stat-date) .admin-stat-icon-box{display:none}
 .admin-invoice-balance-overview .admin-financial-register-stat:not(.admin-financial-stat-outstanding):not(.admin-financial-stat-date) .admin-widget-item-value-compact{font-size:1.375rem;line-height:1.2;letter-spacing:-.025em}
 .admin-invoice-balance-overview .admin-financial-register-stat:not(.admin-financial-stat-outstanding):not(.admin-financial-stat-date) .admin-widget-item-label-compact{display:block;margin-top:.25rem;font-size:.6875rem;line-height:1.35;hyphens:auto}
 .admin-invoice-balance-overview .admin-financial-stat-amber .admin-widget-item-value-compact{color:#a16207}
 .admin-invoice-balance-overview .admin-financial-stat-green .admin-widget-item-value-compact{color:#027a48}
 .admin-invoice-balance-overview .admin-financial-stat-rose .admin-widget-item-value-compact{color:#bc2947}
 .admin-invoice-balance-overview .admin-financial-register-stat[data-financial-summary-active=true]>.admin-widget-item-link{background:#fff0f3;border-color:#f2b8c4}
 .admin-invoice-balance-overview .admin-financial-register-stat>.admin-financial-stat-selected{display:none}
 .admin-invoice-balance-overview .admin-financial-stat-date{grid-column:1/-1;border-top:1px solid #e4e7ec;box-shadow:none}
 .admin-invoice-balance-overview .admin-financial-stat-date>.admin-widget-item-link{min-height:2.75rem;padding:.625rem 1rem;gap:.4375rem;border-radius:0}
 .admin-invoice-balance-overview .admin-financial-stat-date .admin-stat-icon-box{width:1rem;height:1rem;min-width:1rem;flex-basis:1rem;background:transparent}
 .admin-invoice-balance-overview .admin-financial-stat-date .admin-stat-icon-box i{font-size:1rem!important}
 .admin-invoice-balance-overview .admin-financial-stat-date .admin-widget-item-content{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
 .admin-invoice-balance-overview .admin-financial-stat-date .admin-widget-item-label-compact{order:-1;margin:0;font-size:.6875rem}
 .admin-invoice-balance-overview .admin-financial-stat-date .admin-widget-item-value-compact{font-size:.75rem;letter-spacing:0;text-align:right}
 .admin-invoice-balance-overview .admin-financial-stat-date time{justify-content:flex-end;gap:.25rem}
 .admin-invoice-balance-overview .admin-financial-stat-date time>small{font-size:inherit;color:inherit}
 .dark .admin-invoice-balance-overview .admin-financial-stat-outstanding .admin-widget-item-label-compact{color:#a4bfff}
 .dark .admin-invoice-balance-overview .admin-financial-stat-amber .admin-widget-item-value-compact{color:#e9c46e}
 .dark .admin-invoice-balance-overview .admin-financial-stat-green .admin-widget-item-value-compact{color:#a6f4c5}
 .dark .admin-invoice-balance-overview .admin-financial-stat-rose .admin-widget-item-value-compact{color:#ff95ab}
 .dark .admin-invoice-balance-overview .admin-financial-register-stat[data-financial-summary-active=true]>.admin-widget-item-link{background:#432a34;border-color:#865766}
 .dark .admin-invoice-balance-overview .admin-financial-stat-date{border-color:#344054}
}
.dark .admin-invoice-ledger-source,.dark #financial_invoices_table.admin-invoice-balance-ledger .admin-invoice-ledger-zero .admin-table-text-strong{color:#98a2b3}
.dark #financial_invoices_table.admin-invoice-balance-ledger .admin-invoice-ledger-totals,.dark #financial_invoices_table.admin-invoice-balance-ledger .admin-invoice-ledger-totals td{background:#182230;border-color:#344054;color:#d0d5dd}
.dark #financial_invoices_table .admin-invoice-ledger-mini-currency{color:#e4e7ec}
.dark #financial_invoices_table .admin-invoice-ledger-mini-colhead{color:#98a2b3}
.dark .admin-financial-status-dropdown,.dark .admin-financial-status-menu .admin-dropdown-option-row{--invoice-status-surface:#1d2939;--invoice-status-hover:#344054;--invoice-status-border:#667085;--invoice-status-ink:#e4e7ec}
.dark .admin-financial-paid-indicator,.dark .admin-financial-status-dropdown:has(.admin-base-dropdown-trigger .bg-success-50),.dark .admin-financial-status-menu .admin-dropdown-option-row:is([data-value="paid"],[data-value="prepaid"]){--invoice-status-surface:#123b2b;--invoice-status-hover:#1b513b;--invoice-status-border:#32805b;--invoice-status-ink:#a6f4c5}
.dark .admin-financial-status-dropdown:has(.admin-base-dropdown-trigger .bg-warning-50),.dark .admin-financial-status-menu .admin-dropdown-option-row[data-value="pay_later"]{--invoice-status-surface:#422c13;--invoice-status-hover:#5c3c17;--invoice-status-border:#946521;--invoice-status-ink:#fedf89}
.dark .admin-financial-status-dropdown:has(.admin-base-dropdown-trigger .bg-blue-light-50),.dark .admin-financial-status-menu .admin-dropdown-option-row[data-value="advance"]{--invoice-status-surface:#193454;--invoice-status-hover:#24476f;--invoice-status-border:#4273a5;--invoice-status-ink:#b2ddff}
.dark .admin-financial-status-dropdown:has(.admin-base-dropdown-trigger .bg-error-50),.dark .admin-financial-status-menu .admin-dropdown-option-row[data-value="invalid"]{--invoice-status-surface:#4a2527;--invoice-status-hover:#653236;--invoice-status-border:#a35b62;--invoice-status-ink:#fecdca}
.dark .admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu] .admin-dropdown-option-row[aria-selected="true"]{background:var(--invoice-status-surface);color:var(--invoice-status-ink)}
.dark .admin-financial-status-menu.admin-dropdown-menu-panel[data-admin-dropdown-menu] .admin-dropdown-option-row[aria-selected="true"] .admin-dropdown-check{color:inherit}

/* Land overview editor: quiet field groups with a compact parcel summary. */
.admin-land-overview-layout{--land-edit-line:#e7e3dd;--land-edit-paper:#fffdfa;--land-edit-soft:#faf8f5;--land-edit-muted:#736e68;display:grid;gap:1rem;align-items:start;min-width:0}
.admin-land-overview-fields{display:grid;gap:1rem;min-width:0}
.admin-land-overview-group{min-width:0;padding:1.25rem;border:1px solid var(--land-edit-line);border-radius:.875rem;background:var(--land-edit-paper)}
.admin-land-overview-group-title.admin-form-section-label{margin:0;color:#57534e;font-size:.75rem}
.admin-land-overview-group-description{max-width:52rem;margin:.35rem 0 1.25rem;color:var(--land-edit-muted);font-size:.8125rem;line-height:1.45}
.admin-land-overview-field-grid,.admin-land-overview-group>.admin-land-identifier-grid,.admin-land-overview-group>.admin-form-grid-sm-2{gap:1rem}
.admin-land-overview-group[aria-labelledby="edit-land-area-position"]>.admin-form-grid-sm-2{margin-top:1rem}
.admin-land-overview-files-grid{display:grid;gap:1rem;min-width:0}
.admin-land-overview-files-grid>*{min-width:0}
.admin-land-overview-date-field{max-width:25rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--land-edit-line)}
.admin-land-overview-date-field .admin-input-control{min-height:2.75rem;background:var(--land-edit-soft);color:#57534e}
.admin-land-overview-summary{position:sticky;top:1rem;min-width:0;padding:1.25rem;border:1px solid var(--land-edit-line);border-radius:.875rem;background:var(--land-edit-soft)}
.admin-land-overview-summary-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding-bottom:1rem;border-bottom:1px solid var(--land-edit-line)}
.admin-land-overview-summary-heading>div{min-width:0}
.admin-land-overview-summary-eyebrow{margin:0 0 .25rem;color:var(--land-edit-muted);font-size:.6875rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.admin-land-overview-summary-heading h3{margin:0;color:#292524;font-size:1.125rem;line-height:1.35;font-weight:700}
.admin-land-overview-summary-heading .admin-land-tenure-tag{flex-shrink:0}
.admin-land-overview-summary-list{display:grid;margin:0}
.admin-land-overview-summary-list>div{min-width:0;padding:.875rem 0;border-bottom:1px solid var(--land-edit-line)}
.admin-land-overview-summary-list dt{margin:0 0 .25rem;color:var(--land-edit-muted);font-size:.75rem;line-height:1.25}
.admin-land-overview-summary-list dd{margin:0;color:#292524;font-size:.875rem;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.admin-land-overview-mapping-link{width:100%;min-height:2.75rem;margin-top:1rem;justify-content:center}
.dark .admin-land-overview-layout{--land-edit-line:#3f4145;--land-edit-paper:#22262d;--land-edit-soft:#1d2128;--land-edit-muted:#b6b1aa}
.dark .admin-land-overview-group-title.admin-form-section-label,.dark .admin-land-overview-summary-heading h3,.dark .admin-land-overview-summary-list dd{color:#f5f3f0}
.dark .admin-land-overview-group-title.admin-form-section-label::after{background:var(--land-edit-line)}
.dark .admin-land-overview-date-field .admin-input-control{background:#191d23;border-color:var(--land-edit-line);color:#d6d3d1}
@media(min-width:1180px){
 .admin-land-overview-layout{grid-template-columns:minmax(0,1fr) minmax(17rem,20rem);gap:1.25rem}
}
@media(min-width:1280px){
 .admin-land-overview-files-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1179px){
 .admin-land-overview-summary{position:static;order:-1}
 .admin-land-overview-summary-list{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:1rem}
}
@media(max-width:639px){
 .admin-land-overview-group,.admin-land-overview-summary{padding:1rem;border-radius:.75rem}
 .admin-land-overview-summary-heading{display:grid}
 .admin-land-overview-summary-heading .admin-land-tenure-tag{justify-self:start}
 .admin-land-overview-summary-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:.875rem}
 .admin-land-overview-group-description{margin-bottom:1rem}
 .admin-land-overview-date-field{max-width:none}
}
@media(max-width:359px){
 .admin-land-overview-summary-list{grid-template-columns:minmax(0,1fr)}
}

/* Lands explorer: one controls row, one table and one retained map instance. */
.lands-explorer { --lands-line: #e7e3dd; --lands-paper: #fffdfa; --lands-muted: #736e68; --lands-tint: #fff0f3; }
.dark .lands-explorer { --lands-line: #393a3c; --lands-paper: #1f242c; --lands-muted: #b3b5b9; --lands-tint: #402d27; }
.dark .lands-explorer { background: var(--lands-paper); color: #f2f4f7; }
.dark .lands-explorer :is(.admin-section-title, .admin-table-text-strong, .admin-empty-state-title, .lands-explorer-facts dd, .lands-explorer-inspector-heading h2) { color: #f2f4f7; }
.dark .lands-explorer :is(.admin-table-text-muted, .admin-data-table-section-description, .admin-empty-state-description, .admin-table-info-text, .admin-field-help, .admin-field-label, .admin-field-label-strong) { color: var(--lands-muted); }
.dark .lands-explorer .admin-table-search-input::placeholder { color: var(--lands-muted); opacity: 1; }
.dark .lands-explorer :is(.admin-table-body-cell, .admin-table-action-cell, .admin-table-controls, .admin-card-footer-muted) { background: var(--lands-paper); color: #f2f4f7; border-color: var(--lands-line); }
.dark .lands-explorer :is(.admin-table-head-cell, .admin-secondary-button, .admin-outline-control) { background: #2b3038; color: #f2f4f7; border-color: var(--lands-line); }
.dark .lands-explorer .lands-explorer-selected > td { background: var(--lands-tint); }
.dark .lands-explorer-summary .admin-widget-item { background: #1f242c; border-color: #393a3c; }
.dark .lands-explorer-summary :is(.admin-widget-item-value-compact, .admin-widget-item-label) { color: #f2f4f7; }
.lands-explorer [hidden] { display: none !important; }
.lands-explorer-content { display: grid; grid-template-columns: minmax(310px, .9fr) minmax(0, 1.3fr); align-items: start; }
.lands-explorer-table, .lands-explorer-side, .lands-explorer-map { min-width: 0; }
.lands-explorer-side { border-left: 1px solid var(--lands-line); background: var(--lands-paper); }
.lands-explorer[data-view="list"]:not(.lands-explorer-inspecting) .lands-explorer-content,
.lands-explorer[data-view="map"] .lands-explorer-content { grid-template-columns: minmax(0, 1fr); }
.lands-explorer[data-view="map"] .lands-explorer-side { border-left: 0; }
.lands-explorer-views { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--lands-line); border-radius: 10px; }
.lands-explorer-views .admin-secondary-button { min-height: 44px; padding: 7px 10px; border: 0; background: transparent; box-shadow: none; }
.lands-explorer .lands-explorer-views [aria-pressed="true"] { background: var(--lands-tint); color: #cd370e; }
.dark .lands-explorer .lands-explorer-views [aria-pressed="true"] { background: var(--lands-tint); color: #ffac8c; }
.lands-explorer-parcel { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 48px; width: 100%; text-align: left; border: 0; background: transparent; padding: 0; white-space: normal; overflow-wrap: anywhere; }
.lands-explorer-parcel:focus-visible { outline: 2px solid #ef2147; outline-offset: 4px; border-radius: 4px; }
.lands-explorer-row-summary { display: block; font-size: 12px; color: var(--lands-muted); font-variant-numeric: tabular-nums; }
.lands-explorer[data-view="list"]:not(.lands-explorer-inspecting) .lands-explorer-row-summary { display: none; }
.lands-explorer-selected > td { background: var(--lands-tint) !important; }
.lands-explorer-selected > td:first-child { box-shadow: inset 3px 0 #ef2147; }
.lands-explorer .admin-table-body-cell { padding-top: 13px; padding-bottom: 13px; }
.lands-explorer:not([data-view="list"]) .admin-manual-table,
.lands-explorer-inspecting .admin-manual-table { min-width: 0; width: 100% !important; }
.lands-explorer:not([data-view="list"]) .admin-table-action-cell,
.lands-explorer-inspecting .admin-table-action-cell { position: static; box-shadow: none; }
.lands-explorer .admin-table-controls-header { flex-wrap: wrap; gap: 12px; }
.lands-explorer .admin-table-controls-right { flex-wrap: wrap; }
.lands-explorer-inspector { padding: 20px; border-top: 1px solid var(--lands-line); }
.lands-explorer-inspector-heading { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.lands-explorer-inspector-heading > div { min-width: 0; overflow-wrap: anywhere; }
.lands-explorer-inspector-heading h2 { font-size: 20px; line-height: 1.3; margin: 5px 0; }
.lands-explorer-facts { margin: 14px 0 18px; }
.lands-explorer-facts > div { display: grid; grid-template-columns: minmax(90px, .7fr) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--lands-line); }
.lands-explorer-facts dt { font-size: 13px; color: var(--lands-muted); }
.lands-explorer-facts dd { margin: 0; text-align: right; font-size: 14px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.lands-explorer-results { margin: 0; padding: 12px 18px; border-top: 1px solid var(--lands-line); font-size: 12px; }
.lands-explorer-inspecting #lands-map { height: 300px; }
.lands-explorer-marker:not(.lands-explorer-marker-selected) { width: 18px !important; height: 18px !important; padding: 0 !important; background: #497250 !important; border: 2px solid #fffdfa !important; }
.lands-explorer-marker:not(.lands-explorer-marker-selected) > span { display: none; }
.lands-explorer-marker-selected { background: #d51d40 !important; border-color: #fffdfa !important; color: #fff !important; max-width: 220px !important; }
@media (min-width: 768px) {
    .lands-explorer .admin-table-controls-left { flex: 0 1 240px; }
    .lands-explorer:not([data-view="list"]) .admin-table-search-shell { min-width: 180px; }
}
@media (max-width: 1023px) {
    .lands-explorer-content { grid-template-columns: minmax(270px, 1fr) minmax(0, 1fr); }
    .lands-explorer .admin-table-controls-left { flex: 1 1 100%; }
    .lands-explorer .admin-table-controls-right { flex: 1 1 100%; }
}
@media (max-width: 767px) {
    .lands-explorer-content { display: flex; flex-direction: column; }
    .lands-explorer-table, .lands-explorer-side { width: 100%; }
    .lands-explorer-side { border-left: 0; border-top: 1px solid var(--lands-line); }
    .lands-explorer-inspecting .lands-explorer-side { order: -1; }
    .lands-explorer #lands-map { height: 360px; }
    .lands-explorer-inspecting #lands-map { height: 220px; }
    .lands-explorer-inspector { padding: 16px; }
    .lands-explorer .lands-explorer-views { display: flex; width: 100%; }
    .lands-explorer-views .admin-secondary-button { flex: 1; min-height: 44px; }
}
.lands-explorer-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lands-explorer-inspector > .admin-secondary-button { margin: 4px 6px 4px 0; }
@media (max-width: 639px) {
    .lands-explorer-summary .admin-statistics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lands-explorer-summary .admin-widget-item-link { flex-direction: column; align-items: flex-start; gap: 8px; }
    .lands-explorer-summary .admin-stat-icon-box { width: 28px; height: 28px; min-width: 28px; }
    .lands-explorer-summary .admin-widget-item-value-compact { white-space: normal; overflow-wrap: anywhere; }
}

/* Reconciliation labels share one full-width vertical stack on rows and receipts. */
#financial_payments_table .admin-financial-payment-status-stack{width:100%;min-width:0;max-width:100%;align-items:flex-start;gap:.35rem;text-align:left}
#financial_payments_table .admin-financial-payment-status-stack>.admin-badge{flex-shrink:0;align-self:flex-start;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:break-word;text-align:left}
#financial_payments_table .admin-financial-payment-status-stack>.admin-badge>:is(i,svg){flex-shrink:0}
@media(max-width:767px){
 #financial_payments_table .admin-payment-receipt-facts .admin-payment-receipt-reconciliation{display:block;width:100%;min-width:0}
}

/* Garden glass canvas with a mixed-size image grid and readable overlays. */
.admin-harvest-band-report-page.admin-potato-review-page{--photo-ink:#293529;--photo-muted:#626f5d;--photo-line:#cdd7c7;--photo-card:rgba(255,255,255,.76);--photo-chip:#f0f4ec;--photo-filter:rgba(207,217,198,.55);color:var(--photo-ink);background:radial-gradient(ellipse at 12% 0%,#e0e8ce,transparent 65%),#e9eee6;padding:2rem clamp(1rem,2.4vw,2.5rem) 2.5rem}
.admin-potato-review-modal{overflow:hidden}
.admin-potato-review-modal .admin-modal-frame{height:100vh;height:100dvh;min-height:0;padding:0}
.admin-potato-review-dialog{height:100%;max-width:none;max-height:none;margin:0;border-radius:0;box-shadow:none;transform:none}
.admin-modal-body.admin-potato-review-body{padding:0;background:#e9eee6}
.admin-potato-review-body>[data-harvest-report]{flex:1;min-height:0}
.admin-potato-review-body>[data-harvest-report]>[data-report-output]{height:100%}
.admin-potato-review-body .admin-potato-review-page{min-height:100%;padding-top:max(1rem,env(safe-area-inset-top))}
.admin-potato-review-body .admin-photo-type-filter{width:calc(100% - 3.5rem)}
.admin-potato-review-body>[data-harvest-report]>[data-report-status],.admin-potato-review-body>[data-harvest-report]>button{margin:1.5rem;max-width:calc(100% - 5rem)}
.admin-potato-review-body .admin-modal-close-button{position:fixed;top:max(.75rem,env(safe-area-inset-top));right:max(.75rem,env(safe-area-inset-right));z-index:3;border:1px solid #cdd7c7;background:rgba(255,255,255,.9);color:#293529}
.dark .admin-modal-body.admin-potato-review-body{background:#1f2822}
.dark .admin-potato-review-body .admin-modal-close-button{border-color:#52644a;background:#35462f;color:#eef3e9}
@media(min-width:360px) and (max-width:639px){.admin-potato-review-body .admin-photo-type-filter{grid-template-columns:minmax(44px,.75fr) 1.4fr 1fr 1.15fr 1.2fr}}
.admin-potato-review-page .admin-page-heading-shell{margin-bottom:1.75rem}
.admin-potato-review-page .admin-page-heading-icon{display:none}
.admin-potato-review-page .admin-page-heading-title{color:var(--photo-ink);font-size:clamp(1.5rem,2.2vw,2.1rem);letter-spacing:-.04em}
.admin-potato-review-page .admin-page-heading-description{color:var(--photo-muted);font-size:.875rem;margin-top:.5rem}
.admin-potato-review-page [data-admin-back]{border:1px solid var(--photo-line);border-radius:999px;background:var(--photo-card);color:var(--photo-ink);box-shadow:none}
.admin-photo-type-filter{display:flex;width:100%;overflow-x:auto;gap:5px;padding:6px;margin-bottom:22px;border:1px solid rgba(255,255,255,.4);border-radius:999px;background:var(--photo-filter,#e0e7da);box-shadow:inset 0 1px 0 rgba(255,255,255,.3)}
.admin-photo-type-option{position:relative;display:flex;flex:1 0 auto;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:6px 14px;border-radius:999px;cursor:pointer;color:var(--photo-muted,#626f5d);font-size:13px;font-weight:500}
.admin-photo-type-option input{position:absolute;width:1px;height:1px;opacity:0}
.admin-photo-type-option:has(input:checked){background:#fff;color:#293b22;box-shadow:0 3px 9px rgba(18,36,15,.09)}
.admin-photo-type-option:has(input:focus-visible){outline:2px solid #577344;outline-offset:-2px}
.admin-photo-filter-count{font-size:11px;font-variant-numeric:tabular-nums;opacity:.75}
.admin-photo-collection-summary{display:flex;gap:8px;margin:0 0 14px;color:var(--photo-muted,#626f5d);font-size:12px}
.admin-photo-collection-summary span{font-variant-numeric:tabular-nums;color:var(--photo-ink,#293529)}
.admin-photo-waterfall{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(220px,22vw,320px);gap:14px;align-items:stretch}
.admin-photo-tile{position:relative;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:12px;overflow:hidden;background:#28322b;isolation:isolate}
.admin-photo-open{display:block;width:100%;height:100%;padding:0;border:0;border-radius:inherit;overflow:hidden;background:transparent;cursor:zoom-in}
.admin-photo-open img{display:block;width:100%;height:100%;object-fit:cover}
.admin-photo-open:focus-visible{outline:3px solid #577344;outline-offset:-3px}
.admin-photo-caption{position:absolute;inset:auto 0 0;display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:60px 16px 16px;color:#fff;background:linear-gradient(transparent,rgba(9,16,12,.86));pointer-events:none;font-size:21px;line-height:1.2;text-shadow:0 1px 3px rgba(0,0,0,.25)}
.admin-photo-variety{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:600}
.admin-photo-quality,.admin-photo-type{display:flex;align-items:center;justify-content:center;flex-shrink:0;min-height:28px;min-width:28px;padding:3px 5px;border-radius:6px;background:var(--photo-chip,#f0f4ec);color:var(--photo-muted,#626f5d)}
.admin-photo-quality{border:1px solid var(--photo-line,#cdd7c7);font-size:11px;font-variant-numeric:tabular-nums}
.admin-photo-type{background:#e7edde;color:#536744}
.admin-photo-unavailable{display:flex;min-height:110px;padding:20px 12px;align-items:center;justify-content:center;color:var(--photo-muted,#626f5d);font-size:13px;text-align:center;background:var(--photo-chip,#f0f4ec)}
.admin-photo-missing-section{margin-top:24px;padding-top:14px;border-top:1px solid var(--photo-line,#cdd7c7);color:var(--photo-muted,#626f5d)}
.admin-photo-missing-section summary{width:fit-content;min-height:44px;padding:12px 0;cursor:pointer;font-size:12px}
.admin-photo-missing-section summary span{margin-left:7px;font-variant-numeric:tabular-nums}
.admin-photo-missing-list{display:flex;flex-wrap:wrap;gap:9px;padding-top:6px}
.admin-photo-missing{display:flex;align-items:center;gap:8px;max-width:100%;padding:10px 12px;border:1px dashed var(--photo-line,#cdd7c7);border-radius:10px;background:var(--photo-card,#fff);font-size:12px}
.admin-photo-missing>.admin-photo-variety{font-weight:500}
.admin-photo-review-empty{padding:32px 16px;text-align:center;color:var(--photo-muted,#626f5d)}
.admin-potato-review [hidden]{display:none!important}
.dark .admin-harvest-band-report-page.admin-potato-review-page{--photo-ink:#eef3e9;--photo-muted:#bac7b0;--photo-line:#52644a;--photo-card:rgba(57,72,55,.9);--photo-chip:#35462f;--photo-filter:rgba(57,72,55,.6);background:radial-gradient(ellipse at 12% 0%,#374c32,transparent 65%),#1f2822}
.dark .admin-photo-type-filter,.dark .admin-photo-tile{border-color:rgba(208,226,191,.15)}
.dark .admin-photo-type-option:has(input:checked){background:#d3e6c7;color:#253d20}
.dark .admin-photo-type-option:not(:has(input:checked)) img{filter:invert(1)}
.dark .admin-photo-type{background:#d3dfc9;color:#293b22}
@media(min-width:900px){.admin-photo-waterfall{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-photo-tile-hero{grid-column:span 2;grid-row:span 2}.admin-photo-tile-hero .admin-photo-caption{font-size:28px;padding:80px 22px 22px}}
@media(min-width:1400px){.admin-photo-waterfall{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.admin-photo-tile-wide{grid-column:span 2}}
@media(max-width:639px){
 .admin-harvest-band-report-page.admin-potato-review-page{padding:1.25rem .875rem 2rem}
 .admin-photo-type-filter{display:grid;grid-template-columns:.75fr 1.4fr 1fr 1.15fr 1.2fr;border-radius:15px;gap:2px;padding:5px;overflow:visible}
 .admin-photo-type-option{flex:1 1 0;min-width:0;min-height:54px;flex-direction:column;gap:4px;padding:5px 2px;border-radius:10px;font-size:11px;text-align:center;line-height:1.2;overflow-wrap:normal}
 .admin-photo-filter-count{display:none}
 .admin-photo-waterfall{gap:10px;grid-auto-rows:240px}.admin-photo-tile{border-radius:10px}.admin-photo-tile-hero{grid-column:span 2}
 .admin-photo-caption{gap:8px;padding:55px 10px 12px;font-size:18px}.admin-photo-tile-hero .admin-photo-caption{font-size:24px}
 .admin-photo-quality,.admin-photo-type{min-width:23px;min-height:25px;padding:2px 3px}.admin-photo-quality{font-size:10px}
 .admin-photo-type img{width:17px;height:17px}
}

@media(max-width:359px){.admin-photo-type-filter{display:flex;overflow-x:auto}.admin-photo-type-option{flex:1 0 78px}}

/* Metadata order: quality, harvest type, then processed-crate percentage. */
.admin-photo-indicators{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;margin-left:auto;font-size:13px;text-shadow:none}
.admin-photo-caption .admin-photo-variety{flex:1 1 100px}
.admin-photo-caption .admin-photo-quality,.admin-photo-caption .admin-photo-type{width:38px;height:38px;font-size:15px;border:1px solid rgba(255,255,255,.26);background:rgba(17,28,20,.7);color:#fff;border-radius:8px}
.admin-photo-caption .admin-photo-type{background:rgba(255,255,255,.94);color:#28382b}
.admin-progress-ring{--admin-ring-size:42px;--admin-ring-fill:#a8d982;--admin-ring-track:rgba(255,255,255,.25);--admin-ring-center:#1d2b21;position:relative;display:inline-grid;place-items:center;width:var(--admin-ring-size);height:var(--admin-ring-size);flex-shrink:0;border-radius:50%;background:conic-gradient(var(--admin-ring-fill) var(--admin-ring-value),var(--admin-ring-track) 0);color:#fff;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1}
.admin-progress-ring::before{position:absolute;inset:3px;content:"";border-radius:50%;background:var(--admin-ring-center)}
.admin-progress-ring>span{position:relative}
.admin-photo-missing .admin-progress-ring{--admin-ring-size:34px;--admin-ring-track:#b9c7ae;--admin-ring-center:var(--photo-chip,#f0f4ec);--admin-ring-fill:#66854e;color:var(--photo-ink,#293529);font-size:10px}
.admin-photo-unavailable{height:100%;padding-bottom:100px;background:#344337;color:#e6eddf}
@media(max-width:639px){.admin-photo-caption .admin-photo-indicators{gap:5px}.admin-photo-caption .admin-photo-quality,.admin-photo-caption .admin-photo-type{width:29px;height:31px;min-width:29px;font-size:13px}.admin-photo-caption .admin-progress-ring{--admin-ring-size:36px;font-size:10px}.admin-photo-caption .admin-photo-type img{width:19px;height:19px}.admin-photo-caption .admin-photo-variety{flex-basis:100%}.admin-photo-tile-hero .admin-photo-variety{flex-basis:100px}}

.admin-photo-waterfall[data-photo-layout-count="1"]{grid-template-columns:minmax(0,1fr);grid-auto-rows:clamp(300px,40vw,560px)}
.admin-photo-waterfall[data-photo-layout-count="1"] .admin-photo-tile{grid-column:auto;grid-row:auto}
@media(min-width:900px){.admin-photo-waterfall[data-photo-layout-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(300px,38vw,540px)}.admin-photo-waterfall[data-photo-layout-count="2"] .admin-photo-tile{grid-column:auto;grid-row:auto}}
@media(max-width:899px){.admin-photo-waterfall[data-photo-layout-count="2"] .admin-photo-tile{grid-column:auto;grid-row:auto}}

.admin-photo-waterfall[data-photo-layout-count="2"] .admin-photo-caption{font-size:clamp(18px,2vw,26px)}

/* Photo quality hierarchy remains legible on images and in both canvas palettes. */
.admin-potato-review .admin-photo-quality{flex-direction:column;gap:2px;line-height:1;font-weight:700}
.admin-photo-quality-stars{font-family:Arial,sans-serif;font-size:9px;line-height:9px;letter-spacing:1px;white-space:nowrap}
.admin-potato-review .admin-photo-quality[data-quality-code="SE"]{background:#fef0c7;color:#854a0e;border:1px solid #eeb74b}
.admin-potato-review .admin-photo-quality[data-quality-code="E"]{background:#ede5ff;color:#6230a7;border:1px solid #c4a5f1}
.admin-potato-review .admin-photo-quality[data-quality-code="I"]{background:#dbeafe;color:#1e40af;border:1px solid #93b4ef}

/* Both selection modes keep the standard form-field height; selected names may wrap. */
.admin-form [data-admin-modern-dropdown] :is(.admin-base-dropdown-trigger,.admin-multiselect-trigger){height:auto;min-height:3rem}
/* Payment operating-spend analytics */
.admin-payment-analytics-filter-card{overflow:visible}
.admin-payment-analytics-filter-card .admin-card-body{padding:1rem 1.25rem}
.admin-payment-analytics-filters{align-items:flex-end;gap:.75rem}
.admin-payment-analytics-filter{min-width:15rem;flex:1 1 15rem}
.admin-payment-analytics-filter-compact{min-width:9rem;flex:0 1 11rem}
.admin-payment-analytics-filter-actions{margin-left:auto}
.admin-payment-analytics-method{display:flex;align-items:flex-start;gap:.75rem;margin-bottom:1rem;padding:.875rem 1rem;border:1px solid #fed7aa;border-radius:.75rem;background:#fff7ed;color:#9a3412}
.admin-payment-analytics-method strong{display:block;color:#7c2d12;font-size:.8125rem;margin-bottom:.15rem}
.admin-payment-analytics-method p{margin:0;font-size:.8125rem;line-height:1.55;color:#9a3412}
.admin-payment-analytics-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(18rem,1fr);gap:1rem;padding:1.25rem}
.admin-payment-analytics-panel{min-width:0;border:1px solid #e4e7ec;border-radius:.875rem;background:#fff;padding:1rem}
.admin-payment-analytics-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.5rem}
.admin-payment-analytics-panel-heading span{display:block;color:#667085;font-size:.6875rem;font-weight:800;letter-spacing:.08em}
.admin-payment-analytics-panel-heading h2{margin:.2rem 0 0;color:#101828;font-size:1rem;font-weight:700}
.admin-payment-analytics-panel-heading>strong{color:#667085;font-size:.75rem}
.admin-payment-analytics-chart{min-height:330px}
.admin-payment-analytics-chart-empty{display:grid;place-items:center;color:#667085;font-size:.875rem;text-align:center}
.admin-payment-analytics-card>.admin-payment-analytics-method{margin:1.25rem 1.25rem 0}
.admin-payment-analytics-card>.admin-data-table-section-header{margin-top:.25rem}
.admin-payment-analytics-category{display:inline-flex;align-items:center;gap:.625rem}
.admin-payment-analytics-swatch{width:.625rem;height:.625rem;border-radius:999px;background:#64748b;box-shadow:0 0 0 3px rgb(100 116 139/.16);flex:none}
.admin-payment-analytics-swatch[data-category="invoices"]{background:#ea580c;box-shadow:0 0 0 3px rgb(234 88 12/.16)}
.admin-payment-analytics-swatch[data-category="salary"]{background:#7c3aed;box-shadow:0 0 0 3px rgb(124 58 237/.16)}
.admin-payment-analytics-swatch[data-category="tax"]{background:#2563eb;box-shadow:0 0 0 3px rgb(37 99 235/.16)}
.admin-payment-analytics-swatch[data-category="bank_fee"]{background:#d97706;box-shadow:0 0 0 3px rgb(217 119 6/.16)}
.admin-payment-analytics-swatch[data-category="banking"]{background:#0891b2;box-shadow:0 0 0 3px rgb(8 145 178/.16)}
.admin-payment-analytics-swatch[data-category="interest"]{background:#dc2626;box-shadow:0 0 0 3px rgb(220 38 38/.16)}
.admin-payment-analytics-swatch[data-category="donation"]{background:#db2777;box-shadow:0 0 0 3px rgb(219 39 119/.16)}
.admin-payment-analytics-swatch[data-category="advance_refund"]{background:#65a30d;box-shadow:0 0 0 3px rgb(101 163 13/.16)}
.admin-payment-analytics-swatch[data-category="other"]{background:#64748b;box-shadow:0 0 0 3px rgb(100 116 139/.16)}
.admin-payment-analytics-number{text-align:right;font-variant-numeric:tabular-nums}
.admin-payment-analytics-invoice-card{margin-top:1.25rem}
.admin-payment-analytics-invoice-heading{padding:1.25rem 1.25rem .25rem}
.admin-payment-analytics-invoice-heading span{display:block;color:#ea580c;font-size:.6875rem;font-weight:800;letter-spacing:.08em}
.admin-payment-analytics-invoice-heading h2{margin:.3rem 0;color:#101828;font-size:1.125rem;font-weight:750}
.admin-payment-analytics-invoice-heading p{max-width:70rem;margin:0;color:#667085;font-size:.8125rem;line-height:1.55}
.admin-payment-analytics-invoice-card>.admin-statistics-grid{margin:1rem 1.25rem}
.admin-payment-analytics-invoice-chart-panel{margin:0 1.25rem 1.25rem}
.admin-payment-analytics-invoice-card #payment_analytics_invoice_comparison td:first-child{overflow-wrap:anywhere}
.admin-payment-analytics-panel-heading h3{margin:.2rem 0 0;color:#101828;font-size:1rem;font-weight:700}
.admin-payment-analytics-delta-up{color:#b42318;font-weight:700}
.admin-payment-analytics-delta-down{color:#027a48;font-weight:700}

.dark .admin-payment-analytics-method{border-color:#7c2d12;background:#431407;color:#fdba74}
.dark .admin-payment-analytics-method strong{color:#fed7aa}
.dark .admin-payment-analytics-method p{color:#fdba74}
.dark .admin-payment-analytics-panel{border-color:#344054;background:#1d2939}
.dark .admin-payment-analytics-panel-heading h2{color:#f2f4f7}
.dark .admin-payment-analytics-panel-heading h3,.dark .admin-payment-analytics-invoice-heading h2{color:#f2f4f7}
.dark .admin-payment-analytics-invoice-heading p{color:#98a2b3}
.dark .admin-payment-analytics-delta-up{color:#fda29b}
.dark .admin-payment-analytics-delta-down{color:#6ce9a6}
.dark .admin-payment-analytics-panel-heading span,.dark .admin-payment-analytics-panel-heading>strong,.dark .admin-payment-analytics-chart-empty{color:#98a2b3}

@media(max-width:1023px){
  .admin-payment-analytics-grid{grid-template-columns:1fr}
}
@media(min-width:1024px){
  .admin-payment-analytics-invoice-card #payment_analytics_invoice_comparison{width:100%!important;max-width:100%;table-layout:fixed;min-width:58rem}
  .admin-payment-analytics-invoice-card #payment_analytics_invoice_comparison :is(th,td):first-child{white-space:normal}
  .admin-payment-analytics-invoice-card #payment_analytics_invoice_comparison :is(th,td):nth-child(1){width:42%}
  .admin-payment-analytics-invoice-card #payment_analytics_invoice_comparison :is(th,td):nth-child(2),
  .admin-payment-analytics-invoice-card #payment_analytics_invoice_comparison :is(th,td):nth-child(3),
  .admin-payment-analytics-invoice-card #payment_analytics_invoice_comparison :is(th,td):nth-child(4){width:13%}
  .admin-payment-analytics-invoice-card #payment_analytics_invoice_comparison :is(th,td):nth-child(5){width:10%}
  .admin-payment-analytics-invoice-card #payment_analytics_invoice_comparison :is(th,td):nth-child(6){width:9%}
}
@media(max-width:639px){
  .admin-payment-analytics-filter-card .admin-card-body{padding:.875rem}
  .admin-payment-analytics-filters{display:grid;grid-template-columns:1fr 1fr;align-items:end}
  .admin-payment-analytics-filter{min-width:0;width:100%;grid-column:1/-1}
  .admin-payment-analytics-filter-compact{min-width:0;grid-column:auto}
  .admin-payment-analytics-filter-actions{grid-column:1/-1;margin-left:0}
  .admin-payment-analytics-filter-actions>*{width:100%;justify-content:center}
  .admin-payment-analytics-grid{padding:.875rem;gap:.875rem}
  .admin-payment-analytics-panel{padding:.875rem}
  .admin-payment-analytics-chart{min-height:300px;max-width:100%;overflow-x:hidden}
  .admin-payment-analytics-card>.admin-payment-analytics-method{margin:.875rem .875rem 0}
  .admin-payment-analytics-invoice-heading{padding:.875rem .875rem .25rem}
  .admin-payment-analytics-invoice-card>.admin-statistics-grid{margin:.875rem}
  .admin-payment-analytics-invoice-chart-panel{margin:0 .875rem .875rem}
  .admin-payment-analytics-supplier-chart{min-width:0;width:100%}
  .admin-payment-analytics-number{text-align:left}
}

/* Date stays native; clock entry is always 00–23 regardless of device locale. */
.admin-time-editor{display:flex;flex-wrap:wrap;gap:.5rem;min-width:0;width:100%}
.admin-time-editor .admin-time-editor-control{flex:1 1 8rem;min-width:0;width:100%}
.admin-time-editor input[type="date"]{flex-basis:10rem}
.admin-time-editor input[type="text"]{font-variant-numeric:tabular-nums}
input[data-admin-time-bound][hidden],.admin-native-picker-field:has(>.admin-time-editor)>[hidden]{display:none!important}

/* Field Lens keeps the shared dialog focus lifecycle while filling the camera viewport. */
html.field-lens-active,html.field-lens-active body{background:#000!important;color-scheme:dark}
html.field-lens-active .admin-web-app-status-fill{background:#000!important}
.field-lens-modal{overflow:hidden;background:#000}
.field-lens-modal .field-lens-frame{height:100vh;height:100dvh;min-height:0;padding:0;display:flex;align-items:stretch}
.field-lens-modal .field-lens-content{height:100%;max-height:none;max-width:none;margin:0;border-radius:0;background:#16181d;color:#f7f4ed}
.field-lens-modal .field-lens-body{padding:0;overflow:hidden!important}
.field-lens-scene{--lens-cream:#f7f4ed;--lens-charcoal:#16181d;--lens-accent:#ef2147;--lens-glass:rgba(22,24,29,.94);position:relative;isolation:isolate;flex:1;min-height:0;height:100%;overflow:hidden;background:var(--lens-charcoal);color:var(--lens-cream);font-size:.875rem}
.field-lens-scene [hidden]{display:none!important}
.field-lens-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.field-lens-scene:before,.field-lens-scene:after{content:"";position:absolute;left:0;right:0;z-index:5;background:#000;pointer-events:none}
.field-lens-scene:before{top:0;height:env(safe-area-inset-top)}
.field-lens-scene:after{bottom:0;height:env(safe-area-inset-bottom)}
.field-lens-video,.field-lens-overlay,.field-lens-shade{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.field-lens-video{object-fit:cover;z-index:-3}
.field-lens-overlay{z-index:-2}
.field-lens-shade{z-index:-1;background:linear-gradient(180deg,rgba(22,24,29,.68),transparent 32%,transparent 68%,rgba(22,24,29,.78))}
.field-lens-top{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:max(.75rem,env(safe-area-inset-top)) max(1.25rem,env(safe-area-inset-right)) .4rem max(1.25rem,env(safe-area-inset-left))}
.field-lens-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.field-lens-scene .admin-secondary-button{display:inline-flex;justify-content:center;align-items:center;gap:.45rem;min-height:2.75rem;white-space:normal;background:rgba(22,24,29,.94);color:var(--lens-cream);border:1px solid #f7f4ed33;border-radius:.85rem;font-size:.8rem;padding:.6rem .85rem;box-shadow:0 2px 8px #0002}
.field-lens-scene .admin-secondary-button:hover{background:#303238;color:var(--lens-cream);border-color:#f7f4ed77}
.field-lens-scene .admin-secondary-button[aria-expanded="true"],.field-lens-scene .admin-secondary-button[aria-pressed="true"],.field-lens-scene [data-field-lens-action="start"]{background:var(--lens-cream);border-color:var(--lens-cream);color:var(--lens-charcoal)}
.field-lens-scene .admin-secondary-button:disabled{opacity:.45}
.field-lens-scene :is(button,a,input):focus-visible{outline:3px solid var(--lens-accent);outline-offset:3px}
.field-lens-top .field-lens-actions{flex:none;flex-wrap:nowrap;gap:.45rem}
.field-lens-top .admin-secondary-button{padding:.65rem;min-width:2.75rem;border-radius:50%;backdrop-filter:blur(16px)}
.field-lens-top .field-lens-actions .admin-secondary-button span{display:none}
.field-lens-hud{display:flex;align-items:center;gap:.4rem;min-width:0;font-variant-numeric:tabular-nums}
.field-lens-hud .admin-secondary-button{border-radius:2rem;min-height:2.75rem;padding:.65rem .85rem;font-size:.75rem;white-space:nowrap;backdrop-filter:blur(16px);box-shadow:0 4px 16px #0002}
.field-lens-hud [data-field-lens-action="sensor-status"]{gap:.5rem}
.field-lens-hud [data-field-lens-action="sensor-status"]:after{content:"";flex:none;width:.45rem;height:.45rem;margin-left:.1rem;margin-top:-.15rem;transform:rotate(45deg);border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;opacity:.75}
.field-lens-hud .admin-secondary-button>span:last-child,.field-lens-hud>[data-lens-reading]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.field-lens-compass{position:relative;width:min(26rem,calc(100% - 2.5rem));height:2.5rem;margin:.25rem auto 0;overflow:hidden;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.field-lens-compass>[data-lens-compass]{position:absolute;inset:0}
.field-lens-compass span{position:absolute;top:0;transform:translateX(-50%);padding-top:.45rem;font-size:.65rem;color:var(--lens-cream);text-shadow:0 1px 5px #000;font-variant-numeric:tabular-nums}
.field-lens-compass span:before{content:"";display:block;height:.3rem;width:1px;background:#f7f4ed99;position:absolute;top:0;left:50%}
.field-lens-compass strong{position:absolute;bottom:.05rem;left:50%;transform:translateX(-50%);font-size:.8rem;color:var(--lens-cream);text-shadow:0 1px 5px #000;font-variant-numeric:tabular-nums}
.field-lens-compass strong:before{content:"";display:block;height:.5rem;width:2px;background:var(--lens-accent);margin:0 auto .15rem}
.field-lens-radar{position:absolute;top:calc(7.75rem + env(safe-area-inset-top));left:1.25rem;width:4.75rem;border:1px solid #f7f4ed33;border-radius:50%;background:rgba(22,24,29,.78);backdrop-filter:blur(12px);pointer-events:none}
.field-lens-radar canvas{display:block;width:100%;height:auto}
.field-lens-radar span{display:block;text-align:center;font-size:.55rem;color:var(--lens-cream);margin-top:-.7rem;padding-bottom:.3rem;font-variant-numeric:tabular-nums}
.field-lens-reticle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:2rem;height:2rem;pointer-events:none;border:1px solid #f7f4ed80;border-radius:50%;box-shadow:0 0 0 .3rem #16181d12,0 1px 5px #0003}
.field-lens-reticle:before{content:"";position:absolute;background:var(--lens-cream);left:50%;top:50%;transform:translate(-50%,-50%);width:.2rem;height:.2rem;border-radius:50%;box-shadow:0 0 0 3px #f7f4ed20}
.field-lens-reticle-target{border-color:var(--lens-accent);box-shadow:0 0 0 .35rem #ef21471a}
.field-lens-reticle-target:before{background:var(--lens-accent);box-shadow:0 0 0 3px #ef21472b}
.field-lens-start{position:absolute;top:47%;left:50%;transform:translate(-50%,-50%);width:min(29rem,calc(100% - 2.5rem));max-height:calc(100% - 19rem);overflow:auto;padding:1.4rem;border:1px solid #f7f4ed33;border-radius:1.5rem;background:var(--lens-glass);box-shadow:0 16px 48px #0004;backdrop-filter:blur(20px)}
.field-lens-start-covered{visibility:hidden}
.field-lens-start h3{font-size:1.2rem;font-weight:600;line-height:1.35;color:var(--lens-cream);margin:0 0 .75rem;letter-spacing:-.025em}
.field-lens-start p{margin:.75rem 0;color:#d5d4d0;line-height:1.5;font-size:.8rem}
.field-lens-start [data-lens-start-message]{color:#f5d89e}
.field-lens-start .admin-secondary-button{width:100%;min-height:3rem;border-radius:2rem}
.field-lens-panel{position:absolute;z-index:3;right:max(1.25rem,env(safe-area-inset-right));bottom:6.6rem;max-height:58%;width:min(28rem,calc(100% - 2.5rem));overflow:auto;overscroll-behavior:contain;border:1px solid #f7f4ed33;border-radius:1.5rem;padding:1.1rem;background:var(--lens-glass);backdrop-filter:blur(20px);box-shadow:0 20px 60px #0006;scrollbar-gutter:stable}
.field-lens-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.5rem}
.field-lens-panel-heading h3{font-size:1rem;font-weight:600;color:var(--lens-cream);margin:0;letter-spacing:-.02em}
.field-lens-panel-heading .admin-secondary-button{flex:none;min-width:2.75rem;padding:.6rem;border-radius:50%}
.field-lens-panel-heading .admin-secondary-button span{display:none}
.field-lens-panel h4{font-size:.95rem;font-weight:600;color:var(--lens-cream);margin:.7rem 0 .4rem}
.field-lens-panel p{line-height:1.5;margin:.6rem 0;color:#d5d4d0;font-size:.8rem}
.field-lens-panel .field-lens-season{display:flex;justify-content:space-between;gap:.75rem;color:#bbbcc1}
.field-lens-panel .field-lens-season [data-lens-reading="period"]{color:var(--lens-cream);font-variant-numeric:tabular-nums}
.field-lens-panel label{display:block;margin:.75rem 0 .4rem;color:var(--lens-cream);font-size:.8rem}
.field-lens-panel input[type="range"]{display:block;width:100%;min-height:2.5rem;accent-color:var(--lens-accent)}
.field-lens-panel input[type="checkbox"]{accent-color:#d51d40;margin-right:.35rem;width:1.1rem;height:1.1rem;vertical-align:middle}
.field-lens-panel output{float:right;font-variant-numeric:tabular-nums;color:var(--lens-cream)}
.field-lens-panel .admin-input-control{background:#26282e;color:var(--lens-cream);border-color:#7b7d8499}
.field-lens-panel>.admin-secondary-button{margin:.35rem .25rem .35rem 0}
.field-lens-panel dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:.5rem .75rem;margin:.75rem 0;font-size:.75rem}
.field-lens-panel dt{color:#bbbcc1}
.field-lens-panel dd{margin:0;text-align:right;color:var(--lens-cream);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.field-lens-field-list{display:flex;flex-direction:column;margin-top:.85rem;gap:.6rem}
.field-lens-field{display:flex;flex-direction:column;gap:.3rem;text-align:left;padding:.9rem;border-radius:1rem;border:1px solid #f7f4ed26;color:var(--lens-cream);background:#26282e;min-height:3rem}
.field-lens-field[aria-pressed="true"]{border-color:var(--lens-accent);background:var(--lens-cream);color:var(--lens-charcoal)}
.field-lens-card-metrics{font-size:.75rem!important;font-weight:600;color:var(--lens-cream)!important;font-variant-numeric:tabular-nums;white-space:nowrap}
.field-lens-card-crops{font-size:.75rem;color:#eeede8}
.field-lens-card-varieties{font-size:.7rem;color:#bbbcc1;overflow-wrap:anywhere}
.field-lens-field[aria-pressed="true"] :is(.field-lens-card-metrics,.field-lens-card-crops,.field-lens-card-varieties),.field-lens-label[aria-pressed="true"] :is(.field-lens-card-metrics,.field-lens-card-crops,.field-lens-card-varieties){color:#42444b!important}
.field-lens-block{border-top:1px solid #f7f4ed20;border-left:2px solid var(--lens-block-color,#f5c66c);margin-top:.85rem;padding:.1rem 0 .1rem .75rem}
.field-lens-panel .field-lens-saved-rows{display:inline-block;padding:.25rem .6rem;border:1px solid #f7f4ed33;border-radius:1rem;color:var(--lens-cream);font-variant-numeric:tabular-nums}
.field-lens-labels,.field-lens-crop-labels{position:absolute;inset:0;pointer-events:none}
.field-lens-label{box-sizing:border-box;position:absolute;pointer-events:auto;display:flex;flex-direction:column;text-align:left;gap:3px;max-width:calc(100vw - 1.5rem);height:108px;padding:10px 12px;border-radius:14px;border:1px solid #f7f4ed66;background:rgba(22,24,29,.95);color:var(--lens-cream);box-shadow:0 6px 20px #0003;backdrop-filter:blur(12px);overflow:hidden}
.field-lens-label[aria-pressed="true"]{border:2px solid var(--lens-accent);padding:9px 11px;background:var(--lens-cream);color:var(--lens-charcoal)}
.field-lens-label strong{font-size:.85rem;font-weight:600;line-height:20px}
.field-lens-label strong:before{content:"";display:inline-block;width:6px;height:6px;margin-right:7px;margin-bottom:1px;border-radius:50%;background:#d0d1d5}
.field-lens-label[aria-pressed="true"] strong:before{background:var(--lens-accent)}
.field-lens-label strong,.field-lens-label .field-lens-card-crops,.field-lens-label .field-lens-card-varieties{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;line-height:16px;flex:none}
.field-lens-label .field-lens-card-metrics{line-height:18px;flex:none;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.field-lens-crop-label{box-sizing:border-box;position:absolute;pointer-events:auto;display:flex;flex-direction:column;justify-content:center;gap:3px;width:168px;height:58px;padding:8px 10px 8px 13px;border:1px solid #f7f4ed55;border-left:3px solid var(--lens-block-color,#f5c66c);border-radius:12px;background:rgba(22,24,29,.94);color:var(--lens-cream);text-align:left;box-shadow:0 4px 16px #0003;backdrop-filter:blur(12px);overflow:hidden}
.field-lens-crop-label strong{display:block;max-width:100%;font-size:.73rem;font-weight:600;line-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.field-lens-crop-label strong:before{content:"";display:inline-block;width:5px;height:5px;margin-right:5px;margin-bottom:1px;border-radius:50%;background:var(--lens-block-color,#f5c66c)}
.field-lens-crop-label span{display:block;font-size:.65rem;line-height:15px;color:#d5d4d0;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.field-lens-crop-label[aria-pressed="true"]{background:var(--lens-cream);border-top-color:var(--lens-cream);border-right-color:var(--lens-cream);border-bottom-color:var(--lens-cream);color:var(--lens-charcoal)}
.field-lens-crop-label[aria-pressed="true"] span{color:#42444b}
.field-lens-bottom{position:absolute;bottom:0;left:0;right:0;padding:.75rem max(1.25rem,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) max(1.25rem,env(safe-area-inset-left));pointer-events:none}
.field-lens-bottom .field-lens-actions{position:relative;isolation:isolate;pointer-events:auto;margin-top:.7rem;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:.3rem;gap:.2rem;max-width:34rem;margin-left:auto;margin-right:auto}
.field-lens-bottom .field-lens-actions:before{content:"";position:absolute;z-index:-1;inset:0;border:1px solid #f7f4ed30;border-radius:2rem;background:rgba(22,24,29,.96);backdrop-filter:blur(16px);box-shadow:0 4px 16px #0002}
.field-lens-bottom .admin-secondary-button{min-width:0;display:flex;flex-direction:row;gap:.4rem;min-height:3.05rem;padding:.5rem .6rem;font-size:.72rem;box-shadow:none;border-color:transparent;background:transparent;border-radius:2rem;white-space:nowrap}
.field-lens-bottom .admin-secondary-button :is(i,svg){flex:none}
.field-lens-bottom .admin-secondary-button span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.field-lens-bottom .admin-secondary-button[aria-expanded="true"]{background:var(--lens-cream);color:var(--lens-charcoal)}
.field-lens-bottom p{margin:.35rem auto;max-width:34rem;line-height:1.4;font-size:.68rem;text-shadow:0 1px 4px #000}
.field-lens-bottom [data-lens-match]{color:var(--lens-cream)}
.field-lens-caution{color:#f5e3bf!important;font-size:.65rem;text-align:center}
.field-lens-focus{display:flex;flex-direction:column;gap:.4rem;max-width:34rem;margin:.75rem auto 0;padding:1rem 1.15rem;border:1px solid #f7f4ed26;border-radius:1.5rem;background:rgba(22,24,29,.96);backdrop-filter:blur(16px);box-shadow:0 8px 32px #0003}
.field-lens-focus [data-lens-focus-kicker]{display:flex;align-items:center;gap:.4rem;color:#cacbd0;font-size:.6rem;letter-spacing:.09em;text-transform:uppercase;font-weight:600}
.field-lens-focus [data-lens-focus-kicker]:before{content:"";flex:none;width:.35rem;height:.35rem;border-radius:50%;background:var(--lens-accent)}
.field-lens-focus [data-lens-focus-title]{font-size:1.12rem;line-height:1.25;color:var(--lens-cream);letter-spacing:-.025em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.field-lens-focus [data-lens-focus-meta]{font-size:.75rem;color:#eeede8;line-height:1.4}
.field-lens-focus [data-lens-focus-detail]{font-size:.65rem;color:#bbbcc1;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.field-lens-scene[data-lens-light-mode="sunlight"]{--lens-cream:#fff}
.field-lens-scene[data-lens-light-mode="sunlight"] :is(.field-lens-label,.field-lens-crop-label,.field-lens-focus,.field-lens-radar){background:#16181d;border-color:#f7f4edb3;backdrop-filter:none;box-shadow:0 2px 10px #0009}
.field-lens-scene[data-lens-light-mode="sunlight"] :is(.field-lens-label,.field-lens-crop-label)[aria-pressed="true"]{background:#fff;color:#16181d;border-color:#ef2147}
.field-lens-scene[data-lens-light-mode="sunlight"] :is(.field-lens-card-crops,.field-lens-card-varieties,.field-lens-crop-label span,[data-lens-focus-detail]){color:#f7f4ed}
.field-lens-scene[data-lens-light-mode="sunlight"] :is(.field-lens-label,.field-lens-crop-label,.field-lens-field)[aria-pressed="true"] :is(span,.field-lens-card-crops,.field-lens-card-varieties){color:#16181d}
.field-lens-scene[data-lens-light-mode="sunlight"] [data-lens-quality]{width:fit-content;background:#16181de8;border-radius:.5rem;padding:.25rem .45rem;color:#fff}
.field-lens-scene[data-lens-light-mode="low-light"]{--lens-cream:#d4cbbb;--lens-accent:#ff6b80}
.field-lens-scene[data-lens-light-mode="low-light"] :is(.field-lens-label,.field-lens-crop-label,.field-lens-focus){box-shadow:none}
.field-lens-bottom:has(.field-lens-focus:not([hidden])) [data-lens-match]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.field-lens-sheet-open .field-lens-reticle{opacity:.35}
@media(max-width:639px){
 .field-lens-top{gap:.65rem;padding:max(.65rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) .35rem max(1rem,env(safe-area-inset-left))}
 .field-lens-top .field-lens-actions{gap:.35rem}
 .field-lens-hud .admin-secondary-button{font-size:.7rem;padding:.65rem .85rem}
 .field-lens-radar{left:max(1rem,env(safe-area-inset-left));width:4.25rem;top:calc(7.5rem + env(safe-area-inset-top))}
 .field-lens-panel{left:1rem;right:1rem;width:auto;bottom:6.35rem;padding:1rem;max-height:58%}
 .field-lens-bottom{padding-left:1rem;padding-right:1rem}
 .field-lens-bottom .admin-secondary-button{padding:.4rem .3rem;font-size:.65rem;gap:.3rem}
 .field-lens-start{padding:1.1rem;max-height:calc(100% - 18rem)}
 .field-lens-start h3{font-size:1.05rem}
 .field-lens-focus{padding:.9rem 1rem}
 .field-lens-focus [data-lens-focus-title]{font-size:1.05rem}
}
@media(max-width:359px){
 .field-lens-top,.field-lens-bottom{padding-left:max(.75rem,env(safe-area-inset-left));padding-right:max(.75rem,env(safe-area-inset-right))}
 .field-lens-top .field-lens-actions{gap:.25rem}
 .field-lens-top .admin-secondary-button{padding:.55rem}
 .field-lens-hud{gap:.25rem}
 .field-lens-hud .admin-secondary-button{padding:.55rem .5rem;gap:.3rem}
 .field-lens-bottom .admin-secondary-button{flex-direction:column;gap:.2rem;font-size:.6rem}
 .field-lens-focus{padding:.7rem .8rem}
}
@media(max-height:650px) and (max-width:599px){
 .field-lens-top{padding-bottom:.5rem}
 .field-lens-compass{margin-top:.55rem}
 .field-lens-radar{display:none}
 .field-lens-focus{gap:.25rem;margin-top:.5rem;padding:.65rem .85rem}
 .field-lens-focus [data-lens-focus-detail]{-webkit-line-clamp:1}
 .field-lens-bottom [data-lens-match]{display:none}
 .field-lens-bottom .field-lens-actions{margin-top:.5rem}
 .field-lens-start{top:calc(50% + 1.5rem);max-height:calc(100% - 21rem)}
}
@media(max-height:550px) and (min-width:600px){
 .field-lens-top{padding:max(.5rem,env(safe-area-inset-top)) max(.75rem,env(safe-area-inset-right)) .25rem max(.75rem,env(safe-area-inset-left))}
 .field-lens-hud{max-width:65%}
 .field-lens-hud .admin-secondary-button{min-height:2.75rem;padding:.45rem .7rem}
 .field-lens-compass{margin:.35rem 0 0 1rem;width:45%;height:2.25rem}
 .field-lens-radar{left:auto;right:max(.75rem,env(safe-area-inset-right));top:4rem;width:4rem}
 .field-lens-bottom{width:49%;padding:.5rem max(.75rem,env(safe-area-inset-right)) max(.5rem,env(safe-area-inset-bottom)) max(.75rem,env(safe-area-inset-left))}
 .field-lens-bottom .field-lens-focus{padding:.5rem .7rem;gap:.2rem;margin-top:.4rem;border-radius:1rem}
 .field-lens-bottom .field-lens-focus [data-lens-focus-title]{font-size:.9rem}
 .field-lens-bottom .field-lens-focus [data-lens-focus-detail]{-webkit-line-clamp:1}
 .field-lens-bottom [data-lens-match]{display:none}
 .field-lens-bottom .field-lens-actions{margin-top:.4rem}
 .field-lens-panel{bottom:.75rem;max-height:calc(100% - 5rem);width:47%;right:.75rem;padding:.85rem}
 .field-lens-start{left:auto;right:.75rem;top:4.5rem;transform:none;width:47%;max-height:calc(100% - 5.25rem);padding:1rem}
 .field-lens-start h3{font-size:1rem}
 .field-lens-start p{font-size:.7rem;margin:.4rem 0}
}

/* Two endpoint selectors with an inline action; stack without overflow on phones. */
@layer utilities {
 .admin-range-filter-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;align-items:end}
 .admin-range-filter-grid>*{min-width:0;margin:0}
 .admin-range-filter-grid>.admin-primary-submit-button{width:100%;min-height:2.75rem;white-space:nowrap}
 @media(min-width:768px){
  .admin-range-filter-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}
  .admin-range-filter-grid>.admin-primary-submit-button{width:auto;padding-inline:1.25rem}
 }
}

/* Fuel month review: derived checks with movement evidence on demand. */
.fuel-close-workspace{--fuel-close-line:var(--color-gray-200,#e4e7ec);--fuel-close-muted:var(--color-gray-500,#667085);--fuel-close-soft:#faf8f3;padding:1.5rem;display:grid;grid-template-columns:minmax(0,1fr);gap:1.25rem;color:var(--color-gray-800,#1d2939)}
.fuel-close-workspace>*{min-width:0}
.fuel-close-workspace [hidden]{display:none!important}
.fuel-close-heading{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.fuel-close-heading>.admin-section-header{padding:0;border:0}
.fuel-close-heading .fuel-close-unit-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.75rem;width:28rem;min-width:0;max-width:100%;flex-shrink:0}.fuel-close-unit-form>button{width:auto;min-width:5rem}
.fuel-close-unit-form>div{min-width:0;flex:1}
.fuel-close-unit-form .admin-field-wrapper{margin:0}
.fuel-close-months{display:flex;gap:.65rem;overflow-x:auto;padding:3px 3px 6px;scrollbar-width:thin}
.fuel-close-month{display:grid;gap:.3rem;flex:1 0 9rem;padding:.8rem 1rem;border:1px solid var(--fuel-close-line);border-radius:.85rem;background:var(--fuel-close-soft);text-decoration:none;color:inherit;min-height:4.25rem}
.fuel-close-month strong{font-size:.875rem;font-weight:650;white-space:nowrap}
.fuel-close-month span{font-size:.75rem;color:var(--fuel-close-muted)}
.fuel-close-month[aria-current]{border-color:var(--color-brand-500,#df1244);box-shadow:0 0 0 1px var(--color-brand-500,#df1244);background:var(--color-brand-50,#fff1f3)}
.fuel-close-range{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;flex-wrap:wrap;font-size:.8rem;color:var(--fuel-close-muted)}
.fuel-close-range strong{font-weight:500;color:inherit;font-variant-numeric:tabular-nums}
.fuel-close-outcome{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:2rem;padding:1.75rem;border:1px solid var(--fuel-close-line);border-radius:1rem;background:var(--fuel-close-soft)}
.fuel-close-status{display:inline-flex;align-items:center;gap:.5rem;padding:.35rem .6rem;border-radius:.45rem;font-size:.8rem;font-weight:600;color:#8a5810;background:#fff1d5}
.fuel-close-outcome[data-fuel-close-state="matched"] .fuel-close-status{color:#17613f;background:#e8f5ec}
.fuel-close-number{font-size:clamp(2.5rem,4.5vw,3.75rem);line-height:1.05;font-weight:650;letter-spacing:-.045em;font-variant-numeric:tabular-nums;margin:1.15rem 0 .35rem}
.fuel-close-number>span{margin-left:.15em;font-size:.45em;color:var(--fuel-close-muted);font-weight:400;letter-spacing:0}
.fuel-close-result-label{font-size:1.125rem;font-weight:550;margin-bottom:.6rem}
.fuel-close-muted{font-size:.8125rem;color:var(--fuel-close-muted);line-height:1.6;overflow-wrap:anywhere}
.fuel-close-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem}
.fuel-close-checks{display:grid;gap:1.5rem;align-content:center;border-left:1px solid var(--fuel-close-line);padding-left:2rem}
.fuel-close-checks strong{font-size:.875rem;font-weight:600}
.fuel-close-checks h3{font-size:.8rem;color:var(--fuel-close-muted);font-weight:500}
.fuel-close-checks .admin-subsection-header{padding:0;margin-bottom:.35rem;border:0}
.fuel-close-equation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.25rem;padding:1.25rem 0;border-bottom:1px solid var(--fuel-close-line)}
.fuel-close-equation>div{min-width:0}
.fuel-close-term{font-size:.75rem;color:var(--fuel-close-muted);display:block;margin-bottom:.5rem}
.fuel-close-equation strong{font-size:1.4rem;letter-spacing:-.035em;font-weight:600;font-variant-numeric:tabular-nums}
.fuel-close-footnote{margin-top:-.5rem}
.fuel-close-investigation{min-width:0}
.fuel-close-readings{display:grid;grid-template-columns:1fr 1fr;gap:2rem;padding:1.25rem 0}
.fuel-close-readings>div{min-width:0}
.fuel-close-readings time,.fuel-close-event-inspector time{font-size:.8125rem;color:var(--fuel-close-muted)}
.fuel-close-workspace dl{margin:.75rem 0;font-size:.8125rem}
.fuel-close-workspace dl>div{display:flex;justify-content:space-between;gap:1rem;padding:.4rem 0}
.fuel-close-workspace dt{color:var(--fuel-close-muted)}
.fuel-close-workspace dd{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.fuel-close-timeline-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(14rem,1fr);gap:1.5rem;padding-top:1.25rem;align-items:start}
.fuel-close-event-list{max-height:34rem;overflow-y:auto;overscroll-behavior:contain;padding:3px}
.fuel-close-event{width:100%;display:grid;grid-template-columns:2rem minmax(0,1fr) auto;align-items:center;gap:.8rem;position:relative;text-align:left;padding:1rem .75rem;border:1px solid transparent;border-bottom-color:var(--fuel-close-line);border-radius:.6rem;background:transparent;color:inherit;min-height:5rem}
.fuel-close-event[aria-pressed="true"]{border-color:var(--color-brand-500,#df1244);background:var(--color-brand-50,#fff1f3)}
.fuel-close-event-node{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:50%;border:1px solid var(--fuel-close-line);background:var(--fuel-close-soft)}
.fuel-close-event-identity{min-width:0;display:grid;gap:.2rem}
.fuel-close-event time,.fuel-close-event small{font-size:.72rem;color:var(--fuel-close-muted);overflow-wrap:anywhere}
.fuel-close-event strong{font-size:.8125rem;font-weight:600}
.fuel-close-event-quantity{text-align:right;display:grid;gap:.3rem;font-variant-numeric:tabular-nums}
.fuel-close-event-inspector{padding:1.25rem;background:var(--fuel-close-soft);border:1px solid var(--fuel-close-line);border-radius:.85rem;overflow-wrap:anywhere;font-size:.875rem}
.fuel-close-checkpoint-list{margin-top:1.5rem}
.fuel-close-checkpoint{display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;padding:.85rem 0;border-top:1px solid var(--fuel-close-line);font-size:.8125rem}
.fuel-close-checkpoint time{flex-basis:100%;color:var(--fuel-close-muted)}
.fuel-close-warning{padding:.8rem 1rem;background:#fff6e4;color:#80510a;border-radius:.65rem;font-size:.8125rem;line-height:1.5}
.fuel-close-empty{padding:1.5rem 0}
.fuel-close-workspace .admin-connection-disclosure{margin:0}
.fuel-close-workspace a:focus-visible,.fuel-close-workspace button:focus-visible{outline:2px solid var(--color-brand-500,#df1244);outline-offset:3px}
.dark .fuel-close-workspace{--fuel-close-line:var(--color-gray-700,#344054);--fuel-close-muted:var(--color-gray-400,#98a2b3);--fuel-close-soft:#202329;color:var(--color-gray-100,#f2f4f7)}
.dark .fuel-close-month[aria-current],.dark .fuel-close-event[aria-pressed="true"]{background:#3b242d}
.dark .fuel-close-status,.dark .fuel-close-warning{color:#efc27c;background:#392f20}
.dark .fuel-close-outcome[data-fuel-close-state="matched"] .fuel-close-status{color:#90d0aa;background:#20382b}
@media(max-width:1100px){.fuel-close-heading{align-items:stretch;flex-direction:column}.fuel-close-heading .fuel-close-unit-form{width:100%;max-width:none;min-width:0}.fuel-close-timeline-layout{grid-template-columns:minmax(0,1fr) minmax(13rem,.8fr)}}
@media(max-width:639px){.fuel-close-workspace{padding:1rem;gap:1rem}.fuel-close-outcome{grid-template-columns:1fr;padding:1.15rem;gap:1.5rem}.fuel-close-checks{padding:1.1rem 0 0;border-left:0;border-top:1px solid var(--fuel-close-line);gap:1rem}.fuel-close-equation{grid-template-columns:1fr 1fr;gap:1.25rem}.fuel-close-equation strong{font-size:1.2rem}.fuel-close-readings{grid-template-columns:1fr;gap:1rem}.fuel-close-timeline-layout{grid-template-columns:1fr}.fuel-close-event-list{max-height:22rem}.fuel-close-event{grid-template-columns:1.7rem minmax(0,1fr);gap:.65rem;padding:.8rem .5rem}.fuel-close-event-quantity{grid-column:2;text-align:left;display:flex;justify-content:space-between;flex-wrap:wrap}.fuel-close-event-node{width:1.7rem;height:1.7rem}.fuel-close-range strong{line-height:1.7}.fuel-close-unit-form{gap:.5rem}.fuel-close-unit-form .admin-submit-button{padding-inline:.8rem}.fuel-close-checkpoint{gap:.5rem}.fuel-close-month{flex-basis:8rem}}

/* Dedicated month review: one selected issue and its evidence. */
.fuel-review-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.fuel-review-summary[data-fuel-close-state="matched"] .fuel-close-status{color:#17613f;background:#e8f5ec}
.fuel-review-layout{display:grid;grid-template-columns:minmax(13rem,1fr) minmax(0,3fr);border:1px solid var(--fuel-close-line);border-radius:1rem;overflow:clip}
.fuel-review-queue{padding:1.25rem;background:var(--fuel-close-soft);border-right:1px solid var(--fuel-close-line);display:flex;flex-direction:column;gap:.6rem}
.fuel-review-eyebrow{font-size:.72rem;letter-spacing:.055em;text-transform:uppercase;color:var(--fuel-close-muted);margin:0 0 .75rem}
.fuel-review-queue .fuel-review-issue{white-space:normal;text-align:left;justify-content:flex-start;align-items:flex-start;line-height:1.5;width:100%;padding:1rem .8rem;border-color:transparent;background:transparent;font-size:.85rem;box-shadow:none;min-height:4.5rem}
.fuel-review-issue>i{flex-shrink:0;margin-top:.2rem}
.fuel-review-queue .fuel-review-issue[aria-pressed="true"]{background:#fff;border-color:var(--color-brand-500,#df1244);color:var(--color-brand-700,#b90d38);box-shadow:0 2px 5px #00000005}
.fuel-review-content{padding:1.75rem;min-width:0}
.fuel-review-content .admin-section-title{font-size:1.4rem;line-height:1.4;margin-bottom:.6rem}
.fuel-review-comparison{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:1.5rem;padding:1.5rem;margin:1.5rem 0;background:var(--fuel-close-soft);border-radius:.85rem}
.fuel-review-comparison>div{display:grid;gap:.5rem;min-width:0}
.fuel-review-comparison span{font-size:.8rem;color:var(--fuel-close-muted)}
.fuel-review-comparison strong{font-size:clamp(1.35rem,2.3vw,2rem);font-weight:650;letter-spacing:-.035em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.fuel-review-facts{display:grid;grid-template-columns:1fr 1fr;gap:1.75rem;font-size:.85rem;line-height:1.6}
.fuel-review-facts>div{min-width:0}
.fuel-review-facts .admin-subsection-title{font-size:.85rem;margin-bottom:.45rem}
.fuel-review-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid var(--fuel-close-line)}
.fuel-review-matched{background:var(--fuel-close-soft);padding:1.5rem;border:1px solid var(--fuel-close-line);border-radius:1rem;display:grid;gap:1rem;justify-items:start}
#fuel-review-evidence{scroll-margin-top:6rem}
.dark .fuel-review-queue .fuel-review-issue[aria-pressed="true"]{background:#3b242d;color:#f8a0b5}
.dark .fuel-review-summary[data-fuel-close-state="matched"] .fuel-close-status{color:#90d0aa;background:#20382b}
@media(max-width:900px){.fuel-review-layout{grid-template-columns:1fr}.fuel-review-queue{border-right:0;border-bottom:1px solid var(--fuel-close-line);display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.fuel-review-queue .fuel-review-eyebrow{grid-column:1/-1}.fuel-review-content{padding:1.25rem}}
@media(max-width:639px){.fuel-review-summary{align-items:flex-start;flex-direction:column}.fuel-review-queue{padding:1rem;gap:.5rem}.fuel-review-queue .fuel-review-issue{font-size:.75rem;padding:.7rem;gap:.4rem}.fuel-review-comparison{gap:.65rem;padding:1rem}.fuel-review-comparison strong{font-size:1.25rem}.fuel-review-facts{grid-template-columns:1fr;gap:1rem}.fuel-review-actions>*{width:100%}}

.fuel-review-period-tools{align-items:center;padding-top:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--fuel-close-line)}
.fuel-review-period-tools .fuel-close-unit-form{width:22rem;align-items:center}
.fuel-review-period-tools .fuel-close-unit-form>div{position:relative}
.fuel-review-period-tools .fuel-close-unit-form>div>label{position:absolute;bottom:calc(100% + .5rem);margin:0;white-space:nowrap}
.fuel-review-period-tools .fuel-close-months{min-width:0;flex:1;padding-bottom:3px}
@media(max-width:1100px){.fuel-review-period-tools .fuel-close-unit-form{width:100%}.fuel-review-period-tools .fuel-close-months{width:100%}}

.fuel-balance-details{display:grid;gap:.35rem;margin-top:.75rem;font-size:.75rem;line-height:1.5;color:var(--fuel-close-muted);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}

/* Fuel history dialogs: one selected tank, readable observations, details on demand. */
.fuel-history [hidden]{display:none!important}
.fuel-history-context{display:flex;justify-content:space-between;gap:1rem;align-items:center;font-size:.875rem;overflow-wrap:anywhere}
.fuel-history-context>span,.fuel-history-hint,.fuel-history-record-heading>span{font-size:.75rem;color:var(--color-gray-500,#667085)}
.fuel-history-hint{line-height:1.6;margin:.5rem 0 1rem;overflow-wrap:anywhere}
.fuel-history-list{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.8rem}
.fuel-history-record{border:1px solid var(--color-gray-200,#e4e7ec);border-radius:.85rem;padding:1rem;background:var(--color-gray-50,#fafafa);min-width:0}
.fuel-history-record-heading{display:flex;justify-content:space-between;gap:1rem;font-size:.8125rem;font-weight:600;font-variant-numeric:tabular-nums}
.fuel-history-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}
.fuel-history-values>div{display:grid;gap:.35rem;min-width:0}
.fuel-history-values span{font-size:.75rem;color:var(--color-gray-500,#667085)}
.fuel-history-values strong{font-size:1.25rem;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.fuel-history-reference{font-size:.8125rem;overflow-wrap:anywhere;margin-bottom:.75rem}
.fuel-history-record .admin-connection-disclosure{margin:0}
.fuel-history-record .admin-connection-disclosure>summary{font-size:.75rem;padding-block:.65rem}
.fuel-history-empty{padding:2rem 1rem;text-align:center;font-size:.875rem;color:var(--color-gray-500,#667085)}
.dark .fuel-history-record{background:var(--color-gray-800,#1d2939);border-color:var(--color-gray-700,#344054)}
@media(max-width:639px){.fuel-history-context{align-items:flex-start;flex-direction:column;gap:.25rem}.fuel-history-record{padding:.85rem}.fuel-history-values{gap:.6rem}.fuel-history-values strong{font-size:1.1rem}}

/* Measured warehouse layout: one canvas and shared admin inspector controls. */
@layer utilities {
    .warehouse-dimensions-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; align-items:start; }
    .warehouse-dimensions-grid-volume { grid-template-columns:repeat(5,minmax(0,1fr)); }
    .warehouse-dimensions-grid>div, .warehouse-dimensions-grid input { min-width:0; }
    .warehouse-layout-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; margin:.8rem 0; }
    .warehouse-layout-toolbar button { min-height:44px; }
    .warehouse-layout-toolbar button[aria-pressed="true"] { color:var(--color-primary,#9b3038); background:rgba(155,48,56,.08)!important; border-color:currentColor!important; }
    .warehouse-layout-view-switch { display:flex; gap:0; padding:3px; border:1px solid #ded8d2; border-radius:.8rem; background:#f4f2ef; }
    .warehouse-layout-view-switch button { border-color:transparent!important; background:transparent!important; box-shadow:none!important; border-radius:.6rem; }
    .warehouse-layout-view-switch button[aria-pressed="true"] { background:#fff!important; border-color:#ded8d2!important; color:#822a33!important; }
    .warehouse-layout-action-group { display:flex; gap:.25rem; padding-inline-start:.5rem; border-inline-start:1px solid #ded8d2; }
    .warehouse-layout-toolbar .warehouse-layout-icon-action { flex:0 0 44px!important; width:44px!important; max-width:44px; min-width:44px; height:44px; padding:0; }
    .warehouse-layout-icon-action>span { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
    .warehouse-layout-selection-actions { margin:.5rem 0; }
    .dark .warehouse-layout-view-switch { background:#222b36; border-color:#475467; }
    .dark .warehouse-layout-view-switch button[aria-pressed="true"] { background:#472d35!important; border-color:#cf9ba0!important; color:#f8d9dc!important; }
    .dark .warehouse-layout-action-group { border-color:#475467; }
    .warehouse-layout-workspace { --warehouse-scene-height:clamp(420px,calc(100dvh - 300px),680px); display:grid; grid-template-columns:minmax(0,1fr) 18px min(48%,var(--warehouse-inspector-width,420px)); gap:0; align-items:start; min-width:0; }
    .warehouse-layout-scene { position:relative; min-width:0; height:var(--warehouse-scene-height); border:1px solid var(--color-gray-200,#e4e7ec); border-radius:1rem; overflow:hidden; background:radial-gradient(ellipse at 50% 40%,#fffdfa,#eeece6); }
    .warehouse-layout-scene canvas { display:block; width:100%; height:100%; touch-action:none; cursor:grab; }
    .warehouse-layout-scene canvas:active { cursor:grabbing; }
    .warehouse-layout-scene canvas:focus-visible { outline:3px solid var(--color-primary,#9b3038); outline-offset:-4px; }
    .warehouse-layout-scene canvas.warehouse-layout-drawing { cursor:crosshair; }
    .warehouse-layout-empty { position:absolute; inset:0; display:grid; place-content:center; text-align:center; padding:2rem; color:var(--color-gray-500,#667085); font-size:.875rem; }
    .warehouse-layout-hint { position:absolute; bottom:.8rem; inset-inline:.8rem; margin:0; text-align:center; font-size:.72rem; line-height:1.5; color:var(--color-gray-600,#475467); pointer-events:none; }
    .warehouse-layout-inspector { min-width:0; max-height:var(--warehouse-scene-height); overflow:auto; padding:0 .4rem .5rem; scrollbar-width:thin; overscroll-behavior:contain; scroll-padding:1rem; }
    .warehouse-layout-fields { display:block; min-width:0; border:0; padding:.5rem 0 0; }
    .warehouse-layout-fields-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; }
    .warehouse-layout-fields-grid>[data-layout-field-group="child"], .warehouse-layout-fields-grid>[data-layout-field-group="door"], .warehouse-layout-fields-grid>[data-layout-field-group="storage"]:last-child:nth-child(odd) { grid-column:1/-1; }
    .warehouse-layout-fields label { font-size:.8rem; }
    .warehouse-layout-fields input { min-width:0; }
    .warehouse-layout-offset { display:grid; grid-template-columns:minmax(0,1fr) 6.5rem; gap:.65rem; align-items:end; }
    .warehouse-layout-commandbar { position:sticky; top:64px; z-index:30; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem; padding:.5rem 0; background:var(--color-white,#fff); border-bottom:1px solid var(--color-gray-200,#e4e7ec); }
    .warehouse-layout-commandbar .warehouse-layout-toolbar { margin:0; }
    .warehouse-layout-commandbar button, .warehouse-layout-display button { padding:.55rem .75rem; font-size:.8rem; min-height:44px; }
    .warehouse-layout-savebar button { width:auto!important; flex:0 0 auto; }
    .warehouse-layout-savebar { display:flex; align-items:center; gap:.6rem; flex-wrap:wrap; }
    #warehouse-layout-save-state { font-size:.75rem; color:#36765a; }
    #warehouse-layout-save-state.warehouse-layout-unsaved { color:#9b3038; }
    .warehouse-layout-display { display:flex; align-items:center; flex-wrap:wrap; gap:.4rem; padding:.7rem 0; }
    .warehouse-layout-options { padding:0 1rem .8rem; margin:.5rem 0; border:1px solid var(--color-gray-200,#e4e7ec); border-radius:.75rem; }
    .warehouse-layout-options>div:not(.warehouse-layout-display) { max-width:28rem; }
    .warehouse-layout-add { margin-bottom:1rem; padding:.65rem .85rem; border:1px solid var(--color-gray-200,#e4e7ec); border-radius:.75rem; }
    .warehouse-layout-add>summary { cursor:pointer; min-height:44px; display:list-item; align-content:center; font-size:.875rem; font-weight:600; }
    .warehouse-layout-add[open]>summary { margin-bottom:.6rem; }
    .warehouse-layout-selection-summary { display:grid; gap:.8rem; padding-top:.5rem; margin:0; font-size:.875rem; }
    .warehouse-layout-selection-summary>div { display:grid; gap:.2rem; overflow-wrap:anywhere; }
    .warehouse-layout-selection-summary dt { color:var(--color-gray-500,#667085); font-size:.75rem; }
    .warehouse-layout-selection-summary dd { margin:0; font-variant-numeric:tabular-nums; }
    .warehouse-layout-capacity { margin-top:1rem; padding:.85rem; border-radius:.65rem; background:#f4f7f5; color:#315c49; font-size:.875rem; font-weight:600; line-height:1.6; overflow-wrap:anywhere; }
    .warehouse-layout-preset, .warehouse-layout-storage-more { margin:.7rem 0; }
    .warehouse-layout-preset>summary, .warehouse-layout-storage-more>summary { cursor:pointer; min-height:44px; align-content:center; font-size:.8125rem; font-weight:600; }
    .warehouse-layout-preset[open], .warehouse-layout-storage-more[open] { padding-bottom:.5rem; }
    .warehouse-layout-preset .warehouse-layout-fields-grid { margin:.7rem 0; }
    .warehouse-layout-preset .warehouse-layout-fields-grid>div:first-child { grid-column:1/-1; }
    .warehouse-layout-storage-more .warehouse-layout-fields-grid { margin-top:.5rem; }
    .dark .warehouse-layout-capacity { background:#223b30; color:#c4e6d4; }
    .warehouse-layout-workspace { margin-top:1rem; }
    .dark .warehouse-layout-options, .dark .warehouse-layout-add { border-color:#344054; }
    .dark .warehouse-layout-selection-summary dt { color:#b4bdc9; }
    .dark [data-warehouse-layout] { color:#e4e7ec; }
    .dark [data-warehouse-layout] .admin-field-help, .dark .warehouse-layout-selection-heading span { color:#b4bdc9!important; }
    .dark [data-warehouse-layout] :is(.admin-field-label-strong,.admin-field-label-icon), .dark .warehouse-layout-property-section h4 { color:#d0d5dd!important; }
    .dark #warehouse-layout-save-state { color:#9bd6b8; }
    .dark #warehouse-layout-save-state.warehouse-layout-unsaved { color:#f0b1b7; }
    .dark .warehouse-layout-toolbar button[aria-pressed="true"] { color:#f8d9dc!important; background:#472d35!important; border-color:#cf9ba0!important; }
    .warehouse-layout-display button[aria-pressed="true"] { background:#f5edee!important; border-color:#cf9ba0!important; color:#822a33!important; }
    .warehouse-layout-divider { min-height:var(--warehouse-scene-height); touch-action:none; cursor:col-resize; position:relative; }
    .warehouse-layout-divider::after { content:''; position:absolute; top:38%; bottom:38%; left:7px; width:4px; border-radius:4px; background:#d9d4d1; }
    .warehouse-layout-divider:focus-visible { outline:2px solid #9b3038; outline-offset:-2px; }
    .warehouse-layout-selection-heading { display:flex; flex-direction:column; gap:.25rem; padding-top:1rem; overflow-wrap:anywhere; }
    .warehouse-layout-selection-heading strong { font-size:1rem; }
    .warehouse-layout-selection-heading span { font-size:.75rem; color:#667085; }
    .warehouse-layout-property-section { border-top:1px solid #e4e7ec; margin-top:1rem; padding-top:.8rem; }
    .warehouse-layout-property-section h4 { font-size:.75rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:#667085; margin:0 0 .8rem; }
    .warehouse-layout-fields:disabled { opacity:.65; }
    .warehouse-layout-fields>button { margin-top:1rem; }
    .warehouse-layout-issues { border:1px solid #f0b4ae; border-radius:.75rem; background:#fff8f6; padding:.75rem; margin:.6rem 0; }
    .warehouse-layout-issues>strong { display:block; font-size:.8rem; margin-bottom:.4rem; color:#912018; }
    #warehouse-layout-issue-list { display:flex; flex-direction:column; gap:.35rem; max-height:150px; overflow:auto; }
    #warehouse-layout-issue-list button { text-align:left; justify-content:flex-start; white-space:normal; min-height:44px; font-size:.8rem; padding:.5rem; }
    .warehouse-layout-camera-settings { margin-top:.8rem; }
    .warehouse-layout-camera-settings summary { cursor:pointer; min-height:44px; font-size:.8rem; font-weight:600; }
    .warehouse-layout-keyboard { margin-top:.8rem; }
    .warehouse-layout-expanded { position:fixed!important; inset:0!important; z-index:9990; margin:0!important; padding:1.25rem 1.5rem; width:100%; height:100dvh; background:var(--color-white,#fff); overflow:auto; overscroll-behavior:contain; }
    .warehouse-layout-expanded .warehouse-layout-commandbar { top:-1.25rem; padding:.75rem 0; }
    .warehouse-layout-expanded .warehouse-layout-workspace { --warehouse-scene-height:clamp(420px,calc(100dvh - 230px),950px); }
    .warehouse-layout-expanded-open body, .warehouse-layout-expanded-open .admin-main-scroll { overflow:hidden!important; }
    /* The mobile shell transform otherwise makes a fixed workspace scroll with the page. */
    .warehouse-layout-expanded-open .admin-main-root { transform:none!important; will-change:auto!important; }
    .dark .warehouse-layout-commandbar, .dark .warehouse-layout-expanded { background:#171d24; }
    .dark .warehouse-layout-display button[aria-pressed="true"] { background:#472d35!important; color:#f8d9dc!important; border-color:#cf9ba0!important; }
    .dark .warehouse-layout-issues { background:#352522; border-color:#7a453e; }
    .dark .warehouse-layout-issues>strong { color:#ffb4ad; }
    .warehouse-layout-camera { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin-top:1rem; max-width:38rem; }
    .warehouse-layout-camera input[type="range"], .warehouse-layout-offset input[type="range"] { padding:0; accent-color:var(--color-primary,#9b3038); cursor:pointer; }
    .warehouse-layout-offset input[type="range"]:disabled { cursor:default; opacity:.5; }
    .warehouse-layout-summary { font-size:.9rem; font-weight:600; margin-top:.8rem; }
    .warehouse-layout-error { color:var(--color-error-600,#d92d20)!important; }
    .warehouse-layout-reference { margin-top:1.2rem; padding-top:1rem; border-top:1px solid var(--color-gray-200,#e4e7ec); }
    .warehouse-layout-reference summary { font-size:.875rem; font-weight:600; cursor:pointer; min-height:44px; }
    .warehouse-layout-reference input[type="file"] { max-width:100%; }
    [data-warehouse-layout] [hidden] { display:none!important; }
    .dark .warehouse-layout-scene { background:radial-gradient(ellipse at 50% 40%,#28313b,#171d24); border-color:#344054; }
    .dark .warehouse-layout-hint, .dark .warehouse-layout-empty { color:#b4bdc9; }
    .dark .warehouse-layout-reference { border-color:#344054; }
    .dark .warehouse-layout-error { color:#fda29b!important; }
    @media(max-width:1199px) {
        .warehouse-dimensions-grid-volume { grid-template-columns:repeat(3,minmax(0,1fr)); }
        .warehouse-layout-workspace { grid-template-columns:minmax(0,1fr); gap:1rem; }
        .warehouse-layout-divider { display:none; }
        .warehouse-layout-inspector { max-height:none; overflow:visible; }
        .warehouse-layout-fields-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
        .warehouse-layout-scene { height:460px; }
    }
    @media(max-width:639px) {
        .warehouse-dimensions-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
        .warehouse-layout-scene { height:340px; }
        .warehouse-layout-commandbar { position:static; }
        .warehouse-layout-expanded { padding:1rem!important; }
        .warehouse-layout-camera { grid-template-columns:minmax(0,1fr); gap:.4rem; }
        .warehouse-layout-toolbar { gap:.25rem; }
        .warehouse-layout-toolbar button { flex:1 1 auto; }
    }
    @media(max-width:379px) {
        .warehouse-dimensions-grid { grid-template-columns:minmax(0,1fr); }
    }
}

/* Invoice/credit settlement: adjacent add actions and a full-width confirmation. */
.admin-financial-quick-review .admin-financial-match-actions[data-financial-settlement-actions]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
.admin-financial-quick-review .admin-financial-match-actions[data-financial-settlement-actions]>button{min-width:0;white-space:normal}
.admin-financial-quick-review .admin-financial-match-actions[data-financial-settlement-actions]>button[type="submit"]{grid-column:1/-1;width:100%}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-match-actions[data-financial-settlement-actions]{grid-template-columns:repeat(2,minmax(0,1fr))}
