/* Original workspace theme. AI assistance never changes authorization or review state. */
:root {
    --ink: #18324b;
    --muted: #526879;
    --teal: #08796f;
    --line: #dce6ec;
    --bg: #f3f6fa;
}
body { line-height: 1.6; }
.sidebar {
    background: linear-gradient(165deg, #142f50, #10253e 75%);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-inline-end: 1px solid #29435e;
}
.brand { letter-spacing: 1px; }
.brand span { color: #6be1ce; }
.brand small { color: #c2d6e8; }
.nav-caption { color: #a8c4dc; margin-top: 36px; }
.nav-item { color: #d3dfec; border: 1px solid transparent; }
.nav-item:first-child { background: transparent; color: #d3dfec; }
.nav-item:hover, .nav-item[aria-current="page"] {
    background: #254765;
    border-color: #426782;
    color: #fff;
}
.sidebar-note {
    position: static;
    margin-top: auto;
    padding-top: 20px;
    border-color: #39516a;
    flex-shrink: 0;
}
.sidebar-note p { color: #b7cadc; }
.topbar { border-top: 3px solid var(--teal); box-shadow: 0 3px 16px #18324b05; }
.avatar { background: #e0f3ef; color: #08665f; }
h1 { line-height: 1.3; font-weight: 700; }
.eyebrow { color: #426c68; }
.panel, .metric {
    border-radius: 14px;
    box-shadow: 0 4px 18px #18324b06;
}
.metric { border-top: 3px solid #148579; }
.metric small { color: #526879; }
.panel-heading { background: linear-gradient(100deg, #fff, #f6fafb); }
.primary-button, .secondary-button, .btn { border-radius: 9px; }
.primary-button { box-shadow: 0 3px 8px #08796f18; }
.secondary-button:hover { background: #edf5f6; border-color: #a8bfc7; }
.demo-notice { color: #325b50; background: #edf7f2; border-radius: 10px; }
.form-control, .form-select { border-color: #bacbd7; border-radius: 8px; }
.form-control:focus, .form-select:focus {
    border-color: #08796f;
    box-shadow: 0 0 0 3px #08796f20;
}
footer { color: #526879; }
@media (max-width: 760px) {
    .sidebar { width: min(280px, 85vw); }
    .sidebar-note { margin-top: 28px; }
    .topbar { min-height: 68px; height: auto; padding-block: 12px; }
    .metric { padding: 16px 12px; }
}
@media (forced-colors: active) {
    .nav-item[aria-current="page"] { border: 2px solid Highlight; }
    .metric, .panel { border: 1px solid CanvasText; }
}

.language-controls { display: flex; align-items: center; gap: 6px; }
#language-apply { padding: 7px 10px; border: 1px solid #bacbd8; border-radius: 6px; background: #fff; color: #173e5c; cursor: pointer; }
#language-apply:disabled { opacity: .55; cursor: default; }
#language-apply:focus-visible { outline: 3px solid #137db5; outline-offset: 2px; }
@media (max-width: 760px) {
    .topbar { flex-wrap: wrap; }
    .top-right { max-width: 100%; }
    .sidebar:not(.open) { visibility: hidden; }
}
