/*
 * 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 .3s ease,visibility 0s linear .3s;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(17,24,39,.5);opacity:0;transition:opacity .3s ease}
.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(224,50,2,.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-delay: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}
.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(224,50,2,.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,#4661ff);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)}
.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,#4661ff)}
.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,#4661ff)}

:root{
  --primary-color:#e03202;
  --color-primary:#e03202;
  --color-brand-50:#fff4ef;
  --color-brand-100:#ffe4d9;
  --color-brand-300:#fb9a78;
  --color-brand-500:#e03202;
  --color-brand-600:#c52c00;
  --color-brand-700:#9f2708;
}

/* 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}
.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,#e03202);box-shadow:0 0 0 3px rgba(224,50,2,.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-shell{width:268px;overflow:hidden;border-right:1px solid #ded9d1;background:rgba(255,253,249,.96);padding:0 1rem 1.5rem;box-shadow:8px 0 30px rgba(28,25,23,.035)}
.admin-workspace-page .admin-sidebar-scroll{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d6d3d1 transparent}
.admin-workspace-page .admin-sidebar-scroll::-webkit-scrollbar{width:6px}
.admin-workspace-page .admin-sidebar-scroll::-webkit-scrollbar-thumb{border-radius:999px;background:#d6d3d1}
.admin-workspace-page .admin-sidebar-logo-link{min-height:112px;justify-content:flex-start;border-bottom:1px solid #e9e4dc}
.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-size:1.15rem;line-height:1.35;font-weight:700;letter-spacing:-.025em;color:#1c1917}
.admin-workspace-page .admin-sidebar-brand-copy small{font-size:.62rem;line-height:1rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#a8a29e}
.admin-workspace-page .admin-sidebar-nav{gap:.2rem;padding-top:1rem}
.admin-workspace-page .admin-sidebar-divider{margin:.8rem .75rem .55rem;border-color:#ebe6de}
.admin-workspace-page .admin-sidebar-section-row,.admin-workspace-page .admin-sidebar-section-row-simple{padding:.35rem .75rem}
.admin-workspace-page .admin-sidebar-section-title{color:#a8a29e;font-size:.67rem;letter-spacing:.14em}
.admin-workspace-page .admin-sidebar-stage::first-letter{color:#2563eb}
.admin-workspace-page .admin-sidebar-section-count{color:#b9b2a8}
.admin-workspace-page .menu-item{min-height:2.75rem;border:1px solid transparent;border-radius:.75rem;padding:.65rem .75rem;color:#57534e}
.admin-workspace-page .menu-item:hover{border-color:#e9e4dc;background:#fff;color:#292524}
.admin-workspace-page .menu-item-active{border-color:#fed7cc;background:#fff4ef;color:#c93c14;box-shadow:inset 3px 0 0 #e03202}
.admin-workspace-page .menu-item-active svg,.admin-workspace-page .menu-item-icon-active{color:#e03202;fill:currentColor}
.admin-workspace-page .menu-item-inactive svg,.admin-workspace-page .menu-item-icon-inactive{color:#78716c}

.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-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-host.admin-header-search-mobile-open{position:fixed;top:4.8rem;right:1rem;left:1rem;z-index:60;display:block;max-width:none;border:1px solid #ded9d1;border-radius:1rem;background:rgba(247,244,237,.96);padding:.75rem;box-shadow:0 12px 30px rgba(28,25,23,.14);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.dark .admin-header-search-host.admin-header-search-mobile-open{border-color:#344054;background:rgba(16,24,40,.96)}
.admin-header-search-host.admin-header-search-mobile-open .admin-header-search-shell{max-width: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:#e03202;background:#fff;box-shadow:0 0 0 3px rgba(224,50,2,.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(224,50,2,.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-flag{font-size:18px;line-height:28px}}

.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:#fff4ef;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:#e03202;box-shadow:0 1px 2px rgba(159,39,8,.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:#c52c00;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(224,50,2,.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:#e03202;outline:0;box-shadow:0 0 0 3px rgba(224,50,2,.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:#e03202;box-shadow:0 0 0 3px rgba(224,50,2,.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:#9f2708}
.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(224,50,2,.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:#e03202;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:#fff4ef;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(28,25,23,.12)}
  .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:block!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-icon-button [data-admin-sidebar-mobile-close-icon]{display:none!important}
  .admin-header-icon-button [data-admin-sidebar-mobile-open-icon]{display:inline-flex!important}
  .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-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:#fff4ef;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;filter:grayscale(.8)}
#submit-btn:disabled{background-color:var(--primary-color)!important}
#google-signin-btn:disabled{background-color:#fff!important;border-color:#d1d5db!important}
#submit-btn{display:flex!important;visibility:visible!important;opacity:1!important;background-color:var(--primary-color)!important;color:#fff!important}
button#submit-btn{opacity:1!important;background-color:var(--primary-color)!important;color:#fff!important}
.cf-turnstile~* button#submit-btn,form button#submit-btn{opacity:1!important;background-color:var(--primary-color)!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(224,50,2,.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(224,50,2,.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 .75rem 2.75rem;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:#e03202;background:#fff;outline:0;box-shadow:0 0 0 3px rgba(224,50,2,.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 #e03202;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:#e03202;padding:.75rem 1rem;font-size:.9rem;line-height:1.25rem;font-weight:700;color:#fff;box-shadow:0 8px 18px rgba(184,41,2,.18);transition:background-color .15s ease,box-shadow .15s ease,transform .15s ease,opacity .15s ease}
.login-submit-btn:hover{background:#c92d00;box-shadow:0 10px 22px rgba(184,41,2,.24);transform:translateY(-1px)}
.login-submit-btn:disabled{cursor:not-allowed;opacity:.7}
.login-submit-btn[aria-busy="true"],.admin-login-secondary-button[aria-busy="true"]{transform:none}
@media (prefers-reduced-motion:reduce){.login-submit-btn[aria-busy="true"] .animate-spin,.admin-login-secondary-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(224,50,2,.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:#e03202;box-shadow:0 0 0 5px #e0320226,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{border:0;border-radius:0;background:transparent;padding:0;box-shadow:none;backdrop-filter:none}
.admin-login-form-plain .relative:focus-within .login-input-icon{color:#c93c14}
.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 .login-submit-btn{position:relative;isolation:isolate;overflow:hidden;border:1px solid #c24f2c;background:linear-gradient(135deg,#e56635,#c54122);box-shadow:0 10px 24px #c64a2426,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)}
@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 #c64a243d}}
/* 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{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{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 #e03202;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:#797269;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 #c24f2c;background:linear-gradient(135deg,#e56635,#c54122);box-shadow:0 8px 22px #c64a2424,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 #c64a2438}}
.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:#e03202;outline:0;box-shadow:0 0 0 3px rgba(224,50,2,.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:#e03202;background:#fff8f5;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 #e03202;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 #e03202;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:#e03202;color:#fff;font-size:.78rem;line-height:1;font-weight:800;box-shadow:0 4px 10px rgba(224,50,2,.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(224,50,2,.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 #e03202;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-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{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;width:2.75rem;height:2.75rem;flex-shrink:0;align-items:center;justify-content:center;border:1px solid #d1d5db;border-radius:.625rem;background:#fff;color:#4b5563}
.admin-ni-field-ask:hover,.admin-ni-field-ask:focus-visible{border-color:var(--admin-ai-brand);color:var(--admin-ai-brand);background:var(--admin-ai-brand-soft)}
.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{border-color:#4b5563;background:#1f2937;color:#d1d5db}
.dark .admin-ni-field-ask:hover,.dark .admin-ni-field-ask:focus-visible{border-color:#818cf8;color:#c7d2fe;background:rgba(129,140,248,.12)}

.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:#e03202;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:#e03202}
.admin-brand-bg{background-color:#e03202}
.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-microcopy{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:.35rem 1rem;color:#6b7280;font-size:.75rem;line-height:1.125rem}
.admin-footer-shell{border-top:1px solid #e5e7eb;background:#fff;padding-top:.5rem;padding-bottom:.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-brand-500,#465fff)}
.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-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,#4661ff)}
.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 #e03202;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-brand-500,#465fff)}
.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-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,#4661ff)}
.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-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-brand-500,#465fff);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-brand-500,#465fff);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-brand-500,#465fff)}
.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-brand-500,#465fff)}
.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}
/* Temperature-first overview: one surface, neutral readings, explicit availability. */
.admin-dashboard-cooling-section .admin-dashboard-cooling-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:0}
.admin-dashboard-cooling-tile{min-width:0;padding:1.25rem 1.5rem;border-bottom:1px solid var(--color-gray-200,#e5e7eb)}
.admin-dashboard-cooling-tile:nth-child(even){border-left:1px solid var(--color-gray-200,#e5e7eb)}
.admin-dashboard-cooling-tile:last-child,.admin-dashboard-cooling-tile:nth-last-child(2):nth-child(odd){border-bottom:0}
.admin-dashboard-cooling-section .admin-dashboard-cooling-link{display:inline-flex;align-items:center;min-height:2.75rem;font-size:1rem;font-weight:650;color:var(--color-gray-900,#111827);overflow-wrap:anywhere}
.admin-dashboard-cooling-section .admin-dashboard-cooling-link:hover{color:var(--color-brand-500)}
.admin-dashboard-cooling-reading{display:flex;align-items:baseline;gap:.4rem;min-height:2.75rem;margin:.4rem 0 .65rem;color:var(--color-gray-900,#111827);font-variant-numeric:tabular-nums}
.admin-dashboard-cooling-temperature{font-size:2.125rem;line-height:1.2;letter-spacing:-.04em}
.admin-dashboard-cooling-reading>span{font-size:1.125rem;color:var(--color-gray-500,#667085)}
.admin-dashboard-cooling-reading>.admin-dashboard-cooling-missing{font-size:1rem;font-weight:500}
.admin-dashboard-cooling-values{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;margin:0;font-size:.875rem}
.admin-dashboard-cooling-values>div{display:flex;gap:.4rem;flex-wrap:wrap}
.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-activity-row{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}
.admin-dashboard-cooling-activity-label{color:var(--color-gray-500,#667085);font-size:.75rem;font-weight:600}
.admin-dashboard-cooling-difference{margin-top:.65rem;font-size:.875rem;color:var(--color-gray-600,#475467)}
.admin-dashboard-cooling-alarm{margin-top:.65rem;color:#b42318;font-size:.875rem;font-weight:600}
.admin-dashboard-cooling-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.25rem 1rem;margin-top:.8rem}
.admin-dashboard-cooling-availability{min-width:0;font-size:.8125rem;line-height:1.6;color:var(--color-gray-500,#667085);overflow-wrap:anywhere}
.admin-dashboard-cooling-section .admin-dashboard-cooling-retry{font-size:.875rem;margin:0}
.admin-dashboard-cooling-tile.is-stale .admin-dashboard-cooling-availability{color:#854a0e}
.admin-dashboard-cooling-section [hidden]{display:none!important}
@media(max-width:639px){
    .admin-dashboard-cooling-section .admin-dashboard-cooling-grid{grid-template-columns:minmax(0,1fr)}
    .admin-dashboard-cooling-tile:nth-child(even){border-left:0}
    .admin-dashboard-cooling-tile{padding:1.25rem}
    .admin-dashboard-cooling-tile:nth-last-child(2):nth-child(odd){border-bottom:1px solid var(--color-gray-200,#e5e7eb)}
    .admin-dashboard-cooling-temperature{font-size:1.875rem}
}

.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-brand-500,#465fff)}
.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-brand-500,#465fff)}
.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,#4661ff)}
.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,#4661ff);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,#4661ff);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,#4661ff);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-brand-500,#465fff)}
.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,#4661ff)}
.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,#4661ff)}
.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,#e03202);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-brand-500,#e03202)}
.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-brand-500,#e03202);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-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}
.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-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-brand-500,#465fff)}
.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,#4661ff)}
.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}
.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-operational-parent{border:1px solid #e5e7eb;border-radius:.75rem;background:#fff}
.admin-operational-parent-summary{display:flex;cursor:pointer;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;list-style:none}
.admin-operational-parent-summary::-webkit-details-marker{display:none}
.admin-operational-parent-title{display:block;font-size:1rem;line-height:1.5rem;font-weight:700;color:#111827}
.admin-operational-parent-meta{display:block;margin-top:.125rem;font-size:.75rem;line-height:1rem;color:#6b7280}
.admin-operational-parent-children{border-top:1px solid #e5e7eb}
.dark .admin-operational-parent{border-color:#374151;background:#111827}
.dark .admin-operational-parent-title{color:#f9fafb}
.dark .admin-operational-parent-children{border-color:#374151}
.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,#4661ff)}
.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 #e03202;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-brand-500,#465fff)}
.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-brand-500,#465fff);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,#4661ff)}
.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{display:flex;align-items:center;gap:.75rem;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}
.admin-header-dropdown-item: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,#4661ff)}
.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,#4661ff)}
.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{display:flex;width:100%;align-items:center;gap:.75rem;border-radius:.5rem;padding:.5rem .75rem;text-align:left;font-size:.875rem;line-height:1.25rem;font-weight:500;color:#374151;transition:background-color .15s ease,color .15s ease}
.admin-header-signout-button:hover{background:#f3f4f6;color:#374151}
.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,#4661ff)}
.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-brand-500,#465fff);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-brand-500,#465fff)}
.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(224,50,2,.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(224,50,2,.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(224,50,2,.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(224,50,2,.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:#fff1eb;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:#b02500;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,#4661ff)}
.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,#4661ff)!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,#4661ff)!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-brand-500,#465fff)}
.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-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,#4661ff)}
.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,#4661ff)}
.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 #c4320a;border-radius:.75rem;background:#e03202;padding:.875rem 1rem;color:#fff;font-size:1rem;line-height:1.5rem;font-weight:750;box-shadow:0 4px 12px rgba(224,50,2,.22);touch-action:manipulation}
.admin-secondary-button.admin-processing-image-camera-action:hover{border-color:#b42318;background:#c4320a;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:#e03202;box-shadow:0 0 0 3px rgba(224,50,2,.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:#c4320a;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-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}}
@media (max-width:767.98px){#harvest-stock-table tbody>tr.admin-harvest-row-needs-label-assignment{border-color:#fedf89;background:#fffcf5;box-shadow:inset .25rem 0 0 #f79009}#harvest-stock-table tbody>tr.admin-harvest-row-needs-label-assignment:hover{background:#fff8e8}}
.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:42rem}
.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}
.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}
#financial_payments_table .admin-table-action-cell .admin-action-text-link{min-width:2.75rem;min-height:2.75rem}
#financial_payments_table .admin-table-action-head,#financial_payments_table .admin-table-action-cell{min-width:4.75rem}
.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}
.admin-financial-allocated-invoice-link{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-allocated-invoice-number{min-width:0;overflow-wrap:anywhere}
.admin-financial-allocated-invoice-link:hover{background:#fff7f3;color:#b93815}
.admin-financial-allocated-invoice-link:focus-visible{outline:2px solid #f26a3d;outline-offset:2px;background:#fff7f3;color:#b93815}
.dark .admin-financial-allocated-invoice-link{color:#e4e7ec}
.dark .admin-financial-allocated-invoice-icon{background:#492517;color:#ffb39c}
.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:18rem;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 .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 .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 .admin-base-dropdown-trigger:hover{border-color:#98a2b3}
.admin-financial-status-dropdown[data-admin-dropdown-open="1"]{position:relative;z-index:100101}
.admin-financial-status-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-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 .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 .admin-base-dropdown-trigger .admin-dropdown-chevron svg{width:.875rem;height:.875rem}
.admin-financial-status-dropdown .admin-base-dropdown-trigger[aria-expanded=true] .admin-dropdown-chevron{transform:rotate(180deg)}
.admin-financial-status-dropdown .admin-base-dropdown-trigger:focus-visible{outline:2px solid #98a2b3;outline-offset:-3px}
.admin-financial-status-dropdown .admin-base-dropdown-trigger[aria-expanded=true]{outline:0}
.admin-financial-status-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-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-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-option-icon{width:1.25rem;height:1.25rem;font-size:1rem}
.admin-financial-status-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-option-row[aria-selected="true"]{background:#eef9f2;color:#137c50}
.admin-financial-status-menu .admin-dropdown-option-row[aria-selected="true"] .admin-dropdown-option-label,.admin-financial-status-menu .admin-dropdown-option-row[aria-selected="true"] .admin-dropdown-option-icon{color:inherit}
.admin-financial-status-menu .admin-dropdown-check{color:#137c50}
@media(prefers-reduced-motion:reduce){.admin-financial-status-dropdown .admin-base-dropdown-trigger,.admin-financial-status-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{width:100%;max-width:none}}
.dark .admin-financial-status-dropdown{--financial-status-border:#475467;--financial-status-surface:#1d2939;--financial-status-shadow:rgba(0,0,0,.24)}
.dark .admin-financial-status-dropdown .admin-base-dropdown-trigger:hover{border-color:#667085}
.dark .admin-financial-status-menu{border-color:#475467;background:#1d2939;box-shadow:0 10px 24px rgba(0,0,0,.28)}
.dark .admin-financial-status-menu .admin-dropdown-option-row{color:#e4e7ec}
.dark .admin-financial-status-menu .admin-dropdown-option-row[aria-selected="true"]{background:#233c30;color:#80d8aa}
.dark .admin-financial-status-menu .admin-dropdown-check{color:#80d8aa}
.admin-financial-detail-touch-action{min-height:2.75rem}
.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;align-items:baseline;justify-content:space-between;gap:1rem}
  .admin-financial-invoice-line-total-label{text-align:left}
}
.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-invoice-card-icon,.admin-financial-bank-unavailable{display:none}
@media(max-width:767.98px){
  #financial_invoices_table.admin-financial-invoice-cards tbody>tr:has(>.admin-table-mobile-primary){padding:1rem;border-radius:1.125rem;background:#fff}
  #financial_invoices_table.admin-financial-invoice-cards tbody>tr:has(>.admin-table-mobile-primary)>td{border-top:0!important;padding:.4rem 0!important}
  #financial_invoices_table.admin-financial-invoice-cards tbody>tr:has(>.admin-table-mobile-primary)>td::before{font-size:.75rem;font-weight:500;letter-spacing:0;text-transform:none;color:#737b89}
  #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-table-mobile-primary{grid-row:1;padding:0 0 .875rem!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{position:relative;display:flex;width:100%;align-items:flex-start;gap:.3rem;padding-right:3rem;text-align:left}
  #financial_invoices_table.admin-financial-invoice-cards .admin-financial-invoice-card-identity>a{justify-content:flex-start;text-align:left;font-size:1.125rem;font-weight:800;line-height:1.4}
  #financial_invoices_table.admin-financial-invoice-cards [data-financial-counterparty]{font-size:.875rem;line-height:1.4;font-weight:600;color:#344054;text-align:left}
  #financial_invoices_table.admin-financial-invoice-cards [data-financial-company]{justify-content:flex-start;text-align:left;font-size:.75rem;line-height:1.5;color:#737b89}
  #financial_invoices_table .admin-financial-invoice-card-icon{position:absolute;right:0;top:.15rem;display:flex;align-items:center;justify-content:center;width:2.375rem;height:2.375rem;border-radius:.625rem;background:#f5f5f7;color:#737b89}
  #financial_invoices_table.admin-financial-invoice-cards .admin-financial-invoice-date-cell{grid-row:2}
  #financial_invoices_table.admin-financial-invoice-cards .admin-financial-invoice-source-cell{grid-row:3}
  #financial_invoices_table.admin-financial-invoice-cards .admin-financial-payable-cell{grid-row:4}
  #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-financial-select-cell{grid-row:5;margin-top:.75rem;padding:.75rem 0 .25rem!important;border-top:1px solid #e4dfd7!important;min-height:3.25rem}
  #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-financial-select-cell>label{justify-self:end}
  #financial_invoices_table .admin-financial-bank-checkbox-unavailable{display:none}
  #financial_invoices_table .admin-financial-bank-unavailable{display:inline-flex;justify-content:flex-end;align-items:center;gap:.375rem;color:#737b89;font-size:.75rem;font-weight:500}
  #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-financial-status-cell{grid-row:6;padding-top:.625rem!important}
  #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-financial-status-cell::before{text-transform:uppercase;letter-spacing:.05em;font-size:.6875rem;font-weight:700}
  #financial_invoices_table.admin-financial-invoice-cards .admin-financial-invoice-source-cell .admin-badge{font-size:.75rem;padding:.25rem .5rem;border-radius:.5rem}
  #financial_invoices_table.admin-financial-invoice-cards .admin-financial-invoice-date-cell .admin-table-text-strong,#financial_invoices_table.admin-financial-invoice-cards .admin-financial-payable-cell .admin-table-text-strong{font-size:.8125rem}
  .dark #financial_invoices_table.admin-financial-invoice-cards tbody>tr:has(>.admin-table-mobile-primary){background:#1d2939}
  .dark #financial_invoices_table.admin-financial-invoice-cards [data-financial-counterparty]{color:#e4e7ec}
  .dark #financial_invoices_table.admin-financial-invoice-cards td::before,.dark #financial_invoices_table.admin-financial-invoice-cards [data-financial-company],.dark #financial_invoices_table .admin-financial-bank-unavailable{color:#b4bbc8}
  .dark #financial_invoices_table .admin-financial-invoice-card-icon{background:#30353f;color:#b4bbc8}
  .dark #financial_invoices_table.admin-financial-invoice-cards tbody>tr>td.admin-financial-select-cell{border-color:#414650!important}
}
.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-table-action-head,#financial_payments_table .admin-table-action-cell{width:5.75rem}
  #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-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-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}}
@media (max-width:767.98px){.dark #harvest-stock-table tbody>tr.admin-harvest-row-needs-label-assignment{border-color:#b54708;background:#2d2518;box-shadow:inset .25rem 0 0 #fdb022}.dark #harvest-stock-table tbody>tr.admin-harvest-row-needs-label-assignment:hover{background:#382b16}}
.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%}
.admin-table-controls-header{margin-top:1rem;margin-bottom:1rem;display:flex;flex-direction:column;gap:.5rem;padding-left:1rem;padding-right:1rem}
.admin-table-controls-left,.admin-table-controls-right{display:flex;flex-direction:column;gap:.5rem}
.admin-table-controls-right{gap:.75rem}
.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:.125rem}
.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:none;opacity:.78}
.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-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-multiselect-trigger:hover{border-color:#cfc3b6;background:#fffaf5}
.admin-multiselect-trigger:focus,.admin-multiselect-trigger[aria-expanded=true]{border-color:#e03202;box-shadow:0 0 0 3px rgba(224,50,2,.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:#e03202}
.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:#a8a29e}
.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-job-title{display:flex;min-width:0;align-items:center;gap:.45rem;color:#344054;font-size:.8125rem;font-weight:650;line-height:1.25rem}
.admin-user-job-title>span:first-child{display:inline-flex;flex:0 0 auto;color:#667085}
.admin-user-job-title>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-job-title{color:#f2f4f7}
.dark .admin-user-job-title>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}}
.admin-salary-modal-width{width:95vw;max-width:95vw;flex-shrink:0}
.admin-salary-modal-width .admin-modal-body{display:flex;flex-direction:column;min-height:0;overflow:clip!important}
.admin-salary-scroll-hint{display:none}
/* 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-import-notice{flex-shrink:0;margin:0 0 .75rem}
.admin-salary-import-notice>div{padding:.75rem}
.admin-salary-note{flex-shrink:0;margin:0 0 1rem;color:#667085;font-size:.875rem;line-height:1.5}
.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:88rem;table-layout:fixed}
.admin-salary-table th,.admin-salary-table td{padding:.75rem 1rem;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:16rem;z-index:3}
.admin-salary-table th:not(:first-child){width:12rem}
.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]{font-variant-numeric:tabular-nums;text-align:right;background:#f9fafb}
.admin-salary-table input[type=number]:focus{background:#fff}
.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-note{color:#d0d5dd}
.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]{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:1023px){.admin-salary-scroll-hint{display:block;margin-top:.25rem}}
@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-note{font-size:.75rem;margin-bottom:.5rem}.admin-salary-modal-width .admin-modal-content-scroll>.admin-table-scroll{margin-top:.5rem}.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}}
/* Short landscape windows use one vertical content scroller; totals remain at the end. */
@media(max-height:480px){.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-modal-width .admin-modal-content-scroll{display:block;overflow:auto!important}.admin-salary-modal-width .admin-modal-content-scroll>.admin-table-scroll{overflow:visible!important;width:max-content;min-width:100%;margin-top:.5rem}.admin-salary-table :is(th,td):first-child,.admin-salary-table thead th,.admin-salary-table tfoot td{position:static}.admin-salary-table :is(input,button){scroll-margin:1rem}.admin-salary-note{position:sticky;left:0;max-width:calc(95vw - 2rem);font-size:.75rem;margin-bottom:.5rem}}
@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:.5rem;padding-right:.5rem}.admin-salary-table th:first-child{width:8.5rem}.admin-salary-table th:not(:first-child){width:12rem}.admin-salary-table{min-width:80.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-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-brand-500,#465fff);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:#d92d00;box-shadow:inset 0 1px 0 #fff,0 8px 20px rgba(224,50,2,.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 #e03202;background:linear-gradient(180deg,#e83a08 0%,#d92d00 100%);box-shadow:0 10px 22px rgba(224,50,2,.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(224,50,2,.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(224,50,2,.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;min-height:100vh;min-height:100dvh;padding:var(--admin-modal-gutter);box-sizing:border-box;text-align:center;width:100%}
.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}
.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}
  .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{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-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:#fff4ef;color:#e03202;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-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.5rem;min-width:0}
.admin-page-heading-title{overflow-wrap:anywhere}
.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:#fff8f5;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:#fff8f5;color:#b93815}
.admin-harvest-crop-action:focus-visible{outline:0;border-color:#e03202;box-shadow:0 0 0 3px rgba(224,50,2,.18)}
.admin-harvest-crop-action-selected{border-color:#e03202;background:#fff8f5;box-shadow:0 0 0 3px rgba(224,50,2,.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:#e03202;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 #e03202;border-radius:.625rem;background:#e03202;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(224,50,2,.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}
.seed-sales-status-filters{display:flex;max-width:100%;flex-wrap:wrap;gap:.4rem}
.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{flex-wrap:nowrap;overflow-x:auto;padding-bottom:.25rem}
}

/* 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-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-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:1rem;line-height:1.35;font-weight:800;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{border-top:1px solid #e4e7ec;border-bottom:1px solid #e4e7ec;background:#f5f6f7;padding:.7rem 1.25rem}
.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{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{font-size:.85rem}
.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-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{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-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}
}
/* Packaging silhouettes retain native QR targets and status semantics. */
/* 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-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}
}

/* Shared date fields sit beside the report title; intrinsic widths wrap before clipping. */
.admin-live-report-topbar{display:grid;grid-template-columns:max-content 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-period{grid-column:2;grid-row:2;min-width:0}
.admin-live-report-topbar-actions{grid-column:3;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-range-note{margin:-.5rem 0 1rem;color:#667085;font-size:.6875rem}
.admin-live-report-range-note[hidden]{display:none}
.dark .admin-live-report-range-note{color:#98a2b3}
@media(max-width:1399.98px){
  .admin-live-report-topbar{grid-template-columns:minmax(0,1fr) auto;gap:.75rem 1rem}
  .admin-live-report-period{grid-column:1/-1;grid-row:3}
  .admin-live-report-topbar-actions{grid-column:2}
}
@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-period{grid-row:3}
  .admin-live-report-topbar-actions{grid-column:1/-1;grid-row:4;justify-self:stretch}
  .admin-live-report-topbar-actions>*{flex:1 1 0;justify-content:center}
  .admin-live-report-date-field{grid-template-columns:minmax(4rem,max-content) minmax(10.5rem,1fr);width:100%}
  .admin-live-report-range-form{width:100%}
}

.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:#fff0e8;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:1024px){.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%}}

/* 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-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-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:#fff1eb;color:#c4320a}
.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:#fff1eb;color:#c4320a}
.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-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:#fff1eb;color:#c4320a}
.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-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-difference{color:#d0d5dd}
.dark .admin-dashboard-cooling-tile{border-color:#344054}
.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}
.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 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: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-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:#b93815}
.admin-dashboard-page .admin-inline-text-link-brand:hover{color:#9c2a10}
.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 #e03202;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-strong{font-size:.875rem;line-height:1.25rem;margin-bottom:.5rem}
.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:#e03202;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:#d83a0c}
.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:95vw;max-width:95vw;flex-shrink:0}
.admin-modal-body.admin-timesheet-user-anomalies-modal-body{padding:1.5rem}
.admin-timesheet-user-anomalies-period{margin:-.45rem 3.5rem 1rem 0;color:#667085;font-size:.875rem;line-height:1.4}
.admin-timesheet-user-anomalies-dialog .admin-terminal-anomalies-card>.admin-data-table-section-header{padding-top:.25rem}
.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}
.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 :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 :is(button,a)>svg{width:1rem!important;height:1rem!important;flex:0 0 1rem}
.admin-timesheet-overview-table .admin-table-action-cell :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:#d83a0c}
.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 :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%}}
@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}
.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-flex;margin-top:.25rem;color:#b54708;font-size:.75rem;font-weight:700;line-height:1.25}
.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 :is(button,a){width:2.75rem;min-width:2.75rem;height:2.75rem;min-height:2.75rem}
  .admin-timesheet-calendar-legend{gap:.45rem .75rem}
}
.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:#d83a0c!important;background:#e03202!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}

/* 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) .admin-base-dropdown-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) .admin-base-dropdown-trigger:hover{border-color:#d8aa91;background:#fff7f1;color:#1c1917}
:is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) .admin-base-dropdown-trigger:is(.admin-selected-control-shadow,.admin-work-machine-filter-trigger-active){border-color:#efb294;box-shadow:0 0 0 3px rgba(224,50,2,.09)}
:is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) .admin-base-dropdown-trigger:is(:focus-visible,[aria-expanded=true]){border-color:#e03202;outline:0;box-shadow:0 0 0 3px rgba(224,50,2,.13)}
:is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) .admin-dropdown-selected-svg{color:#c4320a}
: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}
: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:#e03202}
.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) .admin-base-dropdown-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) .admin-base-dropdown-trigger:hover{border-color:#9a6147;background:#33251f;color:#fff}
.dark :is([data-admin-modern-dropdown],[data-admin-filter-control],.admin-financial-filter-dropdown) .admin-base-dropdown-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) .admin-base-dropdown-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}
@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}
.admin-financial-line{padding:1rem;border:1px solid var(--color-gray-200,#e4e7ec);border-radius:.75rem;background:var(--color-gray-25,#fcfcfd)}
.admin-financial-line-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.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:#b02500}

/* 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(3,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-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}
.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 th:nth-child(1){width:7%}
.admin-payment-batch-table th:nth-child(2){width:6%}
.admin-payment-batch-table th:nth-child(3){width:11%}
.admin-payment-batch-table th:nth-child(4){width:15%}
.admin-payment-batch-table th:nth-child(5){width:10%}
.admin-payment-batch-table th:nth-child(6){width:8%}
.admin-payment-batch-table th:nth-child(7){width:11%}
.admin-payment-batch-table th:nth-child(8){width:10%}
.admin-payment-batch-table th:nth-child(9){width:5%}
.admin-payment-batch-table th:nth-child(10){width:11%}
.admin-payment-batch-table th:nth-child(11){width:6%}
.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-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}
.admin-payment-export-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1.25rem}
.admin-payment-export-header h3{margin-top:.65rem;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-kicker{display:flex;align-items:center}
.admin-payment-export-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.admin-payment-export-choice{display:grid;grid-template-columns:3.5rem minmax(0,1fr) auto;align-items:center;gap:.85rem;min-height:5.25rem;border:1px solid #d8d2ca;border-radius:.85rem;background:#fff;padding:.75rem .9rem;text-align:left;color:#344054;box-shadow:0 1px 2px rgba(16,24,40,.04);transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease,transform .16s ease}
.admin-payment-export-choice:not(:disabled):hover{border-color:#f08a68;background:#fffaf7;box-shadow:0 8px 20px rgba(120,53,15,.09);transform:translateY(-1px)}
.admin-payment-export-choice:not(:disabled):focus-visible{outline:0;border-color:#e03202;box-shadow:0 0 0 3px rgba(224,50,2,.15)}
.admin-payment-export-choice:disabled{cursor:not-allowed;background:#f7f6f4;color:#8b8580;box-shadow:none}
.admin-payment-export-logo{display:flex;width:3.5rem;height:3.5rem;align-items:center;justify-content:center;border:1px solid #e7e2dc;border-radius:.75rem;background:#fff}
.admin-payment-export-logo img{display:block;max-width:2.7rem;max-height:2.45rem;object-fit:contain}
.admin-payment-export-copy{display:flex;min-width:0;flex-direction:column;gap:.1rem}
.admin-payment-export-copy strong{color:#101828;font-size:.9rem;font-weight:750;line-height:1.3}
.admin-payment-export-copy>span{font-size:.78rem;font-weight:650;color:#667085}
.admin-payment-export-copy small{overflow:hidden;color:#7b736b;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.7rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.admin-payment-export-choice:disabled .admin-payment-export-copy strong{color:#667085}
.admin-payment-export-state{display:flex;align-items:center;gap:.4rem;color:#c4320a;font-size:.74rem;font-weight:700;white-space:nowrap}
.admin-payment-export-choice:disabled .admin-payment-export-state{color:#98a2b3}
.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 { color: #fda29b; }
.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-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-export-choice{border-color:#475467;background:#1d2939;color:#d0d5dd}
.dark .admin-payment-export-choice:not(:disabled):hover{border-color:#f7906c;background:#2b211e}
.dark .admin-payment-export-choice:disabled{background:#111827;color:#667085}
.dark .admin-payment-export-logo{border-color:#475467;background:#fff}
.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-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:70rem}
    .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}
    .admin-payment-export-choice{min-height:5.5rem}
}
@media (max-width: 479px) {
    .admin-payment-export-choice{grid-template-columns:3.25rem minmax(0,1fr) auto;gap:.65rem;padding:.7rem}
    .admin-payment-export-logo{width:3.25rem;height:3.25rem}
    .admin-payment-export-state>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
}

/* 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 .admin-financial-allocated-invoice-link{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-stat-date time{display:flex;flex-wrap:wrap;align-items:baseline;gap:.125rem .375rem}
.admin-financial-stat-date time>span{white-space:nowrap}
.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}
}

/* 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}
.admin-financial-match-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%}
.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-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-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; groups use alignment and dividers, not nested cards. */
.admin-care-form-card{max-width:72rem}
.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:anywhere}
.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:0 0 1rem;margin:0 0 1rem;border-bottom:1px solid #eee9e2}
.admin-financial-draft-summary{grid-template-columns:2rem minmax(0,1fr) auto 6rem}
.admin-financial-row-actions{display:flex;gap:.25rem;align-items:center}
.admin-financial-draft-amount{font-size:.875rem;text-align:right;font-variant-numeric:tabular-nums}
.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{font-size:.8125rem;color:#667085;min-height:1.25rem;margin:0}
.admin-financial-match-feedback:empty{visibility:hidden}
.admin-financial-result{border:1px solid #e5dfd6;border-radius:.75rem;padding:0;min-width:0}
.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-draft-summary{grid-template-columns:1.5rem minmax(0,1fr) 6rem}.admin-financial-draft-summary>.admin-financial-row-actions{grid-column:3;grid-row:1}.admin-financial-draft-amount{grid-column:2/-1;grid-row:2;text-align:left}.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}
@media(max-width:767px){.admin-financial-draft-summary{grid-template-columns:1.5rem minmax(0,1fr)}.admin-financial-draft-summary>.admin-financial-row-actions{grid-column:2;grid-row:3}.admin-financial-draft-amount{grid-column:2;grid-row:2}.admin-financial-draft-summary>.admin-financial-saved-match-identity{grid-column:2;grid-row:1}}

/* 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-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}
@media(max-width:639px){.admin-api-form-width>.admin-secondary-button{width:100%}}

/* Connection access uses flat status/action rows, not a status editor or form footers. */
.admin-api-access-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0}
.admin-api-access-row>:first-child{flex:1;min-width:0}
.admin-api-access-actions{flex:0 0 auto;display:flex;align-items:center}
.admin-api-access-actions .admin-form{margin:0}
.admin-api-section-divider{border-top:1px solid #e7e5e4;padding-top:24px}
.admin-api-certificate+.admin-api-certificate{border-top:1px solid #e7e5e4;padding-top:16px}
.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-section-divider,.dark .admin-api-certificate{border-color:#44403c}
.dark .admin-api-expiry-note{color:#fcd34d}
@media(max-width:639px){
 .admin-api-access-row{flex-direction:column;align-items:stretch;gap:12px}
 .admin-api-access-actions,.admin-api-access-actions .admin-form,.admin-api-access-actions .admin-form>button,.admin-api-access-actions>a{width:100%}
}

/* 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%}
}

/* 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:#e03202;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-summary>.admin-mini-icon-tile,
.admin-financial-inline-draft .admin-financial-saved-match-identity,
.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,#e03202);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 and direction remain quieter than the payment status. */
#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}
@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: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:has(>.admin-financial-payment-receipt-cell)>.admin-table-action-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 strong{font-size:1rem;line-height:1.35;font-weight:800;overflow-wrap:anywhere}
 .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}
 #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}
 .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:#fff7f3}
 .admin-payment-receipt-review{text-decoration:none}
}
@media(max-width:359.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-secondary-button{width:100%;justify-content:center}
}
.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}

/* 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}
}

/* 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-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-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,#e03202);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:flex;flex-direction:column;gap:.75rem}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-allocation-row{padding:1rem;border:1px solid #e4e7ec;border-radius:.875rem;background:#f9fafb}
.admin-quick-match-dialog .admin-financial-quick-review .admin-financial-draft-summary{padding:0}
.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-actions{display:grid;grid-template-columns:auto auto 1fr}
.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-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-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:#1b2028;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-processing-login-page :is(.login-submit-btn,#processing-pin-open-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-processing-login-page :is(.login-submit-btn,#processing-pin-open-button)>svg{flex:none}
.admin-processing-login-page #processing-pin-open-button{background:rgba(255,255,255,.55);border-color:#d6cfc5;box-shadow:0 2px 3px #38281704}
.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:#e0320208;text-decoration-color:currentColor}
.admin-processing-login-page .admin-processing-enrollment-toggle:focus-visible{outline:2px solid #c4320a;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}
.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 #c4320a;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}}

/* Balanced login introduction: heading and land share a row above the form. */
.admin-login-introduction{display:grid;grid-template-columns:minmax(0,1fr) 10rem;align-items:center;gap:1.25rem;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}
.admin-login-animation{width:100%;min-width:0;margin:0}
.admin-login-animation .admin-login-stage-compact{width:100%;height:10rem;margin:0;overflow:visible;--admin-login-glass-lift:30px}
.admin-login-animation .admin-login-stage-object{width:min(72%,112px)}
.admin-login-animation .admin-login-stage-base,.admin-login-animation .admin-login-stage-field{border-radius:20px}
.admin-login-animation .admin-login-stage-panel{border-radius:12px}
.admin-login-animation .admin-login-stage-halo{background:none}
@media(max-width:479px){.admin-login-introduction{grid-template-columns:minmax(0,1fr) 6.5rem;gap:.75rem;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}.admin-login-animation .admin-login-stage-compact{height:8rem;--admin-login-glass-lift:22px}.admin-login-animation .admin-login-stage-object{width:80px}}

/* Main login: language-only header and accessible story pagination. */
.admin-login-panel-plain .admin-login-header{justify-content:flex-end;min-height:44px}
.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}
#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: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}
}}
