:root {
    --ink: #17231f;
    --paper: #f5f1e8;
    --cream: #fffaf0;
    --green: #1f5c4a;
    --green-dark: #153f34;
    --coral: #ef765f;
    --yellow: #f2c766;
    --blue: #9fc8d5;
    --mint: #a9d8bd;
    --lilac: #c5b9d9;
    --line: rgba(23, 35, 31, .14);
    --shadow: 0 24px 70px rgba(27, 55, 45, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
.site-header {
    max-width: 1240px;
    margin: auto;
    min-height: 84px;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--cream);
    background: var(--green);
    border-radius: 12px 12px 12px 3px;
    font-family: Georgia, serif;
    font-size: 23px;
}

nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
.home-nav { position: relative; gap: 22px; }
.home-nav .home-menu { display: none !important; position: relative; }
.home-menu summary {
    min-height: 38px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--green);
    background: #fffaf2;
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
    list-style: none;
}
.home-menu summary::-webkit-details-marker { display: none; }
.home-menu-panel {
    width: 230px;
    padding: 10px;
    position: absolute;
    z-index: 40;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fffaf2;
    box-shadow: 0 18px 45px rgba(23,35,31,.14);
}
.home-menu-panel a {
    padding: 10px 11px;
    border-radius: 9px;
    color: #31433b;
    font-size: 12px;
    font-weight: 800;
}
.home-menu-panel a:hover { color: var(--green); background: #eef6f0; }
.home-menu-panel .home-menu-cta { margin-top: 4px; color: white; background: var(--green); text-align: center; }
.button {
    display: inline-flex;
    align-items: center;
    gap: 34px;
    padding: 15px 21px;
    border-radius: 8px;
    color: white;
    background: var(--green);
    font-weight: 750;
    box-shadow: 0 8px 25px rgba(31, 92, 74, .18);
}
.button:hover { background: var(--green-dark); transform: translateY(-1px); }
.button-small { padding: 10px 15px; }
.button-ghost { color: var(--green); background: transparent; border: 1px solid var(--green); box-shadow: none; }
.button-ghost:hover { color: white; }

.hero {
    max-width: 1240px;
    margin: 34px auto 96px;
    padding: 34px 28px;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 76px;
    align-items: center;
}
.eyebrow { margin: 0 0 16px; color: var(--coral); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.05; letter-spacing: -.045em; }
h1 { max-width: 600px; margin-bottom: 25px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(48px, 5.6vw, 78px); font-weight: 500; }
h1 em { color: var(--green); font-weight: inherit; }
.lead { max-width: 540px; margin-bottom: 30px; color: #4e5c56; font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.microcopy { color: #6c7772; font-size: 12px; }
.trust-row { display: flex; gap: 35px; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); }
.trust-row div { display: grid; grid-template-columns: auto auto; align-items: center; gap: 7px; }
.trust-row strong { font-family: Georgia, serif; font-size: 25px; color: var(--green); }
.trust-row span { max-width: 60px; font-size: 10px; line-height: 1.2; text-transform: uppercase; letter-spacing: .06em; }

.canvas-preview { padding: 18px; background: var(--cream); border: 1px solid rgba(23,35,31,.1); border-radius: 14px; box-shadow: var(--shadow); transform: rotate(1deg); }
.preview-top { padding: 3px 3px 16px; display: flex; justify-content: space-between; font-weight: 800; font-size: 13px; }
.status-dot { color: var(--green); font-size: 11px; }
.status-dot::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #65ad77; }
.canvas-grid { display: grid; grid-template-columns: repeat(10, 1fr); grid-template-rows: repeat(2, 132px) 96px; gap: 6px; }
.note { padding: 12px; border-radius: 5px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.note small { font-size: 8px; letter-spacing: .1em; font-weight: 900; }
.note b { font-family: Georgia, serif; font-size: 14px; line-height: 1.15; }
.note span { width: fit-content; padding: 4px 6px; background: rgba(255,255,255,.6); border-radius: 3px; font-size: 8px; box-shadow: 0 2px 5px rgba(0,0,0,.06); }
.note-yellow { background: var(--yellow); }
.note-blue { background: var(--blue); }
.note-coral { background: var(--coral); }
.note-mint { background: var(--mint); }
.note-lilac { background: var(--lilac); }
.tall { grid-row: span 2; grid-column: span 2; }
.hero-note { grid-row: span 2; grid-column: span 2; justify-content: center; }
.canvas-grid > :nth-child(2), .canvas-grid > :nth-child(4), .canvas-grid > :nth-child(6), .canvas-grid > :nth-child(7) { grid-column: span 2; }
.wide { grid-column: span 5; }

.home-ai-advantage { max-width: 1184px; margin: -36px auto 96px; padding: 36px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr); gap: 42px; align-items: center; border: 1px solid rgba(23,35,31,.12); border-radius: 20px; background: #fffaf2; box-shadow: 0 22px 60px rgba(23,35,31,.08); }
.home-ai-copy h2 { max-width: 640px; margin-bottom: 18px; font: 500 clamp(34px, 4vw, 54px)/1.05 Georgia, serif; }
.home-ai-copy p { max-width: 650px; margin-bottom: 24px; color: #53615b; font-size: 15px; line-height: 1.75; }
.home-ai-panel { padding: 22px; display: grid; gap: 12px; border-radius: 18px; color: var(--ink); background: #eef6f0; box-shadow: inset 0 0 0 1px rgba(31,92,74,.14); }
.ai-chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.ai-chip-row span { padding: 7px 10px; border-radius: 18px; color: var(--green); background: rgba(255,255,255,.82); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.ai-chip-row span:first-child { color: white; background: var(--green); }
.ai-chat-card { padding: 16px 18px; border: 1px solid rgba(23,35,31,.1); border-radius: 14px; background: #fffaf2; }
.ai-chat-card small { display: block; margin-bottom: 7px; color: #7a877f; font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.ai-chat-card p { margin: 0; color: #35423c; font-size: 13px; line-height: 1.65; }
.ai-chat-card.user { margin-left: 34px; background: #fff1cf; border-color: #ead09a; }
.ai-chat-card.assistant { margin-right: 34px; background: white; border-color: #c8dccf; }
.ai-benefit-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ai-benefit-list span { min-height: 48px; padding: 10px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--green); font-size: 10px; font-weight: 850; text-align: center; line-height: 1.25; }
.ai-benefit-list span:nth-child(2) { color: var(--ink); background: var(--yellow); }
.ai-benefit-list span:nth-child(3) { color: var(--ink); background: var(--blue); }
.ai-benefit-list span:nth-child(4) { color: var(--ink); background: var(--mint); }

.path-section { padding: 90px max(28px, calc((100vw - 1184px) / 2)); background: var(--ink); color: var(--cream); }
.section-heading { max-width: 660px; margin-bottom: 45px; }
.section-heading h2 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(36px, 4vw, 55px); }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path-card { min-height: 370px; padding: 34px; display: flex; justify-content: space-between; border-radius: 12px; color: var(--ink); }
.business-card { background: var(--yellow); }
.career-card { background: var(--mint); }
.path-card > div { align-self: flex-end; max-width: 420px; }
.path-number { font-family: Georgia, serif; font-size: 25px; opacity: .55; }
.path-label { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.path-card h3 { margin-bottom: 18px; font: 500 43px Georgia, serif; }
.path-card p { font-size: 15px; }
.path-card a { display: inline-block; margin-top: 14px; padding-bottom: 4px; border-bottom: 1px solid; font-weight: 800; }

.steps { max-width: 1184px; margin: 0 auto; padding: 100px 28px 110px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps-grid > div { min-height: 220px; padding: 26px 24px 20px 0; border-right: 1px solid var(--line); }
.steps-grid > div:not(:first-child) { padding-left: 24px; }
.steps-grid span { color: var(--coral); font: 20px Georgia, serif; }
.steps-grid h3 { margin: 48px 0 10px; font: 500 27px Georgia, serif; }
.steps-grid p { color: #66716c; font-size: 14px; }

footer { padding: 26px max(28px, calc((100vw - 1184px) / 2)); display: flex; justify-content: space-between; color: #d8e0dc; background: var(--green-dark); font-size: 12px; }
footer span:first-child { font-weight: 850; }

/* BMC education */
.bmc-main { max-width: 1240px; margin: 0 auto; padding: 42px 28px 105px; }
.bmc-hero { margin-bottom: 82px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 54px; align-items: center; }
.bmc-hero h1 { max-width: 830px; font-size: clamp(45px, 5.4vw, 74px); }
.bmc-hero .lead { max-width: 760px; }
.bmc-quick-card { padding: 30px; border: 1px solid var(--line); border-radius: 18px; color: white; background: var(--green); box-shadow: var(--shadow); }
.bmc-quick-card span { color: var(--yellow); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.bmc-quick-card p { margin: 18px 0 0; color: rgba(255,255,255,.84); font: 500 25px/1.35 Georgia, serif; }
.bmc-perspective-section { margin-bottom: 88px; }
.bmc-perspective-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bmc-perspective-grid article { min-height: 260px; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); border-radius: 16px; background: #fffaf2; box-shadow: 0 16px 38px rgba(23,35,31,.05); }
.bmc-perspective-grid article:first-child { background: var(--yellow); }
.bmc-perspective-grid article:last-child { color: white; background: var(--green); }
.bmc-perspective-grid span { margin-bottom: 15px; color: var(--coral); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.bmc-perspective-grid article:last-child span { color: var(--yellow); }
.bmc-perspective-grid h3 { max-width: 520px; margin-bottom: 12px; font: 500 39px/1.05 Georgia, serif; }
.bmc-perspective-grid p { max-width: 560px; margin: 0; color: #56645d; font-size: 13px; line-height: 1.65; }
.bmc-perspective-grid article:last-child p { color: rgba(255,255,255,.76); }
.bmc-visual-section { margin-bottom: 88px; }
.bmc-board { padding: 14px; display: grid; grid-template-columns: repeat(10, 1fr); grid-template-rows: repeat(2, 150px) 116px; gap: 8px; border: 1px solid rgba(23,35,31,.1); border-radius: 18px; background: #fffaf2; box-shadow: var(--shadow); }
.bmc-block { padding: 17px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 10px; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.32); }
.bmc-block small { font-size: 10px; font-weight: 900; opacity: .62; }
.bmc-block strong { font: 500 23px/1.05 Georgia, serif; letter-spacing: -.04em; }
.bmc-block span { width: fit-content; max-width: 100%; padding: 6px 8px; border-radius: 7px; background: rgba(255,255,255,.55); color: rgba(23,35,31,.78); font-size: 10px; font-weight: 800; line-height: 1.25; }
.bmc-kp { grid-column: 1 / 3; grid-row: 1 / 3; background: var(--yellow); }
.bmc-ka { grid-column: 3 / 5; grid-row: 1; background: var(--blue); }
.bmc-kr { grid-column: 3 / 5; grid-row: 2; background: var(--mint); }
.bmc-vp { grid-column: 5 / 7; grid-row: 1 / 3; color: white; background: var(--coral); }
.bmc-vp span { color: rgba(23,35,31,.78); }
.bmc-cr { grid-column: 7 / 9; grid-row: 1; background: var(--lilac); }
.bmc-ch { grid-column: 7 / 9; grid-row: 2; background: var(--blue); }
.bmc-cs { grid-column: 9 / 11; grid-row: 1 / 3; background: var(--mint); }
.bmc-cost { grid-column: 1 / 6; grid-row: 3; background: #f6d9a1; }
.bmc-rev { grid-column: 6 / 11; grid-row: 3; color: white; background: var(--green); }
.bmc-rev span { color: rgba(23,35,31,.78); }
.bmc-foundation-section { margin-bottom: 88px; }
.bmc-foundation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bmc-foundation-grid article { min-height: 245px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: #fffaf2; box-shadow: 0 12px 30px rgba(23,35,31,.04); }
.bmc-foundation-grid span { color: var(--coral); font: 500 22px Georgia, serif; }
.bmc-foundation-grid h3 { margin: 18px 0 9px; font: 500 28px/1.05 Georgia, serif; }
.bmc-foundation-grid p { margin: 0; color: #56645d; font-size: 12px; line-height: 1.65; }
.bmc-foundation-grid small { margin-top: auto; padding-top: 18px; color: var(--green); font-size: 10px; font-weight: 850; line-height: 1.45; }
.bmc-personal-section { margin-bottom: 86px; padding: 34px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(360px, 1fr); gap: 34px; align-items: start; border: 1px solid var(--line); border-radius: 18px; background: #fffaf2; box-shadow: var(--shadow); }
.bmc-personal-section h2 { max-width: 560px; font: 500 clamp(34px, 4vw, 54px)/1.05 Georgia, serif; }
.bmc-personal-section p { color: #5f6b65; font-size: 13px; line-height: 1.7; }
.personal-monetize-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.personal-monetize-map article { min-height: 150px; padding: 18px; display: flex; flex-direction: column; border-radius: 12px; background: #f7eddc; }
.personal-monetize-map article:nth-child(2n) { background: #e8f2eb; }
.personal-monetize-map span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font: 500 13px Georgia, serif; }
.personal-monetize-map strong { margin: 16px 0 7px; color: var(--green); font: 500 24px/1.05 Georgia, serif; }
.personal-monetize-map p { margin: 0; color: #5c6963; font-size: 11px; line-height: 1.55; }
.bmc-reading-section { margin-bottom: 86px; padding: 34px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr); gap: 42px; border-radius: 18px; color: white; background: var(--ink); }
.bmc-reading-section h2 { max-width: 500px; font: 500 clamp(34px, 4vw, 54px)/1.05 Georgia, serif; }
.bmc-reading-section p { color: rgba(255,255,255,.74); }
.bmc-reading-steps { margin: 0; padding: 0; display: grid; gap: 11px; list-style: none; counter-reset: bmc-step; }
.bmc-reading-steps li { padding: 18px 20px; position: relative; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; background: rgba(255,255,255,.06); counter-increment: bmc-step; }
.bmc-reading-steps li::before { content: counter(bmc-step, decimal-leading-zero); margin-right: 10px; color: var(--yellow); font: 500 18px Georgia, serif; }
.bmc-reading-steps strong { color: white; font-size: 13px; }
.bmc-reading-steps span { display: block; margin: 7px 0 0 36px; color: rgba(255,255,255,.72); font-size: 11px; }
.bmc-cta { padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-radius: 18px; color: white; background: var(--green); }
.bmc-cta h2 { max-width: 720px; margin: 8px 0 10px; font: 500 clamp(33px, 4vw, 52px)/1.05 Georgia, serif; }
.bmc-cta p { max-width: 660px; color: rgba(255,255,255,.74); }
.bmc-cta .button { color: var(--green); background: var(--yellow); white-space: nowrap; }

/* Authentication */
.auth-page { min-height: 100vh; background: var(--paper); }
.auth-header, .dashboard-header {
    max-width: 1184px;
    margin: 0 auto;
    min-height: 82px;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.auth-switch { color: #68736e; font-size: 13px; }
.auth-switch strong { margin-left: 5px; color: var(--green); }
.auth-main {
    max-width: 1128px;
    min-height: calc(100vh - 82px);
    margin: 0 auto;
    padding: 55px 28px 90px;
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 100px;
    align-items: center;
}
.auth-intro h1 { max-width: 560px; font-size: clamp(45px, 5vw, 69px); }
.auth-intro > p:last-child { max-width: 510px; color: #5d6964; font-size: 17px; }
.auth-card { padding: 38px; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.auth-card h2 { margin-bottom: 8px; font: 500 35px Georgia, serif; }
.auth-subtitle { margin: 0 0 28px; color: #6b7671; font-size: 13px; }
.auth-card form { display: flex; flex-direction: column; gap: 18px; }
.auth-card label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 800; }
.auth-card input {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #cfd4ce;
    border-radius: 7px;
    color: var(--ink);
    background: #fffdf8;
    font: 15px inherit;
    outline: none;
}
.auth-card input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,92,74,.1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-error { color: #b54436; font-size: 11px; font-weight: 600; line-height: 1.35; }
.form-alert { margin-bottom: 20px; padding: 12px 14px; border-radius: 7px; color: #8a3026; background: #fbe3de; font-size: 12px; }
.form-alert.success { color: #1f5d3a; background: #e3f4e9; }
.form-button { width: 100%; justify-content: space-between; border: 0; cursor: pointer; font: inherit; }
.form-note { margin: 20px 0 0; color: #7b8580; font-size: 10px; line-height: 1.5; text-align: center; }

/* Dashboard */
.dashboard-page { min-height: 100vh; background: #f4f2eb; }
.dashboard-header { max-width: none; padding-left: max(28px, calc((100vw - 1184px) / 2)); padding-right: max(28px, calc((100vw - 1184px) / 2)); background: #fffaf2; border-bottom: 1px solid var(--line); }
.dashboard-header nav { gap: 22px; }
.dashboard-header nav .active { color: var(--green); }
.dashboard-header form { margin: 0; }
.user-chip { padding: 7px 11px; border-radius: 20px; background: #e4eee8; color: var(--green); font-size: 12px; font-weight: 750; }
.text-button { padding: 0; border: 0; color: #7c4038; background: none; font: 700 12px inherit; cursor: pointer; }
.dashboard-main { max-width: 1184px; margin: 0 auto; padding: 65px 28px 100px; }
.dashboard-welcome { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.dashboard-welcome h1 { margin-bottom: 12px; font-size: clamp(40px, 5vw, 62px); }
.dashboard-welcome p:last-child { color: #64706a; }
.release-pill { padding: 8px 12px; border: 1px solid var(--line); border-radius: 20px; color: #68736e; background: #fffaf2; font-size: 11px; }
.dashboard-grid { margin-top: 45px; display: grid; grid-template-columns: 240px 240px 1fr; gap: 18px; }
.metric-card, .progress-card, .next-action-card { min-height: 200px; padding: 28px; border-radius: 12px; }
.metric-card { display: flex; flex-direction: column; color: white; background: var(--green); }
.metric-card span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.metric-card strong { margin: auto 0; font: 56px Georgia, serif; }
.metric-card small { color: rgba(255,255,255,.7); }
.progress-card { display: flex; flex-direction: column; background: var(--blue); }
.progress-card span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.progress-card strong { margin: auto 0; font: 48px Georgia, serif; }
.progress-card small { color: #50666c; }
.next-action-card { color: var(--ink); background: var(--yellow); }
.next-action-card p { margin: 0 0 40px; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.next-action-card h2 { margin-bottom: 12px; font: 500 34px Georgia, serif; }
.next-action-card span { color: #5d5a48; font-size: 13px; }
.project-section { margin-top: 55px; }
.section-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.section-row h2 { margin: 0; font: 500 28px Georgia, serif; }
.section-row span { color: #747e79; font-size: 12px; }
.section-row > div { display: flex; align-items: center; gap: 14px; }
.legacy-import-link { color: var(--green); font-size: 11px; font-weight: 800; }
.empty-state { min-height: 275px; padding: 45px 20px; display: grid; place-items: center; align-content: center; text-align: center; border-bottom: 1px solid var(--line); }
.empty-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #dfece4; font-size: 25px; }
.empty-state h3 { margin: 20px 0 8px; font: 500 24px Georgia, serif; }
.empty-state p { max-width: 520px; margin: 0; color: #707b75; font-size: 13px; }
.project-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.project-list > a { padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: #fffaf2; transition: transform .15s ease, box-shadow .15s ease; }
.project-list > a:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(27,55,45,.08); }
.project-type { color: var(--coral); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.project-list h3 { margin: 30px 0 12px; font: 500 23px Georgia, serif; }
.project-list small { color: #7b8580; }

/* New project */
.project-create-main { max-width: 1040px; margin: 0 auto; padding: 70px 28px 110px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.create-heading { position: sticky; top: 40px; }
.create-heading h1 { font-size: clamp(43px, 5vw, 66px); }
.create-heading > p:last-child { color: #69736e; }
.project-create-form { padding: 34px; display: flex; flex-direction: column; gap: 25px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); box-shadow: var(--shadow); }
.project-create-form fieldset { margin: 0; padding: 0; border: 0; }
.project-create-form legend, .project-create-form > label { width: 100%; font-size: 12px; font-weight: 850; }
.project-create-form label small { color: #7a847f; font-weight: 500; }
.project-create-form input[type="text"], .project-create-form textarea {
    width: 100%; margin-top: 8px; padding: 13px; border: 1px solid #cfd4ce; border-radius: 7px; color: var(--ink); background: white; font: 14px/1.5 inherit;
}
.project-create-form textarea { resize: vertical; }
.project-context-fields { padding-top: 5px !important; display: grid; gap: 14px; }
.project-context-fields > p { margin: -2px 0 2px; color: #6f7b75; font-size: 11px; line-height: 1.6; }
.project-context-fields label, .project-context-fields .field-row label { display: flex; flex-direction: column; gap: 3px; font-size: 11px; font-weight: 850; line-height: 1.35; }
.project-context-fields input[type="text"], .project-context-fields textarea { margin-top: 5px; font-size: 12px; }
.type-options { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.type-option { cursor: pointer; }
.type-option input { position: absolute; opacity: 0; pointer-events: none; }
.type-option > span { min-height: 145px; padding: 20px; display: flex; flex-direction: column; border: 1px solid #d2d7d1; border-radius: 9px; background: white; }
.type-option strong { margin-bottom: 30px; font: 500 21px Georgia, serif; }
.type-option small { line-height: 1.45; }
.type-option input:checked + span { border-color: var(--green); background: #e5f0e9; box-shadow: inset 0 0 0 1px var(--green); }

/* Canvas editor */
.canvas-page { background: #ecebe5; }
.canvas-header { min-height: 68px; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; background: #fffaf2; border-bottom: 1px solid var(--line); }
.canvas-header-actions { display: flex; align-items: center; gap: 22px; }
.canvas-header-actions span { color: #75807a; font-size: 11px; }
.canvas-header-actions a { padding: 9px 15px; border-radius: 6px; color: white; background: var(--green); font-size: 12px; font-weight: 800; }
.canvas-header-actions .settings-link { color: var(--green); background: transparent; border: 1px solid var(--green); }
.canvas-main { max-width: 1600px; margin: 0 auto; padding: 32px 24px 90px; }
.canvas-titlebar { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 26px; }
.canvas-kind { color: var(--coral); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.canvas-titlebar h1 { margin: 7px 0 5px; font: 500 38px Georgia, serif; }
.canvas-titlebar p { max-width: 800px; margin: 0; color: #68726d; font-size: 13px; }
.action-link { color: var(--green); font-size: 12px; font-weight: 800; }
.canvas-alert { max-width: 700px; }
.editor-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(285px, auto)) minmax(230px, auto); gap: 8px; }
.editor-block { padding: 15px; display: flex; flex-direction: column; border: 1px solid rgba(23,35,31,.12); border-radius: 7px; scroll-margin-top: 20px; }
.editor-block > header { display: flex; justify-content: space-between; gap: 8px; font-size: 9px; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.editor-block > header small { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.6); }
.block-prompt { min-height: 34px; margin: 12px 0; font: 600 14px/1.2 Georgia, serif; }
.tone-yellow { background: #f4d173; }
.tone-blue { background: #acd1dc; }
.tone-coral { background: #ef806b; }
.tone-mint { background: #b1dac2; }
.tone-lilac { background: #cabfdd; }
.block-kp { grid-column: 1 / 3; grid-row: 1 / 3; }
.block-ka { grid-column: 3 / 5; grid-row: 1; }
.block-kr { grid-column: 3 / 5; grid-row: 2; }
.block-vp { grid-column: 5 / 7; grid-row: 1 / 3; }
.block-cr { grid-column: 7 / 9; grid-row: 1; }
.block-ch { grid-column: 7 / 9; grid-row: 2; }
.block-cs { grid-column: 9 / 11; grid-row: 1 / 3; }
.block-cost { grid-column: 1 / 6; grid-row: 3; }
.block-revenue { grid-column: 6 / 11; grid-row: 3; }
.canvas-notes { display: flex; flex-direction: column; gap: 7px; }
.canvas-note { padding: 9px; display: flex; align-items: flex-start; gap: 6px; border-radius: 5px; background: rgba(255,255,255,.76); box-shadow: 0 2px 7px rgba(30,40,35,.08); }
.canvas-note p { flex: 1; margin: 0; overflow-wrap: anywhere; font-size: 11px; line-height: 1.4; }
.canvas-note form { margin: 0; }
.canvas-note button { padding: 0; border: 0; color: #885047; background: none; cursor: pointer; font-size: 17px; line-height: 1; }
.note-edit-link { align-self: center; color: var(--green); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.quick-note-form { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.quick-note-form textarea { width: 100%; padding: 8px; resize: vertical; border: 1px dashed rgba(23,35,31,.28); border-radius: 5px; background: rgba(255,255,255,.35); font: 11px/1.35 inherit; outline: none; }
.quick-note-form textarea:focus { border-style: solid; background: rgba(255,255,255,.72); }
.quick-note-form button { align-self: flex-end; padding: 5px 8px; border: 0; border-radius: 4px; color: white; background: rgba(23,35,31,.78); cursor: pointer; font-size: 9px; font-weight: 800; }
.action-plan-section { margin-top: 70px; padding: 45px; border-radius: 14px; background: #fffaf2; scroll-margin-top: 20px; }
.action-plan-heading { display: flex; align-items: flex-end; justify-content: space-between; }
.action-plan-heading h2 { margin: 0; font: 500 42px Georgia, serif; }
.action-plan-heading > span { color: #727c77; font-size: 12px; }
.task-create-form { margin-top: 28px; display: grid; grid-template-columns: 1fr 170px 170px auto; gap: 8px; }
.task-create-form input, .task-create-form select { min-height: 45px; padding: 9px 11px; border: 1px solid #d3d7d2; border-radius: 6px; background: white; font: 12px inherit; }
.task-create-form .button { border: 0; cursor: pointer; font-size: 12px; }
.task-list { margin-top: 25px; }
.task-empty { padding: 30px; color: #75807a; border-top: 1px solid var(--line); text-align: center; font-size: 13px; }
.task-item { min-height: 66px; padding: 13px 4px; display: grid; grid-template-columns: 35px 1fr auto; gap: 12px; align-items: center; border-top: 1px solid var(--line); }
.task-item form { margin: 0; }
.task-check { width: 27px; height: 27px; border: 1px solid #aeb8b2; border-radius: 50%; color: white; background: white; cursor: pointer; }
.task-item.is-done .task-check { border-color: var(--green); background: var(--green); }
.task-item h3 { display: inline; margin: 0 12px 0 0; font-size: 14px; letter-spacing: 0; }
.task-item.is-done h3 { color: #89918d; text-decoration: line-through; }
.task-item span { margin-right: 10px; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.priority-high { color: #b74232; }.priority-medium { color: #997321; }.priority-low { color: var(--green); }
.task-item small { color: #7c8681; font-size: 10px; }
.task-delete { border: 0; color: #9a5b52; background: none; cursor: pointer; font-size: 10px; }
.task-edit-link { margin-left: 8px; color: var(--green); font-size: 10px; font-weight: 800; }

/* Focused editors and settings */
.simple-editor-main { max-width: 980px; margin: 0 auto; padding: 65px 28px 100px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.simple-editor-main h1 { font-size: clamp(40px, 5vw, 58px); }
.simple-editor-main > div > p:last-child { color: #6c7771; }
.simple-editor-form { padding: 32px; display: flex; flex-direction: column; gap: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf2; box-shadow: var(--shadow); }
.simple-editor-form label, .delete-project-form label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 850; }
.simple-editor-form input, .simple-editor-form textarea, .simple-editor-form select, .delete-project-form input { width: 100%; padding: 12px; border: 1px solid #cfd4ce; border-radius: 7px; background: white; font: 14px/1.5 inherit; }
.simple-editor-form textarea { resize: vertical; }
.settings-main { max-width: 850px; margin: 0 auto; padding: 65px 28px 100px; }
.settings-main > section:first-child h1 { margin-bottom: 10px; font-size: clamp(38px, 5vw, 56px); }
.settings-main > section:first-child > p:last-child { color: #6e7973; }
.settings-card { margin-top: 30px; padding: 32px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf2; }
.settings-card h2 { font: 500 29px Georgia, serif; }
.flat-form { padding: 0; border: 0; box-shadow: none; }
.flat-form .button { align-self: flex-start; border: 0; cursor: pointer; }
.danger-card { border-color: #e0b8b0; background: #fff5f1; }
.danger-card > p { color: #795f59; font-size: 13px; }
.delete-project-form { margin-top: 20px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.delete-project-form button { min-height: 44px; padding: 10px 15px; border: 0; border-radius: 6px; color: white; background: #a43f32; cursor: pointer; font-weight: 800; }
.sharing-card { scroll-margin-top: 20px; }
.sharing-card > p { color: #67736d; font-size: 13px; }
.publish-button { margin-top: 12px; border: 0; cursor: pointer; }
.share-url-row { margin-top: 20px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.share-url-row input { min-width: 0; padding: 11px; border: 1px solid #ccd3cd; border-radius: 6px; background: white; font: 12px inherit; }
.share-url-row a { padding: 11px 15px; border-radius: 6px; color: white; background: var(--green); font-size: 12px; font-weight: 800; }
.share-controls { margin-top: 12px; display: flex; gap: 10px; }
.share-controls form { margin: 0; }
.share-controls button { padding: 8px 11px; border: 1px solid var(--green); border-radius: 5px; color: var(--green); background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; }
.share-controls .unpublish-button { color: #99463b; border-color: #c98c83; }
.discovery-control { margin-top: 18px; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.discovery-control > div { display: flex; flex-direction: column; gap: 4px; }
.discovery-control strong { font-size: 12px; }
.discovery-control span { color: #707a75; font-size: 10px; }
.discovery-control form { margin: 0; }
.discovery-control button { padding: 8px 10px; border: 1px solid var(--green); border-radius: 5px; color: var(--green); background: transparent; cursor: pointer; font-size: 10px; font-weight: 850; white-space: nowrap; }

/* Public canvas and print */
.shared-canvas-page { background: #ecebe5; }
.shared-header { min-height: 70px; padding: 12px max(24px, calc((100vw - 1500px) / 2)); display: flex; align-items: center; justify-content: space-between; background: #fffaf2; border-bottom: 1px solid var(--line); }
.shared-header > div { display: flex; align-items: center; gap: 12px; }
.shared-header > div > span { color: #76807b; font-size: 11px; }
.shared-header button, .shared-header > div > a { padding: 9px 12px; border: 1px solid var(--green); border-radius: 6px; color: var(--green); background: transparent; cursor: pointer; font: 800 11px inherit; }
.shared-header > div > a { color: white; background: var(--green); }
.shared-header > div > .shared-gallery-link { color: var(--green); background: transparent; }
.shared-main { max-width: 1500px; margin: 0 auto; padding: 38px 24px 60px; }
.shared-title { margin-bottom: 25px; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.shared-title > div > span { color: var(--coral); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.shared-title h1 { margin: 8px 0 6px; font: 500 40px Georgia, serif; }
.shared-title p { max-width: 850px; margin: 0; color: #68736d; font-size: 13px; }
.shared-title small { color: #7b8580; font-size: 10px; white-space: nowrap; }
.public-canvas-grid .editor-block { min-height: 230px; }
.public-note p { font-size: 10px; }
.public-empty { margin: auto; color: rgba(23,35,31,.48); font-size: 10px; }
.shared-footer { margin-top: 25px; padding: 15px 0; display: flex; justify-content: space-between; color: #707a75; background: transparent; border-top: 1px solid var(--line); }
.visibility-badge { margin-left: 7px; padding: 3px 6px; border-radius: 10px; color: var(--green); background: #dfede4; font-size: 8px; font-weight: 900; text-transform: uppercase; }

/* Legacy canvas import */
.legacy-import-main { max-width: 1100px; margin: 0 auto; padding: 65px 28px 100px; }
.import-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.import-heading > div { max-width: 720px; }
.import-heading h1 { margin-bottom: 14px; font-size: clamp(44px, 6vw, 68px); }
.import-heading > div > p:last-child { color: #68736d; }
.import-heading > span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 20px; color: var(--green); background: #fffaf2; font-size: 11px; white-space: nowrap; }
.legacy-list { display: flex; flex-direction: column; gap: 13px; }
.legacy-card { padding: 25px; display: grid; grid-template-columns: 1fr 280px; gap: 30px; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fffaf2; }
.legacy-card.is-imported { background: #eef3ed; }
.legacy-card-copy > span { color: var(--coral); font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.legacy-card h2 { margin: 8px 0; font: 500 27px Georgia, serif; }
.legacy-card-copy p { max-width: 650px; margin: 0 0 12px; color: #68736d; font-size: 12px; }
.legacy-card-copy small { color: #7b8580; font-size: 10px; }
.legacy-card form { display: flex; flex-direction: column; gap: 10px; }
.legacy-card form label { display: flex; flex-direction: column; gap: 6px; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.legacy-card select { min-height: 40px; padding: 8px; border: 1px solid #ccd3cd; border-radius: 6px; background: white; font: 12px inherit; }
.legacy-card .button { justify-content: center; border: 0; cursor: pointer; font-size: 12px; }
.imported-link { justify-self: end; color: var(--green); font-size: 12px; font-weight: 850; }
.import-empty { padding: 70px 25px; border: 1px dashed #bdc6c0; border-radius: 12px; text-align: center; }
.import-empty h2 { font: 500 30px Georgia, serif; }
.import-empty p { color: #707b75; }

/* Project version history */
.history-main { max-width: 980px; margin: 0 auto; padding: 65px 28px 100px; }
.history-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.history-heading > div { max-width: 720px; }
.history-heading h1 { margin-bottom: 12px; font-size: clamp(42px, 6vw, 64px); }
.history-heading p:last-child { color: #69746e; }
.history-heading > span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 20px; background: #fffaf2; color: var(--green); font-size: 11px; white-space: nowrap; }
.success-alert { margin: 25px 0; padding: 13px 15px; border-radius: 7px; color: #285f48; background: #dfeee4; font-size: 12px; }
.snapshot-create-card { margin: 35px 0; padding: 25px; border-radius: 10px; background: var(--yellow); }
.snapshot-create-card form { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; }
.snapshot-create-card label { display: flex; flex-direction: column; gap: 7px; font-size: 11px; font-weight: 850; }
.snapshot-create-card label small { color: #796c42; font-weight: 500; }
.snapshot-create-card input { min-height: 45px; padding: 10px 12px; border: 1px solid rgba(23,35,31,.2); border-radius: 6px; background: rgba(255,255,255,.75); font: 13px inherit; }
.snapshot-create-card .button { border: 0; cursor: pointer; font-size: 12px; }
.version-list { display: flex; flex-direction: column; gap: 10px; }
.version-card { padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 25px; border: 1px solid var(--line); border-radius: 9px; background: #fffaf2; transition: transform .15s ease, box-shadow .15s ease; }
.version-card:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(27,55,45,.08); }
.version-card > div:first-child > span { color: var(--coral); font-size: 9px; font-weight: 900; }
.version-card h2 { margin: 5px 0; font: 500 24px Georgia, serif; }
.version-card p { margin: 0; color: #707a75; font-size: 11px; }
.version-card > div:last-child { display: grid; grid-template-columns: auto auto; align-items: baseline; text-align: right; }
.version-card strong { color: var(--green); font: 30px Georgia, serif; }
.version-card small { margin-left: 5px; color: #6f7974; font-size: 9px; }
.version-card time { grid-column: 1 / 3; color: #89918d; font-size: 9px; }
.version-preview-main { padding-bottom: 90px; }
.restore-card { margin-top: 35px; padding: 28px; display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: end; border: 1px solid #dab3ab; border-radius: 10px; background: #fff5f1; }
.restore-card h2 { margin-bottom: 8px; font: 500 29px Georgia, serif; }
.restore-card p { margin: 0; color: #735e59; font-size: 12px; }
.restore-card form { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.restore-card label { display: flex; flex-direction: column; gap: 6px; font-size: 10px; }
.restore-card input { min-height: 41px; padding: 9px; border: 1px solid #d5b7b1; border-radius: 5px; background: white; }
.restore-card button { min-height: 41px; padding: 9px 12px; border: 0; border-radius: 5px; color: white; background: #a33f32; cursor: pointer; font-weight: 800; }

/* Structured community feedback */
.public-feedback-section { margin-top: 40px; padding: 35px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 55px; border-radius: 12px; background: #fffaf2; }
.public-feedback-section h2 { margin-bottom: 8px; font: 500 35px Georgia, serif; }
.public-feedback-section > div:first-child > p:last-child { color: #6d7872; font-size: 12px; }
.feedback-form-panel { min-width: 0; }
.feedback-form-panel > .success-alert, .feedback-form-panel > .form-alert { margin-top: 0; }
.public-feedback-section form { display: flex; flex-direction: column; gap: 13px; }
.public-feedback-section form label { display: flex; flex-direction: column; gap: 6px; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.public-feedback-section select, .public-feedback-section textarea { width: 100%; padding: 10px; border: 1px solid #ced4cf; border-radius: 6px; background: white; font: 13px/1.45 inherit; text-transform: none; }
.public-feedback-section textarea { resize: vertical; }
.public-feedback-section form .button { align-self: flex-start; border: 0; cursor: pointer; font-size: 12px; }
.feedback-login-box, .feedback-owner-box { align-self: center; padding: 25px; border: 1px dashed #bec8c1; border-radius: 8px; text-align: center; }
.feedback-login-box p, .feedback-owner-box p { color: #68736d; font-size: 12px; }
.feedback-login-box .button { margin-top: 8px; font-size: 12px; }
.feedback-owner-box a { color: var(--green); font-size: 12px; font-weight: 850; }
.feedback-main { max-width: 900px; margin: 0 auto; padding: 65px 28px 100px; }
.feedback-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 35px; }
.feedback-heading > div { max-width: 680px; }
.feedback-heading h1 { margin-bottom: 12px; font-size: clamp(42px, 6vw, 62px); }
.feedback-heading p:last-child { color: #68736d; }
.feedback-heading > span { padding: 8px 12px; border-radius: 20px; color: #9b542f; background: #f8e0ce; font-size: 11px; white-space: nowrap; }
.feedback-list { display: flex; flex-direction: column; gap: 12px; }
.feedback-card { padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: #fffaf2; }
.feedback-card.is-resolved { opacity: .68; background: #edf1ed; }
.feedback-meta { display: flex; justify-content: space-between; gap: 20px; }
.feedback-meta span { color: var(--coral); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.feedback-meta time { color: #8b938f; font-size: 9px; }
.feedback-card > p { margin: 18px 0 22px; font: 500 18px/1.45 Georgia, serif; }
.feedback-card > footer { padding: 14px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #707a75; background: transparent; border-top: 1px solid var(--line); }
.feedback-card > footer > span { font-size: 10px; }
.feedback-card footer > div { display: flex; gap: 8px; }
.feedback-card footer form { margin: 0; }
.feedback-card footer button { padding: 6px 9px; border: 1px solid var(--green); border-radius: 4px; color: var(--green); background: transparent; cursor: pointer; font-size: 9px; font-weight: 850; }
.feedback-card footer .feedback-delete { color: #9b493e; border-color: #cb9189; }

/* Opt-in community gallery */
.gallery-page { background: var(--paper); }
.gallery-site-header nav .active { color: var(--green); }
.gallery-main { max-width: 1184px; min-height: 75vh; margin: 0 auto; padding: 70px 28px 100px; }
.gallery-hero { max-width: 760px; }
.gallery-hero h1 { margin-bottom: 18px; font-size: clamp(52px, 7vw, 82px); }
.gallery-hero > p:last-child { max-width: 660px; color: #65716b; font-size: 17px; }
.gallery-controls { margin-top: 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.gallery-controls form { width: min(480px, 100%); display: grid; grid-template-columns: 1fr auto; }
.gallery-controls input { min-height: 45px; padding: 10px 13px; border: 1px solid #cbd2cc; border-right: 0; border-radius: 7px 0 0 7px; background: white; font: 13px inherit; }
.gallery-controls button { padding: 10px 18px; border: 0; border-radius: 0 7px 7px 0; color: white; background: var(--green); cursor: pointer; font-weight: 800; }
.gallery-tabs { display: flex; gap: 5px; }
.gallery-tabs a { padding: 8px 11px; border-radius: 18px; color: #66716c; font-size: 11px; font-weight: 800; white-space: nowrap; }
.gallery-tabs a.active { color: white; background: var(--green); }
.gallery-summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; color: #77817c; font-size: 11px; }
.gallery-summary a { color: var(--green); font-weight: 800; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.gallery-card { min-height: 310px; padding: 25px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 11px; background: #fffaf2; transition: transform .15s ease, box-shadow .15s ease; }
.gallery-card:hover { transform: translateY(-3px); box-shadow: 0 15px 34px rgba(27,55,45,.1); }
.gallery-card-top { display: flex; justify-content: space-between; align-items: center; }
.gallery-type { padding: 5px 8px; border-radius: 12px; font-size: 8px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.type-business { color: #8a541c; background: #f8dfac; }.type-career { color: #286248; background: #d9ecdf; }
.gallery-card-top small { color: #7c8681; font-size: 9px; }
.gallery-card h2 { margin: 32px 0 13px; font: 500 28px/1.1 Georgia, serif; }
.gallery-card > p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; color: #68736d; font-size: 12px; }
.gallery-card footer { margin-top: auto; padding: 16px 0 0; display: flex; justify-content: space-between; gap: 10px; color: #727d77; background: transparent; border-top: 1px solid var(--line); font-size: 9px; }
.gallery-card footer strong { color: var(--ink); }
.gallery-empty { padding: 80px 20px; text-align: center; }
.gallery-empty h2 { font: 500 32px Georgia, serif; }.gallery-empty p { color: #707a75; }
.pagination { margin-top: 35px; padding-top: 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); }
.pagination a { color: var(--green); font-size: 11px; font-weight: 850; }
.pagination a:last-child { justify-self: end; }.pagination strong { color: #76807b; font-size: 10px; }

/* Capability offers and collaboration */
.public-note { flex-wrap: wrap; }
.need-offer-link { width: 100%; padding-top: 5px; color: var(--green); border-top: 1px solid rgba(23,35,31,.1); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.block-offer-link { margin-top: auto; padding-top: 10px; color: var(--green-dark); font-size: 9px; font-weight: 900; text-align: center; }
.offer-main { max-width: 1050px; margin: 0 auto; padding: 65px 28px 100px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; align-items: start; }
.offer-context { position: sticky; top: 35px; }
.offer-context h1 { font-size: clamp(44px, 6vw, 66px); }
.need-context { margin-top: 35px; padding: 24px; border-radius: 10px; background: var(--yellow); }
.need-context > span { font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.need-context h2 { margin: 18px 0; font: 500 25px/1.25 Georgia, serif; }
.need-context small { color: #6f633d; font-size: 10px; }
.offer-form { padding: 32px; display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf2; box-shadow: var(--shadow); }
.offer-form > label, .offer-form .field-row label { display: flex; flex-direction: column; gap: 7px; font-size: 11px; font-weight: 850; }
.offer-form input[type="text"], .offer-form input[type="number"], .offer-form textarea, .offer-form select { width: 100%; padding: 11px; border: 1px solid #ccd3cd; border-radius: 6px; background: white; font: 13px/1.45 inherit; }
.offer-form textarea { resize: vertical; }
.consent-check { padding: 13px; flex-direction: row !important; align-items: flex-start; border-radius: 7px; background: #e6efe9; cursor: pointer; }
.consent-check input { margin-top: 3px; }
.consent-check span { color: #52635b; font-size: 11px; font-weight: 600; }
.offers-main { max-width: 960px; margin: 0 auto; padding: 65px 28px 100px; }
.offers-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 38px; }
.offers-heading > div { max-width: 720px; }
.offers-heading h1 { margin-bottom: 12px; font-size: clamp(42px, 6vw, 64px); }
.offers-heading p:last-child { color: #68736d; }
.offers-heading > span { padding: 8px 12px; border-radius: 20px; color: #905627; background: #f5dfb8; font-size: 11px; white-space: nowrap; }
.offers-list { display: flex; flex-direction: column; gap: 14px; }
.offer-card { padding: 26px; border: 1px solid var(--line); border-radius: 11px; background: #fffaf2; }
.offer-card.status-accepted { border-color: #9cc7aa; background: #f0f7f2; }
.offer-card.status-declined, .offer-card.status-withdrawn { opacity: .67; }
.offer-card > header { display: flex; justify-content: space-between; gap: 20px; }
.offer-card > header > div { display: flex; align-items: center; gap: 8px; }
.offer-card > header span { color: var(--coral); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.offer-card > header strong { padding: 4px 7px; border-radius: 10px; color: #77592c; background: #f6e5c7; font-size: 8px; text-transform: uppercase; }
.offer-card.status-accepted > header strong { color: #2c6548; background: #dceee2; }
.offer-card > header time { color: #89928d; font-size: 9px; }
.offer-target { margin: 18px 0; padding: 12px 14px; border-left: 3px solid var(--yellow); background: #f7f3e8; }
.offer-target small { color: #82785e; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.offer-target p { margin: 5px 0 0; color: #565f5a; font-size: 11px; }
.offer-card > h2 { margin: 22px 0 10px; font: 500 29px Georgia, serif; }
.offer-message { color: #4f5d56; font-size: 13px; }
.offer-facts { display: flex; gap: 8px; margin-top: 18px; }
.offer-facts span { padding: 5px 8px; border-radius: 12px; background: #e8ece8; color: #5d6963; font-size: 9px; font-weight: 800; }
.offer-card > footer { margin-top: 23px; padding: 16px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #6e7973; background: transparent; border-top: 1px solid var(--line); }
.offer-card > footer > div:first-child { display: flex; flex-direction: column; gap: 3px; font-size: 10px; }
.offer-card > footer a { color: var(--green); font-weight: 850; }
.offer-card > footer small { max-width: 460px; }
.offer-decisions { display: flex; gap: 7px; }
.offer-decisions form { margin: 0; }
.offer-decisions button, .withdraw-offer { padding: 8px 10px; border: 1px solid #b4857f; border-radius: 5px; color: #915047; background: transparent; cursor: pointer; font-size: 9px; font-weight: 850; }
.offer-decisions .accept-offer { color: white; border-color: var(--green); background: var(--green); }
.offer-project { color: #68736d; font-size: 11px; }
.field-help { color: #6f7974; font-size: 10px; font-weight: 500; }
.field-help a { color: var(--green); font-weight: 850; }
.offer-price { color: #315f4d !important; background: #dcece2 !important; }
.portfolio-review-link { display: inline-block; margin-top: 16px; padding-bottom: 3px; color: var(--green); border-bottom: 1px solid var(--green); font-size: 11px; font-weight: 850; }

/* Reusable service assets and portfolios */
.services-main { max-width: 1100px; margin: 0 auto; padding: 65px 28px 100px; }
.services-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 42px; }
.services-heading > div { max-width: 720px; }
.services-heading h1 { margin-bottom: 12px; font-size: clamp(43px, 6vw, 66px); }
.services-heading p:last-child { color: #68736d; }
.services-heading > .button { white-space: nowrap; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.services-empty { grid-column: 1 / 3; }
.service-card { min-height: 300px; padding: 26px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 11px; background: #fffaf2; transition: transform .15s ease, box-shadow .15s ease; }
.service-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(27,55,45,.09); }
.service-card.is-inactive { opacity: .6; }
.service-card-top { display: flex; justify-content: space-between; gap: 20px; }
.service-card-top span { color: var(--coral); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.service-card-top small { color: var(--green); font-size: 9px; }
.service-card h2 { margin: 24px 0 12px; font: 500 30px/1.12 Georgia, serif; }
.service-card > p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; color: #68736d; font-size: 12px; }
.service-card footer { margin-top: auto; padding: 16px 0 0; display: flex; justify-content: space-between; gap: 15px; color: #68736d; background: transparent; border-top: 1px solid var(--line); font-size: 10px; }
.service-card footer strong { color: var(--green); }
.service-owner-mini { margin-top: 16px; display: flex; align-items: center; gap: 10px; color: #56635d; }
.service-owner-mini img, .service-owner-mini b { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; object-fit: cover; border-radius: 50%; color: white; background: var(--green); font: 500 17px Georgia, serif; }
.service-owner-mini span { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.service-owner-mini strong { overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.service-owner-mini small { color: #7b8781; font-size: 9px; }
.service-card-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.service-card-actions a, .service-card-actions span { padding: 8px 10px; border-radius: 7px; font-size: 9px; font-weight: 850; }
.service-edit-link { color: var(--green); border: 1px solid var(--green); }
.service-public-link { color: white; background: var(--green); }
.service-share-row { margin-top: 13px; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; border-top: 1px dashed rgba(23,35,31,.16); }
.service-share-row > span { color: #7b8781; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.service-share-row a { padding: 7px 9px; border-radius: 15px; color: var(--green); background: #e8f2eb; font-size: 8.5px; font-weight: 850; }
.market-service-card > .service-share-row { justify-content: flex-start; color: inherit; font-size: inherit; font-weight: inherit; text-transform: none; }
.service-edit-main { max-width: 940px; margin: 0 auto; padding: 65px 28px 110px; }
.service-edit-heading { max-width: 750px; }
.service-edit-heading h1 { margin-bottom: 12px; font-size: clamp(43px, 6vw, 64px); }
.service-edit-heading p:last-child { color: #68736d; }
.service-form { margin-top: 35px; padding: 32px; display: flex; flex-direction: column; gap: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf2; box-shadow: var(--shadow); }
.service-form > label, .service-form .field-row label, .service-price-grid label, .portfolio-add-form label { display: flex; flex-direction: column; gap: 7px; font-size: 11px; font-weight: 850; }
.service-form input, .service-form textarea, .service-form select, .portfolio-add-form input, .portfolio-add-form textarea { width: 100%; padding: 11px; border: 1px solid #ccd3cd; border-radius: 6px; background: white; font: 13px/1.45 inherit; }
.service-form textarea, .portfolio-add-form textarea { resize: vertical; }
.service-price-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.portfolio-manager { margin-top: 65px; }
.portfolio-manager-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; }
.portfolio-manager-heading h2 { margin: 0; font: 500 38px Georgia, serif; }
.portfolio-manager-heading > span { color: #737d78; font-size: 11px; }
.portfolio-manage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.portfolio-manage-grid article { overflow: hidden; padding-bottom: 16px; border: 1px solid var(--line); border-radius: 9px; background: #fffaf2; }
.portfolio-manage-grid img, .portfolio-link-placeholder { width: 100%; height: 155px; display: grid; place-items: center; object-fit: cover; color: #6e7973; background: #dfe8e2; font-size: 11px; font-weight: 900; }
.portfolio-manage-grid h3, .portfolio-manage-grid p, .portfolio-manage-grid > article > a, .portfolio-manage-grid form { margin-left: 15px; margin-right: 15px; }
.portfolio-manage-grid h3 { margin-top: 15px; margin-bottom: 7px; font: 500 20px Georgia, serif; }
.portfolio-manage-grid p { color: #68736d; font-size: 10px; }
.portfolio-manage-grid > article > a { color: var(--green); font-size: 10px; font-weight: 850; }
.portfolio-manage-grid form { margin-top: 12px; }
.portfolio-manage-grid button { padding: 5px 8px; border: 1px solid #c58b83; border-radius: 4px; color: #954a40; background: transparent; cursor: pointer; font-size: 9px; }
.portfolio-add-form { margin-top: 25px; padding: 28px; display: flex; flex-direction: column; gap: 16px; border-radius: 10px; background: var(--yellow); }
.portfolio-add-form h3 { margin: 0; font: 500 26px Georgia, serif; }
.portfolio-add-form .button { align-self: flex-start; border: 0; cursor: pointer; }
.service-public-page { background: var(--paper); }
.service-public-main { max-width: 1120px; margin: 0 auto; padding: 70px 28px 100px; }
.service-public-hero { display: grid; grid-template-columns: 1fr 300px; gap: 80px; align-items: start; }
.service-public-hero > div > span { color: var(--coral); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.service-public-hero h1 { margin: 15px 0 24px; font-size: clamp(48px, 7vw, 76px); }
.service-public-hero > div > p { color: #52605a; font-size: 16px; }
.service-public-hero aside { padding: 27px; display: flex; flex-direction: column; gap: 5px; border-radius: 11px; color: white; background: var(--green); }
.service-public-hero aside small { color: rgba(255,255,255,.65); font-size: 9px; text-transform: uppercase; }
.service-public-hero aside strong { font: 500 22px Georgia, serif; }
.service-public-hero aside span { color: rgba(255,255,255,.78); font-size: 11px; }
.service-public-hero aside p { margin: 6px 0 0; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.55; }
.service-public-hero aside hr { width: 100%; margin: 20px 0; border: 0; border-top: 1px solid rgba(255,255,255,.2); }
.service-public-owner { display: flex; align-items: center; gap: 12px; color: white; }
.service-public-owner img, .service-public-owner b { width: 50px; height: 50px; flex: 0 0 auto; display: grid; place-items: center; object-fit: cover; border-radius: 50%; color: var(--green); background: var(--yellow); font: 500 22px Georgia, serif; }
.service-public-owner span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.service-public-owner em { color: rgba(255,255,255,.72); font-size: 10px; font-style: normal; }
.service-public-share { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); }
.service-public-share > div { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 7px; }
.service-public-share a { padding: 8px 9px; border: 1px solid rgba(255,255,255,.32); border-radius: 15px; color: white; background: rgba(255,255,255,.08); font-size: 8.5px; font-weight: 850; }
.service-public-gallery { margin-top: 80px; }
.service-public-gallery > div:first-child h2 { margin: 0 0 25px; font: 500 42px Georgia, serif; }
.public-portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.public-portfolio-grid article { overflow: hidden; padding-bottom: 22px; border: 1px solid var(--line); border-radius: 10px; background: #fffaf2; }
.public-portfolio-grid img, .public-portfolio-grid .portfolio-link-placeholder { width: 100%; height: 220px; object-fit: cover; }
.public-portfolio-grid h3, .public-portfolio-grid p, .public-portfolio-grid .portfolio-external { margin-left: 20px; margin-right: 20px; }
.public-portfolio-grid h3 { margin-top: 20px; margin-bottom: 8px; font: 500 24px Georgia, serif; }
.public-portfolio-grid p { color: #68736d; font-size: 11px; }
.portfolio-external { color: var(--green); font-size: 11px; font-weight: 850; }

@media (max-width: 900px) {
    .home-nav { margin-left: auto; gap: 0; }
    .home-nav > a { display: none !important; }
    .home-nav .home-menu { display: block !important; }
    .home-menu summary { white-space: nowrap; }
    .home-menu-panel { width: min(280px, calc(100vw - 36px)); top: calc(100% + 12px); right: 0; }
    nav > a:not(.button) { display: none; }
    .bmc-hero, .bmc-reading-section, .bmc-personal-section { grid-template-columns: 1fr; gap: 28px; }
    .bmc-perspective-grid { grid-template-columns: 1fr; }
    .bmc-board { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
    .bmc-kp, .bmc-ka, .bmc-kr, .bmc-vp, .bmc-cr, .bmc-ch, .bmc-cs, .bmc-cost, .bmc-rev { grid-column: auto; grid-row: auto; min-height: 150px; }
    .bmc-vp, .bmc-cs, .bmc-kp { min-height: 210px; }
    .bmc-foundation-grid { grid-template-columns: 1fr 1fr; }
    .bmc-cta { align-items: flex-start; flex-direction: column; }
    .hero { grid-template-columns: 1fr; gap: 50px; margin-top: 10px; }
    .canvas-preview { transform: none; }
    .home-ai-advantage { grid-template-columns: 1fr; margin-top: -18px; }
    .path-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .auth-main { grid-template-columns: 1fr; gap: 35px; padding-top: 35px; }
    .auth-intro { text-align: center; }
    .auth-intro h1, .auth-intro > p:last-child { margin-left: auto; margin-right: auto; }
    .auth-card { width: 100%; max-width: 560px; margin: auto; }
    .dashboard-grid { grid-template-columns: 1fr 1fr; }
    .next-action-card { grid-column: 1 / 3; }
    .project-create-main { grid-template-columns: 1fr; gap: 35px; }
    .create-heading { position: static; text-align: center; }
    .canvas-header { padding: 10px 18px; }
    .canvas-main { padding: 28px 18px 70px; }
    .canvas-titlebar { align-items: flex-start; }
    .editor-grid { grid-template-columns: 1fr; grid-template-rows: none; }
    .editor-block, .block-kp, .block-ka, .block-kr, .block-vp, .block-cr, .block-ch, .block-cs, .block-cost, .block-revenue { grid-column: 1; grid-row: auto; min-height: 260px; }
    .task-create-form { grid-template-columns: 1fr 1fr; }
    .task-create-form input[name="task_title"] { grid-column: 1 / 3; }
    .simple-editor-main { grid-template-columns: 1fr; gap: 30px; }
    .legacy-card { grid-template-columns: 1fr 240px; }
    .restore-card { grid-template-columns: 1fr; gap: 25px; }
    .public-feedback-section { grid-template-columns: 1fr; gap: 25px; }
    .gallery-controls { align-items: stretch; flex-direction: column; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .offer-main { grid-template-columns: 1fr; gap: 30px; }
    .offer-context { position: static; }
    .public-portfolio-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
    .site-header { min-height: 70px; padding: 14px 18px; }
    .home-nav { margin-left: 10px; }
    .home-menu-panel { width: min(280px, calc(100vw - 36px)); position: absolute; top: calc(100% + 12px); left: auto; right: 0; max-height: calc(100vh - 96px); overflow-y: auto; }
    .button-ghost { display: none; }
    .bmc-main { padding: 32px 18px 76px; }
    .bmc-hero { margin-bottom: 58px; }
    .bmc-hero h1 { font-size: 42px; }
    .bmc-quick-card, .bmc-reading-section, .bmc-cta { padding: 24px 20px; }
    .bmc-personal-section { padding: 24px 20px; }
    .bmc-quick-card p { font-size: 21px; }
    .bmc-board { padding: 10px; grid-template-columns: 1fr; }
    .bmc-block, .bmc-vp, .bmc-cs, .bmc-kp { min-height: 138px; }
    .bmc-foundation-grid { grid-template-columns: 1fr; }
    .bmc-foundation-grid article { min-height: 0; }
    .personal-monetize-map { grid-template-columns: 1fr; }
    .personal-monetize-map article { min-height: 0; }
    .bmc-reading-steps span { margin-left: 0; }
    .hero { padding: 25px 18px; margin-bottom: 55px; }
    h1 { font-size: 48px; }
    .trust-row { gap: 16px; }
    .canvas-preview { padding: 10px; overflow-x: auto; }
    .canvas-grid { width: 580px; }
    .home-ai-advantage { width: calc(100% - 36px); margin: -20px auto 60px; padding: 24px 20px; gap: 24px; border-radius: 16px; }
    .home-ai-advantage, .home-ai-copy, .home-ai-panel { min-width: 0; max-width: 100%; }
    .home-ai-copy h2 { font-size: 34px; }
    .home-ai-copy p { font-size: 13px; }
    .home-ai-copy .button { width: 100%; justify-content: space-between; gap: 14px; padding: 14px 16px; text-align: left; }
    .home-ai-panel { padding: 16px; overflow: hidden; }
    .ai-chip-row { gap: 6px; }
    .ai-chip-row span { max-width: 100%; padding: 7px 9px; overflow-wrap: anywhere; font-size: 8.5px; line-height: 1.2; }
    .ai-chat-card.user, .ai-chat-card.assistant { margin-left: 0; margin-right: 0; }
    .ai-chat-card { padding: 14px; }
    .ai-chat-card p { font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
    .ai-benefit-list { grid-template-columns: 1fr 1fr; }
    .ai-benefit-list span { min-height: 42px; padding: 9px 7px; font-size: 9px; }
    .path-section { padding: 65px 18px; }
    .path-card { min-height: 330px; padding: 25px; }
    .steps { padding: 70px 18px; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid > div, .steps-grid > div:not(:first-child) { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .steps-grid h3 { margin-top: 20px; }
    footer { padding: 25px 18px; flex-direction: column; gap: 8px; }
    .auth-header, .dashboard-header { padding: 14px 18px; }
    .auth-switch { max-width: 130px; text-align: right; }
    .auth-main { padding: 35px 18px 70px; }
    .auth-intro h1 { font-size: 43px; }
    .auth-card { padding: 25px 20px; }
    .field-row { grid-template-columns: 1fr; }
    .dashboard-header nav > a, .user-chip { display: none; }
    .dashboard-main { padding: 45px 18px 75px; }
    .dashboard-welcome { display: block; }
    .release-pill { display: inline-block; margin-top: 12px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .next-action-card { grid-column: auto; }
    .project-list { grid-template-columns: 1fr; }
    .project-create-main { padding: 45px 18px 75px; }
    .project-create-form { padding: 24px 20px; }
    .type-options { grid-template-columns: 1fr; }
    .canvas-header .brand > span:last-child { display: none; }
    .canvas-titlebar { display: block; }
    .action-link { display: inline-block; margin-top: 15px; }
    .action-plan-section { padding: 28px 20px; }
    .task-create-form { grid-template-columns: 1fr; }
    .task-create-form input[name="task_title"] { grid-column: auto; }
    .simple-editor-main, .settings-main { padding: 45px 18px 75px; }
    .simple-editor-form, .settings-card { padding: 23px 20px; }
    .delete-project-form { grid-template-columns: 1fr; }
    .shared-header { padding: 10px 18px; }
    .shared-header > div > span, .shared-header > div > a { display: none; }
    .shared-main { padding: 28px 18px 50px; }
    .shared-title { display: block; }
    .shared-title small { display: inline-block; margin-top: 12px; }
    .public-canvas-grid { grid-template-columns: 1fr; grid-template-rows: none; }
    .public-canvas-grid .editor-block { grid-column: 1; grid-row: auto; min-height: 210px; }
    .legacy-import-main { padding: 45px 18px 75px; }
    .import-heading { display: block; }
    .import-heading > span { display: inline-block; margin-top: 12px; }
    .legacy-card { grid-template-columns: 1fr; }
    .imported-link { justify-self: start; }
    .history-main { padding: 45px 18px 75px; }
    .history-heading { display: block; }
    .history-heading > span { display: inline-block; margin-top: 10px; }
    .snapshot-create-card form { grid-template-columns: 1fr; }
    .version-card { align-items: flex-start; padding: 19px; }
    .restore-card { padding: 22px 18px; }
    .restore-card form { grid-template-columns: 1fr; }
    .feedback-main { padding: 45px 18px 75px; }
    .feedback-heading { display: block; }
    .feedback-heading > span { display: inline-block; margin-top: 10px; }
    .feedback-card > footer { align-items: flex-start; flex-direction: column; }
    .public-feedback-section { padding: 25px 20px; }
    .canvas-header-actions > span { display: none; }
    .canvas-header-actions { gap: 6px; }
    .canvas-header-actions a { padding: 7px 8px; font-size: 9px; }
    .discovery-control { align-items: flex-start; flex-direction: column; }
    .gallery-main { padding: 45px 18px 75px; }
    .gallery-hero h1 { font-size: 52px; }
    .gallery-tabs { overflow-x: auto; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-card { min-height: 280px; }
    .offer-main, .offers-main { padding: 45px 18px 75px; }
    .offer-form { padding: 24px 20px; }
    .offers-heading { display: block; }
    .offers-heading > span { display: inline-block; margin-top: 10px; }
    .offer-card { padding: 20px; }
    .offer-card > footer { align-items: flex-start; flex-direction: column; }
    .offer-decisions { width: 100%; flex-direction: column; }
    .offer-decisions button { width: 100%; }
    .services-main, .service-edit-main, .service-public-main { padding: 45px 18px 75px; }
    .services-heading { align-items: flex-start; flex-direction: column; }
    .services-grid { grid-template-columns: 1fr; }
    .services-empty { grid-column: 1; }
    .service-card { padding: 22px; }
    .service-card-actions { flex-direction: column; }
    .service-card-actions a, .service-card-actions span { text-align: center; }
    .service-share-row a { flex: 1 1 calc(50% - 7px); text-align: center; }
    .service-form { padding: 24px 20px; }
    .service-price-grid { grid-template-columns: 1fr; }
    .portfolio-manage-grid { grid-template-columns: 1fr; }
    .service-public-hero { grid-template-columns: 1fr; gap: 30px; }
    .public-portfolio-grid { grid-template-columns: 1fr; }
}

/* Collaboration rooms and private conversations */
.messages-main { max-width: 1160px; margin: 0 auto; padding: 60px 28px 105px; }
.messages-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.messages-heading h1 { margin-bottom: 10px; font-size: clamp(45px, 6vw, 68px); }
.messages-heading p:last-child { max-width: 650px; color: #68736d; }
.messages-heading > span { padding: 7px 11px; border-radius: 18px; color: var(--green); background: #dcebe1; font-size: 9px; white-space: nowrap; }
.messages-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(250px, .8fr); gap: 28px; align-items: start; }
.conversation-overview > h2, .conversation-starters h2 { margin: 0 0 14px; font: 500 23px Georgia, serif; }
.conversation-list { display: flex; flex-direction: column; gap: 9px; }
.conversation-preview { min-height: 102px; padding: 17px; display: grid; grid-template-columns: 47px 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 9px; color: inherit; background: #fffaf2; }
.conversation-preview:hover, .conversation-preview.has-unread { border-color: #89ab97; background: #eef6f0; }
.conversation-symbol, .conversation-starters a > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font: 600 17px Georgia, serif; }
.conversation-preview small { color: #84908a; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.conversation-preview h3 { margin: 3px 0 5px; font: 500 21px Georgia, serif; }
.conversation-preview p { margin: 0; color: #637069; font-size: 10px; }
.conversation-preview time { display: block; margin-top: 5px; color: #929b96; font-size: 8px; }
.conversation-preview > b { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--coral); font-size: 8px; }
.conversation-starters { display: flex; flex-direction: column; gap: 25px; }
.conversation-starters section { padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,250,242,.75); }
.conversation-starters a { padding: 10px 0; display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; color: inherit; border-top: 1px solid var(--line); }
.conversation-starters a > span { width: 34px; height: 34px; font-size: 12px; }
.conversation-starters a strong, .conversation-starters a small { display: block; }
.conversation-starters a strong { font-size: 10px; }
.conversation-starters a small { margin-top: 2px; color: #7b8781; font-size: 8px; }
.conversation-starters a > b { color: var(--coral); }
.conversation-starters section > p { color: #7b8781; font-size: 10px; }
.conversation-main { width: min(850px, calc(100% - 44px)); margin: 0 auto; padding: 48px 0 100px; }
.conversation-heading { padding-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); }
.conversation-heading small { color: var(--coral); font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.conversation-heading h1 { margin: 5px 0; font-size: clamp(36px, 5vw, 55px); }
.conversation-heading p { margin: 0; color: #68736d; }
.conversation-heading > a { color: var(--green); font-size: 9px; font-weight: 850; white-space: nowrap; }
.message-thread { min-height: 390px; padding: 34px 0 20px; display: flex; flex-direction: column; gap: 13px; }
.message-bubble { width: min(620px, 82%); padding: 14px 17px; align-self: flex-start; border-radius: 5px 16px 16px 16px; color: #304139; background: #e5eee8; }
.message-bubble.is-mine { align-self: flex-end; border-radius: 16px 5px 16px 16px; color: #fff; background: var(--green); }
.message-bubble > div { display: flex; justify-content: space-between; gap: 15px; }
.message-bubble strong, .message-bubble time { font-size: 8px; }
.message-bubble time { opacity: .65; }
.message-bubble p { margin: 7px 0 0; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.message-empty { margin: auto; padding: 60px 20px; text-align: center; color: #758079; }
.message-empty span { color: var(--coral); font-size: 25px; }
.message-empty h2 { margin: 10px 0 5px; font: 500 27px Georgia, serif; color: var(--green); }
.message-composer { padding: 17px; position: sticky; bottom: 12px; border: 1px solid #bfcac3; border-radius: 10px; background: #fffaf2; box-shadow: 0 15px 40px rgba(32,58,45,.12); }
.message-composer label { display: block; margin-bottom: 7px; font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.message-composer textarea { width: 100%; padding: 12px; resize: vertical; border: 1px solid var(--line); border-radius: 6px; background: white; font: inherit; }
.message-composer > div { margin-top: 9px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.message-composer small { color: #7b8781; font-size: 8px; }
.message-composer button { padding: 10px 14px; border: 0; border-radius: 5px; color: white; background: var(--coral); cursor: pointer; font-size: 9px; font-weight: 850; }
.conversation-alert { margin: 0 0 12px; }
.conversation-closed { margin-top: 15px; padding: 19px; border-radius: 8px; color: #665d4e; background: #efe6d8; }
.conversation-closed p { margin: 4px 0 0; font-size: 10px; }
.mobile-message-link { display: none; }

@media (max-width: 900px) {
    .mobile-message-link { min-height: 28px; padding: 6px 9px; position: fixed; z-index: 25; top: 15px; right: 145px; display: flex; align-items: center; gap: 6px; border-radius: 15px; color: var(--green); background: #dcebe1; font-size: 8px; font-weight: 850; }
    .mobile-message-link b { min-width: 17px; height: 17px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--coral); font-size: 7px; }
    .messages-layout { grid-template-columns: 1fr; }
    .conversation-starters { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
    .messages-main { padding: 43px 18px 75px; }
    .messages-heading { align-items: flex-start; flex-direction: column; }
    .conversation-starters { grid-template-columns: 1fr; }
    .conversation-preview { grid-template-columns: 40px 1fr auto; }
    .conversation-symbol { width: 36px; height: 36px; }
    .conversation-main { width: calc(100% - 30px); padding-top: 38px; }
    .conversation-heading { align-items: flex-start; flex-direction: column; }
    .message-bubble { width: 92%; }
    .message-composer > div { align-items: flex-start; flex-direction: column; }
    .mobile-message-link { right: 139px; }
}

/* Capability and opportunity matching */
.matches-main { max-width: 1180px; margin: 0 auto; padding: 60px 28px 110px; }
.matches-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.matches-heading h1 { margin-bottom: 10px; font-size: clamp(45px, 6vw, 68px); }
.matches-heading p:last-child { max-width: 720px; color: #68736d; }
.matches-heading > span { padding: 7px 11px; border-radius: 18px; color: var(--green); background: #dcebe1; font-size: 9px; white-space: nowrap; }
.match-mode-tabs { margin-bottom: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.match-mode-tabs a { padding: 17px 20px; border: 1px solid var(--line); border-radius: 8px; color: #647069; background: #fffaf2; }
.match-mode-tabs a.active { border-color: var(--green); color: white; background: var(--green); }
.match-mode-tabs strong, .match-mode-tabs small { display: block; }
.match-mode-tabs strong { font: 500 21px Georgia, serif; }
.match-mode-tabs small { margin-top: 4px; opacity: .72; font-size: 9px; }
.match-filters { margin-bottom: 28px; padding: 18px; display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr 1fr auto; gap: 10px; align-items: end; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,250,242,.8); }
.match-filters label { display: flex; flex-direction: column; gap: 6px; color: #68736d; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.match-filters input, .match-filters select { width: 100%; min-width: 0; padding: 9px; border: 1px solid #c9d0cc; border-radius: 5px; color: #31443a; background: white; font: inherit; text-transform: none; letter-spacing: 0; }
.match-filters button { min-height: 36px; padding: 9px 12px; border: 0; border-radius: 5px; color: white; background: var(--coral); cursor: pointer; font-size: 9px; font-weight: 850; white-space: nowrap; }
.opportunity-filters { grid-template-columns: minmax(260px, 1fr) auto; }
.match-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.match-card { padding: 21px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; background: #fffaf2; }
.match-card > header { display: flex; justify-content: space-between; gap: 15px; }
.match-card > header span, .match-card > header small { display: block; }
.match-card > header span { color: var(--coral); font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.match-card > header small { margin-top: 4px; color: #7b8781; font-size: 9px; }
.match-card > header b { height: fit-content; padding: 5px 8px; border-radius: 12px; color: var(--green); background: #dcebe1; font-size: 8px; white-space: nowrap; }
.matched-need { margin: 16px 0 12px; padding: 12px; border-left: 3px solid var(--coral); background: #f4ece0; }
.matched-need small, .match-service-source small { display: block; margin-bottom: 5px; color: #8a7769; font-size: 7px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.matched-need p { margin: 0; color: #4f5c55; font-size: 10px; line-height: 1.55; }
.match-reason { min-height: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.match-reason small { margin-right: 3px; color: #87918c; font-size: 7px; text-transform: uppercase; }
.match-reason span { padding: 4px 7px; border-radius: 10px; color: var(--green); background: #e2eee6; font-size: 7px; }
.match-card h2 { margin: 15px 0 7px; font: 500 27px Georgia, serif; }
.match-card > p { margin: 0 0 9px; color: #657169; font-size: 10px; line-height: 1.6; }
.match-owner { color: var(--green); font-size: 9px; font-weight: 800; }
.match-facts { margin: 15px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.match-facts span { padding: 5px 7px; border: 1px solid var(--line); border-radius: 12px; color: #68736d; font-size: 7px; }
.match-card > footer { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }
.match-card > footer a { color: var(--green); font-size: 9px; font-weight: 850; }
.match-card > footer form { margin: 0; }
.match-card > footer button, .match-offer-link { padding: 8px 10px; border: 0; border-radius: 5px; color: white !important; background: var(--coral); cursor: pointer; font-size: 8px; font-weight: 850; }
.match-service-source { margin: 16px 0 0; padding: 12px; border-radius: 7px; background: #e5eee8; }
.match-service-source strong, .match-service-source span { display: block; }
.match-service-source strong { color: var(--green); font: 500 18px Georgia, serif; }
.match-service-source span { margin-top: 3px; color: #718078; font-size: 8px; }
.opportunity-owner a { color: var(--green); font-weight: 800; }
.match-empty { margin-top: 25px; }

@media (max-width: 1080px) {
    .match-filters { grid-template-columns: repeat(3, 1fr); }
    .match-filters button { width: fit-content; }
    .opportunity-filters { grid-template-columns: minmax(260px, 1fr) auto; }
}

@media (max-width: 700px) {
    .matches-main { padding: 43px 18px 80px; }
    .matches-heading { align-items: flex-start; flex-direction: column; }
    .match-mode-tabs, .match-grid { grid-template-columns: 1fr; }
    .match-filters, .opportunity-filters { grid-template-columns: 1fr; }
    .match-filters button { width: 100%; }
}

@media print {
    @page { size: landscape; margin: 8mm; }
    body { color: #111; background: white; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .print-hidden { display: none !important; }
    .shared-main { max-width: none; padding: 0; }
    .shared-title { margin-bottom: 10px; }
    .shared-title h1 { font-size: 25px; }
    .shared-title p { font-size: 9px; }
    .public-canvas-grid { grid-template-rows: repeat(2, minmax(150px, auto)) minmax(110px, auto); gap: 4px; }
    .public-canvas-grid .editor-block { min-height: 0; padding: 8px; break-inside: avoid; }
    .public-canvas-grid .block-prompt { min-height: 20px; margin: 5px 0; font-size: 9px; }
    .public-canvas-grid .canvas-note { padding: 4px; }
    .public-canvas-grid .canvas-note p { font-size: 7px; }
    .shared-footer { margin-top: 8px; padding-top: 5px; font-size: 8px; }
}

/* Community profiles, partnerships, and private teamwork */
.users-main, .connections-main, .team-main, .shared-projects-main { max-width: 1100px; margin: 0 auto; padding: 65px 28px 100px; }
.users-hero { max-width: 790px; }
.users-hero h1, .connections-heading h1, .team-heading h1 { margin-bottom: 14px; font-size: clamp(46px, 7vw, 72px); }
.users-hero > p:last-child, .connections-heading p:last-child, .team-heading p:last-child { color: #68736d; }
.user-search { max-width: 720px; margin: 35px 0 25px; display: flex; }
.user-search input { flex: 1; padding: 13px 15px; border: 1px solid var(--line); border-radius: 7px 0 0 7px; background: #fffaf2; }
.user-search button { padding: 0 22px; border: 0; border-radius: 0 7px 7px 0; color: white; background: var(--green); cursor: pointer; font-weight: 850; }
.user-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.user-card { min-height: 275px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 11px; background: #fffaf2; transition: transform .15s ease; }
.user-card:hover { transform: translateY(-2px); }
.profile-initial { width: 43px; height: 43px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font: 500 21px Georgia, serif; }
.user-card > div { margin-top: 20px; }
.user-card h2 { margin: 0 0 4px; font: 500 25px Georgia, serif; }
.user-card small { color: #78827d; font-size: 9px; }
.user-card > p { margin-top: 24px; color: #5d6963; font-size: 12px; }
.user-card footer { margin-top: auto; padding: 14px 0 0; display: flex; justify-content: space-between; color: #647069; background: transparent; border-top: 1px solid var(--line); font-size: 9px; }
.profile-main { max-width: 1100px; margin: 0 auto; padding: 70px 28px 110px; }
.profile-hero { display: grid; grid-template-columns: 110px 1fr; gap: 35px; align-items: start; }
.profile-initial-large { width: 105px; height: 105px; font-size: 47px; }
.profile-hero small { color: var(--coral); font-size: 10px; font-weight: 850; }
.profile-hero h1 { margin: 8px 0; font-size: clamp(48px, 7vw, 75px); }
.profile-hero h2 { color: var(--green); font: 500 25px Georgia, serif; }
.profile-hero p { max-width: 760px; color: #58665f; font-size: 14px; }
.profile-actions { margin-top: 24px; }
.profile-actions form { display: inline; }
.profile-actions button { border: 0; cursor: pointer; }
.connection-state { display: inline-block; padding: 9px 13px; border-radius: 20px; color: #7c653a; background: #f5dfb8; font-size: 10px; font-weight: 850; }
.connection-state.is-connected { color: #2f654b; background: #dceee2; }
.profile-section { margin-top: 80px; }
.profile-section-heading h2 { margin: 0 0 25px; font: 500 42px Georgia, serif; }
.profile-service-grid, .profile-canvas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.profile-service-grid > a, .profile-canvas-grid > a { min-height: 230px; padding: 23px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; background: #fffaf2; }
.profile-service-grid span, .profile-canvas-grid span { color: var(--coral); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.profile-service-grid h3, .profile-canvas-grid h3 { margin: 25px 0 10px; font: 500 26px Georgia, serif; }
.profile-service-grid p, .profile-canvas-grid p { color: #65716b; font-size: 11px; }
.profile-service-grid strong { margin-top: auto; color: var(--green); font-size: 10px; }
.profile-empty { padding: 20px; color: #77817c; border-radius: 8px; background: #eeeade; font-size: 11px; }
.connections-heading, .team-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 45px; }
.connections-heading > span, .team-heading > span { padding: 8px 12px; border-radius: 20px; color: var(--green); background: #dfece4; font-size: 10px; white-space: nowrap; }
.connection-section { margin-top: 42px; }
.connection-section > h2 { margin-bottom: 15px; font: 500 32px Georgia, serif; }
.connection-section > h2 small { color: var(--coral); }
.connection-list { display: flex; flex-direction: column; gap: 9px; }
.connection-list article { padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border: 1px solid var(--line); border-radius: 9px; background: #fffaf2; }
.connection-list article > a { flex: 1; display: flex; align-items: center; gap: 13px; }
.connection-list h3 { margin: 0 0 3px; font: 500 20px Georgia, serif; }
.connection-list p { margin: 0; color: #77817c; font-size: 10px; }
.connection-list form { margin: 0; }
.connection-list button, .connection-actions button { padding: 7px 10px; border: 1px solid #b98c85; border-radius: 5px; color: #8b5048; background: transparent; cursor: pointer; font-size: 9px; }
.connection-actions { display: flex; gap: 6px; }
.connection-actions .accept-offer, .shared-project-card .accept-offer { color: white; border-color: var(--green); background: var(--green); }
.team-role-explainer { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.team-role-explainer article { padding: 22px; border-radius: 9px; background: #e5eee8; }
.team-role-explainer strong { font: 500 24px Georgia, serif; }
.team-role-explainer p { margin-bottom: 0; color: #5c6a63; font-size: 11px; }
.team-invite-card { margin-top: 25px; padding: 27px; border: 1px solid var(--line); border-radius: 10px; background: #fffaf2; }
.team-invite-card h2 { font: 500 30px Georgia, serif; }
.team-invite-card form { display: grid; grid-template-columns: 1fr 240px auto; gap: 12px; align-items: end; }
.team-invite-card label { display: flex; flex-direction: column; gap: 6px; font-size: 10px; font-weight: 850; }
.team-invite-card select { padding: 10px; border: 1px solid var(--line); border-radius: 5px; background: white; }
.team-invite-card button { border: 0; cursor: pointer; }
.shared-project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.shared-project-card { min-height: 290px; padding: 25px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 11px; background: #fffaf2; }
.shared-project-card.is-invited { border-color: #d6ad68; background: #fff4da; }
.shared-project-card > div { display: flex; justify-content: space-between; color: var(--coral); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.shared-project-card h2 { margin: 35px 0 11px; font: 500 31px Georgia, serif; }
.shared-project-card > p { color: #68736d; font-size: 11px; }
.shared-project-card > small { margin-top: auto; color: #76807b; }
.shared-project-card footer { padding: 17px 0 0; display: flex; gap: 7px; background: transparent; }
.shared-project-card footer form { margin: 0; }
.shared-project-card footer button { padding: 8px 11px; border: 1px solid #b88e87; border-radius: 5px; background: transparent; cursor: pointer; font-size: 9px; }
.shared-project-open { margin-top: 18px; color: var(--green); font-size: 11px; font-weight: 850; }
.note-author { color: #82908a; font-size: 7px; }

@media (max-width: 900px) {
    .user-grid, .profile-service-grid, .profile-canvas-grid { grid-template-columns: 1fr 1fr; }
    .team-invite-card form { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
    .users-main, .connections-main, .team-main, .shared-projects-main, .profile-main { padding: 45px 18px 75px; }
    .user-grid, .profile-service-grid, .profile-canvas-grid, .shared-project-grid, .team-role-explainer { grid-template-columns: 1fr; }
    .profile-hero { grid-template-columns: 1fr; }
    .profile-initial-large { width: 80px; height: 80px; font-size: 35px; }
    .connections-heading, .team-heading { align-items: flex-start; flex-direction: column; }
    .connection-list article { align-items: flex-start; flex-direction: column; }
}

/* Service marketplace, saved assets, and profile photos */
.marketplace-main, .saved-services-main { max-width: 1120px; margin: 0 auto; padding: 65px 28px 105px; }
.marketplace-hero { max-width: 830px; }
.marketplace-hero h1 { margin-bottom: 15px; font-size: clamp(48px, 7vw, 74px); }
.marketplace-hero > p:last-child { color: #65716b; }
.market-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.market-service-card { min-height: 360px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 11px; background: #fffaf2; }
.market-service-card > div { display: flex; justify-content: space-between; gap: 15px; color: var(--coral); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.market-service-card h2 { margin: 30px 0 11px; font: 500 29px/1.15 Georgia, serif; }
.market-service-card > p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 4; -webkit-box-orient: vertical; color: #66726c; font-size: 11px; }
.service-owner-link { margin-top: 14px; color: #68736d; font-size: 10px; }
.market-service-card > strong { margin-top: 12px; color: var(--green); font-size: 11px; }
.market-service-card footer { margin-top: auto; padding: 16px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--green); background: transparent; border-top: 1px solid var(--line); font-size: 10px; font-weight: 850; }
.market-service-card footer form { margin: 0; }
.market-service-card footer button { padding: 7px 9px; border: 1px solid var(--green); border-radius: 5px; color: var(--green); background: transparent; cursor: pointer; font-size: 9px; font-weight: 850; }
.saved-service-list { display: flex; flex-direction: column; gap: 10px; }
.saved-service-row { padding: 20px; display: grid; grid-template-columns: minmax(230px, 1fr) auto minmax(420px, 1.4fr) auto; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fffaf2; }
.saved-service-row.is-inactive { opacity: .65; }
.saved-service-row > div > span { color: var(--coral); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.saved-service-row h2 { margin: 6px 0; font: 500 24px Georgia, serif; }
.saved-service-row p { margin: 0; color: #68736d; font-size: 10px; }
.saved-service-row > a { color: var(--green); font-size: 10px; font-weight: 850; }
.asset-to-canvas-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 7px; }
.asset-to-canvas-form select { min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 5px; background: white; font-size: 10px; }
.asset-to-canvas-form .button { border: 0; cursor: pointer; }
.saved-remove-form button { border: 0; color: #9a5148; background: transparent; cursor: pointer; font-size: 9px; }
.asset-unavailable { color: #91605a; font-size: 9px; font-weight: 850; }
.service-public-hero aside a { color: white; }
.service-public-hero aside form { margin-top: 14px; }
.service-save-public { margin-top: 15px; padding: 9px 11px; display: inline-block; border: 1px solid rgba(255,255,255,.55); border-radius: 5px; color: white; background: transparent; cursor: pointer; font-size: 9px; font-weight: 850; text-align: center; }
.profile-card-image { width: 55px; height: 55px; object-fit: cover; border-radius: 50%; }
.profile-hero-image { width: 105px; height: 105px; object-fit: cover; border-radius: 50%; }
.profile-photo-editor { padding: 18px; display: grid; grid-template-columns: 105px 1fr; gap: 20px; align-items: center; border-radius: 9px; background: #e5eee8; }
.profile-photo-editor img { width: 105px; height: 105px; object-fit: cover; border-radius: 50%; }
.profile-photo-editor label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; font-weight: 850; }
.profile-photo-editor input { padding: 8px; background: white; }
.profile-photo-editor small { color: #68736d; font-size: 9px; font-weight: 500; }
.profile-section-heading { position: relative; }
.profile-section-heading > a { position: absolute; right: 0; bottom: 30px; color: var(--green); font-size: 10px; font-weight: 850; }
.note-source-link { color: var(--green); font-size: 7px; font-weight: 850; }

@media (max-width: 900px) {
    .market-service-grid { grid-template-columns: 1fr 1fr; }
    .saved-service-row { grid-template-columns: 1fr auto; }
    .asset-to-canvas-form { grid-column: 1 / 3; }
}

@media (max-width: 580px) {
    .marketplace-main, .saved-services-main { padding: 45px 18px 75px; }
    .market-service-grid { grid-template-columns: 1fr; }
    .market-service-card .service-share-row a { flex: 1 1 calc(50% - 7px); text-align: center; }
    .saved-service-row { grid-template-columns: 1fr; }
    .asset-to-canvas-form { grid-column: auto; grid-template-columns: 1fr; }
    .profile-photo-editor { grid-template-columns: 1fr; }
    .profile-section-heading > a { position: static; display: inline-block; margin-bottom: 20px; }
}

/* Compact dashboard navigation */
.dashboard-with-sidebar { min-height: 100vh; padding-left: 238px; }
.dashboard-sidebar { width: 238px; height: 100vh; padding: 24px 18px 18px; position: fixed; z-index: 30; top: 0; left: 0; display: flex; flex-direction: column; color: white; background: var(--green); overflow-y: auto; }
.sidebar-brand { padding: 0 7px 23px; color: white; border-bottom: 1px solid rgba(255,255,255,.13); }
.sidebar-brand .brand-mark { color: var(--green); background: var(--yellow); }
.dashboard-sidebar > nav { padding-top: 18px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-group { display: flex; flex-direction: column; gap: 5px; }
.sidebar-group > span { margin: 0 10px 6px; color: rgba(255,255,255,.52); font-size: 9.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.sidebar-group a { min-height: 38px; padding: 10px 11px; display: flex; align-items: center; justify-content: space-between; border-radius: 7px; color: rgba(255,255,255,.82); font-size: 11.5px; font-weight: 760; line-height: 1.25; }
.sidebar-group a:hover, .sidebar-group a.active { color: white; background: rgba(255,255,255,.11); }
.sidebar-group a b { min-width: 21px; height: 21px; padding: 0 6px; display: grid; place-items: center; border-radius: 11px; color: var(--green); background: var(--yellow); font-size: 9px; }
.sidebar-account { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); }
.sidebar-account > a:first-child { display: flex; align-items: center; gap: 10px; color: white; }
.sidebar-account img, .sidebar-account > a:first-child > span { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; object-fit: cover; border-radius: 50%; color: var(--green); background: var(--yellow); font: 500 17px Georgia, serif; }
.sidebar-account div { min-width: 0; display: flex; flex-direction: column; }
.sidebar-account strong { overflow: hidden; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-account small { color: rgba(255,255,255,.62); font-size: 9.5px; }
.sidebar-legacy { margin: 11px 0 0 45px; color: rgba(255,255,255,.68); font-size: 9.5px; }
.dashboard-compact-header { min-height: 61px; padding: 0 30px; position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: rgba(244,241,232,.94); backdrop-filter: blur(12px); }
.dashboard-compact-header > div { display: flex; align-items: center; gap: 15px; }
.compact-page-name { color: #66716c; font-size: 12px; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.compact-account a { color: var(--green); font-size: 12px; font-weight: 850; }
.compact-account form { margin: 0; }
.compact-account .text-button { padding-left: 14px; border-left: 1px solid var(--line); }
.dashboard-with-sidebar .dashboard-main { max-width: 1220px; padding-top: 55px; }
.dashboard-with-sidebar > .dashboard-header { display: none; }
.dashboard-with-sidebar > .site-header { display: none; }
.compact-back-link { color: var(--green); font-size: 11px; font-weight: 850; }
.mobile-dashboard-menu { display: none; position: relative; }
.mobile-dashboard-menu summary { padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--green); cursor: pointer; font-size: 11px; font-weight: 850; list-style: none; }
.mobile-dashboard-menu summary::-webkit-details-marker { display: none; }
.mobile-menu-panel { width: 260px; padding: 10px; position: absolute; top: 42px; left: 0; display: flex; flex-direction: column; gap: 3px; border: 1px solid var(--line); border-radius: 9px; background: #fffaf2; box-shadow: var(--shadow); }
.mobile-menu-panel a { padding: 10px 11px; display: flex !important; border-radius: 6px; color: var(--green); font-size: 12px; font-weight: 760; line-height: 1.25; }
.mobile-menu-panel a:hover { background: #e5eee8; }

@media (max-width: 900px) {
    .dashboard-with-sidebar { padding-left: 0; }
    .dashboard-sidebar { display: none; }
    .dashboard-compact-header { padding: 0 20px; }
    .mobile-dashboard-menu { display: block; }
    .compact-page-name { display: none; }
    .dashboard-with-sidebar .dashboard-main { padding-top: 42px; }
}

@media (max-width: 580px) {
    .dashboard-compact-header { min-height: 58px; padding: 0 14px; }
    .compact-account > a { display: none; }
    .compact-account .text-button { padding-left: 0; border-left: 0; }
    .mobile-menu-panel { width: min(260px, calc(100vw - 28px)); }
}

/* Homepage audience segmentation */
.section-intro { max-width: 720px; margin-top: 17px; color: rgba(255,250,240,.68); font-size: 15px; }
.audience-grid { grid-template-columns: repeat(3, 1fr); }
.audience-grid .path-card { min-height: 535px; }
.audience-grid .path-card > div { max-width: none; }
.audience-grid .path-card h3 { font-size: clamp(31px, 2.6vw, 41px); line-height: 1.08; }
.reset-card { color: var(--cream); background: #28566a; border: 1px solid rgba(255,250,240,.5); box-shadow: 0 18px 45px rgba(0,0,0,.16); }
.reset-card .path-number, .reset-card .path-label { color: var(--cream); opacity: 1; }
.reset-card .audience-points { border-top-color: rgba(255,250,240,.28); }
.reset-card a { color: var(--cream); border-bottom-color: var(--cream); }
.audience-points { min-height: 115px; margin: 18px 0 0; padding: 16px 0 0 18px; border-top: 1px solid rgba(23,35,31,.18); }
.audience-points li { margin-bottom: 7px; padding-left: 3px; font-size: 12px; line-height: 1.45; }
.audience-grid .path-card a { margin-top: 20px; }

@media (max-width: 1100px) {
    .audience-grid { grid-template-columns: 1fr; }
    .audience-grid .path-card { min-height: 390px; }
    .audience-points { min-height: 0; }
}

@media (max-width: 580px) {
    .section-intro { font-size: 13px; }
    .audience-grid .path-card { min-height: 465px; }
    .audience-grid .path-card h3 { font-size: 32px; }
}

/* Notifications and project activity */
.notifications-main, .activity-main { max-width: 980px; margin: 0 auto; padding: 60px 28px 105px; }
.notifications-heading, .activity-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.notifications-heading h1, .activity-heading h1 { margin-bottom: 10px; font-size: clamp(45px, 6vw, 68px); }
.notifications-heading p:last-child, .activity-heading p:last-child { color: #68736d; }
.notifications-heading > div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.notifications-heading > div:last-child > span, .activity-heading > span { padding: 7px 11px; border-radius: 18px; color: var(--green); background: #dcebe1; font-size: 9px; white-space: nowrap; }
.notifications-heading form { margin: 0; }
.notifications-heading button { border: 0; color: var(--green); background: transparent; cursor: pointer; font-size: 9px; font-weight: 850; }
.notification-list { display: flex; flex-direction: column; gap: 9px; }
.notification-item { padding: 20px; display: grid; grid-template-columns: 10px 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 9px; background: #fffaf2; }
.notification-item.is-unread { border-color: #8eb49d; background: #eef6f0; }
.notification-dot { width: 8px; height: 8px; border-radius: 50%; background: #c5cbc7; }
.notification-item.is-unread .notification-dot { background: var(--coral); box-shadow: 0 0 0 4px rgba(239,118,95,.14); }
.notification-item small { color: #84908a; font-size: 8px; text-transform: capitalize; }
.notification-item h2 { margin: 5px 0 4px; font: 500 23px Georgia, serif; }
.notification-item p { margin: 0; color: #637069; font-size: 11px; }
.notification-item div > a { color: var(--green); font-size: 9px; font-weight: 800; }
.notification-item form { margin: 0; }
.notification-item form button { padding: 8px 10px; border: 1px solid var(--green); border-radius: 5px; color: var(--green); background: transparent; cursor: pointer; font-size: 9px; font-weight: 850; }
.activity-timeline { position: relative; display: flex; flex-direction: column; }
.activity-timeline::before { width: 1px; position: absolute; top: 8px; bottom: 8px; left: 7px; content: ''; background: #c6cfca; }
.activity-timeline article { padding: 0 0 28px 31px; position: relative; }
.activity-marker { width: 15px; height: 15px; position: absolute; z-index: 1; top: 5px; left: 0; border: 3px solid var(--paper); border-radius: 50%; background: var(--coral); }
.activity-timeline article > div { padding: 17px 20px; border: 1px solid var(--line); border-radius: 9px; background: #fffaf2; }
.activity-timeline small { color: #87918c; font-size: 8px; }
.activity-timeline h2 { margin: 5px 0 3px; font: 500 20px Georgia, serif; }
.activity-timeline p { margin: 0; color: #637069; font-size: 11px; }
.mobile-notification-link { display: none; }
.canvas-title-actions { display: flex; align-items: center; gap: 15px; }

@media (max-width: 900px) {
    .mobile-notification-link { min-height: 28px; padding: 6px 9px; position: fixed; z-index: 25; top: 15px; right: 72px; display: flex; align-items: center; gap: 6px; border-radius: 15px; color: var(--green); background: #dcebe1; font-size: 8px; font-weight: 850; }
    .mobile-notification-link b { min-width: 17px; height: 17px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--coral); font-size: 7px; }
}

@media (max-width: 580px) {
    .notifications-main, .activity-main { padding: 43px 18px 75px; }
    .notifications-heading, .activity-heading { align-items: flex-start; flex-direction: column; }
    .notifications-heading > div:last-child { align-items: flex-start; }
    .notification-item { grid-template-columns: 10px 1fr; }
    .notification-item form { grid-column: 2; }
    .canvas-title-actions { margin-top: 15px; align-items: flex-start; flex-direction: column; gap: 7px; }
}

/* Operational security */
.security-main { max-width: 1060px; margin: 0 auto; padding: 60px 28px 105px; }
.security-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.security-heading h1 { max-width: 760px; margin-bottom: 11px; font-size: clamp(44px, 6vw, 68px); }
.security-heading p:last-child { color: #66736d; }
.security-heading > span { padding: 8px 12px; border-radius: 18px; color: var(--green); background: #dcebe1; font-size: 9px; font-weight: 850; white-space: nowrap; }
.security-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.security-card, .report-panel, .admin-report-card { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf2; box-shadow: 0 13px 30px rgba(23,35,31,.04); }
.security-card small, .report-target small, .admin-report-card small { color: #7f8b85; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.security-card h2, .report-target h2, .admin-report-card h2 { margin: 8px 0 8px; font: 500 25px Georgia, serif; }
.security-card p, .report-target p, .admin-report-card p { color: #637069; font-size: 11px; line-height: 1.7; }
.security-card a { color: var(--green); font-size: 10px; font-weight: 850; }
.security-password-card form { margin: 14px 0; display: grid; gap: 11px; }
.security-password-card input { width: 100%; }
.security-card-admin { color: white; background: var(--green); }
.security-card-admin small, .security-card-admin p, .security-card-admin a { color: rgba(255,255,255,.78); }
.security-card-admin h2 { color: white; }
.muted { color: #8a958f !important; }
.security-token-box { margin: 0 0 18px; padding: 13px; border: 1px dashed #d0a749; border-radius: 8px; background: #fff4cd; }
.security-token-box small { display: block; margin-bottom: 6px; color: #806015; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.security-token-box a { display: block; overflow-wrap: anywhere; color: var(--green); font-size: 10px; }
.report-panel { max-width: 760px; }
.report-target { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.report-panel form { display: grid; gap: 16px; }
.report-panel textarea, .admin-report-card textarea, .admin-report-card select { width: 100%; }
.report-tabs { margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.report-tabs a { padding: 9px 12px; border: 1px solid var(--line); border-radius: 18px; color: var(--green); background: #fffaf2; font-size: 9px; font-weight: 850; text-transform: capitalize; }
.report-tabs a.active { color: white; background: var(--green); border-color: var(--green); }
.report-tabs b { margin-left: 5px; }
.admin-report-list { display: flex; flex-direction: column; gap: 12px; }
.admin-report-card { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 20px; }
.admin-report-card span { display: block; margin-top: 12px; color: #7f8b85; font-size: 9px; }
.admin-report-card form { display: grid; gap: 10px; align-content: start; }
.review-note { margin-top: 13px; padding: 12px; border-radius: 8px; color: #53615a; background: #eef4ee; font-size: 10px; line-height: 1.6; }

@media (max-width: 760px) {
    .security-main { padding: 43px 18px 75px; }
    .security-heading { align-items: flex-start; flex-direction: column; }
    .security-grid, .admin-report-card { grid-template-columns: 1fr; }
}

/* Premium monetization */
.premium-main { max-width: 1120px; margin: 0 auto; padding: 64px 28px 105px; }
.premium-hero { margin-bottom: 34px; }
.premium-hero h1 { max-width: 820px; margin: 8px 0 14px; font-size: clamp(45px, 6vw, 72px); }
.premium-hero p { max-width: 720px; color: #637069; font-size: 13px; line-height: 1.75; }
.premium-account-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pricing-card { min-height: 500px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: #fffaf2; box-shadow: 0 18px 40px rgba(23,35,31,.05); }
.pricing-card.is-featured { color: white; background: var(--green); border-color: var(--green); transform: translateY(-10px); }
.pricing-card small { color: #7f8b85; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.pricing-card.is-featured small, .pricing-card.is-featured p, .pricing-card.is-featured li { color: rgba(255,255,255,.78); }
.pricing-card h2 { margin: 15px 0 8px; font: 500 38px Georgia, serif; }
.pricing-card h2 span { margin-left: 4px; font: 700 11px Inter, Arial, sans-serif; }
.pricing-card p { color: #65716b; font-size: 11px; line-height: 1.65; }
.pricing-card ul { margin: 22px 0 28px; padding-left: 18px; display: grid; gap: 10px; color: #56635d; font-size: 11px; line-height: 1.5; }
.pricing-card .button { margin-top: auto; justify-content: center; }
.premium-usage-grid { margin-bottom: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.premium-usage-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf2; }
.premium-usage-grid span, .premium-dashboard-card span { color: #7f8b85; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.premium-usage-grid strong { display: block; margin-top: 8px; color: var(--green); font: 500 30px Georgia, serif; }
.billing-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 16px; align-items: start; }
.billing-request-card, .billing-history-card { padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf2; }
.billing-request-card h2, .billing-history-card h2 { margin-bottom: 8px; font: 500 29px Georgia, serif; }
.billing-request-card p, .billing-history-card p { color: #637069; font-size: 11px; line-height: 1.65; }
.billing-request-card form, .billing-request-card { display: grid; gap: 13px; }
.billing-history-card article { padding: 14px 0; border-bottom: 1px solid var(--line); }
.billing-history-card article:last-child { border-bottom: 0; }
.billing-history-card small, .billing-history-card span { display: block; color: #87918c; font-size: 8px; text-transform: capitalize; }
.billing-history-card strong { display: block; margin: 4px 0; color: var(--green); font-size: 12px; }
.premium-pill { padding: 8px 12px; border-radius: 18px; color: var(--green); background: #dcebe1; font-size: 9px; font-weight: 850; white-space: nowrap; }
.premium-limit-alert { margin: 0 0 20px; padding: 22px; border: 1px solid #d0a749; border-radius: 12px; background: #fff4cd; }
.premium-limit-alert h2 { margin-bottom: 7px; font: 500 25px Georgia, serif; }
.premium-limit-alert p { margin: 0 0 14px; color: #6c5a25; font-size: 11px; line-height: 1.6; }
.premium-dashboard-card { text-decoration: none; }
.home-premium-strip { width: min(1120px, calc(100% - 56px)); margin: 0 auto 96px; padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-radius: 18px; color: white; background: var(--green); }
.home-premium-strip h2 { max-width: 760px; margin: 7px 0 10px; font-size: clamp(34px, 4vw, 52px); }
.home-premium-strip p { max-width: 690px; color: rgba(255,255,255,.72); }
.home-premium-strip .button { background: var(--yellow); color: var(--green); }
.home-donation-link { color: var(--yellow); font-size: 11px; font-weight: 850; }
.billing-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Donations */
.donation-main { max-width: 1120px; margin: 0 auto; padding: 64px 28px 105px; }
.donation-hero { margin-bottom: 28px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: stretch; }
.donation-hero h1 { max-width: 780px; margin: 8px 0 14px; font-size: clamp(42px, 5.6vw, 68px); }
.donation-hero p { max-width: 720px; color: #637069; font-size: 13px; line-height: 1.75; }
.donation-hero-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.donation-impact-card, .donation-card, .donation-status-card { border: 1px solid var(--line); border-radius: 14px; background: #fffaf2; box-shadow: 0 18px 40px rgba(23,35,31,.05); }
.donation-impact-card { padding: 26px; color: white; background: var(--green); }
.donation-impact-card span { color: var(--yellow); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.donation-impact-card ul { margin: 18px 0 0; padding-left: 18px; display: grid; gap: 12px; color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.55; }
.donation-status-card { margin-bottom: 18px; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.donation-status-card h2 { margin: 6px 0; font: 500 27px Georgia, serif; }
.donation-status-card p { margin: 0; color: #637069; font-size: 12px; }
.donation-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 16px; align-items: start; }
.donation-card { padding: 26px; }
.donation-card h2 { margin-bottom: 8px; font: 500 29px Georgia, serif; }
.donation-card p { color: #637069; font-size: 11px; line-height: 1.65; }
.donation-form-card { display: grid; gap: 14px; }
.donation-form-card > label, .donation-form-card .field-row label { display: flex; flex-direction: column; gap: 7px; color: #31433b; font-size: 11px; font-weight: 850; line-height: 1.35; }
.donation-form-card input[type="text"], .donation-form-card input[type="email"], .donation-form-card input[type="number"], .donation-form-card textarea {
    width: 100%;
    min-height: 47px;
    padding: 12px 13px;
    border: 1px solid #cbd3cd;
    border-radius: 8px;
    color: var(--ink);
    background: #fffdf8;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
    font: 13px/1.45 inherit;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.donation-form-card textarea { min-height: 112px; resize: vertical; }
.donation-form-card input:focus, .donation-form-card textarea:focus { border-color: var(--green); background: white; box-shadow: 0 0 0 3px rgba(31,92,74,.11); }
.donation-form-card input::placeholder, .donation-form-card textarea::placeholder { color: #9aa49f; }
.donation-form-card .field-help { margin-top: -2px; color: #7c8781; font-size: 9px; font-weight: 600; line-height: 1.45; }
.donation-form-card .field-row { align-items: start; }
.donation-amount-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.donation-amount-grid label { cursor: pointer; }
.donation-amount-grid input { position: absolute; opacity: 0; pointer-events: none; }
.donation-amount-grid span { min-height: 45px; display: grid; place-items: center; border: 1px solid #d6c8ae; border-radius: 10px; color: var(--green); background: #fbf3e4; font-size: 11px; font-weight: 900; }
.donation-amount-grid input:checked + span { color: white; background: var(--green); border-color: var(--green); box-shadow: 0 10px 20px rgba(23,35,31,.12); }
.donation-history-card article { padding: 14px 0; border-bottom: 1px solid var(--line); }
.donation-history-card article:last-child { border-bottom: 0; }
.donation-history-card small, .donation-history-card span { display: block; color: #87918c; font-size: 8px; text-transform: capitalize; }
.donation-history-card strong { display: block; margin: 4px 0; color: var(--green); font-size: 12px; }

@media (max-width: 880px) {
    .pricing-grid, .premium-usage-grid, .billing-grid, .donation-hero, .donation-grid { grid-template-columns: 1fr; }
    .pricing-card.is-featured { transform: none; }
    .premium-account-hero, .home-premium-strip { align-items: flex-start; flex-direction: column; }
    .donation-status-card { align-items: flex-start; flex-direction: column; }
    .donation-amount-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Marketing analytics */
.marketing-main { max-width: 1180px; margin: 0 auto; padding: 42px 28px 90px; }
.marketing-heading form { min-width: 180px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fffaf2; }
.marketing-heading label { display: grid; gap: 7px; color: #5d6a63; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.marketing-heading select { min-height: 40px; padding: 0 10px; border: 1px solid #cbd3cd; border-radius: 10px; color: var(--green); background: white; font-size: 12px; font-weight: 850; }
.marketing-metric-grid { margin: 24px 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.marketing-metric-grid article, .marketing-card { border: 1px solid var(--line); border-radius: 16px; background: #fffaf2; box-shadow: 0 16px 38px rgba(23,35,31,.05); }
.marketing-metric-grid article { padding: 18px; }
.marketing-metric-grid span, .marketing-metric-grid small { display: block; color: #738078; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.marketing-metric-grid strong { display: block; margin: 9px 0 5px; color: var(--green); font: 500 34px Georgia, serif; }
.marketing-card { padding: 22px; }
.marketing-card-heading { margin-bottom: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.marketing-card-heading h2 { margin: 5px 0 0; font: 500 28px Georgia, serif; }
.marketing-card-heading > span { color: #87918c; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.table-scroll { width: 100%; overflow-x: auto; }
.marketing-table { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 11px; }
.marketing-table th, .marketing-table td { padding: 10px 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.marketing-table th { color: #637069; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.marketing-table td { color: #2f3c36; }
.marketing-split { margin-top: 16px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.marketing-page-row { padding: 10px 0; display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); font-size: 11px; }
.marketing-page-row span { color: #39473f; word-break: break-word; }
.marketing-page-row strong { color: var(--green); }
.marketing-event-list { max-height: 560px; overflow: auto; display: grid; gap: 9px; }
.marketing-event-list article { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #f8f1e5; }
.marketing-event-list small, .marketing-event-list span { display: block; color: #7b8781; font-size: 9px; line-height: 1.45; }
.marketing-event-list strong { display: block; margin: 4px 0; color: var(--green); font-size: 12px; }

@media (max-width: 1040px) {
    .marketing-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .marketing-split { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .marketing-main { padding: 28px 16px 78px; }
    .marketing-heading { align-items: stretch; }
    .marketing-heading form { width: 100%; }
    .marketing-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .marketing-metric-grid article, .marketing-card { border-radius: 13px; }
    .marketing-metric-grid article { padding: 14px; }
    .marketing-metric-grid strong { font-size: 28px; }
    .marketing-card { padding: 16px; }
    .marketing-card-heading { align-items: flex-start; flex-direction: column; }
}

/* Canvas AI assistant */
.canvas-ai-section { margin: 30px 0 42px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fffaf2; box-shadow: 0 16px 42px rgba(23,35,31,.05); }
.canvas-ai-heading { margin-bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; }
.canvas-ai-heading h2 { margin: 6px 0 8px; font: 500 34px Georgia, serif; }
.canvas-ai-heading p { max-width: 760px; color: #637069; font-size: 12px; line-height: 1.65; }
.canvas-ai-heading > span { padding: 7px 11px; border-radius: 18px; color: var(--green); background: #dcebe1; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.canvas-ai-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.canvas-ai-messages { max-height: 520px; padding-right: 6px; display: flex; flex-direction: column; gap: 10px; overflow: auto; }
.ai-message { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #f8f1e5; }
.ai-message small { display: block; margin-bottom: 7px; color: #87918c; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.ai-message p { margin: 0; color: #344039; font-size: 12px; line-height: 1.7; }
.ai-assistant { border-color: #c8dccf; background: #eef6f0; }
.ai-user { margin-left: 34px; border-color: #ead5ad; background: #fff4d8; }
.ai-empty { padding: 22px; border: 1px dashed #d2c5ad; border-radius: 12px; background: #fbf4e8; }
.ai-empty h3 { margin-bottom: 7px; font: 500 24px Georgia, serif; }
.ai-empty p { margin: 0; color: #6a756f; font-size: 11px; line-height: 1.6; }
.canvas-ai-form { padding: 18px; display: grid; gap: 13px; border: 1px solid var(--line); border-radius: 12px; background: #f7efe2; }
.canvas-ai-form textarea { width: 100%; resize: vertical; }
.canvas-ai-form > p { margin: 0; color: #7a857f; font-size: 9px; line-height: 1.5; }
.ai-suggestion-row { display: flex; flex-wrap: wrap; gap: 7px; }
.ai-suggestion-row button { padding: 7px 9px; border: 1px solid #cbd8ce; border-radius: 16px; color: var(--green); background: #edf5ef; cursor: pointer; font-size: 9px; font-weight: 850; }

@media (max-width: 980px) {
    .canvas-ai-layout { grid-template-columns: 1fr; }
    .canvas-ai-heading { align-items: flex-start; flex-direction: column; }
}

/* Global AI chat widget */
.global-ai-widget { position: fixed; z-index: 80; top: auto; left: auto; right: 24px; bottom: 22px; width: min(390px, calc(100vw - 34px)); font-family: inherit; }
.global-ai-toggle { width: 168px; min-height: 52px; margin-left: auto; padding: 9px 14px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border: 0; border-radius: 19px; color: white; background: var(--green); box-shadow: 0 18px 46px rgba(23,35,31,.22); cursor: pointer; }
.global-ai-toggle span { font-size: 12px; font-weight: 900; }
.global-ai-toggle small { color: rgba(255,255,255,.74); font-size: 8px; font-weight: 800; }
.global-ai-panel { height: min(620px, calc(100vh - 96px)); max-height: min(620px, calc(100vh - 96px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(31,92,74,.18); border-radius: 18px; background: #fffaf2; box-shadow: 0 24px 70px rgba(23,35,31,.22); transform: translateY(0); opacity: 1; transition: transform .22s ease, opacity .22s ease; }
.global-ai-widget.is-collapsed .global-ai-panel { display: none; pointer-events: none; transform: translateY(18px); opacity: 0; }
.global-ai-widget.is-open .global-ai-panel { display: flex; }
.global-ai-widget.is-open .global-ai-toggle { display: none; }
.global-ai-panel header { flex: 0 0 auto; padding: 14px 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: white; background: var(--green); }
.global-ai-panel header strong { display: block; font: 500 20px Georgia, serif; }
.global-ai-panel header span { display: block; margin-top: 2px; color: rgba(255,255,255,.72); font-size: 9px; }
.global-ai-panel header button { width: 31px; height: 31px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: white; background: rgba(255,255,255,.08); cursor: pointer; font-size: 21px; line-height: 1; }
.global-ai-messages { min-height: 0; flex: 1 1 auto; padding: 14px; display: flex; flex-direction: column; gap: 9px; overflow-y: auto; overflow-x: hidden; }
.global-ai-messages article { max-width: 88%; padding: 11px 12px; border-radius: 13px; border: 1px solid var(--line); }
.global-ai-messages article p { margin: 0; color: #35443d; font-size: 11px; line-height: 1.55; white-space: pre-wrap; }
.global-ai-messages .assistant { align-self: flex-start; background: #eef6f0; border-color: #c8dccf; }
.global-ai-messages .assistant.is-typing p::after { content: ''; width: 6px; height: 1.08em; margin-left: 3px; display: inline-block; vertical-align: -2px; border-right: 2px solid rgba(31,92,74,.72); animation: globalAiCaret .82s steps(1) infinite; }
.global-ai-messages .user { align-self: flex-end; background: #fff0cf; border-color: #ecd29b; }
.global-ai-form { flex: 0 0 auto; padding: 13px; display: grid; gap: 10px; border-top: 1px solid var(--line); background: #f8efe1; }
.global-ai-project-target { display: grid; gap: 5px; }
.global-ai-project-target span { color: #5d6a63; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.global-ai-project-target select { width: 100%; min-height: 40px; padding: 0 10px; border: 1px solid #cbd3cd; border-radius: 10px; color: var(--green); background: #fffdf8; font-size: 10px; font-weight: 850; }
.global-ai-form textarea { width: 100%; min-height: 78px; max-height: 118px; padding: 11px 12px; border: 1px solid #cbd3cd; border-radius: 11px; resize: none; background: #fffdf8; color: var(--ink); font: 12px/1.45 inherit; outline: none; overflow-y: auto; }
.global-ai-project-target select:focus, .global-ai-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,92,74,.1); outline: none; }
.global-ai-form > div { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 8px; }
.global-ai-form select { min-height: 40px; padding: 0 10px; border: 1px solid #cbd3cd; border-radius: 10px; color: var(--green); background: #fffdf8; font-size: 10px; font-weight: 850; }
.global-ai-form button[type="submit"] { min-height: 40px; padding: 0 16px; border: 0; border-radius: 10px; color: white; background: var(--green); cursor: pointer; font-size: 10px; font-weight: 900; white-space: nowrap; }
.global-ai-form button[type="submit"]:disabled { opacity: .65; cursor: wait; }
.global-ai-form p { margin: 0; color: #7d8882; font-size: 9px; line-height: 1.4; }

@keyframes globalAiCaret {
    0%, 45% { opacity: 1; }
    46%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .global-ai-messages .assistant.is-typing p::after { animation: none; }
}

@media (max-width: 640px) {
    .global-ai-widget { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: calc(100vw - 24px); }
    .global-ai-widget.is-collapsed { width: 145px; right: 12px; bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
    .global-ai-toggle { width: 145px; min-height: 48px; border-radius: 17px; }
    .global-ai-panel { height: calc(100svh - 74px); height: calc(100vh - 74px); max-height: calc(100svh - 74px); max-height: calc(100vh - 74px); border-radius: 16px; }
    .global-ai-panel header { padding: 12px 13px; }
    .global-ai-panel header strong { font-size: 18px; }
    .global-ai-messages { min-height: 0; max-height: none; padding: 12px; }
    .global-ai-messages article { max-width: 94%; padding: 10px 11px; }
    .global-ai-messages article p { font-size: 10.5px; line-height: 1.55; }
    .global-ai-form { padding: 12px; gap: 9px; }
    .global-ai-form textarea { min-height: 66px; max-height: 92px; font-size: 12px; }
    .global-ai-form > div { grid-template-columns: minmax(0, 1fr) 92px; }
    .global-ai-form select, .global-ai-form button[type="submit"] { width: 100%; }
    .global-ai-form p { font-size: 8.5px; }
}

@media (max-width: 380px) {
    .home-ai-advantage { width: calc(100% - 24px); padding: 20px 14px; }
    .home-ai-copy h2 { font-size: 30px; }
    .home-ai-panel { padding: 13px; }
    .ai-benefit-list { grid-template-columns: 1fr; }
    .global-ai-widget { right: 8px; width: calc(100vw - 16px); }
    .global-ai-widget.is-collapsed { right: 8px; }
    .global-ai-panel { height: calc(100svh - 66px); height: calc(100vh - 66px); max-height: calc(100svh - 66px); max-height: calc(100vh - 66px); }
    .global-ai-form { padding: 10px; gap: 7px; }
    .global-ai-form > div { grid-template-columns: 1fr; }
    .global-ai-form textarea { min-height: 58px; max-height: 76px; }
}
