@font-face {
    font-family: "Yellowtail";
    src: url("./fonts/Yellowtail-Regular.ttf") format("truetype"),
         url("./Yellowtail-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("./fonts/static/Montserrat-Regular.ttf") format("truetype"),
         url("./Montserrat/static/Montserrat-Regular.ttf") format("truetype"),
         url("./static/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f3f7fb;
    --panel: #ffffff;
    --ink: #102033;
    --muted: #62748a;
    --line: #d9e3ee;
    --primary: #0b57d0;
    --primary-dark: #083b8a;
    --secondary: #eef4fb;
    --danger: #b42318;
    --success: #0f8a5f;
    --shadow: 0 18px 40px rgba(16, 32, 51, 0.08);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(11, 87, 208, 0.08), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #eef4f9 100%);
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, p { margin-top: 0; }
input, select, textarea, button {
    font: inherit;
}
input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
}
textarea { resize: vertical; }
label span {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}
.shell {
    display: flex;
    min-height: 100vh;
    position: relative;
}
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #0c2442, #143760);
    color: #fff;
    padding: 20px 18px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    transform: translateX(0);
}
.sidebar-toggle {
    position: absolute;
    top: 18px;
    right: -18px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    background: #0c2442;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0;
    z-index: 20;
    box-shadow: 0 8px 20px rgba(16, 32, 51, 0.24);
}
.sidebar-toggle-icon {
    font-size: 16px;
    line-height: 1;
}
.brand {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
}
.brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255,255,255,0.96);
    padding: 4px;
    flex-shrink: 0;
}
.brand h1 {
    font-size: 16px;
    margin-bottom: 4px;
    line-height: 1.15;
}
.brand p {
    color: rgba(255,255,255,0.75);
    margin: 0;
    font-size: 13px;
}
.nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.nav a {
    color: rgba(255,255,255,0.9);
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.25;
}
.nav-link-with-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.nav-badge {
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    padding: 0 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #0c2442;
    font-size: 12px;
    font-weight: 700;
}
.nav-badge.is-empty {
    background: rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.82);
}
.nav a:hover {
    background: rgba(255,255,255,0.08);
    text-decoration: none;
}
.content {
    flex: 1;
    padding: 28px;
    transition: padding 0.25s ease;
}
.content-tools {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.notification-bell-link {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    color: var(--ink);
    text-decoration: none;
}
.notification-bell-link:hover {
    text-decoration: none;
    background: #f8fbff;
}
.notification-bell-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.notification-bell-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}
.notification-bell-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d92d20;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 8px 18px rgba(217, 45, 32, 0.28);
}
.notification-bell-count.is-empty {
    background: #cbd5e1;
    color: #475569;
    box-shadow: none;
}
.content-auth {
    display: grid;
    place-items: center;
}
.login-panel {
    width: 100%;
    min-height: calc(100vh - 56px);
    display: grid;
    place-items: center;
}
.login-card {
    width: min(460px, 100%);
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(217,227,238,0.8);
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--shadow);
}
.login-logo {
    display: block;
    width: 180px;
    max-width: 100%;
    margin: 0 auto 18px;
}
.page-head, .row-between, .actions, .actions-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.dashboard-hero {
    flex: 1;
    text-align: center;
    margin-top: -8px;
}
.dashboard-hero h2 {
    font-size: 42px;
    margin-bottom: 10px;
}
.dashboard-hero p {
    font-size: 21px;
    color: var(--muted);
    margin-bottom: 0;
}
.actions-inline { justify-content: flex-start; }
.cards-grid, .grid-two, .form-grid, .task-grid {
    display: grid;
    gap: 18px;
}
.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 20px;
}
.grid-two {
    grid-template-columns: 2fr 1fr;
}
.form-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.span-2 {
    grid-column: span 2;
}
.panel, .stat-card, .task-card, .member-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow);
}
.panel-tight {
    padding: 16px 18px;
}
.stat-card strong {
    display: block;
    margin-top: 12px;
    font-size: 34px;
}
.stack, .stack-lg, .plain-list, .member-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.stack-sm { gap: 10px; }
.stack-lg { gap: 20px; }
.panel-muted {
    background: linear-gradient(180deg, #fbfdff, #f5f9fd);
}
.notice-panel {
    border-width: 1px;
}
.notice-panel.is-hidden {
    display: none;
}
.notice-warning {
    background: linear-gradient(180deg, #fffaf0, #ffffff);
    border-color: rgba(180, 83, 9, 0.18);
}
.notice-danger {
    background: linear-gradient(180deg, #fff6f5, #ffffff);
    border-color: rgba(180, 35, 24, 0.18);
}
.notice-success {
    background: linear-gradient(180deg, #f3fcf7, #ffffff);
    border-color: rgba(15, 138, 95, 0.18);
}
.inline-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 16px;
    padding: 12px 14px;
}
.inline-notice strong {
    display: block;
}
.inline-notice span {
    color: var(--muted);
}
.inline-notice-warning {
    background: #fff6e6;
}
.inline-notice-info {
    background: #eef6ff;
}
.inline-notice-danger {
    background: #fff1f1;
}
.outcome-row {
    padding: 16px;
}
.report-reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.report-reference-grid strong {
    display: block;
    margin-bottom: 6px;
}
.report-reference-grid p {
    margin-bottom: 0;
}
.mentor-reference-panel {
    margin-bottom: 20px;
}
.mentor-section {
    gap: 18px;
}
.mentor-section-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 14px;
    margin-bottom: 16px;
}
.mentor-section-head h3,
.mentor-subsection h4 {
    margin-bottom: 6px;
}
.mentor-inline-field {
    margin-top: 18px;
}
.mentor-subsection + .mentor-subsection {
    margin-top: 18px;
}
.mentor-upload-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}
.mentor-upload-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}
.mentor-upload-item a {
    word-break: break-word;
}
.mentor-rating-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}
.checklist-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.check-option {
    display: flex;
    align-items: start;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(180deg, #fbfdff, #f2f7fc);
    border: 1px solid var(--line);
    border-radius: 16px;
    min-height: 72px;
}
.check-option input {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
}
.check-option span {
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}
.notification-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow);
}
.notification-card.is-unread {
    border-color: rgba(11, 87, 208, 0.28);
    box-shadow: 0 18px 40px rgba(11, 87, 208, 0.08);
}
.notification-card-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}
.notification-card-top h3 {
    margin-bottom: 6px;
}
.notification-message {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.notification-meta {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 14px;
}
.mentor-mini-calendar-panel {
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(11, 87, 208, 0.08), transparent 32%),
        radial-gradient(circle at bottom left, rgba(15, 138, 95, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff, #f7fbff);
}
.mentor-mini-calendar-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 40%);
}
.mentor-mini-calendar-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.mentor-mini-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 16px;
    position: relative;
    z-index: 1;
}
.mentor-mini-calendar-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}
.mentor-mini-calendar-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex-shrink: 0;
}
.mentor-mini-calendar-legend-dot.is-green {
    background: #16a34a;
}
.mentor-mini-calendar-legend-dot.is-red {
    background: #dc2626;
}
.mentor-mini-calendar-legend-dot.is-blue {
    background: #2563eb;
}
.mentor-mini-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    position: relative;
    z-index: 1;
}
.mentor-mini-calendar-label {
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.mentor-mini-calendar-day {
    min-height: 124px;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 253, 0.96));
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    color: var(--ink);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.mentor-mini-calendar-day:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 24px 42px rgba(15, 23, 42, 0.1);
}
.mentor-mini-calendar-day::after {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: transparent;
}
.mentor-mini-calendar-day.is-empty {
    background: transparent;
    border-style: dashed;
    box-shadow: none;
}
.mentor-mini-calendar-day.is-selected {
    border-color: var(--primary);
    box-shadow: 0 18px 40px rgba(11, 87, 208, 0.14);
}
.mentor-mini-calendar-day.is-today {
    outline: 2px solid rgba(11, 87, 208, 0.16);
    outline-offset: 2px;
}
.mentor-mini-calendar-day.is-future {
    opacity: 0.82;
}
.mentor-mini-calendar-day.has-submitted {
    border-color: rgba(15, 138, 95, 0.25);
    background: linear-gradient(180deg, #ffffff, #eefcf5);
}
.mentor-mini-calendar-day.has-submitted::after {
    background: linear-gradient(90deg, #16a34a, #4ade80);
}
.mentor-mini-calendar-day.has-missing {
    border-color: rgba(180, 35, 24, 0.24);
}
.mentor-mini-calendar-day.has-missing::after {
    background: linear-gradient(90deg, #dc2626, #f97316);
}
.mentor-mini-calendar-day.has-submitted.has-missing {
    background: linear-gradient(180deg, #ffffff 0%, #eefcf5 55%, #fff3f1 100%);
}
.mentor-mini-calendar-date {
    font-size: 20px;
    font-weight: 800;
}
.mentor-mini-calendar-statuses {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}
.mentor-mini-calendar-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.mentor-mini-calendar-pill-green {
    background: #dcfce7;
    color: #166534;
}
.mentor-mini-calendar-pill-red {
    background: #fee2e2;
    color: #991b1b;
}
.mentor-mini-calendar-unread {
    font-size: 12px;
    color: #1d4ed8;
    font-weight: 700;
}
.mentor-detail-title {
    margin-bottom: 4px;
}
.mentor-day-workspace {
    display: grid;
    gap: 18px;
}
.mentor-day-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.mentor-day-eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}
.mentor-day-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.mentor-day-summary-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: var(--shadow);
    display: grid;
    gap: 8px;
}
.mentor-day-summary-card strong {
    font-size: 30px;
    line-height: 1;
}
.mentor-day-summary-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}
.mentor-day-summary-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}
.mentor-day-summary-card.is-green {
    border-color: rgba(15, 138, 95, 0.2);
    background: linear-gradient(180deg, #ffffff, #effcf5);
}
.mentor-day-summary-card.is-green strong {
    color: #166534;
}
.mentor-day-summary-card.is-red {
    border-color: rgba(180, 35, 24, 0.18);
    background: linear-gradient(180deg, #ffffff, #fff6f4);
}
.mentor-day-summary-card.is-red strong {
    color: #991b1b;
}
.mentor-day-summary-card.is-slate {
    background: linear-gradient(180deg, #ffffff, #f5f8fb);
}
.mentor-day-summary-card.is-slate strong {
    color: #334155;
}
.mentor-day-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
    gap: 18px;
    align-items: start;
}
.mentor-day-column {
    display: grid;
    gap: 14px;
    min-width: 0;
}
.mentor-day-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.mentor-day-empty {
    border: 1px dashed rgba(100, 116, 139, 0.28);
    border-radius: 18px;
    padding: 18px;
    background: #f8fbff;
}
.mentor-day-empty strong {
    display: block;
    margin-bottom: 6px;
}
.mentor-day-empty p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}
.mentor-day-empty.is-soft {
    border-style: solid;
    background: rgba(255, 255, 255, 0.72);
}
.mentor-day-empty.is-wide {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}
.mentor-notification-card.is-green {
    border-color: rgba(15, 138, 95, 0.26);
    background: linear-gradient(180deg, #ffffff, #f2fbf6);
}
.mentor-log-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.mentor-log-preview-grid strong {
    display: block;
    margin-bottom: 6px;
}
.mentor-log-preview-grid p,
.mentor-log-notes p {
    margin-bottom: 0;
}
.mentor-log-notes {
    margin-bottom: 14px;
}
.mentor-missing-panel {
    background: linear-gradient(180deg, #fff8f7, #ffffff);
    border-color: rgba(180, 35, 24, 0.16);
}
.mentor-missing-member-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.mentor-missing-member {
    border: 1px solid rgba(180, 35, 24, 0.12);
    border-radius: 16px;
    padding: 14px 16px;
    background: #fff;
}
.mentor-missing-member strong,
.mentor-missing-member span {
    display: block;
}
.mentor-missing-member span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}
.mentor-missing-meta {
    margin-top: 8px !important;
    color: #8a4b11 !important;
    font-weight: 600;
}
.mentor-notify-form {
    margin-top: 12px;
}
.mentor-notify-form .actions-inline {
    margin-top: 10px;
}
.mentor-notify-form .btn {
    flex: 1 1 0;
}
.mentor-notify-tag-field {
    display: grid;
    gap: 6px;
}
.mentor-notify-tag-field span {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}
@media (max-width: 980px) {
    .mentor-day-summary-grid,
    .mentor-day-columns {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .mentor-day-section-head,
    .mentor-day-header {
        flex-direction: column;
    }
    .mentor-day-summary-card strong {
        font-size: 26px;
    }
}
.option-editor-row {
    display: flex;
    align-items: end;
    gap: 12px;
}
.option-editor-input {
    flex: 1;
}
.option-editor-row .btn {
    flex-shrink: 0;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
}
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    box-shadow: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}
.btn-secondary {
    background: var(--secondary);
    color: var(--ink);
}
.btn-danger {
    background: #fee4e2;
    color: var(--danger);
}
.toolbar-form {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.toolbar-search {
    flex: 1 1 420px;
}
.toolbar-actions {
    justify-content: flex-start;
}
.chat-shell {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}
.chat-sidebar,
.chat-main {
    min-width: 0;
}
.chat-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.chat-sidebar-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.99), rgba(245,250,255,0.98)),
        radial-gradient(circle at top right, rgba(11, 87, 208, 0.11), transparent 38%);
    border: 1px solid rgba(217,227,238,0.9);
    border-radius: 26px;
    padding: 20px;
    box-shadow: 0 22px 46px rgba(16, 32, 51, 0.09);
}
.chat-sidebar-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.chat-sidebar-head h3,
.chat-room-header h3 {
    margin-bottom: 6px;
    color: #17365f;
}
.chat-support-starter {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chat-support-starter select {
    border-radius: 16px;
    background: rgba(255,255,255,0.96);
}
.chat-room-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: calc(100vh - 260px);
    overflow-y: auto;
    padding-right: 6px;
}
.chat-room-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.chat-room-group + .chat-room-group {
    margin-top: 4px;
}
.chat-room-group-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6a7d93;
    padding: 0 4px;
}
.chat-room-card {
    display: block;
    background:
        linear-gradient(180deg, #ffffff, #f9fbff),
        radial-gradient(circle at top right, rgba(11, 87, 208, 0.05), transparent 34%);
    border: 1px solid rgba(217,227,238,0.92);
    border-radius: 22px;
    padding: 16px 16px 15px;
    color: var(--ink);
    box-shadow: 0 14px 30px rgba(16, 32, 51, 0.07);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.chat-room-card:hover {
    text-decoration: none;
    border-color: rgba(11, 87, 208, 0.28);
    box-shadow: 0 18px 34px rgba(16, 32, 51, 0.1);
    transform: translateY(-1px);
}
.chat-room-card.is-active {
    border-color: rgba(11, 87, 208, 0.34);
    background:
        linear-gradient(180deg, #ffffff, #edf5ff),
        radial-gradient(circle at top right, rgba(11, 87, 208, 0.09), transparent 34%);
    box-shadow: 0 20px 38px rgba(11, 87, 208, 0.11);
}
.chat-room-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.chat-room-top strong {
    font-size: 15px;
    line-height: 1.35;
    color: #17365f;
}
.chat-room-subtitle,
.chat-room-preview {
    margin: 0;
    color: #60748b;
    font-size: 13px;
    line-height: 1.45;
}
.chat-room-subtitle {
    min-height: 19px;
}
.chat-room-preview {
    display: block;
    margin-top: 9px;
    color: #31455f;
    font-size: 12.5px;
    line-height: 1.5;
}
.chat-room-badge {
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d92d20;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.chat-main {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.99), rgba(246,250,255,0.98)),
        radial-gradient(circle at bottom right, rgba(15, 138, 95, 0.08), transparent 34%),
        radial-gradient(circle at top left, rgba(11, 87, 208, 0.06), transparent 30%);
    border: 1px solid rgba(217,227,238,0.9);
    border-radius: 30px;
    padding: 22px;
    box-shadow: 0 24px 52px rgba(16, 32, 51, 0.1);
    min-height: 72vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.chat-empty {
    min-height: 320px;
    display: grid;
    place-items: center;
    text-align: center;
}
.chat-room-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(217,227,238,0.95);
    margin-bottom: 18px;
}
.chat-filter-bar {
    margin: -6px 0 18px;
    padding: 14px 16px;
    border: 1px solid rgba(217,227,238,0.95);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(249,252,255,0.98), rgba(241,248,255,0.98));
}
.chat-filter-field {
    display: grid;
    gap: 8px;
    margin-bottom: 6px;
}
.chat-filter-field span {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.chat-filter-field select {
    width: 100%;
}
.chat-room-type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #e8f1ff, #f2f7ff);
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid rgba(29, 78, 216, 0.12);
}
.chat-messages {
    flex: 1;
    min-height: 360px;
    max-height: 60vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 4px 8px 4px 2px;
}
.chat-empty-state {
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
}
.chat-message {
    max-width: min(78%, 720px);
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.chat-message.is-mine {
    align-self: flex-end;
}
.chat-message.is-mine .chat-message-meta {
    align-items: flex-end;
    text-align: right;
}
.chat-message-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.chat-message-meta strong {
    font-size: 14px;
    color: #16365d;
}
.chat-message-meta span {
    color: #71839a;
    font-size: 12px;
}
.chat-message-bubble {
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    border: 1px solid rgba(217,227,238,0.95);
    border-radius: 22px 22px 22px 10px;
    padding: 14px 16px;
    box-shadow: 0 14px 28px rgba(16, 32, 51, 0.07);
    line-height: 1.62;
    white-space: normal;
    word-break: break-word;
    color: #22324a;
}
.chat-message.is-mine .chat-message-bubble {
    background: linear-gradient(180deg, #dff0ff, #f2f9ff);
    border-radius: 22px 22px 10px 22px;
    border-color: rgba(11, 87, 208, 0.18);
    box-shadow: 0 16px 30px rgba(11, 87, 208, 0.08);
}
.chat-mention {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #dff5e9, #eefcf5);
    color: #166534;
    font-weight: 700;
    border: 1px solid rgba(22, 101, 52, 0.08);
}
.chat-composer {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(217,227,238,0.95);
    position: relative;
}
.chat-composer-field span {
    color: #17365f;
}
.chat-composer-field textarea {
    min-height: 112px;
    padding-right: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(248,251,255,0.98));
    border-color: rgba(217,227,238,0.95);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.chat-composer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
}
.chat-composer-tip,
.chat-composer-actions p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.45;
}
.chat-mention-picker {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 8px);
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid rgba(217,227,238,0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(16, 32, 51, 0.12);
    overflow: hidden;
    z-index: 30;
}
.chat-mention-option {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(217,227,238,0.88);
    padding: 13px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}
.chat-mention-option:last-child {
    border-bottom: 0;
}
.chat-mention-option strong {
    color: var(--ink);
}
.chat-mention-option span {
    color: var(--muted);
    font-size: 12px;
}
.chat-mention-option.is-active,
.chat-mention-option:hover {
    background: linear-gradient(180deg, #eef6ff, #f7fbff);
}
.analytics-panel {
    margin-bottom: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,248,255,0.98)),
        radial-gradient(circle at top left, rgba(11, 87, 208, 0.08), transparent 35%);
    overflow: hidden;
}
.analytics-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.analytics-head h3 {
    margin-bottom: 6px;
    color: #4553b7;
}
.analytics-year-form {
    min-width: 120px;
}
.analytics-year-form label span {
    font-size: 13px;
    color: var(--muted);
}
.analytics-year-form select {
    min-width: 120px;
    border-radius: 999px;
    padding: 10px 14px;
    background: #fff;
}
.analytics-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.analytics-kpi {
    border: 1px solid rgba(217,227,238,0.9);
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.8);
}
.analytics-kpi span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px;
}
.analytics-kpi strong {
    display: block;
    color: #1b2c48;
    font-size: 24px;
}
.analytics-chart {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
    min-height: 300px;
    padding: 24px 18px 14px;
    border: 1px solid rgba(217,227,238,0.9);
    border-radius: 20px;
    background:
        repeating-linear-gradient(
            to top,
            rgba(217,227,238,0.7) 0,
            rgba(217,227,238,0.7) 1px,
            transparent 1px,
            transparent 52px
        ),
        linear-gradient(180deg, rgba(255,255,255,0.95), rgba(246,250,255,0.92));
}
.analytics-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.analytics-bar-stack {
    height: 226px;
    width: 100%;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 6px;
}
.analytics-bar {
    width: min(26px, 42%);
    min-width: 10px;
    border-radius: 12px 12px 4px 4px;
    box-shadow: 0 10px 24px rgba(16, 32, 51, 0.12);
}
.analytics-bar-submitted {
    background: linear-gradient(180deg, #8fd0ff, #4aa3ec);
}
.analytics-bar-approved {
    background: linear-gradient(180deg, #90e7c0, #18a570);
}
.analytics-label {
    font-size: 12px;
    font-weight: 700;
    color: #53657c;
}
.analytics-meta {
    font-size: 12px;
    color: #7b8da4;
}
.analytics-legend {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
}
.analytics-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    margin-right: 6px;
}
.analytics-legend-submitted {
    background: #4aa3ec;
}
.analytics-legend-approved {
    background: #18a570;
}
.annual-visual-panel {
    margin-bottom: 20px;
    background:
        radial-gradient(circle at top right, rgba(11, 87, 208, 0.08), transparent 32%),
        linear-gradient(180deg, #ffffff, #f7fbff);
}
.annual-chart-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.annual-chart-card {
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(217,227,238,0.95);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 14px 28px rgba(16, 32, 51, 0.06);
}
.annual-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.annual-chart-head h4 {
    margin-bottom: 0;
    color: #12304b;
}
.annual-pie-layout {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 18px;
    align-items: center;
}
.annual-pie-stage {
    display: flex;
    align-items: center;
    justify-content: center;
}
.annual-legend-stage .pie-legend {
    width: 100%;
    border-collapse: collapse;
}
.annual-legend-stage .pie-legend td {
    padding: 4px 0;
    vertical-align: top;
}
.annual-legend-stage .legend-swatch-cell {
    width: 18px;
}
.annual-legend-stage .legend-swatch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
}
.annual-legend-stage .legend-label-cell {
    color: var(--ink);
    padding-right: 8px;
}
.annual-legend-stage .legend-value-cell {
    text-align: right;
    color: var(--muted);
    font-weight: 700;
}
.annual-bar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.annual-bar-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.annual-bar-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}
.annual-bar-label-row strong {
    color: #12304b;
}
.annual-bar-track {
    height: 12px;
    border-radius: 999px;
    background: #e8eef5;
    overflow: hidden;
}
.annual-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #8fb2f2, #3b82f6);
}
.annual-bar-fill.is-active {
    background: linear-gradient(90deg, #93c5fd, #2563eb);
}
.annual-chart-caption {
    margin-top: 14px;
    margin-bottom: 0;
}
.annual-pie-stage .pie-empty {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}
.annual-template-panel {
    margin-bottom: 20px;
    background:
        radial-gradient(circle at top right, rgba(37, 86, 171, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff, #f8fbff);
}
.annual-template-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.annual-template-document {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.annual-template-pdf-break {
    display: none;
}
.annual-template-page {
    width: min(860px, 100%);
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(191, 203, 219, 0.9);
    border-radius: 28px;
    padding: 28px 28px 34px;
    box-shadow: 0 18px 38px rgba(16, 32, 51, 0.08);
    font-family: "Times New Roman", serif;
    color: #151515;
}
.annual-template-header {
    margin-bottom: 18px;
}
.annual-template-header-table {
    width: 100%;
    border-collapse: collapse;
}
.annual-template-brand-cell {
    width: 44%;
    vertical-align: middle;
}
.annual-template-contact-cell {
    width: 56%;
    vertical-align: middle;
}
.annual-template-logo {
    width: 82px;
    height: auto;
    vertical-align: middle;
    margin-right: 12px;
}
.annual-template-brand-text {
    display: inline-block;
    vertical-align: middle;
    color: #2556ab;
    font-size: 30px;
    line-height: 0.9;
}
.annual-template-contact-panel {
    background: #2556ab;
    color: #ffffff;
    padding: 16px 18px;
    border-radius: 4px;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 15px;
    line-height: 1.45;
    box-shadow: inset 12px 0 0 rgba(255,255,255,0.04);
}
.annual-template-address-row {
    margin-top: 10px;
    color: #4068b4;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 12px;
    text-align: center;
}
.annual-template-address-row span {
    padding: 0 7px;
}
.annual-template-content {
    padding: 4px 20px 0 24px;
}
.annual-template-content-first {
    padding-top: 10px;
}
.annual-template-section-heading {
    margin-bottom: 14px;
    font-size: 26px;
    line-height: 1.1;
}
.annual-template-subsection-heading {
    margin-bottom: 8px;
    font-size: 22px;
    line-height: 1.15;
}
.annual-template-spaced {
    margin-top: 40px;
}
.annual-template-keyline,
.annual-template-option-line,
.annual-template-copy,
.annual-template-completion-line {
    font-size: 18px;
    line-height: 1.42;
}
.annual-template-keyline {
    margin-bottom: 10px;
}
.annual-template-copy p:last-child {
    margin-bottom: 0;
}
.annual-option-choice {
    white-space: nowrap;
}
.annual-option-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border: 1px solid #404040;
    margin-right: 3px;
    font-family: "DejaVu Sans", "Segoe UI Symbol", sans-serif;
    font-size: 0.72em;
    line-height: 1;
    vertical-align: middle;
}
.annual-option-box-checked {
    font-weight: 700;
}
.annual-template-copy ul {
    margin: 10px 0 0 24px;
}
.annual-template-copy li {
    margin-bottom: 4px;
}
.annual-template-figure {
    margin: 2px 0 16px;
}
.annual-template-chart-svg {
    width: 100%;
    height: auto;
    display: block;
}
.annual-template-caption {
    margin-top: 8px;
    font-size: 16px;
    font-style: italic;
    font-weight: 700;
}
.annual-template-option-line {
    margin-top: 14px;
}
.annual-template-option-line-progress {
    margin-top: 8px;
}
.annual-template-centered-chart-page {
    padding-top: 12px;
}
.annual-template-block-gap {
    margin-top: 20px;
}
.annual-template-completion-line {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 42px;
}
.annual-template-empty-chart {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-style: italic;
}
.annual-template-page .domain-list {
    margin: 12px 0 0 26px;
    font-size: 18px;
}
.annual-template-page .domain-empty {
    margin-top: 10px;
    font-size: 18px;
}
.table {
    width: 100%;
    border-collapse: collapse;
}
.table th, .table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.table th {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-amber { background: #fef3c7; color: #b45309; }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-red { background: #fee2e2; color: #b91c1c; }
.badge-slate { background: #e2e8f0; color: #334155; }
.muted { color: var(--muted); }
.flash {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 16px;
}
.flash-success { background: #dcfce7; color: #166534; }
.flash-warning { background: #fef3c7; color: #92400e; }
.flash-error { background: #fee2e2; color: #991b1b; }
.comment {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.admin-tools-panel {
    margin-top: 20px;
}
.admin-tools-check {
    grid-column: span 2;
    align-items: flex-start;
}
.admin-tools-check input {
    margin-top: 2px;
}
.admin-tools-actions {
    grid-column: span 2;
    justify-content: flex-start;
}
.comment span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin: 4px 0 8px;
}
.notes-box {
    white-space: pre-wrap;
}
.review-ai-panel {
    margin-bottom: 18px;
}
.review-ai-summary {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f7fbff);
}
.review-ai-summary p {
    margin-bottom: 0;
}
.review-ai-summary-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.review-ai-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.review-ai-list {
    margin: 10px 0 0;
    padding-left: 18px;
}
.review-ai-list li + li {
    margin-top: 8px;
}
.review-ai-comment-box {
    padding: 14px 16px;
    border-radius: 14px;
    background: #eef6ff;
}
.review-ai-comment-box p {
    margin-top: 8px;
}
.text-button {
    border: 0;
    background: transparent;
    color: var(--danger);
    padding: 0;
    cursor: pointer;
}
.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkbox-row input {
    width: auto;
}
.checkbox-row span {
    margin: 0;
}
.task-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.task-number {
    margin: 0;
    font-size: 18px;
}
.signature-block {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.signature-preview {
    min-height: 64px;
    display: flex;
    align-items: flex-end;
    padding: 12px 0 4px;
    font-family: "Yellowtail", "MonteCarlo", cursive;
    font-size: 19pt;
    font-weight: 400;
    letter-spacing: 0.2px;
    color: #000;
    border-bottom: 2px solid var(--line);
}
.report-view {
    max-width: 980px;
    margin: 0 auto 14px;
    position: relative;
    z-index: 1;
}
.report-view-stage {
    padding: 0;
}
.report-view-head {
    max-width: 980px;
    margin: 0 auto 10px;
}
.report-view-brand {
    text-align: center;
    margin-bottom: 12px;
}
.report-view-rule {
    height: 3px;
    background: #6d63ff;
    border-radius: 999px;
    margin-bottom: 16px;
}
.report-view-logo {
    width: 170px;
    max-width: 100%;
    height: auto;
}
.report-view-member-card,
.report-view-task-card,
.report-view-signature-card,
.report-view-comments-card {
    background: #f7f5ff;
    border: 1px solid #e8e2fb;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(109, 99, 255, 0.08);
}
.report-view-member-card {
    padding: 16px 18px 14px;
    margin-bottom: 10px;
}
.report-view-member-top {
    display: flex;
    align-items: center;
    gap: 12px;
}
.report-view-avatar {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #6d63ff;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
}
.report-view-avatar.has-photo {
    background: #ffffff;
    overflow: hidden;
}
.report-view-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.report-view-member-name {
    font-size: 22px;
    line-height: 1.1;
    color: #6d63ff;
    font-weight: 700;
    margin-bottom: 4px;
}
.report-view-member-role {
    color: #b1adc7;
    font-size: 14px;
}
.report-view-member-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 10px;
    margin-top: 10px;
}
.report-view-label,
.report-view-notes-label,
.report-view-signature-title {
    color: #6d63ff;
    font-weight: 700;
}
.report-view-label-caps {
    text-transform: uppercase;
}
.report-view-value {
    color: #736f86;
    margin-left: 8px;
}
.report-view-note {
    display: block;
    color: #736f86;
    margin-top: 2px;
}
.report-view-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e8e2fb;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 12px 32px rgba(109, 99, 255, 0.05);
}
.report-view-table td {
    padding: 8px 10px;
    border: 1px solid #e8e2fb;
    vertical-align: top;
}
.report-view-section-title {
    margin-bottom: 6px;
    color: #423d57;
    font-size: 18px;
}
.report-view-task-card {
    padding: 0;
    margin-bottom: 8px;
    overflow: hidden;
}
.report-view-task-title {
    color: #423d57;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
    padding: 7px 10px;
    background: #f3f2fb;
    border-bottom: 1px solid #e8e2fb;
}
.report-view-task-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.report-view-task-cell {
    padding: 7px 10px;
    border-bottom: 1px solid #e8e2fb;
}
.report-view-task-grid > .report-view-task-cell:nth-child(odd) {
    border-right: 1px solid #e8e2fb;
}
.report-view-task-full {
    grid-column: 1 / -1;
    border-right: 0 !important;
}
.report-view-notes-label {
    display: block;
    margin: 0 0 2px;
}
.report-view-notes {
    color: #5e5a73;
    font-family: "Montserrat", "Segoe UI", Tahoma, sans-serif;
    font-weight: 400;
    font-size: 10.6pt;
    line-height: 1.22;
}
.report-view-task-notes-cell {
    border-bottom: 0;
}
.report-view-signature-card,
.report-view-comments-card {
    padding: 10px 12px;
}
.report-view-signature-card {
    margin-top: 4px;
    background: #fff;
}
.report-view-community-sheet {
    background: #fff;
    border: 1px solid #e8e2fb;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(109, 99, 255, 0.05);
    overflow: hidden;
    margin-bottom: 10px;
}
.report-view-community-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.report-view-community-meta-item {
    padding: 8px 10px;
    border-bottom: 1px solid #e8e2fb;
}
.report-view-community-meta-item:nth-child(odd) {
    border-right: 1px solid #e8e2fb;
}
.report-view-community-title {
    margin: 0;
    padding: 9px 10px 4px;
    color: #423d57;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.report-view-community-text {
    padding: 0 10px 9px;
    color: #5e5a73;
}
.report-view-community-block + .report-view-community-block {
    border-top: 1px solid #e8e2fb;
}
.report-view-community-strategy-list {
    margin: 0;
    padding: 0 10px 10px 28px;
    color: #5e5a73;
}
.report-view-community-strategy-list li + li {
    margin-top: 6px;
}
.report-view-community-narrative {
    padding: 0 10px 10px;
    color: #5e5a73;
    line-height: 1.45;
}
.report-view-signature-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.report-view-signature-image {
    max-width: 230px;
    height: auto;
    display: block;
}
.report-view-signature-preview {
    background: transparent;
    border-bottom: 0;
    min-height: auto;
    padding: 0;
    font-size: 19pt;
    font-weight: 400;
    letter-spacing: 0.2px;
    font-family: "Yellowtail", "MonteCarlo", cursive;
    color: #000;
}
.report-view-approved {
    margin-top: 8px;
    text-align: right;
    color: #6d63ff;
    font-size: 13px;
    font-weight: 700;
}
.report-view-comments-card {
    margin-top: 8px;
    background: #fff;
}
.comment {
    padding: 8px 0;
}
.comment span {
    margin: 2px 0 4px;
}
.comment p {
    margin-bottom: 0;
    line-height: 1.25;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}
.calendar-shell {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(11, 87, 208, 0.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(15, 138, 95, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff, #f7fbff);
}
.calendar-top-strip {
    display: grid;
    gap: 18px;
    margin-bottom: 20px;
    background:
        radial-gradient(circle at top right, rgba(11, 87, 208, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff, #f8fbff);
}
.calendar-top-strip-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.calendar-top-copy h2 {
    margin-bottom: 6px;
}
.calendar-top-copy p {
    margin-bottom: 0;
    color: var(--muted);
}
.calendar-top-actions {
    flex-wrap: wrap;
}
.calendar-top-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.calendar-top-stat {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}
.calendar-top-stat span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}
.calendar-top-stat strong {
    display: block;
    margin-top: 10px;
    font-size: 30px;
    line-height: 1;
}
.calendar-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.calendar-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.18);
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}
.calendar-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}
.calendar-legend-dot.is-pending {
    background: #2563eb;
}
.calendar-legend-dot.is-approved {
    background: #16a34a;
}
.calendar-legend-dot.is-rejected {
    background: #dc2626;
}
.calendar-head, .calendar-cell {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    padding: 14px;
    min-height: 112px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}
.calendar-head {
    min-height: auto;
    font-weight: 800;
    text-align: center;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
}
.calendar-cell.empty {
    background: transparent;
    border-style: dashed;
    box-shadow: none;
}
.calendar-cell {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
}
.calendar-cell::after {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: transparent;
}
.calendar-cell.has-activity::after {
    background: linear-gradient(90deg, #0b57d0, #16a34a);
}
.calendar-cell.is-selected {
    border-color: rgba(11, 87, 208, 0.28);
    box-shadow: 0 22px 42px rgba(11, 87, 208, 0.12);
}
.calendar-cell.is-today {
    outline: 2px solid rgba(11, 87, 208, 0.14);
    outline-offset: 3px;
}
.calendar-cell-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.calendar-day-number {
    font-size: 20px;
    line-height: 1;
}
.calendar-activity-total {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    background: #e8f0fe;
    color: #174ea6;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.calendar-status-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.calendar-status-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    padding: 6px 10px;
}
.calendar-empty-copy {
    margin: auto 0 0;
    color: var(--muted);
    font-size: 13px;
}
.calendar-link {
    display: inline-block;
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
}
.calendar-detail-panel {
    background: linear-gradient(180deg, #ffffff, #f9fbff);
}
.calendar-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.calendar-report-calendar {
    margin-top: 2px;
}
.calendar-report-day.has-pending-only::after {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}
.calendar-report-day-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.calendar-report-total {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    background: #e8f0fe;
    color: #174ea6;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.calendar-report-statuses {
    margin-top: auto;
}
.calendar-report-pill.is-pending {
    background: #dbeafe;
    color: #1d4ed8;
}
.calendar-report-empty {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}
.calendar-report-selected-note {
    font-size: 12px;
    font-weight: 700;
    color: #0b57d0;
}
.calendar-report-card {
    border-color: rgba(11, 87, 208, 0.12);
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.resource-section + .resource-section {
    margin-top: 20px;
}
.resource-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.resource-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.resource-card-top h4 {
    margin-bottom: 6px;
}
.resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.resource-summary,
.resource-copy {
    line-height: 1.6;
    margin-bottom: 0;
}
.resource-copy {
    color: #334155;
}
.resource-video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #0f172a;
    aspect-ratio: 16 / 9;
}
.resource-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.resource-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.resource-dashboard-item {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}
.resource-dashboard-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.resource-dashboard-item p {
    margin: 0;
}
.resource-admin-table-title strong {
    display: block;
    margin-bottom: 4px;
}
.resource-admin-table-title span {
    font-size: 13px;
}
.community-report-panel.is-hidden {
    display: none;
}
.community-report-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.community-report-eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}
.community-report-summary-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}
.community-report-summary-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}
.community-report-summary-item span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.community-report-summary-item strong {
    display: inline;
    font-size: 17px;
    line-height: 1.35;
}
.community-strategy-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}
.community-strategy-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    column-gap: 12px;
    padding: 12px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(203, 213, 225, 0.75);
    border-radius: 0;
    min-height: 0;
}
.community-strategy-item:last-child {
    border-bottom: 0;
}
.community-strategy-item input {
    width: auto;
    margin: 3px 0 0;
    flex-shrink: 0;
    justify-self: center;
}
.community-strategy-item span {
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
    display: block;
}
.community-report-field-title {
    line-height: 1.45;
    margin-bottom: 0;
}
.community-narrative-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.community-report-field-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}
.community-report-narrative {
    min-height: 420px;
}
.active-link {
    font-weight: 700;
}
body.sidebar-collapsed .sidebar {
    transform: translateX(calc(-100% + 46px));
    overflow: visible;
}
body.sidebar-collapsed .brand > div,
body.sidebar-collapsed .nav a {
    opacity: 0;
    pointer-events: none;
}
body.sidebar-collapsed .brand {
    justify-content: center;
}
body.sidebar-collapsed .sidebar-toggle {
    right: 4px;
}
@media (max-width: 980px) {
    .shell { flex-direction: column; }
    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        overflow-y: visible;
    }
    .sidebar-toggle {
        display: none;
    }
    .grid-two {
        grid-template-columns: 1fr;
    }
    .report-view-member-meta {
        grid-template-columns: 1fr;
    }
    .analytics-summary {
        grid-template-columns: 1fr;
    }
    .analytics-chart {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .annual-template-page {
        padding: 22px 18px 28px;
    }
    .annual-chart-grid,
    .annual-pie-layout {
        grid-template-columns: 1fr;
    }
    .annual-template-header-table,
    .annual-template-header-table tbody,
    .annual-template-header-table tr,
    .annual-template-header-table td {
        display: block;
        width: 100%;
    }
    .annual-template-contact-cell {
        margin-top: 12px;
    }
    .annual-template-content,
    .annual-template-content-first {
        padding: 2px 4px 0;
    }
    .chat-shell {
        grid-template-columns: 1fr;
    }
    .chat-room-list {
        max-height: none;
    }
    .chat-main {
        min-height: 60vh;
    }
    .calendar-toolbar,
    .calendar-detail-head,
    .mentor-mini-calendar-legend,
    .calendar-top-strip-main {
        flex-direction: column;
        align-items: flex-start;
    }
    .calendar-top-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .resource-card-top,
    .resource-dashboard-item-top {
        flex-direction: column;
    }
    .community-report-summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
@media (max-width: 720px) {
    .content { padding: 18px; }
    .task-grid, .form-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: span 1; }
    .content-tools {
        justify-content: space-between;
    }
    .annual-template-brand-text {
        font-size: 24px;
    }
    .annual-template-keyline,
    .annual-template-option-line,
    .annual-template-copy,
    .annual-template-completion-line,
    .annual-template-page .domain-list,
    .annual-template-page .domain-empty {
        font-size: 16px;
    }
    .annual-template-section-heading {
        font-size: 23px;
    }
    .annual-template-subsection-heading {
        font-size: 20px;
    }
    .checklist-grid,
    .checklist-grid-compact {
        grid-template-columns: 1fr;
    }
    .option-editor-row {
        flex-direction: column;
        align-items: stretch;
    }
    .option-editor-row .btn {
        width: 100%;
    }
    .admin-tools-check,
    .admin-tools-actions {
        grid-column: span 1;
    }
    .page-head, .row-between, .actions {
        flex-direction: column;
        align-items: stretch;
    }
    .toolbar-form,
    .analytics-head {
        flex-direction: column;
        align-items: stretch;
    }
    .annual-chart-head,
    .annual-bar-label-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .dashboard-hero {
        text-align: left;
    }
    .notification-card-top {
        flex-direction: column;
    }
    .review-ai-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-hero h2 {
        font-size: 32px;
    }
    .dashboard-hero p {
        font-size: 17px;
    }
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .calendar-top-stats {
        grid-template-columns: 1fr;
    }
    .analytics-chart {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px 10px;
    }
    .report-view-head,
    .report-view-member-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .report-view-task-grid {
        grid-template-columns: 1fr;
    }
    .report-view-task-grid > .report-view-task-cell:nth-child(odd) {
        border-right: 0;
    }
    .report-view-community-meta-grid {
        grid-template-columns: 1fr;
    }
    .report-view-community-meta-item:nth-child(odd) {
        border-right: 0;
    }
    .report-view-signature-line {
        flex-direction: column;
        align-items: center;
    }
    .report-view-table,
    .report-view-table tbody,
    .report-view-table tr,
    .report-view-table td {
        display: block;
        width: 100%;
    }
    .report-view-table tr + tr td:first-child {
        border-top-width: 0;
    }
    .mentor-mini-calendar {
        gap: 6px;
    }
    .mentor-mini-calendar-day {
        min-height: 92px;
        padding: 8px;
        border-radius: 14px;
    }
    .mentor-mini-calendar-date {
        font-size: 15px;
    }
    .mentor-mini-calendar-pill,
    .mentor-mini-calendar-unread,
    .mentor-mini-calendar-label {
        font-size: 11px;
    }
    .chat-main {
        padding: 16px;
        border-radius: 20px;
    }
    .chat-sidebar-card {
        border-radius: 20px;
        padding: 16px;
    }
    .chat-room-card {
        border-radius: 18px;
    }
    .chat-room-group-title {
        padding: 0 2px;
    }
    .chat-room-header,
    .chat-composer-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .chat-message {
        max-width: 100%;
    }
    .chat-messages {
        max-height: none;
        min-height: 320px;
    }
    .community-report-hero {
        flex-direction: column;
    }
}
