/* Hive Ledger v4.1.42 | Contemporary Fieldwork Foundation
   Independent visual-only layer. Do not modify scanning, JS logic or form control state. */
:root {
  --hl-navy:#142D2D; --hl-deep:#142D2D; --hl-green:#176A55;
  --hl-green2:#105440; --hl-mint:#E6F1EA; --hl-gold:#D49B35;
  --hl-cream:#F7F8F4; --hl-line:#B9C9C0; --hl-muted:#647573;
  --hl-white:#fff; --hl-shadow:0 3px 16px rgba(20,45,45,.065);
  --cf-border:#B9C9C0; --cf-border-strong:#879F93;
  --cf-border-interactive:#A1B7A9; --cf-ink:#142D2D;
  --cf-surface:#FFFFFF; --cf-soft:#F1F6F2;
}
html{color-scheme:light}
body.app-authenticated,body.app-public{background:var(--hl-cream);color:var(--cf-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.app-sidebar{background:#142D2D;box-shadow:2px 0 14px rgba(13,42,38,.055)}
.shell-logo{border-color:var(--hl-gold);color:var(--hl-gold)}
.shell-nav a,.shell-nav-bottom a{border-radius:12px}
.shell-nav a.active,.shell-nav-bottom a.active{background:#294B42;color:#fff;box-shadow:inset 3px 0 0 var(--hl-gold)}
.shell-nav a:hover,.shell-nav-bottom a:hover{background:#2B5147}
.shell-tagline{color:#B7D4C5}
.mobile-bottom-nav{background:#142D2D;border-top:1px solid #456057}
.mobile-bottom-nav a.active{color:#fff}
.mobile-bottom-nav .inspect-mobile{background:var(--hl-green);box-shadow:0 5px 15px rgba(23,106,85,.19)}
.mobile-app-header{background:#fff;border-color:var(--cf-border)}
.app-main{max-width:1180px}
/* Distinguish major panels from inner cards while keeping views dense enough for mobile. */
body.app-authenticated :is(.panel,.surface-card,.hive-workspace,.hive-profile,.collapsible-panel,.profile-info-card,.account-settings-group,.apiary-select-card,.dash-stat,.stat-card,.directory-card,.hive-directory-card){border:1.5px solid var(--cf-border-strong);background:#fff;border-radius:17px;box-shadow:var(--hl-shadow)}
body.app-authenticated :is(.history-record,.hive-history-item,.history-card,.inspection-history-item,.hive-workspace-panel article,.hive-workspace-panel .hive-row,.card-list article,.hive-management-row,.apiary-hive-row,.directory-row-managed,.profile-facts span,.trait-chips span,.inspection-section-body fieldset,.colony-inline-section,.colony-inline-panel){border-color:var(--cf-border-interactive)}
body.app-authenticated :is(.hive-workspace-panel .panel,.profile-info-card,.card-list article,.hive-management-row,.apiary-hive-row,.directory-row-managed){background:#fff}
body.app-authenticated :is(.hive-management-row,.apiary-hive-row,.directory-row-managed,.card-list article,.history-record,.hive-history-item){border:1.5px solid var(--cf-border-interactive);border-radius:13px}
body.app-authenticated :is(.hive-management-row,.apiary-hive-row,.directory-row-managed,.card-list article,.history-record,.hive-history-item):hover{border-color:#638F79;background:#F6FAF7}
.hive-workspace{border:1.5px solid var(--cf-border-strong)!important;background:#fff}
.hive-workspace-tabs{background:#FAFCFA;border-bottom:1.5px solid var(--cf-border)}
.hive-workspace-tab.is-active{background:#EDF5EF!important;color:var(--hl-green)!important;border-color:var(--cf-border-strong)!important;box-shadow:inset 0 -3px 0 var(--hl-gold)}
.hive-workspace-panel{background:#fff}
.hive-workspace-panel>.panel{border-color:var(--cf-border)!important;background:#F8FBF8}
:is(.profile-setup,.account-settings-group,.colony-inline-section,details.inspection-collapsible){border-color:var(--cf-border)!important}
:is(.profile-setup,.account-settings-group,details.inspection-collapsible)[open]>summary{background:#F0F6F2}
/* Actions and inputs */
body.app-authenticated :is(.primary,.dash-primary,button.primary,button.save-primary){background:var(--hl-green);border-color:var(--hl-green);color:#fff}
body.app-authenticated :is(.primary,.dash-primary,button.primary,button.save-primary):hover{background:#105440}
body.app-authenticated :is(.secondary,.small-action,.row-action-trigger,.icon-close){border-color:var(--cf-border-interactive)!important}
body.app-authenticated :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:#B9CCC1;background:#fff;color:var(--cf-ink)}
body.app-authenticated :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus{border-color:var(--hl-green);outline:2px solid #B4DAC4;outline-offset:1px}
body.app-authenticated :is(input[type=checkbox],input[type=radio]){accent-color:var(--hl-green)}
:is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid var(--hl-gold)!important;outline-offset:2px}
:is(.page-title h1,.page-hero h1,.hive-profile h1){color:var(--hl-navy);letter-spacing:-.025em}
:is(.muted,.section-title-row p,.apiary-card-main p,.page-hero p){color:var(--hl-muted)}
:is(.section-icon,.dash-stat-icon,.apiary-card-icon){background:#E7F2EA;color:var(--hl-green)}
/* Snapshot and nested backgrounds stay distinct without excessive color. */
:is(.snapshot-grid>div,.dashboard-overview-row>div,.stat-grid article,.dashboard-quiet-actions>a){border:1.5px solid var(--cf-border);background:#fff}
:is(.hive-workspace-panel .snapshot-grid>div,.profile-facts span,.trait-chips span){background:#F1F6F2}
@media(max-width:760px){
  .app-main{width:min(100% - 28px,680px)}
  .hive-workspace-panel{padding:14px}
  body.app-authenticated :is(.panel,.surface-card,.hive-workspace,.hive-profile){border-radius:17px}
}
@media(prefers-reduced-motion:reduce){.shell-nav a,.hive-management-row,.apiary-hive-row{transition:none!important}}
@media print{body.app-authenticated :is(.panel,.surface-card,.hive-workspace,.hive-profile){box-shadow:none!important;border:1px solid #bbb!important}}


/* v4.1.43 | Hive Workspace & Inspection Form refinement
   Presentation only; deliberately scoped to these workflows. */
.hive-profile-streamlined{
  background:linear-gradient(120deg,#fff 0%,#F5F9F5 100%)!important;
  border:1.5px solid var(--cf-border-strong)!important;
  border-radius:18px!important;
  box-shadow:var(--hl-shadow);
}
.hive-profile-streamlined .eyebrow{color:#527265;letter-spacing:.095em;font-weight:800}
.hive-profile-streamlined .hive-profile-heading h1{letter-spacing:-.035em;line-height:1.17}
.hive-profile-streamlined .entity-meta{gap:8px;flex-wrap:wrap}
.hive-profile-streamlined .hive-close{border:1.5px solid var(--cf-border);background:#fff;color:var(--cf-ink)}
.hive-profile-streamlined .hive-close:hover{border-color:var(--hl-green);background:#ECF5EF}
.hive-kpis-compact{gap:12px}
.hive-kpis-compact .hive-kpi{border:1.5px solid var(--cf-border)!important;background:#fff;border-radius:15px;box-shadow:0 2px 9px rgba(20,45,45,.03)}
.hive-kpis-compact .hive-kpi small{color:var(--hl-muted);font-weight:650}
.hive-kpis-compact .hive-kpi strong{color:var(--cf-ink);line-height:1.22}
.hive-workspace{box-shadow:0 6px 24px rgba(20,45,45,.07)}
.hive-workspace-tabs{gap:8px;padding:11px 14px 0;background:#F0F5F0;scrollbar-width:thin;scrollbar-color:#A1B7A9 transparent}
.hive-workspace-tab{position:relative;min-height:49px;font-weight:750!important;color:#315348!important;border-color:transparent!important}
.hive-workspace-tab.is-active{background:#fff!important;color:var(--hl-green)!important;border:1.5px solid var(--cf-border-strong)!important;border-bottom-color:#fff!important;box-shadow:inset 0 -3px 0 var(--hl-gold)!important}
.hive-workspace-tab:not(.is-active):hover{background:#E4EFE8!important}
.hive-workspace-count{background:#E0ECE4;color:#285F4C}
.hive-workspace-panel{padding:22px 24px 26px;background:#fff}
.hive-next-header{padding-bottom:16px;border-bottom:1px solid var(--cf-border)}
.hive-next-header h2,.hive-panel-intro h2{letter-spacing:-.02em;color:var(--cf-ink)}
.hive-next-header p,.hive-panel-intro p{line-height:1.55;max-width:65ch}
.hive-next-header .hive-start-inspection{padding:12px 17px!important;border-radius:12px!important;box-shadow:0 5px 16px rgba(23,106,85,.13);text-align:center}
.hive-next-actions .secondary{border:1.5px solid var(--cf-border-interactive)!important;border-radius:11px!important;background:#fff}
.hive-next-last{border:1.5px solid var(--cf-border)!important;background:#F1F6F2!important;border-radius:13px;padding:16px 18px}
.hive-followup-title{color:var(--cf-ink);letter-spacing:-.015em}
.hive-upcoming-list li{border:1.5px solid var(--cf-border)!important;background:#fff;border-radius:12px;padding:14px 16px}
.hive-upcoming-list li:focus-within{border-color:var(--hl-green)!important}
.hive-followup-empty{background:#F8FBF8;border:1.5px dashed var(--cf-border)!important}
.hive-panel-intro{padding-bottom:13px;border-bottom:1px solid var(--cf-border);margin-bottom:14px}
.hive-workspace-panel :is(.colony-inline-section,.hive-detail-module){border:1.5px solid var(--cf-border)!important;background:#fff;border-radius:14px}
.hive-workspace-panel .colony-inline-section>summary{background:#F7FAF7;border-radius:13px;color:var(--cf-ink)}
.hive-workspace-panel .colony-inline-section[open]>summary{border-bottom:1px solid var(--cf-border);border-radius:13px 13px 0 0;background:#EDF5EF}
.hive-workspace-panel .colony-inline-section>summary:hover{background:#EAF3EC}
.hive-workspace-panel :is(.hive-history-item,.history-record,.history-card){border:1.5px solid var(--cf-border)!important;background:#fff;border-radius:13px}
.hive-workspace-panel :is(.hive-history-item,.history-record,.history-card):hover{border-color:var(--cf-border-strong)!important;background:#F8FBF9}
/* Inspection layout: the current field semantics, default opened sections, and form submission are unchanged. */
.inspection-mode .inspection-hero{gap:16px}
.inspection-mode .inspection-hero h1{color:var(--cf-ink);letter-spacing:-.035em}
.inspection-mode .inspection-context{background:var(--hl-navy);border:1.5px solid #375B4D;box-shadow:0 4px 14px rgba(20,45,45,.08)}
.inspection-mode .inspection-card{border:1.5px solid var(--cf-border-strong)!important;box-shadow:0 3px 14px rgba(20,45,45,.045);background:#fff;border-radius:17px}
.inspection-mode details.inspection-collapsible>summary.section-heading{min-height:67px;background:#F7FAF7;gap:11px;transition:background-color .15s ease}
.inspection-mode details.inspection-collapsible>summary.section-heading:hover{background:#EDF5EF}
.inspection-mode details.inspection-collapsible[open]>summary.section-heading{background:#EDF5EF;border-bottom:1.5px solid var(--cf-border)!important}
.inspection-mode .section-heading h2{color:var(--cf-ink);font-size:1.04rem;letter-spacing:-.012em}
.inspection-mode .section-heading p{color:var(--hl-muted)}
.inspection-mode .section-num{background:#F5E7C7;color:#765216}
.inspection-mode .section-chevron{color:var(--hl-green);border:1px solid var(--cf-border);background:#fff}
.inspection-mode .inspection-section-body{background:#fff}
.inspection-mode :is(.field-toggle,.choice-pill,.brood-pattern-card,.super-row){border-color:var(--cf-border)!important;background:#fff}
.inspection-mode :is(.field-toggle,.choice-pill,.brood-pattern-card):hover{border-color:var(--cf-border-strong)!important;background:#F8FBF8}
.inspection-mode .field-toggle:has(input:checked){border-color:var(--hl-green)!important;background:#EDF6EF}
.inspection-mode .choice-pill:has(input:checked){border-color:var(--hl-green)!important;background:#EDF6EF}
.inspection-mode .choice-pill input:checked+.choice-box{background:var(--hl-green);border-color:var(--hl-green)}
.inspection-mode .segment-control input:checked+span{background:var(--hl-green);border-color:var(--hl-green);color:#fff}
.inspection-mode :is(.stepper,.compact-stepper,.percent-input){border-color:var(--cf-border-strong)!important}
.inspection-mode .sticky-save{background:rgba(255,255,255,.97);border:1.5px solid var(--cf-border-strong);box-shadow:0 5px 24px rgba(20,45,45,.12)}
.inspection-mode .sticky-save button:not(.secondary):not(.danger){background:var(--hl-green);border-color:var(--hl-green)}
.inspection-mode .sticky-save button:not(.secondary):not(.danger):hover{background:var(--hl-green2)}
@media(max-width:760px){
  .hive-profile-streamlined{padding:17px 55px 18px 16px!important}
  .hive-kpis-compact{gap:9px}
  .hive-workspace-tabs{padding:9px 10px 0;gap:3px}
  .hive-workspace-tab{padding:12px 11px!important;min-height:48px}
  .hive-workspace-panel{padding:15px!important}
  .hive-next-header{gap:12px}
  .hive-start-inspection{width:100%}
  .inspection-mode details.inspection-collapsible>summary.section-heading{min-height:61px;padding:14px}
  .inspection-mode .inspection-section-body{padding:14px}
  .inspection-mode .yn-options,.inspection-mode .inline-choices{gap:7px}
  .inspection-mode .choice-pill{min-height:44px}
  .inspection-mode .sticky-save{bottom:max(8px,env(safe-area-inset-bottom));gap:8px}
}
@media(prefers-reduced-motion:reduce){.inspection-mode details.inspection-collapsible>summary.section-heading{transition:none}}

/* v4.1.44 | High contrast apiary hive directory.
   Purely presentational: existing status, record ownership and actions are unchanged. */
body.app-authenticated .apiary-hive-list{
  gap:12px;padding:14px;background:#F0F3F0;
}
body.app-authenticated .apiary-hive-list .apiary-hive-row,
body.app-authenticated .apiary-hive-list .apiary-hive-row:nth-child(even),
body.app-authenticated .apiary-hive-list .apiary-hive-row:nth-child(odd){
  background:#FCFCF9!important;
  border:1.5px solid #AFBDB5!important;
  border-left:5px solid #16824B!important;
  border-radius:14px!important;
  box-shadow:0 3px 10px rgba(20,45,45,.055);
  overflow:visible;
}
body.app-authenticated .apiary-hive-list .apiary-hive-row:not(.hive-nonextant):hover{
  background:#FFFFFF!important;border-color:#709A83!important;
}
body.app-authenticated .apiary-hive-row:not(.hive-nonextant) .apiary-hive-name strong{color:#102235}
body.app-authenticated .apiary-hive-row:not(.hive-nonextant) .apiary-hive-name small{color:#52626A}
body.app-authenticated .apiary-hive-row:not(.hive-nonextant) .apiary-hive-metric{
  background:#F3F6F2!important;border:1.5px solid #C7D3CC!important;border-radius:9px;color:#142D2D;
}
body.app-authenticated .apiary-hive-row:not(.hive-nonextant) .apiary-hive-metric small{color:#52626A}
/* Loss states must remain visibly different without relying on the badge color alone. */
body.app-authenticated .apiary-hive-list .apiary-hive-row.hive-nonextant,
body.app-authenticated .apiary-hive-list .apiary-hive-row.hive-nonextant:nth-child(odd),
body.app-authenticated .apiary-hive-list .apiary-hive-row.hive-nonextant:nth-child(even){
  background:#24282D!important;
  border:2px solid #101418!important;
  border-left:6px solid #A94A4A!important;
  box-shadow:0 5px 16px rgba(10,14,18,.18)!important;
}
body.app-authenticated .apiary-hive-row.hive-nonextant .apiary-hive-main{
  opacity:1!important;background:transparent!important;color:#F5F7F8!important;
}
body.app-authenticated .apiary-hive-row.hive-nonextant .apiary-hive-main:hover{background:#30363C!important}
body.app-authenticated .apiary-hive-row.hive-nonextant .apiary-hive-name strong{color:#FFFFFF!important}
body.app-authenticated .apiary-hive-row.hive-nonextant .apiary-hive-name small,
body.app-authenticated .apiary-hive-row.hive-nonextant .home-row-arrow{color:#D3DADF!important}
body.app-authenticated .apiary-hive-row.hive-nonextant .hive-avatar{
  background:#41494F!important;color:#F3F5F6!important;
}
body.app-authenticated .apiary-hive-row.hive-nonextant .nonextant-badge{
  background:#4A3032!important;color:#FFE2DF!important;
  border:1px solid #BA6A67!important;font-weight:850;
}
body.app-authenticated .apiary-hive-row.hive-nonextant .apiary-hive-metric{
  background:#343A40!important;border:1.5px solid #566168!important;color:#F5F7F8!important;
}
body.app-authenticated .apiary-hive-row.hive-nonextant .apiary-hive-metric strong{color:#FFFFFF!important}
body.app-authenticated .apiary-hive-row.hive-nonextant .apiary-hive-metric small{color:#D3DBDF!important}
body.app-authenticated .apiary-hive-row.hive-nonextant .hive-row-tools{background:transparent!important}
body.app-authenticated .apiary-hive-row.hive-nonextant :is(.row-import-trigger,.row-inspect-trigger,.row-action-trigger){
  background:#3A4348!important;color:#F5F7F8!important;border:1.5px solid #74838B!important;
}
body.app-authenticated .apiary-hive-row.hive-nonextant :is(.row-import-trigger,.row-inspect-trigger,.row-action-trigger):hover{
  background:#506068!important;color:#FFFFFF!important;
}
/* Menus open on light surfaces for legibility even when their parent card is dark. */
body.app-authenticated .apiary-hive-row.hive-nonextant .action-menu{background:#FFFFFF!important;color:#142D2D!important}
body.app-authenticated .apiary-hive-row.hive-nonextant .action-menu :is(a,button){color:#142D2D!important}
body.app-authenticated .apiary-hive-row.hive-nonextant .action-menu .danger-action{color:#A52B27!important}
body.app-authenticated .apiary-hive-row :is(a,button):focus-visible{outline:3px solid #D49B35!important;outline-offset:2px}
@media(max-width:760px){
  body.app-authenticated .apiary-hive-list{padding:10px;gap:11px}
  body.app-authenticated .apiary-hive-row.hive-nonextant .apiary-hive-name strong{font-size:1rem}
  body.app-authenticated .apiary-hive-row.hive-nonextant .hive-row-tools{gap:8px!important}
}

/* v4.1.45 | Apiary dashboard hierarchy and list readability.
   Scoped to apiary listing structures. Does not alter status or application logic. */
body.app-authenticated .apiary-dashboard-hero{
  align-items:center;gap:22px;margin-bottom:22px;
  padding:22px 24px;background:#fff;border:1.5px solid #A8BDB1;
  border-radius:18px;box-shadow:0 5px 18px rgba(20,45,45,.045);
}
body.app-authenticated .apiary-dashboard-hero h1{color:#142D2D;line-height:1.1;letter-spacing:-.035em}
body.app-authenticated .apiary-dashboard-hero p{color:#52645E;line-height:1.5}
body.app-authenticated .apiary-dashboard-hero .hero-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
body.app-authenticated .apiary-dashboard-hero .hero-actions :is(a,button){
  min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;
  border-radius:10px;border:1.5px solid #9CB4A7;padding:9px 13px;
}
body.app-authenticated .apiary-dashboard-hero .hero-actions .primary{border-color:#176A55}
body.app-authenticated .apiary-mini-stats-single{grid-template-columns:minmax(190px,290px);margin-bottom:18px}
body.app-authenticated .apiary-mini-stats-single>div{
  background:#FFFFFF;border:1.5px solid #AFC2B5;border-left:5px solid #176A55;
  border-radius:14px;min-height:76px;box-shadow:0 3px 12px rgba(20,45,45,.04);
}
body.app-authenticated .apiary-mini-stats-single small{font-size:.82rem;color:#52645E}
body.app-authenticated .apiary-mini-stats-single strong{font-size:1.65rem;color:#142D2D}
body.app-authenticated .apiary-dashboard-grid{grid-template-columns:minmax(0,1fr)}
body.app-authenticated .apiary-hive-card{border:1.5px solid #91AA9C;border-radius:17px;background:#fff;overflow:visible}
body.app-authenticated .hive-list-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;
  background:#E9F0EA;border-bottom:1.5px solid #A4BBAE;padding:17px 20px;
  border-radius:16px 16px 0 0;
}
body.app-authenticated .hive-list-toolbar h2{font-size:1.22rem;color:#142D2D;letter-spacing:-.02em}
body.app-authenticated .hive-list-toolbar p{color:#52645E}
body.app-authenticated .hive-toolbar-actions{display:flex;gap:10px;align-items:end;flex-wrap:wrap}
body.app-authenticated .hive-sort-form{margin:0}
body.app-authenticated .hive-sort-form label{color:#405A4F;font-weight:800}
body.app-authenticated .hive-sort-form select{
  background:#fff;color:#142D2D;border:1.5px solid #819F8D;
  border-radius:9px;min-height:42px;padding:8px 34px 8px 10px;
}
body.app-authenticated .hive-list-toolbar .text-button{
  min-height:42px;display:inline-flex;align-items:center;gap:7px;
  border:1.5px solid #176A55!important;border-radius:9px!important;
  background:#FFFFFF!important;padding:9px 13px!important;color:#176A55!important;
  text-decoration:none!important;
}
body.app-authenticated .hive-list-toolbar .text-button:hover{background:#EFF8F2!important}
body.app-authenticated .apiary-hive-list{padding:17px;gap:16px;background:#F3F5F1}
body.app-authenticated .apiary-hive-row{transition:border-color .16s ease,box-shadow .16s ease}
body.app-authenticated .apiary-hive-row:not(.hive-nonextant):hover{
  box-shadow:0 6px 19px rgba(20,45,45,.11)!important;
}
body.app-authenticated .apiary-hive-row .apiary-hive-main{min-height:76px;gap:14px}
body.app-authenticated .apiary-hive-row:not(.hive-nonextant) .hive-avatar{
  background:#E4F0E8;border:1px solid #B7CEBF;color:#176A55;
}
body.app-authenticated .apiary-hive-row:not(.hive-nonextant) .apiary-hive-name strong{
  font-size:1rem;line-height:1.3;letter-spacing:-.01em;
}
body.app-authenticated .apiary-hive-row .apiary-hive-stats{gap:8px}
body.app-authenticated .apiary-hive-row .apiary-hive-metric{
  min-width:82px;padding:9px 12px;display:flex;flex-direction:column;justify-content:center;min-height:56px;
}
body.app-authenticated .apiary-hive-row .apiary-hive-metric strong{font-size:.98rem;line-height:1.2}
body.app-authenticated .apiary-hive-row .apiary-hive-metric small{font-size:.7rem;line-height:1.35}
body.app-authenticated .apiary-hive-row .hive-row-tools{
  border-top:1px solid rgba(100,123,112,.17);padding:9px 15px 12px;
  display:flex;flex-wrap:wrap;gap:8px;
}
body.app-authenticated .apiary-hive-row:not(.hive-nonextant) :is(.row-import-trigger,.row-inspect-trigger,.row-action-trigger){
  min-height:36px;border:1.5px solid #A7BDAE!important;
  background:#FFFFFF!important;color:#1F5742!important;border-radius:8px;
}
body.app-authenticated .apiary-hive-row:not(.hive-nonextant) :is(.row-import-trigger,.row-inspect-trigger,.row-action-trigger):hover{
  border-color:#176A55!important;background:#EAF5EC!important;
}
body.app-authenticated .apiary-hive-row.hive-nonextant{
  border-left:6px solid #B05B52!important;
}
body.app-authenticated .apiary-hive-row.hive-nonextant .hive-row-tools{
  border-top-color:#4B545B;
}
body.app-authenticated .apiary-hive-row.hive-nonextant .apiary-hive-metric{
  background:#343A40!important;border-color:#647079!important;
}
body.app-authenticated .apiary-hive-row.hive-nonextant .nonextant-badge{
  display:inline-flex;max-width:100%;width:fit-content;line-height:1.35;white-space:normal;
}
body.app-authenticated .archived-hives{background:#F8F9F7;border-top:1.5px solid #A4BBAE}
body.app-authenticated .archived-hives summary{font-size:.86rem;color:#284B3F;padding:6px 0}
body.app-authenticated .archived-list>div{gap:12px;flex-wrap:wrap;border-top-color:#CBD8CF;padding:12px 0}
@media(max-width:920px){
  body.app-authenticated .apiary-dashboard-hero{align-items:stretch;flex-direction:column;padding:18px}
  body.app-authenticated .apiary-dashboard-hero .hero-actions{justify-content:flex-start}
}
@media(max-width:760px){
  body.app-authenticated .apiary-dashboard-hero{padding:16px;gap:14px}
  body.app-authenticated .apiary-dashboard-hero h1{font-size:clamp(1.8rem,7vw,2.6rem)}
  body.app-authenticated .apiary-dashboard-hero .hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.app-authenticated .apiary-dashboard-hero .hero-actions :is(a,button){min-width:0;min-height:45px;white-space:normal;text-align:center}
  body.app-authenticated .apiary-mini-stats-single{grid-template-columns:1fr}
  body.app-authenticated .hive-list-toolbar{padding:15px;gap:12px;align-items:stretch}
  body.app-authenticated .hive-toolbar-actions{width:100%;justify-content:space-between;gap:10px}
  body.app-authenticated .hive-sort-form{flex:1 1 165px}
  body.app-authenticated .hive-sort-form select{width:100%;max-width:100%}
  body.app-authenticated .apiary-hive-list{gap:13px;padding:10px}
  body.app-authenticated .apiary-hive-row .apiary-hive-main{gap:9px}
  body.app-authenticated .apiary-hive-row .apiary-hive-metric{min-width:0;min-height:48px;padding:6px 7px}
  body.app-authenticated .apiary-hive-row .hive-row-tools{padding:9px 10px 11px}
}
@media(max-width:420px){
  body.app-authenticated .hive-toolbar-actions{align-items:stretch}
  body.app-authenticated .hive-list-toolbar .text-button{justify-content:center}
  body.app-authenticated .apiary-hive-row .apiary-hive-name strong{overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){
  body.app-authenticated .apiary-hive-row{transition:none}
}

/* v4.1.46 | Inspection history, unified colony details, reminders.
   Contrast-only: no markup, database, workflow, or event changes. */
body.app-authenticated .hive-workspace-panel .inspection-feed{
  display:grid;gap:12px;margin-top:15px;
}
body.app-authenticated .hive-workspace-panel .inspection-card-row{
  display:flex;align-items:center;gap:14px;min-width:0;
  padding:15px 16px!important;background:#FFFFFF!important;
  border:2px solid #AEBFB5!important;border-left:5px solid #176A55!important;
  border-radius:14px!important;box-shadow:0 2px 8px rgba(20,45,45,.055);
  color:#142D2D!important;
}
body.app-authenticated .hive-workspace-panel .inspection-card-row:hover,
body.app-authenticated .hive-workspace-panel .inspection-card-row:focus-visible{
  border-color:#176A55!important;background:#F4FAF6!important;
  box-shadow:0 3px 13px rgba(20,45,45,.12);
}
body.app-authenticated .hive-workspace-panel .inspection-date-badge{
  flex:0 0 auto;background:#E9F1EC!important;border:1px solid #ADBCB2!important;
  border-radius:10px;color:#142D2D!important;
}
body.app-authenticated .hive-workspace-panel .inspection-summary{min-width:0;flex:1}
body.app-authenticated .hive-workspace-panel .inspection-detail-line{color:#526560!important;line-height:1.55}
body.app-authenticated .hive-workspace-panel .inspection-action{color:#176A55!important;font-weight:800}
body.app-authenticated .hive-workspace-panel .history-filters{gap:8px;margin:12px 0 4px}
body.app-authenticated .hive-workspace-panel .history-filter{
  border:1.5px solid #9EB5A8!important;color:#24493C!important;
  background:#fff!important;min-height:38px;padding:7px 12px!important;
}
body.app-authenticated .hive-workspace-panel .history-filter.active{
  background:#DDEFE3!important;color:#12533C!important;
  border-color:#176A55!important;font-weight:800;
}
body.app-authenticated .hive-workspace-panel .hive-history-photo{
  border:2px solid #98B4A2!important;background:#EEF5F0!important;
  border-left:5px solid #D49B35!important;
}
body.app-authenticated .hive-workspace-panel .hive-history-photo .secondary{background:#fff!important}
body.app-authenticated .hive-workspace-panel .colony-inline-editors{gap:16px}
body.app-authenticated .hive-workspace-panel .colony-inline-section{
  border:2px solid #A6BAAE!important;background:#FFFFFF!important;
  box-shadow:0 2px 8px rgba(20,45,45,.055);
}
body.app-authenticated .hive-workspace-panel .colony-inline-section>summary{
  background:#F2F6F2!important;border-left:4px solid #729985;
  padding:18px 17px;
}
body.app-authenticated .hive-workspace-panel .colony-inline-section[open]>summary{
  background:#E4F0E8!important;border-bottom:2px solid #A6BAAE!important;
  border-left-color:#176A55;
}
body.app-authenticated .hive-workspace-panel .colony-inline-body{
  background:#FFFFFF!important;
}
body.app-authenticated .hive-workspace-panel .colony-inline-actions{
  border-top:1px solid #C2D0C5;padding-top:14px;
}
body.app-authenticated .reminder-list-panel{background:#F4F7F4!important}
body.app-authenticated .reminder-list{display:grid;gap:12px}
body.app-authenticated .reminder-list .reminder-row{
  border:2px solid #AEBFB5!important;border-left:5px solid #176A55!important;
  border-radius:14px;background:#FFF!important;padding:15px!important;
  opacity:1!important;box-shadow:0 2px 8px rgba(20,45,45,.045);
}
body.app-authenticated .reminder-list .reminder-row:has(.status-chip.danger){
  border-left-color:#B34B42!important;background:#FFF9F8!important;
}
body.app-authenticated .reminder-list .reminder-row:has(.status-chip.warn){
  border-left-color:#BD852D!important;background:#FFFDF5!important;
}
body.app-authenticated .reminder-list .reminder-row.completed{
  border-color:#C1C9C4!important;border-left-color:#7B8A83!important;
  background:#EFF2F0!important;
}
body.app-authenticated .reminder-list .reminder-row.completed .reminder-main strong{color:#4C5E57}
body.app-authenticated .reminder-list .reminder-main p,
body.app-authenticated .reminder-list .reminder-main small{color:#526660!important}
body.app-authenticated .reminder-list .reminder-actions .small-action{
  border:1.5px solid #9EB5A8!important;min-height:36px;
}
@media(max-width:650px){
 body.app-authenticated .hive-workspace-panel .inspection-card-row{padding:12px!important;gap:10px;flex-wrap:wrap}
 body.app-authenticated .hive-workspace-panel .inspection-action{margin-left:auto}
 body.app-authenticated .hive-workspace-panel .colony-inline-section>summary{padding:15px 12px}
 body.app-authenticated .reminder-list .reminder-row{padding:12px!important;gap:10px}
 body.app-authenticated .reminder-list .reminder-actions{display:flex;flex-wrap:wrap;gap:8px}
}
