:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #24231f;
    background: #f6f4f0;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --muted: #77756f;
    --line: #e7e3dc;
    --green: #315c49;
    --green-dark: #244737;
    --surface: #fff;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
}

button,
input,
textarea {
    font: inherit;
}

.site-header,
.site-footer {
    width: min(1120px, calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--green);
    color: #fff;
    font-family: Georgia, serif;
    font-size: 19px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-header .header-actions > a {
    white-space: nowrap;
}

.header-cta {
    width: auto;
    min-height: 38px;
}

.header-action {
    margin: 0;
}

.page-shell {
    width: min(1120px, calc(100% - 48px));
    min-height: calc(100vh - 148px);
    margin: 0 auto;
    display: grid;
    align-items: center;
}

.auth-layout {
    width: min(920px, 100%);
    margin: 38px auto 58px;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 20px 60px rgb(42 37 26 / 7%);
}

.auth-intro {
    padding: 56px 48px;
    background: #eaece4;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

.auth-intro h1,
.dashboard-heading h1 {
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 55px);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 1.03;
}

.auth-intro > p:last-of-type {
    max-width: 340px;
    color: #65675e;
    font-size: 15px;
    line-height: 1.75;
}

.intro-note {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid rgb(49 92 73 / 18%);
    color: #5d6259;
    font-size: 12px;
    line-height: 1.6;
}

.auth-form-panel {
    padding: 56px 48px;
}

.auth-form-panel h2 {
    margin-bottom: 8px;
    font-size: 23px;
    letter-spacing: -0.04em;
}

.form-subtitle {
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.button-google {
    width: 100%;
    gap: 11px;
    border: 1px solid var(--line);
    background: #fff;
    color: #24231f;
}

.button-google:hover {
    background: #faf9f7;
}

.button-google svg {
    width: 18px;
    height: 18px;
}

.auth-divider {
    margin: 22px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 11px;
}

.auth-divider::before,
.auth-divider::after {
    height: 1px;
    flex: 1;
    background: var(--line);
    content: "";
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
}

.form-field input {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid #dedbd4;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: inherit;
}

.form-field textarea {
    width: 100%;
    min-height: 130px;
    padding: 12px 13px;
    border: 1px solid #dedbd4;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: inherit;
    line-height: 1.55;
    resize: vertical;
}

.form-field select {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid #dedbd4;
    border-radius: 9px;
    background: #fff;
    color: inherit;
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgb(49 92 73 / 12%);
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 62px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    padding: 5px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--green);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.password-toggle:focus-visible {
    border-radius: 4px;
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.password-strength {
    margin-top: 10px;
}

.strength-heading {
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 10px;
}

.strength-heading [data-strength-label] {
    color: #77756f;
    font-weight: 700;
}

.strength-track {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #ebe9e3;
}

.strength-track > span {
    width: 0;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: #bd5147;
    transition: width 150ms ease, background-color 150ms ease;
}

.strength-track[data-level="2"] > span {
    background: #d19a38;
}

.strength-track[data-level="3"] > span {
    background: #7b9a45;
}

.strength-track[data-level="4"],
.strength-track[data-level="5"] {
    background: #e1e9df;
}

.strength-track[data-level="4"] > span,
.strength-track[data-level="5"] > span {
    background: var(--green);
}

.form-field textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgb(49 92 73 / 12%);
}

.field-hint {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.button-primary {
    width: 100%;
    background: var(--green);
    color: #fff;
}

.button-primary:hover {
    background: var(--green-dark);
}

.button-quiet {
    min-height: 38px;
    background: transparent;
    color: #484741;
}

.button-quiet:hover {
    background: #ebe9e3;
}

.form-error {
    margin-bottom: 20px;
    padding: 12px 13px;
    border: 1px solid #f0c8c4;
    border-radius: 9px;
    background: #fff4f2;
    color: #8f342e;
    font-size: 12px;
    line-height: 1.5;
}

.auth-switch {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.auth-switch a,
.text-link {
    color: var(--green);
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.dashboard {
    width: min(920px, 100%);
    margin: 56px auto;
}

.hero {
    padding-block: 28px 70px;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 7vw, 78px);
    font-weight: 400;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.hero-copy {
    max-width: 560px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 28px 0 56px;
}

.hero-button {
    width: auto;
}

.home-page {
    width: min(1080px, 100%);
    margin: 24px auto 72px;
}

.home-hero {
    min-height: 470px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.96fr);
    align-items: center;
    gap: clamp(36px, 6vw, 76px);
    padding: 30px 0 72px;
}

.home-copy {
    position: relative;
    z-index: 1;
}

.home-copy .eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    color: #526d5b;
    font-size: 10px;
    letter-spacing: 0.13em;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d57e54;
    box-shadow: 0 0 0 4px #f3e8dd;
}

.home-copy h1 {
    max-width: 560px;
    margin-bottom: 21px;
    color: #202a26;
    font-size: clamp(48px, 5.5vw, 70px);
    font-weight: 680;
    letter-spacing: -0.072em;
    line-height: 0.99;
}

.home-copy h1 span {
    color: #397354;
}

.home-copy .hero-copy {
    max-width: 465px;
    margin-bottom: 0;
    color: #6b716b;
    font-size: 15px;
    line-height: 1.8;
}

.home-copy .hero-actions {
    align-items: center;
    gap: 23px;
    margin: 30px 0 17px;
}

.home-copy .hero-button {
    min-height: 50px;
    gap: 13px;
    padding-inline: 21px;
    border-radius: 10px;
    background: #285640;
    box-shadow: 0 7px 16px rgb(40 86 64 / 15%);
}

.home-copy .hero-button:hover {
    background: #1f4533;
    transform: translateY(-1px);
}

.home-copy .hero-button span {
    font-size: 17px;
    font-weight: 400;
    transition: transform 150ms ease;
}

.home-copy .hero-button:hover span {
    transform: translateX(3px);
}

.home-copy .text-link {
    color: #545d56;
    font-size: 12px;
    text-decoration: none;
}

.home-copy .text-link:hover {
    color: var(--green);
    text-decoration: underline;
}

.hero-caption {
    margin: 0;
    color: #8b8d87;
    font-size: 11px;
}

.workspace-preview {
    position: relative;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgb(64 81 67 / 9%);
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 27px 70px rgb(43 56 45 / 13%), 0 4px 12px rgb(43 56 45 / 5%);
    transform: rotate(1deg);
}

.workspace-preview::before {
    position: absolute;
    z-index: -1;
    inset: 28px -22px -20px 35px;
    border-radius: 24px;
    background: #e7ebe2;
    content: "";
    transform: rotate(-3deg);
}

.preview-topbar {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border-bottom: 1px solid #f0f1ed;
}

.preview-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #293a30;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: -0.03em;
}

.preview-brand-mark {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #315c49;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 13px;
}

.preview-window-label {
    margin-left: auto;
    color: #9a9f99;
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.13em;
}

.preview-avatar {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    margin-left: 7px;
    border-radius: 50%;
    background: #f4e7d9;
    color: #906441;
    font-size: 9px;
    font-weight: 700;
}

.preview-content {
    min-height: 306px;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
}

.preview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 9px;
    border-right: 1px solid #f0f1ed;
}

.preview-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 8px;
    border-radius: 7px;
    color: #818781;
    font-size: 9px;
}

.preview-nav > span {
    width: 13px;
    color: #8a948b;
    font-size: 12px;
    text-align: center;
}

.preview-nav.active {
    background: #eff4ef;
    color: #315c49;
    font-weight: 700;
}

.preview-nav.active > span {
    color: #315c49;
}

.preview-main {
    min-width: 0;
    padding: 22px 19px 14px;
}

.preview-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 17px;
}

.preview-kicker {
    color: #969c94;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.preview-heading h2 {
    margin: 4px 0 0;
    color: #27332c;
    font-size: 20px;
    letter-spacing: -0.055em;
}

.preview-add {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #315c49;
    color: #fff;
    font-size: 16px;
}

.preview-summary {
    min-height: 57px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border: 1px solid #e9eee6;
    border-radius: 9px;
    background: #f7f9f5;
}

.preview-summary-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e7efe4;
    color: #4d795b;
    font-size: 15px;
}

.preview-summary strong,
.preview-summary small {
    display: block;
}

.preview-summary strong {
    margin-bottom: 3px;
    color: #485149;
    font-size: 9px;
}

.preview-summary small {
    color: #8b918a;
    font-size: 8px;
}

.preview-section-label {
    margin: 19px 0 8px;
    color: #9a9f99;
    font-size: 7px;
    font-weight: 750;
    letter-spacing: 0.13em;
}

.preview-post {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f1ed;
}

.preview-art {
    width: 37px;
    height: 37px;
    position: relative;
    flex: 0 0 37px;
    overflow: hidden;
    border-radius: 7px;
    background: linear-gradient(145deg, #d7a77c 0 42%, #edd4b5 43% 63%, #73856a 64%);
}

.preview-art span {
    position: absolute;
    bottom: 0;
    width: 13px;
    height: 23px;
    border-radius: 10px 10px 0 0;
    background: #bd7956;
}

.preview-art span:nth-child(1) {
    left: 3px;
    height: 16px;
    background: #506e56;
}

.preview-art span:nth-child(2) {
    left: 13px;
}

.preview-art span:nth-child(3) {
    right: 0;
    height: 13px;
    background: #344f3a;
}

.preview-post-copy {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.preview-post-copy strong {
    overflow: hidden;
    color: #485149;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-post-copy span {
    color: #979d96;
    font-size: 7px;
}

.preview-status {
    margin-left: auto;
    padding: 5px 6px;
    border-radius: 5px;
    background: #f4efe3;
    color: #947746;
    font-size: 6px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.preview-status.scheduled {
    background: #e9f2e9;
    color: #477451;
}

.preview-scheduled-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #eef2ed;
    color: #64806b;
    font-size: 17px;
}

.preview-footnote {
    margin: 11px 0 0;
    color: #a2a69f;
    font-size: 7px;
    text-align: right;
}

.home-how {
    padding-top: 4px;
}

.how-heading {
    margin-bottom: 25px;
}

.how-heading .eyebrow {
    margin-bottom: 9px;
    color: #8a7b67;
    font-size: 9px;
}

.how-heading h2 {
    max-width: 540px;
    margin: 0;
    color: #26322b;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 620;
    letter-spacing: -0.055em;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #e6e8e1;
    border-bottom: 1px solid #e6e8e1;
}

.how-step {
    min-height: 142px;
    display: flex;
    gap: 16px;
    padding: 23px 24px 22px 0;
}

.how-step + .how-step {
    padding-left: 24px;
    border-left: 1px solid #e6e8e1;
}

.step-number {
    color: #ba7956;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.how-step h3 {
    margin: 0 0 7px;
    color: #303a33;
    font-size: 13px;
    letter-spacing: -0.025em;
}

.how-step p {
    max-width: 250px;
    margin: 0;
    color: #777e77;
    font-size: 11px;
    line-height: 1.7;
}

.platform-note {
    max-width: 790px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0 0;
    color: #737a73;
    font-size: 10px;
    line-height: 1.65;
}

.platform-note > span:first-child {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    display: grid;
    place-items: center;
    border: 1px solid #d8ddd5;
    border-radius: 50%;
    color: #6d806f;
    font-family: Georgia, serif;
    font-size: 10px;
    font-weight: 700;
}

.platform-note strong {
    color: #4c574f;
}

.summary-grid,
.admin-metrics {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.admin-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summary-card {
    min-height: 100px;
    padding: 19px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    color: var(--muted);
    font-size: 12px;
}

.summary-card strong {
    color: #24231f;
    font-size: 25px;
    letter-spacing: -0.04em;
}

.workspace-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: 18px;
}

.workspace-panel {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
}

.analytics-panel {
    margin-top: 20px;
    scroll-margin-top: 24px;
}

.analytics-summary {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.analytics-metric {
    min-height: 92px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 8px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fbfaf8;
    color: var(--muted);
    font-size: 11px;
}

.analytics-metric strong {
    grid-row: span 2;
    color: #24231f;
    font-size: 26px;
    letter-spacing: -0.05em;
}

.analytics-metric small {
    font-size: 10px;
}

.analytics-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.65fr);
    gap: 14px;
}

.chart-card {
    min-width: 0;
    padding: 18px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.chart-heading h3 {
    margin: 0;
    font-size: 13px;
    letter-spacing: -0.02em;
}

.chart-heading p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 10px;
}

.analytics-chart {
    width: 100%;
    height: auto;
    margin-top: 13px;
    overflow: visible;
}

.chart-grid-line {
    stroke: #eeece7;
    stroke-dasharray: 3 5;
    stroke-width: 1;
}

.chart-axis-label,
.chart-label {
    fill: #88867e;
    font-family: inherit;
    font-size: 10px;
}

.chart-value {
    fill: #57564f;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
}

.chart-bar {
    fill: #47745d;
}

.chart-bar-empty {
    fill: #e6e8e2;
}

.chart-empty-note {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
    text-align: center;
}

.status-chart {
    margin-top: 21px;
    display: grid;
    gap: 17px;
}

.status-chart-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 9px;
}

.status-chart-label,
.status-chart-count {
    color: #67655f;
    font-size: 10px;
    text-transform: capitalize;
}

.status-chart-count {
    color: #393832;
    text-align: right;
}

.status-track {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #f0eee9;
}

.status-fill {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: #47745d;
}

.status-fill-scheduled {
    background: #7893a0;
}

.status-fill-publishing {
    background: #c3903b;
}

.status-fill-failed {
    background: #bd5147;
}

.status-fill-cancelled {
    background: #aaa79f;
}

.analytics-disclaimer {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.workspace-panel h2 {
    margin-bottom: 22px;
    font-size: 19px;
    letter-spacing: -0.04em;
}

.workspace-panel .button-primary {
    width: auto;
}

.optional-label,
.count-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
}

.optional-label {
    margin-left: 5px;
}

.section-heading,
.post-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading .eyebrow {
    margin-bottom: 8px;
}

.post-list {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.post-card {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
}

.post-card h3,
.empty-state h3 {
    margin: 0;
    font-size: 14px;
}

.post-card p {
    margin: 12px 0;
    color: #65635d;
    font-size: 12px;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.post-card time {
    color: var(--muted);
    font-size: 10px;
}

.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.post-card-footer form {
    margin: 0;
}

.draft-media-grid {
    margin: 14px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.draft-media-item {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #faf9f7;
}

.draft-media-item img,
.draft-media-item video {
    width: 100%;
    height: 150px;
    display: block;
    background: #eeece7;
    object-fit: cover;
}

.draft-media-item figcaption {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 7px 8px;
}

.draft-media-item figcaption > span {
    min-width: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.draft-media-item figcaption form {
    margin: 0;
}

.media-remove {
    padding: 4px 6px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #8f342e;
    cursor: pointer;
    font-size: 10px;
}

.media-remove:hover {
    background: #fff0ed;
}

.attach-media-button {
    position: relative;
    cursor: pointer;
}

.attach-submit {
    color: var(--green);
}

.post-card-footer .button {
    min-height: 30px;
    padding-inline: 10px;
    font-size: 11px;
}

.accounts-panel,
.scheduling-panel {
    margin-top: 20px;
}

.accounts-panel .section-heading form {
    margin: 0;
}

.accounts-panel .section-heading .button {
    width: auto;
}

.account-list {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.account-card {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
}

.account-avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf1eb;
    color: var(--green);
    font-size: 22px;
}

.account-name {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
}

.account-name small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 400;
    text-transform: capitalize;
}

.account-card form {
    margin: 0;
}

.account-card .button {
    min-height: 34px;
    padding-inline: 11px;
    font-size: 11px;
}

.muted-copy {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.account-panel {
    margin-top: 18px;
}

.profile-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 4px 0 24px;
}

.profile-picture {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    overflow: hidden;
    border-radius: 50%;
    object-fit: cover;
}

.profile-picture-placeholder {
    display: grid;
    place-items: center;
    background: #edf1eb;
    color: var(--green);
    font-size: 26px;
    font-weight: 700;
}

.profile-preview strong,
.profile-preview small {
    display: block;
}

.profile-preview strong {
    margin-bottom: 5px;
    font-size: 14px;
}

.profile-preview small {
    color: var(--muted);
    font-size: 12px;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.account-actions form {
    margin: 0;
}

.account-actions .button {
    width: auto;
}

.danger-panel {
    border-color: #edc9c4;
}

.danger-panel .eyebrow {
    color: #a33e35;
}

.button-danger {
    width: 100%;
    background: #a33e35;
    color: #fff;
}

.button-danger:hover {
    background: #852e27;
}

.notice-banner {
    margin: 18px 0 0;
    padding: 12px 15px;
    border: 1px solid rgb(49 92 73 / 20%);
    border-radius: 9px;
    background: #edf1eb;
    color: var(--green-dark);
    font-size: 12px;
    line-height: 1.5;
}

.schedule-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.schedule-form-grid .form-field:nth-child(n + 3) {
    grid-column: 1 / -1;
}

.status-pill {
    padding: 5px 8px;
    border-radius: 999px;
    background: #edf1eb;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    text-transform: capitalize;
}

.empty-state {
    min-height: 210px;
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 22px;
    color: var(--muted);
    text-align: center;
}

.empty-state .card-icon {
    margin-bottom: 14px;
}

.empty-state p {
    max-width: 300px;
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.6;
}

.admin-note {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.dashboard-heading {
    max-width: 650px;
}

.dashboard-heading h1 {
    font-size: clamp(40px, 5vw, 58px);
}

.dashboard-heading > p:last-child {
    max-width: 570px;
    color: var(--muted);
    line-height: 1.7;
}

.dashboard-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-card {
    min-height: 190px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
}

.card-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 11px;
    background: #edf1eb;
    color: var(--green);
    font-size: 16px;
    font-weight: 800;
}

.dashboard-card h2 {
    margin-bottom: 8px;
    font-size: 16px;
    letter-spacing: -0.03em;
}

.dashboard-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.site-footer {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
}

.footer-links {
    display: flex;
    gap: 18px;
}

.footer-links a,
.legal-consent-copy a {
    color: var(--green-dark);
    text-underline-offset: 3px;
}

.legal-document {
    width: min(760px, 100%);
    align-self: start;
    margin: 52px auto;
    padding: 40px 48px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    line-height: 1.75;
}

.legal-document h1 {
    margin-bottom: 8px;
}

.legal-document h2 {
    margin: 30px 0 8px;
    font-size: 18px;
}

.legal-document p,
.legal-document li {
    color: #55534e;
    font-size: 14px;
}

.legal-document ul {
    padding-left: 22px;
}

.legal-updated {
    margin-top: 0;
    color: var(--muted) !important;
    font-size: 12px !important;
}

.legal-consent-copy {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 720px) {
    .site-header,
    .site-footer,
    .page-shell {
        width: min(100% - 32px, 520px);
    }

    .site-header {
        height: 70px;
    }

    .site-footer {
        flex-wrap: wrap;
        justify-content: flex-start;
        padding-block: 14px;
    }

    .page-shell {
        min-height: calc(100vh - 134px);
    }

    .legal-document {
        margin: 28px auto;
        padding: 30px 24px;
    }

    .auth-layout {
        margin: 22px auto 36px;
        grid-template-columns: 1fr;
    }

    .auth-intro,
    .auth-form-panel {
        padding: 32px 26px;
    }

    .auth-intro h1 {
        max-width: 390px;
        font-size: 42px;
    }

    .intro-note {
        margin-top: 28px;
    }

    .dashboard {
        margin: 38px auto;
    }

    .home-page {
        margin: 12px auto 48px;
    }

    .home-hero {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding: 28px 0 52px;
    }

    .home-copy h1 {
        max-width: 600px;
        font-size: clamp(48px, 10vw, 66px);
    }

    .workspace-preview {
        width: min(540px, calc(100% - 12px));
        justify-self: center;
    }

    .how-steps {
        grid-template-columns: 1fr;
    }

    .how-step {
        min-height: 0;
        padding: 18px 0;
    }

    .how-step + .how-step {
        padding-left: 0;
        border-top: 1px solid #e6e8e1;
        border-left: 0;
    }

    .how-step p {
        max-width: 420px;
    }

    .workspace-grid {
        grid-template-columns: 1fr;
    }

    .analytics-grid {
        grid-template-columns: 1fr;
    }

    .schedule-form-grid {
        grid-template-columns: 1fr;
    }

    .schedule-form-grid .form-field:nth-child(n + 3) {
        grid-column: auto;
    }

    .admin-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        gap: 12px;
        font-size: 10px;
    }

    .header-actions {
        gap: 11px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .home-page {
        margin-top: 4px;
    }

    .home-hero {
        gap: 28px;
        padding-top: 24px;
    }

    .home-copy .eyebrow {
        margin-bottom: 19px;
        font-size: 9px;
    }

    .home-copy h1 {
        font-size: clamp(42px, 12vw, 54px);
    }

    .home-copy .hero-copy {
        font-size: 14px;
    }

    .home-copy .hero-actions {
        align-items: flex-start;
        gap: 15px;
        margin-top: 23px;
    }

    .workspace-preview {
        padding: 8px;
        border-radius: 16px;
        transform: none;
    }

    .workspace-preview::before {
        inset: 18px -8px -12px 18px;
    }

    .preview-content {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    .preview-sidebar {
        gap: 5px;
        padding: 17px 5px;
    }

    .preview-nav {
        gap: 5px;
        padding-inline: 5px;
        font-size: 8px;
    }

    .preview-main {
        padding: 18px 11px 12px;
    }

    .preview-status {
        padding: 4px;
        font-size: 5px;
    }

    .how-heading h2 {
        font-size: 27px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    background: #f7f8f7;
}

.workspace-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 25px 16px 16px;
    border-right: 1px solid #e8ebe8;
    background: #fff;
}

.workspace-brand {
    padding: 0 9px;
    font-size: 16px;
}

.workspace-brand .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.workspace-nav {
    margin-top: 42px;
}

.sidebar-label {
    margin: 0 10px 10px;
    color: #939992;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sidebar-label-spaced {
    margin-top: 34px;
}

.workspace-nav-link {
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 3px 0;
    padding: 0 11px;
    border-radius: 9px;
    color: #606862;
    font-size: 13px;
    font-weight: 550;
    text-decoration: none;
    transition: background-color 140ms ease, color 140ms ease;
}

.workspace-nav-link:hover,
.workspace-nav-link:focus-visible {
    background: #f3f6f3;
    color: #244737;
}

.workspace-nav-link[href="#overview"] {
    background: #edf3ee;
    color: #244737;
    font-weight: 700;
}

.app-shell:has(#analytics:target) .workspace-nav-link[href="#overview"],
.app-shell:has(#drafts:target) .workspace-nav-link[href="#overview"],
.app-shell:has(#schedule:target) .workspace-nav-link[href="#overview"],
.app-shell:has(#accounts:target) .workspace-nav-link[href="#overview"] {
    background: transparent;
    color: #606862;
    font-weight: 550;
}

.app-shell:has(#analytics:target) .workspace-nav-link[href="#analytics"],
.app-shell:has(#drafts:target) .workspace-nav-link[href="#drafts"],
.app-shell:has(#schedule:target) .workspace-nav-link[href="#schedule"],
.app-shell:has(#accounts:target) .workspace-nav-link[href="#accounts"] {
    background: #edf3ee;
    color: #244737;
    font-weight: 700;
}

.nav-icon {
    width: 20px;
    color: #78847b;
    font-size: 17px;
    text-align: center;
}

.sidebar-coming-soon {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 11px;
    color: #929992;
    font-size: 11px;
}

.sidebar-coming-soon > span {
    width: 20px;
    color: #a1a8a2;
    font-size: 16px;
    text-align: center;
}

.sidebar-account {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 14px 4px 2px;
    border-top: 1px solid #edf0ed;
}

.sidebar-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e6eee8;
    color: #315c49;
    font-size: 13px;
    font-weight: 700;
}

.sidebar-user-name {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    color: #303832;
    font-size: 12px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user-name small {
    display: block;
    margin-top: 4px;
    color: #909790;
    font-size: 10px;
    font-weight: 400;
}

.sidebar-signout {
    margin: 0;
}

.sidebar-signout button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #727a73;
    cursor: pointer;
    font-size: 17px;
}

.sidebar-signout button:hover {
    background: #f3f6f3;
    color: #244737;
}

.app-main {
    min-width: 0;
}

.workspace-topbar {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 clamp(24px, 4vw, 56px);
    border-bottom: 1px solid #e8ebe8;
    background: rgb(255 255 255 / 78%);
    color: #58615a;
    font-size: 12px;
}

.workspace-topbar > span:first-child {
    font-weight: 650;
}

.workspace-topbar > span:first-child span {
    margin: 0 7px;
    color: #a0a6a0;
}

.topbar-date {
    color: #89918a;
}

.workspace-page-shell {
    width: min(1320px, 100%);
    min-height: calc(100vh - 68px);
    display: block;
    padding: 30px clamp(24px, 4vw, 56px) 60px;
}

.workspace-page-shell .dashboard {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.workspace-page-shell #overview,
.workspace-page-shell #analytics,
.workspace-page-shell #accounts,
.workspace-page-shell #create-draft,
.workspace-page-shell #drafts,
.workspace-page-shell #schedule,
.workspace-page-shell #queue {
    scroll-margin-top: 24px;
}

.workspace-page-shell .dashboard-heading {
    max-width: 760px;
}

.workspace-page-shell .dashboard-heading .eyebrow {
    margin-bottom: 11px;
}

.workspace-page-shell .dashboard-heading h1 {
    margin-bottom: 10px;
    color: #202923;
    font-family: inherit;
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 680;
    letter-spacing: -0.055em;
    line-height: 1.1;
}

.workspace-page-shell .dashboard-heading > p:last-child {
    margin-bottom: 0;
    color: #727a73;
    font-size: 14px;
}

.workspace-page-shell .summary-grid {
    margin-top: 27px;
    gap: 16px;
}

.workspace-page-shell .summary-card,
.workspace-page-shell .workspace-panel {
    border-color: #e7ebe7;
    border-radius: 13px;
    box-shadow: 0 2px 8px rgb(30 45 35 / 3%);
}

.workspace-page-shell .summary-card {
    min-height: 108px;
    padding: 18px 20px;
    background: #fff;
}

.workspace-page-shell .summary-card strong {
    font-size: 28px;
}

.workspace-page-shell .workspace-panel {
    padding: 24px;
}

.workspace-page-shell .analytics-panel {
    margin-top: 18px;
}

.workspace-page-shell .analytics-metric,
.workspace-page-shell .chart-card,
.workspace-page-shell .post-card {
    border-color: #e9ece9;
    border-radius: 10px;
}

.workspace-page-shell .analytics-metric {
    background: #fafbfa;
}

.workspace-page-shell .notice-banner {
    border-radius: 10px;
}

@media (max-width: 900px) {
    .app-shell {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .workspace-sidebar {
        padding-inline: 12px;
    }

    .workspace-page-shell {
        padding-inline: 24px;
    }
}

@media (max-width: 720px) {
    .app-shell {
        display: block;
    }

    .workspace-sidebar {
        position: static;
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: minmax(130px, 1fr) auto;
        align-items: center;
        gap: 10px 16px;
        padding: 12px 16px 0;
        border-right: 0;
        border-bottom: 1px solid #e8ebe8;
    }

    .workspace-brand {
        grid-column: 1;
        grid-row: 1;
    }

    .workspace-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        align-items: center;
        gap: 4px;
        overflow-x: auto;
        margin: 0 -16px;
        padding: 0 12px 10px;
        scrollbar-width: thin;
    }

    .sidebar-label,
    .sidebar-coming-soon {
        display: none;
    }

    .workspace-nav-link {
        min-height: 38px;
        flex: 0 0 auto;
        gap: 7px;
        margin: 0;
        padding: 0 10px;
        font-size: 11px;
    }

    .nav-icon {
        width: auto;
        font-size: 15px;
    }

    .sidebar-account {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .sidebar-avatar {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .sidebar-user-name {
        max-width: 110px;
        font-size: 11px;
    }

    .sidebar-user-name small {
        display: none;
    }

    .sidebar-signout button {
        width: 28px;
        height: 28px;
    }

    .workspace-topbar {
        height: 48px;
        padding-inline: 18px;
        font-size: 11px;
    }

    .workspace-page-shell {
        width: 100%;
        min-height: calc(100vh - 120px);
        margin: 0;
        padding: 26px 16px 42px;
    }

    .workspace-page-shell .dashboard {
        margin: 0 auto;
    }

    .workspace-page-shell .workspace-panel {
        padding: 19px;
    }

    .workspace-page-shell .dashboard-heading h1 {
        font-size: clamp(28px, 8vw, 38px);
    }
}

@media (max-width: 480px) {
    .workspace-page-shell .summary-grid {
        gap: 9px;
    }

    .workspace-page-shell .summary-card {
        min-height: 88px;
        padding: 14px;
    }

    .workspace-page-shell .analytics-summary {
        grid-template-columns: 1fr;
    }

    .workspace-topbar .topbar-date {
        display: none;
    }
}
