:root{--green:#163f34;--green-dark:#0d3027;--mint:#e8f3ed;--accent:#cddd9a;--ink:#243c32;--muted:#6f7c74;--line:#e5eae4;--paper:#f6f7f3;--white:#fff;--amber:#98641f;--rose:#aa5050;--radius:16px;font-family:'Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #7ba893;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #7ba893;outline-offset:1px;border-color:#7ba893}input,select,textarea{width:100%;min-height:46px;border:1px solid #dce4dc;border-radius:9px;padding:11px 13px;background:#fff;color:var(--ink)}input::placeholder,textarea::placeholder{color:#89928b}input[type=file]{padding:15px;background:#f8faf7;border-style:dashed}input[type=file]::file-selector-button{border:0;padding:8px 12px;background:var(--mint);color:var(--green);border-radius:6px;margin-right:10px;cursor:pointer}label{display:block;font-size:13px;font-weight:600;margin:17px 0 7px}textarea{resize:vertical}select{cursor:pointer}h1,h2,h3,p{margin:0}h1{font-size:29px;font-weight:650;letter-spacing:-.9px;line-height:1.3}h2{font-size:18px;font-weight:650;letter-spacing:-.35px;line-height:1.4}h3{font-size:20px;letter-spacing:-.4px}p+p{margin-top:12px}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{display:inline-block;font-size:10px;font-weight:700;letter-spacing:1.9px;color:#7b8875;margin-bottom:9px}.eyebrow.light{color:#c7d6b5}.icon{width:19px;height:19px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.tiny{width:14px;height:14px}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.skip-link{position:fixed;top:-80px;left:10px;z-index:200;background:#fff;padding:12px}.skip-link:focus{top:10px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 16px;border:1px solid transparent;border-radius:9px;font-size:12px;font-weight:600;text-decoration:none;line-height:1.45;transition:background .15s,transform .15s;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.primary{background:var(--green);color:#fff}.primary:hover{background:#215943}.secondary{background:#fff;border-color:var(--line);color:#46574b}.secondary:hover{background:#f4f7f2}.ghost{background:transparent}.danger{background:#ae4444;color:#fff}.wide{width:100%}.icon-button{width:42px;padding:10px}.text-button{border:0;background:transparent;color:var(--green);padding:12px 0;font-size:12px;font-weight:600}.text-button span{margin-left:8px}.button-row{display:flex;gap:8px;flex-wrap:wrap}.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-size:26px;font-weight:650;line-height:1.1;letter-spacing:-.6px}.brand-icon{display:grid;place-items:center;width:44px;height:44px;background:#ffffff0c;border:1px solid #ffffff25;border-radius:12px;color:var(--accent)}.brand-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}.brand-caption{display:block;margin-top:9px;color:#c1cfc2;font-size:8px;letter-spacing:2px;font-weight:500}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:var(--green);color:#c2d0c7;padding:31px 19px;display:flex;flex-direction:column;z-index:30}.sidebar .brand{padding-left:10px}.season{display:flex;align-items:center;gap:9px;font-size:10px;border:1px solid #ffffff16;border-radius:7px;margin:30px 10px 35px;padding:9px 12px;color:#d5e0cf}.season-dot,.hero-tag span{width:5px;height:5px;background:var(--accent);border-radius:50%}.season-separator{color:#668675;margin:0 3px}.nav-label{font-size:9px;letter-spacing:1.8px;color:#94ae9c;padding:0 14px;margin-bottom:14px}.main-nav{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:13px;padding:13px 14px;min-height:46px;background:none;border:0;border-radius:9px;color:inherit;text-align:left;font-size:12px;font-weight:500;width:100%}.nav-item:hover{background:#ffffff09;color:#fff}.nav-item.active{background:#f0f6e5;color:var(--green);font-weight:650}.nav-count{margin-left:auto;background:#dce7d0;border-radius:5px;padding:1px 6px;font-size:10px}.sidebar-bottom{margin-top:auto}.sidebar-message{margin:30px 10px 24px;border-top:1px solid #ffffff16;padding-top:22px}.sidebar-message .icon{color:#b2c789;width:25px;height:25px;margin-bottom:12px}.sidebar-message p{font-size:12px;line-height:1.9;color:#b6c7bb}.sidebar-message strong{font-weight:500;color:#e0e8d5}.sidebar-version{display:block;font-size:9px;color:#90a796;padding:18px 14px 0}.app-shell{margin-left:232px}.topbar{height:78px;padding:0 38px;border-bottom:1px solid var(--line);background:#ffffffb8;display:flex;justify-content:space-between;align-items:center}.breadcrumb{font-size:11px;color:#859184}.breadcrumb span{margin:0 12px;color:#b8c1b6}.breadcrumb strong{font-weight:550;color:#52614f}.topbar-right{display:flex;align-items:center;gap:12px}.connection{display:flex;align-items:center;gap:6px;margin-right:14px;font-size:10px;color:#6c7b6a}.connection i{width:6px;height:6px;background:#609876;border-radius:50%}.connection.disconnected{color:#a56832}.connection.disconnected i{background:#c18749}.user-avatar{display:grid;place-items:center;width:34px;height:34px;background:#edf2e7;border:1px solid #e2e9da;border-radius:50%;font-size:12px;font-weight:600}.user-name{font-size:11px;font-weight:600;line-height:1.7}.user-name small{display:block;font-size:9px;font-weight:400;color:#84907f}.main-content{max-width:1560px;margin:auto;padding:32px 38px 20px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading .muted{font-size:12px;margin-top:8px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:7px}.heading-actions{display:flex;align-items:center;gap:10px}.date-chip{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;font-size:10px;padding:11px;background:#fff;white-space:nowrap}.date-chip .icon{width:15px;height:15px}.hero{position:relative;overflow:hidden;border-radius:var(--radius);background:var(--green);color:#fff;min-height:250px;padding:26px 33px;display:flex;justify-content:space-between}.hero-tag{display:inline-flex;gap:8px;align-items:center;font-size:8px;letter-spacing:1.4px;border:1px solid #ffffff21;border-radius:20px;padding:5px 10px;color:#d6e2c5}.hero h2{font-family:Georgia,serif;font-size:37px;font-weight:400;letter-spacing:-1.1px;line-height:1.13;margin-top:14px}.hero h2 em{font-style:normal;color:#d7e5af}.hero p{font-size:11px;line-height:1.8;color:#c0d0c2;margin-top:12px}.hero-button{margin-top:18px;background:#e3edc9;color:var(--green);font-size:10px;min-height:36px;padding:8px 13px}.hero-button:hover{background:#eff5df}.hero-art{position:relative;width:260px;flex-shrink:0;display:flex;justify-content:center;align-items:center;isolation:isolate}.hero-art svg{width:218px;height:198px;fill:none;stroke:#cadfa6;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;opacity:.78}.hero-art span{position:absolute;bottom:2px;color:#c6d6b2;font-size:10px;letter-spacing:3px}.hero-arch{position:absolute;width:226px;height:280px;border:1px solid #ffffff17;border-radius:130px 130px 0 0;bottom:-50px;z-index:-1;background:linear-gradient(140deg,#ffffff0a,transparent)}.hero:after{content:'';position:absolute;width:370px;height:370px;border:1px solid #ffffff0a;border-radius:50%;right:-160px;top:-250px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:19px 0}.stat-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 19px}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#72806f}.stat-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;flex-shrink:0}.green{background:#edf2e7;color:#55754b}.mint{background:#e9f4ed;color:#4d8869}.amber{background:#fbf1de;color:#b0813d}.rose{background:#f8eded;color:#b77474}.stat-card>strong{display:block;font-size:30px;font-weight:650;letter-spacing:-1px;margin:3px 0 2px}.stat-note{font-size:10px;color:#879082}.stat-note b{font-weight:500;color:#567648}.stat-link{background:none;border:0;padding:0;font-size:10px;color:#9a6565;text-align:left}.stat-link span{margin-left:5px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:23px}.dashboard-secondary{display:grid;grid-template-columns:1.4fr 1fr;gap:17px;margin-bottom:24px}.section-heading{display:flex;gap:13px;align-items:center}.section-icon{display:inline-grid;place-items:center;width:37px;height:37px;border-radius:10px;background:#eff4e9;color:#5d7950;flex-shrink:0}.section-heading h2{font-size:14px}.section-heading p{margin-top:3px;font-size:10px}.quick-form{display:flex;gap:9px;margin:19px 0 10px}.quick-form input{min-width:0;font-size:12px;min-height:42px}.quick-form .btn{min-width:85px}.quick-panel>p{font-size:9px}.quick-panel>p .icon{margin-right:4px}.progress-panel{display:flex;align-items:center}.progress-panel>div{width:100%}.progress-panel .eyebrow{font-size:8px;margin-bottom:8px}.progress-panel h2{font-size:16px}.progress-panel p{font-size:10px;margin:6px 0 16px}progress{width:100%;height:7px;border:0;border-radius:10px;overflow:hidden;display:block;background:#edf0e8;appearance:none}progress::-webkit-progress-bar{background:#edf0e8;border-radius:10px}progress::-webkit-progress-value{background:#6c9469;border-radius:10px}progress::-moz-progress-bar{background:#6c9469;border-radius:10px}.progress-legend{display:flex;justify-content:space-between;margin-top:9px;font-size:9px;color:#7c8876}.progress-legend i{display:inline-block;width:5px;height:5px;background:#6c9469;border-radius:50%;margin-right:4px}.progress-legend strong{font-size:10px;font-weight:600;color:#5e7d51}.records-panel{padding:0;overflow:hidden}.records-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:19px}.records-panel .records-heading{padding:23px 23px 17px}.records-heading h2{font-size:16px}.records-heading p{font-size:10px;margin-top:4px}.count-pill{display:inline-block;font-size:10px;vertical-align:middle;margin-left:7px;background:#eff3e9;color:#617654;padding:2px 7px;border-radius:5px;font-weight:500}.records-heading .btn{font-size:10px;min-height:36px;padding:8px 11px}.records-heading .icon{width:15px;height:15px}.filters{display:flex;gap:10px;padding:0 23px 19px}.search-field{position:relative;flex:1}.search-field>.icon{position:absolute;left:12px;top:12px;color:#9aa391;width:16px;height:16px}.search-field input{padding-left:37px;font-size:11px;min-height:41px}.filters select{width:180px;min-height:41px;font-size:10px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}th{background:#f7f9f4;font-size:9px;font-weight:600;color:#8a9383;padding:12px 23px;letter-spacing:.3px;white-space:nowrap}td{padding:13px 23px;border-bottom:1px solid #edf0e9;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdf9}.record-code{font-size:10px;font-weight:600;color:#617453;font-variant-numeric:tabular-nums}.record-code small{display:block;font-size:8px;font-weight:400;color:#97a18f;margin-top:3px}.recipient-name{display:flex;gap:10px;align-items:center;min-width:130px}.name-avatar{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:#f1f4eb;color:#81936c;font-size:9px;flex-shrink:0}.recipient-name strong{font-weight:550;font-size:11px;display:block}.recipient-name small{display:block;font-size:9px;color:#96a08e;margin-top:1px}.address-cell{color:#75816e;font-size:10px}.address-cell small{display:block;color:#9aa291;font-size:9px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:4px 9px;font-size:9px;font-weight:500;white-space:nowrap}.badge:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.badge.pending{color:#b18745;background:#fbf4e6}.badge.done{color:#508063;background:#ecf5ed}.badge.review{color:#af6565;background:#faefec}.badge.directory{color:#7e8793;background:#f0f2f5}.row-action{background:none;border:1px solid #e5ebdf;border-radius:6px;min-height:32px;padding:6px 10px;color:#6d7d61;font-size:9px;white-space:nowrap}.row-action:hover{background:#edf3e5}.pagination{display:flex;align-items:center;justify-content:space-between;padding:14px 23px;border-top:1px solid var(--line)}.pagination .small{font-size:9px}.pagination-buttons{display:flex;align-items:center;gap:9px}.pagination-buttons .btn{min-height:30px;width:31px;padding:6px}.pagination-buttons>span{font-size:9px;min-width:25px;text-align:center}.category-tabs{display:flex;gap:20px;overflow-x:auto;padding:0 23px;margin-bottom:18px;border-bottom:1px solid var(--line)}.tab{padding:10px 0;background:none;border:0;border-bottom:2px solid transparent;color:#8c9783;font-size:11px;white-space:nowrap}.tab.active{color:var(--green);border-bottom-color:var(--green);font-weight:600}.tab span{display:inline-block;font-size:9px;background:#f1f4eb;padding:0 5px;border-radius:4px;margin-left:5px}.empty-state{text-align:center;padding:40px;color:#909a88}.view:not(#dashboard-view){display:grid;gap:22px}.report-top{display:grid;grid-template-columns:1fr 1.3fr;gap:20px}.report-summary h2{font-size:40px;letter-spacing:-1px;margin:8px 0 20px}.report-summary h2 small{font-size:22px;color:#8d9b82;font-weight:400}.report-summary p{margin-top:14px;font-size:12px}.report-top>.panel>p{font-size:12px;margin:14px 0}.category-summary{display:flex;gap:22px;margin-top:20px}.category-summary strong{display:block;font-size:24px}.category-summary span{display:block;font-size:10px;color:#849079}.block-progress{min-width:90px;display:flex;align-items:center;gap:9px}.block-progress span{min-width:28px;font-size:9px}.activity-row{display:flex;align-items:flex-start;gap:12px;padding:14px 0;border-top:1px solid var(--line)}.activity-row .stat-icon{width:30px;height:30px}.activity-row p{font-size:11px}.activity-row small{color:#8f9886;font-size:10px}.activity-row time{margin-left:auto;font-size:9px;color:#909b88;white-space:nowrap}.manage-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.manage-grid .panel>.section-icon{margin-bottom:15px}.manage-grid .panel>p{font-size:12px;margin:10px 0 20px}.manage-grid .btn[type=submit]{margin-top:12px}.notice{display:flex;gap:10px;background:#f0f5eb;border:1px solid #e3ecdc;border-radius:10px;padding:14px;color:#6e7f5f;font-size:11px;margin-top:20px;align-items:flex-start}.notice .icon{width:16px;height:16px;margin-top:2px}.amber-notice{background:#fbf7ed;border-color:#f0e9d9;color:#a28759;margin:0 0 20px}.error{background:#fff1ef;border-color:#f4d8d4;color:#a6544b}.sheet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sheet-item{border:1px solid var(--line);border-radius:8px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.sheet-item strong{display:block;font-size:11px}.sheet-item small{font-size:9px;color:#98a18e}.sheet-item>span{font-size:19px;color:#70845a}.import-preview{background:#f5f8ef;border:1px solid #dae7cb;border-radius:10px;padding:15px;margin-top:18px}.import-preview h3{font-size:15px}.import-preview p{font-size:11px;margin:10px 0}.preview-sheets{max-height:200px;overflow:auto;font-size:11px;padding:0 0 10px}.preview-sheets>div{display:flex;justify-content:space-between;gap:15px;padding:5px 0;border-bottom:1px solid var(--line)}.app-footer{display:flex;justify-content:space-between;gap:15px;margin-top:28px;font-size:9px;color:#9aa28f}.app-footer>span>span{margin:0 7px}.offline-banner{background:#fff5de;border:1px solid #ead8b0;padding:12px;border-radius:8px;font-size:12px;margin-bottom:18px;color:#916d27}.dialog{width:min(580px,calc(100% - 32px));border:1px solid #e2e8db;border-radius:19px;padding:25px;max-height:calc(100dvh - 40px);color:var(--ink);box-shadow:0 25px 90px #102e2a25;overscroll-behavior:contain}.dialog::backdrop{background:#153d3277;backdrop-filter:blur(4px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:12px}.dialog-header .eyebrow{margin:0}.dialog-header .icon-button{width:32px;min-height:32px;padding:6px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.checkbox-label{display:flex;align-items:center;gap:9px;font-weight:400;margin-top:20px}.checkbox-label input{width:17px;min-height:17px;accent-color:var(--green)}.form-error{background:#fff0ed;border-radius:8px;padding:11px 13px;margin-top:12px;font-size:12px;color:#a95648}.compact-dialog{max-width:450px}.confirm-symbol,.auth-symbol{display:grid;place-items:center;width:52px;height:52px;background:#edf3e4;color:#648543;border-radius:14px;margin-bottom:20px}.confirm-symbol .icon{width:27px;height:27px}.confirm-recipient{padding:18px;background:#f5f8f0;border-radius:11px;margin-top:20px}.confirm-recipient strong{display:block;font-size:17px}.confirm-recipient small{display:block;font-size:12px;color:#7b8b6b;margin-top:5px}.detail-profile{display:flex;gap:15px;align-items:center;margin-bottom:24px}.detail-profile .name-avatar{width:55px;height:55px;font-size:17px;border-radius:14px}.detail-profile h2{font-size:23px;margin-bottom:6px;overflow-wrap:anywhere}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.detail-grid dt{font-size:11px;color:#929c86;margin-bottom:5px}.detail-grid dd{margin:0;font-size:13px;overflow-wrap:anywhere}.detail-source{font-size:10px;padding-top:17px;border-top:1px solid var(--line);color:#929c86}.detail-note{font-size:12px;border-radius:8px;background:#f5f8f0;padding:14px;margin-bottom:20px;white-space:pre-wrap;overflow-wrap:anywhere}.install-intro{display:flex;gap:25px;align-items:center;padding:25px 0 15px}.app-icon{display:grid;place-items:center;width:100px;height:100px;border-radius:24px;background:var(--green);color:#d7e5af;flex-shrink:0}.app-icon svg{width:58px;height:58px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}.install-intro h2{font-family:Georgia,serif;font-size:31px;font-weight:400;line-height:1.2}.install-intro p{max-width:500px;font-size:12px;margin-top:12px}.install-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:15px}.platform-tag{font-size:9px;letter-spacing:1.5px;color:#829171;display:block;margin-bottom:19px}.platform-icon{width:30px;height:30px;color:#6f8b52;margin-bottom:14px}.install-card p{font-size:12px;margin:10px 0 20px}.install-card ol{padding-left:20px;color:#7b8970;font-size:12px;margin:20px 0 0}.install-card li{padding-left:3px;margin:10px 0}.install-card b{font-weight:600;color:#536948}.ios-guide{background:#f0f4e9;border:1px solid #e4eadb;padding:12px;border-radius:9px;font-size:11px;color:#6c8057;text-align:center;min-height:42px}.ios-guide .icon{width:15px;height:15px;margin-right:6px}.install-dialog{width:min(820px,calc(100% - 32px))}.install-dialog .install-intro{padding-top:0}.install-dialog .app-icon{width:75px;height:75px;border-radius:20px}.install-dialog .app-icon svg{width:45px;height:45px}.install-dialog .install-intro h2{font-size:26px}.install-dialog .install-card{padding:19px}.install-notice{margin-bottom:15px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:calc(100% - 35px);width:max-content;padding:13px 22px;background:#173f34;color:#fff;box-shadow:0 5px 25px #14372d30;border-radius:10px;font-size:12px;z-index:150}.toast.toast-error{background:#99534b}.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh}.auth-story{background:var(--green);color:#fff;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:47px 56px}.auth-story .brand{font-size:28px}.story-copy{position:relative;z-index:1;padding:55px 0}.story-copy h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(34px,3.8vw,57px);line-height:1.13;letter-spacing:-1.6px;margin-top:18px}.story-copy em{font-style:normal;color:#d7e5af}.story-copy p{font-size:14px;color:#bdcfbc;max-width:310px;line-height:1.8;margin-top:25px}.story-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid #ffffff23;border-radius:20px;font-size:10px;padding:7px 12px;margin-top:35px;color:#cfdfc5}.story-pill .icon{width:15px;height:15px}.story-bottom{display:flex;justify-content:space-between;font-size:9px;color:#93b09a;position:relative;z-index:1;gap:20px}.arch-art{position:absolute;bottom:-230px;right:-160px;width:480px;height:630px;transform:rotate(-18deg);pointer-events:none}.arch-art div{position:absolute;border:1px solid #ffffff14;border-radius:50% 50% 0 0;width:100%;height:100%;background:linear-gradient(#ffffff03,transparent)}.arch-art div:nth-child(2){inset:50px;width:calc(100% - 100px);height:calc(100% - 50px)}.arch-art div:nth-child(3){inset:100px;width:calc(100% - 200px);height:calc(100% - 100px)}.auth-panel{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:50px 40px;position:relative}.auth-card{width:100%;max-width:355px}.auth-card h2{font-size:29px;font-weight:600;letter-spacing:-.9px;line-height:1.25;margin:4px 0 15px}.auth-card>.muted{font-size:13px;line-height:1.8;margin-bottom:26px}.auth-card form>.btn{margin-top:22px;min-height:48px}.password-field{display:flex;position:relative}.password-field input{padding-right:60px}.password-field button{border:0;background:transparent;color:#7b8c6a;font-size:10px;position:absolute;right:4px;top:4px;bottom:4px;width:48px}.auth-note{font-size:10px;color:#939d88;margin:20px 0 25px;display:flex;align-items:center;justify-content:center;gap:6px}.auth-note .icon{width:13px;height:13px}.auth-card>.text-button{display:block;text-align:center;width:100%;border-top:1px solid var(--line);padding-top:23px;font-size:11px}.auth-footer{font-size:10px;color:#a7af9c;position:absolute;bottom:30px}.print-area{display:none}
@media(min-width:1650px){.hero{min-height:290px;padding:32px 40px}.hero h2{font-size:45px}.hero-art{width:330px}.hero-art svg{width:270px;height:230px}.hero-arch{height:325px;width:290px}.stat-card{padding:23px}.stat-top{font-size:13px}.stat-note,.stat-link{font-size:12px}.stat-card>strong{font-size:36px}table{font-size:13px}th{font-size:11px}.recipient-name strong{font-size:13px}.address-cell{font-size:12px}.row-action,.badge{font-size:11px}}
@media(max-width:1200px){.sidebar{width:205px;padding-left:12px;padding-right:12px}.app-shell{margin-left:205px}.topbar{padding:0 24px}.main-content{padding:26px 24px 20px}.stat-card{padding:15px}.stat-top{font-size:10px}.stat-icon{width:29px;height:29px}.stat-note{font-size:9px}.date-chip{display:none}.filters select{width:150px}th,td{padding-left:17px;padding-right:17px}.hero-art{width:220px}.dashboard-secondary{grid-template-columns:1.3fr 1fr}.quick-panel,.progress-panel{padding:18px}.sheet-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:960px){.sidebar{width:185px}.app-shell{margin-left:185px}.sidebar .brand{font-size:24px;padding-left:5px;gap:9px}.sidebar .brand-icon{width:37px;height:37px}.brand-caption{font-size:7px;letter-spacing:1.4px}.nav-item{font-size:11px;padding:12px 9px;gap:10px}.nav-count{font-size:8px;padding:1px 4px}.season{margin-left:4px;margin-right:4px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-top{font-size:12px}.stat-note{font-size:10px}.dashboard-secondary{grid-template-columns:1fr}.hero-art{width:180px}.hero-art svg{width:165px}.hero-arch{width:180px}.hero{padding:25px}.hero h2{font-size:33px}.records-heading{align-items:flex-start;flex-direction:column}.filters{flex-wrap:wrap}.search-field{flex-basis:100%}.filters select{flex:1;width:100%;min-width:0}.page-heading h1{font-size:26px}.report-top,.manage-grid{grid-template-columns:1fr}.sheet-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.auth-story{padding:40px 32px}.auth-panel{padding:40px 30px}.story-bottom{flex-direction:column;gap:6px}}
@media(max-width:700px){body{font-size:14px}.sidebar{position:relative;width:100%;height:68px;padding:13px 18px;flex-direction:row;align-items:center}.sidebar .brand{font-size:23px;gap:9px;padding:0}.sidebar .brand-icon{width:36px;height:36px}.sidebar .brand-icon svg{width:24px;height:24px}.sidebar .brand-caption{font-size:7px;margin-top:5px;letter-spacing:1.5px}.sidebar .season,.nav-label,.sidebar-bottom{display:none}.main-nav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:7px 4px max(7px,env(safe-area-inset-bottom));box-shadow:0 -3px 20px #224d3610;z-index:40}.nav-item{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:7px 2px;font-size:8px;border-radius:7px;line-height:1.2;text-align:center;min-height:49px}.nav-item .icon{width:19px;height:19px}.nav-item.active{background:#f1f5e9;color:#315637}.nav-count{display:none}.app-shell{margin-left:0}.topbar{height:49px;padding:0 18px}.breadcrumb{font-size:10px}.breadcrumb span{margin:0 8px}.topbar-right{gap:7px}.user-name{display:none}.connection{font-size:9px;margin-right:4px}.user-avatar{width:26px;height:26px;font-size:9px}.main-content{padding:23px 16px 96px}.page-heading{gap:10px;align-items:flex-start;margin-bottom:21px}.page-heading h1{font-size:26px;letter-spacing:-.8px}.page-heading .eyebrow{font-size:7px;letter-spacing:1.2px;max-width:250px}.page-heading .muted{font-size:11px;max-width:270px}.heading-actions .icon-button{width:35px;min-height:35px;padding:8px}.hero{min-height:258px;padding:23px;align-items:center;border-radius:14px}.hero h2{font-size:34px;max-width:250px}.hero p{font-size:10px}.hero-tag{font-size:7px;letter-spacing:1.1px}.hero-copy{position:relative;z-index:2}.hero-art{position:absolute;width:165px;right:-28px;bottom:-5px;height:248px;opacity:.28;z-index:1}.hero-art svg{width:180px;height:195px}.hero-art span{bottom:10px}.hero-arch{width:165px;bottom:-65px;height:280px}.hero-button{font-size:10px;min-height:39px}.stats-grid{gap:10px;margin:15px 0}.stat-card{padding:14px;border-radius:11px}.stat-top{font-size:10px;gap:5px}.stat-icon{width:28px;height:28px;border-radius:8px}.stat-icon .icon{width:15px;height:15px}.stat-card>strong{font-size:29px;margin-top:6px}.stat-note,.stat-link{font-size:8px}.dashboard-secondary{gap:13px;margin-bottom:20px}.panel{padding:19px;border-radius:13px}.section-heading h2{font-size:13px}.quick-form input{font-size:11px}.quick-panel>p{font-size:8px}.progress-panel{min-height:163px}.records-panel{padding:0}.records-panel .records-heading{padding:19px 17px 13px;gap:14px}.records-heading h2{font-size:15px}.records-heading p{font-size:10px}.records-heading .button-row{gap:7px;width:100%}.records-heading .btn{min-height:37px;font-size:10px;flex:1}.filters{padding:0 17px 16px;gap:8px}.filters select{font-size:10px;min-height:43px}.search-field input{font-size:12px;min-height:43px}.category-tabs{padding:0 17px;gap:17px}.tab{font-size:10px}.records-table thead{display:none}.records-table,.records-table tbody{display:block}.records-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'code status' 'name name' 'address action';padding:16px 17px;border-top:1px solid var(--line);gap:10px 12px}.records-table td{padding:0;border:0;display:block}.records-table .code-cell{grid-area:code}.records-table .name-cell{grid-area:name}.records-table .address-cell{grid-area:address;padding-left:41px;overflow-wrap:anywhere}.records-table .status-cell{grid-area:status;align-self:start}.records-table .action-cell{grid-area:action;align-self:end}.records-table td.empty-state{grid-column:1/-1;padding:20px}.recipient-name strong{font-size:12px}.recipient-name small{font-size:9px}.record-code{font-size:10px}.record-code small{display:inline;margin-left:5px;font-size:8px}.row-action{min-height:37px;font-size:10px}.badge{font-size:9px}.pagination{padding:14px 17px;gap:10px}.pagination-buttons{gap:5px}.pagination-buttons .btn{width:33px;min-height:33px}.pagination .small{font-size:9px;max-width:195px}.app-footer{font-size:8px;flex-direction:column;gap:6px;margin-top:20px}.sheet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-item{padding:10px}.sheet-item strong{font-size:10px}.sheet-item>span{font-size:17px}.report-top{gap:15px}.report-summary h2{font-size:35px}.report-top>.panel>p{font-size:12px}.view:not(#dashboard-view){gap:17px}.category-summary{gap:22px}.activity-row time{font-size:8px;white-space:normal;text-align:right;max-width:72px}.activity-row p{font-size:10px}.activity-row small{font-size:9px}.activity-row .stat-icon{width:25px;height:25px}.dialog{padding:20px;max-height:calc(100dvh - 28px);width:calc(100% - 24px);border-radius:15px}.dialog-header{margin-bottom:16px}.form-grid{gap:0 12px}.dialog-actions .btn{min-height:44px}.detail-profile h2{font-size:20px}.detail-grid{gap:17px}.detail-grid dd{font-size:12px}.install-grid{grid-template-columns:1fr;gap:14px}.install-intro{padding:5px 0 12px;gap:17px;align-items:flex-start}.app-icon{width:65px;height:65px;border-radius:17px}.app-icon svg{width:39px;height:39px}.install-intro h2{font-size:25px}.install-intro p{font-size:11px}.install-dialog .install-intro h2{font-size:23px}.install-dialog .app-icon{width:55px;height:55px;border-radius:15px}.install-dialog .app-icon svg{width:34px;height:34px}.toast{bottom:89px;font-size:11px;padding:12px 17px}.auth-layout{grid-template-columns:1fr}.auth-story{min-height:235px;padding:25px 26px}.auth-story .brand{font-size:24px}.auth-story .brand-icon{width:35px;height:35px}.auth-story .brand-caption{font-size:7px}.story-copy{padding:28px 0 0}.story-copy h1{font-size:33px;letter-spacing:-.7px;line-height:1.15;margin-top:7px}.story-copy h1 br:nth-of-type(2){display:none}.story-copy .eyebrow{font-size:8px;margin:0}.story-copy p,.story-pill,.story-bottom{display:none}.arch-art{bottom:-430px;right:-150px}.auth-panel{padding:32px 26px 68px;min-height:490px}.auth-symbol{width:40px;height:40px;border-radius:11px;margin-bottom:15px}.auth-card h2{font-size:25px}.auth-card>.muted{font-size:12px;margin-bottom:20px}.auth-card .eyebrow{font-size:8px}.auth-footer{bottom:18px;font-size:9px}.auth-note{font-size:9px;margin-bottom:18px}.auth-card>.text-button{padding-top:18px}}
@media(max-width:360px){.main-content{padding-left:12px;padding-right:12px}.stat-card{padding:12px 10px}.stat-top{font-size:9px}.stat-note{font-size:7px}.hero{padding:20px}.hero h2{font-size:31px}.form-grid{grid-template-columns:1fr}.records-heading .button-row{gap:5px}.btn{padding:9px 12px}.nav-item{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:#fff;font-size:11pt}body>*:not(#print-area){display:none!important}.print-area{display:block!important;color:#111;padding:15px}.print-area h1{font-size:20pt;margin-bottom:8px}.print-area p{font-size:10pt;margin-bottom:18px}.print-area table{font-size:9pt;width:100%}.print-area th{font-size:8pt;color:#111;background:#eee}.print-area th,.print-area td{padding:8px;border:1px solid #ddd}.print-area tr{break-inside:avoid}.print-area progress{display:none}@page{size:A4 landscape;margin:12mm}}.panel{min-width:0}.sheet-item strong{overflow-wrap:anywhere}.mobile-logout{display:none}
@media(max-width:700px){.mobile-logout{display:inline-flex;width:28px;min-height:28px;padding:5px}.mobile-logout .icon{width:16px;height:16px}}/* Keep operational text readable and prevent Safari's input-focus zoom. */
.breadcrumb{font-size:12px}.nav-item{font-size:13px}.user-name{font-size:12px}.connection{font-size:11px}.hero p{font-size:13px}.hero-button{font-size:12px}.stat-top{font-size:12px}.stat-note,.stat-link{font-size:11px}.section-heading h2{font-size:16px}.section-heading p{font-size:12px}.quick-form input{font-size:14px}.quick-panel>p{font-size:11px}.progress-panel p{font-size:12px}.progress-legend{font-size:11px}.records-heading p{font-size:12px}.records-heading .btn{font-size:12px}.filters input,.filters select{font-size:13px}.tab{font-size:13px}.tab span{font-size:11px}.count-pill{font-size:11px}table{font-size:13px}th{font-size:11px}.recipient-name strong{font-size:13px}.recipient-name small{font-size:11px}.record-code{font-size:12px}.record-code small{font-size:10px}.address-cell{font-size:12px}.address-cell small{font-size:11px}.badge{font-size:11px}.row-action{font-size:11px;min-height:38px}.pagination .small,.pagination-buttons>span{font-size:11px}.sheet-item strong{font-size:12px}.sheet-item small{font-size:11px}.activity-row p{font-size:13px}.activity-row small{font-size:11px}.activity-row time{font-size:11px}.app-footer{font-size:10px}
@media(max-width:960px){.nav-item{font-size:12px}.stat-top{font-size:12px}}
@media(max-width:700px){input,select,textarea,.search-field input,.quick-form input,.filters select{font-size:16px}.btn{min-height:44px;font-size:13px}.records-heading .btn{min-height:43px;font-size:12px}.nav-item{font-size:9px;min-height:50px}.hero p{font-size:12px}.hero-button{font-size:12px}.stat-top{font-size:11px}.stat-note,.stat-link{font-size:10px}.section-heading h2{font-size:15px}.section-heading p{font-size:11px}.quick-panel>p{font-size:10px}.progress-panel p{font-size:12px}.progress-legend{font-size:11px}.record-code{font-size:12px}.record-code small{font-size:10px;display:block;margin-left:0}.recipient-name strong{font-size:14px}.recipient-name small{font-size:11px}.address-cell,.address-cell small{font-size:12px}.badge{font-size:10px}.row-action{min-height:44px;font-size:12px}.table-wrap>.records-table tbody tr{gap:12px}.pagination .small{font-size:10px}.tab{font-size:12px}.mobile-logout{width:36px;min-height:36px;padding:8px}.connection{font-size:10px}.breadcrumb{font-size:10px}.app-footer{font-size:9px}.activity-row p{font-size:12px}.activity-row time{font-size:10px}}
@media(max-width:360px){.connection span{display:none}.stat-top{font-size:10px}.stat-note,.stat-link{font-size:9px}.nav-item{font-size:8px}.quick-panel>p{font-size:9px}}
/* Participants and cattle yield share the existing cards, forms, and dialog system. */
.sidebar{overflow-y:auto}.weights-intro{display:flex;align-items:center;gap:24px;justify-content:space-between}.weights-intro p{font-size:13px;margin-top:12px;max-width:720px}.weight-summary{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:17px}.weight-summary .stat-card>strong{font-size:27px}.weight-summary .stat-card>.weight-state{font-size:22px;margin-top:10px;margin-bottom:9px}.cattle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cattle-card{min-width:0;border:1px solid var(--line);border-radius:12px;padding:18px;background:#fbfdf8}.cattle-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.cattle-heading h3{font-size:16px}.weight-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.weight-inputs label{font-size:12px}.weight-inputs input{min-width:0;font-variant-numeric:tabular-nums}.weight-draft{margin-top:8px;color:#a77a32}.cattle-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;flex-wrap:wrap}.cattle-actions>div{display:flex;gap:7px}.cattle-actions .btn{font-size:11px;min-height:37px;padding:9px 11px}.cattle-members{border-top:1px solid var(--line);padding-top:12px;margin-top:17px}.cattle-members summary{font-size:12px;font-weight:600;cursor:pointer}.cattle-members ol{font-size:12px;padding-left:21px}.cattle-members li{margin:8px 0}.cattle-members small{font-size:10px;color:var(--muted);margin-left:5px}#weights-warning{margin:0}#weights-warning ul{padding-left:18px;margin:9px 0 0}#participant-import-note{margin-top:14px}#participants-view .manage-grid>.panel>p:last-child{margin-top:16px}#participant-shares-table th,#pooled-shares-table th{padding:12px 14px}#participant-shares-table td,#pooled-shares-table td{padding:12px 14px;font-variant-numeric:tabular-nums;white-space:nowrap}.weight-summary .stat-note{display:block}#edit-participant-fields{border-top:1px solid var(--line);margin-top:22px;padding-top:2px}
@media(max-width:1100px){.cattle-grid{grid-template-columns:1fr}.weights-intro{align-items:flex-start;flex-direction:column}.weight-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.weight-summary .stat-card>strong{font-size:22px}.weight-summary .stat-card>.weight-state{font-size:18px}}
@media(max-width:700px){.main-nav{grid-template-columns:repeat(7,minmax(0,1fr))}.nav-item>span[data-mobile]{font-size:0}.nav-item>span[data-mobile]:after{content:attr(data-mobile);font-size:8px}.weight-summary{grid-template-columns:1fr 1fr;gap:10px}.weight-summary>.stat-card:last-child{grid-column:1/-1}.weight-summary .stat-card>strong{font-size:24px}.weight-summary .stat-card>.weight-state{font-size:22px}.weights-intro{gap:17px}.weights-intro .btn{width:100%}.weights-intro p{font-size:12px}.cattle-card{padding:15px}.cattle-heading h3{font-size:15px}.weight-inputs{gap:8px}.weight-inputs input{padding:10px 8px;font-size:16px}.weight-inputs label{font-size:11px}.cattle-actions .btn{font-size:11px;min-height:42px}.cattle-actions>span{font-size:10px}.cattle-members li{font-size:12px}.cattle-members small{display:block;margin-left:0}.main-content{padding-bottom:105px}}
@media(max-width:360px){.weight-inputs{grid-template-columns:1fr}.cattle-heading{flex-wrap:wrap}.weight-summary .stat-card>strong{font-size:21px}.nav-item>span[data-mobile]:after{font-size:7px}}
.weight-total{background:#f2f6ed;font-weight:600}.weight-total td{border-bottom:1px solid #e1e8d9!important}

.year-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;margin-bottom:24px;background:#edf3e6;border:1px solid #dde7d2;border-radius:13px}.year-toolbar .eyebrow{display:block;margin-bottom:3px;font-size:9px}.year-toolbar strong{font-size:16px}.year-toolbar-actions{display:flex;gap:9px;align-items:center}.year-toolbar-actions select{width:190px;font-size:13px;background:#fff;min-height:42px}.year-intro p{margin-top:13px;font-size:13px;max-width:850px}.season-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.season-card{display:flex;flex-direction:column;align-items:flex-start;gap:17px}.season-card.selected{background:#eff5e7;border-color:#cbdcb9}.season-card h2{font-size:30px}.season-card h2 small{font-size:14px;font-weight:400;color:var(--muted)}.year-copy-options{border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin:20px 0 0}.year-copy-options legend{padding:0 5px;font-size:12px;font-weight:600}.year-copy-options .checkbox-label{font-size:12px;margin:9px 0}.year-copy-options .checkbox-label span{color:var(--muted)}#season-create-form>.btn{margin-top:18px}.year-category-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.year-category-summary strong{display:block;font-size:26px}.year-category-summary span{display:block;font-size:11px;color:var(--muted)}.year-shortcuts{display:grid;gap:10px}.year-shortcuts+.small{margin-top:20px!important}.crew-list{max-height:570px;overflow:auto}.crew-list th{position:sticky;top:0}.main-nav{flex-shrink:0}
@media(max-width:1100px){.year-toolbar{align-items:flex-start;flex-wrap:wrap}.season-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.main-nav{grid-template-columns:repeat(8,minmax(0,1fr))}.year-toolbar{padding:15px;gap:14px}.year-toolbar-actions{width:100%;flex-wrap:wrap}.year-toolbar-actions select{width:auto;flex:1;min-width:0;font-size:16px}.year-toolbar-actions .btn{font-size:11px;min-height:46px;padding:10px}.year-toolbar-actions .btn .icon{display:none}.year-toolbar strong{font-size:16px}.year-toolbar .eyebrow{font-size:8px}.season-grid{gap:10px}.season-card{padding:16px;gap:12px}.season-card h2{font-size:26px}.season-card h2 small{display:block;font-size:12px}.season-card .btn{white-space:normal;font-size:11px;width:100%}.year-category-summary{gap:7px}.year-category-summary span{font-size:10px}.year-copy-options{padding:12px}.year-copy-options .checkbox-label{font-size:11px;flex-wrap:wrap}.crew-list{max-height:660px}.crew-list .status-cell{font-size:11px}.year-toolbar+.page-heading{margin-top:4px}}
@media(max-width:360px){.year-toolbar-actions .btn{font-size:10px;padding:9px 7px}.year-toolbar-actions select{font-size:14px}.nav-item>span[data-mobile]:after{font-size:7px}}@media(max-width:700px){.year-toolbar-actions select{font-size:16px;min-height:46px}}

/* Block directory shares the existing recipient list and detail dialog. */
#blocks-view{margin-bottom:22px}#blocks-view>.records-heading{margin-bottom:8px}.block-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin-top:19px}.block-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:8px;text-align:left;min-height:78px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fbfdf8;color:var(--text);cursor:pointer;font:inherit;overflow-wrap:anywhere}.block-card strong{font-size:14px}.block-card span{font-size:12px;color:var(--muted)}.block-card.selected{background:#eaf2df;border-color:#577544;box-shadow:inset 0 0 0 1px #577544}.block-card:hover{border-color:#577544}.block-card:focus-visible{outline:3px solid #577544;outline-offset:2px}
@media(max-width:700px){.main-nav{display:flex;flex-direction:row;overflow-x:auto;overscroll-behavior-x:contain;justify-content:flex-start;scrollbar-width:thin}.main-nav>.nav-item{flex:0 0 70px;min-width:70px}.nav-item>span[data-mobile]:after{font-size:10px}.block-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.block-card{min-height:74px;padding:12px}.block-card strong{font-size:13px}#blocks-view{margin-bottom:17px}#blocks-view>p{font-size:12px}}

.viewer-note{display:none}body[data-role="viewer"] .viewer-note{display:block}body[data-role="viewer"] .admin-only,body[data-role="viewer"] .write-action,body[data-role="viewer"] #add-record,body[data-role="viewer"] #print-list,body[data-role="viewer"] a[href*="action=export"],body[data-role="viewer"] #participants-view>.manage-grid,body[data-role="viewer"] #weights-view,body[data-role="viewer"] #seasons-view,body[data-role="viewer"] #manage-view,body[data-role="viewer"] #report-view,body[data-role="viewer"] #accounts-view{display:none!important}.account-card{display:grid;gap:15px;padding:18px 0;border-bottom:1px solid var(--line)}.account-card:first-child{padding-top:0}.account-card p{margin:5px 0 10px}.account-card .button-row{flex-wrap:wrap}.account-card .btn{font-size:12px}.accounts-list{margin-top:20px;max-height:650px;overflow:auto}#accounts-view>.panel>p{margin-top:12px}#account-form>.button-row{margin-top:20px}.viewer-note{margin-bottom:20px}#auth-access-note{margin:12px 0}

#season-import-view>.panel>p{margin-top:12px}#season-import-form{max-width:760px}#season-import-form>.checkbox-label{margin-top:20px}#season-import-form>button{margin-top:18px}#season-import-preview details{margin:16px 0}#season-import-preview summary{cursor:pointer;font-weight:600;font-size:13px}#season-import-preview ul{padding-left:20px;font-size:12px}#season-import-preview li{margin:8px 0}.season-import-names{margin-top:12px;max-height:420px;overflow:auto}.season-import-names th{position:sticky;top:0}#season-import-preview .notice{align-items:flex-start}#season-import-preview .preview-sheets>div{gap:10px;flex-wrap:wrap}

body[data-auth="1"]:not([data-role="admin"]) .admin-only{display:none!important}body[data-role="viewer"] .delivery-menu,body[data-role="viewer"] .delivery-action,body[data-role="viewer"] .ops-action{display:none!important}body[data-role="operator"] .write-action,body[data-role="operator"] #add-record,body[data-role="operator"] #print-list,body[data-role="operator"] a[href*="action=export"],body[data-role="operator"] #participants-view>.manage-grid,body[data-role="operator"] .ops-action{display:none!important}.inline-form{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.inline-form>div{flex:1;min-width:160px}.inline-form label{margin-top:12px}.group-policy{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.group-policy label{font-size:12px}.cattle-toggle{margin-top:12px;font-size:12px}.ops-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin:22px 0}.ops-summary>div{padding:15px;background:#f1f5eb;border-radius:10px}.ops-summary strong{display:block;font-size:20px}.ops-summary span{display:block;font-size:12px;color:var(--muted);margin-top:6px}#event-form{max-width:800px}#event-form>button,#handover-form>button,#ops-reason-form>button,#reduce-cattle-form>button{margin-top:18px}.ops-scroll{max-height:600px;overflow:auto}.block-small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.stack-actions{display:flex;flex-direction:column;gap:8px}.stack-actions .btn{font-size:12px;white-space:nowrap}.audit-detail{white-space:pre-wrap;overflow-wrap:anywhere;max-height:250px;overflow:auto;font-size:11px;padding:12px;background:#f3f5ef}.activity-row details summary{font-size:11px;cursor:pointer}.coupon-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:18px}.printed-coupon{border:1px dashed #5b705e;padding:18px;min-width:0;break-inside:avoid;background:#fff}.printed-coupon>span{display:block;font-size:10px}.coupon-code{display:block;font-size:26px;letter-spacing:1px;margin:12px 0;overflow-wrap:anywhere}.printed-coupon h3{font-size:15px}.printed-coupon p{font-size:12px;margin:8px 0}.printed-coupon small{font-size:10px}.signatures{display:flex;justify-content:space-around;margin:30px 0}.badge+.badge{margin-top:5px}#event-banner{margin-bottom:18px}#final-report-summary p{margin-bottom:18px}#handover-dialog .weight-inputs{margin-top:15px}.ops-summary>div{min-width:0}#cleanup-view .filters,#coupons-view .filters{padding:20px 0 10px}#cleanup-view .filters input,#coupons-view .filters input{min-width:0}
@media(max-width:700px){.group-policy{grid-template-columns:1fr}.ops-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ops-summary>div{padding:12px}.ops-summary strong{font-size:17px}.ops-summary span{font-size:11px}.coupon-preview{grid-template-columns:1fr}.printed-coupon{padding:16px}.inline-form{gap:8px}.inline-form>div{min-width:100%;width:100%}.inline-form>.btn{width:100%}#handover-form .weight-inputs{grid-template-columns:1fr}.group-policy input,.group-policy select{font-size:16px}.stack-actions .btn{font-size:12px}.ops-summary strong{overflow-wrap:anywhere}}
@media print{#print-area h2{font-size:14pt;margin:20px 0 10px}.print-coupons{page:coupons;padding:0!important}.print-coupons>h1,.print-coupons>p{display:none!important}.coupon-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3mm}.coupon-grid .printed-coupon{height:48mm;padding:4mm;overflow:hidden;break-inside:avoid;border:1px dashed #111;color:#111}.coupon-grid .coupon-code{font-size:20pt;margin:3mm 0;letter-spacing:.4mm}.coupon-grid .printed-coupon>span{font-size:7pt}.coupon-grid .printed-coupon h3{font-size:10pt}.coupon-grid .printed-coupon p{font-size:9pt;margin:2mm 0}.coupon-grid .printed-coupon small{font-size:7pt}.signatures{break-inside:avoid}}
@page coupons{size:A4 portrait;margin:10mm}

.mobile-menu-trigger{display:none}.mobile-menu-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mobile-menu-list .btn{white-space:normal;justify-content:flex-start;text-align:left;min-height:50px;font-size:13px}.mobile-menu-list .menu-current{background:#e9f1de;border-color:#577544}.table-wrap:focus-visible{outline:2px solid #577544;outline-offset:3px}
@media(max-width:700px){.mobile-menu-trigger{display:inline-flex;min-height:34px;padding:7px;font-size:10px;gap:4px}.mobile-menu-trigger .icon{width:13px;height:13px}.topbar .breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-right{flex-shrink:0}}

body[data-primary-admin="0"] #master-password-panel{display:none!important}

#manual-coupon-notice{margin-bottom:18px}
