:root{--paper:#F5F2EE;--ink:#33302E;--muted:#766F6B;--rose:#C24B78;--green:#2F8F66;--orange:#D98A16;--red:#CF4444;--blue:#3E7CB1;--border:#e6ded9;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button,.button{border:1px solid var(--border);background:white;color:var(--ink);border-radius:10px;padding:11px 15px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px}button:hover,.button:hover{border-color:var(--rose)}button:disabled{opacity:.55;cursor:wait}button.primary,.button.primary{background:var(--rose);border-color:var(--rose);color:#fff}button.danger{color:var(--red)}a{color:var(--blue)}input,select,textarea{width:100%;min-height:44px;border:1px solid #d9cec8;border-radius:9px;padding:10px 12px;background:#fff;color:var(--ink);max-width:100%}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #c24b783b;outline-offset:2px}input[type=checkbox]{width:19px;height:19px;min-height:0;accent-color:var(--rose);flex:0 0 auto}label{display:grid;gap:7px;font-weight:600}fieldset{border:0;padding:0;margin:0;min-width:0}legend{font-weight:700;margin:0 0 10px}h1{font-size:24px;line-height:1.4;margin:0 0 10px}h2{font-size:18px;margin:0 0 12px}h3{font-size:15px;margin:0 0 8px}p{line-height:1.65;margin:8px 0}small,.muted{color:var(--muted);line-height:1.6}small{display:block}.brand{font-size:15px;letter-spacing:.08em;font-weight:700}.eyebrow{font-size:12px;color:var(--rose);letter-spacing:.12em;font-weight:700;margin-bottom:10px}.topbar{position:sticky;top:0;z-index:5;background:#f5f2eef5;border-bottom:1px solid var(--border);padding:12px max(18px,calc((100% - 1000px)/2));display:flex;align-items:center;justify-content:space-between;gap:12px}.topbar button{white-space:nowrap;padding:8px 12px}.workspace{max-width:1036px;margin:auto;padding:24px 18px calc(100px + env(safe-area-inset-bottom))}.auth{max-width:440px;margin:8vh auto;padding:28px 24px}.auth-brand{padding:0 0 24px}.auth .card{padding:24px}.card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px;margin-bottom:16px;min-width:0;overflow-wrap:anywhere}.form-stack{display:grid;gap:16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.span-all{grid-column:1/-1}.error{color:var(--red);white-space:pre-line;line-height:1.6;margin:0}.error:empty{display:none}.notice{padding:12px 14px;background:#edf5fb;border:1px solid #d4e4f3;color:#285f89;border-radius:10px;margin:0 0 16px;line-height:1.6}.warning{background:#fff7e9;border-color:#f0ddb8;color:#8b5c15}.success{background:#edf7f1;border-color:#cfe6d9;color:var(--green)}.chips{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}.chip{display:inline-block;padding:5px 9px;border-radius:7px;background:#f6edf1;color:#9d345b;font-size:12px}.chip.green{background:#edf7f1;color:var(--green)}.chip.orange{background:#fff7e9;color:#a9670d}.chip.blue{background:#edf5fb;color:var(--blue)}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tile{text-align:left;align-items:flex-start;flex-direction:column;padding:18px;background:#fff;border-radius:14px;min-width:0}.tile strong{font-size:16px}.tile small{font-weight:400}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.page-head p{color:var(--muted)}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.bottom-nav{position:fixed;bottom:0;z-index:6;left:0;right:0;display:flex;justify-content:center;background:#fffffff7;border-top:1px solid var(--border);padding:8px 8px calc(8px + env(safe-area-inset-bottom));gap:4px}.bottom-nav button{background:transparent;border:0;border-radius:9px;flex:1;max-width:150px;padding:10px 5px;color:var(--muted)}.bottom-nav button[aria-current=page]{color:var(--rose);background:#f6edf1;font-weight:700}.empty{text-align:center;padding:28px 16px;color:var(--muted)}.query{display:flex;gap:8px}.query input{flex:1;min-width:0}.query button{white-space:nowrap}.data-list{list-style:none;padding:0;margin:0}.data-list>li{border-top:1px solid var(--border);padding:13px 0}.data-list>li:first-child{border-top:0}.data-list p{margin:4px 0}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0}.metric-grid div{background:var(--paper);border-radius:9px;padding:10px}.metric-grid strong{display:block;font-size:22px;margin:5px 0}.record{border-top:1px solid var(--border);padding:12px 0}.record .card{margin:10px 0 0}.product-head{display:flex;gap:14px;align-items:center}.product-head img{width:76px;height:76px;border-radius:10px;object-fit:cover;background:var(--paper)}.check-row{display:flex;align-items:center;gap:10px;font-weight:400;padding:10px;background:var(--paper);border-radius:8px}.role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.permission-row{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:12px;align-items:center;border-top:1px solid var(--border);padding:10px 0}.permission-row label{font-weight:400}.permission-row small{margin-top:4px}.account-row{display:flex;gap:12px;align-items:center;justify-content:space-between}.account-row>div{min-width:0}.account-row button{flex:0 0 auto}.scopes{display:grid;gap:10px;margin-top:14px}.scopes label{font-weight:400}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}details>summary{cursor:pointer;min-height:40px;padding:10px 0;color:var(--blue)}.list-key{color:var(--muted);display:inline-block;min-width:78px}.permission-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding-left:20px;gap:8px}.auth-footer{text-align:center;margin-top:20px}.auth-footer a{font-size:13px}.inline-error{margin-top:12px}.scope-value{word-break:break-all}.loader{padding:20px;text-align:center;color:var(--muted)}@media(max-width:620px){.workspace{padding-top:20px}.auth{margin:3vh auto;padding:20px 16px}.auth .card{padding:20px}.form-grid{grid-template-columns:1fr}.role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid{gap:10px}.tile{padding:15px}.page-head{gap:10px}.page-head h1{font-size:23px}.permission-row{grid-template-columns:minmax(0,1fr) 112px}.permission-list{grid-template-columns:1fr}.card{padding:16px}.topbar{padding:10px 16px}.account-row{align-items:flex-start}.metric-grid div{padding:8px}.metric-grid strong{font-size:20px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Keep desktop previews at phone width, with the same layout on actual phones. */
:root{background:#eae5df}body{width:100%;max-width:430px;min-height:100dvh;margin:0 auto;background:var(--paper);box-shadow:0 0 28px #33302e0a}.workspace{width:100%;max-width:430px;padding:20px 16px calc(100px + env(safe-area-inset-bottom))}.topbar{padding:10px 16px}.topbar>div{flex-shrink:0}.topbar button{white-space:normal;overflow-wrap:anywhere;max-width:65%;text-align:right}.bottom-nav{left:50%;right:auto;transform:translateX(-50%);width:100%;max-width:430px}.auth{margin:0 auto;padding:28px 16px;max-width:430px}.auth .card,.card{padding:16px}.form-grid{grid-template-columns:1fr}.role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.permission-list{grid-template-columns:1fr}.permission-row{grid-template-columns:minmax(0,1fr) 112px}.grid{gap:10px}.tile{padding:15px}.page-head{gap:10px}.account-row{align-items:flex-start}.metric-grid div{padding:8px}.metric-grid strong{font-size:20px}.product-head>div{min-width:0}.product-head img{width:64px;height:64px;flex-shrink:0;object-fit:contain}.record h2{font-size:17px;overflow-wrap:anywhere}

/* Department tabs and compact work lists. */
/* Visual67: rose brand, blue service, amber warehouse, violet production, teal field. */
.ui-icon{width:24px;height:24px;flex:0 0 auto;vertical-align:middle}.tone-home{--accent:#b74370;--wash:#faeaf1}.tone-service{--accent:#3977a9;--wash:#eaf3fc}.tone-warehouse{--accent:#a76b19;--wash:#fff2dd}.tone-production{--accent:#8051a0;--wash:#f3ecfb}.tone-field{--accent:#277e6a;--wash:#e7f5ef}
#staff-app{--accent:var(--rose);--wash:#faeaf1}#staff-app[data-department=service]{--accent:#3977a9;--wash:#eaf3fc}#staff-app[data-department=warehouse]{--accent:#a76b19;--wash:#fff2dd}#staff-app[data-department=production]{--accent:#8051a0;--wash:#f3ecfb}#staff-app[data-department=field]{--accent:#277e6a;--wash:#e7f5ef}
.section-tabs{display:flex;gap:6px;overflow-x:auto;position:sticky;top:0;z-index:4;background:var(--paper);padding:10px 0;margin:-8px 0 16px}.section-tabs button{white-space:nowrap;flex:1;padding:9px 10px}.section-tabs [aria-current=page]{background:var(--rose);color:white;border-color:var(--rose)}.topbar{position:relative}.compact-record{padding:0!important;overflow:hidden}.compact-record>summary{display:block;list-style:none;padding:16px;color:var(--ink);cursor:pointer}.compact-record>summary::-webkit-details-marker{display:none}.compact-record .grow{flex:1;min-width:0}.compact-record h2{margin:0 0 4px}.compact-record p{margin:3px 0;font-size:14px}.compact-record .product-head{gap:12px}.compact-record .expand-hint{display:block;color:var(--blue);font-size:12px;text-align:right;margin-top:6px}.compact-record[open] .expand-hint{font-size:0}.compact-record[open] .expand-hint::after{content:'收起明细';font-size:12px}.record-detail{border-top:1px solid var(--border);margin:0 16px;padding:14px 0}.order-number{color:var(--muted);font-size:13px!important}.reminder-status:empty{display:none}.reminder-status{background:#edf5fb;color:#285f89;border-radius:8px;padding:10px;font-size:13px}.record-detail .record form{padding-top:10px}.compact-record:focus-within{border-color:var(--rose)}
/* Final component overrides keep the same phone-sized canvas on every screen. */
:root{--border:#ece5e1;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;-webkit-font-smoothing:antialiased}.topbar{background:#fffdfb;border-bottom:0;padding:14px 18px}.topbar .brand{font-size:17px;letter-spacing:.03em}.topbar small{font-size:11px;letter-spacing:.12em}.topbar button{border:0;background:#f5eeed;padding:9px 12px;border-radius:22px;max-width:100px;font-size:12px}.topbar button .ui-icon{width:18px;height:18px}.workspace{padding:14px 16px calc(110px + env(safe-area-inset-bottom))}.bottom-nav{padding:7px 7px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -6px 24px #4b273b06;border-top:1px solid #f0e9e5}.bottom-nav button{flex-direction:column;gap:4px;min-height:58px;padding:6px 2px;border-radius:14px;font-size:11px}.bottom-nav .ui-icon{width:23px;height:23px}.bottom-nav button[aria-current=page]{background:#f9edf2}.section-tabs{margin:-4px -2px 16px;padding:7px 2px 10px;background:var(--paper);gap:6px}.section-tabs button{border:0;border-radius:12px;font-size:13px;padding:10px 7px;gap:5px;box-shadow:0 2px 6px #33302e03}.section-tabs .ui-icon{width:18px;height:18px}.section-tabs [aria-current=page]{background:var(--accent);border-color:var(--accent);box-shadow:0 4px 10px #33302e0c}.page-head{margin:2px 0 16px}.page-head h1{font-size:24px;letter-spacing:.02em}.page-head .eyebrow{font-size:10px;color:var(--accent);margin-bottom:7px}.page-head p{font-size:12px;margin:6px 0;line-height:1.6}.card{border-radius:18px;box-shadow:0 3px 12px #33202e03}.compact-record>summary{padding:15px}.compact-record h2{font-size:16px}.compact-record .expand-hint{color:var(--accent);margin-top:4px}.compact-record .product-head img{width:68px;height:76px;border-radius:10px;background:#f7f4f2;object-fit:contain}.record-detail .product-head img{width:68px;height:76px}.compact-record p{font-size:13px}.compact-record small{font-size:11px}.record-detail{border-top:1px dashed var(--border)}.notice{font-size:12px;line-height:1.65}.chip{padding:4px 8px;border-radius:6px;font-size:11px}.photo-missing{width:64px;height:72px;border-radius:10px;background:#f2efed;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 auto;color:#9a8d87;gap:5px}.photo-missing small{font-size:10px}.entry-icon{width:48px;height:48px;border-radius:16px;background:linear-gradient(145deg,#fff,var(--wash));color:var(--accent);display:inline-flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px #ffffffc9,0 4px 8px #33202e05}.entry-icon .ui-icon{width:27px;height:27px}.home-intro{display:flex;align-items:center;justify-content:space-between;min-height:118px;gap:8px;padding:5px 3px 15px}.home-intro h1{font-size:24px;letter-spacing:.02em;margin:0 0 7px}.home-intro p{font-size:12px;margin:0;max-width:240px;overflow-wrap:anywhere}.home-intro .eyebrow{font-size:10px;margin-bottom:9px}.brand-art{width:78px;height:86px;position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:26px;background:linear-gradient(145deg,#fce7ef,#ecdfe9);color:#b74370;transform:rotate(5deg)}.brand-art>.ui-icon{width:47px;height:47px}.brand-art>span{position:absolute;right:-5px;bottom:-3px;border:3px solid var(--paper);border-radius:13px;background:#fff0da;color:#a76b19;padding:6px;transform:rotate(-12deg)}.brand-art>span .ui-icon{width:23px;height:23px}.home-search{width:100%;justify-content:flex-start;background:#fff;border:1px solid #ead9df;border-radius:15px;min-height:50px;box-shadow:0 4px 14px #c24b7806;font-size:12px;padding:10px 13px;color:#8c7b80}.home-search>.ui-icon:first-child{color:var(--rose);width:20px}.home-search span{flex:1;text-align:left}.home-search>.ui-icon:last-child{width:15px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:20px 1px 11px}.section-title h2{font-size:17px;margin:0}.section-title h3{margin:0;font-size:14px}.section-title small{font-size:11px}.section-title button{background:transparent;border:0;min-height:36px;padding:5px 0;color:var(--muted);font-size:11px}.section-title .ui-icon{width:15px;height:15px}.overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.overview-card{position:relative;display:grid;grid-template-columns:1fr auto;gap:4px;text-align:left;align-items:center;justify-content:stretch;border:1px solid #ffffff;background:linear-gradient(120deg,#fff,var(--wash));border-radius:17px;padding:13px 14px;color:var(--accent);box-shadow:0 3px 10px #33202e03}.overview-card>.ui-icon{grid-column:2;grid-row:1 / span 2;opacity:.8;width:30px;height:30px}.overview-card>span{grid-column:1;grid-row:1;font-size:12px;font-weight:600}.overview-card strong{grid-column:1;grid-row:2;font-size:29px;font-weight:750;line-height:1.2;font-variant-numeric:tabular-nums}.overview-card small{grid-column:1 / -1;font-size:9px;color:#786e6b;white-space:normal}.overview-note{font-size:10px;color:var(--muted);margin:9px 2px 16px;line-height:1.6}.shortcut-panel{padding:16px 10px!important}.shortcut-panel>h2{font-size:16px;margin:0 6px 15px}.shortcut-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));row-gap:17px;column-gap:2px}.shortcut-grid button{border:0;min-width:0;padding:0;flex-direction:column;gap:8px;background:transparent;font-size:11px;white-space:nowrap}.shortcut-grid .entry-icon{width:46px;height:46px;border-radius:15px}.work-group{margin-bottom:17px}.work-group>.section-title{margin:10px 2px 7px}.home-work-row{width:100%;justify-content:flex-start;gap:12px;border-radius:15px;text-align:left;margin-bottom:8px;padding:12px;border-color:#efe8e3;background:#fff;box-shadow:0 3px 9px #33202e03}.home-work-row>img{width:58px;height:66px;object-fit:contain;border-radius:8px;background:#f7f4f1;flex-shrink:0}.home-work-row .photo-missing{width:58px;height:66px}.home-work-row .grow{flex:1;min-width:0;overflow-wrap:anywhere}.home-work-row strong{display:block;font-size:14px;margin-bottom:3px}.home-work-row small{font-size:11px}.home-work-row>.ui-icon{width:15px;height:15px;color:#a89c97}.row-quantity{display:block;font-size:12px;margin-top:4px;color:#665955}.quiet-empty{background:#ffffff90;border:1px dashed #e8dfd9;border-radius:13px;color:#887c77;font-size:12px;display:flex;align-items:center;gap:10px;padding:15px;margin:0}.quiet-empty .ui-icon{width:20px;color:#ac9b94}.catalog-welcome{text-align:center;padding:28px 12px}.catalog-illustration{display:inline-flex;padding:24px;border-radius:32px;background:linear-gradient(145deg,#fceaf2,#efe8f8);color:var(--rose);margin-bottom:18px}.catalog-illustration .ui-icon{width:60px;height:60px}.catalog-welcome h2{font-size:17px}.catalog-welcome p{font-size:12px;color:var(--muted)}.future-feature{display:inline-flex;align-items:center;gap:8px;color:#8c8180;font-size:12px;background:#ece7e3;border-radius:12px;padding:12px 16px;margin-top:12px}.future-feature .ui-icon{width:20px;height:20px}.catalog-product>.product-head{align-items:center;border-bottom:1px solid var(--border);padding-bottom:16px;margin-bottom:14px}.catalog-product>.product-head>img{width:108px;height:124px;object-fit:contain}.catalog-product>.product-head h2{color:var(--rose);font-size:22px}.catalog-product>.product-head p{font-size:13px}.catalog-product .notice{margin-top:15px}.auth-brand{padding:22px 6px}.auth-brand h1{font-size:34px}.auth-brand .eyebrow{font-size:10px}.auth .card{box-shadow:0 10px 35px #be71800a}.auth{background:radial-gradient(ellipse at 100% 0,#f7deea80,transparent 60%)}
@media(max-width:374px){.workspace{padding-left:12px;padding-right:12px}.home-intro h1{font-size:22px}.brand-art{width:64px;height:76px}.section-tabs button{font-size:12px;padding:9px 5px}.shortcut-grid{row-gap:15px}.overview-card{padding:12px}.home-search{font-size:11px}.home-work-row{gap:9px}}
/* Softer mobile navigation and task-level unread signals. */
.bottom-nav{border-radius:22px 22px 0 0;box-shadow:0 -4px 22px #76526308;padding-top:9px}.bottom-nav button{position:relative;background:transparent!important;gap:7px;isolation:isolate;transition:color .18s ease,transform .15s ease}.bottom-nav button::before{content:'';position:absolute;top:1px;width:46px;height:32px;border-radius:18px;z-index:-1;background:transparent;transition:background .18s ease,transform .18s ease}.bottom-nav button[aria-current=page]::before{background:#f9e5ef}.bottom-nav button[aria-current=page] .ui-icon{stroke-width:2;transform:translateY(-1px)}.bottom-nav button .ui-icon{transition:transform .18s ease;stroke-width:1.8}.bottom-nav button:active,.shortcut-grid button:active,.section-tabs button:active{transform:scale(.95)}.bottom-nav button[aria-current=page]{font-weight:600}.section-tabs button,.shortcut-grid button,.overview-card{position:relative}.unread-badge{position:absolute;top:0;right:3px;min-width:17px;height:17px;line-height:13px;padding:0 4px;border:2px solid white;border-radius:12px;background:#e94d60;color:white;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums;pointer-events:none;box-shadow:0 2px 5px #cc33451a}.bottom-nav .unread-badge{right:calc(50% - 27px);top:0}.section-tabs .unread-badge{top:-2px;right:0}.shortcut-grid .unread-badge{right:calc(50% - 28px);top:-4px}.overview-card .unread-badge{top:4px;right:4px;grid-column:auto;grid-row:auto}.task-new{display:inline-block;vertical-align:middle;background:#fff0f2;color:#cc354b;border-radius:6px;font-size:10px;font-weight:600;margin-left:7px;padding:3px 6px}.home-work-row{position:relative}.home-work-row .unread-badge{display:none}@media(prefers-reduced-motion:reduce){.bottom-nav button,.bottom-nav button::before,.bottom-nav button .ui-icon{transition:none}.bottom-nav button:active,.shortcut-grid button:active,.section-tabs button:active{transform:none}}
.photo-search .section-title{margin:0 0 10px}.photo-search h2{display:flex;gap:7px;align-items:center}.photo-actions{display:flex;gap:10px;margin:14px 0}.photo-actions label{flex:1;font-weight:500;position:relative;overflow:hidden}.photo-actions input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;clip:auto}.photo-actions label:focus-within{outline:3px solid #c24b783b}.photo-search .actions{margin:12px 0}.photo-search #search-image{flex:1}#search-preview img{width:96px;height:112px;object-fit:contain;border-radius:12px;background:#f5f2ee}#search-status{font-size:12px;color:var(--blue)}.photo-search>small{font-size:11px}.image-candidates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.image-candidate{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:10px;gap:5px;border-radius:15px;min-width:0}.image-candidate>img{width:100%;height:154px;object-fit:contain;border-radius:10px;background:#faf7f5}.image-candidate strong{font-size:16px}.image-candidate>span{color:var(--rose);font-weight:600}.image-candidate small{font-size:11px;overflow-wrap:anywhere}.search-result-title{font-size:17px;margin-top:20px}
.photo-search [hidden]{display:none}
/* Shared70 keeps department business queues separate from personal assignments. */
.queue-switch{display:flex;gap:5px;background:#eae5e1;padding:5px;border-radius:14px}.queue-switch button{position:relative;flex:1;border:0;background:transparent;min-height:42px;font-size:13px;color:var(--muted)}.queue-switch [aria-pressed=true]{background:#fff;color:var(--accent);font-weight:700;box-shadow:0 2px 8px #33202e08}.queue-switch .unread-badge{top:2px;right:4px}.queue-hint{font-size:11px;color:var(--muted);margin:9px 3px 14px;line-height:1.65}.queue-filter label{font-size:12px}.queue-filter .query{margin:9px 0 12px}.queue-filter .check-row{background:var(--paper);font-size:12px}.queue-pages{display:flex;gap:8px;justify-content:space-between;align-items:center;margin:18px 0}.queue-pages button{font-size:12px;padding:8px 12px;flex:0 0 auto}.queue-pages small{text-align:center;font-size:11px}.queue-pages button:disabled{cursor:default}.shared-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0 4px}.shared-numbers>div{background:var(--wash);border-radius:9px;padding:8px}.shared-numbers small{font-size:10px}.shared-numbers strong{font-size:19px;line-height:1.4;color:var(--accent);font-variant-numeric:tabular-nums;display:block;overflow-wrap:anywhere}.shared-lines,.shared-history,.fixed-files{list-style:none;padding:0;margin:0}.shared-lines>li{padding:16px 0;border-bottom:1px dashed var(--border)}.shared-lines>li:first-child{padding-top:4px}.shared-lines h3{margin:0;font-size:16px}.shared-lines h4{font-size:13px;margin:16px 0 10px}.shared-lines .notice{margin:12px 0}.shared-note{white-space:pre-wrap}.shared-history>li{border-left:2px solid var(--border);margin:12px 0;padding:0 0 3px 12px;overflow-wrap:anywhere}.shared-history strong{font-size:12px}.shared-history small{font-size:11px}.shared-history .is-voided{opacity:.7}.shared-history .is-voided>strong{color:var(--red)}.source-id{overflow-wrap:anywhere;color:#8b817d;margin-top:12px;font-size:10px!important}.material-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.material-gallery>div{min-width:0;padding:9px;border:1px solid var(--border);border-radius:11px}.material-gallery img{width:100%;height:110px;object-fit:contain;background:var(--paper);border-radius:8px}.material-gallery .photo-missing{margin:auto}.material-gallery strong{font-size:12px;display:block;margin-top:7px}.material-gallery small{font-size:10px}.material-gallery.diagrams img{height:150px}.fixed-file{border:1px solid var(--border);border-radius:10px;padding:10px;margin:8px 0;overflow-wrap:anywhere}.fixed-file strong{font-size:12px;display:block}.fixed-file .actions{gap:6px;margin-top:10px}.fixed-file .button{padding:7px 10px;font-size:11px;min-height:38px}.revision-history{border-top:1px solid var(--border);margin-top:14px}.revision-history>details{border-top:1px dashed var(--border)}.chip.red{background:#fff0f1;color:var(--red)}

/* Footer72: reserve the measured fixed navigation height, including its safe area. */
html{scroll-padding-bottom:var(--staff-footer-space,0px)}
.workspace{padding-bottom:var(--staff-footer-space,calc(110px + env(safe-area-inset-bottom)))}

/* Packing77 uses the existing production palette and fixed-footer spacing. */
.packing-feedback{border-top:1px dashed var(--border);margin-top:18px;padding-top:16px}.packing-feedback h3{font-size:16px;margin:0 0 12px}.packing-feedback fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:12px}.packing-feedback label{display:block;overflow-wrap:anywhere}.packing-feedback label small{display:block;margin:5px 0;color:var(--muted)}.packing-feedback textarea{min-height:86px;resize:vertical}.packing-feedback fieldset:disabled{opacity:.72}.packing-feedback .packing-status{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.65;color:var(--accent);margin:12px 0}.packing-feedback>button{width:100%;margin:5px 0}.packing-feedback .packing-removed{margin:12px 0;overflow-wrap:anywhere}.packing-removed ul{padding-left:20px}.packing-feedback .check-row{display:flex;font-size:12px;align-items:flex-start}.packing-removed input{flex:0 0 auto}.packing-detached{overflow-wrap:anywhere}.packing-detached p{white-space:pre-wrap}
/* Production79 uses the existing mobile shell and department palette. */
.production-task h2,.production-line h3{overflow-wrap:anywhere}
.production-task .product-head .grow{min-width:0}
.production-task .next-step,.production-line .next-step{background:#f3edf8;border-radius:12px;padding:12px;color:#634579;line-height:1.6}
.production-line{border-top:1px solid #e8dfd8;padding:16px 0}
.production-batch{border-left:3px solid #b59bca;padding:8px 12px;margin:12px 0;background:#faf7fc;overflow-wrap:anywhere}
.catalog-stock-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.catalog-stock-row small{display:block;color:#837b76;margin:4px 0}
.catalog-stock-row .stock-negative{color:#b42332}
.catalog-product .grow{min-width:0;overflow-wrap:anywhere}
