:root{--bg:#f7f8f2;--text:#25372b;--muted:#667360;--green:#244e39;--green-dark:#193e2d;--soft-green:#eaf0e2;--cream:#f0f2d9;--line:#dfe5d7;--danger:#a84131;--focus:#72935e}*{box-sizing:border-box}html{background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%;scroll-behavior:smooth;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif}body{margin:0;font-size:16px;line-height:1.6}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button{touch-action:manipulation}h1,h2,h3,p{margin:0}h1{letter-spacing:-.04em;font-size:29px;font-weight:650;line-height:1.35}h2{letter-spacing:-.02em;font-size:20px;font-weight:650;line-height:1.4}h3{font-size:17px;font-weight:650;line-height:1.45}small{font-size:12px}a{color:var(--green)}input,select,textarea{border:1px solid var(--line);width:100%;min-width:0;color:var(--text);background:#fff;border-radius:10px;min-height:48px;padding:11px 13px;font-size:16px;line-height:1.45}textarea{resize:vertical;min-height:90px}input[type=checkbox],input[type=radio]{width:20px;height:20px;min-height:20px;accent-color:var(--green);flex-shrink:0;padding:0}input::placeholder,textarea::placeholder{color:#7b827c}input[type=date]{-webkit-appearance:none;min-width:0;display:block}svg{vertical-align:middle;flex-shrink:0}fieldset{min-width:0}img{max-width:100%}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:100;background:#fff;padding:12px;position:fixed;top:-100px;left:16px}.skip-link:focus{top:12px}.button{background:var(--green);color:#fff;white-space:nowrap;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:11px 18px;font-size:14px;font-weight:600;line-height:1.5;text-decoration:none;transition:background .15s,box-shadow .15s;display:inline-flex}.button:hover{background:var(--green-dark)}.button.secondary{border-color:var(--line);color:var(--text);background:#fff}.button.secondary:hover{background:var(--soft-green);border-color:#acbdb1}.button.cream{background:var(--cream);color:var(--green-dark)}.button.cream:hover{background:#fff}.button.danger{background:var(--danger)}.button.full{width:100%}.button-row{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.text-button{min-height:44px;color:var(--green);background:0 0;border:0;justify-content:center;align-items:center;gap:5px;padding:8px;font-size:13px;font-weight:600;display:inline-flex}.text-button:hover{background:var(--soft-green);border-radius:7px}.icon-button{min-width:44px;min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;padding:10px;display:inline-flex}.icon-button:hover{background:var(--soft-green);color:var(--green)}.icon-button.bordered{border:1px solid var(--line);background:#fff}.icon-button.active{background:var(--soft-green);color:var(--green)}.danger-text{color:var(--danger)!important}.eyebrow{color:var(--muted);letter-spacing:.12em;margin-bottom:10px;font-size:11px;font-weight:650;display:block}.app-shell{min-height:100dvh;display:flex}.sidebar{border-right:1px solid var(--line);z-index:20;background:#fcfcf9;flex-direction:column;width:244px;padding:32px 22px;display:flex;position:fixed;top:0;bottom:0;left:0}.brand{color:var(--green-dark);align-items:center;gap:11px;display:flex}.brand-mark{background:var(--green);width:43px;height:43px;color:var(--cream);border-radius:12px;place-items:center;display:grid}.brand b{letter-spacing:.04em;white-space:nowrap;font-size:19px;line-height:1.35;display:block}.brand b span{letter-spacing:0;margin-left:9px;font-size:13px;font-weight:550}.brand small{letter-spacing:.18em;color:var(--muted);margin-top:5px;font-size:8px;display:block}.sidebar .brand b span{margin:4px 0 0;font-size:14px;display:block}.sidebar .brand-mark{width:44px;height:54px}.sidebar-caption{color:var(--muted);margin:28px 10px 16px;font-size:12px}.sidebar nav{flex-direction:column;gap:7px;display:flex}.sidebar nav button{width:100%;min-height:49px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:13px;padding:13px 17px;font-size:14px;font-weight:550;display:flex}.sidebar nav button:hover{background:#eef2eb}.sidebar nav button.selected{background:var(--soft-green);color:var(--green);font-weight:650}.new-side{margin:28px 0}.sidebar-bottom{border-top:1px solid var(--line);align-items:center;gap:11px;margin-top:auto;padding:24px 7px 0;display:flex}.sidebar-bottom b{font-size:14px;display:block}.sidebar-bottom small{color:var(--muted);margin-top:2px;display:block}.avatar{width:40px;height:40px;color:var(--green);background:#e3e9dc;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:17px;font-weight:600;display:inline-flex}.avatar-button{border:0}.avatar.small{width:42px;height:42px}.avatar.avatar-large{width:72px;height:72px;font-size:28px}.main-wrap{width:100%;min-width:0;margin-left:244px}.main-content{outline:none;max-width:1096px;margin:auto;padding:40px 48px 48px}.mobile-header,.bottom-nav{display:none}.desktop-footer{border-top:1px solid var(--line);max-width:1000px;color:var(--muted);justify-content:space-between;margin:24px auto 0;padding:20px 0;font-size:11px;display:flex}.dashboard-welcome{justify-content:space-between;align-items:center;gap:18px;margin-bottom:28px;display:flex}.dashboard-welcome .eyebrow{letter-spacing:.03em;margin-bottom:8px}.dashboard-welcome h1{font-size:28px}.dashboard-welcome p{color:var(--muted);margin-top:9px;font-size:14px}.scope-pill{border:1px solid var(--line);white-space:nowrap;color:var(--muted);background:#fff;border-radius:30px;align-items:center;gap:6px;padding:7px 11px;font-size:12px;display:inline-flex}.hero-action{background:var(--green);color:var(--cream);border-radius:18px;justify-content:space-between;align-items:center;gap:24px;padding:32px 34px;display:flex;position:relative;overflow:hidden}.hero-action .eyebrow{color:#c2cfbd;letter-spacing:.22em;margin-bottom:16px;font-size:9px}.hero-action h2{font-size:26px;font-weight:580}.hero-action p{color:#d1d9ce;margin:10px 0 24px;font-size:13px}.hero-symbol{color:#e2eac559;border:1px solid #aabc9b44;border-radius:50%;place-items:center;width:158px;height:158px;margin-right:15px;display:grid}.hero-symbol:before{content:"";border:1px solid #aabc9b22;border-radius:50%;width:190px;height:190px;position:absolute}.overview-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr 1.3fr;margin:22px 0 32px;padding:22px 0;display:grid}.overview-strip>div{border-right:1px solid var(--line);padding:0 26px}.overview-strip>div:first-child{padding-left:2px}.overview-strip>div span{color:var(--muted);font-size:12px;display:block}.overview-strip>div>b{font-variant-numeric:tabular-nums;margin-top:4px;font-size:30px;font-weight:600;line-height:1.4;display:block}.overview-strip b small{color:var(--muted);margin-left:9px;font-size:12px;font-weight:400}.overview-strip .scope-value{margin-top:10px;font-size:21px}.overview-strip>button{color:var(--green);text-align:left;background:0 0;border:0;align-items:center;gap:12px;padding:0 0 0 28px;display:flex}.overview-strip>button span{flex:1;font-size:14px;font-weight:600}.overview-strip>button small{color:var(--muted);margin-top:5px;font-weight:400;display:block}.section{margin:30px 0}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.section-heading p{color:var(--muted);margin-top:4px;font-size:12px}.section-heading .text-button{margin-right:-8px}.record-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.record-card{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:stretch;transition:border-color .15s;display:flex;overflow:hidden}.record-card:hover{border-color:#a1b4a5}.record-open{text-align:left;width:100%;min-width:0;color:var(--text);background:0 0;border:0;padding:19px 21px;display:block}.record-top{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.record-date{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.badge{white-space:nowrap;border-radius:5px;justify-content:center;align-items:center;padding:4px 7px;font-size:10px;font-weight:550;line-height:1.4;display:inline-flex}.badge-green{color:#2b573e;background:#eaf0e6}.badge-muted{color:#64685f;background:#f0f1eb}.badge-outline{border:1px solid var(--line);color:var(--muted)}.badge-row{flex-wrap:wrap;gap:7px;margin-bottom:10px;display:flex}.record-card h3{overflow-wrap:anywhere;font-size:16px;line-height:1.55}.record-items{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:5px;font-size:12px;line-height:1.75;display:-webkit-box;overflow:hidden}.record-bottom{color:var(--muted);border-top:1px solid #f0f2eb;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:12px;font-size:11px;display:flex}.record-bottom svg{color:#80927c}.logistics-line{color:var(--green);margin-top:7px;font-size:11px;display:block}.record-select{cursor:pointer;align-items:flex-start;padding:24px 0 20px 16px;display:flex}.record-select input{width:20px;height:20px}.record-select+.record-open{padding-left:13px}.empty{text-align:center;color:#7e8f7a;background:#fcfdf9;border:1px dashed #cdd7c9;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;min-height:250px;padding:35px 25px;display:flex}.empty h3{color:var(--text);margin:15px 0 8px;font-size:17px}.empty p{color:var(--muted);max-width:350px;margin-bottom:18px;font-size:13px}.page-title{margin-bottom:24px}.page-title .eyebrow{margin-bottom:6px}.title-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.back-link{min-height:44px;color:var(--muted);background:0 0;border:0;align-items:center;gap:5px;margin-bottom:8px;padding:0 0 6px;font-size:13px;display:inline-flex}.page-note{color:var(--muted);margin:-6px 0 24px;font-size:13px;line-height:1.85}.search-row{gap:10px;margin-bottom:18px;display:flex}.search-box{border:1px solid var(--line);width:100%;min-width:0;color:var(--muted);background:#fff;border-radius:10px;align-items:center;gap:10px;padding:0 14px;display:flex}.search-box input{outline-offset:0;background:0 0;border:0;min-height:48px;padding:11px 0;font-size:14px}.search-box input:focus{outline:0}.search-box:focus-within{outline:2px solid var(--focus);outline-offset:2px}.segmented{border-bottom:1px solid var(--line);gap:5px;margin-bottom:14px;display:flex}.segmented button{min-width:70px;min-height:46px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:12px 14px;font-size:14px}.segmented button.selected{color:var(--green);border-bottom-color:var(--green);font-weight:650}.list-toolbar{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.list-toolbar p{color:var(--muted);font-size:12px}.panel{border:1px solid var(--line);background:#fff;border-radius:12px;padding:22px}.panel>h2{margin-bottom:20px}.filter-panel{margin:14px 0}.filter-panel .field{margin-bottom:8px}.loading{min-height:160px;color:var(--muted);justify-content:center;align-items:center;gap:10px;font-size:14px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.notice{overflow-wrap:anywhere;border:1px solid #0000;border-radius:9px;flex-wrap:wrap;align-items:flex-start;gap:8px;margin:15px 0;padding:13px 15px;font-size:13px;line-height:1.7;display:flex}.notice small{width:100%;font-size:11px;display:block}.notice-error{color:#873b2a;background:#fff4ef;border-color:#efcdbf}.notice-info{color:#42604a;background:#f1f5ef;border-color:#dce6d6}.notice-success{color:#2c6336;background:#eaf5e9;border-color:#c7dfc4}.notice .button{margin-top:8px}.notice>.button{width:fit-content}.pagination{justify-content:space-between;align-items:center;gap:12px;margin:26px 0;display:flex}.pagination span{color:var(--muted);white-space:nowrap;font-size:13px}.batch-bar{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:5;background:#fbfcf8f5;border:1px solid #cad6c4;border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;margin-top:20px;padding:12px 15px;display:flex;position:sticky;bottom:16px;box-shadow:0 6px 26px #193e3210}.batch-actions{gap:8px;margin-left:auto;display:flex}.batch-bar small{width:100%;color:var(--muted);font-size:11px;display:block}.detail-hero{border:1px solid var(--line);background:#fff;border-radius:13px;padding:27px 29px}.detail-hero h1{overflow-wrap:anywhere;font-size:26px}.detail-hero>p{color:var(--muted);margin-top:11px;font-size:12px}.facts{flex-direction:column;gap:13px;margin:20px 0 0;display:flex}.facts>div{grid-template-columns:108px 1fr;gap:12px;font-size:14px;line-height:1.65;display:grid}.facts dt{color:var(--muted)}.facts dd{overflow-wrap:anywhere;white-space:pre-wrap;margin:0}.sample-detail{margin-bottom:14px}.sample-heading{align-items:center;gap:13px;display:flex}.sample-number{color:#77906d;font-variant-numeric:tabular-nums;background:#f2f4ed;border-radius:7px;place-items:center;width:37px;height:42px;font-size:14px;display:grid}.sample-heading>div{flex:1;min-width:0}.sample-heading h3{overflow-wrap:anywhere}.sample-heading p{color:var(--muted);margin-top:2px;font-size:12px}.sample-heading>b{overflow-wrap:anywhere;max-width:40%;font-size:14px;font-weight:550}.detail-actions{flex-wrap:wrap;gap:10px;margin:26px 0 12px;display:flex}.record-status-actions{border-top:1px solid var(--line);justify-content:space-between;margin-top:24px;padding-top:12px;display:flex}.metadata{color:var(--muted);border-top:1px solid var(--line);overflow-wrap:anywhere;flex-direction:column;gap:4px;margin-top:18px;padding-top:18px;font-size:10px;display:flex}.preserve-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.image-strip{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.image-strip>a{border:1px solid var(--line);border-radius:9px;width:100px;height:100px;display:block;overflow:hidden}.image-strip img{object-fit:cover;width:100%;height:100%}.form-intro{margin:-6px 0 24px}.form-intro p{color:var(--muted);margin-top:10px;font-size:13px}.form-content,.plain-fieldset{border:0;min-width:0;margin:0;padding:0}.form-section{border:1px solid var(--line);background:#fff;border-radius:13px;margin-bottom:18px;padding:26px}.form-section-title{align-items:center;gap:13px;margin-bottom:24px;display:flex}.form-section-title>span{color:#5d7855;border:1px solid #d8e0ce;border-radius:8px;place-items:center;width:36px;height:40px;font-size:12px;display:grid}.form-section-title h2{font-size:18px}.form-section-title p{color:var(--muted);margin-top:3px;font-size:12px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px;display:grid}.field{flex-direction:column;gap:8px;min-width:0;margin-bottom:18px;display:flex}.field>span,.field-label{color:#3f4c40;font-size:13px;font-weight:550}.field small{color:var(--muted);font-size:11px;line-height:1.7}.field-wide{grid-column:1/-1}.inline-help{color:var(--muted);align-items:flex-start;gap:5px;font-size:12px;line-height:1.8;display:flex}.inline-help svg{margin-top:4px}.quantity-fields{grid-template-columns:1fr 1fr;gap:12px;display:grid}.sample-editor{background:#fefefb;border:1px solid #dfe5d7;border-radius:11px;margin-bottom:16px;padding:18px}.sample-editor-heading{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.sample-editor-heading h3{color:var(--green);font-size:14px}.sample-editor-heading>div{align-items:center;gap:3px;display:flex}.sample-more{border-top:1px solid var(--line);margin-top:4px;padding-top:2px}.sample-more summary{cursor:pointer;min-height:48px;color:var(--muted);justify-content:space-between;align-items:center;font-size:13px;list-style:none;display:flex}.sample-more summary::-webkit-details-marker{display:none}.sample-more[open] summary{margin-bottom:14px}.sample-more[open] summary svg{transform:rotate(180deg)}.sample-photos{border-top:1px solid var(--line);margin-top:3px;padding-top:17px}.field-label small{color:var(--muted);margin-top:3px;font-size:10px;font-weight:400;display:block}.sample-photos .image-strip{margin-top:12px}.photo-tile,.upload-tile{border:1px solid var(--line);border-radius:8px;width:91px;height:91px;position:relative;overflow:hidden}.upload-tile{color:var(--muted);cursor:pointer;background:#f5f7ef;border-style:dashed;flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex}.upload-tile span{font-size:11px}.upload-tile input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.upload-tile:focus-within{outline:3px solid var(--focus);outline-offset:3px}.upload-tile.uploading{opacity:.6}.remove-photo{width:32px;height:32px;color:var(--danger);background:#fffefa;border:0;border-radius:0 0 0 10px;place-items:center;display:grid;position:absolute;top:0;right:0;box-shadow:0 1px 5px #0002}.add-sample{background:#fcfdf9!important;border-style:dashed!important}.delivery-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.delivery-options label{border:1px solid var(--line);cursor:pointer;border-radius:10px;grid-template-columns:20px 1fr;gap:6px 9px;padding:16px 13px;display:grid}.delivery-options label.selected{background:#f1f5eb;border-color:#66875b}.delivery-options b{font-size:13px;line-height:20px}.delivery-options small{color:var(--muted);grid-column:2;font-size:11px;line-height:1.5}.form-save-bar{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:10;background:#fafcf7f5;border:1px solid #cbd9c3;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex;position:sticky;bottom:16px;box-shadow:0 5px 22px #173e3210}.form-save-bar span{color:var(--green);font-size:13px;font-weight:550;display:block}.form-save-bar small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.form-save-bar .button{min-width:132px}.record-form{padding-bottom:12px}.modal{width:min(560px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--text);overscroll-behavior:contain;background:#fffefb;border:1px solid #dce3d6;border-radius:16px;margin:auto;padding:25px;box-shadow:0 20px 90px #122b3233}.modal::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#19271fcc}.modal-header{justify-content:space-between;align-items:center;gap:10px;margin:0 -7px 20px 0;display:flex}.modal-header h2{font-size:21px}.modal>p{color:var(--muted);font-size:14px;line-height:1.9}.modal .notice:first-of-type{margin-top:0}.modal .field{margin-bottom:17px}.link-copy p{color:var(--muted);margin-bottom:14px;font-size:13px}.link-copy input{color:var(--green);font-size:12px}.link-copy .button{width:100%;margin-top:15px}.stack{flex-direction:column;gap:13px;display:flex}.share-card p{color:var(--muted);margin-top:8px;font-size:12px}.share-card .button{margin-top:16px}.customer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px;display:grid}.customer-title{align-items:center;gap:12px;display:flex}.customer-title>div{min-width:0}.customer-title h3{overflow-wrap:anywhere;font-size:16px}.customer-title p{color:var(--muted);margin-top:3px;font-size:11px}.customer-contact{margin-top:18px;font-size:13px}.customer-contact p{overflow-wrap:anywhere;justify-content:space-between;gap:10px;display:flex}.customer-contact span{color:var(--muted);font-size:12px}.customer-address{color:var(--muted);overflow-wrap:anywhere;min-height:20px;margin-top:10px;font-size:12px}.customer-actions{border-top:1px solid var(--line);justify-content:space-between;align-items:center;margin-top:16px;margin-bottom:-10px;padding-top:6px;display:flex}.repeater{align-items:center;gap:8px;display:flex}.repeater>.field,.repeater>.form-grid{flex:1}.repeater>.icon-button{margin-top:8px}.person-heading{align-items:center;gap:12px;display:flex}.person-heading>div{flex:1;min-width:0}.person-heading h3{font-size:16px}.person-heading h3 small{background:var(--soft-green);color:var(--green);border-radius:4px;margin-left:8px;padding:2px 4px;font-size:10px;font-weight:400}.person-heading p{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;font-size:12px}.person-card .badge-row{margin:15px 0 0}.person-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:12px;margin-top:12px;padding-top:5px;display:flex}.people-list{margin-top:20px}.roles-fieldset{border:1px solid var(--line);border-radius:10px;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 15px;padding:15px;display:grid}.roles-fieldset legend{color:var(--muted);padding:0 5px;font-size:13px}.check-label{cursor:pointer;align-items:center;gap:10px;min-height:44px;font-size:14px;display:flex}.profile-card{text-align:center;border:1px solid var(--line);background:#fff;border-radius:14px;padding:30px 28px}.profile-card>h2{margin-top:15px;font-size:24px}.profile-card>p{color:var(--muted);margin-top:4px;font-size:13px}.profile-card>.badge-row{justify-content:center;margin:17px 0}.profile-card .facts{text-align:left;border-top:1px solid var(--line);max-width:500px;margin:22px auto 0;padding-top:20px}.menu-list{border:1px solid var(--line);background:#fff;border-radius:12px;margin-top:20px;overflow:hidden}.menu-list button{text-align:left;border:0;border-bottom:1px solid var(--line);width:100%;min-height:85px;color:var(--green);background:0 0;align-items:center;gap:14px;padding:16px 23px;display:flex}.menu-list button:last-child{border-bottom:0}.menu-list button:hover{background:#f6f8f0}.menu-list button span{color:var(--text);flex:1;min-width:0}.menu-list b{font-size:14px;display:block}.menu-list small{color:var(--muted);margin-top:3px;font-size:11px;line-height:1.7;display:block}.logout{margin-top:24px}.profile-note{text-align:center;color:var(--muted);margin-top:24px;font-size:11px;line-height:1.9}.profile-card+.menu-list+.panel{margin-top:20px}.auth-page{background:linear-gradient(135deg,#f1f4eb 0%,#f9f8f2 65%);flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;padding:36px 20px;display:flex}.auth-card{background:#fffefb;border:1px solid #dfe5d5;border-radius:18px;width:100%;max-width:440px;padding:36px;box-shadow:0 12px 45px #193e3206}.auth-card .brand{margin-bottom:42px}.auth-intro{margin-bottom:28px}.auth-intro .eyebrow{margin-bottom:12px;font-size:10px}.auth-intro h1{letter-spacing:-.04em;white-space:pre-line;color:var(--green-dark);font-size:29px;line-height:1.6}.auth-intro p{color:var(--muted);margin-top:13px;font-size:12px;line-height:1.9}.auth-card .field{margin-bottom:20px}.auth-card .button.full{min-height:49px;margin-top:7px;font-size:15px}.auth-card .button.full svg{margin-left:auto}.auth-help{color:var(--muted);text-align:center;margin:22px 0 0;font-size:11px;line-height:1.9}.auth-footer{color:var(--muted);align-items:center;gap:6px;margin-top:25px;font-size:11px;display:flex}.boot{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;padding:30px;display:flex}.boot h1{font-size:24px}.boot p{color:var(--muted);margin:16px 0 24px;font-size:14px}.boot .loading{min-height:90px}.toast{z-index:100;background:var(--green-dark);color:#fff;border-radius:10px;align-items:center;gap:8px;max-width:calc(100vw - 32px);padding:13px 19px;font-size:13px;display:flex;position:fixed;bottom:30px;left:calc(50% + 122px);transform:translate(-50%);box-shadow:0 6px 30px #103a3326}.shared-page{max-width:850px;margin:auto;padding:24px 32px 50px}.shared-page>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;display:flex}.shared-page>footer{text-align:center;color:var(--muted);border-top:1px solid var(--line);margin-top:40px;padding-top:25px;font-size:11px}.shared-page .record-body+.record-body{border-top:2px solid var(--green);margin-top:40px;padding-top:28px}.inline-auth .auth-card{margin:20px auto}.inline-auth .auth-card .brand{display:none}.inline-auth .auth-card .auth-intro h1{font-size:23px}.saved-label{color:var(--green);align-items:center;gap:5px;font-size:11px;display:flex}@media (width>=1400px){.main-content{padding-top:48px}.dashboard-welcome{margin-bottom:32px}.hero-action{padding:36px 40px}.hero-action h2{font-size:28px}}@media (width<=1100px){.sidebar{width:210px;padding:28px 16px}.main-wrap{margin-left:210px}.main-content{padding:32px 28px 40px}.desktop-footer{margin:20px 28px 0}.brand b{font-size:17px}.brand small{font-size:7px}.toast{left:calc(50% + 105px)}.hero-symbol{width:128px;height:128px;margin-right:0}.hero-symbol:before{width:150px;height:150px}.hero-symbol svg{width:75px;height:75px}.hero-action h2{font-size:23px}.delivery-options label{grid-template-columns:20px 1fr;padding:14px 10px}.delivery-options small{font-size:10px}.overview-strip>div{padding:0 18px}.overview-strip>button{gap:8px;padding-left:18px}.overview-strip>button small{font-size:10px}.record-grid{gap:12px}}@media (width<=767px){.sidebar,.desktop-footer{display:none}.main-wrap{margin-left:0}.main-content{padding:24px 20px calc(96px + env(safe-area-inset-bottom));max-width:660px}.mobile-header{min-height:73px;padding:14px 20px;padding-top:calc(14px + env(safe-area-inset-top));background:#fcfdf9;border-bottom:1px solid #e2e7da;justify-content:space-between;align-items:center;gap:12px;display:flex}.brand-compact .brand-mark{border-radius:9px;width:35px;height:35px}.brand-compact b{font-size:17px}.brand-compact b span{margin-left:8px;font-size:12px;font-weight:500}.avatar-button{width:34px;height:34px;font-size:14px}.bottom-nav{z-index:30;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:5px 10px calc(5px + env(safe-area-inset-bottom));background:#fcfdf9f5;grid-template-columns:repeat(4,1fr);min-height:67px;display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{color:#778172;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:56px;padding:6px;font-size:10px;font-weight:500;display:flex}.bottom-nav button.selected{color:var(--green);font-weight:650}.bottom-nav button.selected svg{stroke-width:2.4px}.dashboard-welcome{margin-bottom:22px;display:block;position:relative}.dashboard-welcome .eyebrow{padding-right:85px;font-size:10px}.dashboard-welcome h1{letter-spacing:-.04em;font-size:24px}.dashboard-welcome p{margin-top:8px;font-size:12px}.scope-pill{padding:4px 8px;font-size:10px;position:absolute;top:0;right:0}.scope-pill svg{width:12px;height:12px}.hero-action{border-radius:15px;gap:14px;padding:26px 24px}.hero-action .eyebrow{letter-spacing:.16em;margin-bottom:13px;font-size:8px}.hero-action h2{max-width:270px;font-size:22px;line-height:1.55}.hero-action p{max-width:225px;margin:9px 0 20px;font-size:11px;line-height:1.8}.hero-action .button{min-height:45px;padding:11px 15px;font-size:13px}.hero-symbol{flex-shrink:0;align-self:center;width:90px;height:90px;margin-right:-8px;position:relative}.hero-symbol:before{width:112px;height:112px}.hero-symbol svg{width:58px;height:58px}.overview-strip{border:0;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0 27px;padding:0}.overview-strip>div{border:1px solid var(--line);background:#fcfdf9;border-radius:11px;padding:15px 17px!important}.overview-strip>div span{font-size:11px}.overview-strip>div>b{margin-top:4px;font-size:27px}.overview-strip .scope-value{margin-top:10px;font-size:20px}.overview-strip>button{display:none}.section{margin:26px 0}.section-heading{margin-bottom:13px}.section-heading h2{font-size:18px}.section-heading p{font-size:11px}.text-button{font-size:12px}.record-grid{grid-template-columns:1fr;gap:12px}.record-open{padding:17px 18px}.record-card h3{font-size:17px}.record-bottom{margin-top:14px;padding-top:11px}.record-items{font-size:12px}.record-date{font-size:11px}.badge{padding:4px 7px;font-size:10px}.empty{min-height:235px;padding:28px 20px}.empty p{font-size:12px}.empty h3{font-size:16px}.page-title{margin-bottom:20px}.page-title h1{font-size:25px}.page-title .eyebrow{font-size:9px}.page-title .button{min-height:44px;padding:10px 13px;font-size:13px}.page-note{margin-bottom:20px;font-size:12px}.search-box input{min-height:47px;font-size:16px}.search-row{margin-bottom:12px}.segmented{gap:3px;margin:0 -1px 10px}.segmented button{min-width:64px;padding:11px 10px;font-size:13px}.panel{border-radius:11px;padding:18px}.filter-panel .form-grid{gap:0 12px}.list-toolbar{margin-bottom:9px}.list-toolbar p{font-size:11px}.batch-bar{bottom:calc(76px + env(safe-area-inset-bottom));gap:4px;margin-top:18px;padding:10px 12px}.batch-actions{gap:5px}.batch-actions .button{gap:4px;padding:9px 10px;font-size:11px}.batch-bar small{margin-top:3px;font-size:10px}.batch-bar .text-button{padding:5px;font-size:11px}.pagination .button{padding:10px 12px;font-size:12px}.pagination span{font-size:12px}.detail-hero{padding:21px 20px}.detail-hero h1{font-size:24px}.detail-hero>p{font-size:11px;line-height:1.8}.facts{gap:12px}.facts>div{grid-template-columns:85px 1fr;gap:10px;font-size:13px}.detail-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.detail-actions .button{font-size:13px}.sample-detail{padding:18px}.sample-heading{gap:10px}.sample-heading h3{font-size:16px}.sample-heading p{font-size:11px}.sample-heading>b{font-size:13px}.sample-number{width:31px;height:37px;font-size:12px}.image-strip{gap:8px;margin-top:15px}.image-strip>a{width:90px;height:90px}.record-status-actions{margin-top:20px}.form-intro{margin-top:-6px;margin-bottom:20px}.form-intro p{font-size:12px;line-height:1.8}.form-section{border-radius:12px;margin-bottom:14px;padding:20px 17px}.form-section-title{gap:10px;margin-bottom:22px}.form-section-title>span{width:31px;height:35px;font-size:11px}.form-section-title h2{font-size:17px}.form-section-title p{font-size:11px}.form-grid{gap:0 12px}.field{gap:7px;margin-bottom:18px}.field>span,.field-label{font-size:12px}.field small{font-size:10px}.sample-editor{margin-bottom:14px;padding:15px 13px}.sample-editor .form-grid{grid-template-columns:1fr}.sample-editor .field-wide{grid-column:auto}.sample-editor-heading{margin-bottom:12px}.sample-editor-heading h3{font-size:13px}.quantity-fields{gap:12px}.sample-more summary{min-height:46px;font-size:12px}.sample-more .form-grid{grid-template-columns:1fr 1fr}.sample-more .field-wide{grid-column:1/-1}.sample-photos{padding-top:15px}.photo-tile,.upload-tile{width:79px;height:79px}.remove-photo{width:36px;height:36px}.upload-tile span{font-size:10px}.delivery-options{grid-template-columns:1fr;gap:9px}.delivery-options label{grid-template-columns:20px 1fr auto;align-items:center;min-height:54px;padding:13px}.delivery-options small{grid-column:3;font-size:11px}.delivery-options b{font-size:13px}.form-save-bar{bottom:calc(76px + env(safe-area-inset-bottom));gap:10px;padding:12px 14px}.form-save-bar .button{min-width:119px;padding:11px 14px;font-size:13px}.form-save-bar small{font-size:10px}.form-save-bar span{font-size:12px}.form-content>.form-section:last-child .field{margin-bottom:10px}.modal{border-radius:14px;width:calc(100vw - 28px);max-height:calc(100dvh - 40px);padding:21px 18px}.modal-header{margin-bottom:18px}.modal-header h2{font-size:20px}.modal .form-grid{grid-template-columns:1fr}.modal .field{margin-bottom:15px}.modal>p{font-size:13px}.modal .button-row{margin-top:20px}.notice{gap:7px;padding:12px 13px;font-size:12px}.notice .button{font-size:12px}.customer-grid{grid-template-columns:1fr;gap:12px;margin-top:18px}.customer-title h3{font-size:16px}.customer-contact p{font-size:13px}.customer-address{font-size:12px}.repeater>.form-grid{grid-template-columns:1fr 1fr}.person-heading{gap:10px}.person-heading h3{font-size:15px}.person-heading p{font-size:11px}.person-card{padding:17px}.person-heading>.badge{font-size:9px}.person-actions{justify-content:space-between;gap:7px}.roles-fieldset{gap:3px 8px;padding:12px}.roles-fieldset .check-label{font-size:13px}.profile-card{padding:27px 21px}.profile-card .facts{font-size:13px}.profile-card>h2{font-size:22px}.menu-list button{gap:13px;min-height:81px;padding:15px 18px}.menu-list b{font-size:14px}.menu-list small{font-size:10px}.toast{left:50%;bottom:calc(85px + env(safe-area-inset-bottom));white-space:normal;width:max-content;max-width:calc(100vw - 32px);padding:12px 15px;font-size:12px}.auth-page{justify-content:center;padding:24px 20px}.auth-card{border-radius:15px;max-width:400px;padding:29px 25px}.auth-card .brand{margin-bottom:33px}.auth-card .brand b{font-size:18px}.auth-card .brand b span{font-size:12px}.auth-intro{margin-bottom:25px}.auth-intro h1{font-size:27px;line-height:1.65}.auth-intro p{font-size:12px}.auth-help{margin-top:20px;font-size:11px}.auth-footer{text-align:center;margin-top:20px;font-size:10px}.shared-page{padding:18px 20px 40px}.shared-page>header{gap:10px;margin-bottom:25px;padding-bottom:16px}.shared-page>header .text-button{font-size:11px}.shared-page .record-body+.record-body{margin-top:30px}.inline-auth .auth-card{padding:22px 18px}.shared-page .brand b span{font-size:11px}.shared-page .brand b{font-size:16px}}@media (width<=374px){.main-content{padding-left:15px;padding-right:15px}.mobile-header{padding-left:16px;padding-right:16px}.brand-compact b{font-size:16px}.brand-compact b span{margin-left:6px;font-size:11px}.hero-action{padding:23px 19px}.hero-action h2{font-size:21px}.hero-symbol{opacity:.7;width:62px;height:62px;margin-right:-9px}.hero-symbol:before{width:83px;height:83px}.hero-symbol svg{width:42px;height:42px}.hero-action p{max-width:180px}.overview-strip>div{padding:13px 14px!important}.form-section{padding:18px 14px}.form-grid{grid-template-columns:1fr}.field-wide{grid-column:auto}.sample-more .form-grid{grid-template-columns:1fr}.sample-more .field-wide{grid-column:auto}.delivery-options label{grid-template-columns:20px 1fr}.delivery-options small{grid-column:2}.batch-actions .button{padding:8px;font-size:10px}.batch-actions .button svg{width:14px}.batch-bar .text-button{min-height:36px}.auth-page{padding:16px}.auth-card{padding:25px 21px}.auth-intro h1{font-size:25px}.roles-fieldset,.repeater>.form-grid{grid-template-columns:1fr}.person-actions .text-button{font-size:11px}.shared-page{padding-left:15px;padding-right:15px}.shared-page>header .brand b span{margin:1px 0 0;font-size:10px;display:block}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}.spin{animation:none}}@media print{.sidebar,.mobile-header,.bottom-nav,.desktop-footer,.detail-actions,.record-status-actions,.toast{display:none!important}.main-wrap{margin:0}.main-content{max-width:none;padding:0}.panel,.detail-hero{break-inside:avoid}.page-title .back-link{display:none}body{background:#fff}}.reauth-overlay{z-index:200;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f5f7eff5;justify-content:center;align-items:flex-start;padding:24px 20px;display:flex;position:fixed;inset:0;overflow:auto}.reauth-content{width:100%;max-width:440px;margin:auto}.reauth-content>.notice{margin-bottom:16px}.reauth-content .auth-card{width:100%;margin:0}.reauth-content .auth-intro h1{font-size:24px}
