:root{font-family:Segoe UI,Arial,sans-serif;color:#352a22;background:#f8f4ef;font-synthesis:none;--green:#b9511b;--muted:#806d5f;--line:#e9ded3;--paper:#fffaf5;--peach:#e8bda3}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.55;cursor:wait}button,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #bc843c;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #b9511b;outline-offset:1px}button{border:0;background:none}h1,h2,h3,p{margin:0}h1{font-family:Georgia,Times New Roman,serif;font-size:44px;font-weight:500;letter-spacing:-1.6px;line-height:1.17;margin:10px 0}h1 span{color:#b57450}h2{font-size:20px;letter-spacing:-.4px;font-weight:650}h3{font-size:16px}small{font-size:12px}svg{flex-shrink:0}.app-shell{display:flex;min-height:100dvh}.sidebar{width:244px;position:fixed;inset:0 auto 0 0;background:#f1e6dc;border-right:1px solid #e4d3c4;padding:37px 25px;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;white-space:nowrap}.brand>span{display:flex}.brand img{width:42px;height:42px;border-radius:12px}.brand>div{font-family:Georgia,serif;font-size:25px;letter-spacing:-.7px}.brand small{display:block;font-family:Segoe UI,sans-serif;font-size:8px;font-weight:650;letter-spacing:1.6px;margin-top:5px}.side-caption{font-size:9px;font-weight:650;letter-spacing:1.5px;color:#877261;margin:52px 0 18px 12px}.sidebar nav{display:grid;gap:7px}.sidebar nav button{display:flex;gap:14px;align-items:center;border-radius:9px;padding:15px 16px;font-size:15px;min-height:50px;text-align:left}.sidebar nav button.active{color:#fff;background:var(--green)}.sidebar nav button:not(.active):hover{background:#f0dfcf}.nav-dot{width:5px;height:5px;background:#ffe4ca;border-radius:50%;margin-left:auto}.side-bottom{margin-top:auto;padding:30px 10px 0;color:#826751;font-size:11px;line-height:1.8}.side-bottom p{margin:10px 0 22px}.side-bottom>svg{color:#c69a77;transform:rotate(-20deg)}.green-dot{display:inline-block;background:#bb652d;width:7px;height:7px;border-radius:50%;margin-right:5px}.workspace{margin-left:244px;flex:1;min-width:0}.topbar{height:83px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:12px;color:#806e60}.desktop-date{text-transform:capitalize}.farm-badge{display:flex;align-items:center;font-size:11px;background:#f3e3d3;padding:8px 12px;border-radius:20px;white-space:nowrap}.mobile-brand{display:none}.demo-bar{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px;background:#eee9db;color:#655b42;padding:10px 5%;line-height:1.5}.demo-bar button{display:flex;align-items:center;gap:4px;font-size:11px;text-decoration:underline;white-space:nowrap;min-height:24px}.offline,.error-banner{display:flex;gap:10px;align-items:center;background:#fff1d2;color:#80581c;padding:14px 5%;font-size:14px}.error-banner{border-radius:10px;margin-bottom:22px}.error-banner button{text-decoration:underline;margin-left:auto}main{max-width:1280px;margin:auto;padding:38px 5% 20px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px}.page-heading p:not(.eyebrow){font-size:14px;color:#806c5d;line-height:1.6}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#8a6951;line-height:1.7}.heading-art{display:flex;align-items:center;gap:15px;transform:rotate(-5deg);padding:8px 12px}.heading-art img{width:70px;height:70px;border-radius:22px}.heading-art span{font-family:Georgia,serif;font-size:13px;font-style:italic;max-width:90px;color:#8c705c}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.stat{display:flex;flex-direction:column;align-items:flex-start;background:var(--paper);border:1px solid var(--line);padding:22px;border-radius:13px;text-align:left;position:relative;box-shadow:0 3px 5px #31482d03}.stat>span:not(.stat-icon){font-size:12px;color:#7f6b5b;margin-top:18px}.stat-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center}.peach{background:#f3e0d2;color:#9a6349}.green{background:#f6e3d2;color:#98542e}.gold{background:#f6edd3;color:#a3893e}.stat strong{font-size:39px;font-family:Georgia,serif;font-weight:500;letter-spacing:-1px;margin:7px 0 16px}.stat strong.money-stat{font-size:31px;line-height:45px}.stat small{border-top:1px solid var(--line);padding-top:13px;width:100%;display:flex;align-items:center;justify-content:space-between;color:#806e60;font-size:10px}.quick-section{margin-top:32px}.quick-section>h2{font-size:17px;margin-bottom:16px}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quick-actions button{border:1px solid #e6d4c3;background:#f5e9de;display:flex;align-items:center;gap:12px;text-align:left;padding:19px 15px;border-radius:10px;min-height:83px}.quick-actions button:hover{background:#f0dbc7}.quick-actions button>svg{margin-left:auto;color:#ac7247}.quick-icon{color:#a05d33}.quick-actions b{font-size:12px;display:block;font-weight:650}.quick-actions small{font-size:10px;display:block;color:#806e60;margin-top:6px}.home-columns{display:grid;grid-template-columns:1.25fr 1fr;gap:20px;margin-top:30px}.panel{padding:25px;border:1px solid var(--line);background:var(--paper);border-radius:13px;margin-bottom:20px}.section-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}.section-top .eyebrow{margin-bottom:7px}.section-top>svg{color:#ad7c55}.section-top p:not(.eyebrow){font-size:12px;color:#806e60;margin-top:7px}.timeline-row{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:17px 0;border-bottom:1px solid var(--line);min-height:72px}.timeline-row:last-of-type{border-bottom:0}.avatar{background:#eadfce;color:#8b674c;border:1px solid #e1d2bf;width:40px;height:40px;border-radius:50%;font-family:Georgia,serif;font-size:21px;display:grid;place-items:center;flex-shrink:0}.avatar.large{width:55px;height:55px;font-size:28px}.grow{flex:1}.grow b{display:block;font-size:14px}.grow small{display:block;margin-top:5px;color:#806e60;font-size:11px}.pill{background:#f6e6d6;color:#9d552c;border-radius:7px;padding:6px 9px;font-size:10px;white-space:nowrap;font-weight:600}.pill.amber{background:#f5ebd5;color:#91702d}.footnote{font-size:11px;color:#8c7766;line-height:1.6;margin-top:16px}.month-panel{background:#f7e9dc}.month-panel h2{text-transform:capitalize;margin:8px 0 22px}.month-line{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #ead9ca;font-size:12px;color:#806e60}.month-line b{color:#65432e;font-weight:600}.text-button{padding:10px 0;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#a44919;min-height:44px}.month-panel .text-button{margin-top:13px}.bottom-note{display:flex;align-items:center;justify-content:center;gap:9px;margin:15px 0 24px;font-size:11px;color:#927d6b}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:12px 17px;border-radius:8px;font-size:13px;font-weight:600}.primary{background:var(--green);color:#fff}.primary:hover{background:#a64516}.secondary{border:1px solid #e4d3c3;background:#fff8f1}.secondary:hover{background:#f6e4d1}.compact{min-height:40px;padding:9px 12px;font-size:12px}.full{width:100%}.toolbar{display:flex;align-items:center;gap:15px;margin-bottom:24px}.search{display:flex;align-items:center;gap:10px;background:var(--paper);border:1px solid var(--line);padding:0 14px;border-radius:8px;max-width:440px;width:100%;color:#9b7960;min-height:48px}.search input{border:0;outline:0;background:none;min-width:0;width:100%;padding:14px 0;font-size:14px;color:var(--green)}.mother-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.mother-card{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:24px}.mother-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.mother-card>p{font-size:12px;line-height:1.6;color:#806e60;margin-top:7px;min-height:38px;overflow-wrap:anywhere}.mother-info{margin:20px 0}.mother-info>span{display:flex;justify-content:space-between;gap:10px;font-size:11px;padding:10px 0;color:#806e60;border-bottom:1px solid var(--line)}.mother-info b{font-size:11px;color:#65432e;text-align:right}.card-actions{display:flex;align-items:center;justify-content:space-between;gap:5px}.history{border-top:1px solid var(--line);padding-top:20px;margin-top:15px}.history h3{margin:15px 0}.history p{font-size:12px;line-height:1.8;margin:10px 0;color:#75816d}.legend{display:flex;gap:20px;font-size:12px;color:#806e60;margin:25px 0}.legend>span{display:flex;align-items:center}.litter-panel{margin-top:20px}.piglets-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}.piglet{border:1px solid #e9d8c8;background:#fcf0e5;border-radius:9px;display:flex;align-items:center;gap:12px;text-align:left;padding:16px;min-height:79px;color:#91532d}.piglet span{flex:1;min-width:0}.piglet b{display:block;font-size:13px;overflow-wrap:anywhere}.piglet small{display:block;font-size:11px;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}.piglet.sold{background:#f1f0e9;color:#8b8e80}.piglet.dead{background:#f3eae4;color:#9a7b6c}.balance-strip{display:flex;align-items:center;gap:18px;border-radius:12px;padding:22px;background:#f6e4d1;color:#95502b;margin-bottom:25px}.balance-strip span{display:block;font-size:12px}.balance-strip strong{display:block;font-size:31px;font-family:Georgia,serif;margin-top:6px;font-weight:500}.sale-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-top:23px;align-items:start}.sale-card{margin:0}.sale-detail{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#806e60;border-bottom:1px solid var(--line);padding-bottom:18px}.sale-totals{display:flex;gap:15px;justify-content:space-between;padding:20px 0}.sale-totals span{font-size:11px;color:#806e60}.sale-totals b{display:block;color:var(--green);font-size:20px;margin-top:7px;font-weight:600}.sale-card>p{font-size:12px;margin-bottom:12px;color:#806e60}.sale-card details{font-size:12px;margin:8px 0 20px}.sale-card summary{cursor:pointer;min-height:44px;padding:10px 0}.payment-row{font-size:11px;display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.expense-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 0;border-bottom:1px solid var(--line);font-size:13px}.expense-row:last-child{border:0}.expense-row small{display:block;font-size:11px;color:#806e60;line-height:1.7;margin-top:5px}.settings p{font-size:14px;color:#806e60;line-height:1.8;margin:15px 0 22px;max-width:650px}.settings>button{display:flex;margin-top:12px}.muted{color:#806e60;font-size:13px;line-height:1.6}.empty{text-align:center;padding:30px 12px;color:#849073}.empty>svg{color:#a5b095}.empty p{font-size:13px;margin:12px 0;line-height:1.7}.empty button{margin:auto}.bottom-nav{display:none}footer{display:flex;justify-content:space-between;max-width:1280px;margin:0 auto;padding:20px 5% 30px;border-top:1px solid var(--line);font-size:8px;letter-spacing:2px;color:#9d8571}footer span{letter-spacing:0;font-size:10px}.record-dialog{padding:0;border:1px solid #ead9c9;border-radius:17px;background:var(--paper);color:#352a22;max-width:540px;width:calc(100% - 32px);max-height:90dvh;box-shadow:0 20px 100px #853c1533}.record-dialog::backdrop{background:#39231666;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-content{padding:28px}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:25px}.dialog-head h2{font-family:Georgia,serif;font-size:27px;font-weight:500;margin-top:6px}.icon-button{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#f5e9dd}.field{display:block;margin:18px 0}.field>span,legend{display:block;font-weight:600;font-size:13px;margin-bottom:9px}.field input,.field textarea,.field select{width:100%;border:1px solid #e1cbb8;background:#fffaf5;min-height:49px;padding:12px;border-radius:8px;font-size:16px;color:#543a28}.field textarea{min-height:85px;resize:vertical}.field small{display:block;font-size:12px;color:#806e60;line-height:1.6;margin-top:7px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.info-box{font-size:13px;line-height:1.8;padding:15px;background:#f8e9da;color:#92613e;border-radius:9px;margin:15px 0}.form-error{padding:12px;background:#f9e9dd;color:#975537;font-size:14px;border-radius:7px;margin:15px 0;line-height:1.6}fieldset{border:1px solid #ecd9c6;border-radius:8px;margin:20px 0;padding:10px 13px;max-height:250px;overflow:auto}legend{padding:0 5px;margin:0}.checkbox-row{display:flex;gap:12px;align-items:center;min-height:48px;border-bottom:1px solid var(--line);font-size:14px}.checkbox-row:last-child{border:0}.checkbox-row input{width:22px;height:22px;accent-color:var(--green)}.sale-preview{display:flex;justify-content:space-between;gap:12px;background:#f5e1ce;padding:18px;border-radius:9px;font-size:13px;align-items:center}.sale-preview strong{font-size:23px;font-weight:600}.danger{color:#9f543a;margin-top:12px}.toast{display:flex;align-items:center;gap:10px;background:var(--green);color:#fff;position:fixed;bottom:30px;left:50%;transform:translate(-50%);padding:16px 23px;border-radius:10px;box-shadow:0 8px 40px #b9511b35;z-index:10;font-size:14px;white-space:nowrap}.loading{display:flex;justify-content:center;align-items:center;gap:12px;min-height:250px;font-size:15px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.login{max-width:510px;margin:70px auto;padding:20px}.login>.brand{justify-content:center;margin-bottom:35px}.login .panel{padding:35px}.login h1{font-size:38px;margin:15px 0}.login .panel>p:not(.eyebrow){font-size:14px;color:#7b8572;line-height:1.7}@media(min-width:1450px){main{padding-top:50px}.page-heading{margin-bottom:40px}.stats{gap:22px}.stat{padding:26px}.stat strong{font-size:45px}.quick-section{margin-top:36px}.home-columns{margin-top:35px}}@media(max-width:1100px){.sidebar{width:206px;padding:30px 17px}.workspace{margin-left:206px}.brand>div{font-size:23px}.brand small{font-size:7px}.heading-art{display:none}h1{font-size:38px}.stat{padding:18px}.stat strong.money-stat{font-size:25px}.quick-actions{gap:8px}.quick-actions button{gap:8px;padding:15px 12px}.quick-icon svg{width:20px}.quick-actions b{font-size:11px}.quick-actions small{font-size:9px}.home-columns{grid-template-columns:1fr}.month-panel{margin-top:0}.panel{padding:22px}.toolbar{align-items:stretch}.toolbar .secondary{white-space:nowrap}}@media(max-width:720px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:80px;padding:0 20px}.mobile-brand{display:block}.brand img{width:38px;height:38px}.brand>div{font-size:24px}.brand small{font-size:7px}.desktop-date{display:none}.farm-badge{font-size:9px;padding:7px 9px}.demo-bar{padding:9px 20px;font-size:10px;align-items:flex-start;gap:8px}.demo-bar button{font-size:10px;min-height:28px}.demo-bar span{max-width:245px}main{padding:27px 20px 15px}.page-heading{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:25px}.page-heading h1{font-size:35px;letter-spacing:-1.3px;margin:8px 0}.page-heading p:not(.eyebrow){font-size:13px}.eyebrow{font-size:8px;letter-spacing:1.4px}.page-heading>.primary{width:100%;min-height:48px}.stats{gap:10px;grid-template-columns:1fr 1fr}.stat{padding:18px 15px;border-radius:11px;min-height:172px}.stat>span:not(.stat-icon){font-size:11px;margin-top:13px}.stat strong{font-size:36px;margin:6px 0 12px}.stat small{font-size:10px;padding-top:11px}.stat:last-child{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr;column-gap:15px;align-items:center;min-height:100px}.stat:last-child .stat-icon{grid-row:1/3;width:46px;height:46px}.stat:last-child>span:not(.stat-icon){margin:0;font-size:11px}.stat:last-child strong{font-size:28px;line-height:1.2;margin:5px 0 0}.stat:last-child small{grid-column:1/-1;margin-top:16px}.quick-section{margin-top:27px}.quick-section>h2{font-size:17px;margin-bottom:13px}.quick-actions{grid-template-columns:1fr;gap:9px}.quick-actions button{padding:15px 17px;min-height:76px;gap:15px;background:#edefe3}.quick-icon{display:grid;place-items:center;width:33px}.quick-icon svg{width:23px}.quick-actions b{font-size:14px}.quick-actions small{font-size:11px;margin-top:5px}.quick-actions button>svg{width:20px}.home-columns{gap:0;margin-top:25px}.panel{padding:20px;border-radius:11px;margin-bottom:18px}.panel h2{font-size:19px}.section-top{margin-bottom:14px}.timeline-row{gap:9px}.grow small{font-size:10px}.timeline-row>.pill{font-size:9px;padding:6px}.timeline-row>svg{display:none}.footnote{font-size:11px}.month-panel{padding:23px}.month-line{font-size:12px}.bottom-note{font-size:10px;text-align:center;line-height:1.5;margin:10px 10px 25px}.bottom-nav{display:flex;align-items:center;justify-content:space-around;position:fixed;bottom:0;left:0;right:0;background:#fffaf5f5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid #ebd8c6;padding:6px 8px calc(7px + env(safe-area-inset-bottom));z-index:5}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#927967;min-height:54px;min-width:56px;font-size:10px;border-radius:9px}.bottom-nav button.active{color:var(--green);background:#f8e6d5;font-weight:700}.workspace{padding-bottom:76px}footer{padding:17px 20px 25px;font-size:7px;letter-spacing:1.5px}footer span{font-size:9px}.toolbar{flex-direction:column;gap:10px}.toolbar .secondary{align-self:flex-end;font-size:12px}.mother-grid{grid-template-columns:1fr;gap:15px}.mother-card{padding:22px}.mother-card>p{min-height:0}.mother-info>span,.mother-info b{font-size:12px}.legend{gap:14px;font-size:11px;flex-wrap:wrap}.piglets-grid{grid-template-columns:1fr;gap:8px}.piglet{min-height:73px}.piglet b{font-size:14px}.litter-panel .section-top{align-items:flex-start}.litter-panel .section-top h2{font-size:18px}.litter-panel .section-top .pill{font-size:9px}.sale-list{grid-template-columns:1fr;gap:17px}.sale-card{margin:0}.sale-totals b{font-size:23px}.balance-strip{padding:20px}.balance-strip strong{font-size:30px}.settings>button{font-size:12px;text-align:left}.expense-row{font-size:12px;align-items:flex-start}.expense-row>b{white-space:nowrap}.toast{bottom:95px;max-width:calc(100% - 30px);white-space:normal}.record-dialog{width:calc(100% - 16px);max-height:92dvh;border-radius:16px;margin:auto auto 8px}.dialog-content{padding:24px 20px}.dialog-head h2{font-size:26px}.field>span{font-size:14px}.field input,.field select{min-height:52px}.record-dialog .primary{min-height:53px;font-size:15px}.form-grid{gap:12px}.login{margin:35px auto}.login .panel{padding:26px}.login h1{font-size:35px}.offline{padding:12px 20px;align-items:flex-start;line-height:1.6}.error-banner{padding:15px;line-height:1.6}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}:root{font-size:16px}.page-heading .eyebrow{font-size:11px}.page-heading p:not(.eyebrow){font-size:16px}.primary,.secondary{min-height:54px;font-size:16px}.text-button{font-size:15px;min-height:48px}.muted,.info-box{font-size:16px}.footnote{font-size:14px}.field>span,legend{font-size:17px}.field input,.field select{min-height:56px;font-size:18px}.field small{font-size:14px}.field textarea{font-size:17px}.form-error{font-size:16px}.record-dialog{max-width:570px}.dialog-head{position:sticky;top:-28px;background:var(--paper);padding:8px 0;z-index:1}.icon-button{min-width:48px;min-height:48px}.topbar{gap:12px}.farm-badge{margin-left:auto}.account-button{background:transparent;color:#a55326}.mobile-brand{min-width:0}.workspace{padding-bottom:115px}.bottom-nav{z-index:5}.bottom-nav button{font-size:13px}.quick-intro{font-size:18px;margin-bottom:18px}.action-menu{display:grid;gap:12px}.action-menu>button{display:flex;align-items:center;gap:16px;min-height:82px;text-align:left;border:1px solid #e8d6c6;background:#fcf1e7;border-radius:12px;padding:17px}.action-menu b{display:block;font-size:18px}.action-menu small{display:block;font-size:14px;line-height:1.5;margin-top:5px;color:#806955}.action-menu-icon{background:#f4ddc7;border-radius:12px;width:48px;height:48px;display:grid;place-items:center;color:var(--green);flex-shrink:0}.form-today{font-size:15px;color:#8d674a;margin-bottom:20px}.category-picker{border:0;padding:0;max-height:none;overflow:visible}.category-picker>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.category-picker button,.period-picker button{border:1px solid #ead4be;border-radius:10px;background:#fff6ee;min-height:55px;font-size:16px;padding:12px 14px;overflow-wrap:anywhere}.category-picker button.selected,.period-picker button.selected{background:#b9511b;color:#fff;border-color:#b9511b;font-weight:650;box-shadow:inset 0 0 0 1px #b9511b}.category-picker button.selected:before{content:"✓ ";font-weight:700}.category-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.category-list>span{padding:10px 14px;background:#f9e9da;border:1px solid #ecd4bf;border-radius:9px;font-size:16px;overflow-wrap:anywhere}.extra-details{margin:18px 0;border:1px solid #e8d6c6;border-radius:10px;padding:0 14px}.extra-details>summary{min-height:54px;padding:15px 0;font-size:15px;font-weight:600;cursor:pointer;color:#a45323}.price-used{display:flex;justify-content:space-between;gap:12px;font-size:16px;background:#f9ebde;padding:16px;border-radius:10px}.sale-piglets{max-height:340px;margin-bottom:8px}.sale-litter-head{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin:12px 0 7px}.sale-litter-head b{font-size:15px}.sale-litter-head button{font-size:15px;font-weight:600;color:#a45224;min-height:44px;text-decoration:underline;padding:5px 0}.sale-piglets .checkbox-row{min-height:58px;font-size:17px}.checkbox-row input{width:26px;height:26px}.selection-count{color:#a45b2f;font-size:15px;margin:8px 0 20px}.payment-picker{border:0;padding:0;max-height:none;overflow:visible}.payment-picker legend{margin-bottom:14px}.payment-picker>label{display:flex;align-items:center;gap:13px;border:1px solid #ead6c2;border-radius:9px;padding:14px;min-height:57px;margin-bottom:9px;font-size:17px}.payment-picker input{width:24px;height:24px;accent-color:#b9511b}.payment-picker .selected{background:#f8e4d1;border:2px solid #bc642e;padding:13px;font-weight:650}.current-price{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;background:#f8e8d9}.current-price>div span{display:block;font-size:16px;color:#9f5a2f}.current-price strong{display:block;font-size:30px;font-family:Georgia,serif;font-weight:500;margin-top:8px}.current-price>p{width:100%;font-size:14px;line-height:1.6;color:#806955}.balance-strip span{font-size:15px}.period-picker{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 20px}.period-picker button{min-height:48px;font-size:15px}.period-caption{font-size:15px;color:#856b55;margin:0 0 20px}.report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}.report-metric{display:flex;flex-direction:column;align-items:flex-start;border:1px solid #e9d8c7;border-radius:12px;background:var(--paper);padding:22px;gap:15px}.report-metric>span{font-size:16px;color:#806955;line-height:1.5}.report-metric>svg{color:#ad7143}.report-metric>strong{font-size:clamp(23px,2.3vw,32px);font-family:Georgia,serif;font-weight:500;overflow-wrap:anywhere;max-width:100%}.result-metric{background:#f8e1cc}.result-metric>span{color:#975224;font-weight:600}.report-explanation{font-size:14px;color:#806955;line-height:1.8;margin:0 0 26px;max-width:850px}.report-line{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 0;border-bottom:1px solid var(--line);font-size:16px}.report-line b{text-align:right}.report-line:last-child{border-bottom:0}.farm-today{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.farm-today>button{padding:22px;background:#f8e8d9;border-radius:11px;display:flex;flex-direction:column;gap:12px;align-items:center;font-size:16px;min-height:120px}.farm-today b{font-size:30px;font-family:Georgia,serif;font-weight:500}.expense-row{font-size:16px;line-height:1.5}.expense-row small{font-size:14px}.sale-card>.section-top p{font-size:14px}.sale-detail{font-size:15px;line-height:1.7}.sale-totals span{font-size:14px}.sale-card>p{font-size:15px}.sale-card details{font-size:15px}.payment-row{font-size:14px;line-height:1.7}.mother-card>p{font-size:15px}.mother-info>span,.mother-info b{font-size:14px;line-height:1.5}.history p{font-size:15px}.legend{font-size:14px}.piglet b{font-size:16px}.piglet small{font-size:14px}.empty p,.search input{font-size:16px}.search{min-height:54px}.panel .muted{margin-top:16px}.record-dialog .primary{margin-top:15px}.login .panel>p:not(.eyebrow){font-size:16px}@media(max-width:1100px)and (min-width:721px){.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.topbar{padding:0 16px;height:86px;gap:5px}.brand img{width:37px;height:37px}.brand>div{font-size:24px}.brand small{font-size:8px}.farm-badge{font-size:10px;max-width:105px}.account-button{min-width:42px;min-height:44px;width:42px;background:none}.workspace{padding-bottom:175px}main{padding:24px 16px 20px}.page-heading p:not(.eyebrow){font-size:16px;line-height:1.6}.page-heading h1{font-size:35px}.bottom-nav{padding:7px 4px calc(8px + env(safe-area-inset-bottom));background:#fffaf5}.bottom-nav button{font-size:12px;min-width:0;width:20%;min-height:59px;gap:7px;font-weight:600}.bottom-nav svg{width:23px;height:23px}.record-dialog{margin:auto auto 8px;width:calc(100% - 16px);max-height:94dvh}.dialog-content{padding:19px 18px 26px}.dialog-head{top:-19px;margin-bottom:20px;padding:8px 0}.dialog-head h2{font-size:27px;line-height:1.3}.record-dialog .primary{font-size:18px;min-height:58px}.report-grid{grid-template-columns:1fr 1fr;gap:11px}.report-metric{padding:18px 14px;gap:13px;min-height:133px}.report-metric>span{font-size:15px}.report-metric>strong{font-size:clamp(19px,5.3vw,25px)}.result-metric{grid-column:1/-1;min-height:110px}.result-metric>strong{font-size:32px}.report-line{font-size:15px;gap:12px}.report-line b{overflow-wrap:anywhere}.panel h2{font-size:21px}.panel{padding:20px}.period-picker{gap:8px}.period-picker button{font-size:15px;flex:1;white-space:nowrap;padding:11px 13px;min-height:49px}.form-grid{gap:12px}.form-grid .field>span{font-size:15px}.current-price{gap:14px;padding:20px}.current-price .secondary{width:100%}.current-price strong{font-size:32px}.sale-preview{align-items:flex-start;flex-direction:column;gap:8px;font-size:17px}.sale-preview strong{font-size:32px}.legend{gap:13px;font-size:13px;line-height:1.7}.pill{font-size:12px}.litter-panel .section-top .pill{font-size:11px}.expense-row{font-size:16px}.expense-row>b{max-width:47%;overflow-wrap:anywhere;white-space:normal}.expense-row small{font-size:13px}.mother-card{padding:22px}.mother-info>span,.mother-info b{font-size:14px}.piglet b{font-size:16px}.piglet small{font-size:14px}.toast{bottom:calc(160px + env(safe-area-inset-bottom));font-size:16px}.section-top>.secondary{font-size:15px;padding:10px}.panel .section-top{align-items:center}footer{padding-bottom:20px}.login{padding:16px}.login h1{font-size:35px}.login .primary{font-size:17px}}@media(max-width:720px){.sale-list{grid-template-columns:minmax(0,1fr)}.sale-card{min-width:0}.sale-totals>span{min-width:0;max-width:50%}.sale-totals b{font-size:clamp(18px,5.5vw,23px);overflow-wrap:anywhere}}@media(max-width:360px){.brand>div{font-size:22px}.brand small{font-size:7px}.brand{gap:7px}.farm-badge{display:none}.mobile-brand{margin-right:auto;flex-shrink:0}.topbar{padding:0 12px}.bottom-nav button{font-size:11px}.report-metric{padding:16px 12px}.report-metric>strong{font-size:19px}}:root{--brand:#b64b14;--brand-dark:#92390c;--ink:#222c38;--muted:#566271;--line:#dce1e7;--paper:#fff;--green:var(--brand);color:var(--ink);background:#f4f5f7;color-scheme:light}body{background:#f4f5f7;color:var(--ink)}button,input,select,textarea{color:var(--ink)}button{transition:background-color .16s,box-shadow .16s,transform .16s}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--brand);outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid var(--brand);outline-offset:2px}.search:focus-within{outline:2px solid var(--brand);outline-offset:2px}.search input:focus{outline:none}h1 span{color:var(--brand)}h1,h2,h3,.brand{color:var(--ink)}.panel,.mother-card,.report-metric{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 3px 14px #18233306}.primary{background:linear-gradient(150deg,#bc5018,#a9420e);color:#fff;border:1px solid #a8430e;box-shadow:inset 0 1px #ffffff35,0 4px 10px #9e400e22}.primary:hover{background:#9d3e0e;box-shadow:0 5px 14px #9e400e2b}.primary:active,.secondary:active,.action-menu>button:active{transform:translateY(1px)}.secondary{background:linear-gradient(160deg,#fff,#f6f7f9);border:1px solid #cbd2db;color:#354251;box-shadow:inset 0 1px #fff,0 2px 5px #17213207}.secondary:hover{background:#edf0f4}.sidebar{background:#fbfcfd;border-right-color:var(--line)}.sidebar nav button.active{background:#273b46;color:#fff;box-shadow:0 3px 10px #1d303219}.sidebar nav button:not(.active):hover{background:#edf0f4}.sidebar nav .sidebar-action{margin-top:20px;border:1px solid #d9b49f;background:#fff7f1;color:#963d10;justify-content:center;font-weight:700;box-shadow:0 3px 8px #18233308}.topbar{background:#ffffffc9;border-bottom-color:var(--line);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.brand img{box-shadow:0 2px 6px #33251715}.brand small{color:#586474}.farm-badge{background:#edf3ef;color:#355a47}.green-dot{background:#387454}.icon-button{color:#3d4b5b;background:#edf0f4;box-shadow:inset 0 1px #fff}.side-account{display:flex;align-items:center;gap:10px;min-height:48px;font-size:15px;font-weight:600;color:#354b5d;margin-bottom:18px;width:100%;border-bottom:1px solid var(--line)}.account-copy{border:1px solid var(--line);border-radius:12px;padding:18px;margin:20px 0;background:#f8fafc}.account-copy h3{font-size:19px}.account-copy p{font-size:15px;line-height:1.65;margin-top:12px;color:#4c5b6b}.account-copy .footnote{font-size:13px}.account-copy button{margin-top:16px;white-space:normal}.copy-ready{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.copy-ready>b{color:#315444;font-size:17px}.account-copy .copy-sent{display:flex;gap:9px;color:#315444}.copy-sent svg{flex-shrink:0;margin-top:2px}.demo-account{border-top:1px solid var(--line);padding-top:8px}.record-dialog{color:var(--ink);background:#fffffffa;border:1px solid #e5e9ee;box-shadow:0 20px 80px #13233340;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.record-dialog::backdrop{background:#14243277;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.dialog-head{background:#fffffff5;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);padding-bottom:15px}.action-menu>button{background:#f8f9fb;border:1px solid #dce1e7;box-shadow:inset 0 1px #fff,0 2px 6px #19253405;border-radius:12px}.action-menu>button>span:not(.action-menu-icon){flex:1;min-width:0}.action-menu b{color:#263441}.action-menu small{color:#586474}.action-menu-icon{background:#eef1f5;color:#43576a;box-shadow:inset 0 1px #fff}.category-list>span,.pill,.info-box,.price-used{background:#f0f3f6;border-color:#dce2e9;color:#3a4d60}.pill.amber{background:#fff3d5;color:#765113}.info-box{border:1px solid #dce2e9}.balance-strip,.current-price{background:#fff;color:#273c48;border:1px solid var(--line);box-shadow:0 3px 12px #17243505}.current-price>div span,.current-price>p{color:#566271}.period-picker button,.category-picker button{background:#fff;color:#364555;border-color:#cbd2dc;box-shadow:0 1px 3px #17243505}.period-picker button.selected,.category-picker button.selected{background:#304650;color:#fff;border-color:#304650;box-shadow:none}.payment-picker input,.checkbox-row input{accent-color:var(--brand)}.payment-picker .selected{background:#fff3e9;border-color:#bd5928}.field input,.field textarea,.field select,.search{background:#fff;border-color:#bcc6d1;color:var(--ink);box-shadow:inset 0 1px 2px #17243503}.search input{background:transparent;color:var(--ink)}input::placeholder,textarea::placeholder{color:#657180;opacity:1}.farm-today>button{background:#f0f3f6;color:#304b5e}.piglet{background:#f6f9f7;color:#345340;border-color:#d9e3dc}.piglet.sold{background:#f2f4f7;color:#4f5c6b}.piglet.dead{background:#faf0ee;color:#79493f}.avatar{background:#edf1f5;color:#526477;border-color:#d8e0e9}.sale-preview{background:#edf3f5;color:#263f4b}.sale-totals b{color:#2c414d}.text-button,.extra-details>summary,.sale-litter-head button{color:#a33f0c}.extra-details{border-color:#d8dee6}.toast{background:#2b4442;box-shadow:0 6px 25px #1724352b}.form-error{background:#fff0ed;color:#8d3024;border:1px solid #efccc5}.danger{color:#a23627}.muted,.footnote,.field small,.report-explanation,.form-today,.selection-count,.legend,.side-caption,.side-bottom,.desktop-date,.topbar,.eyebrow,.empty,.history p,.expense-row small,.sale-detail,.sale-card>p,.sale-totals span,.current-price p,.settings p,.section-top p:not(.eyebrow),.mother-card>p,.mother-info>span,.grow small,.bottom-note,footer,footer span,.page-heading p:not(.eyebrow),.login .panel>p:not(.eyebrow){color:#566271}.mother-info b{color:#273747}.empty>svg,.side-bottom>svg{color:#6e7e89}.report-metric>span{color:#526171}.report-metric>svg{color:#536b7b}.report-metric>strong{color:#263845;font-variant-numeric:tabular-nums;font-family:inherit;font-weight:650;letter-spacing:-.7px}.range-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;margin-bottom:22px;box-shadow:0 2px 8px #17243504}.range-panel form{display:grid;grid-template-columns:1fr auto;align-items:end;gap:14px}.range-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}.range-fields label{min-width:0;display:block}.range-fields label>span{display:block;font-size:14px;font-weight:650;margin-bottom:8px;color:#3a4958}.range-fields input{display:block;width:100%;min-width:0;max-width:100%;min-height:52px;border:1px solid #bcc6d1;border-radius:9px;padding:11px 10px;background:#fff;font-size:16px;color:#263543;font-family:inherit}.range-fields input::-webkit-date-and-time-value{text-align:left;min-width:0}.range-apply{min-height:52px}.range-navigation{display:flex;gap:8px;justify-content:space-between;align-items:center;border-top:1px solid #e8ecf0;margin-top:16px;padding-top:10px}.range-navigation>span{font-size:14px;line-height:1.5;text-align:center;color:#334655}.range-navigation small{display:block;font-size:12px;color:#5d6977;margin-top:4px}.range-arrow{display:grid;place-items:center;min-width:44px;min-height:44px;background:#f1f4f7;border-radius:9px;color:#354d60}.range-arrow:hover:not(:disabled){background:#e4eaf0}.range-arrow:disabled{opacity:.32}.range-today{display:block;min-height:44px;margin:5px auto -5px;color:#9e3d0d;font-size:14px;font-weight:600}.net-result{background:#263d49;color:#fff;border:1px solid #263d49;border-radius:15px;padding:25px;margin-bottom:15px;box-shadow:0 5px 18px #263d4912}.net-result>span{font-size:16px;font-weight:600;color:#e3edf1}.net-result>strong{display:block;font-size:clamp(30px,3.5vw,43px);font-weight:650;letter-spacing:-1px;margin:12px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.net-result p{font-size:14px;line-height:1.7;color:#eef4f7}.net-result small{display:block;font-size:13px;line-height:1.7;margin-top:9px;color:#d7e3e9}.net-result.negative{border-left:5px solid #e99c81}.financial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.financial-grid .report-metric{min-height:0;gap:10px;padding:20px}.report-explanation{font-size:14px;line-height:1.7;margin-bottom:22px}.report-details{padding-top:8px;padding-bottom:8px}.report-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;min-height:62px;font-size:16px;font-weight:650;color:#354b5d}.report-details>summary::-webkit-details-marker{display:none}.report-details>summary:after{content:"+";font-size:24px;font-weight:400;color:#6a7986;order:2}.report-details[open]>summary:after{content:"−"}.report-details>summary>svg{margin-left:auto}.report-details[open]{padding-bottom:20px}.report-details .footnote{margin-bottom:8px}.process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.process-grid>div{padding:16px 12px;background:#f5f7f9;border:1px solid #e5e9ee;border-radius:10px;min-width:0}.process-grid strong{display:block;font-size:31px;line-height:1.2;letter-spacing:-1px;font-weight:650;color:#2b444f}.process-grid span{display:block;font-size:14px;font-weight:600;margin-top:9px;color:#3f5262;line-height:1.4}.process-grid small{display:block;font-size:12px;color:#596675;margin-top:7px;line-height:1.5}.report-line{font-variant-numeric:tabular-nums;line-height:1.5}.report-line>span{color:#4c5b6b}.report-line b{color:#273d4b}.report-loading{min-height:220px;display:flex;align-items:center;justify-content:center;gap:12px;color:#526271}.expense-breakdown{margin-top:24px}.category-total{margin:19px 0}.category-total>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:15px;line-height:1.6}.category-total b{text-align:right}.category-track{height:7px;background:#edf0f4;border-radius:8px;margin-top:9px;overflow:hidden}.category-track>span{display:block;height:100%;background:#667f90;border-radius:8px}.cohort-card{border:1px solid #dce2e8;background:#fff;border-radius:11px;padding:18px;margin:18px 0}.cohort-card .section-top{align-items:flex-start}.cohort-card h3{font-size:18px}.cohort-card .section-top p,.cohort-progress{font-size:13px;line-height:1.6;color:#5a6775}.cohort-margin{font-weight:650}.cohort-margin b{color:#365a4a}.expense-target-button{display:block;min-height:44px;text-align:left;color:#9c3d0f;font-size:13px;font-weight:600;padding:7px 0}.history-window{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:2px 16px;margin-bottom:16px;font-size:12px;color:#5d6b79;border-bottom:1px solid var(--line);padding-bottom:8px}.history-window button{display:flex;align-items:center;gap:7px;min-height:44px;font-size:13px;color:#964010;font-weight:600}.workspace{padding-bottom:0}@media(max-width:1000px){.process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.app-shell{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.workspace{margin:0;min-height:0;width:100%;flex:1;overflow-y:auto;overflow-x:hidden;padding-bottom:0;overscroll-behavior-y:contain}.topbar{gap:6px}.bottom-nav{position:relative;inset:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:4px;flex:0 0 auto;z-index:5;padding:8px 9px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #dce2e8;background:#ffffffeb;box-shadow:inset 0 1px #fff,0 -4px 15px #18233306;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}.bottom-nav>button{width:auto;min-width:0;min-height:65px;padding:5px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:10px;color:#556574;font-size:12px;font-weight:600;line-height:1.16;background:transparent}.bottom-nav>button svg{width:23px;height:23px}.bottom-nav>button.active{background:#edf2f5;color:#294657;box-shadow:inset 0 1px #fff}.bottom-nav>.nav-quick{color:#963b0d;background:#fff4eb;border:1px solid #e6c7b5;box-shadow:inset 0 1px #fff,0 2px 6px #9f410b0d;gap:4px;font-size:11px}.nav-quick-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:linear-gradient(145deg,#c25a22,#a44010);color:#fff;box-shadow:inset 0 1px #ffffff40,0 2px 6px #98390b20}.bottom-nav .nav-quick-icon svg{width:22px;height:22px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:34px}.report-grid{gap:11px}.range-panel{padding:14px;margin-bottom:18px}.range-panel form{grid-template-columns:minmax(0,1fr);gap:13px}.range-fields{gap:10px}.range-fields input{padding:11px 8px;font-size:16px}.range-apply{width:100%}.range-navigation{gap:2px}.range-navigation>span{font-size:12px}.range-navigation small{font-size:11px}.net-result{padding:22px 19px}.net-result>strong{font-size:clamp(28px,8.8vw,39px)}.financial-grid .report-metric{padding:17px 13px}.financial-grid .report-metric>span{font-size:14px}.financial-grid .report-metric>strong{font-size:clamp(18px,5.4vw,24px);letter-spacing:-.6px}.process-grid{gap:10px}.process-grid>div{padding:15px 11px}.report-details>summary{font-size:15px;line-height:1.5}.cohort-card{padding:15px}.cohort-card .pill{font-size:10px;padding:6px}.toast{bottom:calc(98px + env(safe-area-inset-bottom))}footer{padding-bottom:22px}}@media(max-width:360px){.bottom-nav{padding-left:6px;padding-right:6px;gap:3px}.bottom-nav>button{font-size:11px}.range-panel{padding:12px}.range-fields{gap:8px}.range-fields input{font-size:14px;padding:11px 5px}.range-navigation>span{font-size:11px}.range-arrow{min-width:40px}.action-menu b{font-size:17px}.action-menu>button{gap:12px;padding:15px}.action-menu-icon{width:42px;height:42px}}@media(prefers-reduced-motion:reduce){button{transition:none}}@media(prefers-reduced-transparency:reduce){.record-dialog,.bottom-nav,.topbar{backdrop-filter:none;-webkit-backdrop-filter:none;background:#fff}}.home-heading p:not(.eyebrow){text-transform:capitalize}.home-stock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:16px}.home-stock{position:relative;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px 15px;text-align:left;padding:23px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 3px 14px #18233306;min-width:0}.home-stock-icon{display:grid;place-items:center;width:46px;height:46px;background:#eef3f5;color:#3d5b6b;border-radius:12px;grid-row:1/3}.home-stock strong{font-size:35px;font-weight:650;letter-spacing:-1px;line-height:1.15;color:#2c434e;font-variant-numeric:tabular-nums}.home-stock>span:not(.home-stock-icon){font-size:15px;color:#526171;line-height:1.5;padding-right:12px}.home-stock>svg{position:absolute;right:15px;top:calc(50% - 9px);color:#71828f}.home-due{width:100%;display:flex;align-items:center;gap:16px;text-align:left;border:1px solid #dfd4bf;background:#faf7f0;padding:20px 23px;border-radius:14px;margin-bottom:16px;box-shadow:0 2px 9px #18233304}.home-due-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#eee7d8;color:#715c2e}.home-due>span:nth-child(2){flex:1;min-width:0}.home-due small{display:block;font-size:14px;color:#645a45}.home-due strong{display:block;font-size:27px;font-weight:650;letter-spacing:-.6px;margin-top:5px;overflow-wrap:anywhere;color:#4e422c}.home-due>svg{color:#75664b}.home-month .section-top{margin-bottom:18px}.home-month h2{text-transform:capitalize}.home-report-link{display:grid;place-items:center;width:46px;height:46px;border-radius:10px;color:#415d70;background:#eef2f6}.home-net{padding:22px;border-radius:12px;background:#263d49;color:#fff;border:1px solid #263d49}.home-net>span{display:block;font-size:15px;color:#e2edf2}.home-net>strong{display:block;font-size:36px;font-weight:650;letter-spacing:-1px;line-height:1.3;margin:8px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.home-net>small{display:block;color:#dbe7ed;font-size:13px;line-height:1.6}.home-net.negative{border-left:4px solid #e99c81}.home-month-totals{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px;margin:20px 0 10px}.home-month-totals>div{min-width:0}.home-month-totals span{display:block;font-size:14px;color:#596777}.home-month-totals b{display:block;margin-top:8px;color:#2d4554;font-size:22px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-weight:650;letter-spacing:-.4px}.home-month-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:53px;border-top:1px solid var(--line);width:100%;margin-top:20px;padding-top:8px;color:#415d70;font-size:15px;font-weight:650;text-align:left}.home-report-loading{display:flex;align-items:center;justify-content:center;gap:12px;color:#586a79;min-height:180px;font-size:15px}.home-report-error{color:#8d3024;font-size:15px;line-height:1.7}.home-report-error button{margin-top:15px}.home-births>.section-top>svg{color:#60778b}.home-birth-row{display:flex;align-items:center;gap:13px;width:100%;min-height:83px;text-align:left;border-top:1px solid var(--line);padding:16px 0}.home-birth-calendar{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#eff3f6;color:#4f6a7e}.home-birth-row>span:nth-child(2){flex:1;min-width:0}.home-birth-row b{display:block;font-size:16px;overflow-wrap:anywhere}.home-birth-row small{display:block;font-size:13px;margin-top:6px;color:#586a79;line-height:1.5}.home-birth-time{font-size:12px;font-weight:650;color:#355a47;background:#edf4ef;border-radius:7px;padding:7px 8px;line-height:1.4;text-align:center;max-width:100px}.home-birth-time.past{background:#fff1dc;color:#7a511c}.home-no-births p{font-size:15px;color:#596777;line-height:1.7}.home-welcome{padding:23px;border:1px solid #e5ccb9;background:#fff9f4;border-radius:14px;margin-bottom:20px;display:flex;align-items:center;gap:20px;justify-content:space-between}.home-welcome h2{font-size:20px}.home-welcome p{font-size:15px;color:#5e6874;line-height:1.7;margin-top:8px;max-width:520px}.home-welcome .primary{flex-shrink:0}@media(min-width:1100px){.home-dashboard{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);column-gap:24px;row-gap:16px;align-items:start}.home-heading,.home-welcome{grid-column:1/-1}.home-stock-grid{grid-column:1;grid-row:span 1;margin-bottom:0}.home-due{grid-column:1;margin-bottom:0}.home-month{grid-column:2;grid-row:2/4;margin-bottom:0;align-self:stretch}.home-births{grid-column:1/-1;margin-top:24px}.home-welcome~.home-month{grid-row:3/5}}@media(max-width:720px){.home-stock-grid{gap:12px;margin-bottom:13px}.home-stock{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:18px 15px;min-height:155px}.home-stock-icon{width:37px;height:37px;border-radius:10px}.home-stock-icon svg{width:22px;height:22px}.home-stock strong{font-size:34px}.home-stock>span:not(.home-stock-icon){font-size:14px;padding-right:0}.home-stock>svg{top:17px;right:13px}.home-due{padding:18px 17px;gap:13px;margin-bottom:14px}.home-due strong{font-size:26px}.home-due-icon{width:42px;height:42px}.home-net{padding:20px 17px}.home-net>strong{font-size:clamp(27px,8vw,35px)}.home-month-totals b{font-size:clamp(18px,5.2vw,22px)}.home-birth-row{gap:10px}.home-birth-time{max-width:76px;font-size:11px}.home-birth-row small{font-size:12px}.home-welcome{display:block;padding:20px}.home-welcome .primary{margin-top:16px;width:100%}.home-heading h1{font-size:35px;max-width:340px}}@media(max-width:360px){.home-stock{padding:16px 12px}.home-stock>span:not(.home-stock-icon){font-size:13px}.home-due strong{font-size:23px}.home-birth-calendar{display:none}.home-net>strong{font-size:28px}}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.date-control{width:100%;min-width:0}.date-control>input[type=hidden]{display:none!important}.date-trigger{width:100%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:56px;padding:12px;border:1px solid #bcc6d1;border-radius:9px;background:#fff;color:#263543;text-align:left;font-size:17px;font-variant-numeric:tabular-nums;box-shadow:inset 0 1px 2px #17243503}.date-trigger>span{min-width:0}.date-trigger>svg{color:#536b7b}.date-trigger:hover:not(:disabled){border-color:#8d9cac;background:#fafcfd}.date-trigger[aria-expanded=true]{border-color:var(--brand);outline:2px solid #b64b1426;outline-offset:2px}.range-fields .date-trigger{min-height:52px;padding:11px 10px;font-size:16px}.calendar-dialog{max-width:415px}.calendar-dialog .dialog-content{padding:22px}.calendar-dialog .dialog-head{top:-22px;margin-bottom:8px;padding:4px 0 14px}.calendar-dialog .dialog-head h2{font-family:inherit;font-size:23px;font-weight:650;letter-spacing:-.5px;margin:0}.calendar-selection{font-size:14px;color:#596c7b;line-height:1.6;margin-bottom:14px}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:53px;margin:8px 0 12px}.calendar-toolbar>div{display:flex;gap:2px;align-items:center;justify-content:center;min-width:0}.calendar-toolbar>div>button{min-height:44px;padding:8px 7px;color:#2f4756;border-radius:8px;font-weight:650;font-size:16px}.calendar-toolbar>div>button:hover{background:#eff3f6}.calendar-toolbar h3{font-size:16px;color:#3b5264;text-align:center}.calendar-toolbar>div>button{display:flex;align-items:center;gap:4px}.calendar-arrow{display:grid;place-items:center;border:1px solid #dde4eb;background:#f4f6f8;border-radius:10px;min-width:44px;min-height:44px;color:#3d586d}.calendar-arrow:disabled{opacity:.3;cursor:not-allowed}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;color:#596c7a;font-size:12px;font-weight:650;margin:13px 0 6px}.calendar-grid{width:100%}.calendar-grid>[role=row]{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:3px 0}.calendar-grid button{display:grid;place-items:center;min-width:0;min-height:44px;border-radius:10px;background:#fff;color:#293f4f;font-size:16px;font-weight:500;border:1px solid transparent;font-variant-numeric:tabular-nums}.calendar-grid button:hover:not(:disabled){background:#f3f5f7;border-color:#dce2e8}.calendar-grid button.outside{color:#60717f}.calendar-grid button:disabled{color:#b1bac4;opacity:1;cursor:not-allowed;background:#fafbfc}.calendar-grid button.is-today{box-shadow:inset 0 0 0 1px #8f9fab;font-weight:750}.calendar-grid button.chosen,.calendar-grid button.chosen:hover{background:#b64b14;color:#fff;border-color:#a54412;box-shadow:0 3px 8px #a6471525;font-weight:750}.calendar-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e4e9ef;margin-top:18px;padding-top:15px}.calendar-footer .secondary{min-height:45px;font-size:15px;padding:10px 15px}.calendar-footer>span{color:#60717f;font-size:12px;line-height:1.5;text-align:right;max-width:140px}.calendar-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:55px;margin:6px 0 13px}.calendar-subhead h3{font-size:16px}.calendar-subhead>button{font-size:14px;font-weight:650;min-height:44px;padding:10px;color:#9c3e11}.calendar-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;min-height:250px}.calendar-options button{min-height:54px;padding:8px 3px;border:1px solid #dce3e9;background:#f7f9fb;border-radius:10px;color:#3d5365;font-size:14px}.calendar-options button.selected{border-color:#c47040;background:#fff2e8;color:#993c0e;font-weight:750}.calendar-options button:disabled{opacity:.35;cursor:not-allowed}.system-loading{display:flex;flex-direction:column;align-items:center;text-align:center;padding:36px 22px;border:1px solid #e0e6ec;border-radius:16px;background:#fff;min-height:330px;max-width:680px;margin:14px auto 24px;box-shadow:0 3px 15px #20344605;color:#2d4351}.loading-emblem{position:relative;display:grid;place-items:center;width:78px;height:78px;margin:0 0 20px}.loading-emblem>span{position:absolute;inset:0;border:3px solid #f0e3d9;border-top-color:#b64b14;border-right-color:#d68c61;border-radius:50%;animation:loading-orbit 1.6s linear infinite}.loading-emblem img{width:50px;height:50px;border-radius:15px;box-shadow:0 4px 12px #a4421722}.loading-copy{max-width:390px}.loading-brand{display:block;font-size:9px;letter-spacing:2px;color:#8b512e;font-weight:750;margin-bottom:10px}.loading-copy h2{font-size:21px;line-height:1.4;font-weight:650;letter-spacing:-.45px}.loading-copy p{font-size:14px;line-height:1.7;color:#596c7b;margin-top:9px}.loading-track{display:block;width:120px;height:4px;background:#edf0f3;border-radius:5px;overflow:hidden;margin:24px 0 0}.loading-track>i{display:block;width:40%;height:100%;background:#bf602c;border-radius:5px;animation:loading-travel 1.6s ease-in-out infinite}.loading-placeholders{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:min(100%,390px);margin-top:26px}.loading-placeholders>span{display:block;height:12px;border-radius:8px;background:linear-gradient(100deg,#f1f4f6 25%,#e7ecf0,#f1f4f6 75%);background-size:200% 100%;animation:loading-sheen 2s ease-in-out infinite}.loading-placeholders>span:first-child{grid-column:1/-1;width:70%;justify-self:center}.system-loading.compact{min-height:195px;padding:22px 14px;margin:8px 0;border:0;background:#f8fafb;box-shadow:none}.system-loading.compact .loading-emblem{width:61px;height:61px;margin-bottom:15px}.system-loading.compact .loading-emblem img{width:40px;height:40px;border-radius:12px}.system-loading.compact .loading-copy h2{font-size:18px}.system-loading.compact .loading-copy p{font-size:13px}.system-loading.compact .loading-brand{font-size:8px;margin-bottom:7px}.system-loading.compact .loading-track{margin-top:18px}.system-loading.full-screen{min-height:100dvh;border:0;border-radius:0;max-width:none;margin:0;justify-content:center;background:#f4f5f7;box-shadow:none}.operation-dialog{border:1px solid #fff;border-radius:19px;padding:10px;background:#fffffff5;color:#293f4f;width:calc(100% - 40px);max-width:380px;box-shadow:0 18px 80px #122f4340;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.operation-dialog::backdrop{background:#152c3c66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.operation-dialog .system-loading.compact{margin:0;background:transparent;min-height:250px;padding:22px 18px}.operation-dialog:focus{outline:none}.busy-dots{display:inline-flex;gap:3px;align-items:center;height:20px;flex-shrink:0}.busy-dots>i{display:block;width:4px;height:4px;background:currentColor;border-radius:50%;animation:busy-bounce 1.05s ease-in-out infinite}.busy-dots>i:nth-child(2){animation-delay:.15s}.busy-dots>i:nth-child(3){animation-delay:.3s}.system-notice{position:fixed;bottom:28px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:13px;width:max-content;max-width:calc(100% - 28px);padding:15px 14px;border:1px solid #d5e3da;background:#fffffff5;color:#2c4d3c;box-shadow:0 7px 28px #15312824;border-radius:13px;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);z-index:30}.notice-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eaf2ed;flex-shrink:0}.system-notice>span:nth-child(2){min-width:0}.system-notice b{display:block;font-size:14px;line-height:1.5}.system-notice>span:nth-child(2)>span{display:block;font-size:13px;line-height:1.5;color:#536b5d}.system-notice>button{display:grid;place-items:center;min-width:36px;min-height:40px;color:#64766b;border-radius:8px}.system-notice.error{border-color:#e5cac4;color:#853d30}.system-notice.error .notice-icon{background:#fcf0ed}.system-notice.error>span:nth-child(2)>span{color:#775449}.module-content{animation:module-enter .16s ease-out}@keyframes loading-orbit{to{transform:rotate(360deg)}}@keyframes loading-travel{0%{transform:translate(-110%)}to{transform:translate(360%)}}@keyframes loading-sheen{0%{background-position:180% 0}to{background-position:-20% 0}}@keyframes busy-bounce{0%,60%,to{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@keyframes module-enter{0%{opacity:.75;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@media(max-width:720px){.calendar-dialog{width:calc(100% - 12px);margin:auto auto 8px;max-height:96dvh}.calendar-dialog .dialog-content{padding:18px 16px 21px}.calendar-dialog .dialog-head{top:-18px}.calendar-grid>[role=row]{gap:2px}.calendar-selection{font-size:14px}.system-loading{padding:30px 18px;min-height:325px;margin-top:10px}.loading-copy h2{font-size:21px}.system-notice{bottom:calc(97px + env(safe-area-inset-bottom))}.range-fields .date-trigger{font-size:16px;gap:6px;padding:11px 9px}.date-trigger>svg{width:18px;height:18px}}@media(max-width:360px){.calendar-dialog .dialog-content{padding-left:10px;padding-right:10px}.calendar-toolbar>div>button{font-size:15px;padding:8px 5px}.calendar-grid button{font-size:15px;min-height:43px}.range-fields .date-trigger{font-size:14px;padding:11px 7px}.range-fields .date-trigger svg{width:16px;height:16px}.loading-copy h2{font-size:19px}.operation-dialog{width:calc(100% - 24px)}}@media(prefers-reduced-motion:reduce){.loading-emblem>span,.loading-track>i,.loading-placeholders>span,.busy-dots>i,.module-content{animation:none!important}.loading-track>i{width:60%}.loading-emblem>span{border-style:dashed}}@media(prefers-reduced-transparency:reduce){.operation-dialog,.system-notice{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}}
