/* Shared desktop / Android-browser layout. */
[hidden]{display:none!important}
body{font-size:15px}body[data-workspace-loading="true"] .shell{display:none!important}
.workspace-loading{max-width:420px;margin:20vh auto;padding:28px;text-align:center;color:var(--green)}
aside{height:100dvh;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:26px 16px;gap:12px}
aside>*{flex-shrink:0}aside nav{margin-top:12px}.farm-label{margin-top:24px}.phase{display:none}.profile{margin-top:auto;padding-top:14px}.sidebar-logout{min-height:44px}
.nav{min-height:46px;margin:3px 0}.nav b{font-size:13px;line-height:1.5}.nav-submenu{padding-left:10px}.nav-submenu .nav b{font-size:12px}
header{position:sticky;top:0;z-index:20;background:var(--bg);gap:10px}.head-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}
header button{min-height:42px}.toolbar-secondary{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mobile-nav-toggle,.toolbar-toggle,.mobile-nav-backdrop{display:none}
.connection-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0;font-size:12px;color:#52624f}.connection-bar button{padding:8px 10px;border:1px solid #ccd8c6;border-radius:7px;background:white;min-height:40px}
.connection-bar[data-state="offline"],.connection-bar[data-state="failed"]{color:#794d13}.connection-bar[data-state="pending"]{color:#74501c}
.helper,.card-head p,.page-heading p,.form-card p{line-height:1.65}.fields label,label{font-size:13px;color:#52624f}input,select{min-height:44px}button.primary,button.outline{min-height:42px}.outline{font-size:12px}
input[readonly]{background:#f0f4eb;color:#344a37}input:disabled,select:disabled{opacity:.72}.delivery-error:empty{display:none}
.table-wrap{overscroll-behavior-x:contain;max-width:100%;scrollbar-gutter:stable}.table-scroll-hint{font-size:12px;color:#52624f;margin:8px 16px}.table-wrap:focus-visible{outline:3px solid #96b58b}
th,td{overflow-wrap:anywhere}dialog label{display:block;margin-top:16px}dialog input,dialog select{margin-top:6px;margin-bottom:8px}dialog fieldset{min-width:0}
.status-grid{display:flex;gap:6px;flex-wrap:wrap}.section-state{padding:5px 8px;border-radius:6px;background:#f1f4ed;font-size:12px}.section-state[data-state="missing"]{background:#fff1df;color:#7a4c12}.section-state[data-state="saved"]{background:#e5efdf;color:#264d35}.section-state[data-state="review"]{background:#fff1df;color:#7a4c12}
.control-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.control-summary>div{padding:16px;border:1px solid var(--line);border-radius:8px}.control-summary b{display:block;font-size:22px;margin-top:8px}.action-grid{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.inline-warning{padding:12px;border-radius:8px;background:#fff2df;color:#70440d;line-height:1.6;margin:12px 0}
.outbox-card{border:1px solid var(--line);border-radius:10px;padding:16px;margin:12px 0}.outbox-card h3{margin:0 0 8px}.outbox-card .form-actions{gap:8px}.correction-impact{background:#eef4e7;border-radius:8px;padding:12px;line-height:1.6}
.entry-context{position:sticky;top:63px;z-index:10;background:#ecf2e5;color:#234b36;padding:12px;border-radius:7px;margin-bottom:12px;font-weight:600}.audit-json,pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font-size:12px}details.card>summary{padding:8px 0;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #85a46b;outline-offset:3px}
#network{display:none}.stock-summary{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:760px){
 body{font-size:16px}.shell{display:block}main{margin-left:0;width:100%;padding:0 12px}
 aside{display:flex!important;position:fixed;top:0;bottom:0;left:0;z-index:60;width:min(304px,84vw);height:100dvh;padding:22px 16px;transform:translateX(-105%);visibility:hidden;border-right:1px solid var(--line);border-bottom:0;transition:transform .16s ease,visibility .16s}
 body[data-menu-open="true"] aside{transform:translateX(0);visibility:visible}aside .brand{display:flex}aside .farm-label,aside .farm-name{display:block}aside nav{display:block}aside .nav{display:flex;width:100%}aside .profile{display:flex}aside .sidebar-logout{display:block}aside .phase{display:none}
 .mobile-nav-backdrop{position:fixed;inset:0;z-index:55;background:#102c2860}body[data-menu-open="true"] .mobile-nav-backdrop{display:block}
 header{height:auto;min-height:62px;padding:8px 0;flex-wrap:nowrap;gap:4px;border-bottom:1px solid var(--line)}header .breadcrumb{display:none}
 header>div:not(.head-actions){display:none}header #language,header #logoutTop{max-width:none;flex-shrink:0}.connection-bar #deliveryNotice{max-width:100%;font-size:12px!important;white-space:normal;text-align:left}
 .mobile-nav-toggle,.toolbar-toggle{display:block;flex:0 0 40px;width:40px;min-height:44px!important;padding:8px!important;font-size:21px!important;border:1px solid #d5dfce!important;border-radius:7px;background:white}
 .head-actions{display:flex;flex:1;min-width:0;gap:4px;flex-wrap:nowrap;justify-content:flex-end}.head-actions>button{padding:8px!important;min-height:44px;font-size:12px;white-space:nowrap}.head-actions #network{display:none}
 #deliveryNotice{max-width:88px;overflow:hidden;text-overflow:ellipsis;font-size:10px!important}#language{max-width:56px}#logoutTop{max-width:68px}
 .toolbar-secondary{display:none;position:absolute;right:0;top:100%;z-index:30;width:min(280px,88vw);padding:14px;background:white;border:1px solid var(--line);box-shadow:0 10px 25px #16322020;border-radius:8px}.toolbar-secondary button{width:100%;text-align:left;min-height:46px;font-size:14px}
 body[data-toolbar-open="true"] .toolbar-secondary{display:grid;gap:8px}.connection-bar{margin:8px 0;font-size:12px;gap:8px}.connection-bar button{min-height:40px;padding:6px 10px}
 .page-heading{margin:22px 0 18px;gap:12px;align-items:flex-start;flex-wrap:wrap}h1{font-size:28px;line-height:1.25;letter-spacing:-.7px}h2{font-size:19px;line-height:1.4}.form-card{padding:18px 14px}
 .fields,.quantity-controls,.receipt-date-fields{grid-template-columns:minmax(0,1fr)!important}.fields>div{min-width:0}label,.fields label{font-size:14px;line-height:1.5}input,select,textarea{font-size:16px;min-height:48px;max-width:100%}.helper,.form-card p,.page-heading p{font-size:13px;line-height:1.7}
 .primary,.outline{font-size:14px!important;min-height:44px!important}.form-actions{gap:10px;flex-wrap:wrap}.form-actions button{flex:1;min-width:110px}
 .stock-summary,.stats,.finance-summary,.pricing-summary,.control-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.stat{padding:16px 12px}.stat strong{font-size:27px}.stat-label,.stat small{font-size:12px}.stat strong em{font-size:13px}.dashboard-grid{grid-template-columns:1fr}
 .shed-tabs{gap:6px}.shed-tabs button{min-width:0;padding:12px 6px}.shed-tabs .tab-status{font-size:11px}.quantity-row{padding:16px 0}.packed-count{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.packed-count label{font-size:12px}.packed-count input{padding:10px 6px}.collection{padding:14px 10px}.collection-head{gap:8px;flex-wrap:wrap}.received-packing{gap:7px}.received-packing input{padding:10px 6px}.received-packing label{font-size:12px}
 .history-toggle{min-height:44px;width:42px}.nav-parent{width:100%;flex:none}.nav-submenu{width:100%}.nav-submenu .nav{padding:12px 8px}.nav-submenu .nav b{font-size:13px}
 dialog{max-height:90dvh;overflow:auto}dialog .fields{grid-template-columns:1fr!important}.table-wrap table{font-size:13px}.table-wrap th,.table-wrap td{padding:12px 10px;line-height:1.6}.card-head{padding:18px 14px;gap:10px;flex-wrap:wrap}
 .filterbar{gap:10px;flex-wrap:wrap}.filterbar>div{flex-wrap:wrap}.filterbar input{width:160px}.quiet{font-size:12px}.tag,.eyebrow{font-size:10px}.demo{font-size:12px;line-height:1.6}.profile small{font-size:12px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{aside,header,.connection-bar,button,.demo{display:none!important}main{margin:0;width:100%;padding:0}.table-wrap{overflow:visible}.card{break-inside:avoid}body{background:white}}



.trader-rate-equation{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1fr);gap:12px;align-items:center;margin:24px 0}.rate-tile{min-width:0;border:1px solid var(--line);border-radius:12px;padding:20px;background:#f4f5f1}.rate-tile label{display:block;font-weight:600;margin-bottom:14px}.rate-input-line{display:flex;align-items:center;gap:6px;font-size:24px}.rate-input-line input{width:100%;min-width:0;font-size:25px;font-weight:700;background:transparent;border:0;padding:5px 0;color:var(--ink)}.rate-input-line input:read-only{color:#53645a;cursor:default}.rate-input-line input:not(:read-only){background:white;border:1px solid #9ab19d;border-radius:6px;padding:5px}.rate-input-line input::-webkit-inner-spin-button{appearance:none}.rate-pencil{flex-shrink:0;min-width:40px;min-height:44px;font-size:23px}.rate-final{background:#e9f1df;border-color:#c5d7b3}.rate-final input{color:var(--green)!important}.rate-tile small{font-size:11px;color:#6f7d6d;margin-top:10px}.rate-operator{font-size:25px;text-align:center;color:#6f7d6d}.trader-rate-actions{display:flex;gap:12px;margin-top:18px}.trader-rate-actions[hidden]{display:none}.necc-reference{font-size:11px;margin-top:14px}.necc-dialog{border:1px solid #dbe3d7;border-radius:14px;padding:24px;width:min(460px,calc(100vw - 32px));max-height:85dvh}.necc-dialog p{margin:16px 0}.necc-dialog::backdrop{background:#163a2d77}@media(max-width:760px){.trader-rate-equation{grid-template-columns:minmax(0,1fr);gap:8px;margin:18px 0}.rate-tile{padding:16px}.rate-tile label{margin:0 0 6px}.rate-operator{line-height:1}.rate-input-line input{font-size:26px}.rate-tile small{margin-top:4px}.necc-dialog .form-actions{display:flex;flex-wrap:wrap;gap:10px}}
.shared-tray-card{margin-bottom:22px}.shared-tray-input{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}.shared-tray-input input{width:160px;font-size:22px;font-weight:700}.shared-tray-input input:read-only{background:#f1f3ed;color:#52624f}.local-pricing-dialog{border:1px solid #dbe3d7;border-radius:16px;padding:0;width:min(850px,calc(100vw - 24px));max-height:90dvh;overflow:auto}.local-pricing-dialog::backdrop{background:#173d2b88}.local-pricing-dialog #localPriceEditor{margin:0;border:0;box-shadow:none}.local-pricing-dialog .fields{margin-top:18px}.local-pricing-dialog input:read-only{background:#f1f3ed}.local-pricing-dialog #localDiscountFields[hidden]{display:none}@media(max-width:760px){.local-pricing-dialog{width:calc(100vw - 20px);max-height:92dvh}.local-pricing-dialog #localPriceEditor{padding:18px}.local-pricing-dialog .form-actions{display:flex;gap:10px;flex-wrap:wrap}}

#godownForm #saleBrokenSubtypeField{margin-top:0;align-self:start}#godownForm input:disabled,#godownForm select:disabled,#saleCorrectionForm input:disabled,#saleCorrectionForm select:disabled{background:#edf0eb;color:#899187;cursor:not-allowed}


.trader-history-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 12px}.trader-history-actions p{flex-basis:100%}.egg-history-dialog{width:min(900px,calc(100vw - 24px));max-height:88dvh;overflow:auto;border:1px solid #dae2d5;border-radius:14px;padding:22px}.egg-history-dialog::backdrop{background:#153d2b88}.egg-history-dialog .table-wrap{margin:18px 0}.egg-history-dialog .form-actions{display:flex;gap:12px}


.history-heading-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.history-month-filters{display:flex;flex-wrap:wrap;gap:16px;margin:18px 0}.history-month-filters>div{flex:1;min-width:130px}.history-month-filters label{display:block;margin-bottom:8px}.history-month-filters select,.history-month-filters input{width:100%}.egg-history-dialog .card-head{align-items:flex-start;gap:14px}@media(max-width:600px){.egg-history-dialog .card-head{flex-wrap:wrap}.history-heading-actions{margin-left:auto}}


.pricing-date-source-refresh{margin-left:auto;align-self:center}@media(max-width:600px){.pricing-date-source-refresh{margin-left:0;max-width:100%}}


.statement-buyer-combo{position:relative;align-self:start}.statement-buyer-combo #accountBuyerSearch{width:100%;margin-bottom:0}.statement-buyer-combo #statementBuyerOptions{position:absolute;top:100%;left:0;right:0;z-index:30;max-height:280px;overflow:auto;background:white;border:1px solid #cbd8c3;border-radius:8px;box-shadow:0 8px 22px #214f3b22}.statement-buyer-combo #statementBuyerOptions button{display:block;width:100%;text-align:left;min-height:44px;padding:10px 12px}.statement-buyer-combo #statementBuyerOptions button:hover,.statement-buyer-combo #statementBuyerOptions button[aria-selected=true]{background:#eaf2e1}.statement-buyer-combo #statementBuyerOptions[hidden]{display:none}


.my-requests-dialog{width:min(850px,calc(100vw - 24px));max-height:88dvh;overflow:auto;padding:22px;border:1px solid #dce5d6;border-radius:14px}.my-requests-dialog::backdrop{background:#163a2d88}.my-request-card{border:1px solid #dce5d6;border-radius:10px;padding:16px;margin:14px 0}.my-request-card h3{font-size:16px;margin:0 0 10px}.my-request-card p{margin:10px 0}.request-state{display:inline-block;padding:6px 10px;border-radius:6px;background:#eff2eb}.request-approved{background:#e5f1dc;color:#255734}.request-rejected{background:#fff0df;color:#814817}.request-pending{background:#fff6d6;color:#735d20}.my-request-card details{margin-top:12px}.my-requests-dialog .form-actions{display:flex;gap:12px}.my-requests-dialog .fields{margin:16px 0}


.difference-dialog{width:min(900px,calc(100vw - 24px));max-height:90dvh;overflow:auto;padding:22px;border:1px solid #dce5d6;border-radius:14px}.difference-dialog::backdrop{background:#183b2c88}.difference-dialog input[type=number]{width:110px;max-width:100%}.difference-dialog textarea{width:100%;margin:12px 0}.difference-dialog .form-actions{display:flex;flex-wrap:wrap;gap:10px}.difference-dialog input[type=checkbox]{width:20px;min-height:20px}.approval-workspace .request-card{margin:16px 0}.approval-workspace .correction-change{background:#fff4df}.difference-dialog label{display:block;margin:12px 0}

.sc-balances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.sc-balances>div{background:#f1f5ec;border:1px solid #e1e8da;border-radius:12px;padding:14px}.sc-balances span{display:block;font-size:12px;color:#657466}.sc-balances strong{display:block;font-size:24px;color:#204e3a;margin-top:6px}.sc-outcomes{border:1px solid #dce5d6;border-radius:14px;padding:18px;margin:20px 0}.sc-outcomes legend{padding:0 8px;font-weight:600}.sc-preview{background:#edf5ee;border-left:4px solid #2f7550;border-radius:10px;padding:18px;margin:18px 0}.sc-chip{display:inline-block;background:white;border:1px solid #d6e4d4;border-radius:20px;padding:6px 12px;margin:4px;font-size:13px}.sc-history{padding:16px 0;border-bottom:1px solid #e1e5dc}.sc-history summary{cursor:pointer;font-weight:600}.stock-change-card label{display:block}#godown-panel-changes .fields{align-items:start}#godown-panel-changes input,#godown-panel-changes select{width:100%}@media(max-width:600px){.sc-balances{grid-template-columns:repeat(2,minmax(0,1fr))}.sc-outcomes{padding:12px}.sc-preview{padding:12px}}
@media(min-width:761px){#godown [role=tablist]{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:760px){#godown [role=tablist]{grid-template-columns:repeat(2,minmax(0,1fr))}}
.godown-task-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.godown-followup{margin:18px 0}.stock-availability{background:#edf6ee;border:1px solid #c5dcca;border-left:4px solid #337653;border-radius:12px;padding:16px;margin:12px 0;animation:availability-slide .18s ease-out}.stock-availability[hidden]{display:none}.availability-short{background:#fff0eb;border-color:#d99575}.stock-availability p{margin:6px 0}.receipt-contents{width:100%}.condition-receive{margin-top:12px}@keyframes availability-slide{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){.godown-task-cards{grid-template-columns:1fr}.godown-task-cards button{text-align:left}}
.connection-bar #incomingShortcut,.connection-bar #differencesShortcut{max-width:100%;white-space:normal;text-align:left}
/* One aligned shortcut row; the connection message stays above it. */
.connection-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:stretch}
.connection-bar #connectionState{grid-column:1/-1}
.connection-bar>button{width:100%;min-width:0;min-height:44px;white-space:normal;text-align:left;line-height:1.4;margin:0}
@media(max-width:760px){.connection-bar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.connection-bar{grid-template-columns:minmax(0,1fr)}}
.godown-followup:has(#gdConnection:empty){display:none}
.connection-bar:not(:has(#incomingShortcut:not([hidden]))){display:flex;align-items:center}
.connection-bar:not(:has(#incomingShortcut:not([hidden])))>button{width:auto}
.broken-subtotal{background:#edf3e8;font-weight:600}.broken-subtotal small{display:block;font-weight:400;font-size:12px;margin-top:6px;color:#52624f}.broken-subtotal input[readonly]{background:#f0f4eb;cursor:default}
/* Hide empty explanatory space and repeated decorative copy, never live warnings. */
.helper:empty,.footnote:empty,.page-heading p:empty{display:none}
.page-heading .eyebrow,main>footer,#feedAddedInfo{display:none}
.agri-live{display:none}

/* Free issues share the sale form spacing without a second outer border. */
#fiFields{border:0;padding:0;margin:0;min-width:0}
#fiForm>.fields,#fiFields>.fields{margin-bottom:1rem}
#fiFields>.sale-form-group{margin:1rem 0;padding:1rem;border:1px solid var(--line,#dce3d8);border-radius:12px}
#fiReason{margin-bottom:1rem}
#godown-panel-free .sc-history{padding:.8rem 0;border-bottom:1px solid var(--line,#dce3d8)}
#godown>.godown-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
#transactions .godown-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){#godown>.godown-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
#traderAgreements label{display:block}#traderAgreements .check{display:flex;align-items:center;gap:.5rem;margin:1rem 0}#traderAgreements input[type=checkbox]{width:1.2rem;height:1.2rem;min-height:1.2rem}#caHistory{margin-top:1.25rem}#caHistoryRows>.sc-history{padding:.8rem 0;border-bottom:1px solid var(--line,#dce3d8)}
.trader-agreement-dialog{width:min(960px,calc(100vw - 32px));max-height:90vh;padding:0;border:1px solid var(--line,#dce3d8);border-radius:16px;overflow:auto;color:var(--ink,#163b36);background:#fff}.trader-agreement-dialog::backdrop{background:rgba(15,37,31,.45)}.trader-agreement-dialog>.card{margin:0;border:0;box-shadow:none}.trader-pricing-status{white-space:normal;min-width:105px}#caTraderName{font-weight:600;margin:.5rem 0}#traderAgreements .card-head{flex-wrap:wrap;gap:.75rem}@media(max-width:600px){.trader-agreement-dialog{width:calc(100vw - 20px);max-height:92vh}.trader-agreement-dialog>.card{padding:16px}}
#traderAgreements>.fields{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:600px){#traderAgreements>.fields{grid-template-columns:1fr}}
.farm-date-input{color:transparent!important;-webkit-text-fill-color:transparent!important}.farm-date-input::-webkit-datetime-edit{opacity:0}.farm-date-display{position:absolute;transform:translateY(-50%);pointer-events:none;white-space:nowrap;color:var(--ink,#163b36);font-size:14px;line-height:1.3;overflow:hidden;text-overflow:ellipsis}
/* Mixed-age groups use the existing cards and collapse cleanly on phones. */
.bird-group-card{border:1px solid var(--line,#dce3d5);border-radius:12px;padding:16px;margin:12px 0;background:var(--surface,#fff)}
.bird-group-card small{display:block;margin-top:4px;color:var(--muted,#718074)}
.bird-group-numbers{display:flex;flex-wrap:wrap;gap:12px 24px;margin:12px 0;font-size:13px}
.bird-group-editor{border-top:1px solid var(--line,#dce3d5);padding:16px 0}
.bird-group-editor>summary{font-weight:650;cursor:pointer;padding:4px 0;min-height:44px;align-content:center}
.bird-group-card .card-head{flex-wrap:wrap;align-items:flex-start;gap:12px}
.bird-group-card .card-head>div{min-width:0;overflow-wrap:anywhere}
.bird-group-editor form{margin-top:14px}
.bird-group-editor fieldset{border:0;padding:0;margin:0;min-width:0}
.bird-allocation{align-items:end;padding:12px 0;border-bottom:1px solid var(--line,#dce3d5)}
#birdGroupsManager .fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}
#birdGroupAges{display:flex;flex-wrap:wrap;gap:10px;overflow-wrap:anywhere}
@media(max-width:600px){.bird-group-card{padding:12px}.bird-group-card .fields{grid-template-columns:1fr 1fr}.bird-allocation{grid-template-columns:1fr!important}.bird-group-editor button{min-height:44px}}

/* Bird records: clear corrections and touch-friendly activity controls. */
#birdRecords .table-wrap{max-width:100%;overflow-x:auto}
#birdRecords td{vertical-align:top}
#birdRecords td .outline{margin:2px;min-height:44px}
.bird-change-row td{padding:12px}
.bird-change-row mark{background:#e8f1d9;color:#173e2b;padding:3px 7px;border-radius:4px}
#birdRecords details{margin-top:18px;padding:14px 0;border-top:1px solid var(--line,#dce3d5)}
#birdRecords summary{cursor:pointer;font-weight:600;min-height:36px}
.sales-workspace-filters{margin:16px 0;gap:16px}
.sales-workspace-filters input,.sales-workspace-filters select{min-height:44px}
.sw-price-card{border:1px solid var(--line,#dce3d5);border-radius:12px;background:#fff;padding:16px;margin:12px 0}
.sw-price-card>label{font-weight:600}
.sw-price-card fieldset{border:0;padding:8px 0 0;margin:0;min-width:0}
.sw-price-card fieldset:disabled{opacity:.65}
.sw-balance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:12px 0}
.sw-balance-grid>div{padding:12px;border-radius:8px;background:#edf3e5}
.sw-balance-grid span,.sw-balance-grid b{display:block}
.sw-balance-grid span{font-size:12px;color:var(--muted,#718074);margin-bottom:8px}
.sw-detail-row>td{background:#f8faf5;padding:18px!important}
.sw-pending{color:#8a5a12!important}
.sw-main-row td{vertical-align:top}
.sw-main-row .pill{white-space:normal}
.sw-main-row .sw-rate,.sw-main-row .sw-local{display:block;margin-top:8px}
.workspace-history{margin-top:14px}
.workspace-history>summary{font-weight:600;cursor:pointer;min-height:44px;padding:12px 0}
@media(max-width:900px){
 .sales-workspace-table{display:block;min-width:0!important;width:100%}
 .sales-workspace-table>thead{display:none}
 .sales-workspace-table>tbody{display:block}
 .sales-workspace-table>tbody>.sw-main-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;border:1px solid var(--line,#dce3d5);border-radius:12px;padding:12px;margin:12px 0;background:white}
 .sales-workspace-table>tbody>.sw-main-row>td{display:block;border:0;padding:8px;min-width:0;overflow-wrap:anywhere}
 .sales-workspace-table>tbody>.sw-main-row>td:before{display:block;content:attr(data-label);font-size:11px;color:var(--muted,#718074);margin-bottom:6px}
 .sales-workspace-table>tbody>.sw-main-row>td:first-child,.sales-workspace-table>tbody>.sw-main-row>td:last-child{grid-column:1/-1}
 .sales-workspace-table>tbody>.sw-main-row>td:last-child button{width:100%;min-height:44px}
 .sales-workspace-table>tbody>.sw-detail-row{display:block}
 .sales-workspace-table>tbody>.sw-detail-row[hidden]{display:none!important}
 .sales-workspace-table>tbody>.sw-detail-row>td{display:block;border-radius:12px}
 .sw-balance-grid{grid-template-columns:1fr 1fr}
 .sw-price-card{padding:12px}.sw-price-card .fields{grid-template-columns:1fr!important}
}
@media(max-width:600px){#birdRecords .form-actions{display:flex;flex-wrap:wrap}#birdRecords .form-actions>button{flex:1;min-height:44px}.bird-change-row td{overflow-wrap:anywhere}}

#workflowDialog.sw-buyer-pricing{width:min(760px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);padding:20px;border:1px solid #dce3d5;border-radius:16px;box-shadow:0 20px 70px #173e2b33}
.sw-buyer-pricing #workflowForm{display:flex;flex-direction:column;gap:12px;max-height:calc(100dvh - 72px)}
.sw-buyer-pricing #workflowTitle{margin:0;flex-shrink:0}
.sw-buyer-pricing #workflowFields{overflow:auto;min-height:0;margin:0;padding:0;border:0}
.sw-buyer-pricing #workflowForm>.form-actions{flex-shrink:0;margin:0;background:white;padding-top:12px;border-top:1px solid #dce3d5}
.sw-buyer-pricing #workflowError:empty{display:none}
@media(max-width:900px){.sw-local-table{display:block;min-width:0!important;width:100%}.sw-local-table>thead{display:none}.sw-local-table>tbody{display:block}.sw-local-table>tbody>tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dce3d5;border-radius:12px;margin:12px 0;padding:12px;gap:8px}.sw-local-table>tbody>tr>td{display:block;border:0;min-width:0;overflow-wrap:anywhere;padding:8px}.sw-local-table>tbody>tr>td:before{content:attr(data-label);display:block;font-size:11px;color:#718074;margin-bottom:6px}.sw-local-table>tbody>tr>td:first-child,.sw-local-table>tbody>tr>td:last-child{grid-column:1/-1}.sw-local-table>tbody>tr>td:last-child button{width:100%;min-height:44px}}
/* Buyer statements keep one compact row on desktop and readable cards on phones. */
.statement-change{padding:16px 0;border-bottom:1px solid var(--line,#dfe5d9)}
.statement-change summary{padding:10px 0;cursor:pointer}
.statement-excluded{opacity:.65}
.statement-trader th:nth-child(5),.statement-trader td:nth-child(5){display:none}
#statementActions{margin:12px 0;align-items:center;flex-wrap:wrap}
#statementPrint{display:none}
#financialPrint{display:none}
#financialPrint[open]{display:block;width:min(1100px,96vw);max-width:96vw;max-height:92dvh;overflow:auto;padding:24px;border:1px solid #dbe1d3;border-radius:14px;background:white;color:#173e30}
#financialPrint::backdrop{background:#173e3070}
#financialPrint table{border-collapse:collapse;width:100%;font-size:12px}
#financialPrint th,#financialPrint td{padding:9px;border:1px solid #dbe1d3;white-space:normal;overflow-wrap:anywhere}
#financialPrint h1{font-size:24px;margin:14px 0}#financialPrint h2{font-size:18px}
.financial-print-actions{display:flex;gap:10px;justify-content:flex-end;position:sticky;top:0;background:white;padding:8px 0;z-index:2}
.financial-print-summary{display:flex;flex-wrap:wrap;gap:18px;margin:18px 0}.financial-print-summary b{display:block}
.financial-tools,.financial-date-shortcuts{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0}
.financial-tools label{display:flex;align-items:center;gap:8px;margin:0}
.financial-tools input[type=checkbox]{width:20px;height:20px;margin:0}
.financial-tools select{min-width:190px}
.financial-more{position:relative;align-self:center;padding:10px}
.financial-more summary{cursor:pointer;font-weight:600}
.financial-more[open] button{display:block;margin-top:12px}
.financial-fold{padding:12px 0}.financial-fold summary{cursor:pointer;font-weight:600}
.financial-check{padding:14px;border:1px solid #dedfd4;border-radius:9px;margin:10px 0}
.financial-quantity{display:block;margin-top:6px;white-space:normal;font-size:12px}
.cash-in-hand{order:-1;border:2px solid #214f3b;background:#eaf2df}
.cash-in-hand b{font-size:28px}
.cash-count-comparison{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.cash-count-comparison span{padding:10px;background:#f2f5ec;border-radius:6px}.cash-count-comparison b{display:block}
#buyerPendingActions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#buyerPendingActions p{margin:4px 0}
@media(max-width:640px){
 .financial-tools{align-items:stretch;flex-direction:column}.financial-tools select{width:100%}
 .financial-date-shortcuts{gap:6px}.financial-date-shortcuts button{flex:1;padding:10px 8px;font-size:12px}
 .financial-cash-table thead{display:none}.financial-cash-table,.financial-cash-table tbody,.financial-cash-table tr,.financial-cash-table td{display:block;width:100%}
 .financial-cash-table tr{border:1px solid #dde2d6;margin:10px 0;border-radius:8px;padding:8px}
 .financial-cash-table td{border:0;white-space:normal;padding:8px}.financial-cash-table td:before{content:attr(data-label);display:block;font-size:11px;color:#60766b;margin-bottom:4px}
 .cash-count-comparison{grid-template-columns:1fr}.financial-more{padding:8px 0}
 #financialPrint[open]{padding:16px}.financial-print-table{overflow-x:auto}
 #financialPrint table{min-width:650px}
}
@media print{
 @page{size:A4 landscape;margin:13mm;@bottom-right{content:counter(page) " / " counter(pages);font-size:9pt}}
 body:has(#financialPrint)>*:not(#financialPrint){display:none!important}
 #financialPrint{display:block!important;background:#fff;color:#111;font:10pt Arial,"Noto Sans Telugu",sans-serif}
 #financialPrint[open]{position:static!important;max-width:none!important;max-height:none!important;width:100%!important;margin:0!important;border:0!important;border-radius:0!important;padding:0!important;overflow:visible!important}
 #financialPrint::backdrop{display:none}.financial-print-actions{display:none!important}
 .financial-print-table{overflow:visible!important}#financialPrint table{min-width:0!important}
 #financialPrint h1{font-size:20pt;margin:8px 0}#financialPrint h2{font-size:14pt;margin:6px 0}
 #financialPrint table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:9pt}
 #financialPrint th,#financialPrint td{border:1px solid #bbb;padding:7px;overflow-wrap:anywhere;text-align:left}
 #financialPrint thead{display:table-header-group}#financialPrint tr{break-inside:avoid}
 #financialPrint th:nth-child(2),#financialPrint td:nth-child(2){width:28%}
 .financial-print-summary{display:flex;gap:16px;flex-wrap:wrap;margin:16px 0}
 .financial-print-summary div{min-width:100px}.financial-print-summary b{display:block;margin-top:5px}
 .financial-print-title{font-weight:700;letter-spacing:1px}.financial-print-warning{border:1px solid #555;padding:8px;font-weight:700}
 .financial-print-end{font-size:8pt;color:#555}
}
@media(max-width:900px){
 .statement-table thead{display:none}
 .statement-table,.statement-table tbody,.statement-table tr,.statement-table td{display:block;width:100%;min-width:0;box-sizing:border-box}
 .statement-table tr{padding:14px;border:1px solid #dfe5d9;border-radius:12px;margin-bottom:12px}
 .statement-table td{border:0;padding:7px 0;overflow-wrap:anywhere;white-space:normal}
 .statement-table td::before{content:attr(data-label);display:block;font-size:12px;color:#65766e;margin-bottom:3px}
 .statement-trader td:nth-child(5){display:none}
 #buyerAccounts .table-wrap{overflow:visible}
 #statementChanges .table-wrap{overflow:auto}
 #statementChanges table{min-width:450px}
}
@media print{
 body:has(#statementPrint)>*:not(#statementPrint){display:none!important}
 #statementPrint{display:block!important;color:#111;background:#fff;font:11px Arial,sans-serif}
 #statementPrint table{border-collapse:collapse;width:100%;table-layout:fixed}
 #statementPrint th,#statementPrint td{border:1px solid #aaa;padding:6px;overflow-wrap:anywhere}
 #statementPrint small{display:block}
 #statementPrint summary{list-style:none;font-weight:bold}
 #statementPrint .stock-summary{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}
 #statementPrint .stock-summary b,#statementPrint .stock-summary span{display:block}
}
/* Daily reporting: consistent controls, fewer repeated messages and readable phone history. */
#entry #batchInfo,#entry .page-heading>.tag,#entry .page-heading .eyebrow{display:none!important}
#entry .page-heading{flex-wrap:wrap;gap:12px;align-items:center}
#entry .page-heading>div:first-child{flex:1 1 260px}
#entry .page-heading h1{margin-bottom:6px}
#entry .form-card{padding:22px}
#entry input[readonly]{background:#eff3e9;border-style:dashed;color:#294b3b}
#entry .shed-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#entry .shed-tabs button{min-width:0;min-height:98px;text-align:left}
#entry .tab-status{font-size:12px;line-height:1.5;font-weight:600}
#entry button:disabled{opacity:.6;cursor:not-allowed}
#entry label:has(#full){display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid #cad6c2;border-radius:10px;background:#f6f8f2;line-height:1.6}
#entry #full{flex:0 0 22px;width:22px;height:22px;margin:1px 0}
#entry #feedConfirmationHint{margin:10px 0;color:#66501c}
#entry .delivery-error:empty{display:none}
#entry #agriDayTotal{padding:14px;border-radius:10px;background:#edf3e5;margin:12px 0}
#entry .form-actions{flex-wrap:wrap;gap:10px}
@media(max-width:640px){
 #entry .page-heading>div:first-child{flex-basis:100%}
 #entry .page-heading>button{flex:1 1 140px;min-height:46px}
 #entry .form-card{padding:16px 12px}
 #entry input,#entry select,#entry textarea{font-size:16px;max-width:100%;min-width:0;box-sizing:border-box}
 #entry input:not([type=checkbox]):not([type=hidden]),#entry select{min-height:48px}
 #entry button{min-height:44px}
 #entry .shed-tabs{gap:6px}
 #entry .shed-tabs button{padding:12px 7px;min-height:98px}
 #entry .shed-tabs .tab-label{font-size:14px;line-height:1.45}
 #entry .shed-tabs small{font-size:12px}
 #entry .tab-status{font-size:11px;white-space:normal;overflow-wrap:anywhere}
 #entry .fields{grid-template-columns:minmax(0,1fr)}
 #entry .packed-count{grid-template-columns:repeat(3,minmax(0,1fr))}
 #entry .bird-group-numbers{flex-wrap:wrap;gap:10px}
 #entry #agriHistory .table-wrap{overflow:visible}
 #entry .shed-history-table thead{display:none}
 #entry .shed-history-table,#entry .shed-history-table tbody,#entry .shed-history-table tr,#entry .shed-history-table td{display:block;width:100%;min-width:0;box-sizing:border-box}
 #entry .shed-history-table tr{padding:12px;margin-bottom:12px;border:1px solid #dfe5d9;border-radius:10px}
 #entry .shed-history-table td{padding:6px 0;border:0;white-space:normal;overflow-wrap:anywhere}
 #entry .shed-history-table td::before{content:attr(data-label);display:block;font-size:12px;color:#657166;margin-bottom:2px}
}

#traderBillForm {margin-top:1.2rem} #traderBillDialog h1,#traderBillPrint h1{font-size:1.4rem} #traderBillDialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.85rem}.bill-totals{display:grid;grid-template-columns:1fr auto;gap:.65rem;max-width:32rem;margin-left:auto}.bill-totals dd{margin:0;text-align:right}#traderBillPrint table{width:100%}#traderBillPrint article{padding:1.5rem}#traderBillManagement .table-wrap,#tbRows .table-wrap{overflow-x:auto}
@media print{body:has(#traderBillPrint[open])>*:not(#traderBillPrint){display:none!important}#traderBillPrint[open]{display:block!important;position:static!important;width:100%!important;max-width:none!important;max-height:none!important;border:0!important;margin:0!important;box-shadow:none!important}#traderBillPrint .no-print{display:none!important}#traderBillPrint::backdrop{background:white}}

.bill-discount-field{display:block;max-width:22rem;margin:1rem 0}.bill-discount-field input{width:100%}.bill-discount-field small{display:block;margin-top:.35rem}

.issue-record-totals{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.issue-record-totals>span{flex:1;min-width:140px;padding:14px 18px;background:#f0f5e9;border:1px solid #dce5d4;border-radius:12px;color:#627468}.issue-record-totals b{display:block;font-size:1.5rem;color:#173d32;margin-top:6px}.record-tag{display:inline-block;padding:3px 7px;margin:3px 0 3px 6px;border:1px solid #dce3d9;border-radius:7px;font-size:.75rem;font-weight:500;background:#f6f8f3;color:#486353}.issue-record-detail{margin-top:12px;border-top:1px solid #e2e8dc;padding-top:8px}.issue-record-detail p{margin:8px 0;font-size:.85rem}.issue-record-cancelled{opacity:.7}.issue-record-table td{vertical-align:top}.issue-record-table small{display:block;margin-top:4px}.issue-record-table summary{font-weight:650;cursor:pointer}.issue-record-table .outline{white-space:normal}#issuesSearch{max-width:460px}#traderBillReview>article{padding:24px}#traderBillReview .form-actions{margin-top:20px}
.bill-sheet{background:white;color:#182a22}.bill-sheet-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-bottom:2px solid #264e3e;padding-bottom:18px}.bill-sheet-header h1{font-size:1.45rem;margin:0 0 5px}.bill-sheet-header h2{font-size:.95rem;font-weight:500;margin:0}.bill-reference{text-align:right;display:grid;gap:4px}.bill-parties{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:18px 0}.bill-parties span{display:block;font-size:.75rem;color:#67766a;margin-bottom:5px}.bill-parties strong{overflow-wrap:anywhere}.bill-basis{font-size:.8rem;display:inline-block;padding:4px 9px;border:1px solid #dae3d6;border-radius:6px;margin:0 0 12px}.bill-lines{width:100%;table-layout:auto;border-collapse:collapse}.bill-lines th,.bill-lines td{padding:12px 9px;border-bottom:1px solid #dfe5db;white-space:normal}.bill-lines th:not(:first-child),.bill-lines td:not(:first-child){text-align:right}.bill-lines small{display:block;font-size:.72rem;font-weight:400;margin-top:5px}.bill-lines tfoot{border-top:2px solid #264e3e}.bill-unit-note{font-size:.72rem;color:#627267;margin:10px 0 18px}.bill-totals{margin-top:20px;margin-bottom:20px;grid-template-columns:minmax(0,1fr) auto;max-width:380px}.bill-totals .bill-net{font-weight:750;border-top:2px solid #264e3e;padding-top:12px;font-size:1.1rem}.bill-credit{font-size:.8rem}.bill-signatures{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:34px;padding-top:14px;border-top:1px solid #e1e7dc;font-size:.75rem}.bill-signatures strong{display:block;margin-top:14px}.bill-signature-line{display:block;border-bottom:1px solid #69766c;margin-top:28px;max-width:220px}
@media(max-width:600px){.issue-record-table,.issue-record-table tbody{display:block;width:100%;min-width:0!important}.issue-record-table thead{display:none}.issue-record-table tr.issue-record{display:block;border:1px solid #dae3d5;border-radius:12px;padding:12px;margin:12px 0;background:white}.issue-record-table td{display:block;width:100%;min-width:0!important;white-space:normal;overflow-wrap:anywhere;padding:9px;border:0}.issue-record-table td::before{content:attr(data-label);display:block;color:#637669;font-size:.7rem;margin-bottom:5px}.issue-record-table td:last-child button{width:100%}.issue-record-table .record-tag{margin-left:4px}.bill-sheet-header{gap:10px}.bill-reference{font-size:.78rem}.bill-parties{gap:12px}.bill-parties strong{font-size:.9rem}#traderBillReview>article,#traderBillPrint>article{padding:16px}.bill-lines th,.bill-lines td{padding:9px 4px;font-size:.72rem}.bill-lines small{font-size:.65rem}.bill-lines-wrap{width:100%}.bill-signatures{gap:15px}.bill-totals{font-size:.85rem}}
@media print{#traderBillPrint .bill-sheet{font-family:Arial,sans-serif;color:#000!important;max-width:760px;margin:0 auto}#traderBillPrint .bill-sheet-header{border-color:#000}#traderBillPrint .bill-basis,#traderBillPrint .record-tag{background:#fff;color:#000;border:1px solid #666}#traderBillPrint th,#traderBillPrint td{color:#000;border-color:#bbb;font-size:10pt;padding:10px 6px}#traderBillPrint .bill-lines small{font-size:9pt}#traderBillPrint .bill-net{font-size:14pt;border-color:#000}#traderBillPrint .bill-signatures{break-inside:avoid}#traderBillPrint .bill-sheet-header,#traderBillPrint .bill-parties,#traderBillPrint .bill-totals{break-inside:avoid}}

@media(max-width:600px){.bill-lines{table-layout:fixed}.bill-lines th:first-child,.bill-lines td:first-child{width:40%}.bill-lines th:nth-child(2),.bill-lines td:nth-child(2){width:18%}.bill-lines th:nth-child(3),.bill-lines td:nth-child(3){width:18%}.bill-lines th:last-child,.bill-lines td:last-child{width:24%}.bill-lines th{letter-spacing:0;word-break:normal;overflow-wrap:normal;font-size:.65rem}.bill-lines td{font-size:.7rem;letter-spacing:0}.bill-sheet-header{position:static;height:auto;background:transparent}}

/* One combined daily register on desktop and phones. */
.dr-filters{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}
.dr-filter-card{padding-bottom:16px}#drMoreFilters{margin-top:16px}#drMoreFilters summary{cursor:pointer;font-size:13px;color:#315541}#drMoreFilters .fields{margin-top:14px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.dr-totals{margin:0;grid-template-columns:repeat(4,minmax(0,1fr))}.dr-totals b{min-height:28px}#drSummaryNote{margin:8px 0 20px}
.dr-register-card{min-width:0}#drRegisterHint{margin-top:0}#drMissing{margin-bottom:12px}
.dr-register-scroll{max-height:68vh;overflow:auto;max-width:100%;isolation:isolate;overscroll-behavior:contain;border:1px solid #dce4d6;border-radius:10px;scrollbar-gutter:stable}
.dr-register-scroll:focus-visible{outline:3px solid #96b58b;outline-offset:3px}
#drTable .dr-register{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:12px}
#drTable .dr-register th,#drTable .dr-register td{min-width:86px;padding:12px 10px;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums;border-right:1px solid #e1e6db;border-bottom:1px solid #e1e6db;vertical-align:middle}
#drTable .dr-register thead th{text-align:center;position:sticky;z-index:4;font-weight:650;color:#274a3b;background:#f1f4eb}
#drTable .dr-register .dr-group-head{height:42px}#drTable .dr-register .dr-group-head th{top:0;height:42px}#drTable .dr-register .dr-column-head th{top:42px;height:50px}
#drTable .dr-register .dr-eggs{background:#faf8ee}#drTable .dr-register .dr-birds{background:#f0f5ed}#drTable .dr-register .dr-feed{background:#eef5f4}
#drTable .dr-register thead .dr-eggs{background:#f3edcf}#drTable .dr-register thead .dr-birds{background:#e1ecd9}#drTable .dr-register thead .dr-feed{background:#dcecea}
#drTable .dr-register .dr-shed-cell{position:sticky;left:0;z-index:3;min-width:118px;max-width:150px;text-align:left;white-space:normal;background:#fff;box-shadow:2px 0 0 #dce4d6}
#drTable .dr-register thead .dr-shed-cell{z-index:7;background:#edf1e7}
#drTable .dr-register .dr-age{text-align:center;min-width:100px}#drTable .dr-register small{display:block;font-size:10px;font-weight:400;margin-top:5px;color:#677969}
#drTable .dr-register .dr-incomplete{color:#865419}#drTable .dr-register .dr-open{font-weight:650;text-align:left;white-space:normal;line-height:1.5;padding:0}
#drTable .dr-register tfoot th,#drTable .dr-register tfoot td{background:#e5eddf;position:sticky;bottom:0;z-index:4;font-weight:700;border-top:2px solid #9eb396}#drTable .dr-register tfoot .dr-shed-cell{z-index:6}
.dr-methods{margin-top:20px}.dr-methods summary{cursor:pointer}.dr-dialog{width:min(1050px,94vw);max-height:90dvh;overflow:auto;padding:24px;border:1px solid #dce4d6;border-radius:16px}.dr-dialog::backdrop{background:#153f3266}.dr-dialog h3{margin-top:24px}
.shed-daily-progress{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0;padding:16px 20px;border:1px solid #dce4d6;border-radius:12px;background:#fff}.shed-daily-progress p{margin:5px 0 0}
#productionTargets{margin-top:18px}#productionTargets summary{font-weight:600;cursor:pointer}#ptForm{margin:20px 0}#ptRows small{display:block}
@media(max-width:700px){.dr-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.dr-dialog{padding:16px;max-width:94vw}.dr-register-scroll{max-height:65dvh}#drTable .dr-register{font-size:11px}#drTable .dr-register .dr-shed-cell{min-width:96px;max-width:110px}#drTable .dr-register th,#drTable .dr-register td{padding:10px 8px}.shed-daily-progress{align-items:flex-start;flex-direction:column}.shed-daily-progress button{width:100%}}
@media(max-width:380px){.dr-filters{grid-template-columns:1fr}}

.dr-detail-values{margin:0}.dr-detail-values>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:12px 4px;border-bottom:1px solid #e1e6db}.dr-detail-values dt{color:#52624f;font-size:13px}.dr-detail-values dd{margin:0;min-width:70px;text-align:right;font-variant-numeric:tabular-nums}.dr-batch-details{margin-top:18px}.dr-batch-details summary{cursor:pointer;font-weight:600;margin-bottom:12px}
.dr-shed-selector{position:relative;min-width:0;color:#52624f;font-size:13px}.dr-shed-selector>span{display:block;margin-bottom:6px}
.dr-filter-card>.dr-filters>label{margin:0}.dr-filter-card>.dr-filters>label>span{display:block;margin-bottom:6px}.dr-filter-card>.dr-filters>label>input{display:block;margin:0}
#drShedSummary{min-height:44px;padding:11px 14px;border:1px solid #d7dfcf;border-radius:7px;background:#fff;cursor:pointer;color:#254b3a;font-size:14px;overflow-wrap:anywhere}
.dr-filter-card{position:relative;overflow:visible!important;z-index:8}
.dr-shed-popup{position:absolute;top:100%;right:0;width:min(440px,100%);min-width:280px;background:#fff;border:1px solid #cad7c1;border-radius:12px;box-shadow:0 12px 28px #1c3d2926;padding:16px;z-index:12;max-height:min(65dvh,520px);overflow:auto}
.dr-shed-popup fieldset{padding:0;border:0;min-width:0}.dr-shed-popup legend{font-weight:600;color:#244d39;margin-bottom:12px}.dr-shed-list{display:grid;grid-template-columns:1fr 1fr;gap:2px 12px}
.dr-shed-popup .dr-shed-option{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;cursor:pointer;line-height:1.4}.dr-shed-popup .dr-shed-option input{width:20px;height:20px;min-height:20px;margin:0;flex:none;accent-color:#214f3b}
.dr-shed-actions{position:sticky;bottom:-16px;display:flex;gap:8px;flex-wrap:wrap;padding:12px 0 0;background:#fff}.dr-shed-actions button{flex:1;white-space:nowrap;padding:10px 12px}.dr-shed-popup .section-error:empty{display:none}
.dr-totals small{display:block;font-size:11px;line-height:1.5;color:#61725d;margin-top:6px}#drScope{overflow-wrap:anywhere}
@media(max-width:700px){.dr-shed-popup{width:100%;min-width:0}.dr-filter-card>.dr-filters{grid-template-columns:1fr}.dr-shed-actions button{font-size:12px}.dr-shed-list{gap:2px 8px}}
.dr-export-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#dailyReportPrint{width:min(1100px,96vw);max-width:96vw;max-height:92vh;overflow:auto;border:1px solid #ccd7cc;border-radius:12px;padding:24px;color:#183e32;background:white}
#dailyReportPrint p{margin:5px 0;font-size:12px}#dailyReportPrint h1{font-size:22px}#dailyReportPrint h2{font-size:18px;margin-top:24px}
#dailyReportPrint table{min-width:700px;width:100%;border-collapse:collapse}#dailyReportPrint th,#dailyReportPrint td{padding:9px;border:1px solid #ccd7cc}#dailyReportPrint tbody tr:last-child{font-weight:bold;background:#edf3e8}
@media(max-width:640px){.dr-export-actions{width:100%}.dr-export-actions button{flex:1;padding:12px 8px}#dailyReportPrint{padding:14px}}
@media print{
 body:has(#dailyReportPrint)>*:not(#dailyReportPrint){display:none!important}
 #dailyReportPrint[open]{display:block!important;position:static!important;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;border:0!important;padding:0!important;overflow:visible!important;color:#000;font:10pt Arial,"Nirmala UI",sans-serif}
 #dailyReportPrint::backdrop{display:none}#dailyReportPrint .table-wrap{overflow:visible!important}
 #dailyReportPrint table{min-width:0!important;width:100%;table-layout:fixed;font-size:9pt}
 #dailyReportPrint th,#dailyReportPrint td{padding:6px;white-space:normal!important;overflow-wrap:anywhere;color:#000}
 #dailyReportPrint thead{display:table-header-group}#dailyReportPrint tr{break-inside:avoid}#dailyReportPrint h2{break-after:avoid}
}
@media print{
 #dailyReportPrint .table-scroll-hint{display:none!important}
 #dailyReportPrint h1{font-size:17pt;margin:0 0 8px}#dailyReportPrint h2{font-size:12pt;margin:12px 0 6px}
 #dailyReportPrint p{font-size:8pt;line-height:1.25;margin:3px 0}
 #dailyReportPrint th,#dailyReportPrint td{padding:4px;line-height:1.3}
}
/* Report downloads stay with the report title, separate from global workspace tools. */
#dailyReport>.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
#dailyReport>.page-heading>div:first-child{flex:1 1 360px;min-width:0}
#dailyReport .dr-export-actions{flex:0 1 auto;gap:8px;justify-content:flex-end}
#dailyReport .dr-export-actions button{min-height:44px;min-width:112px;white-space:nowrap;margin:0;padding:11px 16px}
.dr-print-brand{font-size:12px;font-weight:700;letter-spacing:1px;color:#52715d;margin-bottom:8px}
#dailyReportPrint .dr-print-scope{font-size:14px;font-weight:600;margin:8px 0;overflow-wrap:anywhere}
#dailyReportPrint .dr-print-stamp{color:#586a5d;font-size:11px}
.dr-print-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.dr-print-summary>div{padding:14px;border:1px solid #d1ddcd;border-radius:8px;background:#f2f6ed}
.dr-print-summary span{font-size:12px}.dr-print-summary b{display:block;font-size:23px;margin-top:5px;font-variant-numeric:tabular-nums}
#dailyReportPrint .dr-print-note{font-size:11px;color:#586a5d;margin-bottom:14px}
#dailyReportPrint .financial-print-actions{align-items:center;flex-wrap:wrap}#dailyReportPrint .financial-print-actions span{margin-right:auto;font-size:12px}
@media(max-width:700px){
 #dailyReport>.page-heading{gap:14px}#dailyReport>.page-heading>div:first-child{flex-basis:100%}
 #dailyReport .dr-export-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;flex-basis:100%;gap:6px}
 #dailyReport .dr-export-actions button{min-width:0;font-size:12px;padding:10px 6px}
 .dr-print-summary{gap:6px}.dr-print-summary>div{padding:10px 7px}.dr-print-summary span{font-size:11px}.dr-print-summary b{font-size:18px}
}
@media print{
 #dailyReportPrint .dr-print-brand{font-size:9pt;margin:0 0 4px;color:#333}
 #dailyReportPrint .dr-print-scope{font-size:10pt;margin:4px 0}#dailyReportPrint .dr-print-stamp,#dailyReportPrint .dr-print-note{font-size:8pt;color:#333}
 #dailyReportPrint .dr-print-summary{display:grid;grid-template-columns:repeat(4,1fr);margin:10px 0;gap:10px;break-inside:avoid}
 #dailyReportPrint .dr-print-summary>div{padding:8px;border-radius:0;border:1px solid #aaa}#dailyReportPrint .dr-print-summary b{font-size:15pt}#dailyReportPrint .dr-print-summary span{font-size:9pt}
 #dailyReportPrint>section{break-inside:avoid-page}
}
#dailyReportPrint .dr-print-register{margin-top:16px}
#dailyReportPrint .dr-print-register table{min-width:1500px;font-variant-numeric:tabular-nums}
#dailyReportPrint .dr-print-register th{text-align:center;font-weight:600;color:#254736;background:#edf3e8}
#dailyReportPrint .dr-print-register tbody tr:last-child{font-weight:normal;background:white}
#dailyReportPrint .dr-print-register tfoot{font-weight:700;background:#edf3e8}
@media print{
 @page dailyEggFeed{size:A4 landscape;margin:8mm}
 #dailyReportPrint{page:dailyEggFeed}
 #dailyReportPrint .dr-print-brand{font-size:8pt;margin:0 0 3px}
 #dailyReportPrint h1{font-size:14pt;margin:0 0 4px}
 #dailyReportPrint .dr-print-scope{font-size:8pt;margin:3px 0}
 #dailyReportPrint .dr-print-stamp,#dailyReportPrint .dr-print-note{font-size:7pt;line-height:1.15;margin:3px 0}
 #dailyReportPrint .dr-print-summary{margin:6px 0;gap:8px}
 #dailyReportPrint .dr-print-summary>div{padding:4px 7px}
 #dailyReportPrint .dr-print-summary span{font-size:7pt}#dailyReportPrint .dr-print-summary b{font-size:11pt;margin-top:2px}
 #dailyReportPrint .dr-print-register{overflow:visible!important;margin-top:6px}
 #dailyReportPrint .dr-print-register table{min-width:0!important;width:100%!important;table-layout:fixed;font-size:6.5pt}
 #dailyReportPrint .dr-print-register th,#dailyReportPrint .dr-print-register td{font-size:6.5pt;padding:3px 2px;line-height:1.15;border:0.5pt solid #aaa;white-space:normal!important;overflow-wrap:anywhere}
 #dailyReportPrint .dr-print-register th:first-child,#dailyReportPrint .dr-print-register td:first-child{width:7%}
 #dailyReportPrint .dr-print-register thead{display:table-header-group}#dailyReportPrint .dr-print-register tfoot{display:table-row-group}
 #dailyReportPrint .dr-print-register tr{break-inside:avoid}
}
/* Feed recipes use the existing Feed Plant workspace. */
#store[data-feed-view=recipes]>:not(.page-heading):not(#frTabs):not(#feedRecipes),#store[data-feed-view=prepare]>:not(.page-heading):not(#frTabs):not(#feedRecipes){display:none!important}
.fr-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.fr-tabs button{flex:1;min-height:44px}.fr-tabs button.active{background:#e9f1df;border:2px solid #214f3b;font-weight:700}
.fr-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:16px 0}.fr-toolbar>label{flex:1;min-width:180px;margin:0}.fr-toolbar button{min-height:44px}
.fr-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.fr-summary>div{background:#eef4e6;padding:18px;border-radius:9px}.fr-summary span{font-size:12px;color:#5c705d}.fr-summary b{display:block;font-size:24px;margin-top:8px;font-variant-numeric:tabular-nums}
.fr-state{font-size:12px;color:#57735b}.fr-details{padding:18px 0;border-bottom:1px solid #dde4d6}.fr-details>summary{cursor:pointer;font-weight:600;margin-bottom:12px}.fr-details details{padding:12px;margin:10px 0;background:#f8faf4}.fr-details .fields{margin:14px 0}.fr-partial{color:#915c0e}
#feedRecipes .fr-ingredients input{min-width:110px;width:130px;padding:10px}#feedRecipes td{vertical-align:middle}#feedRecipes [data-fr-actual]{min-width:110px}#feedRecipes h2{margin-bottom:16px}
#feedRecipePrint{width:min(900px,95vw);max-height:90vh;overflow:auto;border:1px solid #d6dfcc;border-radius:12px;padding:24px;background:white;color:#173f32}#feedRecipePrint table{border-collapse:collapse;width:100%}#feedRecipePrint th,#feedRecipePrint td{padding:8px;border:1px solid #cdd8c7}#feedRecipePrint h1{font-size:24px}#feedRecipePrint tfoot{font-weight:700}
@media(max-width:700px){.fr-summary{gap:6px}.fr-summary>div{padding:12px 9px}.fr-summary b{font-size:18px}.fr-toolbar{align-items:stretch}.fr-toolbar>label{flex-basis:100%}.fr-toolbar>button{flex:1;padding:10px}.fr-tabs{gap:5px}.fr-tabs button{font-size:12px;padding:10px 6px}
 #feedRecipes .fr-ingredients thead{display:none}#feedRecipes .fr-ingredients,#feedRecipes .fr-ingredients tbody,#feedRecipes .fr-ingredients tr,#feedRecipes .fr-ingredients td{display:block;width:100%;white-space:normal}#feedRecipes .fr-ingredients tr{padding:10px;border:1px solid #d8e2d2;border-radius:9px;margin:10px 0}#feedRecipes .fr-ingredients td{padding:8px;border:0}#feedRecipes .fr-ingredients td:before{content:attr(data-label);display:block;color:#63765e;font-size:11px;margin-bottom:5px}#feedRecipes .fr-ingredients input{width:80%;min-width:0}
 #feedRecipePrint{padding:14px}#feedRecipePrint table{font-size:11px}#feedRecipePrint th,#feedRecipePrint td{padding:5px}}
@media print{
 @page feedMixing{size:A4 portrait;margin:10mm}
 body:has(#feedRecipePrint)>*:not(#feedRecipePrint){display:none!important}
 #feedRecipePrint[open]{page:feedMixing;display:block!important;position:static!important;margin:0!important;padding:0!important;border:0!important;max-width:none!important;width:100%!important;max-height:none!important;overflow:visible!important;color:#000;font:10pt Arial,"Nirmala UI",sans-serif}
 #feedRecipePrint::backdrop{display:none}#feedRecipePrint h1{font-size:16pt;margin:6px 0}#feedRecipePrint p{font-size:9pt}#feedRecipePrint table{table-layout:fixed;white-space:normal;font-size:9pt}#feedRecipePrint th:first-child{width:45%}#feedRecipePrint th,#feedRecipePrint td{padding:5px;color:#000;overflow-wrap:anywhere}#feedRecipePrint thead{display:table-header-group}#feedRecipePrint tr{break-inside:avoid}
}
body:has(#store[data-feed-view=recipes]:not([hidden])) #export,body:has(#store[data-feed-view=prepare]:not([hidden])) #export,body:has(#store[data-feed-view=recipes]:not([hidden])) #refreshRecords,body:has(#store[data-feed-view=prepare]:not([hidden])) #refreshRecords,#store[data-feed-view=recipes] #stRefresh,#store[data-feed-view=prepare] #stRefresh{display:none!important}
#store[data-feed-view=register]>:not(.page-heading):not(#fsTabs):not(#feedRegister){display:none!important}
#store[data-feed-view=stock] #fsTabs{display:grid}
#feedRegister fieldset{border:0;padding:0;min-width:0}
#feedRegister .fields{align-items:end}
#feedRegister label{display:flex;flex-direction:column;gap:.4rem}
#feedRegister .check{flex-direction:row;align-items:center;margin:1rem 0}
#feedRegister input,#feedRegister select{min-width:0;width:100%;box-sizing:border-box}
#feedRegister input[type=checkbox]{width:auto}
#feedRegister .fs-ingredient{display:grid;grid-template-columns:minmax(12rem,2fr) minmax(8rem,1fr) minmax(7rem,1fr) auto;gap:.75rem;align-items:end;margin:.8rem 0}
#feedRegister details{padding:1rem 0;border-bottom:1px solid #dde4d8}
#feedRegister h3{margin-top:1.5rem}
#feedRegister .fs-table{min-width:850px}
body:has(#store[data-feed-view=register]:not([hidden])) #export,body:has(#store[data-feed-view=register]:not([hidden])) #refreshRecords{display:none!important}
@media(max-width:650px){#feedRegister .fs-ingredient{grid-template-columns:1fr 1fr;padding:1rem;border:1px solid #dde4d8;border-radius:10px}#feedRegister .fs-ingredient>label:first-child{grid-column:1/-1}#fsTabs{display:grid;grid-template-columns:1fr 1fr}#feedRegister .fields{grid-template-columns:1fr}#feedRegister .fr-summary{grid-template-columns:1fr}#feedRegister .fs-ingredient button{justify-self:start}}
/* Simple shed entry: one context, compact progress and task-specific actions. */
#entry.shed-simplified .section-title>span,#entry.shed-simplified article:first-child .section-title>span{display:none}
#entry.shed-simplified #staff{display:none}
#entry.shed-simplified .fields>div:has(>#staff){display:none}
#entry.shed-simplified #recordForm>article:has(#shed) .fields{grid-template-columns:repeat(2,minmax(0,1fr))}
#entry.shed-simplified .page-heading{gap:12px;align-items:center;flex-wrap:wrap}
#entry.shed-simplified .page-heading>div:first-child{flex:1 1 280px}
#shedIdentity{flex:1 0 100%;margin:0;color:#526454;font-size:.9rem}
#entry.shed-simplified #shedDailyProgress{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;margin:12px 0;background:transparent;border:1px solid #dce5d6;box-shadow:none;border-radius:10px}
#shedDailyProgress>div{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
#shedDailyProgress p,#shedDailyProgress b{margin:0;font-size:.9rem}
#shedDailyProgress button{min-height:40px}
#entry.shed-simplified .shed-tabs>button{padding:12px;min-height:84px}
#entry.shed-simplified .tab-label small{display:none}
.shed-draft-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:.9rem;padding:10px 0;color:#425e4b}
.shed-quantity-method{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}
.shed-quantity-method select{width:auto;min-width:220px;flex:1;max-width:400px}
#entry.shed-simplified .quantity-controls{display:block}
#entry.shed-simplified .quantity-controls>div[hidden]{display:none!important}
#entry.shed-simplified .quantity-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.quantity-override{margin-left:auto;border:0;background:transparent;color:#235c43;padding:8px;text-decoration:underline;min-height:40px;font-size:.85rem}
.shed-pickup-history{margin-top:18px;padding:14px 0;border-top:1px solid #dce5d6}
.shed-pickup-history>summary{font-weight:700;cursor:pointer;padding:8px 0}
.pickup-review-counts{margin:16px 0}.pickup-review-counts>div{display:flex;gap:16px;justify-content:space-between;padding:10px;border-bottom:1px solid #e0e6db}.pickup-review-counts dd{margin:0;font-weight:700}
.bird-marker{display:block;margin-top:6px;color:#234f3b}
#myRequestsButton.needs-attention{background:#fff1d9;border-color:#b78129;color:#61400c}
#shedMobileActions{display:none}
body:has(#entry.shed-simplified:not([hidden])) #export,body:has(#deviceQueue:not([hidden])) #export{display:none!important}
@media(max-width:650px){
 #entry.shed-simplified #recordForm>article:has(#shed) .fields{grid-template-columns:1fr 1fr;gap:10px}
 #entry.shed-simplified .page-heading>div:first-child{flex-basis:100%}
 #entry.shed-simplified #shedDailyProgress{padding:8px 0;border:0;flex-wrap:nowrap}
 #shedDailyProgress>div{gap:2px;display:block}#shedDailyProgress b{font-size:.85rem}#shedDailyProgress button{font-size:.85rem;max-width:160px;padding:8px}
 #entry.shed-simplified .shed-tabs>button{padding:10px 8px;min-height:76px}.shed-simplified .tab-icon{font-size:1.3rem}
 #entry.shed-simplified .quantity-row{padding:12px}.quantity-override{font-size:.8rem;padding:6px}.shed-quantity-method select{min-width:0;width:100%;max-width:none}
 #shedMobileActions:not([hidden]){display:flex;position:fixed;z-index:30;bottom:0;left:0;right:0;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:10px 14px max(10px,env(safe-area-inset-bottom));border-top:1px solid #d5dfd0;box-shadow:0 -3px 14px #163b2414}
 #shedMobileActions span{font-size:.8rem;color:#506553;display:block}#shedMobileActions b{display:block;font-size:1rem}#shedMobileActions button{margin:0;min-height:46px;max-width:65%}
 body[data-shed-entry=true]{padding-bottom:88px}body[data-shed-entry=true]:has(input:focus,textarea:focus,select:focus) #shedMobileActions,body:has(dialog[open]) #shedMobileActions{display:none!important}
 body[data-shed-entry=true]:not(:has(input:focus,textarea:focus,select:focus)) #entry.shed-simplified #submitAgri,body[data-shed-entry=true]:not(:has(input:focus,textarea:focus,select:focus)) #entry.shed-simplified #save-birds,body[data-shed-entry=true]:not(:has(input:focus,textarea:focus,select:focus)) #entry.shed-simplified #save-feed{visibility:hidden}
 #entry.shed-simplified #submitAgri,#entry.shed-simplified #save-birds,#entry.shed-simplified #save-feed{margin-top:12px}
}
@media print{#shedMobileActions,.shed-draft-bar{display:none!important}}
/* Godown uses the same compact draft and phone-action pattern as shed reports. */
#godownDraftBar[hidden],#godownDateBanner[hidden],#godownMobileActions[hidden]{display:none!important}
#godownDraftBar{margin:0 0 12px}
#godownDateBanner{margin:0 0 16px;font-weight:600}
.historical-date{border-left:4px solid #b97719}
.pickup-ref{display:block;font-size:12px;font-weight:500;letter-spacing:.04em;color:#557260;margin-top:4px}
.receipt-details>summary{cursor:pointer;padding:12px 0;font-weight:600;color:#214f3b}
.receipt-details[open]>summary{border-bottom:1px solid #dce4d8;margin-bottom:12px}
.receipt-comparison .quantity-difference{background:#fff0df;color:#8b3e0b;font-weight:700}
.pickup-timeline{list-style:none;display:flex;flex-wrap:wrap;gap:12px 24px;padding:12px 0;margin:8px 0;border-top:1px solid #e0e7db}
.pickup-timeline li{border-left:3px solid #a4bd9b;padding-left:10px;font-size:13px}
.pickup-timeline small{display:block;color:#697968}
.inventory-equation{padding:14px;background:#f0f5e9;border-radius:10px;line-height:1.9;overflow-wrap:anywhere}
.receipt-result{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#eaf3e3;padding:12px;border-radius:10px;margin-bottom:16px}
.receipt-result[hidden]{display:none}
#godownMobileActions{display:none}
.issue-correct-direct{margin-top:8px}
@media(max-width:640px){
 #godown{padding-bottom:110px}
 #godownMobileActions:not([hidden]){position:fixed;bottom:0;left:0;right:0;z-index:30;display:flex;gap:12px;align-items:center;justify-content:space-between;background:#fff;border-top:1px solid #d9e2d4;padding:10px 14px calc(10px + env(safe-area-inset-bottom))}
 #godownMobileActions>div{min-width:0;max-width:54%}
 #godownMobileActions span,#godownMobileActions b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #godownMobileActions b{font-size:14px}
 #godownMobileActions button{min-height:48px}
 body:has(input:not([type=checkbox]):not([type=radio]):focus,textarea:focus,select:focus,dialog[open]) #godownMobileActions{display:none!important}
 body:has(#godownMobileActions:not([hidden])):not(:has(input:not([type=checkbox]):not([type=radio]):focus,textarea:focus,select:focus,dialog[open])) .godown-mobile-primary{visibility:hidden}
 .receipt-result{align-items:stretch;flex-direction:column}
 .receipt-comparison th,.receipt-comparison td{padding:10px 8px}
}
@media print{#godownDraftBar,#godownMobileActions,#godownDateBanner,.receipt-result{display:none!important}}
.login-language{float:right;margin-bottom:12px;min-height:40px}
.login-password{display:flex;gap:8px;align-items:stretch}
.login-password input{min-width:0;flex:1}
.login-password button{flex:0 0 auto;min-width:70px}
.login-help{font-size:13px;margin-top:14px;color:#536950;line-height:1.6}
.login-help summary{cursor:pointer;font-weight:600}
.daily-update-preview{padding:10px 12px;background:#f0f5e9;border-radius:8px;font-size:13px;line-height:1.6}

/* Daily shed responsibility */
.shed-responsibility{margin:12px 0;padding:10px 14px;border-radius:8px;background:#eef4e7;font-weight:600}.responsibility-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}.responsibility-item{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border:1px solid #dce4d3;border-radius:8px;padding:12px}.responsibility-item>strong{min-width:35px}.responsibility-item>span{flex:1;min-width:100px}.responsibility-item button{margin-left:auto}#reassignShed form{display:grid;gap:12px}#reassignShed{width:min(520px,calc(100vw - 24px))}#reassignShed textarea{min-height:85px}@media(max-width:600px){.responsibility-grid{grid-template-columns:1fr}#dailyShedResponsibility .card-head{flex-wrap:wrap}}

.calculation-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.calculation-guide-card{padding:18px;margin:0;align-self:start}.calculation-guide-card summary{cursor:pointer;font-weight:700;line-height:1.5}.calculation-formula{background:#edf4e7;border-left:3px solid #24513e;border-radius:6px;padding:12px;line-height:1.7}.calculation-guide-card p{overflow-wrap:anywhere;line-height:1.65}.calculation-guide-rules ul{padding-left:22px;line-height:1.8}.calculation-guide-rules li+li{margin-top:10px}@media(max-width:700px){.calculation-guide-grid{grid-template-columns:1fr}.calculation-guide-card{padding:16px}.dr-print-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
