:root {
    --bg: #f4f1eb;
    --bg-accent: #efe4d5;
    --panel: rgba(255, 255, 255, 0.78);
    --panel-strong: rgba(255, 255, 255, 0.94);
    --text: #171411;
    --muted: #6f665f;
    --line: rgba(23, 20, 17, 0.08);
    --brand: #0d6b5f;
    --brand-soft: #d4f1ea;
    --gold: #b98531;
    --danger: #b24343;
    --shadow: 0 28px 80px rgba(35, 28, 20, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: "Instrument Sans", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(185, 133, 49, 0.18), transparent 24%),
        radial-gradient(circle at top right, rgba(13, 107, 95, 0.12), transparent 20%),
        linear-gradient(180deg, #f7f3ee 0%, var(--bg) 60%, #efe9df 100%);
}

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

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

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.page-shell {
    padding-bottom: 56px;
}

.page-main {
    display: grid;
    gap: 24px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(247, 243, 238, 0.72);
    border-bottom: 1px solid rgba(23, 20, 17, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
}

.brand-kicker,
.eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.brand-title {
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 800;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero,
.detail-hero {
    padding-top: 44px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 24px;
    align-items: end;
}

.hero-copy h1,
.detail-heading h1,
.section-heading h2,
.auth-card h1,
.section-spacing h1 {
    margin: 8px 0 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
}

.hero-text,
.project-description,
.auth-text,
.sidebar-note,
.empty-state p,
.goal-card p {
    color: var(--muted);
    line-height: 1.7;
}

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

.stat-card,
.soft-panel {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.stat-card {
    padding: 20px;
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-card span {
    color: var(--muted);
}

.stat-card strong {
    font-family: "Manrope", sans-serif;
    font-size: 34px;
}

.glow-card {
    background: linear-gradient(135deg, rgba(13, 107, 95, 0.94), rgba(21, 145, 120, 0.88));
    color: #fff;
}

.glow-card span {
    color: rgba(255, 255, 255, 0.75);
}

.section-spacing {
    display: grid;
    gap: 22px;
}

.section-heading,
.goal-editor-head,
.project-card-top,
.admin-project-head,
.detail-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.section-heading.compact {
    margin-bottom: 16px;
}

.project-grid,
.admin-project-list,
.goal-list,
.goal-editor-list {
    display: grid;
    gap: 18px;
}

.project-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-card,
.goal-card,
.goal-editor-card,
.goal-create-card,
.auth-card,
.detail-hero,
.admin-project-card {
    padding: 24px;
}

.project-card h3,
.goal-card h3,
.goal-editor-card h3,
.admin-project-card h3,
.sidebar-card h3 {
    margin: 12px 0 0;
    font-family: "Manrope", sans-serif;
    font-size: 24px;
}

.project-meta,
.detail-meta,
.goal-tags,
.goal-metric,
.progress-meta,
.project-actions,
.mini-goal-copy,
.field span {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-meta,
.detail-meta,
.goal-tags,
.mini-goal-copy,
.sidebar-note,
.progress-meta span,
.goal-metric span {
    color: var(--muted);
    font-size: 14px;
}

.progress-block {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.progress-meta {
    justify-content: space-between;
    align-items: center;
}

.progress-meta strong,
.goal-metric strong {
    font-size: 18px;
    font-weight: 700;
}

.progress-bar {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: rgba(23, 20, 17, 0.07);
    overflow: hidden;
}

.progress-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #0d6b5f, #3db99f);
}

.progress-bar.compact {
    height: 10px;
}

.progress-bar.large {
    height: 14px;
}

.priority-pill,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(23, 20, 17, 0.06);
    color: var(--muted);
    font-size: 13px;
}

.badge-active {
    background: rgba(13, 107, 95, 0.12);
    color: var(--brand);
}

.badge-completed {
    background: rgba(78, 142, 70, 0.16);
    color: #2c6d25;
}

.badge-paused,
.badge-muted {
    background: rgba(90, 83, 75, 0.12);
    color: #655d57;
}

.badge-progress {
    background: rgba(185, 133, 49, 0.15);
    color: #8e611d;
}

.button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button-primary {
    background: var(--text);
    color: #fff;
    box-shadow: 0 14px 32px rgba(23, 20, 17, 0.14);
}

.button-ghost {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(23, 20, 17, 0.08);
}

.button-danger {
    background: rgba(178, 67, 67, 0.1);
    color: var(--danger);
    border-color: rgba(178, 67, 67, 0.16);
}

.button-block {
    width: 100%;
}

.auth-shell {
    min-height: calc(100vh - 140px);
    display: grid;
    place-items: center;
    padding-top: 48px;
}

.auth-card {
    width: min(100%, 520px);
}

.stack-form,
.editor-layout,
.field,
.goal-main,
.detail-copy,
.ring-card,
.sidebar-card,
.flash-stack {
    display: grid;
    gap: 16px;
}

.field input,
.field select,
.field textarea,
.inline-progress-form input {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--panel-strong);
    border-radius: 14px;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--text);
}

.field textarea {
    min-height: 128px;
    resize: vertical;
}

.field-error {
    color: var(--danger);
    font-size: 13px;
}

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

.form-actions,
.inline-progress-form,
.check-line,
.inline-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.editor-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    align-items: start;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 24px;
}

.goal-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    gap: 24px;
    align-items: center;
}

.goal-title-row,
.mini-goal-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.goal-bullet {
    width: 14px;
    height: 14px;
    margin-top: 7px;
    flex: none;
    border-radius: 999px;
    border: 2px solid rgba(13, 107, 95, 0.35);
    background: rgba(13, 107, 95, 0.08);
}

.goal-bullet.done {
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 0 0 6px rgba(13, 107, 95, 0.08);
}

.goal-editor-card {
    gap: 18px;
}

.goal-create-card {
    margin-top: 6px;
}

.mini-goal-row {
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid rgba(23, 20, 17, 0.06);
}

.mini-goal-row:first-child {
    border-top: 0;
}

.mini-goal-copy {
    display: grid;
    gap: 4px;
    flex: 1;
}

.inline-empty,
.empty-state {
    text-align: center;
}

.empty-state {
    padding: 42px 24px;
}

.flash-stack {
    padding-top: 20px;
}

.flash {
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid transparent;
}

.flash-success {
    background: rgba(13, 107, 95, 0.12);
    color: var(--brand);
    border-color: rgba(13, 107, 95, 0.18);
}

.flash-error {
    background: rgba(178, 67, 67, 0.1);
    color: var(--danger);
    border-color: rgba(178, 67, 67, 0.18);
}

.back-link {
    color: var(--muted);
    font-size: 14px;
}

.ring-card {
    height: 100%;
    align-content: start;
}

.not-found {
    margin-top: 48px;
}

@media (max-width: 960px) {
    .hero,
    .detail-hero,
    .editor-layout,
    .goal-card {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .detail-heading h1,
    .section-heading h2,
    .auth-card h1,
    .section-spacing h1 {
        font-size: 36px;
    }
}

@media (max-width: 720px) {
    .header-inner,
    .section-heading,
    .admin-project-head,
    .goal-editor-head,
    .project-card-top {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .project-card,
    .goal-card,
    .goal-editor-card,
    .goal-create-card,
    .auth-card,
    .detail-hero,
    .admin-project-card {
        padding: 20px;
    }

    .container {
        width: min(calc(100% - 22px), var(--container));
    }

    .top-nav {
        width: 100%;
        justify-content: space-between;
    }
}

/* Zhestkov.pro-inspired theme overrides */

:root {
    --bg: #151515;
    --bg-deep: #101010;
    --surface: #f4f1eb;
    --surface-soft: #ece7de;
    --panel: #ffffff;
    --panel-strong: #ffffff;
    --text: #181818;
    --text-on-dark: #f5f1ea;
    --muted: #7a7369;
    --line: rgba(0, 0, 0, 0.08);
    --brand: #ff6a2b;
    --brand-strong: #ef5b1d;
    --brand-soft: rgba(255, 106, 43, 0.12);
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
}

body {
    background:
        linear-gradient(180deg, #121212 0, #191919 540px, #f3f0ea 540px, #f3f0ea 100%);
}

.site-header {
    background: rgba(16, 16, 16, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-accent {
    height: 3px;
    background: linear-gradient(90deg, transparent 0, var(--brand) 18%, var(--brand) 82%, transparent 100%);
    opacity: 0.95;
}

.brand-kicker,
.site-header .top-nav a:not(.button) {
    color: rgba(245, 241, 234, 0.72);
}

.brand-title {
    color: #fff7ef;
    letter-spacing: 0.02em;
}

.site-header .top-nav a:not(.button):hover {
    color: #ffffff;
}

.button-primary {
    background: linear-gradient(180deg, #ff7a40 0%, #ef5b1d 100%);
    color: #fff;
    box-shadow: 0 18px 40px rgba(239, 91, 29, 0.26);
}

.button-ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--text-on-dark);
}

.hero-band {
    padding: 32px 0 52px;
    background:
        radial-gradient(circle at 18% 10%, rgba(255, 106, 43, 0.16), transparent 22%),
        linear-gradient(180deg, #121212 0%, #181818 100%);
}

.hero-band-tight {
    padding-bottom: 36px;
}

.surface-band {
    background:
        linear-gradient(180deg, #f3f0ea 0%, #f6f4ef 100%);
    padding: 26px 0 52px;
}

.hero,
.detail-hero {
    padding-top: 28px;
}

.hero-copy-strong h1,
.detail-heading h1,
.section-heading h2,
.auth-card h1,
.section-spacing h1 {
    font-size: clamp(34px, 4vw, 64px);
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.hero-copy,
.detail-hero-contrast .detail-copy,
.admin-hero .hero-copy {
    color: var(--text-on-dark);
}

.hero-text {
    color: rgba(245, 241, 234, 0.72);
    max-width: 700px;
}

.eyebrow {
    color: var(--brand);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hero-stats .stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    color: var(--text-on-dark);
}

.hero-stats .stat-card span {
    color: rgba(245, 241, 234, 0.7);
}

.glow-card {
    background: linear-gradient(180deg, #ff7a40 0%, #ef5b1d 100%);
}

.section-heading h2,
.surface-band .section-heading h2,
.surface-band .project-card h3,
.surface-band .goal-card h3,
.surface-band .admin-project-card h3,
.surface-band .sidebar-card h3,
.surface-band .field span,
.surface-band .project-description,
.surface-band .detail-meta,
.surface-band .project-meta,
.surface-band .goal-tags,
.surface-band .goal-card p,
.surface-band .goal-metric span,
.surface-band .progress-meta span {
    color: inherit;
}

.soft-panel,
.stat-card {
    border-radius: 0;
}

.surface-band .soft-panel,
.auth-card,
.goal-create-card,
.goal-editor-card,
.admin-project-card,
.project-card,
.goal-card {
    background: var(--panel);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
}

.project-card-contrast,
.detail-hero-contrast {
    position: relative;
    overflow: hidden;
}

.project-card-contrast::before,
.detail-hero-contrast::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--brand) 0%, #ffb18d 100%);
}

.detail-hero-contrast {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.detail-hero-contrast .project-description,
.detail-hero-contrast .detail-meta,
.detail-hero-contrast .back-link,
.detail-hero-contrast .ring-card span {
    color: rgba(245, 241, 234, 0.72);
}

.detail-hero-contrast .ring-card strong {
    color: #fff;
    font-size: 52px;
    font-family: "Manrope", sans-serif;
}

.progress-bar {
    background: #ebe4d9;
    border-radius: 999px;
}

.progress-bar span {
    background: linear-gradient(90deg, #ff7a40 0%, #ef5b1d 100%);
}

.badge,
.priority-pill {
    background: #f7eee8;
    color: #8f5638;
    border-radius: 0;
}

.badge-active {
    background: rgba(255, 106, 43, 0.12);
    color: #c14b19;
}

.badge-completed {
    background: rgba(59, 166, 95, 0.12);
    color: #2d854b;
}

.badge-progress {
    background: rgba(255, 176, 92, 0.18);
    color: #9d5a1d;
}

.goal-bullet {
    border-color: rgba(255, 106, 43, 0.42);
    background: rgba(255, 106, 43, 0.08);
}

.goal-bullet.done {
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 0 0 6px rgba(255, 106, 43, 0.1);
}

.project-card h3 a:hover,
.goal-card h3:hover,
.admin-project-card h3:hover {
    color: var(--brand-strong);
}

.field input,
.field select,
.field textarea,
.inline-progress-form input {
    border-radius: 0;
    background: #fbfaf7;
}

.flash-success {
    background: rgba(255, 106, 43, 0.1);
    color: #bf4d1b;
    border-color: rgba(255, 106, 43, 0.18);
}

.flash-error {
    background: rgba(178, 67, 67, 0.1);
    color: #a03a3a;
}

.empty-state {
    background:
        linear-gradient(180deg, #fff 0%, #fbf8f3 100%);
}

.auth-shell {
    min-height: calc(100vh - 120px);
}

.auth-card {
    background: #fff;
    border-top: 4px solid var(--brand);
}

@media (max-width: 960px) {
    body {
        background:
            linear-gradient(180deg, #121212 0, #191919 680px, #f3f0ea 680px, #f3f0ea 100%);
    }
}

@media (max-width: 720px) {
    .hero-copy-strong h1,
    .detail-heading h1,
    .section-heading h2,
    .auth-card h1,
    .section-spacing h1 {
        font-size: 34px;
    }

    .button-ghost {
        background: rgba(255, 255, 255, 0.08);
    }
}

.surface-board {
    background: linear-gradient(180deg, #f7f5f0 0%, #f1ece4 100%);
    min-height: calc(100vh - 100px);
    padding: 28px 0 56px;
}

.board-shell {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.board-sidebar,
.board-hero,
.board-kpi-card,
.board-progress-panel,
.board-goal-card,
.board-week-card,
.board-calendar-panel,
.board-filter-panel,
.board-category-progress-card,
.board-task-category {
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(26, 26, 26, 0.08);
}

.board-sidebar {
    position: sticky;
    top: 110px;
    padding: 24px;
    background: #ffffff;
}

.board-sidebar h1,
.board-hero h2,
.board-task-item h3 {
    margin: 10px 0 0;
    font-family: "Manrope", sans-serif;
}

.board-lead {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
}

.board-copy,
.board-task-readonly,
.empty-copy,
.board-kpi-card small,
.board-goal-card p {
    color: var(--muted);
    line-height: 1.7;
}

.board-anchor-nav,
.board-main,
.board-summary,
.board-progress-list,
.board-goal-grid,
.board-week-grid,
.board-category-progress-grid,
.board-task-list,
.board-day-panels {
    display: grid;
    gap: 14px;
}

.board-anchor-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f7f4ee;
    font-weight: 600;
}

.board-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 10px;
}

.board-summary div {
    padding: 14px;
    border-radius: 16px;
    background: #f7f4ee;
}

.board-summary span,
.board-metric-card span,
.board-kpi-card span,
.board-goal-card span,
.board-week-card span,
.day-panel-head span {
    color: var(--muted);
    font-size: 13px;
}

.board-summary strong,
.board-metric-card strong,
.board-kpi-card strong,
.board-goal-card strong,
.board-week-card strong {
    display: block;
    margin-top: 8px;
    font-family: "Manrope", sans-serif;
    font-size: 24px;
}

.board-main {
    gap: 22px;
}

.board-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
    gap: 18px;
    padding: 24px;
    background: linear-gradient(135deg, #fff 0%, #f8f3eb 100%);
}

.board-hero h2 {
    font-size: clamp(28px, 4vw, 46px);
}

.board-hero-metrics {
    display: grid;
    gap: 12px;
}

.board-metric-card {
    padding: 18px;
    border-radius: 18px;
    background: #f7f4ee;
}

.board-metric-card.accent {
    background: linear-gradient(180deg, #ff7a40 0%, #ef5b1d 100%);
    color: #fff;
}

.board-metric-card.accent span {
    color: rgba(255, 255, 255, 0.78);
}

.board-section {
    display: grid;
    gap: 16px;
}

.board-kpi-grid,
.board-goal-grid,
.board-week-grid,
.board-category-progress-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.board-kpi-card,
.board-goal-card,
.board-week-card,
.board-category-progress-card {
    padding: 20px;
    background: #fff;
}

.board-progress-panel,
.board-calendar-panel,
.board-filter-panel,
.board-task-category {
    padding: 22px;
    background: #fff;
}

.board-progress-row {
    display: grid;
    gap: 10px;
}

.board-month-tabs,
.board-filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.month-tab,
.filter-chip {
    appearance: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f7f4ee;
    color: #3b342d;
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
}

.month-tab.is-active,
.filter-chip.is-active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.calendar-month {
    display: none;
    gap: 8px;
}

.calendar-month.is-active {
    display: grid;
}

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

.calendar-grid-head span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    padding: 0 4px 6px;
}

.calendar-day {
    min-height: 98px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fcfaf6;
    border-radius: 18px;
    padding: 10px;
    text-align: left;
    display: grid;
    align-content: space-between;
    cursor: pointer;
}

.calendar-day.has-tasks {
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.14);
}

.calendar-day-empty {
    border: 0;
    background: transparent;
}

.calendar-day-number {
    font-weight: 700;
}

.calendar-dot-stack,
.day-task-item,
.board-task-title-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.calendar-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.dot-blue { background: #3d74ff; }
.dot-violet { background: #7d59e8; }
.dot-green { background: #2ca96f; }
.dot-orange { background: #f08b34; }
.dot-red { background: #dd4e4e; }
.dot-teal { background: #24b8b4; }
.dot-gray { background: #8a8d95; }
.dot-navy { background: #1e3d7a; }

.day-panel {
    display: none;
    padding: 18px;
    border-radius: 18px;
    background: #f8f4ed;
}

.day-panel.is-active {
    display: block;
}

.day-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.day-task-list {
    display: grid;
    gap: 10px;
}

.day-task-item {
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
}

.board-task-item {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.board-task-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.board-task-item h3 {
    font-size: 20px;
}

.board-task-controls {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.compact-field span {
    font-size: 12px;
}

.board-task-readonly {
    display: flex;
    align-items: center;
}

.badge-blue { background: rgba(61, 116, 255, 0.1); color: #275ad8; }
.badge-violet { background: rgba(125, 89, 232, 0.12); color: #5d36c9; }
.badge-green { background: rgba(44, 169, 111, 0.12); color: #1f8e5a; }
.badge-orange { background: rgba(240, 139, 52, 0.14); color: #c16b1e; }
.badge-red { background: rgba(221, 78, 78, 0.12); color: #b63a3a; }
.badge-teal { background: rgba(36, 184, 180, 0.12); color: #15807d; }
.badge-gray { background: rgba(138, 141, 149, 0.14); color: #666b73; }
.badge-navy { background: rgba(30, 61, 122, 0.12); color: #1e3d7a; }

@media (max-width: 1180px) {
    .board-shell {
        grid-template-columns: 1fr;
    }

    .board-sidebar {
        position: static;
    }
}

@media (max-width: 960px) {
    .board-kpi-grid,
    .board-goal-grid,
    .board-week-grid,
    .board-category-progress-grid,
    .board-hero,
    .board-task-item {
        grid-template-columns: 1fr;
    }

    .board-task-controls {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .surface-board {
        padding-top: 20px;
    }

    .board-summary,
    .calendar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .calendar-grid.calendar-grid-head {
        display: none;
    }

    .calendar-day {
        min-height: 84px;
    }

    .board-task-controls {
        grid-template-columns: 1fr;
    }
}

.life-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    padding-top: 26px;
}

.life-main {
    display: grid;
    gap: 22px;
}

.life-sidebar,
.life-topbar,
.life-kpi-card,
.life-chart-card,
.life-focus-card,
.area-card,
.report-card {
    border-radius: 22px;
}

.life-sidebar {
    position: sticky;
    top: 110px;
    align-self: start;
    padding: 20px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(25, 25, 25, 0.08);
}

.life-sidebar-brand strong {
    display: block;
    margin-top: 8px;
    font-family: "Manrope", sans-serif;
    font-size: 22px;
}

.life-sidebar-nav {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.life-nav-link {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f7f4ee;
    font-weight: 600;
}

.life-nav-link.is-active {
    background: linear-gradient(180deg, #ff7a40 0%, #ef5b1d 100%);
    color: #fff;
}

.life-sidebar-note {
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    background: #f7f4ee;
}

.life-sidebar-note span {
    color: var(--muted);
    font-size: 13px;
}

.life-sidebar-note strong {
    display: block;
    margin-top: 6px;
}

.life-topbar {
    padding: 24px;
    background: linear-gradient(135deg, #fff 0%, #f8f3eb 100%);
}

.life-topbar h1 {
    margin: 8px 0 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(30px, 4vw, 48px);
}

.life-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.life-kpi-card {
    padding: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
}

.life-kpi-card span,
.inline-edit-card span,
.watchlist-item span,
.deadline-row span,
.mini-bar-label {
    color: var(--muted);
    font-size: 13px;
}

.life-kpi-card strong,
.inline-edit-card strong,
.watchlist-item strong {
    display: block;
    margin-top: 8px;
    font-family: "Manrope", sans-serif;
    font-size: 24px;
}

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

.life-chart-card,
.life-focus-card {
    padding: 22px;
    background: #fff;
}

.mini-bar-chart {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
    min-height: 220px;
}

.mini-bar-column {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.mini-bar-track {
    width: 100%;
    min-height: 140px;
    border-radius: 16px;
    background: #f2ece2;
    display: flex;
    align-items: flex-end;
    padding: 8px;
}

.mini-bar-track span {
    display: block;
    width: 100%;
    border-radius: 12px;
    background: linear-gradient(180deg, #ff9467 0%, #ef5b1d 100%);
}

.focus-lines,
.watchlist-grid,
.deadlines-list,
.life-inline-edit-grid,
.area-card-grid {
    display: grid;
    gap: 14px;
}

.focus-lines div,
.watchlist-item,
.deadline-row,
.inline-edit-card,
.area-card,
.report-card {
    padding: 16px;
    border-radius: 18px;
    background: #fff;
}

.watchlist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.deadline-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.life-inline-edit-grid,
.area-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inline-edit-card {
    display: grid;
    gap: 10px;
    background: #f8f4ed;
}

.inline-edit-card input {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
}

.area-card {
    display: grid;
    gap: 10px;
    color: inherit;
    box-shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
}

.area-card-actions {
    align-content: space-between;
}

.area-card-link {
    display: grid;
    gap: 10px;
    color: inherit;
}

.area-card-delete {
    margin-top: 8px;
}

.project-action-stack {
    display: grid;
    gap: 12px;
}

.area-card strong,
.report-card strong {
    font-family: "Manrope", sans-serif;
    font-size: 28px;
}

.area-progress-row {
    display: grid;
    gap: 8px;
    padding: 12px 0;
    color: inherit;
}

.report-card {
    background: linear-gradient(135deg, #fff 0%, #f7f1e8 100%);
}

@media (max-width: 1180px) {
    .life-shell {
        grid-template-columns: 1fr;
    }

    .life-sidebar {
        position: static;
    }

    .life-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .life-grid-two,
    .life-inline-edit-grid,
    .area-card-grid,
    .watchlist-grid {
        grid-template-columns: 1fr;
    }

    .life-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .life-kpi-grid,
    .mini-bar-chart {
        grid-template-columns: 1fr;
    }
}

.watersupway-page {
    background:
        radial-gradient(circle at top right, rgba(94, 205, 255, 0.16), transparent 24%),
        radial-gradient(circle at top left, rgba(255, 122, 64, 0.14), transparent 22%),
        linear-gradient(180deg, #f5fbff 0%, #eef6fa 52%, #f8fafc 100%);
}

.watersupway-page .site-header {
    background: rgba(255, 255, 255, 0.62);
    border-bottom: 1px solid rgba(13, 44, 62, 0.08);
}

.watersupway-page .header-accent {
    background: linear-gradient(90deg, transparent 0, #58d0ff 18%, #ff7a40 82%, transparent 100%);
}

.wsw-shell {
    color: #10212c;
    padding-bottom: 120px;
}

.wsw-header {
    position: sticky;
    top: 70px;
    z-index: 15;
    padding-top: 14px;
}

.wsw-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 52px rgba(49, 80, 97, 0.12);
}

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

.wsw-brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #6ad8ff 0%, #ff7f46 100%);
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
}

.wsw-brand-copy {
    display: grid;
}

.wsw-brand-copy strong {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
}

.wsw-brand-copy small,
.wsw-nav a {
    color: rgba(16, 33, 44, 0.72);
}

.wsw-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.wsw-hero {
    padding: 42px 0 26px;
}

.wsw-hero-grid,
.wsw-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 24px;
    align-items: start;
}

.wsw-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #1c8dbc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.wsw-hero-copy h1,
.wsw-section-head h2,
.wsw-cta-card h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(36px, 5vw, 72px);
    line-height: 0.96;
    letter-spacing: -0.03em;
}

.wsw-section-head h2 {
    font-size: clamp(28px, 3vw, 46px);
}

.wsw-lead,
.wsw-booking-body small,
.wsw-route-steps p,
.wsw-glass-card p,
.wsw-scenario-card p,
.wsw-rate-card p,
.wsw-review-card p,
.wsw-faq-content p,
.wsw-related-card p,
.wsw-list-card li {
    color: rgba(16, 33, 44, 0.72);
    line-height: 1.75;
}

.wsw-hero-pills,
.wsw-hero-actions,
.wsw-chip-row,
.wsw-trust-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wsw-hero-pills span,
.wsw-trust-row span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow: 0 14px 30px rgba(77, 111, 131, 0.08);
}

.wsw-hero-pills .is-alert {
    background: rgba(255, 122, 64, 0.12);
    color: #d8571f;
}

.wsw-booking-card,
.wsw-glass-card,
.wsw-map-card,
.wsw-list-card,
.wsw-calendar-card,
.wsw-slot-card,
.wsw-rate-card,
.wsw-review-card,
.wsw-faq-item,
.wsw-cta-card,
.wsw-related-card {
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 28px 70px rgba(53, 88, 109, 0.14);
    backdrop-filter: blur(18px);
}

.wsw-booking-card {
    overflow: hidden;
}

.wsw-card-media {
    padding: 16px 16px 0;
}

.wsw-video-placeholder,
.wsw-map-placeholder,
.wsw-gallery-card {
    min-height: 240px;
    border-radius: 24px;
    display: grid;
    align-content: end;
    gap: 8px;
    padding: 20px;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(10, 34, 45, 0.04), rgba(10, 34, 45, 0.7)),
        linear-gradient(135deg, #7be0ff 0%, #57b2d8 34%, #1a607e 65%, #0f2431 100%);
}

.wsw-video-placeholder strong,
.wsw-map-placeholder strong {
    font-family: "Manrope", sans-serif;
    font-size: 28px;
}

.wsw-booking-body {
    display: grid;
    gap: 16px;
    padding: 22px;
}

.wsw-price-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.wsw-price-row span,
.wsw-field span {
    display: block;
    color: rgba(16, 33, 44, 0.66);
    font-size: 13px;
    margin-bottom: 8px;
}

.wsw-price-row strong {
    font-family: "Manrope", sans-serif;
    font-size: 28px;
}

.wsw-select-chip,
.wsw-day,
.month-tab,
.filter-chip {
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.wsw-select-chip,
.wsw-day,
.wsw-slot-card {
    appearance: none;
    border: 1px solid rgba(16, 33, 44, 0.08);
    background: rgba(255, 255, 255, 0.86);
    color: #10212c;
    cursor: pointer;
}

.wsw-select-chip {
    padding: 12px 14px;
    border-radius: 16px;
}

.wsw-select-chip.is-active,
.wsw-day.is-active,
.wsw-slot-card.is-active {
    background: linear-gradient(135deg, #ff7f46 0%, #ff9a57 100%);
    border-color: transparent;
    color: #fff;
}

.wsw-section {
    padding: 18px 0;
}

.wsw-section-head {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.wsw-trust-section {
    padding-top: 0;
}

.wsw-trust-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.wsw-trust-metrics article {
    padding: 20px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 18px 40px rgba(60, 95, 115, 0.08);
}

.wsw-trust-metrics strong,
.wsw-glass-card strong,
.wsw-scenario-card strong,
.wsw-list-card h2,
.wsw-rate-card strong,
.wsw-review-card strong,
.wsw-related-card strong {
    display: block;
    font-family: "Manrope", sans-serif;
}

.wsw-trust-metrics strong {
    font-size: 30px;
}

.wsw-adv-grid,
.wsw-scenario-grid,
.wsw-rates-grid,
.wsw-review-grid,
.wsw-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.wsw-glass-card,
.wsw-scenario-card,
.wsw-review-card,
.wsw-related-card {
    padding: 22px;
}

.wsw-route-steps {
    display: grid;
    gap: 14px;
}

.wsw-route-steps div {
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.6);
}

.wsw-route-steps strong {
    display: block;
    margin-bottom: 8px;
    font-family: "Manrope", sans-serif;
}

.wsw-map-card {
    padding: 16px;
}

.wsw-gallery-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    gap: 14px;
}

.wsw-gallery-card {
    min-height: 230px;
}

.wsw-gallery-card.tall {
    min-height: 480px;
    grid-row: span 2;
}

.wsw-gallery-card.wide {
    grid-column: span 2;
}

.wsw-scenario-card span {
    color: #20a7d8;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.wsw-list-card {
    padding: 24px;
}

.wsw-list-card ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
}

.wsw-calendar-card {
    padding: 20px;
}

.wsw-calendar-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

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

.wsw-calendar-grid span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(16, 33, 44, 0.52);
}

.wsw-day,
.wsw-calendar-grid .is-empty {
    min-height: 56px;
    border-radius: 18px;
}

.wsw-calendar-grid .is-empty {
    background: transparent;
    border: 0;
}

.wsw-slots {
    display: grid;
    gap: 12px;
}

.wsw-slot-card {
    padding: 18px 20px;
    text-align: left;
    border-radius: 24px;
}

.wsw-slot-card strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 28px;
}

.wsw-rates-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wsw-rate-card {
    padding: 24px;
    display: grid;
    gap: 14px;
}

.wsw-rate-card.is-featured {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(238, 250, 255, 0.94) 100%);
    transform: translateY(-4px);
}

.wsw-review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wsw-faq-list {
    display: grid;
    gap: 12px;
}

.wsw-faq-item {
    padding: 8px;
}

.wsw-faq-trigger {
    width: 100%;
    min-height: 64px;
    border: 0;
    background: transparent;
    text-align: left;
    font-family: "Manrope", sans-serif;
    font-size: 22px;
    padding: 0 14px;
    cursor: pointer;
}

.wsw-faq-content {
    display: none;
    padding: 0 14px 16px;
}

.wsw-faq-item.is-open .wsw-faq-content {
    display: block;
}

.wsw-cta-section {
    padding-top: 26px;
}

.wsw-cta-card {
    padding: 28px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(226, 248, 255, 0.88) 100%);
}

.wsw-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wsw-mobile-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 48px rgba(40, 74, 91, 0.18);
    backdrop-filter: blur(18px);
    z-index: 50;
}

.wsw-mobile-bar strong {
    display: block;
    font-family: "Manrope", sans-serif;
}

@media (max-width: 1180px) {
    .wsw-adv-grid,
    .wsw-scenario-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .wsw-header {
        top: 68px;
    }

    .wsw-header-inner,
    .wsw-hero-grid,
    .wsw-split,
    .wsw-rates-grid,
    .wsw-review-grid,
    .wsw-related-grid,
    .wsw-trust-metrics,
    .wsw-gallery-grid {
        grid-template-columns: 1fr;
    }

    .wsw-header-inner {
        display: grid;
    }

    .wsw-nav {
        overflow-x: auto;
        padding-bottom: 4px;
        flex-wrap: nowrap;
    }

    .wsw-gallery-card.tall,
    .wsw-gallery-card.wide {
        min-height: 220px;
        grid-row: auto;
        grid-column: auto;
    }

    .wsw-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .wsw-shell {
        padding-bottom: 96px;
    }

    .wsw-header-cta {
        display: none;
    }

    .wsw-hero-copy h1,
    .wsw-section-head h2,
    .wsw-cta-card h2 {
        font-size: 34px;
        line-height: 1.02;
    }

    .wsw-trust-metrics,
    .wsw-adv-grid,
    .wsw-scenario-grid,
    .wsw-rates-grid,
    .wsw-review-grid,
    .wsw-related-grid,
    .wsw-calendar-grid {
        grid-template-columns: 1fr;
    }

    .wsw-calendar-grid span {
        display: none;
    }

    .wsw-mobile-bar {
        display: flex;
    }
}
