/* BuildID Pro · Graphite Glass. App chrome only; native print forms are separate. */
:root {
  color-scheme: light;
  --gg-bg:#e9eff7; --gg-bg-secondary:#f4f7fb;
  --gg-graphite:#344b69; --gg-dark:#253852; --gg-light:#58749a;
  --gg-heading:#14233b; --gg-text:#26354b; --gg-muted:#65738a;
  --gg-line:#d2deec; --gg-glass-line:rgba(255,255,255,.8);
  --gg-surface:rgba(248,251,255,.73); --gg-dense:rgba(255,255,255,.88);
  --gg-shadow:0 14px 36px rgba(36,55,82,.09),inset 0 1px 0 rgba(255,255,255,.95);
  --gg-shadow-sm:0 4px 12px rgba(36,55,82,.08),inset 0 1px 0 #fff;
  --gg-button:linear-gradient(180deg,#657f9f 0%,#425b7a 46%,#293e59 100%);
  --gg-button-shadow:0 7px 16px rgba(35,52,76,.22),inset 0 1px 1px rgba(255,255,255,.6),inset 0 -2px 3px rgba(15,26,44,.16);
  --gg-draft:#367bcb; --gg-review:#de8736; --gg-accepted:#279a78; --gg-paid:#737b86; --gg-error:#c6283e;
  --gg-sidebar:254px; --gg-gutter:32px;
  --bg:var(--gg-bg); --bg-warm:var(--gg-bg-secondary); --panel:var(--gg-dense); --panel-soft:#eff4fa;
  --accent-950:var(--gg-heading); --accent-900:var(--gg-dark); --accent-800:var(--gg-graphite); --accent-700:var(--gg-light); --accent-600:#7694bb; --accent-100:#e2ebf6;
  --sand-200:#dce6f2; --sand-100:#f2f6fc; --border:var(--gg-line); --text:var(--gg-text); --muted:var(--gg-muted);
  --shadow:var(--gg-shadow); --shadow-soft:var(--gg-shadow-sm); --radius-lg:23px; --radius-md:16px;
  --wine:var(--gg-graphite); --line:var(--gg-line);
  --font-ui:"Segoe UI Variable","Segoe UI",Inter,Arial,sans-serif;
}
body { min-height:100vh; padding-left:calc(var(--gg-sidebar) + 34px); background:var(--gg-bg); font-size:14px; line-height:1.45; }
body::before { content:""; position:fixed; z-index:-1; inset:0; pointer-events:none; background:linear-gradient(180deg,transparent 0,#e9eff700 220px,#e9eff7dd 570px,#e9eff7 850px),url('/static/architecture.svg') top right / max(1250px,100vw) auto no-repeat; }
body:not(:has(.app-sidebar)) { padding-left:0; }
body .topbar,body .topbar.compact { padding:26px var(--gg-gutter) 18px; min-height:122px; background:transparent; box-shadow:none; color:var(--gg-heading); align-items:center; }
body .topbar h1,body .topbar.compact h1 { font-size:36px; font-weight:750; line-height:1.16; letter-spacing:-.04em; text-shadow:none; margin:5px 0 4px; }
body .topbar p { font-size:14px; color:var(--gg-text); opacity:1; }
body .eyebrow { color:var(--gg-heading); font-weight:750; font-size:11px; letter-spacing:.22em; opacity:1; }
body .container,body .compact-container { width:auto; max-width:none; margin:0 var(--gg-gutter) 42px; min-width:0; }
body .service-container { gap:0; grid-template-columns:minmax(0,1fr); }
body .panel,body .card,.glass-panel { background:var(--gg-surface); border:1px solid var(--gg-glass-line); box-shadow:var(--gg-shadow); backdrop-filter:blur(22px) saturate(130%); -webkit-backdrop-filter:blur(22px) saturate(130%); border-radius:var(--radius-lg); padding:24px; margin-bottom:18px; min-width:0; }
body .panel h2,body .card h2 { font-size:23px; font-weight:700; color:var(--gg-heading); line-height:1.25; letter-spacing:-.025em; }
body .panel p { color:var(--gg-muted); }
body .section-head { align-items:center; margin-bottom:18px; gap:18px; }
body .section-head h2 { margin:0 0 5px; }
body .section-head p { font-size:13px; margin:0; }
body a { color:var(--gg-graphite); font-weight:650; }
body a:hover { color:#1b497d; }
.ui-icon { display:inline-block; width:20px; height:20px; flex:0 0 20px; fill:none; stroke:currentColor; stroke-width:1.7; vertical-align:middle; }
.sr-only { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
body button,body .btn,body .button-link,.graphite-button { background:var(--gg-button); border:1px solid rgba(255,255,255,.65); border-radius:13px; color:white; box-shadow:var(--gg-button-shadow); font-family:var(--font-ui); font-weight:650; min-height:42px; padding:10px 17px; line-height:1.2; gap:9px; transition:transform 200ms ease,box-shadow 200ms ease,filter 200ms ease,background 200ms ease; }
body button:hover,body .btn:hover,body .button-link:hover { color:white; transform:translateY(-2px); filter:brightness(1.07); box-shadow:0 10px 23px rgba(35,52,76,.24),inset 0 1px 1px rgba(255,255,255,.7); }
body button:active,body .btn:active,body .button-link:active { transform:translateY(0) scale(.985); }
body button.secondary,body .button.secondary,body .button-link.secondary,body .btn-secondary,body .back-link,body .nav-logout button { background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(238,243,250,.78)); color:var(--gg-heading); border:1px solid #dce5f0; box-shadow:var(--gg-shadow-sm); border-radius:13px; }
body .back-link { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:650; padding:12px 16px; }
body button.secondary:hover,body .button.secondary:hover,body .button-link.secondary:hover,body .btn-secondary:hover,body .back-link:hover,body .nav-logout button:hover { color:var(--gg-graphite); background:#fff; box-shadow:0 7px 18px #344b691b,inset 0 1px 0 white; }
body .btn-danger,body .danger-button,body form[action*="/delete"] button { color:var(--gg-error); background:linear-gradient(180deg,#fffafa,#fff0f2); border-color:#f1cdd4; box-shadow:0 3px 9px #a43c4910,inset 0 1px 0 white; }
body .btn-danger:hover,body .danger-button:hover,body form[action*="/delete"] button:hover { color:#a31931; background:#ffe5ea; box-shadow:0 6px 16px #ac2d4323; }
body .btn-ghost { color:var(--gg-graphite); background:transparent; box-shadow:none; }
body :is(button,.button-link,input,select,textarea,summary,a):focus-visible { outline:3px solid #548cd0; outline-offset:3px; }
body :is(button,input,select,textarea):disabled,body fieldset:disabled { cursor:not-allowed; opacity:.65; }
body button:disabled:hover { transform:none; filter:none; }
body .form label,body .field,body .field-label { color:var(--gg-muted); font-size:14px; font-weight:500; }
body input,body select,body textarea,body .field-control { background:rgba(252,254,255,.9); border:1px solid #cfdbeb; border-radius:11px; color:var(--gg-heading); font:inherit; padding:10px 13px; min-height:42px; box-shadow:inset 0 1px 3px #526b8c05; transition:border-color 180ms ease,box-shadow 180ms ease; }
body input::placeholder,body textarea::placeholder { color:#718099; opacity:1; }
body input:focus,body select:focus,body textarea:focus,body .field-control:focus { border-color:#789bc6; background:#fff; box-shadow:0 0 0 4px #538bd016; }
body input[type="checkbox"],body input[type="radio"] { width:18px; height:18px; min-height:18px; padding:0; accent-color:var(--gg-graphite); flex:0 0 18px; }
body input[type="file"] { border:1px dashed #a4b9d2; padding:15px; background:#f5f9fdbf; }
body input::file-selector-button { border:1px solid var(--gg-line); border-radius:8px; padding:8px 12px; margin-right:12px; background:#e9f0f9; color:var(--gg-heading); cursor:pointer; }
body .table-wrap { border-color:var(--gg-line); background:rgba(250,253,255,.5); box-shadow:inset 0 1px 0 #fff; max-width:100%; }
body table { background:var(--gg-dense); font-size:14px; }
body :is(th,td) { border-bottom-color:#dce5f0; padding:12px 14px; }
body th { background:linear-gradient(180deg,#e8eff8e6,#edf2f8de); color:var(--gg-heading); font-size:11px; font-weight:700; letter-spacing:.1em; }
body tbody tr:hover { background:#eaf2fc9c; }
body td small { color:var(--gg-muted); font-size:12px; }
body .status { border-radius:10px; padding:7px 10px; font-weight:650; font-size:12px; }
body .status::before { content:""; width:7px; height:7px; border-radius:50%; background:currentColor; }
body .status-draft,body .badge-info { background:#e7f0fd; color:#275a92; border-color:#cedff4; }
body .status-in_review { background:#fff1e1; color:#9b540d; border-color:#f3ddbc; }
body .status-ready,body .badge-success { background:#e4f4ed; color:#19785a; border-color:#c9e6db; }
body .status-signed { background:#e9edf9; color:#4a5f9a; border-color:#d7dff2; }
body .status-remarks,body .badge-danger,body .alert-danger,body .field-error { background:#fff0f2; color:var(--gg-error); border-color:#efc5cd; }
body .status-planned,body .status-neutral { background:#eef2f7; color:#56677d; }
body .alert,body .notice { border-radius:13px; background:#eef4fc; color:#365372; border-color:var(--gg-line); }
body .alert-success,body .alert.success { background:#edf8f3; border-color:#c3e4d6; color:#217354; }
body .alert-warning,body .warning-panel { background:#fff6e9; border-color:#ebd7b2; color:#805b21; }
body .aosr-completion-note { background:#fff6f6; border-color:#f0d5d8; }
body .form label.aosr-incomplete :is(input,textarea,select) { background:#fff0f1; border-color:#e5afb5; }
body .aosr-later { color:#a64253; }
body .modal::backdrop { background:#25385266; backdrop-filter:blur(5px); }
body .modal-card { background:rgba(247,250,255,.97); border:1px solid white; box-shadow:0 28px 80px #25385240; }
body .modal[open] { animation:gg-appear 200ms ease both; }
body main.container>.panel:nth-child(-n+2) { animation:gg-appear 220ms ease both; }
body .dropdown-menu { background:#f8fbfffa; border-color:var(--gg-line); }
body .dropdown[open]>.dropdown-menu,body .library-category[open]>.library-category-content,body .work-picker[open]>.work-picker-menu,body .plan-template-change[open]>.form { animation:gg-appear 180ms ease both; }
body .object-context-nav { background:#f1f6fce8; border-color:#ffffffdd; box-shadow:var(--gg-shadow-sm); }
body .object-context-link { color:var(--gg-heading); font-weight:600; }
body .object-context-link.active,body .object-context-link:hover { color:white; background:var(--gg-button); }
body .quick-card,body .stat-card,body .empty-state,body .onboarding-step,body .details-grid>div,body .object-list article,body .approval-list article,body .material-quality-card { background:#f7faffc7; border-color:#d7e2f0; box-shadow:var(--gg-shadow-sm); }
body .quick-card:hover,body .stat-card:hover { transform:translateY(-2px); box-shadow:var(--gg-shadow); }
body .onboarding-progress { background:#dce6f2; }
body .onboarding-progress span { background:linear-gradient(90deg,#58749a,#8eafd7); }
body .onboarding-step-number { background:#e0eaf7; color:var(--gg-heading); }
body .pagination-link,body .pagination-current,body .copy-box,body .quality-doc-chip,body .demo-steps article,body .technical-id code { background:#f0f5fc; color:var(--gg-graphite); }
body .app-sidebar { position:fixed; inset:16px auto 16px 18px; width:var(--gg-sidebar); border:1px solid #ffffffbf; border-radius:24px; background:linear-gradient(150deg,#f5f9fdad,#eaf1f9cc); box-shadow:0 12px 36px #344b690c,inset 0 1px 0 #fff; backdrop-filter:blur(24px) saturate(120%); -webkit-backdrop-filter:blur(24px) saturate(120%); padding:22px 14px 10px; gap:12px; transition:width 220ms ease; }
body .sidebar-brand { padding:3px 6px 17px; position:relative; display:block; }
body .sidebar-logo { display:flex; align-items:center; gap:10px; text-decoration:none; letter-spacing:0; }
.brand-mark { width:34px; height:39px; flex:0 0 34px; filter:drop-shadow(0 3px 2px #344b6913); }
body .sidebar-brand .brand-copy { display:block; min-width:0; }
body .sidebar-brand .brand-name { color:#122139; font-size:23px; font-weight:750; line-height:1.3; letter-spacing:-.045em; white-space:nowrap; }
body .brand-name b { font-weight:400; }
body .sidebar-brand .brand-caption { display:block; font-size:10px; font-weight:400; color:var(--gg-text); white-space:nowrap; }
body .sidebar-toggle { position:absolute; top:-12px; right:-8px; min-height:24px; width:24px; padding:3px; border-radius:7px; box-shadow:none; background:transparent; color:#657b97; border-color:transparent; opacity:.65; }
body .sidebar-toggle:hover { opacity:1; background:#ffffffa6; color:var(--gg-graphite); box-shadow:none; transform:none; }
body .sidebar-toggle .ui-icon { width:17px; height:17px; flex-basis:17px; }
body .sidebar-sections { gap:14px; padding:0 1px; scrollbar-width:thin; scrollbar-color:#bcccdc transparent; }
body .sidebar-nav { display:grid; gap:4px; }
body .sidebar-link { gap:15px; min-height:42px; padding:9px 14px; border-radius:13px; color:var(--gg-heading); font-size:14px; font-weight:500; line-height:1.35; }
body .sidebar-icon { display:flex; align-items:center; justify-content:center; width:23px; flex:0 0 23px; }
body .sidebar-link:hover { color:var(--gg-heading); border-color:#ffffffb3; background:#ffffff70; box-shadow:0 4px 12px #344b6909; transform:none; }
body .sidebar-link.active { color:#fff; background:linear-gradient(115deg,#718dab,#3c536f 57%,#89a2bf); border-color:#b4c8df; box-shadow:0 4px 10px #344b691c,inset 0 1px 0 #ffffff66; font-weight:650; transform:none; }
body .sidebar-divider { background:#c9d7e57d; margin:2px 8px; }
body .sidebar-nav-admin { border-top:1px solid #c9d7e57d; margin:0 6px; padding-top:13px; }
body .sidebar-nav-admin .sidebar-link { margin:0 -6px; }
body .sidebar-user { display:grid; grid-template-columns:42px minmax(0,1fr); gap:7px 10px; margin:2px 0 0; background:linear-gradient(135deg,#ffffffc4,#eff5fca3); border-color:#fff; border-radius:20px; padding:12px 10px 7px; box-shadow:var(--gg-shadow-sm); }
.user-avatar { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; background:linear-gradient(130deg,#e2edfb,#b7cce5); color:#234767; font-size:16px; font-weight:700; }
.user-copy { min-width:0; }
body .sidebar-user strong { display:block; font-size:12px; font-weight:650; color:var(--gg-heading); overflow-wrap:anywhere; line-height:1.3; }
body .sidebar-user .user-copy>span { display:block; font-size:11px; font-weight:400; color:var(--gg-muted); }
body .nav-logout { grid-column:1/-1; margin-top:2px; }
body .nav-logout button { min-height:34px; padding:6px 12px; font-size:12px; }
body .nav-logout button>span { color:var(--gg-heading); font-size:12px; }
body .nav-version { color:#657b97; font-size:10px; font-weight:400; padding:0 8px; }
body.sidebar-collapsed { --gg-sidebar:78px; }
body.sidebar-collapsed .sidebar-brand { padding-top:17px; padding-left:7px; }
body.sidebar-collapsed :is(.brand-copy,.sidebar-link>span:last-child,.user-copy,.nav-version,.nav-logout button>span) { display:none; }
body.sidebar-collapsed .sidebar-link { justify-content:center; padding:11px; }
body.sidebar-collapsed .sidebar-user { grid-template-columns:1fr; padding:8px 3px; justify-items:center; }
body.sidebar-collapsed .nav-logout button { padding:7px; width:38px; }
body.sidebar-collapsed .sidebar-toggle { right:9px; }
body.sidebar-collapsed .sidebar-toggle svg { transform:rotate(180deg); }
body .object-picker-panel { padding:17px 24px; }
body .object-picker-panel .workspace-filter { gap:18px; align-items:center; }
body .object-picker-panel label { width:310px; max-width:100%; gap:0; font-weight:400; }
body .object-picker-panel select { min-height:42px; font-weight:650; margin:0; }
body .object-picker-panel button,body .object-picker-panel .button-link { min-height:48px; }
.object-picker-art { display:grid; place-items:center; height:62px; width:62px; flex:0 0 62px; border:2px solid #fff; border-radius:14px; color:#234e7c; background:linear-gradient(145deg,#d1e5fa,#ffffff80),url('/static/architecture.svg') 75% 0 / 280px auto; box-shadow:var(--gg-shadow-sm); }
.object-picker-art .ui-icon { height:32px; width:32px; }
body .document-plan { padding:22px; }
.plan-heading { display:flex; gap:16px; align-items:center; min-width:0; }
.plan-heading-icon { width:34px; height:38px; flex:0 0 34px; color:#38608b; filter:drop-shadow(0 3px 2px #344b6926); }
body .document-plan .section-head { margin-bottom:18px; align-items:flex-start; }
body .document-plan .section-head h2 { font-size:24px; margin-bottom:3px; }
body .document-plan .section-head p { font-size:13px; }
body .plan-stats { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; margin:0 0 18px; }
body .plan-stats>.plan-stat { display:flex; align-items:center; gap:16px; padding:14px 16px; min-height:84px; background:linear-gradient(120deg,#f4f9ffef,#dceafbb0); border:1px solid #ffffffeb; border-radius:16px; box-shadow:0 7px 18px #344b6910,inset 0 1px 0 #fff; transition:transform 200ms ease,box-shadow 200ms ease; position:relative; overflow:hidden; }
.plan-stat::after { content:""; position:absolute; inset:0 18px 0 65%; background:linear-gradient(120deg,#ffffff00,#ffffff55); transform:skew(-22deg); pointer-events:none; }
body .plan-stats>.plan-stat:hover { transform:translateY(-2px); box-shadow:0 11px 24px #344b691c,inset 0 1px 0 #fff; }
body .plan-stats strong { display:block; font-size:27px; font-weight:700; color:#172d4b; letter-spacing:-.025em; line-height:1.1; margin-bottom:6px; }
body .plan-stats span { font-size:12px; font-weight:400; color:#516782; }
body .plan-stats .stat-icon { display:grid; place-items:center; width:50px; height:50px; flex:0 0 50px; border-radius:50%; background:linear-gradient(135deg,#e0efff,#bfdafa9e); color:#225eaa; box-shadow:inset 0 1px 0 #ffffffa8; }
.stat-icon .ui-icon { width:28px; height:28px; }
body .plan-stats>.stat-in_review { background:linear-gradient(120deg,#fffcf6e6,#f3e6d3aa); }
body .plan-stats .stat-in_review .stat-icon { color:#be6b18; background:#ffedd7b8; }
body .plan-stats>.stat-accepted { background:linear-gradient(120deg,#f4fcf8e6,#d3e9dfaa); }
body .plan-stats .stat-accepted .stat-icon { color:#258365; background:#c9e8db9c; }
body .plan-stats>.stat-paid { background:linear-gradient(120deg,#f7f8f9e6,#dde0e4aa); }
body .plan-stats .stat-paid .stat-icon { color:#646e7b; background:#d8dde4b8; }
body .plan-filters { gap:18px; align-items:end; margin-bottom:14px; }
body .plan-filters label { font-size:13px; gap:0; color:#4a5c77; }
body .plan-filters label.plan-search { flex:1.4; }
.search-control { position:relative; display:block; }
.search-control>.ui-icon { position:absolute; top:12px; left:15px; color:#29405e; }
body .search-control input { padding-left:45px; }
body .plan-filters :is(input,select) { min-height:43px; padding-top:9px; padding-bottom:9px; background:#fbfdfff0; font-size:13px; }
body .plan-filters select { font-weight:600; }
body .plan-table { border:0; background:transparent; box-shadow:none; overflow-x:auto; }
body .plan-table table { table-layout:fixed; min-width:1110px; border-collapse:separate; border-spacing:0 2px; background:transparent; }
body .plan-table th { background:#e2eaf5b3; padding:10px 14px; font-size:10px; font-weight:700; letter-spacing:.14em; }
body .plan-table th:first-child { width:36%; padding-left:70px; border-radius:15px 0 0 0; }
body .plan-table th:nth-child(2) { width:25%; }
body .plan-table th:nth-child(3) { width:15%; }
body .plan-table th:last-child { width:24%; border-radius:0 15px 0 0; text-align:center; }
body .plan-table td { padding:10px 12px; background:#ffffffc9; border-top:1px solid #ffffffdc; border-bottom:1px solid #e0e8f3; vertical-align:middle; font-size:13px; line-height:1.28; }
body .plan-table td:first-child { border-radius:14px 0 0 14px; border-left:1px solid #ffffffdc; }
body .plan-table td:last-child { border-radius:0 14px 14px 0; border-right:1px solid #ffffffdc; }
body .plan-table tr:hover td { background:#f1f7fff5; }
.plan-document-cell { display:flex; gap:15px; align-items:center; }
.plan-document-cell>div { min-width:0; }
.document-icon { display:grid; place-items:center; width:44px; height:44px; flex:0 0 44px; color:#234d7d; border-radius:50%; background:linear-gradient(140deg,#f0f7ff,#e0ebfa); }
.document-icon .ui-icon { width:23px; height:23px; }
body .plan-title { color:#183456; font-size:14px; font-weight:650; text-decoration:underline; text-underline-offset:2px; line-height:1.25; }
body .plan-table small { margin-top:3px; color:#63748d; font-size:12px; line-height:1.25; }
.plan-template-cell { display:flex; gap:12px; align-items:flex-start; }
.plan-template-cell>.ui-icon { color:#617a9c; }
.plan-template-cell>div { min-width:0; }
body .plan-template-change { margin-top:5px; }
body .plan-template-change summary { color:#2a5082; display:flex; align-items:center; gap:7px; list-style:none; font-size:12px; }
.plan-template-change summary::-webkit-details-marker { display:none; }
.plan-template-change summary .ui-icon { width:13px; height:13px; flex-basis:13px; }
body .plan-template-change .form { padding:10px; background:#f2f7ff; border:1px solid var(--gg-line); border-radius:10px; }
body .plan-status-form { margin:0; gap:5px; }
body .plan-status-form select { padding:6px 10px 6px 27px; min-height:32px; border-radius:10px; font-size:12px; font-weight:600; border-color:#d5e2f2; background-color:#eaf2fd; }
body .plan-table td:has(.plan-status-form)>.status { display:none; }
body .plan-status-form { position:relative; }
.plan-status-form::before { content:""; position:absolute; top:12px; left:11px; width:7px; height:7px; background:var(--gg-draft); border-radius:50%; pointer-events:none; }
[data-status="in_review"] .plan-status-form::before { background:var(--gg-review); }
[data-status="accepted"] .plan-status-form::before { background:var(--gg-accepted); }
[data-status="paid"] .plan-status-form::before { background:var(--gg-paid); }
body [data-status="in_review"] .plan-status-form select { background-color:#fff3e4; border-color:#ecd9bd; }
body [data-status="accepted"] .plan-status-form select { background-color:#e9f6f0; border-color:#cbe2d9; }
body [data-status="paid"] .plan-status-form select { background-color:#eceef0; border-color:#d0d4d9; }
body .plan-status-form button { min-height:34px; padding:7px 12px; font-size:12px; border-radius:11px; }
body .plan-status-form button .ui-icon { width:17px; height:17px; flex-basis:17px; }
body .plan-actions { flex-direction:row; gap:6px; flex-wrap:wrap; align-items:center; justify-content:flex-start; }
body .plan-actions :is(.button-link,button) { min-height:38px; font-size:11px; padding:8px 9px; white-space:nowrap; gap:6px; border-radius:11px; }
.plan-actions .ui-icon { width:16px; height:16px; flex-basis:16px; }
body .plan-refresh { margin-top:20px; }
body .plan-refresh .muted { font-size:12px; }
body .source-fields,body .source-guidance,body .source-record-scroll { border-color:var(--gg-line); background:#f8fbff9c; }
body .source-record-table thead th { background:#e5edf8; letter-spacing:normal; }
body .source-record-table tbody th { background:#eef4fc; }
body .source-record-table td { border-color:var(--gg-line); }
body .source-record-table td textarea { background:#fcfdff; font-weight:400; }
body .source-field-help { color:var(--gg-muted); }
body .library-category,body .tree-root,body .tree-node,body .tree-branch { background:#f7faffba; border-color:var(--gg-line); }
body .library-category[open]>summary,body :is(.tree-root,.tree-node,.tree-branch)[open]>summary,body .tree-root-title { background:#eaf1faab; border-color:var(--gg-line); }
body .library-category-content,body .tree-children.nested { border-left-color:#c6d8ef; }
body .tree-leaf,body .library-entry { background:#fff9; border-color:var(--gg-line); }
body .catalog-content tr:first-child th,body .catalog-content th[colspan] { background:#eaf1fb; }
body .work-picker,body .work-selected li { background:#f1f6fd; border-color:var(--gg-line); }
body .work-picker summary,body .wizard-review h3 { color:var(--gg-heading); }
body .work-picker summary span { color:var(--gg-muted); }
body .form label.work-picker-option { color:var(--gg-text); }
body .form label.work-picker-option:hover,body .form label.work-picker-option:has(input:checked) { background:#e0ecfa; }
body .work-selected button { background:transparent; box-shadow:none; color:var(--gg-graphite); }
body .wizard-review section,body .wizard-review li+li { border-color:var(--gg-line); }
body .library-document,body .reference-document,body .reference-preview { background:white; }
.ui-toast { position:fixed; bottom:24px; right:24px; z-index:100; display:flex; align-items:center; gap:10px; max-width:min(420px,calc(100vw - 32px)); padding:14px 18px; border:1px solid #c5dfd3; border-radius:14px; background:#f1fff8f5; color:#23674d; box-shadow:0 12px 32px #25385220; animation:gg-appear 200ms ease both; }
.ui-toast button { padding:3px; min-height:24px; background:transparent; color:inherit; box-shadow:none; border:0; margin-left:12px; }
body .plan-table tr.ui-row-saved td { animation:gg-saved 1100ms ease both; }
body .ui-busy { cursor:progress; }
body .ui-busy::after { content:""; width:12px; height:12px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:gg-spin .7s linear infinite; }
@keyframes gg-appear { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
@keyframes gg-spin { to { transform:rotate(360deg); } }
@keyframes gg-saved { from { background:#deefe8; } to { background:#ffffffc9; } }
@supports not (backdrop-filter:blur(2px)) { body .panel,body .card,body .app-sidebar { background:#f4f8fdf7; } }
@media(min-width:1700px) { :root { --gg-sidebar:260px; --gg-gutter:34px; } body .sidebar-link { min-height:42px; font-size:14px; } body .sidebar-nav { gap:4px; } body .plan-actions :is(.button-link,button) { font-size:12px; padding:9px 11px; } }
@media(max-width:1450px) { :root { --gg-sidebar:228px; --gg-gutter:22px; } body .app-sidebar { inset:12px auto 12px 12px; padding:18px 12px 10px; } body { padding-left:calc(var(--gg-sidebar) + 24px); } body .sidebar-brand .brand-name { font-size:21px; } body .sidebar-link { padding:9px 11px; gap:12px; font-size:13px; } body .sidebar-sections { gap:10px; } body .plan-stats>.plan-stat { gap:10px; padding:12px; } body .plan-stats .stat-icon { width:40px; height:40px; flex-basis:40px; } body .document-plan { padding:20px; } body .plan-table table { min-width:1110px; } body .object-picker-panel label { width:280px; } }
@media(max-height:800px) and (min-width:981px) { body .app-sidebar { padding-top:14px; gap:8px; } body .sidebar-brand { padding-bottom:10px; } body .sidebar-link { min-height:38px; padding-top:8px; padding-bottom:8px; } body .sidebar-user { padding-top:8px; } }
@media(max-width:1100px) and (min-width:981px) { :root { --gg-sidebar:206px; --gg-gutter:18px; } body .sidebar-link { font-size:12px; gap:8px; } body .sidebar-brand .brand-name { font-size:19px; } body .sidebar-brand .brand-caption { font-size:9px; } .brand-mark { width:28px; flex-basis:28px; } body .plan-stats { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:980px) { :root { --gg-gutter:20px; } body,body.sidebar-collapsed { padding-left:0; } body .app-sidebar { position:relative; inset:auto; margin:12px 20px 0; width:auto; max-height:none; padding:14px; gap:0; display:block; } body .sidebar-brand { display:flex; justify-content:space-between; align-items:center; padding:0; } body .sidebar-toggle { position:static; opacity:1; width:36px; min-height:36px; padding:7px; border-color:var(--gg-line); background:#fff8; } body .sidebar-sections { display:none; margin-top:14px; max-height:50vh; overflow:auto; } body .sidebar-user,body .nav-version { display:none; } body .app-sidebar.mobile-open .sidebar-sections { display:flex; } body .app-sidebar.mobile-open .sidebar-user { display:grid; margin-top:14px; } body .sidebar-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); } body .sidebar-nav-admin { border-top:0; padding-top:0; } body .sidebar-link { font-size:14px; min-height:42px; } body.sidebar-collapsed .brand-copy,body.sidebar-collapsed .sidebar-link>span:last-child { display:block; } body.sidebar-collapsed .sidebar-link { justify-content:flex-start; } body.sidebar-collapsed .sidebar-brand { padding:0; } body .topbar,body .topbar.compact { min-height:0; padding:22px var(--gg-gutter) 18px; flex-direction:row; align-items:flex-start; } body .topbar h1,body .topbar.compact h1 { font-size:32px; } body .container { margin-top:0; } body .section-head { flex-direction:row; } body .plan-stats { grid-template-columns:repeat(3,minmax(0,1fr)); } body .plan-table table { min-width:1110px; } body .object-picker-panel label { flex:1; width:auto; min-width:200px; } body .plan-filters { flex-direction:row; } }
@media(max-width:640px) { :root { --gg-gutter:14px; } body .app-sidebar { margin:10px 14px 0; border-radius:18px; } body .topbar,body .topbar.compact { flex-direction:column; gap:14px; } body .topbar h1,body .topbar.compact h1 { font-size:30px; } body .topbar .actions { padding:0; } body .panel,body .card,body .document-plan { padding:16px; border-radius:18px; } body .section-head,body .document-plan .section-head { flex-direction:column; align-items:flex-start; gap:12px; } body .document-plan .section-head h2 { font-size:21px; } .plan-heading { gap:10px; } body .plan-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; } body .plan-stats>.plan-stat { min-height:76px; padding:10px; } body .plan-stats strong { font-size:25px; } body .plan-stats span { font-size:11px; } body .plan-stats .stat-icon { width:34px; height:34px; flex-basis:34px; } .stat-icon .ui-icon { width:22px; height:22px; } body .plan-filters { flex-direction:column; align-items:stretch; gap:10px; } body .object-picker-panel .workspace-filter { gap:10px; align-items:end; } .object-picker-art { width:48px; height:48px; flex-basis:48px; } body .object-picker-panel label { min-width:160px; } body .object-picker-panel :is(button,.button-link) { min-height:42px; flex:1 1 180px; } body .sidebar-nav { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
@media print { body { padding:0!important; background:#fff!important; } body::before { display:none!important; } body .app-sidebar,.ui-toast { display:none!important; } body .panel,body .card { backdrop-filter:none; box-shadow:none; background:white; } }

body .form label.attachment-act-choice{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--border);border-radius:10px}.act-file-list li{padding:10px 0}.attachment-child td{background:#f1f6fc!important}.attachment-child td:first-child{padding-left:34px}

body .status-in_progress {background:#fff6ce;color:#846411;border-color:#e8d583;}
body [data-status="in_progress"] .plan-status-form select {background-color:#fff6ce;border-color:#e8d583;}
[data-status="in_progress"] .plan-status-form::before {background:#c5a128;}

body .status-paid{background:#eceef0;color:#5d6570;border-color:#d0d4d9}
body .plan-stats>.stat-in_progress{background:linear-gradient(120deg,#fffceae6,#f0e5aaaa)}
body .plan-stats .stat-in_progress .stat-icon{color:#977918;background:#f4e4a0b8}
body select[data-document-status="draft"]{background-color:#e7f0fd;color:#275a92}
body select[data-document-status="in_progress"]{background-color:#fff6ce;color:#846411}
body select[data-document-status="in_review"]{background-color:#fff1e1;color:#9b540d}
body select[data-document-status="accepted"]{background-color:#e4f4ed;color:#19785a}
body select[data-document-status="paid"]{background-color:#eceef0;color:#5d6570}
