.hdc-root{display:flex;flex-direction:column;min-height:420px;background:var(--surface-card);border:1px solid var(--line-soft);border-radius:10px;overflow:hidden}.hdc-topbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:8px 14px;border-bottom:1px solid var(--line-soft);background:var(--surface-card)}.hdc-topbar-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;padding:6px 14px;border-bottom:1px solid var(--line-soft);background:var(--surface-page);font-size:12px;color:var(--ink-base)}.hdc-split{flex:1;min-height:0;display:flex}.hdc-left{min-width:320px;display:flex;flex-direction:column;min-height:0}.hdc-left-head,.hdc-right-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;border-bottom:1px solid var(--line-soft);background:var(--surface-page);font-weight:600;font-size:13px}.hdc-left-scroll{flex:1;min-height:0;overflow-y:auto;padding:8px 12px 12px}.hdc-divider{width:8px;flex:none;cursor:col-resize;background:var(--line-soft);position:relative;touch-action:none}.hdc-divider:hover,.hdc-divider.is-dragging{background:var(--accent)}.hdc-right{flex:1;min-width:280px;display:flex;flex-direction:column;min-height:0}.hdc-pdf-body{flex:1;min-height:0;position:relative;background:var(--surface-soft)}.hdc-pdf-body iframe{width:100%;height:100%;border:0;display:block}.hdc-pdf-body.is-dragging iframe{pointer-events:none}.hdc-pdf-state{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center}.hdc-room-title{position:sticky;top:-8px;z-index:1;margin:8px -12px 6px;padding:4px 12px;background:var(--surface-soft);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-base)}.hdc-item{border:1px solid var(--line-soft);border-left:4px solid var(--line-strong);border-radius:8px;padding:8px 10px;margin-bottom:8px;background:var(--surface-card);scroll-margin:32px}.hdc-item.is-match{border-left-color:var(--tone-success);background:var(--tone-success-soft)}.hdc-item.is-discrepancy{border-left-color:var(--tone-error);background:var(--tone-error-soft)}.hdc-item.is-focused{box-shadow:0 0 0 2px var(--accent)}.hdc-item-head{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.hdc-item-title{font-weight:600;font-size:13px}.hdc-amount{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.hdc-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:2px 12px;margin:6px 0;font-size:12px}.hdc-field-label{color:var(--ink-soft);margin-right:4px}.hdc-field-value{font-weight:500;font-variant-numeric:tabular-nums}.hdc-costs{font-size:11px;color:var(--ink-soft);font-variant-numeric:tabular-nums}.hdc-verdict{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px;align-items:center}.hdc-verdict .ant-btn{min-width:104px}.hdc-extraction-slot{padding:6px 12px;border-top:1px dashed var(--line-strong);text-align:center}.hdc-hints{padding:4px 12px;border-top:1px solid var(--line-soft);font-size:11px;color:var(--ink-soft);background:var(--surface-page)}.hdc-hints kbd{border:1px solid var(--line-strong);border-bottom-width:2px;border-radius:4px;padding:0 4px;background:var(--surface-card);font-family:inherit;font-size:11px}.hdc-footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:8px 14px;border-top:1px solid var(--line-strong);background:var(--surface-card)}.hdc-footer-progress{flex:1;min-width:220px}.hdc-cmp{margin-top:6px;padding:6px 8px;border:1px dashed var(--line-strong);border-radius:6px;background:var(--surface-card);font-size:12px}.hdc-cmp-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:4px;margin-bottom:4px}.hdc-cmp-row{display:grid;grid-template-columns:110px 1fr 1fr;gap:8px;padding:2px 4px;border-radius:4px;font-variant-numeric:tabular-nums}.hdc-cmp-row.is-header{color:var(--ink-soft);font-weight:600}.hdc-cmp-row.is-mismatch{background:var(--tone-error-soft);color:var(--tone-error);font-weight:600}.hdc-cmp-row.is-dim{opacity:.55}.hdc-cmp-row.is-info,.hdc-cmp-label{color:var(--ink-soft)}.hdc-cmp-header{padding:6px 12px;border-bottom:1px solid var(--line-soft);font-size:12px}.hdc-hdr-row{display:flex;align-items:center;gap:6px;color:var(--ink-base)}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#41402f;background:#f8f8f7;--surface-page: #f8f8f7;--surface-card: #ffffff;--surface-card-strong: #ffffff;--surface-soft: #ededeb;--surface-dark: #39382a;--surface-dark-soft: #494835;--ink-strong: #41402f;--ink-base: #6a6959;--ink-soft: #78786a;--line-soft: #ededeb;--line-strong: #d7d7d3;--accent: #d59f6c;--accent-strong: #b88a5e;--accent-soft: #f7ece2;--tone-success: #6b8f71;--tone-success-soft: #e4ebe3;--tone-warning: #c08a3e;--tone-warning-soft: #f5e9d6;--tone-error: #b15a45;--tone-error-soft: #f3dfda;--tone-info: #5b7a8c;--tone-info-soft: #dfe7ea;--shadow-soft: 0 2px 10px rgba(57, 56, 42, .06);--shadow-deep: 0 12px 32px rgba(57, 56, 42, .12);--transition-fast: .15s ease;--transition-base: .22s ease}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;min-width:320px;min-height:100vh;color:var(--ink-strong);background:var(--surface-page)}a{color:inherit}.auth-loading-shell,.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;position:relative;overflow:hidden;background:var(--surface-page)}.login-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--surface-page)}.login-card{width:min(100%,1080px);border-radius:16px;box-shadow:var(--shadow-deep);background:var(--surface-card);position:relative;z-index:1;overflow:hidden;border:1px solid var(--line-strong)}.login-card .ant-card-body{padding:0;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr)}.login-brand-panel{padding:56px;background:var(--accent-soft);color:var(--ink-strong);position:relative;z-index:0}.login-brand-panel:after{content:"";position:absolute;inset:auto -60px -60px auto;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.6) 0%,transparent 70%)}.login-motif{position:absolute;top:18px;right:22px;width:min(34%,168px);height:auto;color:#d89f6c47;z-index:-1}.login-brand-tag.ant-tag{background:transparent;border:1px solid var(--accent-strong);color:var(--accent-strong);border-radius:999px;padding:2px 12px;font-weight:600;letter-spacing:.03em}.login-brand-panel h1.ant-typography{color:var(--ink-strong);font-family:Fraunces,Georgia,serif;font-weight:600;font-size:clamp(2.2rem,3.6vw,3rem);line-height:1.08;letter-spacing:-.02em;max-width:10ch;margin:18px 0 20px}.login-hero-copy{color:var(--ink-base);font-size:1.02rem;max-width:44ch}.login-highlights{display:grid;gap:14px;margin-top:32px}.login-highlight-item{display:grid;grid-template-columns:44px 1fr;gap:16px;align-items:start;padding:14px 16px;border-radius:12px;background:var(--surface-card);border:1px solid var(--line-soft)}.login-highlight-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:var(--accent-soft);color:var(--accent-strong);font-size:1.02rem;border:1px solid var(--line-soft)}.login-highlight-title{display:inline-block;color:var(--ink-strong);font-weight:600;margin-bottom:4px}.login-highlight-copy{margin-bottom:0;color:var(--ink-base)}.login-brand-footer{margin-top:32px;display:inline-flex;align-items:center;gap:10px;padding:9px 14px;border-radius:999px;background:var(--surface-card);border:1px solid var(--line-soft);color:var(--ink-strong)}.login-status-dot{width:8px;height:8px;border-radius:50%;background:var(--tone-success);box-shadow:0 0 0 5px var(--tone-success-soft)}.login-access-panel{padding:56px;display:flex;align-items:center;background:var(--surface-card)}.login-access-panel h2.ant-typography{color:var(--ink-strong);font-weight:600;font-size:clamp(1.6rem,2.2vw,2rem);line-height:1.15;letter-spacing:-.01em;margin:10px 0 12px}.login-access-panel .ant-typography{color:var(--ink-base)}.login-eyebrow{color:var(--accent-strong);text-transform:uppercase;letter-spacing:.18em;font-size:.74rem;font-weight:700}.login-action-box{padding:22px;border-radius:14px;border:1px solid var(--line-strong);background:var(--surface-soft)}.login-primary-button.ant-btn{width:100%;height:46px;border:none;border-radius:8px;font-weight:600;background:var(--accent);transition:background var(--transition-fast)}.login-primary-button.ant-btn:hover,.login-primary-button.ant-btn:focus{background:var(--accent-strong)}.erp-shell{min-height:100vh;display:grid;grid-template-columns:268px minmax(0,1fr);background:var(--surface-page);transition:grid-template-columns var(--transition-base)}.erp-shell.is-sidebar-collapsed{grid-template-columns:72px minmax(0,1fr)}.erp-sidebar{position:sticky;top:0;height:100vh;padding:24px 16px;background:var(--surface-card);color:var(--ink-strong);display:flex;flex-direction:column;gap:24px;border-right:1px solid var(--line-soft);overflow:hidden}.erp-sidebar-nav-scroll{display:flex;flex-direction:column;gap:24px;flex:1;min-height:0;overflow-y:auto;margin:0 -8px;padding:0 8px}.is-sidebar-collapsed .erp-sidebar{padding:24px 12px}.erp-sidebar-collapse-toggle{align-self:flex-end;margin-top:-8px}.is-sidebar-collapsed .erp-sidebar-collapse-toggle{align-self:center;margin-top:0}.erp-sidebar-brand{display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:center;padding:0 8px}.is-sidebar-collapsed .erp-sidebar-brand{grid-template-columns:44px;justify-content:center;padding:0}.erp-brand-badge{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-weight:700;letter-spacing:.06em;color:#fff;background:var(--accent)}.erp-sidebar-brand h4.ant-typography{color:var(--ink-strong);margin:0}.erp-sidebar-brand .ant-typography{color:var(--ink-soft)}.erp-sidebar-group{display:flex;flex-direction:column;gap:12px}.erp-sidebar-label{color:var(--ink-soft);text-transform:uppercase;letter-spacing:.14em;font-size:.72rem;font-weight:700;padding-left:12px}.is-sidebar-collapsed .erp-sidebar-label{display:none}.erp-nav-section{display:flex;flex-direction:column;gap:4px}.erp-nav-link{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:8px;color:var(--ink-base);text-decoration:none;transition:background var(--transition-fast),color var(--transition-fast)}.is-sidebar-collapsed .erp-nav-link{justify-content:center;padding:10px}.is-sidebar-collapsed .erp-nav-link>span:not(.erp-nav-icon){display:none}.erp-nav-link:hover{background:var(--surface-soft);color:var(--ink-strong)}.erp-nav-link.is-active{background:var(--accent-soft);color:var(--ink-strong);font-weight:600;box-shadow:inset 2px 0 0 0 var(--accent)}.erp-nav-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:transparent;font-size:1rem;color:inherit}.erp-sidebar-footer{margin-top:auto;padding:16px;border-radius:12px;background:var(--surface-soft);border:1px solid var(--line-soft)}.is-sidebar-collapsed .erp-sidebar-footer{padding:12px 8px;display:flex;justify-content:center}.erp-sidebar-footer h5.ant-typography{color:var(--ink-strong);margin:10px 0 8px}.erp-sidebar-footer .ant-typography{color:var(--ink-soft)}.erp-sidebar-footer .ant-btn{margin-top:8px;border-radius:8px}.erp-overlay{display:none}.erp-workspace{min-width:0;display:flex;flex-direction:column}.erp-header{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;gap:20px;padding:24px 32px 16px;background:var(--surface-page);border-bottom:1px solid var(--line-soft)}.erp-header-main,.erp-header-actions{display:flex;align-items:center}.erp-header-main{min-width:0}.erp-header-title-row{display:flex;align-items:flex-start;gap:16px}.erp-mobile-toggle{display:none}.erp-page-kicker{color:var(--accent-strong);text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;font-weight:700}.erp-header h2.ant-typography{margin:8px 0 6px;color:var(--ink-strong);font-family:Fraunces,Georgia,serif;font-weight:600;font-size:clamp(1.6rem,2.2vw,2.1rem);line-height:1.15;letter-spacing:-.01em}.erp-header .ant-typography{color:var(--ink-base);max-width:62ch}.erp-header-actions{gap:16px}.erp-search{width:320px;border-radius:8px}.erp-search.ant-input-affix-wrapper{border-radius:8px;padding:8px 14px;background:var(--surface-card);border:1px solid var(--line-strong)}.erp-user-chip{min-width:168px;display:flex;align-items:center;gap:12px;padding:8px 12px;border-radius:10px;background:var(--surface-card);border:1px solid var(--line-soft)}.erp-user-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:#fff;font-weight:700;background:var(--accent)}.erp-user-chip .ant-typography{display:block;line-height:1.25}.erp-content{padding:12px 32px 32px}.dashboard-hero-card,.dashboard-section-card,.module-hero-card,.module-note-card,.workspace-card,.form-card,.metric-card{border-radius:12px!important;border:1px solid var(--line-soft);background:var(--surface-card)!important;box-shadow:var(--shadow-soft)}.dashboard-hero-card .ant-card-body,.dashboard-section-card .ant-card-body,.module-hero-card .ant-card-body,.workspace-card .ant-card-body,.metric-card .ant-card-body{padding:24px}.dashboard-hero-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.8fr);gap:24px;align-items:stretch}.dashboard-hero-card h1.ant-typography{margin:14px 0;color:var(--ink-strong);font-family:Fraunces,Georgia,serif;font-weight:600;font-size:clamp(1.8rem,2.6vw,2.4rem);line-height:1.1;letter-spacing:-.01em;max-width:16ch}.dashboard-hero-card .ant-typography{color:var(--ink-base)}.dashboard-hero-panel{padding:22px;border-radius:12px;background:var(--surface-dark);color:#fff;display:flex;flex-direction:column;justify-content:center;gap:18px}.dashboard-panel-label{color:#ffffffb3;text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;font-weight:700}.dashboard-hero-stat{display:flex;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.14)}.dashboard-hero-stat:last-child{border-bottom:none;padding-bottom:0}.dashboard-hero-stat span{color:#ffffffa8}.dashboard-hero-stat strong{color:#fff}.metric-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.metric-card-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:16px;font-size:1.1rem}.metric-card .ant-statistic{color:var(--ink-strong)}.metric-card .ant-statistic-content{font-size:2rem;font-weight:700}.metric-card.tone-emerald .metric-card-icon{color:#93844a;background:#f4f3ed}.metric-card.tone-amber .metric-card-icon{color:#b88a5e;background:#f7ece2}.metric-card.tone-blue .metric-card-icon{color:#5b5a49;background:#ededeb}.metric-card.tone-slate .metric-card-icon{color:#78786a;background:#ededeb}.dashboard-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dashboard-link-card{display:flex;flex-direction:column;gap:16px;padding:18px;border-radius:12px;text-decoration:none;background:var(--surface-card);border:1px solid var(--line-soft);min-height:196px;transition:transform var(--transition-base),box-shadow var(--transition-base),border-color var(--transition-base)}.dashboard-link-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-soft);border-color:var(--accent)}.dashboard-link-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;font-size:1.1rem;color:var(--accent-strong);background:var(--accent-soft)}.dashboard-link-card h4.ant-typography{margin:0 0 8px;color:var(--ink-strong)}.dashboard-link-card .ant-typography{color:var(--ink-base)}.activity-item{display:grid;grid-template-columns:34px 1fr;gap:14px;align-items:start}.activity-marker{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--accent-soft);color:var(--accent-strong)}.activity-item .ant-tag{margin-inline-end:0;border-radius:999px;background:var(--accent-soft)}.activity-item .ant-typography{margin-bottom:0;color:var(--ink-base)}.progress-card{padding:18px;border-radius:12px;background:var(--surface-soft);border:1px solid var(--line-soft);height:100%}.progress-card .ant-typography{color:var(--ink-base)}.focus-card{display:flex;gap:14px;align-items:flex-start;padding:18px;height:100%;border-radius:12px;background:var(--surface-soft);border:1px solid var(--line-soft)}.focus-card svg{margin-top:4px;font-size:1.1rem;color:var(--accent)}.focus-card .ant-typography{margin-bottom:0;color:var(--ink-base)}.module-page-header,.module-hero-card{max-width:100%}.module-page-header h2.ant-typography,.module-hero-card h2.ant-typography{margin:12px 0 10px;color:var(--ink-strong)}.module-page-header .ant-typography,.module-hero-card .ant-typography,.module-note-card .ant-typography{color:var(--ink-base)}.module-metric-card{padding:18px;border-radius:12px;background:var(--surface-soft);border:1px solid var(--line-soft)}.module-note-card .ant-card-body{padding:18px}.workspace-card{margin-bottom:0}.workspace-card .ant-card-body{padding:24px}.form-card{border-radius:12px!important;background:var(--surface-card)!important;border:1px solid var(--line-soft)}.form-card .ant-card-head,.workspace-card .ant-card-head{border-bottom-color:var(--line-soft)}.form-card .ant-input,.form-card .ant-input-number,.form-card .ant-picker,.form-card .ant-select-selector{border-radius:6px!important}.dashboard-section-card .ant-card-head,.module-hero-card .ant-card-head{border-bottom-color:var(--line-soft)}@media(max-width:1200px){.erp-search{width:240px}.dashboard-link-grid{grid-template-columns:1fr}}@media(max-width:1024px){.erp-shell{grid-template-columns:1fr}.erp-sidebar{position:fixed;inset:0 auto 0 0;width:min(88vw,310px);transform:translate(-100%);transition:transform var(--transition-base);z-index:40}.erp-shell.is-sidebar-open .erp-sidebar{transform:translate(0)}.erp-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#39382a66;opacity:0;pointer-events:none;transition:opacity var(--transition-base);z-index:35;display:block}.erp-shell.is-sidebar-open .erp-overlay{opacity:1;pointer-events:auto}.erp-mobile-toggle{display:inline-flex;border-radius:8px}.erp-header{padding:22px 20px 16px}.erp-content{padding:12px 20px 24px}.erp-header{flex-direction:column;align-items:stretch}.erp-header-actions{justify-content:space-between}.dashboard-hero-grid{grid-template-columns:1fr}}@media(max-width:768px){.login-shell{padding:16px}.login-card .ant-card-body{grid-template-columns:1fr}.login-brand-panel,.login-access-panel{padding:28px}.login-brand-panel h1.ant-typography,.login-access-panel h2.ant-typography{max-width:none}.erp-header-title-row{align-items:flex-start}.erp-header-actions{flex-direction:column;align-items:stretch}.erp-search{width:100%}.erp-user-chip{min-width:0;width:100%}.dashboard-hero-card .ant-card-body,.dashboard-section-card .ant-card-body,.module-hero-card .ant-card-body,.workspace-card .ant-card-body,.metric-card .ant-card-body{padding:20px}}
