:root{color-scheme:light;--canvas: #f8f9fb;--white: #ffffff;--ink: #1f2937;--ink-strong: #111827;--ink-muted: #6b7280;--ink-subtle: #9ca3af;--line: #e5e7eb;--pharmes-50: #fbf7ee;--pharmes-500: #b8945f;--pharmes-600: #a07b47;--pharmes-700: #7e6238;--ok-50: #ecfdf5;--ok-500: #10b981;--ok-700: #047857;--warn-50: #fffbeb;--warn-500: #f59e0b;--warn-700: #b45309;--danger-50: #fef2f2;--danger-500: #ef4444;--danger-700: #b91c1c;--background-page: #f7f7f5;--background-card: #ffffff;--background-soft: #fcfaf6;--background-total: #fcf8ef;--gold-primary: #a87500;--gold-secondary: #c89422;--gold-border: #e1c071;--text-primary: #1f2933;--text-secondary: #667085;--border-light: #ebe7df;--shadow-soft: 0 1px 2px rgba(15, 23, 42, .04);--shadow-card: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 20px rgba(15, 23, 42, .05);--shadow-modal: 0 24px 70px rgba(15, 23, 42, .22);--shadow-gold: 0 4px 12px rgba(169, 120, 31, .24);--shadow-ring-gold: 0 0 0 3px rgba(199, 154, 58, .16);--sidebar-background: #ffffff;--sidebar-background-soft: #fcfaf6;--sidebar-gold-primary: #b8872f;--sidebar-gold-secondary: #c89a47;--sidebar-gold-soft: #f8f1e4;--sidebar-gold-border: #ead5aa;--sidebar-text-primary: #172033;--sidebar-text-secondary: #6b7280;--sidebar-icon: #667085;--sidebar-border: #e9e6df;--sidebar-hover: #faf8f3;--sidebar-shadow: rgba(31, 41, 51, .08);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--canvas);font-size:14px;line-height:1.5;min-height:100vh;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}body.sidebar-drawer-lock{overflow:hidden}.shell{--sidebar-rail: 64px;--sidebar-width: 64px;--sidebar-offset-top: 14px;--sidebar-offset-left: 14px;--sidebar-offset-bottom: 14px;display:block;min-height:100vh;overflow-x:clip;background:#f6f7f9}.shell.sidebar-is-collapsed{--sidebar-rail: 64px;--sidebar-width: 64px}.shell.sidebar-is-expanded{--sidebar-rail: 232px;--sidebar-width: 232px}.sidebar{position:fixed;top:var(--sidebar-offset-top);left:var(--sidebar-offset-left);bottom:var(--sidebar-offset-bottom);z-index:30;width:var(--sidebar-rail);height:calc(100vh - var(--sidebar-offset-top) - var(--sidebar-offset-bottom));padding:16px 12px 18px;display:flex;flex-direction:column;overflow:visible;background:var(--white);border:1px solid #e8edf3;border-radius:24px;box-shadow:0 18px 36px #0f172a14;color:var(--ink-strong);transition:width .24s ease,transform .22s ease,box-shadow .18s ease}.sidebar-header{width:100%;display:flex;flex-direction:column;gap:10px;align-items:center;flex:0 0 auto}.sidebar-toggle-button{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;align-self:center;position:relative;z-index:2;border:1px solid var(--sidebar-border);border-radius:12px;background:var(--white);color:#64748b;box-shadow:0 6px 16px #0f172a1a;transition:background-color .16s ease,border-color .16s ease,color .16s ease}.sidebar-header>.sidebar-toggle-button{display:inline-flex}.sidebar-brand>.sidebar-toggle-button{display:none}.sidebar-toggle-button:hover{background:#faf8f3;border-color:var(--sidebar-gold-border);color:var(--sidebar-gold-primary)}.sidebar-toggle-button svg{width:14px;height:14px;transition:transform .22s ease}.shell.sidebar-is-collapsed .sidebar-toggle-button svg{transform:rotate(180deg)}.sidebar-main{width:100%;min-height:0;padding-top:14px;display:flex;flex:1 1 auto;flex-direction:column;gap:0}.content-area{width:calc(100% - var(--sidebar-width));min-height:100vh;margin-left:calc(var(--sidebar-width) + var(--sidebar-offset-left));padding:14px 22px;min-width:0;max-width:none;overflow-x:hidden;background:#f6f7f9;transition:margin-left .24s ease,width .24s ease}.sidebar-logo{width:100%;min-height:56px;padding:0;display:flex;align-items:center;justify-content:center}.sidebar-brand{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;padding:0}.sidebar-brand-text{display:none;color:var(--ink-strong);font-size:1rem;font-weight:700;letter-spacing:-.01em;white-space:nowrap}.sidebar-logo-image{width:auto;max-width:36px;max-height:36px;object-fit:contain;transition:max-width .24s ease,max-height .24s ease}.sidebar-logo-placeholder{width:36px;max-width:100%;height:36px;border-radius:10px;background:#f3f4f6}.sidebar-navigation{width:100%;min-height:0;display:grid;align-content:start;justify-items:center;gap:8px;padding:4px 0 0}.sidebar-settings-section{width:100%;margin-top:auto;padding-top:14px;border-top:1px solid #e6e0d5;display:flex;justify-content:center}.sidebar-item{position:relative;width:40px;height:40px;min-height:40px;display:flex;align-items:center;justify-content:center;gap:0;margin:0;padding:0;border:0;border-radius:14px;background:transparent;color:#64748b;text-align:left;text-decoration:none;font-size:13px;font-weight:500;overflow:hidden;transition:background-color .16s ease,box-shadow .16s ease,color .16s ease,width .24s ease,padding .24s ease,gap .24s ease}.sidebar-item:hover{background:var(--sidebar-hover);color:#475467}.sidebar-item:before,.sidebar-item:after{display:none;content:none}.sidebar-item:focus-visible,.mobile-menu-button:focus-visible,.sidebar-overlay:focus-visible,.sidebar-toggle-button:focus-visible{outline:3px solid rgba(17,24,39,.14);outline-offset:2px}.sidebar-item-active{width:40px;height:40px;min-height:40px;color:var(--white);background:var(--sidebar-gold-primary);font-weight:600;border-radius:14px;box-shadow:0 8px 18px #a875002e}.sidebar-item-active:hover{color:var(--white);background:var(--sidebar-gold-secondary)}.sidebar-item-icon,.sidebar-action-icon{width:22px;height:22px;flex-shrink:0;color:currentColor}.sidebar-item-active .sidebar-item-icon{width:22px;height:22px;color:var(--white)}.sidebar-item-label{display:none;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage-code-bar.is-direct-entry{display:grid;grid-template-columns:minmax(210px,.7fr) minmax(320px,1.5fr) auto auto;align-items:end;gap:14px;padding:20px;border-color:#dfc98f;border-radius:18px;background:linear-gradient(135deg,#fffdf8,#faf4e6);box-shadow:0 12px 30px #7e623814}.stage-scan-intro{min-width:0;display:grid;gap:3px;align-self:center}.stage-scan-kicker{color:var(--gold-primary);font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.stage-scan-intro strong{color:var(--text-primary);font-size:17px;line-height:1.2}.stage-scan-intro small{color:var(--text-secondary);font-size:11.5px;line-height:1.35}.stage-camera-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 16px;border:1px solid #c9a65b;border-radius:10px;background:var(--white);color:#765716;font-weight:800;white-space:nowrap}.stage-camera-button:hover{border-color:#9f741b;background:#fffaf0}.stage-camera-icon{position:relative;width:19px;height:14px;display:inline-block;border:2px solid currentColor;border-radius:4px}.stage-camera-icon:before{position:absolute;top:-6px;left:3px;width:8px;height:5px;border:2px solid currentColor;border-bottom:0;border-radius:3px 3px 0 0;content:""}.stage-camera-icon:after{position:absolute;top:3px;left:6px;width:4px;height:4px;border:1.5px solid currentColor;border-radius:50%;content:""}.stage-scan-ready{min-height:150px;display:flex;align-items:center;justify-content:center;gap:14px;padding:28px;border:1px dashed #d9c79e;border-radius:18px;background:#ffffffb3;color:var(--text-secondary);text-align:left}.stage-scan-ready>div{display:grid;gap:3px}.stage-scan-ready strong{color:var(--text-primary);font-size:15px}.stage-scan-ready-mark{width:12px;height:12px;flex:0 0 12px;border:3px solid #d9f5e8;border-radius:50%;background:var(--ok-500);box-shadow:0 0 0 5px #ecfdf5}.stage-scan-ready.is-compact{min-height:auto;justify-content:flex-start;padding:12px 14px;border-radius:12px}.barcode-scanner-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1500;display:grid;place-items:center;padding:20px;background:#0c121dc7}.barcode-scanner-modal{width:min(680px,100%);max-height:calc(100vh - 40px);display:grid;grid-template-rows:auto minmax(260px,1fr) auto;overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:20px;background:#111827;box-shadow:0 28px 80px #0000006b}.barcode-scanner-header,.barcode-scanner-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;background:var(--white)}.barcode-scanner-header>div{display:grid;gap:2px}.barcode-scanner-header span{color:var(--gold-primary);font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.barcode-scanner-header h2{margin:0;color:var(--text-primary);font-size:18px;line-height:1.2}.barcode-scanner-viewport{position:relative;min-height:300px;overflow:hidden;background:#070b12}.barcode-scanner-viewport video{width:100%;height:100%;min-height:300px;display:block;object-fit:cover}.barcode-scanner-guide{position:absolute;top:50%;left:50%;width:min(82%,520px);height:34%;border:3px solid #f4c95d;border-radius:14px;box-shadow:0 0 0 999px #0000004d;transform:translate(-50%,-50%)}.barcode-scanner-guide:after{position:absolute;top:50%;left:5%;right:5%;height:2px;background:#f7d67f;box-shadow:0 0 8px #f7d67fd9;content:""}.barcode-scanner-state{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:30px;background:#070b12b8;color:var(--white);font-weight:750;text-align:center}.barcode-scanner-state.is-error{color:#fee2e2}.barcode-scanner-footer span{color:var(--text-secondary);font-size:12px;line-height:1.4}@media(max-width:980px){.stage-code-bar.is-direct-entry{grid-template-columns:minmax(0,1fr) auto auto}.stage-scan-intro{grid-column:1 / -1}}@media(max-width:680px){.stage-code-bar.is-direct-entry{grid-template-columns:1fr}.stage-code-bar.is-direct-entry .pcp-dist-confirm,.stage-camera-button{width:100%;min-height:48px}.barcode-scanner-backdrop{padding:0}.barcode-scanner-modal{width:100vw;height:100vh;max-height:100vh;border:0;border-radius:0}.barcode-scanner-footer{align-items:stretch;flex-direction:column}}@media(max-width:860px),(max-width:1366px)and (pointer:coarse){.shell,.shell.sidebar-is-collapsed,.shell.sidebar-is-expanded{--sidebar-width: 0px}.content-area{width:100%;margin-left:0;padding-top:78px}.mobile-menu-button{position:fixed;top:14px;left:14px;z-index:25;width:auto;max-width:min(310px,calc(100vw - 28px));min-height:48px;display:inline-flex;justify-content:flex-start;gap:10px;padding:6px 14px;border-color:#e7ddc8;border-radius:14px;box-shadow:0 8px 22px #0f172a1c}.mobile-menu-button>span{min-width:0;display:grid;gap:0;text-align:left}.mobile-menu-button small{color:var(--text-secondary);font-size:9px;font-weight:800;letter-spacing:.05em;line-height:1.15;text-transform:uppercase}.mobile-menu-button strong{overflow:hidden;color:var(--text-primary);font-size:13px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.sidebar-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:block;width:100%;height:100%;border:0;border-radius:0;background:#1018288f;opacity:0;pointer-events:none}.sidebar-drawer-open .sidebar-overlay{opacity:1;pointer-events:auto}.sidebar{top:50%;bottom:auto;left:50%;z-index:45;width:min(760px,calc(100vw - 32px));height:auto;max-height:calc(100vh - 32px);padding:0;overflow:hidden;border-radius:22px;opacity:0;pointer-events:none;transform:translate(-50%,-48%) scale(.97)}.sidebar-drawer-open .sidebar{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}.sidebar-header{display:none}.mobile-module-picker-head{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid var(--sidebar-border);background:var(--sidebar-background-soft)}.mobile-module-picker-head>div{display:grid;gap:1px}.mobile-module-picker-head span{color:var(--sidebar-gold-primary);font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.mobile-module-picker-head strong{color:var(--sidebar-text-primary);font-size:19px}.mobile-module-picker-head button{width:44px;height:44px;display:inline-grid;place-items:center;border:1px solid var(--sidebar-border);border-radius:12px;background:var(--white);color:var(--sidebar-text-secondary)}.mobile-module-picker-head svg{width:20px;height:20px}.sidebar-main{max-height:calc(100vh - 102px);padding:16px;gap:14px;overflow-y:auto}.sidebar-navigation{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;justify-items:stretch;gap:10px;padding:0}.sidebar-item,.sidebar-item-active,.shell.sidebar-is-expanded .sidebar-item,.shell.sidebar-is-expanded .sidebar-item-active{width:100%;height:auto;min-height:72px;justify-content:flex-start;gap:12px;padding:12px 14px;overflow:hidden;border:1px solid var(--sidebar-border);border-radius:14px;background:var(--white);color:var(--sidebar-text-primary)}.sidebar-item-active,.shell.sidebar-is-expanded .sidebar-item-active{border-color:#d6b56d;background:#fbf5e8;color:#6d5014;box-shadow:inset 4px 0 0 var(--sidebar-gold-primary)}.sidebar-item-icon,.sidebar-item-active .sidebar-item-icon{width:24px;height:24px;color:var(--sidebar-gold-primary)}.sidebar-item-copy{min-width:0;display:grid;gap:2px}.sidebar-item-label,.shell.sidebar-is-expanded .sidebar-item-label{display:block;color:inherit;font-size:13.5px;font-weight:800;line-height:1.25}.sidebar-item-copy>small{display:-webkit-box;overflow:hidden;color:var(--sidebar-text-secondary);font-size:10.5px;font-weight:500;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sidebar-item-tooltip,.shell.sidebar-is-collapsed .sidebar-item-tooltip{display:none}.sidebar-settings-section{margin-top:0;padding-top:14px}.sidebar-settings-section .sidebar-item{min-height:58px}}@media(max-width:560px){.sidebar-navigation{grid-template-columns:1fr}.sidebar-item-copy>small{-webkit-line-clamp:1}}.sidebar-item-copy{display:none;min-width:0}.sidebar-item-copy>small,.mobile-module-picker-head,.mobile-menu-button>span{display:none}.sidebar-item-tooltip{position:absolute;left:calc(100% + 12px);top:50%;transform:translateY(-50%) translate(-4px);display:flex;flex-direction:column;gap:2px;min-width:180px;max-width:240px;padding:8px 12px;border-radius:10px;background:var(--ink-strong);color:#f9fafb;font-weight:500;text-align:left;white-space:normal;box-shadow:0 8px 20px #11182738;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .14s ease,transform .14s ease;z-index:200}.sidebar-item-tooltip strong{font-size:12.5px;font-weight:700;color:var(--white)}.sidebar-item-tooltip span{font-size:11.5px;font-weight:400;line-height:1.35;color:#d1d5db}.sidebar-item:hover .sidebar-item-tooltip,.sidebar-item:focus-visible .sidebar-item-tooltip{opacity:1;visibility:visible;transform:translateY(-50%) translate(0)}.sidebar-item-badge{position:absolute;top:-4px;right:-8px;min-width:28px;height:18px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#f59e0b;color:var(--white);box-shadow:0 4px 10px #f59e0b38;font-size:10px;font-weight:700;line-height:1}.mobile-menu-button{width:44px;height:44px;border:1px solid var(--line);border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:var(--white);color:#4b5563;box-shadow:var(--shadow-soft);transition:background-color .16s ease,color .16s ease,border-color .16s ease}.mobile-menu-button:hover{background:#f9fafb;color:var(--ink-strong);border-color:#d1d5db}.mobile-menu-button svg{width:20px;height:20px}.mobile-menu-button,.sidebar-overlay{display:none}@media(min-width:861px){.shell.sidebar-is-collapsed .sidebar-brand{justify-content:center;width:100%}.shell.sidebar-is-collapsed .sidebar-header>.sidebar-toggle-button{position:static;display:inline-flex}.shell.sidebar-is-expanded .sidebar-brand{justify-content:space-between;padding-left:6px;padding-right:6px}.shell.sidebar-is-expanded .sidebar-header{gap:0}.shell.sidebar-is-expanded .sidebar-header>.sidebar-toggle-button{display:none}.shell.sidebar-is-expanded .sidebar-brand>.sidebar-toggle-button{display:inline-flex}.shell.sidebar-is-expanded .sidebar-navigation{justify-items:stretch}.shell.sidebar-is-expanded .sidebar-settings-section{justify-content:stretch}.shell.sidebar-is-expanded .sidebar-brand-text{display:inline;font-size:1.3rem;font-weight:800;letter-spacing:-.02em}.shell.sidebar-is-expanded .sidebar-item{width:100%;justify-content:flex-start;gap:10px;padding:0 12px}.shell.sidebar-is-expanded .sidebar-item-active{width:100%}.shell.sidebar-is-expanded .sidebar-item-copy{display:block;min-width:0;flex:1 1 auto}.shell.sidebar-is-expanded .sidebar-item-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shell.sidebar-is-expanded .sidebar-item-tooltip{display:none}.shell.sidebar-is-collapsed .sidebar-item{justify-content:center;gap:0;padding:0;overflow:visible}.shell.sidebar-is-collapsed .sidebar-item-copy{display:none}.shell.sidebar-is-collapsed .sidebar-item-tooltip{display:flex;min-width:max-content;max-width:220px;padding:7px 10px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:var(--ink-strong);color:var(--white);box-shadow:0 12px 28px #11182738;z-index:500}.shell.sidebar-is-collapsed .sidebar-item-tooltip strong{color:var(--white);font-size:12px}.shell.sidebar-is-collapsed .sidebar-item-tooltip span{display:none}}.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px}.eyebrow{color:var(--ink-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;margin-bottom:4px}.page-title,.section-header h2,.login-card h1{margin:0;letter-spacing:-.01em}.page-title{font-size:clamp(1.5rem,3vw,2rem);font-weight:700;line-height:1.1}.topbar-user{display:flex;gap:14px;align-items:center;text-align:right}.shell-topbar{width:100%;display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-bottom:4px}.shell-support-button{width:36px;height:36px;flex:0 0 36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--text-secondary);transition:color .16s ease,background .16s ease}.shell-support-button:hover{color:var(--sidebar-gold-primary);background:var(--sidebar-gold-soft, rgba(202, 158, 74, .1))}.shell-support-button svg{width:18px;height:18px}.shell-user-panel{padding:10px 12px;gap:12px;border:1px solid var(--line);border-radius:18px;background:var(--white);box-shadow:0 6px 18px #1018280f}.shell-user-meta{display:flex;min-width:0;flex-direction:column;align-items:flex-start;text-align:left}.shell-user-meta strong{color:var(--text-primary);font-size:.95rem;font-weight:700;line-height:1.2}.shell-user-meta small{color:var(--text-secondary);font-size:.78rem;line-height:1.2}.shell-user-avatar{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;border-radius:12px;background:var(--gold-primary);color:var(--white);font-size:.8rem;font-weight:800;letter-spacing:.02em;overflow:hidden}.shell-user-avatar img{width:100%;height:100%;object-fit:cover}.shell-user-separator{display:inline-block;width:1px;height:24px;flex:0 0 1px;background:var(--line);color:transparent;font-size:0}.shell-logout-button{width:36px;height:36px;flex:0 0 36px;margin-left:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:10px;background:transparent;color:#475467;transition:color .16s ease,background .16s ease}.shell-logout-button:hover{background:#d92d2014;color:#d92d20}.shell-logout-button svg{width:18px;height:18px}.shell-logout-button:focus-visible{outline:3px solid rgba(17,24,39,.14);outline-offset:2px}.topbar-user small{display:block}.page-content{width:100%;max-width:none;display:grid;gap:16px}.route-loading{min-height:100vh;display:grid;place-items:center;color:var(--text-secondary);font-weight:650}.welcome-panel{margin-bottom:18px}.welcome-panel h1{margin:0;color:var(--text-primary);font-size:1.25rem;font-weight:700;line-height:1.25}.welcome-card{margin-bottom:18px;background:var(--white);border:1px solid #e4e7ec;border-radius:24px;overflow:hidden;box-shadow:0 4px 20px #1018280f}.welcome-card-header{display:flex;align-items:center;gap:16px;padding:26px 32px;border-bottom:1px solid #eef0f3}.welcome-card-intro{flex:1;min-width:0}.welcome-card-intro h1{margin:0;font-size:1.375rem;font-weight:800;letter-spacing:-.01em;color:#141f36}.welcome-card-intro p{margin:3px 0 0;font-size:.875rem;font-weight:500;color:#5a6480}.welcome-card-intro p strong{color:#17a05a;font-weight:700}.welcome-card-status{flex:none;width:10px;height:10px;border-radius:50%;background:#17a05a;box-shadow:0 0 0 4px #17a05a2e}.welcome-card-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.welcome-metric{padding:26px 30px;border-left:1px solid #eef0f3;transition:background .15s ease}.welcome-metric:first-child{border-left:0}.welcome-metric:hover{background:#fafbfc}.welcome-metric-head{display:flex;align-items:center;gap:10px;margin-bottom:18px}.welcome-metric-label{font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:#8b93a6}.welcome-metric-value{font-size:2.35rem;font-weight:800;letter-spacing:0;line-height:1;color:#141f36}.num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}@media(max-width:960px){.welcome-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-metric:nth-child(-n+2){border-top:0}.welcome-metric:nth-child(odd){border-left:0}.welcome-metric:nth-child(n+3){border-top:1px solid #eef0f3}}@media(max-width:560px){.welcome-card-grid{grid-template-columns:1fr}.welcome-metric{border-left:0;border-top:1px solid #eef0f3}.welcome-metric:first-child{border-top:0}}.pcp-advance-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;padding:16px 22px;background:var(--white);border:1px solid #eee7d6;border-radius:16px;box-shadow:var(--shadow-card)}.pcp-advance-bar strong{display:block;font-size:.95rem;color:#1c2536}.pcp-advance-bar span{font-size:.8125rem;color:#8a8674}.pcp-advance-button{flex:none}.pcp-advance-button:disabled{opacity:.5;cursor:not-allowed}.pcp-advance-button svg{width:18px;height:18px}.pcp-dist{width:100%;min-width:0;height:calc(100vh - 24px);min-height:620px;display:flex;flex-direction:column;background:var(--white);border:1px solid #e7e3d8;border-radius:18px;overflow:hidden;box-shadow:var(--shadow-card)}.pcp-dist-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex:0 0 auto;flex-wrap:wrap;padding:16px 24px;background:var(--white);border-bottom:1px solid #e7e3d8}.pcp-dist-inherited{display:inline-flex;align-items:center;align-self:flex-start;margin-top:4px;border:1px solid #e7c98a;border-radius:999px;padding:3px 9px;background:#fff9ed;color:#9a6700;font-size:12px;font-weight:600}.pcp-dist-topbar-title span{font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#b08422}.pcp-dist-topbar-title h2{margin:2px 0 0;font-size:1.125rem;font-weight:800;letter-spacing:-.01em;color:#1c2536}.pcp-dist-topbar-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.pcp-dist-progress{text-align:right}.pcp-dist-progress-count{font-size:.9375rem;font-weight:800;color:#1c2536}.pcp-dist-progress-count span{color:#b0a58c;font-weight:600}.pcp-dist-progress-label{display:block;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#a9884a}.pcp-dist-progress-bar{width:120px;height:8px;border-radius:6px;background:#f0ece1;overflow:hidden}.pcp-dist-progress-bar>div{height:100%;border-radius:6px;background:var(--gold-primary);transition:width .3s}.pcp-dist-back,.pcp-dist-confirm{border:0;cursor:pointer;font-weight:700;font-size:.8125rem;padding:10px 18px;border-radius:12px}.pcp-dist-back{color:var(--white);background:#5a6480}.pcp-dist-confirm{color:var(--white);background:var(--gold-primary);box-shadow:var(--shadow-gold)}.pcp-dist-confirm:disabled{opacity:.5;cursor:not-allowed}.pcp-dist-tool{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1px solid #d8cfb8;border-radius:12px;background:var(--white);color:#5a5140;font-size:.8125rem;font-weight:700;cursor:pointer}.pcp-dist-tool:hover{border-color:#c79a3a;color:#a9781f}.pcp-dist-tool.is-active{border-color:#c79a3a;background:#fdf7e9;color:#a9781f}.pcp-dist-tool-badge{min-width:18px;padding:1px 5px;border-radius:9px;background:var(--gold-primary);color:var(--white);font-size:.6875rem;font-weight:800;text-align:center}.pcp-dist-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:grid;place-items:center;padding:24px;background:#0f172a7a}.pcp-dist-modal{width:min(620px,calc(100vw - 48px));max-height:min(720px,calc(100vh - 48px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #e5ddc9;border-radius:14px;background:var(--white);box-shadow:var(--shadow-modal)}.pcp-dist-modal.is-compact{width:min(460px,calc(100vw - 48px))}.pcp-dist-modal-head,.pcp-dist-modal-actions{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.pcp-dist-modal-head{border-bottom:1px solid #efe8d6}.pcp-dist-modal-head div{display:grid;gap:3px}.pcp-dist-modal-head span{color:#c79a3a;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.pcp-dist-modal-head strong{color:#1c2536;font-size:1.05rem;font-weight:800}.pcp-dist-modal-close{width:30px;height:30px;border:0;border-radius:8px;background:#f4f1e8;color:#5a5140;font-size:1.1rem;line-height:1;cursor:pointer}.pcp-dist-modal-close:hover{background:#ece6d6}.pcp-dist-modal-body{min-height:0;overflow:auto;padding:18px 20px;display:grid;gap:16px;align-content:start}.pcp-dist-modal-actions{border-top:1px solid #efe8d6;justify-content:flex-end}.pcp-dist-field{display:grid;gap:7px}.pcp-dist-field>span{color:#6b6250;font-size:.75rem;font-weight:800;letter-spacing:.02em;text-transform:uppercase}.pcp-dist-field input,.pcp-dist-field select{padding:9px 12px;border:1px solid #ded6c2;border-radius:10px;background:var(--white);color:#1c2536;font-size:.875rem;font-family:inherit}.pcp-dist-field input:focus,.pcp-dist-field select:focus{outline:none;border-color:#c79a3a;box-shadow:var(--shadow-ring-gold)}.pcp-dist-chips{display:flex;flex-wrap:wrap;gap:7px}.pcp-dist-chips em{color:#9a917d;font-size:.8125rem}.pcp-dist-chip{padding:7px 12px;border:1px solid #ded6c2;border-radius:999px;background:var(--white);color:#5a5140;font-size:.8125rem;font-weight:600;cursor:pointer}.pcp-dist-chip:hover{border-color:#c79a3a}.pcp-dist-chip.is-on{border-color:#a9781f;background:var(--gold-primary);color:var(--white);font-weight:700}.pcp-dist-hint{margin:0;color:#7a7260;font-size:.8125rem;line-height:1.45}.weigher-characteristics{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.weigher-characteristic{display:grid;gap:3px;padding:10px;border:1px solid #eee7d6;border-radius:10px;background:#fffdf7}.weigher-characteristic span{color:#7a7260;font-size:.6875rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.weigher-characteristic strong{color:#1c2536;font-size:.8125rem;line-height:1.35}.prescription-pdf-card{display:grid;gap:10px;place-items:center;padding:28px 20px;text-align:center;border:1px dashed #d8cfb8;border-radius:12px;background:#fffdf7}.prescription-pdf-card strong{color:#1c2536;font-size:1rem}.prescription-pdf-card p{margin:0;max-width:320px;color:#7a7260;font-size:.8125rem;line-height:1.45}.prescription-pdf-open{padding:12px 22px;border-radius:12px;background:var(--gold-primary);color:var(--white);font-size:.9375rem;font-weight:700;text-decoration:none;box-shadow:var(--shadow-gold)}.prescription-pdf-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.prescription-pdf-open.is-disabled{pointer-events:none;background:#e5e7eb;color:#64748b;box-shadow:none}.prescription-pdf-secondary{min-height:44px;display:inline-grid;place-items:center;padding:0 14px;border:1px solid #d8cfb8;border-radius:12px;color:#4b5563;font-size:.875rem;font-weight:750;text-decoration:none}.weigher-prescription-frame.is-pdf-fallback,.weigher-focus-prescription-frame.is-pdf-fallback{display:grid;place-items:center;min-height:220px}@media(max-width:1180px)and (pointer:coarse){.weigher-focus-modal{width:100vw;max-width:100vw;height:100vh;max-height:100vh;border-radius:0}.weigher-focus-header{padding:14px 16px}.weigher-focus-header button,.weigher-focus-prescription .image-viewer__button,.weigher-focus-prescription .prescription-pager-nav button,.weigher-prescription-focus-button{min-width:44px;min-height:44px}.weigher-focus-field-actions button{min-width:36px;min-height:36px}.prescription-pdf-open{min-height:52px;display:grid;place-items:center;font-size:1rem}.weigher-check-popup{width:min(100vw - 24px,620px)}.weigher-check-toggle{min-width:44px;min-height:44px}.weigher-review-choice{min-height:48px;padding:10px 14px;font-size:.95rem}.weigher-check-actions button,.weigher-primary-button{min-height:52px;font-size:1rem}.stage-option-buttons button{min-height:88px}.stage-code-bar input,.pcp-lab-search input{min-height:52px;font-size:1rem}}.users-function-grid{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.users-function-card{display:grid;gap:3px;padding:12px;text-align:left;border:1px solid var(--border-light);border-radius:10px;background:var(--white);cursor:pointer}.users-function-card strong{color:var(--text-primary);font-size:.875rem}.users-function-card span{color:var(--text-secondary);font-size:.75rem;line-height:1.35}.users-function-card:hover{border-color:#c79a3a}.users-function-card.is-on{border-color:#a9781f;background:#fdf7e9}.users-function-card.is-on strong{color:#a9781f}.stage-option-picker h4{margin:0 0 10px;color:#5a5140;font-size:.875rem}.stage-option-buttons{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.stage-option-buttons button{display:grid;gap:3px;padding:16px;text-align:left;border:1px solid #ded6c2;border-radius:12px;background:var(--white);cursor:pointer}.stage-option-buttons button:hover{border-color:#a9781f;background:#fdf7e9}.stage-option-buttons strong{color:#1c2536;font-size:1rem}.stage-option-buttons span{color:#7a7260;font-size:.75rem}.stage-code-bar{display:flex;align-items:flex-end;gap:12px;padding:14px 16px;margin-bottom:14px;border:1px solid #ece5d3;border-radius:12px;background:#fffdf7}.stage-code-bar .pcp-lab-search{flex:1 1 420px}.stage-task-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.stage-task-card{display:grid;gap:8px;padding:14px;border:1px solid #e8e1cf;border-radius:12px;background:var(--white)}.stage-task-head{display:grid;gap:2px}.stage-task-head span{color:#c79a3a;font-size:.6875rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.stage-task-head strong{color:#1c2536;font-size:1.05rem;font-weight:800}.stage-task-patient{margin:0;color:#5a5140;font-size:.875rem;font-weight:600}.stage-task-meta{display:flex;flex-wrap:wrap;gap:8px;color:#7a7260;font-size:.75rem;font-weight:700}.stage-sheet-shell{display:grid;gap:14px;max-height:calc(100vh - 48px);max-width:calc(100vw - 48px)}.stage-sheet-shell.has-prescription{grid-template-columns:minmax(0,720px) minmax(0,520px)}.stage-sheet-shell.has-prescription .stage-sheet{width:auto}.stage-prescription-controls h4{margin:0 0 8px;color:#5a5140;font-size:.8125rem;text-transform:uppercase;letter-spacing:.03em}.stage-prescription-controls .pcp-dist-late-warning{margin-top:10px}.stage-sheet{width:min(720px,calc(100vw - 48px));max-height:min(760px,calc(100vh - 48px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border-radius:14px;background:var(--white);box-shadow:var(--shadow-modal)}.stage-sheet-body{min-height:0;overflow:auto;padding:18px 20px;display:grid;gap:16px;align-content:start}.stage-sheet-info{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.stage-sheet-info>div{display:grid;gap:3px}.stage-sheet-info span{color:#7a7260;font-size:.6875rem;font-weight:800;text-transform:uppercase}.stage-sheet-info strong{color:#1c2536;font-size:.9375rem}.stage-sheet-items h4,.stage-characteristics h4{margin:0 0 8px;color:#5a5140;font-size:.8125rem;text-transform:uppercase;letter-spacing:.03em}.stage-sheet-items p{margin:0;color:#9a917d;font-size:.8125rem}.stage-items-wrap{overflow-x:auto;border:1px solid #eee7d6;border-radius:10px}.stage-items-table{width:100%;border-collapse:collapse;font-size:.8125rem}.stage-items-table th{padding:8px 10px;text-align:left;background:#fffdf7;color:#7a7260;font-size:.6875rem;font-weight:800;text-transform:uppercase;border-bottom:1px solid #eee7d6;white-space:nowrap}.stage-items-table td{padding:8px 10px;border-bottom:1px solid #f4efe2;color:#1c2536;vertical-align:top}.stage-items-table tbody tr:last-child td{border-bottom:0}.stage-items-table small{display:block;margin-top:2px;color:#9a917d;font-size:.6875rem}.stage-char-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));padding:12px;border:1px solid #eee7d6;border-radius:10px;background:#fffdf7}.stage-char-grid>div{display:grid;gap:3px}.stage-char-grid span{color:#7a7260;font-size:.6875rem;font-weight:800;text-transform:uppercase}.stage-char-grid strong{color:#1c2536;font-size:.8125rem}.stage-signatures h4{margin:0 0 8px;color:#5a5140;font-size:.8125rem;text-transform:uppercase;letter-spacing:.03em}.stage-signatures p{margin:0;color:#9a917d;font-size:.8125rem}.stage-signatures ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}.stage-signatures li{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #eee7d6;border-radius:10px;background:#fffdf7}.stage-signatures img{width:96px;height:40px;object-fit:contain;background:var(--white);border:1px solid #eee7d6;border-radius:6px}.stage-signatures li div{display:grid;gap:2px}.stage-signatures li strong{color:#1c2536;font-size:.8125rem}.stage-signatures li span{color:#7a7260;font-size:.75rem}.stage-steps-track{display:flex;flex-wrap:wrap;gap:8px}.stage-track-item{padding:6px 12px;border:1px solid #ded6c2;border-radius:999px;color:#7a7260;font-size:.75rem;font-weight:700}.stage-track-item.is-current{border-color:#a9781f;background:var(--gold-primary);color:var(--white)}.stage-track-item.is-done{border-color:#8fc9ab;background:#e7f6ee;color:#1d6b45}.pcp-lab-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid var(--border-light);background:var(--background-card)}.pcp-lab-search{flex:1 1 320px;min-width:0;display:grid;gap:4px}.pcp-lab-search>span{color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.pcp-lab-search input{width:100%;padding:9px 12px;border:1px solid var(--border-light);border-radius:10px;background:var(--white);color:var(--text-primary);font-size:.875rem;font-family:inherit}.pcp-lab-search input:focus{outline:none;border-color:var(--gold-primary);box-shadow:var(--shadow-ring-gold)}.pcp-lab-search-count{color:var(--text-secondary);font-size:.8125rem;font-weight:700}.pcp-lab-toolbar-actions{margin-left:auto;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.pcp-lab-hint{color:#9a917d;font-size:.8125rem}.pcp-lab-selected-count{color:var(--gold-primary);font-size:.8125rem;font-weight:800}.pcp-lab-clear,.pcp-lab-create-group{border-radius:10px;padding:9px 14px;font-size:.8125rem;font-weight:700;cursor:pointer}.pcp-lab-clear{border:1px solid var(--border-light);background:var(--white);color:var(--text-secondary)}.pcp-lab-create-group{border:0;color:var(--white);background:var(--gold-primary);box-shadow:var(--shadow-gold)}.pcp-lab-create-group:disabled{opacity:.5;cursor:not-allowed}.pcp-lab-group-message{margin-bottom:12px;padding:10px 16px;border-radius:10px;background:#e7f6ee;color:#1d6b45;font-size:.8125rem;font-weight:700}.pcp-lab-group-message.is-error{background:#fdecec;color:#b42318}.pcp-lab-formula-table tr.is-selected{background:#fdf7e9}.pcp-dist-late-warning{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 24px;background:#fdecec;border-top:1px solid #f5c9c9;border-bottom:1px solid #f5c9c9;color:#8c2f2f;font-size:.8125rem;font-weight:700}.pcp-dist-late-warning button{border:1px solid #d98a8a;border-radius:8px;padding:5px 10px;background:var(--white);color:#8c2f2f;font-size:.75rem;font-weight:700;cursor:pointer}.pcp-dist-late-warning button:hover{background:#fbdede}.pcp-dist-late-badge{align-self:flex-start;padding:2px 8px;border-radius:999px;background:#fdecec;border:1px solid #f0bcbc;color:#b42318;font-size:.6875rem;font-weight:800}.pcp-group-stat-late strong,.pcp-group-stat-late span{color:#b42318}.pcp-lab-group-row.is-late{border-left:3px solid #d98a8a}.pcp-lab-late-badge{color:#b42318}.pcp-dist-confirmed{flex:0 0 auto;padding:10px 24px;background:#e7f6ee;color:#17914f;font-size:.8125rem;font-weight:600;border-bottom:1px solid #cfead9}.stage-notice{display:grid;gap:3px;flex-wrap:unset;margin-bottom:4px;padding:12px 14px;border-radius:10px;border-top:0;border-bottom:0}.stage-notice strong{font-size:.85rem;font-weight:800}.stage-notice span{font-size:.78rem;font-weight:550;opacity:.9}.pcp-dist-body{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(340px,.34fr) minmax(0,1fr)}.pcp-dist-pool{min-width:0;background:#eceef1;overflow:auto}.pcp-dist-people{min-width:0;min-height:0;border-left:1px solid #e0dccf;background:#f6f4ee;overflow:auto;transition:box-shadow .15s}.pcp-dist-people.is-dropping{box-shadow:inset 0 0 0 2px #c79a3a40}.pcp-dist-col-header{position:sticky;top:0;z-index:2;padding:18px 22px 8px;background:inherit}.pcp-dist-col-header h3{margin:0;font-size:.9375rem;font-weight:800;color:#1c2536}.pcp-dist-col-header p{margin:2px 0 0;font-size:.75rem;font-weight:500;color:#8a8674}.pcp-dist-select-visible,.pcp-dist-assign-selected{margin-top:10px;border:1px solid #d8cfb8;border-radius:10px;background:var(--white);color:#6f5524;font-size:.75rem;font-weight:800;cursor:pointer}.pcp-dist-select-visible{padding:7px 10px}.pcp-dist-select-visible:disabled{opacity:.45;cursor:not-allowed}.pcp-dist-assign-selected{width:100%;padding:8px 10px;background:#fdf7e9}.pcp-dist-pool-list{padding:8px 22px 24px;display:flex;flex-direction:column;gap:16px}.pcp-dist-lab{background:var(--white);border:1px solid #eee7d6;border-radius:16px;overflow:hidden}.pcp-dist-lab-head{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #f4efe3}.pcp-dist-lab-bar{width:4px;height:30px;border-radius:3px;flex:none}.pcp-dist-lab-title{flex:1;min-width:0}.pcp-dist-lab-title span{display:block;font-size:9px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#b08422}.pcp-dist-lab-title strong{font-size:.9375rem;color:#1c2536}.pcp-dist-lab-count{font-size:11px;font-weight:700;color:#8a611a;background:#f7edd6;border:1px solid #ecdfba;padding:4px 10px;border-radius:14px}.pcp-dist-group-list{padding:12px;display:flex;flex-direction:column;gap:10px}.pcp-dist-group-card{border:1px solid #e7ebf0;border-radius:10px;padding:12px 14px;background:var(--white);cursor:grab;transition:box-shadow .15s,transform .15s,border-color .15s}.pcp-dist-group-card:hover{border-color:#d8b25c;box-shadow:0 6px 16px #0f172a14;transform:translateY(-1px)}.pcp-dist-group-card.is-dragging{opacity:.5}.pcp-dist-group-card.is-selected{border-color:#c79a3a;background:#fffaf0;box-shadow:0 0 0 2px #c79a3a24}.pcp-dist-group-card-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start}.pcp-dist-group-check{display:inline-flex;align-items:center;gap:6px;padding-top:2px;color:#7a6a48;font-size:.6875rem;font-weight:800;cursor:pointer}.pcp-dist-group-check input{width:15px;height:15px;accent-color:var(--gold-primary)}.pcp-dist-group-title span{font-size:9px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#b08422}.pcp-dist-group-title strong{display:block;font-size:.875rem;font-weight:800;color:#1c2536}.pcp-dist-group-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;font-size:.75rem;font-weight:600;color:#5a6480}.pcp-dist-group-meta span{min-width:0;border:1px solid #edf0f3;border-radius:8px;padding:6px 8px;background:#fafafa;text-align:center;white-space:nowrap}.pcp-dist-sectors{padding:12px 24px 28px;display:flex;flex-direction:column;gap:22px}.pcp-dist-sector-head{display:flex;align-items:center;gap:10px;margin:4px 2px 12px}.pcp-dist-sector-dot{width:9px;height:9px;border-radius:3px;background:#c79a3a}.pcp-dist-sector-name{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8a611a}.pcp-dist-sector-line{flex:1;height:1px;background:#e6e1d2}.pcp-dist-person-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:14px}.pcp-dist-person{background:var(--white);border:1px solid #eae4d5;border-radius:16px;padding:16px;transition:border-color .15s,box-shadow .15s}.pcp-dist-person.is-target{border-color:#d3b25c;box-shadow:0 0 0 3px #c79a3a1f}.pcp-dist-person-head{display:flex;align-items:center;gap:12px}.pcp-dist-person-avatar{width:42px;height:42px;border-radius:12px;background:#f3e7c6;color:#8a611a;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.9375rem;flex:none}.pcp-dist-person-id{flex:1;min-width:0}.pcp-dist-person-id strong{display:block;font-size:.875rem;font-weight:800;color:#1c2536}.pcp-dist-person-id span{font-size:.6875rem;font-weight:600;color:#8a8674}.pcp-dist-person-load{text-align:right}.pcp-dist-person-load strong{font-size:.875rem;font-weight:800;color:#1c2536}.pcp-dist-person-load span{display:block;font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#a9884a}.pcp-dist-person-bar{height:6px;border-radius:5px;background:#efe9db;overflow:hidden;margin:12px 0}.pcp-dist-person-bar>div{height:100%;border-radius:5px;background:var(--gold-primary);transition:width .3s}.pcp-dist-drop-hint{border:1.5px dashed #ddd3ba;border-radius:10px;padding:12px;text-align:center;font-size:.6875rem;font-weight:600;color:#b0a58c}.pcp-dist-assigned-list{display:flex;flex-direction:column;gap:7px}.pcp-dist-assigned{display:flex;align-items:center;gap:8px;background:#faf7ef;border:1px solid #eee2c4;border-radius:10px;padding:7px 10px;cursor:grab}.pcp-dist-assigned.is-dragging{opacity:.55}.pcp-dist-assigned-bar{width:3px;height:22px;border-radius:2px;flex:none}.pcp-dist-assigned-info{flex:1;min-width:0}.pcp-dist-assigned-info strong{display:block;font-size:.75rem;font-weight:700;color:#1c2536;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pcp-dist-assigned-info span{font-size:.625rem;font-weight:600;color:#8a8674}.pcp-dist-assigned-remove{width:24px;height:24px;border:0;background:transparent;border-radius:7px;display:flex;align-items:center;justify-content:center;color:#b0a58c;cursor:pointer;flex:none;font-size:1rem;line-height:1}.pcp-dist-assigned-remove:hover{background:#f2e6e4;color:#c25a4e}.pcp-dist-empty{padding:16px;text-align:center;font-size:.75rem;font-weight:600;color:#b0a58c}@media(min-width:1600px){.pcp-dist-body{grid-template-columns:minmax(420px,.3fr) minmax(0,1fr)}.pcp-dist-person-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}}@media(max-width:1080px){.pcp-dist-body{grid-template-columns:1fr;overflow:auto}.pcp-dist-pool{overflow:visible}.pcp-dist-people{border-left:0;border-top:1px solid #e0dccf;overflow:visible}}@media(max-width:860px){.pcp-dist{height:auto;min-height:calc(100vh - 108px)}.pcp-dist-topbar{padding:14px 16px}.pcp-dist-topbar-actions{width:100%}.pcp-dist-progress-bar{flex:1 1 140px;width:auto}.pcp-dist-col-header{padding:16px 16px 8px}.pcp-dist-pool-list,.pcp-dist-sectors{padding-left:16px;padding-right:16px}}.card{border:1px solid rgba(232,237,243,.95);background:var(--white);box-shadow:0 1px 2px #0f172a0a,0 8px 24px #0f172a09}.panel,.login-card{border-radius:1rem;padding:20px}.section-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.section-header h2{font-size:1.25rem;font-weight:700;line-height:1.2}.section-header p{margin:4px 0 0;color:var(--ink-muted)}.grid-4,.grid-3,.grid-2{display:grid;gap:16px}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:16px 20px;border-radius:.75rem;background:var(--white);box-shadow:none;border:0;outline:1px solid var(--line);outline-offset:-1px;display:grid;gap:4px}.stat-card span{color:var(--ink-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.stat-card strong{font-size:1.75rem;font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums lining-nums}.stat-card-warn strong{color:var(--warn-700)}.stat-card-accent strong{color:var(--pharmes-700)}.button{border:0;border-radius:9999px;height:44px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;font-weight:600;background:var(--ink);color:var(--white);box-shadow:var(--shadow-soft);transition:background-color .15s ease-out,color .15s ease-out}.button:hover{background:var(--ink-strong)}.button:focus-visible{outline:2px solid rgba(31,41,55,.2);outline-offset:2px}.button:disabled{opacity:.5;cursor:not-allowed}.button-secondary{background:var(--white);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line),var(--shadow-soft)}.button-secondary:hover{background:var(--canvas)}.button-warn{background:var(--white);color:var(--warn-700);box-shadow:inset 0 0 0 1px #f59e0b4d,var(--shadow-soft)}.button-warn:hover{background:var(--warn-50)}.button-danger{background:var(--white);color:var(--danger-700);box-shadow:inset 0 0 0 1px #ef44444d,var(--shadow-soft)}.button-danger:hover{background:var(--danger-50)}.icon-button{width:40px;height:40px;min-width:40px;border:1px solid var(--line);border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:var(--white);color:var(--ink);box-shadow:var(--shadow-soft);transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease}.icon-button:hover{background:var(--canvas);border-color:#d1d5db;color:var(--ink-strong)}.icon-button:focus-visible{outline:2px solid rgba(31,41,55,.2);outline-offset:2px}.icon-button:disabled{opacity:.5;cursor:not-allowed}.icon-button svg{width:19px;height:19px;flex:none}.icon-button-compact{width:34px;height:34px;min-width:34px;border-radius:8px}.icon-button-compact svg{width:17px;height:17px}.icon-button-primary{border-color:var(--ink-strong);background:var(--ink-strong);color:var(--white)}.icon-button-primary:hover{border-color:var(--ink);background:var(--ink);color:var(--white)}.icon-button-danger{border-color:#ef44444d;color:var(--danger-700)}.icon-button-danger:hover{background:var(--danger-50);border-color:#ef44446b;color:var(--danger-700)}.icon-button-wide{width:auto;min-width:0;height:38px;padding:0 16px;gap:8px;font-size:13px;font-weight:650;white-space:nowrap}.icon-button-wide svg{width:16px;height:16px}.inline-form{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}.input,.select,.textarea{width:100%;border:1px solid var(--line);border-radius:9999px;height:44px;padding:0 16px;background:var(--white);color:var(--ink);transition:border-color .15s ease-out,box-shadow .15s ease-out}.textarea{height:auto;min-height:88px;padding:12px 16px;border-radius:.75rem;resize:vertical}.input::placeholder,.textarea::placeholder{color:var(--ink-subtle)}.input:focus,.select:focus,.textarea:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px #1f29371a}.field{display:grid;gap:6px;flex:1 1 180px}.field>label,.field>span{color:var(--ink-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse}.table th{padding:10px;border-bottom:1px solid var(--line);text-align:left;color:var(--ink-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-variant-numeric:tabular-nums lining-nums}.table tbody tr{transition:background-color .15s ease-out}.table tbody tr:hover{background:var(--canvas)}.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:9999px;font-size:11px;font-weight:500}.badge-default{background:var(--canvas);color:var(--ink-muted);box-shadow:inset 0 0 0 1px var(--line)}.badge-success{background:var(--ok-50);color:var(--ok-700);box-shadow:inset 0 0 0 1px #10b98133}.badge-warn{background:var(--warn-50);color:var(--warn-700);box-shadow:inset 0 0 0 1px #f59e0b33}.badge-danger{background:var(--danger-50);color:var(--danger-700);box-shadow:inset 0 0 0 1px #ef444433}.badge-pharmes{background:var(--pharmes-50);color:var(--pharmes-700);box-shadow:inset 0 0 0 1px #b8945f40}.status-dot{width:8px;height:8px;border-radius:9999px;flex-shrink:0;display:inline-block}.status-dot-ok{background:var(--ok-500)}.status-dot-warn{background:var(--warn-500)}.status-dot-danger{background:var(--danger-500)}.status-dot-pharmes{background:var(--pharmes-500)}.status-dot-neutral{background:var(--ink-subtle)}.kanban-page{display:grid;gap:16px}.kanban-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 20px}.kanban-toolbar-status{display:flex;align-items:center;gap:8px;margin-top:2px}.kanban-toolbar-muted{color:var(--ink-muted);font-size:13px}.kanban-toolbar-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.segmented{display:inline-flex;padding:3px;border-radius:9999px;background:var(--canvas);box-shadow:inset 0 0 0 1px var(--line)}.segmented-item{border:0;background:transparent;height:34px;padding:0 16px;border-radius:9999px;font-weight:600;font-size:13px;color:var(--ink-muted);transition:background-color .15s ease-out,color .15s ease-out,box-shadow .15s ease-out}.segmented-item-active{background:var(--white);color:var(--ink);box-shadow:var(--shadow-soft)}.kanban-board{display:flex;gap:16px;align-items:flex-start;overflow-x:auto;padding-bottom:8px}.kanban-column{flex:0 0 320px;max-width:320px;display:flex;flex-direction:column;gap:12px}.kanban-column-head{padding:0 4px}.kanban-column-title{display:flex;align-items:center;gap:8px}.kanban-column-title strong{font-size:.9375rem;letter-spacing:-.01em}.kanban-count{margin-left:auto;min-width:24px;height:22px;padding:0 8px;border-radius:9999px;background:var(--canvas);box-shadow:inset 0 0 0 1px var(--line);display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink-muted)}.kanban-column-hint{margin:4px 0 0;color:var(--ink-subtle);font-size:12px}.kanban-cards{display:grid;gap:10px}.kanban-card{background:var(--white);border-radius:1rem;padding:16px;box-shadow:inset 0 0 0 1px var(--line);display:grid;gap:10px;transition:box-shadow .15s ease-out}.kanban-card:hover{box-shadow:inset 0 0 0 1px var(--line),var(--shadow-card)}.kanban-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.kanban-card-code{font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-weight:700;font-size:13px;letter-spacing:-.01em}.kanban-card-metric{font-weight:700;font-size:13px;color:var(--ink-muted);font-variant-numeric:tabular-nums}.kanban-card-patient{margin:0;font-size:13px;color:var(--ink);line-height:1.35}.kanban-card-badges{display:flex;flex-wrap:wrap;gap:6px}.kanban-empty{padding:48px 24px;text-align:center;color:var(--ink-muted);background:var(--white);border-radius:1rem;box-shadow:inset 0 0 0 1px var(--line)}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--canvas)}.login-card{width:min(420px,100%);padding:28px}.login-card h1{font-size:1.5rem;font-weight:700}.login-card form,.stack{display:grid;gap:14px}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:#f6f7f9}.login-shell-solo{grid-template-columns:1fr}.login-main{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:40px 24px}.login-form{width:min(400px,100%);display:grid;gap:16px;padding:32px;border:1px solid #e8edf3;border-radius:18px;background:var(--white);box-shadow:0 12px 40px #0f172a0f}.login-brand{display:flex;align-items:center;gap:10px}.login-form-logo{width:40px;height:40px;object-fit:contain}.login-brand h1{margin:0;color:#0f172a;font-size:1.8rem;font-weight:850}.login-form-head{display:grid;gap:4px}.login-form-head p{margin:0;color:#64748b;font-size:13px}.login-password-field{position:relative;display:flex}.login-password-field .input{flex:1;padding-right:40px}.login-password-toggle{position:absolute;top:50%;right:6px;transform:translateY(-50%);width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#64748b;cursor:pointer}.login-password-toggle:hover{background:#f1f5f9;color:var(--sidebar-text-primary)}.login-password-toggle svg{width:18px;height:18px}.login-forgot-password{justify-self:start;margin-top:-6px;padding:0;border:0;background:none;color:var(--gold-primary, #b8860b);font-size:12.5px;font-weight:700;cursor:pointer}.login-forgot-password:hover{text-decoration:underline}.login-forgot-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#0f172a73;z-index:50}.login-forgot-modal{width:min(360px,calc(100vw - 32px));display:grid;gap:10px;padding:24px;border-radius:14px;background:var(--white);box-shadow:0 24px 60px #0f172a38}.login-forgot-modal h2{margin:0;color:#0f172a;font-size:1.1rem;font-weight:800}.login-forgot-modal p{margin:0 0 6px;color:#64748b;font-size:13.5px;line-height:1.5}.login-error{padding:10px 12px;border:1px solid #f3c2c2;border-radius:10px;background:#fdecec;color:#b42318;font-size:13px;font-weight:650}.login-submit{height:46px;margin-top:4px;border:0;border-radius:12px;background:var(--gold-primary, #b8860b);color:var(--white);font-size:15px;font-weight:800;cursor:pointer;transition:filter .15s ease,transform .05s ease}.login-submit:hover:not(:disabled){filter:brightness(1.06)}.login-submit:active:not(:disabled){transform:translateY(1px)}.login-submit:disabled{opacity:.6;cursor:not-allowed}@media(max-width:860px){.login-shell{grid-template-columns:1fr}}.preview-frame{border-radius:.75rem;padding:16px;background:var(--canvas);outline:1px dashed var(--line);outline-offset:-1px;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:13px}.timeline{display:grid;gap:0}.timeline-item{padding:12px 4px;border-bottom:1px solid var(--line)}.timeline-item:last-child{border-bottom:0}.alert{padding:10px 16px;border-radius:.75rem;background:var(--danger-50);color:var(--danger-700);box-shadow:inset 0 0 0 1px #ef444433;font-size:13px}.marking-page{display:grid;gap:14px;color:var(--ink-strong);font-family:Inter,Arial,sans-serif}.marking-page-header{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0}.marking-page-header h1{margin:0;color:var(--ink-strong);font-size:22px;font-weight:700;line-height:1.15}.marking-page-header p{margin:4px 0 0;color:var(--ink-muted);font-size:13px;font-weight:400}.marking-page-header span{display:block;margin-top:5px;color:#9ca3af;font-size:12px}.marking-header-actions{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-end;gap:10px}.marking-header-actions label,.marking-field{min-width:150px;display:grid;gap:5px;color:var(--ink-muted);font-size:11px;font-weight:600}.marking-header-actions input,.marking-field input,.marking-field select,.marking-pagination select{width:100%;height:38px;border:1px solid var(--line);border-radius:10px;padding:0 11px;background:var(--white);color:var(--ink-strong);font-size:13px;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.marking-header-actions input:focus,.marking-field input:focus,.marking-field select:focus,.marking-pagination select:focus{border-color:var(--ink-strong);box-shadow:0 0 0 3px #11182714}.marking-button,.marking-icon-button{height:38px;border:1px solid var(--ink-strong);border-radius:10px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--ink-strong);color:var(--white);font-size:13px;font-weight:600;white-space:nowrap;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.marking-button.secondary,.marking-icon-button{border-color:var(--line);background:var(--white);color:var(--ink-strong)}.marking-icon-button.text{border-color:transparent;background:transparent;color:#4b5563}.marking-button:hover,.marking-icon-button:hover{border-color:var(--ink-strong);background:#1f2937;color:var(--white)}.marking-button:disabled{opacity:.62;cursor:not-allowed}.marking-filter-panel,.marking-table-shell{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--white)}.marking-filter-panel{padding:14px 16px}.marking-filter-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}.marking-filter-row+.marking-filter-row{margin-top:14px;padding-top:14px;border-top:1px solid #f3f4f6}.marking-field-search{flex:1 1 260px}.marking-segment-group{min-width:0;display:grid;gap:8px}.marking-segment-group>span{color:var(--ink-muted);font-size:11px;font-weight:600}.marking-segment-group>div{display:flex;flex-wrap:wrap;gap:8px}.marking-segment{min-height:34px;border:1px solid var(--line);border-radius:999px;padding:0 13px;background:var(--white);color:#4b5563;font-size:12px;font-weight:600}.marking-segment-selected{border-color:var(--ink-strong);background:var(--ink-strong);color:var(--white)}.marking-summary-grid{overflow:hidden;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:14px;background:var(--white)}.marking-summary-grid article{min-width:0;display:grid;gap:6px;padding:16px 18px}.marking-summary-grid article+article{border-left:1px solid #f3f4f6}.marking-summary-grid span{color:var(--ink-muted);font-size:12px;font-weight:600}.marking-summary-grid strong{color:var(--ink-strong);font-size:26px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}.marking-stage-section{display:grid;gap:10px}.marking-stage-toolbar{min-height:24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.marking-stage-toolbar strong{color:var(--ink-strong);font-size:14px;font-weight:700}.marking-clear-chip{min-height:30px;border:1px solid var(--line);border-radius:999px;padding:0 12px;background:var(--white);color:#4b5563;font-size:12px;font-weight:600}.marking-stage-strip{display:grid;grid-template-columns:repeat(9,minmax(180px,1fr));gap:12px;overflow-x:auto;padding-bottom:2px}.marking-stage-card{position:relative;min-width:180px;min-height:190px;overflow:hidden;display:grid;grid-template-rows:auto auto 1fr auto;gap:12px;border:1px solid #e8eaed;border-radius:14px;padding:16px;background:var(--white);color:var(--ink-strong);box-shadow:0 1px 2px #00000008;text-align:left}.marking-stage-card:hover,.marking-stage-card-selected{border-color:var(--ink-strong)}.marking-stage-card header{min-width:0;display:flex;align-items:center;gap:8px}.marking-stage-card header strong{min-width:0;overflow:hidden;color:var(--ink-strong);font-size:13px;font-weight:600;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.marking-stage-dot{width:8px;height:8px;flex:0 0 8px;border-radius:999px;background:var(--stage-color)}.marking-stage-card>b{color:var(--ink-strong);font-size:26px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}.marking-slot-list{display:grid;gap:7px;align-self:stretch}.marking-slot-row{display:grid;grid-template-columns:56px minmax(48px,1fr) 24px;align-items:center;gap:7px;color:var(--ink-muted);font-size:11px;font-weight:500}.marking-slot-row div{height:5px;overflow:hidden;border-radius:999px;background:#f3f4f6}.marking-slot-row i{display:block;height:100%;border-radius:inherit;background:var(--stage-color)}.marking-slot-row em{color:var(--ink-strong);font-style:normal;text-align:right;font-variant-numeric:tabular-nums}.marking-stage-card footer{display:flex;justify-content:space-between;color:var(--ink-muted);font-size:12px;font-weight:600}.marking-stage-card footer strong{color:var(--ink-strong)}.marking-stage-total-bar{position:absolute;left:0;bottom:0;height:3px;background:var(--stage-color)}.marking-table-wrap{max-height:min(640px,calc(100vh - 360px));overflow:auto}.marking-table{width:100%;min-width:1560px;border-collapse:collapse}.marking-table th{position:sticky;top:0;z-index:2;height:46px;padding:10px 12px;border-bottom:1px solid var(--line);background:#f9fafb;color:#4b5563;font-size:12px;font-weight:600;line-height:1.2;text-align:left;white-space:nowrap}.marking-table td{max-width:220px;min-height:44px;padding:11px 12px;border-bottom:1px solid #f3f4f6;color:var(--ink-strong);font-size:12px;font-weight:400;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.marking-table tbody tr{transition:background-color .12s ease}.marking-table tbody tr:hover{background:#f9fafb}.marking-link-button{border:0;padding:0;background:transparent;color:var(--ink-strong);font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.marking-stage-badge{display:inline-flex;align-items:center;max-width:160px;padding:4px 8px;border-radius:6px;background:color-mix(in srgb,var(--stage-color) 12%,var(--white));color:var(--ink-strong);font-size:12px;font-weight:500;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--stage-color) 24%,var(--line))}.marking-action-cell{position:relative;display:inline-flex}.marking-kebab{width:32px;height:32px;border:1px solid var(--line);border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:3px;background:var(--white)}.marking-kebab span{width:3px;height:3px;border-radius:999px;background:#4b5563}.marking-action-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:8;width:180px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--white);box-shadow:0 12px 30px #0f172a1f}.marking-action-menu button{width:100%;min-height:38px;border:0;padding:0 12px;background:var(--white);color:var(--ink-strong);font-size:12px;text-align:left}.marking-action-menu button:hover{background:#f9fafb}.marking-pagination{min-height:54px;padding:10px 14px;display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(160px,1fr);align-items:center;gap:12px;border-top:1px solid var(--line);color:#4b5563;font-size:12px}.marking-page-controls{display:inline-flex;align-items:center;justify-content:center;gap:8px}.marking-page-controls button{height:32px;border:1px solid var(--line);border-radius:8px;padding:0 10px;background:var(--white);color:var(--ink-strong);font-size:12px;font-weight:600}.marking-page-controls button:disabled{opacity:.45;cursor:not-allowed}.marking-pagination label{justify-self:end;display:inline-flex;align-items:center;gap:8px;font-weight:600}.marking-pagination select{width:78px;height:32px}.marking-state-panel{min-height:160px;border:1px solid var(--line);border-radius:14px;display:grid;place-items:center;gap:10px;padding:24px;background:var(--white);color:#4b5563;text-align:center}.marking-state-panel strong{color:var(--ink-strong);font-size:14px}.marking-skeleton-card,.marking-table-skeleton span{background:linear-gradient(90deg,#f3f4f6 25%,var(--line) 37%,#f3f4f6 63%);background-size:400% 100%;animation:skeleton-pulse 1.4s ease infinite}.marking-skeleton-line,.marking-skeleton-number{display:block;height:12px;border-radius:999px;background:#ffffffa8}.marking-skeleton-line.short{width:64%}.marking-skeleton-number{width:64px;height:30px}.marking-table-skeleton{display:grid;gap:0}.marking-table-skeleton span{height:48px;border-bottom:1px solid var(--white)}@keyframes skeleton-pulse{0%{background-position:100% 0}to{background-position:0 0}}.marking-drawer-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:flex;justify-content:flex-end}.marking-drawer-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#11182747}.marking-drawer{position:relative;z-index:1;width:min(520px,90vw);height:100vh;overflow-y:auto;display:grid;align-content:start;gap:16px;padding:20px;background:var(--white);box-shadow:-16px 0 40px #0f172a29}.marking-drawer>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--line)}.marking-drawer>header span{color:var(--ink-muted);font-size:12px;font-weight:600}.marking-drawer h2,.marking-drawer h3{margin:0;color:var(--ink-strong)}.marking-drawer h2{font-size:22px;font-weight:700}.marking-drawer h3{font-size:14px;font-weight:700}.marking-drawer-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.marking-drawer-summary div{min-width:0;border:1px solid #f3f4f6;border-radius:10px;padding:10px;background:#f9fafb}.marking-drawer-summary dt{color:var(--ink-muted);font-size:11px;font-weight:600}.marking-drawer-summary dd{margin:4px 0 0;overflow:hidden;color:var(--ink-strong);font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.marking-timeline,.marking-drawer-notes{display:grid;gap:10px}.marking-timeline article{display:grid;grid-template-columns:12px 1fr;gap:10px;padding:8px 0}.marking-timeline article>span{width:10px;height:10px;margin-top:5px;border-radius:999px;background:var(--stage-color)}.marking-timeline article.current strong{color:var(--ink-strong)}.marking-timeline strong{display:block;color:#4b5563;font-size:13px;font-weight:700}.marking-timeline small{color:var(--ink-muted);font-size:12px}.marking-drawer-notes p{margin:0;border:1px solid #f3f4f6;border-radius:10px;padding:12px;background:#f9fafb;color:#4b5563;font-size:13px}.production-planning-page{width:100%;min-width:0;background:var(--background-page)}.tree{display:grid;gap:16px}.tree-lab{overflow:hidden;border:1px solid var(--gold-border);border-radius:8px;background:var(--background-card);box-shadow:var(--shadow-card)}.tree-row{width:100%;min-width:0;border:0;background:transparent;display:flex;align-items:center;gap:10px;padding:12px 16px;text-align:left;color:var(--text-primary);transition:background-color .15s ease-out,color .15s ease-out}.tree-row:hover{background:var(--background-soft)}.tree-caret{width:8px;height:8px;border-top:2px solid var(--gold-primary);border-right:2px solid var(--gold-primary);transform:rotate(45deg);transition:transform .15s ease-out;flex:0 0 8px}.tree-caret-open{transform:rotate(135deg)}.tree-row-lab{border-bottom:1px solid var(--border-light);background:var(--background-card)}.tree-lab-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;font-weight:700;color:var(--gold-primary)}.tree-group-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;font-size:.9375rem;color:var(--gold-primary)}.tree-count{margin-left:auto;min-width:30px;height:24px;padding:0 10px;border-radius:9999px;background:var(--background-soft);box-shadow:inset 0 0 0 1px var(--gold-border);display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--gold-primary);flex-shrink:0}.tree-count-lab{background:var(--gold-primary);color:var(--background-card);box-shadow:none}.tree-children{display:grid;gap:12px;padding:12px}.formula-cluster{display:grid;gap:10px;border:1px solid var(--border-light);border-radius:8px;background:var(--background-soft)}.formula-cluster>.tree-row{border-radius:8px}.formula-group-kind{flex-shrink:0;border:1px solid var(--gold-border);border-radius:9999px;padding:2px 8px;color:var(--text-secondary);background:var(--background-card);font-size:11px;font-weight:700;text-transform:uppercase}.formula-group-list{display:grid;gap:12px;padding:0 12px 12px}.formula-group-card{width:100%;overflow:hidden;border:1px solid var(--gold-border);border-radius:8px;background:var(--background-card);box-shadow:0 1px 2px #1f29330d,0 10px 24px #a8750014}.formula-group-header{width:100%;min-width:0;border:0;background:var(--background-card);display:flex;align-items:center;gap:12px;padding:16px 18px;color:var(--text-primary);text-align:left}.formula-group-header:hover{background:var(--background-soft)}.formula-group-heading{min-width:0;display:grid;gap:3px;flex:1 1 auto}.formula-group-number{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--gold-primary);font-size:12px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.formula-group-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-primary);font-size:.98rem;line-height:1.25}.formula-patient-badge{flex-shrink:0;border:1px solid var(--gold-border);border-radius:9999px;padding:6px 10px;color:var(--gold-primary);background:var(--background-soft);font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}.formula-table-wrap{overflow-x:auto;border-top:1px solid var(--border-light)}.formula-group-table{width:100%;min-width:860px;border-collapse:separate;border-spacing:0;background:var(--background-card)}.formula-group-table th{padding:10px 14px;background:var(--background-soft);border-bottom:1px solid var(--border-light);color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-align:left;white-space:nowrap}.formula-group-table td{max-width:260px;padding:12px 14px;border-bottom:1px solid var(--border-light);color:var(--text-primary);vertical-align:top}.formula-group-row:nth-child(2n) td{background:#fdfcf9}.formula-group-row:hover td{background:#fff8e8}.formula-req-code,.formula-cell-primary,.formula-cell-muted{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.formula-req-code{font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:12px;font-weight:800;color:var(--text-primary)}.formula-priority{margin-top:6px;width:max-content}.formula-cell-primary{font-size:13px;font-weight:650;color:var(--text-primary)}.formula-cell-muted{margin-top:3px;color:var(--text-secondary);font-size:12px}.formula-qty{color:var(--gold-primary);font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.formula-group-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:var(--background-total)}.formula-group-summary div{display:flex;align-items:baseline;gap:10px}.formula-group-summary span{color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em}.formula-group-summary strong{color:var(--gold-primary);font-size:1.35rem;font-variant-numeric:tabular-nums}.formula-group-summary p{margin:0;color:var(--text-secondary);font-size:12px}.pcp-page{width:100%;min-width:0;display:grid;gap:18px}.finalizados-detail{display:grid;gap:14px;max-width:900px}.pcp-planning-summary{overflow:hidden;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid var(--border-light);border-radius:8px;background:var(--background-card);box-shadow:var(--shadow-card)}.pcp-planning-summary-item{min-width:0;padding:22px 24px;display:grid;gap:8px}.pcp-planning-summary-item+.pcp-planning-summary-item{border-left:1px solid var(--border-light)}.pcp-planning-summary-item span{color:var(--text-secondary);font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.pcp-planning-summary-item strong{color:var(--text-primary);font-size:clamp(2rem,5vw,3.25rem);font-weight:800;line-height:.95;font-variant-numeric:tabular-nums}.pcp-metrics{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:12px}.pcp-section,.pcp-workbench-grid,.pcp-suggestion-grid,.pcp-batch-grid,.pcp-triage-tree,.pcp-identical-grid{display:grid;gap:14px}.pcp-workbench-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.pcp-suggestion-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pcp-lab-board{overflow:hidden;display:grid;gap:0;border:1px solid var(--border-light);border-radius:6px;background:var(--background-card);box-shadow:none}.pcp-lab-board-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--border-light)}.pcp-lab-board-header>div:not(.pcp-lab-board-title){display:none}.pcp-lab-board-header div,.pcp-lab-card-trigger div{min-width:0;display:grid;gap:2px}.pcp-lab-board-header span,.pcp-lab-card-trigger span{color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.pcp-lab-board-header h2,.pcp-lab-card-trigger h3{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--text-primary);font-weight:800;line-height:1.2}.pcp-lab-board-header h2{font-size:1.25rem}.pcp-lab-card-trigger h3{font-size:1rem}.pcp-lab-board-header>strong,.pcp-lab-card-metrics strong{flex:0 0 auto;border-radius:999px;padding:5px 10px;background:var(--background-total);color:var(--gold-primary);font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}.pcp-lab-card-trigger>strong{display:none}.pcp-lab-list{display:grid;gap:0}.pcp-lab-card{min-width:0;display:grid;align-content:start;background:var(--background-card)}.pcp-lab-card+.pcp-lab-card{border-top:1px solid var(--border-light)}.pcp-lab-card-trigger{width:100%;min-width:0;border:0;display:grid;grid-template-columns:minmax(220px,1fr) auto 28px;align-items:center;gap:14px;padding:14px 18px;background:var(--background-card);color:inherit;text-align:left;transition:background-color .15s ease-out}.pcp-lab-card-trigger .pcp-lab-kicker+span{display:none}.pcp-lab-card-trigger .pcp-lab-card-metrics{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.pcp-lab-card-trigger:hover{background:var(--background-soft)}.pcp-lab-card-trigger[aria-expanded=true]{border-bottom:1px solid var(--border-light)}.pcp-lab-expand-icon{width:10px;height:10px;justify-self:center;border-right:2px solid var(--gold-primary);border-bottom:2px solid var(--gold-primary);transform:rotate(45deg);transition:transform .15s ease-out}.pcp-lab-card-trigger[aria-expanded=true] .pcp-lab-expand-icon{transform:rotate(-135deg)}.pcp-lab-groups{display:grid;gap:12px;padding:14px;background:var(--background-soft)}.pcp-lab-empty{min-height:132px;display:grid;place-items:center;gap:6px;padding:18px;background:var(--background-soft);color:var(--text-secondary);text-align:center}.pcp-lab-empty strong{color:var(--text-primary);font-size:2rem;line-height:1;font-variant-numeric:tabular-nums}.pcp-lab-empty span{font-size:12px;font-weight:700}.pcp-lab-formula-panel{padding:12px 14px 14px;background:var(--background-soft)}.pcp-lab-formula-list{overflow-x:auto;display:grid;gap:8px}.pcp-lab-group-list{display:grid;gap:10px}.pcp-lab-group-row{min-width:0;overflow:hidden;border:1px solid var(--border-light);border-radius:8px;background:var(--background-card);box-shadow:0 4px 14px #0f172a0a}.pcp-lab-group-head{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:stretch;padding:13px 14px 12px;border-bottom:1px solid var(--border-light)}.pcp-lab-group-title{min-width:0;display:grid;gap:4px}.pcp-lab-group-kicker{color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.pcp-lab-group-head h4,.pcp-lab-group-head p{min-width:0;overflow-wrap:anywhere}.pcp-lab-group-head h4{margin:0;color:var(--text-primary);font-size:1rem;font-weight:800;line-height:1.25}.pcp-lab-group-head p{margin:0;color:var(--text-secondary);font-size:12px;font-weight:650;line-height:1.35}.pcp-lab-group-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;justify-self:stretch}.pcp-group-stat{min-width:0;min-height:38px;display:flex;align-items:baseline;justify-content:center;gap:5px;border:1px solid var(--border-light);border-radius:8px;padding:8px 10px;background:color-mix(in srgb,var(--background-soft) 74%,transparent)}.pcp-group-stat strong,.pcp-group-stat span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pcp-group-stat strong{color:var(--text-primary);font-size:14px;font-weight:850;line-height:1;font-variant-numeric:tabular-nums}.pcp-group-stat span{color:var(--text-muted);font-size:11px;font-weight:700;letter-spacing:0;text-transform:none}.pcp-lab-group-alerts{display:flex;flex-wrap:wrap;gap:7px;padding:10px 14px 0}.pcp-lab-group-alerts span{border-radius:999px;padding:4px 9px;background:var(--warn-50);color:var(--warn-700);font-size:12px;font-weight:750}.pcp-lab-formula-table-wrap{overflow-x:auto;padding:10px 12px 12px}.pcp-lab-formula-table{width:100%;min-width:840px;border-collapse:collapse;table-layout:fixed;background:var(--background-card)}.pcp-lab-formula-table th,.pcp-lab-formula-table td{border-bottom:1px solid var(--border-light);padding:10px 12px;text-align:left;vertical-align:middle}.pcp-lab-formula-table th{background:var(--background-soft);color:var(--gold-primary);font-size:11px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.pcp-lab-formula-table td{min-width:0;overflow:hidden;color:var(--text-primary);font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.pcp-lab-formula-table tr:last-child td{border-bottom:0}.pcp-lab-formula-table th:nth-child(1),.pcp-lab-formula-table td:nth-child(1){width:120px}.pcp-lab-formula-table th:nth-child(2),.pcp-lab-formula-table td:nth-child(2){width:auto}.pcp-lab-formula-table th:nth-child(3),.pcp-lab-formula-table td:nth-child(3){width:110px;text-align:right}.pcp-lab-formula-table th:nth-child(4),.pcp-lab-formula-table td:nth-child(4){width:140px}.pcp-lab-formula-table th:nth-child(5),.pcp-lab-formula-table td:nth-child(5){width:84px;text-align:right}.pcp-lab-formula-table th:nth-child(6),.pcp-lab-formula-table td:nth-child(6){width:120px}.pcp-lab-formula-table th:nth-child(7),.pcp-lab-formula-table td:nth-child(7){width:64px;text-align:center}.pcp-lab-formula-code,.pcp-lab-formula-number{font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-variant-numeric:tabular-nums}.pcp-lab-formula-code{font-weight:850}.pcp-sheet-open-button{width:32px;height:32px;display:inline-grid;place-items:center;border:1px solid color-mix(in srgb,var(--gold-primary) 45%,var(--border-light));border-radius:6px;padding:0;background:color-mix(in srgb,var(--gold-primary) 14%,var(--background-card));color:var(--gold-primary);cursor:pointer}.pcp-sheet-open-button:hover{background:color-mix(in srgb,var(--gold-primary) 22%,var(--background-card))}.pcp-sheet-open-button:disabled{cursor:wait;opacity:.62}.pcp-sheet-open-icon{position:relative;width:14px;height:17px;display:block;border:1.7px solid currentColor;border-radius:2px}.pcp-sheet-open-icon:before,.pcp-sheet-open-icon:after{content:"";position:absolute;left:3px;right:3px;height:1.5px;border-radius:99px;background:currentColor}.pcp-sheet-open-icon:before{top:5px}.pcp-sheet-open-icon:after{top:9px}.pcp-sheet-open-icon-loading{width:16px;height:16px;border-radius:999px;border-color:currentColor;border-top-color:transparent;animation:pcp-sheet-spin .7s linear infinite}.pcp-sheet-open-icon-loading:before,.pcp-sheet-open-icon-loading:after{display:none}@keyframes pcp-sheet-spin{to{transform:rotate(360deg)}}.pcp-sheet-load-error{margin-top:12px;border:1px solid color-mix(in srgb,var(--warn-700) 35%,var(--border-light));border-radius:6px;padding:10px 12px;background:var(--warn-50);color:var(--warn-700);font-size:12px;font-weight:750}.pcp-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:24px;background:#0000009e}.pcp-sheet-modal{width:min(1180px,100%);max-height:min(900px,calc(100vh - 48px));overflow:auto;border:1px solid var(--border-light);border-radius:8px;background:var(--background-card);color:var(--text-primary);box-shadow:0 24px 80px #00000038}.pcp-sheet-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border-light);padding:16px 18px;background:var(--background-card)}.pcp-sheet-header span,.pcp-sheet-field span,.pcp-sheet-section h3,.pcp-sheet-missing strong{color:var(--gold-primary);font-size:11px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.pcp-sheet-header h2{margin:2px 0 0;font-size:1.35rem;font-weight:850;line-height:1.1}.pcp-sheet-header-meta{display:flex;align-items:center;gap:10px}.pcp-sheet-header-meta strong,.pcp-sheet-header-meta button{min-height:32px;border-radius:6px;padding:6px 10px;font-size:12px;font-weight:850}.pcp-sheet-header-meta strong{border:1px solid var(--border-light);background:var(--background-soft)}.pcp-sheet-header-meta button{border:1px solid color-mix(in srgb,var(--gold-primary) 45%,var(--border-light));background:color-mix(in srgb,var(--gold-primary) 14%,var(--background-card));color:var(--gold-primary);cursor:pointer}.pcp-sheet-header-meta .icon-button{min-height:34px;padding:0;border:1px solid var(--line);background:var(--white);color:var(--ink)}.pcp-sheet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--border-light)}.pcp-sheet-grid-compact{grid-template-columns:repeat(5,minmax(0,1fr))}.pcp-sheet-field{min-width:0;display:grid;gap:4px;border-right:1px solid var(--border-light);border-bottom:1px solid var(--border-light);padding:10px 12px}.pcp-sheet-field strong{min-width:0;overflow:hidden;color:var(--text-primary);font-size:12px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.pcp-sheet-section{display:grid;gap:10px;border-bottom:1px solid var(--border-light);padding:14px 16px}.pcp-sheet-table-wrap{overflow-x:auto;border:1px solid var(--border-light);border-radius:6px}.pcp-sheet-items-table th,.pcp-sheet-items-table td{border-bottom:1px solid var(--border-light);padding:8px 10px;text-align:left;vertical-align:top}.pcp-sheet-items-table th{background:var(--background-soft);color:var(--gold-primary);font-size:10px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.pcp-sheet-items-table td{color:var(--text-primary);font-size:12px;font-weight:650;line-height:1.35}.pcp-sheet-items-table th:nth-child(1),.pcp-sheet-items-table td:nth-child(1){width:54px;text-align:right}.pcp-sheet-items-table th:nth-child(2),.pcp-sheet-items-table td:nth-child(2){width:78px}.pcp-sheet-items-table th:nth-child(3),.pcp-sheet-items-table td:nth-child(3){width:260px}.pcp-sheet-items-table th:nth-child(4),.pcp-sheet-items-table td:nth-child(4),.pcp-sheet-items-table th:nth-child(5),.pcp-sheet-items-table td:nth-child(5){width:120px;text-align:right;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-variant-numeric:tabular-nums}.pcp-sheet-items-table th:nth-child(n+6),.pcp-sheet-items-table td:nth-child(n+6){width:120px}.pcp-sheet-footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}.pcp-sheet-weight-grid,.pcp-sheet-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--border-light);border-left:1px solid var(--border-light)}.pcp-sheet-weight-grid .pcp-sheet-field,.pcp-sheet-checklist .pcp-sheet-field{border-top:0;border-left:0}.pcp-sheet-missing{display:grid;gap:5px;padding:12px 16px 16px;background:var(--warn-50);color:var(--warn-700)}.pcp-sheet-missing span{font-size:12px;font-weight:700}.pcp-sheet-backdrop{--sheet-background: #f6f7f8;--sheet-surface: var(--white);--sheet-surface-soft: #fafaf9;--sheet-border: var(--line);--sheet-border-soft: #eef0f2;--sheet-text: var(--sidebar-text-primary);--sheet-secondary: #64748b;--sheet-muted: #94a3b8;--sheet-accent: #b98516;--sheet-accent-hover: #9f710f;--sheet-accent-soft: #fbf7ec;--sheet-accent-border: #ead8ab;position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:20px 32px;background:#0f172a8f}.pcp-sheet-modal{width:min(1280px,calc(100vw - 64px));height:min(900px,calc(100vh - 40px));max-height:none;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--sheet-border);border-radius:14px;background:var(--sheet-surface);color:var(--sheet-text);box-shadow:var(--shadow-modal);font-family:Inter,DM Sans,system-ui,sans-serif}.pcp-sheet-header{position:relative;top:auto;z-index:2;display:grid;grid-template-columns:minmax(220px,1fr) minmax(210px,320px) auto;align-items:center;gap:22px;border-bottom:1px solid var(--sheet-border);padding:22px 28px;background:#fffffff5;backdrop-filter:blur(8px)}.pcp-sheet-title-group{min-width:0;display:grid;gap:4px}.pcp-sheet-title-group span,.pcp-sheet-section h3,.pcp-sheet-field span,.pcp-sheet-check-group h4{color:var(--sheet-accent);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.pcp-sheet-title-group h2{margin:0;color:var(--sheet-text);font-size:30px;font-weight:700;line-height:1.05}.pcp-sheet-barcode{min-width:0;display:grid;gap:4px;justify-items:stretch}.pcp-sheet-barcode>span{height:42px;border:1px solid var(--sheet-border);border-radius:6px;background:repeating-linear-gradient(90deg,var(--sidebar-text-primary) 0 2px,transparent 2px 5px,var(--sidebar-text-primary) 5px 6px,transparent 6px 10px,var(--sidebar-text-primary) 10px 13px,transparent 13px 16px)}.pcp-sheet-barcode strong{color:var(--sheet-secondary);font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:11px;font-weight:700;text-align:center}.pcp-sheet-header-meta{display:flex;align-items:center;justify-content:flex-end;gap:10px}.pcp-sheet-header-meta strong,.pcp-sheet-close-button,.pcp-sheet-secondary-action,.pcp-sheet-primary-action{min-height:38px;border-radius:7px;padding:9px 18px;font-size:13px;font-weight:600}.pcp-sheet-header-meta strong{border:1px solid var(--sheet-border);background:var(--sheet-surface-soft);color:var(--sheet-secondary)}.pcp-sheet-print-count{white-space:nowrap}.pcp-sheet-close-button,.pcp-sheet-primary-action{border:1px solid var(--sheet-accent);background:var(--sheet-accent);color:var(--white);cursor:pointer}.pcp-sheet-close-button:hover,.pcp-sheet-primary-action:hover{border-color:var(--sheet-accent-hover);background:var(--sheet-accent-hover)}.pcp-sheet-content{min-height:0;display:grid;align-content:start;gap:16px;overflow-y:auto;padding:20px 24px 24px;background:var(--sheet-background)}.pcp-sheet-section{display:grid;gap:12px;border:1px solid var(--sheet-border);border-radius:12px;padding:16px;background:var(--sheet-surface)}.pcp-sheet-section h3{margin:0}.pcp-sheet-grid{display:grid;border:1px solid var(--sheet-border-soft);border-right:0;border-bottom:0;border-radius:10px;overflow:hidden}.pcp-sheet-grid-order{grid-template-columns:repeat(5,minmax(0,1fr))}.pcp-sheet-grid-patient,.pcp-sheet-grid-formula,.pcp-sheet-grid-operations{grid-template-columns:repeat(12,minmax(0,1fr))}.pcp-sheet-grid-weight{grid-template-columns:repeat(5,minmax(0,1fr))}.pcp-sheet-grid-followup{grid-template-columns:repeat(3,minmax(0,1fr))}.pcp-sheet-field{min-width:0;min-height:72px;display:grid;align-content:start;gap:7px;border-right:1px solid var(--sheet-border-soft);border-bottom:1px solid var(--sheet-border-soft);padding:16px 18px;background:var(--sheet-surface)}.pcp-sheet-field-wide{grid-column:span 2}.pcp-sheet-grid-patient .pcp-sheet-field{min-height:76px}.pcp-sheet-field-prescriber{grid-column:span 6}.pcp-sheet-field-crm,.pcp-sheet-field-requisition{grid-column:span 3}.pcp-sheet-field-patient,.pcp-sheet-field-client{grid-column:span 6}.pcp-sheet-field-formula-small,.pcp-sheet-field-operation-money{grid-column:span 3}.pcp-sheet-field-formula-third,.pcp-sheet-field-operation-third{grid-column:span 4}.pcp-sheet-field-highlight{border-color:var(--sheet-accent-border);background:var(--sheet-accent-soft)}.pcp-sheet-field strong{min-width:0;overflow:visible;color:var(--sheet-text);font-size:14px;font-weight:600;line-height:1.35;text-overflow:clip;white-space:normal}.pcp-sheet-field .pcp-sheet-empty-value{color:var(--sheet-muted);font-weight:500}.pcp-sheet-items-section{gap:14px}.pcp-sheet-table-wrap{max-height:min(480px,52vh);overflow:auto;border:1px solid var(--sheet-border);border-radius:10px;background:var(--sheet-surface)}.pcp-sheet-items-table{width:100%;min-width:1180px;border-collapse:collapse;table-layout:fixed}.pcp-sheet-items-table th{position:sticky;top:0;z-index:1;height:46px;border-bottom:1px solid var(--sheet-border);background:var(--sheet-surface-soft);color:#8a620e;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.pcp-sheet-items-table th,.pcp-sheet-items-table td{padding:11px 12px;text-align:left;vertical-align:top}.pcp-sheet-items-table td{border-bottom:1px solid var(--sheet-border-soft);color:var(--sheet-text);font-size:13px;line-height:1.45}.pcp-sheet-items-table tbody tr{min-height:64px}.pcp-sheet-items-table tbody tr:hover{background:#fcfcfb}.pcp-sheet-items-table th:nth-child(1),.pcp-sheet-items-table td:nth-child(1){width:58px}.pcp-sheet-items-table th:nth-child(2),.pcp-sheet-items-table td:nth-child(2){width:82px}.pcp-sheet-items-table th:nth-child(3),.pcp-sheet-items-table td:nth-child(3){width:330px}.pcp-sheet-items-table th:nth-child(4),.pcp-sheet-items-table td:nth-child(4),.pcp-sheet-items-table th:nth-child(5),.pcp-sheet-items-table td:nth-child(5){width:128px;text-align:right;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-variant-numeric:tabular-nums}.pcp-sheet-items-table th:nth-child(6),.pcp-sheet-items-table td:nth-child(6),.pcp-sheet-items-table th:nth-child(7),.pcp-sheet-items-table td:nth-child(7),.pcp-sheet-items-table th:nth-child(8),.pcp-sheet-items-table td:nth-child(8),.pcp-sheet-items-table th:nth-child(9),.pcp-sheet-items-table td:nth-child(9){width:118px}.pcp-sheet-items-table th:nth-child(10),.pcp-sheet-items-table td:nth-child(10){width:220px}.pcp-sheet-number-cell,.pcp-sheet-code-cell{font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-variant-numeric:tabular-nums}.pcp-sheet-number-cell{text-align:right}.pcp-sheet-component-cell{display:grid;gap:4px}.pcp-sheet-component-cell strong{color:var(--sheet-text);font-size:14px;font-weight:700;line-height:1.25}.pcp-sheet-component-cell span,.pcp-sheet-component-cell p,.pcp-sheet-muted-note,.pcp-sheet-guidance-list,.pcp-sheet-step span{color:var(--sheet-secondary);font-size:12px;line-height:1.5}.pcp-sheet-component-cell p{margin:2px 0 0}.pcp-sheet-item-alert{border-left:3px solid #c8952e;padding:6px 8px;background:#fff9e8}.pcp-sheet-empty-row{color:var(--sheet-muted);text-align:center}.pcp-sheet-guidance-list{margin:0;padding-left:18px}.pcp-sheet-prescription-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.pcp-sheet-prescription-frame{min-width:0;display:grid;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fafafa;text-decoration:none}.pcp-sheet-prescription-frame img{width:100%;max-height:560px;display:block;object-fit:contain;background:#f8fafc}.pcp-sheet-final-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pcp-sheet-check-group{min-width:0;display:grid;gap:10px;border:1px solid var(--sheet-border-soft);border-radius:10px;padding:12px;background:var(--sheet-surface)}.pcp-sheet-check-group-wide{grid-column:1 / -1}.pcp-sheet-check-group h4{margin:0}.pcp-sheet-option-list{display:grid;gap:8px}.pcp-sheet-option{display:flex;align-items:center;gap:8px;color:var(--sheet-text);font-size:13px}.pcp-sheet-option input{width:15px;height:15px;accent-color:var(--sheet-accent)}.pcp-sheet-step-line{display:grid;grid-template-columns:repeat(7,minmax(130px,1fr));gap:8px;overflow-x:auto}.pcp-sheet-step{min-height:102px;display:grid;align-content:start;gap:6px;border:1px solid var(--sheet-border-soft);border-radius:10px;padding:12px;background:var(--sheet-surface)}.pcp-sheet-step strong{color:var(--sheet-text);font-size:12px;font-weight:700;text-transform:uppercase}.pcp-sheet-step small{width:fit-content;border:1px solid var(--sheet-border);border-radius:999px;padding:3px 8px;background:var(--sheet-surface-soft);color:var(--sheet-secondary);font-size:11px;font-weight:700}.pcp-sheet-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--sheet-border);padding:14px 28px;background:var(--sheet-surface)}.pcp-sheet-secondary-action{border:1px solid var(--sheet-border);background:var(--sheet-surface);color:var(--sheet-text);cursor:pointer}@media(max-width:1100px){.pcp-sheet-backdrop{padding:14px}.pcp-sheet-modal{width:min(100%,calc(100vw - 28px));height:min(900px,calc(100vh - 28px))}.pcp-sheet-header{grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:18px 20px}.pcp-sheet-barcode{display:none}.pcp-sheet-content{padding:16px}.pcp-sheet-grid-followup{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.pcp-sheet-grid-patient{grid-template-columns:repeat(2,minmax(0,1fr))}.pcp-sheet-field-prescriber,.pcp-sheet-field-patient,.pcp-sheet-field-client{grid-column:span 2}.pcp-sheet-field-crm,.pcp-sheet-field-requisition{grid-column:span 1}.pcp-sheet-grid-formula,.pcp-sheet-grid-operations,.pcp-sheet-grid-order{grid-template-columns:repeat(2,minmax(0,1fr))}.pcp-sheet-field-formula-small,.pcp-sheet-field-formula-third,.pcp-sheet-field-operation-money,.pcp-sheet-field-operation-third{grid-column:span 1}.pcp-sheet-field-formula-posology,.pcp-sheet-field-operation-conference{grid-column:span 2}.pcp-sheet-grid-weight{grid-template-columns:1fr}}@media(max-width:700px){.pcp-sheet-backdrop{padding:0}.pcp-sheet-modal{width:100vw;height:100vh;border-radius:0}.pcp-sheet-header{grid-template-columns:1fr}.pcp-sheet-header-meta{justify-content:flex-start}.pcp-sheet-title-group h2{font-size:24px}.pcp-sheet-grid-order,.pcp-sheet-grid-patient,.pcp-sheet-grid-formula,.pcp-sheet-grid-operations,.pcp-sheet-grid-weight,.pcp-sheet-grid-followup,.pcp-sheet-final-grid{grid-template-columns:1fr}.pcp-sheet-field-wide,.pcp-sheet-field-prescriber,.pcp-sheet-field-crm,.pcp-sheet-field-requisition,.pcp-sheet-field-patient,.pcp-sheet-field-client,.pcp-sheet-field-formula-small,.pcp-sheet-field-formula-third,.pcp-sheet-field-operation-money,.pcp-sheet-field-operation-third,.pcp-sheet-field-formula-posology,.pcp-sheet-field-operation-conference{grid-column:auto}.pcp-sheet-footer{flex-wrap:wrap;justify-content:stretch;padding:12px 16px}.pcp-sheet-footer button{flex:1 1 150px}}@media print{@page{size:A4 portrait;margin:8mm}html,body{width:210mm;background:var(--white)!important}body.printing-production-sheet{background:var(--white)!important}body.printing-production-sheet *{visibility:hidden!important}body.printing-production-sheet .pcp-sheet-backdrop,body.printing-production-sheet .pcp-sheet-backdrop *{visibility:visible!important}body.printing-production-sheet .pcp-sheet-backdrop{position:absolute;inset:0 auto auto 0;width:100%;min-height:0;display:block;padding:0;background:var(--white)!important}.pcp-sheet-backdrop{position:static;display:block;padding:0;background:var(--white)!important}.pcp-sheet-modal{width:100%;min-height:0;height:auto;display:block;border:0;border-radius:0;box-shadow:none;overflow:visible}.pcp-sheet-header{position:static;display:grid;grid-template-columns:minmax(0,1fr) 50mm 42mm;gap:4mm;align-items:center;border-bottom:1px solid var(--ink-strong);padding:0 0 3mm;background:var(--white);backdrop-filter:none}.pcp-sheet-title-group{gap:1mm}.pcp-sheet-title-group span,.pcp-sheet-section h3,.pcp-sheet-field span,.pcp-sheet-check-group h4{font-size:7.5px;letter-spacing:.03em}.pcp-sheet-title-group h2{font-size:17px}.pcp-sheet-barcode{gap:1mm}.pcp-sheet-barcode>span{height:12mm;border-radius:0}.pcp-sheet-barcode strong{font-size:8px}.pcp-sheet-header-meta{flex-wrap:wrap;justify-content:flex-end;gap:1.5mm}.pcp-sheet-header-meta strong{min-height:0;border-radius:1mm;padding:1.2mm 1.8mm;font-size:8px}.pcp-sheet-close-button,.pcp-sheet-footer,.modal-actions{display:none}.pcp-sheet-content,.pcp-sheet-table-wrap,.pcp-sheet-step-line{max-height:none;overflow:visible}.pcp-sheet-content{display:block;padding:0;background:var(--white)}.pcp-sheet-section,.pcp-sheet-items-table tr,.pcp-sheet-prescription-frame,.pcp-sheet-step{break-inside:avoid}.pcp-sheet-section{display:grid;gap:0;margin:2.2mm 0 0;border:1px solid #d1d5db;border-radius:0;padding:0;background:var(--white)}.pcp-sheet-section h3{border-bottom:1px solid var(--line);padding:1.4mm 2mm;background:#fafaf9}.pcp-sheet-prescription-grid{grid-template-columns:1fr;gap:2mm;padding:2mm}.pcp-sheet-prescription-frame{border-radius:0}.pcp-sheet-prescription-frame img{max-height:180mm}.pcp-sheet-grid{border:1px solid var(--line);border-right:0;border-bottom:0;border-radius:0}.pcp-sheet-grid-order{grid-template-columns:repeat(5,minmax(0,1fr))}.pcp-sheet-grid-patient,.pcp-sheet-grid-formula,.pcp-sheet-grid-operations{grid-template-columns:repeat(12,minmax(0,1fr))}.pcp-sheet-grid-weight{grid-template-columns:repeat(5,minmax(0,1fr))}.pcp-sheet-grid-followup{grid-template-columns:repeat(3,minmax(0,1fr))}.pcp-sheet-field-prescriber,.pcp-sheet-field-patient,.pcp-sheet-field-client{grid-column:span 6}.pcp-sheet-field-crm,.pcp-sheet-field-requisition,.pcp-sheet-field-formula-small,.pcp-sheet-field-operation-money{grid-column:span 3}.pcp-sheet-field-formula-third,.pcp-sheet-field-operation-third{grid-column:span 4}.pcp-sheet-field{min-height:9.5mm;gap:1mm;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:1.7mm 2mm}.pcp-sheet-field strong{font-size:8.5px;line-height:1.2}.pcp-sheet-table-wrap{border:0;border-radius:0}.pcp-sheet-items-table{width:100%;min-width:0;table-layout:fixed}.pcp-sheet-items-table th{position:static;height:auto;padding:1.3mm 1mm;font-size:7px;line-height:1.15}.pcp-sheet-items-table td{padding:1.4mm 1mm;font-size:7.5px;line-height:1.18}.pcp-sheet-items-table th:nth-child(1),.pcp-sheet-items-table td:nth-child(1){width:7mm}.pcp-sheet-items-table th:nth-child(2),.pcp-sheet-items-table td:nth-child(2){width:12mm}.pcp-sheet-items-table th:nth-child(3),.pcp-sheet-items-table td:nth-child(3){width:45mm}.pcp-sheet-items-table th:nth-child(4),.pcp-sheet-items-table td:nth-child(4){width:23mm}.pcp-sheet-items-table th:nth-child(5),.pcp-sheet-items-table td:nth-child(5){width:17mm}.pcp-sheet-items-table th:nth-child(6),.pcp-sheet-items-table td:nth-child(6){width:21mm}.pcp-sheet-items-table th:nth-child(7),.pcp-sheet-items-table td:nth-child(7){width:18mm}.pcp-sheet-items-table th:nth-child(8),.pcp-sheet-items-table td:nth-child(8){width:30mm}.pcp-sheet-items-table th:nth-child(9),.pcp-sheet-items-table td:nth-child(9){width:13mm}.pcp-sheet-component-cell{gap:.8mm}.pcp-sheet-component-cell strong{font-size:8.5px}.pcp-sheet-component-cell span,.pcp-sheet-component-cell p,.pcp-sheet-muted-note,.pcp-sheet-guidance-list,.pcp-sheet-step span{font-size:7.5px;line-height:1.25}.pcp-sheet-item-alert{border-left-width:2px;padding:1mm 1.2mm}.pcp-sheet-final-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5mm}.pcp-sheet-check-group{gap:1.5mm;border-radius:0;padding:1.7mm}.pcp-sheet-option-list{gap:1mm}.pcp-sheet-option{gap:1mm;font-size:7.5px}.pcp-sheet-option input{width:3mm;height:3mm}.pcp-sheet-step-line{grid-template-columns:repeat(7,minmax(0,1fr));gap:1mm}.pcp-sheet-step{min-height:12mm;gap:1mm;border-radius:0;padding:1.5mm}.pcp-sheet-step strong,.pcp-sheet-step small{font-size:7px}.pcp-sheet-step small{border-radius:0;padding:.7mm 1mm}}.pcp-lab-formula-row{min-width:980px;display:grid;grid-template-columns:minmax(150px,.9fr) minmax(220px,1.25fr) minmax(92px,.45fr) minmax(88px,.45fr) minmax(128px,.6fr) minmax(280px,1.1fr);gap:12px;align-items:center;border:1px solid var(--border-light);border-radius:8px;padding:12px;background:var(--background-card)}.pcp-lab-formula-main,.pcp-lab-formula-detail{min-width:0;display:grid;gap:2px}.pcp-lab-formula-main strong,.pcp-lab-formula-main span,.pcp-lab-formula-detail strong,.pcp-lab-formula-detail span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pcp-lab-formula-main strong{color:var(--text-primary);font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:12px;font-weight:800}.pcp-lab-formula-main span,.pcp-lab-formula-detail span,.pcp-lab-formula-muted{color:var(--text-secondary);font-size:12px;font-weight:650}.pcp-lab-formula-detail strong{color:var(--text-primary);font-size:13px;font-weight:750}.pcp-lab-formula-chip{min-height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:3px 9px;background:var(--background-soft);color:var(--text-secondary);font-size:12px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.pcp-lab-row-action{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.pcp-lab-row-action .select{min-width:0}.pcp-task-board{overflow:hidden;display:grid;gap:0;border:1px solid var(--border-light);border-radius:8px;background:var(--background-card);box-shadow:var(--shadow-card)}.pcp-task-board-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--border-light)}.pcp-task-board-header div{min-width:0;display:grid;gap:2px}.pcp-task-board-header span{color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.pcp-task-board-header h2{margin:0;color:var(--text-primary);font-size:1.25rem;font-weight:800;line-height:1.2}.pcp-task-board-header>strong{min-width:38px;height:32px;padding:0 10px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--background-total);color:var(--gold-primary);font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}.pcp-task-list{display:grid;gap:0}.pcp-task-card{min-width:0;display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(220px,1fr) minmax(260px,.9fr);gap:16px;align-items:center;padding:18px 20px;border-bottom:1px solid var(--border-light);background:var(--background-card)}.pcp-task-card:last-child{border-bottom:0}.pcp-task-card-header{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.pcp-task-card-header div{min-width:0;display:grid;gap:4px}.pcp-task-card-header span{color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.pcp-task-card-header h3{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--text-primary);font-size:.98rem;font-weight:800;line-height:1.25}.pcp-task-card-header>strong{flex:0 0 auto;border-radius:999px;padding:4px 8px;background:var(--background-soft);color:var(--text-secondary);font-size:11px;font-weight:800}.pcp-task-facts{min-width:0;display:flex;flex-wrap:wrap;gap:8px}.pcp-task-facts span,.pcp-task-more{min-height:26px;display:inline-flex;align-items:center;border-radius:999px;padding:3px 9px;background:var(--background-soft);color:var(--text-secondary);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.pcp-task-formulas{min-width:0;display:flex;flex-wrap:wrap;gap:8px}.pcp-task-formula{min-width:150px;max-width:210px;display:grid;gap:2px;border-radius:8px;padding:8px 10px;background:var(--background-soft)}.pcp-task-formula strong,.pcp-task-formula span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pcp-task-formula strong{color:var(--text-primary);font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:12px;font-weight:800}.pcp-task-formula span{color:var(--text-secondary);font-size:12px}.pcp-lab-card .pcp-task-card{grid-template-columns:1fr;align-items:stretch;gap:12px;border:1px solid var(--border-light);border-radius:8px;padding:14px;box-shadow:none}.pcp-lab-card .pcp-task-card:last-child{border-bottom:1px solid var(--border-light)}.pcp-batch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pcp-workbench,.pcp-suggestion,.pcp-identical-card,.pcp-batch{min-width:0;border:1px solid var(--border-light);border-radius:8px;background:var(--background-card);box-shadow:var(--shadow-card)}.pcp-workbench{display:grid;gap:10px;padding:14px}.pcp-workbench header,.pcp-workbench footer,.pcp-card-header,.pcp-action-row,.pcp-tablet-panel,.pcp-batch-footer{display:flex;align-items:center;gap:10px}.pcp-workbench header{min-width:0}.pcp-workbench header strong,.pcp-card-header h3{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pcp-workbench header strong{flex:1 1 auto;color:var(--text-primary);font-size:13px}.pcp-workbench-code{color:var(--gold-primary);font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:12px;font-weight:800}.pcp-workbench-body{display:grid;gap:5px;color:var(--text-secondary);font-size:12px}.pcp-workbench footer{min-height:28px;justify-content:space-between;border-top:1px solid var(--border-light);padding-top:10px;color:var(--text-secondary);font-size:12px}.pcp-workbench footer strong{color:var(--text-primary);font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:12px}.pcp-muted{color:var(--text-secondary)}.pcp-suggestion,.pcp-identical-card,.pcp-batch{display:grid;gap:12px;padding:16px}.pcp-lab-node{border-color:var(--gold-border)}.pcp-active-group{display:grid;gap:10px;border:1px solid var(--border-light);border-radius:8px;background:var(--background-soft)}.pcp-active-group>.tree-row{border-radius:8px}.pcp-active-content{display:grid;gap:12px;padding:0 12px 12px}.pcp-identical-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pcp-identical-card{box-shadow:0 1px 2px #1f29330d}.pcp-active-line{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--gold-primary);font-size:13px;font-weight:750}.pcp-empty-inline{border:1px dashed var(--border-light);border-radius:8px;padding:16px;color:var(--text-secondary);background:var(--background-card);font-size:13px}.pcp-card-header{justify-content:space-between;min-width:0}.pcp-card-header>div{min-width:0}.pcp-card-header h3{margin:0;color:var(--text-primary);font-size:1rem;line-height:1.25}.pcp-suggestion-score,.pcp-batch-meta,.pcp-alert-list{display:flex;flex-wrap:wrap;gap:8px}.pcp-suggestion-score span,.pcp-batch-meta span,.pcp-alert-list span{min-height:24px;display:inline-flex;align-items:center;border-radius:9999px;padding:2px 8px;background:var(--background-soft);color:var(--text-secondary);font-size:12px;font-weight:650}.pcp-alert-list span{background:var(--warn-50);color:var(--warn-700);box-shadow:inset 0 0 0 1px #f59e0b33}.pcp-reason{margin:0;color:var(--text-secondary);font-size:13px}.pcp-table-wrap{overflow-x:auto;border:1px solid var(--border-light);border-radius:8px}.pcp-table{width:100%;min-width:620px;border-collapse:collapse}.pcp-table th{padding:9px 10px;background:var(--background-soft);border-bottom:1px solid var(--border-light);color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-align:left;text-transform:uppercase;white-space:nowrap}.pcp-table td{max-width:230px;padding:10px;border-bottom:1px solid var(--border-light);color:var(--text-primary);font-size:13px;vertical-align:top}.pcp-table tr:last-child td{border-bottom:0}.pcp-table td strong,.pcp-table td span:not(.badge):not(.formula-req-code){display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pcp-table td span:not(.badge):not(.formula-req-code){color:var(--text-secondary);font-size:12px}.pcp-action-row{align-items:stretch}.pcp-action-row .select{min-width:210px;flex:1 1 auto}.pcp-action-row .button{flex:0 0 auto}.pcp-progress{height:8px;overflow:hidden;border-radius:9999px;background:var(--background-soft);box-shadow:inset 0 0 0 1px var(--border-light)}.pcp-progress span{display:block;height:100%;min-width:4px;border-radius:inherit;background:var(--gold-primary)}.pcp-tablet-panel{align-items:flex-end;border-top:1px solid var(--border-light);padding-top:12px}.pcp-tablet-panel .field{min-width:200px;flex:1 1 auto}.pcp-batch-footer{justify-content:space-between;border-top:1px solid var(--border-light);padding-top:10px;color:var(--text-secondary);font-size:12px}.settings-page{width:100%;min-width:0;display:grid;gap:14px}.settings-layout{width:100%;min-width:0;display:grid;grid-template-columns:224px minmax(0,1fr);gap:20px;align-items:start}.settings-nav{position:sticky;top:12px;min-width:0;display:grid;gap:14px;border:1px solid var(--border-light);border-radius:12px;padding:12px 8px;background:var(--background-card)}.settings-nav-group{display:grid;gap:2px}.settings-nav-group-label{padding:4px 12px 6px;color:var(--text-secondary);font-size:10.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;opacity:.75}.settings-nav-item{position:relative;width:100%;min-width:0;display:grid;gap:1px;border:0;border-radius:8px;padding:8px 12px 8px 14px;background:transparent;text-align:left;cursor:pointer;transition:background .15s ease,color .15s ease}.settings-nav-item strong{min-width:0;overflow:hidden;color:var(--text-secondary);font-size:13px;font-weight:700;line-height:1.25;white-space:nowrap;text-overflow:ellipsis;transition:color .15s ease}.settings-nav-item small{min-width:0;overflow:hidden;color:var(--text-secondary);font-size:11px;font-weight:550;line-height:1.3;white-space:nowrap;text-overflow:ellipsis;opacity:.75}.settings-nav-item:hover{background:var(--background-total)}.settings-nav-item:hover strong{color:var(--text-primary)}.settings-nav-item:focus-visible{outline:2px solid var(--gold-border);outline-offset:2px}.settings-nav-item-active{background:var(--background-total)}.settings-nav-item-active strong{color:var(--gold-primary)}.settings-nav-item-active:before{content:"";position:absolute;left:0;top:7px;bottom:7px;width:3px;border-radius:0 3px 3px 0;background:var(--gold-primary)}.settings-content,.users-admin{min-width:0;display:grid;gap:14px}.users-message{margin-bottom:14px;border:1px solid #e8dab8;border-radius:8px;padding:10px 12px;background:#fff8e8;color:#8a611a;font-size:13px;font-weight:700}.users-admin-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}.users-toolbar{margin-bottom:14px;display:flex;justify-content:flex-end;gap:10px}.users-form{min-width:0;display:grid;gap:14px;border:1px solid var(--border-light);border-radius:10px;padding:16px;background:var(--background-card)}.users-form-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.users-form-head div{min-width:0;display:grid;gap:2px}.users-form-head span{color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.users-form-head strong{min-width:0;color:var(--text-primary);font-size:1rem;font-weight:800}.users-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.users-form-section{min-width:0;display:grid;gap:12px;border:1px solid rgba(232,237,243,.95);border-radius:14px;padding:14px;background:var(--white)}.users-form-section h3{margin:0;color:var(--gold-primary);font-size:11px;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.users-check-row,.users-actions,.users-password-reset{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}.users-check-row label,.users-role-option{min-height:34px;display:inline-flex;align-items:center;gap:8px;color:var(--text-primary);font-size:13px;font-weight:700}.users-check-row input,.users-role-option input{width:15px;height:15px;accent-color:var(--gold-primary)}.users-role-grid{display:flex;flex-wrap:wrap;gap:8px 14px;border:1px solid var(--border-light);border-radius:8px;padding:10px 12px;background:var(--background-soft)}.users-password-reset{border-top:1px solid var(--border-light);padding-top:14px}.users-password-reset .field{max-width:280px}.users-table-wrap{width:100%;overflow-x:auto}.users-table{width:100%;min-width:920px;border-collapse:collapse}.users-table th,.users-table td{border-bottom:1px solid var(--border-light);padding:11px 12px;text-align:left;vertical-align:top}.users-table th{color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;background:var(--background-soft)}.users-table td{color:var(--text-primary);font-size:13px}.users-table td strong,.users-table td span{display:block}.station-table{min-width:640px}.withdrawal-schedule-table{min-width:260px}.withdrawal-schedule-table th:last-child,.withdrawal-schedule-table td:last-child{width:44px}.station-table-row{cursor:pointer}.station-table-row:hover{background:var(--background-soft, #f8f5ee)}.users-table td .station-card-usage{display:flex;align-items:center;gap:6px}.users-person-cell{min-width:0;display:flex;align-items:center;gap:10px}.users-person-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:50%;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;background:var(--gold-primary);color:var(--white);font-size:11px;font-weight:850;letter-spacing:.02em}.users-person-avatar img{width:100%;height:100%;object-fit:cover}.users-person-cell div{min-width:0}.users-table td strong{font-weight:800}.users-table td span{margin-top:2px;color:var(--text-secondary);font-size:12px}.users-row-action{min-height:32px;border:1px solid var(--border-light);border-radius:7px;padding:0 10px;background:var(--background-card);color:var(--gold-primary);font-size:12px;font-weight:800}.users-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:24px;background:#0f172a7a}.users-modal{width:min(980px,calc(100vw - 48px));max-height:min(760px,calc(100vh - 48px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--border-light);border-radius:14px;background:var(--background-card);box-shadow:var(--shadow-modal)}.users-modal-head,.users-modal-actions{padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fffffff5}.users-modal-head{border-bottom:1px solid var(--border-light)}.users-modal-head div{min-width:0;display:grid;gap:3px}.users-modal-head span{color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.users-modal-head strong{min-width:0;overflow:hidden;color:var(--text-primary);font-size:1.15rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.users-modal-body{min-height:0;overflow:auto;padding:18px 22px;display:grid;gap:14px}.users-modal-actions{border-top:1px solid var(--border-light);justify-content:flex-end}.users-photo-row{display:flex;align-items:center;gap:16px}.users-photo-preview{width:72px;height:72px;aspect-ratio:1 / 1;flex:0 0 72px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid var(--border-light);border-radius:50%;background:var(--background-total);color:var(--text-secondary);font-size:1.4rem;font-weight:800}.users-photo-preview img{width:100%;height:100%;object-fit:cover}.users-photo-actions{display:flex;flex-wrap:wrap;gap:8px}.ai-pcp-page{min-width:0;display:grid;gap:14px}.ai-pcp-grid{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.ai-pcp-section{align-content:start}.ai-pcp-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.ai-pcp-form-grid{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}.ai-pcp-form-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}.ai-pcp-key-field{grid-column:span 2}.ai-pcp-check{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--border-light);border-radius:10px;padding:10px 12px;background:#fbfaf7;color:var(--text-secondary);font-size:13px;font-weight:650;line-height:1.4}.ai-pcp-check input{width:16px;height:16px;margin-top:1px;accent-color:var(--gold-primary);flex:none}.ai-pcp-flow{min-height:260px;font-family:JetBrains Mono,Consolas,monospace;font-size:12px;line-height:1.55}.ai-pcp-history{display:grid;gap:10px}.ai-pcp-history article{min-width:0;border:1px solid var(--border-light);border-radius:10px;padding:12px 14px;background:var(--white)}.ai-pcp-history article span{display:block;color:var(--text-secondary);font-size:11px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.ai-pcp-history article strong{display:block;margin-top:5px;color:var(--text-primary);font-size:13px;font-weight:700;line-height:1.45}.ai-pcp-history p{margin:0;color:var(--text-secondary);font-size:13px;font-weight:650}.profile-page{min-width:0;display:flex;flex-direction:column;gap:14px}.profile-head{display:flex;flex-wrap:wrap;align-items:center;gap:16px}.profile-avatar{width:64px;height:64px;aspect-ratio:1 / 1;flex:0 0 64px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid var(--border-light);background:var(--background-total);color:var(--text-secondary);font-size:1.5rem;font-weight:800;overflow:hidden}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-head>div:not(.profile-avatar){min-width:0;flex:1 1 auto}.profile-head h3{margin:0}.profile-sub{margin:2px 0 0;color:var(--text-secondary);font-size:13px;font-weight:600}.profile-warning{margin:4px 0 0;color:#b42318;font-size:12.5px;font-weight:750}.signature-pad{display:flex;flex-direction:column;gap:10px}.signature-canvas{width:100%;max-width:520px;height:180px;border:1px solid var(--border-light);border-radius:10px;background:linear-gradient(var(--white),var(--white)) padding-box,repeating-linear-gradient(90deg,#eef0f2 0 1px,transparent 1px 22px);touch-action:none;cursor:crosshair}.signature-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;max-width:520px}.signature-hint{color:var(--text-secondary);font-size:12px;font-weight:600}.signature-buttons{display:flex;gap:8px}.first-access-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:6000;display:grid;place-items:center;padding:24px;background:#0f172a8a;backdrop-filter:blur(6px)}.first-access-dialog{width:min(820px,100%);max-height:calc(100vh - 48px);overflow:auto;display:grid;gap:16px;padding:22px;border:1px solid rgba(148,163,184,.34);border-radius:12px;background:var(--white);box-shadow:0 24px 70px #0f172a47}.first-access-header,.first-access-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.first-access-header span{display:block;color:var(--text-secondary);font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.first-access-header h2,.first-access-section h3{margin:0;color:var(--text)}.first-access-header h2{margin-top:3px;font-size:24px}.first-access-status{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.first-access-step{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 12px;border:1px solid var(--border-light);border-radius:10px;color:var(--text-secondary);font-size:13px;font-weight:750}.first-access-step strong{color:inherit;font-size:12px}.first-access-step-done{border-color:#15803d3d;background:#15803d12;color:#166534}.first-access-step-pending{border-color:#b4530942;background:#f59e0b14;color:#92400e}.first-access-message{padding:10px 12px;border:1px solid rgba(59,130,246,.22);border-radius:10px;background:#3b82f614;color:#1d4ed8;font-size:13px;font-weight:700}.first-access-section{display:grid;gap:14px;padding:16px;border:1px solid var(--border-light);border-radius:10px;background:#fbfcfe}.first-access-section-head{align-items:flex-start}.first-access-section p{margin:4px 0 0;color:var(--text-secondary);font-size:13px;font-weight:600}.first-access-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.first-access-section .signature-canvas,.first-access-section .signature-actions{max-width:none}@media(max-width:760px){.first-access-overlay{align-items:stretch;padding:12px}.first-access-dialog{max-height:calc(100vh - 24px);padding:16px;border-radius:10px}.first-access-header,.first-access-section-head,.signature-actions{flex-direction:column;align-items:stretch}.first-access-status,.first-access-fields{grid-template-columns:1fr}.signature-buttons{flex-wrap:wrap}}.weigher-doublecheck-done{display:grid;gap:3px;padding:10px 12px;border:1px solid rgba(21,128,61,.3);border-radius:10px;background:#15803d12}.weigher-doublecheck-done strong{color:#15803d;font-size:13px;font-weight:800}.weigher-doublecheck-done span{color:#166534;font-size:12px;font-weight:600}.weigher-doublecheck-history{display:grid;gap:3px;padding:10px 12px;border:1px solid rgba(180,83,9,.24);border-radius:10px;background:#f59e0b14}.weigher-doublecheck-history strong{color:#92400e;font-size:13px;font-weight:800}.weigher-doublecheck-history span{color:#a16207;font-size:12px;font-weight:600}.weigher-doublecheck-list{display:grid;gap:8px}.weigher-doublecheck-item .weigher-doublecheck-done{padding:8px 12px}.weigher-doublecheck-pending{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border:1px solid #eef0f2;border-radius:10px;background:#fafafa}.weigher-doublecheck-pending span{color:var(--sidebar-text-primary);font-size:13px;font-weight:700}.weigher-signature-warning{padding:10px 12px;border:1px solid #f0c36d;border-radius:10px;background:#fff8e6;color:#92600b;font-size:12.5px;font-weight:700;line-height:1.4}.weigher-signatures-legacy{display:none}.audit-timeline{display:flex;flex-direction:column;gap:16px}.audit-timeline-summary{display:flex;flex-wrap:wrap;align-items:center;gap:20px;padding:12px 16px;background:#f9fafb;border:1px solid var(--line);border-radius:10px}.audit-timeline-summary-item{display:flex;flex-direction:column;gap:1px}.audit-timeline-summary-item strong{color:var(--text-primary);font-size:14px;font-weight:700}.audit-timeline-summary-item span{color:var(--text-secondary);font-size:11px;font-weight:600}.audit-timeline-sort-btn{margin-left:auto;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:8px;background:var(--white);color:var(--text-primary);font-size:12px;font-weight:650;padding:7px 12px;cursor:pointer}.audit-timeline-sort-btn:hover{border-color:var(--gold-primary, var(--gold-primary));color:var(--gold-primary, var(--gold-primary))}.audit-timeline-sort-btn svg{width:14px;height:14px}.audit-timeline-grid{columns:3;column-gap:16px}.audit-timeline-card{display:block;break-inside:avoid;margin:0 0 16px;width:100%;background:var(--white);border:1px solid var(--line);border-radius:12px;padding:14px;box-shadow:none}.audit-timeline-card.is-latest{border-color:#a7d8b8;box-shadow:0 0 0 1px #a7d8b8}.audit-timeline-card-header{display:flex;align-items:center;gap:8px;margin-bottom:12px}.audit-timeline-step-indicator{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:#15803d;color:var(--white)}.audit-timeline-step-indicator svg{width:12px;height:12px}.audit-timeline-step-title{display:flex;flex-direction:column;gap:1px;min-width:0}.audit-timeline-step-title strong{color:var(--text-primary);font-size:13.5px;font-weight:650;line-height:1.3}.audit-timeline-step-number{color:#98a2b3;font-size:11px;font-weight:600}.audit-timeline-status-badge{margin-left:auto;flex-shrink:0;color:#15803d;background:#eafaf0;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:650}.audit-timeline-responsible{display:flex;align-items:flex-start;gap:10px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #f1f2f4}.audit-timeline-avatar{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;background:#eef1f5;color:var(--text-primary);font-size:11.5px;font-weight:700}.audit-timeline-responsible-info{display:flex;flex-direction:column;gap:2px;min-width:0}.audit-timeline-responsible-info strong{color:var(--text-primary);font-size:14px;font-weight:650;line-height:1.3}.audit-timeline-responsible-info small{color:var(--text-secondary);font-size:12px;font-weight:550}.audit-timeline-timestamp{color:#98a2b3!important}.audit-timeline-result{display:flex;align-items:center;gap:6px;margin:0 0 8px;color:var(--text-primary);font-size:12.5px;font-weight:600}.audit-timeline-result svg{flex-shrink:0;width:14px;height:14px;color:#15803d}.audit-timeline-notes{margin:0 0 8px;color:var(--text-secondary);font-size:12px;font-weight:550;line-height:1.4}.audit-timeline-checklist ul{display:grid;gap:6px;margin:0;padding:0;list-style:none}.audit-timeline-checklist li{min-width:0;display:grid;grid-template-columns:14px minmax(0,1fr);gap:6px;align-items:start;color:#475467;font-size:12.5px;font-weight:550;line-height:1.4}.audit-timeline-checklist li svg{width:13px;height:13px;margin-top:2px}.audit-timeline-checklist li.is-ok svg{color:#15803d}.audit-timeline-checklist li.is-error svg{color:var(--danger-700)}.audit-timeline-checklist li strong{grid-column:2;color:var(--text-primary);font-size:12px;font-weight:650}.audit-timeline-expand-btn{display:inline-flex;align-items:center;gap:4px;margin-top:8px;border:none;background:none;padding:0;color:var(--gold-primary, var(--gold-primary));font-size:12px;font-weight:650;cursor:pointer}.audit-timeline-expand-btn svg{width:12px;height:12px;transition:transform .15s ease}.audit-timeline-expand-btn svg.is-open{transform:rotate(180deg)}.audit-timeline-signature{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #f1f2f4}.audit-timeline-signature-seal{color:#475467;font-size:11.5px;font-weight:650}.audit-timeline-details-btn{flex-shrink:0;border:none;background:none;padding:0;color:var(--gold-primary, var(--gold-primary));font-size:12px;font-weight:650;cursor:pointer}.audit-timeline-details{display:grid;gap:6px;margin:10px 0 0;padding:10px;background:#f9fafb;border-radius:8px}.audit-timeline-details div{display:flex;justify-content:space-between;gap:10px}.audit-timeline-details dt{flex-shrink:0;color:#98a2b3;font-size:11px;font-weight:600}.audit-timeline-details dd{margin:0;text-align:right;color:var(--text-primary);font-size:11.5px;font-weight:600}@media(max-width:1024px){.audit-timeline-grid{columns:2}}@media(max-width:640px){.audit-timeline-grid{columns:1}.audit-timeline-sort-btn{margin-left:0}}.checklist-page{min-width:0;display:flex;flex-direction:column;gap:12px;padding:20px;border:1px solid rgba(232,237,243,.95);border-radius:16px;background:var(--white);box-shadow:0 1px 2px #0f172a0a,0 8px 24px #0f172a09}.pharmaceutical-flow-settings{display:grid;gap:14px;padding:0 2px 18px;border-bottom:1px solid var(--border-light)}.pharmaceutical-flow-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.pharmaceutical-flow-heading>div{min-width:0}.pharmaceutical-flow-heading h2,.pharmaceutical-flow-heading p,.pharmaceutical-flow-status{margin:0}.pharmaceutical-flow-heading h2{color:var(--text-primary);font-size:15px;font-weight:800}.pharmaceutical-flow-heading p{max-width:72ch;margin-top:4px;color:var(--text-secondary);font-size:12.5px;font-weight:550;line-height:1.5}.pharmaceutical-flow-switch{min-height:36px;flex:none}.pharmaceutical-flow-controls{display:grid;grid-template-columns:minmax(260px,520px) auto;align-items:end;justify-content:start;gap:10px}.pharmaceutical-flow-controls .field{margin:0}.pharmaceutical-flow-status{color:var(--text-secondary);font-size:12px;font-weight:650;line-height:1.45}.pharmaceutical-flow-status.is-error{color:var(--danger-700)}@media(max-width:640px){.pharmaceutical-flow-heading{display:grid;gap:10px}.pharmaceutical-flow-controls{grid-template-columns:1fr}.pharmaceutical-flow-controls .icon-button{justify-self:stretch}}.checklist-actionbar{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-end;padding:10px 14px;border:1px solid var(--border-light);border-radius:12px;background:var(--background-card);box-shadow:0 1px 2px #0f172a0a}.checklist-actions{display:flex;gap:8px}.checklist-hint{margin:0 2px;color:var(--text-secondary);font-size:12.5px;font-weight:550;line-height:1.45}.checklist-sectors{display:flex;flex-direction:column;gap:10px}.checklist-sector{min-width:0;border:1px solid var(--border-light);border-radius:12px;background:var(--background-card);overflow:hidden}.checklist-sector-head{display:flex;align-items:center;gap:8px;padding:8px 10px}.checklist-chevron{flex:none;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:7px;background:transparent;color:var(--text-secondary);cursor:pointer;transition:background .15s ease,color .15s ease}.checklist-chevron:hover{background:var(--background-total);color:var(--text-primary)}.checklist-chevron svg{width:15px;height:15px;transition:transform .18s ease}.checklist-chevron[aria-expanded=true] svg{transform:rotate(90deg)}.checklist-title-input{flex:1 1 auto;min-width:0;font-weight:750;font-size:14px}.checklist-meta{flex:none;font-size:11.5px;font-weight:600;color:var(--text-secondary);white-space:nowrap}.checklist-remove{flex:none;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:7px;background:transparent;color:var(--text-secondary);cursor:pointer;transition:background .15s ease,color .15s ease}.checklist-remove:hover{background:#dc262617;color:#dc2626}.checklist-remove svg{width:14px;height:14px}.checklist-sector-body{display:flex;flex-direction:column;gap:12px;padding:12px;border-top:1px solid var(--border-light)}.checklist-stage{min-width:0;border:1px solid var(--border-light);border-radius:10px;background:#f8fafc8c;display:flex;flex-direction:column;gap:10px;padding:12px}.checklist-stage-head{display:flex;align-items:center;gap:8px}.checklist-stage-input{flex:1 1 auto;min-width:0;font-weight:700;font-size:13px}.checklist-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.checklist-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;padding:10px;border:1px solid var(--border-light);border-radius:10px;background:var(--white);transition:opacity .15s ease}.checklist-item.is-off{opacity:.5}.checklist-item-label{min-height:42px;resize:vertical;font-size:13px}.checklist-item-controls{display:flex;flex-direction:column;gap:8px;align-items:flex-end}.segmented{display:inline-flex;border:1px solid var(--border-light);border-radius:8px;overflow:hidden;background:var(--background-card)}.segmented button{border:0;background:transparent;padding:5px 10px;font-size:11.5px;font-weight:700;color:var(--text-secondary);cursor:pointer;transition:background .15s ease,color .15s ease}.segmented button+button{border-left:1px solid var(--border-light)}.segmented button.is-active{background:var(--gold-primary);color:var(--white)}.segmented button:not(.is-active):hover{background:var(--background-total);color:var(--text-primary)}.segmented button:focus-visible{outline:2px solid var(--gold-border);outline-offset:-2px}.checklist-switch{display:inline-flex;align-items:center;gap:7px;font-size:11.5px;font-weight:700;color:var(--text-secondary);cursor:pointer;white-space:nowrap}.checklist-switch input{position:absolute;opacity:0;width:0;height:0}.checklist-switch .track{position:relative;flex:none;width:34px;height:19px;border-radius:999px;background:#cbd5e1;transition:background .15s ease}.checklist-switch .thumb{position:absolute;top:2px;left:2px;width:15px;height:15px;border-radius:50%;background:var(--white);box-shadow:0 1px 2px #0f172a38;transition:transform .15s ease}.checklist-switch input:checked+.track{background:var(--gold-primary)}.checklist-switch input:checked+.track .thumb{transform:translate(15px)}.checklist-switch input:focus-visible+.track{outline:2px solid var(--gold-border);outline-offset:2px}.checklist-empty{margin:0;padding:6px 2px;color:var(--text-secondary);font-size:12px;font-weight:600;font-style:italic}.checklist-add{align-self:flex-start;display:inline-flex;gap:6px;align-items:center;border:1px dashed var(--border-light);border-radius:8px;padding:7px 12px;background:transparent;color:var(--text-secondary);font-size:12px;font-weight:700;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}.checklist-add:hover{background:var(--background-total);color:var(--gold-primary);border-color:var(--gold-border)}.checklist-add svg{width:14px;height:14px}.checklist-add-sector{align-self:flex-start}.withdrawal-schedule-add{display:flex;align-items:center;gap:10px;margin-bottom:4px}.withdrawal-schedule-add input[type=time]{width:130px}.erp-reference-page{display:grid;gap:24px}.erp-reference-section{display:grid;gap:14px}.erp-branch-color-cell{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-variant-numeric:tabular-nums}.erp-branch-color-cell.is-empty{color:#94a3b8;font-weight:550}.erp-branch-color-swatch{width:16px;height:16px;flex:0 0 16px;border-radius:50%;border:1px solid var(--line)}.erp-branch-color-modal{max-width:380px}.erp-branch-color-picker{display:flex;align-items:center;gap:12px;margin-top:10px}.erp-branch-color-picker input[type=color]{width:48px;height:36px;padding:0;border:1px solid var(--line);border-radius:8px;cursor:pointer;background:none}.erp-branch-color-picker strong{color:var(--text-primary);font-size:.9rem;font-variant-numeric:tabular-nums;text-transform:uppercase}.erp-branch-color-picker .erp-branch-color-swatch{width:24px;height:24px}.withdrawal-schedule-list{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.withdrawal-schedule-chip{display:inline-flex;align-items:center;gap:8px;padding:7px 8px 7px 14px;border:1px solid var(--border-light);border-radius:999px;background:var(--background-card)}.withdrawal-schedule-chip span{color:var(--text-primary);font-size:13px;font-weight:700}.withdrawal-schedule-chip button{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:none;border-radius:999px;background:var(--background-total);color:var(--text-secondary);cursor:pointer}.withdrawal-schedule-chip button:hover{background:var(--danger-700);color:var(--white)}.withdrawal-schedule-chip button svg{width:11px;height:11px}@media(max-width:720px){.checklist-item{grid-template-columns:1fr}.checklist-item-controls{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between}.checklist-meta{display:none}}@media(max-width:1439px){.marking-table{min-width:1180px}.marking-table th:nth-child(6),.marking-table td:nth-child(6),.marking-table th:nth-child(9),.marking-table td:nth-child(9),.marking-table th:nth-child(11),.marking-table td:nth-child(11),.marking-table th:nth-child(12),.marking-table td:nth-child(12){display:none}}@media(max-width:1080px){.content-area{padding:22px 22px 36px}.marking-page-header{align-items:flex-start;flex-direction:column}.marking-header-actions{justify-content:flex-start}.marking-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.marking-summary-grid article:nth-child(odd){border-left:0}.marking-summary-grid article:nth-child(n+3){border-top:1px solid #f3f4f6}.grid-4,.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:1fr}.topbar{flex-direction:column}.tree{gap:12px}.tree-row,.formula-group-header{padding:11px 14px}.tree-children,.formula-group-list{gap:10px;padding:10px}.formula-group-table{min-width:780px}.formula-group-table th,.formula-group-table td{padding:10px 12px}.pcp-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.control-summary,.control-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.control-stage-grid,.control-slot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.control-summary div:nth-child(odd),.control-category-card:nth-child(odd),.control-stage-card:nth-child(3n+1),.control-slot-card:nth-child(3n+1){border-left:0}.control-summary div:nth-child(n+3),.control-category-card:nth-child(n+3),.control-stage-card:nth-child(n+4),.control-slot-card:nth-child(n+4){border-top:1px solid var(--border-light)}.pcp-planning-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.pcp-planning-summary-item:nth-child(odd){border-left:0}.pcp-planning-summary-item:nth-child(n+3){border-top:1px solid var(--border-light)}.pcp-task-card{grid-template-columns:1fr;align-items:stretch}.pcp-lab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pcp-lab-card:nth-child(odd){border-left:0}.pcp-lab-card:nth-child(n+3){border-top:1px solid var(--border-light)}.pcp-workbench-grid,.pcp-suggestion-grid,.pcp-batch-grid,.pcp-identical-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-layout{grid-template-columns:1fr}.settings-nav{position:static;display:flex;overflow-x:auto}.settings-nav-group{display:flex;flex:0 0 auto;align-items:center;gap:2px}.settings-nav-group-label{padding:0 6px 0 10px}.settings-nav-item{width:auto;flex:0 0 auto}.settings-nav-item small{display:none}.settings-nav-item-active:before{display:none}.users-admin-layout{grid-template-columns:1fr}.users-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-pcp-grid{grid-template-columns:1fr}.ai-pcp-form-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:860px){.shell,.shell.sidebar-is-collapsed,.shell.sidebar-is-expanded{--sidebar-width: 0px}.content-area{width:100%;margin-left:0;padding:76px 16px 32px}.mobile-menu-button{position:fixed;top:16px;left:16px;z-index:25;display:inline-flex}.sidebar-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:block;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#17203357;opacity:0;pointer-events:none;transition:opacity .18s ease}.sidebar-drawer-open .sidebar-overlay{opacity:1;pointer-events:auto}.sidebar{top:12px;bottom:12px;left:12px;width:64px;height:calc(100vh - 24px);border-radius:24px;transform:translate(-100%)}.sidebar-drawer-open .sidebar{transform:translate(0)}.sidebar-logo{min-height:60px}.shell-topbar{justify-content:flex-start;margin-bottom:8px}.shell-user-panel{width:100%;justify-content:flex-start;flex-wrap:wrap;row-gap:10px}.shell-user-meta{flex:1 1 140px}.users-form-grid{grid-template-columns:1fr}.users-toolbar{justify-content:flex-start}.users-modal-backdrop{padding:12px}.users-modal{width:min(100%,calc(100vw - 24px));max-height:calc(100vh - 24px)}.users-modal-head,.users-modal-actions{align-items:stretch;flex-direction:column}.users-form-head{align-items:flex-start;flex-direction:column}.users-password-reset .field{max-width:none}.ai-pcp-form-grid,.ai-pcp-form-grid-four{grid-template-columns:1fr}.ai-pcp-key-field{grid-column:auto}.marking-stage-strip{grid-template-columns:repeat(2,minmax(180px,1fr));overflow-x:visible}.marking-filter-row{align-items:stretch}.marking-field,.marking-header-actions label{min-width:min(100%,220px)}.marking-table-wrap{max-height:none}}@media(max-width:640px){.grid-4,.grid-2{grid-template-columns:1fr}.content-area{padding:76px 14px 28px}.marking-page{gap:12px}.marking-header-actions,.marking-header-actions label,.marking-header-actions .marking-button,.marking-header-actions .marking-icon-button,.marking-filter-row>*{width:100%}.marking-summary-grid,.marking-stage-strip{grid-template-columns:1fr}.marking-summary-grid article,.marking-summary-grid article:nth-child(odd){border-left:0}.marking-summary-grid article+article{border-top:1px solid #f3f4f6}.marking-pagination{grid-template-columns:1fr;justify-items:stretch}.marking-pagination label,.marking-page-controls{justify-self:stretch;justify-content:space-between}.marking-drawer{width:min(520px,94vw)}.marking-drawer-summary dl{grid-template-columns:1fr}.kanban-toolbar{align-items:stretch}.kanban-toolbar-actions,.kanban-toolbar-actions .button{width:100%}.formula-cluster,.formula-group-card,.tree-lab{border-radius:8px}.formula-group-header{align-items:flex-start;flex-wrap:wrap;gap:10px;padding:12px}.formula-group-heading{flex-basis:calc(100% - 24px)}.formula-patient-badge{margin-left:18px}.formula-table-wrap{width:100%}.formula-group-table{min-width:720px}.formula-group-summary{align-items:flex-start;flex-direction:column;padding:12px}.pcp-metrics,.pcp-planning-summary,.control-summary,.control-category-grid,.control-stage-grid,.control-slot-grid,.pcp-workbench-grid,.pcp-suggestion-grid,.pcp-batch-grid,.pcp-identical-grid{grid-template-columns:1fr}.pcp-planning-summary-item,.pcp-planning-summary-item:nth-child(odd){border-left:0}.pcp-planning-summary-item+.pcp-planning-summary-item{border-top:1px solid var(--border-light)}.control-summary div,.control-category-card,.control-stage-card,.control-slot-card{border-left:0}.control-summary div+div,.control-category-card+.control-category-card,.control-stage-card+.control-stage-card,.control-slot-card+.control-slot-card{border-top:1px solid var(--border-light)}.pcp-task-board-header,.pcp-task-card,.pcp-lab-board-header,.pcp-lab-card-trigger{padding:16px}.pcp-lab-formula-row{min-width:820px;grid-template-columns:minmax(130px,.9fr) minmax(190px,1.2fr) minmax(86px,.45fr) minmax(76px,.4fr) minmax(120px,.55fr) minmax(220px,.95fr)}.pcp-lab-grid{grid-template-columns:1fr}.pcp-lab-card,.pcp-lab-card:nth-child(odd){border-left:0}.pcp-lab-card+.pcp-lab-card{border-top:1px solid var(--border-light)}.pcp-action-row,.pcp-tablet-panel,.pcp-batch-footer{align-items:stretch;flex-direction:column}.pcp-action-row .button,.pcp-tablet-panel .button{width:100%}}.weigher-page{width:100%;min-width:0;min-height:calc(100vh - 28px);display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:12px}.weigher-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:stretch}.weigher-summary-card,.weigher-empty-state,.weigher-queue,.weigher-current,.weigher-notice{border:1px solid var(--border-light);background:var(--background-card);box-shadow:var(--shadow-soft)}.weigher-summary-card{min-height:78px;display:grid;align-content:center;gap:4px;border-radius:8px;padding:14px 16px}.weigher-summary-filter{cursor:pointer;text-align:left;transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease}.weigher-summary-filter:hover{border-color:color-mix(in srgb,var(--gold-primary) 32%,var(--border-light));background:var(--background-soft)}.weigher-summary-filter.is-active{border-color:color-mix(in srgb,var(--gold-primary) 46%,var(--border-light));background:var(--background-total);box-shadow:inset 0 -3px 0 var(--gold-primary)}.weigher-summary-card span,.weigher-panel-head span,.weigher-current-head span,.weigher-modal-header span,.weigher-sheet-section h3,.weigher-operation-section h3,.weigher-field-grid span{color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.weigher-summary-card strong{color:var(--text-primary);font-size:30px;font-weight:850;line-height:1}.weigher-summary-card small{min-width:0;overflow:hidden;color:var(--text-secondary);font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.weigher-notice{border-radius:8px;padding:10px 14px;color:var(--text-primary);font-size:13px;font-weight:700}.weigher-empty-state{min-height:300px;display:grid;place-items:center;align-content:center;gap:6px;border-radius:8px;color:var(--text-secondary);text-align:center}.weigher-empty-state strong{color:var(--text-primary);font-size:16px}.weigher-workspace{min-height:0;display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:12px}.weigher-queue,.weigher-current{min-width:0;min-height:0;overflow:hidden;border-radius:8px}.weigher-queue{display:grid;grid-template-rows:auto minmax(0,1fr)}.weigher-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border-light);padding:14px 16px}.weigher-panel-head strong{color:var(--text-primary);font-size:13px;font-weight:800}.weigher-group-list{min-height:0;overflow-y:auto;display:grid;align-content:start;gap:8px;padding:10px}.weigher-filter-empty,.weigher-current-empty{min-width:0;display:grid;place-items:center;align-content:center;gap:6px;padding:22px;color:var(--text-secondary);text-align:center}.weigher-filter-empty{min-height:140px}.weigher-current-empty{min-height:280px}.weigher-filter-empty strong,.weigher-current-empty strong{color:var(--text-primary);font-size:14px;font-weight:850}.weigher-filter-empty span,.weigher-current-empty span{max-width:38ch;font-size:12.5px;font-weight:650;line-height:1.4}.weigher-group-card{width:100%;min-width:0;display:grid;gap:3px;border:1px solid var(--border-light);border-radius:8px;padding:12px;background:var(--background-card);color:var(--text-secondary);text-align:left;transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease}.weigher-group-card:hover,.weigher-group-card.is-active{border-color:color-mix(in srgb,var(--gold-primary) 36%,var(--border-light));background:var(--background-total)}.weigher-group-card.is-active{box-shadow:inset 3px 0 0 var(--gold-primary)}.weigher-group-card span{color:var(--gold-primary);font-size:10px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.weigher-group-card strong{min-width:0;overflow:hidden;color:var(--text-primary);font-size:13px;font-weight:850;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.weigher-group-card small,.weigher-group-card em,.weigher-current-head small{min-width:0;overflow:hidden;color:var(--text-secondary);font-size:12px;font-style:normal;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.weigher-group-card em{width:fit-content;margin-top:6px;border:1px solid var(--border-light);border-radius:999px;padding:3px 8px;background:var(--background-card)}.weigher-group-card:disabled{cursor:not-allowed}.weigher-group-card:disabled:hover{border-color:var(--border-light);background:var(--background-card)}.weigher-group-card.is-locked{opacity:.55}.weigher-pendency-button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #f0c36d;border-radius:8px;padding:7px 14px;background:#fff8e6;color:#92600b;font-size:12px;font-weight:800;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.weigher-pendency-button:hover:not(:disabled){background:#fceecb;border-color:#e0ab48}.weigher-pendency-button:disabled{opacity:.55;cursor:not-allowed}.weigher-pcp-alert{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 2px;padding:14px 16px;border:1px solid #dc2626;border-left-width:5px;border-radius:10px;background:#fdecec;box-shadow:0 1px 2px #dc26261f}.weigher-pcp-alert>div{min-width:0;display:grid;gap:3px}.weigher-pcp-alert strong{color:#b42318;font-size:13.5px;font-weight:850;text-transform:uppercase;letter-spacing:.02em}.weigher-pcp-alert span{color:#7a271a;font-size:12px;font-weight:650;line-height:1.4}.weigher-pcp-alert .weigher-pendency-button{flex:none;border-color:#dc2626;background:var(--white);color:#b42318}.weigher-pcp-alert .weigher-pendency-button:hover:not(:disabled){background:#fbe3e3;border-color:#b42318}.weigher-status-pill.is-pending{border-color:#f0c36d;background:#fff8e6;color:#92600b}.weigher-formula-table tr.is-blocked{background:#fffaf0}.weigher-blocked-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;color:#b42318}.weigher-blocked-icon svg{width:15px;height:15px}.weigher-pendency-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:20px;background:#0f172a80}.weigher-pendency-modal{width:100%;max-width:460px;display:flex;flex-direction:column;gap:12px;padding:20px;border-radius:14px;background:var(--white);box-shadow:0 20px 50px #0f172a38}.weigher-pendency-modal header span{color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.weigher-pendency-modal header h3{margin:2px 0 0;color:var(--text-primary);font-size:1.15rem;font-weight:850}.weigher-pendency-hint{margin:0;color:var(--text-secondary);font-size:12.5px;font-weight:600;line-height:1.45}.weigher-pendency-textarea{width:100%;resize:vertical;border:1px solid var(--border-light);border-radius:10px;padding:10px 12px;font-size:13px;font-family:inherit}.weigher-pendency-textarea:focus-visible{outline:2px solid var(--gold-border);outline-offset:1px}.weigher-pendency-actions{display:flex;justify-content:flex-end;gap:10px}.weigher-pendency-error{margin:0;color:var(--danger-700);font-size:12.5px;font-weight:700}.station-gate-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:500;display:flex;align-items:center;justify-content:center;padding:20px;background:#0f172a99}.station-gate-modal{width:100%;max-width:480px;display:flex;flex-direction:column;gap:14px;padding:22px;border-radius:16px;background:var(--white);box-shadow:0 24px 60px #0f172a47}.station-gate-modal header span{color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.station-gate-modal header h3{margin:4px 0 0;font-size:1.05rem}.station-gate-hint{margin:0;color:var(--text-secondary);font-size:12.5px;font-weight:600;line-height:1.45}.station-gate-error{margin:0;color:var(--danger-700);font-size:12.5px;font-weight:700}.station-badge{position:fixed;top:10px;right:16px;z-index:60;display:flex;align-items:center;gap:10px;max-width:min(760px,calc(100vw - 32px));padding:6px 8px 6px 6px;border:1px solid #e7e3da;border-radius:999px;background:var(--white);box-shadow:0 6px 20px #0f172a1f;font-size:.8rem}.station-badge-avatar{display:grid;place-items:center;width:30px;height:30px;overflow:hidden;border-radius:50%;background:#efe7d4;font-weight:700;flex-shrink:0}.station-badge-avatar img{width:100%;height:100%;object-fit:cover}.station-badge-name{font-weight:700;white-space:nowrap}.station-badge-divider{width:1px;height:18px;background:#e0dbd0;flex-shrink:0}.station-badge-station{white-space:nowrap}.station-badge-equipments{display:flex;gap:10px;min-width:0;overflow-x:auto}.station-badge-equipment{display:inline-flex;gap:4px;white-space:nowrap;color:var(--muted, #6b7280)}.station-badge-equipment em{font-style:normal;font-weight:700;color:var(--sidebar-text-primary, #1f2937)}.station-badge-exit{flex-shrink:0;padding:5px 14px;border:1px solid #dfc995;border-radius:999px;background:#fffdf8;font-weight:700;cursor:pointer}.station-badge-exit:hover{background:#fff6e3}.station-gate-search{width:100%;padding:10px 12px;border:1px solid #d9c69d;border-radius:10px;font-size:.95rem}.station-gate-preview{margin-top:12px;padding:12px 14px;border:1px solid #d9c69d;border-radius:12px;background:#fffdf8}.station-gate-preview ul{margin:8px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}.station-gate-preview li{display:flex;align-items:baseline;gap:8px;font-size:.85rem}.station-gate-preview li em{font-style:normal;font-weight:700}.station-gate-preview li small{color:var(--muted, #6b7280)}.station-admin-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.station-admin-header h3{margin:0 0 4px}.station-admin-header p{margin:0;color:var(--muted, #6b7280);font-size:.85rem}.station-admin-header-actions-only{justify-content:flex-end}.station-admin-sector{margin-bottom:22px}.station-admin-sector h4{margin:0 0 10px;font-size:.9rem;color:var(--muted, #6b7280)}.station-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}.station-card{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid #e7e3da;border-radius:14px;background:var(--white);text-align:left;cursor:pointer}.station-card:hover{border-color:#dfc995;background:#fffdf8}.station-card-sector{font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted, #6b7280)}.station-card-name{font-size:.95rem}.station-card-meta{font-size:.8rem;color:var(--muted, #6b7280)}.station-card-usage{display:flex;align-items:center;gap:6px;font-size:.78rem;font-weight:700;color:#7a5714}.station-card-usage-photo{width:20px;height:20px;border-radius:50%;object-fit:cover;flex-shrink:0}.station-card-free{font-size:.78rem;font-weight:700;color:#1a7f52}.station-draft-usage{display:flex;align-items:center;gap:8px;margin:6px 0 0;font-size:.82rem;font-weight:600;color:#7a5714}.station-draft-usage .station-card-usage-photo{width:24px;height:24px}.station-draft-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.station-draft-equipments{margin-top:18px;padding-top:16px;border-top:1px solid #e7e3da}.station-draft-equipments h4{margin:0 0 10px}.station-equipment-list{display:flex;flex-direction:column;gap:8px;margin:0 0 14px;padding:0;list-style:none}.station-equipment-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e7e3da;border-radius:10px;background:var(--white)}.station-equipment-list li strong{display:block;font-size:.9rem}.station-equipment-list li small{color:var(--muted, #6b7280);font-size:.78rem}.station-equipment-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:10px}.station-equipment-shareable{flex-direction:row;align-items:center;gap:8px}.station-gate-options{display:flex;flex-direction:column;gap:8px;max-height:320px;overflow-y:auto}.station-gate-option{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border-light);border-radius:10px;cursor:pointer;transition:border-color .12s ease,background .12s ease}.station-gate-option:hover{background:var(--background-soft)}.station-gate-option.is-selected{border-color:var(--gold-border);background:var(--sidebar-gold-soft)}.station-gate-option input{margin:0}.station-gate-option strong{display:block;font-size:13px;color:var(--text-primary)}.station-gate-option small{color:var(--text-secondary);font-size:11.5px}.station-gate-actions{display:flex;justify-content:flex-end;gap:10px}.weigher-cosign-backdrop{padding:16px}.weigher-cosign-modal{width:min(460px,calc(100vw - 32px));display:grid;gap:20px;border:1px solid var(--line);border-radius:14px;padding:24px;background:var(--white);box-shadow:0 18px 45px #0f172a2e}.weigher-cosign-header{position:relative;display:grid;gap:6px;padding-right:40px}.weigher-cosign-header span{color:var(--gold-primary);font-size:11px;font-weight:850;letter-spacing:.04em}.weigher-cosign-header h3{margin:0;color:var(--sidebar-text-primary);font-size:20px;font-weight:850;line-height:1.15}.weigher-cosign-header p{margin:2px 0 0;color:#64748b;font-size:13px;font-weight:600;line-height:1.45}.weigher-cosign-close{position:absolute;top:-4px;right:-4px;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:8px;background:transparent;color:#64748b;cursor:pointer}.weigher-cosign-close:hover{border-color:var(--line);color:var(--sidebar-text-primary)}.weigher-cosign-close svg{width:16px;height:16px}.weigher-cosign-form{display:grid;gap:20px}.weigher-cosign-field{display:grid;gap:6px}.weigher-cosign-field>span{color:#475569;font-size:12px;font-weight:750;line-height:1.2}.weigher-cosign-field>small{color:#64748b;font-size:11.5px;font-weight:600;line-height:1.3}.weigher-cosign-field .input{height:44px;border:1px solid #d8dee8;border-radius:10px;padding:0 14px;color:var(--sidebar-text-primary);font-size:14px}.weigher-cosign-field .input:focus{border-color:var(--gold-primary);box-shadow:0 0 0 3px #c9952e29}.weigher-cosign-identified{display:grid;gap:3px;border:1px solid rgba(21,128,61,.24);border-radius:10px;padding:10px 12px;background:#15803d0f}.weigher-cosign-identified span{color:#15803d;font-size:11px;font-weight:850;letter-spacing:.03em;text-transform:uppercase}.weigher-cosign-identified strong{color:var(--sidebar-text-primary);font-size:13.5px;font-weight:850;line-height:1.2}.weigher-cosign-identified small{color:#64748b;font-size:12px;font-weight:650}.weigher-cosign-status{min-height:18px;margin-top:-4px;color:#64748b;font-size:12px;font-weight:700;line-height:1.35}.weigher-cosign-status[role=alert]{color:var(--danger-700)}.weigher-cosign-actions{display:flex;justify-content:flex-end;gap:10px}.weigher-weighing-popup{width:min(560px,calc(100vw - 32px));max-height:min(720px,calc(100vh - 32px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:16px;border:1px solid var(--line);border-radius:14px;padding:22px;background:var(--white);box-shadow:0 18px 45px #0f172a2e}.weigher-weighing-popup-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.weigher-weighing-popup-header span{color:var(--gold-primary);font-size:11px;font-weight:850;letter-spacing:.04em}.weigher-weighing-popup-header h3{margin:2px 0 0;color:var(--sidebar-text-primary);font-size:18px;font-weight:850}.weigher-weighing-popup-body{min-height:0;overflow-y:auto;display:grid;align-content:start;gap:14px;padding-right:4px}.weigher-cosign-submit:disabled{border-color:#cbd5e1;background:#e2e8f0;color:#475569;opacity:1}.weigher-current{display:grid;grid-template-rows:auto minmax(0,1fr)}.weigher-current-head{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border-light);padding:14px 16px}.weigher-current-head>div{min-width:0;display:grid;gap:2px}.weigher-current-head strong{min-width:0;overflow:hidden;color:var(--text-primary);font-size:18px;font-weight:850;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.weigher-start-button,.weigher-primary-button,.weigher-secondary-button{min-height:40px;border-radius:8px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:800}.weigher-start-button,.weigher-primary-button{border:1px solid var(--ink-strong);background:var(--ink-strong);color:var(--white)}.weigher-start-button:hover,.weigher-primary-button:hover{background:var(--ink)}.weigher-start-button:disabled,.weigher-primary-button:disabled,.weigher-secondary-button:disabled{cursor:not-allowed;opacity:.55}.weigher-start-button svg{width:17px;height:17px}.weigher-secondary-button{border:1px solid var(--border-light);background:var(--background-card);color:var(--text-primary)}.weigher-formula-table-wrap{min-height:0;overflow:auto}.weigher-formula-table{width:100%;min-width:920px;border-collapse:collapse;table-layout:fixed}.weigher-formula-table th,.weigher-formula-table td{border-bottom:1px solid var(--border-light);padding:12px 14px;text-align:left;vertical-align:middle}.weigher-formula-table th{position:sticky;top:0;z-index:1;background:var(--background-soft);color:var(--gold-primary);font-size:11px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.weigher-formula-table td{color:var(--text-primary);font-size:13px;font-weight:650}.weigher-formula-table tr.is-next td{background:color-mix(in srgb,var(--gold-primary) 7%,var(--background-card))}.weigher-formula-table th:nth-child(1),.weigher-formula-table td:nth-child(1),.weigher-formula-table th:nth-child(4),.weigher-formula-table td:nth-child(4){width:76px;text-align:center}.weigher-formula-table th:nth-child(2),.weigher-formula-table td:nth-child(2){width:122px}.weigher-formula-table th:nth-child(5),.weigher-formula-table td:nth-child(5){width:86px;text-align:center}.weigher-formula-table th:nth-child(6),.weigher-formula-table td:nth-child(6){width:178px}.weigher-formula-table th:nth-child(7),.weigher-formula-table td:nth-child(7){width:146px;text-align:center}.stage-formula-table th:nth-child(1),.stage-formula-table td:nth-child(1){width:130px;text-align:left}.stage-formula-table th:nth-child(2),.stage-formula-table td:nth-child(2){width:220px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage-formula-table th:nth-child(3),.stage-formula-table td:nth-child(3){width:130px}.stage-formula-table th:nth-child(4),.stage-formula-table td:nth-child(4){width:70px;text-align:center}.stage-formula-table th:nth-child(5),.stage-formula-table td:nth-child(5){width:70px;text-align:center}.stage-formula-table th:nth-child(6),.stage-formula-table td:nth-child(6){width:130px}.stage-formula-table th:nth-child(7),.stage-formula-table td:nth-child(7){width:60px;text-align:center}.weigher-row-actions{display:inline-flex;align-items:center;justify-content:center;gap:6px}.weigher-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:26px;border:1px solid var(--border-light);border-radius:999px;padding:4px 10px;background:var(--background-soft);color:var(--text-secondary);font-size:12px;font-weight:800;max-width:100%;line-height:1.2;text-align:center;white-space:normal}.weigher-status-pill-button{cursor:pointer;font-family:inherit;transition:filter .12s ease}.weigher-status-pill-button:hover{filter:brightness(.96)}.weigher-status-pill-button:focus-visible{outline:2px solid var(--gold-border);outline-offset:1px}.weigher-status-pill.is-done,.weigher-done-icon{border-color:color-mix(in srgb,var(--ok-700) 26%,var(--border-light));background:var(--ok-50);color:var(--ok-700)}.weigher-done-icon{width:34px;height:34px;display:inline-grid;place-items:center;border:1px solid;border-radius:8px}.weigher-done-icon svg{width:17px;height:17px}.weigher-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;display:grid;place-items:center;padding:12px;background:#0f172a8f}.weigher-modal{width:min(1540px,calc(100vw - 24px));height:min(980px,calc(100vh - 24px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--white);color:var(--sidebar-text-primary);box-shadow:var(--shadow-modal)}.weigher-modal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:16px 22px;background:#fffffff5}.weigher-modal-header>div:first-child{min-width:0;display:grid;gap:4px}.weigher-modal-header h2{margin:0;color:var(--sidebar-text-primary);font-size:28px;font-weight:800;line-height:1.05}.weigher-modal-meta{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.stage-sheet-refresh-button{min-height:34px;padding:7px 11px;white-space:nowrap}.stage-sheet-refresh-notice{margin:10px 18px 0}.weigher-modal-meta strong,.weigher-modal-meta span{min-height:34px;display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:8px;padding:7px 12px;background:#fafaf9;color:#64748b;font-size:12px;font-weight:800}.weigher-modal-meta span{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.weigher-reset-button{width:34px;height:34px;min-height:34px;padding:0}.weigher-reset-button svg{width:16px;height:16px}.weigher-modal-barcode{display:inline-flex;align-items:center;justify-content:center;min-width:0;max-width:320px;min-height:34px;padding:6px 14px;border:1px solid var(--line);border-radius:8px;background:var(--white)}.weigher-modal-barcode img{height:50px;max-width:100%;object-fit:contain}.weigher-modal-barcode span{min-height:0;max-width:none;border:0;padding:0;background:transparent;color:#334155;font-family:Courier New,monospace;font-size:11px;font-weight:800;letter-spacing:.06em}.weigher-modal-body{min-height:0;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,.72fr);gap:14px;overflow:hidden;padding:16px;background:#f6f7f8}.weigher-modal-body.has-prescription{grid-template-columns:minmax(360px,1fr) minmax(360px,.96fr) minmax(320px,.72fr)}.weigher-prescription-pane{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:10px;padding:14px;background:var(--white)}.weigher-prescription-pane header{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #eef0f2;padding-bottom:10px}.weigher-prescription-pane header>div:first-child{min-width:0;display:grid;gap:2px}.weigher-prescription-pane header span{color:#8a620e;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.weigher-prescription-pane header strong{color:#64748b;font-size:12px;font-weight:800}.weigher-prescription-focus-button{width:34px;height:34px;display:inline-grid;place-items:center;flex:0 0 auto;border:1px solid var(--line);border-radius:8px;background:var(--white);color:var(--sidebar-text-primary);cursor:pointer}.weigher-prescription-focus-button:hover{background:#f6f7f8}.weigher-prescription-focus-button svg{width:17px;height:17px}.weigher-prescription-scroll{min-height:0;overflow:auto;display:grid;align-content:start;gap:12px;padding-top:12px;scrollbar-gutter:stable}.prescription-pager-nav{display:flex;align-items:center;justify-content:center;gap:12px;padding:6px 0}.prescription-pager-nav span{min-width:92px;text-align:center;color:#64748b;font-size:12px;font-weight:700}.prescription-pager-nav button{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:8px;background:var(--white);color:#8a620e;font-size:16px;font-weight:800;line-height:1;cursor:pointer}.prescription-pager-nav button:hover:not(:disabled){background:#f6f1e6;border-color:#d9bb85}.prescription-pager-nav button:disabled{opacity:.35;cursor:not-allowed}.weigher-sheet-pane,.weigher-operation-pane{min-height:0;max-height:100%;overflow-y:auto;display:grid;align-content:start;gap:12px;padding-right:4px;scrollbar-gutter:stable}.weigher-sheet-section,.weigher-operation-section{display:grid;gap:12px;border:1px solid var(--line);border-radius:10px;padding:14px;background:var(--white);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.sheet-notes-callout{display:grid;gap:8px}.sheet-note{display:grid;gap:3px;border:1px solid #e6c98a;border-left:4px solid #c79b4a;border-radius:9px;padding:10px 12px;background:#fff8e8}.sheet-note.is-customer{border-color:#a9c6e8;border-left-color:#3f74ad;background:#f1f6fc}.sheet-note span{color:#8a620e;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.sheet-note.is-customer span{color:#2f5c8a}.sheet-note.is-divergent{border-color:#e8b4b4;border-left-color:#a4262c;background:#fff3f3}.sheet-note.is-divergent span{color:#a4262c}.sheet-note small{color:#64748b;font-size:.76rem;font-weight:600;line-height:1.3}.sheet-note strong{color:var(--text-primary);font-size:.92rem;font-weight:700;line-height:1.35;white-space:pre-line}.weigher-operation-section.is-weighing-active{border-color:#d9bb85;background:#b8945f0a;box-shadow:0 0 0 1px #b8945f59}.weigher-operation-section.is-weighing-active h3:after{content:"Liberado";margin-left:8px;padding:2px 8px;border-radius:999px;background:#b8945f29;color:#8a620e;font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;vertical-align:middle}.weigher-sheet-section h3,.weigher-operation-section h3{margin:0}.weigher-operation-hint{margin:-4px 0 0;color:#64748b;font-size:12px;line-height:1.45}.weigher-prescription-controls{gap:10px}.weigher-prescription-action-row{display:flex;flex-wrap:wrap;gap:8px}.weigher-prescription-action-row .weigher-secondary-button{flex:1 1 130px}.weigher-prescription-frame{min-width:0;display:grid;place-items:start center;overflow:hidden;border:1px solid #eef0f2;border-radius:8px;background:#fafafa;text-decoration:none}.weigher-prescription-frame.is-pdf{min-height:720px}.weigher-prescription-frame img{width:100%;max-height:none;display:block;object-fit:contain;background:#f8fafc}.weigher-prescription-frame iframe{width:100%;min-height:720px;display:block;border:0;background:#f8fafc}.weigher-prescription-frame.image-viewer{height:clamp(360px,calc(100vh - 260px),620px);place-items:stretch}.image-viewer{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--white);color:var(--sidebar-text-primary);place-items:stretch}.image-viewer__header{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #eef0f2;padding:10px;background:var(--white)}.image-viewer__title{min-width:0;display:grid;gap:2px}.image-viewer__title span{color:#8a620e;font-size:10px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.image-viewer__title strong{color:#64748b;font-size:11px;font-weight:750;line-height:1.25}.image-viewer__controls{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex:0 0 auto}.image-viewer__button{min-width:34px;height:34px;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:8px;padding:0 9px;background:var(--white);color:var(--sidebar-text-primary);font-size:13px;font-weight:850;line-height:1;cursor:pointer}.image-viewer__button:hover:not(:disabled){border-color:#d8b15c;background:#fff8e8}.image-viewer__button:disabled{cursor:not-allowed;opacity:.4}.image-viewer__button.is-text{min-width:48px}.image-viewer__button.is-primary{min-width:70px;border-color:var(--sidebar-text-primary);background:var(--sidebar-text-primary);color:var(--white)}.image-viewer__button.is-primary:hover{background:#263245}.image-viewer__scale{min-width:48px;color:#334155;font-size:12px;font-weight:850;text-align:center}.prescription-pdf-fullscreen{min-width:92px;text-decoration:none}.prescription-pdf-viewport{align-items:flex-start;justify-content:flex-start;overflow:auto;touch-action:pan-x pan-y}.prescription-pdf-canvas{position:relative;min-width:100%;min-height:100%;flex:0 0 auto;overflow:hidden;background:var(--white)}.prescription-pdf-canvas iframe{display:block;border:0;background:var(--white)}.image-viewer__viewport{min-width:0;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f8fafc;cursor:default;touch-action:none;user-select:none}.image-viewer__viewport.is-draggable{cursor:grab}.image-viewer__viewport.is-dragging{cursor:grabbing}.image-viewer__state{padding:24px;color:#64748b;font-size:.82rem;font-weight:700}.image-viewer .image-viewer__image{max-width:100%;max-height:100%;width:auto;height:auto;display:block;object-fit:contain;background:transparent;user-select:none;will-change:transform}.weigher-focus-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:118;display:grid;place-items:center;padding:14px;background:#0f172aa3}.weigher-focus-modal{width:min(1580px,calc(100vw - 28px));height:min(960px,calc(100vh - 28px));min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--white);color:var(--sidebar-text-primary);box-shadow:0 24px 70px #0f172a38}.weigher-focus-header{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:15px 18px;background:var(--white)}.weigher-focus-header>div{min-width:0;display:grid;gap:3px}.weigher-focus-header span,.weigher-focus-sheet h4{color:#8a620e;font-size:11px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.weigher-focus-header h3{margin:0;color:var(--sidebar-text-primary);font-size:22px;font-weight:850;line-height:1.1}.weigher-focus-body{min-height:0;display:grid;grid-template-columns:minmax(360px,.78fr) minmax(0,1.22fr);gap:14px;overflow:hidden;padding:14px;background:#f6f7f8}.weigher-focus-sheet,.weigher-focus-prescription{min-width:0;min-height:0;overflow:auto;border:1px solid var(--line);border-radius:10px;background:var(--white);scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}.weigher-focus-sheet,.weigher-focus-prescription,.weigher-focus-table-wrap{scrollbar-width:thin;scrollbar-color:#c9b382 transparent}.weigher-focus-sheet::-webkit-scrollbar,.weigher-focus-prescription::-webkit-scrollbar,.weigher-focus-table-wrap::-webkit-scrollbar{width:8px}.weigher-focus-sheet::-webkit-scrollbar-thumb,.weigher-focus-prescription::-webkit-scrollbar-thumb,.weigher-focus-table-wrap::-webkit-scrollbar-thumb{background:#c9b382;border-radius:999px}.weigher-focus-sheet{display:grid;align-content:start;gap:12px;padding:14px}.weigher-focus-sheet section{min-width:0;display:grid;gap:10px}.weigher-focus-sheet h4{margin:0}.weigher-focus-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #eef0f2;border-right:0;border-bottom:0;border-radius:8px;overflow:hidden}.weigher-focus-field{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;border-right:1px solid #eef0f2;border-bottom:1px solid #eef0f2;padding:10px 11px;transition:background .15s ease}.weigher-focus-field.is-approved{background:#16a34a14}.weigher-focus-field.is-rejected{background:#dc262614}.weigher-focus-field-text{min-width:0;display:grid;gap:5px}.weigher-focus-field-actions{flex:none;display:inline-flex;gap:4px}.weigher-focus-field-actions button{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:7px;background:var(--white);color:#94a3b8;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}.weigher-focus-field-actions button svg{width:14px;height:14px}.weigher-focus-approve:hover{border-color:#16a34a;color:#16a34a}.weigher-focus-reject:hover{border-color:#dc2626;color:#dc2626}.weigher-focus-approve[aria-pressed=true]{background:#16a34a;border-color:#16a34a;color:var(--white)}.weigher-focus-reject[aria-pressed=true]{background:#dc2626;border-color:#dc2626;color:var(--white)}.weigher-focus-table tr.is-approved,.weigher-focus-table tr.is-rejected{background:var(--white)}.weigher-dose-summary{margin:0 0 10px;padding:8px 12px;border:1px solid #e6cf96;border-left-width:4px;border-radius:8px;background:#fff8e6;color:#7a5a06;font-size:13px;font-weight:800}.weigher-verdict-badge{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:none;margin-left:6px;border-radius:999px;vertical-align:middle}.weigher-verdict-badge svg{width:11px;height:11px}.weigher-verdict-badge.is-approved{background:#16a34a24;color:#16a34a}.weigher-verdict-badge.is-rejected{background:#dc262624;color:#dc2626}.weigher-component-verdict{text-align:center;white-space:nowrap}.weigher-component-verdict .weigher-verdict-badge{margin-left:0}.weigher-focus-field-grid span{color:#8a620e;font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.weigher-focus-field-grid strong{min-width:0;overflow-wrap:anywhere;color:var(--sidebar-text-primary);font-size:12px;font-weight:750;line-height:1.35}.weigher-focus-table-wrap{max-height:520px;width:100%;min-width:0;overflow-y:auto;overflow-x:hidden;border:1px solid #eadfca;border-radius:8px;background:var(--white)}.weigher-focus-table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed;background:var(--white)}.weigher-focus-col-item{width:9%}.weigher-focus-col-component{width:43%}.weigher-focus-col-concentration{width:15%}.weigher-focus-col-total{width:18%}.weigher-focus-col-check{width:15%}.weigher-focus-table th,.weigher-focus-table td{border-bottom:1px solid #f0e8d8;padding:8px 9px;text-align:left;vertical-align:middle}.weigher-focus-item-note{display:block;margin-top:2px;color:#8a6a20;font-size:11px;font-weight:600}.weigher-focus-table th{position:sticky;top:0;z-index:1;background:var(--white);color:#8a620e;font-size:10px;font-weight:850;letter-spacing:.03em;text-transform:uppercase}.weigher-focus-table td{background:var(--white);color:var(--sidebar-text-primary);font-size:11.5px;line-height:1.3}.weigher-focus-table td:nth-child(1){font-family:ui-monospace,Cascadia Mono,Consolas,monospace;color:#8a620e;font-weight:850}.weigher-focus-table td:nth-child(2){min-width:0}.weigher-focus-table td:nth-child(3),.weigher-focus-table td:nth-child(4){text-align:right;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;overflow-wrap:anywhere}.weigher-focus-table td:nth-child(5){text-align:center}.weigher-focus-table td strong{display:block;min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:normal;color:var(--sidebar-text-primary);font-size:11.5px;font-weight:750}.weigher-focus-table .weigher-focus-field-actions{justify-content:center;gap:3px}.weigher-focus-table .weigher-focus-field-actions button{width:23px;height:23px;border-color:#eadfca;border-radius:6px;color:#9b7a31}.weigher-focus-table .weigher-focus-field-actions button svg{width:12px;height:12px}.weigher-focus-table .weigher-focus-approve:hover{border-color:#16a34a;background:#16a34a14;color:#15803d}.weigher-focus-table .weigher-focus-reject:hover{border-color:#dc2626;background:#dc262614;color:#b91c1c}.weigher-focus-table .weigher-focus-approve[aria-pressed=true]{border-color:#16a34a;background:#16a34a;color:var(--white)}.weigher-focus-table .weigher-focus-reject[aria-pressed=true]{border-color:#dc2626;background:#dc2626;color:var(--white)}.weigher-focus-prescription{display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;overflow:hidden;padding:12px}.weigher-focus-prescription.is-document-only{grid-template-rows:minmax(0,1fr)}.weigher-focus-prescription-pager{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.weigher-focus-prescription-pager>.weigher-focus-prescription-frame:only-child{grid-row:1 / -1}.weigher-focus-prescription-frame{min-width:0;display:grid;place-items:start center;overflow:hidden;border:1px solid #eef0f2;border-radius:8px;background:#f8fafc}.weigher-focus-prescription-frame.image-viewer{height:100%;min-height:0;place-items:stretch}.weigher-focus-prescription-frame.is-pdf,.weigher-focus-prescription-frame iframe{height:100%;min-height:0}.weigher-focus-prescription-frame iframe{width:100%;display:block;border:0;background:#f8fafc}.weigher-focus-prescription-frame img{width:100%;display:block;object-fit:contain}.weigher-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #eef0f2;border-right:0;border-bottom:0;border-radius:8px;overflow:hidden}.weigher-field-grid-compact{grid-template-columns:repeat(3,minmax(0,1fr))}.weigher-field-grid>div{min-width:0;min-height:68px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;align-items:center;gap:4px 8px;border-right:1px solid #eef0f2;border-bottom:1px solid #eef0f2;padding:12px 14px}.weigher-field-grid>div>span{grid-column:1 / -1}.weigher-field-grid strong{min-width:0;overflow-wrap:anywhere;color:var(--sidebar-text-primary);font-size:13px;font-weight:700;line-height:1.35}.weigher-sheet-section-table{min-height:0}.weigher-field-highlight{background:#fff8e6;box-shadow:inset 3px 0 0 var(--gold-primary, #b8860b)}.weigher-field-highlight strong{color:#7a5a06}.weigher-components{min-width:0;width:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--white)}.weigher-components-head,.weigher-components-row{display:grid;grid-template-columns:52px minmax(180px,1fr) 120px 110px;align-items:center;gap:8px;padding:0 12px}.weigher-components-head{min-height:34px;background:#f8f9fa;border-bottom:1px solid var(--line)}.weigher-components-head span{font-size:10px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:#8a6a20}.weigher-components-head .wc-right,.wc-value{text-align:right}.weigher-components-body{min-height:0;max-height:46vh;overflow-y:auto;overflow-x:hidden}.weigher-components-row{min-height:38px;padding-top:8px;padding-bottom:8px;border-bottom:1px solid #eef0f2;background:var(--white);transition:background .12s ease}.weigher-components-row:last-child{border-bottom:0}.weigher-components-row:hover{background:#fafafa}.wc-item{font-size:12px;font-weight:500;color:#64748b;font-variant-numeric:tabular-nums}.wc-name{min-width:0;display:grid;gap:2px}.wc-name strong{font-size:12px;font-weight:600;color:#344054;line-height:1.25;overflow-wrap:anywhere}.wc-name small{font-size:11px;font-weight:600;color:#b45309;line-height:1.3}.wc-value{font-size:12px;font-weight:500;color:#475467;white-space:nowrap;font-variant-numeric:tabular-nums}@media(max-width:640px){.weigher-components-head,.weigher-components-row{grid-template-columns:44px minmax(130px,1fr) 90px 80px;padding-left:8px;padding-right:8px}}.weigher-focus-receita-check{margin-bottom:10px;padding:10px 12px;border:1px solid #eef0f2;border-radius:8px;background:#fbfbfa}.weigher-focus-receita-check h4{margin:0 0 8px;font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#8a6a20}.weigher-prescription-popup-body{padding:18px 20px 0}.weigher-prescription-validity{display:grid;gap:10px}.weigher-prescription-validity>div:first-child{display:grid;gap:3px}.weigher-prescription-validity span{color:#8a6a20;font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.weigher-prescription-validity strong{color:var(--sidebar-text-primary);font-size:14px;font-weight:850}.weigher-prescription-validity-hint{color:#9a6a1f;font-size:11px;font-weight:600}.weigher-prescription-validity-actions{display:flex;flex-wrap:wrap;gap:8px}.weigher-review-choice{min-height:34px;display:inline-flex;align-items:center;gap:7px;border:1px solid #d8dee8;border-radius:8px;padding:7px 11px;background:var(--white);color:#263244;font-size:12.5px;font-weight:800;cursor:pointer}.weigher-review-choice svg{width:14px;height:14px}.weigher-review-choice.is-approved:hover,.weigher-review-choice.is-approved.is-selected{border-color:#16a34a;background:#16a34a14;color:#15803d}.weigher-review-choice.is-rejected:hover,.weigher-review-choice.is-rejected.is-selected{border-color:#dc2626;background:#dc262614;color:#b91c1c}.weigher-sheet-table-wrap{max-height:min(58vh,620px);overflow:auto;border:1px solid var(--line);border-radius:8px}.weigher-sheet-table{width:100%;min-width:1120px;border-collapse:collapse;table-layout:fixed}.weigher-sheet-table th,.weigher-sheet-table td{border-bottom:1px solid #eef0f2;padding:10px 11px;text-align:left;vertical-align:top}.weigher-sheet-table th{position:sticky;top:0;z-index:1;height:42px;background:#fafaf9;color:#8a620e;font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.weigher-sheet-table td{color:var(--sidebar-text-primary);font-size:12px;line-height:1.4}.weigher-sheet-table th:nth-child(1),.weigher-sheet-table td:nth-child(1){width:52px}.weigher-sheet-table th:nth-child(2),.weigher-sheet-table td:nth-child(2){width:80px}.weigher-sheet-table th:nth-child(3),.weigher-sheet-table td:nth-child(3){width:340px}.weigher-sheet-table th:nth-child(4),.weigher-sheet-table td:nth-child(4),.weigher-sheet-table th:nth-child(5),.weigher-sheet-table td:nth-child(5){width:112px;text-align:right;font-family:ui-monospace,Cascadia Mono,Consolas,monospace}.weigher-sheet-table th:nth-child(6),.weigher-sheet-table td:nth-child(6),.weigher-sheet-table th:nth-child(7),.weigher-sheet-table td:nth-child(7),.weigher-sheet-table th:nth-child(9),.weigher-sheet-table td:nth-child(9){width:104px}.weigher-sheet-table th:nth-child(8),.weigher-sheet-table td:nth-child(8){width:180px}.weigher-component-cell{display:grid;gap:4px}.weigher-component-cell strong{color:var(--sidebar-text-primary);font-size:13px;font-weight:800}.weigher-component-cell p{margin:2px 0 0;border-left:3px solid #c8952e;padding:6px 8px;background:#fff9e8;color:#64748b;font-size:12px;line-height:1.45}.weigher-checklist{display:grid;gap:8px}.weigher-checklist-summary{display:grid;gap:8px;border:1px solid #eef0f2;border-radius:8px;padding:12px;background:var(--white)}.weigher-checklist-summary strong{color:var(--sidebar-text-primary);font-size:22px;font-weight:850;line-height:1}.weigher-checklist-summary span{color:#64748b;font-size:12px;font-weight:650;line-height:1.35}.weigher-checkline{min-height:40px;display:flex;align-items:center;gap:9px;border:1px solid #eef0f2;border-radius:8px;padding:9px 10px;background:var(--white);color:var(--sidebar-text-primary);font-size:13px;font-weight:650}.weigher-checkline input,.weigher-mini-check input{width:16px;height:16px;accent-color:#b98516}.weigher-weighing-list{display:grid;gap:8px}.weigher-weighing-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;border:1px solid #eef0f2;border-radius:8px;padding:10px 14px;background:var(--white)}.weigher-weighing-row.is-locked{background:#fafafa;opacity:.76}.weigher-weighing-info{min-width:0;display:grid;gap:2px}.weigher-weighing-info strong,.weigher-weighing-info span,.weigher-weighing-info small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.weigher-weighing-info strong{color:var(--sidebar-text-primary);font-size:13px;font-weight:800}.weigher-weighing-info span,.weigher-weighing-info small,.weigher-modal-footer span{color:#64748b;font-size:11px;font-weight:650}.weigher-weighing-row input,.weigher-operation-section textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:var(--white);color:var(--sidebar-text-primary)}.weigher-weighing-row input{height:38px;padding:0 10px;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:12px;font-weight:800;text-align:right}.weigher-weighing-row input:disabled{background:#f8fafc;color:#94a3b8}.weigher-operation-section textarea{resize:vertical;min-height:92px;padding:10px 12px;font-size:13px;line-height:1.45}.weigher-mini-check{width:32px;height:32px;display:grid;place-items:center}.weigher-mini-check span{display:none}.weigher-empty-inline{border:1px dashed var(--line);border-radius:8px;padding:14px;color:#64748b;font-size:13px;text-align:center}.weigher-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding:13px 20px;background:var(--white)}.weigher-modal-footer>div{margin-right:auto;display:grid;gap:2px}.weigher-modal-footer strong{color:var(--sidebar-text-primary);font-size:13px;font-weight:800}.weigher-modal-state{display:grid;place-items:center;align-content:center;gap:12px;padding:30px;background:#f6f7f8;color:var(--sidebar-text-primary)}.weigher-modal-state>span{width:min(460px,80%);height:14px;border-radius:999px;background:linear-gradient(90deg,#eef0f2,var(--white),#eef0f2)}.weigher-modal-error{color:var(--danger-700)}.weigher-barcode-backdrop,.weigher-check-popup-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:105;display:grid;place-items:center;padding:20px;background:#0f172a99}.weigher-barcode-modal,.weigher-check-popup{width:min(760px,calc(100vw - 40px));max-height:min(860px,calc(100vh - 40px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--white);color:var(--sidebar-text-primary);box-shadow:var(--shadow-modal)}.weigher-barcode-header,.weigher-check-popup header{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:18px 20px;background:var(--white)}.weigher-barcode-header span,.weigher-check-popup header span{color:var(--gold-primary);font-size:11px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.weigher-barcode-header h2,.weigher-check-popup header h3{margin:3px 0 0;color:var(--sidebar-text-primary);font-size:24px;font-weight:850;line-height:1.1}.weigher-check-popup header p{max-width:440px;margin:7px 0 0;color:#64748b;font-size:12px;font-weight:650;line-height:1.35}.weigher-barcode-body{min-height:270px;display:grid;place-items:center;align-content:center;gap:12px;padding:26px;background:#fbfcfd}.weigher-barcode-body img{width:min(620px,100%);height:128px;object-fit:contain;display:block}.weigher-barcode-body strong{color:var(--sidebar-text-primary);font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:32px;font-weight:900;letter-spacing:.04em}.weigher-barcode-body span,.weigher-barcode-state{color:#64748b;font-size:13px;font-weight:700}.weigher-barcode-state.is-error{color:var(--danger-700)}.weigher-barcode-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:16px 20px 18px}.weigher-barcode-actions span{min-width:0;color:#64748b;font-size:13px;font-weight:700;line-height:1.35}.weigher-checklist-review-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:106;display:grid;place-items:center;padding:20px;background:#0f172a99}.weigher-checklist-review-modal{width:min(820px,calc(100vw - 40px));max-height:min(860px,calc(100vh - 40px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--white);color:var(--sidebar-text-primary);box-shadow:var(--shadow-modal)}.weigher-checklist-review-header,.weigher-checklist-review-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--white)}.weigher-checklist-review-header{border-bottom:1px solid var(--line);padding:18px 20px}.weigher-checklist-review-header>div{min-width:0;display:grid;gap:3px}.weigher-checklist-review-header span{color:var(--gold-primary);font-size:11px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.weigher-checklist-review-header h2{margin:0;color:var(--sidebar-text-primary);font-size:24px;font-weight:850;line-height:1.1}.weigher-checklist-review-header small{color:#64748b;font-size:12px;font-weight:750}.weigher-checklist-review-body{min-height:0;overflow:auto;display:grid;align-content:start;gap:12px;padding:16px;background:#f8fafc}.weigher-checklist-review-section{display:grid;gap:10px;border:1px solid var(--line);border-radius:10px;padding:14px;background:var(--white)}.weigher-checklist-review-section h3{margin:0;color:var(--sidebar-text-primary);font-size:14px;font-weight:850}.weigher-checklist-review-signature{display:grid;gap:4px}.weigher-checklist-review-signature strong{color:var(--sidebar-text-primary);font-size:13px;font-weight:850}.weigher-checklist-review-signature span,.weigher-checklist-review-signature p,.weigher-checklist-review-empty,.weigher-checklist-review-state{margin:0;color:#64748b;font-size:12px;font-weight:700;line-height:1.45}.weigher-checklist-review-state{min-height:180px;display:grid;place-items:center}.weigher-checklist-review-state.is-error{color:var(--danger-700)}.weigher-checklist-review-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.weigher-checklist-review-list li{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #eef0f2;border-radius:8px;padding:9px 10px;background:var(--white)}.weigher-checklist-review-list li.is-ok{border-color:#16a34a3d;background:#16a34a0f}.weigher-checklist-review-list li.is-error{border-color:#dc262638;background:#dc26260d}.weigher-checklist-review-list span{min-width:0;display:inline-flex;align-items:center;gap:8px;color:var(--sidebar-text-primary);font-size:12px;font-weight:800}.weigher-checklist-review-list svg{width:15px;height:15px;flex:0 0 auto}.weigher-checklist-review-list li.is-ok svg{color:#15803d}.weigher-checklist-review-list li.is-error svg{color:#b91c1c}.weigher-checklist-review-list strong{flex:0 0 auto;max-width:260px;color:#475569;font-size:12px;font-weight:850;text-align:right}.weigher-checklist-review-footer{justify-content:flex-end;border-top:1px solid var(--line);padding:14px 20px}.weigher-check-popup{width:min(620px,calc(100vw - 40px))}.weigher-check-step-list{min-height:0;overflow-y:auto;display:grid;align-content:start;gap:8px;margin:0;padding:18px 20px 0;list-style:none}.weigher-check-step-list li{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 12px;border:1px solid #eef0f2;border-radius:8px;padding:10px 12px;background:var(--white)}.weigher-check-step-list li .weigher-prescription-validity-actions{flex:1 1 auto;min-width:220px}.weigher-check-step-list li.is-done{border-color:#15803d3d;background:#15803d0f}.weigher-check-toggle{flex:none;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border:1.5px solid #cbd5e1;border-radius:7px;background:var(--white);color:var(--white);cursor:pointer;transition:background .15s ease,border-color .15s ease}.weigher-check-toggle svg{width:15px;height:15px}.weigher-check-toggle:hover{border-color:#15803d}.weigher-check-toggle.is-done{background:#15803d;border-color:#15803d}.weigher-check-toggle:focus-visible{outline:2px solid var(--gold-border);outline-offset:2px}.weigher-check-step-text{min-width:0;display:grid;gap:2px}.weigher-check-step-text strong{color:var(--sidebar-text-primary);font-size:13px;font-weight:750;line-height:1.25}.weigher-check-step-text p{margin:0;color:#64748b;font-size:12px;line-height:1.4}.weigher-check-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 20px 20px}.weigher-check-actions p{margin:0;color:#64748b;font-size:12.5px;font-weight:600;line-height:1.4}.weigher-check-actions-buttons{display:flex;align-items:center;gap:10px;flex-shrink:0}.weigher-post-popup{width:min(620px,calc(100vw - 40px));max-height:min(820px,calc(100vh - 40px));border-color:var(--line);border-radius:14px;box-shadow:var(--shadow-modal)}.weigher-post-popup header{align-items:center;border-bottom-color:var(--line);padding:18px 20px}.weigher-post-popup header span{display:inline-flex;align-items:center;gap:7px;color:var(--gold-primary);letter-spacing:.04em}.weigher-post-eyebrow-icon{width:13px;height:13px;flex:none}.weigher-post-popup header h3{margin:3px 0 0;color:var(--sidebar-text-primary);font-size:24px;letter-spacing:0}.weigher-post-popup header h3 strong{color:#94a3b8;font-variant-numeric:tabular-nums;font-weight:inherit}.weigher-post-popup header h3 strong.is-active{color:#15803d}.weigher-post-popup header p{max-width:440px;margin:7px 0 0;color:#64748b;font-size:12px;font-weight:650;line-height:1.35}.weigher-post-progress{display:flex;align-items:center;gap:6px;margin-top:10px}.weigher-post-progress span{flex:1;height:4px;border-radius:999px;background:var(--line)}.weigher-post-progress span.is-done{background:#15803d}.weigher-post-body{min-height:0;overflow-y:auto;display:grid;gap:8px;padding:18px 20px 0}.weigher-post-section{display:grid;gap:8px;border:1px solid #eef0f2;border-radius:8px;padding:10px 12px;background:var(--white);transition:background .15s ease,border-color .15s ease}.weigher-post-section.is-done{border-color:#15803d3d;background:#15803d0f}.weigher-post-section.is-error{border-color:#f59e0b;background:#fff8e6}.weigher-post-section-head{display:flex;align-items:flex-start;gap:12px}.weigher-post-step-dot{display:inline-flex;flex:none;align-items:center;justify-content:center;width:26px;height:26px;border:1.5px solid #cbd5e1;border-radius:7px;background:var(--white);color:#64748b;font-size:12px;font-weight:750;font-variant-numeric:tabular-nums;transition:background .15s ease,border-color .15s ease}.weigher-post-step-dot.is-done{border-color:#15803d;background:#15803d;color:var(--white)}.weigher-post-step-dot svg{width:15px;height:15px;stroke-width:3}.weigher-post-section h4{margin:0;color:var(--sidebar-text-primary);font-size:13px;font-weight:750;line-height:1.25}.weigher-post-section-answer{margin-left:auto;color:#64748b;font-size:12px;font-weight:700}.weigher-post-options{display:flex;flex-wrap:wrap;gap:8px}.weigher-post-suboptions{gap:6px;padding-top:2px}.weigher-post-suboptions .weigher-post-option{padding:7px 10px}.weigher-post-option{display:inline-flex;align-items:center;gap:6px;min-height:34px;border:1px solid #d8dee8;border-radius:8px;padding:7px 11px;background:var(--white);color:#263244;font-size:12.5px;font-weight:750;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.weigher-post-option:hover{border-color:var(--gold-border);background:#fffdf7}.weigher-post-option.is-selected{border-color:#15803d;background:#15803d14;color:#166534}.weigher-post-option.is-selected:hover{border-color:#15803d;background:#15803d1f;color:#166534}.weigher-post-option-check{width:13px;height:13px;flex:none;stroke-width:3}.weigher-post-step-list button{min-height:34px;border:1px solid #d8dee8;border-radius:8px;padding:7px 11px;background:var(--white);color:#263244;font-size:12.5px;font-weight:750;cursor:pointer}.weigher-post-step-list button:hover{border-color:var(--gold-border);background:#fffdf7}.weigher-post-step-list li.is-done button{border-color:#15803d;background:#15803d14;color:#166534}.weigher-post-input{width:min(320px,100%);border:1px solid #d8dee8;border-radius:8px;padding:9px 10px;color:var(--sidebar-text-primary);font-size:13px;font-weight:600}.weigher-post-input:focus{outline:2px solid var(--gold-border);outline-offset:2px}.weigher-post-actions{border-top:0;margin-top:0;padding:16px 20px 20px}.weigher-post-actions p{display:flex;align-items:center;gap:8px;color:#64748b;font-size:12.5px;font-weight:600}.weigher-post-actions p.is-ready{color:#17914f}.weigher-post-actions p svg{width:16px;height:16px;flex:none}.weigher-post-submit{display:inline-flex;align-items:center;gap:8px;min-height:40px;border:1px solid var(--ink-strong);border-radius:8px;padding:0 14px;background:var(--ink-strong);color:var(--white);font-size:13px;font-weight:800;box-shadow:none;transition:background .15s ease,border-color .15s ease}.weigher-post-submit:hover:not(:disabled){background:#263244;border-color:#263244}.weigher-post-submit:disabled{border-color:var(--line);background:var(--line);color:#94a3b8;box-shadow:none;cursor:not-allowed}.weigher-post-submit svg{width:17px;height:17px;flex:none}.weigher-post-step-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.weigher-post-step-list li{display:grid;gap:4px}.weigher-post-step-list span{color:#64748b;font-size:12px;line-height:1.35}.post-weighing-confirmations{display:grid;gap:10px}.post-weighing-confirmations.is-compact{gap:8px}.post-weighing-confirmation-card{display:grid;gap:10px;border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:var(--white)}.post-weighing-confirmation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}.post-weighing-confirmation-grid div{min-width:0;display:grid;gap:2px}.post-weighing-confirmation-grid span,.post-weighing-confirmation-card footer span{color:#64748b;font-size:11px;font-weight:750;line-height:1.3}.post-weighing-confirmation-grid strong{min-width:0;overflow-wrap:anywhere;color:var(--sidebar-text-primary);font-size:13px;font-weight:800;line-height:1.25}.post-weighing-confirmation-card footer{display:flex;flex-wrap:wrap;gap:6px 12px;border-top:1px solid #eef0f2;padding-top:8px}.weigher-label-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:20px;background:#0f172a94}.weigher-label-preview-modal{width:min(940px,calc(100vw - 40px));max-height:min(860px,calc(100vh - 40px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--white);color:var(--sidebar-text-primary);box-shadow:var(--shadow-modal)}.weigher-label-preview-header,.weigher-label-preview-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--white)}.weigher-label-preview-header{border-bottom:1px solid var(--line);padding:18px 20px}.weigher-label-preview-header>div,.weigher-label-preview-footer>div{min-width:0;display:grid;gap:3px}.weigher-label-preview-header span{color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.weigher-label-preview-header h2{margin:0;color:var(--sidebar-text-primary);font-size:22px;font-weight:850;line-height:1.1}.weigher-label-preview-body{min-height:490px;overflow:hidden;display:grid;place-items:center;padding:34px 24px;background:linear-gradient(45deg,#f4f6f8 25%,transparent 25%),linear-gradient(-45deg,#f4f6f8 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f4f6f8 75%),linear-gradient(-45deg,transparent 75%,#f4f6f8 75%);background-color:#fbfcfd;background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px}.weigher-label-preview-scale{--label-preview-scale: 1.65;flex:none;box-sizing:content-box;width:calc(100mm * var(--label-preview-scale));height:calc(40mm * var(--label-preview-scale));overflow:hidden;border:1px solid #cbd5e1;background:var(--white);box-shadow:0 12px 28px #0f172a29}.weigher-label-preview-frame{width:100mm;height:40mm;display:block;overflow:hidden;border:0;background:var(--white);transform:scale(var(--label-preview-scale));transform-origin:top left}.weigher-label-preview-footer{border-top:1px solid var(--line);padding:14px 20px}.weigher-label-preview-footer strong{color:var(--sidebar-text-primary);font-size:13px;font-weight:850}.weigher-label-preview-footer span{color:#64748b;font-size:12px;font-weight:650}.temp-sheet-preview-modal{width:min(900px,calc(100vw - 32px));max-height:min(920px,calc(100vh - 32px))}.temp-sheet-preview-body{min-height:0;overflow-y:auto;display:block;padding:16px;background:#eef1f4}.temp-sheet-preview-frame{display:block;width:100%;height:1400px;border:1px solid #cbd5e1;border-radius:4px;background:var(--white);box-shadow:0 12px 28px #0f172a1f}@media(max-width:760px){.temp-sheet-preview-modal{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.temp-sheet-preview-body{padding:10px}.temp-sheet-preview-frame{height:1800px}}.reprint-page{width:100%;min-width:0;display:grid;gap:16px;padding:24px}.reprint-header,.reprint-search,.reprint-result-strip,.reprint-state{border:1px solid var(--border-light);border-radius:8px;background:var(--background-card)}.reprint-header{padding:18px 20px}.reprint-header h1{margin:0;color:var(--text-primary);font-size:22px;line-height:1.15}.reprint-header p{margin:6px 0 0;color:var(--text-secondary);font-size:13px;line-height:1.4}.reprint-search{display:grid;grid-template-columns:minmax(260px,1fr) 44px;gap:10px;align-items:end;padding:14px}.reprint-search-field{min-width:0;display:grid;gap:6px}.reprint-search-field span,.reprint-meta span{color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.reprint-search-field input{width:100%;height:42px;border:1px solid var(--border-light);border-radius:8px;padding:0 12px;background:#fff;color:var(--text-primary);font-size:14px;outline:none}.reprint-search-field input:focus{border-color:var(--gold-primary);box-shadow:0 0 0 3px #a8750024}.reprint-icon-action,.reprint-print-action{height:42px;border:1px solid var(--gold-primary);border-radius:8px;background:var(--gold-primary);color:#fff;font-weight:800;cursor:pointer}.reprint-icon-action{width:42px;display:inline-grid;place-items:center}.reprint-print-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 16px}.reprint-icon-action svg,.reprint-print-action svg{width:18px;height:18px}.reprint-icon-action:disabled,.reprint-print-action:disabled{border-color:var(--border-light);background:#f3f4f6;color:#98a2b3;cursor:not-allowed}.reprint-state{min-height:110px;display:grid;align-content:center;gap:6px;padding:28px;color:var(--text-secondary)}.reprint-state strong{color:var(--text-primary);font-size:15px}.reprint-state span{font-size:13px}.reprint-state.is-error{border-color:#fecaca;background:var(--danger-50);color:var(--danger-700)}.reprint-result-strip{display:grid;grid-template-columns:minmax(160px,.45fr) minmax(220px,1fr) auto;gap:12px;align-items:center;padding:14px}.reprint-result-strip>div{min-width:0}.reprint-result-strip span{display:block;color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.reprint-result-strip strong{display:block;margin-top:4px;color:var(--text-primary);font-size:14px;overflow-wrap:anywhere}.reprint-partial-alert{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;margin:14px;border:1px solid #fde68a;border-radius:8px;padding:12px 14px;background:var(--warn-50);color:var(--warn-700)}.reprint-partial-alert strong,.reprint-partial-alert span{font-size:13px}.reprint-preview{min-width:0;padding:16px;background:#f1f5f9}.reprint-preview-frame{display:block;width:100%;min-height:calc(100vh - 320px);border:1px solid #cbd5e1;border-radius:8px;background:#fff}.reprint-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:18px;background:#0f172a80}.reprint-modal{width:min(1180px,calc(100vw - 36px));max-height:min(940px,calc(100vh - 36px));min-height:min(760px,calc(100vh - 36px));overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid #d7deea;border-radius:10px;background:#f8fafc;box-shadow:0 24px 70px #0f172a3d}.reprint-modal-header,.reprint-modal-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;background:#fff}.reprint-modal-header{border-bottom:1px solid var(--border-light);padding:14px 16px}.reprint-modal-header span{display:block;color:var(--gold-primary);font-size:11px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.reprint-modal-header h2{margin:3px 0 0;color:var(--text-primary);font-size:20px;line-height:1.15}.reprint-modal-body{min-height:0;display:grid;gap:14px;overflow:hidden;padding:14px}.reprint-full-sheet{min-height:0;overflow-y:auto;display:grid;gap:12px;padding-right:2px}.reprint-document-section{display:grid;gap:10px}.reprint-complete-frame{display:block;width:100%;height:min(1040px,calc(100vh - 220px));min-height:620px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;box-shadow:0 8px 24px #0f172a14}.reprint-prescription-grid{display:grid;gap:12px}.reprint-prescription-frame{min-height:560px}.reprint-prescription-frame.is-pdf-fallback{min-height:220px}.reprint-modal-footer{border-top:1px solid var(--border-light);padding:12px 16px}.reprint-modal-footer span{margin-right:auto;color:var(--text-secondary);font-size:12px;font-weight:650}.reprint-modal-footer button{display:inline-flex;gap:8px;align-items:center}.reprint-modal-footer svg{width:17px;height:17px}@media(max-width:860px){.reprint-page{padding:14px}.reprint-search{grid-template-columns:minmax(0,1fr) 44px}.reprint-result-strip{grid-template-columns:minmax(0,1fr)}.reprint-modal-backdrop{padding:10px}.reprint-modal{width:calc(100vw - 20px);max-height:calc(100vh - 20px);min-height:calc(100vh - 20px)}.reprint-modal-body{overflow-y:auto}.reprint-full-sheet{overflow:visible}.reprint-modal-footer{flex-wrap:wrap}.reprint-modal-footer span,.reprint-modal-footer button{width:100%}.reprint-complete-frame{height:820px;min-height:560px}}@media(max-width:560px){.reprint-modal-header{padding:12px}.reprint-modal-header h2{font-size:17px}.reprint-modal-body{padding:10px}.reprint-prescription-frame{min-height:430px}.reprint-complete-frame{height:720px;min-height:520px}}@media(max-width:1180px){.weigher-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.weigher-modal-header{gap:10px;padding:12px 14px}.weigher-modal-meta{flex-wrap:wrap;gap:8px}.weigher-workspace,.weigher-modal-body:not(.has-prescription){grid-template-columns:1fr}.weigher-modal-body{overflow-y:auto}.weigher-modal-body.has-prescription{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"sheet sheet" "prescription operation";align-items:start}.weigher-modal-body.has-prescription .weigher-sheet-pane{grid-area:sheet;max-height:50vh;overflow-y:auto;padding-right:4px}.weigher-modal-body.has-prescription .weigher-prescription-pane{grid-area:prescription}.weigher-modal-body.has-prescription .weigher-operation-pane{grid-area:operation;overflow-y:auto;padding-right:4px}.stage-sheet-shell.has-prescription{grid-template-columns:1fr}.stage-sheet-shell.has-prescription{overflow-y:auto}.weigher-prescription-pane,.weigher-modal-body.has-prescription .weigher-operation-pane{max-height:56vh}.weigher-prescription-frame.image-viewer{height:38vh;min-height:300px}.weigher-focus-body{grid-template-columns:minmax(320px,.92fr) minmax(360px,1.08fr);gap:10px;overflow:hidden;padding:10px}.weigher-focus-sheet,.weigher-focus-prescription{overflow:auto}.weigher-focus-prescription-frame.is-pdf,.weigher-focus-prescription-frame iframe,.weigher-focus-prescription-frame.image-viewer{height:100%;min-height:0}.weigher-focus-col-item{width:8%}.weigher-focus-col-component{width:38%}.weigher-focus-col-concentration{width:14%}.weigher-focus-col-total{width:16%}.weigher-focus-col-check{width:24%}.weigher-queue{max-height:280px}.weigher-sheet-pane,.weigher-operation-pane{overflow:visible;padding-right:0}}@media(max-width:1180px)and (pointer:coarse){.weigher-modal-backdrop,.weigher-focus-backdrop{padding:0}.weigher-modal,.weigher-focus-modal{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.weigher-focus-header{padding:12px 14px}}@media(max-width:900px)and (min-width:761px){.weigher-focus-body{grid-template-columns:minmax(300px,.9fr) minmax(340px,1.1fr)}.weigher-focus-field-grid{grid-template-columns:1fr}.weigher-focus-table th,.weigher-focus-table td{padding:7px 5px}.weigher-focus-col-component{width:34%}.weigher-focus-col-check{width:28%}.weigher-focus-table .weigher-focus-field-actions button{min-width:34px;min-height:34px}}@media(max-width:760px){.weigher-summary{grid-template-columns:1fr 1fr}.weigher-current-head,.weigher-modal-header,.weigher-modal-footer{align-items:stretch;flex-direction:column}.weigher-start-button,.weigher-primary-button,.weigher-secondary-button{width:100%}.weigher-modal-backdrop{padding:10px}.image-viewer__header{align-items:stretch;flex-direction:column}.image-viewer__controls{justify-content:stretch}.image-viewer__button,.image-viewer__button.is-text,.image-viewer__button.is-primary,.image-viewer__scale{flex:1 1 0;min-width:0}.weigher-modal{width:calc(100vw - 20px);height:calc(100vh - 20px)}.weigher-modal-body.has-prescription{grid-template-columns:1fr;grid-template-areas:"sheet" "prescription" "operation"}.weigher-modal-body.has-prescription .weigher-sheet-pane,.weigher-modal-body.has-prescription .weigher-prescription-pane,.weigher-modal-body.has-prescription .weigher-operation-pane{max-height:none}.weigher-focus-body{grid-template-columns:1fr;overflow-y:auto}.weigher-focus-sheet,.weigher-focus-prescription{overflow:visible}.weigher-focus-prescription-frame.image-viewer,.weigher-focus-prescription-frame.is-pdf,.weigher-focus-prescription-frame iframe{height:64vh;min-height:360px}.initial-focus-label-pane.is-receita-rotulo{min-height:72vh}.initial-focus-label-pane.is-receita-rotulo .initial-focus-label-viewer{min-height:420px}.weigher-field-grid,.weigher-field-grid-compact,.weigher-focus-field-grid{grid-template-columns:1fr}.weigher-barcode-actions{align-items:stretch;flex-direction:column}.weigher-barcode-body img{height:90px}.weigher-barcode-body strong{font-size:22px}.weigher-label-preview-body{min-height:320px}.weigher-label-preview-scale{--label-preview-scale: .93}.weigher-label-preview-header,.weigher-label-preview-footer,.weigher-checklist-review-header,.weigher-checklist-review-footer{align-items:stretch;flex-direction:column}.weigher-checklist-review-list li{align-items:flex-start;flex-direction:column}.weigher-checklist-review-list strong{max-width:none;text-align:left}}.stage-check-popup{width:min(720px,calc(100vw - 40px));grid-template-rows:auto minmax(0,1fr) auto;max-height:min(88vh,900px)}.stage-check-body{display:flex;flex-direction:column;gap:14px;padding:16px 20px;overflow-y:auto}.stage-check-section{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}.stage-check-section h4{margin:0;font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#475569}.stage-ai-conference{display:grid;gap:10px;padding:12px 18px;border-bottom:1px solid var(--line);background:#fafafa}.stage-ai-conference-result{display:grid;gap:4px;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:var(--white)}.stage-ai-conference-result strong{color:#0f172a;font-size:.9rem}.stage-ai-conference-result p{margin:0;font-size:.82rem;color:#475569}.stage-ai-conference-result.is-risk-alto{border-color:#f0bcbc;background:#fdecec}.stage-ai-conference-result.is-risk-medio{border-color:#f0dca3;background:#fffaf0}.stage-ai-conference-result.is-risk-baixo{border-color:#cfead9;background:#f0fbf5}.stage-check-value{margin:0;font-size:1.05rem;font-weight:700;color:#0f172a}.weigher-check-auto-status{align-self:flex-start;border:1px solid #e2e8f0;border-radius:8px;padding:8px 10px;background:#fff;color:#64748b;font-size:.78rem;font-weight:800}.weigher-check-auto-status.is-done{border-color:#bbf7d0;background:#ecfdf5;color:#047857}.stage-check-observations{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.stage-check-observations li{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-left:3px solid #f59e0b;border-radius:0 8px 8px 0;background:#fffbeb}.stage-check-observations li span{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#92400e}.stage-check-observations li strong{font-size:.95rem;font-weight:600;color:#1f2937}.stage-check-postweighing{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.stage-check-postweighing>div{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;background:var(--white)}.stage-check-postweighing>div span{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#64748b}.stage-check-postweighing>div strong{font-size:.9rem;color:#0f172a}.stage-check-quantity-model{margin:8px 0 2px;font-size:.96rem;font-weight:800;color:#0f172a}.stage-check-quantity-breakdown{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin:8px 0 4px}.stage-check-quantity-breakdown>div{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border:1px solid #cbd5f5;border-radius:8px;background:#f8fafc}.stage-check-quantity-breakdown>div span{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#64748b}.stage-check-quantity-breakdown>div strong{font-size:1.25rem;line-height:1.1;color:#0f172a}.stage-check-quantity-breakdown>div.is-fold{border-color:#f59e0b;background:#fffbeb}.stage-check-quantity-breakdown>div.is-fold strong{color:#b45309}.stage-check-containers{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}.stage-check-containers label{display:flex;flex-direction:column;gap:4px}.stage-check-containers label span{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#64748b}.stage-check-containers input{padding:10px 12px;border:1px solid #cbd5f5;border-radius:8px;font-size:1rem;font-weight:600;color:#0f172a;background:var(--white)}.stage-check-capsule-lot{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.stage-weighed-value{color:#1f6b3f;font-weight:800}.weigher-weighed-erp{color:#1f6b3f;font-size:.78rem;font-weight:700}.stage-dose-divergent{background:#fff3f3;color:#a4262c;font-weight:700}.stage-dose-warning{display:block;margin-top:2px;color:#a4262c;font-size:.68rem;font-weight:700;line-height:1.25}.stage-item-highlight{margin-top:5px;border:1px solid #f4c48a;border-left:4px solid #c2410c;border-radius:8px;padding:6px 9px;background:#fff7ed}.stage-item-highlight>span{display:block;margin-bottom:3px;color:#9a3412;font-size:.62rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.stage-item-highlight ul{margin:0;padding-left:15px;list-style:disc}.stage-item-highlight li{color:#9a3412;font-size:.72rem;font-weight:700;line-height:1.35}.stage-item-registry-note{display:block;margin-top:3px;border-left:3px solid #c2410c;padding:3px 0 3px 7px;color:#9a3412;font-size:.7rem;font-weight:700;line-height:1.3}.stage-item-hidden-tag{display:block;margin-top:2px;color:#64748b;font-size:.66rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.stage-item-base-tag,.stage-item-associated-tag{display:block;margin-top:2px;font-size:.66rem;font-weight:750;letter-spacing:.02em;line-height:1.35;text-transform:uppercase}.stage-item-base-tag{color:#8a620e}.stage-item-associated-tag{color:#2f5c8a}.stage-average-weight-control{display:grid;gap:10px}.stage-average-weight-control.is-compact{margin-top:10px;padding:12px;border:1px solid #ded7c8;border-radius:10px;background:#fffcf5}.stage-average-weight-control.is-compact .weigher-field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stage-average-weight-field{display:flex;flex-direction:column;gap:4px}.stage-average-weight-field span{color:#64748b;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.stage-average-weight-field input{padding:10px 12px;border:1px solid #cbd5f5;border-radius:8px;font-size:1rem;font-weight:600}.stage-check-capsule-lot label{display:flex;flex-direction:column;gap:4px}.stage-check-capsule-lot label span{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#64748b}.stage-check-capsule-lot input{padding:10px 12px;border:1px solid #cbd5f5;border-radius:8px;font-size:1rem;font-weight:600;color:#0f172a;background:var(--white)}.stage-check-capsule-lot-input{display:flex;gap:8px;align-items:stretch}.stage-check-capsule-lot-input input{flex:1;min-width:0}.stage-check-capsule-lot-input .stage-camera-button{flex-shrink:0;min-height:auto}.stage-check-capsule-change{display:grid;gap:10px;padding:12px 14px;border:1px solid #f0c36d;border-radius:10px;background:#fffaf0}.stage-check-capsule-change p{margin:0;font-size:.9rem;color:#7c4a03}.stage-check-capsule-change-actions{display:flex;justify-content:flex-end;gap:8px}@media(max-width:640px){.stage-check-popup{width:calc(100vw - 20px)}}.weigher-focus-requisition{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-right:auto;padding:6px 14px;border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff;white-space:nowrap}.weigher-focus-requisition span{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#1d4ed8}.weigher-focus-requisition strong{font-size:1.35rem;font-weight:800;line-height:1.1;letter-spacing:.02em;color:#0f172a}@media(max-width:640px){.weigher-focus-requisition{padding:4px 10px}.weigher-focus-requisition strong{font-size:1.05rem}}.conf-dash-page{display:grid;gap:20px}.conf-dash-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.conf-dash-header-copy{display:grid;gap:6px}.conf-dash-header-copy p{margin:0;color:var(--text-secondary);font-size:13px;line-height:1.45}.conf-dash-header-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.conf-dash-header-actions .button,.conf-dash-header-actions .button-secondary{white-space:nowrap}.conf-dash-topbar{display:flex;align-items:center;gap:10px}.conf-dash-search{position:relative;flex:0 1 300px;min-width:0}.conf-dash-withdrawal{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--white);flex-shrink:0}.conf-dash-withdrawal span{color:#98a2b3;font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.03em;flex-shrink:0}.conf-dash-withdrawal-sep{text-transform:none!important;font-weight:550!important;color:#c4c9d1!important}.conf-dash-withdrawal input{height:30px;padding:0 6px;border:none;background:none;color:var(--text-primary);font-size:12.5px;font-weight:550;min-width:0}.conf-dash-withdrawal input:focus-visible{outline:none}.conf-dash-search>svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:#98a2b3;pointer-events:none}.conf-dash-search input{width:100%;height:44px;padding:0 14px 0 40px;border:1px solid var(--line);border-radius:10px;background:var(--white);color:var(--text-primary);font-size:13.5px;font-weight:550}.conf-dash-search input:focus-visible{outline:none;border-color:var(--gold-primary, var(--gold-primary))}.conf-dash-suggestions{position:absolute;z-index:20;top:calc(100% + 6px);left:0;right:0;margin:0;padding:6px;list-style:none;background:var(--white);border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 28px #0f172a1a;max-height:280px;overflow-y:auto}.conf-dash-suggestions li button{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:none;background:none;border-radius:7px;cursor:pointer;text-align:left}.conf-dash-suggestions li button:hover{background:#f9fafb}.conf-dash-suggestion-tag{flex-shrink:0;padding:2px 7px;border-radius:999px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.02em}.conf-dash-suggestion-tag.is-requisicao{background:#fbf3e2;color:#92600b}.conf-dash-suggestion-tag.is-cliente{background:#eef1f5;color:#475467}.conf-dash-suggestion-value{flex:1 1 auto;min-width:0;color:var(--text-primary);font-size:13px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conf-dash-suggestion-hint{flex-shrink:0;color:#98a2b3;font-size:11.5px;font-weight:550}.conf-dash-filters-btn{position:relative;display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px;border:1px solid var(--line);border-radius:10px;background:var(--white);color:var(--text-primary);font-size:13px;font-weight:650;cursor:pointer;flex-shrink:0}.conf-dash-filters-btn:hover{border-color:var(--gold-primary, var(--gold-primary));color:var(--gold-primary, var(--gold-primary))}.conf-dash-filters-btn svg{width:15px;height:15px}.conf-dash-filters-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--gold-primary, var(--gold-primary));color:var(--white);font-size:10.5px;font-weight:700}.conf-dash-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:20px;background:#0f172a59}.conf-dash-modal{display:flex;flex-direction:column;width:min(640px,100%);max-height:min(640px,calc(100vh - 40px));background:var(--white);border-radius:16px;overflow:hidden;box-shadow:0 24px 60px #0f172a38}.conf-dash-table-modal{width:min(1180px,100%);max-height:min(760px,calc(100vh - 40px))}.conf-dash-table-count{margin:0 0 12px;color:#98a2b3;font-size:12px;font-weight:600}.conf-dash-confer-modal{width:min(560px,100%);max-height:min(600px,calc(100vh - 40px))}.conf-dash-confer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.conf-dash-confer-grid div{display:flex;flex-direction:column;gap:3px}.conf-dash-confer-grid span{color:#98a2b3;font-size:10.5px;font-weight:650;text-transform:uppercase;letter-spacing:.03em}.conf-dash-confer-grid strong{color:var(--text-primary);font-size:13px;font-weight:600}.conf-dash-confer-items{max-height:260px;overflow-y:auto}.conf-dash-confer-btn{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);background:var(--white);border-radius:7px;padding:5px 10px;color:var(--text-secondary);font-size:11.5px;font-weight:650;cursor:pointer;white-space:nowrap}.conf-dash-confer-btn svg{width:12px;height:12px}.conf-dash-confer-btn:hover{border-color:var(--gold-primary, var(--gold-primary));color:var(--gold-primary, var(--gold-primary))}.conf-dash-modal-header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #f1f2f4}.conf-dash-modal-header>div{display:flex;align-items:center;gap:9px}.conf-dash-modal-header svg{width:17px;height:17px;color:var(--gold-primary, var(--gold-primary))}.conf-dash-modal-header h2{margin:0;color:var(--text-primary);font-size:16px;font-weight:700}.conf-dash-modal-tabs{display:flex;gap:4px;padding:0 16px;overflow-x:auto;border-bottom:1px solid #f1f2f4}.conf-dash-modal-tab{display:inline-flex;align-items:center;gap:7px;padding:13px 12px;border:none;border-bottom:2px solid transparent;background:none;color:#98a2b3;font-size:12.5px;font-weight:650;white-space:nowrap;cursor:pointer}.conf-dash-modal-tab svg{width:14px;height:14px}.conf-dash-modal-tab:hover{color:var(--text-primary)}.conf-dash-modal-tab.is-active{color:var(--gold-primary, var(--gold-primary));border-bottom-color:var(--gold-primary, var(--gold-primary))}.conf-dash-modal-body{flex:1 1 auto;overflow-y:auto;padding:18px 20px;min-height:220px}.conf-dash-modal-pane{display:grid;gap:10px}.conf-dash-modal-empty{margin:0;color:#98a2b3;font-size:12.5px;font-weight:550;line-height:1.5}.conf-dash-period-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.conf-dash-period-inputs label{display:flex;flex-direction:column;gap:6px}.conf-dash-period-inputs span{color:#98a2b3;font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.03em}.conf-dash-period-inputs input{height:40px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:#fbfbfa;color:var(--text-primary);font-size:13px}.conf-dash-period-inputs input:focus-visible{outline:none;border-color:var(--gold-primary, var(--gold-primary));background:var(--white)}.conf-dash-check-list{display:grid;gap:2px;margin:0;padding:0;list-style:none;max-height:320px;overflow-y:auto}.conf-dash-check-list label{display:flex;align-items:center;gap:10px;padding:9px 6px;border-radius:8px;cursor:pointer;font-size:13px;font-weight:550;color:var(--text-primary)}.conf-dash-check-list label:hover{background:#f9fafb}.conf-dash-check-list input{width:16px;height:16px;accent-color:var(--gold-primary, var(--gold-primary))}.conf-dash-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid #f1f2f4}.conf-dash-modal-reset{border:none;background:none;color:var(--text-secondary);font-size:13px;font-weight:650;text-decoration:underline;cursor:pointer}.conf-dash-modal-reset:hover{color:var(--text-primary)}.conf-dash-modal-apply{padding:11px 20px;border:none;border-radius:10px;background:var(--text-primary);color:var(--white);font-size:13.5px;font-weight:700;cursor:pointer}.conf-dash-modal-apply:hover{background:#10151d}@media(max-width:640px){.conf-dash-topbar{flex-wrap:wrap}.conf-dash-search{flex:1 1 100%}.conf-dash-withdrawal{flex:1 1 100%;justify-content:space-between}.conf-dash-period-inputs{grid-template-columns:1fr}}.conf-dash-clear-btn{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px;border:none;background:none;color:#98a2b3;font-size:12.5px;font-weight:650;cursor:pointer;flex-shrink:0}.conf-dash-clear-btn svg{width:13px;height:13px}.conf-dash-clear-btn:hover:not(:disabled){color:var(--danger-700)}.conf-dash-clear-btn:disabled{color:#d5d9e0;cursor:not-allowed}.conf-dash-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.conf-dash-card{display:flex;flex-direction:column;gap:10px;padding:16px;background:var(--white);border:1px solid var(--line);border-radius:12px;transition:border-color .15s ease,box-shadow .15s ease}.conf-dash-card.is-active{border-color:var(--gold-primary, var(--gold-primary));box-shadow:0 0 0 1px var(--gold-primary)}.conf-dash-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.conf-dash-card-head span{color:var(--text-primary);font-size:13.5px;font-weight:650}.conf-dash-card-head strong{color:var(--text-primary);font-size:22px;font-weight:700}.conf-dash-card-desc{margin:0;color:#98a2b3;font-size:11.5px;font-weight:550;line-height:1.4;min-height:30px}.conf-dash-card-empty{margin:0;color:#c4c9d1;font-size:12px;font-style:italic}.conf-dash-card-bars{display:grid;gap:4px;margin:0;padding:0;list-style:none}.conf-dash-bar-row{display:grid;grid-template-columns:40px 1fr 22px;align-items:center;gap:8px;width:100%;border:none;background:none;padding:3px 4px;border-radius:6px;cursor:pointer}.conf-dash-bar-row:hover{background:#f9fafb}.conf-dash-bar-row.is-selected{background:#fbf3e2}.conf-dash-bar-hour{color:var(--text-secondary);font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}.conf-dash-bar-track{height:6px;border-radius:999px;background:#f1f2f4;overflow:hidden}.conf-dash-bar-fill{display:block;height:100%;min-width:3px;border-radius:999px;background:var(--gold-primary, var(--gold-primary));opacity:.55}.conf-dash-bar-row.is-selected .conf-dash-bar-fill{opacity:1}.conf-dash-bar-row.is-outros .conf-dash-bar-hour{color:#98a2b3;font-style:italic}.conf-dash-bar-row.is-outros .conf-dash-bar-fill{background:#98a2b3}.conf-dash-bar-count{text-align:right;color:var(--text-primary);font-size:11.5px;font-weight:650}.conf-dash-category-tabs{justify-self:center;justify-content:center}.conf-dash-category-tabs,.conf-dash-lab-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:6px;background:#f3f4f6;border-radius:999px;width:fit-content;max-width:100%;overflow-x:auto}.conf-dash-lab-tab{display:inline-flex;align-items:center;gap:7px;border:none;background:none;padding:8px 14px;border-radius:999px;color:var(--text-secondary);font-size:12.5px;font-weight:650;cursor:pointer;white-space:nowrap;transition:background .15s ease,color .15s ease}.conf-dash-lab-tab:hover{color:var(--text-primary)}.conf-dash-lab-tab.is-active{background:var(--white);color:var(--text-primary);box-shadow:0 1px 2px #0f172a14}.conf-dash-lab-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#eef1f5;color:var(--text-secondary);font-size:10.5px;font-weight:700}.conf-dash-lab-tab.is-active .conf-dash-lab-badge{background:var(--gold-primary, var(--gold-primary));color:var(--white)}.conf-dash-table-section{display:grid;gap:12px;background:var(--white);border:1px solid var(--line);border-radius:12px;padding:16px;animation:conf-dash-fade-in .18s ease}@keyframes conf-dash-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.conf-dash-table-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.conf-dash-table-head strong{color:var(--text-primary);font-size:14px;font-weight:650;margin-right:8px}.conf-dash-table-head span{color:#98a2b3;font-size:12px;font-weight:550}.conf-dash-table-close{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--white);border-radius:8px;padding:6px 12px;color:var(--text-secondary);font-size:12px;font-weight:650;cursor:pointer}.conf-dash-table-close svg{width:12px;height:12px}.conf-dash-table-close:hover{color:var(--danger-700)}.conf-dash-table-wrap{overflow-x:auto;border:1px solid #f1f2f4;border-radius:10px}.conf-dash-table{width:100%;border-collapse:collapse;font-size:12.5px}.conf-dash-table thead{position:sticky;top:0;background:#fafafa;z-index:1}.conf-dash-table th{text-align:left;padding:10px 12px;color:#98a2b3;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;border-bottom:1px solid #f1f2f4}.conf-dash-table td{padding:9px 12px;color:var(--text-primary);font-weight:550;white-space:nowrap;border-bottom:1px solid #f7f7f8}.conf-dash-table tbody tr:hover{background:#fbfbfa}.conf-dash-table-empty{text-align:center;color:#98a2b3;font-style:italic;padding:24px 12px}.conf-dash-table-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.conf-dash-page-size{display:flex;align-items:center;gap:8px}.conf-dash-page-size span{color:#98a2b3;font-size:11.5px;font-weight:600}.conf-dash-page-size select{height:32px;padding:0 8px;border:1px solid var(--line);border-radius:6px;background:var(--white);font-size:12.5px}.conf-dash-pagination{display:flex;align-items:center;gap:10px}.conf-dash-pagination button{height:32px;padding:0 12px;border:1px solid var(--line);background:var(--white);border-radius:6px;color:var(--text-primary);font-size:12px;font-weight:650;cursor:pointer}.conf-dash-pagination button:disabled{color:#c4c9d1;cursor:not-allowed}.conf-dash-pagination span{color:var(--text-secondary);font-size:12px;font-weight:650}@media(max-width:1180px){.conf-dash-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.conf-dash-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.conf-dash-filters{flex-direction:column;align-items:stretch}.conf-dash-filter{min-width:0}}@media(max-width:480px){.conf-dash-cards{grid-template-columns:1fr}}.initial-conf-setup-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:grid;place-items:center;padding:24px;overflow-y:auto;background:#0f172ab8;backdrop-filter:blur(8px)}.initial-conf-setup{width:min(1280px,100%);height:min(900px,calc(100dvh - 48px));max-height:min(900px,calc(100vh - 48px));display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;overflow:hidden;border:1px solid #dfc995;border-radius:22px;background:var(--white);box-shadow:0 32px 90px #0f172a38;animation:initial-conf-setup-enter .22s ease-out both}@keyframes initial-conf-setup-enter{0%{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.initial-conf-setup-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:28px 32px 24px;border-bottom:1px solid #eadfca;color:var(--sidebar-text-primary);background:var(--white)}.initial-conf-setup-header>div{min-width:0}.initial-conf-setup-header span{display:block;margin-bottom:7px;color:#d8b26e;font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.initial-conf-setup-header h1{margin:0;font-size:clamp(1.5rem,3vw,2.15rem);line-height:1.1;letter-spacing:-.035em}.initial-conf-setup-header p{margin:9px 0 0;color:#64748b}.initial-conf-setup-header .icon-button{flex:0 0 auto;border-color:#e1d2b4;background:#fffaf0;color:#8a620e}.initial-conf-setup-grid{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:28px 32px;overflow-y:auto;align-items:start;overflow-anchor:none}.initial-conf-setup-grid>label{display:grid;gap:8px;min-width:0}.initial-conf-setup-grid>label>span{color:#334155;font-size:.78rem;font-weight:800;letter-spacing:.02em}.initial-conf-setup-grid input,.initial-conf-setup-grid select{width:100%;height:48px;padding:0 14px;border:1px solid #d8dce3;border-radius:13px;outline:0;background:var(--white);color:var(--sidebar-text-primary);font:inherit;transition:border-color .15s ease,box-shadow .15s ease}.initial-conf-setup-grid input:focus,.initial-conf-setup-grid select:focus{border-color:#c79b4a;box-shadow:0 0 0 4px #c79b4a21}.initial-conf-multi-field{min-width:0;min-height:190px;margin:0;padding:16px;border:1px solid #e6dfd1;border-radius:14px;background:#fffefa}.initial-conf-multi-field legend{padding:0 6px;color:#72551f;font-size:.78rem;font-weight:850;letter-spacing:.02em}.initial-conf-multi-field>small{display:block;margin:-2px 0 10px;color:#64748b;font-size:.73rem}.initial-conf-multi-field{overflow:hidden}.initial-conf-choice-list{min-height:0;max-height:150px;display:grid;gap:7px;overflow-y:auto;padding-right:3px}.initial-conf-choice-list>label{min-width:0;min-height:38px;display:flex;align-items:center;gap:9px;padding:7px 9px;border:1px solid #e4e7ec;border-radius:9px;background:var(--white);color:#475467;cursor:pointer;transition:border-color .14s ease,background-color .14s ease,color .14s ease}.initial-conf-choice-list>label:hover{border-color:#d3b56e}.initial-conf-choice-list>label.is-selected{border-color:#c79b4a;background:#fff7e5;color:#6b4d11}.initial-conf-choice-list input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.initial-conf-choice-list label>span{width:17px;height:17px;flex:0 0 17px;display:grid;place-items:center;border:1px solid #cbd2dc;border-radius:5px;background:var(--white)}.initial-conf-choice-list label.is-selected>span{border-color:#b98727;background:#b98727;box-shadow:inset 0 0 0 4px var(--white)}.initial-conf-choice-list strong{min-width:0;overflow:hidden;font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}.initial-conf-choice-list p{margin:8px 0;color:#94a3b8;font-size:.76rem}.initial-conf-date-entry{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px}.initial-conf-date-entry .icon-button{width:42px;height:48px;border-color:#d7b879;background:#fff8e8;color:#8a620e}.initial-conf-date-between{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.initial-conf-date-between label{display:grid;gap:5px}.initial-conf-date-between label>span{color:#64748b;font-size:.68rem;font-weight:800;text-transform:uppercase}.initial-conf-date-between p{grid-column:1 / -1;margin:0;color:#a92720;font-size:.7rem;font-weight:700;line-height:1.4}.initial-conf-selected-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.initial-conf-selected-chips button{min-height:30px;display:inline-flex;align-items:center;gap:6px;border:1px solid #d7b879;border-radius:999px;padding:0 10px;background:#fff8e8;color:#72551f;font-size:.72rem;font-weight:800}.initial-conf-selected-chips svg{width:12px;height:12px}.initial-conf-parameter-warning{margin:0 32px 14px;padding:10px 12px;border:1px solid #e8cf92;border-radius:10px;background:#fff8e8;color:#7a5714;font-size:.78rem;font-weight:750}.initial-conf-groups .initial-conf-setup-footer{justify-content:flex-end}.initial-conf-groups-body{grid-column:1 / -1;min-width:0;margin:0;padding:16px;border:1px solid #e8e5de;border-radius:12px;background:#fcfbf8}.initial-conf-group-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:12px}.initial-conf-group-toolbar-title{min-width:0;display:grid;gap:2px}.initial-conf-group-toolbar-title strong{color:#27364a;font-size:.95rem;line-height:1.2}.initial-conf-group-toolbar-title span{color:var(--muted, #6b7280);font-size:.78rem;font-weight:700}.initial-conf-group-toolbar-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.initial-conf-group-toolbar-actions .marking-icon-button.text{border-color:#e2ded5;background:var(--white);color:#4b5563}.initial-conf-group-toolbar-actions .marking-icon-button.is-active{border-color:#b99448;background:#fff8e8;color:#72551f}.initial-conf-group-filters{display:grid;grid-template-columns:minmax(150px,.7fr) repeat(2,minmax(180px,1fr));gap:10px;margin-bottom:14px;padding:12px;border:1px solid #e7e3da;border-radius:10px;background:#faf7f0}.initial-conf-group-filters label{min-width:0;display:grid;gap:5px;color:#4b463d;font-size:.78rem;font-weight:700}.initial-conf-group-filter-check{align-content:center;grid-template-columns:auto minmax(0,1fr);gap:8px}.initial-conf-group-filter-check input{width:16px;height:16px;accent-color:var(--gold-primary)}.initial-conf-group-filters select{width:100%;min-height:38px;border:1px solid #d9c69d;border-radius:9px;background:var(--white);padding:0 10px}.initial-conf-group-list{display:flex;flex-direction:column;gap:16px;margin:0;padding:0;list-style:none}.initial-conf-group-list li{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:20px;padding:20px 22px;border:1px solid #e8e5de;border-radius:12px;background:var(--white);box-shadow:0 1px 2px #1118270a}.initial-conf-group-list li.is-selected{border-color:#e0c68d;background:#fffdf8}.initial-conf-group-select{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center}.initial-conf-group-select input{width:18px;height:18px;accent-color:#b97800}.initial-conf-group-list li.is-locked{background:#faf9f7;border-style:dashed;opacity:.8}.initial-conf-group-main{min-width:0;display:grid;gap:12px}.initial-conf-group-identity{display:grid;grid-template-columns:220px 180px 220px minmax(240px,1fr);gap:14px 24px;margin:0}.initial-conf-group-identity>div{min-width:0;display:grid;gap:4px}.initial-conf-group-identity dt{display:inline-flex;align-items:center;gap:6px;color:#6b7280;font-size:12px;font-weight:500;line-height:1.2}.initial-conf-group-identity dt svg{width:14px;height:14px;flex:0 0 auto;opacity:.75}.initial-conf-group-identity dd{min-width:0;margin:0;overflow-wrap:anywhere;color:#111827;font-size:16px;font-weight:600;line-height:1.25}.initial-conf-group-identity dd.is-highlighted{color:#b97800}.initial-conf-group-progress{display:flex;flex-wrap:wrap;gap:8px}.initial-conf-group-formulas{display:flex;flex-direction:column;gap:4px;margin:8px 0 0;padding:8px;max-height:220px;overflow-y:auto;border:1px solid var(--line, #e8e5de);border-radius:8px;background:var(--background-total, #fbfaf7);list-style:none}.initial-conf-group-formulas>li{display:flex;align-items:baseline;gap:8px;font-size:12px;color:#4b5563}.initial-conf-group-formulas>li strong{font-size:13px;color:#111827}.initial-conf-group-formulas>li em{margin-left:auto;font-style:normal;font-weight:600;color:#9a6700}.initial-conf-group-formulas>li.is-done em{color:#15803d}.initial-conf-group-progress span{display:inline-flex;align-items:center;border:1px solid #e7c98a;border-radius:999px;padding:5px 10px;background:#fff9ed;color:#9a6700;font-size:12px;font-weight:600;line-height:1}.initial-conf-group-people{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding-top:10px;border-top:1px solid #f0eee8;color:#6b7280;font-size:13px}.initial-conf-group-people>span{min-width:0;display:inline-flex;align-items:center;gap:6px;overflow-wrap:anywhere}.initial-conf-group-people svg{width:14px;height:14px;flex:0 0 auto;opacity:.7}.initial-conf-group-owner{font-weight:600}.initial-conf-group-owner.is-mine{border:1px solid #d7ebd4;border-radius:999px;padding:4px 10px;background:#f3faf2;color:#3f7d32;font-size:12px}.initial-conf-group-owner.is-mine svg{opacity:1}.initial-conf-group-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;flex-shrink:0;align-self:stretch;padding-left:20px;border-left:1px solid #f0eee8}.initial-conf-group-icon{width:38px;padding:0;border-radius:8px}.initial-conf-group-icon svg{width:17px;height:17px}.initial-conf-group-primary,.initial-conf-group-primary:disabled{border-color:#b97800;border-radius:8px;background:#b97800;color:var(--white)}.initial-conf-group-primary:hover:not(:disabled){border-color:#9f6700;background:#9f6700;color:var(--white)}.initial-conf-group-secondary{border-color:#e0ddd5;border-radius:8px;background:var(--white);color:#374151}.initial-conf-group-secondary:hover:not(:disabled){border-color:#c9c5bb;background:#f7f5f1;color:#111827}.initial-conf-group-danger{color:#b42318}.initial-conf-group-danger:hover:not(:disabled){border-color:transparent;background:#fef3f2;color:#912018}.initial-conf-group-danger svg{width:15px;height:15px}.initial-conf-group-locked{font-size:13px;font-weight:600;color:#7a5714}@media(max-width:1180px){.initial-conf-group-list li{gap:16px;padding:18px}.initial-conf-group-identity{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.initial-conf-group-actions{padding-left:16px}}@media(max-width:760px){.initial-conf-group-toolbar{grid-template-columns:1fr;align-items:stretch}.initial-conf-group-toolbar-actions{justify-content:flex-start}.initial-conf-group-filters{grid-template-columns:1fr}.initial-conf-group-list li{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px}.initial-conf-group-identity{grid-template-columns:minmax(0,1fr)}.initial-conf-group-actions{justify-content:flex-start;align-self:auto;padding-left:0;padding-top:12px;border-left:0;border-top:1px solid #f0eee8}.initial-conf-group-actions .initial-conf-group-primary{margin-left:auto}}.initial-conf-setup-footer{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 32px 26px;border-top:1px solid #e7e3da;background:var(--white);box-shadow:0 -10px 24px #0f172a0d}.initial-conf-result-count{display:flex;align-items:baseline;gap:9px}.initial-conf-result-count strong{color:var(--sidebar-text-primary);font-size:1.8rem;line-height:1}.initial-conf-result-count span{color:#64748b;font-size:.82rem}.initial-conf-setup-footer .weigher-primary-button{min-width:190px;min-height:46px}.stage-queue-scope{display:flex;align-items:center;gap:14px;max-width:min(54vw,720px);padding:8px 10px 8px 14px;border:1px solid #e2e8f0;border-radius:14px;background:var(--white)}.stage-queue-scope>div{display:grid;min-width:0;gap:2px}.stage-queue-scope span{color:#94a3b8;font-size:.64rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.stage-queue-scope strong{overflow:hidden;color:#334155;font-size:.74rem;text-overflow:ellipsis;white-space:nowrap}.stage-queue-scope button{min-height:34px;flex:0 0 auto;padding:0 12px;border:1px solid #d7b879;border-radius:9px;background:#fffaf0;color:#72551f;font-size:.74rem;font-weight:800}.stage-queue-scope button:hover{background:#f6ead1}.stage-queue-time-filter{position:relative;display:flex;align-items:center;gap:6px;padding-left:12px;border-left:1px solid #e2e8f0}.stage-queue-time-filter .icon-button.is-active{border-color:#c79b4a;background:#fff7e5;color:#6b4d11}.stage-queue-time-filter-badge{position:absolute;top:-4px;right:-4px;min-width:15px;height:15px;display:grid;place-items:center;padding:0 3px;border-radius:999px;background:#c79b4a;color:var(--white);font-size:.6rem;font-weight:800;line-height:1}.stage-queue-time-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:30;display:flex;align-items:center;gap:6px;max-width:min(420px,90vw);padding:10px;border:1px solid #e2e8f0;border-radius:12px;background:var(--white);box-shadow:0 12px 32px #0f172a24}.stage-queue-time-chips{display:flex;flex-wrap:wrap;gap:5px}.stage-queue-time-chips button{min-height:28px;padding:0 10px;border:1px solid #e2e8f0;border-radius:999px;background:var(--white);color:#475467;font-size:.74rem;font-weight:700;transition:border-color .14s ease,background-color .14s ease,color .14s ease}.stage-queue-time-chips button:hover{border-color:#d3b56e}.stage-queue-time-chips button.is-active{border-color:#c79b4a;background:#fff7e5;color:#6b4d11}.stage-queue-time-filter.stage-queue-time-filter button.icon-button-compact{width:26px;height:26px;min-height:0;padding:0;border:0;background:transparent;color:#94a3b8}.stage-queue-time-filter.stage-queue-time-filter button.icon-button-compact:hover{background:#f1f5f9;color:#475467}.initial-conf-setup-actions{width:100%;display:flex;align-items:center;justify-content:flex-end;gap:10px}.initial-conf-setup-actions .weigher-primary-button{min-height:46px}.initial-conference-queue{overflow:hidden;border:1px solid #e2e7ed;border-radius:18px;background:var(--white);box-shadow:0 12px 30px #0f172a0f}.initial-conference-queue-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 22px;border-bottom:1px solid #e2e7ed;background:#fafbfc}.initial-conference-queue-header>div{display:grid;gap:3px}.initial-conference-queue-header span{color:#9a7a36;font-size:.66rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.initial-conference-queue-header h3{margin:0;color:var(--sidebar-text-primary);font-size:1.08rem}.initial-conference-queue-header p{margin:2px 0 0;color:#64748b;font-size:.78rem}.initial-conference-queue-header>strong{display:grid;width:52px;height:52px;flex:0 0 52px;place-items:center;border-radius:15px;background:var(--sidebar-text-primary);color:var(--white);font-size:1.15rem}.initial-conference-queue-tabs{display:flex;gap:8px;padding:0 20px 14px;border-bottom:1px solid #edf0f3}.initial-conference-queue-tab{display:flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid transparent;border-radius:10px;background:transparent;color:#64748b;font-size:.8rem;font-weight:700;cursor:pointer}.initial-conference-queue-tab:hover{background:#f7f8fa}.initial-conference-queue-tab.is-active{border-color:#edf0f3;background:var(--sidebar-text-primary);color:var(--white)}.initial-conference-queue-tab .num{display:inline-grid;min-width:22px;height:22px;padding:0 6px;place-items:center;border-radius:999px;background:#64748b24;color:inherit;font-size:.72rem}.initial-conference-queue-tab.is-active .num{background:#ffffff2e}.initial-conference-queue-empty{padding:32px 15px!important;color:#94a3b8;font-size:.8rem;text-align:center}.initial-conference-queue-table-wrap{width:100%;overflow-x:auto}.initial-conference-queue-table{width:100%;min-width:980px;border-collapse:collapse}.initial-conference-queue-table th,.initial-conference-queue-table td{padding:13px 15px;border-bottom:1px solid #edf0f3;color:#334155;font-size:.78rem;text-align:left;vertical-align:middle}.initial-conference-queue-table th{background:#f7f8fa;color:#64748b;font-size:.66rem;font-weight:850;letter-spacing:.045em;text-transform:uppercase}.initial-conference-queue-table tbody tr{transition:background-color .15s ease}.initial-conference-queue-table tbody tr:hover{background:#fffaf0}.initial-conference-queue-table tbody tr.is-blocked{background:#fff8f7;opacity:.76}.initial-conference-queue-table tbody tr.is-missing-prescription:not(.is-blocked){background:#fffdf7}.initial-conference-queue-table td:last-child{width:54px;text-align:right}.initial-conference-delivery{display:grid;gap:2px}.initial-conference-delivery strong{color:#334155;font-size:.76rem}.initial-conference-delivery small,.initial-conference-basic-info small{color:#7c8798;font-size:.66rem}.initial-conference-request-link{border:0;padding:0;background:transparent;color:#8a620e;font-size:.82rem;font-weight:850;text-decoration:underline;text-decoration-color:#8a620e47;text-underline-offset:3px;cursor:pointer}.initial-conference-status-stack{display:grid;justify-items:start;gap:5px}.weigher-status-pill.is-missing-prescription{border-color:#e7b35c;background:#fff3d6;color:#8a5600}.initial-conference-status-stack small{color:#a05d00;font-size:.65rem;font-weight:800}.initial-conference-request-link:hover:not(:disabled){color:#5f4308;text-decoration-color:currentColor}.initial-conference-request-link:disabled{color:#94a3b8;cursor:not-allowed}.initial-conference-modal-header{flex-wrap:wrap}.initial-conference-basic-info{width:100%;flex:1 0 100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding-top:12px;border-top:1px solid var(--line)}.initial-conference-basic-info>div{min-width:0;display:grid;gap:4px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:#fafbfc}.initial-conference-basic-info>div.is-primary{border-color:#dbc28c;background:#fffaf0}.initial-conference-basic-info span{color:#7c8798;font-size:.62rem;font-weight:800;letter-spacing:.055em;text-transform:uppercase}.initial-conference-basic-info strong{overflow:hidden;color:var(--sidebar-text-primary);font-size:.76rem;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.initial-conference-focus-modal{grid-template-rows:auto auto minmax(0,1fr)}.initial-conference-focus-modal .stage-ai-conference{grid-template-columns:auto minmax(0,1fr);align-items:start}.weigher-focus-header-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:9px!important}.initial-focus-save-status{color:#64748b!important;font-size:.66rem!important;font-weight:750!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap}.initial-focus-close-button{width:38px;height:38px;flex:0 0 38px!important;border-color:#d8c49a;background:#fffaf0;color:#72551f}.stage-ai-conference-status{min-width:290px;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #d9e0e8;border-radius:10px;background:var(--white)}.stage-ai-conference-status>div{display:grid;gap:2px}.stage-ai-conference-status strong{color:var(--sidebar-text-primary);font-size:.76rem}.stage-ai-conference-status span{color:#64748b;font-size:.68rem;line-height:1.35}.stage-ai-conference-status.is-processing{border-color:#d8bf89;background:#fffaf0}.stage-ai-conference-status.is-complete{border-color:#a8d8bb;background:#f2fbf5}.stage-ai-conference-status.is-unavailable{border-color:#e6c4a8;background:#fff8f2}.stage-ai-spinner{width:18px;height:18px;flex:0 0 18px;border:2px solid rgba(138,98,14,.22);border-top-color:#8a620e;border-radius:50%;animation:stage-ai-spin .7s linear infinite}@keyframes stage-ai-spin{to{transform:rotate(360deg)}}.initial-conference-focus-modal .weigher-focus-body{grid-template-columns:minmax(540px,.9fr) minmax(480px,1.1fr)}.initial-conf-triage-field{grid-column:1 / -1;min-height:0;padding:18px;background:#fffdf8}.initial-conf-triage-families{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:12px}.initial-conf-triage-family{min-width:0;overflow:hidden;border:1px solid #e6dfd1;border-radius:13px;background:var(--white)}.initial-conf-triage-family>header{display:flex;align-items:center;gap:11px;padding:12px 14px;border-bottom:1px solid #ece6da;background:#fbf8f1}.initial-conf-triage-family>header>span{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border-radius:9px;background:#263c35;color:var(--white);font-size:.68rem;font-weight:900}.initial-conf-triage-family>header>div{min-width:0;display:grid;gap:2px}.initial-conf-triage-family>header strong{color:#263c35;font-size:.82rem}.initial-conf-triage-family>header small{color:#718078;font-size:.68rem;line-height:1.3}.initial-conf-triage-family>.initial-conf-choice-list{max-height:none;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;padding:12px}.initial-conf-triage-subgroups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.initial-conf-triage-subgroup{min-width:0;padding:9px;border:1px solid #ece7dc;border-radius:10px;background:#fffefa}.initial-conf-triage-subgroup>span{display:block;margin:0 2px 7px;color:#8a620e;font-size:.64rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.initial-conf-triage-subgroup .initial-conf-choice-list{max-height:none;overflow:visible}.initial-conf-triage-subgroup .initial-conf-choice-list>label,.initial-conf-triage-family>.initial-conf-choice-list>label{min-height:34px;padding:6px 8px}.initial-conf-triage-subgroup .initial-conf-choice-list strong,.initial-conf-triage-family>.initial-conf-choice-list strong{white-space:normal;line-height:1.25}.initial-conf-triage-note{margin:12px 0 0;padding:10px 12px;border-left:3px solid #c79b4a;border-radius:0 8px 8px 0;background:#fff8e8;color:#72551f;font-size:.72rem;line-height:1.4}.initial-conf-activity-field{grid-column:1 / -1;min-width:0;margin:0;padding:18px;border:1px solid #d9c69d;border-radius:15px;background:#fffdf8}.initial-conf-activity-field legend{padding:0 7px;color:#72551f;font-size:.8rem;font-weight:900;letter-spacing:.02em}.initial-conf-activity-field>small{display:block;margin:-2px 0 12px;color:#64748b;font-size:.73rem}.initial-conf-activity-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.initial-conf-activity-options>button{min-width:0;min-height:88px;display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #dedbd2;border-radius:12px;background:var(--white);color:#405149;text-align:left;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease,transform .15s ease}.initial-conf-activity-options>button:hover{border-color:#c79b4a;transform:translateY(-1px)}.initial-conf-activity-options>button:focus-visible{outline:3px solid rgba(199,155,74,.24);outline-offset:2px}.initial-conf-activity-options>button.is-selected{border-color:#b98727;background:#fff7e5;box-shadow:inset 0 0 0 1px #b9872738}.initial-conf-activity-options>button>span{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:11px;background:#e9eeeb;color:#456057;font-size:.75rem;font-weight:900}.initial-conf-activity-options>button.is-selected>span{background:#263c35;color:var(--white)}.initial-conf-activity-options>button>div{min-width:0;display:grid;gap:4px}.initial-conf-activity-options strong{color:#263c35;font-size:.8rem;line-height:1.2}.initial-conf-activity-options small{color:#718078;font-size:.67rem;line-height:1.35}.initial-conf-selected-activity{grid-column:1 / -1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #cdb678;border-radius:12px;background:#fff8e8}.initial-conf-selected-activity>div{min-width:0;display:grid;gap:2px}.initial-conf-selected-activity span{color:#8a620e;font-size:.62rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.initial-conf-selected-activity strong{overflow:hidden;color:#263c35;font-size:.86rem;text-overflow:ellipsis;white-space:nowrap}.initial-conf-selected-activity button{min-height:36px;flex:0 0 auto;padding:0 12px;border:1px solid #c79b4a;border-radius:9px;background:var(--white);color:#72551f;font-size:.69rem;font-weight:850;cursor:pointer}.initial-conf-withdrawal-fields{grid-column:1 / -1;min-width:0;min-height:0;display:grid;grid-template-columns:minmax(280px,1.15fr) minmax(150px,.6fr) minmax(200px,1fr);gap:16px;align-items:start;animation:initial-conf-filters-enter .18s ease-out both}@media(max-width:900px){.initial-conf-withdrawal-fields{grid-template-columns:1fr}}.initial-conf-date-shortcuts{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:10px}.initial-conf-date-shortcuts button{min-height:30px;border:1px solid #e1d2b4;border-radius:999px;padding:0 12px;background:#fffaf0;color:#8a620e;font-size:.75rem;font-weight:800;cursor:pointer}.initial-conf-date-shortcuts button.is-active{border-color:#b8860b;background:#f5e2b8}.initial-conf-date-shortcuts strong{margin-left:auto;color:#263c35;font-size:.8rem;font-weight:800}.initial-conf-calendar>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.initial-conf-calendar>header strong{color:#263c35;font-size:.85rem;font-weight:850}.initial-conf-calendar-weekdays,.initial-conf-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.initial-conf-calendar-weekdays span{padding:2px 0;color:#9a8256;font-size:.66rem;font-weight:800;text-align:center}.initial-conf-calendar-grid button{min-height:32px;border:1px solid transparent;border-radius:8px;background:transparent;color:#475467;font-size:.8rem;font-weight:700;cursor:pointer}.initial-conf-calendar-grid button:hover{background:#fdf5e4}.initial-conf-calendar-grid button.is-today{border-color:#d6c296}.initial-conf-calendar-grid button.is-in-range{background:#f8ecd2;color:#6f5524}.initial-conf-calendar-grid button.is-edge{background:#b8860b;border-color:#b8860b;color:#fff}.initial-conf-hour-options{max-height:190px;display:grid;grid-template-columns:repeat(auto-fit,minmax(74px,1fr));gap:6px;overflow-y:auto}.initial-conf-hour-options button{min-height:34px;border:1px solid #e4e7ec;border-radius:9px;background:#fffefa;color:#475467;font-size:.8rem;font-weight:800;cursor:pointer}.initial-conf-hour-options button.is-active{border-color:#b8860b;background:#f5e2b8;color:#6f5524}.initial-conf-filter-fields{grid-column:1 / -1;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;animation:initial-conf-filters-enter .18s ease-out both}.initial-conf-filter-fields .initial-conf-triage-field{grid-column:1 / -1}.initial-conf-activity-prompt{grid-column:1 / -1;min-height:74px;display:grid;place-items:center;margin:0;padding:16px;border:1px dashed #d9cfbb;border-radius:12px;background:#fbfaf6;color:#6f7b74;font-size:.76rem;font-weight:700;text-align:center}@keyframes initial-conf-filters-enter{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.initial-conf-filter-fields,.initial-conf-setup,.initial-conf-parameter-picker{animation:none}.initial-conf-activity-options>button,.initial-conf-family-picker>button{transition:none}}.initial-conf-triage-steps{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:12px}.initial-conf-triage-step{min-width:0;overflow:hidden;border:1px solid #e6dfd1;border-radius:13px;background:var(--white)}.initial-conf-triage-step>header{display:flex;align-items:center;gap:11px;padding:12px 14px;border-bottom:1px solid #ece6da;background:#fbf8f1}.initial-conf-triage-step>header>span{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border-radius:9px;background:#d9d4c8;color:#5d685f;font-size:.72rem;font-weight:900}.initial-conf-triage-step:first-child>header>span,.initial-conf-triage-step.is-ready>header>span{background:#263c35;color:var(--white)}.initial-conf-triage-step>header>div{min-width:0;display:grid;gap:2px}.initial-conf-triage-step>header strong{color:#263c35;font-size:.8rem}.initial-conf-triage-step>header small{color:#718078;font-size:.68rem;line-height:1.3}.initial-conf-family-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px}.initial-conf-family-picker>button{min-width:0;min-height:82px;display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #dedbd2;border-radius:11px;background:#fffefa;color:#405149;text-align:left;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease,transform .15s ease}.initial-conf-family-picker>button:hover{border-color:#c79b4a;transform:translateY(-1px)}.initial-conf-family-picker>button:focus-visible,.initial-conf-add-parameter:focus-visible,.initial-conf-parameter-options label:has(input:focus-visible){outline:3px solid rgba(199,155,74,.24);outline-offset:2px}.initial-conf-family-picker>button.is-selected{border-color:#b98727;background:#fff7e5;box-shadow:inset 0 0 0 1px #b9872738}.initial-conf-family-picker>button>span{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:#edf0ed;color:#456057;font-size:.68rem;font-weight:900}.initial-conf-family-picker>button.is-selected>span{background:#263c35;color:var(--white)}.initial-conf-family-picker>button>div{min-width:0;display:grid;gap:3px}.initial-conf-family-picker strong{color:#263c35;font-size:.79rem}.initial-conf-family-picker small{color:#718078;font-size:.66rem;line-height:1.3}.initial-conf-selected-parameters{display:grid;gap:11px;padding:12px}.initial-conf-selected-parameters-header{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px}.initial-conf-selected-parameters-header>div{min-width:0;display:grid;gap:2px}.initial-conf-selected-parameters-header>div>span{color:#8a620e;font-size:.61rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.initial-conf-selected-parameters-header>div>strong{overflow:hidden;color:#334a41;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap}.initial-conf-add-parameter{min-height:40px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border:1px solid #b98727;border-radius:10px;background:#263c35;color:var(--white);font-size:.72rem;font-weight:850;cursor:pointer}.initial-conf-add-parameter svg{width:16px;height:16px}.initial-conf-family-default,.initial-conf-triage-empty{margin:0;padding:12px;border:1px dashed #ddd5c5;border-radius:9px;background:#fffdf8;color:#748078;font-size:.7rem;line-height:1.4}.initial-conf-triage-empty{margin:12px;min-height:64px;display:grid;place-items:center;text-align:center}.initial-conf-parameter-chips{display:flex;flex-wrap:wrap;gap:7px}.initial-conf-parameter-chips>span{min-height:32px;display:inline-flex;align-items:center;gap:7px;padding:0 5px 0 11px;border:1px solid #d7b879;border-radius:999px;background:#fff8e8;color:#72551f;font-size:.7rem;font-weight:800}.initial-conf-parameter-chips button{width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#88661d;cursor:pointer}.initial-conf-parameter-chips button:hover{background:#8a620e1f}.initial-conf-parameter-chips svg{width:12px;height:12px}.initial-conf-parameter-picker-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:180;display:grid;place-items:center;padding:20px;background:#0f172aad;backdrop-filter:blur(6px)}.initial-conf-parameter-picker{width:min(1180px,100%);max-height:min(900px,calc(100vh - 40px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #dfc995;border-radius:19px;background:var(--white);box-shadow:0 28px 80px #0f172a47;animation:initial-conf-setup-enter .18s ease-out both}.initial-conf-parameter-picker>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:21px 24px 18px;border-bottom:1px solid #eadfca}.initial-conf-parameter-picker>header>div{min-width:0}.initial-conf-parameter-picker>header span{display:block;margin-bottom:5px;color:#ad7d24;font-size:.65rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.initial-conf-parameter-picker>header h2{margin:0;color:#263c35;font-size:1.25rem;letter-spacing:-.02em}.initial-conf-parameter-picker>header p{margin:5px 0 0;color:#64748b;font-size:.75rem}.initial-conf-parameter-picker>header .icon-button{flex:0 0 auto;border-color:#e1d2b4;background:#fffaf0;color:#8a620e}.initial-conf-parameter-picker-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px;padding:20px 26px;overflow-y:auto;overflow-x:hidden;align-content:start;background:#fcfaf5}.initial-conf-parameter-picker-body>.initial-conf-multi-field{min-width:0;min-height:0;max-height:260px;display:flex;flex-direction:column}.initial-conf-parameter-picker-body>.initial-conf-multi-field .initial-conf-choice-list{min-height:0;max-height:none;flex:1 1 auto}.initial-conf-parameter-group{min-width:0;padding:12px;border:1px solid #e8e2d7;border-radius:12px;background:var(--white)}.initial-conf-parameter-group h3{margin:0 2px 9px;color:#8a620e;font-size:.66rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.initial-conf-parameter-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}.initial-conf-parameter-options label{min-height:40px;display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid #e4e7ec;border-radius:9px;background:#fffefa;color:#475467;cursor:pointer}.initial-conf-parameter-options label.is-selected{border-color:#c79b4a;background:#fff7e5;color:#6b4d11}.initial-conf-parameter-options input{position:absolute;width:1px;height:1px;opacity:0}.initial-conf-parameter-options label>span{width:18px;height:18px;flex:0 0 18px;border:1px solid #cbd2dc;border-radius:5px;background:var(--white)}.initial-conf-parameter-options label.is-selected>span{border-color:#b98727;background:#b98727;box-shadow:inset 0 0 0 4px var(--white)}.initial-conf-parameter-options strong{font-size:.74rem;line-height:1.25}.initial-conf-parameter-picker>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 24px;border-top:1px solid #eadfca}.initial-conf-parameter-picker>footer>span{color:#64748b;font-size:.72rem;font-weight:750}.initial-conf-parameter-picker>footer .weigher-primary-button{min-width:128px}.initial-focus-section{padding:13px;border:1px solid #e8dfcb;border-radius:11px;background:#fffcf5}.weigher-focus-sheet>.initial-focus-general-data{order:1}.weigher-focus-sheet>.initial-focus-components{order:2}.weigher-focus-sheet>.initial-focus-associated{order:3}.weigher-focus-sheet>.initial-focus-pharmaceutical{order:4}.weigher-focus-sheet>.initial-focus-documental{order:5}.initial-focus-section-title{display:flex;align-items:center;justify-content:space-between;gap:14px}.initial-focus-section-title>div{display:grid;gap:3px}.initial-focus-section-title span{color:#9a7a36;font-size:.62rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.initial-focus-section-title strong{min-width:46px;padding:6px 9px;border-radius:999px;background:#f3ead7;color:#72551f;font-size:.76rem;text-align:center}.initial-focus-classification{display:grid;gap:6px;margin:10px 0}.initial-focus-classification span{color:#72551f;font-size:.72rem;font-weight:800}.initial-focus-classification .initial-conf-choice-list{max-height:none;grid-template-columns:repeat(2,minmax(0,1fr))}.initial-focus-classification select{height:42px;padding:0 12px;border:1px solid #e6dfd1;border-radius:9px;background:var(--white);color:var(--sidebar-text-primary);font:inherit}.initial-focus-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid #eee7d9;border-radius:8px;background:var(--white)}.initial-focus-check{align-items:center;border-right:1px solid #eee7d9;border-bottom:1px solid #eee7d9}.initial-focus-check .weigher-focus-field-text span{color:#72551f;font-size:.66rem;font-weight:800;letter-spacing:.025em;text-transform:uppercase}.initial-focus-documental-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #f2b8b5;border-radius:9px;background:#fff0ef;color:#a92720}.initial-focus-documental-status span{font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.initial-focus-documental-status strong{font-size:.82rem}.initial-focus-no-prescription{min-height:320px;display:grid;place-content:center;gap:8px;padding:28px;border:1px dashed #e2a9a5;border-radius:10px;background:#fff7f6;color:#8f2822;text-align:center}.initial-focus-no-prescription strong{font-size:1rem}.initial-focus-no-prescription span{max-width:360px;color:#7f4a46;font-size:.8rem;line-height:1.45}.initial-focus-no-prescription .weigher-secondary-button{justify-self:center;margin-top:8px;border-color:#d38b84;background:var(--white);color:#8f2822}.initial-focus-label-pane{gap:14px;padding:18px;background:#f7f4ed}.weigher-focus-body.is-prescription-label-compare{grid-template-columns:minmax(280px,.54fr) minmax(0,1.46fr)}.weigher-focus-body.is-prescription-label-compare .weigher-focus-sheet{gap:9px;padding:10px}.weigher-focus-body.is-prescription-label-compare .weigher-focus-field-grid{grid-template-columns:1fr;gap:7px}.weigher-focus-body.is-prescription-label-compare .weigher-focus-field{padding:8px 9px}.initial-focus-label-pane.is-receita-rotulo{display:flex;flex-direction:column;overflow:hidden}.initial-focus-compare-switch{flex:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;border:1px solid #dfd5c1;border-radius:10px;background:#ede7da}.initial-focus-compare-switch button{min-width:0;height:34px;border:0;border-radius:7px;background:transparent;color:#72551f;font-size:.78rem;font-weight:850;cursor:pointer}.initial-focus-compare-switch button:hover{background:#ffffff94}.initial-focus-compare-switch button.is-active{background:var(--white);color:#3f2f12;box-shadow:0 1px 4px #5c410c1f}.initial-focus-compare-switch button:focus-visible{outline:3px solid rgba(168,117,0,.28);outline-offset:2px}.initial-focus-label-pane.is-receita-rotulo>.initial-focus-label-heading{flex:none}.initial-focus-label-pane.is-receita-rotulo>.initial-focus-prescription-aside,.initial-focus-label-pane.is-receita-rotulo>.initial-focus-label-preview{min-height:0;flex:1 1 auto}.initial-focus-label-pane.is-receita-rotulo>.initial-focus-prescription-aside{border-top:0;padding-top:0}.initial-focus-label-pane.is-receita-rotulo .initial-focus-label-viewer{min-height:0}.initial-focus-label-heading{display:grid;gap:4px}.initial-focus-prescription-aside{display:flex;min-height:0;flex:3 1 0;flex-direction:column;gap:8px;border-top:1px solid #dfd5c1;padding-top:12px}.initial-focus-prescription-aside .weigher-focus-prescription-frame{min-height:0;flex:1 1 auto}.initial-focus-label-pane:has(.initial-focus-prescription-aside) .initial-focus-label-preview{min-height:128px;flex:1 1 0}.initial-focus-label-heading span{color:#9a7a36;font-size:.68rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.initial-focus-label-heading strong{color:#334155;font-size:.84rem}.initial-focus-label-preview{position:relative;min-height:0;display:block;flex:1 1 auto;overflow:hidden;border:1px solid #dfd5c1;border-radius:14px;padding:0;background:linear-gradient(45deg,#ece8df 25%,transparent 25%),linear-gradient(-45deg,#ece8df 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ece8df 75%),linear-gradient(-45deg,transparent 75%,#ece8df 75%),#f8f6f1;background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.initial-focus-label-edit-button{position:absolute;z-index:4;right:16px;bottom:16px;width:46px;height:46px;display:inline-grid;place-items:center;border:1px solid #8d6717;border-radius:14px;background:#a87500;color:var(--white);box-shadow:0 10px 24px #5c410c3d;cursor:pointer;transition:transform .14s ease-out,background .14s ease-out,box-shadow .14s ease-out}.initial-focus-label-edit-button:hover{transform:translateY(-2px);background:#8d6400;box-shadow:0 14px 28px #5c410c47}.initial-focus-label-edit-button:focus-visible{outline:3px solid rgba(168,117,0,.28);outline-offset:3px}.initial-focus-label-edit-button svg{width:22px;height:22px}.weigher-focus-body.is-label-editing{grid-template-columns:minmax(0,1fr)}.weigher-focus-body.is-label-editing>.weigher-focus-sheet{display:none}.weigher-focus-prescription.is-label-editing{grid-template-rows:minmax(0,1fr);gap:0;overflow:hidden;padding:0;background:#f7f5ef}.initial-focus-label-assembly{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden}.initial-focus-label-editor-header{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid #e5e0d6;background:var(--white)}.initial-focus-label-editor-header>div{min-width:0;display:grid;gap:3px}.initial-focus-label-editor-header span{color:#8a620e;font-size:.68rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.initial-focus-label-editor-header strong{color:#334155;font-size:.84rem}.initial-focus-label-editor-close{width:38px;height:38px;flex:0 0 38px;border-color:#d8c49a;background:#fffdf8;color:#765817}.label-template-selector,.label-profile-settings,.labels-page-header,.labels-filters,.labels-queue-card,.label-wizard{border:1px solid #ded8cc;background:var(--white);box-shadow:0 12px 30px #27342d0f}.label-template-selector{display:flex;align-items:end;gap:18px;margin-bottom:14px;padding:14px;border-radius:14px}.label-template-selector label{width:min(420px,100%);display:grid;gap:6px;color:#55635d;font-size:.74rem;font-weight:800}.label-version-history{min-width:0;display:flex;gap:6px;overflow-x:auto}.label-version-history span{flex:none;padding:7px 9px;border-radius:999px;background:#f4f1e9;color:#5c665f;font-size:.7rem;font-weight:800}.label-physical-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.label-profile-settings{margin-top:16px;padding:18px;border-radius:16px}.label-profile-settings>header{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:14px}.label-profile-settings h3,.label-profile-settings p{margin:0}.label-profile-settings p{margin-top:4px;color:#66736d;font-size:.8rem}.label-profile-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}.label-profile-form label{display:grid;gap:6px;color:#55635d;font-size:.72rem;font-weight:800}.label-profile-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin-top:16px}.label-profile-list>button{display:grid;gap:3px;padding:12px;border:1px solid #ded8cc;border-radius:12px;background:#fbfaf6;color:#213a31;text-align:left}.label-profile-list>button:hover{border-color:#b99850;background:#fffaf0}.label-profile-list span,.label-profile-list small{color:#66736d}.labels-page{display:grid;gap:16px;padding:18px}.labels-page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;border-radius:18px}.labels-page-header span,.labels-page-header h1,.labels-page-header p{margin:0}.labels-page-header>div:first-child>span{color:#96742d;font-size:.7rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.labels-page-header h1{margin-top:2px;color:#19362c;font-size:clamp(1.45rem,2.5vw,2.1rem)}.labels-page-header p{margin-top:5px;color:#66736d;font-size:.84rem}.labels-summary{display:grid;min-width:130px;padding:12px 16px;border-radius:14px;background:#f5f1e7;text-align:center}.labels-summary strong{color:#86671f;font-size:1.6rem}.labels-summary span{color:#66736d;font-size:.7rem;font-weight:750}.labels-filters{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,260px);gap:12px;padding:14px;border-radius:14px}.labels-filters label{display:grid;gap:6px;color:#55635d;font-size:.72rem;font-weight:800}.labels-queue{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}.labels-queue-card{min-width:0;display:grid;gap:10px;padding:16px;border-radius:15px;color:#213a31;text-align:left}.labels-queue-card:hover{border-color:#b99850;transform:translateY(-1px)}.labels-queue-card-main{display:flex;align-items:start;justify-content:space-between;gap:12px}.labels-queue-card-main>div{min-width:0;display:grid;gap:2px}.labels-queue-card-main strong{font-size:.92rem}.labels-queue-card-main>div span{color:#6c7772;font-size:.7rem}.labels-queue-card h2{margin:0;overflow:hidden;font-size:1rem;text-overflow:ellipsis;white-space:nowrap}.labels-queue-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.labels-queue-card dl>div{min-width:0;display:grid;gap:2px}.labels-queue-card dt{color:#7a847f;font-size:.64rem;font-weight:800;text-transform:uppercase}.labels-queue-card dd{margin:0;overflow:hidden;font-size:.76rem;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.labels-status{flex:none;padding:6px 8px;border-radius:999px;font-size:.66rem;font-weight:900}.labels-status-sem_perfil{background:#feecec;color:#a43131}.labels-status-sem_documento{background:#fff3d5;color:#8b6517}.labels-status-pronto{background:#e5f5eb;color:#24643d}.label-wizard-backdrop{position:fixed;z-index:1500;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:18px;background:#0f1a16ad;backdrop-filter:blur(4px)}.label-wizard{width:min(1240px,96vw);height:min(850px,94vh);min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border-radius:20px}.label-wizard-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #e5e0d6}.label-wizard-header span,.label-wizard-header h2{margin:0}.label-wizard-header span{color:#8e6d27;font-size:.7rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.label-wizard-header h2{margin-top:2px;color:#19362c}.label-wizard-steps{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #e5e0d6;background:#faf8f3}.label-wizard-steps.is-conference{grid-template-columns:repeat(2,minmax(0,1fr))}.label-wizard-steps button{min-height:52px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-right:1px solid #e5e0d6;background:transparent;color:#6b7771;font-weight:800}.label-wizard-steps button:last-child{border-right:0}.label-wizard-steps button.active{background:var(--white);color:#7d5c19;box-shadow:inset 0 -3px #b38a35}.label-wizard-steps button span{width:24px;height:24px;display:inline-grid;place-items:center;border-radius:50%;background:#e8e2d5;font-size:.7rem}.label-wizard-steps button.active span{background:#b38a35;color:var(--white)}.label-wizard-body{min-height:0;overflow:auto;padding:18px;background:#f7f5ef}.label-wizard-body.is-conference-edit{display:grid;align-content:start;gap:18px}.label-profile-missing{max-width:620px;margin:30px auto;padding:20px;border:1px solid #efb8b8;border-radius:14px;background:#fff2f2;color:#8a2b2b}.label-profile-missing p{margin-bottom:0}.label-wizard-data{display:grid;grid-template-columns:minmax(220px,.36fr) minmax(0,1fr);gap:16px}.label-wizard-context{align-self:start;display:grid;gap:6px;padding:18px;border:1px solid #ded8cc;border-radius:14px;background:var(--white)}.label-wizard-context span,.label-wizard-context small{color:#6d7973}.label-wizard-context span{font-size:.68rem;font-weight:850;text-transform:uppercase}.label-wizard-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px;border:1px solid #ded8cc;border-radius:14px;background:var(--white)}.label-wizard-form label,.label-active-list label{display:grid;gap:6px;color:#55635d;font-size:.72rem;font-weight:800}.label-wizard-form textarea{min-height:86px;resize:vertical}.label-field-wide{grid-column:1 / -1}.label-active-editor{display:grid;gap:12px}.label-active-editor>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #ded8cc;border-radius:14px;background:var(--white)}.label-active-editor h3,.label-active-editor p{margin:0}.label-active-editor p{margin-top:3px;color:#6c7872;font-size:.76rem}.label-active-list{display:grid;gap:10px}.label-active-list article{display:grid;grid-template-columns:76px minmax(220px,1fr) minmax(110px,.32fr) minmax(90px,.22fr) minmax(160px,.55fr);gap:10px;align-items:end;padding:12px;border:1px solid #ded8cc;border-radius:13px;background:#f1eee8;opacity:.68}.label-active-list article.selected{border-color:#c9b071;background:var(--white);opacity:1}.label-active-toggle{align-self:center;display:flex!important;align-items:center;gap:7px}.label-active-toggle input{width:18px;height:18px;accent-color:#97752f}.label-wizard-preview{height:100%;min-height:460px;display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:14px}.label-history-toggle{display:none}.label-wizard-preview-main,.label-wizard-preview aside{min-height:0;overflow:hidden;border:1px solid #ded8cc;border-radius:14px;background:var(--white)}.label-workflow-viewer{height:100%;min-height:460px}.label-wizard-preview aside{padding:14px;overflow-y:auto}.label-wizard-preview aside h3,.label-wizard-preview aside p{margin:0}.label-wizard-preview aside p{margin-top:5px;color:#6b7771;font-size:.74rem}.label-document-history{display:grid;gap:8px;margin-top:12px}.label-document-history button{display:grid;gap:2px;padding:10px;border:1px solid #ded8cc;border-radius:10px;background:#fbfaf6;color:#213a31;text-align:left}.label-document-history button:hover{border-color:#b99850}.label-document-history span,.label-document-history small{color:#6b7771;font-size:.7rem}.label-wizard-footer{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 18px;border-top:1px solid #e5e0d6;background:var(--white)}.label-wizard-footer>div{display:flex;align-items:center;gap:9px}.label-wizard-footer>div:first-child{min-width:0;align-items:start;flex-direction:column}.label-wizard-footer span{color:#72551f;font-size:.76rem;font-weight:800}.label-wizard-footer small{color:#78837e}.final-conference-with-labels{display:grid;gap:10px}.final-conference-label-link{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 16px 0;padding:11px 14px;border:1px solid #d9c28d;border-radius:12px;background:#fff9e9}.final-conference-label-link>div{display:grid;gap:2px}.final-conference-label-link span{color:#6e6b5f;font-size:.72rem}.final-conference-label-link a{flex:none;padding:8px 12px;border-radius:9px;background:#896820;color:var(--white);font-size:.76rem;font-weight:850;text-decoration:none}@media(max-width:980px){.label-profile-form{grid-template-columns:repeat(2,minmax(0,1fr))}.label-active-list article{grid-template-columns:70px minmax(180px,1fr) repeat(2,minmax(90px,.35fr))}.label-active-complement{grid-column:2 / -1}.label-wizard-preview{grid-template-columns:1fr}.label-wizard-preview aside{max-height:220px}}@media(max-width:720px){.label-template-selector,.labels-page-header,.label-wizard-footer,.final-conference-label-link{align-items:stretch;flex-direction:column}.label-physical-grid,.label-profile-form,.labels-filters,.label-wizard-data,.label-wizard-form{grid-template-columns:1fr}.label-field-wide{grid-column:auto}.label-wizard{width:100vw;height:100dvh;border-radius:0}.label-wizard-backdrop{padding:0}.label-wizard-steps button{padding:8px 5px;font-size:.68rem}.label-active-list article{grid-template-columns:1fr 1fr}.label-active-name,.label-active-complement{grid-column:1 / -1}}.initial-focus-label-state{min-height:320px;display:grid;place-content:center;justify-items:center;gap:12px;color:#72551f;text-align:center}.initial-focus-label-state.is-error{color:#a92720}.initial-focus-label-state span:not(.stage-ai-spinner){max-width:360px;color:#64748b;font-size:.78rem}.prescription-ai-settings{min-width:0}.prescription-ai-card{gap:22px;border-color:#e1d2b4;padding:22px;background:var(--white)}.prescription-ai-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.prescription-ai-header>div{display:grid;gap:5px}.prescription-ai-header span{color:#9a7a36;font-size:.68rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.prescription-ai-header h3{color:var(--sidebar-text-primary);font-size:1.2rem;letter-spacing:-.02em;text-transform:none}.prescription-ai-header p{max-width:720px;margin:0;color:#64748b;font-size:.8rem;line-height:1.5}.prescription-ai-provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.prescription-ai-provider-grid button{min-height:76px;display:flex;align-items:center;gap:12px;border:1px solid #e1e5eb;border-radius:12px;padding:12px;background:var(--white);color:#475467;text-align:left}.prescription-ai-provider-grid button:hover,.prescription-ai-provider-grid button.is-selected{border-color:#c79b4a;background:#fff8e8;color:#72551f}.prescription-ai-provider-grid button>span{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:var(--sidebar-text-primary);color:var(--white);font-size:.72rem;font-weight:900}.prescription-ai-provider-grid button.is-selected>span{background:#b98727}.prescription-ai-provider-grid strong{font-size:.9rem}.prescription-ai-config-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.prescription-ai-function-list{min-height:42px;display:flex;align-items:center;gap:8px;border:1px solid #dfe3e8;border-radius:10px;padding:7px 10px;background:var(--white)}.prescription-ai-function-list button{min-height:26px;display:inline-flex;align-items:center;border:1px solid #dfe3e8;border-radius:999px;padding:0 10px;background:var(--white);color:#667085;font-size:.72rem;font-weight:850;cursor:pointer}.prescription-ai-function-list button:hover{border-color:#d7b879;color:#72551f}.prescription-ai-function-list button.is-selected{border-color:#b98727;background:#fff8e8;color:#72551f;box-shadow:inset 0 0 0 1px #b987271f}.prescription-ai-form{display:grid;grid-template-columns:minmax(300px,1fr) 42px;gap:12px;align-items:end}.prescription-ai-clear-key{width:42px;height:42px}.prescription-ai-warning{margin:0;padding:10px 12px;border:1px solid #e8cf92;border-radius:9px;background:#fff8e8;color:#7a5714;font-size:.76rem;font-weight:700}@media(max-width:1180px){.initial-conference-focus-modal .weigher-focus-body{grid-template-columns:1fr;overflow-y:auto}.initial-conference-focus-modal .weigher-focus-sheet,.initial-conference-focus-modal .weigher-focus-prescription{overflow:visible}.initial-conference-focus-modal .weigher-focus-prescription.is-label-editing{overflow:hidden}}@media(max-width:1024px)and (min-width:901px){.initial-conf-setup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.initial-conf-setup-backdrop{place-items:start center;padding:12px}.initial-conf-setup{height:calc(100dvh - 24px);max-height:calc(100vh - 24px);border-radius:20px}.initial-conf-setup-header,.initial-conf-setup-grid,.initial-conf-setup-footer{padding-left:20px;padding-right:20px}.initial-conf-setup-grid,.initial-conf-triage-families,.initial-conf-triage-steps,.initial-conf-date-between,.prescription-ai-config-grid{grid-template-columns:1fr}.initial-conf-multi-field{min-height:0}.prescription-ai-form{grid-template-columns:minmax(0,1fr) 42px}.prescription-ai-form .field:first-child{grid-column:auto}.stage-queue-scope{order:2;width:100%;max-width:none}.initial-conference-focus-modal .stage-ai-conference{grid-template-columns:1fr}.weigher-focus-header-actions{align-items:stretch;flex-wrap:wrap}.initial-conference-basic-info{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.initial-conf-triage-subgroups,.initial-conf-triage-family>.initial-conf-choice-list{grid-template-columns:1fr}.initial-conf-family-picker,.initial-conf-parameter-picker-body,.initial-conf-activity-options,.initial-conf-filter-fields{grid-template-columns:1fr}.initial-conf-selected-parameters-header,.initial-conf-selected-activity,.initial-conf-parameter-picker>footer{align-items:stretch;flex-direction:column}.initial-conf-selected-activity button{width:100%}.initial-conf-add-parameter,.initial-conf-parameter-picker>footer .weigher-primary-button{width:100%}.initial-conf-parameter-picker-backdrop{padding:10px}.initial-conf-parameter-picker{max-height:calc(100vh - 20px);border-radius:15px}.initial-conf-parameter-picker>header,.initial-conf-parameter-picker-body,.initial-conf-parameter-picker>footer{padding-left:16px;padding-right:16px}.initial-conf-setup-footer{align-items:stretch;flex-direction:column}.initial-conf-setup-footer .weigher-primary-button,.initial-conf-setup-footer .weigher-secondary-button{width:100%}.initial-conf-setup-actions{align-items:stretch;flex-direction:column-reverse}.initial-focus-check-grid{grid-template-columns:1fr}.initial-conference-queue-header{align-items:flex-start}.initial-conference-basic-info{grid-template-columns:1fr}.weigher-focus-header{align-items:stretch;flex-direction:column}.weigher-focus-header-actions{justify-content:stretch}.weigher-focus-header-actions button{flex:1 1 auto}.weigher-focus-header-actions .initial-focus-close-button{flex:0 0 38px}.prescription-ai-provider-grid{grid-template-columns:1fr}.prescription-ai-form{grid-template-columns:minmax(0,1fr) 42px}.initial-focus-label-preview{min-height:230px}.stage-queue-scope{align-items:stretch;flex-direction:column}}.label-viewer{width:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:0;overflow:hidden;background:#f8f6f1}.label-viewer-toolbar{min-height:44px;display:flex;align-items:center;gap:8px;padding:6px 10px;border-bottom:1px solid #ded8cc;background:var(--white)}.label-viewer-toolbar button{min-width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border:1px solid #d7b879;border-radius:8px;background:#fffaf0;color:#72551f;font-weight:850}.label-viewer-toolbar button:hover{background:#f6ead1}.label-viewer-toolbar .label-viewer-reset{min-width:auto}.label-viewer-toolbar input[type=range]{width:min(150px,22vw);accent-color:#9a7a36}.label-viewer-toolbar strong{min-width:46px;color:#334155;font-size:.76rem;text-align:center}.label-viewer-toolbar>span{margin-left:auto;color:#64748b;font-size:.72rem;font-weight:700}.label-viewer-viewport{position:relative;min-height:0;overflow:hidden;display:grid;place-items:center;cursor:grab;touch-action:none;user-select:none;background:linear-gradient(45deg,#ece8df 25%,transparent 25%),linear-gradient(-45deg,#ece8df 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ece8df 75%),linear-gradient(-45deg,transparent 75%,#ece8df 75%),#f8f6f1;background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.label-viewer-viewport:active{cursor:grabbing}.label-viewer-document{width:100mm;height:40mm;flex:none;transform-origin:center;pointer-events:none;will-change:transform;background:var(--white);box-shadow:0 14px 32px #0f172a33}.label-viewer-document iframe{width:100mm;height:40mm;display:block;border:0;background:var(--white);pointer-events:none}.initial-focus-label-viewer{height:100%;min-height:320px}.weigher-label-viewer{height:100%;min-height:420px}.label-template-settings{display:grid;gap:18px}.label-template-settings .checklist-actionbar>div:first-child{display:grid;gap:4px}.label-template-settings .checklist-actionbar h2,.label-template-settings .checklist-actionbar p,.label-template-placeholders h3,.label-template-placeholders p{margin:0}.label-template-settings .checklist-actionbar p,.label-template-placeholders p{color:#64748b;font-size:.82rem}.label-template-settings-grid{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);gap:18px}.label-template-editor,.label-template-preview-panel,.label-template-placeholders{min-width:0;border:1px solid #e2e8f0;border-radius:16px;background:var(--white);box-shadow:0 8px 24px #0f172a0d}.label-template-editor{display:grid;align-content:start;gap:14px;padding:18px}.label-template-editor label{display:grid;gap:7px;color:#334155;font-size:.78rem;font-weight:800}.label-template-source{width:100%;min-height:480px;resize:vertical;border:1px solid #cbd5e1;border-radius:10px;padding:12px;background:#0f172a;color:#e2e8f0;font:.76rem/1.45 Consolas,Courier New,monospace;tab-size:2}.label-template-source:focus{outline:3px solid rgba(154,122,54,.18);border-color:#b08a3c}.label-template-file-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.label-template-file-actions span{color:#64748b;font-size:.72rem}.label-template-preview-panel{min-height:570px;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.label-template-preview-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e2e8f0}.label-template-preview-panel>header span{color:#9a7a36;font-size:.72rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.label-template-preview-panel>header strong{color:#334155;font-size:.8rem}.label-template-viewer{height:100%}.label-template-placeholders{display:grid;gap:8px;padding:18px}.label-template-placeholders>div{display:flex;flex-wrap:wrap;gap:8px}.label-template-placeholders>div>code{display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#72551f;font-size:.72rem}.label-template-placeholders code small{color:#64748b;font-family:inherit}@media(max-width:1100px){.label-template-settings-grid{grid-template-columns:1fr}}@media(max-width:640px){.label-viewer-toolbar{flex-wrap:wrap}.label-viewer-toolbar>span{width:100%;margin-left:0}.label-viewer-toolbar input[type=range]{flex:1 1 100px;width:auto}.initial-focus-label-viewer,.weigher-label-viewer{min-height:300px}.label-template-source{min-height:360px}}.logistics-page{display:grid;gap:16px}.logistics-box-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.logistics-box-card{display:grid;gap:4px;border:1px solid var(--line);border-radius:12px;padding:16px;background:var(--white);text-align:left;cursor:pointer;transition:border-color .14s ease,box-shadow .14s ease}.logistics-box-card:hover{border-color:#c79b4a;box-shadow:0 6px 18px #0f172a14}.logistics-box-card-name{color:var(--text-primary);font-size:20px;font-weight:800;line-height:1.15;text-transform:uppercase}.logistics-box-card-meta{color:var(--gold-primary);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.logistics-box-card-code{color:#0f172a;font-family:Courier New,monospace;font-size:15px;font-weight:700;letter-spacing:.06em}.logistics-box-card-counts{color:#64748b;font-size:.72rem;font-weight:700}.logistics-box-card-counts .num{font-size:.95rem;color:var(--text-primary)}.logistics-box-card-wrap{display:grid;gap:6px;border-radius:12px;padding:2px}.logistics-box-card-wrap.is-highlighted{outline:3px solid var(--gold-primary);outline-offset:2px;animation:logistics-box-pulse 1.2s ease-in-out 2}@keyframes logistics-box-pulse{0%,to{box-shadow:0 0 #c79b4a00}50%{box-shadow:0 0 0 8px #c79b4a40}}.logistics-box-print{justify-self:start}.logistics-labels-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;border:1px solid var(--line, #e8e5de);border-radius:12px;padding:12px 14px;background:var(--white, #fff)}.logistics-labels-bar div{display:grid;gap:2px}.logistics-labels-bar span{color:var(--muted, #6b7280);font-size:12px}.logistics-print-all{display:inline-flex;align-items:center;gap:10px;min-height:46px;border:0;border-radius:10px;padding:0 18px;background:var(--gold-primary, #b97800);color:#fff;font-size:15px;font-weight:800;cursor:pointer;box-shadow:0 4px 12px #b9780047;transition:filter .14s ease,transform .14s ease}.logistics-print-all:hover{filter:brightness(1.06);transform:translateY(-1px)}.logistics-print-icon{width:18px;height:18px;flex:0 0 auto;background:currentColor;-webkit-mask:center / contain no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 3h10v4H7zM5 9h14a2 2 0 0 1 2 2v6h-4v4H7v-4H3v-6a2 2 0 0 1 2-2zm4 8h6v4H9z'/></svg>");mask:center / contain no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 3h10v4H7zM5 9h14a2 2 0 0 1 2 2v6h-4v4H7v-4H3v-6a2 2 0 0 1 2-2zm4 8h6v4H9z'/></svg>")}.logistics-box-score{display:flex;flex-wrap:wrap;gap:14px;margin:10px 0 0;font-size:12px;font-weight:700;color:#64748b}.logistics-box-score .num{font-size:1.05rem;color:#0f172a;margin-right:4px}.logistics-box-score .is-missing,.logistics-box-score .is-missing .num{color:#b42318}.logistics-missing-list{max-height:180px;overflow-y:auto;margin:0 0 10px;padding-left:18px;font-size:12px;color:#4b5563}.logistics-close-confirm{max-width:520px}.logistics-close-box{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px}.logistics-close-box-hint{color:#15803d;font-size:12px;font-weight:700}.logistics-notice{margin:0 0 12px;border:1px solid #86efac;border-radius:10px;padding:10px 12px;background:#f0fdf4;color:#15803d;font-size:13px;font-weight:700}.logistics-popup{max-width:940px}.logistics-destination-popup{display:grid;gap:4px;justify-items:start;border-radius:9px;padding:12px 14px;border-left:4px solid}.logistics-destination-popup.is-ok{border-color:#0f172a40}.logistics-destination-popup.is-error{border-color:#a4262c;background:#fff3f3;color:#7f1d1d}.logistics-destination-popup strong{font-size:1.05rem;text-transform:uppercase;letter-spacing:.02em}.logistics-destination-popup span{font-size:.82rem;font-weight:700}.logistics-destination-popup button{margin-top:6px}.logistics-date-inputs{display:flex;flex-wrap:wrap;gap:10px}.logistics-date-inputs label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--muted, #6b7280)}.logistics-date-inputs input{min-height:40px;border:1px solid var(--line, #e8e5de);border-radius:8px;padding:6px 10px;background:var(--white, #fff);font-size:14px}.logistics-date-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.logistics-box-card-status{color:var(--muted, #6b7280);font-size:12px;font-weight:600}.logistics-romaneio-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}.logistics-romaneio-filter .num{margin-left:6px}.logistics-box-card-destination{display:flex;align-items:center;gap:6px;color:var(--text-primary)!important;text-transform:none!important;font-weight:600!important}.logistics-box-card-destination i{width:9px;height:9px;border-radius:50%;display:inline-block;flex-shrink:0}.logistics-box-label-destination{padding:4px 10px;border-radius:999px;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.logistics-box-label{display:grid;justify-items:center;gap:8px;border:1px dashed #cbd5e1;border-radius:10px;padding:14px;background:var(--white)}.logistics-box-label img{max-width:100%}.logistics-scan-result{display:grid;gap:3px;border-radius:9px;border-left:4px solid;padding:10px 12px}.logistics-scan-result.is-ok{border-color:#1f6b3f;background:#eefaf1;color:#14532d}.logistics-scan-result.is-error{border-color:#a4262c;background:#fff3f3;color:#7f1d1d}.logistics-scan-result strong{font-size:.95rem}.logistics-scan-result span{font-size:.8rem;font-weight:700}.sheet-dose-range{display:block;margin-top:2px;color:#64748b;font-size:.72rem;line-height:1.35}.sheet-dose-range.is-divergent{color:#b45309;font-weight:600}.sheet-dose-range strong{margin-right:4px;color:#b45309;font-weight:800}.weigher-post-hint{margin:0 0 8px;color:#64748b;font-size:.78rem;line-height:1.4}.stage-check-field-options{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.stage-check-field-option{border:1px solid #cbd5e1;border-radius:999px;padding:7px 14px;background:#fff;color:#334155;font-size:.82rem;font-weight:600;cursor:pointer}.stage-check-field-option:hover{border-color:#94a3b8}.stage-check-field-option.is-selected{border-color:#0f766e;background:#ccfbf1;color:#0f766e}.stage-check-field-number{display:flex;align-items:center;gap:8px;margin:8px 0}.stage-check-field-number input{max-width:160px}.stage-check-field-number span{color:#64748b;font-size:.82rem;font-weight:600}.stage-check-lot-status{display:block;margin-top:4px;color:#64748b;font-size:.72rem}.stage-check-lot-status.is-ok{color:#0f766e}.stage-check-lot-status.is-error{color:#b91c1c;font-weight:600}.stage-check-capsule-lot input.is-error{border-color:#b91c1c;background:#fef2f2}.stage-check-product-scan{display:grid;gap:4px;margin-top:10px}.stage-check-product-scan .stage-camera-button{justify-self:start;min-height:auto}.stage-hour-count{font-weight:800;opacity:.75}button.is-active .stage-hour-count{opacity:1}.stage-queue-time-panel.is-inline{display:flex;flex-wrap:wrap;align-items:center;gap:8px;position:static;border:0;padding:0;background:transparent;box-shadow:none}.stage-queue-time-icon{width:15px;height:15px;color:#64748b;flex:0 0 auto}.stage-queue-time-panel.is-inline{position:static;top:auto;right:auto;z-index:auto;max-width:none;flex:1 1 auto;min-width:0}.initial-conference-queue-tabs{padding-top:14px}.stage-queue-scope>.stage-queue-time-filter{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center}.stage-queue-time-filter>.stage-queue-time-icon{align-self:center;flex:0 0 auto}.stage-queue-time-panel.is-inline{flex-direction:row;align-items:center}.users-delete-button{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border:1px solid #fecaca;border-radius:8px;background:#fff;color:#b91c1c;font-size:.82rem;font-weight:700;cursor:pointer}.users-delete-button:hover{background:#fef2f2;border-color:#f87171}.users-delete-confirm{display:inline-flex;align-items:center;gap:8px;border:1px solid #fecaca;border-radius:8px;padding:5px 10px;background:#fef2f2;color:#7f1d1d;font-size:.8rem;font-weight:600}.users-delete-confirm-button{min-height:28px;padding:0 12px;border:0;border-radius:6px;background:#b91c1c;color:#fff;font-size:.8rem;font-weight:700;cursor:pointer}.users-delete-confirm-button:disabled{opacity:.6;cursor:default}.input-masked{-webkit-text-security:disc;letter-spacing:.35em}.users-row-actions{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}.users-row-confirm-label{color:#b91c1c;font-size:.78rem;font-weight:700;white-space:nowrap}@media(max-width:860px),(max-width:1366px)and (pointer:coarse){.shell,.shell.sidebar-is-collapsed,.shell.sidebar-is-expanded{--sidebar-width: 0px}.content-area{width:100%;margin-left:0;padding-top:78px}.mobile-menu-button{position:fixed;top:14px;left:14px;z-index:25;width:auto;max-width:min(310px,calc(100vw - 28px));min-height:48px;display:inline-flex;justify-content:flex-start;gap:10px;padding:6px 14px;border-color:#e7ddc8;border-radius:14px;box-shadow:0 8px 22px #0f172a1c}.mobile-menu-button>span{min-width:0;display:grid;text-align:left}.mobile-menu-button small{color:var(--text-secondary);font-size:9px;font-weight:800;letter-spacing:.05em;line-height:1.15;text-transform:uppercase}.mobile-menu-button strong{overflow:hidden;color:var(--text-primary);font-size:13px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.sidebar-overlay{z-index:40;background:#1018288f}.sidebar{top:50%;bottom:auto;left:50%;z-index:45;width:min(760px,calc(100vw - 32px));height:auto;max-height:calc(100vh - 32px);padding:0;overflow:hidden;border-radius:22px;opacity:0;pointer-events:none;transform:translate(-50%,-48%) scale(.97)}.sidebar-drawer-open .sidebar{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}.sidebar-header{display:none}.mobile-module-picker-head{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid var(--sidebar-border);background:var(--sidebar-background-soft)}.mobile-module-picker-head>div{display:grid;gap:1px}.mobile-module-picker-head span{color:var(--sidebar-gold-primary);font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.mobile-module-picker-head strong{color:var(--sidebar-text-primary);font-size:19px}.mobile-module-picker-head button{width:44px;height:44px;display:inline-grid;place-items:center;border:1px solid var(--sidebar-border);border-radius:12px;background:var(--white);color:var(--sidebar-text-secondary)}.mobile-module-picker-head svg{width:20px;height:20px}.sidebar-main{max-height:calc(100vh - 102px);padding:16px;gap:14px;overflow-y:auto}.sidebar-navigation{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;justify-items:stretch;gap:10px;padding:0}.sidebar-item,.sidebar-item-active,.shell.sidebar-is-expanded .sidebar-item,.shell.sidebar-is-expanded .sidebar-item-active{width:100%;height:auto;min-height:72px;justify-content:flex-start;gap:12px;padding:12px 14px;overflow:hidden;border:1px solid var(--sidebar-border);border-radius:14px;background:var(--white);color:var(--sidebar-text-primary)}.sidebar-item-active,.shell.sidebar-is-expanded .sidebar-item-active{border-color:#d6b56d;background:#fbf5e8;color:#6d5014;box-shadow:inset 4px 0 0 var(--sidebar-gold-primary)}.sidebar-item-icon,.sidebar-item-active .sidebar-item-icon{width:24px;height:24px;color:var(--sidebar-gold-primary)}.sidebar-item-copy{min-width:0;display:grid;gap:2px}.sidebar-item-label,.shell.sidebar-is-expanded .sidebar-item-label{display:block;color:inherit;font-size:13.5px;font-weight:800;line-height:1.25}.sidebar-item-copy>small{display:-webkit-box;overflow:hidden;color:var(--sidebar-text-secondary);font-size:10.5px;font-weight:500;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sidebar-item-tooltip,.shell.sidebar-is-collapsed .sidebar-item-tooltip{display:none}.sidebar-settings-section{margin-top:0;padding-top:14px}.sidebar-settings-section .sidebar-item{min-height:58px}}@media(max-width:560px){.sidebar-navigation{grid-template-columns:1fr}}@media(max-width:1180px)and (pointer:coarse){.label-wizard-preview{grid-template-columns:1fr}.label-history-toggle{width:max-content;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;border:1px solid #d8c28f;border-radius:11px;background:#fff9e9;color:#6d5014;font-weight:800}.label-history-toggle svg{width:19px;height:19px}.label-history-toggle strong{min-width:22px;padding:2px 6px;border-radius:999px;background:#896820;color:#fff;font-size:.7rem}.label-wizard-preview .label-version-panel{display:none;max-height:240px}.label-wizard-preview .label-version-panel.is-open{display:block}.stage-average-weight-control .weigher-field-grid-compact{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:560px){.stage-average-weight-control .weigher-field-grid-compact{grid-template-columns:1fr}}@media(min-width:761px)and (max-width:1180px){.initial-conference-focus-modal .weigher-focus-body{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:10px;overflow:hidden}.initial-conference-focus-modal .weigher-focus-body.is-label-editing{grid-template-columns:minmax(0,1fr)}.initial-conference-focus-modal .weigher-focus-sheet,.initial-conference-focus-modal .weigher-focus-prescription{min-width:0}.initial-conference-focus-modal .weigher-focus-sheet{overflow:auto}.initial-conference-focus-modal .weigher-focus-prescription{overflow:hidden}.initial-conference-focus-modal .weigher-focus-prescription-frame.image-viewer,.initial-conference-focus-modal .weigher-focus-prescription-frame.is-pdf{height:100%;min-height:0}}@media(min-width:761px)and (max-width:900px){.initial-conference-focus-modal .image-viewer__header{align-items:stretch;flex-direction:column}.initial-conference-focus-modal .image-viewer__controls{width:100%;justify-content:flex-start}}@media(min-width:761px)and (max-width:1366px)and (pointer:coarse){.shell-topbar{position:fixed;top:14px;right:14px;z-index:24;width:auto;margin:0}.shell-user-panel{width:auto;height:48px;flex-wrap:nowrap;gap:7px;padding:3px 7px;border-radius:14px}.shell-user-avatar{width:38px;height:38px;flex-basis:38px;border-radius:10px}.sidebar-item,.sidebar-item-active,.shell.sidebar-is-expanded .sidebar-item,.shell.sidebar-is-expanded .sidebar-item-active{min-height:108px;flex-direction:column;justify-content:center;gap:7px;padding:12px;text-align:center}.sidebar-item-icon,.sidebar-item-active .sidebar-item-icon{width:30px;height:30px}.sidebar-item-copy{justify-items:center}.sidebar-item-copy>small{text-align:center}}.separation-page{display:flex;flex-direction:column;gap:14px;padding:14px;max-width:780px;margin:0 auto}.separation-intro{margin:0;color:#475569;font-size:.95rem}.separation-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}.separation-weigher-card{display:flex;flex-direction:column;gap:2px;padding:16px;min-height:92px;border:1px solid #cbd5f5;border-radius:12px;background:var(--white);text-align:left;cursor:pointer}.separation-weigher-card strong{font-size:1.05rem;color:#0f172a}.separation-weigher-card>span{font-size:.78rem;color:#64748b}.separation-weigher-counts{display:flex;gap:14px;margin-top:8px;font-size:.8rem;color:#475569}.separation-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px}.separation-tabs button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line, #e8e5de);border-radius:10px;background:var(--white);color:#4b5563;font-size:14px;font-weight:600}.separation-tabs button.is-active{border-color:#b97800;background:#fff9ed;color:#9a6700}.separation-confirmed,.separation-error{margin:0 0 12px;border-radius:10px;padding:10px 12px;font-size:13px;font-weight:600}.separation-confirmed{border:1px solid #d7ebd4;background:#f3faf2;color:#3f7d32}.separation-error{border:1px solid #f0c2bd;background:#fef3f2;color:#b42318}.separation-requisitions{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.separation-requisitions li{display:grid;gap:4px;border:1px solid var(--line, #e8e5de);border-radius:10px;padding:12px 14px;background:var(--white)}.separation-requisitions li>div{display:flex;align-items:baseline;gap:8px}.separation-requisitions strong{font-size:15px;font-weight:700}.separation-requisitions small,.separation-requisitions span{color:var(--muted, #6b7280);font-size:13px}.separation-footer{position:sticky;bottom:0;z-index:2;margin-top:16px;padding:12px 0;background:linear-gradient(to top,var(--bg, #fcfbf8) 70%,transparent)}.separation-footer button{width:100%;min-height:48px;justify-content:center}.separation-header{display:flex;align-items:center;gap:12px;padding-bottom:10px;border-bottom:1px solid #e2e8f0}.separation-header>div{display:flex;flex-direction:column;flex:1;min-width:0}.separation-header strong{font-size:1rem;color:#0f172a}.separation-header span{font-size:.78rem;color:#64748b}.separation-progress{font-size:1.05rem;font-weight:700;color:#1f6b3f}.separation-actives{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}.separation-actives>li{border:1px solid #cbd5f5;border-radius:12px;background:var(--white);overflow:hidden}.separation-actives>li.is-picked{border-color:#86efac;background:#f0fdf4}.separation-active-toggle{display:flex;align-items:center;gap:12px;width:100%;padding:14px;border:0;background:transparent;text-align:left;cursor:pointer}.separation-check{display:grid;place-items:center;flex:0 0 auto;width:30px;height:30px;border:2px solid #94a3b8;border-radius:8px;font-size:1.1rem;font-weight:700;color:#15803d}.is-picked .separation-check{border-color:#22c55e;background:#dcfce7}.separation-active-name{display:flex;flex-direction:column;min-width:0}.separation-active-name strong{font-size:1rem;color:#0f172a}.separation-active-name small{font-size:.74rem;color:#64748b}.separation-workspace{align-items:start}@media(max-width:900px){.separation-workspace .weigher-group-list{max-height:34vh;overflow-y:auto}}.weigher-group-card.is-done{border-color:#86efac;background:#f0fdf4}.weigher-group-card.is-done em{color:#15803d;font-weight:700}.separation-active-quantity{margin-left:auto;flex:0 0 auto;font-size:.95rem;font-weight:700;color:#0f172a;white-space:nowrap}.separation-containers{border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px;background:var(--white)}.separation-containers h3{margin:0 0 8px;font-size:.82rem;text-transform:uppercase;letter-spacing:.05em;color:#64748b}.separation-containers ul{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}.separation-containers li{display:flex;flex-wrap:wrap;gap:8px;font-size:.85rem;color:#334155}.prog-page{display:flex;flex-direction:column;gap:16px}.prog-topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;background:var(--background-card);border:1px solid var(--border-light);border-radius:14px;padding:14px 18px;box-shadow:var(--shadow-soft)}.prog-topbar-title span{display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-secondary)}.prog-topbar-title h2{margin:2px 0 0;font-size:20px;color:var(--text-primary)}.prog-topbar-actions{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.prog-field{display:flex;flex-direction:column;gap:4px;font-size:11px;color:var(--text-secondary)}.prog-field span{letter-spacing:.04em;text-transform:uppercase}.prog-field input,.prog-field select{border:1px solid var(--border-light);border-radius:9px;padding:7px 10px;font-size:13px;color:var(--text-primary);background:var(--white);min-width:140px}.prog-field-wide input{min-width:230px}.prog-field input:focus,.prog-field select:focus{outline:none;border-color:var(--gold-border);box-shadow:var(--shadow-ring-gold)}.prog-refresh{border:1px solid var(--gold-border);background:var(--background-total);color:var(--gold-primary);border-radius:9px;padding:8px 14px;font-size:13px;font-weight:600;cursor:pointer}.prog-refresh:disabled{opacity:.6;cursor:default}.prog-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.prog-summary-card{background:var(--background-card);border:1px solid var(--border-light);border-radius:12px;padding:12px 14px;box-shadow:var(--shadow-soft)}.prog-summary-card span{display:block;font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--text-secondary)}.prog-summary-card strong{display:block;margin-top:4px;font-size:24px;color:var(--text-primary)}.prog-summary-card.is-danger{border-color:var(--danger-500);background:var(--danger-50)}.prog-summary-card.is-danger strong{color:var(--danger-700)}.prog-summary-card.is-warn{border-color:var(--warn-500);background:var(--warn-50)}.prog-summary-card.is-warn strong{color:var(--warn-700)}.prog-stage-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.prog-stage-card{background:var(--background-card);border:1px solid var(--border-light);border-radius:12px;padding:12px 14px;box-shadow:var(--shadow-soft);display:flex;flex-direction:column;gap:6px}.prog-stage-card-label{font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--gold-primary);font-weight:700}.prog-stage-card-count{font-size:22px;color:var(--text-primary);line-height:1}.prog-stage-card-count span{font-size:13px;color:var(--text-secondary);font-weight:500}.prog-stage-card-bar{height:6px;border-radius:999px;background:var(--border-light);overflow:hidden}.prog-stage-card-bar>div{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--gold-secondary),var(--gold-primary))}.prog-stage-card-pending{font-size:11px;color:var(--text-secondary)}.prog-table-wrap{background:var(--background-card);border:1px solid var(--border-light);border-radius:14px;box-shadow:var(--shadow-soft);overflow:auto;max-height:62vh}.prog-table{width:100%;border-collapse:collapse;font-size:13px}.prog-table thead th{position:sticky;top:0;z-index:1;background:var(--background-soft);color:var(--text-secondary);font-size:11px;letter-spacing:.05em;text-transform:uppercase;text-align:left;padding:10px 12px;border-bottom:1px solid var(--border-light);white-space:nowrap}.prog-table thead th.prog-stage-col{text-align:center;color:var(--gold-primary)}.prog-table tbody td{padding:9px 12px;border-bottom:1px solid var(--border-light);color:var(--text-primary);vertical-align:middle}.prog-table tbody tr:hover td{background:var(--background-soft)}.prog-table tbody tr.is-overdue td{background:var(--danger-50)}.prog-table tbody tr.is-rejected td{opacity:.65;text-decoration:line-through}.prog-code strong{font-variant-numeric:tabular-nums}.prog-tag{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.prog-tag.is-priority{background:var(--warn-50);color:var(--warn-700);border:1px solid var(--warn-500)}.prog-tag.is-late{background:var(--danger-50);color:var(--danger-700);border:1px solid var(--danger-500)}.prog-step{color:var(--text-secondary);white-space:nowrap}.prog-muted{color:var(--ink-subtle);font-style:italic}.prog-cell{text-align:center;white-space:nowrap}.prog-cell.is-pending{color:var(--ink-subtle)}.prog-cell.is-done{background:var(--ok-50)}.prog-cell-who{display:inline-block;min-width:26px;padding:1px 6px;border-radius:999px;background:var(--ok-500);color:var(--white);font-size:10px;font-weight:700;letter-spacing:.04em}.prog-cell-when{display:block;margin-top:2px;font-size:10px;color:var(--ok-700)}.prog-empty{text-align:center;padding:26px 12px;color:var(--text-secondary)}.prog-footnote{margin:0;font-size:11px;color:var(--text-secondary)}
