/* Studio by EnquiryGate — shared public and workspace styles */

    :root {
        --st-coral: #ff5846;
        --st-coral-dark: #df4032;
        --st-coral-soft: #fff0ed;
        --st-ink: #f7fafc;
        --st-muted: #aebdc7;
        --st-line: #344955;
        --st-blue: #eaf3f8;
        --st-canvas: #101e27;
        --st-white: #172832;
        --st-green: #13a474;
        --st-yellow: #ffbf45;
        --st-violet: #665df5;
        --st-radius: 20px;
        --st-shadow: 0 18px 50px rgba(24,33,43,.10);
        --st-width: 1220px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; overflow-x: hidden; color: var(--st-ink); background: var(--st-white); font-family: "DM Sans", sans-serif; }
    body.st-menu-open { overflow: hidden; }
    button, input, textarea { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    a { color: inherit; text-decoration: none; }
    h1, h2, h3, h4, p { margin-top: 0; }
    h1, h2, h3, h4 { font-family: "Manrope", sans-serif; letter-spacing: -.035em; }
    .st-page { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; line-height: 1.55; }
    .st-wrap { width: min(var(--st-width), calc(100% - 40px)); margin-inline: auto; }
    .st-section { padding: 100px 0; }
    .st-soft { background: var(--st-canvas); }
    .st-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--st-coral-dark); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
    .st-kicker::before { width: 21px; height: 2px; content: ""; background: var(--st-coral); border-radius: 10px; }
    .st-heading { max-width: 760px; margin-bottom: 44px; }
    .st-heading.center { margin-inline: auto; text-align: center; }
    .st-heading.center .st-kicker::before { display: none; }
    .st-heading h2 { margin-bottom: 14px; font-size: clamp(2rem,4vw,3.4rem); line-height: 1.1; }
    .st-heading p { margin: 0; color: var(--st-muted); font-size: 1.05rem; }
    .st-btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid transparent; border-radius: 13px; font-weight: 800; cursor: pointer; transition: .2s ease; }
    .st-btn:hover { transform: translateY(-2px); }
    .st-btn-coral { color: #fff; background: var(--st-coral); box-shadow: 0 12px 28px rgba(255,88,70,.24); }
    .st-btn-coral:hover { color: #fff; background: var(--st-coral-dark); }
    .st-btn-white { color: #eef5f8; background: #20343f; border-color: #3b515d; }
    .st-btn-white:hover { color: #fff; border-color: #ff7869; background: #293e49; }
    .st-btn-dark { color: #fff; background: #0c1820; border-color: #38505d; }
    .st-btn-dark:hover { color: #fff; background: #071116; }

    .st-header { position: sticky; top: 0; z-index: 1000; height: 74px; background: rgba(13,27,36,.94); border-bottom: 1px solid #2a414d; backdrop-filter: blur(18px); }
    .st-header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
    .st-brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
    .st-brand-mark { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: var(--st-coral); border-radius: 12px; box-shadow: 0 9px 20px rgba(255,88,70,.25); }
    .st-brand-name { font: 800 1.12rem/1 "Manrope"; }
    .st-brand-name span { color: var(--st-coral); }
    .st-brand small { display: block; margin-top: 3px; color: #7b8996; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .st-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
    .st-nav a { padding: 9px 11px; color: #bac7cf; border-radius: 10px; font-size: .88rem; font-weight: 700; }
    .st-nav a:hover { color: var(--st-coral-dark); background: var(--st-coral-soft); }
    .st-header-actions { display: flex; align-items: center; gap: 8px; }
    .st-header-actions .st-btn { min-height: 41px; padding-inline: 15px; font-size: .86rem; }
    .st-menu-btn { display: none; width: 43px; height: 43px; margin-left: auto; color: #fff; background: #20333e; border: 1px solid var(--st-line); border-radius: 11px; }

    .st-hero { position: relative; padding: 56px 0 76px; background: radial-gradient(circle at 3% 12%,rgba(255,88,70,.18),transparent 30%), radial-gradient(circle at 94% 8%,rgba(56,139,184,.18),transparent 29%), linear-gradient(180deg,#0d1b24,#142630); }
    .st-hero::after { position: absolute; right: -190px; bottom: -290px; width: 600px; height: 600px; content: ""; border: 1px solid rgba(70,120,152,.13); border-radius: 50%; box-shadow: 0 0 0 70px rgba(70,120,152,.025),0 0 0 140px rgba(70,120,152,.02); }
    .st-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(370px,.92fr); gap: 52px; align-items: center; }
    .st-hero-copy h1 { max-width: 720px; margin: 18px 0 20px; font-size: clamp(3rem,6vw,5.7rem); line-height: .98; }
    .st-accent { color: var(--st-coral); }
    .st-hero-copy > p { max-width: 660px; margin-bottom: 26px; color: var(--st-muted); font-size: 1.12rem; }
    .st-hero-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; color: #ff9a90; background: #1c303b; border: 1px solid #70453f; border-radius: 99px; box-shadow: 0 7px 20px rgba(0,0,0,.12); font-size: .78rem; font-weight: 800; }
    .st-format-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
    .st-format-row span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; color: #c1cdd4; background: rgba(31,51,62,.82); border: 1px solid var(--st-line); border-radius: 9px; font-size: .76rem; font-weight: 700; }
    .st-format-row i { color: var(--st-coral); }
    .st-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
    .st-mini-note { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 19px; color: #73808c; font-size: .76rem; font-weight: 600; }
    .st-mini-note span { display: inline-flex; align-items: center; gap: 6px; }
    .st-mini-note i { color: var(--st-green); }

    .st-access-card { position: relative; padding: 25px; background: rgba(25,43,53,.97); border: 1px solid #3b5360; border-radius: 26px; box-shadow: 0 28px 75px rgba(0,0,0,.34); }
    .st-access-card::before { position: absolute; inset: -1px; z-index: -1; content: ""; background: linear-gradient(135deg,rgba(255,88,70,.35),rgba(76,141,181,.22)); border-radius: inherit; transform: translate(7px,8px); filter: blur(15px); opacity: .42; }
    .st-access-label { display: flex; align-items: center; gap: 7px; color: var(--st-coral-dark); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .st-access-card h2 { margin: 7px 0 6px; font-size: 1.55rem; }
    .st-access-card > p { margin-bottom: 18px; color: var(--st-muted); font-size: .87rem; }
    .st-auth-form { display: grid; gap: 12px; }
    .st-auth-field label { display: block; margin-bottom: 6px; color: #dbe5ea; font-size: .72rem; font-weight: 800; }
    .st-input-wrap { position: relative; }
    .st-input-wrap > i { position: absolute; left: 13px; top: 50%; color: #8296a2; transform: translateY(-50%); }
    .st-auth-field input { width: 100%; height: 46px; padding: 0 42px; color: #f7fafc; background: #10212b; border: 1px solid #3a505d; border-radius: 11px; outline: none; }
    .st-auth-field input:focus { border-color: var(--st-coral); box-shadow: 0 0 0 3px rgba(255,88,70,.13); }
    .st-password-toggle { position: absolute; right: 8px; top: 50%; width: 34px; height: 34px; display: grid; place-items: center; color: #91a3ad; background: transparent; border: 0; transform: translateY(-50%); cursor: pointer; }
    .st-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #aebdc7; font-size: .68rem; }
    .st-check { display: inline-flex; align-items: center; gap: 6px; }
    .st-check input { accent-color: var(--st-coral); }
    .st-auth-row a { color: #ff8a7e; font-weight: 800; }
    .st-login-provider { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 9px; color: #eaf0f3; background: #223743; border: 1px solid #3c5360; border-radius: 11px; font-size: .82rem; font-weight: 800; }
    .st-login-provider:hover { border-color: #f1a79f; }
    .st-login-provider .bi-google { color: #4285f4; }
    .st-login-provider .bi-facebook { color: #1877f2; }
    .st-divider { display: flex; align-items: center; gap: 10px; margin: 13px 0; color: #86929e; font-size: .62rem; font-weight: 700; text-transform: uppercase; }
    .st-divider::before,.st-divider::after { height: 1px; flex: 1; content: ""; background: var(--st-line); }
    .st-auth-link { width: 100%; }
    .st-create-account { margin: 12px 0 0; text-align: center; color: #64717f; font-size: .72rem; }
    .st-create-account a { color: var(--st-coral-dark); font-weight: 800; }
    .st-secure { display: flex; align-items: flex-start; gap: 8px; margin-top: 15px; padding: 10px; color: #a8b7c0; background: #10232d; border: 1px solid #314956; border-radius: 10px; font-size: .65rem; }
    .st-secure i { color: var(--st-green); }
    .st-quick-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
    .st-quick-title strong { font-family: "Manrope"; }
    .st-quick-title a { color: var(--st-coral-dark); font-size: .72rem; font-weight: 800; }
    .st-quick-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
    .st-quick { min-height: 94px; padding: 13px 9px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; color: #3b4854; background: #f7f9fa; border: 1px solid var(--st-line); border-radius: 12px; font-size: .7rem; font-weight: 800; }
    .st-quick:hover { color: var(--st-coral-dark); background: var(--st-coral-soft); border-color: #f4bbb5; transform: translateY(-2px); }
    .st-quick i { font-size: 1.15rem; color: var(--st-coral); }
    .st-resume { display: flex; align-items: center; gap: 11px; margin-top: 13px; padding: 12px; background: #202d37; border-radius: 13px; color: #fff; }
    .st-resume-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: var(--st-coral); border-radius: 10px; }
    .st-resume strong,.st-resume small { display: block; }
    .st-resume strong { font-size: .78rem; }
    .st-resume small { color: #afbcc6; font-size: .64rem; }
    .st-resume .bi-arrow-right { margin-left: auto; }

    .st-startbar { position: relative; z-index: 3; margin-top: -31px; }
    .st-startbar-inner { display: grid; grid-template-columns: 1.25fr repeat(4,1fr); padding: 12px; background: #fff; border: 1px solid var(--st-line); border-radius: 20px; box-shadow: var(--st-shadow); }
    .st-start-intro { padding: 15px 18px; }
    .st-start-intro strong { display: block; font: 800 1rem "Manrope"; }
    .st-start-intro span { color: var(--st-muted); font-size: .75rem; }
    .st-start-option { display: flex; align-items: center; gap: 10px; padding: 13px; border-left: 1px solid var(--st-line); border-radius: 12px; transition: .2s ease; }
    .st-start-option:hover { background: var(--st-coral-soft); }
    .st-start-icon { width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 auto; color: var(--st-coral); background: var(--st-coral-soft); border-radius: 10px; }
    .st-start-option strong,.st-start-option small { display: block; }
    .st-start-option strong { font-size: .78rem; }
    .st-start-option small { color: var(--st-muted); font-size: .65rem; }

    .st-create-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; }
    .st-create-card { position: relative; min-height: 285px; overflow: hidden; padding: 21px; background: linear-gradient(155deg,#1b2e39,#172832); border: 1px solid #334a57; border-radius: var(--st-radius); transition: .24s ease; isolation: isolate; }
    .st-create-card::before { position: absolute; right: -54px; top: -62px; width: 150px; height: 150px; content: ""; border-radius: 50%; background: rgba(255,88,70,.09); transition: .25s ease; z-index: -1; }
    .st-create-card::after { position: absolute; left: 0; top: 0; width: 100%; height: 3px; content: ""; background: linear-gradient(90deg,var(--st-coral),transparent 76%); opacity: .85; }
    .st-create-card:nth-child(2)::after,.st-create-card:nth-child(6)::after { background: linear-gradient(90deg,#50a4d1,transparent 76%); }
    .st-create-card:nth-child(3)::after,.st-create-card:nth-child(7)::after { background: linear-gradient(90deg,#efb847,transparent 76%); }
    .st-create-card:nth-child(4)::after,.st-create-card:nth-child(8)::after { background: linear-gradient(90deg,#8c7cf0,transparent 76%); }
    .st-create-card:hover { border-color: #607582; box-shadow: 0 22px 48px rgba(0,0,0,.28); transform: translateY(-6px); }
    .st-create-card:hover::before { transform: scale(1.16); }
    .st-create-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
    .st-create-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 20px; color: var(--st-coral); background: var(--st-coral-soft); border-radius: 13px; font-size: 1.15rem; }
    .st-create-card:nth-child(2) .st-create-icon,.st-create-card:nth-child(6) .st-create-icon { color: #397fa7; background: #e9f4fa; }
    .st-create-card:nth-child(3) .st-create-icon,.st-create-card:nth-child(7) .st-create-icon { color: #81561b; background: #fff4db; }
    .st-create-card:nth-child(4) .st-create-icon,.st-create-card:nth-child(8) .st-create-icon { color: #5149c6; background: #eeecff; }
    .st-create-card h3 { margin-bottom: 7px; color: #fff; font-size: 1.08rem; }
    .st-create-card p { margin-bottom: 16px; color: var(--st-muted); font-size: .78rem; }
    .st-capability { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 12px; padding: 4px 7px; color: #77d9b7; background: #173a31; border: 1px solid #285847; border-radius: 7px; font-size: .56rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
    .st-capability.advanced { color: #f5c86e; background: #3a301f; border-color: #5b4a2c; }
    .st-tags { display: flex; flex-wrap: wrap; gap: 6px; }
    .st-tags span { padding: 5px 8px; color: #bac7cf; background: #263c48; border-radius: 7px; font-size: .62rem; font-weight: 700; }
    .st-card-link { position: absolute; left: 21px; right: 21px; bottom: 17px; display: flex; align-items: center; justify-content: space-between; padding-top: 13px; color: #ff8a7d; border-top: 1px solid #334a57; font-size: .7rem; font-weight: 800; }

    .st-audience { background: #1d2a34; color: #fff; }
    .st-audience .st-heading p { color: #afbec8; }
    .st-audience .st-kicker { color: #ff8d82; }
    .st-audience-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 25px; }
    .st-audience-tab { padding: 9px 14px; color: #c6d0d8; background: #273640; border: 1px solid #3a4a56; border-radius: 99px; font-size: .76rem; font-weight: 800; cursor: pointer; }
    .st-audience-tab.active,.st-audience-tab:hover { color: #fff; background: var(--st-coral); border-color: var(--st-coral); }
    .st-audience-panel { display: none; grid-template-columns: .82fr 1.18fr; gap: 22px; padding: 22px; background: #273640; border: 1px solid #3b4c58; border-radius: 25px; }
    .st-audience-panel.active { display: grid; }
    .st-audience-copy { padding: 24px; }
    .st-audience-copy h3 { margin-bottom: 12px; font-size: 1.85rem; }
    .st-audience-copy p { color: #bac6cf; }
    .st-audience-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 25px; }
    .st-audience-list span { padding: 7px 10px; color: #d9e2e8; background: #33444f; border-radius: 8px; font-size: .7rem; font-weight: 700; }
    .st-showcase { display: grid; grid-template-columns: 1.05fr .95fr; gap: 11px; padding: 12px; background: #eef3f6; border-radius: 18px; }
    .st-show-main { position: relative; min-height: 310px; overflow: hidden; padding: 24px; color: #fff; background: linear-gradient(155deg,#ff725f,#e53f35); border-radius: 15px; }
    .st-show-main::before { position: absolute; right: -45px; bottom: -70px; width: 230px; height: 230px; content: ""; background: #ffbd3e; border-radius: 50%; }
    .st-show-main::after { position: absolute; right: 62px; bottom: 45px; width: 110px; height: 150px; content: ""; background: #283944; border-radius: 60px 60px 18px 18px; transform: rotate(8deg); }
    .st-show-main small,.st-show-main strong { position: relative; z-index: 2; display: block; }
    .st-show-main small { font-size: .67rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
    .st-show-main strong { max-width: 220px; margin-top: 13px; font: 800 2rem/1.05 "Manrope"; }
    .st-show-stack { display: grid; gap: 11px; }
    .st-show-mini { position: relative; min-height: 149px; overflow: hidden; padding: 17px; background: #fff; border-radius: 14px; color: var(--st-ink); }
    .st-show-mini.blue { color: #fff; background: #3b799f; }
    .st-show-mini strong { display: block; max-width: 145px; font-size: .93rem; }
    .st-show-mini span { position: absolute; right: 13px; bottom: 11px; color: var(--st-coral); font-size: 1.6rem; }
    .st-show-mini.blue span { color: #bfe5fa; }

    .st-flow-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
    .st-flow-copy h2 { font-size: clamp(2.1rem,4vw,3.5rem); line-height: 1.08; }
    .st-flow-copy p { color: var(--st-muted); }
    .st-flow-points { display: grid; gap: 11px; margin: 26px 0; }
    .st-flow-point { display: flex; align-items: center; gap: 11px; color: #43515e; font-size: .85rem; font-weight: 700; }
    .st-flow-point i { width: 29px; height: 29px; display: grid; place-items: center; color: var(--st-coral); background: var(--st-coral-soft); border-radius: 8px; }
    .st-production { padding: 17px; background: #eef3f6; border: 1px solid var(--st-line); border-radius: 26px; }
    .st-prompt { display: flex; align-items: center; gap: 11px; padding: 15px; background: #fff; border: 1px solid var(--st-line); border-radius: 14px; }
    .st-prompt i { color: var(--st-coral); }
    .st-prompt span { flex: 1; color: #596775; font-size: .78rem; }
    .st-prompt b { padding: 6px 9px; color: #fff; background: var(--st-ink); border-radius: 8px; font-size: .65rem; }
    .st-output-line { position: relative; height: 38px; }
    .st-output-line::before { position: absolute; left: 50%; top: 0; width: 2px; height: 100%; content: ""; background: #c7d3da; }
    .st-output-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
    .st-output { min-height: 150px; padding: 14px; background: #fff; border: 1px solid var(--st-line); border-radius: 14px; }
    .st-output-preview { min-height: 78px; margin-bottom: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#273944,#516b7b); border-radius: 10px; }
    .st-output:nth-child(2) .st-output-preview { background: linear-gradient(145deg,#ff6d5c,#db3c30); }
    .st-output:nth-child(3) .st-output-preview { color: #31526a; background: #dbeef8; }
    .st-output strong,.st-output small { display: block; }
    .st-output strong { font-size: .72rem; }
    .st-output small { color: var(--st-muted); font-size: .61rem; }
    .st-publish-line { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; padding: 10px; color: var(--st-green); background: #fff; border: 1px solid #d7e9e3; border-radius: 12px; font-size: .68rem; font-weight: 800; }

    .st-template-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 15px; }
    .st-template { min-width: 0; padding: 8px; background: #1b2d38; border: 1px solid #344a57; border-radius: 21px; transition: .25s ease; }
    .st-template:hover { border-color: #607582; box-shadow: 0 20px 45px rgba(0,0,0,.24); transform: translateY(-6px); }
    .st-template-art { position: relative; min-height: 255px; overflow: hidden; padding: 18px; border-radius: 14px; transition: .25s ease; }
    .st-template:hover .st-template-art { transform: none; box-shadow: none; }
    .st-template:nth-child(1) .st-template-art { color: #fff; background: linear-gradient(145deg,#ff7666,#d93b32); }
    .st-template:nth-child(2) .st-template-art { color: #fff; background: #23333e; }
    .st-template:nth-child(3) .st-template-art { color: #362916; background: #f8d96a; }
    .st-template:nth-child(4) .st-template-art { color: #fff; background: #347ca5; }
    .st-template:nth-child(5) .st-template-art { color: #fff; background: #654ec0; }
    .st-template-art::after { position: absolute; right: -37px; bottom: -50px; width: 175px; height: 175px; content: ""; background: rgba(255,255,255,.16); border-radius: 50%; }
    .st-template-badge { position: relative; z-index: 4; display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; background: rgba(10,22,29,.24); border: 1px solid rgba(255,255,255,.22); border-radius: 8px; font-size: .58rem; font-weight: 800; text-transform: uppercase; }
    .st-template-art > strong { position: absolute; z-index: 4; left: 18px; right: 18px; bottom: 18px; display: block; max-width: 155px; font: 800 1.23rem/1.08 "Manrope"; }
    .st-sample-phone { position: absolute; z-index: 2; right: 18px; top: 44px; width: 87px; height: 152px; padding: 6px; background: #17242c; border: 2px solid rgba(255,255,255,.65); border-radius: 18px; transform: rotate(7deg); }
    .st-sample-phone div { height: 100%; display: grid; place-items: center; background: linear-gradient(160deg,#ffd36a,#ff765f 62%,#8b51cb); border-radius: 11px; }
    .st-sample-phone i { width: 31px; height: 31px; display: grid; place-items: center; background: rgba(255,255,255,.88); color: #e8483d; border-radius: 50%; }
    .st-sample-assets { position: absolute; z-index: 2; right: 13px; top: 53px; width: 120px; height: 126px; }
    .st-sample-assets span { position: absolute; width: 76px; height: 92px; padding: 9px; background: #fff; color: #22343f; border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,.22); font-size: .55rem; font-weight: 900; }
    .st-sample-assets span:nth-child(1) { left: 0; top: 25px; transform: rotate(-9deg); }
    .st-sample-assets span:nth-child(2) { right: 0; top: 7px; background: #ff705f; color: #fff; transform: rotate(8deg); }
    .st-sample-kids { position: absolute; z-index: 2; right: 10px; top: 50px; width: 155px; height: 115px; }
    .st-sample-kids .sun { position: absolute; right: 5px; top: 0; width: 36px; height: 36px; background: #ff985c; border-radius: 50%; }
    .st-sample-kids .hill { position: absolute; left: 0; right: 0; bottom: 0; height: 62px; background: #8fcf75; border-radius: 70% 70% 0 0; }
    .st-sample-kids .friend { position: absolute; z-index: 2; left: 55px; bottom: 18px; width: 43px; height: 57px; background: #7051bd; border-radius: 48% 48% 35% 35%; }
    .st-sample-kids .friend::before { position: absolute; left: 7px; top: -24px; width: 30px; height: 30px; content: ""; background: #ffd2a9; border-radius: 50%; }
    .st-sample-steps { position: absolute; z-index: 2; right: 13px; top: 51px; display: grid; gap: 7px; width: 145px; }
    .st-sample-steps span { display: flex; align-items: center; gap: 7px; padding: 7px; color: #27475a; background: rgba(255,255,255,.88); border-radius: 8px; font-size: .54rem; font-weight: 900; }
    .st-sample-steps b { display: grid; place-items: center; width: 18px; height: 18px; color: #fff; background: #347ca5; border-radius: 50%; }
    .st-sample-comic { position: absolute; z-index: 2; right: 13px; top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; width: 142px; }
    .st-sample-comic span { position: relative; height: 55px; background: rgba(255,255,255,.91); border-radius: 7px; }
    .st-sample-comic span::before { position: absolute; left: 10px; top: 10px; width: 24px; height: 24px; content: ""; background: #ffb445; border-radius: 50%; }
    .st-sample-comic span::after { position: absolute; right: 6px; top: 8px; width: 24px; height: 14px; content: ""; background: #d9d2ff; border-radius: 8px; }
    .st-template-info { display: flex; justify-content: space-between; gap: 8px; padding: 12px 7px 7px; }
    .st-template-info strong { color: #f4f8fa; font-size: .77rem; }
    .st-template-info span { color: #9fb0bb; font-size: .65rem; }

    .st-publish-section { color: #fff; background: #202e38; }
    .st-publish-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 50px; align-items: center; }
    .st-publish-copy h2 { font-size: clamp(2.1rem,4vw,3.5rem); line-height: 1.08; }
    .st-publish-copy p { color: #b5c2cb; }
    .st-channel-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0 29px; }
    .st-channel-tags span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; color: #dce4e9; background: #2c3d48; border: 1px solid #40525e; border-radius: 9px; font-size: .72rem; font-weight: 700; }
    .st-publish-board { padding: 18px; background: #2a3a45; border: 1px solid #40515c; border-radius: 24px; }
    .st-board-head { display: flex; justify-content: space-between; margin-bottom: 13px; font-size: .75rem; font-weight: 800; }
    .st-board-head span { color: #65d5ad; }
    .st-publish-item { display: grid; grid-template-columns: 42px 1fr auto; gap: 11px; align-items: center; margin-bottom: 9px; padding: 11px; color: var(--st-ink); background: #fff; border-radius: 12px; }
    .st-publish-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--st-coral); background: var(--st-coral-soft); border-radius: 10px; }
    .st-publish-item strong,.st-publish-item small { display: block; }
    .st-publish-item strong { font-size: .75rem; }
    .st-publish-item small { color: var(--st-muted); font-size: .62rem; }
    .st-status { padding: 5px 8px; color: var(--st-green); background: #e9f8f2; border-radius: 99px; font-size: .59rem; font-weight: 800; }

    .st-ecosystem-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; }
    .st-eco-card { padding: 23px; background: #fff; border: 1px solid var(--st-line); border-radius: 18px; }
    .st-eco-card.primary { color: #fff; background: var(--st-coral); border-color: var(--st-coral); box-shadow: 0 18px 42px rgba(255,88,70,.22); }
    .st-eco-logo { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 18px; color: var(--st-coral); background: var(--st-coral-soft); border-radius: 12px; }
    .st-eco-card.primary .st-eco-logo { color: #fff; background: rgba(255,255,255,.17); }
    .st-eco-card h3 { margin-bottom: 6px; font-size: 1rem; }
    .st-eco-card p { margin: 0; color: var(--st-muted); font-size: .76rem; }
    .st-eco-card.primary p { color: #ffe3df; }
    .st-eco-note { max-width: 760px; margin: 26px auto 0; color: var(--st-muted); text-align: center; font-size: .82rem; }
    .st-eco-note strong { color: var(--st-ink); }

    .st-wallet { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
    .st-wallet-card { position: relative; overflow: hidden; padding: 29px; color: #fff; background: linear-gradient(145deg,#202f3a,#344a59); border-radius: 25px; box-shadow: var(--st-shadow); }
    .st-wallet-card::after { position: absolute; right: -65px; top: -80px; width: 250px; height: 250px; content: ""; background: var(--st-coral); border-radius: 50%; opacity: .9; }
    .st-wallet-top,.st-wallet-balance,.st-wallet-row { position: relative; z-index: 2; }
    .st-wallet-top { display: flex; justify-content: space-between; align-items: center; }
    .st-wallet-top strong { font-family: "Manrope"; }
    .st-wallet-top span { padding: 5px 8px; background: rgba(255,255,255,.16); border-radius: 8px; font-size: .62rem; font-weight: 800; }
    .st-wallet-balance { margin: 40px 0 30px; }
    .st-wallet-balance small,.st-wallet-balance strong { display: block; }
    .st-wallet-balance small { color: #b9c6ce; font-size: .68rem; }
    .st-wallet-balance strong { margin-top: 5px; font-size: 2.6rem; }
    .st-wallet-row { display: flex; justify-content: space-between; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.16); color: #d0dae0; font-size: .7rem; }
    .st-wallet-copy h2 { font-size: clamp(2rem,4vw,3.3rem); line-height: 1.1; }
    .st-wallet-copy p { color: var(--st-muted); }
    .st-wallet-features { padding: 0; margin: 24px 0 28px; list-style: none; }
    .st-wallet-features li { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; color: #465563; font-size: .84rem; font-weight: 700; }
    .st-wallet-features i { color: var(--st-green); }

    .st-final { padding: 90px 0; background: linear-gradient(135deg,#fff1ee,#edf6fa); }
    .st-final-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 50px; color: #fff; background: #1d2b35; border-radius: 29px; }
    .st-final-card::after { position: absolute; right: -90px; top: -130px; width: 350px; height: 350px; content: ""; background: var(--st-coral); border-radius: 50%; opacity: .85; }
    .st-final-copy,.st-final-actions { position: relative; z-index: 2; }
    .st-final-copy h2 { margin-bottom: 10px; font-size: clamp(2rem,4vw,3.25rem); }
    .st-final-copy p { max-width: 650px; margin: 0; color: #b9c6cf; }
    .st-final-actions { display: flex; gap: 10px; }

    .st-footer { padding: 58px 0 24px; color: #b7c2ca; background: #15212a; }
    .st-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4,1fr); gap: 35px; }
    .st-footer .st-brand-name { color: #fff; }
    .st-footer-about p { max-width: 300px; margin: 17px 0; font-size: .78rem; }
    .st-footer h4 { margin-bottom: 15px; color: #fff; font-size: .85rem; }
    .st-footer-links { display: grid; gap: 9px; }
    .st-footer-links a { color: #aebac3; font-size: .76rem; }
    .st-footer-links a:hover { color: #fff; }
    .st-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 21px; border-top: 1px solid #2d3b45; font-size: .7rem; }

    .st-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease,transform .6s ease; }
    .st-reveal.visible { opacity: 1; transform: none; }

    @media (max-width: 1080px) {
        .st-nav { display: none; }
        .st-menu-btn { display: grid; place-items: center; }
        .st-header-actions { margin-left: auto; }
        .st-hero-grid { grid-template-columns: 1fr 420px; gap: 30px; }
        .st-create-grid { grid-template-columns: repeat(2,1fr); }
        .st-template-grid { grid-template-columns: repeat(3,1fr); }
        .st-template:nth-child(4),.st-template:nth-child(5) { display: none; }
        .st-footer-grid { grid-template-columns: 1.5fr repeat(2,1fr); }
        .st-footer-grid > div:nth-child(4),.st-footer-grid > div:nth-child(5) { display: none; }
    }

    @media (max-width: 860px) {
        .st-section { padding: 78px 0; }
        .st-hero-grid,.st-flow-grid,.st-publish-grid,.st-wallet { grid-template-columns: 1fr; }
        .st-hero { padding-top: 45px; }
        .st-access-card { grid-row: 1; }
        .st-hero-copy { grid-row: 2; }
        .st-hero-copy { text-align: center; }
        .st-hero-copy h1,.st-hero-copy > p { margin-inline: auto; }
        .st-format-row,.st-hero-actions,.st-mini-note { justify-content: center; }
        .st-access-card { max-width: 520px; margin-inline: auto; }
        .st-startbar { margin-top: 18px; }
        .st-startbar-inner { grid-template-columns: repeat(2,1fr); }
        .st-start-intro { grid-column: 1 / -1; text-align: center; }
        .st-start-option { border-left: 0; border-top: 1px solid var(--st-line); }
        .st-audience-panel { grid-template-columns: 1fr; }
        .st-audience-copy { padding: 12px; }
        .st-publish-copy { text-align: center; }
        .st-channel-tags { justify-content: center; }
        .st-ecosystem-grid { grid-template-columns: repeat(2,1fr); }
        .st-final-card { grid-template-columns: 1fr; text-align: center; }
        .st-final-actions { justify-content: center; }
    }

    @media (max-width: 640px) {
        .st-wrap { width: min(100% - 26px,var(--st-width)); }
        .st-header { height: 66px; }
        .st-brand-mark { width: 37px; height: 37px; }
        .st-header-actions .st-btn-white { display: none; }
        .st-header-actions .st-btn { min-height: 39px; padding-inline: 11px; font-size: .76rem; }
        .st-menu-btn { width: 39px; height: 39px; }
        .st-hero-copy h1 { font-size: clamp(2.55rem,14vw,4rem); }
        .st-hero-copy > p { font-size: 1rem; }
        .st-hero-pill { font-size: .7rem; }
        .st-format-row span:nth-child(n+5) { display: none; }
        .st-hero { padding-top: 20px; }
        .st-hero-grid { gap: 32px; }
        .st-access-card { padding: 18px; border-radius: 19px; }
        .st-quick-grid { grid-template-columns: repeat(2,1fr); }
        .st-startbar-inner,.st-create-grid,.st-ecosystem-grid { grid-template-columns: 1fr; }
        .st-start-option { border-top: 1px solid var(--st-line); }
        .st-heading { margin-bottom: 31px; }
        .st-heading h2 { font-size: 2rem; }
        .st-audience-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
        .st-audience-tab { flex: 0 0 auto; }
        .st-showcase { grid-template-columns: 1fr; }
        .st-show-main { min-height: 260px; }
        .st-show-stack { grid-template-columns: 1fr 1fr; }
        .st-show-mini { min-height: 125px; }
        .st-output-grid { grid-template-columns: 1fr; }
        .st-output { display: grid; grid-template-columns: 105px 1fr; gap: 12px; align-items: center; min-height: 100px; }
        .st-output-preview { min-height: 74px; margin: 0; }
        .st-template-grid { display: flex; overflow-x: auto; padding: 0 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
        .st-template { min-width: 220px; scroll-snap-align: start; }
        .st-template:nth-child(4),.st-template:nth-child(5) { display: block; }
        .st-publish-item { grid-template-columns: 40px 1fr; }
        .st-publish-item .st-status { grid-column: 2; width: max-content; }
        .st-wallet { gap: 32px; }
        .st-wallet-card { padding: 22px; }
        .st-final { padding: 60px 0; }
        .st-final-card { padding: 33px 20px; }
        .st-final-actions { flex-direction: column; }
        .st-footer-grid { grid-template-columns: 1fr 1fr; }
        .st-footer-about { grid-column: 1 / -1; }
        .st-footer-grid > div:nth-child(4),.st-footer-grid > div:nth-child(5) { display: none; }
        .st-footer-bottom { flex-direction: column; }
    }

    @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        .st-reveal { opacity: 1; transform: none; transition: none; }
        * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    }

    .st-startbar-inner,.st-production,.st-publish-board,.st-eco-card,.st-wallet-card { box-shadow: 0 18px 45px rgba(0,0,0,.22); }
    .st-startbar-inner,.st-output,.st-prompt,.st-publish-item,.st-eco-card { background: #1b2e39; border-color: #344b57; }
    .st-start-option,.st-start-intro { color: #edf4f7; }
    .st-start-icon { background: #3b2b2b; }
    .st-production { background: #10212a; }
    .st-prompt span,.st-flow-point,.st-wallet-features li { color: #bdc9d0; }
    .st-prompt b { background: var(--st-coral); }
    .st-template-info strong,.st-publish-item strong,.st-eco-card h3 { color: #f4f8fa; }
    .st-publish-item { color: #eef4f7; }
    .st-status { color: #72dab4; background: #17372f; }
    .st-final { background: radial-gradient(circle at 10% 20%,rgba(255,88,70,.16),transparent 36%),linear-gradient(135deg,#101f28,#1b303a); }
    .st-final-card { background: #172a34; border: 1px solid #3a505c; }
    .st-eco-note strong { color: #fff; }
    .st-auth-submit { width: 100%; }
    .st-login-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
    .st-login-options .st-login-provider { margin: 0; }

    @media (max-width: 420px) {
        .st-login-options { grid-template-columns: 1fr; }
    }

/* Authenticated workspace and dashboard */

    :root {
        --sd-bg: #0d1921;
        --sd-panel: #14252f;
        --sd-panel-2: #192c37;
        --sd-panel-3: #203541;
        --sd-line: #2d4450;
        --sd-text: #f5f8fa;
        --sd-muted: #9db0bb;
        --sd-coral: #ff5b49;
        --sd-coral-dark: #e84637;
        --sd-blue: #58a8d3;
        --sd-amber: #f6b947;
        --sd-violet: #8d7cf6;
        --sd-green: #38c798;
        --sd-sidebar: 242px;
        --sd-topbar: 72px;
        --sd-radius: 18px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body.sd-workspace-body { margin: 0; color: var(--sd-text); background: var(--sd-bg); font-family: "DM Sans", sans-serif; }
    body.sd-menu-open { overflow: hidden; }
    button, input, textarea { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    a { color: inherit; text-decoration: none; }
    h1, h2, h3, h4, p { margin-top: 0; }
    h1, h2, h3, h4 { font-family: "Manrope", sans-serif; letter-spacing: -.025em; }

    .sd-app { min-height: 100vh; background: radial-gradient(circle at 75% -20%,rgba(78,144,181,.11),transparent 35%),var(--sd-bg); }
    .sd-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 60; width: var(--sd-sidebar); display: flex; flex-direction: column; padding: 20px 14px; background: #101f28; border-right: 1px solid var(--sd-line); }
    .sd-brand { height: 48px; display: flex; align-items: center; gap: 11px; padding: 0 9px; }
    .sd-brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--sd-coral); border-radius: 12px; box-shadow: 0 8px 22px rgba(255,91,73,.25); }
    .sd-brand-name { font: 800 1.05rem/1 "Manrope"; }
    .sd-brand-name span { color: var(--sd-coral); }
    .sd-brand small { display: block; margin-top: 4px; color: #8195a1; font-size: .56rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .sd-sidebar-create { height: 44px; display: flex; align-items: center; justify-content: center; gap: 9px; margin: 22px 5px 17px; color: #fff; background: var(--sd-coral); border-radius: 12px; font-weight: 800; box-shadow: 0 10px 24px rgba(255,91,73,.18); }
    .sd-sidebar-create:hover { color: #fff; background: var(--sd-coral-dark); }
    .sd-nav-label { margin: 15px 11px 6px; color: #627985; font-size: .59rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
    .sd-nav { display: grid; gap: 3px; }
    .sd-nav a { min-height: 41px; display: flex; align-items: center; gap: 11px; padding: 0 12px; color: #9eb0ba; border-radius: 10px; font-size: .81rem; font-weight: 700; }
    .sd-nav a i { width: 18px; color: #8196a2; font-size: 1rem; text-align: center; }
    .sd-nav a:hover { color: #fff; background: #1b303b; }
    .sd-nav a.active { color: #fff; background: #223844; }
    .sd-nav a.active i { color: var(--sd-coral); }
    .sd-nav-badge { min-width: 20px; margin-left: auto; padding: 2px 6px; color: #fff; background: var(--sd-coral); border-radius: 20px; font-size: .57rem; text-align: center; }
    .sd-sidebar-bottom { margin-top: auto; }
    .sd-help { display: flex; align-items: center; gap: 10px; margin: 10px 5px; padding: 12px; color: #b2c0c8; background: #172b35; border: 1px solid var(--sd-line); border-radius: 12px; font-size: .72rem; font-weight: 700; }
    .sd-help i { color: var(--sd-amber); }

    .sd-topbar { position: fixed; left: var(--sd-sidebar); right: 0; top: 0; z-index: 50; height: var(--sd-topbar); display: flex; align-items: center; gap: 18px; padding: 0 30px; background: rgba(13,25,33,.91); border-bottom: 1px solid var(--sd-line); backdrop-filter: blur(16px); }
    .sd-mobile-menu { display: none; width: 40px; height: 40px; place-items: center; color: #fff; background: #1b303b; border: 1px solid var(--sd-line); border-radius: 10px; }
    .sd-search { position: relative; width: min(420px,42vw); }
    .sd-search i { position: absolute; left: 14px; top: 50%; color: #758c98; transform: translateY(-50%); }
    .sd-search input { width: 100%; height: 42px; padding: 0 40px; color: #eaf0f3; background: #142630; border: 1px solid var(--sd-line); border-radius: 11px; outline: none; font-size: .78rem; }
    .sd-search input:focus { border-color: #607b89; }
    .sd-search kbd { position: absolute; right: 10px; top: 50%; padding: 3px 6px; color: #788e99; background: #20343e; border: 1px solid #344b57; border-radius: 5px; font: 600 .58rem "DM Sans"; transform: translateY(-50%); }
    .sd-top-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
    .sd-icon-button { position: relative; width: 40px; height: 40px; display: grid; place-items: center; color: #bdc9cf; background: #172a34; border: 1px solid var(--sd-line); border-radius: 11px; }
    .sd-icon-button:hover { color: #fff; border-color: #526b77; }
    .sd-dot { position: absolute; right: 8px; top: 7px; width: 7px; height: 7px; background: var(--sd-coral); border: 2px solid #172a34; border-radius: 50%; }
    .sd-wallet-mini { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: #e8edf0; background: #172a34; border: 1px solid var(--sd-line); border-radius: 11px; font-size: .7rem; font-weight: 800; }
    .sd-wallet-mini i { color: var(--sd-amber); }
    .sd-wallet-mini span { color: #8297a2; font-weight: 600; }
    .sd-profile { display: flex; align-items: center; gap: 9px; margin-left: 2px; }
    .sd-avatar { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#ff715f,#db4134); border-radius: 12px; font: 800 .77rem "Manrope"; }
    .sd-profile-copy strong,.sd-profile-copy small { display: block; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .sd-profile-copy strong { font-size: .73rem; }
    .sd-profile-copy small { color: #8296a1; font-size: .59rem; }

    .sd-main { min-height: 100vh; margin-left: var(--sd-sidebar); padding: calc(var(--sd-topbar) + 27px) 30px 44px; }
    .sd-container { width: min(1380px,100%); margin-inline: auto; }
    .sd-welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
    .sd-welcome h1 { margin-bottom: 5px; font-size: clamp(1.55rem,2.4vw,2.15rem); }
    .sd-welcome p { margin: 0; color: var(--sd-muted); font-size: .82rem; }
    .sd-date { color: #768d99; font-size: .7rem; font-weight: 700; }

    .sd-launcher { position: relative; overflow: hidden; padding: 25px; background: linear-gradient(135deg,#1b303b,#142630 68%); border: 1px solid #37505d; border-radius: 24px; box-shadow: 0 22px 55px rgba(0,0,0,.18); }
    .sd-launcher::before { position: absolute; right: -110px; top: -150px; width: 390px; height: 390px; content: ""; background: radial-gradient(circle,rgba(88,168,211,.13),transparent 65%); }
    .sd-launch-head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
    .sd-launch-head h2 { margin-bottom: 5px; font-size: 1.28rem; }
    .sd-launch-head p { margin: 0; color: var(--sd-muted); font-size: .74rem; }
    .sd-assistant-link { display: inline-flex; align-items: center; gap: 7px; color: #ff9287; font-size: .68rem; font-weight: 800; }
    .sd-prompt-box { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 8px 9px 8px 15px; background: #0f2029; border: 1px solid #3a5664; border-radius: 15px; }
    .sd-prompt-box > i { color: var(--sd-coral); font-size: 1.05rem; }
    .sd-prompt-box textarea { width: 100%; height: 47px; padding: 13px 0 0; resize: none; color: #edf3f6; background: transparent; border: 0; outline: 0; font-size: .8rem; }
    .sd-prompt-box textarea::placeholder { color: #718792; }
    .sd-generate { height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; color: #fff; background: var(--sd-coral); border: 0; border-radius: 11px; font-size: .75rem; font-weight: 800; cursor: pointer; }
    .sd-generate:hover { background: var(--sd-coral-dark); }
    .sd-prompt-tools { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 20px 32px; }
    .sd-tool-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; color: #91a5b0; background: #162a34; border: 1px solid #2d4551; border-radius: 8px; font-size: .61rem; font-weight: 700; cursor: pointer; }
    .sd-tool-chip:hover { color: #fff; border-color: #58717e; }

    .sd-types { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(8,minmax(90px,1fr)); gap: 9px; }
    .sd-type { min-width: 0; min-height: 105px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 12px; color: #c3ced4; background: #172a34; border: 1px solid #2e4753; border-radius: 13px; transition: .2s ease; }
    .sd-type:hover { color: #fff; background: #203640; border-color: #5e7682; transform: translateY(-3px); }
    .sd-type-icon { width: 32px; height: 32px; display: grid; place-items: center; color: var(--sd-coral); background: rgba(255,91,73,.11); border-radius: 9px; }
    .sd-type:nth-child(2) .sd-type-icon,.sd-type:nth-child(6) .sd-type-icon { color: var(--sd-blue); background: rgba(88,168,211,.12); }
    .sd-type:nth-child(3) .sd-type-icon,.sd-type:nth-child(7) .sd-type-icon { color: var(--sd-amber); background: rgba(246,185,71,.12); }
    .sd-type:nth-child(4) .sd-type-icon,.sd-type:nth-child(8) .sd-type-icon { color: var(--sd-violet); background: rgba(141,124,246,.12); }
    .sd-type strong { display: block; overflow: hidden; font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
    .sd-type small { display: block; margin-top: 2px; color: #718792; font-size: .52rem; }

    .sd-dashboard-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.65fr); gap: 20px; margin-top: 20px; }
    .sd-stack { display: grid; align-content: start; gap: 20px; }
    .sd-panel { padding: 20px; background: var(--sd-panel); border: 1px solid var(--sd-line); border-radius: var(--sd-radius); }
    .sd-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
    .sd-panel-head h2 { margin: 0; font-size: .96rem; }
    .sd-panel-head p { margin: 3px 0 0; color: var(--sd-muted); font-size: .64rem; }
    .sd-panel-head a { color: #ff8f83; font-size: .65rem; font-weight: 800; }

    .sd-projects { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
    .sd-project { overflow: hidden; background: #192d37; border: 1px solid #304955; border-radius: 14px; transition: .2s ease; }
    .sd-project:hover { border-color: #5b7480; transform: translateY(-3px); }
    .sd-project-art { position: relative; height: 130px; overflow: hidden; padding: 13px; background: linear-gradient(145deg,#f16b5b,#c93631); }
    .sd-project:nth-child(2) .sd-project-art { background: linear-gradient(145deg,#357ca3,#204b67); }
    .sd-project:nth-child(3) .sd-project-art { color: #382c16; background: #f4cf63; }
    .sd-format { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; color: #fff; background: rgba(10,22,29,.27); border: 1px solid rgba(255,255,255,.18); border-radius: 7px; font-size: .52rem; font-weight: 800; }
    .sd-art-title { position: absolute; left: 13px; bottom: 14px; z-index: 2; max-width: 125px; color: #fff; font: 800 1.12rem/1.05 "Manrope"; }
    .sd-project:nth-child(3) .sd-art-title { color: #473719; }
    .sd-art-circle { position: absolute; right: -25px; bottom: -45px; width: 135px; height: 135px; background: rgba(255,255,255,.2); border-radius: 50%; }
    .sd-art-card { position: absolute; right: 14px; top: 36px; width: 66px; height: 80px; background: rgba(255,255,255,.88); border-radius: 9px; box-shadow: 0 10px 18px rgba(0,0,0,.13); transform: rotate(7deg); }
    .sd-art-card::after { position: absolute; left: 10px; right: 10px; bottom: 11px; height: 6px; content: ""; background: currentColor; border-radius: 4px; opacity: .24; }
    .sd-project-info { padding: 11px 12px 12px; }
    .sd-project-info strong { display: block; font-size: .7rem; }
    .sd-project-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 5px; color: #7f949f; font-size: .56rem; }
    .sd-status { display: inline-flex; align-items: center; gap: 4px; color: #71d5b2; }

    .sd-generation-list { display: grid; gap: 10px; }
    .sd-generation { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 11px; background: #192d37; border: 1px solid #304955; border-radius: 12px; }
    .sd-generation-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--sd-blue); background: rgba(88,168,211,.12); border-radius: 10px; }
    .sd-generation strong,.sd-generation small { display: block; }
    .sd-generation strong { font-size: .68rem; }
    .sd-generation small { margin-top: 3px; color: #7f949f; font-size: .56rem; }
    .sd-progress { height: 4px; margin-top: 8px; overflow: hidden; background: #2a414d; border-radius: 5px; }
    .sd-progress span { display: block; width: 68%; height: 100%; background: linear-gradient(90deg,var(--sd-blue),#77d5c1); border-radius: inherit; }
    .sd-progress.amber span { width: 34%; background: linear-gradient(90deg,var(--sd-amber),#ff8267); }
    .sd-percent { color: #b8c6cd; font-size: .61rem; font-weight: 800; }

    .sd-wallet-card { position: relative; overflow: hidden; background: linear-gradient(145deg,#213944,#172b35); }
    .sd-wallet-card::after { position: absolute; right: -45px; top: -52px; width: 160px; height: 160px; content: ""; border: 28px solid rgba(255,184,68,.055); border-radius: 50%; }
    .sd-wallet-label { color: #8fa3ae; font-size: .62rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
    .sd-balance { margin: 8px 0 3px; font: 800 2rem "Manrope"; }
    .sd-balance small { color: var(--sd-amber); font-size: .75rem; }
    .sd-wallet-sub { color: #8297a2; font-size: .61rem; }
    .sd-wallet-bars { display: grid; gap: 8px; margin: 18px 0; }
    .sd-wallet-row { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 8px; color: #9eb0ba; font-size: .56rem; }
    .sd-wallet-bar { height: 5px; overflow: hidden; background: #2b414c; border-radius: 5px; }
    .sd-wallet-bar span { display: block; width: 72%; height: 100%; background: var(--sd-green); border-radius: inherit; }
    .sd-wallet-row:nth-child(2) .sd-wallet-bar span { width: 28%; background: var(--sd-violet); }
    .sd-wallet-actions { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .sd-wallet-actions a { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 6px; color: #fff; background: var(--sd-coral); border-radius: 9px; font-size: .62rem; font-weight: 800; }
    .sd-wallet-actions a + a { color: #b9c7ce; background: #243b46; border: 1px solid #3b5460; }

    .sd-template-list { display: grid; gap: 10px; }
    .sd-template-item { display: grid; grid-template-columns: 63px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 8px; background: #192d37; border: 1px solid #304955; border-radius: 12px; }
    .sd-template-thumb { position: relative; height: 58px; overflow: hidden; background: linear-gradient(145deg,#795fd2,#5034a8); border-radius: 9px; }
    .sd-template-item:nth-child(2) .sd-template-thumb { background: linear-gradient(145deg,#f7c855,#e68d36); }
    .sd-template-item:nth-child(3) .sd-template-thumb { background: linear-gradient(145deg,#4ba17f,#22684f); }
    .sd-template-thumb::before { position: absolute; right: -12px; bottom: -16px; width: 54px; height: 54px; content: ""; background: rgba(255,255,255,.22); border-radius: 50%; }
    .sd-template-thumb i { position: absolute; left: 9px; top: 9px; color: #fff; }
    .sd-template-item strong,.sd-template-item small { display: block; }
    .sd-template-item strong { font-size: .64rem; }
    .sd-template-item small { margin-top: 3px; color: #788e99; font-size: .54rem; }
    .sd-use { padding: 6px 8px; color: #ff9287; background: rgba(255,91,73,.08); border-radius: 7px; font-size: .55rem; font-weight: 800; }

    .sd-empty-calendar { display: flex; align-items: center; gap: 12px; padding: 13px; background: #192d37; border: 1px dashed #3a5562; border-radius: 12px; }
    .sd-calendar-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; color: var(--sd-violet); background: rgba(141,124,246,.12); border-radius: 10px; }
    .sd-empty-calendar strong,.sd-empty-calendar small { display: block; }
    .sd-empty-calendar strong { font-size: .65rem; }
    .sd-empty-calendar small { margin-top: 3px; color: #7f949f; font-size: .55rem; }
    .sd-empty-calendar a { margin-left: auto; color: #ff9185; font-size: .57rem; font-weight: 800; }

    .sd-overlay { position: fixed; inset: 0; z-index: 55; display: none; background: rgba(3,10,14,.65); backdrop-filter: blur(3px); }

    @media (max-width: 1180px) {
        .sd-types { grid-template-columns: repeat(4,1fr); }
        .sd-type { min-height: 88px; }
        .sd-projects { grid-template-columns: repeat(2,1fr); }
        .sd-project:last-child { display: none; }
    }

    @media (max-width: 920px) {
        :root { --sd-sidebar: 220px; }
        .sd-dashboard-grid { grid-template-columns: 1fr; }
        .sd-stack.side { grid-template-columns: 1fr 1fr; }
        .sd-stack.side .sd-panel:last-child { grid-column: 1/-1; }
        .sd-profile-copy,.sd-wallet-mini span,.sd-search kbd { display: none; }
    }

    @media (max-width: 760px) {
        :root { --sd-topbar: 64px; }
        .sd-sidebar { width: min(286px,86vw); transform: translateX(-105%); transition: transform .25s ease; }
        .sd-sidebar.open { transform: translateX(0); }
        .sd-overlay.show { display: block; }
        .sd-topbar { left: 0; padding: 0 16px; gap: 10px; }
        .sd-mobile-menu { display: grid; }
        .sd-search { flex: 1; width: auto; }
        .sd-search input { height: 40px; }
        .sd-top-actions .sd-wallet-mini { display: none; }
        .sd-main { margin-left: 0; padding: calc(var(--sd-topbar) + 20px) 16px 34px; }
        .sd-date { display: none; }
        .sd-launcher { padding: 18px; border-radius: 19px; }
        .sd-launch-head { display: block; }
        .sd-assistant-link { margin-top: 9px; }
        .sd-prompt-box { grid-template-columns: auto minmax(0,1fr); padding-bottom: 9px; }
        .sd-generate { grid-column: 1/-1; width: 100%; }
        .sd-prompt-tools { margin-left: 0; }
        .sd-types { grid-template-columns: repeat(4,1fr); }
        .sd-type { min-height: 92px; }
        .sd-type small { display: none; }
        .sd-stack.side { grid-template-columns: 1fr; }
        .sd-stack.side .sd-panel:last-child { grid-column: auto; }
    }

    @media (max-width: 520px) {
        .sd-topbar { padding-inline: 12px; }
        .sd-search input { padding-right: 12px; }
        .sd-top-actions { gap: 6px; }
        .sd-top-actions .sd-icon-button:first-child { display: none; }
        .sd-profile { margin: 0; }
        .sd-welcome { display: block; }
        .sd-welcome h1 { font-size: 1.4rem; }
        .sd-launch-head h2 { font-size: 1.08rem; }
        .sd-types { grid-template-columns: repeat(2,1fr); }
        .sd-type { min-height: 78px; }
        .sd-projects { grid-template-columns: 1fr; }
        .sd-project:last-child { display: block; }
        .sd-panel { padding: 16px; }
        .sd-generation { grid-template-columns: 38px minmax(0,1fr); }
        .sd-generation-icon { width: 38px; height: 38px; }
        .sd-percent { display: none; }
        .sd-wallet-actions { grid-template-columns: 1fr; }
    }

/* Create launcher */
.sd-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}
.sd-page-head h1 { margin-bottom: 6px; color: #f7fafc; font-size: clamp(1.65rem,3vw,2.3rem); }
.sd-page-head p { margin: 0; color: #8fa3ae; font-size: .88rem; }
.sd-step-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 8px 11px;
    color: #f1bf66;
    background: rgba(255,184,68,.08);
    border: 1px solid rgba(255,184,68,.22);
    border-radius: 9px;
    font-size: .65rem;
    font-weight: 800;
}

.cr-idea {
    position: relative;
    overflow: hidden;
    padding: 25px;
    background:
        radial-gradient(circle at 92% 0,rgba(255,88,70,.14),transparent 28%),
        linear-gradient(145deg,#1d333e,#172b35);
    border: 1px solid #3a5360;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0,0,0,.16);
}
.cr-idea::after {
    position: absolute;
    right: -78px;
    bottom: -105px;
    width: 240px;
    height: 240px;
    content: "";
    border: 34px solid rgba(255,255,255,.025);
    border-radius: 50%;
    pointer-events: none;
}
.cr-idea-head,.cr-section-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}
.cr-idea-head h2,.cr-section-head h2 { margin-bottom: 5px; color: #f3f7f9; font-size: 1.05rem; }
.cr-idea-head p,.cr-section-head p { margin: 0; color: #8399a5; font-size: .7rem; }
.cr-assistant,.cr-section-head > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    color: #ff9488;
    font-size: .65rem;
    font-weight: 800;
}
.cr-assistant { padding: 8px 10px; background: rgba(255,88,70,.08); border: 1px solid rgba(255,112,95,.19); border-radius: 9px; }

.cr-prompt {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 11px;
    background: #10232d;
    border: 1px solid #3d5663;
    border-radius: 15px;
    transition: border-color .2s,box-shadow .2s;
}
.cr-prompt:focus-within { border-color: #ff7b6c; box-shadow: 0 0 0 3px rgba(255,88,70,.1); }
.cr-prompt-icon { width: 39px; height: 39px; display: grid; place-items: center; color: #ff8b7f; background: rgba(255,88,70,.1); border-radius: 10px; }
.cr-prompt textarea {
    width: 100%;
    min-height: 48px;
    max-height: 150px;
    padding: 12px 4px;
    resize: vertical;
    color: #edf4f7;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: .76rem;
    line-height: 1.5;
}
.cr-prompt textarea::placeholder { color: #69808c; }
.sd-primary-btn {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 15px;
    color: #fff;
    background: linear-gradient(135deg,#ff6554,#ed493a);
    border: 0;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(255,88,70,.2);
    font-size: .68rem;
    font-weight: 800;
    cursor: pointer;
}
.sd-primary-btn:hover { background: linear-gradient(135deg,#ff7667,#f15142); transform: translateY(-1px); }
.cr-starts { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cr-starts a,.cr-starts button {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    color: #aebdc6;
    background: #213843;
    border: 1px solid #39515d;
    border-radius: 8px;
    font-size: .61rem;
    font-weight: 700;
    cursor: pointer;
}
.cr-starts a:hover,.cr-starts button:hover { color: #fff; border-color: #607784; }
.cr-starts button.has-file { color: #74d7b5; border-color: rgba(85,200,160,.35); }

.cr-section { margin-top: 27px; }
.cr-section > .cr-section-head { margin-bottom: 14px; }
.cr-types { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.cr-type {
    --cr-accent: #ff6959;
    --cr-soft: rgba(255,105,89,.11);
    position: relative;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 17px;
    background: linear-gradient(155deg,#1a2e38,#162832);
    border: 1px solid #334b57;
    border-radius: 16px;
    transition: transform .2s,border-color .2s,box-shadow .2s;
}
.cr-type::before { position: absolute; left: 0; right: 0; top: 0; height: 3px; content: ""; background: linear-gradient(90deg,var(--cr-accent),transparent 78%); }
.cr-type::after { position: absolute; right: -37px; top: -47px; width: 105px; height: 105px; content: ""; background: var(--cr-soft); border-radius: 50%; }
.cr-type:hover { color: inherit; border-color: #5d7480; box-shadow: 0 17px 35px rgba(0,0,0,.2); transform: translateY(-4px); }
.cr-type-icon { position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 15px; color: var(--cr-accent); background: var(--cr-soft); border-radius: 11px; font-size: 1rem; }
.cr-type h3 { margin-bottom: 7px; color: #f2f7f9; font-size: .83rem; }
.cr-type p { margin-bottom: 16px; color: #8296a1; font-size: .63rem; line-height: 1.55; }
.cr-type-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 11px; color: #9aadb7; border-top: 1px solid #2e4652; font-size: .56rem; font-weight: 800; }
.cr-type-foot > i { color: var(--cr-accent); }
.cr-type-video,.cr-type-social { --cr-accent: #58a8d3; --cr-soft: rgba(88,168,211,.12); }
.cr-type-animation,.cr-type-learning { --cr-accent: #f1ba52; --cr-soft: rgba(241,186,82,.12); }
.cr-type-comic,.cr-type-campaign { --cr-accent: #9787fb; --cr-soft: rgba(151,135,251,.12); }
.cr-type-ads { --cr-accent: #67d0a9; --cr-soft: rgba(103,208,169,.12); }

.cr-bottom { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(280px,.75fr); gap: 14px; margin-top: 24px; }
.cr-panel { padding: 19px; background: #192d37; border: 1px solid #334b57; border-radius: 17px; }
.cr-panel .cr-section-head { margin-bottom: 14px; }
.cr-audiences { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-audience {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    color: #a9bac3;
    background: #213844;
    border: 1px solid #3a525e;
    border-radius: 9px;
    font-size: .6rem;
    font-weight: 800;
    cursor: pointer;
}
.cr-audience:hover { color: #fff; border-color: #687d88; }
.cr-audience.active { color: #fff; background: rgba(255,88,70,.13); border-color: #a55c53; box-shadow: inset 0 0 0 1px rgba(255,88,70,.09); }
.cr-audience.active i { color: #ff8174; }
.cr-recent { display: grid; gap: 8px; }
.cr-recent a { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 9px; background: #213843; border: 1px solid #344d59; border-radius: 10px; }
.cr-recent a:hover { color: inherit; border-color: #5c7480; }
.cr-recent-icon { width: 38px; height: 38px; display: grid; place-items: center; color: #ff897d; background: rgba(255,88,70,.1); border-radius: 9px; }
.cr-recent strong,.cr-recent small { display: block; }
.cr-recent strong { color: #e9f0f3; font-size: .62rem; }
.cr-recent small { margin-top: 3px; color: #7f949f; font-size: .52rem; }
.cr-recent > a > i { color: #758c98; font-size: .7rem; }

@media (max-width: 1100px) {
    .cr-types { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
    .cr-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .sd-page-head,.cr-idea-head,.cr-section-head { display: block; }
    .sd-step-note,.cr-assistant,.cr-section-head > a { margin-top: 10px; }
    .cr-idea { padding: 17px; border-radius: 17px; }
    .cr-prompt { grid-template-columns: auto minmax(0,1fr); }
    .cr-prompt .sd-primary-btn { grid-column: 1/-1; width: 100%; }
}
@media (max-width: 470px) {
    .cr-types { grid-template-columns: 1fr; }
    .cr-type { min-height: 172px; }
    .cr-starts > * { flex: 1 1 calc(50% - 4px); justify-content: center; }
    .cr-audience { flex: 1 1 calc(50% - 4px); }
}
