/* P050 — approved PC boards. Presentation only; no authority/data changes.
   Loaded last so the shared design contract is explicit rather than screen-local. */
.app-shell {
  --bg: #091827;
  --surface: #10253a;
  --surface-2: #142e46;
  --text: #eef5ff;
  --muted: #b0c5de;
  --line: #29455f;
  --primary: #0066d6;
  --accent: #64caff;
  --good: #65e0aa;
  --warning: #ffcd7a;
  --focus: #80d5ff;
  --radius: 18px;
  --shadow: 0 4px 18px #00000016;
  --pc-hover: #173a58;
  --pc-selected: #113c64;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
html[data-theme=light] .app-shell {
  --bg: #f3f7fc;
  --surface: #ffffff;
  --surface-2: #f0f5fb;
  --text: #112c4f;
  --muted: #516885;
  --line: #d4e1ed;
  --primary: #005dbb;
  --accent: #005eac;
  --good: #086b44;
  --warning: #805000;
  --focus: #0067c4;
  --shadow: 0 3px 16px #234b7810;
  --pc-hover: #eaf3fc;
  --pc-selected: #dceeff;
}
.app-shell .main-shell {background: var(--bg)}
.app-shell .sidebar {
  background: linear-gradient(165deg, var(--surface), var(--bg));
  border-color: var(--line);
}
.app-shell .topbar {
  min-height: 72px;
  padding: 10px 24px;
  background: var(--surface);
  border-color: var(--line);
  box-shadow: none;
}
.app-shell .topbar .header-actions {gap: 8px; min-width: 0}
.app-shell .account-actions {gap: 8px; min-width: 330px; min-height: 50px}
.app-shell .breadcrumb {font-size: 12px; letter-spacing: .015em}
.app-shell .content {padding: 22px 24px 32px; max-width: 1800px}
.app-shell .preview-notice {padding: 8px 12px; margin-bottom: 18px; font-size: 12px; border-radius: 6px}
.app-shell .page-heading {margin-bottom: 20px; gap: 12px}
.app-shell .page-heading h1 {font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.035em; margin-bottom: 6px}
.app-shell .page-heading .eyebrow {font-size: 10px; letter-spacing: .12em; margin-bottom: 6px}
.app-shell .page-heading p {font-size: 13px}
.app-shell .workspace-switcher {border-radius: 16px; background: var(--surface); box-shadow: 0 2px 8px #0000000a}
.app-shell .workspace-switcher > summary {display: grid; grid-template-columns: 36px minmax(0,1fr) 18px; gap: 10px; align-items: center; min-height: 66px; padding: 10px; border-radius: inherit; transition: box-shadow .16s ease-out}
.app-shell .workspace-switcher > summary:hover {background: var(--pc-hover)}
.app-shell .workspace-switcher[open] {border-color: var(--accent)}
.app-shell .workspace-mark {display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--pc-selected); color: var(--accent)}
.app-shell .workspace-mark .icon {width: 20px; height: 20px}
.app-shell .workspace-label {display: grid; gap: 2px; min-width: 0}
.app-shell .workspace-switcher-caption {font-size: 10px; letter-spacing: .06em; line-height: 1.3}
.app-shell .workspace-switcher strong {font-size: 13px; line-height: 1.35; overflow-wrap: anywhere}
.app-shell .workspace-chevron {grid-column: auto; grid-row: auto; width: 18px; height: 18px; color: var(--muted)}
.app-shell .workspace-switcher[open] .workspace-chevron {transform: none; color: var(--accent)}
.app-shell .workspace-options {grid-template-columns: minmax(0,1fr); width: 310px; max-width: calc(100vw - 32px); max-height: min(380px,65dvh); overflow-y: auto; overscroll-behavior: contain; border-radius: 18px; background: var(--surface); box-shadow: 0 16px 40px #00000030}
.app-shell .workspace-options a {position: relative; min-width: 0; gap: 12px; padding: 12px 30px 12px 12px; border: 1px solid transparent; border-radius: 12px; min-height: 68px; transition: border-color .16s ease-out,box-shadow .16s ease-out}
.app-shell .workspace-options a > span {min-width: 0; overflow-wrap: anywhere; font-weight: 600; line-height: 1.35}
.app-shell .workspace-options small {font-weight: 400; font-size: 12px; line-height: 1.45}
.app-shell .workspace-options a:hover {background: var(--pc-hover)}
.app-shell .workspace-options a[aria-current=page] {background: var(--pc-selected); border-color: var(--line)}
.app-shell .workspace-options a[aria-current=page]::after {content: ""; position: absolute; right: 13px; width: 6px; height: 11px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg)}
@media(min-width:981px) {
  html[data-sidebar=compact] .app-shell .sidebar > .workspace-switcher > summary {display: flex; justify-content: center; padding: 7px; min-height: 52px}
  html[data-sidebar=compact] .app-shell .workspace-label {position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%)}
  html[data-sidebar=compact] .app-shell .workspace-chevron {display: none}
}
@media(max-width:980px) {.app-shell .workspace-options {width: 100%; max-width: 100%}}
@media(prefers-reduced-motion:reduce) {.app-shell .workspace-switcher > summary {transition: none}}
.app-shell .nav-kicker {font-size: 10px; padding-inline: 12px; letter-spacing: .09em}
.mobile-hub-grid {display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 16px}
.mobile-hub-card {display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface)}
.mobile-hub-card h2 {font-size: 17px; margin: 0 0 8px}
.mobile-hub-card p {flex: 1; overflow-wrap: anywhere}
.news-copy {white-space: pre-wrap; overflow-wrap: anywhere}
.news-card {margin-block: 16px; padding: 22px; border-radius: 18px}
.mobile-hub-card a {align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px}
.mobile-summary {display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),1fr)); gap: 12px; margin: 20px 0}
.mobile-summary .data-stat {display: grid; gap: 8px; min-width: 0}
.app-shell .sidebar .nav-link,
.app-shell .crm-menu-trigger {font-size: 13px; border-radius: 7px; min-height: 44px; line-height: 1.4}
.app-shell .sidebar .nav-link.active,
.app-shell .crm-menu-group.current > .crm-menu-trigger {
  background: var(--pc-selected); color: var(--accent);
  box-shadow: inset 3px 0 var(--primary);
}
.app-shell .sidebar .nav-link:hover,
.app-shell .crm-menu-trigger:hover {background: var(--pc-hover)}
.app-shell .crm-menu-panel {border-color: var(--line); margin-left: 14px; padding-left: 8px}
.app-shell .sidebar-bottom {font-size: 12px}
.app-shell .sidebar-bottom .badge {font-size: 11px; border-radius: 5px}
.app-shell .button {gap: 8px; border-radius: 7px; padding: 9px 14px; min-height: 44px; font-size: 13px}
.app-shell .button.primary {background: var(--primary); color: #fff; box-shadow: 0 2px 5px #002a631a}
.app-shell .button:not(.primary):hover:not(:disabled) {background: var(--pc-hover)}
.app-shell :is(.panel,.lab-panel,.crm-card,.chart-panel,.hub-panel) {
  border-radius: 18px; border-color: var(--line); background: var(--surface); box-shadow: var(--shadow);
}
.app-shell .lab-panel {padding: 20px}
.app-shell .lab-panel > h2 {font-size: 17px; margin-bottom: 16px}
.app-shell .metric-grid {gap: 12px; margin-bottom: 12px}
.app-shell .metric-card {padding: 16px; border-radius: 9px; box-shadow: var(--shadow)}
.app-shell .metric-card h2 {font-size: 12px; margin-bottom: 12px}
.app-shell .metric-value {margin-bottom: 8px}
.app-shell .metric-value strong {font-size: 28px; line-height: 1.15}
.app-shell .tone-blue .metric-value span {color: var(--accent)}
.app-shell .section-guide {border-radius: 8px; background: var(--surface); margin-bottom: 18px}
.app-shell .section-guide > summary {padding: 10px 14px; min-height: 56px; gap: 10px}
.app-shell .section-guide summary strong {font-size: 13px}
.app-shell .section-guide summary small {font-size: 12px}
.app-shell :is(.data-summary,.crm-kpis,.hub-metrics) {gap: 12px; margin-bottom: 18px}
.app-shell :is(.data-stat,.crm-kpi,.hub-metric) {
  min-height: 96px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface); box-shadow: var(--shadow); color: var(--text);
}
.app-shell :is(.crm-kpi,.hub-metric) {transition: background .16s ease, border-color .16s ease}
.app-shell :is(.crm-kpi,.hub-metric):hover {background: var(--pc-hover); border-color: var(--accent); box-shadow: var(--shadow)}
.app-shell :is(.data-stat,.crm-kpi,.hub-metric) strong {font-size: 28px; line-height: 1.2; margin-top: 8px; font-variant-numeric: tabular-nums}
.app-shell .crm-card {padding: 18px; margin: 16px 0}
.app-shell .crm-workspace {padding: 20px; overflow: visible}
.app-shell .crm-toolbar,
#lab-content[data-work] .crm-toolbar {padding: 12px; margin: 14px 0; background: var(--surface-2); border-radius: 8px; gap: 12px}
.app-shell :is(.filter-grid,.settings-form,.crm-form-grid) {gap: 16px}
.app-shell .form-field {gap: 6px; min-width: 0}
.app-shell .form-field label {font-size: 13px}
.app-shell .form-field :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {
  border-radius: 7px; border-color: var(--line); background: var(--bg); color: var(--text);
  padding: 10px 12px; min-height: 44px; font-size: 14px; line-height: 1.5;
}
.app-shell .table-scroll,
#lab-content[data-work] .table-scroll {border: 1px solid var(--line); border-radius: 8px; margin-inline: 0; background: var(--surface)}
.app-shell table {font-size: 13px; font-variant-numeric: tabular-nums}
.app-shell .table-scroll :is(th,td) {padding: 10px 14px; line-height: 1.5}
.app-shell .table-scroll thead th {color: var(--muted); background: var(--surface-2); font-size: 12px; font-weight: 600}
.app-shell #lab-content .lab-panel .table-scroll thead th {font-size: 12px; padding: 10px 14px}
.app-shell tbody td {color: var(--text)}
.app-shell tbody tr:hover {background: var(--pc-hover)}
.app-shell .crm-register {border-radius: 8px}
.app-shell .crm-register td {padding: 10px 14px!important}
.app-shell :is(.crm-avatar,.crm-person-avatar) {border-radius: 50%; background: var(--pc-selected); color: var(--accent)}
.app-shell .crm-employee-hero {padding: 12px 0 18px; gap: 14px}
.app-shell .crm-employee-hero strong {font-size: 22px; letter-spacing: -.025em}
.app-shell .crm-profile-tabs {gap: 4px; margin-bottom: 16px; padding: 10px 0}
.app-shell :is(.crm-profile-tabs,.hub-tabs,.crm-office-tabs) [aria-current=page] {background: var(--pc-selected); color: var(--accent)}
.app-shell .hub-header {padding: 16px 20px; border-radius: 10px; box-shadow: var(--shadow)}
.app-shell .hub-header h2 {font-size: 24px; margin-top: 6px}
.app-shell .hub-tabs {border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 0 4px; background: transparent; gap: 4px}
.app-shell .hub-tab {padding: 10px 14px; font-size: 13px; border-radius: 6px 6px 0 0}
.app-shell .hub-tab.active {background: var(--pc-selected); color: var(--accent); box-shadow: inset 0 -2px var(--primary)}
.app-shell .hub-panel {padding: 18px}
.app-shell .hub-project-card {padding: 18px; gap: 8px; border-radius: 9px; font-size: 19px; box-shadow: var(--shadow)}
.app-shell .hub-project-card:hover {border-color: var(--accent); background: var(--pc-hover)}
.app-shell .hub-content {animation: none}
.hub-view-switch {display: flex; gap: 4px; border: 1px solid var(--line); border-radius: 8px; padding: 3px; background: var(--bg)}
.hub-view-switch [aria-pressed=true] {background: var(--pc-selected); color: var(--accent); border-color: transparent}
.hub-task-board {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 14px; margin-top: 18px}
.hub-task-column {min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg)}
.hub-task-column > header {display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px}
.hub-task-column h3 {font-size: 13px; margin: 0}
.hub-task-card {background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin-top: 10px; transition: border-color .16s ease,box-shadow .16s ease}
.hub-task-card:hover,.hub-task-card:focus-within {border-color: var(--accent); box-shadow: var(--shadow)}
.app-shell .hub-task-title {justify-content: start; text-align: left; width: 100%; padding: 4px 0; border: 0; background: transparent; color: var(--text); overflow-wrap: anywhere}
.hub-task-description {font-size: 12px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 4px 0 12px}
.hub-task-meta {display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--muted); overflow-wrap: anywhere}
@media(max-width:1100px) {.hub-task-board {grid-template-columns: 1fr}}
.app-shell .sw-dialog {
  color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 24px 80px #0006;
}
.app-shell .sw-dialog::backdrop {background: #04112070; backdrop-filter: blur(2px)}
.app-shell .dialog-heading {padding: 14px 20px; background: var(--surface); border-bottom: 1px solid var(--line); gap: 10px}
.app-shell .dialog-heading h2 {font-size: 18px; line-height: 1.4; overflow-wrap: anywhere}
.app-shell .dialog-body {padding: 20px}
.app-shell :is(.state-chip,.pill) {font-size: 12px; border-radius: 999px}
#lab-content .state-chip.good {color: var(--good); background: var(--surface); border-color: var(--good)}
#lab-content[data-work] .dialog-heading {padding: 14px 20px}
#lab-content[data-work] .dialog-body {padding: 20px}
.app-shell .log-event {gap: 3px}
.app-shell .log-event :is(code,small) {font-size: 12px}
.app-shell .footer {font-size: 11px; padding-block: 16px}
.app-shell :is(button,a,input,select,textarea,summary):focus-visible {outline: 2px solid var(--focus); outline-offset: 3px}
.app-shell [hidden] {display: none!important}
@media(min-width:981px) {
  html:not([data-sidebar=compact]) .app-shell {grid-template-columns: 244px minmax(0,1fr)}
  html:not([data-sidebar=compact]) .app-shell .sidebar > .brand {
    flex-direction: row; align-items: center; gap: 10px; padding: 0 6px 10px; min-height: 52px; font-size: 14px;
  }
  html:not([data-sidebar=compact]) .app-shell .sidebar > .brand img {width: 72px}
  .app-shell > .sidebar {padding: 14px 12px 12px; gap: 6px}
  .app-shell .sidebar-toggle {min-height: 44px; min-width: 44px; padding: 3px 12px; font-size: 16px}
  .app-shell .crm-detail-sheet:not(.fullscreen) {
    inset: 12px 12px 12px auto; margin: 0; width: min(660px, calc(100vw - 280px));
    height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); max-width: none;
    animation: pc-detail-enter .18s ease-out;
  }
  .app-shell .crm-detail-sheet:not(.fullscreen) .dialog-heading {position: sticky; top: 0; z-index: 3}
}
@media(max-width:980px) {
  .app-shell .content {padding: 18px 16px 28px}
  .app-shell .topbar {padding: 10px 16px; flex-wrap: wrap}
  .app-shell .topbar .header-actions {flex-wrap: wrap; max-width: 100%}
}
@media(max-width:600px) {
  .app-shell {font-size: 16px}
  .app-shell .form-field :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {font-size: 16px}
  .app-shell :is(.lab-panel,.crm-workspace,.hub-panel) {padding: 14px}
  .app-shell .crm-kpis {grid-template-columns: repeat(2,minmax(0,1fr))}
  .app-shell .dialog-heading {flex-wrap: wrap; padding: 12px 16px}
  .app-shell .dialog-heading h2 {flex-basis: 100%}
  .app-shell .dialog-body {padding: 16px}
  #lab-content[data-work] .dialog-heading {padding: 12px 16px}
  #lab-content[data-work] .dialog-body {padding: 16px}
  .app-shell .hub-project-card {font-size: 18px}
}
@media(max-width:650px) {.app-shell .account-actions {min-width: 0; max-width: 100%}}
@keyframes pc-detail-enter {from{transform: translateX(16px); opacity: .8} to{transform: none; opacity: 1}}
@media(prefers-reduced-motion:reduce) {.app-shell .crm-detail-sheet:not(.fullscreen) {animation: none}}
html:is([data-motion=off],[data-motion=minimal],[data-personal-motion=reduce]) .app-shell .crm-detail-sheet:not(.fullscreen) {animation: none}

/* Shared entry and workspace brand: remove only the approved PNG's white matte.
   Do not blend the rectangular image surface into either theme. */
.brand .brand-filters {position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none}
.brand img {filter: url("#gbl-mark-white"); mix-blend-mode: normal}
:root[data-theme=light] .brand img {filter: url("#gbl-mark-blue"); mix-blend-mode: normal}

/* Entry pages intentionally omit graph.css; shared preferences must not depend
   on business-module styles for their spacing or touch targets. */
.preference-switches {display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-width: 0; max-width: 100%}
.preference-switches .button {min-width: 44px; min-height: 44px; padding: 10px 16px}
.preference-switches .language-toggle {min-width: 76px}
.welcome-header .preference-switches {justify-content: flex-end}
@media(max-width:600px) {
  .welcome-header .preference-switches {justify-content: flex-start}
}

/* The existing sign-in and star controls remain real; this is a branded layout,
   not a second login implementation or a mock federation button. */
.pc-login-layout {--login-light-x:50%; --login-light-y:50%; --login-light-focus:0; display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:clamp(24px,5vw,72px); width:min(100%,952px); min-width:0}
.pc-login-story {position:relative; isolation:isolate; display:flex; flex-direction:column; justify-content:center; align-self:stretch; padding:36px 32px; min-width:0; overflow:hidden; border:1px solid #73c9ff24; border-radius:28px; color:#f4f9ff; background:linear-gradient(145deg,#114d7e 0%,#0a2d50 58%,#071b31 100%); box-shadow:0 24px 64px -40px #07376570}
.pc-login-story > p,.pc-login-story > h2 {position:relative; z-index:1}
.pc-login-story::before {content:''; position:absolute; inset:-30%; z-index:-1; pointer-events:none; background:radial-gradient(ellipse at 25% 25%,#38baff32,transparent 48%),radial-gradient(ellipse at 80% 75%,#1676e64a,transparent 42%); animation:login-story-light 16s ease-in-out infinite alternate; animation-play-state:paused}
.pc-login-story .eyebrow {color:#a5dfff; font-size:11px; margin-bottom:24px; letter-spacing:.16em}
.pc-login-story h2 {max-width:10em; color:#f4f9ff; font-size:clamp(32px,3.4vw,46px); line-height:1.1; letter-spacing:-.045em; margin-bottom:22px}
.pc-login-story > p:not(.eyebrow) {max-width:30ch; color:#c4dbee; font-size:16px; line-height:1.65}
.pc-login-story .pc-login-caption {margin-top:88px; margin-bottom:0; padding-top:16px; font-size:12px!important; letter-spacing:.035em; position:relative}
.pc-login-caption::before {content:''; position:absolute; top:0; left:0; width:40px; height:2px; background:#65c8ff; opacity:.8}
.pc-login-architecture {position:absolute; right:-28px; bottom:-96px; width:360px; height:300px; z-index:0; transform:skewY(-18deg); opacity:.34; pointer-events:none; overflow:hidden; mask-image:linear-gradient(transparent,#000 38%)}
.pc-login-architecture span {position:absolute; bottom:0; width:130px; border:1px solid #70caff; background:repeating-linear-gradient(0deg,transparent 0 27px,#70caff42 28px 29px),repeating-linear-gradient(90deg,transparent 0 31px,#70caff42 32px 33px)}
.pc-login-architecture::after {content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(0deg,transparent 44%,#7dd9ff1c 48%,#a5e8ffa6 50%,#7dd9ff1c 52%,transparent 56%); transform:translate3d(0,85%,0); opacity:0; animation:login-building-scan 8s ease-in-out infinite; animation-play-state:paused}
.pc-login-architecture span:nth-child(1) {left: 0; height: 150px}
.pc-login-architecture span:nth-child(2) {left: 100px; height: 220px}
.pc-login-architecture span:nth-child(3) {left: 200px; height: 290px}
.with-login-scene:has(.login-card) .pc-login-layout .login-card {position:relative; isolation:isolate; overflow:hidden; width:100%; max-width:440px; padding:32px; border:1px solid color-mix(in srgb,var(--accent) 20%,var(--line)); border-radius:24px; box-shadow:0 24px 64px -32px #0006,inset 0 1px 0 #ffffff0b; align-self:center; background:linear-gradient(145deg,color-mix(in srgb,var(--surface) 95%,var(--accent)),var(--surface) 62%)}
.with-login-scene:has(.login-card) .pc-login-layout .login-card h1 {font-size:clamp(26px,2.5vw,32px); letter-spacing:-.04em; line-height:1.15; margin:10px 0 14px}
.login-gateway > * {position:relative; z-index:1}
.login-gateway .eyebrow {font-size:10px; letter-spacing:.12em}
.login-intro {color:var(--muted); font-size:15px; line-height:1.6; max-width:30ch; margin-bottom:28px}
.with-login-scene:has(.login-card) .login-gateway #microsoft-login {position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:center; justify-content:flex-start; gap:12px; min-height:56px; margin:0; padding:14px 18px; border:1px solid #87caff38; border-radius:14px; background:linear-gradient(115deg,#0862c4,#064a9e); color:#fff; font-size:15px; box-shadow:0 10px 28px -9px #006ddc80,inset 0 1px 0 #ffffff24; transition:box-shadow .22s,border-color .22s}
.login-gateway #microsoft-login > * {position:relative; z-index:1}
.login-gateway #microsoft-login::before {content:''; position:absolute; inset:-50% auto -50% -55%; width:45%; pointer-events:none; background:linear-gradient(90deg,transparent,#ffffff20,transparent); transform:translate3d(0,0,0) skewX(-22deg); animation:login-button-glint 6.8s ease-in-out infinite; animation-play-state:paused}
.with-login-scene .login-gateway #microsoft-login:hover {border-color:#a2d8ff80; box-shadow:0 12px 32px -8px #007bedaa,inset 0 1px 0 #ffffff45}
.with-login-scene .login-gateway #microsoft-login:active {box-shadow:0 4px 16px -6px #006ddc80,inset 0 2px 5px #00306d45}
.login-gateway #microsoft-login:focus-visible {outline:3px solid var(--focus); outline-offset:4px}
.login-provider-logo {display:grid; grid-template-columns:repeat(2,8px); gap:2px; flex:none; width:18px; height:18px}
.login-provider-logo i {display:block; background:currentColor}
.login-arrow {width:20px; height:20px; flex:none; margin-left:auto}
.login-provider-note {display:flex; align-items:center; gap:8px; margin:24px 0 0; padding-top:18px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; line-height:1.55}
.login-provider-note .icon {width:15px; height:15px; flex:none}
/* Light lives on the material, never on moving text or the sign-in target. */
.login-gateway::before {content:''; position:absolute; inset:-100% -70%; pointer-events:none; background:linear-gradient(110deg,transparent 43%,#72caff10 48%,#c8eaff20 50%,#72caff10 52%,transparent 57%); transform:translate3d(-24%,0,0) rotate(-8deg); opacity:0; animation:login-material-glint 12s ease-in-out infinite; animation-play-state:paused}
.login-gateway::after {content:''; position:absolute; inset:0; pointer-events:none; border-radius:inherit; background:radial-gradient(280px circle at var(--login-light-x) var(--login-light-y),color-mix(in srgb,var(--accent) 12%,transparent),transparent 72%); opacity:var(--login-light-focus)}
.welcome[data-login-motion=on] .login-gateway::before,.welcome[data-login-motion=on] .login-gateway #microsoft-login::before,.welcome[data-login-motion=on] .pc-login-story::before,.welcome[data-login-motion=on] .pc-login-architecture::after {animation-play-state:running}
@keyframes login-material-glint {0%,18%,100%{transform:translate3d(-24%,0,0) rotate(-8deg);opacity:0}30%{opacity:.7}48%{transform:translate3d(24%,0,0) rotate(-8deg);opacity:0}}
@keyframes login-button-glint {0%,8%{transform:translate3d(0,0,0) skewX(-22deg)}48%,100%{transform:translate3d(370%,0,0) skewX(-22deg)}}
@keyframes login-story-light {from{transform:translate3d(-4%,-2%,0);opacity:.65}to{transform:translate3d(5%,4%,0);opacity:1}}
@keyframes login-building-scan {0%{transform:translate3d(0,85%,0);opacity:0}15%,60%{opacity:1}85%,100%{transform:translate3d(0,-85%,0);opacity:0}}
.with-login-scene:has(#local-login) .pc-login-layout #local-login {gap: 14px; margin-top: 20px}
:root[data-theme=light] .with-login-scene .pc-login-layout .login-card {background:linear-gradient(145deg,#ffffff,#f7fbff); border-color:#d4e3f0; box-shadow:0 24px 64px -32px #164e8240,inset 0 1px 0 #fff}
:root[data-theme=light] .login-gateway::before {background:linear-gradient(110deg,transparent 43%,#3b94d808 48%,#258ad81c 50%,#3b94d808 52%,transparent 57%)}
@media(max-width:760px) {
  .pc-login-layout {grid-template-columns:1fr; max-width:440px; gap:20px}
  .pc-login-story {padding:24px; border-radius:20px}
  .pc-login-story .eyebrow {margin-bottom: 12px}
  .pc-login-story h2 {font-size: 28px; max-width: none; margin-bottom: 10px}
  .pc-login-story > p:not(.eyebrow) {font-size: 14px; max-width: 36ch; margin-bottom: 0}
  .pc-login-story .pc-login-caption {display: none}
  .pc-login-architecture {opacity:.18; right:-70px; bottom:-130px}
  .with-login-scene:has(.login-card) .pc-login-layout .login-card {padding:24px; border-radius:20px}
  .login-intro {margin-bottom:22px}
  .with-login-scene:has(.login-card) .login-gateway #microsoft-login {padding:14px; font-size:14px; gap:10px}
}
@media(max-height:760px) and (min-width:761px) {
  .pc-login-story {padding:28px}
  .pc-login-story .pc-login-caption {margin-top:48px}
  .with-login-scene:has(.login-card) .pc-login-layout .login-card {padding: 24px 28px}
  .with-login-scene:has(#local-login) .pc-login-layout #local-login {gap: 10px; margin-top: 14px}
}
@media(prefers-reduced-motion:reduce) {.login-gateway::before,.login-gateway #microsoft-login::before,.pc-login-architecture::after {animation:none!important; opacity:0!important}.pc-login-story::before {animation:none!important}.login-gateway::after {display:none}}

.directory-panel {min-width:0}
.directory-status {display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-block:16px}
.directory-panel .settings-form {display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.directory-results {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:10px;min-width:0}
.directory-choice {display:flex;align-items:center;gap:14px;min-height:64px;padding:14px;border:1px solid var(--line);border-radius:14px;cursor:pointer;min-width:0}
.directory-choice:has(input:checked) {border-color:var(--accent);background:var(--surface)}
.directory-choice input[type=checkbox] {flex:0 0 24px;width:24px;height:24px}
.directory-choice span {display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
.directory-panel .row-actions {gap:12px;flex-wrap:wrap}

/* Ocean / Sunset: the approved product surfaces. Public pages keep their own shell. */
html[data-design=glass],html[data-design=glass] .app-shell {
  color-scheme:light;--bg:#caf5fa;--surface:#f4ffffd9;--surface-2:#e6f9fbd9;
  --text:#052b46;--muted:#17364e;--line:#164e6c26;--primary:#073f88;--accent:#007b83;
  --good:#006957;--warning:#81501a;--focus:#07559d;--radius:26px;
  --shadow:0 12px 40px #16657b12;--pc-hover:#ffffff8c;--pc-selected:#b0f8ea;
  --glass:#f4feff66;--glass-high:#f4ffffa8;--solid:#f3fcfd;--canvas-a:#94bffc;
  --canvas-b:#caf5fa;--canvas-c:#a0efdf;--glow-a:#5688f999;--glow-b:#4ce4c780;
  --button-end:#007d7d;--highlight:#0bcdbd;--ink-on-accent:#052b46;
}
html[data-design=glass][data-theme=sunset],html[data-design=glass][data-theme=sunset] .app-shell {
  --bg:#ffe4d7;--surface:#fff7f0e0;--surface-2:#fff0e5dc;--text:#49141e;--muted:#73323f;
  --line:#74354329;--primary:#82334b;--accent:#a33c34;--good:#426333;--warning:#7b4a14;
  --focus:#8c3048;--shadow:0 12px 40px #894e4314;--pc-hover:#fff9f2a8;--pc-selected:#ffd0bd;
  --glass:#fff6ed70;--glass-high:#fff9f1b3;--solid:#fff6ee;--canvas-a:#ffc0c7;
  --canvas-b:#ffe4d7;--canvas-c:#ffdaad;--glow-a:#ff7f9580;--glow-b:#ffc47d85;
  --button-end:#a94a36;--highlight:#ff7e64;--ink-on-accent:#49141e;
}
html[data-design=glass] {min-height:100%;font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif;background:var(--bg)}
html[data-design=glass] body {min-height:100dvh;background:radial-gradient(ellipse at 7% 5%,var(--glow-a),transparent 49%),radial-gradient(ellipse at 98% 96%,var(--glow-b),transparent 57%),linear-gradient(125deg,var(--canvas-a),var(--canvas-b) 53%,var(--canvas-c));background-attachment:fixed}
html[data-design=glass] .app-shell {display:flex;flex-direction:column;height:100dvh;min-height:0;overflow:hidden;background:transparent;font-size:15px;line-height:1.5}
html[data-design=glass] .app-shell .main-shell {flex:1;height:auto;min-height:0;overflow-y:auto;background:transparent;min-width:0}
html[data-design=glass] .app-shell .sidebar {position:relative;inset:auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px 24px;height:auto;min-height:0;width:auto;margin:24px clamp(18px,3.2vw,52px) 0;padding:16px 22px 12px;border:1px solid #ffffffb8;border-radius:30px;background:var(--glass);box-shadow:0 12px 45px #23465d0a;backdrop-filter:blur(22px);overflow:visible}
html[data-design=glass] .app-shell .sidebar>.brand {grid-column:1;grid-row:1;flex-direction:row;align-items:center;padding:0;gap:12px;font-size:20px;letter-spacing:-.045em}
html[data-design=glass] .app-shell .brand img {width:80px;filter:url("#gbl-mark-blue");mix-blend-mode:normal}
html[data-design=glass] .app-shell .sidebar>.workspace-switcher {grid-column:3;grid-row:1;margin:0;min-width:210px;border-color:#ffffffa8;background:var(--glass-high);border-radius:20px;box-shadow:none}
html[data-design=glass] .app-shell .workspace-switcher>summary {display:grid;grid-template-columns:36px minmax(0,1fr) 18px;padding:7px 12px;min-height:52px}
html[data-design=glass] .app-shell .workspace-label {position:static;width:auto;height:auto;overflow:visible;clip-path:none}
html[data-design=glass] .app-shell .workspace-chevron {display:block}
html[data-design=glass] .app-shell .workspace-mark {background:var(--pc-selected);border-radius:14px}
html[data-design=glass] .app-shell .workspace-options {left:auto;right:0;background:var(--solid);z-index:70}
html[data-design=glass] .app-shell .sidebar>.nav-kicker {display:none}
html[data-design=glass] .app-shell .sidebar>.sidebar-toggle {display:none}
html[data-design=glass] .app-shell .sidebar>nav {grid-column:1/-1;grid-row:2;display:flex!important;flex-direction:row;align-items:center;gap:5px;max-height:none;min-height:0;overflow-x:auto;overflow-y:hidden;padding:4px 0;scrollbar-width:thin;overscroll-behavior:contain}
html[data-design=glass] .app-shell .sidebar>nav .crm-nav-group {display:none}
html[data-design=glass] .app-shell .sidebar>nav .nav-link {display:flex;flex:0 0 auto;flex-direction:row;gap:9px;width:auto;min-height:46px;margin:0;padding:11px 17px;border-radius:24px;white-space:nowrap;text-align:left;color:var(--text);font-size:14px;border:1px solid transparent}
html[data-design=glass] .app-shell .sidebar .nav-link>span {position:static;width:auto;height:auto;clip-path:none;overflow:visible}
html[data-design=glass] .app-shell .sidebar .nav-link:is(.active,[aria-current=page]) {background:var(--glass-high);border-color:#fff;box-shadow:0 3px 12px var(--line);font-weight:650;color:var(--text)}
html[data-design=glass] .app-shell .sidebar .nav-link:hover {background:var(--glass-high)}
html[data-design=glass] .app-shell .sidebar .nav-link .icon {width:20px;height:20px;color:currentColor}
html[data-design=glass] .app-shell .sidebar>nav.crm-navigation {display:grid!important;grid-template-columns:repeat(7,max-content);gap:7px;align-items:start;overflow:auto}
html[data-design=glass] .app-shell .crm-navigation .crm-menu-group {display:contents}
html[data-design=glass] .app-shell .crm-navigation .crm-menu-trigger {grid-row:1;width:auto;white-space:nowrap;min-height:46px;padding:11px 16px;border-radius:24px;font-size:14px;color:var(--text);box-shadow:none}
html[data-design=glass] .app-shell .crm-menu-group:is(.current,.open)>.crm-menu-trigger {background:var(--glass-high);border-color:#fff;box-shadow:0 3px 12px var(--line)}
html[data-design=glass] .app-shell .crm-navigation .crm-menu-panel:not([hidden]) {grid-row:2;grid-column:1/-1;display:flex!important;flex-wrap:wrap;gap:5px;align-items:center;margin:0;padding:8px 0 0;border:0;border-top:1px solid var(--line);background:transparent}
html[data-design=glass] .app-shell .crm-navigation .crm-menu-panel .nav-link {font-size:13px;padding:9px 14px;min-height:44px}
html[data-design=glass] .app-shell .sidebar>.sidebar-bottom {grid-column:2;grid-row:1;justify-self:end;display:flex;flex-direction:row;align-items:center;gap:14px;margin:0;padding:0;border:0;font-size:11px}
html[data-design=glass] .app-shell .sidebar-bottom .badge {display:none}
html[data-design=glass] .app-shell .topbar {position:relative;top:auto;min-height:66px;margin:0 clamp(18px,3.2vw,52px);padding:12px 4px;background:transparent;border:0;box-shadow:none;z-index:35}
html[data-design=glass] .app-shell .breadcrumb {color:var(--muted)}
html[data-design=glass] .app-shell .account-actions {min-width:0}
html[data-design=glass] .app-shell .content {width:100%;max-width:1580px;margin:auto;padding:18px clamp(22px,3.5vw,56px) 48px}
html[data-design=glass] .app-shell .page-heading {margin-bottom:26px}
html[data-design=glass] .app-shell .page-heading h1 {font-size:clamp(32px,3.4vw,52px);line-height:1.13;letter-spacing:-.05em;font-weight:680}
html[data-design=glass] .app-shell .page-heading .eyebrow {font-size:11px;letter-spacing:.12em;color:var(--muted);margin-bottom:12px}
html[data-design=glass] .app-shell :is(.panel,.lab-panel,.chart-panel,.hub-panel,.crm-card,.crm-workspace,.source-card,.news-card,.mobile-hub-card) {border-radius:26px;border:1px solid #ffffffc9;background:var(--surface);box-shadow:var(--shadow);color:var(--text)}
html[data-design=glass] .app-shell :is(.lab-panel,.hub-panel,.crm-workspace) {padding:26px}
html[data-design=glass] .app-shell :is(.lab-panel,.hub-panel,.crm-card)>h2 {font-size:23px;font-weight:650;letter-spacing:-.035em;margin-bottom:20px}
html[data-design=glass] .app-shell :is(.metrics,.metric-grid,.data-summary,.crm-kpis,.hub-metrics) {gap:18px}
html[data-design=glass] .app-shell :is(.metric,.metric-card,.data-stat,.crm-kpi,.hub-metric) {border:1px solid #ffffffa8;border-radius:23px;background:var(--glass-high);box-shadow:none;padding:22px;min-height:110px}
html[data-design=glass] .app-shell :is(.data-stat,.crm-kpi,.hub-metric) strong,html[data-design=glass] .app-shell .metric-value strong {font-size:36px;letter-spacing:-.045em;color:var(--text)}
html[data-design=glass] .app-shell .button,html[data-design=glass] .welcome .button {border-radius:999px;min-height:44px;gap:10px;font-size:14px;padding:11px 20px;background:var(--glass-high);border-color:var(--line);color:var(--text)}
html[data-design=glass] .app-shell .button.primary,html[data-design=glass] .welcome .button.primary {background:linear-gradient(115deg,var(--primary),var(--button-end));color:#fff;border-color:transparent;box-shadow:0 6px 18px color-mix(in srgb,var(--primary) 15%,transparent)}
html[data-design=glass] .app-shell .button:hover:not(:disabled) {box-shadow:0 4px 14px var(--line)}
html[data-design=glass] .app-shell :is(.button.subtle,.button.secondary):hover {background:var(--solid)}
html[data-design=glass] .app-shell :is(.pill,.state-chip,.badge) {border-radius:999px;font-size:12px;white-space:normal;background:var(--glass-high);color:var(--muted)}
html[data-design=glass] .app-shell :is(.pill.attention,.state-chip.warn) {color:var(--warning)}
html[data-design=glass] .app-shell :is(.state-chip.good,.good) {color:var(--good)}
html[data-design=glass] .app-shell :is(.crm-toolbar,.filter-grid,.control-subnav,.hub-tabs,.crm-office-tabs,.crm-profile-tabs) {border:1px solid #ffffffa8;border-radius:25px;background:var(--glass);padding:8px;gap:7px}
html[data-design=glass] .app-shell :is(.control-subnav,.hub-tabs,.crm-office-tabs,.crm-profile-tabs) :is(a,button) {border-radius:20px;box-shadow:none;min-height:44px;padding:10px 16px}
html[data-design=glass] .app-shell :is(.control-subnav,.hub-tabs,.crm-office-tabs,.crm-profile-tabs) :is(.active,[aria-current=page],[aria-pressed=true]) {background:var(--solid);color:var(--text);box-shadow:0 2px 8px var(--line)}
html[data-design=glass] .app-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {background:var(--glass-high);border:1px solid var(--line);border-radius:16px;min-height:46px;padding:12px 14px;color:var(--text);font-size:14px;max-width:100%}
html[data-design=glass] .app-shell :is(input,select,textarea):focus {background:var(--solid);border-color:var(--accent)}
html[data-design=glass] .app-shell :is(input,textarea)::placeholder {color:var(--muted);opacity:1}
html[data-design=glass] .app-shell :is(input[type=checkbox],input[type=radio]) {accent-color:var(--accent)}
html[data-design=glass] .app-shell :is(.settings-form,.business-fields,.crm-form-grid) {gap:20px}
html[data-design=glass] .app-shell .form-field label {color:var(--muted);font-size:13px;font-weight:550}
html[data-design=glass] .app-shell .table-scroll,html[data-design=glass] #lab-content[data-work] .table-scroll {border:1px solid var(--line);border-radius:20px;background:var(--glass-high);max-width:100%;margin:18px 0;box-shadow:none}
html[data-design=glass] .app-shell table {font-size:14px}
html[data-design=glass] .app-shell .table-scroll :is(th,td),html[data-design=glass] .app-shell #lab-content .lab-panel .table-scroll thead th {padding:15px 18px;border-color:var(--line);line-height:1.5}
html[data-design=glass] .app-shell .table-scroll thead th {background:var(--solid);color:var(--muted);font-size:12px;letter-spacing:.025em}
html[data-design=glass] .app-shell tbody td {color:var(--text)}
html[data-design=glass] .app-shell .table-scroll .button {min-height:40px;padding:8px 13px}
html[data-design=glass] .app-shell .crm-register td {padding:15px 18px!important}
html[data-design=glass] .app-shell .hub-header {border-radius:28px;background:var(--glass-high);padding:26px;border-color:#fff}
html[data-design=glass] .app-shell .hub-header h2 {font-size:34px;letter-spacing:-.045em}
html[data-design=glass] .app-shell .hub-project-card {border-radius:24px;padding:24px;background:var(--glass-high)}
html[data-design=glass] .app-shell .hub-task-column {background:var(--glass);border-radius:24px;padding:16px;border-color:#ffffffa8}
html[data-design=glass] .app-shell .hub-task-card {background:var(--surface);border-radius:20px;padding:18px;border-color:#ffffffb8}
html[data-design=glass] .app-shell .hub-task-title {border-radius:0;background:transparent;padding:0;box-shadow:none;font-size:17px}
html[data-design=glass] .app-shell :is(.crm-avatar,.crm-person-avatar,.profile-avatar) {background:var(--pc-selected);color:var(--text);border:1px solid #ffffffb8}
html[data-design=glass] .app-shell .sw-dialog {background:var(--solid);border:1px solid #fff;border-radius:30px;box-shadow:0 30px 90px #17354835;max-width:calc(100vw - 32px)}
html[data-design=glass] .app-shell .sw-dialog::backdrop {background:color-mix(in srgb,var(--text) 28%,transparent);backdrop-filter:blur(7px)}
html[data-design=glass] .app-shell .dialog-heading,html[data-design=glass] #lab-content[data-work] .dialog-heading {background:var(--glass-high);padding:22px 26px;border-color:var(--line)}
html[data-design=glass] .app-shell .dialog-heading h2 {font-size:24px;letter-spacing:-.035em}
html[data-design=glass] .app-shell .dialog-body,html[data-design=glass] #lab-content[data-work] .dialog-body {padding:26px}
html[data-design=glass] .app-shell .crm-detail-sheet:not(.fullscreen) {width:min(720px,calc(100vw - 32px));inset:16px 16px 16px auto;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}
html[data-design=glass] .app-shell :is(.notice,.section-guide,.identity-safety,.preview-notice,.crm-form-group) {background:var(--glass-high);border-radius:20px;border-color:var(--line)}
html[data-design=glass] .app-shell .main-shell>.footer {margin-inline:clamp(22px,3.5vw,56px);font-size:11px;border-color:var(--line);color:var(--muted)}
html[data-design=glass] :is(button,a,input,select,textarea,summary):focus-visible {outline:3px solid var(--focus);outline-offset:4px}
html[data-design=glass] :is(.profile-options,.workspace-options) {background:var(--solid)}
html[data-design=glass] .theme-options {display:grid;grid-template-columns:1fr 1fr;gap:16px;grid-column:1/-1;margin:6px 0 12px}
html[data-design=glass] .theme-option {position:relative;text-align:left;padding:12px;border:2px solid transparent;border-radius:24px;background:var(--glass-high);color:var(--text);font:inherit;cursor:pointer}
html[data-design=glass] .theme-option[aria-pressed=true] {border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}
html[data-design=glass] .theme-preview {display:flex;flex-direction:column;gap:10px;padding:18px;height:120px;border-radius:15px;border:1px solid #fffc;background:linear-gradient(125deg,#94bffc,#caf5fa 53%,#a0efdf)}
html[data-design=glass] .theme-option[data-colorway=sunset] .theme-preview {background:linear-gradient(125deg,#ffc0c7,#ffe4d7 53%,#ffdaad)}
html[data-design=glass] .theme-preview::before {content:"";height:14px;border-radius:8px;background:#ffffff8c;box-shadow:0 26px 0 9px #ffffff5e}
html[data-design=glass] .theme-preview::after {content:"";width:35%;height:14px;border-radius:8px;background:#073f88;margin-top:auto}
html[data-design=glass] .theme-option[data-colorway=sunset] .theme-preview::after {background:#82334b}
html[data-design=glass] .theme-option strong {display:block;margin:12px 3px 3px;font-size:18px}
html[data-design=glass] .theme-option small {display:block;margin:4px 3px;color:var(--muted);font-size:12px;line-height:1.5}
html[data-design=glass] .theme-picker-label {grid-column:1/-1;margin:10px 0 0;font-size:18px;font-weight:650}
html[data-design=glass] .ef-work-home {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:22px}
html[data-design=glass] .ef-work-home>h2,html[data-design=glass] .ef-work-home>.panel-note,html[data-design=glass] .ef-work-home>.crm-toolbar {grid-column:1/-1;margin-bottom:0}
html[data-design=glass] .ef-task-feature {padding:28px;border:1px solid #fff;border-radius:28px;background:linear-gradient(115deg,var(--glass-high),var(--pc-selected));display:flex;flex-direction:column;gap:14px;min-width:0;align-items:flex-start}
html[data-design=glass] .ef-task-feature h3 {font-size:clamp(24px,2.5vw,34px);line-height:1.2;letter-spacing:-.04em;margin:0;overflow-wrap:anywhere}
html[data-design=glass] .ef-task-feature .button {margin-top:auto}
html[data-design=glass] .ef-work-list {display:flex;flex-direction:column;gap:0;min-width:0}
html[data-design=glass] .ef-work-item {padding:17px 6px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--text);display:flex;flex-direction:column;gap:6px;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
html[data-design=glass] .ef-work-item small {font-size:12px;color:var(--muted)}
html[data-design=glass] .ef-work-item:hover {background:var(--glass-high);border-radius:14px}
html[data-design=glass] .welcome .brand img {filter:url("#gbl-mark-blue")}
html[data-design=glass] .welcome.with-login-scene .login-scene {display:none}
html[data-design=glass] .pc-login-story {background:transparent;color:var(--text);box-shadow:none;border:0;padding:24px 0}
html[data-design=glass] .pc-login-story :is(h2,p) {color:var(--text)}
html[data-design=glass] .pc-login-story h2 {font-size:clamp(38px,4.7vw,70px);letter-spacing:-.055em;max-width:9em}
html[data-design=glass] .pc-login-story>p:not(.eyebrow) {font-size:19px;color:var(--muted)}
html[data-design=glass] .pc-login-story::before,html[data-design=glass] .login-gateway::before,html[data-design=glass] .login-gateway::after {display:none}
html[data-design=glass] .pc-login-architecture {opacity:.16}
html[data-design=glass] .with-login-scene:has(.login-card) .pc-login-layout .login-card,html[data-design=glass] .login-card {border:1px solid #fff;background:var(--glass-high);border-radius:34px;padding:36px;box-shadow:var(--shadow)}
html[data-design=glass] .with-login-scene:has(.login-card) .login-gateway #microsoft-login {border-radius:25px;background:linear-gradient(115deg,var(--primary),var(--button-end));box-shadow:none;border-color:transparent}
html[data-design=glass] .login-card :is(input,select) {background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:14px}
@media(min-width:1200px) {html[data-design=glass] .app-shell .sidebar {grid-template-columns:auto minmax(0,1fr) auto}html[data-design=glass] .app-shell .sidebar>.brand span {font-size:22px}}
@media(max-width:980px) {
  html[data-design=glass][data-mobile-menu] .app-shell .sidebar>.workspace-switcher {display:block!important}
  html[data-design=glass][data-mobile-menu] .app-shell .sidebar>.sidebar-bottom {display:flex!important}
  html[data-design=glass][data-mobile-menu] .app-shell .sidebar>nav {display:flex!important}
  html[data-design=glass][data-mobile-menu] .app-shell .sidebar>nav.crm-navigation {display:grid!important}
  html[data-design=glass] .app-shell .sidebar {margin:14px 14px 0;padding:13px 14px 9px;gap:10px;border-radius:25px;grid-template-columns:minmax(0,1fr) auto}
  html[data-design=glass] .app-shell .sidebar>.brand {font-size:17px;gap:8px}html[data-design=glass] .app-shell .brand img {width:62px}
  html[data-design=glass] .app-shell .sidebar>.workspace-switcher {grid-column:2;min-width:0;max-width:220px}
  html[data-design=glass] .app-shell .sidebar>.sidebar-bottom {grid-column:1/-1;grid-row:3;justify-self:start}
  html[data-design=glass] .app-shell .sidebar>nav {max-height:none;display:flex!important}
  html[data-design=glass] .app-shell .topbar {margin:0 14px;padding:12px 0;gap:8px;flex-wrap:wrap}
  html[data-design=glass] .app-shell .header-actions {gap:8px;max-width:100%}
  html[data-design=glass] .app-shell .content {padding:18px 18px 36px}
  html[data-design=glass] .app-shell :is(.lab-panel,.hub-panel,.crm-workspace) {padding:20px}
  html[data-design=glass] .ef-work-home {grid-template-columns:1fr}
}
@media(max-width:600px) {
  html[data-design=glass] .app-shell .sidebar>.brand span {font-size:15px}
  html[data-design=glass] .app-shell .workspace-switcher-caption,html[data-design=glass] .app-shell .workspace-mark {display:none}
  html[data-design=glass] .app-shell .workspace-switcher>summary {grid-template-columns:minmax(0,1fr) 16px;padding:9px;min-height:44px}
  html[data-design=glass] .app-shell .workspace-switcher strong {font-size:12px}
  html[data-design=glass] .app-shell .sidebar>nav .nav-link {font-size:13px;padding:10px 13px;min-height:44px}
  html[data-design=glass] .app-shell .breadcrumb {display:none}
  html[data-design=glass] .app-shell .topbar>.header-actions {width:100%;justify-content:space-between}
  html[data-design=glass] .app-shell :is(.button,.button.subtle) {font-size:13px;padding:10px 14px}
  html[data-design=glass] .app-shell .content {padding:12px 14px 28px}
  html[data-design=glass] .app-shell :is(.lab-panel,.hub-panel,.crm-workspace,.dialog-body) {padding:18px}
  html[data-design=glass] .app-shell .page-heading h1 {font-size:34px}
  html[data-design=glass] .app-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {font-size:16px}
  html[data-design=glass] .app-shell .sw-dialog {border-radius:24px;max-width:calc(100vw - 16px)}
  html[data-design=glass] .app-shell .crm-detail-sheet:not(.fullscreen) {inset:8px;width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}
  html[data-design=glass] .app-shell .dialog-heading,html[data-design=glass] #lab-content[data-work] .dialog-heading,html[data-design=glass] #lab-content[data-work] .dialog-body {padding:18px}
  html[data-design=glass] .theme-options {grid-template-columns:1fr}
  html[data-design=glass] .ef-task-feature {padding:22px}
  html[data-design=glass] .pc-login-story h2 {font-size:40px}
  html[data-design=glass] .with-login-scene:has(.login-card) .pc-login-layout .login-card {padding:26px}
}
@media(prefers-reduced-motion:reduce) {html[data-design=glass] *,html[data-design=glass] *::before,html[data-design=glass] *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}}
