.auth-screen{min-height:100dvh;padding:48px 24px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f4f3f8}.auth-container{width:100%;max-width:1000px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:60px;background:#fff;border:1px solid #eeecf3;border-radius:32px;padding:44px;min-height:440px}.auth-identity{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.auth-brand{display:flex;align-items:center;gap:12px;font-size:22px;line-height:32px;font-weight:500}.auth-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#eee8fc;color:#6041aa;flex-shrink:0}.auth-identity h1{font-size:32px;line-height:44px;font-weight:500;margin:42px 0 12px;overflow-wrap:anywhere}.auth-identity p{font-size:16px;line-height:26px;color:#64616f;margin:0;max-width:320px}.auth-identity>small{margin-top:auto;padding-top:40px}.auth-content{padding-top:12px;min-width:0;align-self:center}.auth-content h2{font-size:24px;line-height:32px;font-weight:500;margin:12px 0 8px;outline:none}.auth-step-count{font-size:12px;line-height:18px;color:var(--muted)}.auth-caption{color:var(--muted);margin:0 0 28px}.auth-content input{min-height:48px;border-radius:8px}.auth-content .field{margin-bottom:8px}.auth-password{position:relative;margin-bottom:24px}.auth-password input{padding-right:52px}.auth-password .icon{position:absolute;right:2px;top:2px}.auth-content .auth-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:28px}.auth-actions .primary{min-height:48px;min-width:112px;border-radius:24px;padding:10px 24px;font-weight:500}.auth-help-button,.auth-back{border:0;background:transparent;color:var(--accent);min-height:44px;padding:8px 0;font-weight:500;white-space:normal;text-align:left}.auth-back{margin-top:16px;gap:8px}.auth-help-button:hover,.auth-back:hover{background:transparent;text-decoration:underline}.auth-account{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 0 20px;overflow-wrap:anywhere}.auth-account span{min-width:0}.auth-account button{border:0;background:#f4f1fa;color:var(--accent);min-height:44px;border-radius:22px;font-size:13px}.auth-username{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.auth-help{display:flex;gap:12px;padding:16px;background:#f7f5fb;border-radius:12px;margin:16px 0}.auth-help svg{flex-shrink:0;margin-top:2px;color:var(--accent)}.auth-help p{font-size:14px;line-height:22px;color:var(--muted);margin-bottom:16px}.auth-help strong{font-weight:500}.auth-footer{font-size:12px;color:var(--muted);margin-top:24px}.auth-step{animation:auth-step-in .22s ease-out}@keyframes auth-step-in{0%{opacity:.4;transform:translate(8px)}to{opacity:1;transform:translate(0)}}@media(max-width:760px){.auth-screen{padding:24px 16px;justify-content:flex-start}.auth-container{grid-template-columns:minmax(0,1fr);gap:28px;padding:28px 24px;border-radius:24px;min-height:0}.auth-identity h1{margin:24px 0 8px;font-size:26px;line-height:36px}.auth-identity>small{display:none}.auth-identity p{font-size:16px;line-height:24px}.auth-content{padding:0}.auth-content input{font-size:16px}.auth-content .auth-caption{font-size:16px;line-height:24px}.auth-footer{margin-top:20px}}@media(prefers-reduced-motion:reduce){.auth-step{animation:none}}.fw-buyer{font-family:MiSans,system-ui,sans-serif;color:#18181b;background:#fafafa;min-height:100vh;padding:16px;box-sizing:border-box;font-size:16px;line-height:1.5}.fw-buyer *{box-sizing:border-box}.fw-buyer header{display:flex;align-items:center;gap:12px;padding-top:env(safe-area-inset-top)}.fw-buyer nav{display:flex;gap:8px;overflow-x:auto;padding:12px 0}.fw-buyer button,.fw-buyer input,.fw-buyer select{font:inherit;min-height:44px;max-width:100%;border:1px solid #d4d4d8;border-radius:8px;padding:8px 12px;background:#fff;color:#18181b}.fw-buyer button{cursor:pointer;white-space:nowrap}.fw-buyer button[aria-current=page]{background:#ebe0ff;border-color:#ad89e5}.fw-buyer button:disabled{opacity:.55;cursor:default}.fw-buyer input[type=checkbox]{min-height:24px;width:24px;margin-right:8px}.fw-buyer section{max-width:800px;margin:12px auto;padding:16px;background:#fff;border:1px solid #e4e4e7;border-radius:12px}.fw-buyer article,.fw-buyer fieldset,.fw-buyer form{margin-top:16px;padding:12px;border:1px solid #e4e4e7;border-radius:8px}.fw-buyer label{display:flex;flex-direction:column;gap:6px;margin:12px 0}.fw-buyer .error{color:#a51424;background:#fff0f1;padding:12px}.fw-buyer h1,.fw-buyer h2{font-size:20px;font-weight:600}.fw-buyer h3{font-size:18px;font-weight:600}.fw-buyer button:focus-visible,.fw-buyer input:focus-visible,.fw-buyer select:focus-visible{outline:2px solid #2866d8;outline-offset:2px}@media(max-width:600px){.fw-buyer{padding:12px}.fw-buyer section{padding:12px}.fw-buyer header{align-items:flex-start}}@media(prefers-reduced-motion:reduce){.fw-buyer *{scroll-behavior:auto}}@font-face{font-family:MiSans;src:url(/fonts/misans/MiSans-Regular.woff2?v=d704c1a932c0) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:MiSans;src:url(/fonts/misans/MiSans-Medium.woff2?v=44e28ca6c2f0) format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:MiSans;src:url(/fonts/misans/MiSans-Semibold.woff2?v=78227c6ec595) format("woff2");font-weight:600;font-style:normal;font-display:swap}:root{font-family:MiSans,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#202832;background:#f4f6f8;font-size:14px;line-height:22px;font-weight:400;font-synthesis:none;--ink: #10161d;--accent: #2259ce;--border: #e0e5ec;--muted: #5c697b}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,.button{border:1px solid var(--border);border-radius:6px;background:#fff;min-height:36px;padding:6px 12px;display:inline-flex;gap:6px;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;color:inherit;white-space:nowrap}button:hover,.button:hover{background:#eef2f8}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}button.primary:hover{background:#194bb6}input,select,textarea{width:100%;min-height:40px;border:1px solid #bac3d0;border-radius:6px;background:#fff;padding:8px 10px}textarea{min-height:88px;resize:vertical}input[type=checkbox]{width:18px;min-height:18px;height:18px;margin:0}input[type=file]{padding:8px}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid #5284e8;outline-offset:3px}h1{font-size:24px;line-height:32px;font-weight:600;margin:20px 0}h2{font-size:16px;line-height:24px;font-weight:600;margin:0 0 8px}strong{font-weight:600}small{display:block;color:var(--muted);font-size:12px;line-height:20px}code{font-size:12px;word-break:break-all}p{margin:8px 0}.muted{color:var(--muted)}.center,.login{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.login form{background:#fff;width:400px;max-width:100%;padding:24px;border:1px solid var(--border);border-radius:12px}.wordmark{font-size:22px;font-weight:700}.login input,.login button{min-height:48px}.login button{width:100%;margin:0 0 16px}.login .field{margin-bottom:16px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.field>label{font-weight:500}.shell{height:100dvh;display:grid;grid-template-columns:216px minmax(0,1fr)}.sidebar{background:#111114;color:#f2f5f9;display:flex;flex-direction:column;padding:12px;overflow:hidden}.side-tools{height:44px;flex-shrink:0}.icon{width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;flex-shrink:0}.sidebar .icon{color:inherit}.sidebar .icon:hover{background:#26313f}.brand{height:56px;margin-top:8px;display:flex;align-items:center;gap:8px;padding:0 8px;white-space:nowrap;flex-shrink:0}.brand strong{font-size:20px}.slot{display:flex;align-items:center;justify-content:center;width:28px;min-width:28px;height:28px}.sidebar nav{position:relative;isolation:isolate;margin-top:12px;overflow-y:auto;flex:1}.sidebar nav button{border:0;background:transparent;width:100%;height:40px;min-height:40px;justify-content:flex-start;gap:8px;padding:0 8px;color:#c8d0db;font-weight:400;position:relative}.sidebar nav button.active{color:#111114;font-weight:400}.sidebar nav button.active:before{content:none}.sidebar nav button>*{position:relative}.sidebar nav button:not(.active):hover{background:#242329}.account{height:56px;min-height:56px;border:0;background:transparent;color:#fff;gap:8px;justify-content:flex-start;padding:0 8px;width:100%;text-align:left}.avatar{width:32px;min-width:32px;height:32px;background:#36465b;border-radius:50%;display:grid;place-items:center;margin-left:-2px;margin-right:-2px}.account small{color:#b4bfcd;white-space:nowrap;max-width:136px;text-overflow:ellipsis;overflow:hidden}.account strong{white-space:nowrap}.workspace{min-width:0;display:flex;flex-direction:column;overflow:hidden}.workspace header{height:64px;min-height:64px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:8px;padding:0 16px 0 28px}.workspace header>span:first-of-type{font-weight:600;display:flex;align-items:center;gap:6px;flex:1}.workspace main{flex:1;min-height:0;overflow:auto;padding:12px 16px 24px 28px}.collapsed{grid-template-columns:68px minmax(0,1fr)}.collapsed .nav-text,.collapsed .brand strong,.collapsed .account>span:last-child{display:none}.mobile-menu{display:none}.toolbar{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex-wrap:wrap}.toolbar>input{width:240px}.toolbar>select{width:150px}.toolbar>.muted{flex:1}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:12px}.metrics>div{background:#fff;border:1px solid var(--border);border-radius:8px;padding:18px 20px}.metrics strong{display:block;font-size:28px;line-height:36px;margin-top:6px}.metrics small{font-size:14px}.metrics>div:first-child strong{color:var(--accent)}section{border:1px solid var(--border);border-radius:8px;background:#fff;padding:16px;margin-bottom:12px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.section-title h2 small{display:inline;font-weight:400}.section-title p{margin:0}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{background:#f7f9fb;font-weight:500;color:var(--muted);font-size:12px}th,td{padding:10px 12px;border-bottom:1px solid #e9edf2;vertical-align:middle}td small{white-space:normal}tbody tr:last-child td{border:0}td code{max-width:220px;display:block;white-space:normal}td button{min-height:32px;padding:4px 10px}.status{display:inline-flex;align-items:center;padding:2px 8px;font-size:12px;line-height:20px;border-radius:4px;background:#edf1f6;color:#4a586e}.status.warn{background:#fff3db;color:#855200}.status.good{background:#e8f5ee;color:#14603d}.error,.success,.info{display:flex;align-items:center;gap:8px;border-radius:6px;padding:10px 12px;font-size:14px;line-height:22px;margin-bottom:12px}.error{color:#9d271d;background:#fff0ed}.success{color:#14603d;background:#e8f5ee}.error .icon,.success .icon{margin-left:auto}.info{color:#3b536f;background:#eaf0f8}.empty{padding:36px 16px;text-align:center;color:var(--muted)}.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.detail-grid strong{display:block}.row-actions{display:flex;gap:6px;flex-wrap:wrap}.list-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.list-row:last-child{border:0}.list-row>span:first-child{flex:1}.history{display:flex;gap:14px;border-bottom:1px solid var(--border);padding:8px 0}.history>span:nth-child(2){flex:1}.shipment{padding:12px 0;border-bottom:1px solid var(--border)}.pending{border-color:#e3c482;background:#fffdf8}.tabs{display:flex;flex-wrap:wrap;gap:4px;flex:1}.tabs button{border:0;background:transparent}.tabs button.selected{background:#eaf0fc;color:var(--accent);font-weight:600}dialog{border:1px solid var(--border);border-radius:16px;padding:16px;width:600px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);box-shadow:0 20px 70px #0003}dialog::backdrop{background:#10161d70}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.modal-head h2{margin:0}dialog form>.info{display:block}dialog form .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.form-actions{display:flex;justify-content:flex-end;margin-top:20px;padding-top:12px;border-top:1px solid var(--border)}fieldset{border:1px solid var(--border);border-radius:8px;padding:12px;margin:12px 0}legend{font-weight:600;font-size:14px}.check{display:flex;align-items:center;gap:8px;min-height:36px}pre{font-size:12px;line-height:20px;white-space:pre-wrap;word-break:break-word;max-height:260px;overflow:auto;background:#f4f6fa;padding:12px;border-radius:6px}.nav-mask{display:none}a{color:var(--accent)}@media(pointer:coarse){button,.button,.sidebar nav button{min-height:44px}}@media(min-width:761px)and (max-width:1023px){.shell{grid-template-columns:68px minmax(0,1fr)}.nav-text,.brand strong,.account>span:last-child{display:none}}@media(max-width:760px){:root{font-size:16px;line-height:24px}.shell,.collapsed{grid-template-columns:minmax(0,1fr)}.sidebar{display:none}.mobile-open .sidebar{display:flex;position:fixed;z-index:3;inset:0 auto 0 0;width:248px}.mobile-open .nav-text,.mobile-open .brand strong,.mobile-open .account>span:last-child{display:block}.mobile-open .nav-mask{display:block;position:fixed;inset:0;z-index:2;background:#0006;border:0;border-radius:0}.workspace header{padding-left:8px}.workspace header .muted{display:none}.mobile-menu{display:flex}.workspace main{padding:12px 16px 24px}.metrics,.detail-grid{grid-template-columns:1fr 1fr}.toolbar>input{flex:1;width:100%;min-width:170px}.toolbar>select{width:130px}.form-grid,dialog form .form-grid{grid-template-columns:1fr}.section-title{align-items:flex-start;flex-wrap:wrap}.history{flex-wrap:wrap}.history small{width:100%}.login form{padding:20px}.sidebar nav button{font-size:14px}.list-row{flex-wrap:wrap}.list-row>span:first-child{min-width:50%}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}.compact-dialog{width:336px}.mobile-orders{display:none}@media(max-width:760px){.desktop-orders{display:none}.mobile-orders{display:block}.mobile-orders article{border-bottom:1px solid var(--border);padding:12px 0}.mobile-orders article:last-child{border:0}.mobile-orders .section-title{align-items:center;margin-bottom:0}}.scope-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:12px;padding:8px 0;color:var(--muted)}.scope-bar strong{color:var(--ink)}.scope-bar button{margin-left:auto}.notification-entry{margin:0 12px 8px;width:calc(100% - 24px);background:transparent;color:#e4e9f0;border:0;justify-content:flex-start;padding:8px;flex-shrink:0}.notification-entry .slot{width:28px;display:flex;justify-content:center;margin-right:2px}.sidebar nav{flex:1;min-height:0;overflow-y:auto}.sidebar .account{margin-top:0}.action-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--border)}.action-row>div:first-child{flex:1;min-width:160px}.action-row p{margin:4px 0}.action-row small,td small{display:block;color:var(--muted)}.record-block{padding:12px 0;border-bottom:1px solid var(--border)}.record-block p{margin:6px 0}.record-block button{margin:4px 4px 4px 0}.anchor-nav{display:flex;gap:16px;flex-wrap:wrap;padding:12px 0}.anchor-nav a{color:var(--accent)}.collaboration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.collaboration-grid section{margin:0;scroll-margin-top:80px}.collaboration-grid p{overflow-wrap:anywhere}.metrics button{display:flex;flex-direction:column;align-items:flex-start;padding:12px}.metrics button strong{font-size:28px;line-height:36px}.production-bar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:12px 0}.production-bar meter{min-width:120px;flex:1}.table-scroll{overflow-x:auto}.collapsed .notification-entry .nav-text{display:none}.collapsed .notification-entry{padding:10px 0;justify-content:center}.collapsed .notification-entry .slot{margin:0}.field label{overflow-wrap:anywhere}section small{font-size:12px}.status{white-space:normal}@media(max-width:760px){.collaboration-grid{grid-template-columns:1fr}.scope-bar{font-size:14px}.action-row{align-items:flex-start}.action-row button{min-height:44px}.table-scroll table{min-width:720px}.notification-entry{min-height:44px}.scope-bar span{max-width:100%;overflow-wrap:anywhere}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important}}.repeat-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:8px;padding:8px 0;align-items:end}.repeat-fields .field{margin:0}select[multiple]{min-height:124px}.repeat-fields label{min-width:0}.notification-entry .nav-text{margin-left:4px}body:has(dialog[open]){overflow:hidden}@media(max-width:760px){.repeat-fields{grid-template-columns:1fr 1fr}.repeat-fields .field:first-child{grid-column:1/-1}}.notification-entry{gap:8px}.notification-entry .slot{margin-right:0}.notification-entry .nav-text{margin-left:0}.sidebar nav .nav-selection{position:absolute;top:0;left:0;height:32px;border-radius:8px;background:#a18df7;z-index:-1;pointer-events:none}.sidebar .nav-text{flex:0 1 auto;min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font:400 14px/22px MiSans,sans-serif}.sidebar nav button{flex-shrink:0;font:400 14px/22px MiSans,sans-serif;border-radius:8px}.sidebar .slot{flex:0 0 28px}.sidebar .brand strong{font-size:16px;line-height:24px;font-weight:500}.account-dock{flex:none;display:flex;align-items:center;flex-wrap:nowrap}.account-dock .account{flex:1;min-width:0;width:auto;overflow:hidden}.account-dock .account>span:last-child{min-width:0;display:grid}.account-dock .account strong{font-size:14px;line-height:22px;font-weight:400;overflow:hidden;text-overflow:ellipsis}.account-dock .account small{font-size:12px;line-height:18px}.account-dock .avatar{margin:0;flex-shrink:0;background:#3a304e;font-size:14px;font-weight:400}.account-dock .notification-entry{position:relative;width:44px;height:44px;min-height:44px;min-width:44px;margin:0;padding:0;justify-content:center;color:#c8c5d0;border-radius:8px}.notification-badge{position:absolute;top:0;right:0;min-width:16px;height:16px;padding:0 2px;border-radius:8px;background:#ad2e32;color:#fff;font:400 12px/16px MiSans,sans-serif}.account-dock button:hover{background:#242329}.collapsed .account-dock{flex-direction:column}.collapsed .account-dock .account{flex:none;width:44px;height:44px;min-height:44px;justify-content:center;padding:0}.collapsed .account-dock .account>span:last-child{display:none}.collapsed .sidebar nav button{height:44px;min-height:44px;justify-content:center;padding-inline:0}.shell{transition:grid-template-columns .26s ease-out}.sidebar button:focus-visible{outline:2px solid #dddbe5;outline-offset:-2px}button,input,textarea,select{font-family:inherit}button,.button,h2,h3,h4,th{font-weight:500}h1{font-weight:600}.sidebar button.active{font-weight:400}@media(min-width:761px)and (max-width:1023px){.compact-open .sidebar{position:fixed;inset:0 auto 0 0;width:216px;z-index:3}.compact-open .nav-text,.compact-open .brand strong{display:block}.compact-open .account-dock .account>span:last-child{display:grid}.compact-open .nav-mask{display:block;position:fixed;inset:0;z-index:2;background:#0006;border:0;border-radius:0}}@media(max-width:760px){.mobile-open .account-dock{flex-direction:row}.mobile-open .account-dock .account>span:last-child{display:grid}}@media(prefers-reduced-motion:reduce){.shell{transition:none}}:root{--surface: #ffffff;--page: #f5f6f8;--border: #dfe3e9;--muted: #606876;background:var(--page)}.workspace h2,.workspace h3{font-size:16px;line-height:24px;font-weight:500}.workspace button,.workspace .button{font-weight:500}.workspace small{line-height:18px}.workspace header>span:first-of-type{font-weight:500}.workspace header>.muted{font-size:12px}.scope-bar{padding:0 0 12px;border-bottom:1px solid var(--border)}.scope-bar strong{font-weight:500}.scope-bar>span{font-size:12px;line-height:18px}.workspace section{border-radius:10px}.workspace .section-title h2{margin:0;display:flex;align-items:center;gap:8px}.workspace .toolbar input{max-width:360px}.workspace .toolbar{row-gap:8px}.workspace .toolbar label{font-size:13px;font-weight:500}.workspace th{font-size:13px;line-height:20px;background:#f6f7f9}.workspace td{line-height:22px}.workspace td small{margin-top:3px}.workspace tbody tr:hover{background:#fafbfc}.workspace td>.status{margin-right:8px}.workspace .status{border-radius:5px;font-weight:400}.status.danger{background:#fcecea;color:#a52b25}.workspace .action-row:last-child,.workspace .record-block:last-child{border-bottom:0}.workspace .action-row>div:first-child{overflow-wrap:anywhere}.workspace .action-row>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.workspace .record-block{padding:14px 0}.workspace .record-block button{margin-block:4px}.workspace .detail-grid small{margin-bottom:4px}.workspace .anchor-nav{gap:8px;padding:0 0 12px}.workspace .anchor-nav a{padding:6px 12px;border-radius:6px;background:#fff;border:1px solid var(--border);text-decoration:none;font-weight:500}.workspace .anchor-nav a:hover{background:#eef2f8}.workspace .collaboration-grid section{min-width:0}.workspace .collaboration-grid section>h2{margin-bottom:12px}.dashboard-toolbar{min-height:40px}.dashboard-toolbar .snapshot-time{margin-left:auto;display:flex;align-items:center;gap:6px}.dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.metrics .metric-card{min-width:0;padding:16px;border-radius:10px;gap:8px;align-items:stretch;text-align:left;white-space:normal}.metric-label{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;color:var(--muted);font-weight:400}.metric-label svg{flex-shrink:0;margin-top:3px}.metrics .metric-card strong{margin:0;font-size:24px;line-height:32px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink)}.metric-unit{margin-left:4px;font-size:12px;font-weight:400;color:var(--muted)}.metric-link{font-size:12px;line-height:18px;color:var(--muted);font-weight:400}.metric-card:hover .metric-link{color:var(--accent)}.task-row{padding-block:14px}.task-row strong{font-weight:500}.task-row small{margin-top:4px}.empty-state{display:flex;flex-direction:column;align-items:center;gap:8px;padding:32px 16px;text-align:center;color:var(--muted)}.empty-state strong{font-weight:500;color:#424b58}.loading-state{padding:32px 16px;background:var(--surface);border:1px solid var(--border);border-radius:10px;color:var(--muted);text-align:center}.message-row{padding:16px 12px;border-radius:6px}.message-row.unread{background:#f6f5fc;border-left:3px solid #a18df7}.message-row strong{font-weight:500}.message-row p{font-size:13px;line-height:20px;color:var(--muted)}.workspace table td:is(:nth-child(2),:nth-child(3),:nth-child(4),:nth-child(5)){font-variant-numeric:tabular-nums}@media(max-width:1023px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.workspace{font-size:16px;line-height:24px}.workspace small{font-size:13px;line-height:20px}.workspace h2,.workspace h3{font-size:17px}.workspace button,.workspace .button{min-height:44px;font-size:15px;line-height:22px}.workspace th{font-size:14px}.workspace header>span:first-of-type{font-size:14px}.workspace header>.muted{max-width:108px;line-height:18px}.workspace .scope-bar{gap:8px}.scope-bar>span{font-size:13px}.scope-bar button{margin-left:0}.metrics .metric-card{padding:12px}.metric-label{font-size:14px;line-height:22px}.metric-link{font-size:12px}.dashboard-toolbar .snapshot-time{width:100%;margin-left:0}.workspace .section-title small{width:100%}.workspace .action-row>div:last-child{width:100%}.workspace .action-row>div:last-child button{flex:0 1 auto}.workspace .toolbar>input{max-width:none}}:root{--accent: #7053b8;--accent-soft: #f2eefb;--page: #f6f5f9;--ink: #252330;--border: #e7e5ec;--muted: #686575}button.primary:hover{background:#5e439e}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible{outline-color:#9376d3}.workspace>header>span:first-of-type{font-weight:400}.workspace>header{flex:none;min-width:0}.context-selector{border:0;padding:8px 0;background:transparent;color:var(--muted);font-weight:400;min-width:0;max-width:220px;overflow:hidden;text-overflow:ellipsis}.context-selector:hover{background:transparent;color:var(--accent)}.context-selector svg{flex-shrink:0}.workspace .ledger-page{display:flex;flex-direction:column;overflow:hidden;gap:0;padding:0;min-height:0}.ledger-page>.toolbar{flex:none;margin:0;min-height:64px;padding:10px 16px 10px 28px;background:#fff;border-bottom:1px solid var(--border);column-gap:8px}.toolbar-spacer{flex:1}.order-ledger{display:flex;flex:1 1 0;min-height:0;min-width:0}section.ledger-frame{display:flex;flex-direction:column;flex:1 1 0;min-height:0;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:#fff;overflow:hidden}.ledger-scroll{flex:1 1 0;overflow:auto;min-width:0;min-height:0;position:relative;overscroll-behavior:contain}.ledger-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 16px 8px 28px;min-height:64px;flex:none;background:#fff;border-top:1px solid var(--border);flex-wrap:wrap;font-size:12px;line-height:18px}.pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.pagination label,.pagination form{display:flex;align-items:center;gap:8px}.pagination select{width:auto;min-height:40px;font-size:13px}.pagination button{min-width:44px;min-height:44px}.pagination input{width:64px;min-height:40px}.ledger-loading{color:var(--muted)}.ledger-placeholder-head{padding:12px 20px;background:#f8f7fa;border-bottom:1px solid var(--border)}.ledger-loading p{text-align:center;padding:36px 16px}.ledger-page>.error,.ledger-page>.success{flex:none;margin:8px 16px}.business-table{width:max-content;min-width:0;max-width:none;table-layout:auto;isolation:isolate}.business-table th,.business-table td{padding:10px;white-space:nowrap;max-width:340px}.business-table td{background:#fff}.business-table th{position:sticky;top:0;z-index:2;background:#f7f6fa;font-size:13px;line-height:20px;font-weight:500}.business-table th:first-child,.business-table td:first-child{padding-left:10px}.business-table tbody tr:hover td{background:#f8f5fe}.business-table th.core-column{left:0;z-index:3;box-shadow:1px 0 0 var(--border)}.business-table td.core-column{position:sticky;left:0;z-index:1;box-shadow:1px 0 0 var(--border)}.business-table .numeric{text-align:right;font-variant-numeric:tabular-nums}.record-link{border:0;background:transparent;min-height:32px;padding:4px 0;color:var(--accent);font-weight:500;max-width:260px;white-space:normal;text-align:left;overflow-wrap:anywhere}.record-link:hover{background:transparent;text-decoration:underline}.business-table td small{max-width:260px}.ledger-scroll>.table-wrap{overflow:visible}.ledger-scroll .empty,.ledger-scroll .empty-state{min-height:200px;justify-content:center}.search-field{position:relative;display:flex;align-items:center;width:280px;max-width:100%;min-width:0}.search-field svg{position:absolute;left:12px;color:var(--muted);pointer-events:none}.search-field input{padding-left:38px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.record-drawer{position:fixed;inset:16px 16px 16px auto;margin:0;width:min(1120px,calc(100vw - 32px));height:calc(100dvh - 32px);max-width:none;max-height:none;padding:0;border-radius:20px;overflow:hidden;box-shadow:-12px 0 60px #22163824}.record-drawer[open]{display:flex;flex-direction:column}.record-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;flex:none;padding:0 12px 0 24px;background:#fff;border-bottom:1px solid var(--border)}.record-drawer-head nav{display:flex;align-items:center;gap:24px;overflow-x:auto;min-width:0;min-height:64px}.record-drawer-head nav h2{font-size:16px;line-height:24px;font-weight:500;margin:0;overflow-wrap:anywhere}.record-drawer-head nav a{display:flex;align-items:center;min-height:64px;white-space:nowrap;text-decoration:none;font-weight:400;border-bottom:2px solid transparent}.record-drawer-head nav a:focus-visible,.record-drawer-head nav a:hover{border-bottom-color:var(--accent)}.record-drawer-head>.icon{flex-shrink:0}.record-drawer-body{padding:20px 24px;background:#f7f5fb;min-height:0;flex:1;overflow:auto;overscroll-behavior:contain}.record-drawer-body>*{scroll-margin-top:16px}.record-drawer-body section{border-color:#ece8f3;border-radius:12px}.record-drawer-body .toolbar{margin-bottom:16px}.record-drawer-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;min-height:72px;padding:12px 24px;background:#fff;border-top:1px solid var(--border)}.record-drawer-footer>span{font-size:12px;line-height:18px;color:var(--muted)}.record-drawer-footer button{min-height:44px}.record-summary h2{font-weight:500;overflow-wrap:anywhere}.workspace .tabs{gap:24px;flex-wrap:nowrap;overflow-x:auto;min-height:48px}.workspace .tabs button{font-size:14px;line-height:22px;font-weight:400;padding:12px 0;border-radius:0;border-bottom:2px solid transparent;min-height:48px}.workspace .tabs button.selected{background:transparent;color:var(--accent);border-bottom-color:var(--accent);font-weight:400}.content-page .table-wrap{overflow:auto;max-height:65dvh}.account-dock+*{flex-shrink:0}@media(max-width:1023px){.context-selector{max-width:160px}}@media(max-width:760px){.context-selector{display:none}.ledger-page>.toolbar{padding:10px 16px}.ledger-footer{padding:8px 16px;font-size:13px;gap:8px}.ledger-footer>.pagination{width:100%;justify-content:flex-end}.pagination input{width:56px}.ledger-scroll .mobile-orders{padding:0 16px}.record-drawer{inset:0;width:100%;height:100dvh;border-radius:0}.record-drawer-head{padding-left:16px}.record-drawer-body{padding:16px}.record-drawer-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom));flex-wrap:wrap}.record-drawer-body .collaboration-grid{grid-template-columns:minmax(0,1fr)}.business-table th{font-size:14px}.business-table td{font-size:16px;line-height:24px}.search-field{flex:1;width:auto}.content-page .table-wrap{max-height:none}.ledger-page>.toolbar>input{min-width:140px}}@media(max-height:520px){.ledger-page>.toolbar{max-height:38dvh;overflow:auto}.ledger-footer{max-height:30dvh;overflow:auto}.auth-screen{justify-content:flex-start}.record-drawer-footer{min-height:56px}}.workspace .dashboard-page{display:flex;flex-direction:column;overflow:hidden;padding:0}.role-dashboard{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;background:#fff}.role-dashboard>.toolbar{padding:10px 16px 10px 28px;margin:0;min-height:64px;flex:none;border-bottom:1px solid var(--border)}.role-dashboard>.metrics{display:flex;gap:0;flex:none;margin:0;padding:12px 18px;background:#fff;border-bottom:1px solid var(--border);overflow-x:auto}.role-dashboard>.metrics .metric-card{border:0;border-right:1px solid var(--border);border-radius:0;flex:1;min-width:170px;padding:4px 20px;gap:4px;background:#fff}.role-dashboard>.metrics .metric-card:last-child{border-right:0}.role-dashboard>.metrics .metric-card:hover{background:var(--accent-soft)}.role-dashboard>.metrics .metric-link{display:none}.role-dashboard>.metrics .metric-card strong{font-size:24px;line-height:32px;color:var(--ink)}.role-dashboard>section:not(.ledger-frame){flex:none;margin:0;border:0;border-top:1px solid var(--border);border-radius:0;max-height:24dvh;overflow:auto}.role-dashboard>.loading-state{border:0;flex:1;display:grid;place-items:center}.task-ledger .record-link{max-width:320px}.record-drawer .collaboration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:760px){.role-dashboard>.toolbar{padding:10px 16px}.role-dashboard>.metrics{flex-wrap:wrap;padding:8px 0}.role-dashboard>.metrics .metric-card{flex:0 0 50%;min-width:0;padding:8px 16px}.role-dashboard>.metrics .metric-card:nth-child(2n){border-right:0}.record-drawer .collaboration-grid{grid-template-columns:minmax(0,1fr)}}.status{gap:4px}.workspace .management-page{padding:0;display:flex;flex-direction:column;overflow:hidden}.management-workspace{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}.management-workspace>.toolbar{min-height:64px;flex:none;margin:0;padding:10px 16px 10px 28px;background:#fff;border-bottom:1px solid var(--border)}.management-workspace .business-table td{vertical-align:top}.management-workspace .business-table td .row-actions{max-width:380px}.auxiliary-panel{flex:none;margin:0;background:#fff;border-top:1px solid var(--border)}.auxiliary-panel summary{cursor:pointer;padding:12px 28px;font-weight:500;min-height:44px}.auxiliary-panel>div{max-height:32dvh;overflow:auto;padding:0 28px 16px}.management-workspace>.error{margin:8px 16px}@media(max-width:760px){.management-workspace>.toolbar{padding:10px 16px}.auxiliary-panel summary{padding:12px 16px}.auxiliary-panel>div{padding:0 16px 16px}}.finance-workspace{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}.finance-workspace>.toolbar{min-height:64px;padding:10px 16px 10px 28px;margin:0;flex:none;background:#fff;border-bottom:1px solid var(--border)}.finance-workspace>.error{flex:none;margin:8px 16px}.ledger-scroll .table-scroll{overflow:visible}.editor-drawer{position:fixed;inset:16px 16px 16px auto;margin:0;width:min(860px,calc(100vw - 32px));height:calc(100dvh - 32px);max-width:none;max-height:none;padding:0;overflow:hidden;border-radius:20px}.editor-drawer[open]{display:flex;flex-direction:column}.editor-drawer .modal-head{flex:none;margin:0;padding:10px 12px 10px 24px;min-height:64px;border-bottom:1px solid var(--border)}.editor-drawer>form{display:flex;flex:1;min-height:0;flex-direction:column}.editor-drawer .editor-fields{overflow:auto;min-height:0;flex:1;padding:20px 24px;background:#f7f5fb}.editor-drawer .form-actions{flex:none;margin:0;min-height:72px;align-items:center;padding:12px 24px;background:#fff}.editor-drawer .form-actions button{min-height:44px}.editor-drawer .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:760px){.finance-workspace>.toolbar{padding:10px 16px}.editor-drawer{inset:0;width:100%;height:100dvh;border-radius:0}.editor-drawer .editor-fields{padding:16px}.editor-drawer .form-actions{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.editor-drawer .form-grid{grid-template-columns:minmax(0,1fr)}}.ledger-placeholder-head{display:flex;gap:20px;align-items:center;min-height:44px}.skeleton-label{display:block;width:100px;max-width:24%;height:14px;border-radius:4px;background:#eae6f1}
