:root {
    --ink-950: #0d0d0d;
    --ink-900: #111214;
    --ink-800: #202226;
    --ink-700: #3a3c40;
    --ink-600: #6b6b65;
    --ink-500: #9a9a94;
    --paper-50: #ffffff;
    --paper-100: #f5f4f1;
    --paper-200: #e5e5e0;
    --accent-500: #e8a020;
    --accent-600: #c98612;
    --sage-500: #6fba5b;
    --success-500: #2a7a3a;
    --danger-500: #b84d4d;
    --shadow-soft: 0 20px 60px rgba(15, 17, 21, .07);
    --shadow-lift: 0 16px 40px rgba(15, 17, 21, .13);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 999px;
    --font-body: "Manrope", system-ui, sans-serif;
    --font-display: "Sora", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;
    --ease: cubic-bezier(.16, 1, .3, 1);
}



* { box-sizing: border-box; }


html { min-height: 100%; background: var(--paper-100); }


body { margin: 0; min-width: 320px; color: var(--ink-950); background: var(--paper-100); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }


button, input, textarea { font: inherit; }


button, a { -webkit-tap-highlight-color: transparent; }


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


button { cursor: pointer; }


button:disabled { cursor: not-allowed; opacity: .56; }


:focus-visible { outline: 3px solid rgba(232, 160, 32, .54); outline-offset: 3px; }



.app-noise { position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 10; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }


.app-header { position: relative; z-index: 20; width: min(1180px, calc(100% - 48px)); margin: 0 auto; height: 92px; display: flex; align-items: center; justify-content: space-between; }


.app-wordmark { display: inline-flex; align-items: center; min-width: 124px; }


.app-wordmark img { display: block; width: auto; height: 24px; max-width: 160px; object-fit: contain; }


.app-brand-lockup { margin-bottom: 32px; }


.app-brand-lockup img { display: block; width: auto; height: 29px; max-width: 190px; }


.app-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.app-nav-item { padding: 7px 10px; border-radius: var(--radius-pill); color: var(--ink-600); font-size: 13px; font-weight: 700; white-space: nowrap; }
.app-nav-item.is-active { color: var(--ink-950); background: var(--paper-200); }
.app-nav-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent-500); color: var(--ink-950); font-family: var(--font-mono); font-size: 10px; font-weight: 700; }
.app-nav-has-badge { position: relative; }
.app-nav-item:hover { color: var(--ink-950); background: rgba(232,160,32,.12); }
@media (max-width: 1100px) { .app-header { flex-wrap: wrap; height: auto; padding: 14px 0; gap: 10px; } .app-nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .app-nav::-webkit-scrollbar { display: none; } .app-nav-item { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; } }

.app-header-right { display: flex; align-items: center; gap: 18px; }


.app-header-step, .app-header-link { color: var(--ink-600); font-size: 13px; font-weight: 600; }


.app-header-step { display: inline-flex; align-items: center; gap: 8px; }


.app-header-step-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-500); box-shadow: 0 0 0 5px rgba(232, 160, 32, .14); }


.app-avatar-button { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(13, 13, 13, .16); border-radius: 50%; color: var(--ink-800); background: var(--paper-50); font-family: var(--font-mono); font-size: 10px; font-weight: 600; box-shadow: 0 4px 14px rgba(15, 17, 21, .06); }


.app-avatar-button img { width: 100%; height: 100%; object-fit: cover; }


.app-avatar-glyph { position: relative; width: 13px; height: 9px; margin-top: 8px; border: 1.5px solid var(--ink-600); border-radius: 9px 9px 5px 5px; }


.app-avatar-glyph::before { content: ''; position: absolute; top: -9px; left: 50%; width: 6px; height: 6px; transform: translateX(-50%); border: 1.5px solid var(--ink-600); border-radius: 50%; background: var(--paper-50); }


.app-user-menu { position: fixed; z-index: 30; top: 72px; right: max(24px, calc((100vw - 1180px) / 2)); width: 230px; padding: 16px; border: 1px solid var(--paper-200); border-radius: var(--radius-md); background: rgba(251, 250, 247, .97); box-shadow: var(--shadow-lift); }


.app-user-menu-name { font-weight: 700; }


.app-user-menu-email { margin: 3px 0 14px; overflow: hidden; color: var(--ink-600); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }


.app-user-menu button { width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; color: var(--danger-500); background: var(--paper-100); text-align: left; font-weight: 600; }


.app-page-lead { width: min(1180px, calc(100% - 48px)); margin: 6px auto 0; display: flex; align-items: baseline; gap: 14px; color: var(--ink-600); }


.app-page-lead span { color: var(--accent-600); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }


.app-page-lead strong { font-size: 14px; }


.app-main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 52px 0 100px; }


.app-main.narrow { width: min(700px, calc(100% - 48px)); }


.app-source-trust { display: flex; align-items: center; gap: 13px; max-width: 460px; margin-top: 30px; padding: 14px 16px; border: 1px solid rgba(232, 160, 32, .28); background: rgba(232, 160, 32, .08); }


.app-source-trust-mark { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--ink-950); background: var(--accent-500); font-size: 13px; font-weight: 700; }


.app-source-trust strong, .app-source-trust small { display: block; }


.app-source-trust strong { font-size: 13px; }


.app-source-trust small { margin-top: 3px; color: var(--ink-600); font-size: 12px; }


/* Handoff — Minimal Single Column, iOS spacing (fix: çakışan bloklar + çift logo) */
.app-handoff-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, 480px); gap: 48px; align-items: start; padding: 48px 0 32px; }
.app-handoff-copy .app-kicker { margin-bottom: 2px; }
.app-handoff-copy .app-display { margin-top: 12px; }
.app-source-trust { border-radius: 12px; margin-top: 28px; box-shadow: 0 1px 0 rgba(15,17,21,.04); }
.app-handoff-card { align-self: start; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--paper-200); box-shadow: 0 8px 32px rgba(15,17,21,.08), 0 1px 2px rgba(15,17,21,.05); }
.app-handoff-card .app-kicker { margin-bottom: 6px; }
.app-handoff-card .app-form-title { margin-top: 4px; }
.app-handoff-warning { display: grid; gap: 4px; margin: 16px 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--paper-100); border: 1px solid var(--paper-200); font-size: 13px; line-height: 1.5; }
.app-handoff-warning strong { color: var(--ink-950); }
.app-handoff-card .app-button-accent { width: 100%; margin-top: 4px; }
.app-handoff-principles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--paper-200); }
.app-handoff-principles > div { display: grid; gap: 6px; padding: 16px; border-radius: 14px; background: var(--paper-50); border: 1px solid var(--paper-200); }
.app-handoff-principles span { color: var(--accent-600); font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.app-handoff-principles strong { color: var(--ink-950); font-size: 14px; }
.app-handoff-principles small { color: var(--ink-600); font-size: 12.5px; line-height: 1.5; }


.app-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-600); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }


.app-kicker::before { content: ""; width: 28px; height: 1px; background: var(--accent-500); }


.app-display { max-width: 740px; margin: 20px 0 22px; font-family: var(--font-display); font-size: clamp(48px, 6vw, 82px); font-weight: 700; letter-spacing: -.055em; line-height: .98; }


.app-display em { color: var(--accent-600); font-style: normal; }


.app-lead { max-width: 570px; color: var(--ink-600); font-size: 18px; line-height: 1.65; }


.app-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease); }


.app-button:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }


.app-button-primary { color: var(--paper-50); background: var(--ink-950); }


.app-button-primary:hover { background: var(--accent-500); color: var(--ink-950); }


.app-button-accent { color: var(--ink-950); background: var(--accent-500); }


.app-button-accent:hover { background: #f5b23a; }


.app-button-soft { border-color: var(--paper-200); color: var(--ink-800); background: var(--paper-50); box-shadow: 0 1px 2px rgba(15, 17, 21, .05); }
.app-button-soft:hover { background: #faf9f5; border-color: #d6d6cf; }

.app-button-quiet { min-height: 44px; padding: 0 12px; color: var(--ink-700); background: rgba(13, 13, 13, .05); }
.app-button-quiet:hover { background: rgba(13, 13, 13, .08); color: var(--ink-950); }




.app-section-title { margin: 0; font-family: var(--font-display); font-size: clamp(36px, 5vw, 58px); font-weight: 500; letter-spacing: -.045em; line-height: .98; }


.app-section-copy { max-width: 580px; color: var(--ink-600); line-height: 1.6; }


.app-panel { border: 1px solid var(--paper-200); border-radius: var(--radius-lg); background: rgba(251, 250, 247, .68); box-shadow: var(--shadow-soft); }


.app-panel-pad { padding: clamp(22px, 4vw, 42px); }


.app-form-panel { width: min(520px, 100%); margin: 0 auto; }


.app-form-title { margin: 9px 0 8px; font-family: var(--font-display); font-size: 42px; font-weight: 500; letter-spacing: -.045em; line-height: 1; }


.app-form-copy { margin: 0 0 26px; color: var(--ink-600); line-height: 1.55; }


.app-form { display: grid; gap: 18px; }


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


.app-field-label { color: var(--ink-800); font-size: 13px; font-weight: 700; }


.app-field-help { color: var(--ink-600); font-size: 12px; line-height: 1.45; }


.app-field-muted { opacity: .88; }
.app-field-muted .app-input { background: var(--paper-100); }
.app-field-muted:focus-within { opacity: 1; }


.app-input { width: 100%; min-height: 50px; padding: 0 15px; border: 1px solid var(--paper-200); border-radius: var(--radius-sm); outline: 0; color: var(--ink-950); background: var(--paper-50); transition: border 160ms var(--ease), box-shadow 160ms var(--ease); }


.app-input:focus { border-color: var(--accent-500); box-shadow: 0 0 0 4px rgba(232, 160, 32, .14); }


.app-form .app-button { width: 100%; margin-top: 4px; }


.app-form-meta { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-600); font-size: 12px; line-height: 1.5; }


.app-form-meta::before { content: "✦"; color: var(--accent-500); }


.app-error { padding: 12px 14px; border: 1px solid rgba(184, 77, 77, .22); border-radius: var(--radius-sm); color: var(--danger-500); background: rgba(184, 77, 77, .07); font-size: 13px; line-height: 1.45; }


.app-success { padding: 12px 14px; border: 1px solid rgba(79, 128, 103, .22); border-radius: var(--radius-sm); color: var(--success-500); background: rgba(79, 128, 103, .07); font-size: 13px; line-height: 1.45; }


.app-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--ink-600); font-size: 12px; }


.app-divider::before, .app-divider::after { content: ""; flex: 1; height: 1px; background: var(--paper-200); }


.app-google { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid var(--paper-200); border-radius: var(--radius-pill); color: var(--ink-950); background: var(--paper-50); font-weight: 700; transition: background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease); cursor: pointer; }
.app-google:hover { background: #faf9f5; border-color: #d6d6cf; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(15,17,21,.08); }


.app-google-mark { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #4285f4; font-size: 12px; font-weight: 700; }



.app-stepper { display: flex; align-items: center; max-width: 640px; margin: 0 auto 42px; }


.app-stepper-item { display: flex; flex: 1; align-items: center; gap: 8px; color: var(--ink-600); font-size: 11px; font-weight: 700; }


.app-stepper-item::after { content: ""; flex: 1; height: 1px; margin-left: 4px; background: var(--paper-200); }


.app-stepper-item:last-child::after { display: none; }


.app-stepper-item.is-active, .app-stepper-item.is-done { color: var(--ink-950); }


.app-stepper-dot { width: 10px; height: 10px; flex: 0 0 auto; border: 2px solid var(--paper-200); border-radius: 50%; background: transparent; }


.is-active .app-stepper-dot { border-color: var(--accent-500); background: var(--accent-500); box-shadow: 0 0 0 5px rgba(232, 160, 32, .14); }


.is-done .app-stepper-dot { border-color: var(--success-500); background: var(--success-500); }


@keyframes orbit { to { transform: rotate(360deg); } }


.app-editable-card { position: relative; padding-right: 88px; }


.app-chip-list { display: flex; flex-wrap: wrap; gap: 7px; }


.app-chip-list span { padding: 6px 10px; border: 1px solid rgba(232, 160, 32, .16); border-radius: var(--radius-pill); color: var(--ink-800); background: rgba(232, 160, 32, .08); font-size: 12px; }


.app-chip-list .app-muted { border: 0; padding: 0; color: var(--ink-600); background: transparent; }


.app-topic-number { color: var(--accent-600); font-family: var(--font-mono); font-size: 11px; }


.app-select, .app-textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--paper-200); border-radius: var(--radius-sm); outline: 0; color: var(--ink-950); background: var(--paper-50); font: inherit; }


.app-select { min-height: 50px; cursor: pointer; }


.app-textarea { resize: vertical; line-height: 1.55; }


.app-color-edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }


.app-color-input { width: 100%; height: 64px; padding: 5px; border: 1px solid var(--paper-200); border-radius: var(--radius-sm); background: var(--paper-50); cursor: pointer; }


.app-header-trial { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(232, 160, 32, .38); border-radius: var(--radius-pill); color: var(--ink-950); background: rgba(232, 160, 32, .1); text-decoration: none; transition: background 180ms var(--ease), transform 180ms var(--ease); }


.app-header-trial:hover { background: rgba(232, 160, 32, .18); transform: translateY(-1px); }


.app-header-trial span { font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1; }


.app-header-trial small { color: var(--ink-600); font-size: 10px; font-weight: 700; white-space: nowrap; }


.app-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 28px; }


.app-section-heading .app-section-copy { max-width: 390px; margin: 0 0 3px; font-size: 13px; line-height: 1.65; }


.app-detail-section-heading { align-items: flex-end; margin-bottom: 30px; }


.app-detail-section-copy { max-width: 420px !important; }


.app-loading-orb { position: relative; z-index: 1; width: 28px; height: 28px; border: 2px solid rgba(255, 255, 255, .3); border-top-color: var(--accent-500); border-radius: 50%; animation: preview-spin .85s linear infinite; }


@keyframes preview-shimmer { to { transform: translateX(100%); } }


@keyframes preview-spin { to { transform: rotate(360deg); } }


@keyframes offer-reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }


.app-brand-signal-list, .app-brand-highlights { display: grid; gap: 12px; }


.app-brand-signal, .app-brand-highlight { padding: 20px; border: 1px solid var(--paper-200); border-radius: var(--radius-md); background: rgba(251, 250, 247, .72); }


.app-brand-signal strong { display: block; color: var(--ink-950); font-family: var(--font-display); font-size: 22px; font-weight: 500; }


.app-brand-signal-wide { grid-column: 1 / -1; }


.app-brand-swatches { display: flex; gap: 9px; }


.app-brand-swatches span { width: 34px; height: 34px; display: block; border: 1px solid rgba(13, 13, 13, .1); border-radius: 8px; }


.app-chip-list { display: flex; flex-wrap: wrap; gap: 7px; }


.app-chip-list span { padding: 6px 10px; border: 1px solid rgba(232, 160, 32, .16); border-radius: var(--radius-pill); color: var(--ink-800); background: rgba(232, 160, 32, .08); font-size: 12px; }


.app-chip-list .app-muted { border: 0; padding: 0; color: var(--ink-600); background: transparent; }


.app-brand-highlight p { max-width: 580px; margin: 0; color: var(--ink-600); line-height: 1.6; }


.app-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }


.app-modal-open { overflow: hidden; }


.app-empty { padding: 48px 20px; border: 1px dashed var(--paper-200); border-radius: var(--radius-md); color: var(--ink-600); text-align: center; }


.app-hidden { display: none !important; }


.app-skeleton { position: relative; overflow: hidden; min-height: 130px; border-radius: var(--radius-md); background: var(--paper-200); }


.app-skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(251, 250, 247, .62), transparent); animation: shimmer 1.5s infinite; }


@keyframes shimmer { to { transform: translateX(100%); } }


.app-dashboard-status { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--paper-200); border-radius: 14px; background: var(--paper-50); margin-bottom: 20px; box-shadow: 0 1px 2px rgba(15,17,21,.04); }
.app-dashboard-status-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--paper-200); }
.app-dashboard-status-dot[data-state="ready"] { background: var(--sage-500); box-shadow: 0 0 0 5px rgba(111,186,91,.18); }
.app-dashboard-status-dot[data-state="blocked"] { background: var(--accent-500); box-shadow: 0 0 0 5px rgba(232,160,32,.18); }
.app-dashboard-status strong { display: block; font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.app-dashboard-status small { color: var(--ink-600); font-size: 12.5px; }
.app-dashboard-status-cta { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 13px; border-radius: var(--radius-pill); }


.app-billing-dunning { display: flex; align-items: center; gap: 12px; max-width: 1180px; margin: 14px auto; padding: 12px 16px; border: 1px solid #E8A020; background: rgba(232,160,32,.14); border-radius: 12px; font-size: 13px; line-height: 1.4; }
.app-billing-dunning strong { color: var(--ink-950); }
.app-billing-dunning a { margin-left: auto; white-space: nowrap; }

.app-dashboard-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
.app-dashboard-panel { border: 1px solid var(--paper-200); border-radius: 16px; background: var(--paper-50); box-shadow: 0 1px 3px rgba(15,17,21,.04); }
.app-dashboard-panel .app-panel-pad { padding: 22px 24px; }
.app-dashboard-panel .app-kicker { font-size: 10px; letter-spacing: .1em; margin-bottom: 4px; }
.app-dashboard-panel .app-section-title-sm { font-size: 20px; font-weight: 700; letter-spacing: -.025em; margin: 0; }
.app-dashboard-panel .app-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.app-dashboard-panel .app-section-head .app-button { min-height: 44px; padding: 0 14px; font-size: 13px; font-weight: 600; border-radius: var(--radius-pill); flex-shrink: 0; }
@media (max-width: 780px) { .app-dashboard-grid { grid-template-columns: 1fr; } }

.app-queue-item { padding: 14px 0; border-bottom: 1px solid var(--paper-200); }
.app-queue-item:last-of-type { border-bottom: 0; padding-bottom: 4px; }
.app-queue-item-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.app-queue-item-head time { color: var(--ink-500); font-family: var(--font-mono); font-size: 11px; font-weight: 500; }
.app-queue-item strong { display: block; color: var(--ink-950); font-size: 14px; font-weight: 700; letter-spacing: -.015em; line-height: 1.4; }
.app-queue-item small { display: none; }

.app-platform-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--paper-200); }
.app-platform-row:last-of-type { border-bottom: 0; }
.app-platform-row strong { display: block; color: var(--ink-950); font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.app-platform-row small { color: var(--ink-500); font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; margin-top: 2px; display: block; }

.app-platform-state { padding: 5px 12px; border-radius: var(--radius-pill); color: var(--ink-600); background: var(--paper-200); font-size: 11px; font-weight: 700; white-space: nowrap; }
.app-platform-state.is-connected { color: var(--success-500); background: rgba(42,122,58,.1); }

.app-launch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--paper-200); }
.app-launch-actions .app-button { min-height: 44px; padding: 0 22px; font-size: 14px; border-radius: 12px; }

.app-launch-hint { margin-top: 12px; color: var(--ink-600); font-size: 13px; line-height: 1.5; }
.app-launch-hint a { color: var(--accent-600); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.app-check-field { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--ink-800); font-size: 13px; font-weight: 500; }
.app-check-field input { width: 18px; height: 18px; accent-color: var(--accent-500); }

.app-dashboard-empty { padding: 36px 16px; text-align: center; color: var(--ink-500); font-size: 13px; line-height: 1.6; }
.app-dashboard-empty a { color: var(--accent-600); font-weight: 700; }


@keyframes shimmer { to { transform: translateX(100%); } }


.app-flow-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 25; padding: 12px 20px; border-top: 1px solid rgba(13, 13, 13, .1); background: rgba(245, 244, 241, .97); box-shadow: 0 -12px 34px rgba(13, 13, 13, .08); backdrop-filter: blur(18px); }


.app-flow-bar-inner { width: min(100%, 1040px); min-height: 48px; display: flex; margin: 0 auto;     align-items: center;
    justify-content: center;  }


.app-flow-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0; padding: 0; list-style: none; }


.app-flow-steps li { display: flex; align-items: center; }


.app-flow-steps li:not(:last-child)::after { content: ''; width: clamp(26px, 5vw, 88px); height: 1px; margin: 0 14px; background: var(--paper-200); }


.app-flow-step-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-600); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }


.app-flow-step-link i { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--paper-200); border-radius: 50%; color: var(--ink-600); font-family: var(--font-mono); font-size: 9px; font-style: normal; }


.app-flow-step-link b { line-height: 1; }


.app-flow-steps li.is-done .app-flow-step-link { color: var(--ink-800); }


.app-flow-steps li.is-done .app-flow-step-link i { border-color: var(--success-500); color: #fff; background: var(--success-500); }


.app-flow-steps li.is-current .app-flow-step-link { color: var(--ink-950); }


.app-flow-steps li.is-current .app-flow-step-link i { border-color: var(--accent-500); color: var(--ink-950); background: var(--accent-500); box-shadow: 0 0 0 4px rgba(232, 160, 32, .14); }


.app-flow-steps li.is-upcoming .app-flow-step-link { color: var(--ink-500); }


.app-flow-direction { display: none; }


.app-flow-direction-muted { display: none; }


.app-toast { position: fixed; z-index: 40; right: 20px; bottom: 82px; max-width: 330px; padding: 13px 16px; border-radius: var(--radius-sm); color: var(--paper-50); background: var(--ink-950); box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px); transition: opacity 180ms var(--ease), visibility 180ms var(--ease), transform 220ms var(--ease); }


.app-toast.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }


.app-field-label b { color: var(--accent-600); }


.app-field > .app-input, .app-field > .app-select, .app-field > .app-textarea { align-self: start; }


.app-select { cursor: pointer; }


.app-platform-decision select { width: 100%; }


.app-color-control { display: flex; align-items: center; gap: 10px; }


.app-color-control .app-color-input { max-width: 130px; }


.app-color-control output { color: var(--ink-600); font-family: var(--font-mono); font-size: 11px; }


.app-summary-colors { display: inline-flex; gap: 6px; vertical-align: middle; }


.app-summary-colors i { width: 22px; height: 22px; display: inline-block; border: 1px solid rgba(13, 13, 13, .12); border-radius: 6px; }



@media (max-width: 900px) {
    .app-checkout-layout { grid-template-columns: 1fr; gap: 34px; padding-top: 30px; }
    .app-checkout-card { justify-self: stretch; max-width: 600px; }
    .app-handoff-layout { grid-template-columns: 1fr; gap: 34px; padding-top: 30px; }
    .app-handoff-card { justify-self: stretch; max-width: 600px; }
    .app-progress-layout { grid-template-columns: 1fr; gap: 20px; }
    .app-progress-visual { min-height: 300px; order: -1; }
    .app-setup-hero { grid-template-columns: 1fr; gap: 22px; }
    .app-setup-trust { max-width: 620px; }
    .app-setup-content { grid-template-columns: 1fr; gap: 18px; }
    .app-setup-steps { position: static; display: flex; overflow-x: auto; gap: 4px; padding-bottom: 2px; }
    .app-setup-steps button { flex: 1 0 auto; }
}


@media (max-width: 680px) {
    .app-header, .app-page-lead, .app-main { width: min(100% - 32px, 1180px); }
    .app-header { height: auto; }
    .app-wordmark img { height: 22px; max-width: 138px; }
    .app-header-link { display: none; }
    .app-page-lead { margin-top: 5px; }
    .app-page-lead strong { display: none; }
    .app-main { padding-top: 34px; padding-bottom: 112px; }
    .app-checkout-layout { min-height: auto; padding: 28px 0 36px; }
    .app-checkout-copy .app-display { font-size: clamp(42px, 13vw, 68px); }
    .app-checkout-points { margin-top: 26px; }
    .app-checkout-card { padding: 22px; }
    .app-handoff-layout { min-height: auto; padding: 28px 0 36px; }
    .app-handoff-copy .app-display { font-size: clamp(42px, 13vw, 68px); }
    .app-lead { font-size: 16px; }
    .app-brand-lockup { margin-bottom: 24px; }
    .app-brand-lockup img { height: 25px; max-width: 160px; }
    .app-handoff-principles { grid-template-columns: 1fr; gap: 14px; }
    .app-stepper-item { font-size: 0; }
    .app-stepper-dot { margin: 0 auto; }
    .app-review-grid { grid-template-columns: 1fr; }
    .app-review-card-wide { grid-column: auto; }
    .app-editable-card { padding-right: 22px; }
    .app-edit-trigger { position: static; margin-top: 18px; padding: 0; }
    .app-topic-review-item { align-items: flex-start; flex-direction: column; }
    .app-topic-review-item .app-button { width: 100%; }
    .app-edit-sheet { width: 100%; padding: 52px 20px 28px; }
    .app-color-edit-grid { grid-template-columns: 1fr 1fr; }
    .app-review-header, .app-section-heading { align-items: start; flex-direction: column; }
    .app-preview .app-header-right { gap: 9px; }
    .app-preview .app-header-step { display: none; }
    .app-header-trial { gap: 5px; padding: 6px 8px; }
    .app-header-trial span { font-size: 15px; }
    .app-header-trial small { font-size: 9px; }

    .app-preview-hero { grid-template-columns: 1fr; align-items: start; gap: 14px; margin-bottom: 28px; }
    .app-preview-hero .app-display { max-width: 340px; margin-bottom: 10px; font-size: clamp(34px, 9vw, 48px); line-height: 1.02; }
    .app-preview-hero .app-section-copy { max-width: 340px; font-size: 13px; line-height: 1.45; }
    .app-preview-state-card { min-width: 0; width: 100%; margin-top: 0; padding: 13px; }
    .app-preview-state-card small { max-width: none; }
    .app-preview-progress-track { margin-top: 12px; }
    .app-preview-sources { display: none; }
    .app-preview-state-top { gap: 9px; }
    .app-preview-state-mark { width: 30px; height: 30px; }
    .app-preview-state-card strong { font-size: 12px; }
    .app-preview-state-card small { font-size: 10px; }
    .app-preview-progress-label { margin-top: 6px; }
    .app-preview-results-heading { margin-bottom: 18px; }
    .app-preview-results-title .app-kicker { margin-bottom: 9px; }
    .app-preview-results-title .app-section-title { font-size: clamp(28px, 8vw, 38px); }
    .app-preview-results-copy { font-size: 12px !important; }
    .app-instagram-grid { gap: 14px; }
    .app-preview-results-heading, .app-detail-section-heading { gap: 14px; margin-bottom: 22px; }
    .app-preview-results-title .app-section-title, .app-detail-section-title .app-section-title { font-size: clamp(30px, 8.5vw, 42px); line-height: 1.08; }
    .app-section-heading .app-section-copy, .app-detail-section-copy { max-width: 100% !important; font-size: 13px; line-height: 1.6; }
    .app-preview-offer { grid-template-columns: 1fr; gap: 24px; margin-top: 26px; }
    .app-offer-copy .app-section-title { font-size: clamp(30px, 8.5vw, 42px); line-height: 1.08; }
    .app-instagram-grid { grid-template-columns: 1fr; }
    .app-brand-analysis-grid { grid-template-columns: 1fr; }
    .app-preview-section { margin-top: 60px; }
    .app-instagram-card { border-radius: 18px; }
    .app-faq-list summary { font-size: 14px; }
    .app-flow-bar { padding: 9px 10px; }
    .app-flow-bar-inner { width: 100%; min-height: 0; }
    .app-flow-steps { justify-content: space-between; }
    .app-flow-steps li { min-width: 0; }
    .app-flow-steps li:not(:last-child)::after { flex: 1 1 auto; width: auto; min-width: 8px; margin: 0 7px; }
    .app-flow-step-link { gap: 5px; font-size: 9px; }
    .app-flow-step-link i { width: 25px; height: 25px; font-size: 8px; }
    .app-flow-step-link b { max-width: 58px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .app-flow-steps li.is-upcoming .app-flow-step-link b { display: none; }
    .app-flow-steps li.is-upcoming .app-flow-step-link i { width: 23px; height: 23px; color: var(--ink-500); background: transparent; }
    .app-faq-list summary { gap: 16px; font-size: 14px; }
    .app-faq-list p { font-size: 13px; line-height: 1.65; }
    .app-review-actions { align-items: stretch; flex-direction: column; }
    .app-review-actions .app-button { width: 100%; }
    .app-setup-hero .app-display { font-size: clamp(40px, 12vw, 64px); }
    .app-setup-section-head { align-items: start; flex-direction: column; gap: 14px; }
    .app-setup-fields-two, .app-setup-rhythm-grid { grid-template-columns: 1fr; }
    .app-setup-step { min-height: 0; padding: 22px; }
    .app-setup-platform-list, .app-setup-mix-list, .app-setup-schedule-list { grid-template-columns: 1fr; }
    .app-setup-review-row { grid-template-columns: 1fr; gap: 5px; }
    .app-setup-review-row button { justify-self: start; padding: 0; }
    .app-setup-actions { align-items: stretch; flex-direction: column; }
    .app-setup-action-buttons, .app-setup-action-buttons .app-button { width: 100%; }
    .app-setup-action-buttons .app-button { flex: 1; }
}


.app-color-value { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-800); font-family: var(--font-body); font-size: 13px; }


.app-color-swatch { width: 30px; height: 30px; display: inline-block; flex: 0 0 auto; border: 1px solid rgba(13, 13, 13, .16); border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .28); }


.app-visual-style-value { display: grid; gap: 8px; max-width: 100%; }


.app-visual-style-copy { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }


.app-visual-style-strip { width: min(170px, 100%); height: 8px; display: block; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--visual-primary), var(--visual-secondary)); }


.app-chip-editor { display: grid; gap: 12px; }


.app-chip-editor-list { display: flex; flex-wrap: wrap; gap: 7px; min-height: 46px; padding: 10px; border: 1px solid var(--paper-200); border-radius: var(--radius-sm); background: var(--paper-100); }


.app-chip-editor-add { display: flex; gap: 8px; }


.app-chip-editor-add .app-button { min-height: 42px; padding: 0 13px; }


.app-choice-field { min-width: 0; margin: 0; padding: 0; border: 0; }


.app-choice-field legend { padding: 0; }


.app-choice-row { display: flex; flex-wrap: wrap; gap: 12px; }


.app-choice-row label { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-800); font-size: 12px; cursor: pointer; }


.app-choice-row input { accent-color: var(--accent-600); }


.app-platform-decision { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--paper-200); border-radius: var(--radius-md); background: var(--paper-50); }


.app-platform-decision.is-selected { border-color: rgba(232, 160, 32, .52); box-shadow: 0 0 0 3px rgba(232, 160, 32, .08); }


.app-platform-decision label { display: flex; align-items: center; gap: 9px; }


.app-platform-decision label strong { font-size: 13px; }


.app-platform-decision > span { color: var(--ink-600); font-size: 10px; }


.app-platform-decision select { min-height: 34px; padding: 5px 8px; border: 1px solid var(--paper-200); border-radius: var(--radius-sm); color: var(--ink-800); background: var(--paper-100); font-size: 11px; }


.app-time-suggestions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }


.app-time-chip { min-height: 25px; padding: 0 7px; font-size: 9px; font-weight: 600; }


@media (max-width: 680px) {
    .app-mix-inputs { grid-template-columns: 1fr; }
    .app-logo-upload-card { align-items: stretch; flex-direction: column; }
    .app-logo-upload-control { justify-content: flex-start; }
}


@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}



/* -- Portal -- */
.app-portal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }


.app-portal-nav-item { padding: 10px 16px; border: 1px solid var(--paper-200); border-radius: var(--radius-pill); color: var(--ink-600); font-size: 13px; font-weight: 600; text-decoration: none; transition: color 180ms var(--ease), border-color 180ms var(--ease); }


.app-portal-nav-item:hover { color: var(--ink-950); border-color: var(--accent-500); }


.app-portal-nav-item.is-active { color: var(--paper-50); background: var(--ink-950); border-color: var(--ink-950); }


.app-portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }


.app-portal-grid-2 { grid-template-columns: 1fr 1fr; }


.app-portal-grid-wide { grid-column: 1 / -1; }


.app-portal-block-title { margin: 0 0 14px; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }


.app-portal-queue { display: grid; gap: 0; }


.app-portal-pool, .app-pool-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }


.app-portal-pool, .app-pool-list { gap: 8px; }
.app-pool-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--paper-200); border-radius: 12px; background: var(--paper-50); box-shadow: 0 1px 0 rgba(15,17,21,.04); }
.app-pool-item:hover { border-color: rgba(17,18,20,.14); box-shadow: 0 4px 16px rgba(15,17,21,.08); }
.app-pool-main { min-width: 0; flex: 1; }
.app-pool-main strong { display: block; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-950); }
.app-pool-meta { margin-top: 5px; display: flex; gap: 6px; flex-wrap: wrap; }
.app-pool-meta .ap-chip { font-size: 10px; letter-spacing: .04em; border-color: transparent; background: rgba(232,160,32,.14); color: var(--ink-900); padding: 3px 8px; font-weight: 700; }
.app-pool-meta .ap-chip--myth { background: rgba(124,92,255,.12); color: #4b2cff; }
.app-pool-meta .ap-chip--faq { background: rgba(16,122,255,.10); color: #0a5bd7; }
.ap-chip-asset { background: rgba(16,122,255,.12) !important; color: #0a5bd7 !important; }
.app-pool-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; color: var(--ink-600); font-size: 12px; line-height: 1.45; }
.app-pool-item { position: relative; }
.app-pool-more { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--ink-500); font-size: 18px; line-height: 1; cursor: pointer; }
.app-pool-more:hover { background: var(--paper-100); border-color: var(--paper-200); color: var(--ink-700); }
.app-pool-menu { position: absolute; top: calc(100% + 6px); right: 12px; z-index: 5; min-width: 180px; padding: 6px; border: 1px solid var(--paper-200); border-radius: 12px; background: var(--paper-50); box-shadow: 0 8px 24px rgba(15,17,21,.12); display: grid; gap: 2px; }
.app-pool-menu[hidden], .app-pool-menu.app-hidden { display: none !important; }
.app-pool-menu button { width: 100%; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-700); font-size: 13px; font-weight: 500; text-align: left; cursor: pointer; }
.app-pool-menu button:hover { background: var(--paper-100); }
.app-pool-menu button.is-danger { color: var(--danger-500); }
.app-pool-menu button.is-danger:hover { background: rgba(184,77,77,.08); }
.app-pool-sheet { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; }
.app-pool-sheet.app-hidden { display: none !important; }
.app-pool-sheet-backdrop { position: absolute; inset: 0; background: rgba(13,13,13,.38); backdrop-filter: blur(4px); }
.app-pool-sheet-card { position: relative; width: min(520px, 100%); padding: 20px; border-radius: 16px; background: var(--paper-50); box-shadow: 0 20px 60px rgba(13,13,13,.24); display: grid; gap: 14px; }
.app-pool-sheet-head { display: flex; align-items: center; justify-content: space-between; }
.app-pool-sheet-head strong { font-size: 16px; }
.app-pool-sheet-x { width: 36px; height: 36px; border: 1px solid var(--paper-200); border-radius: 50%; background: var(--paper-50); color: var(--ink-600); font-size: 18px; cursor: pointer; }
.app-pool-sheet-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.app-pool-undo { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 999px; background: var(--ink-950); color: var(--paper-50); box-shadow: 0 8px 24px rgba(13,13,13,.24); font-size: 13px; }
.app-pool-undo .app-button { min-height: 32px; padding: 0 14px; border-radius: 999px; font-size: 13px; }
.app-pool-actions { display: flex; gap: 6px; flex-shrink: 0; }
.app-pool-actions .app-button { min-height: 44px; padding: 0 12px; font-size: 12px; font-weight: 600; border-radius: var(--radius-pill); border-color: var(--paper-200); }
.app-pool-actions .app-button[data-pool-action="update"] { background: var(--paper-50); }
.app-portal-block-title { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--ink-500); text-transform: uppercase; }
@media (max-width: 700px) { .app-pool-item { flex-direction: column; align-items: stretch; } }
.app-pool-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.app-pool-title { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.app-pool-section-head { margin: 6px 0 10px; }
.app-pool-create { padding: 18px 20px !important; }
.app-pool-create-row { display: flex; align-items: center; gap: 14px; }
.app-pool-create-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 1px dashed var(--paper-200); border-radius: 12px; background: var(--paper-100); color: var(--ink-600); font-size: 22px; font-weight: 600; }
.app-pool-form { display: flex; flex: 1; gap: 10px; align-items: center; min-width: 0; }
.app-pool-input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border: 1px solid var(--paper-200); border-radius: 10px; background: var(--paper-50); font-size: 14px; }
.app-pool-input:focus { border-color: var(--ink-700); outline: none; box-shadow: 0 0 0 3px rgba(15,17,21,.06); }
.app-pool-input-soft { flex: 0 0 220px; background: var(--paper-100); border-color: transparent; color: var(--ink-700); }
.app-pool-form .app-button { min-height: 44px; padding: 0 22px; border-radius: 10px; }
.app-pool-create-foot { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-left: 58px; flex-wrap: wrap; }
.app-pool-flow { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 14px; border: 1px solid var(--paper-200); border-radius: 10px; background: var(--paper-100); flex-wrap: wrap; }
.app-pool-flow-step { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ink-800); }
.app-pool-flow-step i { width: 20px; height: 20px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--ink-950); color: var(--paper-50); font-family: var(--font-mono); font-size: 10px; font-style: normal; font-weight: 700; }
.app-pool-flow-arrow { color: var(--ink-500); font-size: 14px; }
@media (max-width: 700px) { .app-pool-item { flex-direction: column; align-items: stretch; } .app-pool-create-row { flex-direction: column; align-items: stretch; } .app-pool-form { flex-direction: column; align-items: stretch; } .app-pool-input-soft { flex: 1 1 auto; } .app-pool-create-foot { padding-left: 0; } }


.app-pool-item:last-child { border-bottom: 0; }


.app-pool-item strong { color: var(--ink-900); font-size: 13px; line-height: 1.4; }


.app-pool-item small { color: var(--ink-500); font-size: 11px; }


.app-pool-url { display: block; overflow: hidden; max-width: 100%; color: var(--ink-500); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }


.app-topics-timeline, .app-topics-pool { display: grid; gap: 12px; }


.app-topics-pool-head { margin-top: 42px; }


.app-topic-item { padding: 12px 0; border-bottom: 1px solid var(--paper-200); }


.app-topic-item:last-child { border-bottom: 0; }


.app-topic-item strong { display: block; color: var(--ink-900); font-size: 13px; line-height: 1.4; }


.app-manage-custom-list { display: grid; gap: 10px; margin-top: 22px; }

/* -- Marka & Strateji (iOS-style grouped prefs) -- */
.app-pref-head { margin-bottom: 16px; }
.app-pref-title { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.app-pref-group { margin-bottom: 14px; border: 1px solid var(--paper-200); border-radius: 14px; background: var(--paper-50); overflow: hidden; }
.app-pref-group-head { padding: 14px 18px 0; }
.app-pref-group-head h2 { margin: 0; font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.app-pref-group-head p { margin: 2px 0 0; color: var(--ink-600); font-size: 12px; }
.app-pref-group-body { display: grid; gap: 14px; padding: 14px 18px 18px; }
.app-pref-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-pref-color { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--paper-200); border-radius: 10px; background: var(--paper-50); cursor: pointer; }
.app-pref-color input[type=color] { width: 40px; height: 40px; padding: 2px; border: 1px solid var(--paper-200); border-radius: 50%; background: var(--paper-50); cursor: pointer; }
.app-pref-color span { font-size: 13px; font-weight: 600; }
.app-pref-tones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 18px 18px; }
.app-pref-tone { position: relative; display: block; padding: 16px 16px; border: 1px solid var(--paper-200); border-radius: 12px; background: var(--paper-50); cursor: pointer; transition: border-color 150ms var(--ease), background 150ms var(--ease), box-shadow 150ms var(--ease); }
.app-pref-tone input { position: absolute; opacity: 0; pointer-events: none; }
.app-pref-tone strong { display: block; font-size: 13px; font-weight: 700; }
.app-pref-tone small { display: block; margin-top: 3px; color: var(--ink-600); font-size: 11px; line-height: 1.4; }
.app-pref-tone:has(input:checked) { border-color: var(--accent-500); background: rgba(232,160,32,.14); box-shadow: 0 0 0 3px rgba(232,160,32,.12); }
.app-pref-tone:has(input:checked) strong { color: var(--ink-900); }
.app-pref-tone:has(input:checked) small { color: var(--ink-700); }
.app-pref-tone:hover { border-color: var(--accent-500); }
.app-pref-tone:has(input:checked)::after { content: "✓"; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-500); color: #fff; font-size: 12px; font-weight: 700; }
.app-chip-field { display: grid; gap: 6px; }
.app-chip-field-label { color: var(--ink-600); font-size: 12px; font-weight: 600; }
.app-chip-box { display: flex; flex-wrap: wrap; gap: 6px; min-height: 42px; padding: 8px; border: 1px solid var(--paper-200); border-radius: 10px; background: var(--paper-50); }
.app-chip-box.is-filled { background: var(--paper-50); }
.app-chip-hint { color: var(--ink-500); font-size: 12px; align-self: center; padding: 0 4px; }
.app-chip-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 10px; border-radius: var(--radius-pill); background: rgba(232,160,32,.14); color: var(--ink-900); font-size: 12px; font-weight: 600; }
.app-chip-tag .app-chip-x { position: relative; width: 18px; height: 18px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(13,13,13,.12); color: var(--ink-800); font-size: 12px; line-height: 1; cursor: pointer; }
.app-chip-tag .app-chip-x::before { content: ""; position: absolute; inset: -13px; border-radius: 50%; }
.app-chip-tag .app-chip-x:hover { background: rgba(13,13,13,.2); }
.app-chip-input { width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid var(--paper-200); border-radius: 10px; background: var(--paper-50); font-size: 13px; }
.app-chip-input:focus { border-color: var(--accent-500); outline: none; box-shadow: 0 0 0 3px rgba(232,160,32,.12); }
.app-pref-save { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.app-pref-save .app-button { min-width: 160px; }
.app-pref-saved { color: var(--success-500); font-weight: 600; }
@media (max-width: 640px) {
    .app-pref-tones { grid-template-columns: 1fr; }
    .app-pref-save { flex-direction: column-reverse; align-items: stretch; }
    .app-pref-save .app-button { width: 100%; min-width: 0; }
    .app-pref-save .app-pref-saved { text-align: center; }
    .app-pref-colors { grid-template-columns: 1fr 1fr; }
}


.app-pool-img-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 0; padding-left: 58px; }
.app-pool-img-toggle { min-height: 40px; padding: 0 14px; font-size: 13px; display: inline-flex; align-items: center; gap: 7px; }
.app-pool-img-toggle.is-active { border-color: rgba(232, 160, 32, .5); background: rgba(232, 160, 32, .1); }
.app-pool-img-selected { display: inline-flex; align-items: center; gap: 6px; }
.app-pool-img-selected img { width: 44px; height: 44px; display: block; border-radius: 10px; object-fit: cover; border: 2px solid var(--accent-500); }
.app-pool-img-x { position: relative; width: 18px; height: 18px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(13, 13, 13, .1); color: var(--ink-700); font-size: 12px; line-height: 1; cursor: pointer; }
.app-pool-img-x::before { content: ""; position: absolute; inset: -13px; border-radius: 50%; }
.app-pool-img-x:hover { background: rgba(184, 77, 77, .18); color: var(--danger-500); }
.app-pool-img-picker { margin: 12px 0 0; padding: 14px; border: 1px solid var(--paper-200); border-radius: 12px; background: var(--paper-100); }
.app-pool-img-picker .ap-note { margin: 0 0 10px; }
.app-pool-img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.app-pool-img-cell { position: relative; aspect-ratio: 1; padding: 0; border: 2px solid var(--paper-200); border-radius: 12px; background: var(--paper-50); overflow: hidden; cursor: pointer; transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease); }
.app-pool-img-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-pool-img-cell.is-selected { border-color: var(--accent-500); box-shadow: 0 0 0 3px rgba(232, 160, 32, .18); }
.app-pool-img-cell.is-selected .app-pool-img-check { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-500); color: var(--ink-950); font-size: 12px; font-weight: 700; }
.app-pool-img-cell.app-pool-img-upload { display: grid; place-items: center; align-content: center; gap: 4px; border-style: dashed; color: var(--ink-600); font-size: 11px; font-weight: 600; }
.app-pool-img-cell.app-pool-img-upload.is-busy { opacity: .55; pointer-events: none; }
.app-pool-img-cell.is-processing img { opacity: .55; filter: saturate(.6); }
.app-pool-img-processing { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 4px; font-size: 10px; font-weight: 600; text-align: center; color: var(--ink-950); background: rgba(232, 160, 32, .85); pointer-events: none; }
@media (max-width: 700px) { .app-pool-img-row { padding-left: 0; } }

.app-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }


.app-form-field { display: grid; gap: 6px; }


.app-form-field span { color: var(--ink-600); font-size: 12px; font-weight: 600; }


.app-form-field input:not([type="color"]), .app-form-field select, .app-form-field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--paper-200); border-radius: var(--radius-sm); color: var(--ink-950); background: var(--paper-50); font-size: 14px; font-family: var(--font-body); }


.app-form-field input[type="color"] { width: 100%; min-height: 44px; padding: 4px; border: 1px solid var(--paper-200); border-radius: var(--radius-sm); background: var(--paper-50); }


.app-creative-form textarea { width: 100%; min-height: 90px; padding: 10px 12px; border: 1px solid var(--paper-200); border-radius: var(--radius-sm); color: var(--ink-950); background: var(--paper-50); font-size: 13px; font-family: var(--font-body); }


.app-creative-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }


@media (max-width: 860px) {
    .app-portal-grid, .app-portal-grid-2 { grid-template-columns: 1fr; }
}

/* -- Connect Social (Hesaplar) -- */
.app-connect-shell { max-width: 680px; }
.app-connect-head { margin-bottom: 18px; }
.app-connect-title { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.app-connect-grid { display: grid; gap: 12px; }
.app-connect-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--paper-200); border-radius: 14px; background: var(--paper-50); box-shadow: 0 1px 2px rgba(15,17,21,.04); }
.app-connect-icon { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--paper-50); }
.app-connect-icon.is-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.app-connect-icon.is-facebook { background: #1877f2; }
.app-connect-icon.is-linkedin { background: #0a66c2; }
.app-connect-icon.is-twitter { background: #0d0d0d; }
.app-connect-icon.is-tiktok { background: #0d0d0d; }
.app-connect-icon.is-youtube { background: #ff0000; }
.app-connect-icon.is-threads { background: #0d0d0d; }
.app-connect-icon.is-pinterest { background: #e60023; }
.app-connect-icon.is-bluesky { background: #0085ff; }
.app-connect-icon.is-generic { background: var(--ink-800); }
.app-connect-main { flex: 1; min-width: 0; }
.app-connect-main strong { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: -.015em; color: var(--ink-950); }
.app-connect-main small { display: block; margin-top: 3px; color: var(--ink-600); font-size: 12.5px; line-height: 1.45; }
.app-connect-state { flex-shrink: 0; display: flex; align-items: center; gap: 8px; }
.app-connect-state .app-button { min-height: 44px; padding: 0 18px; font-size: 13px; font-weight: 700; border-radius: var(--radius-pill); }
.app-connect-state .app-button-accent { padding: 0 20px; }
.app-connect-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(42,122,58,.1); color: var(--success-500); font-size: 12px; font-weight: 700; white-space: nowrap; }
.app-connect-badge::before { content: "✓"; font-size: 11px; }
@media (max-width: 560px) { .app-connect-card { flex-wrap: wrap; } .app-connect-state { width: 100%; justify-content: flex-end; } }

/* -- Creative Review (Görsel Onay) -- */
.app-creative-shell { max-width: 680px; }
.app-creative-head { margin-bottom: 18px; }
.app-creative-title { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.app-creative-empty { padding: 44px 24px; text-align: center; border: 1px solid var(--paper-200); border-radius: 16px; background: var(--paper-50); }
.app-creative-empty-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 50%; background: rgba(232,160,32,.14); color: var(--accent-600); font-size: 18px; }
.app-creative-empty strong { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.app-creative-empty p { margin: 0 auto 14px; max-width: 380px; color: var(--ink-600); font-size: 13px; line-height: 1.55; }
.app-creative-card { border: 1px solid var(--paper-200); border-radius: 16px; background: var(--paper-50); box-shadow: 0 1px 2px rgba(15,17,21,.04); }
.app-creative-card-head { padding: 20px 24px 0; }
.app-creative-card-title { margin: 4px 0 0; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.app-creative-card .app-form-field { margin: 0 0 16px; }
.app-creative-card > .app-form-field:first-of-type { margin-top: 4px; }
.app-creative-card .app-form-field span { color: var(--ink-600); font-size: 12px; font-weight: 600; }
.app-creative-card textarea, .app-creative-card input[type=text] { width: 100%; padding: 10px 12px; border: 1px solid var(--paper-200); border-radius: 10px; background: var(--paper-50); font-size: 14px; font-family: var(--font-body); }
.app-creative-card textarea { min-height: 90px; resize: vertical; line-height: 1.55; }
.app-creative-card textarea:focus, .app-creative-card input[type=text]:focus { border-color: var(--accent-500); outline: none; box-shadow: 0 0 0 3px rgba(232,160,32,.12); }
.app-creative-slides { display: grid; gap: 10px; }
.app-creative-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; padding: 16px 24px 20px; border-top: 1px solid var(--paper-200); }
.app-creative-actions .app-button-quiet { margin-left: auto; }
@media (max-width: 640px) {
    .app-creative-card-head, .app-creative-actions { padding-left: 18px; padding-right: 18px; }
    .app-creative-actions .app-button { flex: 1 1 auto; }
    .app-creative-actions .app-button-quiet { margin-left: 0; }
}


@keyframes ap-sheet-in { from { transform: translateY(28px); opacity: .4; } to { transform: translateY(0); opacity: 1; } }

/* Shared modal close — 44px touch target */
.ap-modal-x { min-width: 44px; min-height: 44px; border: 1px solid var(--paper-200); border-radius: 50%; color: var(--ink-600); background: transparent; cursor: pointer; font-size: 17px; }
.ap-modal-x:hover { color: var(--ink-950); border-color: var(--ink-950); }

/* Bottom tab bar — mobile app chrome */
.app-tabbar { display: none; }
@media (max-width: 780px) {
    .app-nav { display: none; }
    .app-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: 6px 8px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--paper-200); background: rgba(251, 250, 247, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
    .app-tab { position: relative; display: grid; justify-items: center; gap: 3px; padding: 7px 0 5px; border-radius: 12px; color: var(--ink-600); font-size: 10.5px; font-weight: 700; letter-spacing: .01em; text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; transition: color 160ms var(--ease); }
    .app-tab-ico { position: relative; display: grid; place-items: center; }
    .app-tab-ico svg { width: 24px; height: 24px; }
    .app-tab.is-active { color: var(--ink-950); }
    .app-tab.is-active .app-tab-ico svg { color: var(--accent-600); }
    .app-tab-badge { position: absolute; top: -4px; right: calc(50% - 20px); min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; background: var(--accent-500); color: var(--ink-950); font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; box-shadow: 0 0 0 2px var(--paper-100); }
    .app-main { padding-bottom: 138px; }
}