@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

:root {
    --navy: #16324f;
    --ink: #1f3147;
    --muted: #5b6f86;
    --line: rgba(22, 50, 79, 0.14);
    --soft-line: rgba(96, 165, 250, 0.18);
    --paper: #f5fbff;
    --panel: #ffffff;
    --blue: #3b82f6;
    --blue-deep: #0f4c81;
    --teal: #0f766e;
    --green: #10b981;
    --shadow: 0 24px 70px rgba(71, 85, 105, 0.10);
    --radius: 18px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Cairo", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 24%),
        linear-gradient(180deg, #f8fcff 0%, #ffffff 42%, #f3fbff 100%);
}

html[lang="ar"] body {
    direction: rtl;
    text-align: right;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

.shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
    border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled {
    background: rgba(15, 47, 76, 0.92);
    backdrop-filter: blur(12px);
    border-bottom-color: rgba(59, 130, 246, 0.16);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue);
    font-family: "IBM Plex Mono", monospace;
    font-weight: 700;
    font-size: 0.8rem;
}

.brand-text,
.footer-brand,
.hero-status,
.section-heading,
.team-tab,
.member-table th,
.task-table th,
.button,
.nav-links a,
.nav-links span,
.team-panel-foot,
.footer-links span,
.footer-bottom {
    font-family: "IBM Plex Mono", monospace;
}

.brand-text {
    color: #f8fafc;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-links a,
.nav-links span {
    color: rgba(248, 250, 252, 0.62);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--blue);
}

html[lang="ar"] .brand-text,
html[lang="ar"] .footer-brand,
html[lang="ar"] .hero-status,
html[lang="ar"] .section-heading,
html[lang="ar"] .team-tab,
html[lang="ar"] .member-table th,
html[lang="ar"] .task-table th,
html[lang="ar"] .button,
html[lang="ar"] .nav-links a,
html[lang="ar"] .nav-links span,
html[lang="ar"] .team-panel-foot,
html[lang="ar"] .footer-links span,
html[lang="ar"] .footer-bottom,
html[lang="ar"] .eyebrow,
html[lang="ar"] .goal-pill,
html[lang="ar"] .access-label,
html[lang="ar"] .access-chip,
html[lang="ar"] .team-panel-kicker,
html[lang="ar"] .charter-card-label,
html[lang="ar"] .charter-item-index {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

html[lang="ar"] .hero-content h1,
html[lang="ar"] .mission-copy h2,
html[lang="ar"] .stat-card strong,
html[lang="ar"] .team-panel-head h2,
html[lang="ar"] .access-copy h2,
html[lang="ar"] .db-error h2,
html[lang="ar"] .footer-banner {
    font-family: "Cairo", sans-serif;
}

html[lang="ar"] .nav-links {
    justify-content: flex-start;
}

html[lang="ar"] .hero-copy,
html[lang="ar"] .hero-caption,
html[lang="ar"] .mission-text p,
html[lang="ar"] .access-copy p,
html[lang="ar"] .team-panel-head p,
html[lang="ar"] .charter-overview-card p,
html[lang="ar"] .charter-responsibility-card p,
html[lang="ar"] .footer-intro p,
html[lang="ar"] .overview-card p,
html[lang="ar"] .phase-focus-note,
html[lang="ar"] .roadmap-form-card p,
html[lang="ar"] .roadmap-note-card p,
html[lang="ar"] .roadmap-event-copy p,
html[lang="ar"] .team-workspace-note,
html[lang="ar"] .team-meetings-card p,
html[lang="ar"] .hero-leadership span,
html[lang="ar"] .project-leadership-strip span,
html[lang="ar"] .calendar-event-tooltip p {
    font-size: 0.95rem;
    line-height: 1.85;
}

html[lang="ar"] .hero-content h1 {
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.2;
}

html[lang="ar"] .hero-index {
    letter-spacing: 0;
}

html[lang="ar"] .hero-bottom-shell,
html[lang="ar"] .footer-bottom {
    letter-spacing: 0;
}

html[lang="ar"] .member-table th,
html[lang="ar"] .task-table th,
html[lang="ar"] .team-task-table th {
    text-align: right;
}

.nav-mode {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.28);
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
}

.nav-login-link {
    padding-bottom: 2px;
    border-bottom: 1px dashed rgba(59, 130, 246, 0.4);
}

.nav-live-dot,
.status-dot,
.footer-brand-dot {
    display: inline-block;
    border-radius: 999px;
}

.nav-live-dot,
.status-dot {
    width: 10px;
    height: 10px;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
    animation: pulse 1.8s infinite;
}

.hero-section {
    position: relative;
    min-height: 86vh;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 30%),
        radial-gradient(circle at 20% 18%, rgba(16, 185, 129, 0.18), transparent 28%),
        linear-gradient(135deg, #0f3b66 0%, #14558f 42%, #1c8ca8 100%);
    color: #f8fafc;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 30, 54, 0.62), rgba(15, 76, 129, 0.38)),
        url("../images/hero-watermark-social-protection.png") center center / cover no-repeat;
    opacity: 0.26;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.hero-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    border-radius: 999px;
    background: rgba(125, 211, 252, 0.4);
    opacity: 0;
    pointer-events: none;
    animation-name: drift;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 48px;
    align-items: center;
    min-height: 86vh;
    padding: 104px 0 74px;
}

.hero-live-ticker {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: rgba(7, 24, 45, 0.22);
    box-shadow: 0 18px 36px rgba(7, 24, 45, 0.14);
    backdrop-filter: blur(12px);
}

.hero-live-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    color: #f8fafc;
    font-weight: 800;
    font-size: 0.94rem;
}

.hero-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #fb7185;
    box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.45);
    animation: pulse 1.8s infinite;
}

.hero-live-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hero-live-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 34s linear infinite;
}

.hero-live-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 14px;
    padding-inline-end: 14px;
}

.hero-live-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(248, 250, 252, 0.96);
    white-space: nowrap;
}

.hero-live-item::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(143, 231, 255, 0.92);
    box-shadow: 0 0 18px rgba(143, 231, 255, 0.42);
}

.hero-meta,
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.eyebrow-line,
.hero-status {
    display: flex;
    align-items: center;
    gap: 16px;
}

.eyebrow {
    color: var(--blue);
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow-rule,
.hero-rule,
.section-heading-rule,
.stat-rule {
    flex: 1;
    height: 1px;
}

.eyebrow-rule {
    background: rgba(59, 130, 246, 0.42);
}

.hero-index {
    font-family: "Cairo", sans-serif;
    font-size: clamp(5rem, 12vw, 11rem);
    line-height: 1;
    font-weight: 900;
    color: rgba(248, 250, 252, 0.06);
    letter-spacing: -0.04em;
    user-select: none;
}

.hero-rule {
    background: rgba(248, 250, 252, 0.16);
}

.hero-status {
    color: var(--green);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-caption {
    max-width: 340px;
    color: rgba(248, 250, 252, 0.54);
    line-height: 1.7;
    margin: 0;
}

.hero-content h1,
.stat-card strong,
.team-panel h2,
.mission-copy h2 {
    font-family: "Cairo", sans-serif;
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(2.25rem, 4.2vw, 3.8rem);
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-content h1 span {
    color: #8fe7ff;
}

.hero-copy {
    max-width: 520px;
    margin: 0;
    color: rgba(248, 250, 252, 0.78);
    font-size: 1rem;
    line-height: 1.8;
}

.hero-leadership {
    display: grid;
    gap: 8px;
    max-width: 620px;
}

.hero-leadership span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(248, 250, 252, 0.88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--blue);
    color: #f8fafc;
}

.button-primary:hover {
    background: #2563eb;
}

.button-secondary,
.button-ghost {
    border: 1px solid rgba(248, 250, 252, 0.26);
    color: #f8fafc;
}

.button-ghost {
    border-color: rgba(15, 23, 42, 0.16);
    color: var(--ink);
}

.button-small {
    min-height: 40px;
    padding: 0 18px;
}

.hero-bottom {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-bottom-shell {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    color: rgba(248, 250, 252, 0.48);
    font-family: "Cairo", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mission-section,
.teams-section {
    background: #ffffff;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 0 24px;
    color: var(--blue);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.project-leadership-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.project-leadership-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--navy);
}

.overview-card-actions {
    margin-top: 18px;
}

.section-heading-rule {
    background: rgba(59, 130, 246, 0.3);
}

.section-summary {
    color: rgba(100, 116, 139, 0.9);
    white-space: normal;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat-card {
    padding: 42px 34px;
    border-right: 1px solid var(--line);
}

.stat-card:last-child {
    border-right: 0;
}

.stat-card strong {
    display: block;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--navy);
}

.stat-rule {
    display: block;
    margin: 18px 0;
    background: rgba(15, 23, 42, 0.16);
}

.stat-card h3,
.goal-pill,
.db-error h2,
.member-name {
    font-family: "Cairo", sans-serif;
}

.stat-card h3 {
    margin: 0 0 6px;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stat-card p,
.mission-text p,
.team-panel-head p,
.footer-intro p {
    margin: 0;
    line-height: 1.85;
}

.stat-card p {
    color: var(--muted);
    max-width: 280px;
}

.mission-copy {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr);
    gap: 60px;
    padding: 54px 0 82px;
}

.mission-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy);
}

.mission-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mission-text p {
    font-size: 1.04rem;
}

.mission-text p + p {
    color: rgba(30, 41, 59, 0.74);
}

.mission-visual {
    margin: 0 0 86px;
    padding: 20px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.mission-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
}

.teams-heading {
    padding-bottom: 28px;
}

.overview-section,
.roadmap-section,
.teams-section {
    background: transparent;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.overview-card,
.phase-chart-card,
.calendar-card,
.roadmap-note-card,
.roadmap-list-card,
.integration-card {
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.06), transparent 35%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 16px 36px rgba(71, 85, 105, 0.08);
}

.overview-card {
    padding: 20px;
}

.overview-card-phase h2,
.phase-chart-head h2,
.calendar-head h2,
.roadmap-note-card h2 {
    margin: 12px 0 8px;
    color: var(--navy);
    font-size: clamp(1.2rem, 1.8vw, 1.7rem);
}

.overview-card p,
.phase-focus-note,
.roadmap-note-card p,
.roadmap-event-copy p,
.integration-card p,
.calendar-event-tooltip p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.overall-progress-ring {
    --progress: 0%;
    display: grid;
    place-items: center;
    width: 168px;
    height: 168px;
    margin: 18px auto 14px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #ffffff 58%, transparent 59%),
        conic-gradient(var(--blue) 0 var(--progress), rgba(203, 213, 225, 0.58) var(--progress) 100%);
}

.overall-progress-ring-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.overall-progress-ring-inner strong {
    color: var(--navy);
    font-size: 1.85rem;
    font-weight: 900;
}

.overall-progress-ring-inner span {
    color: var(--muted);
}

.phase-focus-meta,
.integration-summary-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.phase-focus-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.10);
    color: var(--blue);
    font-size: 0.86rem;
    font-weight: 700;
}

.phase-focus-note {
    margin-top: 14px;
}

.integration-summary-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.integration-summary-strip div {
    padding: 16px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    background: #ffffff;
}

.integration-summary-strip strong {
    display: block;
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 800;
}

.integration-summary-strip span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.mini-partner-chart {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.mini-partner-row,
.phase-chart-row,
.integration-chart-row {
    display: grid;
    grid-template-columns: minmax(180px, 0.75fr) minmax(200px, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.mini-partner-copy,
.phase-chart-copy,
.integration-chart-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mini-partner-copy strong,
.phase-chart-copy strong,
.integration-chart-copy strong {
    color: var(--ink);
}

.mini-partner-copy span,
.phase-chart-copy span,
.integration-chart-copy span,
.phase-chart-caption {
    color: var(--muted);
    font-size: 0.84rem;
}

.mini-partner-bar,
.phase-chart-track,
.integration-chart-track {
    position: relative;
    display: block;
    height: 12px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.mini-partner-bar-fill,
.phase-chart-fill,
.integration-chart-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.phase-chart-card,
.calendar-card,
.roadmap-note-card,
.roadmap-list-card,
.integration-card {
    padding: 20px;
}

.phase-chart-card,
.integration-card,
.team-meetings-card {
    margin-top: 20px;
}

.phase-chart-head,
.calendar-head,
.integration-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.phase-chart-list,
.integration-chart-list,
.roadmap-event-list {
    display: grid;
    gap: 16px;
}

.phase-chart-meta,
.integration-chart-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phase-chart-status,
.calendar-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.calendar-chip {
    background: rgba(59, 130, 246, 0.12);
    color: var(--blue);
}

.roadmap-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
    gap: 18px;
    align-items: start;
}

.calendar-card {
    max-width: 700px;
}

.calendar-weekdays,
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.calendar-weekdays {
    margin-bottom: 10px;
}

.calendar-weekdays span {
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
}

.calendar-day {
    min-height: 92px;
    padding: 10px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 18px;
    background: #ffffff;
}

.calendar-day.is-muted {
    opacity: 0.45;
}

.calendar-day.is-today {
    border-color: rgba(59, 130, 246, 0.42);
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.16);
}

.calendar-day-number {
    color: var(--navy);
    font-weight: 800;
}

.calendar-day-events {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.calendar-event-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 100%;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.10);
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 700;
}

.calendar-event-pill-meeting {
    background: rgba(15, 118, 110, 0.12);
    color: var(--teal);
}

.calendar-event-pill-event {
    background: rgba(59, 130, 246, 0.10);
    color: var(--blue);
}

.calendar-event-pill > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-event-tooltip {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 8;
    display: none;
    width: 230px;
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(71, 85, 105, 0.16);
}

.calendar-event-tooltip strong,
.roadmap-event-copy h3 {
    display: block;
    color: var(--ink);
    margin: 0 0 8px;
    font-size: 0.95rem;
}

.calendar-event-tooltip span,
.roadmap-event-copy span {
    color: var(--muted);
    font-size: 0.82rem;
}

.calendar-event-pill:hover .calendar-event-tooltip {
    display: block;
}

.calendar-more-events {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.roadmap-side {
    display: grid;
    gap: 16px;
}

.roadmap-form {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.roadmap-field {
    display: grid;
    gap: 8px;
}

.roadmap-field span {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 600;
}

.roadmap-field input,
.roadmap-field select,
.roadmap-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 14px;
    background: #ffffff;
    color: var(--ink);
    outline: none;
}

.roadmap-field textarea {
    min-height: 118px;
    padding: 14px;
    resize: vertical;
}

.roadmap-field input:focus,
.roadmap-field select:focus,
.roadmap-field textarea:focus {
    border-color: rgba(59, 130, 246, 0.52);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.10);
}

.roadmap-event-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.roadmap-event-date {
    padding: 14px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 18px;
    background: #f8fbff;
}

.roadmap-event-date strong {
    display: block;
    color: var(--navy);
    font-size: 0.98rem;
}

.roadmap-event-date span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.82rem;
}

.integration-card-metrics {
    display: flex;
    align-items: center;
}

.roadmap-note-card,
.team-meetings-card {
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 16px 36px rgba(71, 85, 105, 0.08);
    padding: 20px;
}

.chatbot-widget {
    position: fixed;
    right: 24px;
    bottom: 18px;
    z-index: 70;
}

.chatbot-toggle,
.chatbot-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.24);
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 18px 36px rgba(71, 85, 105, 0.16);
}

.chatbot-panel {
    width: min(340px, calc(100vw - 28px));
    margin-top: 12px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(71, 85, 105, 0.18);
    overflow: hidden;
}

.chatbot-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.chatbot-head strong {
    display: block;
    color: var(--navy);
}

.chatbot-head span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.82rem;
}

.chatbot-log {
    display: grid;
    gap: 12px;
    max-height: 300px;
    padding: 16px 18px;
    overflow-y: auto;
    background: #f8fbff;
}

.chatbot-message {
    max-width: 88%;
    padding: 12px 14px;
    border-radius: 18px;
}

.chatbot-message p {
    margin: 0;
    line-height: 1.8;
    white-space: pre-wrap;
}

.chatbot-message-bot {
    justify-self: start;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.96);
}

.chatbot-message-user {
    justify-self: end;
    background: rgba(59, 130, 246, 0.10);
    color: var(--ink);
}

.chatbot-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 14px 18px 18px;
}

.chatbot-input {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 14px;
    background: #ffffff;
}

.chatbot-submit {
    min-width: 88px;
}

.access-panel {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 0.95fr);
    gap: 24px;
    margin-bottom: 26px;
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.04);
}

.access-panel.is-admin {
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f6fffb 100%);
}

.access-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.access-label,
.access-chip,
.viewer-note,
.access-error {
    font-family: "Cairo", sans-serif;
}

.access-label {
    color: var(--blue);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.access-panel.is-admin .access-label {
    color: #059669;
}

.access-copy h2 {
    margin: 0;
    font-family: "Cairo", sans-serif;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.08;
    color: var(--navy);
}

.access-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.access-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.auth-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.auth-form-inline {
    display: flex;
    justify-content: flex-start;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-field span {
    color: #64748b;
    font-family: "Cairo", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-field input {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 14px;
    background: #ffffff;
    color: var(--ink);
    outline: none;
}

.auth-field input:focus {
    border-color: rgba(59, 130, 246, 0.52);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.auth-submit {
    width: 100%;
}

.access-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.access-chip.success {
    border: 1px solid rgba(16, 185, 129, 0.26);
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.access-chip.viewer {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(241, 245, 249, 0.9);
    color: #64748b;
}

.access-error {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(239, 68, 68, 0.18);
    background: rgba(254, 242, 242, 0.9);
    color: #b91c1c;
    font-size: 0.76rem;
    line-height: 1.6;
}

.team-tabs {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
}

.team-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    color: #94a3b8;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.team-tab.is-active {
    color: var(--tab-accent, var(--blue));
    border-bottom-color: var(--tab-accent, var(--blue));
    background: #fafafa;
}

.team-tab-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
}

.team-panel {
    display: none;
    padding: 24px 0 8px;
}

.team-panel.is-active {
    display: block;
    animation: fadeUp 0.4s ease;
}

.team-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.team-panel-head h2 {
    margin: 0 0 8px;
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    color: var(--navy);
}

.team-panel-head p {
    max-width: 680px;
    color: var(--muted);
}

.team-goals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: flex-start;
    justify-content: flex-end;
}

.goal-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    background: rgba(59, 130, 246, 0.08);
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 700;
}

.team-card {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.charter-team-shell {
    direction: rtl;
}

.charter-team-shell .team-tab,
.charter-team-shell .team-panel-kicker,
.charter-team-shell .charter-card-label,
.charter-team-shell .team-panel-foot-charter {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

.charter-team-shell .team-tab {
    font-size: 0.9rem;
    font-weight: 600;
}

.charter-team-shell .goal-pill {
    font-family: "Cairo", sans-serif;
    font-weight: 600;
}

.team-panel-head-charter {
    align-items: flex-start;
}

.team-panel-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-panel-kicker,
.charter-card-label,
.charter-item-index {
    font-family: "Cairo", sans-serif;
}

.team-panel-kicker {
    color: #64748b;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.team-goals-charter {
    max-width: 380px;
}

.charter-team-card {
    padding: 22px;
}

.charter-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.charter-overview-card,
.charter-responsibility-card {
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.charter-overview-card {
    padding: 18px;
}

.charter-card-label {
    display: inline-flex;
    color: var(--blue);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.charter-overview-card p,
.charter-responsibility-card p {
    margin: 12px 0 0;
    line-height: 1.8;
    color: var(--ink);
}

.charter-responsibility-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.charter-responsibility-card {
    min-height: 100%;
    padding: 18px;
}

.team-workspace-card {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.team-workspace-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.team-workspace-copy,
.team-workspace-note {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.team-workspace-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.team-workspace-mode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-family: "Cairo", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
}

.team-workspace-mode-live {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
}

.team-workspace-mode-preview {
    background: rgba(217, 119, 6, 0.12);
    color: #b45309;
}

.team-workspace-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.team-workspace-metric {
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    background: #ffffff;
}

.team-workspace-metric strong {
    display: block;
    color: var(--navy);
    font-size: 1.4rem;
    font-weight: 800;
}

.team-workspace-metric span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
}

.team-task-table-wrap {
    overflow-x: auto;
    margin-top: 18px;
    border: 1px solid #dbe7f3;
    border-radius: 18px;
    background: #ffffff;
}

.team-task-table {
    width: 100%;
    border-collapse: collapse;
}

.team-task-table th,
.team-task-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
    text-align: right;
}

.team-task-table th {
    color: #64748b;
    background: #f1f5f9;
    font-size: 0.72rem;
}

.team-task-table td {
    background: #f8faff;
}

.team-task-owner {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-task-owner strong {
    color: var(--ink);
    font-size: 0.9rem;
}

.team-task-owner span {
    color: #64748b;
    font-size: 0.78rem;
}

.team-meetings-table td:last-child,
.integration-partners-table td:last-child {
    min-width: 240px;
}

.charter-item-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--blue);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
}

.team-panel-foot-charter {
    justify-content: flex-start;
    font-size: 0.92rem;
    color: #64748b;
}

.team-table-wrap {
    overflow-x: auto;
}

.member-table,
.task-table,
.team-task-table {
    width: 100%;
    border-collapse: collapse;
}

.member-table th,
.task-table th,
.team-task-table th {
    padding: 16px 18px;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    background: #f1f5f9;
    text-align: left;
}

.member-table td,
.task-table td,
.team-task-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.member-row {
    cursor: pointer;
    transition: background 0.2s ease;
}

.member-row:hover,
.member-row.is-open {
    background: #eff6ff;
}

.member-details-row {
    display: none;
}

.member-details-row.is-open {
    display: table-row;
}

.member-details-row > td {
    padding: 0;
    background: #f8fbff;
}

.member-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-member {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    color: #64748b;
    font-size: 1rem;
    line-height: 1;
}

.member-row.is-open .toggle-member {
    color: var(--blue);
    border-color: rgba(59, 130, 246, 0.4);
}

.member-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
}

.member-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}

.mono {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.78rem;
}

.subtle {
    color: #64748b;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--badge-bg, #dbebff);
    color: var(--badge-color, #1d4ed8);
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-progress {
    --badge-bg: #dbeafe;
    --badge-color: #1d4ed8;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--badge-dot, #2563eb);
}

.priority-text {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.78rem;
    font-weight: 700;
}

.priority-text.high {
    color: #dc2626;
}

.progress-line {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 132px;
}

.progress-track {
    position: relative;
    flex: 1;
    height: 7px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    transition: width 0.25s ease;
}

.task-shell {
    padding: 22px 22px 24px;
}

.task-table-wrap {
    overflow-x: auto;
    border: 1px solid #dbe7f3;
    border-radius: 16px;
    background: #ffffff;
}

.task-table td {
    background: #f8faff;
}

.task-name-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.task-input,
.add-task-input {
    display: none;
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: var(--ink);
    outline: none;
}

.task-input:focus,
.add-task-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.task-row.is-editing .task-input {
    display: block;
}

.task-row.is-editing .task-name-text,
.task-row.is-editing .task-status-badge,
.task-row.is-editing .task-priority-text,
.task-row [data-task-save],
.task-row [data-task-cancel] {
    display: none;
}

.task-row.is-editing [data-task-save],
.task-row.is-editing [data-task-cancel] {
    display: inline-flex;
}

.task-row.is-editing [data-task-edit],
.task-row.is-editing [data-task-delete] {
    display: none;
}

.task-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-link {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 600;
}

.action-link:hover {
    text-decoration: underline;
}

.action-link.danger {
    color: #ef4444;
}

.action-link.success {
    color: #16a34a;
}

.action-link.muted {
    color: #64748b;
}

.add-task-box {
    margin-top: 14px;
}

.add-task-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
}

.add-task-form {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    background: #eff6ff;
}

.add-task-box.is-open .add-task-form {
    display: flex;
}

.add-task-box.is-open .add-task-input {
    display: block;
}

.viewer-note {
    margin-top: 14px;
    color: #64748b;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
}

.team-panel-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 4px 8px;
    color: #94a3b8;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.accent-note {
    font-weight: 600;
}

.db-error {
    padding: 36px;
    border: 1px solid rgba(239, 68, 68, 0.16);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(239, 68, 68, 0.08), transparent 35%),
        #ffffff;
    box-shadow: var(--shadow);
}

.db-error h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.db-error p {
    margin: 0 0 12px;
    line-height: 1.8;
}

.db-error code {
    display: block;
    overflow-x: auto;
    padding: 14px 16px;
    border-radius: 14px;
    background: #49515d;
    color: #f8fafc;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.82rem;
}

.site-footer {
    margin-top: 30px;
    background: linear-gradient(180deg, #5a6370 0%, #697280 100%);
    color: rgba(248, 250, 252, 0.62);
}

.footer-banner {
    overflow: hidden;
    padding-left: 32px;
    color: rgba(248, 250, 252, 0.04);
    font-family: "Cairo", sans-serif;
    font-size: clamp(4rem, 15vw, 13rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.88;
    text-transform: uppercase;
    user-select: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 42px;
    padding: 56px 0 38px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f8fafc;
    font-size: 0.84rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-brand-dot {
    width: 10px;
    height: 10px;
    background: var(--blue);
}

.footer-intro p {
    max-width: 380px;
    margin-top: 16px;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: var(--green);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links > span:first-child {
    color: rgba(248, 250, 252, 0.32);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-links a,
.footer-links span:not(:first-child) {
    color: rgba(248, 250, 252, 0.62);
}

.footer-links a:hover {
    color: var(--blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 26px;
    border-top: 1px solid rgba(248, 250, 252, 0.06);
    color: rgba(248, 250, 252, 0.25);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.42);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes drift {
    0%,
    100% {
        transform: translateY(0) scale(0.85);
        opacity: 0;
    }
    20%,
    80% {
        opacity: 0.55;
    }
    50% {
        transform: translateY(-24px) scale(1);
        opacity: 0.2;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 960px) {
    .hero-divider {
        display: none;
    }

    .overview-grid,
    .roadmap-layout,
    .hero-shell,
    .mission-copy,
    .footer-grid,
    .team-panel-head,
    .access-panel {
        grid-template-columns: 1fr;
    }

    .hero-shell {
        gap: 42px;
    }

    .hero-live-ticker {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-live-marquee {
        width: 100%;
    }

    .team-goals {
        justify-content: flex-start;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stat-card:last-child {
        border-bottom: 0;
    }

    .charter-overview-grid,
    .charter-responsibility-list,
    .team-workspace-summary,
    .integration-summary-strip {
        grid-template-columns: 1fr;
    }

    .team-workspace-head {
        display: grid;
        gap: 16px;
    }

    .phase-chart-head,
    .calendar-head,
    .integration-card-head {
        flex-direction: column;
    }

    .mini-partner-row,
    .phase-chart-row,
    .integration-chart-row,
    .roadmap-event-item {
        grid-template-columns: 1fr;
    }

    .team-workspace-actions {
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .shell {
        width: min(100% - 28px, 1200px);
    }

    .nav-shell {
        min-height: 64px;
    }

    .brand-text,
    .nav-links a {
        font-size: 0.68rem;
    }

    .nav-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .hero-shell {
        padding-top: 108px;
        padding-bottom: 84px;
    }

    .hero-live-item {
        min-height: 36px;
        padding: 0 14px;
        font-size: 0.92rem;
    }

    .hero-bottom-shell {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-heading,
    .teams-heading {
        flex-wrap: wrap;
    }

    .auth-form {
        grid-template-columns: 1fr;
    }

    .charter-team-card {
        padding: 18px;
    }

    .overview-card,
    .phase-chart-card,
    .calendar-card,
    .roadmap-note-card,
    .roadmap-list-card,
    .integration-card,
    .team-workspace-card,
    .team-meetings-card {
        padding: 18px;
    }

    .overall-progress-ring {
        width: 150px;
        height: 150px;
    }

    .calendar-weekdays span {
        font-size: 0.72rem;
    }

    .calendar-day {
        min-height: 82px;
        padding: 8px;
    }

    .calendar-event-pill {
        font-size: 0.7rem;
    }

    .member-table th:nth-child(3),
    .member-table td:nth-child(3),
    .member-table th:nth-child(6),
    .member-table td:nth-child(6),
    .task-table th:nth-child(3),
    .task-table td:nth-child(3),
    .task-table th:nth-child(6),
    .task-table td:nth-child(6),
    .team-task-table:not(.team-meetings-table):not(.integration-partners-table) th:nth-child(5),
    .team-task-table:not(.team-meetings-table):not(.integration-partners-table) td:nth-child(5),
    .team-task-table:not(.team-meetings-table):not(.integration-partners-table) th:nth-child(6),
    .team-task-table:not(.team-meetings-table):not(.integration-partners-table) td:nth-child(6) {
        display: none;
    }

    .integration-partners-table th:nth-child(2),
    .integration-partners-table td:nth-child(2) {
        display: none;
    }

    .team-meetings-table th:nth-child(3),
    .team-meetings-table td:nth-child(3) {
        display: none;
    }

    .task-shell {
        padding: 16px;
    }

    .add-task-form {
        flex-direction: column;
        align-items: stretch;
    }

    .chatbot-widget {
        right: 12px;
        bottom: 12px;
    }

    .chatbot-form {
        grid-template-columns: 1fr;
    }
}
