:root {
    --bg: #f6f7f8;
    --white: #ffffff;
    --text: #111827;
    --muted: #4b5563;
    --line: #e5e7eb;
    --green: #1f7a3f;
    --green-dark: #176433;
    --green-soft: #eaf6ee;
    --radius-card: 28px;
    --shadow: 0 12px 40px rgba(17, 24, 39, 0.08);
    --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
    overflow-x: hidden;
}

a { color: var(--green); }

.topbar {
    background: rgba(246, 247, 248, 0.92);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid transparent;
}

.topbar-inner {
    width: min(1080px, calc(100% - 2rem));
    margin: 0 auto;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 1.1rem;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.nav-link {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
}

.inline { display: inline; }

/* Header — İmza Kampanyam tarzı */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 40;
}

.site-header-inner {
    width: min(1140px, calc(100% - 2rem));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    height: 44px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.35rem;
    margin-left: auto;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.header-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.header-link:hover,
.header-link.is-active {
    color: #111827;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.btn-campaign,
.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    border-radius: 999px;
    padding: 0.7rem 1.15rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-campaign {
    color: var(--green);
    background: var(--green-soft);
    border: 1.5px solid var(--green);
}

.btn-campaign:hover {
    background: #dff3e6;
    color: var(--green-dark);
    border-color: var(--green-dark);
}

.btn-campaign-icon {
    flex-shrink: 0;
}

.btn-login {
    color: #fff;
    background: var(--green);
    border: 1.5px solid var(--green);
}

.btn-login:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
}

.btn-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    color: inherit;
    line-height: 0;
    text-decoration: none;
    flex: none;
    align-self: center;
}

.btn-profile-disc {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    overflow: hidden;
    flex: none;
}

.btn-profile:hover .btn-profile-disc,
.btn-profile.is-active .btn-profile-disc {
    background: var(--green-dark);
}

.btn-profile-disc svg {
    display: block;
    width: 20px;
    height: 20px;
}

.header-logout {
    display: none;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: #111827;
    border-radius: 2px;
}

.inline { display: inline; }

.simple-list {
    padding-left: 1.2rem;
    margin: 0 0 1.25rem;
}

.simple-list li { margin-bottom: 0.55rem; }

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: var(--green);
    color: #fff !important;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    padding: 0.75rem 1.35rem;
    font-weight: 700;
    font-family: inherit;
    font-size: 0.98rem;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.btn-pill:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.btn-pill span {
    font-size: 1.15rem;
    line-height: 1;
}

.btn-hero {
    padding: 0.9rem 1.7rem;
    font-size: 1.05rem;
}

.btn-pill.btn-signed,
.sticky-sign-btn.is-signed {
    background: #111827;
}

.btn-pill.btn-signed:hover,
.sticky-sign-btn.is-signed:hover {
    background: #0b1220;
}

.btn-block { width: 100%; }

.btn-outline {
    background: #fff;
    color: var(--green) !important;
    border: 1.5px solid var(--green);
}

.btn-outline:hover {
    background: var(--green-soft);
}

.hero {
    width: min(820px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 2.5rem;
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 0.85rem;
}

.hero h1 {
    margin: 0;
    max-width: 100%;
    font-size: clamp(1.7rem, 4vw, 2.45rem);
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hero-lead {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 700;
    color: #176433;
}

.hero-stats {
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.sticky-sign {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 1.1rem;
    top: auto;
    z-index: 45;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sticky-sign.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
}

.sticky-sign-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 0;
    border-radius: 999px;
    padding: 0.95rem 1.8rem;
    background: #1e3a5f;
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
}

.sticky-sign-btn:hover {
    background: #16304f;
}

.sticky-sign-btn span {
    font-size: 1.15rem;
    line-height: 1;
}

.campaign-shell {
    display: grid;
    gap: 1.25rem;
}

.shell {
    width: min(980px, calc(100% - 2rem));
    margin: 0 auto 3.5rem;
}

.main-card {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.panel-card {
    background: var(--white);
    border-radius: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(229, 231, 235, 0.9);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.panel-card h2 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.share h2 {
    text-align: center;
    margin: 0 0 1.1rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.cover {
    position: relative;
    aspect-ratio: 16 / 7;
    background: #111;
}

.cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.9;
}

.cover-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
    color: #fff;
    display: grid;
    gap: 0.2rem;
}

.cover-caption span {
    font-size: 0.85rem;
    opacity: 0.85;
}

.cover-caption strong {
    font-size: 1.05rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.card-body {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.progress-wrap {
    margin-bottom: 1.5rem;
}

.progress {
    height: 8px;
    background: #eef2f0;
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--green);
}

.progress-wrap p {
    margin: 0.45rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.campaign-text .lead {
    font-size: 1.08rem;
    font-weight: 650;
    color: var(--text);
}

.campaign-text p {
    margin: 0 0 1rem;
    color: #334155;
    font-size: 1.02rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.meta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.75rem 0 2rem;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.meta-row h3 {
    margin: 0 0 0.45rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.meta-strong {
    margin: 0;
    font-weight: 700;
    font-size: 1.05rem;
}

.meta-muted {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.chip {
    display: inline-block;
    margin: 0 0.3rem 0.3rem 0;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-weight: 700;
    font-size: 0.85rem;
}

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

.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
    margin: 1.5rem 0 2rem;
    align-items: start;
}

.sign-box {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.15rem;
    background: #fcfdfc;
}

.sign-box h2 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.phrase-picks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.9rem 0 1rem;
}

.phrase {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.phrase.is-active,
.phrase:hover {
    border-color: var(--green);
    color: var(--green-dark);
    background: var(--green-soft);
}

label {
    display: grid;
    gap: 0.28rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
    font-size: 0.9rem;
}

label em {
    font-style: normal;
    font-weight: 400;
    color: var(--muted);
    font-size: 0.8rem;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

input,
textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
    font: inherit;
    background: #fff;
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(31, 122, 63, 0.25);
    border-color: var(--green);
}

.tiny,
.empty {
    color: var(--muted);
    font-size: 0.86rem;
}

.error { color: #b91c1c; font-weight: 600; }

.sig-cloud,
.sig-stage.is-static {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 0.85rem;
    align-items: flex-start;
    min-height: 4rem;
    height: auto;
    overflow: visible;
}

.sig-stage {
    position: relative;
    min-height: 320px;
    height: 340px;
    overflow: hidden;
}

.sig-stage.is-empty {
    display: grid;
    place-items: center;
    min-height: 160px;
    height: auto;
}

.sig-stage-empty {
    margin: 0;
}

.sig-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.95rem 0.55rem 0.55rem;
    background: #f3faf6;
    border: 1px solid #d9ebe0;
    border-radius: 999px;
    max-width: min(280px, calc(100% - 1.5rem));
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}

.sig-chip.is-float {
    position: absolute;
    opacity: 0;
    transform: scale(0.86) translateY(10px);
    pointer-events: none;
    z-index: 1;
}

.sig-chip.is-in {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.sig-chip.is-out {
    opacity: 0;
    transform: scale(0.92) translateY(-6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.sig-check {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #3b82f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sig-chip-text {
    min-width: 0;
}

.sig-chip-text strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.comment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.85rem;
}

.comment-tile {
    background: #f5f6f7;
    border-radius: 16px;
    padding: 1rem 1.05rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 120px;
}

.comment-tile p {
    margin: 0;
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.35;
    color: #111827;
    flex: 1;
}

.comment-tile footer {
    display: grid;
    gap: 0.15rem;
}

.comment-tile footer strong {
    font-size: 0.92rem;
    font-weight: 600;
    color: #374151;
}

.comment-tile footer time {
    font-size: 0.8rem;
    color: #9ca3af;
}

.login-hint {
    background: #f8faf9;
    border: 1px dashed var(--line);
    border-radius: 12px;
    padding: 0.9rem 1rem;
}

.comment-form {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.share {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.share-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.share-row a,
.share-row button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #d6d3d1;
    border-radius: 999px;
    padding: 0.62rem 1rem;
    background: #fff;
    color: #1c1917;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.share-row svg {
    flex-shrink: 0;
    display: block;
}

.share-row a:hover,
.share-row button:hover {
    border-color: #a8a29e;
    background: #fafaf9;
}

.share-hint {
    margin: 0.9rem 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.86rem;
}

.site-footer {
    padding: 2.5rem 1rem 1.5rem;
    color: #d1d5db;
    background: #111827;
    margin-top: 2rem;
}

.footer-grid {
    width: min(1080px, 100%);
    margin: 0 auto 1.25rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.5rem;
}

.footer-grid h2 {
    margin: 0 0 0.7rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.footer-grid p { margin: 0 0 0.8rem; }

.footer-links {
    display: grid;
    gap: 0.35rem;
}

.footer-grid > div:last-child .footer-links {
    grid-template-columns: 1fr 1fr;
}

.footer-links a {
    color: #86efac;
    text-decoration: none;
}

.copyright {
    width: min(1080px, 100%);
    margin: 0 auto;
    padding-top: 1rem;
    border-top: 1px solid #374151;
    font-size: 0.88rem;
}

.footer-inner {
    width: min(980px, 100%);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: center;
}

.footer-inner strong { color: var(--text); }

.flash {
    position: fixed;
    top: 76px;
    right: 1rem;
    z-index: 50;
    background: var(--green);
    color: #fff;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: min(360px, calc(100% - 2rem));
}

.flash.hide {
    opacity: 0;
    transform: translateY(-6px);
    transition: 0.35s ease;
}

.auth-wrap {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}

.auth-card {
    width: min(420px, 100%);
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.auth-card h1 {
    margin: 0 0 0.35rem;
    font-size: 1.6rem;
}

.auth-card > p {
    margin: 0 0 1.1rem;
    color: var(--muted);
}

.check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 500;
}

.switch { color: var(--muted); font-size: 0.92rem; }

.pager { margin-top: 1rem; }
.pager-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
}
.pager-info {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.pager .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pager .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.1rem;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font-size: 0.9rem;
}
.pager .page-item.active .page-link {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}
.pager .page-item.disabled .page-link {
    opacity: 0.45;
    pointer-events: none;
}

/* Landing (anasayfa) */
.landing-hero {
    width: min(820px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 4rem 0 2rem;
    text-align: center;
}

.landing-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.landing-hero > p {
    margin: 1rem auto 1.5rem;
    color: var(--muted);
    font-size: 1.15rem;
    max-width: 36ch;
}

.tiny.center { text-align: center; margin-top: 0.75rem; }

.category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.5rem;
    justify-content: center;
    padding: 0.5rem 0 1.5rem;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.cat-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cat-chip span { color: var(--muted); font-weight: 500; }

.cat-chip.is-active,
.cat-chip:hover {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.cat-chip.is-active span,
.cat-chip:hover span { color: rgba(255,255,255,0.85); }

.section-head {
    margin: 0 0 1rem;
}

.section-head h1,
.section-head h2 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
}

.section-head.is-centered {
    text-align: center;
}

.section-head.row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.campaign-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.campaign-grid.is-centered {
    justify-content: center;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.campaign-grid.is-centered:has(> :only-child) {
    grid-template-columns: minmax(260px, 340px);
}

.campaign-grid.is-centered:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(260px, 340px));
}

.pager.is-centered {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

.guide-block .section-head {
    margin-bottom: 1.25rem;
}

.guide-block .guide-grid {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.campaign-card {
    display: grid;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.campaign-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.campaign-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #111;
}

.campaign-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-cat {
    position: absolute;
    left: 0.7rem;
    top: 0.7rem;
    background: rgba(255,255,255,0.95);
    color: var(--green-dark);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.campaign-card-body {
    padding: 0.9rem 1rem 1.1rem;
}

.campaign-card-body h3 {
    margin: 0 0 0.4rem;
    font-size: 1.02rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.campaign-card-body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.empty-box {
    background: #fff;
    border: 1px dashed var(--line);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.guide-block { padding-bottom: 2rem; }

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.guide-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.1rem;
}

.guide-grid strong,
.guide-grid h3 {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
}

.guide-more {
    margin: 1.25rem 0 0;
    text-align: center;
}

.guide-more a {
    color: var(--green-dark);
    font-weight: 600;
    text-decoration: none;
}

.category-intro {
    max-width: 40rem;
    margin: 0.4rem auto 0;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.55;
}

.related-block {
    margin-top: 0.5rem;
}

.guide-grid p {
    margin: 0;
    color: var(--muted);
}

.form-page { padding: 2rem 0 3rem; }

.form-card {
    width: min(720px, 100%);
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.form-card h1 {
    margin: 0 0 0.4rem;
    font-size: 1.7rem;
}

.form-intro {
    margin: 0 0 1.25rem;
    color: var(--muted);
}

.otp-input {
    letter-spacing: 0.35em;
    font-weight: 800;
    font-size: 1.25rem;
    text-align: center;
}

select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
    font: inherit;
    background: #fff;
}

.mine-list {
    display: grid;
    gap: 0.65rem;
}

.mine-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    min-width: 0;
}

.dashboard {
    display: grid;
    gap: 1.15rem;
}

.dash-section h2 {
    margin: 0 0 0.9rem;
    font-size: 1.15rem;
}

.dash-alert {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-pill.is-live {
    background: var(--green-soft);
    color: var(--green-dark);
}

.status-pill.is-pending {
    background: #fff7ed;
    color: #c2410c;
}

.status-pill.is-rejected {
    background: #fef2f2;
    color: #b91c1c;
}

.preview-banner {
    background: #fff7ed;
    color: #9a3412;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    border-bottom: 1px solid #fed7aa;
}

.admin-list {
    display: grid;
    gap: 1rem;
}

.admin-item {
    display: grid;
    gap: 0.85rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.admin-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.admin-item p {
    margin: 0.35rem 0 0;
    color: #374151;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.btn-outline-soft.danger {
    color: #b91c1c;
    border-color: #fecaca;
}

.btn-outline-soft.danger:hover {
    background: #fef2f2;
}

.mine-item-body {
    min-width: 0;
    width: 100%;
    overflow: hidden;
    display: grid;
    gap: 0.28rem;
}

.mine-item strong {
    display: block;
    font-size: 1.08rem;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mine-item-name,
.mine-item-meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.mine-item-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.2rem;
}

.mine-item-foot .mine-item-meta {
    min-width: 0;
}

@media (max-width: 820px) {
    .hero { padding-top: 2rem; }
    .split,
    .meta-row,
    .two-col,
    .guide-grid,
    .footer-grid { grid-template-columns: 1fr; }
    .campaign-grid { grid-template-columns: 1fr; }
    .cover { aspect-ratio: 16 / 10; }
    .hide-sm { display: none; }
    .landing-hero { padding-top: 2.5rem; }

    .sticky-sign {
        bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    }

    .sticky-sign-btn {
        width: min(420px, calc(100% - 2rem));
        padding: 0.9rem 1.2rem;
    }

    body.has-sticky-sign {
        padding-bottom: 5.5rem;
    }

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

    .share-row {
        justify-content: stretch;
    }

    .share-row a,
    .share-row button {
        flex: 1 1 calc(50% - 0.55rem);
        justify-content: center;
    }

    .nav-toggle { display: flex; }

    body.is-app .nav-toggle,
    body.is-app .header-nav {
        display: none !important;
    }

    body.is-app .header-logout {
        display: block;
        margin-left: auto;
        flex-shrink: 0;
    }

    body.is-app .header-logout button {
        border: 1px solid var(--line);
        background: #fff;
        color: #e11d48;
        border-radius: 999px;
        padding: 0.45rem 0.85rem;
        font: inherit;
        font-size: 0.82rem;
        font-weight: 700;
        cursor: pointer;
    }

    .brand-logo {
        height: 36px;
    }

    .sig-stage {
        min-height: 240px;
        height: 250px;
    }

    .header-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 72px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem 1rem 1rem;
        margin-left: 0;
        box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    }

    .header-nav.is-open { display: flex; }

    .header-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        width: 100%;
        padding: 0.25rem 0 0.5rem;
    }

    .header-link {
        padding: 0.75rem 0.2rem;
        font-size: 1rem;
    }

    .header-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        width: 100%;
    }

    .btn-campaign,
    .btn-login {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1rem;
    }

    .header-actions .btn-profile {
        align-self: flex-end;
        width: auto;
        flex: none;
    }
}

/* Sign modal */
.cta-mid {
    margin: 1.5rem 0 2rem;
    text-align: center;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1rem;
    overflow: hidden;
}

.modal-backdrop[hidden] { display: none !important; }

.modal {
    position: relative;
    width: min(460px, 100%);
    background: #fff;
    border-radius: 24px;
    padding: 1.35rem 1.35rem 1.25rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    max-height: none;
    overflow: visible;
    border: 1px solid rgba(229, 231, 235, 0.9);
}

.modal h2 {
    margin: 0 0 0.3rem;
    padding-right: 2.5rem;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.already-signed-modal .btn-pill {
    margin-top: 0.35rem;
}

.thanks-share-modal {
    width: min(560px, 100%);
}

.thanks-share-modal .share-row {
    margin: 0.15rem 0 0.35rem;
}

.thanks-share-modal .share-hint {
    margin: 0.65rem 0 0.9rem;
}

.thanks-share-modal .btn-pill {
    margin-top: 0.15rem;
}

.modal-sub {
    margin: 0 0 0.85rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    font-size: 1.35rem;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.modal-close:hover {
    border-color: var(--green);
    color: var(--green);
    background: var(--green-soft);
}

.modal-form label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.55rem;
    gap: 0.2rem;
}

.modal-form input,
.modal-form textarea {
    border-radius: 14px;
    border: 1.5px solid #e5e7eb;
    padding: 0.65rem 0.85rem;
    background: #fafbfa;
}

.modal-form textarea {
    min-height: 0;
    resize: none;
}

.modal-form input:focus,
.modal-form textarea:focus {
    background: #fff;
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(31, 122, 63, 0.15);
}

.modal .check.terms {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-weight: 500;
    font-size: 0.84rem;
    margin: 0.25rem 0 0.75rem;
    color: #374151;
}

.modal .check.terms input {
    margin-top: 0.2rem;
    width: auto;
    accent-color: var(--green);
}

.modal .check.terms a {
    color: var(--green);
    font-weight: 700;
}

.modal .btn-google.btn-block {
    width: 100%;
    margin-top: 0.15rem;
    margin-bottom: 0;
}

.form-card.legal-card,
.legal-card {
    width: min(980px, 100%);
}

.legal-body h2 {
    margin: 1.4rem 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.legal-body p {
    margin: 0 0 0.7rem;
    color: #374151;
    line-height: 1.65;
}

.legal-updated {
    margin: 1.5rem 0 1rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.legal-nav a {
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.legal-nav a:hover {
    text-decoration: underline;
}

.modal-status {
    min-height: 0;
    margin: 0.5rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.modal-status:empty {
    display: none;
}

.linkish-btn {
    margin-top: 0.85rem;
    border: 0;
    background: none;
    color: var(--green);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}

.btn-pill:disabled,
.btn-login:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Campaign wizard */
.wizard-hero {
    text-align: center;
    padding: 2.2rem 1rem 0.5rem;
}

.wizard-hero h1 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
}

.wizard-card { width: min(720px, 100%); }

.wizard-progress {
    margin-bottom: 1.25rem;
}

.wizard-progress span {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.wizard-track {
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.wizard-fill {
    height: 100%;
    background: #374151;
    border-radius: inherit;
}

.wizard-title {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
}

.idea-label textarea {
    min-height: 160px;
    font-size: 1.02rem;
}

.wizard-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.file-field input[type="file"] {
    padding: 0.65rem 0.75rem;
    background: #fafbfa;
    cursor: pointer;
}

.file-hint {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.cover-preview {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 14px;
    margin-top: 0.55rem;
    border: 1px solid var(--line);
}

.btn-outline-soft {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.7rem 1.1rem;
    font-weight: 700;
    background: #fff;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    text-decoration: none;
    color: #1f2937;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 0.8rem 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.btn-google:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.g-icon {
    display: inline-flex;
}

.auth-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    margin: 0.9rem 0 1.1rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    background: var(--line);
}

.account-shell {
    width: min(1120px, calc(100% - 2rem));
    margin: 1.5rem auto 3rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.account-sidebar {
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: sticky;
    top: 88px;
}

.account-user {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.25rem 1.2rem;
    border-bottom: 1px solid var(--line);
}

.account-avatar {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    flex-shrink: 0;
}

.account-user-text {
    min-width: 0;
    display: grid;
    gap: 0.15rem;
}

.account-user-text strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-user-text span {
    color: var(--muted);
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-nav {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem;
}

.account-nav a,
.account-logout button {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    text-decoration: none;
    color: #4b5563;
    font-weight: 600;
    font-size: 0.92rem;
    border: 0;
    background: none;
    width: 100%;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
}

.account-nav a svg,
.account-logout button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.account-nav a:hover {
    background: #f8fafc;
}

.account-nav a.is-active {
    background: var(--green-soft);
    color: var(--green-dark);
}

.account-logout {
    padding: 0 0.85rem 0.95rem;
    border-top: 1px solid var(--line);
    margin-top: 0.25rem;
    padding-top: 0.75rem;
}

.account-logout button {
    color: #e11d48;
}

.account-logout button:hover {
    background: #fff1f2;
}

.account-main {
    display: grid;
    gap: 1.15rem;
    min-width: 0;
}

.account-welcome {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.account-welcome h1 {
    margin: 0;
    font-size: clamp(1.35rem, 5vw, 1.7rem);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.account-welcome p {
    margin: 0.3rem 0 0;
    color: var(--muted);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.stat-card {
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1.1rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 22px;
    height: 22px;
}

.stat-icon.is-green { background: rgba(31, 122, 63, 0.12); color: var(--green-dark); }
.stat-icon.is-amber { background: #fef3c7; color: #b45309; }
.stat-icon.is-mint { background: #dcfce7; color: #166534; }
.stat-icon.is-rose { background: #ffe4e6; color: #e11d48; }

.stat-card strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1.1;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.dash-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.dash-head h2 { margin: 0; }

.dash-head a {
    font-size: 0.88rem;
    font-weight: 700;
}

.dash-empty {
    text-align: center;
    padding: 1.8rem 0.5rem;
    color: var(--muted);
}

.dash-empty .btn-pill {
    margin-top: 0.9rem;
}

.app-tabbar {
    display: none;
}

@media (max-width: 1023px) {
    body.is-app {
        padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    }

    body.is-app.has-sticky-sign {
        padding-bottom: calc(9.25rem + env(safe-area-inset-bottom, 0px));
    }

    body.is-app .sticky-sign {
        bottom: calc(4.7rem + env(safe-area-inset-bottom, 0px));
    }

    .app-tabbar {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 80;
        background: #fff;
        backdrop-filter: blur(14px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
        padding: 0.35rem 0.4rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
    }

    .app-tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.15rem;
        min-width: 0;
        min-height: 56px;
        padding: 0 0.15rem;
        text-decoration: none;
        color: #6b7280;
        font-size: 0.58rem;
        font-weight: 600;
    }

    .app-tab span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .app-tab svg {
        width: 22px;
        height: 22px;
    }

    .app-tab.is-active {
        color: var(--green);
        font-weight: 800;
    }

    .app-tab-start {
        position: relative;
    }

    .app-tab-fab {
        width: 44px;
        height: 44px;
        margin-top: -10px;
        border-radius: 999px;
        background: var(--green);
        color: #fff;
        display: grid;
        place-items: center;
        box-shadow: 0 10px 20px rgba(31, 122, 63, 0.28);
    }

    .app-tab-fab svg {
        width: 22px;
        height: 22px;
        color: #fff;
    }

    .app-tab-start.is-active .app-tab-fab,
    .app-tab-start:hover .app-tab-fab {
        background: var(--green-dark);
    }
}

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

    .account-sidebar {
        display: none;
    }

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

@media (max-width: 820px) {
    html,
    body.is-app {
        overflow-x: hidden;
    }

    body.is-app .site-footer {
        display: none;
    }

    .account-welcome {
        align-items: center;
        gap: 0.75rem;
    }

    .mine-item {
        align-items: stretch;
    }

    .mine-item strong {
        font-size: 1.12rem;
    }

    .stat-card {
        padding: 0.9rem;
        gap: 0.65rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
    }

    .account-shell {
        width: min(1120px, calc(100% - 1.25rem));
        margin: 1rem auto 2rem;
    }
}

.error-page {
    width: min(640px, calc(100% - 2rem));
    margin: 2.5rem auto 3.5rem;
}

.error-card {
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 2rem 1.6rem 1.7rem;
    text-align: center;
}

.error-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 20px;
    background: var(--green-soft);
    color: var(--green-dark);
    display: grid;
    place-items: center;
}

.error-icon svg {
    width: 32px;
    height: 32px;
}

.error-kicker {
    margin: 0 0 0.35rem;
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.error-card h1 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.45rem, 4vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.error-lead {
    margin: 0 0 1.1rem;
    color: var(--muted);
    font-size: 1.02rem;
}

.error-reason {
    text-align: left;
    background: #f8faf8;
    border: 1px solid #e7eee8;
    border-radius: 16px;
    padding: 0.95rem 1rem;
    margin: 0 0 1rem;
}

.error-reason strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--green-dark);
    font-size: 0.86rem;
}

.error-reason p,
.error-next {
    margin: 0;
    color: #374151;
    line-height: 1.55;
}

.error-next {
    margin-bottom: 1.35rem;
    color: var(--muted);
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.error-actions .btn-outline-soft {
    text-decoration: none;
}

.faq-groups {
    display: grid;
    gap: 1.75rem;
}

.faq-group-title {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--green-dark);
    letter-spacing: 0.01em;
}

.faq-list {
    display: grid;
    gap: 0.7rem;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 800;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    color: var(--green);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.faq-item[open] summary {
    color: var(--green-dark);
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-body {
    padding: 0 1.15rem 1.1rem;
}

.faq-body p {
    margin: 0 0 0.55rem;
    color: #374151;
    line-height: 1.6;
}

.faq-body p:last-child {
    margin-bottom: 0;
}

.staff-body {
    margin: 0;
    min-height: 100vh;
    background: #f7f8f9;
}

.staff-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) minmax(360px, 1fr);
}

.staff-aside {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), transparent 40%),
        repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(255,255,255,0.035) 32px),
        repeating-linear-gradient(90deg, transparent, transparent 31px, rgba(255,255,255,0.035) 32px),
        #071911;
    color: #fff;
    padding: 2rem 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.staff-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.staff-brand img {
    display: block;
    height: 36px;
    width: auto;
    background: #fff;
    border-radius: 10px;
    padding: 0.25rem 0.45rem;
}

.staff-brand span {
    color: rgba(255,255,255,0.72);
    font-size: 0.92rem;
    font-weight: 600;
}

.staff-aside-copy h1 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
    font-weight: 800;
    max-width: 12ch;
}

.staff-aside-copy p {
    margin: 0 0 1.5rem;
    color: rgba(255,255,255,0.72);
    max-width: 36ch;
    line-height: 1.6;
}

.staff-aside-copy ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.staff-aside-copy li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255,255,255,0.88);
    font-weight: 600;
}

.staff-aside-copy li::before {
    content: "✓";
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(31, 122, 63, 0.28);
    color: #8ee0ad;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.staff-aside-foot {
    margin: 2rem 0 0;
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
}

.staff-main {
    display: grid;
    place-items: center;
    padding: 2rem 1.25rem;
    background: #fbfbfc;
}

.staff-card {
    width: min(420px, 100%);
}

.staff-card h2 {
    margin: 0 0 0.4rem;
    font-size: 1.7rem;
    font-weight: 800;
}

.staff-card > p {
    margin: 0 0 1.4rem;
    color: var(--muted);
}

.staff-card label {
    font-weight: 600;
}

.staff-card input[type="email"],
.staff-card input[type="password"],
.staff-card input[type="text"] {
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
}

.staff-pass-field {
    position: relative;
    display: block;
}

.staff-pass-field input {
    padding-right: 2.8rem;
}

.staff-eye {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: none;
    color: #9ca3af;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.staff-eye svg {
    width: 20px;
    height: 20px;
}

.staff-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #374151;
    margin: 0.35rem 0 1.1rem;
}

.staff-remember input {
    width: auto;
    margin: 0;
}

.staff-submit {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 0.9rem 1.1rem;
    background: var(--green);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.staff-submit:hover {
    background: var(--green-dark);
}

.staff-google {
    margin: 0 0 1rem;
}

.staff-or {
    margin: 0 0 1rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 600;
}

.staff-ok,
.staff-error,
.staff-debug {
    margin: 0 0 1rem;
    font-size: 0.92rem;
}

.staff-ok { color: var(--green-dark); }
.staff-error { color: #dc2626; }

.staff-resend {
    margin-top: 1rem;
    text-align: center;
}

.staff-resend button {
    border: 0;
    background: none;
    color: var(--green);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

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

    .staff-aside {
        min-height: auto;
        padding: 1.4rem 1.3rem 1.6rem;
    }

    .staff-aside-copy h1 {
        max-width: none;
        font-size: 1.55rem;
    }

    .staff-aside-copy ul,
    .staff-aside-foot {
        display: none;
    }
}

.ad-slot {
    width: min(1080px, calc(100% - 2rem));
    margin: 1.25rem auto;
    min-height: 90px;
    overflow: hidden;
    border-radius: 16px;
    background: #eef1f4;
}

