@charset "UTF-8";
:root{--bg:#f5f6f3;--surface:#fff;--ink:#24352e;--muted:#56665c;--line:#e7ebe6;--green:#195b43;--green-soft:#e9f2e9;--lime:#daebbd;--amber:#9b6a22;--amber-bg:#fff5df;--red:#ae4a43;--red-bg:#fff0ed;--radius:15px;--shadow:0 8px 28px #1c3f2d08;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:16px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--green)}svg{width:20px;height:20px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #99c5a8;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.035em}button{color:inherit}.muted{color:var(--muted)}.small-text{font-size:1rem;line-height:1.5}.amount{font-variant-numeric:tabular-nums;white-space:nowrap}.stack{display:flex;flex-direction:column;gap:14px}.divider{height:1px;background:var(--line);margin:16px 0}.inline-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.app-shell{display:flex;min-height:100vh}.sidebar{width:236px;padding:32px 20px 22px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;z-index:40;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);padding:0 12px 30px}.brand-mark{width:39px;height:39px;border-radius:12px;background:var(--green);color:#fff;display:grid;place-items:center;font-size:2.1875rem;font-weight:700;line-height:1;position:relative;flex-shrink:0;padding-bottom:5px;letter-spacing:-4px;padding-right:3px}.brand-mark span{position:absolute;color:#c9e4a4;font-size:1.375rem;right:4px;top:-3px;letter-spacing:0}.brand-name{font-size:1.75rem;font-weight:750;letter-spacing:-1px}.brand-caption{font-size:0.875rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-top:3px}.nav-label{font-size:0.875rem;letter-spacing:.12em;font-weight:650;text-transform:uppercase;color:#4f6256;padding:13px 13px 10px}.nav-button{display:flex;align-items:center;gap:12px;width:100%;padding:12px 13px;margin:2px 0;border:0;background:transparent;text-align:left;border-radius:9px;color:#4f6256;font-weight:500}.nav-button svg{width:18px;height:18px}.nav-button:hover{background:#f5f7f3;color:var(--green)}.nav-button.active{background:var(--green-soft);color:var(--green);font-weight:650}.nav-count{margin-left:auto;border-radius:5px;padding:2px 5px;font-size:0.875rem;background:#fff9;color:var(--green)}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-note{border:1px solid var(--line);border-radius:11px;padding:13px;margin:0 4px 20px;color:#4f6256;font-size:0.875rem;line-height:1.65;background:#fafbf8}.sidebar-note strong{display:block;color:#52665b;font-size:0.875rem;margin-bottom:4px}.user-box{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:20px 6px 0}.avatar{height:34px;width:34px;border-radius:50%;background:#edf0e8;color:#65745d;display:grid;place-items:center;font-size:1rem;font-weight:650;flex-shrink:0}.user-name{font-weight:650;font-size:1rem}.user-role{font-size:0.875rem;color:var(--muted);margin-top:4px}.user-box .icon-button{margin-left:auto}
.workspace{margin-left:236px;width:calc(100% - 236px);min-width:0}.topbar{height:77px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 35px;gap:18px}.breadcrumb{display:flex;align-items:center;gap:13px;color:#4f6256;font-size:1rem}.breadcrumb strong{font-weight:500;color:#5d6c62}.topbar-right{display:flex;align-items:center;gap:16px}.topbar-date{color:#4f6256;font-size:1rem}.connection-pill{display:flex;align-items:center;gap:6px;font-size:0.875rem;color:#4f6256;padding:6px 9px;border:1px solid #e5ebe4;border-radius:20px;white-space:nowrap}.connection-pill:before{content:"";height:5px;width:5px;background:#7bab78;border-radius:50%}.connection-pill.offline{color:var(--amber);border-color:#eddbb9;background:#fffbf1}.connection-pill.offline:before{background:#c19547}.mobile-menu{display:none}.page{max-width:1600px;margin:auto;padding:35px 35px 40px}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:0.875rem;color:#4f6256;font-weight:650;margin-bottom:10px}.page-title{font-size:1.75rem;font-weight:650;line-height:1.2}.page-subtitle{font-size:1rem;line-height:1.65;color:#4f6256;margin-top:8px}.page-actions{display:flex;gap:10px;align-items:center}.button{border:1px solid var(--line);background:#fff;border-radius:8px;min-height:37px;padding:9px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;font-size:0.875rem;font-weight:600;text-decoration:none}.button svg{width:16px;height:16px}.button:hover{background:#f6f8f5;border-color:#d7dfd6}.button.primary{background:var(--green);border-color:var(--green);color:white;box-shadow:0 3px 6px #195b4315}.button.primary:hover{background:#124c36}.button.secondary{background:#fff;color:#4d6557}.button.ghost{background:transparent;border-color:transparent;color:#4f6256}.button.danger{color:var(--red);background:var(--red-bg);border-color:#f0d6d0}.button.small{font-size:0.875rem;min-height:28px;padding:6px 9px;border-radius:6px}.button.full{width:100%}.icon-button{width:34px;height:34px;min-height:34px;padding:7px;background:transparent;border:1px solid var(--line);border-radius:8px;display:inline-flex;align-items:center;justify-content:center}.icon-button svg{width:17px;height:17px}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:25px}.kpi-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:21px 21px 19px;position:relative;box-shadow:var(--shadow)}.kpi-label{font-size:0.875rem;color:#4f6256;margin-bottom:14px}.kpi-value{font-size:1.8125rem;line-height:1.2;font-weight:650;letter-spacing:-1px}.kpi-value span{font-size:1rem;font-weight:500;color:#4f6256;margin-left:4px;letter-spacing:0}.kpi-note{font-size:0.875rem;line-height:1.5;color:#4f6256;margin-top:12px;display:flex;align-items:center;gap:5px}.kpi-note.positive{color:#6c916a}.kpi-icon{position:absolute;right:20px;top:19px;width:33px;height:33px;border-radius:10px;background:#f2f6ee;color:#7b9a73;display:grid;place-items:center}.kpi-icon svg{width:16px;height:16px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:23px;align-items:start}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.card+.card{margin-top:20px}.card-header{padding:21px 22px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}.card-title{font-size:1rem;font-weight:650;letter-spacing:-.02em}.card-subtitle{font-size:0.875rem;color:#4f6256;margin-top:6px;line-height:1.5}.card-body{padding:0 22px 22px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:0 22px 18px;flex-wrap:wrap}.search-field{position:relative;flex:1;min-width:180px;max-width:330px}.search-field svg{position:absolute;left:11px;top:10px;width:14px;height:14px;color:#4f6256}.search-field .input{padding-left:33px;background:#fafbf9;border-color:#edf0eb;font-size:0.875rem;min-height:34px}.filters{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.filters .select,.filters .input{min-height:33px;font-size:0.875rem;padding:7px 10px;max-width:180px}.input,.select,textarea{width:100%;border:1px solid #dfe6df;border-radius:7px;background:#fff;min-height:39px;padding:10px 11px;color:#344b3c;font-size:1rem;line-height:1.4}.input::placeholder,textarea::placeholder{color:#4f6256}.input:focus,.select:focus,textarea:focus{border-color:#83a990;outline:none;box-shadow:0 0 0 3px #195b430b}textarea{resize:vertical;min-height:80px}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.data-table th{background:#fafbf9;color:#4f6256;text-transform:uppercase;font-size:0.875rem;font-weight:600;letter-spacing:.075em;padding:12px 19px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.data-table td{padding:17px 19px;border-bottom:1px solid #f0f3ed;font-size:0.875rem;color:#4f6256}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr[data-order]{cursor:pointer}.data-table tbody tr:hover{background:#fcfdf9}.data-table td:first-child,.data-table th:first-child{padding-left:23px}.order-cell{display:flex;align-items:center;gap:11px}.order-icon{display:grid;place-items:center;width:31px;height:31px;background:#f4f7ee;border-radius:8px;color:#4f6256;font-size:1.125rem}.cell-title{font-size:0.875rem;color:#3d5345;font-weight:600}.cell-meta{font-size:0.875rem;margin-top:5px;color:#4f6256;max-width:220px;overflow:hidden;text-overflow:ellipsis}.table-footer{padding:15px 23px;border-top:1px solid var(--line);color:#4f6256;font-size:0.875rem;display:flex;justify-content:space-between;align-items:center}.badge{padding:5px 8px;border-radius:5px;font-size:0.875rem;font-weight:500;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;background:#f1f4ef;color:#4f6256}.badge.new{background:#fff6df;color:#4f6256}.badge.confirmed,.badge.planned{background:#edf3e7;color:#4f6256}.badge.running{background:#edf2fa;color:#4f6256}.badge.ready{background:#e5f1e8;color:#4f6256}.badge.shipped{background:#f0ecf9;color:#4f6256}.badge.closed{background:#eff2ee;color:#4f6256}.badge.cancelled{background:#f9eeeb;color:#4f6256}.badge.warning{background:var(--amber-bg);color:var(--amber)}.badge.muted{background:#f2f4f1;color:#4f6256}.status-dot{width:5px;height:5px;border-radius:50%;background:currentColor}.product-tags{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.product-tag{color:#4f6256;background:#f6f8f2;border:1px solid #eef1e8;border-radius:4px;font-size:0.875rem;padding:4px 6px}.metric-row{display:flex;justify-content:space-between;gap:10px;font-size:0.875rem;color:#4f6256;margin-bottom:13px}.metric-row strong{color:#4d674f;font-weight:600}.stats-strip{padding:14px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;font-size:0.875rem}.progress-track{height:5px;background:#f1f4eb;border-radius:10px;overflow:hidden}.progress-fill{height:100%;border-radius:10px;background:#94b178}.load-caption{display:flex;justify-content:space-between;font-size:0.875rem;color:#4f6256;margin:9px 0 0}.sidebar-stat{padding:16px;border-radius:10px;background:#f7f9f2;border:1px solid #edf0e4}.section-title{font-size:1rem;font-weight:650;margin-bottom:14px}.split-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.queue-list{display:flex;flex-direction:column;gap:10px}.queue-card{display:flex;align-items:center;gap:14px;padding:17px;border:1px solid var(--line);border-radius:12px;background:#fff}.queue-index{font-size:1rem;min-width:25px;color:#4f6256;font-weight:500}.queue-main{flex:1;min-width:0}.queue-main h3{font-size:1rem;font-weight:600;margin-bottom:6px}.queue-main p{color:#4f6256;font-size:0.875rem;line-height:1.6}.queue-side{text-align:right;display:flex;flex-direction:column;gap:6px;align-items:flex-end}.queue-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.queue-card.priority{border-left:3px solid #d4b26e}.queue-card.current{background:#f7faf4;border-color:#d8e4cf}.empty-state{text-align:center;padding:45px 20px;color:#4f6256;font-size:1rem;line-height:1.8}.empty-state svg{width:32px;height:32px;color:#bdcabb;margin-bottom:12px}.empty-state strong{color:#4f6256;display:block;margin-bottom:6px;font-weight:600}.notice{border-radius:9px;padding:12px 15px;font-size:0.875rem;line-height:1.65;display:flex;gap:9px;align-items:flex-start;background:#f1f5ed;color:#4f6256;border:1px solid #e6eddf;margin-bottom:18px}.notice svg{width:17px;height:17px;margin-top:2px}.notice.warning{background:var(--amber-bg);border-color:#f1dfb7;color:var(--amber)}.notice.danger{background:var(--red-bg);border-color:#f3d9d1;color:var(--red)}.notice.success{background:#ecf6eb;border-color:#d9e8d2;color:#5b855b}.notice p+p{margin-top:5px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(100px,1fr));gap:10px;overflow:auto;padding-bottom:4px;margin-bottom:22px}.day-card{border:1px solid var(--line);border-radius:12px;background:white;min-height:127px;padding:15px;text-align:left;cursor:pointer}.day-card.selected{border-color:#739e74;background:#f4f8ed;box-shadow:0 0 0 1px #739e7420}.day-card.today .day-name{color:var(--green)}.day-name{font-size:0.875rem;color:#4f6256;text-transform:uppercase;letter-spacing:.08em}.day-number{font-size:1.375rem;font-weight:600;color:#465e46;margin:8px 0 10px}.day-weight{font-size:0.875rem;color:#4f6256}.day-orders{font-size:0.875rem;color:#4f6256;margin-top:5px}
.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding-bottom:22px}.detail-label{font-size:0.875rem;color:#4f6256;margin-bottom:7px}.detail-value{font-size:1rem;line-height:1.6;color:#4f654e;overflow-wrap:anywhere}.detail-value strong{font-size:1.375rem;font-weight:600}.timeline{padding-left:4px}.timeline-item{position:relative;padding:0 0 20px 26px;border-left:1px solid #e1e9db;font-size:0.875rem;line-height:1.6;color:#4f6256;margin-left:4px}.timeline-item:last-child{border-left-color:transparent;padding-bottom:0}.timeline-dot{width:7px;height:7px;border-radius:50%;background:#91aa7e;position:absolute;left:-4px;top:5px;box-shadow:0 0 0 4px #fff}.timeline-time{font-size:0.875rem;color:#4f6256;margin-bottom:3px}.line-items{display:flex;flex-direction:column;gap:10px}.line-item{padding:13px;background:#f8faf5;border:1px solid #edf1e6;border-radius:9px}.line-item .field-row{margin-top:10px}.form-section{margin:20px 0 10px;font-size:1rem;font-weight:650;color:#536d50}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{min-width:0}.field.full{grid-column:1/-1}.form-label{display:block;color:#4f6256;font-size:0.875rem;font-weight:500;margin-bottom:7px}.field-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.field small{display:block;color:#4f6256;font-size:0.875rem;line-height:1.6;margin-top:5px}.checkbox-row{display:flex;align-items:flex-start;gap:9px;color:#4f6256;font-size:0.875rem;line-height:1.6;cursor:pointer}.checkbox-row input{accent-color:var(--green);margin-top:3px;flex-shrink:0}.photo-list{display:flex;gap:10px;flex-wrap:wrap}.photo-item{display:block;width:91px;text-decoration:none;border-radius:8px;overflow:hidden;border:1px solid var(--line);background:#f7f9f2}.photo-item img{width:100%;height:67px;object-fit:cover;display:block}.photo-item span{display:block;padding:5px;font-size:0.875rem;color:#4f6256}.upload-area{border:1px dashed #cbd9be;border-radius:10px;padding:18px;background:#f9fbf5;color:#4f6256;font-size:0.875rem}.upload-area input{display:block;margin-top:10px;font-size:0.875rem;max-width:100%}.outbox-list{display:flex;flex-direction:column;gap:12px}.outbox-item{border:1px solid var(--line);border-radius:10px;padding:15px;background:#fff;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.outbox-item.conflict{border-color:#e6c09d;background:#fffaf0}.outbox-item h3{font-size:1rem;margin-bottom:6px}.outbox-item p{font-size:0.875rem;line-height:1.65;color:#4f6256}.pending-tag{font-size:0.875rem;background:#fff3d6;color:#a8893c;border-radius:5px;padding:4px 6px}.pending-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fdf7e7;border:1px solid #ede0bd;padding:11px 17px;border-radius:9px;margin-bottom:20px;color:#9c8348;font-size:0.875rem}.form-error{color:var(--red);background:var(--red-bg);padding:10px 12px;border-radius:7px;font-size:0.875rem;line-height:1.6;margin-bottom:12px}.field-checks{display:flex;gap:12px;flex-wrap:wrap}
.modal{border:1px solid var(--line);border-radius:18px;padding:0;max-width:min(780px,calc(100vw - 32px));width:680px;max-height:90vh;box-shadow:0 24px 100px #17331c33;background:#fff;color:var(--ink)}.modal::backdrop{background:#18372055;backdrop-filter:blur(3px)}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:23px 26px;border-bottom:1px solid var(--line);gap:20px}.modal-title{font-size:1.125rem;font-weight:650}.modal-close{border:0;background:#f6f8f1;border-radius:50%;height:28px;width:28px;display:grid;place-items:center;color:#4f6256;font-size:1.375rem;line-height:1}.modal-body{padding:22px 26px;max-height:65vh;overflow-y:auto}.modal-footer{border-top:1px solid var(--line);padding:17px 26px;display:flex;align-items:center;justify-content:flex-end;gap:10px}.modal form{margin:0}.modal .notice{margin-bottom:15px}#toast-region{position:fixed;right:25px;bottom:25px;z-index:100;display:flex;flex-direction:column;gap:9px;max-width:380px}.toast{background:#204f39;color:#fff;border:1px solid #315e46;border-radius:10px;padding:13px 17px;box-shadow:0 8px 30px #1a372c25;font-size:1rem;line-height:1.5;animation:toast-in .2s ease-out}.toast.error{background:#9d4b43;border-color:#9d4b43}@keyframes toast-in{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}
.boot-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:#4f6256;font-size:1rem}.boot-screen .brand-mark{transform:scale(1.25)}.login-layout{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.login-story{background:#e9efe2;position:relative;padding:65px 12%;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.login-story .brand{padding:0;position:absolute;top:50px;left:12%;z-index:2}.login-story h1{font-size:2.9375rem;font-weight:600;line-height:1.16;color:#254c32;max-width:450px;position:relative;z-index:1;letter-spacing:-2px}.login-story>p{font-size:1rem;color:#4f6256;line-height:1.9;max-width:350px;margin-top:23px;position:relative;z-index:1}.login-feature-list{list-style:none;padding:0;margin:32px 0 0;display:flex;flex-direction:column;gap:14px;color:#5d7b53;position:relative;z-index:1;font-size:1rem}.login-feature-list li{display:flex;align-items:center;gap:10px}.login-feature-list svg{width:16px;height:16px;color:#7da46a}.ambient-leaf{position:absolute;right:-110px;bottom:-100px;width:430px;height:500px;border-radius:90% 0 90% 0;background:#dae5ca;transform:rotate(-18deg);opacity:.6}.ambient-leaf:after{content:"";position:absolute;width:220px;height:350px;border-radius:90% 0 90% 0;background:#c8d9b8;left:-200px;top:0;transform:rotate(55deg)}.login-panel{display:flex;align-items:center;justify-content:center;background:#fbfcf9;padding:50px 35px}.login-card{width:100%;max-width:355px}.login-card h2{font-size:1.75rem;font-weight:600;margin-bottom:11px}.login-card>p{font-size:1rem;line-height:1.8;color:#4f6256;margin-bottom:30px}.login-form{display:flex;flex-direction:column;gap:17px}.login-form .input{min-height:46px;background:#fff}.login-form .button{min-height:44px;margin-top:5px;font-size:1rem}.login-footer{font-size:0.875rem;color:#4f6256;line-height:1.8;margin-top:25px}.demo-note{font-size:0.875rem;line-height:1.8;padding:12px 14px;background:#f1f5e9;border:1px solid #e3ebd9;border-radius:8px;color:#4f6256;margin-top:24px}.error-screen{max-width:500px;text-align:center;margin:auto}.overview-activity .timeline-item{font-size:0.875rem}.overview-activity .timeline-time{font-size:0.875rem}.action-menu{display:flex;gap:7px;flex-wrap:wrap}.batch-warning{font-size:0.875rem;color:#4f6256;margin-top:5px}.table-button{border:0;background:transparent;color:#4f6256;font-size:0.875rem;padding:4px;cursor:pointer}.table-button:hover{color:var(--green);text-decoration:underline}.order-number{font-size:0.875rem;color:#4f6256;font-weight:500}.note-block{background:#f8faf4;border:1px solid #edf1e7;border-radius:9px;padding:12px;font-size:0.875rem;line-height:1.7;color:#4f6256;white-space:pre-wrap}.number-pair{font-size:0.875rem;color:#4f6256;margin-top:4px}.sync-spinner{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1500px){.page{padding-left:45px;padding-right:45px}.topbar{padding-left:45px;padding-right:45px}.content-grid{grid-template-columns:minmax(0,1fr) 310px}}
@media(max-width:1200px){.sidebar{width:210px;padding-left:14px;padding-right:14px}.workspace{margin-left:210px;width:calc(100% - 210px)}.page{padding:28px 24px}.topbar{padding:0 24px}.content-grid{grid-template-columns:minmax(0,1fr) 250px;gap:17px}.kpi-card{padding:18px 17px}.kpi-icon{right:15px}.kpi-grid{gap:12px}.data-table th,.data-table td{padding-left:13px;padding-right:13px}.page-title{font-size:1.75rem}}
@media(max-width:1020px){.content-grid{grid-template-columns:1fr}.aside-card{display:grid;grid-template-columns:1fr 1fr;gap:17px}.aside-card .card+.card{margin-top:0}.login-story{padding:55px 9%}.login-story .brand{left:9%}.login-story h1{font-size:2.375rem}.topbar-date{display:none}.kpi-grid{grid-template-columns:repeat(2,1fr)}.kpi-card{min-height:140px}}
@media(max-width:800px){.sidebar{transform:translateX(-100%);transition:transform .2s ease;width:236px;box-shadow:15px 0 50px #12351f25}.workspace{margin-left:0;width:100%}.app-shell.menu-open .sidebar{transform:translateX(0)}.app-shell.menu-open:after{content:"";position:fixed;inset:0;background:#193d2440;z-index:30}.mobile-menu{display:inline-flex}.breadcrumb{gap:9px}.topbar{height:65px;padding:0 20px}.topbar-right{gap:9px}.page{padding:25px 20px}.page-title{font-size:1.75rem}.page-header{margin-bottom:23px}.login-story h1{font-size:2.0625rem}.login-story{padding:50px 8%}.login-story .brand{top:35px;left:8%}.login-panel{padding:35px 25px}.login-card h2{font-size:1.75rem}.detail-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.topbar{padding:0 16px;gap:8px}.breadcrumb{font-size:0.875rem}.breadcrumb .breadcrumb-root{display:none}.topbar-right{gap:7px}.connection-pill{font-size:0.875rem;padding:5px 7px}.topbar-right>.icon-button{width:30px;height:30px;min-height:30px}.page{padding:23px 15px 90px}.page-header{align-items:flex-start;gap:10px}.page-actions{gap:7px;flex-shrink:0}.page-actions .button{padding:9px 10px;font-size:0.875rem}.page-actions .button.secondary{display:none}.page-title{font-size:1.75rem}.page-subtitle{font-size:0.875rem}.eyebrow{font-size:0.875rem;margin-bottom:8px}.kpi-grid{gap:10px;margin-bottom:20px}.kpi-card{border-radius:12px;padding:17px 14px;min-height:128px}.kpi-icon{height:25px;width:25px;right:12px;top:13px;border-radius:8px}.kpi-icon svg{width:13px;height:13px}.kpi-label{font-size:0.875rem;margin-bottom:14px;max-width:90px}.kpi-value{font-size:1.75rem}.kpi-note{font-size:0.875rem;margin-top:9px}.kpi-value span{font-size:0.875rem}.card{border-radius:12px}.card-header{padding:18px 16px 15px}.card-body{padding:0 16px 17px}.card-title{font-size:1rem}.toolbar{padding:0 16px 14px;gap:10px}.search-field{max-width:none;min-width:100%;flex-basis:100%}.filters{width:100%;gap:6px}.filters .select,.filters .input{max-width:none;min-width:0;flex:1}.data-table th{font-size:0.875rem}.data-table td{font-size:0.875rem;padding-top:16px;padding-bottom:16px}.data-table td:first-child,.data-table th:first-child{padding-left:16px}.table-footer{padding:13px 16px}.aside-card{display:flex;flex-direction:column;gap:17px}.aside-card .card{width:100%}.split-grid{grid-template-columns:1fr}.queue-card{padding:15px 13px;gap:10px;flex-wrap:wrap;align-items:flex-start}.queue-index{min-width:20px;padding-top:1px}.queue-main h3{font-size:1rem}.queue-main p{font-size:0.875rem}.queue-side{min-width:80px}.queue-actions{width:100%;padding-left:30px;margin-top:6px}.queue-actions .button{flex:1}.queue-card .product-tags{margin-top:8px}.calendar-grid{grid-template-columns:repeat(7,94px);gap:7px;margin-right:-15px;padding-right:15px}.day-card{padding:12px;min-height:119px}.day-number{font-size:1.375rem}.notice{font-size:0.875rem;padding:11px 12px}.form-grid{grid-template-columns:1fr;gap:14px}.field-row{grid-template-columns:1fr 1fr;gap:10px}.field-row .field:last-child:nth-child(3){grid-column:1/-1}.modal{max-width:calc(100vw - 16px);border-radius:14px;max-height:94vh}.modal-header{padding:18px 18px}.modal-title{font-size:1.125rem}.modal-body{padding:18px;max-height:70vh}.modal-footer{padding:14px 18px}.detail-grid{gap:17px}.detail-value{font-size:0.875rem}.login-layout{display:flex;flex-direction:column;min-height:100vh}.login-story{min-height:215px;padding:80px 27px 25px}.login-story .brand{left:27px;top:22px}.login-story .brand-mark{width:31px;height:31px;font-size:1.75rem;border-radius:9px}.login-story .brand-name{font-size:1.375rem}.login-story .brand-caption{display:none}.login-story h1{font-size:1.8125rem;max-width:310px;letter-spacing:-1px;line-height:1.15}.login-story>p{display:none}.login-feature-list{display:none}.ambient-leaf{width:230px;height:300px;right:-90px;bottom:-110px}.login-panel{padding:35px 27px;align-items:flex-start;flex:1}.login-card{max-width:410px}.login-card h2{font-size:1.375rem}.login-card>p{font-size:0.875rem;margin-bottom:23px}.login-form{gap:15px}.login-footer{margin-top:20px}.outbox-item{flex-direction:column}.outbox-item .inline-actions{width:100%}.pending-banner{align-items:flex-start;font-size:0.875rem}.pending-banner .button{flex-shrink:0}#toast-region{left:15px;right:15px;bottom:18px;max-width:none}.toast{font-size:0.875rem}}
.field[hidden]{display:none!important}
.field.contact-reuse{flex-direction:row;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid var(--border);border-radius:.75rem;background:var(--green-soft)}.contact-reuse>div{min-width:0}.contact-reuse strong{display:block;font-size:1rem}.contact-reuse small{display:block;margin-top:.375rem;line-height:1.5}.contact-reuse .button{flex-shrink:0;white-space:normal}
.contact-reuse .button.contacts-filled:disabled{opacity:1;color:var(--green);background:#e8f2e8;border-color:#b9cdac;cursor:default}
.contact-reuse .button.contacts-just-filled{animation:contacts-filled .45s ease-out}
@keyframes contacts-filled{0%{transform:scale(.97);box-shadow:0 0 0 0 #61864e55}55%{transform:scale(1.02);box-shadow:0 0 0 5px #61864e22}100%{transform:scale(1);box-shadow:0 0 0 8px #61864e00}}
@media(max-width:600px){.field.contact-reuse{flex-direction:column;align-items:stretch}.contact-reuse .button{width:100%}}
.registration-notice{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1.5rem;padding:1rem;border:1px solid #c6d7b8;border-radius:.875rem;background:#edf4e6}.registration-notice>div{display:flex;align-items:center;gap:.75rem;min-width:0}.registration-notice svg{width:1.5rem;height:1.5rem;flex-shrink:0}.registration-list{display:grid;gap:1.25rem}.registration-filter{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:1rem;padding:1rem 1.25rem}.registration-filter>.field{min-width:0;max-width:100%;width:22rem}.registration-request-header{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:1rem;padding:1.25rem}.registration-request-header>div{min-width:0;flex:1 1 20rem}.registration-request-header h2{margin:.375rem 0 0;font-size:1.25rem;line-height:1.4;overflow-wrap:anywhere}.registration-status{display:inline-flex;align-items:center;min-height:44px;padding:.5rem .875rem;border:2px solid #a6b697;border-radius:.625rem;background:#eef3e8;color:#355437;font-size:1rem;line-height:1.4;overflow-wrap:anywhere;max-width:100%}.registration-status-new{border-color:#b5873d;background:#fff1d9;color:#71501f}.registration-status-contacted{border-color:#7d9eb1;background:#edf5fa;color:#294f69}.registration-status-approved{border-color:#448365;background:#e7f3e9;color:#1c593a}.registration-status-rejected{border-color:#af8a80;background:#f8eeea;color:#7a4537}.registration-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.registration-contact-grid p{margin:.375rem 0 0;line-height:1.5;overflow-wrap:anywhere}.registration-request-note{margin-top:1rem}.registration-request-note .note-block{margin-top:.5rem}.registration-request-actions{margin-top:1.25rem;gap:.625rem}.registration-request-actions .button{min-height:44px;white-space:normal}
@media(max-width:600px){.registration-contact-grid{grid-template-columns:1fr}.registration-request-header{padding:1rem}.registration-status{width:100%}.registration-request-actions .button,.registration-notice .button{flex:1 1 100%}.registration-filter{padding:1rem}}
.date-control{position:relative;display:block;width:100%;min-width:0}.date-control .date-display{padding-right:41px;font-variant-numeric:tabular-nums}.date-picker-button{position:absolute;right:1px;top:1px;bottom:1px;width:36px;display:grid;place-items:center;border:0;border-radius:0 6px 6px 0;background:transparent;color:var(--muted)}.date-picker-button:hover{background:var(--green-soft);color:var(--green)}.date-picker-button svg{width:16px;height:16px}.filters>.date-control{flex:1;max-width:180px}
@media(max-width:600px){.filters>.date-control{max-width:none}.date-picker-button{width:36px}.date-control .date-display{padding-right:40px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.sidebar{height:100dvh}.sidebar>.brand,.sidebar>.nav-label{flex-shrink:0}.sidebar>nav{overflow-y:auto;min-height:0;scrollbar-width:thin}.sidebar-bottom{flex-shrink:0;padding-top:16px}.sidebar-note svg{height:13px;width:13px;vertical-align:-2px;margin-right:4px}
@media(max-height:850px){.sidebar-note{display:none}.sidebar-bottom{padding-top:10px}.user-box{padding-top:15px}.sidebar>.brand{padding-bottom:22px}}


/* Readable text sizes, mouse targets and layouts for narrow/square screens. */
html[data-text-size="normal"]{font-size:16px}
html[data-text-size="large"]{font-size:20px}
html[data-text-size="extra"]{font-size:24px}
body{font-size:1rem;line-height:1.5}
button,input,select,textarea{line-height:1.4}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #195b43;outline-offset:3px}
.page-title{font-size:1.875rem;line-height:1.25}
.page-subtitle,.input,.select,textarea,.button,.card-title,.cell-title,.queue-main h3,.form-label,.detail-value,.section-title,.form-section,.user-name{font-size:1rem}
.small-text,.card-subtitle,.kpi-note,.cell-meta,.table-footer,.badge,.product-tag,.day-name,.day-orders,.detail-label,.timeline-time,.field small,.user-role,.order-number,.number-pair,.pending-tag,.batch-warning,.connection-pill{font-size:.875rem}
.page-subtitle,.card-subtitle,.cell-meta,.kpi-note,.day-orders,.detail-label,.field small{color:#526358}
.button,.button.small,.nav-button,.table-button{min-height:44px;padding:.625rem .875rem;line-height:1.35;white-space:normal;text-align:center}
.nav-button{text-align:left;font-size:1rem}
.icon-button,.topbar-right>.icon-button{width:44px;height:44px;min-height:44px;flex-shrink:0}
.icon-button svg,.button svg{width:1.125rem;height:1.125rem}
.input,.select,textarea,.filters .input,.filters .select{font-size:1rem;min-height:44px;padding:.625rem .75rem;line-height:1.4}
.input::placeholder,textarea::placeholder{color:#5f6e64;opacity:1}
textarea{min-height:6rem}
.search-field .input{font-size:1rem;min-height:44px;padding-left:2.25rem}
.search-field svg{top:calc(50% - 8px);left:.75rem;width:16px;height:16px}
.filters .input,.filters .select,.filters>.date-control{max-width:18rem}
.date-control .date-display{padding-right:3rem}
.date-picker-button{width:44px;min-height:42px;color:#526358}
.date-native{width:1px;height:1px;min-height:0;padding:0;border:0}
.checkbox-row{font-size:1rem;align-items:flex-start}
.checkbox-row input{width:1.25rem;height:1.25rem;min-width:20px;min-height:20px;margin-top:.15rem}
.page-header{flex-wrap:wrap;align-items:flex-start}
.page-actions{flex-wrap:wrap;max-width:100%}
.page-actions .button.secondary{display:inline-flex}
.card-header{flex-wrap:wrap;align-items:flex-start}
.data-table th{font-size:.875rem;letter-spacing:.03em;color:#4f6256}
.data-table td{font-size:1rem;color:#3e5145}
.cell-meta{white-space:normal;max-width:none;line-height:1.45}
.table-footer{gap:.75rem;flex-wrap:wrap}
.badge{line-height:1.4;white-space:normal}
.badge.new{color:#765619}.badge.confirmed,.badge.planned{color:#466330}.badge.running{color:#385f8c}.badge.ready{color:#315e43}.badge.shipped{color:#664884}.badge.closed{color:#435640}.badge.cancelled{color:#7f4034}
.kpi-label{font-size:1rem;max-width:calc(100% - 2.5rem)}
.kpi-card{min-height:10rem;height:auto}
.kpi-value{font-size:2rem;overflow-wrap:anywhere}
.kpi-note{display:block;line-height:1.5}
.queue-card{display:grid;grid-template-columns:1.75rem minmax(0,1fr) auto;align-items:start;gap:.75rem;padding:1rem}
.queue-main h3{font-weight:650;line-height:1.45;overflow-wrap:anywhere}
.queue-main p{font-size:1rem;line-height:1.55;color:#4f6256}
.queue-index{font-size:1rem;color:#526358;padding-top:.125rem}
.queue-side{max-width:13rem;font-size:1.125rem}
.queue-actions{grid-column:2/-1;padding:0;margin-top:.25rem;justify-content:flex-start;gap:.5rem}
.queue-actions .button{font-size:1rem;flex:0 1 auto}
.notice,.note-block,.outbox-item p,.empty-state,.pending-banner,.form-error,.toast,.timeline-item{font-size:1rem;line-height:1.55}
.outbox-item h3{font-size:1.125rem}
.inline-actions{gap:.625rem}
.brand-mark{font-size:35px}.brand-mark span{font-size:23px}.brand-name{font-size:25px}.brand-caption{font-size:12px;line-height:1.35}
.sidebar{width:248px;height:100dvh;padding:22px 14px 16px}
.sidebar>.brand{padding:0 8px 20px}
.sidebar>.brand>div:last-child{min-width:0}
.sidebar>.nav-label{padding-top:5px;font-size:.875rem;letter-spacing:.04em}
.sidebar>nav{flex:1 1 auto;min-height:0;overflow-y:auto}
.sidebar-bottom{margin-top:0;padding-top:.75rem;background:white;flex-shrink:0}
.sidebar-note{display:none}
.user-box{padding:12px 4px 0;gap:8px;min-width:0}
.user-box>div:nth-child(2){min-width:0;overflow-wrap:anywhere}
.user-box .icon-button{margin-left:auto}
.avatar{width:36px;height:36px;font-size:.875rem}
.workspace{margin-left:248px;width:calc(100% - 248px)}
.topbar{height:auto;min-height:80px;padding:14px 24px;flex-wrap:wrap;gap:1rem}
.breadcrumb{font-size:1rem;min-width:0;flex-wrap:wrap;gap:.625rem;color:#526358}
.breadcrumb strong{font-weight:600;line-height:1.4}
.topbar-right{flex-wrap:wrap;gap:.75rem;justify-content:flex-end}
.text-size-control{display:flex;align-items:center;gap:.5rem;white-space:nowrap;color:#354e3e;font-size:.875rem}
.text-size-control .select{width:10.75rem;font-size:.875rem;min-height:44px;padding:.5rem .625rem}
.login-text-size{display:flex;justify-content:flex-end;margin-bottom:1.5rem}
.plan-calendar{padding:1rem;overflow:visible;margin-bottom:1.5rem}
.plan-navigation{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}
.plan-range{font-size:1.25rem;font-weight:650;line-height:1.4;letter-spacing:-.02em}
.plan-period-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.plan-period-actions .button{min-width:6.5rem}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.5rem;overflow:visible;padding:0;margin:0}
.day-card{padding:.625rem .4rem;min-width:0;min-height:8.25rem;text-align:center;line-height:1.4;overflow-wrap:anywhere;border:2px solid #c9d4c9;border-radius:10px}
.day-card:hover{border-color:#567a58;background:#f0f6ec}
.day-card.selected{border-color:#195b43;background:#e4f0df;box-shadow:inset 0 0 0 1px #195b43}
.day-name{color:#405b45;font-weight:650;letter-spacing:.03em}
.day-number{font-size:1.5rem;color:#243f2d;line-height:1.2;margin:.35rem 0}
.day-weight{font-size:1rem;color:#354e3a;font-weight:600}
.day-orders{font-size:.875rem;line-height:1.45;margin-top:.25rem}
.day-today-label{display:block;font-size:.875rem;color:#195b43;font-weight:650;margin-top:.25rem}
.plan-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1rem;width:100%}
.plan-filters>.field,.plan-filters>label{flex:1 1 13rem;max-width:20rem;min-width:0}
.plan-filters .date-control,.plan-filters .select,.plan-filters .input{max-width:none}
.plan-filters .form-label{font-size:1rem;font-weight:600;color:#354e3e}
.plan-day-navigation{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.plan-day-navigation .button{min-width:10rem}
.modal{width:52rem;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:hidden}
.modal[open]{display:flex;flex-direction:column}
.modal>form{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;max-height:calc(100dvh - 32px)}
.modal-header,.modal-footer{flex-shrink:0;flex-wrap:wrap;padding:1rem 1.25rem}
.modal-title{font-size:1.375rem;line-height:1.35}
.modal-close{width:44px;height:44px;flex-shrink:0;font-size:1.5rem;color:#435b48}
.modal-body{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;padding:1.25rem}
.modal-footer .button{min-width:7rem}
.form-grid,.field-row{gap:1rem}
.detail-value strong{font-size:1.5rem}
.photo-item{width:8rem}.photo-item img{height:6rem}.photo-item span{font-size:.875rem}
.login-card{max-width:30rem}.login-card>p,.login-story>p{font-size:1rem;color:#526358}.login-form .button{font-size:1rem}
html[data-text-size="large"] .calendar-grid,html[data-text-size="extra"] .calendar-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
html[data-text-size="large"] .sidebar .brand-caption,html[data-text-size="extra"] .sidebar .brand-caption{display:none}
html[data-text-size="extra"] .form-grid,html[data-text-size="extra"] .field-row{grid-template-columns:1fr}
html[data-text-size="extra"] .field-row .field:last-child:nth-child(3){grid-column:auto}
@media(max-width:1280px){.content-grid{grid-template-columns:1fr}.aside-card{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.aside-card .card+.card{margin-top:0}.topbar-date{display:none}.breadcrumb-root{display:none}.split-grid{grid-template-columns:1fr}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page{padding:24px}}
@media(max-width:1024px){.topbar{padding:12px 20px}.topbar-right{gap:.5rem}.page{padding:22px 20px}.plan-period-actions{width:100%}.plan-period-actions .button{flex:1 1 8rem}.plan-range{font-size:1.25rem}}
@media(max-width:800px){.sidebar{width:248px;max-width:calc(100vw - 32px)}.workspace{margin-left:0;width:100%}.topbar{padding:12px 16px;gap:.75rem}.breadcrumb{flex:1 1 100%}.topbar-right{width:100%;justify-content:space-between}.text-size-control{flex:1;max-width:20rem}.text-size-control .select{flex:1;min-width:0;width:auto}.calendar-grid,html[data-text-size="large"] .calendar-grid,html[data-text-size="extra"] .calendar-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.page{padding:20px 16px 48px}.page-header{gap:1rem}.page-actions{flex-shrink:1}.aside-card{display:flex;flex-direction:column}.aside-card>.card{width:100%}.form-grid{grid-template-columns:1fr}.login-layout{display:flex;flex-direction:column}.login-story{min-height:190px;padding:90px 28px 24px}.login-story .brand{left:28px;top:20px}.login-story>p,.login-feature-list{display:none}.login-story h1{font-size:1.875rem;max-width:none}.login-panel{padding:28px;align-items:flex-start}.login-card{max-width:34rem}.login-text-size{justify-content:flex-start}}
@media(max-width:600px){.calendar-grid,html[data-text-size="large"] .calendar-grid,html[data-text-size="extra"] .calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-calendar{padding:.75rem}.day-card{min-height:7.75rem;padding:.75rem}.plan-period-actions{gap:.5rem}.plan-period-actions .button{flex:1 1 100%}.plan-day-navigation{width:100%}.plan-day-navigation .button{flex:1 1 100%}.plan-filters>.field,.plan-filters>label{max-width:none;flex-basis:100%}.queue-card{grid-template-columns:1.5rem minmax(0,1fr);gap:.5rem}.queue-main{grid-column:2}.queue-side{grid-column:2;max-width:none;flex-direction:row;align-items:center;justify-content:flex-start;gap:.75rem;flex-wrap:wrap;text-align:left}.queue-actions{grid-column:2;display:flex;flex-wrap:wrap;padding:0;width:100%}.queue-actions .button{flex:1 1 100%}.page-title{font-size:1.75rem}.page-actions .button{font-size:1rem;padding:.625rem .875rem}.page-actions{width:100%}.page-actions>.button{flex:1}.kpi-card{padding:1rem;min-height:10rem}.kpi-label{max-width:100%;padding-right:2rem}.kpi-value{font-size:1.75rem}.kpi-note{font-size:.875rem}.filters>.date-control{max-width:none}.field-row{grid-template-columns:1fr}.field-row .field:last-child:nth-child(3){grid-column:auto}.modal{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.modal>form{max-height:calc(100dvh - 16px)}.modal-header,.modal-footer,.modal-body{padding:1rem}.modal-footer .button{flex:1 1 7rem}.detail-grid{grid-template-columns:1fr}.notice{font-size:1rem}.outbox-item{flex-direction:column}.connection-pill{font-size:.875rem}.topbar-right>.icon-button{width:44px;height:44px;min-height:44px}.brand-caption{display:none}}

.day-card .day-name,.day-card .day-number,.day-card .day-weight,.day-card .day-orders{display:block}
.day-selected-label{display:block;font-size:.875rem;line-height:1.4;font-weight:700;color:#195b43;margin-top:.25rem}
.plan-calendar-help{margin:.875rem 0 0;font-size:.875rem;line-height:1.5;color:#4f6256}
.day-card{display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.nav-button span{min-width:0;overflow-wrap:anywhere}
.topbar .mobile-menu{display:none}
@media(max-width:800px){.topbar .mobile-menu{display:inline-flex}}

/* Order status stays with the order identity, including narrow cards and large text. */
.order-state-request{--order-state-color:#8a4b00}
.order-state-confirmed{--order-state-color:#3556a8}
.order-state-planned{--order-state-color:#52518a}
.order-state-in_progress{--order-state-color:#075daf}
.order-state-ready{--order-state-color:#0a6a43}
.order-state-shipped{--order-state-color:#6f3fa5}
.order-state-received{--order-state-color:#086c75}
.order-state-closed{--order-state-color:#35483d}
.order-state-cancelled{--order-state-color:#a52f32}
.order-status-stack{display:flex;flex-direction:column;align-items:flex-start;gap:.4rem;max-width:100%;min-width:0;width:max-content;vertical-align:top}
.order-status{--status-background:#40564a;display:inline-flex;align-items:center;gap:.625rem;max-width:100%;min-width:0;min-height:3.25rem;padding:.625rem .875rem;border:2px solid transparent;border-radius:.625rem;background:var(--status-background);color:#fff;text-align:left;white-space:normal;overflow-wrap:anywhere;box-shadow:0 2px 0 #17332415}
.order-status.status-request{--status-background:#8a4b00}
.order-status.status-confirmed{--status-background:#3556a8}
.order-status.status-planned{--status-background:#52518a}
.order-status.status-in_progress{--status-background:#075daf}
.order-status.status-ready{--status-background:#0a6a43}
.order-status.status-shipped{--status-background:#6f3fa5}
.order-status.status-received{--status-background:#086c75}
.order-status.status-closed{--status-background:#35483d}
.order-status.status-cancelled{--status-background:#a52f32}
.order-status>svg{width:1.5rem;height:1.5rem;flex-shrink:0;stroke-width:2}
.order-status-text{display:block;min-width:0}
.order-status-caption{display:block;font-size:.875rem;line-height:1.25;font-weight:500;letter-spacing:0;color:inherit}
.order-status-label{display:block;font-size:1rem;line-height:1.35;font-weight:750;color:inherit;white-space:normal;overflow-wrap:anywhere}
.order-status-pending{display:block;max-width:100%;padding:.45rem .625rem;border:2px solid #b87900;border-radius:.5rem;background:#fff2c6;color:#714900;font-size:.875rem;line-height:1.4;font-weight:650;white-space:normal;overflow-wrap:anywhere}
.queue-order-heading{display:flex;flex-direction:column;align-items:flex-start;gap:.625rem;margin-bottom:.75rem;min-width:0;max-width:100%}
.queue-order-heading h3{margin:0}
.queue-order-heading .order-status-stack{width:100%}
.queue-order-heading .order-status{width:100%}
.queue-card[class*="order-state-"]{border-top:3px solid var(--order-state-color,#647b6c)}
.queue-card.order-state-in_progress{background:#f2f7fd}
.queue-side{min-width:0;max-width:11rem;overflow-wrap:anywhere}
.queue-side .amount{white-space:normal;overflow-wrap:anywhere}
.delivery-card .queue-main{grid-column:2/-1}
.order-modal-header{align-items:flex-start;gap:1rem}
.order-modal-heading{flex:1 1 0;min-width:0}
.order-modal-heading .order-status-stack{margin-top:.75rem}
.order-modal-heading .eyebrow,.order-modal-heading .modal-title{overflow-wrap:anywhere}
.order-modal-header .modal-close{margin-left:auto;align-self:flex-start}
.order-table-wrap{container:order-list / inline-size;overflow:visible;min-width:0}
.order-table{display:var(--order-table-display,table);width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;white-space:normal}
.order-table thead{display:var(--order-table-head,table-header-group)}
.order-table th:first-child{width:38%}
.order-table tbody{display:var(--order-table-body,table-row-group);gap:1rem;padding:var(--order-table-body-padding,0);min-width:0}
.order-table tbody tr{display:var(--order-table-row,table-row);grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem 1rem;padding:var(--order-table-row-padding,0);border:var(--order-table-row-border,none);border-left:var(--order-table-accent-width,0) solid var(--order-state-color,#647b6c);border-radius:var(--order-table-row-radius,0);min-width:0;background:#fff}
.order-table tbody tr:hover{background:#f6faf7}
.order-table td{display:var(--order-table-cell,table-cell);padding:var(--order-table-cell-padding,1rem);border-bottom:var(--order-table-divider,1px solid #e1e8e0);vertical-align:top;white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%}
.order-table td:first-child{padding-left:var(--order-table-summary-padding,1.25rem)}
.order-table .order-summary-cell{grid-column:1/-1;width:var(--order-table-summary-width,38%)}
.order-table .order-cell{align-items:flex-start;min-width:0;margin-bottom:.75rem}
.order-table .order-cell>div:last-child{min-width:0}
.order-table .cell-title{font-size:1.125rem;font-weight:700;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.order-table .cell-meta{overflow:visible;text-overflow:clip;white-space:normal}
.order-table .order-summary-cell>.order-status-stack{width:100%}
.order-table .order-summary-cell>.order-status-stack>.order-status{width:100%}
.order-table .amount{white-space:normal}
.order-table td[data-label]::before{display:var(--order-table-labels,none);content:attr(data-label);margin-bottom:.3rem;color:#526358;font-size:.875rem;line-height:1.4;font-weight:650}
.order-table .order-summary-cell::before{display:none}
@container order-list (max-width:60rem){
  .order-table{--order-table-display:block;--order-table-head:none;--order-table-body:grid;--order-table-body-padding:1rem;--order-table-row:grid;--order-table-row-padding:1rem;--order-table-row-border:1px solid #cdd8cd;--order-table-accent-width:.375rem;--order-table-row-radius:.75rem;--order-table-cell:block;--order-table-cell-padding:0;--order-table-summary-padding:0;--order-table-summary-width:auto;--order-table-divider:0;--order-table-labels:block}
}
@media(max-width:1280px){
  .order-table{--order-table-display:block;--order-table-head:none;--order-table-body:grid;--order-table-body-padding:1rem;--order-table-row:grid;--order-table-row-padding:1rem;--order-table-row-border:1px solid #cdd8cd;--order-table-accent-width:.375rem;--order-table-row-radius:.75rem;--order-table-cell:block;--order-table-cell-padding:0;--order-table-summary-padding:0;--order-table-summary-width:auto;--order-table-divider:0;--order-table-labels:block}
}
html[data-text-size="large"] .order-table,html[data-text-size="extra"] .order-table{--order-table-display:block;--order-table-head:none;--order-table-body:grid;--order-table-body-padding:1rem;--order-table-row:grid;--order-table-row-padding:1rem;--order-table-row-border:1px solid #cdd8cd;--order-table-accent-width:.375rem;--order-table-row-radius:.75rem;--order-table-cell:block;--order-table-cell-padding:0;--order-table-summary-padding:0;--order-table-summary-width:auto;--order-table-divider:0;--order-table-labels:block}
@media(max-width:600px){
  .order-table tbody{padding:.75rem;gap:.75rem}
  .order-table tbody tr{grid-template-columns:1fr;padding:.875rem;gap:.875rem}
  .order-table .order-summary-cell{grid-column:auto}
  .order-table .order-cell{gap:.625rem}
  .order-table .order-icon{display:none}
  .order-table .order-status,.queue-order-heading .order-status{width:100%;padding:.625rem}
  .order-table .order-status>svg,.queue-order-heading .order-status>svg{width:1.25rem;height:1.25rem}
  .order-modal-header{gap:.625rem}
}
html[data-text-size="extra"] .order-table tbody tr{grid-template-columns:1fr}
html[data-text-size="extra"] .order-table .order-summary-cell{grid-column:auto}

/* Put the next useful action before the order details. */
.next-step{margin-bottom:1.5rem;padding:1rem 1.125rem;border:1px solid #b8d0bd;border-left:5px solid #195b43;border-radius:.75rem;background:#f0f7f0;min-width:0;overflow-wrap:anywhere}
.next-step h3{margin:0;color:#244d35;font-size:1.125rem;line-height:1.4;font-weight:750}
.next-step p{margin:.5rem 0 0;color:#3c5442;font-size:1rem;line-height:1.55}
.next-step.ready{background:#edf7ef;border-color:#a6c8ae;border-left-color:#195b43}
.next-step.warning{background:#fff8e8;border-color:#dfc58c;border-left-color:#986409}
.next-step.warning h3{color:#714b0a}
.next-step-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.625rem;margin-top:1rem;min-width:0}
.next-step-actions .button{max-width:100%;min-height:44px;white-space:normal;text-align:center;overflow-wrap:anywhere}
.next-step-actions .button.primary{font-weight:750;padding:.75rem 1rem;min-width:min(100%,14rem)}
.next-step-checklist{display:grid;gap:.5rem;margin:.75rem 0 0;padding-left:1.25rem;color:#5c4a28;font-size:1rem;line-height:1.5}
.next-step-checklist li{padding-left:.125rem;overflow-wrap:anywhere}

/* All operational records stay readable within their own available width. */
.table-wrap.record-table-wrap{container:record-list / inline-size;overflow:visible;min-width:0}
.data-table.record-table{display:var(--record-table-display,table);width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;white-space:normal}
.record-table thead{display:var(--record-table-head,table-header-group)}
.record-table th{white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.record-table tbody{display:var(--record-table-body,table-row-group);gap:1rem;padding:var(--record-table-body-padding,0);min-width:0}
.record-table tbody tr{display:var(--record-table-row,table-row);grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:var(--record-table-row-padding,0);border:var(--record-table-row-border,none);border-radius:var(--record-table-row-radius,0);min-width:0;background:#fff}
.record-table tbody tr:hover{background:#f7faf6}
.record-table td{display:var(--record-table-cell,table-cell);padding:var(--record-table-cell-padding,1rem);border-bottom:var(--record-table-divider,1px solid #e1e8e0);vertical-align:top;white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%;line-height:1.5}
.record-table td:first-child{padding-left:var(--record-table-summary-padding,1.25rem)}
.record-table .record-summary-cell,.record-table .record-actions-cell,.record-table td[colspan]{grid-column:1/-1}
.record-table .record-summary-cell .cell-title{font-size:1.125rem;font-weight:700;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.record-table .cell-meta{white-space:normal;overflow:visible;text-overflow:clip;max-width:none}
.record-table td.record-metric,.record-table .record-metric{color:#243f2d;font-size:1.125rem;font-weight:700;line-height:1.45}
.record-table .amount{white-space:normal;overflow-wrap:anywhere}
.record-table .record-actions-cell .inline-actions{flex-wrap:wrap;justify-content:flex-start;gap:.625rem}
.record-table .record-actions-cell .button{max-width:100%;min-height:44px;white-space:normal;text-align:center;overflow-wrap:anywhere}
.record-table td[data-label]::before{display:var(--record-table-labels,none);content:attr(data-label);margin-bottom:.375rem;color:#526358;font-size:.875rem;line-height:1.4;font-weight:600}
.record-table td.record-summary-cell::before,.record-table td.record-actions-cell::before,.record-table td[colspan]::before{display:none}
@container record-list (max-width:65rem){
  .record-table{--record-table-display:block;--record-table-head:none;--record-table-body:grid;--record-table-body-padding:1rem;--record-table-row:grid;--record-table-row-padding:1rem;--record-table-row-border:1px solid #cbd7cb;--record-table-row-radius:.75rem;--record-table-cell:block;--record-table-cell-padding:0;--record-table-summary-padding:0;--record-table-divider:0;--record-table-labels:block}
}
@media(max-width:1280px){
  .record-table{--record-table-display:block;--record-table-head:none;--record-table-body:grid;--record-table-body-padding:1rem;--record-table-row:grid;--record-table-row-padding:1rem;--record-table-row-border:1px solid #cbd7cb;--record-table-row-radius:.75rem;--record-table-cell:block;--record-table-cell-padding:0;--record-table-summary-padding:0;--record-table-divider:0;--record-table-labels:block}
}
html[data-text-size="large"] .record-table,html[data-text-size="extra"] .record-table{--record-table-display:block;--record-table-head:none;--record-table-body:grid;--record-table-body-padding:1rem;--record-table-row:grid;--record-table-row-padding:1rem;--record-table-row-border:1px solid #cbd7cb;--record-table-row-radius:.75rem;--record-table-cell:block;--record-table-cell-padding:0;--record-table-summary-padding:0;--record-table-divider:0;--record-table-labels:block}

/* Show the result of entered weights before saving the shift. */
.production-preview{margin-top:1rem;padding:1rem;border:1px solid #c4d5c4;border-radius:.75rem;background:#f2f7ef;min-width:0;overflow-wrap:anywhere}
.production-preview h3{margin:0 0 .75rem;color:#294b32;font-size:1.125rem;font-weight:700;line-height:1.4}
.production-preview>p{color:#4f6256;font-size:1rem;line-height:1.5}
.preview-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;min-width:0}
.preview-metric{padding:.875rem;border:1px solid #d3dfcf;border-radius:.625rem;background:#fff;min-width:0;overflow-wrap:anywhere}
.preview-metric span,.preview-metric label{display:block;color:#526358;font-size:.875rem;font-weight:500;line-height:1.4}
.preview-metric strong{display:block;margin-top:.375rem;color:#243f2d;font-size:1.375rem;line-height:1.35;font-weight:750}
.preview-warning{margin:.75rem 0 0;padding:.75rem;border:1px solid #dcc48d;border-radius:.5rem;background:#fff6dc;color:#71500f;font-size:1rem;line-height:1.5}

/* Make stock uncertainty and synchronization problems explicit. */
.lot-state-note{display:block;margin-top:.5rem;color:#526358;font-size:1rem;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.lot-state-note.warning{padding:.5rem .625rem;border:1px solid #dfc38d;border-radius:.5rem;background:#fff5da;color:#71500f}
.lot-state-note strong{color:inherit}
.sync-summary{display:flex;flex-wrap:wrap;align-items:stretch;gap:.75rem;margin-bottom:1rem;min-width:0}
.sync-summary>p{flex-basis:100%;font-size:1rem;line-height:1.5;color:#4f6256}
.sync-state{display:inline-flex;align-items:center;flex-wrap:wrap;gap:.5rem;padding:.75rem 1rem;border:1px solid #c6d7c8;border-radius:.625rem;background:#eff7ef;color:#244d35;font-size:1rem;font-weight:600;line-height:1.5;max-width:100%;overflow-wrap:anywhere}
.sync-state strong{font-size:1.375rem;line-height:1.25;color:inherit}
.sync-state.waiting{background:#f1f5fa;border-color:#bfcfdf;color:#365779}
.sync-state.problem,.sync-state.warning{background:#fff5df;border-color:#dcc08a;color:#79500d}
.sync-state.error{background:#fff0ed;border-color:#d7a99f;color:#923d33}
.form-error{border:1px solid #dfb5ac;scroll-margin-block:1rem;overflow-wrap:anywhere}
.form-error:focus{outline:none;border-color:#a34538;box-shadow:0 0 0 3px #a3453826}
#modal-error:focus{outline:none}
#modal-error:focus .form-error{border-color:#a34538;box-shadow:0 0 0 3px #a3453826}
.modal-footer .button.primary{font-weight:750}
.button.primary:focus-visible{outline:3px solid #173e2a;outline-offset:3px}
@media(max-width:600px){
  .next-step{padding:.875rem;margin-bottom:1.25rem}
  .next-step-actions{align-items:stretch}
  .next-step-actions .button{flex:1 1 100%;width:100%}
  .record-table tbody{padding:.75rem;gap:.75rem}
  .record-table tbody tr{grid-template-columns:1fr;padding:.875rem;gap:.875rem}
  .record-table .record-actions-cell .inline-actions{flex-direction:column;align-items:stretch}
  .record-table .record-actions-cell .button{width:100%}
  .preview-metrics{grid-template-columns:1fr}
  .production-preview{padding:.875rem}
  .sync-summary{flex-direction:column}
}
html[data-text-size="extra"] .record-table tbody tr,html[data-text-size="extra"] .preview-metrics{grid-template-columns:1fr}
.route-controls{display:flex;align-items:center;flex-wrap:wrap;gap:.625rem;min-width:0;max-width:100%}
.detail-grid .route-controls{margin-top:.75rem}
.route-button{text-decoration:none;white-space:normal;overflow-wrap:anywhere;max-width:100%}
.route-note{font-size:.875rem;line-height:1.5;color:#526358;margin:.75rem 0;overflow-wrap:anywhere}
.map-destination{font-size:1.125rem;line-height:1.5;font-weight:650;overflow-wrap:anywhere;margin:.375rem 0 1rem}
.map-choices{display:grid;gap:.75rem}
.map-choice{display:block;padding:1rem;border:2px solid #bfd1c0;border-radius:.75rem;text-decoration:none;color:#244d35;background:#f1f7ef;min-height:44px;overflow-wrap:anywhere}
.map-choice:hover{background:#e5f0e2;border-color:#195b43}
.map-choice:focus-visible{outline:3px solid #195b43;outline-offset:3px}
.map-choice strong{display:block;font-size:1.125rem;line-height:1.4}
.map-choice span{display:block;margin-top:.375rem;font-size:1rem;line-height:1.5;color:#435b48}
.sync-history>summary{cursor:pointer;padding:1rem 1.25rem;font-size:1rem;font-weight:650;min-height:44px;color:#435b48;line-height:1.5;overflow-wrap:anywhere}
.sync-history>summary:focus-visible{outline:3px solid #195b43;outline-offset:-3px}
@media(max-width:600px){.queue-actions>.route-controls{width:100%}.route-controls{align-items:stretch;width:100%}.route-controls>.button{flex:1 1 100%;width:100%}}

/* Keep routine synchronization status in the header; problems remain actionable. */
.sync-indicator{display:inline-flex;align-items:center;justify-content:flex-start;gap:.5rem;flex:0 1 auto;min-width:0;max-width:min(20rem,100%);min-height:44px;padding:.5rem .75rem;border:1px solid #bed1c0;border-radius:.625rem;background:#eff7ee;color:#245939;font:inherit;text-align:left;text-decoration:none;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.sync-indicator>svg{width:1.125rem;height:1.125rem;flex-shrink:0}
.sync-indicator-text{display:block;min-width:0}
.sync-indicator-text strong{display:block;font-size:.875rem;line-height:1.4;font-weight:650;color:inherit}
.sync-indicator-text small{display:block;margin-top:.125rem;font-size:.75rem;line-height:1.4;font-weight:500;color:inherit}
.sync-indicator.healthy{background:#eff7ee;border-color:#bed1c0;color:#245939}
.sync-indicator.waiting,.sync-indicator.sending{background:#f0f5fb;border-color:#bdcfe1;color:#365779}
.sync-indicator.offline{background:#fff8e8;border-color:#dcc38e;color:#77520d}
.sync-indicator.problem{background:#fff1e5;border-color:#d8aa7a;color:#7b3c17}
button.sync-indicator{cursor:pointer}
button.sync-indicator:hover{border-color:currentColor;box-shadow:0 1px 4px #17332414}
button.sync-indicator:focus-visible{outline:3px solid #195b43;outline-offset:3px}
button.sync-indicator.problem:focus-visible{outline-color:#8a471b}
.sync-alert{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.125rem;margin-bottom:1.25rem;border:1px solid #d8aa7a;border-left:4px solid #98602c;border-radius:.75rem;background:#fff6e9;color:#71421a;font-size:1rem;line-height:1.5;min-width:0;overflow-wrap:anywhere}
.sync-alert>div{flex:1 1 auto;min-width:0}
.sync-alert>svg{width:1.25rem;height:1.25rem;flex-shrink:0}
.sync-alert strong{font-weight:750;color:inherit}
.sync-alert p{margin:.25rem 0 0;color:inherit}
.sync-alert .button{flex-shrink:0;min-height:44px;max-width:100%;white-space:normal;text-align:center}
.sync-screen-actions{flex-wrap:wrap;min-width:0;max-width:100%}
.sync-screen-actions .button{min-height:44px;white-space:normal;overflow-wrap:anywhere}
.sync-record-help{font-size:1rem;line-height:1.5;color:#4f6256;overflow-wrap:anywhere}
.sync-record-help p{margin:.5rem 0 0}
@media(max-width:600px){
  .topbar-right .sync-indicator{max-width:100%;flex-shrink:1}
  .sync-alert{align-items:flex-start;flex-wrap:wrap;padding:.875rem;gap:.75rem}
  .sync-alert>div{flex:1 1 calc(100% - 2rem)}
  .sync-alert>.button{flex:1 1 100%;width:100%}
}
@media(prefers-reduced-motion:reduce){.sync-indicator .sync-spinner{animation:none}}

.sync-label-compact{display:none}
.production-position{font-weight:650;line-height:1.5;overflow-wrap:anywhere}
.production-position.assigned{display:inline-flex;padding:.375rem .625rem;border:1px solid #b9cdac;border-radius:.5rem;background:#eef5e7;color:#315f35}
.production-shift-group+.production-shift-group{border-top:1px solid var(--line);padding-top:1.5rem;margin-top:1.5rem}
.production-shift-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}
.production-shift-heading h3{font-size:1.125rem;line-height:1.5;overflow-wrap:anywhere}
.production-shift-heading>span{font-size:1rem;color:#526358;line-height:1.5}
.queue-card.production-queue-card{grid-template-columns:3.25rem minmax(0,1fr) auto}
.production-queue-index{display:flex;flex-direction:column;align-items:center;gap:.2rem;min-width:0;border-radius:.625rem;background:#edf3e6;color:#365f35;padding:.5rem .25rem;text-align:center}
.production-queue-index strong{font-size:1.375rem;line-height:1.25}
.production-queue-index span{font-size:.75rem;line-height:1.5;overflow-wrap:anywhere}
.production-queue-index>svg{width:1.4rem;height:1.4rem}
.queue-main .queue-context{font-size:.875rem;color:#526358}
.production-completed{margin-top:1rem;border-top:1px solid var(--line);padding-top:.5rem}
.production-completed>summary{display:list-item;cursor:pointer;min-height:44px;padding:.75rem 0;font-size:1rem;font-weight:650;line-height:1.5;color:#435f48;overflow-wrap:anywhere}
.production-completed>summary:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.production-completed>p{margin-bottom:1rem;line-height:1.6}
.production-completed .production-queue-index{background:#f1f3ef;color:#61745f}
.plan-placement-section{margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid var(--line);min-width:0}
#queue-placement-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;margin-bottom:1rem}
.plan-placement-preview{padding:1rem;border:1px solid #bfd1b5;border-left:4px solid #61864e;border-radius:.75rem;background:#f1f6e9;font-size:1rem;line-height:1.6;color:#35583d;overflow-wrap:anywhere}
.plan-placement-preview strong{display:block;font-size:1.125rem;line-height:1.5}
.plan-placement-preview p{margin-top:.5rem}
.plan-placement-preview p.small-text{font-size:.875rem}
.plan-refresh-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:1rem}
.plan-refresh-row>p{flex:1 1 15rem;line-height:1.6}
.plan-refresh-row>.button{flex:0 1 auto;max-width:100%}
#queue-refresh-note{line-height:1.6;margin-top:.75rem;overflow-wrap:anywhere;color:#526358}
#queue-refresh-note.plan-refresh-error{color:#993c32}
@media(max-width:600px){.queue-card.production-queue-card{grid-template-columns:2.5rem minmax(0,1fr)}.production-queue-index{padding:.5rem .125rem}.production-queue-index strong{font-size:1.15rem}.production-queue-index span{font-size:.7rem}.production-queue-card .queue-main{grid-column:2}.production-queue-card .queue-side,.production-queue-card .queue-actions{grid-column:2}.production-shift-heading{gap:.5rem}.plan-refresh-row>.button{width:100%;flex:1 1 100%}}
@media(max-width:600px){.sync-label-full{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sync-label-compact{display:inline}.kpi-label{overflow-wrap:anywhere}}
/* Personal-data and local device controls share the existing card/form system. */
.device-privacy-card{margin-bottom:24px}
.device-privacy-card .card-body>p,.privacy-intro p,.privacy-case p{line-height:1.65;overflow-wrap:anywhere}
.device-privacy-card .inline-actions,.privacy-intro .inline-actions{flex-wrap:wrap;gap:12px;margin:20px 0}
.device-privacy-card .inline-actions>.button{white-space:normal;text-align:center;min-height:44px}
.device-unlock{margin:auto;max-width:600px}
.device-unlock>p{line-height:1.65}
.device-unlock>.button{margin-top:16px;white-space:normal}
.device-unlock .auth-form .button{white-space:normal;line-height:1.5}
.device-unlock [role=alert]:not(:empty){padding:14px;margin:16px 0;border-radius:10px;background:var(--danger-soft,#fff0ee);color:var(--danger,#a72f2f);line-height:1.6}
.auth-privacy-link{margin:24px 0 0;text-align:center;font-size:.875rem;line-height:1.6}
.auth-privacy-link a{color:var(--muted,#66756b);text-underline-offset:3px}
.privacy-intro{margin-bottom:24px}.privacy-intro .button{white-space:normal}
.privacy-clock{line-height:1.6;margin:20px 0}.privacy-cases{display:grid;gap:20px}
.privacy-case .card-header{flex-wrap:wrap;gap:12px}.privacy-case .card-title{line-height:1.5}
.privacy-case .note-block{white-space:pre-wrap;overflow-wrap:anywhere;margin:16px 0}
.privacy-case .card-body>.button{white-space:normal;margin-top:16px}
.privacy-readiness{margin-bottom:24px}.privacy-blockers{padding-left:24px;line-height:1.7}
.privacy-blockers li+li{margin-top:8px}.privacy-checks{margin:20px 0 0}
.privacy-checks>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--line,#e5ebe5)}
.privacy-checks dt{font-weight:600}.privacy-checks dd{margin:0;overflow-wrap:anywhere}
.stock-lot-actions{display:flex;flex-wrap:wrap;gap:8px}.stock-lot-actions .button{white-space:normal;min-height:44px}
@media(max-width:650px){.device-privacy-card .inline-actions{display:grid}.device-privacy-card .inline-actions>.button{width:100%}.privacy-intro .inline-actions{display:grid}.privacy-intro .button{width:100%;text-align:center}.privacy-checks>div{grid-template-columns:1fr;gap:6px}.device-unlock{width:100%;padding:24px}.privacy-case .card-header{align-items:flex-start}}
