.hermes-dashboard {
    --hermes-radius-xl: 20px;
    --hermes-radius-lg: 16px;
    --hermes-radius-md: 10px;
    --hermes-shadow: none;
    position: relative;
    z-index: 0;
    box-sizing: border-box;
    width: 100%;
    color: var(--hermes-text);
    font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
}

.hermes-dashboard *,
.hermes-dashboard *::before,
.hermes-dashboard *::after {
    box-sizing: border-box;
}

.hermes-dashboard::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: var(--hermes-bg);
}

.hermes-dashboard h1,
.hermes-dashboard h2,
.hermes-dashboard h3,
.hermes-dashboard p {
    margin: 0;
}

.hermes-dashboard h1,
.hermes-dashboard h2,
.hermes-dashboard h3 {
    color: var(--hermes-text);
    letter-spacing: -0.035em;
    line-height: 1.04;
    text-wrap: balance;
}

.hermes-dashboard p {
    color: var(--hermes-muted);
    line-height: 1.62;
    text-wrap: pretty;
}

.hermes-dashboard code {
    color: inherit;
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

.hermes-dashboard .state-shell {
    display: grid;
    min-height: min(72dvh, 42rem);
    place-items: center;
}

.hermes-dashboard .state-card,
.hermes-dashboard .panel,
.hermes-dashboard .preview-card,
.hermes-dashboard .field-card {
    border: 1px solid var(--hermes-line);
    background: var(--hermes-panel);
    box-shadow: var(--hermes-shadow);
}

.hermes-dashboard .state-card {
    width: min(100%, 48rem);
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border-radius: var(--hermes-radius-xl);
}

.hermes-dashboard .state-card--guest {
    width: min(100%, 60rem);
}

.hermes-dashboard .state-card h1 {
    font-size: clamp(2.5rem, 5.8vw, 5.4rem);
}

.hermes-dashboard .state-card h2,
.hermes-dashboard .panel h2 {
    font-size: clamp(1.35rem, 2vw, 1.95rem);
}

.hermes-dashboard .state-card > p {
    max-width: 42rem;
    font-size: 1rem;
}

.hermes-dashboard .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.38rem;
    color: var(--hermes-accent);
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hermes-dashboard .button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hermes-dashboard .status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 1.55rem;
    padding: 0.2rem 0.52rem;
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.1 * var(--hermes-line-a)));
    border-radius: 8px;
    color: var(--hermes-accent-2);
    background: var(--hermes-panel-soft);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hermes-dashboard .status-pill--success {
    color: var(--hermes-success-ink);
    border-color: rgb(var(--hermes-success-rgb) / 0.36);
    background: var(--hermes-success-bg);
}

.hermes-dashboard .status-pill--warning {
    color: var(--hermes-accent-2);
    border-color: rgb(var(--hermes-ink-rgb) / calc(0.38 * var(--hermes-line-a)));
    background: var(--hermes-panel-strong);
}

.hermes-dashboard .status-pill--danger {
    color: var(--hermes-danger-ink);
    border-color: rgb(var(--hermes-danger-rgb) / 0.38);
    background: var(--hermes-danger-bg);
}

.hermes-dashboard .status-pill--neutral {
    color: var(--hermes-accent-2);
    border-color: rgb(var(--hermes-accent-rgb) / 0.34);
    background: var(--hermes-panel-strong);
}

.hermes-dashboard .status-pill--muted {
    color: var(--hermes-muted);
    border-color: rgb(var(--hermes-ink-rgb) / calc(0.08 * var(--hermes-line-a)));
    background: var(--hermes-panel-deep);
}

.hermes-dashboard .field-card__label {
    color: var(--hermes-soft);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hermes-dashboard .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.35rem;
    padding: 0.62rem 0.92rem;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 0.94rem;
    font-weight: 750;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, opacity 180ms ease;
}

.hermes-dashboard .button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.hermes-dashboard .button:active:not(:disabled) {
    transform: translateY(1px) scale(0.985);
}

.hermes-dashboard .button:disabled {
    cursor: not-allowed;
    opacity: 0.54;
}

.hermes-dashboard .button--primary {
    color: var(--hermes-accent-ink);
    border-color: var(--hermes-accent);
    background: var(--hermes-accent);
    box-shadow: 0 12px 28px rgb(var(--hermes-shadow-rgb) / calc(0.22 * var(--hermes-shadow-a)));
}

.hermes-dashboard .button--primary:hover:not(:disabled) {
    background: var(--hermes-accent-2);
}

.hermes-dashboard .button--secondary {
    color: var(--hermes-accent-2);
    border-color: rgb(var(--hermes-accent-rgb) / 0.44);
    background: var(--hermes-panel-strong);
}

.hermes-dashboard .button--panel-link {
    color: var(--hermes-accent-2);
    border-color: rgb(var(--hermes-accent-rgb) / 0.48);
    background: var(--hermes-panel-strong);
}

.hermes-dashboard .button--panel-link:hover {
    color: var(--hermes-accent-ink);
    background: var(--hermes-accent-2);
}

.hermes-dashboard .button--ghost,
.hermes-dashboard .button--ghost-danger {
    background: var(--hermes-panel-soft);
    border-color: rgb(var(--hermes-ink-rgb) / calc(0.12 * var(--hermes-line-a)));
}

.hermes-dashboard .button--ghost {
    color: var(--hermes-muted);
}

.hermes-dashboard .button--ghost-danger {
    color: var(--hermes-danger-ink-hi);
    border-color: rgb(var(--hermes-danger-rgb) / 0.28);
}

.hermes-dashboard .button:focus-visible,
.hermes-dashboard .field-card input:focus-visible,
.hermes-dashboard .field-card select:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgb(var(--hermes-accent-rgb) / 0.42), 0 0 0 6px var(--hermes-bg);
}

.hermes-dashboard .inline-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--hermes-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    background: var(--hermes-panel);
}

.hermes-dashboard .inline-banner strong,
.hermes-dashboard .inline-banner code {
    color: inherit;
}

.hermes-dashboard .inline-banner--info {
    color: var(--hermes-accent-2);
    border-color: rgb(var(--hermes-accent-rgb) / 0.26);
    background: var(--hermes-panel-strong);
}

.hermes-dashboard .inline-banner--success {
    color: var(--hermes-success-ink);
    border-color: rgb(var(--hermes-success-rgb) / 0.3);
    background: var(--hermes-success-bg);
}

.hermes-dashboard .inline-banner--warning {
    color: var(--hermes-accent-2);
    border-color: rgb(var(--hermes-ink-rgb) / calc(0.32 * var(--hermes-line-a)));
    background: var(--hermes-panel-strong);
}

.hermes-dashboard .inline-banner--danger {
    color: var(--hermes-danger-ink);
    border-color: rgb(var(--hermes-danger-rgb) / 0.34);
    background: var(--hermes-danger-bg);
}

.hermes-dashboard .guest-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.35rem;
}

.hermes-dashboard .preview-card {
    display: grid;
    gap: 0.48rem;
    padding: 1.05rem;
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgb(var(--hermes-ink-rgb) / calc(0.07 * var(--hermes-line-a)));
}

.hermes-dashboard .preview-card strong {
    color: var(--hermes-text);
}

.hermes-dashboard .panel {
    display: grid;
    gap: 0.72rem;
    padding: 0.85rem;
    border-radius: var(--hermes-radius-lg);
}

.hermes-dashboard .panel--collection {
    align-content: start;
}

.hermes-dashboard .work-panel {
    align-content: start;
    min-height: 34rem;
}

.hermes-dashboard .work-surface {
    gap: 0.72rem;
    padding: 0.85rem 1rem 1rem;
}

.hermes-dashboard .work-toolbar,
.hermes-dashboard .team-commandbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.35rem;
    padding: 0.55rem 0.68rem;
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.08 * var(--hermes-line-a)));
    border-radius: 14px;
    background: linear-gradient(100deg, rgb(var(--hermes-panel-rgb) / 0.86), rgb(var(--hermes-bg-2-rgb) / 0.82));
}

.hermes-dashboard .work-toolbar__state {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.hermes-dashboard .work-toolbar__state > div {
    display: grid;
    gap: 0.14rem;
    min-width: 0;
}

.hermes-dashboard .work-toolbar__state strong {
    color: var(--hermes-text);
    font-size: 0.76rem;
}

.hermes-dashboard .work-toolbar__state span:last-child {
    overflow: hidden;
    color: var(--hermes-soft);
    font-size: 0.65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hermes-dashboard .work-status-dot {
    flex: 0 0 auto;
    width: 0.56rem;
    height: 0.56rem;
    border-radius: 50%;
    background: var(--hermes-dot-idle);
    box-shadow: 0 0 0 4px rgb(var(--hermes-dot-idle-rgb) / 0.1);
}

.hermes-dashboard .work-status-dot--online {
    background: var(--hermes-online);
    box-shadow: 0 0 0 4px rgb(var(--hermes-online-rgb) / 0.1);
}

.hermes-dashboard .work-primary-action {
    min-width: 8.5rem;
}

.hermes-dashboard .work-composer,
.hermes-dashboard .team-editor {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid rgb(var(--hermes-accent-rgb) / 0.3);
    border-radius: 16px;
    background: linear-gradient(145deg, rgb(var(--hermes-panel-raised-rgb) / 0.98), rgb(var(--hermes-bg-2-rgb) / 0.99));
    box-shadow: 0 22px 55px rgb(var(--hermes-shadow-rgb) / calc(0.2 * var(--hermes-shadow-a)));
}

.hermes-dashboard .work-composer > header,
.hermes-dashboard .team-editor > header,
.hermes-dashboard .work-detail > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.hermes-dashboard .work-composer h3,
.hermes-dashboard .team-editor h3,
.hermes-dashboard .work-detail h3 {
    margin: 0.12rem 0 0;
    color: var(--hermes-text);
    font-size: 1rem;
    line-height: 1.2;
}

.hermes-dashboard .work-icon-button {
    display: grid;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    padding: 0;
    color: var(--hermes-soft);
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.09 * var(--hermes-line-a)));
    border-radius: 9px;
    background: rgb(var(--hermes-ink-rgb) / calc(0.02 * var(--hermes-line-a)));
    font: inherit;
    font-size: 1rem;
    cursor: pointer;
}

.hermes-dashboard .work-icon-button:hover {
    color: var(--hermes-text);
    border-color: rgb(var(--hermes-accent-rgb) / 0.35);
}

.hermes-dashboard .work-icon-button:focus-visible {
    outline: 2px solid var(--hermes-accent);
    outline-offset: 2px;
}

.hermes-dashboard .work-composer__grid,
.hermes-dashboard .team-editor__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(13rem, 0.75fr);
    gap: 0.7rem;
}

.hermes-dashboard .work-composer label,
.hermes-dashboard .team-editor label {
    display: grid;
    gap: 0.3rem;
    color: var(--hermes-dim);
    font-size: 0.67rem;
    font-weight: 760;
}

.hermes-dashboard .work-composer input,
.hermes-dashboard .work-composer select,
.hermes-dashboard .work-composer textarea,
.hermes-dashboard .team-editor input,
.hermes-dashboard .team-editor select,
.hermes-dashboard .team-editor textarea {
    width: 100%;
    min-height: 2.55rem;
    padding: 0.62rem 0.68rem;
    color: var(--hermes-text);
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.11 * var(--hermes-line-a)));
    border-radius: 10px;
    background: rgb(var(--hermes-bg-2-rgb) / 0.72);
    font: inherit;
}

.hermes-dashboard .work-composer textarea,
.hermes-dashboard .team-editor textarea {
    resize: vertical;
}

.hermes-dashboard .work-composer input:focus-visible,
.hermes-dashboard .work-composer select:focus-visible,
.hermes-dashboard .work-composer textarea:focus-visible,
.hermes-dashboard .team-editor input:focus-visible,
.hermes-dashboard .team-editor select:focus-visible,
.hermes-dashboard .team-editor textarea:focus-visible {
    outline: 2px solid var(--hermes-accent);
    outline-offset: 1px;
    border-color: rgb(var(--hermes-accent-rgb) / 0.5);
}

.hermes-dashboard .work-composer__context,
.hermes-dashboard .team-editor__wide {
    grid-column: 1 / -1;
}

.hermes-dashboard .team-editor__switch-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem !important;
    padding: 0.72rem 0.78rem;
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.1 * var(--hermes-line-a)));
    border-radius: 11px;
    background: rgb(var(--hermes-bg-2-rgb) / 0.36);
}

.hermes-dashboard .team-editor__switch-row strong,
.hermes-dashboard .team-editor__switch-row small {
    display: block;
}

.hermes-dashboard .team-editor__switch-row strong { color: var(--hermes-text); font-size: 0.76rem; }
.hermes-dashboard .team-editor__switch-row small { margin-top: 0.16rem; color: var(--hermes-soft); font-size: 0.64rem; font-weight: 500; line-height: 1.35; }

.hermes-dashboard .team-editor__switch { position: relative; display: block; width: 2.55rem; height: 1.5rem; cursor: pointer; }
.hermes-dashboard .team-editor__switch input { position: absolute; inset: 0; box-sizing: border-box; width: 100%; min-height: 0; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.hermes-dashboard .team-editor__switch > span { display: block; width: 100%; height: 100%; border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.16 * var(--hermes-line-a))); border-radius: 999px; background: var(--hermes-switch-track); transition: background 160ms ease, border-color 160ms ease; }
.hermes-dashboard .team-editor__switch > span::after { display: block; width: 1.04rem; height: 1.04rem; margin: 0.16rem; border-radius: 50%; background: var(--hermes-switch-knob); content: ""; transition: transform 160ms ease, background 160ms ease; }
.hermes-dashboard .team-editor__switch input:checked + span { border-color: rgb(var(--hermes-accent-rgb) / 0.66); background: var(--hermes-switch-track-on); }
.hermes-dashboard .team-editor__switch input:checked + span::after { background: var(--hermes-switch-knob-on); transform: translateX(1.02rem); }
.hermes-dashboard .team-editor__switch input:focus-visible + span { outline: 2px solid var(--hermes-accent); outline-offset: 2px; }

.hermes-dashboard .skill-picker { display: grid; gap: 0.6rem; padding: 0.78rem; border: 1px solid rgb(var(--hermes-accent-rgb) / 0.2); border-radius: 13px; background: rgb(var(--hermes-bg-2-rgb) / 0.32); }
.hermes-dashboard .skill-picker--pending { min-height: 7.45rem; align-content: center; }
.hermes-dashboard .skill-picker--pending p { margin: 0; color: var(--hermes-soft); font-size: 0.72rem; }
.hermes-dashboard .skill-picker__header { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; }
.hermes-dashboard .skill-picker__header > div:first-child { display: grid; gap: 0.12rem; }
.hermes-dashboard .skill-picker__header strong { color: var(--hermes-text); font-size: 0.82rem; }
.hermes-dashboard .skill-picker__actions { display: flex; flex-wrap: wrap; gap: 0.28rem; }
.hermes-dashboard .skill-picker__actions button { padding: 0.28rem 0.42rem; color: var(--hermes-accent-2); border: 1px solid rgb(var(--hermes-accent-rgb) / 0.24); border-radius: 7px; background: transparent; font: inherit; font-size: 0.62rem; font-weight: 730; cursor: pointer; }
.hermes-dashboard .skill-picker__actions button:hover:not(:disabled), .hermes-dashboard .skill-picker__actions button:focus-visible { color: var(--hermes-text); border-color: rgb(var(--hermes-accent-rgb) / 0.58); background: rgb(var(--hermes-accent-rgb) / 0.1); }
.hermes-dashboard .skill-picker__actions button:disabled { opacity: 0.42; cursor: default; }
.hermes-dashboard .skill-picker__notice { margin: 0; padding: 0.42rem 0.5rem; color: var(--hermes-accent-2); border-left: 2px solid rgb(var(--hermes-accent-rgb) / 0.7); border-radius: 5px; background: rgb(var(--hermes-accent-rgb) / 0.08); font-size: 0.65rem; line-height: 1.35; }
.hermes-dashboard .skill-picker__search { min-height: 2.25rem !important; }
.hermes-dashboard .skill-picker__list { display: grid; gap: 0.64rem; max-height: 15.5rem; overflow: auto; padding: 0.12rem 0.1rem 0.12rem 0; scrollbar-color: rgb(var(--hermes-accent-rgb) / 0.4) transparent; }
.hermes-dashboard .skill-picker__group { display: grid; gap: 0.34rem; }
.hermes-dashboard .skill-picker__group h4 { display: flex; align-items: center; gap: 0.35rem; margin: 0; color: var(--hermes-soft); font-size: 0.61rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hermes-dashboard .skill-picker__group h4 span { padding: 0.08rem 0.28rem; border-radius: 999px; background: rgb(var(--hermes-ink-rgb) / calc(0.07 * var(--hermes-line-a))); font-size: 0.56rem; }
.hermes-dashboard .skill-picker__chips { display: flex; flex-wrap: wrap; gap: 0.32rem; }
.hermes-dashboard .skill-picker__chip { position: relative; display: inline-flex !important; grid-template-columns: none !important; align-items: center; gap: 0.34rem !important; max-width: 100%; padding: 0.38rem 0.48rem; color: var(--hermes-soft) !important; border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.1 * var(--hermes-line-a))); border-radius: 8px; background: rgb(var(--hermes-ink-rgb) / calc(0.025 * var(--hermes-line-a))); cursor: pointer; font-size: 0.67rem !important; font-weight: 650 !important; transition: border-color 160ms ease, background 160ms ease, color 160ms ease; }
.hermes-dashboard .skill-picker__chip:hover { border-color: rgb(var(--hermes-accent-rgb) / 0.42); background: rgb(var(--hermes-accent-rgb) / 0.08); }
.hermes-dashboard .skill-picker__chip--selected { color: var(--hermes-text) !important; border-color: rgb(var(--hermes-accent-rgb) / 0.6); background: rgb(var(--hermes-accent-rgb) / 0.16); }
.hermes-dashboard .skill-picker__chip input { position: absolute; width: 1px !important; min-height: 1px !important; opacity: 0; }
.hermes-dashboard .skill-picker__check { display: grid; width: 0.9rem; height: 0.9rem; flex: 0 0 0.9rem; place-items: center; color: transparent; border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.24 * var(--hermes-line-a))); border-radius: 4px; font-size: 0.63rem; line-height: 1; }
.hermes-dashboard .skill-picker__chip--selected .skill-picker__check { color: var(--hermes-accent-ink); border-color: var(--hermes-accent); background: var(--hermes-accent); }
.hermes-dashboard .skill-picker__chip input:focus-visible + .skill-picker__check { outline: 2px solid var(--hermes-accent); outline-offset: 2px; }
.hermes-dashboard .skill-picker__empty { margin: 0; padding: 1.2rem 0.6rem; color: var(--hermes-soft); font-size: 0.72rem; text-align: center; }

.hermes-dashboard .work-composer__actions,
.hermes-dashboard .team-editor__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.08 * var(--hermes-line-a)));
}

.hermes-dashboard .work-composer__actions > span,
.hermes-dashboard .team-editor__note {
    max-width: 35rem;
    margin: 0;
    color: var(--hermes-soft);
    font-size: 0.62rem;
    line-height: 1.45;
}

.hermes-dashboard .work-board {
    display: grid;
    grid-template-columns: repeat(5, minmax(10.5rem, 1fr));
    gap: 0.65rem;
    overflow-x: auto;
    padding: 0.2rem 0 0.45rem;
    scrollbar-color: rgb(var(--hermes-accent-rgb) / 0.28) transparent;
}

.hermes-dashboard .work-board__empty {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-height: 6.6rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.08 * var(--hermes-line-a)));
    border-radius: 16px;
    background: radial-gradient(circle at 12% 50%, rgb(var(--hermes-accent-rgb) / 0.08), transparent 30%), rgb(var(--hermes-panel-rgb) / 0.74);
}

.hermes-dashboard .work-board__empty-mark {
    position: relative;
    display: grid;
    gap: 0.28rem;
    width: 3.2rem;
    padding: 0.6rem;
    border: 1px solid rgb(var(--hermes-accent-rgb) / 0.28);
    border-radius: 12px;
    background: rgb(var(--hermes-accent-rgb) / 0.07);
}

.hermes-dashboard .work-board__empty-mark span {
    display: block;
    height: 0.22rem;
    border-radius: 99px;
    background: rgb(var(--hermes-amber-rgb) / 0.65);
}

.hermes-dashboard .work-board__empty-mark span:nth-child(2) { width: 72%; }
.hermes-dashboard .work-board__empty-mark span:nth-child(3) { width: 48%; }

.hermes-dashboard .work-board__empty strong {
    color: var(--hermes-text);
    font-size: 0.9rem;
}

.hermes-dashboard .work-board__empty p {
    max-width: 40rem;
    margin: 0.3rem 0 0;
    color: var(--hermes-dim);
    font-size: 0.72rem;
    line-height: 1.5;
}

.hermes-dashboard .work-column {
    display: grid;
    align-content: start;
    gap: 0.55rem;
    min-height: 15rem;
    padding: 0.62rem;
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.07 * var(--hermes-line-a)));
    border-radius: 13px;
    background: rgb(var(--hermes-bg-2-rgb) / 0.62);
}

.hermes-dashboard .work-column > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.08rem 0.1rem 0.42rem;
    border-bottom: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.06 * var(--hermes-line-a)));
}

.hermes-dashboard .work-column > header h3 {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    margin: 0;
    color: var(--hermes-muted);
    font-size: 0.69rem;
    font-weight: 780;
}

.hermes-dashboard .work-column > header h3::before {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--hermes-dot-idle);
    content: "";
}

.hermes-dashboard .work-column--running > header h3::before { background: var(--hermes-accent); box-shadow: 0 0 0 3px rgb(var(--hermes-accent-rgb) / 0.12); }
.hermes-dashboard .work-column--done > header h3::before { background: var(--hermes-online); }
.hermes-dashboard .work-column--blocked > header h3::before { background: var(--hermes-warn); }

.hermes-dashboard .work-column > header > span {
    color: var(--hermes-dim);
    font-size: 0.64rem;
}

.hermes-dashboard .work-column__items {
    display: grid;
    align-content: start;
    gap: 0.45rem;
}

.hermes-dashboard .work-column__empty {
    margin: 0;
    padding: 1.1rem 0.3rem;
    color: var(--hermes-dim);
    font-size: 0.63rem;
    text-align: center;
}

.hermes-dashboard .work-card {
    display: grid;
    gap: 0.35rem;
    padding: 0.7rem;
    color: var(--hermes-text);
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.09 * var(--hermes-line-a)));
    border-radius: 11px;
    background: linear-gradient(145deg, rgb(var(--hermes-panel-rgb) / 0.9), rgb(var(--hermes-bg-2-rgb) / 0.96));
    text-align: left;
    cursor: pointer;
    transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.hermes-dashboard .work-card:hover {
    transform: translateY(-1px);
    border-color: rgb(var(--hermes-accent-rgb) / 0.38);
}

.hermes-dashboard .work-card--selected {
    border-color: rgb(var(--hermes-accent-rgb) / 0.68);
    background: linear-gradient(145deg, rgb(var(--hermes-panel-raised-rgb) / 0.96), rgb(var(--hermes-panel-raised-rgb) / 0.98));
}

.hermes-dashboard .work-card:focus-visible {
    outline: 2px solid var(--hermes-accent);
    outline-offset: 2px;
}

.hermes-dashboard .work-card__state {
    color: var(--hermes-soft);
    font-size: 0.56rem;
    font-weight: 760;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hermes-dashboard .work-card strong {
    font-size: 0.74rem;
    line-height: 1.35;
}

.hermes-dashboard .work-card__agent {
    overflow: hidden;
    color: var(--hermes-soft);
    font-size: 0.63rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hermes-dashboard .work-detail {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid rgb(var(--hermes-accent-rgb) / 0.22);
    border-radius: 15px;
    background: rgb(var(--hermes-bg-2-rgb) / 0.88);
    position: sticky;
    top: 0.7rem;
    max-height: calc(100dvh - 7.5rem);
    overflow: auto;
}

.hermes-dashboard .work-detail p {
    margin: 0;
}

.hermes-dashboard .work-detail__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
}

.hermes-dashboard .work-detail__content > div {
    display: grid;
    align-content: start;
    gap: 0.35rem;
    padding: 0.75rem;
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.07 * var(--hermes-line-a)));
    border-radius: 11px;
    background: rgb(var(--hermes-ink-rgb) / calc(0.015 * var(--hermes-line-a)));
}

.hermes-dashboard .work-detail__content strong {
    color: var(--hermes-muted);
    font-size: 0.68rem;
}

.hermes-dashboard .work-detail__content p {
    white-space: pre-wrap;
    color: var(--hermes-dim);
    font-size: 0.7rem;
    line-height: 1.5;
}

.hermes-dashboard .work-detail__result { border-color: rgb(var(--hermes-online-rgb) / 0.22) !important; }
.hermes-dashboard .work-detail__error { border-color: rgb(var(--hermes-warn-rgb) / 0.28) !important; }
.hermes-dashboard .work-detail__error p { color: var(--hermes-warn-ink); }

.hermes-dashboard .work-events {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    padding-left: 1.05rem;
}

.hermes-dashboard .work-events li {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    color: var(--hermes-soft);
    font-size: 0.64rem;
}

.hermes-dashboard .work-events small {
    flex: 0 0 auto;
    color: var(--hermes-dim);
    white-space: nowrap;
}

.hermes-dashboard .work-load-state {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 7.4rem;
    max-width: 43rem;
    padding: 1rem;
    border: 1px dashed rgb(var(--hermes-accent-rgb) / 0.42);
    border-radius: 14px;
    background: var(--hermes-panel-soft);
}

.hermes-dashboard .work-load-state strong { color: var(--hermes-text); font-size: 0.88rem; }
.hermes-dashboard .work-load-state p { margin: 0.18rem 0 0; color: var(--hermes-soft); font-size: 0.76rem; line-height: 1.42; }
.hermes-dashboard .work-load-state--error { align-items: end; justify-content: space-between; border-style: solid; border-color: rgb(var(--hermes-warn-rgb) / 0.38); }
.hermes-dashboard .work-load-state__indicator { flex: 0 0 auto; width: 0.7rem; height: 0.7rem; border: 2px solid rgb(var(--hermes-accent-rgb) / 0.28); border-top-color: var(--hermes-accent); border-radius: 50%; animation: work-load-spin 0.9s linear infinite; }

.hermes-dashboard .team-onboarding {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    min-height: 12rem;
    padding: 1.4rem;
    border: 1px solid rgb(var(--hermes-accent-rgb) / 0.28);
    border-radius: 18px;
    background: radial-gradient(circle at 12% 50%, rgb(var(--hermes-accent-rgb) / 0.12), transparent 28%), linear-gradient(145deg, rgb(var(--hermes-panel-raised-rgb) / 0.96), rgb(var(--hermes-panel-rgb) / 0.98));
}

.hermes-dashboard .team-onboarding h3,
.hermes-dashboard .team-onboarding p {
    margin: 0;
}

.hermes-dashboard .team-onboarding h3 {
    max-width: 40rem;
    margin-top: 0.22rem;
    color: var(--hermes-text);
    font-size: 1.12rem;
    line-height: 1.3;
}

.hermes-dashboard .team-onboarding > div:nth-child(2) > p:last-child {
    max-width: 38rem;
    margin-top: 0.48rem;
    color: var(--hermes-dim);
    font-size: 0.72rem;
    line-height: 1.5;
}

.hermes-dashboard .team-onboarding__mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 4.3rem;
    height: 4.3rem;
    color: var(--hermes-muted);
    border: 1px solid rgb(var(--hermes-accent-rgb) / 0.42);
    border-radius: 17px;
    background: rgb(var(--hermes-accent-rgb) / 0.08);
    font-size: 1.2rem;
    font-weight: 850;
}

.hermes-dashboard .team-onboarding__mark i {
    position: absolute;
    bottom: -0.7rem;
    width: 0.9rem;
    height: 0.9rem;
    border: 1px solid rgb(var(--hermes-accent-rgb) / 0.32);
    border-radius: 5px;
    background: var(--hermes-panel-strong);
}

.hermes-dashboard .team-onboarding__mark i:first-of-type { left: 0.65rem; }
.hermes-dashboard .team-onboarding__mark i:last-of-type { right: 0.65rem; }

.hermes-dashboard .team-commandbar__actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hermes-dashboard .team-settings {
    position: relative;
}

.hermes-dashboard .team-settings summary {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    color: var(--hermes-dim);
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.09 * var(--hermes-line-a)));
    border-radius: 10px;
    background: rgb(var(--hermes-ink-rgb) / calc(0.02 * var(--hermes-line-a)));
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    list-style: none;
}

.hermes-dashboard .team-settings summary::-webkit-details-marker { display: none; }
.hermes-dashboard .team-settings summary:focus-visible { outline: 2px solid var(--hermes-accent); outline-offset: 2px; }

.hermes-dashboard .team-settings > div {
    position: absolute;
    z-index: 5;
    top: calc(100% + 0.45rem);
    right: 0;
    display: grid;
    gap: 0.65rem;
    width: 18rem;
    padding: 0.75rem;
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.12 * var(--hermes-line-a)));
    border-radius: 12px;
    background: var(--hermes-panel-strong);
    box-shadow: 0 18px 45px rgb(var(--hermes-shadow-rgb) / calc(0.38 * var(--hermes-shadow-a)));
}

.hermes-dashboard .team-settings p {
    margin: 0;
    color: var(--hermes-soft);
    font-size: 0.64rem;
    line-height: 1.45;
}

.hermes-dashboard .team-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 15.5rem;
    gap: 0.8rem;
    align-items: start;
}

.hermes-dashboard .team-org,
.hermes-dashboard .team-activity {
    display: grid;
    align-content: start;
    gap: 0;
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.07 * var(--hermes-line-a)));
    border-radius: 14px;
    background: rgb(var(--hermes-bg-2-rgb) / 0.58);
    overflow: hidden;
}

.hermes-dashboard .team-org > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.72rem 0.82rem;
    border-bottom: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.07 * var(--hermes-line-a)));
}

.hermes-dashboard .team-org h3 {
    margin: 0.14rem 0 0;
    color: var(--hermes-text);
    font-size: 0.9rem;
    line-height: 1.3;
}

.hermes-dashboard .team-org > header > span {
    color: var(--hermes-soft);
    font-size: 0.62rem;
}

.hermes-dashboard .team-forest {
    display: flex;
    justify-content: center;
    width: max-content;
    min-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hermes-dashboard .team-canvas {
    min-height: 22rem;
    overflow: auto;
    padding: 1.2rem 1rem 1.5rem;
    background-color: rgb(var(--hermes-bg-2-rgb) / 0.7);
    background-image: radial-gradient(rgb(var(--hermes-accent-rgb) / 0.13) 0.75px, transparent 0.75px);
    background-size: 18px 18px;
    scrollbar-color: rgb(var(--hermes-accent-rgb) / 0.28) transparent;
}

.hermes-dashboard .work-board-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
    min-width: 0;
}

.hermes-dashboard .work-board-layout--detail {
    grid-template-columns: minmax(0, 1fr) minmax(16.5rem, 0.3fr);
}

.hermes-dashboard .team-forest > .agent-node {
    padding-top: 0;
}

.hermes-dashboard .team-forest > .agent-node::before,
.hermes-dashboard .team-forest > .agent-node::after {
    display: none;
}

.hermes-dashboard .team-add-branch {
    display: grid;
    justify-items: center;
}

.hermes-dashboard .team-add-branch > span {
    width: 1px;
    height: 1.25rem;
    background: rgb(var(--hermes-accent-rgb) / 0.42);
}

.hermes-dashboard .team-add-branch button {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.58rem 0.8rem;
    color: var(--hermes-dim);
    border: 1px dashed rgb(var(--hermes-accent-rgb) / 0.38);
    border-radius: 9px;
    background: rgb(var(--hermes-bg-2-rgb) / 0.88);
    font: inherit;
    font-size: 0.64rem;
    cursor: pointer;
}

.hermes-dashboard .team-add-branch button:hover {
    color: var(--hermes-accent-2);
    border-color: rgb(var(--hermes-accent-rgb) / 0.65);
    background: rgb(var(--hermes-accent-rgb) / 0.07);
}

.hermes-dashboard .team-add-branch button:focus-visible {
    outline: 2px solid var(--hermes-accent);
    outline-offset: 2px;
}

.hermes-dashboard .team-add-branch b {
    font-size: 0.9rem;
    font-weight: 500;
}

.hermes-dashboard .team-empty {
    display: grid;
    align-content: center;
    gap: 0.34rem;
    min-height: 8rem;
    padding: 1rem;
    border: 1px dashed rgb(var(--hermes-accent-rgb) / 0.35);
    border-radius: 12px;
    background: var(--hermes-panel-soft);
}

.hermes-dashboard .team-empty strong { color: var(--hermes-text); }
.hermes-dashboard .team-empty p { max-width: 32rem; margin: 0; color: var(--hermes-soft); line-height: 1.45; }

.hermes-dashboard .team-editor {
    align-content: start;
}

.hermes-dashboard .team-editor__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hermes-dashboard .team-editor__wide {
    grid-column: 1 / -1;
}

.hermes-dashboard .team-editor__actions {
    align-items: flex-end;
}

.hermes-dashboard .team-editor__actions > .button {
    justify-self: start;
}

.hermes-dashboard .team-activity {
    position: sticky;
    top: 0.7rem;
    background: linear-gradient(150deg, rgb(var(--hermes-bg-2-rgb) / 0.88), rgb(var(--hermes-bg-2-rgb) / 0.96));
}

.hermes-dashboard .team-activity > section {
    display: grid;
    gap: 0.65rem;
    padding: 0.82rem;
    border-bottom: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.07 * var(--hermes-line-a)));
}

.hermes-dashboard .team-activity > section:last-child {
    border-bottom: 0;
}

.hermes-dashboard .team-activity__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.hermes-dashboard .team-activity__heading p {
    margin: 0;
}

.hermes-dashboard .team-activity__heading button {
    padding: 0;
    color: var(--hermes-accent-2);
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.59rem;
    cursor: pointer;
}

.hermes-dashboard .team-activity__freshness {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--hermes-soft);
    font-size: 0.5rem;
}

.hermes-dashboard .team-activity__credits {
    color: var(--hermes-accent-hi);
    font-size: 1.15rem;
    font-variant-numeric: tabular-nums;
}

.hermes-dashboard .team-activity__credits small {
    color: var(--hermes-soft);
    font-size: 0.58rem;
    font-weight: 600;
}

.hermes-dashboard .team-activity__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.38rem;
}

.hermes-dashboard .team-activity__stats span {
    display: grid;
    gap: 0.08rem;
    padding: 0.45rem;
    color: var(--hermes-soft);
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.06 * var(--hermes-line-a)));
    border-radius: 8px;
    background: rgb(var(--hermes-ink-rgb) / calc(0.015 * var(--hermes-line-a)));
    font-size: 0.54rem;
}

.hermes-dashboard .team-activity__stats b {
    color: var(--hermes-muted);
    font-size: 0.68rem;
    font-variant-numeric: tabular-nums;
}

.hermes-dashboard .team-activity__empty {
    margin: 0;
    color: var(--hermes-soft);
    font-size: 0.61rem;
    line-height: 1.45;
}

.hermes-dashboard .team-activity__list {
    display: grid;
}

.hermes-dashboard .team-activity__list > button {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.48rem;
    align-items: center;
    padding: 0.52rem 0;
    color: inherit;
    border: 0;
    border-bottom: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.06 * var(--hermes-line-a)));
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.hermes-dashboard .team-activity__list > button:last-child {
    border-bottom: 0;
}

.hermes-dashboard .team-activity__list > button:hover strong {
    color: var(--hermes-accent-2);
}

.hermes-dashboard .team-activity__list > button > span {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.hermes-dashboard .team-activity__list strong,
.hermes-dashboard .team-activity__list small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hermes-dashboard .team-activity__list strong {
    color: var(--hermes-muted);
    font-size: 0.62rem;
}

.hermes-dashboard .team-activity__list small {
    color: var(--hermes-soft);
    font-size: 0.52rem;
}

.hermes-dashboard .work-modal-backdrop {
    position: fixed;
    z-index: 40;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: var(--hermes-scrim-strong);
    backdrop-filter: blur(9px);
}

.hermes-dashboard .work-modal {
    width: min(42rem, 100%);
    max-height: calc(100dvh - 2rem);
    overflow: auto;
    border-radius: 17px;
    box-shadow: 0 30px 90px rgb(var(--hermes-shadow-rgb) / calc(0.58 * var(--hermes-shadow-a)));
}

.hermes-dashboard .work-modal .team-editor {
    border-color: rgb(var(--hermes-accent-rgb) / 0.42);
    background: radial-gradient(circle at 10% 0, rgb(var(--hermes-accent-rgb) / 0.11), transparent 35%), var(--hermes-panel);
}

@keyframes work-load-spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
    .hermes-dashboard .team-dashboard {
        grid-template-columns: 1fr;
    }

    .hermes-dashboard .work-board-layout--detail {
        grid-template-columns: 1fr;
    }

    .hermes-dashboard .work-detail {
        position: static;
        max-height: none;
    }

    .hermes-dashboard .team-activity {
        position: static;
    }
}

@media (max-width: 760px) {
    .hermes-dashboard .work-surface {
        grid-auto-rows: max-content;
        padding: 0.85rem;
    }

    .hermes-dashboard .work-toolbar,
    .hermes-dashboard .team-commandbar,
    .hermes-dashboard .work-composer__actions,
    .hermes-dashboard .team-editor__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hermes-dashboard .team-commandbar {
        display: grid;
        min-height: max-content;
        justify-content: stretch;
    }

    .hermes-dashboard .work-toolbar > .button,
    .hermes-dashboard .team-commandbar__actions,
    .hermes-dashboard .team-commandbar__actions > .button {
        width: 100%;
    }

    .hermes-dashboard .team-commandbar__actions {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .hermes-dashboard .work-composer__grid,
    .hermes-dashboard .team-editor__grid {
        grid-template-columns: 1fr;
    }

    .hermes-dashboard .work-composer__context,
    .hermes-dashboard .team-editor__wide {
        grid-column: auto;
    }

    .hermes-dashboard .skill-picker__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .hermes-dashboard .skill-picker__list {
        max-height: 13rem;
    }

    .hermes-dashboard .team-canvas {
        min-height: 18rem;
        padding-inline: 0.6rem;
    }

    .hermes-dashboard .work-board {
        grid-template-columns: repeat(5, minmax(10.5rem, 1fr));
    }

    .hermes-dashboard .work-board__empty,
    .hermes-dashboard .team-onboarding {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .hermes-dashboard .work-detail__content {
        grid-template-columns: 1fr;
    }

    .hermes-dashboard .work-events li {
        display: grid;
        gap: 0.1rem;
    }

    .hermes-dashboard .work-load-state--error {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .hermes-dashboard .team-commandbar__actions > .button--secondary:first-child {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hermes-dashboard .work-card { transition: none; }
    .hermes-dashboard .work-load-state__indicator { animation: none; }
}

.hermes-dashboard .empty-panel {
    display: grid;
    align-content: center;
    gap: 0.55rem;
    min-height: 12rem;
    padding: 0.95rem;
    border: 1px dashed rgb(var(--hermes-ink-rgb) / calc(0.24 * var(--hermes-line-a)));
    border-radius: 12px;
    background: var(--hermes-panel-soft);
}

.hermes-dashboard .empty-panel--compact {
    min-height: 8.5rem;
}

.hermes-dashboard .field-label {
    color: var(--hermes-muted);
    font-size: 0.76rem;
    font-weight: 750;
}

.hermes-dashboard .field-card input,
.hermes-dashboard .field-card select {
    width: 100%;
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.12 * var(--hermes-line-a)));
    border-radius: 12px;
    background: var(--hermes-panel-soft);
    color: var(--hermes-text);
    font: inherit;
    transition: opacity 180ms ease;
}

@keyframes voice-recording-pulse {
    50% {
        box-shadow: 0 0 0 4px rgb(var(--hermes-danger-rgb) / 0.12);
    }
}

.hermes-dashboard .field-card input {
    min-height: 2.8rem;
    padding: 0.75rem 0.9rem;
}

.hermes-dashboard .field-card select {
    min-height: 2.8rem;
    padding: 0.7rem 2.25rem 0.7rem 0.9rem;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--hermes-soft) 50%),
        linear-gradient(135deg, var(--hermes-soft) 50%, transparent 50%);
    background-position:
        calc(100% - 1rem) 1.18rem,
        calc(100% - 0.7rem) 1.18rem;
    background-size: 0.32rem 0.32rem;
    background-repeat: no-repeat;
}

.hermes-dashboard .field-card select option {
    color: var(--hermes-text);
    background: var(--hermes-panel-strong);
}

.hermes-dashboard .field-card input::placeholder {
    color: var(--hermes-soft);
}

@media (forced-colors: active) {
    .hermes-dashboard .field-card select {
        padding-right: 0.9rem;
        appearance: auto;
        background-image: none;
    }
}

.hermes-dashboard .field-card input:focus,
.hermes-dashboard .field-card select:focus {
    border-color: rgb(var(--hermes-accent-rgb) / 0.42);
    background-color: var(--hermes-panel-strong);
}

.hermes-dashboard .button--compact {
    min-height: 1.82rem;
    padding: 0.4rem 0.58rem;
    border-radius: 10px;
    font-size: 0.74rem;
}

.hermes-dashboard .field-card {
    display: grid;
    gap: 0.48rem;
    padding: 1rem;
    border-radius: 14px;
    background: var(--hermes-panel-soft);
    box-shadow: none;
}

.hermes-dashboard .channel-config {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.25rem;
}

.hermes-dashboard .channel-config__field {
    display: grid;
    gap: 0.34rem;
    color: var(--hermes-soft);
    font-size: 0.7rem;
    font-weight: 720;
}

.hermes-dashboard .channel-config__field--wide {
    grid-column: 1 / -1;
}

.hermes-dashboard .channel-config__field input {
    width: 100%;
    min-height: 2.7rem;
    padding: 0.68rem 0.75rem;
    color: var(--hermes-text);
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.12 * var(--hermes-line-a)));
    border-radius: 10px;
    background: rgb(var(--hermes-bg-2-rgb) / 0.72);
    font: inherit;
}

.hermes-dashboard .channel-config__field input:focus-visible {
    outline: 2px solid var(--hermes-accent);
    outline-offset: 1px;
    border-color: rgb(var(--hermes-accent-rgb) / 0.5);
}

.hermes-dashboard .channel-config__field input:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.hermes-dashboard .channel-config__field small {
    color: var(--hermes-soft);
    font-size: 0.64rem;
    font-weight: 500;
    line-height: 1.45;
}

.hermes-dashboard .channel-config__switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.72rem 0.78rem;
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.1 * var(--hermes-line-a)));
    border-radius: 11px;
    background: rgb(var(--hermes-bg-2-rgb) / 0.36);
}

.hermes-dashboard .channel-config__switch-row strong,
.hermes-dashboard .channel-config__switch-row small {
    display: block;
}

.hermes-dashboard .channel-config__switch-row strong {
    color: var(--hermes-text);
    font-size: 0.76rem;
}

.hermes-dashboard .channel-config__switch-row small {
    margin-top: 0.16rem;
    color: var(--hermes-soft);
    font-size: 0.64rem;
    font-weight: 500;
    line-height: 1.35;
}

.hermes-dashboard .field-card strong,
.hermes-dashboard .field-card code {
    color: var(--hermes-text);
    font-size: 1rem;
}

.hermes-dashboard .field-card small,
.hermes-dashboard .code-card small {
    color: var(--hermes-soft);
    line-height: 1.55;
}

.hermes-dashboard .code-card__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.hermes-dashboard .code-card {
    display: grid;
    gap: 0.45rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgb(var(--hermes-ink-rgb) / calc(0.22 * var(--hermes-line-a)));
    border-radius: 15px;
    background: var(--hermes-panel-soft);
    box-shadow: none;
}

.hermes-dashboard .code-card,
.hermes-dashboard .code-card p,
.hermes-dashboard .code-card small,
.hermes-dashboard .code-card code,
.hermes-dashboard .code-card span {
    color: var(--hermes-text);
}

.hermes-dashboard .code-card__row code {
    color: var(--hermes-accent-2);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hermes-dashboard .code-card__row strong {
    color: var(--hermes-text);
    font-weight: 750;
}

@keyframes workspace-preparing-spin {
    to { transform: rotate(1turn); }
}

@keyframes agent-pulse {
    70%,
    100% {
        box-shadow: 0 0 0 0.42rem rgb(var(--hermes-accent-rgb) / 0);
    }
}

@media (max-width: 1100px) {
    .hermes-dashboard .guest-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 760px) {
    .hermes-dashboard .channel-config {
        grid-template-columns: 1fr;
    }

    .hermes-dashboard .channel-config__field--wide {
        grid-column: 1;
    }

    .hermes-dashboard .state-card,
    .hermes-dashboard .panel {
        padding: 0.82rem;
        border-radius: 16px;
    }

    .hermes-dashboard .guest-preview-grid {
        grid-template-columns: 1fr;
    }

    .hermes-dashboard .inline-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    

    

    

    .hermes-dashboard .state-card h1 {
        font-size: clamp(1.8rem, 10vw, 2.8rem);
        line-height: 1.02;
    }

}

@media (max-width: 440px) {

    .hermes-dashboard .status-pill {
        font-size: 0.66rem;
    }

}

@media (prefers-reduced-motion: reduce) {
    .hermes-dashboard *,
    .hermes-dashboard *::before,
    .hermes-dashboard *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Night workshop: graphite surfaces with a restrained smoky-plum accent for decisions only. */
.hermes-dashboard {
    --hermes-radius-xl: 14px; --hermes-radius-lg: 12px; --hermes-radius-md: 8px; --hermes-shadow: none;
    font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
}
.hermes-dashboard code, .hermes-dashboard .eyebrow, .hermes-dashboard .field-card__label { font-family: "JetBrains Mono", "Cascadia Code", monospace; }

.hermes-dashboard .button { min-height:2.5rem;border-radius:8px;font-size:.875rem;transition:background 200ms ease,border-color 200ms ease,color 200ms ease,transform 200ms ease; }.hermes-dashboard .button--primary { color:var(--hermes-bg);border-color:var(--hermes-accent);background:var(--hermes-accent);box-shadow:none; }.hermes-dashboard .button--primary:hover:not(:disabled) { background:var(--hermes-accent-hi); }.hermes-dashboard .button--secondary,.hermes-dashboard .button--panel-link { color:var(--hermes-accent-2);border-color:rgb(var(--hermes-accent-rgb) / 0.42);background:transparent; }.hermes-dashboard .button--ghost,.hermes-dashboard .button--ghost-danger { background:transparent;border-color:var(--hermes-line); }
.hermes-dashboard .button:focus-visible,.hermes-dashboard .field-card input:focus-visible,.hermes-dashboard .field-card select:focus-visible { box-shadow:0 0 0 2px var(--hermes-bg),0 0 0 4px var(--hermes-accent); }
.hermes-dashboard .work-surface { padding:clamp(1rem,2vw,1.75rem); }.hermes-dashboard .work-toolbar__state span:last-child { font-size:.6875rem; }.hermes-dashboard .work-toolbar,.hermes-dashboard .team-commandbar { border-radius:8px;background:var(--hermes-panel-soft); }.hermes-dashboard .work-composer,.hermes-dashboard .team-editor { border-color:var(--hermes-line);border-radius:10px;background:var(--hermes-panel-soft);box-shadow:none; }.hermes-dashboard .work-composer label,.hermes-dashboard .team-editor label,.hermes-dashboard .work-composer__actions > span,.hermes-dashboard .team-editor__note { font-size:.75rem; }.hermes-dashboard .work-composer input,.hermes-dashboard .work-composer select,.hermes-dashboard .work-composer textarea,.hermes-dashboard .team-editor input,.hermes-dashboard .team-editor select,.hermes-dashboard .team-editor textarea { background:var(--hermes-bg-2); }.hermes-dashboard .work-column,.hermes-dashboard .work-card,.hermes-dashboard .work-detail { border-color:var(--hermes-line);background:var(--hermes-panel-soft);box-shadow:none; }

/* Operational metadata may be compact; explanatory copy stays at the 14px workspace minimum. */
.hermes-dashboard small { font-size:.875rem;line-height:1.45; }
.hermes-dashboard .status-pill { font-size:.6875rem;line-height:1.35; }

.hermes-dashboard .code-card { border-color: var(--hermes-line); background: var(--hermes-panel-soft); }
.hermes-dashboard .empty-panel { border-color: var(--hermes-line); background: var(--hermes-panel-soft); }

.hermes-dashboard .team-canvas {
    background-color: var(--hermes-bg-2);
    background-image: radial-gradient(rgb(var(--hermes-ink-rgb) / calc(0.1 * var(--hermes-line-a))) .75px, transparent .75px);
    scrollbar-color: rgb(var(--hermes-accent-rgb) / 0.3) transparent;
}

.hermes-dashboard .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Интеграции: карточка Google и подсказка про подключение из чата. */

