.app{min-height:100vh;display:grid;grid-template-columns:232px minmax(0,1fr)}
.sidebar{background:rgba(255,255,255,.72);backdrop-filter:blur(28px) saturate(160%);color:var(--text);padding:24px 14px;position:sticky;top:0;height:100vh;border-right:1px solid rgba(0,0,0,.06);display:flex;flex-direction:column}
.brand{display:flex;align-items:center;padding:4px 12px 28px}.brand strong{display:block;font-size:22px;line-height:1;letter-spacing:-.055em;font-weight:760}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:7px;letter-spacing:-.01em}
.nav{display:grid;gap:5px}.nav a{display:flex;gap:11px;align-items:center;padding:11px 12px;border-radius:12px;color:#6e6e73;transition:background .18s,color .18s}.nav a:hover{background:rgba(120,120,128,.08);color:var(--text)}.nav a[aria-current="page"]{background:#ececf1;color:var(--text);font-weight:650}.nav a[aria-current="page"] svg{color:var(--accent)}.nav svg{width:18px;height:18px}.sidebar-footer{position:relative;margin-top:auto;display:grid;gap:2px;padding-top:15px;border-top:1px solid rgba(0,0,0,.06)}.sidebar-footer>button{display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:10px;background:transparent;color:#7a7a80;padding:8px 11px;text-align:left;font-size:12px;cursor:pointer}.sidebar-footer>button:hover{background:rgba(120,120,128,.08);color:var(--text)}.sidebar-footer>button svg{width:15px}.sidebar-tool-panel{position:absolute;z-index:30;left:calc(100% + 10px);bottom:0;width:280px;padding:9px;border:1px solid rgba(0,0,0,.075);border-radius:17px;background:rgba(255,255,255,.97);backdrop-filter:blur(28px);box-shadow:0 22px 64px rgba(0,0,0,.17)}.sidebar-tool-panel[hidden]{display:none}.tool-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:7px 7px 10px}.tool-panel-head>div{display:grid;gap:2px}.tool-panel-head strong{font-size:13px}.tool-panel-head small{color:var(--muted);font-size:10px}.tool-panel-head button{border:0;background:transparent;color:var(--muted);cursor:pointer}.tool-panel-head svg{width:14px}.tool-choice{width:100%;display:grid;grid-template-columns:27px minmax(0,1fr) 17px;gap:8px;align-items:center;border:0;border-radius:11px;background:transparent;padding:8px;text-align:left;cursor:pointer}.tool-choice:hover{background:#f3f3f5}.tool-choice>svg:first-child{width:16px;color:var(--accent)}.tool-choice>svg:last-child{width:14px;color:var(--accent);opacity:0}.tool-choice.selected>svg:last-child{opacity:1}.tool-choice>span{display:grid;gap:1px}.tool-choice strong{font-size:11px}.tool-choice small{color:var(--muted);font-size:9px}.tool-profile{display:flex;align-items:center;gap:9px;padding:10px;border-radius:12px;background:#f5f5f7}.tool-profile>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#1d1d1f;color:#fff;font-weight:700}.tool-profile>div{display:grid;gap:2px}.tool-profile strong{font-size:12px}.tool-profile em{font-style:normal;color:var(--accent);font-size:9px}.tool-profile small{color:var(--muted);font-size:9px}.tool-link{display:flex;align-items:center;gap:7px;margin-top:6px;padding:9px;border-radius:10px;color:var(--accent);font-size:11px;font-weight:700}.tool-link:hover{background:var(--accent-soft)}.tool-link svg{width:14px}.tool-switch{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px;border-radius:10px}.tool-switch:hover{background:#f4f4f6}.tool-switch>span{display:grid;gap:2px}.tool-switch strong{font-size:11px}.tool-switch small{font-size:9px;color:var(--muted)}.tool-switch input{accent-color:var(--accent)}body.compact-ui .page{padding-top:22px}body.compact-ui .table th,body.compact-ui .table td{padding-top:9px;padding-bottom:9px}body.compact-ui .order-card{padding-top:12px;padding-bottom:12px}
.main{min-width:0}.topbar{height:72px;background:rgba(255,255,255,.78);backdrop-filter:blur(24px) saturate(160%);border-bottom:1px solid rgba(0,0,0,.06);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:20}.topbar h1{font-size:18px;letter-spacing:-.025em;margin:0}.top-actions{display:flex;align-items:center;gap:10px}.top-date{padding-right:14px;border-right:1px solid rgba(0,0,0,.08);color:#717178;font-size:12px;font-weight:600;white-space:nowrap}.avatar{width:36px;height:36px;border-radius:50%;background:#1d1d1f;color:#fff;display:grid;place-items:center;font-weight:700;box-shadow:0 4px 12px rgba(0,0,0,.14)}.top-popover{position:relative}.notice-trigger{position:relative;width:40px;height:40px;border:0;border-radius:13px;background:#f1f1f4;color:#4e4e54;display:grid;place-items:center;cursor:pointer}.notice-trigger:hover,.notice-trigger[aria-expanded="true"]{background:var(--accent-soft);color:var(--accent)}.notice-trigger svg{width:18px}.notice-trigger b{position:absolute;right:-4px;top:-5px;min-width:19px;height:19px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:var(--pink);color:#fff;font-size:9px;display:grid;place-items:center}.profile-trigger{display:flex;align-items:center;gap:9px;border:0;border-radius:14px;background:transparent;padding:4px 7px 4px 4px;color:var(--text);cursor:pointer}.profile-trigger:hover,.profile-trigger[aria-expanded="true"]{background:#f1f1f4}.profile-trigger>.profile-copy{display:grid;text-align:left;line-height:1.2}.profile-copy small{color:var(--muted);font-size:10px}.profile-copy strong{font-size:13px}.profile-copy em{font-style:normal;color:var(--accent);font-size:9px;text-transform:uppercase;letter-spacing:.05em}.profile-trigger>svg{width:14px;color:#8b8b91;transition:transform .2s}.profile-trigger[aria-expanded="true"]>svg{transform:rotate(180deg)}.header-popover{position:absolute;right:0;top:calc(100% + 10px);width:320px;padding:9px;border:1px solid rgba(0,0,0,.075);border-radius:18px;background:rgba(255,255,255,.96);backdrop-filter:blur(30px) saturate(180%);box-shadow:0 24px 68px rgba(0,0,0,.16),0 2px 8px rgba(0,0,0,.05);animation:header-pop .18s ease}.header-popover[hidden]{display:none}.popover-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:8px 8px 10px}.popover-title>div{display:grid;gap:2px}.popover-title strong{font-size:14px}.popover-title small{font-size:11px;color:var(--muted)}.popover-title button{border:0;background:transparent;color:var(--muted);cursor:pointer}.popover-title button svg{width:15px}.notice-panel>a{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border-radius:12px}.notice-panel>a:hover{background:#f3f3f5}.notice-panel>a>span:nth-child(2){display:grid;gap:2px}.notice-panel>a strong{font-size:13px}.notice-panel>a small{font-size:10px;color:var(--muted)}.notice-panel>a>b{min-width:24px;height:24px;border-radius:999px;background:#f0edf8;color:var(--accent);display:grid;place-items:center;font-size:11px}.notice-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center}.notice-icon svg{width:16px}.notice-icon.approval{background:var(--pink-soft);color:var(--pink)}.notice-icon.reference{background:var(--accent-soft);color:var(--accent)}.activity-panel{width:350px}.activity-date{padding:6px 9px;color:var(--accent);font-size:10px;font-weight:750}.activity-date.previous{color:var(--muted);margin-top:3px;border-top:1px solid var(--line);padding-top:10px}.my-activity{display:grid}.my-activity article{display:grid;grid-template-columns:27px minmax(0,1fr);gap:8px;align-items:center;padding:8px 9px;border-radius:10px}.my-activity article:hover{background:#f4f4f6}.my-activity svg{width:16px;color:var(--accent)}.my-activity article>div{display:grid;gap:2px}.my-activity strong{font-size:12px}.my-activity small{color:var(--muted);font-size:10px}.my-activity.muted svg{color:#96969c}@keyframes header-pop{from{opacity:0;transform:translateY(-5px) scale(.985)}to{opacity:1;transform:none}}
.page{padding:32px 32px 48px;max-width:1500px;margin:0 auto}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}.page-head h2{font-size:22px;margin-bottom:3px}.page-head p{color:var(--muted);margin:0}
@media(max-width:900px){.app{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:12px}.brand{padding-bottom:12px}.nav{display:flex;overflow-x:auto}.nav a{white-space:nowrap}.sidebar-footer{display:flex;overflow-x:auto;margin-top:8px;padding-top:8px}.sidebar-footer>button{width:auto;white-space:nowrap}.sidebar-tool-panel{position:fixed;left:12px;right:12px;bottom:12px;width:auto}.topbar{top:0;padding:0 16px}.topbar h1{font-size:16px}.top-date{display:none}.profile-copy{display:none!important}.profile-trigger{width:38px;height:38px;padding:1px;justify-content:center}.profile-trigger>svg{display:none}.header-popover{position:fixed;top:74px;right:12px;left:12px;width:auto}.page{padding:18px 16px}.page-head{align-items:flex-start;flex-direction:column}}

/* Context help for icon-only controls */
[data-tooltip]{position:relative}
[data-tooltip]::after{content:attr(data-tooltip);position:absolute;z-index:100;right:0;top:calc(100% + 9px);width:max-content;max-width:220px;padding:7px 9px;border-radius:8px;background:#1d1d1f;color:#fff;font-size:11px;font-weight:650;line-height:1.3;letter-spacing:-.01em;box-shadow:0 8px 24px rgba(0,0,0,.18);opacity:0;visibility:hidden;transform:translateY(-3px);transition:opacity .16s ease,transform .16s ease,visibility .16s;pointer-events:none}
[data-tooltip]::before{content:"";position:absolute;z-index:101;right:12px;top:calc(100% + 4px);border:5px solid transparent;border-bottom-color:#1d1d1f;opacity:0;visibility:hidden;transition:opacity .16s ease,visibility .16s;pointer-events:none}
[data-tooltip]:hover::after,[data-tooltip]:hover::before,[data-tooltip]:focus-visible::after,[data-tooltip]:focus-visible::before{opacity:1;visibility:visible;transform:translateY(0)}

/* Global Sidekick-style assistant */
.assistant-trigger{position:relative;width:40px;height:40px;border:1px solid rgba(0,0,0,.06);border-radius:13px;background:linear-gradient(145deg,#fff,#f1eff8);color:#1d1d1f;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.05);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.assistant-trigger:hover,.assistant-trigger[aria-expanded="true"]{transform:translateY(-1px);background:#fff;box-shadow:0 8px 24px rgba(124,58,237,.16);color:var(--accent)}
.assistant-trigger>svg{width:20px}.assistant-trigger>span{position:absolute;right:-3px;top:-4px;width:17px;height:17px;border:2px solid #fff;border-radius:999px;background:linear-gradient(135deg,var(--pink),var(--accent));color:#fff;display:grid;place-items:center}.assistant-trigger>span svg{width:9px}
.assistant-backdrop{position:fixed;inset:0;z-index:69;background:rgba(29,29,31,.16);backdrop-filter:blur(2px);animation:assistant-fade .22s ease}.assistant-backdrop[hidden],.assistant-drawer[hidden]{display:none}
.assistant-drawer{position:fixed;z-index:70;right:14px;top:14px;bottom:14px;width:min(400px,calc(100vw - 28px));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto auto;border:1px solid rgba(0,0,0,.08);border-radius:24px;background:rgba(252,252,253,.97);backdrop-filter:blur(34px) saturate(170%);box-shadow:0 28px 90px rgba(0,0,0,.23),0 2px 10px rgba(0,0,0,.08);overflow:hidden;animation:assistant-slide .28s cubic-bezier(.2,.75,.2,1)}
.assistant-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px;border-bottom:1px solid rgba(0,0,0,.06)}.assistant-identity{display:flex;align-items:center;gap:11px}.assistant-identity>div{display:grid;gap:2px}.assistant-identity strong{font-size:15px;letter-spacing:-.02em}.assistant-identity small{font-size:11px;color:var(--muted)}.assistant-avatar{width:38px;height:38px;border-radius:13px;background:linear-gradient(135deg,var(--pink),var(--accent));color:#fff;display:grid;place-items:center;box-shadow:0 8px 20px rgba(236,72,153,.22)}.assistant-avatar svg{width:18px}.assistant-close{width:34px;height:34px;border:0;border-radius:10px;background:#f0f0f3;color:#68686e;display:grid;place-items:center;cursor:pointer}.assistant-close:hover{background:#e8e8ec;color:#1d1d1f}.assistant-close svg{width:17px}
.assistant-context{display:flex;align-items:center;gap:9px;margin:14px 16px 0;padding:10px 12px;border:1px solid rgba(124,58,237,.12);border-radius:13px;background:rgba(124,58,237,.055);color:var(--accent)}.assistant-context>svg{width:16px}.assistant-context>span{display:grid;gap:1px}.assistant-context small{font-size:10px;color:#7a6b9d}.assistant-context strong{font-size:12px;color:#342a49}
.assistant-messages{min-height:0;overflow-y:auto;padding:18px 16px;display:flex;flex-direction:column;gap:12px}.assistant-message{display:flex;align-items:flex-start;gap:8px;max-width:92%}.assistant-message p{margin:0;padding:11px 13px;border-radius:6px 16px 16px 16px;background:#f0f0f3;color:#343438;font-size:13px;line-height:1.55;letter-spacing:-.01em}.assistant-message.user{align-self:flex-end}.assistant-message.user p{border-radius:16px 6px 16px 16px;background:#1d1d1f;color:#fff}.assistant-mini{width:26px;height:26px;flex:0 0 auto;border-radius:9px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center}.assistant-mini svg{width:13px}
.assistant-suggestions{display:flex;gap:6px;overflow-x:auto;padding:0 16px 12px}.assistant-suggestions::-webkit-scrollbar{display:none}.assistant-suggestions button{flex:0 0 auto;border:1px solid rgba(0,0,0,.08);border-radius:999px;background:#fff;padding:8px 11px;color:#4e4e54;font-size:11px;font-weight:650;cursor:pointer}.assistant-suggestions button:hover{border-color:rgba(124,58,237,.3);background:var(--accent-soft);color:var(--accent)}
.assistant-composer{display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:end;gap:8px;margin:0 16px;padding:8px 8px 8px 12px;border:1px solid rgba(0,0,0,.1);border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(0,0,0,.04)}.assistant-composer:focus-within{border-color:rgba(124,58,237,.42);box-shadow:0 0 0 4px rgba(124,58,237,.09)}.assistant-composer textarea{width:100%;min-height:36px;max-height:100px;padding:8px 0;border:0;outline:0;resize:none;background:transparent;color:var(--text);font:inherit;font-size:13px}.assistant-composer button{width:36px;height:36px;border:0;border-radius:11px;background:#1d1d1f;color:#fff;display:grid;place-items:center;cursor:pointer}.assistant-composer button:hover{background:var(--accent)}.assistant-composer button svg{width:16px}.assistant-note{margin:9px 16px 14px;color:#8a8a90;font-size:10px;text-align:center}
@keyframes assistant-slide{from{opacity:.4;transform:translateX(28px) scale(.985)}to{opacity:1;transform:none}}@keyframes assistant-fade{from{opacity:0}to{opacity:1}}
@media(max-width:620px){.assistant-drawer{right:0;top:0;bottom:0;width:100%;max-width:none;border:0;border-radius:0}.assistant-trigger{width:38px;height:38px}.top-actions{gap:7px}}
@media(prefers-reduced-motion:reduce){.assistant-drawer,.assistant-backdrop{animation:none}[data-tooltip]::after{transition:none}}

/* Profile, view role and appearance */
.profile-panel{width:390px;max-height:min(720px,calc(100vh - 92px));overflow-y:auto;padding:10px}.profile-tabs{display:flex;gap:4px;margin:0 7px 10px;padding:3px;border-radius:11px;background:var(--surface-2)}.profile-tabs button{flex:1;border:0;border-radius:8px;background:transparent;padding:7px;color:var(--muted);font-size:12px;font-weight:700;cursor:pointer}.profile-tabs button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 5px rgba(0,0,0,.09)}.profile-tab-panel{padding:0 7px 7px}.profile-current{display:flex;align-items:center;gap:10px;padding:11px;border-radius:13px;background:var(--surface-2);margin-bottom:12px}.profile-current>span{width:38px;height:38px;border-radius:50%;background:#1d1d1f;color:#fff;display:grid;place-items:center;font-weight:750}.profile-current>div{display:grid;gap:1px}.profile-current strong{font-size:13px}.profile-current em{font-style:normal;color:var(--accent);font-size:10px}.profile-current small{font-size:10px;color:var(--muted)}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.profile-grid label{display:grid;gap:4px;color:var(--muted);font-size:10px}.profile-grid label:first-child,.profile-grid label:nth-child(3){grid-column:1/-1}.profile-grid input,.profile-grid select,.role-view-setting select{min-width:0;width:100%;height:38px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);padding:0 10px;font-size:12px}.profile-request-button{width:100%;margin-top:10px;border:0;border-radius:11px;background:#1d1d1f;color:#fff;padding:10px;font-size:12px;font-weight:750;cursor:pointer}.profile-request-button:hover{background:var(--accent)}.profile-pending{margin-top:9px;padding:11px;border-radius:12px;background:var(--warn-soft);color:var(--text)}.profile-pending>div{display:flex;justify-content:space-between;gap:8px}.profile-pending span{color:var(--warn);font-size:10px;font-weight:800}.profile-pending strong{font-size:11px}.profile-pending p{margin:4px 0 0;font-size:10px}.profile-pending small,.profile-pending em{display:block;margin-top:5px;color:var(--muted);font-size:9px;font-style:normal}.role-view-setting{display:grid;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.role-view-setting>div{display:grid;gap:2px}.role-view-setting strong{font-size:12px}.role-view-setting small{font-size:10px;color:var(--muted)}.profile-boundary{display:flex;gap:7px;align-items:flex-start;margin:10px 0 0;padding:9px;border-radius:10px;background:var(--accent-soft);color:var(--muted);font-size:9px;line-height:1.5}.profile-boundary svg{width:14px;flex:0 0 auto;color:var(--accent)}.org-change-log{margin:10px 7px 4px;padding:11px;border-top:1px solid var(--line)}.org-change-log strong{font-size:11px}.org-change-log p{margin:4px 0 0;color:var(--muted);font-size:10px}.theme-options{display:grid;gap:3px}.theme-options button{width:100%;display:grid;grid-template-columns:27px minmax(0,1fr) 17px;gap:8px;align-items:center;border:0;border-radius:11px;background:transparent;padding:8px;text-align:left;color:var(--text);cursor:pointer}.theme-options button:hover,.theme-options button[aria-checked="true"]{background:var(--accent-soft)}.theme-options button>svg:first-child{width:16px;color:var(--accent)}.theme-options button>svg:last-child{width:14px;color:var(--accent);opacity:0}.theme-options button[aria-checked="true"]>svg:last-child{opacity:1}.theme-options span{display:grid}.theme-options strong{font-size:11px}.theme-options small{font-size:9px;color:var(--muted)}
html[data-theme="dark"] .sidebar,html[data-theme="dark"] .topbar{background:rgba(24,24,27,.86);border-color:var(--line)}html[data-theme="dark"] .header-popover,html[data-theme="dark"] .sidebar-tool-panel,html[data-theme="dark"] .assistant-drawer{background:rgba(28,28,31,.97);border-color:var(--line)}html[data-theme="dark"] .notice-trigger,html[data-theme="dark"] .profile-trigger:hover,html[data-theme="dark"] .assistant-close{background:var(--surface-2);color:var(--text)}html[data-theme="dark"] .notice-panel>a:hover,html[data-theme="dark"] .my-activity article:hover,html[data-theme="dark"] .tool-choice:hover{background:var(--surface-2)}html[data-theme="dark"] .assistant-context{background:var(--accent-soft)}html[data-theme="dark"] .assistant-context strong{color:var(--text)}html[data-theme="dark"] .assistant-message p{background:var(--surface-2);color:var(--text)}html[data-theme="dark"] .assistant-suggestions button,html[data-theme="dark"] .assistant-composer{background:var(--surface);border-color:var(--line);color:var(--text)}
@media(max-width:900px){.profile-panel{position:fixed;top:74px;right:12px;left:12px;width:auto;max-height:calc(100vh - 86px)}}
@media(max-width:480px){.profile-grid{grid-template-columns:1fr}.profile-grid label{grid-column:1/-1}}

/* Appearance hierarchy and dark navigation contrast */
@media(min-width:901px){.sidebar-tool-panel{left:0;right:0;bottom:calc(100% + 10px);width:auto;max-height:min(360px,calc(100vh - 110px));overflow:auto;border-radius:16px;padding:9px;box-shadow:0 18px 50px rgba(0,0,0,.2),0 2px 8px rgba(0,0,0,.08)}}
.theme-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:2px 0 9px;border-bottom:1px solid var(--line)}
.theme-options button{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid transparent;border-radius:11px;background:var(--surface-2);padding:10px 4px 8px;text-align:center}
.theme-options button:hover{border-color:var(--line-strong);background:var(--surface)}
.theme-options button[aria-checked="true"]{border-color:rgba(124,58,237,.5);background:var(--accent-soft);box-shadow:0 0 0 2px rgba(124,58,237,.08)}
.theme-options button>svg:first-child{width:17px}.theme-options button>svg:last-child{position:absolute;right:4px;top:4px;width:11px}.theme-options strong{font-size:10px;white-space:nowrap}.theme-options small{display:none}.theme-options+.tool-choice{margin-top:7px;padding-top:10px;padding-bottom:10px}
html[data-theme="dark"] .sidebar,html[data-theme="dark"] .topbar{background:rgba(24,24,27,.98);border-color:#3a3a41}
html[data-theme="dark"] .brand strong{color:#fff}html[data-theme="dark"] .brand small{color:#b8b8c0}
html[data-theme="dark"] .nav a{color:#c0c0c8}html[data-theme="dark"] .nav a svg{color:#9c9ca7}
html[data-theme="dark"] .nav a:hover{background:#29292f;color:#fff}html[data-theme="dark"] .nav a:hover svg{color:#dedee4}
html[data-theme="dark"] .nav a[aria-current="page"]{background:linear-gradient(90deg,rgba(124,58,237,.42),rgba(236,72,153,.14));color:#fff;box-shadow:inset 0 0 0 1px rgba(178,132,255,.22)}html[data-theme="dark"] .nav a[aria-current="page"] svg{color:#d0b5ff}
html[data-theme="dark"] .sidebar-footer{border-color:#37373e}html[data-theme="dark"] .sidebar-footer>button{color:#bfc0c8}html[data-theme="dark"] .sidebar-footer>button svg{color:#9c9ca7}html[data-theme="dark"] .sidebar-footer>button:hover{background:#29292f;color:#fff}
html[data-theme="dark"] .sidebar-tool-panel{background:#202024;border-color:#45454d;box-shadow:0 18px 50px rgba(0,0,0,.46),0 2px 8px rgba(0,0,0,.28)}html[data-theme="dark"] .tool-panel-head strong{color:#fff}html[data-theme="dark"] .tool-panel-head small{color:#b1b1ba}html[data-theme="dark"] .tool-choice{color:#ececf1}html[data-theme="dark"] .tool-choice small{color:#aaaab3}
html[data-theme="dark"] .theme-options button{background:#2a2a2f;color:#ececf1}html[data-theme="dark"] .theme-options button:hover{background:#333339;border-color:#55555e}html[data-theme="dark"] .theme-options button[aria-checked="true"]{background:#392958;border-color:#9a70e0}

/* Opaque floating surfaces: prevent dashboard content from bleeding through */
.header-popover,.profile-panel,.notice-panel,.assistant-drawer,.sidebar-tool-panel{opacity:1;isolation:isolate;background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}
.header-popover{z-index:60}.assistant-drawer{z-index:80}.assistant-backdrop{z-index:79}
.profile-panel{background:#fff;box-shadow:0 24px 72px rgba(0,0,0,.24),0 2px 10px rgba(0,0,0,.1)}
.profile-panel .profile-tab-panel{background:#fff}
.profile-panel [data-profile-section="history"]:not([hidden]){display:grid;gap:8px;padding-top:2px}
.profile-panel [data-profile-section="history"] .activity-date{margin:0;padding:9px 9px 6px;border-top:1px solid var(--line);font-size:11px}
.profile-panel [data-profile-section="history"] .activity-date:first-child{border-top:0;padding-top:4px}
.profile-panel [data-profile-section="history"] .activity-date.previous{margin-top:6px;padding-top:12px}
.profile-panel [data-profile-section="history"] .my-activity{padding-bottom:4px}
.profile-panel .org-change-log{margin:8px 7px 2px;padding:14px 4px 4px;border-top:1px solid var(--line)}
.profile-panel .org-change-log strong{display:block;margin-bottom:4px;font-size:12px}.profile-panel .org-change-log p{line-height:1.5}
html[data-theme="dark"] .header-popover,html[data-theme="dark"] .profile-panel,html[data-theme="dark"] .notice-panel,html[data-theme="dark"] .assistant-drawer,html[data-theme="dark"] .sidebar-tool-panel{background:#202024;border-color:#45454d}
html[data-theme="dark"] .profile-panel .profile-tab-panel{background:#202024}
html[data-theme="dark"] .profile-panel [data-profile-section="history"] .activity-date,html[data-theme="dark"] .profile-panel .org-change-log{border-color:#3f3f46}

/* Region clocks: personal display setting, independent from workflow permissions */
.topbar{gap:18px}.topbar h1{flex:0 0 auto}.top-actions{min-width:0;margin-left:auto}.world-clock-wrap{display:flex;align-items:center;gap:6px;min-width:0}.world-clocks{display:flex;align-items:stretch;gap:5px;min-width:0}.world-clock{width:90px;min-height:48px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-content:center;gap:0 5px;padding:5px 7px;border-left:1px solid var(--line);font-variant-numeric:tabular-nums}.world-clock span{grid-column:1/-1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:9px;line-height:1.2}.world-clock span em{display:inline-block;margin-left:2px;color:var(--warn);font-size:8px;font-style:normal;font-weight:800}.world-clock strong{font-size:14px;line-height:1.2;letter-spacing:-.02em}.world-clock small{align-self:end;color:var(--muted);font-size:8px;line-height:1.3;white-space:nowrap}.clock-settings-trigger{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--muted);cursor:pointer}.clock-settings-trigger:hover,.clock-settings-trigger[aria-expanded="true"]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.clock-settings-trigger svg{width:16px}.clock-panel{width:330px}.clock-options{display:grid;gap:3px}.clock-options button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:0;border-radius:6px;background:transparent;color:var(--text);text-align:left;cursor:pointer}.clock-options button:hover{background:var(--surface-2)}.clock-options button[aria-checked="true"]{background:var(--accent-soft);color:var(--accent)}.clock-options button[aria-disabled="true"]{opacity:.45}.clock-options button>span{display:grid;gap:1px}.clock-options strong{font-size:12px}.clock-options small{color:var(--muted);font-size:9px}.clock-options svg{width:15px}.clock-setting-note{margin:7px 6px 3px;padding-top:8px;border-top:1px solid var(--line);color:var(--muted);font-size:9px;line-height:1.5}
@media(max-width:1300px){.profile-copy{display:none!important}.profile-trigger{width:40px;height:40px;padding:2px;justify-content:center}.profile-trigger>svg{display:none}.world-clock{width:82px}}
@media(max-width:1050px){.world-clocks{max-width:260px;overflow-x:auto;scrollbar-width:none}.world-clocks::-webkit-scrollbar{display:none}.world-clock{flex:0 0 78px}.topbar{padding-inline:18px}}
@media(max-width:700px){.topbar{gap:8px}.topbar h1{display:none}.top-actions{width:100%;justify-content:flex-end}.world-clock-wrap{margin-right:auto;max-width:calc(100vw - 160px)}.world-clocks{max-width:calc(100vw - 202px)}.world-clock{flex-basis:76px}.clock-panel{width:auto}.assistant-trigger,.notice-trigger,.profile-trigger{width:36px;height:36px}}
