/* ============================================
   KDash — Carbon Design System Tokens
   Themes: light (white) / dark (gray-100)
   ============================================ */

:root,
[data-theme="light"] {
    --bg:               #ffffff;
    --bg-secondary:     #f4f4f4;
    --bg-tertiary:      #e0e0e0;
    --bg-hover:         rgba(141,141,141,0.12);
    --bg-active:        rgba(141,141,141,0.5);
    --bg-brand:         #0f62fe;
    --bg-brand-hover:   #0353e9;
    --bg-danger:        #da1e28;
    --bg-success:       #198038;
    --bg-warning:       #f1c21b;
    --bg-info:          #0043ce;

    --text-primary:     #161616;
    --text-secondary:   #525252;
    --text-placeholder: #a8a8a8;
    --text-on-color:    #ffffff;
    --text-helper:      #6f6f6f;
    --text-inverse:     #ffffff;

    --border-subtle:    #e0e0e0;
    --border-strong:    #8d8d8d;
    --border-interactive: #0f62fe;

    --link:             #0f62fe;
    --link-hover:       #0043ce;

    --field-bg:         #f4f4f4;
    --field-border:     #8d8d8d;
    --field-focus:      #0f62fe;

    --shadow-sm:        0 1px 2px rgba(0,0,0,0.1);
    --shadow-md:        0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg:        0 8px 24px rgba(0,0,0,0.12);

    --header-bg:        #161616;
    --header-text:      #ffffff;

    --notification-info-bg:    #edf5ff;
    --notification-info-border:#0043ce;
    --notification-success-bg: #defbe6;
    --notification-success-border:#198038;
    --notification-error-bg:   #fff1f1;
    --notification-error-border:#da1e28;
    --notification-warning-bg: #fdf6dd;
    --notification-warning-border:#f1c21b;
}

[data-theme="dark"] {
    --bg:               #161616;
    --bg-secondary:     #262626;
    --bg-tertiary:      #393939;
    --bg-hover:         rgba(141,141,141,0.16);
    --bg-active:        rgba(141,141,141,0.4);
    --bg-brand:         #0f62fe;
    --bg-brand-hover:   #0353e9;
    --bg-danger:        #da1e28;
    --bg-success:       #24a148;
    --bg-warning:       #f1c21b;
    --bg-info:          #4589ff;

    --text-primary:     #f4f4f4;
    --text-secondary:   #c6c6c6;
    --text-placeholder: #6f6f6f;
    --text-on-color:    #ffffff;
    --text-helper:      #a8a8a8;
    --text-inverse:     #161616;

    --border-subtle:    #393939;
    --border-strong:    #6f6f6f;
    --border-interactive: #4589ff;

    --link:             #78a9ff;
    --link-hover:       #a6c8ff;

    --field-bg:         #262626;
    --field-border:     #6f6f6f;
    --field-focus:      #4589ff;

    --shadow-sm:        0 1px 2px rgba(0,0,0,0.3);
    --shadow-md:        0 4px 8px rgba(0,0,0,0.3);
    --shadow-lg:        0 8px 24px rgba(0,0,0,0.4);

    --header-bg:        #262626;
    --header-text:      #f4f4f4;

    --notification-info-bg:    #002d5c;
    --notification-info-border:#4589ff;
    --notification-success-bg: #044317;
    --notification-success-border:#24a148;
    --notification-error-bg:   #520408;
    --notification-error-border:#fa4d56;
    --notification-warning-bg: #3a3000;
    --notification-warning-border:#f1c21b;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--field-bg);
    color: var(--text-primary);
    border: none;
    border-bottom: 1px solid var(--field-border);
    border-radius: 0;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 32 32' fill='%236f6f6f'%3E%3Cpath d='M16 22L6 12l1.4-1.4L16 19.2l8.6-8.6L26 12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 1.75rem !important;
}
select:focus {
    border-bottom-color: var(--field-focus);
    box-shadow: inset 0 -1px 0 var(--field-focus);
}
select option {
    background-color: var(--field-bg);
    color: var(--text-primary);
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.theme-transitioning,
body.theme-transitioning * {
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

a {
    color: var(--link);
    text-decoration: none;
}
a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

/* ============================================
   Carbon UI Shell — Header
   ============================================ */
.shell-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: var(--header-bg);
    color: var(--header-text);
    z-index: 9000;
    border-bottom: 1px solid var(--border-subtle);
}

.shell-header__inner {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 1584px;
    margin: 0 auto;
    padding: 0 2rem;
}

.shell-header__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--header-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.1px;
    padding: 0 1rem 0 0;
    height: 100%;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.shell-header__logo:hover {
    color: var(--header-text);
    text-decoration: none;
    background: rgba(255,255,255,0.08);
}

.shell-header__brand-img {
    display: block;
    height: 28px;
    width: auto;
    max-width: min(200px, 46vw);
    object-fit: contain;
}

.shell-header__nav {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 0;
}

.shell-header__link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
    color: var(--header-text);
    font-size: 0.875rem;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: background 0.15s;
}
.shell-header__link:hover {
    background: rgba(255,255,255,0.08);
    color: var(--header-text);
    text-decoration: none;
}
.shell-header__link.active {
    border-bottom-color: var(--bg-brand);
    color: #ffffff;
}

.shell-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.shell-header__user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.shell-header__user-name {
    font-size: 0.875rem;
    color: var(--header-text);
    opacity: 0.85;
}

/* ============================================
   Language Toggle
   ============================================ */
.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    color: var(--header-text);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}
.lang-toggle:hover {
    background: rgba(255,255,255,0.08);
    color: var(--header-text);
    text-decoration: none;
}

/* ============================================
   Theme Toggle
   ============================================ */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    color: var(--header-text);
    cursor: pointer;
    transition: background 0.15s;
}
.theme-toggle:hover {
    background: rgba(255,255,255,0.08);
}

[data-theme="light"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="dark"]  .icon-sun  { display: none; }
[data-theme="dark"]  .icon-moon { display: block; }

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    color: var(--header-text);
    cursor: pointer;
}
.mobile-menu-toggle line {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 8999;
    padding: 1rem 0;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-nav-overlay.active {
    display: flex;
}
.mobile-nav-overlay a {
    display: block;
    padding: 0.75rem 2rem;
    color: var(--text-primary);
    font-size: 0.9375rem;
    text-decoration: none;
    border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav-overlay a:hover,
.mobile-nav-overlay a.active {
    background: var(--bg-hover);
    text-decoration: none;
}
.mobile-nav__user {
    padding: 1rem 2rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 0.5rem;
}
.mobile-nav__user-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.mobile-nav__user-email {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

@media (max-width: 672px) {
    .shell-header__nav,
    .shell-header__user {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
    flex: 1;
    margin-top: 48px;
}

/* ============================================
   Form Components (Carbon-style)
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.32px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    height: 2.5rem;
    padding: 0 1rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--field-bg);
    border: none;
    border-bottom: 1px solid var(--field-border);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group textarea {
    height: auto;
    min-height: 5rem;
    padding: 0.75rem 1rem;
    resize: vertical;
    line-height: 1.5;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-placeholder);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-bottom-color: var(--field-focus);
    box-shadow: inset 0 -1px 0 var(--field-focus);
}
.form-group input.error,
.form-group textarea.error {
    border-bottom-color: var(--bg-danger);
    box-shadow: inset 0 -1px 0 var(--bg-danger);
}

.form-group .helper-text {
    font-size: 0.75rem;
    color: var(--text-helper);
    margin-top: 0.25rem;
}
.form-group .error-text {
    font-size: 0.75rem;
    color: var(--bg-danger);
    margin-top: 0.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ============================================
   Buttons (Carbon-style)
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 3rem;
    padding: 0 4rem 0 1rem;
    font-size: 0.875rem;
    font-family: inherit;
    font-weight: 400;
    letter-spacing: 0.16px;
    border: none;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--bg-brand);
    color: var(--text-on-color);
}
.btn--primary:hover {
    background: var(--bg-brand-hover);
    color: var(--text-on-color);
    text-decoration: none;
}

.btn--secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}
.btn--secondary:hover {
    background: var(--border-strong);
    text-decoration: none;
}

.btn--ghost {
    background: transparent;
    color: var(--link);
    padding: 0 1rem;
}
.btn--ghost:hover {
    background: var(--bg-hover);
    text-decoration: none;
}

.btn--danger {
    background: var(--bg-danger);
    color: var(--text-on-color);
}

.btn--sm {
    height: 2rem;
    padding: 0 1rem;
    font-size: 0.75rem;
}

.btn--full {
    width: 100%;
    padding: 0 1rem;
}

/* ============================================
   Notifications (Carbon-style inline)
   ============================================ */
.notification {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    margin: 1rem 2rem;
    border-left: 3px solid;
    font-size: 0.875rem;
    animation: slideDown 0.3s ease;
}

.notification--info {
    background: var(--notification-info-bg);
    border-left-color: var(--notification-info-border);
    color: var(--text-primary);
}
.notification--success {
    background: var(--notification-success-bg);
    border-left-color: var(--notification-success-border);
    color: var(--text-primary);
}
.notification--error {
    background: var(--notification-error-bg);
    border-left-color: var(--notification-error-border);
    color: var(--text-primary);
}
.notification--warning {
    background: var(--notification-warning-bg);
    border-left-color: var(--notification-warning-border);
    color: var(--text-primary);
}

.notification__close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0 0 0 1rem;
    line-height: 1;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Dashboard Grid
   ============================================ */
.dashboard-grid {
    padding: 2rem;
    max-width: 1584px;
    margin: 0 auto;
}

.dashboard-welcome {
    margin-bottom: 2rem;
}
.dashboard-welcome h1 {
    font-size: 2.625rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.dashboard-welcome p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1px;
    background: var(--border-subtle);
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg);
    padding: 1.5rem;
}
.stat-card__label {
    font-size: 0.75rem;
    letter-spacing: 0.32px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.stat-card__value {
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.2;
}
.stat-card__helper {
    font-size: 0.75rem;
    color: var(--text-helper);
    margin-top: 0.5rem;
}

/* ============================================
   Data Table (Carbon-style)
   ============================================ */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.data-table thead {
    background: var(--bg-tertiary);
}
.data-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.16px;
    text-transform: uppercase;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
}
.data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}
.data-table tbody tr:hover {
    background: var(--bg-hover);
}

/* ============================================
   Tags / Status badges
   ============================================ */
.tag {
    display: inline-flex;
    align-items: center;
    height: 1.5rem;
    padding: 0 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.32px;
    border-radius: 62.5rem;
    background: var(--bg-brand);
    color: var(--text-on-color);
}
.tag--pending   { background: var(--bg-warning); color: #161616; }
.tag--submitted { background: var(--bg-info);    color: #ffffff; }
.tag--reviewing { background: #6929c4;          color: #ffffff; }
.tag--accepted  { background: var(--bg-success); color: #ffffff; }
.tag--declined  { background: var(--bg-danger);  color: #ffffff; }
.tag--expired   { background: var(--bg-tertiary); color: var(--text-secondary); }
.tag--outline {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
}

/* ============================================
   Code Entry Page (prospect landing)
   ============================================ */
.code-entry {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 48px - 48px);
    padding: 2rem;
}
.code-entry__card {
    text-align: center;
    max-width: 420px;
    width: 100%;
}
.code-entry__card h1 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.code-entry__card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}
.code-entry__input {
    width: 100%;
    max-width: 280px;
    height: 4rem;
    font-size: 2rem;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.5em;
    padding: 0 1rem;
    color: var(--text-primary);
    background: var(--field-bg);
    border: none;
    border-bottom: 2px solid var(--field-border);
    outline: none;
    transition: border-color 0.15s;
    margin: 0 auto 1.5rem;
    display: block;
}
.code-entry__input:focus {
    border-bottom-color: var(--field-focus);
}
.code-entry__input::placeholder {
    color: var(--text-placeholder);
    letter-spacing: 0.3em;
    font-size: 1.5rem;
}
.code-entry__company {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--bg-brand);
    margin-bottom: 1.5rem;
    min-height: 1.5em;
}
.code-entry__error {
    font-size: 0.875rem;
    color: var(--bg-danger);
    margin-bottom: 1rem;
}

/* ============================================
   Interview Form
   ============================================ */
.interview-page {
    padding: 2rem;
    max-width: 720px;
    margin: 0 auto;
}
.interview-page__header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}
.interview-page__header h1 {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.interview-page__header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.interview-category {
    margin-bottom: 2.5rem;
}
.interview-category h2 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.16px;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1.5rem;
}

.interview-question {
    margin-bottom: 1.5rem;
}
.interview-question label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.interview-question label .required {
    color: var(--bg-danger);
    margin-left: 0.25rem;
}
.interview-question input,
.interview-question textarea,
.interview-question select {
    width: 100%;
    padding: 0 1rem;
    height: 2.5rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--field-bg);
    border: none;
    border-bottom: 1px solid var(--field-border);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.interview-question textarea {
    height: auto;
    min-height: 5rem;
    padding: 0.75rem 1rem;
    resize: vertical;
    line-height: 1.5;
}
.interview-question input:focus,
.interview-question textarea:focus,
.interview-question select:focus {
    border-bottom-color: var(--field-focus);
    box-shadow: inset 0 -1px 0 var(--field-focus);
}

/* Yes/No radio group */
.yes-no-group {
    display: flex;
    gap: 1rem;
}
.yes-no-group label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 400;
    font-size: 0.875rem;
    cursor: pointer;
}
.yes-no-group input[type="radio"] {
    width: auto;
    height: auto;
    accent-color: var(--bg-brand);
}

/* Multi-select checkboxes */
.multi-select-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
}
.multi-select-group label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 400;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    background: var(--field-bg);
    border: 1px solid var(--border-subtle);
    transition: background 0.15s, border-color 0.15s;
}
.multi-select-group label:hover {
    background: var(--bg-hover);
}
.multi-select-group input[type="checkbox"] {
    width: auto;
    height: auto;
    accent-color: var(--bg-brand);
}

/* ============================================
   Cascading Questions — Depth Indentation
   ============================================ */
.interview-question[data-depth="1"] {
    margin-left: 1.5rem;
    border-left: 2px solid var(--border-interactive);
    padding-left: 1rem;
}
.interview-question[data-depth="2"] {
    margin-left: 3rem;
    border-left: 2px solid var(--border-interactive);
    padding-left: 1rem;
}
.interview-question[data-depth="3"] {
    margin-left: 4.5rem;
    border-left: 2px solid var(--border-interactive);
    padding-left: 1rem;
}

@media (max-width: 672px) {
    .interview-question[data-depth="1"] { margin-left: 0.75rem; }
    .interview-question[data-depth="2"] { margin-left: 1.5rem; }
    .interview-question[data-depth="3"] { margin-left: 2.25rem; }
}

/* ============================================
   Interview Thank-You / Submitted
   ============================================ */
.thankyou-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 48px - 48px);
    padding: 2rem;
    text-align: center;
}
.thankyou-page h1 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.thankyou-page p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto;
}

/* ============================================
   Session Detail (admin view)
   ============================================ */
.session-detail {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.session-detail__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}
.session-detail__header h1 {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--text-primary);
}
.session-detail__meta {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}
.session-detail__meta span {
    margin-right: 1.5rem;
}

.session-detail__actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.session-detail__notes {
    background: var(--bg-secondary);
    padding: 1.25rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-subtle);
}
.session-detail__notes h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.response-card {
    background: var(--bg);
    border: 1px solid var(--border-subtle);
    padding: 1.25rem;
    margin-bottom: 1px;
}
.response-card__question {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.16px;
}
.response-card__answer {
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.6;
}
.response-card__answer--empty {
    color: var(--text-placeholder);
    font-style: italic;
}

/* ============================================
   Footer
   ============================================ */
.shell-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 1rem 2rem;
}
.shell-footer__inner {
    max-width: 1584px;
    margin: 0 auto;
    font-size: 0.75rem;
    color: var(--text-helper);
}

/* ============================================
   Admin Login (premium dark)
   ============================================ */
.admin-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 48px - 48px);
    padding: 2rem;
}
.admin-login__card {
    width: 100%;
    max-width: 400px;
}
.admin-login__card h1 {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.admin-login__card .subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}
.admin-login__alert {
    background: var(--notification-error-bg);
    border-left: 3px solid var(--notification-error-border);
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
    color: var(--text-primary);
}

/* ============================================
   Session Create Form
   ============================================ */
.create-session {
    padding: 2rem;
    max-width: 560px;
    margin: 0 auto;
}
.create-session h1 {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.create-session .subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

/* Code display after creation */
.code-display {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}
.code-display__label {
    font-size: 0.75rem;
    letter-spacing: 0.32px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.code-display__code {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 0.5em;
    color: var(--bg-brand);
    margin-bottom: 0.5rem;
}
.code-display__company {
    font-size: 1rem;
    color: var(--text-primary);
}
.code-display__expires {
    font-size: 0.8125rem;
    color: var(--text-helper);
    margin-top: 0.5rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 672px) {
    .dashboard-grid { padding: 1.25rem; }
    .dashboard-welcome h1 { font-size: 1.75rem; }
    .form-row { grid-template-columns: 1fr; }
    .session-detail__header { flex-direction: column; }
    .code-display__code { font-size: 2rem; }
}
