:root{
  --save:#087a4e;--action-blue:#246a9a;--action-purple:#7046ad;
  --action-orange:#b96810;--action-teal:#14776f;--action-slate:#4d6070;
  --bottom-height:78px;--surface:#fffaf2;--surface-strong:#fffdf8;
  --high-ink:#13261f;--high-muted:#465c53
}
body{padding-bottom:var(--bottom-height);background:#f4ebdd;color:var(--high-ink)}
#app{min-height:calc(100vh - 60px - var(--bottom-height));background:
  radial-gradient(circle at 8% 2%,#d5edcbb0,transparent 26%),
  radial-gradient(circle at 94% 15%,#f2d7a98c,transparent 29%),
  linear-gradient(155deg,#fffaf1e8,#e8f0dfee 52%,#eadcc7e8)}
.card,.accordion-card{color:var(--high-ink)}
.muted,.card small,.parity-hub-card small,.daily-task-card small{color:var(--high-muted)}
.btn{border-color:#587265;background:#edf2ef;color:#183c2e}
.btn.primary{background:linear-gradient(115deg,var(--save),#086b50);color:#fff;border-color:transparent}
.btn.danger{background:linear-gradient(115deg,#ba3b43,#92232c);color:#fff;border-color:transparent}
.btn.action-blue,.action-blue{background:linear-gradient(115deg,#2c76aa,#225d8d);color:#fff;border-color:transparent}
.btn.action-purple,.action-purple{background:linear-gradient(115deg,#8054bd,#63379d);color:#fff;border-color:transparent}
.btn.action-orange,.action-orange{background:linear-gradient(115deg,#d17b1d,#ad5d0c);color:#fff;border-color:transparent}
.btn.action-teal,.action-teal{background:linear-gradient(115deg,#16857b,#11675f);color:#fff;border-color:transparent}
.btn.action-slate,.action-slate{background:linear-gradient(115deg,#617383,#455666);color:#fff;border-color:transparent}
.btn small{display:block;color:inherit;font-weight:600;opacity:.88}
.top{background:linear-gradient(105deg,#064b34,#0c7c56 60%,#0d644f);box-shadow:0 4px 18px #072c2060}
.back-button,.header-task-button{color:#fff;border:1px solid #8cf0c2;background:#06462f;box-shadow:inset 0 0 0 1px #ffffff1f}
.header-task-button{position:relative;display:grid;place-items:center;flex:0 0 48px;min-height:44px;border-radius:13px;font-size:23px}
.header-task-button b{position:absolute;top:-6px;right:-6px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border:2px solid #0c6a4b;border-radius:999px;background:#d52f3a;color:#fff;font-size:11px}
.header-task-button .ui-icon{width:23px;height:23px;color:#fff}.notification-card{width:min(560px,100%)}.notification-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.notification-card>header p{margin:4px 0 12px}.notification-list{display:grid;gap:9px;margin-bottom:14px}.notification-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:13px 14px;border:1px solid #b8c9c0;border-radius:14px;background:#f7fbf8;color:#173c30;text-align:left}.notification-item span{display:grid;gap:3px}.notification-item small{color:#52675f}.notification-item strong{display:grid;place-items:center;min-width:34px;height:34px;border-radius:12px;background:#e6f2ec}.notification-item.orange{border-color:#e2b277;background:#fff7e8}.notification-item.gold{border-color:#d4bd62;background:#fffbea}.notification-item.red{border-color:#d98a91;background:#fff1f2}.notification-empty{display:grid;gap:5px;padding:24px;border:1px solid #a9cbbb;border-radius:14px;background:#edf9f2;text-align:center}.notification-empty span{color:#52675f}
.bottom-navigation{position:fixed;z-index:250;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:var(--bottom-height);padding:5px max(5px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));border-top:1px solid #cfc3b4;background:#fffaf3f5;box-shadow:0 -8px 25px #173b2b20;backdrop-filter:blur(15px)}
.bottom-nav-item{position:relative;display:grid;place-items:center;align-content:center;gap:2px;min-width:0;border:0;border-radius:18px;background:transparent;color:#334a41;font-size:11px;font-weight:700}
.bottom-nav-item.active{background:#d8eddf;color:#086646}
.bottom-nav-item.home{margin:-12px 4px 1px;background:#ecf4ef;border:1px solid #b8d8c6;box-shadow:0 7px 17px #153c2d22}
.bottom-nav-item.home.active{background:#bfe4cf}
.bottom-nav-icon-anchor{position:relative;display:grid;place-items:center;width:36px;height:34px}
.bottom-nav-icon{font-size:24px;line-height:1}
.ui-icon{display:inline-block;width:1em;height:1em;vertical-align:-.14em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.bottom-nav-icon .ui-icon{width:25px;height:25px;vertical-align:middle}
.parity-hub-icon .ui-icon,.home-icon .ui-icon{width:34px;height:34px}
.daily-task-icon .ui-icon{width:29px;height:29px}
.daily-task-card.blue .daily-task-icon{color:#246ca6}.daily-task-card.orange .daily-task-icon{color:#b86408}.daily-task-card.red .daily-task-icon{color:#a43d46}.daily-task-card.gold .daily-task-icon{color:#9a6c00}.daily-task-card.teal .daily-task-icon{color:#08796e}
.quick-action .ui-icon,.daily-start .ui-icon,.btn .ui-icon{margin-right:.38em}
.form-mark .ui-icon,.auth-brand-mark .ui-icon{width:32px;height:32px}
.monthly-metric-grid .card>span .ui-icon{width:32px;height:32px}
.account-sync-card>div>span .ui-icon{width:34px;height:34px}.account-action>.ui-icon{width:29px;height:29px}
.accordion-icon .ui-icon{width:27px;height:27px}
.cloud-ready .ui-icon{margin-right:.35em}
.bottom-nav-badge{position:absolute;top:-5px;right:-8px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border:2px solid #fffaf3;border-radius:999px;background:#cc2e39;color:#fff;font-size:10px;font-weight:900}
.footer.account-only-footer{bottom:var(--bottom-height);padding:7px 18px;background:#073b2ee8;color:#c6ffe3;font-weight:700;backdrop-filter:blur(8px)}
.account-only-footer span{color:#dbe9e2;font-weight:500}
.parity-hub,.daily-page,.monthly-page,.account-hub{max-width:960px}
.hub-intro{margin:4px 0 20px;padding:10px 4px}
.hub-intro h1{margin:0 0 6px;font-size:clamp(28px,5vw,45px);color:#064c35}
.hub-intro p{margin:0;color:var(--high-muted);font-size:16px}
.parity-hub-grid{display:grid;gap:16px}
.parity-hub-card{display:grid;grid-template-columns:74px minmax(0,1fr) 26px;align-items:center;gap:17px;min-height:132px;padding:20px;border:1px solid #ffffffd6;border-radius:25px;text-align:left;color:var(--high-ink);box-shadow:0 10px 23px #4b39241c}
.parity-hub-card.violet{background:linear-gradient(120deg,#eadfff,#f7edff)}
.parity-hub-card.green{background:linear-gradient(120deg,#dcefd8,#edf7e9)}
.parity-hub-card.orange{background:linear-gradient(120deg,#ffe7cb,#fff3e4)}
.parity-hub-card.blue{background:linear-gradient(120deg,#dceeff,#edf7ff)}
.parity-hub-card b{display:block;font-size:22px;color:#113c2c}
.parity-hub-card small{display:block;margin-top:6px;font-size:14px}
.parity-hub-card i{font-size:38px;font-style:normal;color:#116d4c}
.parity-hub-icon{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:#fffdf8;border:1px solid #ffffff;box-shadow:0 5px 13px #3b2f2218;font-size:32px}
.daily-page{display:grid;grid-template-columns:minmax(270px,.82fr) minmax(360px,1.25fr);gap:16px;align-items:start}
.daily-hero{display:grid;place-items:center;padding:18px;border:1px solid #d3c1a8;border-radius:24px;background:linear-gradient(145deg,#fffaf2f2,#e7f2e3f2);box-shadow:0 9px 23px #42331f20;text-align:center}
.daily-hero h1{margin:0;font-size:30px}.daily-hero p{margin:3px 0 11px;color:var(--high-muted)}
.progress-ring{display:grid;place-items:center;width:150px;height:150px;border-radius:50%;background:conic-gradient(#179269 var(--progress),#d4dfd8 0);box-shadow:0 7px 19px #0e563d24}
.progress-ring:before{content:"";grid-area:1/1;width:119px;height:119px;border-radius:50%;background:#fffaf3}
.progress-ring span{z-index:1;grid-area:1/1;font-size:23px;font-weight:900}.progress-ring small{display:block;font-size:13px}
.daily-progress-copy{margin:11px 0 9px;font-weight:800}.daily-start{width:100%;font-size:17px}
.daily-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;grid-column:1}
.quick-action{display:flex;align-items:center;justify-content:center;gap:10px;min-height:75px;border:1px solid #ffffffd2;border-radius:18px;color:var(--high-ink);font-size:20px;box-shadow:0 6px 16px #43331e18}
.quick-action.violet{background:#e9e0fb}.quick-action.gold{background:#fff0c9}
.daily-tasks{grid-column:2;grid-row:1/3;display:grid;gap:11px}
.daily-tasks h2{margin:4px 0 3px;font-size:26px}
.daily-task-card{display:grid;grid-template-columns:58px minmax(0,1fr) 44px;align-items:center;gap:14px;min-height:94px;padding:14px 16px;border:1px solid #ffffffc9;border-radius:20px;text-align:left;color:var(--high-ink);box-shadow:0 7px 17px #3b2d1b18}
.daily-task-card.blue{background:#e1effa}.daily-task-card.orange{background:#ffedd9}.daily-task-card.red{background:#fae3e0}.daily-task-card.gold{background:#fff1ce}.daily-task-card.teal{background:#dff0ec}
.daily-task-card b{display:block;font-size:17px}.daily-task-card small{display:block;margin-top:3px}
.daily-task-card strong{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#ffffffa1;font-size:20px;color:#174f3c}
.daily-task-icon{display:grid;place-items:center;width:56px;height:56px;border:1px solid #ffffff;border-radius:50%;background:#fffaf2bf;font-size:27px}
.form-page{max-width:730px}.focused-form{padding:24px;background:linear-gradient(145deg,#fffdf8,#f1f7ee);border-radius:24px}
.focused-form h1{margin:7px 0}.form-mark,.auth-brand-mark{display:grid;place-items:center;width:66px;height:66px;margin:0 auto 10px;border-radius:50%;background:linear-gradient(145deg,#0d8c60,#075b41);color:#fff;font-size:30px;box-shadow:0 8px 19px #0d5d4233}
.focused-form>h1,.focused-form>p{text-align:center}
.feed-record-create{margin-bottom:15px}.feed-record-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.feed-record-list,.feed-stock-list{display:grid;gap:13px}.feed-record-card{background:#fffaf2e8}.feed-record-card h2{margin:0 0 11px}
.feed-stock-card{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;color:var(--high-ink);background:linear-gradient(120deg,#e5f2df,#fff8e5)}
.feed-stock-card.low{border-color:#c6812b;background:linear-gradient(120deg,#fff0c8,#ffe2c2)}
.feed-stock-card span{display:grid;gap:4px}.feed-stock-card b{font-size:20px}.feed-stock-card small{white-space:normal}.feed-stock-card strong{padding:7px 10px;border-radius:999px;background:#a52f32;color:#fff}.feed-stock-card i{font-size:30px}
.hold-menu-overlay{overflow-y:auto;overscroll-behavior:contain}.hold-menu-card{max-height:calc(100dvh - 24px);overflow-y:auto}.sheet-overlay{place-items:end center;padding:0}.feed-stock-sheet{width:min(760px,100%);max-height:calc(100dvh - 6px);overflow-y:auto;border-radius:30px 30px 0 0;padding:18px 28px 28px}.sheet-grip{width:90px;height:7px;margin:0 auto 18px;border-radius:99px;background:#a6aaa6}
.balance-sheet .btn{display:block;text-align:center}.balance-sheet .btn small{margin-top:3px}
.history-detail-page{max-width:980px}.history-profile{display:grid;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:15px;background:linear-gradient(120deg,#d8eee6,#fff2dc)}
.history-profile h1{margin:0;overflow-wrap:anywhere}.history-profile p{margin:3px 0}.history-profile input{min-height:44px}
.history-avatar{display:grid;place-items:center;width:66px;height:66px;border-radius:50%;background:#bcdfcd;color:#075e40;font-size:21px;font-weight:900}
.history-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:12px 0}.history-metrics .card{display:grid;gap:8px}.history-metrics strong{font-size:25px}
.history-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.history-filter-grid .btn.selected{background:#087a4e;color:#fff;border-color:#087a4e}
.history-timeline{margin:10px 0;border:1px solid #d5ded9;border-radius:14px;background:#fffdf8;overflow:hidden}.history-timeline summary{display:flex;justify-content:space-between;padding:12px 14px;font-weight:900;cursor:pointer}.history-timeline summary span{color:var(--high-muted);font-size:12px}.history-timeline>div{padding:0 12px 12px}.history-balance-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.history-balance-actions .btn{margin-top:0}.opening-direction-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}.opening-direction{display:grid!important;gap:4px;min-height:88px;text-align:left!important}.opening-direction small{font-weight:600}.opening-direction.selected{box-shadow:0 0 0 3px #176b4d35}.opening-direction.debt-choice.selected{background:#a73338;color:#fff;border-color:#a73338}.opening-direction.receivable-choice.selected{background:#087a4e;color:#fff;border-color:#087a4e}.opening-amount-row{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:center;border:1px solid #9daf9f;border-radius:12px;background:#fff;overflow:hidden}.opening-amount-row input{border:0!important;border-radius:0!important}.opening-amount-row b{text-align:center}.opening-balance-note{padding:10px 12px;border-radius:12px;background:#e8f1ff;color:#24496f;font-size:13px;font-weight:700}
.history-report-actions{grid-template-columns:repeat(3,minmax(0,1fr));margin:12px 0}.customer-import-sheet{max-width:590px}.excel-upload-zone{display:grid;gap:5px;margin:12px 0;padding:18px;border:2px dashed #4d8f77;border-radius:15px;background:#edf8f2;color:#123f31;cursor:pointer;text-align:center}.excel-upload-zone input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.excel-upload-zone span{color:#536c62;font-size:13px;overflow-wrap:anywhere}.import-column-help{margin:10px 0;padding:11px 13px;border-radius:11px;background:#fff7df;color:#54451c;font-size:13px;line-height:1.5}
.period-control{display:flex;align-items:end;justify-content:flex-end;gap:8px;flex-wrap:wrap}.period-control label{display:grid;gap:4px;font-size:12px;font-weight:700}.period-control input{min-height:43px;border:1px solid var(--border);border-radius:10px;padding:8px 10px;background:#fff;color:var(--ink)}.period-control .btn{min-height:43px}.history-aggregate-milk{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;margin:10px 0;padding:13px;border:1px solid #83b9a3;border-radius:13px;background:#e4f6ed;color:#123e30}.history-aggregate-milk>span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;font-size:23px}.history-aggregate-milk b,.history-aggregate-milk small{display:block}.history-aggregate-milk small{color:#557268}.history-aggregate-milk>strong{text-align:right;color:#0d704c}.history-metrics strong small,.monthly-metric-grid strong small,.monthly-customer-row>strong small{display:block;margin-top:3px;font-size:11px;line-height:1.15;color:inherit}
.monthly-title{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-bottom:15px}.monthly-title h1{margin:0;font-size:36px;color:#07563b}.monthly-title p{margin:3px 0;color:var(--high-muted)}
.monthly-title input{min-height:48px;border:1px solid #a6b8ad;border-radius:13px;background:#eff7ec;padding:8px 12px}
.monthly-metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.monthly-metric-grid .card{display:grid;min-height:150px;gap:8px}.monthly-metric-grid .card span{font-size:30px}.monthly-metric-grid .card b{font-size:17px}.monthly-metric-grid .card strong{font-size:clamp(25px,5vw,42px);color:#075d40;overflow-wrap:anywhere}.monthly-metric-grid .green{background:#e0f3e7}.monthly-metric-grid .blue{background:#dfedfb}.monthly-metric-grid .gold{background:#fff0cc}.monthly-metric-grid .red{background:#fae4e1}
.monthly-customers-button{margin:14px 0;font-size:17px}.report-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.report-actions .btn{min-height:54px}
.monthly-customer-list{display:grid;gap:10px}.monthly-customer-row{display:grid;grid-template-columns:58px minmax(0,1fr) auto 20px;align-items:center;gap:12px;width:100%;text-align:left;color:var(--high-ink)}.monthly-customer-row .history-avatar{width:54px;height:54px;font-size:15px}.monthly-customer-row span:nth-child(2){display:grid}.monthly-customer-row small{margin-top:3px}.monthly-customer-row i{font-size:26px}
.auth-page{display:grid;gap:14px;max-width:650px}.auth-card{padding:25px;border:1px solid #d4c4ae;border-radius:27px;background:linear-gradient(145deg,#fffdf8f5,#edf6eaf5);box-shadow:0 15px 40px #37281928}.auth-card h1{margin:4px 0;text-align:center;font-size:31px}.auth-card>p{margin:0 auto 19px;max-width:470px;text-align:center;color:var(--high-muted)}
.auth-field{display:grid;gap:6px;margin:10px 0}.auth-field label{padding-left:3px;font-weight:800}.auth-input-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;min-height:55px;border:1px solid #9daf9f;border-radius:15px;background:#fffdf9;overflow:hidden}.auth-input-row:focus-within{border:2px solid #087a4e;box-shadow:0 0 0 3px #0b7c5020}.auth-input-row>span{display:grid;place-items:center;color:#426052;font-size:18px}.auth-input-row input{min-width:0;min-height:52px;border:0;outline:0;background:transparent;padding:10px 4px;color:#14271f;font-size:16px}.auth-eye{display:grid;place-items:center;width:50px;min-height:50px;border:0;background:transparent;color:#285646;font-size:21px}.auth-forgot-link,.auth-login-link{display:block;margin:2px 0 9px auto;border:0;background:transparent;color:#1e6094;font-size:12px;font-weight:800;text-align:right}.auth-login-link{margin:9px auto;text-align:center}.auth-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.auth-actions .btn{min-height:50px}
.account-support-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}.account-support-links .btn{min-height:48px}
.registration-steps{display:grid;grid-template-columns:1fr 24px 1fr;align-items:center;gap:4px;margin:12px 0}.registration-steps span{padding:8px;border:1px solid #afbeb4;border-radius:999px;background:#f4f5f2;color:#5d6f66;text-align:center;font-size:12px;font-weight:800}.registration-steps span.active{background:#087a4e;color:#fff;border-color:#087a4e}.registration-steps span.done{background:#dff2e6;color:#087047}.registration-steps i{height:1px;background:#afbeb4}
.trial-note{margin:12px 0;padding:11px;border:1px solid #68a98a;border-radius:13px;background:#e5f4e9;color:#075e40;font-weight:800}.consent-panel{margin:10px 0;padding:9px 11px;border:1px solid #a8b8ad;border-radius:14px;background:#fffdf9}.consent-row{display:grid;grid-template-columns:34px minmax(0,1fr);gap:7px;align-items:start;margin:0}.consent-row input{width:24px;height:24px}.registration-privacy-link{display:block;min-height:38px;margin-left:41px;padding:8px 0 5px;color:#1e6094;font-size:13px;font-weight:800;text-decoration:none}.verification-panel{display:grid;gap:9px;margin:12px 0;padding:14px;border:1px solid #cc8b31;border-radius:15px;background:#fff0cb}.verification-panel input{min-height:52px;border:1px solid #c9b28e;border-radius:12px;text-align:center;font-size:22px;letter-spacing:7px}
.account-hub{display:grid;gap:14px}.account-profile{display:flex;align-items:center;gap:16px;padding:20px;border-radius:24px;background:linear-gradient(120deg,#073c2f,#064c39);color:#fff;box-shadow:0 10px 25px #082e2340}.account-profile>span{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:#48c888;font-size:25px;font-weight:900}.account-profile h1{margin:0;overflow-wrap:anywhere}.account-profile b{display:inline-block;margin-top:8px;padding:5px 10px;border:1px solid #53d895;border-radius:999px;color:#adffd0}
.account-sync-card{display:grid;gap:14px;padding:19px;border-radius:24px;background:linear-gradient(120deg,#073d32,#095447);color:#fff}.account-sync-card>div{display:flex;gap:13px;align-items:center}.account-sync-card>div>span{font-size:32px}.account-sync-card h2,.account-sync-card p{margin:0}.account-sync-card small{color:#d4f2e5}.account-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.account-action{position:relative;display:grid;place-items:center;align-content:center;gap:8px;min-height:120px;border:1px solid #ffffff80;border-radius:22px;color:#fff;font-size:25px;box-shadow:0 8px 20px #3b2e1c22}.account-action span{font-size:17px;font-weight:800}.account-action.gold{background:#6c5a19}.account-action.red{background:#743a3d}.account-action.blue{background:#14536d}.account-action.teal{background:#0c5a4c}.account-action .bottom-nav-badge{top:7px;right:8px}
.account-version-note{padding:11px;border:1px solid #b7c4bd;border-radius:13px;background:#edf3ef;color:var(--high-muted);text-align:center}.contact-card{display:grid;gap:4px;width:100%;margin:9px 0;padding:16px;border:1px solid #a8baaf;border-radius:16px;background:#edf5ef;color:#12392b;text-align:left}.contact-card b{font-size:18px}.contact-card span{color:var(--high-muted)}
/* Kapsamli koyu tema: filtre kullanmaz; her yuzey ve metin kendi kontrastina sahiptir. */
.automatic-night{
  color-scheme:dark;
  --green:#54d29a;--dark:#b9f6d8;--pale:#153e34;--gold:#493b20;
  --page:#061b17;--ink:#f3fbf7;--muted:#b7cdc4;--border:#456b60;
  --white:#102f28;--receivable:#67dfa6;--debt:#ff8f93;
  --surface:#102f28;--surface-strong:#163a31;
  --high-ink:#f6fcf9;--high-muted:#bfd2ca
}
.automatic-night body{background:#061b17;color:var(--high-ink)}
.automatic-night #app{background:
  radial-gradient(circle at 12% 4%,#17614a80,transparent 30%),
  radial-gradient(circle at 88% 20%,#293c5b55,transparent 34%),
  linear-gradient(155deg,#061f1a,#0a2922 52%,#102824)}
.automatic-night .top{background:linear-gradient(105deg,#043626,#07543d 58%,#083f34);border-bottom:1px solid #3c7562}
.automatic-night .heading,.automatic-night .card,.automatic-night .focused-form,
.automatic-night .auth-card,.automatic-night .accordion-card,.automatic-night .group-box,
.automatic-night .install-box,.automatic-night .contact-card,.automatic-night .history-timeline,
.automatic-night .feed-record-card,.automatic-night .feed-stock-sheet{
  background:#102f28;color:var(--high-ink);border-color:var(--border);box-shadow:0 8px 24px #00000038
}
.automatic-night h1,.automatic-night h2,.automatic-night h3,.automatic-night .section-title,
.automatic-night .daily-tasks h2,.automatic-night .home-welcome h1,
.automatic-night .hub-intro h1,.automatic-night .monthly-title h1,
.automatic-night .day-title{color:var(--high-ink)}
.automatic-night .muted,.automatic-night small,.automatic-night .card small,
.automatic-night .auth-card>p,.automatic-night .hub-intro p,.automatic-night .monthly-title p,
.automatic-night .home-welcome p,.automatic-night .customer-sticky-head small,
.automatic-night .accordion-card summary small,.automatic-night .contact-card span{
  color:var(--high-muted)
}
.automatic-night input,.automatic-night select,.automatic-night textarea,
.automatic-night .field input,.automatic-night .field select,.automatic-night .group-input,
.automatic-night .assignment-row select,.automatic-night .feed-form-grid>*,
.automatic-night .price-edit input,.automatic-night .monthly-title input,
.automatic-night .auth-input-row,.automatic-night .opening-amount-row{
  background:#092820;color:#f7fffb;border-color:#527c6f;box-shadow:none
}
.automatic-night input::placeholder,.automatic-night textarea::placeholder{color:#91aca1;opacity:1}
.automatic-night option{background:#092820;color:#f7fffb}
.automatic-night input:focus,.automatic-night select:focus,.automatic-night textarea:focus,
.automatic-night .auth-input-row:focus-within{border-color:#63d7a5;box-shadow:0 0 0 3px #4bc58f30;outline:none}
.automatic-night .btn{background:#173b33;color:#e9fff5;border-color:#5b8175;box-shadow:none}
.automatic-night .btn:hover,.automatic-night .btn:focus{background:#204a40;border-color:#7ddab4;outline:2px solid #56bf9338}
.automatic-night .btn.primary{background:linear-gradient(115deg,#0d8b5c,#0b6f58);color:#fff;border-color:#51c995;box-shadow:0 5px 15px #00000035}
.automatic-night .btn.danger{background:linear-gradient(115deg,#a93740,#7f242c);color:#fff;border-color:#e6787e}
.automatic-night .btn:disabled{opacity:.62;color:#bad0c7}
.automatic-night .milk-display{background:#092820;color:#eafff5;border-color:#5ed19f}
.automatic-night .keypad button{background:#173b33;color:#f5fff9;border-color:#557d70}
.automatic-night .keypad button:active{background:#285548}.automatic-night .keypad button.new{background:#8b5a14;color:#fff2d7;border-color:#e0a84e}
.automatic-night .customer-sticky-head{background:linear-gradient(100deg,#113c32f5,#1a332df5);color:#f7fffb;border-color:#4b7568}
.automatic-night .milk-focus{background:linear-gradient(145deg,#103b30,#102f28);border-color:#4c7d6d}
.automatic-night .accordion-card.customer-info-card{background:#152f42}.automatic-night .accordion-card.feed-plan-card{background:#3b321d}.automatic-night .accordion-card.planned-card{background:#302743}
.automatic-night .accordion-body{background:#0c2922;border-color:#41695d}.automatic-night .accordion-icon{background:#ffffff12;color:#effff7}
.automatic-night .customer-actions{background:#09251fd9;border-color:#456b60}
.automatic-night .parity-hub-card,.automatic-night .daily-task-card,.automatic-night .quick-action,
.automatic-night .home-tile,.automatic-night .customer-front{filter:none;color:#f7fffb;border-color:#507568;box-shadow:0 9px 22px #00000035}
.automatic-night .parity-hub-card b,.automatic-night .daily-task-card b,
.automatic-night .home-tile b,.automatic-night .quick-action{color:#f7fffb}
.automatic-night .parity-hub-card small,.automatic-night .daily-task-card small,
.automatic-night .home-tile small{color:#c5d9d1}
.automatic-night .parity-hub-card.violet,.automatic-night .home-tile.violet,.automatic-night .customer-front.tone-1{background:linear-gradient(120deg,#342b4c,#28233c)}
.automatic-night .parity-hub-card.green,.automatic-night .home-tile.green,.automatic-night .customer-front.tone-3{background:linear-gradient(120deg,#173f32,#12352b)}
.automatic-night .parity-hub-card.orange,.automatic-night .home-tile.orange,.automatic-night .customer-front.tone-2{background:linear-gradient(120deg,#4a3420,#38291c)}
.automatic-night .parity-hub-card.blue,.automatic-night .home-tile.blue,.automatic-night .customer-front.tone-0{background:linear-gradient(120deg,#19384a,#142f40)}
.automatic-night .home-tile.yellow,.automatic-night .customer-front.tone-5{background:linear-gradient(120deg,#463e1f,#363018)}
.automatic-night .home-tile.pink,.automatic-night .customer-front.tone-4{background:linear-gradient(120deg,#472a35,#35222b)}
.automatic-night .home-tile.teal,.automatic-night .customer-front.tone-6{background:linear-gradient(120deg,#153f3c,#103330)}
.automatic-night .customer-front.tone-7{background:linear-gradient(120deg,#39332c,#2c2823)}
.automatic-night .home-icon,.automatic-night .parity-hub-icon,.automatic-night .daily-task-icon,
.automatic-night .daily-task-card strong,.automatic-night .customer-number{background:#ffffff14;color:#f0fff8;border-color:#6c8d82}
.automatic-night .daily-hero{background:linear-gradient(145deg,#143a31,#102d27);color:#f7fffb;border-color:#53786c;box-shadow:0 9px 23px #00000038}
.automatic-night .progress-ring{background:conic-gradient(#45d197 var(--progress),#29483e 0)}
.automatic-night .progress-ring:before{background:#0b2922}.automatic-night .daily-hero p{color:#bdd2c9}
.automatic-night .quick-action.violet{background:#342b4c}.automatic-night .quick-action.gold{background:#493b20}
.automatic-night .daily-task-card.blue{background:#19384a}.automatic-night .daily-task-card.orange{background:#49331f}.automatic-night .daily-task-card.red{background:#48272a}.automatic-night .daily-task-card.gold{background:#463b1d}.automatic-night .daily-task-card.teal{background:#153d38}
.automatic-night .monthly-metric-grid .green{background:#173f32}.automatic-night .monthly-metric-grid .blue{background:#19384a}.automatic-night .monthly-metric-grid .gold{background:#463b1d}.automatic-night .monthly-metric-grid .red{background:#48272a}
.automatic-night .monthly-metric-grid .card strong{color:#82e4b5}
.automatic-night .history-profile{background:linear-gradient(120deg,#173d34,#3c3220)}
.automatic-night .history-avatar{background:#235541;color:#adf2cf}
.automatic-night .history-timeline summary span{color:#b7cdc4}
.automatic-night .excel-upload-zone{background:#12382e;color:#f4fff9;border-color:#63b997}.automatic-night .excel-upload-zone span{color:#bfd3ca}.automatic-night .import-column-help{background:#3d341d;color:#fff0bd}
.automatic-night .period-control input{background:#102f27;color:#f4fff9;border-color:#5b8a79}.automatic-night .history-aggregate-milk{background:#143d31;color:#f4fff9;border-color:#4c9277}.automatic-night .history-aggregate-milk>span{background:#0c2f26}.automatic-night .history-aggregate-milk small{color:#bdd4cb}.automatic-night .history-aggregate-milk>strong{color:#81e8b7}
.automatic-night .group-row,.automatic-night .assignment-row,.automatic-night .list-row,
.automatic-night .day,.automatic-night .order{background:#15372f;color:#eefbf5;border-color:#486f63}
.automatic-night .group-row:nth-child(6n+2),.automatic-night .assignment-row:nth-child(4n+2),.automatic-night .list-row:nth-child(odd){background:#272d41}
.automatic-night .group-row:nth-child(6n+3),.automatic-night .assignment-row:nth-child(4n+3),.automatic-night .list-row:nth-child(even){background:#3d321f}
.automatic-night .group-row:nth-child(6n+5){background:#402832}.automatic-night .group-row:nth-child(6n){background:#3d371d}
.automatic-night .feed-task{background:linear-gradient(110deg,#3f321d,#16352d);border-color:#d49435}.automatic-night .feed-task-date,.automatic-night .pending-count{background:#49381d;color:#ffd78f}
.automatic-night .feed-stock-card{background:linear-gradient(120deg,#173c30,#3a321f);color:#f4fff9}.automatic-night .feed-stock-card.low{background:linear-gradient(120deg,#4a321c,#3f2620);border-color:#e4a04d}
.automatic-night .pale,.automatic-night .cloud-ready,.automatic-night .status,.automatic-night .discount-preview,.automatic-night .success-empty{background:#173d33;color:#cffff0}
.automatic-night .gold{background:#45391f;color:#fff2cc}.automatic-night .adjustment{background:#272f43;color:#edf2ff}
.automatic-night .balance.receivable{background:#123d2b;color:#77e8ad!important}.automatic-night .balance.debt{background:#462528;color:#ff9ea2!important}
.automatic-night .conflict,.automatic-night .account-switch,.automatic-night .status.error{background:#452427;color:#ffb1b4;border-color:#9a555a}
.automatic-night .opening-balance-note{background:#18374c;color:#b9dcff}.automatic-night .verification-panel{background:#49391f;color:#fff2cc;border-color:#b68a45}
.automatic-night .trial-note{background:#143d30;color:#aef0ce;border-color:#4b9f79}
.automatic-night .consent-panel{background:#0d332a;color:#f4fff9;border-color:#548071}.automatic-night .consent-row span{color:#f4fff9}.automatic-night .registration-privacy-link,.automatic-night .auth-forgot-link,.automatic-night .auth-login-link{color:#8dccff}.automatic-night .consent-row input{accent-color:#35c487}
.automatic-night .account-profile{background:linear-gradient(120deg,#062f26,#0b4939);border:1px solid #3c725e}.automatic-night .account-sync-card{background:linear-gradient(120deg,#0a342b,#104b3f);border:1px solid #47786a}
.automatic-night .account-version-note{background:#15372f;color:#c3d7cf;border-color:#4b7266}
.automatic-night .bottom-navigation{background:#061f1aef;border-color:#315b4e;box-shadow:0 -8px 25px #00000050}.automatic-night .bottom-nav-item{color:#dcece5}.automatic-night .bottom-nav-item.active{background:#1d5947;color:#8dffc7}.automatic-night .bottom-nav-item.home{background:#123d31;border-color:#497768}.automatic-night .bottom-nav-badge{border-color:#071f1a}
.automatic-night .footer{background:#071f1af0;color:#c5d8d0;border-color:#315b4e}.automatic-night .footer.account-only-footer{background:#031812ed}
.automatic-night .toast{background:#d7f4e7;color:#0a2d23;box-shadow:0 8px 25px #0008}
.toast{z-index:500;right:18px;bottom:calc(var(--bottom-height) + 16px);max-width:min(460px,calc(100vw - 36px));box-shadow:0 12px 32px #0005}
.keyboard-customer-results .group-customer-card.keyboard-selected{outline:3px solid #35d092;outline-offset:2px;background:#dff8ec;box-shadow:0 8px 24px #072f2350}
.automatic-night .keyboard-customer-results .group-customer-card.keyboard-selected{background:#1b5946;outline-color:#73efb9;color:#fff}
.automatic-night ::selection{background:#4bc58f;color:#041a14}
@media(max-width:850px){
  .daily-page{grid-template-columns:1fr}.daily-hero,.daily-actions,.daily-tasks{grid-column:1;grid-row:auto}.daily-tasks{order:3}
  .report-actions{grid-template-columns:1fr}.report-actions .btn{width:100%}
}
@media(max-width:620px){
  :root{--bottom-height:70px}
  body{padding-bottom:var(--bottom-height)}
  .page{padding:10px 9px calc(var(--bottom-height) + 12px)}
  .top{gap:6px;padding:7px 8px}.brand{font-size:15px}.top-page-title{display:block;font-size:15px;white-space:normal;line-height:1.08;text-align:center}.header-task-button{flex-basis:42px;min-height:40px}
  .bottom-navigation{height:var(--bottom-height);padding-top:4px}.bottom-nav-item{font-size:10px;border-radius:15px}.bottom-nav-item.home{margin-top:-8px}.bottom-nav-icon{font-size:21px}.bottom-nav-icon-anchor{width:32px;height:30px}
  .parity-hub-card{grid-template-columns:58px minmax(0,1fr) 20px;min-height:106px;padding:15px;gap:11px}.parity-hub-icon{width:56px;height:56px;font-size:25px}.parity-hub-card b{font-size:18px}.parity-hub-card small{font-size:12px}.parity-hub-card i{font-size:30px}
  .daily-page{gap:6px;padding-top:5px}.daily-hero{grid-template-columns:minmax(0,1fr) 78px;padding:8px 10px;text-align:left}.daily-hero>div:first-child{align-self:center}.daily-hero h1{font-size:21px}.daily-hero p{margin:2px 0}.progress-ring{grid-column:2;grid-row:1/3;width:74px;height:74px}.progress-ring:before{width:57px;height:57px}.progress-ring span{font-size:12px;text-align:center}.daily-progress-copy{grid-column:1;margin:2px 0;font-size:11px}.daily-start{grid-column:1/-1;min-height:38px;padding:6px;font-size:13px}.daily-actions{gap:6px}.quick-action{min-height:45px;font-size:14px}.daily-tasks{gap:5px}.daily-tasks h2{margin:2px 0;font-size:17px}.daily-task-card{grid-template-columns:36px minmax(0,1fr) 32px;min-height:48px;padding:5px 7px;gap:7px}.daily-task-icon{width:34px;height:34px;font-size:17px}.daily-task-card b{font-size:12px}.daily-task-card small{display:none}.daily-task-card strong{width:30px;height:30px;font-size:14px}
  .milk-focus .keypad{grid-template-columns:repeat(4,minmax(0,1fr))}.milk-focus .keypad button{min-height:42px;padding:5px}.milk-focus{padding:9px}.milk-display{padding:5px 10px;font-size:27px}
  .feed-record-grid,.history-metrics{grid-template-columns:1fr}.monthly-metric-grid{gap:9px}.monthly-metric-grid .card{min-height:123px;padding:13px}.monthly-metric-grid .card strong{font-size:clamp(21px,7vw,31px)}
  .monthly-title{align-items:stretch;flex-direction:column}.monthly-title h1{font-size:29px}.monthly-title input{width:100%}
  .history-profile{grid-template-columns:58px minmax(0,1fr)}.history-profile .history-avatar{width:54px;height:54px}.history-profile input{grid-column:1/-1;width:100%}
  .history-balance-actions,.opening-direction-grid,.history-report-actions{grid-template-columns:1fr}.period-control{justify-content:stretch}.period-control label{flex:1}.period-control input,.period-control .btn{width:100%}
  .monthly-customer-row{grid-template-columns:45px minmax(0,1fr) 18px}.monthly-customer-row .history-avatar{width:42px;height:42px}.monthly-customer-row strong{grid-column:2}.monthly-customer-row i{grid-column:3;grid-row:1/3}
  .auth-card{padding:18px 14px}.auth-card h1{font-size:27px}.auth-actions,.account-support-links{grid-template-columns:1fr 1fr}.auth-actions .btn{padding-inline:8px}.registration-steps span{font-size:10px;padding:7px 4px}
  .account-profile{padding:15px}.account-profile>span{width:58px;height:58px}.account-profile h1{font-size:19px}.account-action{min-height:96px}.account-action span{font-size:14px}
  .footer.account-only-footer{font-size:10px;padding:5px 9px}
  .toast{left:12px;right:12px;bottom:calc(var(--bottom-height) + 10px);max-width:none;text-align:center}
}
@media(max-width:370px){
  .bottom-nav-item{font-size:9px}.bottom-nav-icon{font-size:19px}.top-page-title{font-size:13px}.brand{font-size:13px}
  .auth-actions,.account-support-links,.account-action-grid{grid-template-columns:1fr}.monthly-metric-grid{grid-template-columns:1fr}
}
@media(orientation:landscape) and (max-height:560px){
  :root{--bottom-height:58px}.bottom-navigation{height:var(--bottom-height)}.bottom-nav-item{grid-template-columns:auto auto;gap:5px}.bottom-nav-item.home{margin-top:-4px}.bottom-nav-icon{font-size:19px}
  .daily-page{grid-template-columns:.8fr 1.2fr;padding-block:8px}.daily-hero{padding:8px}.daily-hero h1{font-size:20px}.daily-hero p{margin-bottom:5px}.progress-ring{width:78px;height:78px}.progress-ring:before{width:60px;height:60px}.progress-ring span{font-size:13px}.daily-progress-copy{margin:4px}.daily-start{min-height:38px;padding-block:6px}.daily-actions{grid-column:1}.daily-tasks{grid-column:2;grid-row:1/3;gap:5px}.daily-tasks h2{font-size:16px}.daily-task-card{min-height:52px;padding:5px 8px}.daily-task-icon{width:34px;height:34px;font-size:17px}.daily-task-card small{display:none}
  .customer-workspace{grid-template-columns:minmax(0,1fr) minmax(240px,.7fr);max-width:1100px}.milk-focus{grid-row:1/4}.milk-focus .keypad button{min-height:38px}.customer-actions{max-width:1100px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.searchable-feed-picker input{width:100%;min-height:46px;border:1px solid var(--border);border-radius:9px;background:#fff;padding:10px 12px;color:var(--ink)}
.quick-feed-sale .focused-form{max-width:620px}.desktop-shortcut-overlay{position:fixed;inset:0;z-index:100;background:#071b1580;display:grid;place-items:start center;padding-top:9vh;backdrop-filter:blur(4px)}
.desktop-shortcut-card{width:min(620px,92vw);max-height:76vh;display:flex;flex-direction:column;background:#f8fffb;border:1px solid #7a9f91;border-radius:18px;box-shadow:0 24px 70px #0007;overflow:hidden}
.desktop-shortcut-card header{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#0d543e;color:#fff}.desktop-shortcut-card header>div{flex:1}.desktop-shortcut-card header b,.desktop-shortcut-card header small{display:block}.desktop-shortcut-card header button{border:0;background:#ffffff18;color:#fff;font-size:27px;border-radius:9px;width:40px;height:40px}
.desktop-shortcut-card>input{margin:14px;width:calc(100% - 28px);min-height:48px;border:2px solid #17805c;border-radius:11px;padding:10px 13px;font-size:18px}.desktop-shortcut-results{display:grid;gap:5px;padding:0 14px 14px;overflow:auto}.desktop-shortcut-results button{display:flex;justify-content:space-between;gap:12px;border:1px solid #cbdad4;background:#fff;color:#18372d;border-radius:10px;padding:11px 13px;text-align:left}.desktop-shortcut-results button.selected{background:#d9f5e8;border-color:#14815c;box-shadow:0 0 0 2px #14815c30}.desktop-shortcut-results small{color:#65776f}
.automatic-night .searchable-feed-picker input,.automatic-night .desktop-shortcut-card>input{background:#102f27;color:#f4fff9;border-color:#5b8a79}.automatic-night .desktop-shortcut-card{background:#09271f;border-color:#4f796b}.automatic-night .desktop-shortcut-results button{background:#12372e;color:#f4fff9;border-color:#476f62}.automatic-night .desktop-shortcut-results button.selected{background:#1c5a47;border-color:#75d6ad}.automatic-night .desktop-shortcut-results small{color:#bfd1ca}
.toast.success{background:#137a4f;color:#fff;border:1px solid #67d8aa}.toast.error{background:#b32634;color:#fff;border:1px solid #ff9aa3}.toast.info{background:#164b70;color:#fff;border:1px solid #87c8ed}
