/* One shared visual system. Layout, routing and business components remain in their original files. */
:root {
 --brand:#dfe3e6; --button-blue:#f1f3f4; --accent:#616c76; --bg:#f4f5f6;
 --ink:#293139; --muted:#68727b; --soft:#f0f2f3; --focus:#6b7780;
 /* Quiet neutral surfaces keep the content readable while the shell carries the matte glass. */
 --line:rgba(55,65,74,.12); --surface:rgba(255,255,255,.94); --surface-subtle:#f7f8f8;
 --surface-selected:#eceff1; --surface-tint:#f5f6f7;
 --ice-tint:#f5f6f7; --ice-edge:#d9dde0; --ice-ink:#616c76;
 --mint-tint:#f5f6f6; --mint-edge:#d9dddf; --mint-ink:#65716b;
 --lilac-tint:#f5f6f7; --lilac-edge:#d9dde0; --lilac-ink:#616c76;
 --highlight-white:rgba(255,255,255,.82);
 --glass-tint:#ffffff; --glass-opacity:68%; --glass-blur:8px; --glass-grain-alpha:.015;
 --input-surface:rgba(255,255,255,.88); --input-border:#dfe3e6; --focus-halo:rgba(101,113,123,.12);
 /* Shell and floating surfaces use restrained translucency and soft diffusion. */
 --nav-surface:rgba(255,255,255,.78); --glass-shell:rgba(255,255,255,.72);
 --glass-floating:rgba(255,255,255,.82);
 --overlay:rgba(40,46,51,.18); --shadow-color:rgba(40,48,55,.07);
 --shadow-soft:0 1px 2px rgba(40,48,55,.025),0 8px 24px rgba(40,48,55,.035);
 --shadow-tool:inset 1px 0 0 var(--highlight-white),-4px 0 20px rgba(40,48,55,.035);
 --shadow-float:0 5px 16px rgba(40,48,55,.055),0 18px 42px rgba(40,48,55,.09);
 --radius-lg:24px; --radius-card:20px; --radius-control:14px; --radius-tag:10px;
 --success:#476b58; --success-bg:#f0f4f1; --warning:#786849; --warning-bg:#f6f3ec;
 --error:#8b5960; --error-bg:#f7f0f1;
 --chart-1:#66727b; --chart-2:#879198; --chart-3:#a2aaaf; --chart-4:#747f78;
 font-family:-apple-system,BlinkMacSystemFont,"Inter","Segoe UI Variable","Segoe UI","Microsoft YaHei",system-ui,sans-serif;
 color:var(--ink); -webkit-font-smoothing:antialiased;
}
body { background-color:var(--bg); background-image:var(--workspace-image,none); }
button,input,select,textarea { font-family:inherit; }
.sidebar { background:var(--nav-surface); background-image:linear-gradient(155deg,rgba(232,239,253,.2),transparent 22%); border-color:var(--line); backdrop-filter:none; -webkit-backdrop-filter:none; }
#rail { background:var(--glass-shell); background-image:linear-gradient(125deg,rgba(192,236,232,.18),transparent 26%),linear-gradient(235deg,rgba(214,218,249,.2),transparent 23%); border-color:rgba(64,82,105,.1); box-shadow:var(--shadow-tool); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.brandmark { color:#486a86; background:linear-gradient(145deg,#ffffff,var(--ice-tint) 45%,#eeeafa); border:1px solid var(--highlight-white); box-shadow:var(--shadow-soft); }
.brand h1 { color:var(--ink); letter-spacing:.02em; font-weight:650; }
.ws-role { background:var(--surface); border-color:var(--line); border-radius:var(--radius-control); }
.ws-role>span,.ws-role>small { color:var(--muted); font-size:10px; }
.navitem { border-radius:var(--radius-control); color:var(--muted); }
.navitem:hover { background:var(--surface-subtle); }
.navitem.active { color:var(--accent); background:var(--surface-selected); }
.navitem.active { background:linear-gradient(115deg,var(--ice-tint),#fafcff 70%,var(--lilac-tint)); box-shadow:inset 0 0 0 1px rgba(180,206,226,.2),inset 0 1px 0 var(--highlight-white); }
.ws-primary-link b { font-weight:550; }
.ws-primary-link small,.brand small,.employee small { color:var(--muted); }
.ws-mini-tools .ws-tool { --tool-tint:var(--ice-tint); --tool-ink:var(--ice-ink); --tool-edge:var(--ice-edge); background:linear-gradient(155deg,var(--surface) 65%,var(--tool-tint)); border-color:var(--line); border-radius:var(--radius-control); color:var(--muted); box-shadow:inset 0 1px 0 var(--highlight-white); }
.ws-tool:is([data-id="fx"],[data-id="reviews"],[data-id="calendar"],[data-id="products"]) { --tool-tint:var(--mint-tint); --tool-ink:var(--mint-ink); --tool-edge:var(--mint-edge); }
.ws-tool:is([data-id="plan"],[data-id="reply"],[data-id="copy"],[data-id="edits"]) { --tool-tint:var(--lilac-tint); --tool-ink:var(--lilac-ink); --tool-edge:var(--lilac-edge); }
.ws-mini-tools .ws-tool .icon { color:var(--tool-ink); }
.ws-mini-tools .ws-tool:hover { color:var(--tool-ink); border-color:var(--tool-edge); box-shadow:0 3px 12px rgba(57,102,144,.06),inset 0 1px 0 var(--highlight-white); }
.ws-floating-tool { background:var(--glass-floating); border-color:var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-float); backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px); }
.panel,.record-card,.stat,.quick,.iw-card,.ins-directory,.ins-detail,.ws-execution-body,.job {
 background:var(--surface); border-color:var(--line); border-radius:var(--radius-card); box-shadow:var(--shadow-soft);
 backdrop-filter:none; -webkit-backdrop-filter:none;
}
.iw-board,.ws-task-list { background:var(--surface-subtle); border-color:var(--line); border-radius:var(--radius-lg); box-shadow:inset 0 1px 0 var(--highlight-white); }
.iw-board { background:linear-gradient(180deg,#ffffff,#fcfdff); }
.ws-execution-body { box-shadow:inset 0 2px 0 var(--mint-edge),var(--shadow-soft); }
.record-card:hover,.iw-card:hover { border-color:#b9c4cb; box-shadow:0 3px 7px rgba(30,41,52,.025),0 10px 26px rgba(30,41,52,.055); }
.iw-card-header { background:linear-gradient(125deg,#ffffff 35%,var(--ice-tint)); box-shadow:inset 0 2px 0 var(--ice-edge); }
/* Existing module anchors scope small accents without new routes or component copies. */
#main:has(#insurer-filter) .record-card { box-shadow:inset 0 2px 0 var(--mint-edge),var(--shadow-soft); }
#main:has(#insurer-filter) .card-top .tile { color:var(--mint-ink); background:linear-gradient(145deg,var(--surface),#e4f4ed); }
#main:has(#insurer-filter) .meta span { background:var(--mint-tint); color:var(--mint-ink); }
#main:has(#dividend-product) .panel { box-shadow:inset 0 2px 0 var(--lilac-edge),var(--shadow-soft); }
#main:has(#dividend-product) .data-table th { background:linear-gradient(180deg,var(--surface),var(--lilac-tint)); }
.ws-task-row { background:var(--input-surface); border-color:var(--line); border-radius:var(--radius-control); color:var(--ink); }
.ws-task-row.is-selected { background:var(--surface-selected); border-color:#a5bdc5; box-shadow:inset 3px 0 var(--brand); }
.ws-task-row span,.ws-task-row time,.ws-home-empty,.ws-pref-note,.ws-home-head p,.ws-task-context,.ws-execution-steps { color:var(--muted); }
.ws-execution-steps .is-done { color:var(--success); }
.ws-execution-steps .is-waiting { color:var(--accent); }
h1,h2,h3,h4,.page-head h2,.ws-home-head h1,.iw-title h1,.iw-card-heading h2,.ins-detail h2 { color:var(--ink); font-weight:600; letter-spacing:-.015em; }
.page-head p,.record-card p,.rail-caption,.footer-note,.muted,.empty p,.chart text { color:var(--muted); }
.search,.iw-search,.ins-search-box { background:var(--input-surface); border:1px solid var(--line); border-radius:var(--radius-control); }
.search,.iw-search,.ins-search-box { box-shadow:0 2px 7px rgba(43,64,88,.025),inset 0 1px 0 var(--highlight-white); }
input:not([type="checkbox"]):not([type="radio"]),select,textarea { background:var(--input-surface); border:1px solid var(--input-border); border-radius:var(--radius-control); color:var(--ink); }
input[type="checkbox"],input[type="radio"] { accent-color:var(--accent); }
input::placeholder,textarea::placeholder { color:#667380; opacity:1; }
.search input,.iw-search input,.ins-search-box input { border:0; background:transparent; }
.field>span,.rail .field>span { color:var(--muted); font-size:11px; }
input:focus,select:focus,textarea:focus { border-color:var(--focus); outline:2px solid var(--focus-halo); outline-offset:2px; box-shadow:0 0 12px rgba(81,179,201,.07); }
.search:focus-within,.iw-search:focus-within,.ins-search-box:focus-within { border-color:var(--focus); box-shadow:0 0 0 3px rgba(102,191,208,.1),0 3px 12px rgba(79,137,177,.06); }
:where(button,a,input,select,textarea,summary,[tabindex]):focus-visible { outline:2px solid var(--focus); outline-offset:3px; }
.primary { color:#315461; background:linear-gradient(125deg,#f1f9fc,var(--button-blue) 58%,#e9f5ef); border:1px solid #c5dce5; border-radius:var(--radius-control); box-shadow:inset 0 1px 0 var(--highlight-white),0 3px 10px rgba(49,110,141,.055); font-weight:600; }
.primary:hover { filter:none; background:linear-gradient(125deg,#edf7fc,#dcedf4 58%,#e2f2eb); border-color:#adcfdc; box-shadow:inset 0 1px 0 var(--highlight-white),0 0 12px rgba(108,187,208,.12); }
#rail .primary { background:linear-gradient(115deg,#e5f3fc,#e5f6ef 55%,#f0eafb); border-color:#c5dde3; box-shadow:inset 0 1px 0 var(--highlight-white),0 4px 15px rgba(94,147,185,.09); }
#rail .primary:hover { border-color:#9fc7d4; box-shadow:inset 0 1px 0 var(--highlight-white),0 0 16px rgba(127,171,222,.16); }
#rail input:not([type="checkbox"]),#rail select { box-shadow:inset 0 1px 2px rgba(37,56,76,.025),0 1px 0 var(--highlight-white); }
#rail input:focus,#rail select:focus { box-shadow:0 0 0 3px rgba(102,191,208,.1); }
.secondary { color:var(--ink); background:var(--surface); border-color:var(--input-border); border-radius:var(--radius-control); }
.secondary:hover { background:var(--surface-tint); }
.badge,.meta span,.step { border-radius:var(--radius-tag); }
.badge { background:var(--surface-selected); color:var(--accent); }
.badge.green { color:var(--success); background:var(--success-bg); }
.badge.amber,.note.warning { color:var(--warning); background:var(--warning-bg); }
.danger,.note.error { color:var(--error); background:var(--error-bg); }
.step.active { background:var(--surface-selected); color:var(--accent); font-weight:600; }
.data-table { color:var(--ink); background:var(--surface); font-size:12px; }
.data-table th { color:var(--muted); background:var(--surface-subtle); font-weight:550; }
.data-table td { border-color:var(--line); }
.data-table tbody tr:hover { background:var(--surface-subtle); }
/* Blur the backdrop once; long modal text stays on a near-opaque reading surface. */
.modal-overlay { background:var(--overlay); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
.modal,.modal.iw-reader,.modal.ir-editor { background:rgba(255,255,255,.98); border:1px solid rgba(255,255,255,.9); border-radius:26px; box-shadow:var(--shadow-float); backdrop-filter:none; -webkit-backdrop-filter:none; }
.modal-head,.modal-footer,.iw-reader-footer,.ir-reader-toolbar { border-color:var(--line); }
.iw-reader .ir-script,.iw-highlights,.ins-summary { background:var(--surface-tint); border-color:var(--line); border-radius:var(--radius-control); }
.ir-script-head button { border-radius:var(--radius-tag); color:var(--accent); border-color:var(--line); }
.iw-fact dd,.ins-product b,.iw-investment p,.iw-reader .iw-full-text { color:var(--ink); }
.iw-fact dt,.iw-fact small,.iw-card-location,.iw-card-heading p,.iw-reader .ir-source,.ir-source-text,.iw-highlights p { color:var(--muted); }
.iw-card.is-target { border-color:#afcddd; box-shadow:0 0 0 1px rgba(170,219,237,.1),0 6px 20px rgba(66,116,149,.045); }
.iw-card:focus-visible { outline-color:var(--focus); }
.iw-card-footer,.iw-card-header,.ws-floating-tool>header { border-color:var(--line); }
.iw-drop-hint { background:rgba(234,240,243,.96); border-color:var(--brand); color:var(--accent); }
.upload-zone { color:var(--muted); border-color:#bcc9d0; background:var(--surface-tint); border-radius:var(--radius-control); }
.taskbar,.floating { background:var(--glass-floating); border-color:var(--line); box-shadow:var(--shadow-float); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border-radius:var(--radius-card); }
.rail-footer { background:linear-gradient(120deg,#ffffff,var(--mint-tint)); border:1px solid var(--line); border-radius:var(--radius-control); }
.rail .rail-caption,.rail-footer b,.rail-footer p { color:var(--muted); }
.rail-row input,.rail-row select { min-width:0; }
.ws-floating-tool output { background:var(--surface-selected); color:var(--ink); border-radius:var(--radius-control); }
.ws-assistant-strip { background:var(--glass-shell); }
.ws-assistant-backdrop { background:var(--overlay); }
:where(button,a,.navitem,.record-card,input,select,textarea) { transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease; }
.primary:active,.secondary:active,.ws-tool:active { transform:scale(.985); }
.modal-overlay { animation:glass-appear .18s ease-out; }
@keyframes glass-appear { from { opacity:0; } to { opacity:1; } }
/* Keep the desktop image clean; pale glass belongs to UI surfaces, not a white wash over the wallpaper. */
body { background-color:var(--bg); background-attachment:fixed; }
.sidebar,#rail { background-color:var(--nav-surface); background-image:none; border-color:var(--line); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }
#rail { background-color:var(--glass-shell); box-shadow:var(--shadow-tool); }
.brandmark { color:var(--accent); background:rgba(255,255,255,.78); border:1px solid rgba(255,255,255,.88); box-shadow:0 2px 7px rgba(40,48,55,.04); }
.navitem.active { color:var(--ink); background:rgba(232,235,237,.78); box-shadow:none; }
.navitem.active { background-image:none; }
.ws-mini-tools .ws-tool,.ws-tool:is([data-id="fx"],[data-id="reviews"],[data-id="calendar"],[data-id="products"],[data-id="plan"],[data-id="reply"],[data-id="copy"],[data-id="edits"]) { --tool-tint:var(--surface-tint); --tool-ink:var(--accent); --tool-edge:var(--line); color:var(--muted); background:rgba(255,255,255,.72); box-shadow:inset 0 1px 0 var(--highlight-white); }
.ws-mini-tools .ws-tool .icon,.ws-mini-tools .ws-tool:hover { color:var(--accent); }
.ws-floating-tool,.taskbar,.floating { background:var(--glass-floating); border-color:var(--line); box-shadow:var(--shadow-float); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
.panel,.record-card,.stat,.quick,.iw-card,.ins-directory,.ins-detail,.ws-execution-body,.job,.wf-controls,.wf-customers,.wf-detail { background:rgba(255,255,255,.82); border-color:var(--line); box-shadow:var(--shadow-soft); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
.iw-board,.ws-task-list { background:rgba(255,255,255,.64); box-shadow:inset 0 1px 0 var(--highlight-white); }
.iw-board,.iw-card-header,#main:has(#insurer-filter) .record-card,#main:has(#dividend-product) .panel,#main:has(#dividend-product) .data-table th,.ws-execution-body,.rail-footer,.quick-icon,.card-top .tile { background-color:rgba(255,255,255,.72); background-image:none; box-shadow:var(--shadow-soft); }
.record-card:hover,.iw-card:hover,.iw-card.is-target { border-color:#c7cdd1; box-shadow:0 2px 10px rgba(40,48,55,.045); }
#main:has(#insurer-filter) .card-top .tile,#main:has(#insurer-filter) .meta span,.iw-card-header,.iw-card.is-target { color:var(--accent); }
.ws-task-row,.ws-task-row.is-selected { background:rgba(255,255,255,.78); border-color:var(--line); box-shadow:none; }
.hero { background:rgba(255,255,255,.72); border-color:var(--line); }
.hero-art { filter:grayscale(1); opacity:.2; }
.quick:nth-child(2) .quick-icon,.quick:nth-child(3) .quick-icon { background:var(--surface-subtle); color:var(--muted); }
.search,.iw-search,.ins-search-box,input:not([type="checkbox"]):not([type="radio"]),select,textarea { background-color:var(--input-surface); box-shadow:none; }
input:focus,select:focus,textarea:focus,.search:focus-within,.iw-search:focus-within,.ins-search-box:focus-within { border-color:var(--focus); box-shadow:0 0 0 3px var(--focus-halo); }
.primary,.primary:hover,#rail .primary,#rail .primary:hover { color:var(--ink); background:rgba(255,255,255,.82); border-color:#d5dade; box-shadow:inset 0 1px 0 var(--highlight-white),0 2px 7px rgba(40,48,55,.035); }
.secondary,.secondary:hover { background:rgba(255,255,255,.76); }
.badge,.step,.step.active,.meta span,.asset-list a,.ws-floating-tool output { color:var(--muted); background:var(--surface-subtle); }
.data-table th,.data-table tbody tr:hover { background:rgba(247,248,248,.78); }
.modal-overlay { background:var(--overlay); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.modal,.modal.iw-reader,.modal.ir-editor,.modal.lib-modal { background:rgba(255,255,255,.88); border-color:rgba(255,255,255,.92); box-shadow:var(--shadow-float); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }
.iw-reader .ir-script,.iw-highlights,.ins-summary,.upload-zone,.iw-drop-hint { background:rgba(255,255,255,.68); border-color:var(--line); color:var(--muted); }
.iw-drop-hint { border-style:dashed; }
.taskbar,.floating { background-color:var(--glass-floating); }
.rail-footer { border:1px solid var(--line); border-radius:var(--radius-control); }
.ws-floating-tool output { background:rgba(255,255,255,.7); }
.ws-assistant-strip { background:var(--glass-shell); }
.ws-assistant-backdrop { background:var(--overlay); }
/* Neutralize decorative module tints while retaining readable status colors and focus states. */
.ins-row.is-selected,.ins-detail-tags span,.wf-customer.is-selected,.wf-message,.wf-input-preview { background-color:var(--surface-subtle); border-color:var(--line); color:var(--muted); }
.ins-favorite:hover,.ins-more summary:hover,.ins-more[open] summary,.iw-option,.iw-option b,.iw-target-switch button.is-current { background-color:var(--surface-subtle); color:var(--muted); border-color:var(--line); }
.success,.verified,.approved { color:var(--success); }
.error,.rejected,.merge_failed { color:var(--error); }
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
 .sidebar,#rail,.ws-floating-tool,.modal,.modal.iw-reader,.modal.ir-editor,.taskbar,.floating { background:var(--surface); }
}
@media(prefers-reduced-transparency:reduce) {
 .sidebar,#rail,.ws-floating-tool,.modal,.modal.iw-reader,.modal.ir-editor,.taskbar,.floating { background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; }
}

/* User-adjustable light glass controls shared across the workspace. */
body.workspace-shell .sidebar,
body.workspace-shell #rail,
body.workspace-shell .ws-home-concept,
body.workspace-shell .ws-concept-panel,
body.workspace-shell .ws-task-list,
body.workspace-shell .ws-execution-body,
body.workspace-shell .panel,
body.workspace-shell .record-card,
body.workspace-shell .stat,
body.workspace-shell .quick,
body.workspace-shell .iw-card,
body.workspace-shell .iw-board,
body.workspace-shell .ins-directory,
body.workspace-shell .ins-detail,
body.workspace-shell .cc-card,
body.workspace-shell .cc-section,
body.workspace-shell .cc-table-scroll,
body.workspace-shell .job,
body.workspace-shell .wf-controls,
body.workspace-shell .wf-customers,
body.workspace-shell .wf-detail,
body.workspace-shell .plan-chart-panel,
body.workspace-shell .product-results,
body.workspace-shell .plan-view-tab,
body.workspace-shell .plan-view-placeholder,
body.workspace-shell .ins-row,
body.workspace-shell .ins-detail-section,
body.workspace-shell .ins-group,
body.workspace-shell .ins-product,
body.workspace-shell .lib-evidence,
body.workspace-shell .lib-review,
body.workspace-shell .lib-publish,
body.workspace-shell .lib-manual,
body.workspace-shell .table-scroll,
body.workspace-shell .data-table {
 background-color:color-mix(in srgb,var(--glass-tint) var(--glass-opacity),transparent);
 background-image:radial-gradient(rgba(112,122,130,var(--glass-grain-alpha)) .55px,transparent .75px);
 background-size:4px 4px;
 border-color:rgba(112,122,130,.19);
 backdrop-filter:blur(var(--glass-blur)) saturate(103%);
 -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(103%);
}
body.workspace-shell .ws-identity-trigger,
body.workspace-shell .ws-identity-avatar,
body.workspace-shell .navitem.active,
body.workspace-shell .ws-mini-tools .ws-tool,
body.workspace-shell .ws-task-row,
body.workspace-shell .cc-table-scroll .data-table,
body.workspace-shell .data-table th,
body.workspace-shell .plan-view-tab.is-active,
body.workspace-shell .ins-row.is-selected,
body.workspace-shell .ins-detail-header,
body.workspace-shell .ins-detail-footer {
 background-color:color-mix(in srgb,var(--glass-tint) calc(var(--glass-opacity) + 8%),transparent);
 border-color:rgba(112,122,130,.17);
}
body.workspace-shell input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
body.workspace-shell select,
body.workspace-shell textarea,
body.workspace-shell .search,
body.workspace-shell .iw-search,
body.workspace-shell .ins-search-box,
body.workspace-shell .secondary {
 background-color:color-mix(in srgb,var(--glass-tint) calc(var(--glass-opacity) + 16%),transparent);
 border-color:rgba(112,122,130,.18);
}
body.workspace-shell .ws-concept-panel { box-shadow:inset 0 1px 0 rgba(255,255,255,.82),0 6px 20px rgba(40,48,55,.035); }
body.workspace-shell .panel,
body.workspace-shell .record-card,
body.workspace-shell .stat,
body.workspace-shell .quick,
body.workspace-shell .iw-card,
body.workspace-shell .ins-directory,
body.workspace-shell .ins-detail,
body.workspace-shell .cc-card,
body.workspace-shell .cc-section,
body.workspace-shell .job { box-shadow:0 6px 20px rgba(40,48,55,.035),inset 0 1px 0 rgba(255,255,255,.82); }
body.workspace-shell .plan-chart-panel,
body.workspace-shell .product-results,
body.workspace-shell .plan-view-tab,
body.workspace-shell .plan-view-placeholder,
body.workspace-shell .ins-row,
body.workspace-shell .ins-detail-section,
body.workspace-shell .ins-group,
body.workspace-shell .ins-product,
body.workspace-shell .lib-evidence,
body.workspace-shell .lib-review,
body.workspace-shell .lib-publish,
body.workspace-shell .lib-manual,
body.workspace-shell .table-scroll,
body.workspace-shell .data-table {
 background-color:color-mix(in srgb,var(--glass-tint) var(--glass-opacity),transparent);
 background-image:radial-gradient(rgba(112,122,130,var(--glass-grain-alpha)) .55px,transparent .75px);
 background-size:4px 4px;
 border-color:rgba(112,122,130,.19);
 backdrop-filter:blur(var(--glass-blur)) saturate(103%);
 -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(103%);
}
body.workspace-shell .plan-view-tab.is-active,
body.workspace-shell .ins-row.is-selected,
body.workspace-shell .ins-detail-header,
body.workspace-shell .ins-detail-footer { background-color:color-mix(in srgb,var(--glass-tint) calc(var(--glass-opacity) + 8%),transparent); border-color:rgba(112,122,130,.17); }
body.workspace-shell input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
body.workspace-shell select,
body.workspace-shell textarea,
body.workspace-shell .search,
body.workspace-shell .iw-search,
body.workspace-shell .ins-search-box,
body.workspace-shell .secondary { background-color:color-mix(in srgb,var(--glass-tint) calc(var(--glass-opacity) + 16%),transparent); border-color:rgba(112,122,130,.18); }
.glass-range-field>span { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.glass-range-field output { min-width:48px; text-align:right; color:var(--ink); font-variant-numeric:tabular-nums; }
.glass-range-field input[type="range"] { width:100%; accent-color:#87939a; padding:0; background:transparent; }
.glass-preview-note { display:flex; align-items:center; gap:12px; min-height:66px; padding:12px 14px; border:1px solid rgba(112,122,130,.18); border-radius:14px; background:color-mix(in srgb,var(--glass-tint) 62%,transparent); }
.glass-preview-swatch { width:40px; height:40px; flex:none; border-radius:12px; border:1px solid rgba(112,122,130,.22); background:color-mix(in srgb,var(--glass-tint) 74%,transparent); backdrop-filter:blur(var(--glass-blur)); }
.glass-preview-note b,.glass-preview-note small { display:block; }
.glass-preview-note b { font-size:12px; }
.glass-preview-note small { margin-top:4px; color:var(--muted); font-size:10px; }
@media(prefers-reduced-transparency:reduce) {
 body.workspace-shell .sidebar,body.workspace-shell #rail,body.workspace-shell .ws-home-concept,body.workspace-shell .ws-concept-panel,
 body.workspace-shell .ws-task-list,body.workspace-shell .ws-execution-body,body.workspace-shell .panel,body.workspace-shell .record-card,
 body.workspace-shell .stat,body.workspace-shell .quick,body.workspace-shell .iw-card,body.workspace-shell .iw-board,
 body.workspace-shell .ins-directory,body.workspace-shell .ins-detail,body.workspace-shell .cc-card,body.workspace-shell .cc-section,
 body.workspace-shell .cc-table-scroll,body.workspace-shell .job,body.workspace-shell .wf-controls,body.workspace-shell .wf-customers,
 body.workspace-shell .wf-detail,body.workspace-shell .plan-chart-panel,body.workspace-shell .product-results,body.workspace-shell .plan-view-tab,
 body.workspace-shell .plan-view-placeholder,body.workspace-shell .ins-row,body.workspace-shell .ins-detail-section,body.workspace-shell .ins-group,
 body.workspace-shell .ins-product,body.workspace-shell .lib-evidence,body.workspace-shell .lib-review,body.workspace-shell .lib-publish,
 body.workspace-shell .lib-manual,body.workspace-shell .table-scroll,body.workspace-shell .data-table { background:#fff; background-image:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
}
.glass-range-field>span { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.glass-range-field output { min-width:48px; text-align:right; color:var(--ink); font-variant-numeric:tabular-nums; }
.glass-range-field input[type="range"] { width:100%; accent-color:#87939a; padding:0; background:transparent; }
.glass-preview-note { display:flex; align-items:center; gap:12px; min-height:66px; padding:12px 14px; border:1px solid rgba(112,122,130,.18); border-radius:14px; background:color-mix(in srgb,var(--glass-tint) 62%,transparent); }
.glass-preview-swatch { width:40px; height:40px; flex:none; border-radius:12px; border:1px solid rgba(112,122,130,.22); background:color-mix(in srgb,var(--glass-tint) 74%,transparent); backdrop-filter:blur(var(--glass-blur)); }
.glass-preview-note b,.glass-preview-note small { display:block; }
.glass-preview-note b { font-size:12px; }
.glass-preview-note small { margin-top:4px; color:var(--muted); font-size:10px; }
@media(prefers-reduced-transparency:reduce) {
 body.workspace-shell .sidebar,
 body.workspace-shell #rail,
 body.workspace-shell .ws-home-concept,
 body.workspace-shell .ws-concept-panel,
 body.workspace-shell .ws-task-list,
 body.workspace-shell .ws-execution-body,
 body.workspace-shell .panel,
 body.workspace-shell .record-card,
 body.workspace-shell .stat,
 body.workspace-shell .quick,
 body.workspace-shell .iw-card,
 body.workspace-shell .iw-board,
 body.workspace-shell .ins-directory,
 body.workspace-shell .ins-detail,
 body.workspace-shell .cc-card,
 body.workspace-shell .cc-section,
 body.workspace-shell .cc-table-scroll,
 body.workspace-shell .job,
 body.workspace-shell .wf-controls,
 body.workspace-shell .wf-customers,
 body.workspace-shell .wf-detail { background:#fff; background-image:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
}
@media(prefers-reduced-transparency:reduce) {
 body.workspace-shell .sidebar,
 body.workspace-shell #rail,
 body.workspace-shell .ws-home-concept,
 body.workspace-shell .ws-concept-panel,
 body.workspace-shell .ws-task-list,
 body.workspace-shell .ws-execution-body,
 body.workspace-shell .panel,
 body.workspace-shell .record-card,
 body.workspace-shell .stat,
 body.workspace-shell .quick,
 body.workspace-shell .iw-card,
 body.workspace-shell .iw-board,
 body.workspace-shell .ins-directory,
 body.workspace-shell .ins-detail,
 body.workspace-shell .cc-card,
 body.workspace-shell .cc-section,
 body.workspace-shell .cc-table-scroll,
 body.workspace-shell .job,
 body.workspace-shell .wf-controls,
 body.workspace-shell .wf-customers,
 body.workspace-shell .wf-detail { background:#fff; background-image:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
}
.glass-range-field>span { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.glass-range-field output { min-width:48px; text-align:right; color:var(--ink); font-variant-numeric:tabular-nums; }
.glass-range-field input[type="range"] { width:100%; accent-color:#87939a; padding:0; background:transparent; }
.glass-preview-note { display:flex; align-items:center; gap:12px; min-height:66px; padding:12px 14px; border:1px solid rgba(112,122,130,.18); border-radius:14px; background:color-mix(in srgb,var(--glass-tint) 62%,transparent); }
.glass-preview-swatch { width:40px; height:40px; flex:none; border-radius:12px; border:1px solid rgba(112,122,130,.22); background:color-mix(in srgb,var(--glass-tint) 74%,transparent); backdrop-filter:blur(var(--glass-blur)); }
.glass-preview-note b,.glass-preview-note small { display:block; }
.glass-preview-note b { font-size:12px; }
.glass-preview-note small { margin-top:4px; color:var(--muted); font-size:10px; }
@media(prefers-reduced-motion:reduce) {
 *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
 .primary:active,.secondary:active,.ws-tool:active { transform:none; }
}

/* Home-only glass study: the wallpaper stays behind the pure-white frosted shell. */
body.ws-home-page {
 --bg:#fff;
 background-color:#fff;
}
body.ws-home-page .sidebar,
body.ws-home-page #rail,
body.ws-home-page .ws-task-list,
body.ws-home-page .ws-execution-body {
 background:#fff;
 background:rgba(255,255,255,.68);
 border-color:rgba(255,255,255,.78);
 box-shadow:0 12px 38px rgba(38,53,56,.10),inset 0 1px rgba(255,255,255,.94);
 backdrop-filter:blur(20px) saturate(105%);
 -webkit-backdrop-filter:blur(20px) saturate(105%);
}
body.ws-home-page .center {
 background:transparent;
 backdrop-filter:none;
 -webkit-backdrop-filter:none;
}
body.ws-home-page .ws-execution-body { background:rgba(255,255,255,.72); }
body.ws-home-page .ws-task-row,
body.ws-home-page .ws-task-row.is-selected { background:rgba(255,255,255,.62); border-color:rgba(255,255,255,.78); }
body.ws-home-page .navitem.active { background:rgba(255,255,255,.68); box-shadow:inset 0 0 0 1px rgba(255,255,255,.92); }
/* The homepage keeps navigation controls while removing the three marked identity/context blocks. */
body.ws-home-page .ws-brand-row { position:relative; height:24px; min-height:24px; margin-bottom:8px; align-items:flex-start; justify-content:flex-end; }
body.ws-home-page .ws-brand-row>.brand,
body.ws-home-page .employee { display:none; }
body.ws-home-page .ws-fold { margin-left:auto; margin-top:2px; }
.workspace-shell .ws-identity-card { position:relative; z-index:3; margin:12px 14px 16px; }
.ws-sidebar-collapsed .ws-identity-card { display:none; }
body.ws-home-page .ws-primary-link.navitem { display:flex; justify-content:flex-start; gap:8px; padding-left:calc(50% - 49px); }
body.ws-home-page .ws-primary-link>.icon { flex:0 0 17px; }
body.ws-home-page .ws-primary-link>span { flex:none; min-width:0; text-align:left; }
body.ws-home-page .ws-primary-link small { display:none; }
body.ws-home-page.ws-sidebar-collapsed .ws-primary-link.navitem { justify-content:center; padding:12px 9px; }
.workspace-shell .ws-identity-trigger {
 width:100%; min-height:74px; display:flex; align-items:center; justify-content:space-between; gap:12px;
 padding:12px 14px; text-align:left; color:var(--ink); cursor:pointer;
 background:rgba(255,255,255,.58); border:1px solid rgba(255,255,255,.94); border-radius:18px;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.98),0 5px 18px rgba(49,62,69,.055);
 backdrop-filter:blur(18px) saturate(108%); -webkit-backdrop-filter:blur(18px) saturate(108%);
 transition:background .18s ease,box-shadow .18s ease;
}
.workspace-shell .ws-identity-trigger:hover,
.workspace-shell .ws-identity-card.is-open .ws-identity-trigger { background:rgba(255,255,255,.72); box-shadow:inset 0 1px 0 #fff,0 7px 22px rgba(49,62,69,.075); }
.workspace-shell .ws-identity-copy { min-width:0; display:grid; gap:5px; }
.workspace-shell .ws-identity-copy b { overflow:hidden; color:#293139; font-size:14px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
.workspace-shell .ws-identity-copy small { color:#78828a; font-size:11px; letter-spacing:.01em; }
.workspace-shell .ws-identity-avatar { flex:0 0 42px; width:42px; height:42px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.95); border-radius:50%; background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(225,230,233,.72)); box-shadow:0 2px 8px rgba(48,60,66,.08),inset 0 1px 0 #fff; }
.workspace-shell .ws-identity-avatar svg { display:block; width:25px; height:25px; flex:none; fill:rgba(255,255,255,0); stroke:#7d878e; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.7; }
.workspace-shell .ws-identity-avatar svg circle { fill:rgba(132,143,150,.20); stroke:none; }
.workspace-shell .ws-identity-menu { position:absolute; top:calc(100% + 8px); left:0; right:0; display:grid; gap:12px; padding:15px; border:1px solid rgba(255,255,255,.96); border-radius:17px; background:rgba(255,255,255,.83); box-shadow:0 12px 30px rgba(45,58,65,.12),inset 0 1px 0 #fff; backdrop-filter:blur(22px) saturate(108%); -webkit-backdrop-filter:blur(22px) saturate(108%); }
.workspace-shell .ws-identity-menu[hidden] { display:none; }
.workspace-shell .ws-identity-menu-account,
.workspace-shell .ws-identity-role { display:grid; gap:5px; }
.workspace-shell .ws-identity-menu-account>span,
.workspace-shell .ws-identity-role>span { color:#78828a; font-size:11px; }
.workspace-shell .ws-identity-menu-account>b { color:var(--ink); font-size:13px; font-weight:600; }
.workspace-shell .ws-identity-menu-account>small,
.workspace-shell .ws-identity-note { color:#858e95; font-size:10px; }
.workspace-shell .ws-identity-role select { width:100%; min-height:38px; padding:0 10px; border:1px solid rgba(120,132,140,.18); border-radius:10px; background:rgba(255,255,255,.78); color:var(--ink); }
@media(prefers-reduced-transparency:reduce) {
.workspace-shell .ws-identity-trigger,.workspace-shell .ws-identity-menu { background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  body.ws-home-page .sidebar,body.ws-home-page #rail,body.ws-home-page .ws-task-list,body.ws-home-page .ws-execution-body,body.ws-home-page .ws-task-row,body.ws-home-page .ws-task-row.is-selected { background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; }
 body.ws-home-page .center { background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; }
}

/* Extend the homepage's neutral frosted material to the other modules. */
body.workspace-shell:not(.ws-home-page) {
 --bg:#fff;
 --surface:rgba(255,255,255,.72);
 --surface-subtle:rgba(255,255,255,.54);
 --surface-selected:rgba(255,255,255,.68);
 --surface-tint:rgba(255,255,255,.58);
 --nav-surface:rgba(255,255,255,.70);
 --glass-shell:rgba(255,255,255,.64);
 --glass-floating:rgba(255,255,255,.72);
 --line:rgba(58,68,76,.11);
 background-color:#fff;
 background-image:url("/ui-assets/home-desktop-wallpapers.png");
 background-size:cover,200% 200%;
 background-position:center,0 0;
 background-attachment:fixed,fixed;
 background-repeat:no-repeat,no-repeat;
}
body.workspace-shell:not(.ws-home-page)[data-home-wallpaper="cloud"] { background-position:center,100% 0; }
body.workspace-shell:not(.ws-home-page)[data-home-wallpaper="desk"] { background-position:center,0 100%; }
body.workspace-shell:not(.ws-home-page)[data-home-wallpaper="stone"] { background-position:center,100% 100%; }
body.workspace-shell:not(.ws-home-page) .center {
 background:transparent;
 backdrop-filter:none;
 -webkit-backdrop-filter:none;
}
body.ws-home-page .center,
body.workspace-shell:not(.ws-home-page) .center {
 background:rgba(255,255,255,.14);
 backdrop-filter:blur(26px) saturate(102%);
 -webkit-backdrop-filter:blur(26px) saturate(102%);
}
body.workspace-shell:not(.ws-home-page) #main { background:transparent; }
body.workspace-shell:not(.ws-home-page) .sidebar,
body.workspace-shell:not(.ws-home-page) #rail,
body.workspace-shell:not(.ws-home-page) .taskbar,
body.workspace-shell:not(.ws-home-page) .floating {
 border-color:rgba(255,255,255,.78);
 backdrop-filter:blur(18px) saturate(105%);
 -webkit-backdrop-filter:blur(18px) saturate(105%);
}
body.workspace-shell:not(.ws-home-page) .sidebar,
body.workspace-shell:not(.ws-home-page) #rail {
 background:rgba(255,255,255,.68);
 background-image:none;
 box-shadow:0 12px 38px rgba(38,53,56,.10),inset 0 1px rgba(255,255,255,.94);
 backdrop-filter:blur(20px) saturate(105%);
 -webkit-backdrop-filter:blur(20px) saturate(105%);
}
body.workspace-shell:not(.ws-home-page) .navitem.active {
 color:var(--ink);
 background:rgba(255,255,255,.68);
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.92);
}
/* Keep every module's left navigation in the homepage's compact, text-aligned layout. */
body.workspace-shell .ws-primary-link.navitem { display:flex; justify-content:flex-start; gap:8px; padding-left:calc(50% - 49px); }
body.workspace-shell .ws-primary-link>.icon { flex:0 0 17px; }
body.workspace-shell .ws-primary-link>span { flex:none; min-width:0; text-align:left; }
body.workspace-shell .ws-primary-link small { display:none; }
body.workspace-shell:not(.ws-home-page) .panel,
body.workspace-shell:not(.ws-home-page) .record-card,
body.workspace-shell:not(.ws-home-page) .stat,
body.workspace-shell:not(.ws-home-page) .quick,
body.workspace-shell:not(.ws-home-page) .iw-card,
body.workspace-shell:not(.ws-home-page) .iw-board,
body.workspace-shell:not(.ws-home-page) .ins-directory,
body.workspace-shell:not(.ws-home-page) .ins-detail,
body.workspace-shell:not(.ws-home-page) .cc-card,
body.workspace-shell:not(.ws-home-page) .cc-section,
body.workspace-shell:not(.ws-home-page) .ws-execution-body,
body.workspace-shell:not(.ws-home-page) .ws-task-list,
body.workspace-shell:not(.ws-home-page) .job,
body.workspace-shell:not(.ws-home-page) .wf-controls,
body.workspace-shell:not(.ws-home-page) .wf-customers,
body.workspace-shell:not(.ws-home-page) .wf-detail {
 background:rgba(255,255,255,.74);
 border-color:rgba(255,255,255,.82);
 box-shadow:0 10px 30px rgba(40,48,55,.055),inset 0 1px 0 rgba(255,255,255,.92);
 backdrop-filter:blur(20px) saturate(104%);
 -webkit-backdrop-filter:blur(20px) saturate(104%);
}
body.workspace-shell:not(.ws-home-page) .iw-card-header,
body.workspace-shell:not(.ws-home-page) .iw-card-footer,
body.workspace-shell:not(.ws-home-page) .data-table th { background:rgba(255,255,255,.52); }
body.workspace-shell:not(.ws-home-page) .data-table { background:rgba(255,255,255,.48); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }
body.workspace-shell:not(.ws-home-page) .data-table tbody tr:hover { background:rgba(255,255,255,.72); }
body.workspace-shell #main .plan-table thead { position:sticky; top:0; z-index:5; }
body.workspace-shell #main .plan-table thead th { position:sticky; top:0; z-index:6; background:#fff; background-image:none; }
body.workspace-shell #main .data-table.plan-table td { text-align:center; }
body.workspace-shell:not(.ws-home-page) .cc-table-scroll {
 background:rgba(255,255,255,.38);
 border:1px solid rgba(255,255,255,.68);
 border-radius:18px;
 backdrop-filter:blur(16px) saturate(104%);
 -webkit-backdrop-filter:blur(16px) saturate(104%);
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
 body.ws-home-page .center,
 body.workspace-shell:not(.ws-home-page) .center { background:#fff; }
 body.workspace-shell:not(.ws-home-page) .panel,
 body.workspace-shell:not(.ws-home-page) .record-card,
 body.workspace-shell:not(.ws-home-page) .stat,
 body.workspace-shell:not(.ws-home-page) .quick,
 body.workspace-shell:not(.ws-home-page) .iw-card,
 body.workspace-shell:not(.ws-home-page) .iw-board,
 body.workspace-shell:not(.ws-home-page) .ins-directory,
 body.workspace-shell:not(.ws-home-page) .ins-detail,
 body.workspace-shell:not(.ws-home-page) .cc-card,
 body.workspace-shell:not(.ws-home-page) .cc-section,
 body.workspace-shell:not(.ws-home-page) .ws-execution-body,
 body.workspace-shell:not(.ws-home-page) .ws-task-list,
 body.workspace-shell:not(.ws-home-page) .cc-table-scroll,
 body.workspace-shell:not(.ws-home-page) .job,
 body.workspace-shell:not(.ws-home-page) .wf-controls,
 body.workspace-shell:not(.ws-home-page) .wf-customers,
 body.workspace-shell:not(.ws-home-page) .wf-detail { background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; }
}
@media(prefers-reduced-transparency:reduce) {
 body.ws-home-page .center { background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; }
 body.workspace-shell:not(.ws-home-page) { background:#fff; }
 body.workspace-shell:not(.ws-home-page) .center { background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; }
 body.workspace-shell:not(.ws-home-page) .center,
 body.workspace-shell:not(.ws-home-page) .sidebar,
 body.workspace-shell:not(.ws-home-page) #rail,
 body.workspace-shell:not(.ws-home-page) .taskbar,
 body.workspace-shell:not(.ws-home-page) .floating { background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; }
 body.workspace-shell:not(.ws-home-page) .cc-table-scroll { background:#fff; }
}

/* Keep the shared left rail on the same quiet white glass scale in every module. */
body.ws-home-page .sidebar,
body.workspace-shell:not(.ws-home-page) .sidebar,
body.workspace-shell #rail {
 background:rgba(255,255,255,.76);
 background-image:none;
 border-color:rgba(255,255,255,.90);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.96);
 backdrop-filter:blur(22px) saturate(102%);
 -webkit-backdrop-filter:blur(22px) saturate(102%);
}
body.ws-home-page .sidebar,
body.workspace-shell:not(.ws-home-page) .sidebar { border-right-color:rgba(92,103,112,.12); }
body.workspace-shell:not(.ws-home-page) #rail { border-left-color:rgba(92,103,112,.12); }
body.workspace-shell .ws-identity-trigger {
 background:rgba(255,255,255,.74);
 border-color:rgba(255,255,255,.94);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.98),0 6px 18px rgba(40,48,55,.045);
}
body.workspace-shell .ws-identity-trigger:hover,
body.workspace-shell .ws-identity-card.is-open .ws-identity-trigger {
 background:rgba(255,255,255,.84);
 box-shadow:inset 0 1px 0 #fff,0 7px 20px rgba(40,48,55,.06);
}
body.workspace-shell .ws-identity-avatar {
 background:rgba(255,255,255,.78);
 box-shadow:0 2px 8px rgba(40,48,55,.055),inset 0 1px 0 #fff;
}
body.ws-home-page .navitem.active,
body.workspace-shell:not(.ws-home-page) .navitem.active {
 color:var(--ink);
 background:rgba(255,255,255,.86);
 border-color:rgba(255,255,255,.96);
 box-shadow:inset 0 1px 0 #fff,0 3px 10px rgba(40,48,55,.035);
}
body.workspace-shell .navitem:hover:not(.active) { background:rgba(255,255,255,.40); }
body.workspace-shell .ws-mini-tools .ws-tool {
 color:var(--muted);
 background:rgba(255,255,255,.70);
 border-color:rgba(255,255,255,.90);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.98),0 3px 9px rgba(40,48,55,.035);
}
body.workspace-shell .ws-mini-tools .ws-tool .icon { color:var(--muted); }
body.workspace-shell .ws-mini-tools .ws-tool:hover {
 color:var(--ink);
 background:rgba(255,255,255,.82);
 border-color:rgba(255,255,255,.98);
 box-shadow:inset 0 1px 0 #fff,0 4px 11px rgba(40,48,55,.05);
}
body.workspace-shell .ws-sidebar-tools { border-top-color:rgba(92,103,112,.14); }
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
 body.ws-home-page .sidebar,body.workspace-shell:not(.ws-home-page) .sidebar,body.workspace-shell #rail { background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; }
}
@media(prefers-reduced-transparency:reduce) {
 body.ws-home-page .sidebar,body.workspace-shell:not(.ws-home-page) .sidebar,body.workspace-shell #rail,
 body.workspace-shell .ws-identity-trigger,body.workspace-shell .ws-identity-avatar,body.workspace-shell .employee,
 body.workspace-shell .navitem.active,body.workspace-shell .ws-mini-tools .ws-tool { background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; }
}

/* Final shared layer: one clean white glass scale controlled from Team & Settings. */
body.workspace-shell .sidebar,
body.workspace-shell #rail,
body.workspace-shell .ws-home-concept,
body.workspace-shell .ws-concept-panel,
body.workspace-shell .ws-task-list,
body.workspace-shell .ws-execution-body,
body.workspace-shell .panel,
body.workspace-shell .record-card,
body.workspace-shell .stat,
body.workspace-shell .quick,
body.workspace-shell .iw-card,
body.workspace-shell .iw-board,
body.workspace-shell .ins-directory,
body.workspace-shell .ins-detail,
body.workspace-shell .cc-card,
body.workspace-shell .cc-section,
body.workspace-shell .cc-table-scroll,
body.workspace-shell .job,
body.workspace-shell .wf-controls,
body.workspace-shell .wf-customers,
body.workspace-shell .wf-detail {
 background-color:color-mix(in srgb,var(--glass-tint) var(--glass-opacity),transparent);
 background-image:radial-gradient(rgba(112,122,130,var(--glass-grain-alpha)) .55px,transparent .75px);
 background-size:4px 4px;
 border-color:rgba(112,122,130,.19);
 backdrop-filter:blur(var(--glass-blur)) saturate(103%);
 -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(103%);
}
body.workspace-shell .ws-identity-trigger,
body.workspace-shell .ws-identity-avatar,
body.workspace-shell .navitem.active,
body.workspace-shell .ws-mini-tools .ws-tool,
body.workspace-shell .ws-task-row,
body.workspace-shell .cc-table-scroll .data-table,
body.workspace-shell .data-table th {
 background-color:color-mix(in srgb,var(--glass-tint) calc(var(--glass-opacity) + 8%),transparent);
 border-color:rgba(112,122,130,.17);
}
body.workspace-shell .ws-concept-panel { box-shadow:inset 0 1px 0 rgba(255,255,255,.82),0 6px 20px rgba(40,48,55,.035); }
body.workspace-shell .panel,
body.workspace-shell .record-card,
body.workspace-shell .stat,
body.workspace-shell .quick,
body.workspace-shell .iw-card,
body.workspace-shell .ins-directory,
body.workspace-shell .ins-detail,
body.workspace-shell .cc-card,
body.workspace-shell .cc-section,
body.workspace-shell .job { box-shadow:0 6px 20px rgba(40,48,55,.035),inset 0 1px 0 rgba(255,255,255,.82); }
/* Extend the same glass controls to specialized surfaces across modules. */
body.workspace-shell .plan-chart-panel,
body.workspace-shell .product-results,
body.workspace-shell .plan-view-tab,
body.workspace-shell .plan-view-placeholder,
body.workspace-shell .ins-row,
body.workspace-shell .ins-detail-section,
body.workspace-shell .ins-group,
body.workspace-shell .ins-product,
body.workspace-shell .lib-evidence,
body.workspace-shell .lib-review,
body.workspace-shell .lib-publish,
body.workspace-shell .lib-manual,
body.workspace-shell .table-scroll,
body.workspace-shell .data-table {
 background-color:color-mix(in srgb,var(--glass-tint) var(--glass-opacity),transparent);
 background-image:radial-gradient(rgba(112,122,130,var(--glass-grain-alpha)) .55px,transparent .75px);
 background-size:4px 4px;
 border-color:rgba(112,122,130,.19);
 backdrop-filter:blur(var(--glass-blur)) saturate(103%);
 -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(103%);
}
body.workspace-shell .plan-view-tab.is-active,
body.workspace-shell .ins-row.is-selected,
body.workspace-shell .ins-detail-header,
body.workspace-shell .ins-detail-footer {
 background-color:color-mix(in srgb,var(--glass-tint) calc(var(--glass-opacity) + 8%),transparent);
 border-color:rgba(112,122,130,.17);
}
body.workspace-shell input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
body.workspace-shell select,
body.workspace-shell textarea,
body.workspace-shell .search,
body.workspace-shell .iw-search,
body.workspace-shell .ins-search-box,
body.workspace-shell .secondary {
 background-color:color-mix(in srgb,var(--glass-tint) calc(var(--glass-opacity) + 16%),transparent);
 border-color:rgba(112,122,130,.18);
}
@media(prefers-reduced-transparency:reduce) {
 body.workspace-shell .plan-chart-panel,
 body.workspace-shell .product-results,
 body.workspace-shell .plan-view-tab,
 body.workspace-shell .plan-view-placeholder,
 body.workspace-shell .ins-row,
 body.workspace-shell .ins-detail-section,
 body.workspace-shell .ins-group,
 body.workspace-shell .ins-product,
 body.workspace-shell .lib-evidence,
 body.workspace-shell .lib-review,
 body.workspace-shell .lib-publish,
 body.workspace-shell .lib-manual,
 body.workspace-shell .table-scroll,
 body.workspace-shell .data-table { background:#fff; background-image:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
}

/* One continuous desktop surface behind all three workspace columns. */
body.workspace-shell,
body.workspace-shell:not(.ws-home-page) {
 position:relative;
 background-color:var(--glass-tint,#fff) !important;
 background-image:url("./ui-assets/home-desktop-wallpapers.png") !important;
 background-position:0 0 !important;
 background-size:200% 200% !important;
 background-repeat:no-repeat !important;
 background-attachment:fixed !important;
}
body.workspace-shell[data-home-wallpaper="cloud"] { background-position:100% 0 !important; }
body.workspace-shell[data-home-wallpaper="desk"] { background-position:0 100% !important; }
body.workspace-shell[data-home-wallpaper="stone"] { background-position:100% 100% !important; }
body.workspace-shell::before {
 content:"";
 position:fixed;
 inset:0;
 z-index:0;
 pointer-events:none;
 background:color-mix(in srgb,var(--glass-tint,#fff) 32%,transparent);
 backdrop-filter:blur(calc(var(--glass-blur,8px) * .62)) saturate(96%);
 -webkit-backdrop-filter:blur(calc(var(--glass-blur,8px) * .62)) saturate(96%);
}
body.workspace-shell #app,
body.workspace-shell .layout,
body.workspace-shell .center,
body.workspace-shell:not(.ws-home-page) .center,
body.workspace-shell #main,
body.workspace-shell .sidebar,
body.workspace-shell:not(.ws-home-page) .sidebar,
body.workspace-shell #rail,
body.workspace-shell:not(.ws-home-page) #rail {
 position:relative;
 z-index:1;
 background:transparent !important;
 background-image:none !important;
 backdrop-filter:none !important;
 -webkit-backdrop-filter:none !important;
}
/* Mark the central work area with edge definition, while keeping the wallpaper continuous. */
body.workspace-shell .center,
body.workspace-shell:not(.ws-home-page) .center {
 z-index:1;
 border:0;
 box-shadow:none;
 background-color:rgba(55,64,70,.045) !important;
}
body.workspace-shell .sidebar,
body.workspace-shell:not(.ws-home-page) .sidebar,
body.workspace-shell #rail,
body.workspace-shell:not(.ws-home-page) #rail {
 position:relative;
 z-index:10;
 background:color-mix(in srgb,var(--glass-tint) calc(var(--glass-opacity) * .35),transparent) !important;
 background-image:none !important;
 backdrop-filter:blur(calc(var(--glass-blur,8px) * 1.25)) saturate(101%) !important;
 -webkit-backdrop-filter:blur(calc(var(--glass-blur,8px) * 1.25)) saturate(101%) !important;
 border-color:rgba(96,106,114,.22) !important;
}
body.workspace-shell .sidebar,
body.workspace-shell #rail { box-shadow:none !important; }
/* Content surfaces share a restrained white glass finish across modules. */
body.workspace-shell #main :is(.ws-home-concept,.panel,.record-card,.iw-board,.iw-card,.ins-directory,.ins-detail,.cc-card,.cc-section,.cc-table-scroll,.job,.plan-chart-panel,.product-results,.plan-view-placeholder,.table-scroll) {
 background-color:color-mix(in srgb,var(--glass-tint) calc(var(--glass-opacity) * .53),transparent) !important;
 background-image:radial-gradient(rgba(112,122,130,var(--glass-grain-alpha)) .5px,transparent .75px) !important;
 background-size:4px 4px;
 border-color:rgba(110,120,126,.22) !important;
 box-shadow:none !important;
 backdrop-filter:blur(var(--glass-blur)) saturate(100%) !important;
 -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(100%) !important;
}
body.workspace-shell #main :is(.ws-concept-panel,.ws-concept-stat,.ws-concept-customer,.plan-view-tab,.ins-row,.ins-detail-section,.ins-group,.ins-product,.stat,.quick) {
 background-color:color-mix(in srgb,var(--glass-tint) calc(var(--glass-opacity) * .5),transparent) !important;
 background-image:radial-gradient(rgba(112,122,130,var(--glass-grain-alpha)) .5px,transparent .75px) !important;
 background-size:4px 4px;
 border-color:rgba(110,120,126,.22) !important;
 box-shadow:none !important;
}
body.workspace-shell #main :is(.ws-concept-contact,.ws-concept-complete,.ws-concept-tabs,.ws-concept-add) {
 background-color:color-mix(in srgb,var(--glass-tint) calc(var(--glass-opacity) * .62),transparent) !important;
 border-color:rgba(110,120,126,.20) !important;
 box-shadow:none !important;
}
body.workspace-shell #main :is(.ws-concept-tabs button.is-active,.plan-view-tab.is-active,.ins-row.is-selected) {
 background-color:color-mix(in srgb,var(--glass-tint) calc(var(--glass-opacity) * .82),transparent) !important;
 border-color:rgba(110,120,126,.28) !important;
}
body.workspace-shell #main .iw-search { background:transparent !important; border:0; box-shadow:none; }
body.workspace-shell .sidebar .ws-identity-trigger,
body.workspace-shell .sidebar .ws-identity-avatar,
body.workspace-shell .sidebar .navitem.active,
body.workspace-shell .sidebar .ws-mini-tools .ws-tool {
 background:transparent !important;
 background-image:none !important;
 border-color:transparent !important;
 box-shadow:none !important;
 backdrop-filter:none !important;
 -webkit-backdrop-filter:none !important;
}
body.workspace-shell .sidebar .navitem.active { color:var(--ink); font-weight:650; }
body.workspace-shell .sidebar .navitem:hover:not(.active) { background:rgba(255,255,255,.10) !important; }
@media(prefers-reduced-transparency:reduce) {
 body.workspace-shell::before { background:rgba(255,255,255,.78); backdrop-filter:none; -webkit-backdrop-filter:none; }
 body.workspace-shell .sidebar,body.workspace-shell:not(.ws-home-page) .sidebar,
 body.workspace-shell #rail,body.workspace-shell:not(.ws-home-page) #rail,
 body.workspace-shell #main :is(.ws-home-concept,.panel,.record-card,.iw-board,.iw-card,.ins-directory,.ins-detail,.cc-card,.cc-section,.cc-table-scroll,.job,.plan-chart-panel,.product-results,.plan-view-placeholder,.table-scroll,.ws-concept-panel,.ws-concept-stat,.ws-concept-customer,.plan-view-tab,.ins-row,.ins-detail-section,.ins-group,.ins-product,.stat,.quick) {
  background:#fff !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important;
 }
}

/* Subtle feedback for workspace navigation and actions. */
body.workspace-shell button:not(:disabled) {
 transition:background-color .14s ease,color .14s ease,transform .1s ease;
}
body.workspace-shell button:not(:disabled):active { transform:translateY(1px); }
body.workspace-shell button:focus-visible {
 outline:2px solid rgba(66,76,84,.48);
 outline-offset:2px;
}
body.workspace-shell .sidebar .ws-primary-link.navitem.active {
 background:rgba(255,255,255,.22) !important;
}
body.workspace-shell .sidebar .ws-primary-link.navitem:hover:not(.active),
body.workspace-shell .sidebar .ws-mini-tools .ws-tool:hover {
 color:var(--ink);
 background:rgba(255,255,255,.22) !important;
}

/* Let the home content sit directly on the shared workspace background. */
body.workspace-shell.ws-home-page .center {
 background:transparent !important;
}
body.workspace-shell.ws-home-page #main .ws-home-concept {
 background:transparent !important;
 border:0 !important;
 box-shadow:none !important;
 backdrop-filter:none !important;
 -webkit-backdrop-filter:none !important;
}
body.workspace-shell.insurer-workbench-page .center {
 background:transparent !important;
}
body.workspace-shell.insurer-workbench-page #main .iw-board {
 background:transparent !important;
 border:0 !important;
 box-shadow:none !important;
 backdrop-filter:none !important;
 -webkit-backdrop-filter:none !important;
}

/* Give the existing surfaces a little more weight without adding outer panels. */
body.workspace-shell .sidebar,
body.workspace-shell:not(.ws-home-page) .sidebar,
body.workspace-shell #rail,
body.workspace-shell:not(.ws-home-page) #rail {
 background-color:color-mix(in srgb,var(--glass-tint) calc(var(--glass-opacity) * .45),transparent) !important;
}
body.workspace-shell #main :is(.panel,.record-card,.ins-directory,.ins-detail,.cc-card,.cc-section,.cc-table-scroll,.job,.plan-chart-panel,.product-results,.plan-view-placeholder,.table-scroll,.ws-concept-panel,.ws-concept-stat,.ws-concept-customer,.plan-view-tab,.ins-row,.ins-detail-section,.ins-group,.ins-product,.stat,.quick):not(.is-active):not(.is-selected) {
 background-color:color-mix(in srgb,var(--glass-tint) calc(var(--glass-opacity) * .68),transparent) !important;
 border-color:rgba(96,106,114,.25) !important;
 box-shadow:0 2px 10px rgba(40,48,55,.045),inset 0 1px 0 rgba(255,255,255,.35) !important;
}
@media(prefers-reduced-transparency:reduce) {
 body.workspace-shell .sidebar,body.workspace-shell:not(.ws-home-page) .sidebar,
 body.workspace-shell #rail,body.workspace-shell:not(.ws-home-page) #rail,
 body.workspace-shell #main :is(.panel,.record-card,.ins-directory,.ins-detail,.cc-card,.cc-section,.cc-table-scroll,.job,.plan-chart-panel,.product-results,.plan-view-placeholder,.table-scroll,.ws-concept-panel,.ws-concept-stat,.ws-concept-customer,.plan-view-tab,.ins-row,.ins-detail-section,.ins-group,.ins-product,.stat,.quick) { background-color:#fff !important; }
}
@media(max-width:1100px) {
 body.workspace-shell.ws-assistant-drawer-open #rail {
  position:fixed;
  z-index:90;
 }
}

/* Preserve the insurer workbench card surfaces from its own stylesheet. */
body.workspace-shell.insurer-workbench-page #main .iw-card {
 background:transparent !important;
 border-color:var(--line) !important;
 box-shadow:none !important;
 backdrop-filter:none !important;
 -webkit-backdrop-filter:none !important;
}
body.workspace-shell.insurer-workbench-page #main .iw-card.is-target { box-shadow:var(--shadow-soft) !important; }
body.workspace-shell.insurer-workbench-page #main :is(.iw-card-header,.iw-card-footer) {
 background:var(--surface-subtle) !important;
 box-shadow:none !important;
}
