.dev-banner{position:sticky;top:0;z-index:9999;background:#9a3412;color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:13px;border-bottom:2px solid #7c2d12;box-shadow:0 2px 6px #7c2d1259}.dev-banner-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 16px;flex-wrap:wrap}.dev-banner-label{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.dev-banner-label strong{font-weight:700}.dev-banner-divider{opacity:.6}.dev-banner-user{background:#fff3;padding:2px 8px;border-radius:4px}.dev-banner-roles{color:#ffffffeb}.dev-banner-toggle{background:#ffffff2e;color:#fff;border:1px solid rgba(255,255,255,.45);padding:4px 12px;font-size:13px;font-weight:600;border-radius:4px;cursor:pointer}.dev-banner-toggle:hover{background:#ffffff4d}.dev-banner-toggle:focus-visible{outline:2px solid #ffffff;outline-offset:2px}.dev-banner-list{list-style:none;margin:0;padding:0;background:#7c2d12;border-top:1px solid rgba(255,255,255,.2)}.dev-banner-list-item:focus-visible{outline:2px solid #ffffff;outline-offset:-2px}.dev-banner-list-item{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 16px;background:transparent;color:#fff;border:none;border-bottom:1px solid rgba(255,255,255,.1);font-size:13px;text-align:left;cursor:pointer}.dev-banner-list-item:hover{background:#ffffff1a}.dev-banner-list-item-active{background:#ffffff26;font-weight:600}.dev-banner-list-item-active:before{content:"✓ "}.dev-banner-list-name{font-weight:600}.dev-banner-list-meta{font-size:11px;opacity:.85}.workflow-feature{--wf-bg: var(--color-bg);--wf-surf: var(--color-surface);--wf-brd: var(--color-border);--wf-txt: var(--color-text);--wf-muted: var(--color-text-muted);--wf-accent: var(--color-primary);--wf-accent-bg: #eef1e8;--wf-warning: var(--color-warning);height:100%;min-height:0;border:1px solid var(--color-border-strong);border-radius:8px;box-shadow:var(--shadow-soft);color:var(--wf-txt)}.workflow-feature.app-page{margin:0;max-width:100%}.workflow-feature .page,.workflow-feature.page{display:flex}.workflow-feature #wf-filters,.workflow-feature #mwf-filters,.workflow-feature #mdt-filters,.workflow-feature #gdk-filters,.workflow-feature #sod-filters,.workflow-feature #udvp-filters{width:220px;flex-shrink:0;overflow-y:auto;padding:16px 0 20px;background:var(--wf-surf);border-right:1px solid var(--wf-brd)}.workflow-feature #sod-filters{width:236px}.workflow-feature .fsec{margin-bottom:20px}.workflow-feature .fsec-title{padding:0 12px 8px;color:var(--wf-muted);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.workflow-feature .fchip,.workflow-feature .sod-dot-btn{display:block;width:calc(100% - 20px);min-height:36px;margin:0 10px 4px;padding:8px 12px;border:1px solid var(--wf-brd);border-radius:4px;background:var(--wf-surf);color:var(--wf-txt);cursor:pointer;font-size:14px;line-height:1.35;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workflow-feature .fchip:hover,.workflow-feature .sod-dot-btn:hover{background:var(--wf-bg)}.workflow-feature .fchip.active,.workflow-feature .sod-dot-btn.active{background:var(--wf-accent-bg);border-color:var(--wf-accent);color:var(--wf-accent)}.workflow-feature .mdt-select{display:block;width:calc(100% - 24px);margin:0 12px;padding:6px 8px;font-size:12px;border:1px solid #d1d5db;border-radius:5px;background:#fff;color:#374151;cursor:pointer;outline:none}.workflow-feature .mdt-select:focus{border-color:var(--wf-accent)}.workflow-feature .fchip-step{white-space:normal;overflow:visible;line-height:1.4}.workflow-feature #wf-content,.workflow-feature #mwf-content,.workflow-feature #mdt-content,.workflow-feature #gdk-content,.workflow-feature #sod-content,.workflow-feature #udvp-content{flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden}.workflow-feature #wf-search-wrap,.workflow-feature #mwf-search-wrap,.workflow-feature #mdt-search-wrap,.workflow-feature #gdk-search-wrap,.workflow-feature #udvp-search-wrap{display:flex;flex-shrink:0;flex-direction:row;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid var(--wf-brd)}.workflow-feature .wf-reset-btn{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:7px 12px;font-size:13px;font-family:inherit;font-weight:600;white-space:nowrap;flex-shrink:0;background:#fff7ed;border:1px solid #fb923c;border-radius:6px;color:#c2410c;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.workflow-feature .wf-reset-btn:hover{background:#fef2f2;border-color:#ef4444;color:#b91c1c}.workflow-feature #wf-search,.workflow-feature #mwf-search,.workflow-feature #mdt-search,.workflow-feature #gdk-search,.workflow-feature #udvp-search{display:flex;align-items:center;gap:8px;flex:1;min-height:40px;padding:8px 12px;border:1px solid var(--wf-brd);border-radius:6px;background:var(--wf-bg)}.workflow-feature #wf-search input,.workflow-feature #mwf-search input,.workflow-feature #mdt-search input,.workflow-feature #gdk-search input,.workflow-feature #udvp-search input{width:100%;border:none;outline:none;background:transparent;color:var(--wf-txt);font-size:14px}.workflow-feature #wf-search-clear,.workflow-feature #mwf-search-clear,.workflow-feature #mdt-search-clear,.workflow-feature #gdk-search-clear,.workflow-feature #kf-clear-btn,.workflow-feature #udvp-search-clear{border:none;background:transparent;color:var(--wf-muted);cursor:pointer;line-height:1}.workflow-feature #wf-top,.workflow-feature #mwf-top{display:flex;flex-shrink:0;height:224px;border-bottom:1px solid var(--wf-brd)}.workflow-feature #mdt-table-area,.workflow-feature #gdk-table-area,.workflow-feature #udvp-table-area{flex:1;display:flex;overflow:hidden}.workflow-feature .kpi-blk{flex-shrink:0;display:flex;flex-direction:column;justify-content:center;padding:16px 12px 12px;border-bottom:1px solid var(--wf-brd)}.workflow-feature .kpi-lbl{margin-bottom:6px;color:var(--wf-muted);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.workflow-feature .kpi-val{color:var(--wf-txt);font-size:34px;font-weight:600;letter-spacing:-.03em;line-height:1}.workflow-feature .data-col{flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden;border-right:1px solid var(--wf-brd)}.workflow-feature .data-col:last-child{border-right:none}.workflow-feature .tbl-scroll{flex:1;overflow:auto;min-width:0;scrollbar-gutter:stable}.workflow-feature .col-hdr{display:flex;flex-shrink:0;position:sticky;top:0;z-index:1;min-width:max-content;background:var(--wf-bg);border-bottom:1px solid var(--wf-brd)}.workflow-feature .hdr-cell{padding:9px 10px;border-right:1px solid var(--wf-brd);color:var(--wf-muted);cursor:pointer;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;-webkit-user-select:none;user-select:none;white-space:nowrap;overflow:hidden}.workflow-feature .hdr-cell:hover{background:var(--color-border);color:var(--wf-txt)}.workflow-feature .hdr-cell.sort-asc:after{content:"▲";margin-left:4px}.workflow-feature .hdr-cell.sort-desc:after{content:"▼";margin-left:4px}.workflow-feature .data-rows{min-width:max-content}.workflow-feature .data-row{display:flex;min-height:40px;min-width:max-content;border-bottom:1px solid var(--wf-brd);cursor:pointer}.workflow-feature .data-row:hover{background:var(--wf-bg)}.workflow-feature .data-row.selected{box-shadow:inset 2px 0 0 var(--wf-accent);background:var(--wf-accent-bg)}.workflow-feature .d-cell{align-self:center;padding:8px 10px;border-right:1px solid var(--wf-brd);color:var(--wf-txt);font-size:13.5px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workflow-feature .d-cell:last-child,.workflow-feature .hdr-cell:last-child{border-right:none}.workflow-feature #mdt-table-area .d-cell:last-child,.workflow-feature #mdt-table-area .hdr-cell:last-child,.workflow-feature #gdk-table-area .d-cell:last-child,.workflow-feature #gdk-table-area .hdr-cell:last-child{border-right:1px solid var(--wf-brd)}.workflow-feature .d-blue{color:var(--wf-accent);font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.workflow-feature .d-link{cursor:pointer;text-decoration:underline;text-underline-offset:2px}.workflow-feature .d-muted{color:var(--wf-muted)}.workflow-feature .d-overdue{color:var(--color-danger)!important;font-weight:700}.workflow-feature .d-closed{opacity:.48}.workflow-feature .d-closed .d-cell{text-decoration:line-through}.workflow-feature .d-wrap{white-space:normal;overflow:visible;text-overflow:unset;line-height:1.4}.workflow-feature .d-chk-cell{display:flex;align-items:center;justify-content:center;text-decoration:none!important}.workflow-feature .wf-chk{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;flex-shrink:0;border:1.5px solid #9ca3af;border-radius:2px}.workflow-feature .wf-chk.wf-chk-on{background:#3d4a2a;border-color:#3d4a2a}.workflow-feature .wf-chk.wf-chk-reject{background:#dc2626;border-color:#dc2626}.workflow-feature .loader{display:flex;align-items:center;gap:8px;padding:14px 12px;color:var(--wf-muted);font-size:13.5px}.workflow-feature .spinner{width:14px;height:14px;flex-shrink:0;border:2px solid var(--wf-brd);border-top-color:var(--wf-accent);border-radius:999px;animation:spin .7s linear infinite}.workflow-feature #wf-chart-wrap,.workflow-feature #mwf-chart-wrap{flex:1;display:flex;flex-direction:column;min-height:0;padding:16px 18px 12px;overflow:auto}.workflow-feature .chart-title{flex-shrink:0;margin-bottom:12px;color:var(--wf-muted);font-size:12px;font-weight:700;letter-spacing:.08em;text-align:center;text-transform:uppercase}.workflow-feature .chart-outer{flex:1;min-height:320px}.workflow-feature .wf-simple-bar-chart{display:grid;grid-template-rows:minmax(260px,1fr) auto;height:100%;min-width:780px}.workflow-feature .wf-simple-bar-plot{display:grid;grid-auto-columns:minmax(32px,1fr);grid-auto-flow:column;align-items:end;gap:8px;padding:10px 8px 0;border-left:1px solid var(--wf-brd);border-bottom:1px solid var(--wf-brd)}.workflow-feature .wf-simple-bar-item,.workflow-feature .wf-simple-bar-label{border:none;background:transparent;color:var(--wf-muted);cursor:pointer}.workflow-feature .wf-simple-bar-item:disabled,.workflow-feature .wf-simple-bar-label:disabled{cursor:default}.workflow-feature .wf-simple-bar-item{position:relative;display:flex;align-items:end;justify-content:center;height:100%;min-height:0;padding:0}.workflow-feature .wf-simple-bar{width:100%;max-width:34px;min-height:2px;border-radius:4px 4px 0 0}.workflow-feature .wf-simple-bar-value{position:absolute;bottom:calc(100% + 4px);display:none;color:var(--wf-txt);font-size:11px;font-weight:700}.workflow-feature .wf-simple-bar-item:hover .wf-simple-bar-value{display:block}.workflow-feature .wf-simple-bar-labels{display:grid;grid-auto-columns:minmax(32px,1fr);grid-auto-flow:column;gap:8px;padding-top:8px}.workflow-feature .wf-simple-bar-label{writing-mode:vertical-rl;transform:rotate(180deg);max-height:130px;padding:0;font-size:10px;line-height:1.2;text-align:left}.workflow-feature .wf-simple-line-chart{width:100%;height:100%;overflow:visible}.workflow-feature .wf-simple-line-chart line{stroke:var(--wf-brd)}.workflow-feature .wf-simple-line-chart path{fill:none;stroke:var(--color-primary);stroke-width:2.5}.workflow-feature .wf-simple-line-chart circle{fill:var(--color-primary)}.workflow-feature .wf-simple-line-chart text{fill:var(--wf-muted);font-size:10px}.workflow-feature #page-kf-lookup,.workflow-feature#page-kf-lookup{background:var(--wf-bg);overflow-y:auto}.workflow-feature #kf-hero{flex-shrink:0;padding:42px 32px 52px;background:linear-gradient(135deg,#2a3020b8,#3d4a2ab8)}.workflow-feature #kf-hero-inner{position:relative;max-width:680px;margin:0 auto}.workflow-feature #kf-hero-title{display:flex;align-items:center;gap:10px;margin-bottom:6px;color:var(--color-surface);font-size:24px;font-weight:700}.workflow-feature #kf-hero-sub{margin-bottom:24px;color:#ffffffc7;font-size:14px}.workflow-feature #kf-search-wrap{position:relative;display:flex;align-items:center;gap:10px}.workflow-feature #kf-search-box{flex:1;display:flex;align-items:center;gap:10px;padding:12px 16px;border:2px solid transparent;border-radius:8px;background:#fffffff7;box-shadow:0 4px 20px #0000002e}.workflow-feature #kf-input{flex:1;border:none;outline:none;background:transparent;color:var(--wf-txt);font-size:15.5px;font-weight:500}.workflow-feature #kf-search-btn{display:flex;align-items:center;gap:7px;flex-shrink:0;padding:13px 20px;border:none;border-radius:8px;background:var(--color-surface);color:var(--wf-accent);cursor:pointer;font-size:14px;font-weight:700;white-space:nowrap}.workflow-feature #kf-suggestions{position:absolute;top:calc(100% + 6px);left:0;right:100px;z-index:10;display:none;overflow:hidden;border:1px solid var(--wf-brd);border-radius:8px;background:var(--color-surface);box-shadow:0 8px 32px #00000029}.workflow-feature #kf-suggestions.open{display:block}.workflow-feature .kf-sug-item{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid var(--wf-brd);cursor:pointer}.workflow-feature .kf-sug-item:hover{background:var(--wf-bg)}.workflow-feature .kf-sug-no,.workflow-feature .kf-card-po,.workflow-feature .kf-style-no{color:var(--wf-accent);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:700}.workflow-feature .kf-sug-meta{color:var(--wf-muted);font-size:12px;text-align:right}.workflow-feature #kf-results-area{width:100%;max-width:1200px;margin:0 auto;padding:28px 32px 36px}.workflow-feature #kf-summary{display:flex;align-items:center;gap:0;margin-bottom:22px;padding:16px 22px;border:1px solid var(--wf-brd);border-radius:8px;background:var(--color-surface)}.workflow-feature .kf-sum-kf{flex:1}.workflow-feature .kf-sum-label,.workflow-feature .kf-sum-stat-lbl{color:var(--wf-muted);font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.workflow-feature .kf-sum-val{color:var(--wf-accent);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:22px;font-weight:700}.workflow-feature .kf-sum-vendor{color:var(--wf-muted);font-size:13px}.workflow-feature .kf-sum-divider{width:1px;height:44px;margin:0 24px;background:var(--wf-brd)}.workflow-feature .kf-sum-stat{min-width:80px;text-align:center}.workflow-feature .kf-sum-stat-val{color:var(--wf-txt);font-size:28px;font-weight:700;line-height:1}.workflow-feature #kf-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.workflow-feature .kf-po-card{overflow:hidden;border:1px solid var(--wf-brd);border-radius:8px;background:var(--color-surface)}.workflow-feature .kf-card-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:var(--wf-accent)}.workflow-feature .kf-card-header .kf-card-po{color:var(--color-surface)}.workflow-feature .kf-style-row{display:flex;align-items:center;gap:0;padding:8px 16px;border-bottom:1px solid var(--wf-brd)}.workflow-feature .kf-style-no{min-width:90px;flex-shrink:0;font-size:12.5px}.workflow-feature .kf-style-desc{flex:1;overflow:hidden;color:var(--wf-txt);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.workflow-feature .kf-no-result{padding:48px 0;color:var(--wf-muted);font-size:13.5px;text-align:center}.workflow-feature .so-grid,.workflow-feature #sod-so-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:0 6px 6px}.workflow-feature .so-chip{display:flex;align-items:center;gap:4px;min-height:32px;padding:6px 8px;overflow:hidden;border:1px solid var(--wf-brd);border-radius:3px;background:var(--wf-surf);color:var(--wf-txt);cursor:pointer;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12.5px;text-overflow:ellipsis;white-space:nowrap}.workflow-feature .so-chip.selected{background:var(--wf-accent-bg);border-color:var(--wf-accent);color:var(--wf-accent)}.workflow-feature .so-dot{width:6px;height:6px;flex-shrink:0;border-radius:999px}.workflow-feature .so-dot.overdue{background:var(--color-danger)}.workflow-feature .so-dot.ok{background:var(--color-success)}.workflow-feature #sod-info-cards{display:grid;grid-template-columns:repeat(5,1fr);flex-shrink:0;min-height:92px;max-height:152px;border-bottom:1px solid var(--wf-brd)}.workflow-feature .sod-card{padding:12px 14px;overflow-y:auto;border-right:1px solid var(--wf-brd)}.workflow-feature .sod-card-title{margin-bottom:5px;color:var(--wf-muted);font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.workflow-feature .sod-card-items{display:flex;flex-wrap:wrap;gap:3px}.workflow-feature .sod-tag,.workflow-feature .sod-tag-plain{color:var(--wf-accent);font-size:12px}.workflow-feature .sod-tag{padding:3px 7px;border:1px solid var(--wf-brd);border-radius:3px;background:var(--wf-bg);font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.workflow-feature .sod-empty-val,.workflow-feature .sod-status-closed{color:var(--wf-muted);font-size:12px}.workflow-feature .sod-status-open{display:flex;align-items:center;gap:5px;color:var(--color-danger);font-size:12px}.workflow-feature .sod-dot-legend{display:flex;flex-direction:column;gap:2px;padding:2px 8px 7px}.workflow-feature .sod-dot-btn{display:flex;align-items:center;gap:7px}@media(max-width:900px){.workflow-feature{height:auto;min-height:70vh}.workflow-feature#page-workflow,.workflow-feature#page-model-workflow,.workflow-feature#page-modtagelse,.workflow-feature#page-godkendelse,.workflow-feature#page-so-detail{flex-direction:column!important}.workflow-feature #wf-filters,.workflow-feature #mwf-filters,.workflow-feature #mdt-filters,.workflow-feature #gdk-filters,.workflow-feature #sod-filters{width:100%;max-height:220px;border-right:none;border-bottom:1px solid var(--wf-brd)}.workflow-feature #wf-top,.workflow-feature #mwf-top,.workflow-feature #sod-info-cards{height:auto;grid-template-columns:1fr}}.workflow-shell{display:flex;flex-direction:column;gap:14px;width:100%;height:calc(100vh - 106px);min-height:0}.workflow-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:8px;background:var(--color-surface, var(--color-surface));border:1px solid var(--color-border, var(--color-border));border-radius:8px;box-shadow:var(--shadow-soft, 0 1px 2px rgba(0,0,0,.04));flex-shrink:0}.workflow-tab{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:8px 14px;border-radius:8px;font-size:14px;font-weight:600;color:var(--color-text-muted);text-decoration:none;transition:background .15s ease,color .15s ease}.workflow-tab:hover{background:var(--color-surface-muted);color:var(--color-text)}.workflow-tab-active,.workflow-tab-active:hover{background:var(--color-primary);color:var(--color-surface)}.workflow-tab-content{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}.workflow-export-btn{margin-left:auto;display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:8px 14px;border:none;border-radius:6px;background:#16a34a;color:#fff;cursor:pointer;flex-shrink:0;font-family:inherit;font-size:13px;font-weight:700}.workflow-export-btn:hover{background:#15803d}.workflow-feature .wf-chk-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;padding:0;background:transparent;border:0;cursor:pointer}.workflow-feature .wf-chk-btn:hover:not(:disabled) .wf-chk{border-color:var(--wf-accent);background:#7a9a5214}.workflow-feature .wf-chk-btn:focus-visible{outline:none}.workflow-feature .wf-chk-btn:focus-visible .wf-chk{outline:2px solid var(--wf-accent);outline-offset:2px}.workflow-feature .wf-chk-btn-disabled,.workflow-feature .wf-chk-btn:disabled{cursor:not-allowed;opacity:.5}.workflow-feature .wf-action-error{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px;padding:8px 12px;border-radius:6px;background:var(--color-danger-soft);border:1px solid rgba(220,38,38,.3);color:var(--color-danger);font-size:13px}.workflow-feature .wf-action-error button{background:transparent;border:none;color:inherit;font-size:18px;line-height:1;cursor:pointer;padding:0 4px}:root{--font-sans: "DM Sans", "Segoe UI", sans-serif;--font-mono: "SFMono-Regular", "Consolas", monospace;--color-bg: #f4f5f7;--color-surface: #ffffff;--color-surface-muted: #f8fafc;--color-surface-subtle: #fafbfc;--color-border: #e5e7eb;--color-border-strong: rgba(15, 23, 42, .12);--color-border-subtle: rgba(148, 163, 184, .22);--color-text: #111827;--color-text-muted: #6b7280;--color-text-subtle: #94a3b8;--color-primary: #3d4a2a;--color-primary-strong: #2f3a20;--color-primary-soft: #eef1e8;--color-primary-on: #ffffff;--color-success: #15803d;--color-success-soft: #dcfce7;--color-warning: #d97706;--color-warning-soft: #fef3c7;--color-danger: #dc2626;--color-danger-soft: #fee2e2;--color-info: #0d9488;--color-info-soft: #ccfbf1;--radius-sm: 4px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px;--radius-2xl: 20px;--radius-pill: 999px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);--shadow-soft: 0 10px 28px rgba(15, 23, 42, .06);--shadow-card: 0 18px 40px rgba(15, 23, 42, .06);--shadow-pop: 0 24px 56px rgba(15, 23, 42, .12);--fs-xs: .72rem;--fs-sm: .8rem;--fs-base: .9rem;--fs-md: 1rem;--fs-lg: 1.05rem;--fs-xl: 1.18rem;--fs-2xl: 1.42rem;--fs-3xl: 1.72rem;--fw-regular: 400;--fw-medium: 500;--fw-semibold: 600;--fw-bold: 700;--fw-extrabold: 800;--control-sm: 30px;--control-md: 34px;--control-lg: 38px;--focus-ring: 0 0 0 3px rgba(61, 74, 42, .18)}*{box-sizing:border-box}html{font-size:16px}html,body,#root{min-height:100%;margin:0}body{background:var(--color-bg);color:var(--color-text);font-family:var(--font-sans);line-height:1.5}button,input,textarea,select{font:inherit}button{border:0}a{color:inherit}img{max-width:100%;display:block}.app-loading,.app-empty-state{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--color-text-muted)}.app-loading-fullpage,.app-empty-state{min-height:100vh;flex-direction:column;text-align:center}.app-spinner{width:20px;height:20px;border-radius:var(--radius-pill);border:2px solid var(--color-primary-soft);border-top-color:var(--color-primary);animation:spin .8s linear infinite}.app-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172a73;z-index:1000}.app-modal{width:min(1180px,calc(100vw - 40px));max-height:calc(100vh - 48px);overflow:auto;border-radius:24px;background:var(--color-surface);border:1px solid var(--color-border-strong);box-shadow:0 24px 64px #0f172a2e}.app-modal.confirm-dialog-modal{width:min(440px,calc(100vw - 32px));border-radius:16px;overflow:hidden}.confirm-dialog{padding:22px;display:grid;gap:16px}.confirm-dialog-icon{width:42px;height:42px;border-radius:8px;display:grid;place-items:center;font-weight:800}.confirm-dialog-icon-default{background:var(--color-primary-soft);color:var(--color-primary)}.confirm-dialog-icon-danger{background:var(--color-danger-soft);color:var(--color-danger)}.confirm-dialog-copy h2{margin:0;font-size:1.05rem;font-weight:700}.confirm-dialog-copy p{margin:8px 0 0;color:var(--color-text-muted);line-height:1.5}.confirm-dialog-actions{display:flex;justify-content:flex-end;gap:10px}.confirm-dialog-secondary,.confirm-dialog-primary{height:40px;padding:0 16px;border-radius:8px;cursor:pointer;font-weight:600}.confirm-dialog-secondary{border:1px solid var(--color-border-strong);background:var(--color-surface);color:var(--color-text)}.confirm-dialog-primary{border:1px solid var(--color-primary);background:var(--color-primary);color:var(--color-primary-on)}.confirm-dialog-primary-danger{border-color:var(--color-danger);background:var(--color-danger)}.confirm-dialog-secondary:disabled,.confirm-dialog-primary:disabled{opacity:.65;cursor:not-allowed}.shell-root{display:flex;min-height:100vh}.shell-root-embedded{display:block}.shell-content-embedded{padding:12px 16px 18px}.shell-root-embedded .app-page{margin:0 auto}.shell-root-embedded .sales-report-hero,.shell-root-embedded .workflow-tabs{top:0}.shell-sidebar{width:240px;height:100vh;position:sticky;top:0;background:var(--color-surface);border-right:1px solid var(--color-border);display:flex;flex-direction:column;flex-shrink:0;overflow-y:auto;overflow-x:hidden;transition:width .2s ease}.shell-sidebar-collapsed{width:64px}.shell-sidebar-collapsed .shell-logo{max-width:32px}.shell-sidebar-collapsed .shell-nav-item,.shell-sidebar-collapsed .shell-logout{grid-template-columns:30px;justify-content:center;padding:10px 0;justify-items:center}.shell-sidebar-collapsed .shell-nav{padding:12px 6px}.shell-sidebar-collapsed .shell-nav-label{display:none}.shell-sidebar-top{padding:14px;border-bottom:1px solid rgba(148,163,184,.18)}.shell-brand{display:flex;align-items:center;justify-content:center;width:100%;background:transparent;cursor:pointer}.shell-logo{height:40px;width:100%;max-width:152px;margin:0 auto;object-fit:contain}.shell-nav{display:flex;flex-direction:column;gap:4px;padding:10px 8px}.shell-nav-item,.shell-logout,.shell-nav-disabled{width:100%;display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:9px;padding:8px 10px;border-radius:10px;text-decoration:none;color:var(--color-text);background:transparent;text-align:left;transition:background .12s ease,transform .12s ease}.shell-nav-item:hover,.shell-logout:hover{background:#0206170d;transform:translateY(-1px)}.shell-nav-item-active{background:var(--color-primary-soft);color:var(--color-primary-strong)}.shell-nav-item-collapsed{grid-template-columns:30px;justify-items:center;padding:8px 0}.shell-nav-disabled{opacity:.45;cursor:default}.shell-nav-icon{width:28px;height:28px;border-radius:8px;background:#94a3b824;display:grid;place-items:center;color:#334155f2}.shell-nav-item-active .shell-nav-icon,.shell-nav-item-active .shell-nav-label{color:var(--color-primary-strong)}.shell-nav-label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--color-text)}.shell-nav-group{display:flex;flex-direction:column}.shell-nav-group-toggle{cursor:pointer}.shell-nav-chevron{display:grid;place-items:center;color:var(--color-text-muted);transition:transform .22s cubic-bezier(.22,1,.36,1)}.shell-nav-chevron-open{transform:rotate(180deg)}.shell-nav-group-children{display:flex;flex-direction:column;gap:2px;padding:4px 0 4px 38px;position:relative}.shell-nav-group-children:before{content:"";position:absolute;left:22px;top:6px;bottom:6px;width:1px;background:#94a3b84d}.shell-nav-subitem{display:flex;align-items:center;padding:7px 12px;border-radius:8px;color:var(--color-text);text-decoration:none;font-size:12.5px;transition:background .12s ease,color .12s ease}.shell-nav-subitem:hover{background:#0206170d}.shell-nav-subitem-active{background:var(--color-primary-soft);color:var(--color-primary-strong);font-weight:600}.shell-pill{font-size:11px;padding:2px 8px;border-radius:var(--radius-pill);border:1px solid rgba(148,163,184,.35);background:#94a3b81a;color:var(--color-text-muted)}.shell-sidebar-bottom{margin-top:auto;padding:8px;border-top:1px solid rgba(148,163,184,.18)}.shell-logout{cursor:pointer}.shell-collapse-btn{width:100%;margin-top:8px;padding:8px 0;border-radius:10px;background:#94a3b81f;border:1px solid rgba(148,163,184,.25);color:var(--color-text);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:500;transition:background .12s ease,border-color .12s ease}.shell-collapse-btn:hover{background:#94a3b838;border-color:#94a3b866}.shell-main{flex:1;min-width:0}.shell-topbar{height:60px;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;background:var(--color-surface);border-bottom:1px solid var(--color-border)}.shell-topbar-left,.shell-topbar-right{display:flex;align-items:center;gap:8px}.shell-search{width:min(500px,56vw);display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:12px;border:1px solid rgba(148,163,184,.4);background:#94a3b81a}.shell-search input{width:100%;border:none;outline:none;background:transparent}.shell-icon-button,.shell-avatar{width:34px;height:34px;border-radius:10px;border:1px solid var(--color-border);background:#94a3b814;display:grid;place-items:center;color:var(--color-text);cursor:pointer}.shell-avatar{border-radius:var(--radius-pill);background:var(--color-primary-soft);color:var(--color-primary-strong);font-weight:700}.shell-date-pill{padding:5px 10px;border-radius:10px;border:1px solid rgba(148,163,184,.22);background:#94a3b814;color:var(--color-text-muted);font-size:12px}.shell-content{padding:14px 20px 20px}.shell-content:has(.workflow-feature){padding:8px}.app-page{width:100%;max-width:1920px;margin:10px auto;box-sizing:border-box}.card-surface{border-radius:var(--radius-xl);border:1px solid var(--color-border-strong);background:var(--color-surface);box-shadow:var(--shadow-card)}.card-surface-soft{border-radius:var(--radius-xl);border:1px solid var(--color-border-strong);background:linear-gradient(180deg,var(--color-surface) 0%,var(--color-surface-subtle) 100%);box-shadow:var(--shadow-soft)}.kicker{font-size:var(--fs-xs);font-weight:var(--fw-bold);letter-spacing:.08em;text-transform:uppercase;color:var(--color-text-muted)}.hero-title{margin:0;font-size:var(--fs-3xl);font-weight:var(--fw-bold);letter-spacing:-.03em;line-height:1.15}.hero-subtitle{margin:6px 0 0;max-width:68ch;color:var(--color-text-muted)}.section-title{margin:0;font-size:var(--fs-lg);font-weight:var(--fw-bold)}.btn{height:var(--control-md);padding:0 16px;border-radius:var(--radius-md);border:1px solid transparent;background:transparent;color:var(--color-text);font-family:inherit;font-size:var(--fs-base);font-weight:var(--fw-semibold);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease,background .12s ease,color .12s ease}.btn:focus-visible{outline:none;box-shadow:var(--focus-ring)}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}.btn-sm{height:var(--control-sm);padding:0 12px;font-size:var(--fs-sm)}.btn-lg{height:var(--control-lg);padding:0 20px}.btn-primary{background:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-on)}.btn-primary:hover:not(:disabled){background:var(--color-primary-strong);border-color:var(--color-primary-strong);transform:translateY(-1px);box-shadow:0 6px 14px #3d4a2a38}.btn-secondary{background:var(--color-surface);border-color:var(--color-border-strong);color:var(--color-text)}.btn-secondary:hover:not(:disabled){border-color:var(--color-primary);color:var(--color-primary-strong);transform:translateY(-1px);box-shadow:0 6px 14px #0f172a14}.btn-ghost{background:var(--color-primary-soft);border-color:transparent;color:var(--color-primary-strong)}.btn-ghost:hover:not(:disabled){background:#3d4a2a24;transform:translateY(-1px)}.btn-danger{background:var(--color-danger);border-color:var(--color-danger);color:#fff}.btn-danger:hover:not(:disabled){background:#b91c1c;border-color:#b91c1c;transform:translateY(-1px);box-shadow:0 6px 14px #dc26263d}.btn-success{background:var(--color-success-soft);border-color:#15803d3d;color:var(--color-success)}.btn-warning{background:var(--color-warning-soft);border-color:#b453093d;color:var(--color-warning)}.btn-icon{width:var(--control-md);height:var(--control-md);padding:0;border-radius:var(--radius-md)}.btn-icon.btn-sm{width:var(--control-sm);height:var(--control-sm)}.pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:4px 10px;border-radius:var(--radius-pill);border:1px solid transparent;font-size:var(--fs-xs);font-weight:var(--fw-bold);white-space:nowrap;line-height:1.4}.pill-success{background:var(--color-success-soft);color:var(--color-success)}.pill-warning{background:var(--color-warning-soft);color:var(--color-warning)}.pill-danger{background:var(--color-danger-soft);color:var(--color-danger)}.pill-info{background:var(--color-info-soft);color:var(--color-info)}.pill-primary{background:var(--color-primary-soft);color:var(--color-primary-strong)}.pill-neutral{background:#94a3b81f;border-color:#94a3b847;color:var(--color-text-muted)}.input,.textarea{width:100%;padding:0 12px;border-radius:var(--radius-md);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font:inherit;outline:0;transition:border-color .12s ease,box-shadow .12s ease}.input{height:var(--control-md)}.textarea{min-height:88px;padding:10px 12px;resize:vertical;line-height:1.5}.input:focus,.textarea:focus{border-color:#3d4a2a8c;box-shadow:var(--focus-ring)}.input:disabled,.textarea:disabled{background:var(--color-surface-muted);color:var(--color-text-muted);cursor:not-allowed}.field-label{font-size:var(--fs-xs);font-weight:var(--fw-bold);letter-spacing:.07em;text-transform:uppercase;color:var(--color-text-subtle)}.app-error-boundary{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px;gap:16px}.app-error-boundary h1{margin:0;font-size:1.5rem;color:var(--color-text)}.app-error-boundary p{margin:0;max-width:56ch;color:var(--color-text-muted)}.app-error-boundary__details{margin:0;max-width:min(900px,90vw);max-height:320px;overflow:auto;padding:16px;border-radius:var(--radius-lg);background:var(--color-surface-muted);border:1px solid var(--color-border);font-family:var(--font-mono);font-size:.8rem;text-align:left;white-space:pre-wrap;color:var(--color-text-muted)}.app-error-boundary__actions{display:flex;gap:12px;margin-top:8px}@keyframes spin{to{transform:rotate(360deg)}}.shell-backdrop{display:none}@media(max-width:900px){.shell-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:29;background:#0f172a73}.shell-sidebar{position:fixed;inset:0 auto 0 0;z-index:30;transform:translate(-100%);box-shadow:0 18px 40px #0f172a2e}.shell-sidebar-open{transform:translate(0)}.shell-date-pill{display:none}.shell-content{padding:12px 10px 18px}}
