/* TOOROCOLLAB component styles — moved out of the JS files so the whole site
   uses one stylesheet and one set of theme tokens (light + dark). */

/* ===== Shared components (was inside creator-network.js) ===== */
      .tcn-wrap{padding:28px 28px 80px;max-width:1320px;margin:0 auto}
      .tcn-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:22px}
      .tcn-head h1{font-family:'Space Grotesk',sans-serif;font-size:26px;letter-spacing:-.03em;margin:0}
      .tcn-head p{color:var(--text-dim);font-size:13.5px;margin:4px 0 0}
      .tcn-eyebrow{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin-bottom:6px}
      .tcn-card{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-m);box-shadow:var(--shadow-card);padding:22px}
      .tcn-section{margin-bottom:18px}
      .tcn-section h3{font-family:'Space Grotesk',sans-serif;font-size:15px;margin:0 0 4px;display:flex;align-items:center;gap:8px}
      .tcn-section .hint{font-size:12.5px;color:var(--text-faint);margin:0 0 14px}
      .tcn-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
      .tcn-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
      .tcn-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}
      .tcn-field label{display:block;font-size:12px;font-weight:600;color:var(--text-dim);margin-bottom:6px}
      .tcn-field label .req{color:var(--danger-text)}
      .tcn-field input,.tcn-field select,.tcn-field textarea,.tcn-input{width:100%;padding:10px 12px;border-radius:var(--radius-s);border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-size:13.5px;box-sizing:border-box}
      .tcn-field input:focus,.tcn-field select:focus,.tcn-field textarea:focus,.tcn-input:focus{outline:2px solid var(--accent-soft);border-color:var(--accent);background:var(--surface)}
      .tcn-field .err{display:none;color:var(--danger-text);font-size:11.5px;margin-top:4px}
      .tcn-field.has-err input{border-color:var(--danger)}
      .tcn-field.has-err .err{display:block}
      .tcn-money{position:relative}
      .tcn-money .sym{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--text-faint);font-size:13px;pointer-events:none}
      .tcn-money input{padding-left:24px}
      .tcn-seg{display:inline-flex;background:var(--surface-3);border-radius:var(--radius-full);padding:3px}
      .tcn-seg button{border:0;background:transparent;padding:7px 16px;border-radius:var(--radius-full);font:inherit;font-size:13px;font-weight:600;color:var(--text-dim);cursor:pointer}
      .tcn-seg button.on{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}
      .tcn-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
      .tcn-alert{display:none;padding:11px 14px;border-radius:var(--radius-s);font-size:13px;margin-bottom:14px}
      .tcn-alert.show{display:block}
      .tcn-alert.ok{background:var(--success-soft);color:var(--success-text)}
      .tcn-alert.bad{background:var(--danger-soft);color:var(--danger-text)}
      .tcn-muted{color:var(--text-dim)} .tcn-faint{color:var(--text-faint)}
      .tcn-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-bottom:18px}
      .tcn-kpi{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-m);padding:16px 18px}
      .tcn-kpi .l{font-size:12px;color:var(--text-dim);font-weight:600}
      .tcn-kpi .v{font-family:'Space Grotesk',sans-serif;font-size:26px;font-weight:700;margin-top:4px}
      .tcn-tabs{display:flex;gap:8px;border-bottom:1px solid var(--border-soft);padding-bottom:12px;margin-bottom:18px;overflow-x:auto}
      .tcn-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:12px}
      .tcn-toolbar .tcn-input{max-width:320px}
      .tcn-toolbar select.tcn-input{max-width:180px}
      .tcn-tablebox{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-m);overflow:auto}
      table.tcn-table{width:100%;border-collapse:collapse;font-size:13px;min-width:1080px}
      .tcn-table th{position:sticky;top:0;background:var(--surface-2);text-align:left;font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--text-dim);font-weight:700;padding:11px 12px;border-bottom:1px solid var(--border);white-space:nowrap;z-index:1}
      .tcn-table td{padding:12px;border-bottom:1px solid var(--border-soft);vertical-align:top}
      .tcn-table tr:hover td{background:var(--accent-tint)}
      .tcn-table tr.sel td{background:var(--accent-soft)}
      .tcn-table .num{font-variant-numeric:tabular-nums;white-space:nowrap}
      .tcn-name{font-weight:700;font-size:13.5px}
      .tcn-sub{font-size:12px;color:var(--text-faint);margin-top:2px}
      .tcn-link{color:var(--accent);text-decoration:none;font-weight:600;word-break:break-all}
      .tcn-link:hover{text-decoration:underline}
      .tcn-pricegrid{display:grid;grid-template-columns:auto auto;gap:2px 12px;font-size:12.5px}
      .tcn-pricegrid span:nth-child(odd){color:var(--text-faint)}
      .tcn-pricegrid span:nth-child(even){font-weight:600;font-variant-numeric:tabular-nums;text-align:right}
      .tcn-pill{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;padding:3px 8px;border-radius:var(--radius-full);background:var(--surface-3);color:var(--text-dim);white-space:nowrap}
      .tcn-pill.ok{background:var(--success-soft);color:var(--success-text)}
      .tcn-pill.warn{background:var(--warning-soft);color:var(--warning-text)}
      .tcn-pill.bad{background:var(--danger-soft);color:var(--danger-text)}
      .tcn-pill.cur{background:var(--info-soft);color:var(--info-text)}
      .tcn-chips{display:flex;flex-wrap:wrap;gap:6px}
      .tcn-selbar{position:sticky;bottom:16px;margin-top:14px;display:none;align-items:center;justify-content:space-between;gap:12px;background:var(--inverse-bg);color:var(--inverse-text);border-radius:var(--radius-m);padding:12px 16px;box-shadow:var(--shadow-modal);z-index:5}
      .tcn-selbar.show{display:flex}
      .tcn-selbar .btn-line{color:var(--inverse-text);border-color:var(--inverse-line)}
      .tcn-empty{padding:40px;text-align:center;color:var(--text-dim)}
      .tcn-modal{position:fixed;inset:0;background:var(--overlay);display:flex;align-items:flex-start;justify-content:center;padding:40px 16px;z-index:1000;overflow:auto}
      .tcn-modal .box{background:var(--surface);border-radius:var(--radius-l);box-shadow:var(--shadow-modal);width:100%;max-width:720px;padding:26px}
      .tcn-modal .box.wide{max-width:1100px}
      .tcn-modal h2{font-family:'Space Grotesk',sans-serif;font-size:20px;margin:0 0 4px}
      .tcn-modal .x{float:right;background:none;border:0;font-size:22px;cursor:pointer;color:var(--text-faint);line-height:1}
      .tcn-check{display:flex;align-items:center;gap:8px;font-size:13px;padding:6px 0;cursor:pointer}
      .tcn-check input{width:16px;height:16px;accent-color:var(--accent)}
      .tcn-fieldgroups{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
      .tcn-fieldgroup{background:var(--surface-2);border-radius:var(--radius-s);padding:10px 12px}
      .tcn-fieldgroup b{font-size:12px;color:var(--text-dim);display:block;margin-bottom:2px}
      .tcn-preview-note{background:var(--accent-soft);color:var(--success-text);border-radius:var(--radius-s);padding:10px 12px;font-size:13px}
      .tcn-cred{background:var(--inverse-bg);color:var(--inverse-text);border-radius:var(--radius-s);padding:14px 16px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;white-space:pre-wrap;word-break:break-all}
      .tcn-brandcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}
      .tcn-bcard{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-m);padding:18px;display:flex;flex-direction:column;gap:10px}
      .tcn-bcard .top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
      .tcn-bcard .stats{display:flex;gap:18px;font-size:12.5px;color:var(--text-dim)}
      .tcn-bcard .stats b{display:block;color:var(--text);font-size:18px;font-family:'Space Grotesk',sans-serif}
      .tcn-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(20px);opacity:0;background:var(--inverse-bg);color:var(--inverse-text);padding:11px 18px;border-radius:var(--radius-full);font-size:13.5px;z-index:2000;transition:all .25s;pointer-events:none;max-width:90vw}
      .tcn-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
      .tcn-toast.bad{background:var(--danger)}
      .tcn-brand-cards{display:none}
      .tcn-loading{padding:48px;text-align:center;color:var(--text-dim)}
      .tcn-live{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--yt);background:var(--yt-soft);padding:2px 7px;border-radius:999px}
      .tcn-live:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--yt);animation:tcnPulse 1.4s infinite}
      @keyframes tcnPulse{0%{opacity:1}50%{opacity:.25}100%{opacity:1}}
      .tcn-pf-head{display:flex;gap:14px;align-items:center;margin:4px 0 18px}
      .tcn-pf-av{width:58px;height:58px;border-radius:50%;object-fit:cover;background:var(--surface-3);flex:none;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:20px;color:var(--text-dim)}
      .tcn-pf-block{border:1px solid var(--border-soft);border-radius:var(--radius-m);padding:16px;margin-bottom:16px;background:var(--surface)}
      .tcn-pf-block h3{font-family:'Space Grotesk',sans-serif;font-size:15px;margin:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
      .tcn-pf-stats{display:flex;gap:22px;flex-wrap:wrap;margin:12px 0 14px}
      .tcn-pf-stats div{font-size:12px;color:var(--text-dim)}
      .tcn-pf-stats b{display:block;font-family:'Space Grotesk',sans-serif;font-size:24px;color:var(--text);line-height:1.15}
      .tcn-vgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
      .tcn-vid{border-radius:var(--radius-s);overflow:hidden;background:var(--surface-2);cursor:pointer;border:1px solid var(--border-soft)}
      .tcn-vid .th{position:relative;aspect-ratio:16/9;background:var(--media-bg)}
      .tcn-vid .th img,.tcn-vid .th iframe{width:100%;height:100%;object-fit:cover;border:0;display:block}
      .tcn-vid .th .play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:30px;color:var(--on-image);text-shadow:0 2px 10px var(--overlay)}
      .tcn-vid .th .tag{position:absolute;left:6px;top:6px;background:var(--yt);color:var(--on-solid);font-size:10px;font-weight:800;padding:2px 6px;border-radius:4px}
      .tcn-vid .meta{padding:8px 10px;font-size:12px}
      .tcn-vid .meta .t{font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--text)}
      .tcn-vid .meta .s{color:var(--text-faint);margin-top:4px}
      .tcn-iggrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
      .tcn-iggrid iframe{width:100%;height:520px;border:1px solid var(--border-soft);border-radius:var(--radius-s);background:var(--embed-bg)}
      .tcn-site{display:flex;gap:12px;align-items:center}
      .tcn-site img{width:120px;height:75px;object-fit:cover;object-position:top;border-radius:8px;border:1px solid var(--border-soft);background:var(--surface-3);flex:none}
      .tcn-site.big img{width:100%;height:auto;max-height:340px}
      .tcn-site.big{flex-direction:column;align-items:stretch}
      .tcn-mini-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
      .tcn-mini-actions .btn{padding:4px 10px;font-size:12px}
      .tcn-qty{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--border-soft);border-radius:var(--radius-s);margin-bottom:8px}
      .tcn-qty input{width:70px;padding:7px 8px;border-radius:8px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;text-align:center}
      .tcn-status{padding:5px 8px;border-radius:8px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-size:12.5px}
      .tcn-np{max-height:300px;overflow:auto;border:1px solid var(--border-soft);border-radius:var(--radius-s);padding:10px;background:var(--surface-2)}
      .tcn-np-g{margin-bottom:10px}
      .tcn-np-h{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--text-faint);margin-bottom:6px}
      .tcn-chip{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:6px 11px;font:inherit;font-size:12.5px;cursor:pointer}
      .tcn-chip.on{background:var(--accent);border-color:var(--accent);color: var(--on-accent);font-weight:700}
      .tcn-at{position:relative}.tcn-at .pre{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--text-faint);font-size:13px;pointer-events:none}
      .tcn-at input{padding-left:24px !important}
.tcp-vbadge{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;color:var(--ig);background:var(--ig-soft);padding:3px 9px;border-radius:999px}
      .tcp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}
      .tcp-card{position:relative;border-radius:22px;padding:0 18px 18px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;overflow:hidden;
        background:linear-gradient(var(--surface),var(--surface)) padding-box,var(--card-ring) border-box;
        border:1.5px solid transparent;box-shadow:var(--shadow-sm);transition:transform .2s,box-shadow .2s}
      .tcp-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
      .tcp-card.sel{box-shadow:var(--focus-ring),var(--shadow-md)}
      .tcp-cover{align-self:stretch;margin:0 -18px;height:78px;background:var(--cover-grad)}
            .tcp-flag{position:absolute;top:10px;right:12px;background:var(--surface);color:var(--success-text);font-size:11px;font-weight:800;padding:3px 9px;border-radius:999px}
      .tcp-photo{position:relative;width:104px;height:104px;margin-top:-56px;border-radius:50%;border:4px solid var(--surface);background:var(--avatar-bg);display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-md);overflow:hidden;flex:none}
      .tcp-photo span{font-family:'Space Grotesk',sans-serif;font-weight:800;font-size:32px;color:var(--avatar-text)}
      .tcp-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:var(--surface)}
      .tcp-name{font-family:'Space Grotesk',sans-serif;font-size:19px;font-weight:700;letter-spacing:-.02em;color:var(--text);line-height:1.2}
      .tcp-tick{display:inline-flex;width:18px;height:18px;border-radius:50%;background:var(--accent-grad);color: var(--on-accent);font-size:11px;align-items:center;justify-content:center;vertical-align:2px}
      .tcp-meta{font-size:13px;color:var(--text-dim);margin-top:-4px}
      .tcp-social{display:flex;justify-content:center;gap:10px;width:100%;margin-top:4px}
      .tcp-views{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:-2px 0 10px;font-size:13px}
      .tcp-views span{padding:5px 10px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border-soft);white-space:nowrap}
      .tcp-views small{color:var(--text-dim);font-size:11px}
      .tcp-soc{flex:1;max-width:110px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;border-radius:14px;background:var(--surface-2);border:1px solid var(--border-soft);text-decoration:none;color:var(--text);transition:transform .15s,border-color .15s}
      a.tcp-soc:hover{transform:translateY(-2px);border-color:var(--accent)}
      .tcp-soc b{font-family:'Space Grotesk',sans-serif;font-size:18px;line-height:1}
      .tcp-soc .lg svg{width:28px;height:28px;display:block}
      .tcp-soc .lg.eye{color:var(--text-dim)}
      .tcp-soc small{font-size:10.5px;color:var(--text-faint);font-weight:600;text-transform:uppercase;letter-spacing:.04em}
      .tcp-soc .tcn-live{font-style:normal;padding:0 4px;font-size:9px}
      .tcp-chips{justify-content:center}
      .tcp-chips span{font-size:11.5px;padding:4px 10px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-weight:600}
      .tcp-price{font-size:13.5px;color:var(--text-dim)} .tcp-price b{color:var(--text);font-size:15px}
      .tcp-actions{margin-top:auto;width:100%}
      .tcp-actions .tcn-mini-actions{justify-content:center}
      .tcp-actions .tcn-sel-ok{justify-content:center;width:100%}
      #tcnTheme{position:fixed;left:16px;bottom:18px;z-index:1500;width:46px;height:46px;border-radius:50%;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-md);font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center}
      #tcnTheme:hover{transform:scale(1.06)}
      .tcn-feed{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
      .tcn-fcard{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-m);padding:16px;display:flex;flex-direction:column;gap:10px;box-shadow:var(--shadow-card)}
      .tcn-fcard.sel{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}
      .tcn-fcard .top{display:flex;gap:10px;align-items:center}
      .tcn-fcard .av{width:42px;height:42px;border-radius:50%;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;justify-content:center;font-weight:800;flex:none}
      .tcn-fcard .stats{display:flex;gap:16px;flex-wrap:wrap}
      .tcn-fcard .stats div{font-size:11.5px;color:var(--text-dim)}
      .tcn-fcard .stats b{display:block;font-family:'Space Grotesk',sans-serif;font-size:18px;color:var(--text)}
      .tcn-fcard .shot{width:100%;height:140px;object-fit:cover;object-position:top;border-radius:8px;border:1px solid var(--border-soft);background:var(--surface-3)}
      .tcn-authtabs{display:flex;gap:4px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-s);padding:4px;margin-bottom:20px}
      .tcn-authtabs a{flex:1;text-align:center;padding:9px 6px;border-radius:6px;font-size:13px;font-weight:600;color:var(--text-dim);text-decoration:none;white-space:nowrap}
      .tcn-authtabs a.on{background:var(--accent);color: var(--on-accent)}
      @media (max-width:420px){.tcn-authtabs a{font-size:11.5px;padding:8px 3px}}
            .tcn-sel-ok{display:inline-flex;align-items:center;gap:4px;color:var(--success-text);font-weight:700;font-size:12.5px}
      @media (max-width: 900px){
        .tcn-wrap{padding:18px 16px 70px}
        .tcn-grid,.tcn-grid.two,.tcn-grid.five{grid-template-columns:1fr 1fr}
        .tcn-kpis{grid-template-columns:1fr 1fr}
      }
      @media (max-width: 560px){
        .tcn-grid,.tcn-grid.two,.tcn-grid.five{grid-template-columns:1fr}
        .tcn-brand-table{display:none}
        .tcn-brand-cards{display:grid;gap:12px}
        .tcn-toolbar .tcn-input{max-width:none}
      }
    

/* ===== Portal / dashboard (was inside tooro-portal.js) ===== */
      .tp-av{position:relative;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--avatar-bg);color:var(--avatar-text);font-weight:800;overflow:hidden;flex:none}
      .tp-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:var(--surface)}
      .portal-nav-item.tp-home{font-weight:700}
      .portal-nav-item.tp-logout{color:var(--danger-text) !important}
      .portal-nav-item.tp-logout:hover{background:var(--danger-soft) !important}
      .tp-page{padding:28px 28px 120px;max-width:980px;margin:0 auto}
      .tp-page.wide{max-width:1240px}
      .tp-h1{font-family:var(--font-head,'Plus Jakarta Sans',sans-serif);font-size:26px;letter-spacing:-.02em;margin:0 0 4px}
      .tp-lead{color:var(--text-dim);font-size:14px;margin:0 0 22px}
      .tp-card{background:var(--surface);border:1px solid var(--border-soft);border-radius:16px;box-shadow:var(--shadow-card);padding:22px;margin-bottom:18px}
      .tp-card h3{font-size:16px;margin:0 0 4px}
      .tp-card .hint{color:var(--text-faint);font-size:13px;margin:0 0 16px}
      .tp-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
      .tp-grid .full{grid-column:1/-1}
      .tp-f label{display:block;font-size:13px;font-weight:600;color:var(--text);margin-bottom:6px}
      .tp-f label .opt{font-weight:400;color:var(--text-faint)}
      .tp-f label .req{color:var(--danger-text)}
      .tp-f input,.tp-f select,.tp-f textarea{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-size:14.5px}
      .tp-f textarea{min-height:96px;resize:vertical;line-height:1.5}
      .tp-f input:focus,.tp-f select:focus,.tp-f textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);background:var(--surface)}
      .tp-f .help{font-size:12.5px;color:var(--text-faint);margin-top:6px}
      .tp-f .err{display:none;font-size:12.5px;color:var(--danger-text);margin-top:6px}
      .tp-f.bad input,.tp-f.bad select,.tp-f.bad textarea{border-color:var(--danger)}
      .tp-f.bad .err{display:block}
      .tp-ok{color:var(--success-text);font-weight:600}
      .tp-no{color:var(--danger-text);font-weight:600}
      .tp-savebar{position:sticky;bottom:0;z-index:20;margin-top:8px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 18px;border-radius:16px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-md)}
      .tp-savebar .msg{flex:1;font-size:13.5px;color:var(--text-dim)}
      .tp-savebar.dirty .msg::before{content:'● ';color:var(--warning-text)}
      .tp-btn-loading{opacity:.75;pointer-events:none}
      .tp-btn-loading::after{content:'';display:inline-block;width:14px;height:14px;margin-left:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:tpspin .7s linear infinite;vertical-align:-2px}
      @keyframes tpspin{to{transform:rotate(360deg)}}
      .tp-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin-bottom:18px}
      .tp-stat{background:var(--surface);border:1px solid var(--border-soft);border-radius:16px;padding:16px 18px;box-shadow:var(--shadow-card)}
      .tp-stat .l{font-size:12.5px;color:var(--text-dim);font-weight:600}
      .tp-stat .v{font-size:26px;font-weight:800;margin-top:4px;letter-spacing:-.02em}
      .tp-stat .s{font-size:12px;color:var(--text-faint)}
      .tp-list{display:flex;flex-direction:column;gap:10px}
      .tp-row{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:14px;border:1px solid var(--border-soft);background:var(--surface)}
      .tp-row.unread{border-color:var(--accent);background:linear-gradient(0deg,var(--accent-soft),var(--accent-soft)),var(--surface)}
      .tp-empty{text-align:center;padding:40px 20px;color:var(--text-dim)}
      .tp-empty .ic{font-size:40px;margin-bottom:8px}
      .tp-skel{border-radius:14px;background:linear-gradient(90deg,var(--skeleton),var(--skeleton-hi),var(--skeleton));background-size:200% 100%;animation:tpsk 1.2s infinite;height:84px;margin-bottom:12px}
      @keyframes tpsk{0%{background-position:200% 0}100%{background-position:-200% 0}}
      .tp-check{display:flex;flex-direction:column;gap:8px}
      .tp-check a{display:flex;gap:10px;align-items:center;padding:10px 12px;border-radius:12px;background:var(--surface-2);text-decoration:none;color:var(--text);font-size:14px}
      .tp-check a.done{color:var(--text-faint);text-decoration:line-through}
      .tp-photo-edit{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
      .tp-rc{display:grid;grid-template-columns:1fr 150px 150px;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--border-soft)}
      .tp-rc:last-child{border-bottom:0}
      .tp-rc .nm{font-weight:600;font-size:14px}
      .tp-rc .nm small{display:block;font-weight:400;color:var(--text-faint);font-size:12px}
      .tp-money{position:relative}.tp-money span{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text-faint)}
      .tp-money input{padding-left:26px !important}
      body:has(.portal-container) #tcnTheme{left:auto;right:16px;bottom:16px}
      .tp-src{display:inline-block;font-size:10.5px;font-weight:700;padding:1px 7px;border-radius:999px;background:var(--surface-3);color:var(--text-dim);vertical-align:1px;margin-left:4px}
      .tp-src.auto{background:var(--success-soft);color:var(--success-text)}
      .tp-compl{position:relative;border:1px solid var(--accent-line);background:var(--accent-grad-soft)}
      .tp-compl .tp-x{position:absolute;top:10px;right:10px;width:36px;height:36px;border-radius:50%;border:0;background:transparent;color:var(--text-dim);cursor:pointer;font-size:16px}
      .tp-bar{flex:1;height:10px;border-radius:999px;background:var(--surface-3);overflow:hidden}
      .tp-bar i{display:block;height:100%;background:var(--accent-grad)}
      .tp-missing{display:flex;flex-wrap:wrap;gap:8px}
      .tp-missing a{display:inline-flex;align-items:center;min-height:38px;padding:0 12px;border-radius:999px;border:1px dashed var(--accent);color:var(--accent);font-weight:600;font-size:13.5px;text-decoration:none;background:var(--surface)}
      .tp-radio{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;min-height:44px;padding:0 12px;border:1px solid var(--border);border-radius:10px;cursor:pointer;margin:0 8px 8px 0}
      .tp-radio input{width:18px;height:18px;min-height:0;accent-color:var(--accent)}
      .tp-auto{padding:12px 14px;border-radius:12px;background:var(--surface-2);border:1px solid var(--border-soft)}
      .tp-auto b{font-size:20px}
      .tp-focus{animation:tpFocus 1.6s ease 2}
      @keyframes tpFocus{0%,100%{box-shadow:none}50%{box-shadow:var(--focus-ring)}}
      .tp-cfp{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-dim);cursor:pointer;min-height:44px}
      .tp-cfp input{width:18px;height:18px;min-height:0;accent-color:var(--accent)}
      .tp-preview{border:1px dashed var(--border);border-radius:16px;padding:16px;background:var(--surface-2)}
      .tp-price-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
      .tp-price{background:var(--surface);border:1px solid var(--border-soft);border-radius:14px;padding:14px 16px}
      .tp-price .k{font-size:12.5px;color:var(--text-dim);font-weight:600}
      .tp-price .v{font-size:20px;font-weight:800;margin-top:2px;letter-spacing:-.01em}
      .tp-price .v.c{font-size:14px;color:var(--text-dim);font-weight:600}
      .tp-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}
      .tp-tabs a{padding:9px 14px;border-radius:999px;border:1px solid var(--border);text-decoration:none;color:var(--text-dim);font-weight:600;font-size:13.5px;min-height:20px}
      .tp-tabs a.on{background:var(--accent);border-color:var(--accent);color: var(--on-accent)}
      .tp-pill{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:700;padding:3px 10px;border-radius:999px;background:var(--surface-3);color:var(--text-dim)}
      .tp-pill.ok{background:var(--success-soft);color:var(--success-text)}.tp-pill.warn{background:var(--warning-soft);color:var(--warning-text)}.tp-pill.bad{background:var(--danger-soft);color:var(--danger-text)}.tp-pill.info{background:var(--info-soft);color:var(--info-text)}
      .tp-yt{display:flex;gap:12px;align-items:center;padding:12px;border-radius:14px;background:var(--surface-2);margin-top:10px}
      .tp-yt img{width:48px;height:48px;border-radius:50%;object-fit:cover}
      .tp-faq details{border-bottom:1px solid var(--border-soft);padding:12px 0}
      .tp-faq summary{cursor:pointer;font-weight:600;font-size:14.5px}
      .tp-faq p{color:var(--text-dim);font-size:14px;margin:8px 0 0}
      /* public profile */
      .pp-wrap{max-width:1080px;margin:0 auto;padding:96px 20px 60px}
      .pp-head{position:relative;border-radius:24px;overflow:hidden;background:var(--surface);border:1px solid var(--border-soft);box-shadow:var(--shadow-card)}
      .pp-cover{height:150px;background:var(--cover-grad)}
      .pp-body{padding:0 24px 22px;display:flex;gap:20px;align-items:flex-end;flex-wrap:wrap}
      .pp-photo{width:132px;height:132px;margin-top:-66px;border:5px solid var(--surface);box-shadow:var(--shadow-md)}
      .pp-name{font-size:28px;font-weight:800;letter-spacing:-.02em;margin:0}
      .pp-user{color:var(--text-dim);font-size:14px}
      .pp-bio{white-space:pre-line;color:var(--text);font-size:15px;line-height:1.65;margin:0}
      .pp-bio.clamp{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
      .pp-cols{display:grid;grid-template-columns:2fr 1fr;gap:18px;margin-top:18px}
      .pp-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-top:18px}
      .pp-stat{display:flex;gap:12px;align-items:center;background:var(--surface);border:1px solid var(--border-soft);border-radius:16px;padding:14px 16px;text-decoration:none;color:var(--text)}
      a.pp-stat:hover{border-color:var(--accent)}
      .pp-stat svg{width:34px;height:34px;flex:none}
      .pp-stat b{display:block;font-size:20px;font-weight:800;line-height:1.1}
      .pp-stat small{color:var(--text-dim);font-size:12px}
      .tp-overlay{position:fixed;inset:0;z-index:3000;background:var(--overlay);display:flex;align-items:center;justify-content:center;padding:16px}
      .tp-overlay .box{background:var(--surface);border-radius:20px;padding:26px;max-width:440px;width:100%;box-shadow:var(--shadow-modal)}
      .tp-crop{position:relative;width:260px;height:260px;margin:0 auto;border-radius:16px;overflow:hidden;background:var(--media-bg);touch-action:none;cursor:grab}
      .tp-crop img{position:absolute;left:0;top:0;transform-origin:0 0;user-select:none;-webkit-user-drag:none}
      .tp-crop::after{content:'';position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 999px var(--overlay);pointer-events:none}
      .tp-crop.square::after{border-radius:16px}
      @media (max-width:860px){.pp-cols{grid-template-columns:1fr}}
      @media (max-width:640px){
        .tp-page{padding:18px 16px 120px}.tp-grid{grid-template-columns:1fr}
        .tp-rc{grid-template-columns:1fr 1fr}.tp-rc .nm{grid-column:1/-1}
        .pp-body{flex-direction:column;align-items:flex-start}.pp-name{font-size:23px}
        .pp-wrap{padding:84px 14px 50px}
      }
    

/* ===== Admin import (was inside tooro-admin.js) ===== */
      .ta-drop{display:block;width:100%;border:2px dashed var(--border);border-radius:16px;padding:28px;text-align:center;background:var(--surface-2);transition:border-color .2s,background .2s;cursor:pointer}
      .ta-drop.over{border-color:var(--accent);background:var(--accent-soft)}
      .ta-steps{display:grid;gap:16px}
      .ta-step h3{display:flex;gap:10px;align-items:center;margin:0 0 6px;font-size:16px}
      .ta-step h3 b{display:inline-flex;width:26px;height:26px;border-radius:50%;background:var(--accent);color: var(--on-accent);align-items:center;justify-content:center;font-size:13px}
      .ta-map{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}
      .ta-map label{font-size:12.5px;color:var(--text-dim);display:block;margin-bottom:4px}
      .ta-bar{height:12px;border-radius:999px;background:var(--surface-3);overflow:hidden}
      .ta-bar i{display:block;height:100%;width:0;background:var(--accent-grad);transition:width .25s}
      .ta-table td input{width:100%;min-width:120px;padding:6px 8px;border-radius:8px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-size:13px}
      .ta-ok{background:var(--success-soft);color:var(--success-text)}.ta-err{background:var(--danger-soft);color:var(--danger-text)}.ta-skip{background:var(--warning-soft);color:var(--warning-text)}
      .ta-status{display:inline-block;font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;white-space:nowrap}
      .ta-nrow{display:flex;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--border-soft)}
      .ta-nrow input{flex:1;min-height:38px;padding:6px 10px;border-radius:8px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit}
      .ta-nrow.hidden input{opacity:.5;text-decoration:line-through}
      .ta-cols{display:flex;flex-wrap:wrap;gap:6px}.ta-col{font-size:12.5px;padding:5px 10px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border-soft)}
      .ta-adv{margin-top:12px}.ta-adv summary{cursor:pointer;font-size:13px;color:var(--text-dim);min-height:32px}
    

/* ===== Agency, Find Creators, admin hub (was inside tooro-agency.js) ===== */
      .fx-page{padding:100px 16px 70px}.fx-page.portal{padding:20px 0 40px}
      .fx-wrap{max-width:1280px;margin:0 auto}
      .fx-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}
      .fx-panel{position:sticky;top:90px;max-height:calc(100vh - 110px);overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:16px}
      .fx-panel h4{margin:16px 0 8px;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-dim)}
      .fx-panel h4:first-child{margin-top:0}
      .fx-row{display:flex;gap:8px}.fx-row>*{flex:1;min-width:0}
      .fx-panel input,.fx-panel select,.fx-top input,.fx-top select{width:100%;min-height:42px;padding:8px 10px;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-size:14px}
      .fx-niche{max-height:220px;overflow:auto;border:1px solid var(--border-soft);border-radius:10px;padding:6px}
      .fx-niche label{display:flex;gap:8px;align-items:center;font-size:13.5px;padding:5px 4px;cursor:pointer;min-height:34px}
      .fx-niche input{width:16px!important;min-height:0!important;height:16px;accent-color:var(--accent)}
      .fx-seg{display:flex;flex-wrap:wrap;gap:6px}
      .fx-seg button{min-height:38px;padding:0 12px;border-radius:999px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
      .fx-seg button.on{background:var(--accent);border-color:var(--accent);color: var(--on-accent)}
      .fx-top{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
      .fx-top .grow{flex:1;min-width:200px}
      .fx-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
      .fx-chips button{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;font-size:13px;cursor:pointer}
      .fx-chips button.clear{border-style:dashed;color:var(--danger-text)}
      .fx-count{font-weight:700;margin:0 0 12px}
      .fx-skel{height:330px;border-radius:20px;background:linear-gradient(90deg,var(--skeleton),var(--skeleton-hi),var(--skeleton));background-size:200% 100%;animation:fxSk 1.2s infinite}
      @keyframes fxSk{to{background-position:-200% 0}}
      .fx-mob{display:none}
      .fx-sheet-head{display:none}
      @media (max-width:900px){
        .fx-layout{grid-template-columns:1fr}
        .fx-mob{display:inline-flex}
        .fx-panel{position:fixed;left:0;right:0;bottom:0;top:auto;max-height:82vh;border-radius:22px 22px 0 0;z-index:1200;transform:translateY(105%);transition:transform .25s ease;box-shadow:var(--shadow-md)}
        .fx-panel.open{transform:none}
        .fx-sheet-head{display:flex;justify-content:space-between;align-items:center;position:sticky;top:-16px;background:var(--surface);padding:6px 0 10px;z-index:1}
        .fx-dim{position:fixed;inset:0;background:var(--overlay);z-index:1100}
      }
      .tcp-price small{color:var(--text-dim)}
      /* Public CMS pages */
      .cx{max-width:1180px;margin:0 auto;padding:0 16px}
      .cx-hero{padding:120px 0 40px;text-align:center;position:relative;overflow:hidden}
      .cx-hero.has-img{padding:130px 0 70px;color: var(--on-image);background:var(--image-base)}.cx-hero.has-img .cx{position:relative;z-index:1}
      .cx-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.42}
      .cx-hero.has-img::after{content:'';position:absolute;inset:0;background:var(--image-scrim)}
      .cx-hero.has-img h1,.cx-hero.has-img p{color: var(--on-image)}.cx-hero.has-img p{opacity:.9}.cx-hero.has-img .tcn-eyebrow{background: var(--on-image-glass);color: var(--on-image-accent)}.cx-hero.has-img .tcn-link{color: var(--on-image-accent)}
      .cx-hero h1{font-size:clamp(30px,5vw,52px);line-height:1.1;margin:10px auto 14px;max-width:880px}
      .cx-hero p{font-size:clamp(16px,2vw,19px);color:var(--text-dim);max-width:720px;margin:0 auto}
      .cx-sec{padding:44px 0}
      .cx-sec h2{font-size:clamp(24px,3.2vw,34px);margin:0 0 10px}
      .cx-lead{color:var(--text-dim);max-width:720px;margin:0 0 22px}
      .cx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
      .cx-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:22px;transition:transform .2s,box-shadow .2s;color:inherit;text-decoration:none;display:block}
      a.cx-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
      .cx-card h3{margin:8px 0 6px;font-size:18px}
      .cx-card p{color:var(--text-dim);margin:0 0 10px;font-size:14.5px}
      .cx-card ul{margin:8px 0 12px;padding-left:18px;color:var(--text-dim);font-size:14px}
      .cx-ic{font-size:30px}
      .cx-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px}
      .cx-stat{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:18px;text-align:center}
      .cx-stat b{display:block;font-size:30px;background:var(--accent-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
      .cx-stat span{color:var(--text-dim);font-size:13px}
      .cx-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;counter-reset:st}
      .cx-step{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:20px}
      .cx-step b{font-size:13px;color:var(--accent);letter-spacing:.08em}
      .cx-step h3{margin:6px 0;font-size:17px}
      .cx-step p{color:var(--text-dim);margin:0;font-size:14px}
      .cx-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}
      .cx-quote{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:22px}
      .cx-quote p{font-size:16px;margin:0 0 12px}
      .cx-quote small{color:var(--text-dim)}
      .cx-cta{text-align:center;padding:50px 20px;border-radius:24px;background:var(--accent-grad-soft);border:1px solid var(--border);margin:30px 0 60px}
      .cx-cta .tcn-actions{justify-content:center}
      .cx-res{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:12px 0}
      .cx-res div{background:var(--surface-2);border-radius:14px;padding:16px;text-align:center}
      .cx-res b{display:block;font-size:24px;color:var(--accent)}
      .cx-res span{font-size:13px;color:var(--text-dim)}
      .cx-prose{font-size:16.5px;line-height:1.75;max-width:760px}
      .cx-prose img{border-radius:14px;margin:10px 0}
      .cx-prose h2,.cx-prose h3{margin:26px 0 10px}
      .cx-cover{width:100%;aspect-ratio:16/8;object-fit:cover;border-radius:16px;background:var(--surface-2)}
      .cx-faq details{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:4px 18px;margin-bottom:10px}
      .cx-faq summary{cursor:pointer;font-weight:700;min-height:48px;display:flex;align-items:center}
      .cx-faq p{color:var(--text-dim);margin:0 0 14px}
      .cx-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
      .cx-form .full{grid-column:1/-1}
      .cx-form label{font-weight:600;font-size:14px;display:block;margin-bottom:6px}
      .cx-form input,.cx-form textarea,.cx-form select{width:100%;min-height:46px;padding:10px 12px;border-radius:12px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit}
      .cx-form .err{color:var(--danger-text);font-size:13px;min-height:16px}
      .cx-ann{background:var(--accent-grad);color:var(--on-accent);text-align:center;padding:10px 44px 10px 16px;font-size:14px;font-weight:600;position:relative;z-index:50}
      .cx-ann a{color:var(--on-accent);text-decoration:underline}
      .cx-ann button{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--on-accent);font-size:18px;width:36px;height:36px;cursor:pointer}
      @media (max-width:760px){.cx-two,.cx-form{grid-template-columns:1fr}.cx-hero{padding-top:96px}}
      /* Admin */
      .ax-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}
      .ax-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
      .ax-f label{display:block;font-size:12.5px;font-weight:700;color:var(--text-dim);margin:0 0 5px}
      .ax-f input,.ax-f select,.ax-f textarea{width:100%;min-height:42px;padding:8px 10px;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-size:14px}
      .ax-f textarea{min-height:90px}
      .ax-f .err{color:var(--danger-text);font-size:12.5px}
      .ax-f.full{grid-column:1/-1}
      .ax-sticky{position:sticky;bottom:0;background:var(--surface);border-top:1px solid var(--border);padding:12px 0;display:flex;gap:10px;align-items:center;flex-wrap:wrap;z-index:5}
      .ax-pt td input{width:110px;min-height:36px;padding:4px 8px;border-radius:8px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit}
      .ax-pill{display:inline-block;font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;background:var(--surface-3);white-space:nowrap}
      .ax-pill.ok{background:var(--success-soft);color:var(--success-text)}.ax-pill.bad{background:var(--danger-soft);color:var(--danger-text)}.ax-pill.warn{background:var(--warning-soft);color:var(--warning-text)}
      .ax-filters{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px;margin-bottom:10px}
      .ax-filters input,.ax-filters select{width:100%;min-height:40px;padding:6px 10px;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-size:13.5px}
      .ax-selbar{position:sticky;bottom:0;z-index:6;display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 14px;border-radius:14px;background:var(--surface);border:1px solid var(--accent);box-shadow:var(--shadow-md);margin-top:10px}
      .ax-list .row{display:flex;gap:10px;align-items:center;padding:12px;border:1px solid var(--border);border-radius:14px;background:var(--surface);margin-bottom:8px}
      .ax-list .row[draggable="true"]{cursor:grab}
      .ax-list .row.drag{opacity:.4}
      .ax-list .row .t{flex:1;min-width:0}
      .ax-list .row .t b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
      .ax-rte{border:1px solid var(--border);border-radius:12px;overflow:hidden}
      .ax-rte .bar{display:flex;flex-wrap:wrap;gap:4px;padding:6px;background:var(--surface-2);border-bottom:1px solid var(--border)}
      .ax-rte .bar button{min-width:36px;min-height:34px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;font-size:13px;cursor:pointer}
      .ax-rte .ed{min-height:260px;padding:14px;outline:none;background:var(--surface);line-height:1.6}
      .ax-img{display:flex;gap:10px;align-items:center}
      .ax-img img{width:96px;height:64px;object-fit:cover;border-radius:10px;background:var(--surface-2)}
      .ax-items .it{border:1px dashed var(--border);border-radius:12px;padding:10px;margin-bottom:8px;display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
      .ax-temp{font-family:ui-monospace,Menlo,monospace!important;font-size:20px;padding:12px 16px;border-radius:12px;background:var(--surface-2);border:1px dashed var(--accent);display:inline-block;letter-spacing:.04em}
    

/* ===== Update 5 · Phase 1: avatars, photo editor, banner, theme ===== */
/* One avatar everywhere: photo → initials underneath as fallback */
.tc-av { --av: 36px; position: relative; display: inline-grid; place-items: center; flex: none; width: var(--av); height: var(--av); aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: var(--avatar-bg); color: var(--avatar-text); font-weight: 800; font-size: calc(var(--av) * .38); line-height: 1; vertical-align: middle; }
.tc-av img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: inherit; }
.tc-av--logo { border-radius: 22%; background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.tc-av--logo img { object-fit: contain; padding: 8%; background: var(--surface); }
.tc-av-i { pointer-events: none; }

/* Profile + logo pickers */
.tp-photo-edit { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.tp-photo-big .tc-av { --av: 160px; box-shadow: var(--shadow-sm); }
.tp-photo-big.logo .tc-av { --av: 120px; }
.tp-file-btn { position: relative; cursor: pointer; min-height: 44px; overflow: hidden; }
.tp-file-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; font-size: 0; }
.tp-file-btn:focus-within { box-shadow: var(--focus-ring); }
.tp-photo-msg { font-size: 12.5px; color: var(--text-dim); margin-top: 8px; max-width: 380px; }
.tp-opt { font-size: 11px; font-weight: 700; color: var(--text-faint); background: var(--surface-3); border-radius: 999px; padding: 2px 8px; vertical-align: 3px; margin-left: 6px; }
.tc-prog { display: inline-block; width: 120px; height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; vertical-align: middle; }
.tc-prog i { display: block; height: 100%; background: var(--accent-grad); transition: width .2s; }
@media (max-width: 640px) { .tp-photo-big .tc-av { --av: 120px; } .tp-photo-big.logo .tc-av { --av: 96px; } }

/* Banner (3:1). Default: theme gradient */
.tp-banner-prev { position: relative; width: 100%; max-width: 520px; aspect-ratio: 3 / 1; border-radius: var(--radius-m); background: var(--cover-grad); background-size: cover; background-position: center; border: 1px solid var(--border-soft); margin-bottom: 34px; }
.tp-banner-prev > span { position: absolute; left: 3%; bottom: 0; transform: translateY(50%); }
.tp-banner-prev .tc-av { border: 3px solid var(--surface); box-sizing: content-box; }
.tp-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pp-cover { height: auto; aspect-ratio: 3 / 1; background: var(--cover-grad); background-size: cover; background-position: center; }
.pp-photo { width: auto; height: auto; margin-top: -80px; border: 0; box-shadow: none; display: inline-flex; }
.pp-photo .tc-av { --av: 160px; border: 5px solid var(--surface); box-sizing: content-box; box-shadow: var(--shadow-md); }
.pp-photo.logo .tc-av { border-radius: 22%; }
@media (max-width: 640px) { .pp-photo { margin-top: -60px; } .pp-photo .tc-av { --av: 120px; border-width: 4px; } }

/* Photo editor */
.tcph-lock, .tcph-lock body { overflow: hidden; }
.tcph-ov { position: fixed; inset: 0; z-index: 3000; background: var(--overlay); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 16px; overscroll-behavior: contain; }
.tcph-box { width: 100%; max-width: 420px; margin: auto; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-l); box-shadow: var(--shadow-md); padding: 18px 16px 16px; }
.tcph-box.tcph-banner { max-width: 700px; }
.tcph-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tcph-head h3 { margin: 0; font-size: 18px; }
.tcph-x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font-size: 16px; cursor: pointer; }
.tcph-sub { margin: 4px 0 12px; color: var(--text-dim); font-size: 13px; }
.tcph-warn { background: var(--warning-soft); color: var(--warning-text); border-radius: var(--radius-s); padding: 8px 12px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.tcph-stage { position: relative; margin: 0 auto; max-width: 100%; border-radius: var(--radius-s); overflow: hidden; background: var(--surface-3); touch-action: none; cursor: grab; user-select: none; outline: none; }
.tcph-stage:active { cursor: grabbing; }
.tcph-stage:focus-visible { box-shadow: var(--focus-ring); }
.tcph-stage canvas { display: block; }
.tcph-mask { position: absolute; inset: 0; pointer-events: none; }
.tcph-mask--circle { background: radial-gradient(circle at center, transparent calc(50% - 1px), var(--overlay) 50%); }
.tcph-mask--circle::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--on-image-line); }
.tcph-mask--square, .tcph-mask--banner { box-shadow: inset 0 0 0 2px var(--on-image-line); border-radius: inherit; }
.tcph-safe { position: absolute; left: 2.2%; bottom: 0; width: 14.8%; aspect-ratio: 1 / 1; transform: translateY(50%); border: 2px dashed var(--on-image); border-radius: 50%; background: var(--on-image-glass); pointer-events: none; display: grid; place-items: start center; }
.tcph-safe span { font-size: 10px; font-weight: 700; color: var(--on-image); margin-top: 14%; text-shadow: 0 1px 3px var(--overlay); white-space: nowrap; }
.tcph-safe-note { position: absolute; right: 8px; top: 8px; max-width: 60%; font-size: 11px; line-height: 1.35; color: var(--on-image); background: var(--chip-on-image); padding: 5px 8px; border-radius: 8px; pointer-events: none; }
.tcph-ctrl { display: flex; align-items: center; gap: 10px; margin: 14px 0 6px; }
.tcph-ctrl input[type=range] { flex: 1; accent-color: var(--accent); min-height: 32px; }
.tcph-ib { width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font-size: 20px; cursor: pointer; }
.tcph-ib:hover { border-color: var(--accent); }
.tcph-zl { color: var(--text-faint); font-weight: 800; }
.tcph-prev { display: flex; gap: 16px; align-items: flex-end; justify-content: center; flex-wrap: wrap; margin: 10px 0 14px; }
.tcph-prev figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tcph-prev figcaption { font-size: 11.5px; color: var(--text-dim); text-align: center; }
.tcph-prev canvas[data-pv="profile"] { width: 160px; height: 160px; border-radius: 50%; }
.tcph-prev canvas[data-pv="card"] { width: 72px; height: 72px; border-radius: 50%; }
.tcph-prev canvas[data-pv="header"] { width: 32px; height: 32px; border-radius: 50%; }
.tcph-logo .tcph-prev canvas[data-pv="header"] { border-radius: 22%; }
.tcph-prev canvas { box-shadow: var(--shadow-sm); background: var(--surface-3); }
.tcph-tile { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 20px; border: 1px solid var(--border); }
.tcph-tile--light { background: #ffffff; }
.tcph-tile--dark { background: #111a16; }
.tcph-tile canvas { width: 76px; height: 76px; background: transparent !important; box-shadow: none !important; }
.tcph-bprev { width: 100%; }
.tcph-bwrap { position: relative; display: block; width: 100%; max-width: 360px; margin: 0 auto 22px; }
.tcph-bwrap canvas { display: block; width: 100%; aspect-ratio: 3 / 1; height: auto; border-radius: 10px; }
.tcph-bwrap .tc-av { position: absolute; left: 2.2%; bottom: 0; transform: translateY(50%); border: 3px solid var(--surface); box-sizing: content-box; }
.tcph-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.tcph-actions .btn { min-height: 44px; }
@media (max-width: 640px) {
  .tcph-ov { padding: 10px; }
  .tcph-box { padding: 14px 12px 12px; border-radius: var(--radius-m); }
  .tcph-prev canvas[data-pv="profile"] { width: 120px; height: 120px; }
  .tcph-actions .btn { flex: 1; }
}

/* Theme: floating button menu + segmented control */
.tc-theme-menu { position: fixed; z-index: 2500; right: 18px; bottom: 74px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md); padding: 6px; display: flex; flex-direction: column; min-width: 150px; }
.tc-theme-menu button { display: flex; gap: 10px; align-items: center; min-height: 40px; padding: 0 12px; border: 0; background: transparent; color: var(--text); border-radius: 10px; font-weight: 600; cursor: pointer; text-align: left; }
.tc-theme-menu button:hover { background: var(--surface-2); }
.tc-theme-menu button.on { background: var(--accent-soft); color: var(--accent); }
.tc-theme-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--surface-3); border-radius: 12px; padding: 4px; }
.tc-theme-seg button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--text-dim); font-weight: 700; cursor: pointer; }
.tc-theme-seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
/* Theme button inside headers */
.tc-theme-slot { display: inline-flex; }
#tcnTheme.in-header { position: static; width: 40px; height: 40px; box-shadow: none; font-size: 17px; background: var(--surface-2); border: 1px solid var(--border); }
#tcnTheme.in-header:hover { border-color: var(--accent); }
/* banner guide: phone photo is relatively bigger (120px on ~360px) than computer (160px on ~1080px) */
.tcph-safe--phone { left: 6.6%; width: 35%; border-color: var(--on-image-accent); }
.tcph-safe--phone span { margin-top: 10%; }

/* ===== Update 5 · Phase 2: completion bar, field hints, auto-save, preview ===== */
.tp-compl-bar { padding: 14px 18px; }
.tp-compl-bar.done { border-color: var(--accent-line); }
.tp-compl-row { display: flex; align-items: center; gap: 12px; }
.tp-compl-row b { white-space: nowrap; font-size: 14.5px; }
.tp-compl-note { margin: 8px 0 0; }
.tp-f.need > label::after, .tp-card.need > h3::after { content: 'needed'; margin-left: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--warning-text); background: var(--warning-soft); padding: 2px 7px; border-radius: 999px; vertical-align: 2px; }
.tp-saving { color: var(--text-dim); }
.tp-retry { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 700; color: var(--accent); text-decoration: underline; }
.tp-prev-ov { position: fixed; inset: 0; z-index: 2800; background: var(--overlay); display: flex; justify-content: flex-end; }
.tp-prev-panel { width: min(1100px, 100%); height: 100%; background: var(--bg); border-left: 1px solid var(--border); display: flex; flex-direction: column; box-shadow: var(--shadow-md); }
.tp-prev-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--border); }
.tp-prev-bar > b { flex: 1; min-width: 180px; font-size: 14px; }
.tp-prev-stage { flex: 1; overflow: auto; display: flex; justify-content: center; padding: 14px; background: var(--surface-2); }
.tp-prev-stage iframe { border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--bg); height: 100%; min-height: 560px; box-shadow: var(--shadow-sm); }
.tp-prev-stage iframe.mobile { width: 390px; max-width: 100%; }
.tp-prev-stage iframe.desktop { width: 100%; }
@media (max-width: 640px) { .tp-prev-seg { display: none; } .tp-prev-stage { padding: 0; } .tp-prev-stage iframe.mobile { width: 100%; border-radius: 0; } }
/* Account Settings */
.tp-acc-nav { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.tp-acc-nav a { font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-dim); text-decoration: none; }
.tp-acc-nav a:hover { color: var(--text); border-color: var(--accent); }
.tp-acc { scroll-margin-top: 90px; }
.tp-acc h3 { display: flex; align-items: center; gap: 10px; }
.tp-acc-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-3); color: var(--text-dim); font-size: 12px; font-weight: 800; flex: none; }
.tp-acc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--border-soft); }
.tp-acc-row:first-of-type { border-top: 0; }
.tp-acc-row b { word-break: break-all; }
.tp-acc-form { margin-top: 12px; }
.tp-acc-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 12px 0 0; }
.tp-methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tp-methods li { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tp-switches { display: grid; gap: 12px; }
.tp-switch { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.tp-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tp-sw { flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--border); position: relative; transition: background .2s; margin-top: 2px; }
.tp-sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .2s; }
.tp-switch input:checked + .tp-sw { background: var(--accent-fill); border-color: var(--accent-fill); }
.tp-switch input:checked + .tp-sw::after { transform: translateX(18px); }
.tp-switch input:focus-visible + .tp-sw { box-shadow: var(--focus-ring); }
.tp-switch small { display: block; color: var(--text-dim); font-size: 12.5px; font-weight: 400; }
.tp-del-list { margin: 0; padding-left: 18px; color: var(--text); display: grid; gap: 6px; font-size: 14px; }
.cp-switch-note { margin: 12px 0 0; font-size: 14px; color: var(--on-image-dim); }
.cp-switch-note a { color: var(--on-image-accent); font-weight: 700; text-decoration: underline; }
.tp-switch-intro p { margin: 0 0 10px; }
/* Role-based page sections (update 5, phase 3) */
html[data-role="creator"] [data-hide-for~="creator"], html[data-role="brand"] [data-hide-for~="brand"], html[data-role="guest"] [data-hide-for~="guest"] { display: none !important; }
[data-role-hidden] { display: none !important; }

/* ===== Update 5 · Phase 4: several social accounts ===== */
.tp-acc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tp-acc-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 700; cursor: pointer; max-width: 100%; }
.tp-acc-tabs button .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.tp-acc-tabs button.on { border-color: var(--accent); background: var(--accent-soft); }
.tp-acc-tabs button.add { border-style: dashed; color: var(--accent); }
.tp-plat-ico, .tp-acc-tabs .ico { display: inline-flex; width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.tp-plat-ico svg, .tp-acc-tabs .ico svg, .tcp-acc-h .lg svg, .tcp-more .lg svg { width: 100%; height: 100%; }
.tp-plat-seg { margin-top: 4px; }
.tp-yt-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 44px; }
.tp-acc-rate { margin: 14px 0; padding: 14px; border-radius: var(--radius-m); background: var(--surface-2); border: 1px solid var(--border-soft); }
.tp-own-prices { margin-top: 12px; }
.tp-acc-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.tp-danger-link { color: var(--danger-text); }
.tp-best { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 10px 0 4px; }
.tp-best.sm { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.tp-best-i { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text); border: 1px solid var(--border-soft); border-radius: 12px; overflow: hidden; background: var(--surface); }
.tp-best-i img, .tp-best-i .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--media-bg); display: grid; place-items: center; }
.tp-best-i .ph svg { width: 34px; height: 34px; }
.tp-best-i .t { font-size: 12.5px; font-weight: 600; padding: 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-best-i .v { font-size: 11.5px; color: var(--text-dim); padding: 0 8px 8px; }
.pp-accounts { margin-top: 18px; }
.pp-acc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.pp-acc { border: 1px solid var(--border-soft); border-radius: var(--radius-m); padding: 14px; background: var(--surface); scroll-margin-top: 100px; transition: box-shadow .3s, border-color .3s; }
.pp-acc.flash { border-color: var(--accent); box-shadow: var(--focus-ring); }
.pp-acc-top { display: flex; gap: 10px; align-items: center; }
.pp-acc-top .tp-plat-ico { width: 28px; height: 28px; }
.pp-acc-nums { display: flex; gap: 18px; margin-top: 10px; }
.pp-acc-nums b { display: block; font-size: 19px; }
.pp-acc-nums small { color: var(--text-dim); font-size: 12px; }
.pp-acc-prices { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pp-acc-prices span { background: var(--surface-2); border-radius: 10px; padding: 6px 10px; }
.pp-acc-prices small { display: block; color: var(--text-dim); font-size: 11px; }
.tcp-acc-h { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--text); }
.tcp-acc-h .lg { display: inline-flex; width: 15px; height: 15px; }
.tcp-more { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--text-dim); background: var(--surface-2); border-radius: 999px; padding: 4px 10px; }
.tcp-more .lg { display: inline-flex; width: 14px; height: 14px; }
.tcp-extra .tcp-cover { opacity: .85; }

/* ===== Update 5 · Phase 4: country / state / city pickers ===== */
.tp-sub-h { margin: 18px 0 8px; font-size: 15px; font-weight: 700; color: var(--text); display: flex; gap: 8px; align-items: baseline; }
.tcg-list { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 4px); max-height: 260px; overflow: auto; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-md); padding: 4px; }
.tcg-list [role="option"] { padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; line-height: 1.3; }
.tcg-list [role="option"]:hover, .tcg-list [role="option"].on { background: var(--surface-2); color: var(--accent); }
.tcg-list .fl { display: inline-block; width: 22px; }
.tcg-none { padding: 10px; font-size: 13px; color: var(--text-dim); }
.tcg-filter { display: grid; gap: 6px; }
.tcg-lbl { font-size: 12px; font-weight: 600; color: var(--text-dim); margin-top: 6px; }
.tcg-wrap { position: relative; }
.tcg-filter input, .tcg-filter select { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; }
.tcg-filter select:disabled { opacity: .55; }
.tcg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tcg-chips:empty { display: none; }
.tcg-chips button { border: 1px solid var(--border); background: var(--surface-2); color: var(--text); border-radius: 999px; padding: 5px 10px; font-size: 13px; cursor: pointer; }
.tcg-chips button:hover { border-color: var(--danger); color: var(--danger-text); }
.tp-dash-accs { margin-bottom: 16px; }
.tp-dash-accs-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tp-dash-accs-h h3 { margin: 0; }
.tp-dash-acc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 12px; }
.tp-dash-acc { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); color: var(--text); text-decoration: none; min-width: 0; }
.tp-dash-acc:hover { border-color: var(--accent); }
.tp-dash-acc .ico { width: 26px; height: 26px; flex: none; display: grid; place-items: center; }
.tp-dash-acc .ico svg { width: 22px; height: 22px; }
.tp-dash-acc .nm { display: grid; min-width: 0; flex: 1; }
.tp-dash-acc .nm b, .tp-dash-acc .nm small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-dash-acc .nm small { color: var(--text-dim); font-size: 12px; }

/* ===== Update 5 · Phase 5: Creator Community ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cm-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; vertical-align: middle; }
.cm-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; max-width: 1080px; }
.cm-main { min-width: 0; display: grid; gap: 14px; }
.cm-side { display: grid; gap: 14px; position: sticky; top: 84px; }
.cm-card, .cm-post { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 16px; box-shadow: var(--shadow-sm); min-width: 0; }
.cm-h { margin: 0 0 10px; font-size: 15px; }
.cm-skel { height: 180px; border-radius: var(--radius-m); background: linear-gradient(90deg, var(--skeleton) 25%, var(--skeleton-hi) 50%, var(--skeleton) 75%); background-size: 200% 100%; animation: tcSk 1.2s infinite linear; }
@keyframes tcSk { to { background-position: -200% 0; } }
.cm-empty { text-align: center; padding: 32px 16px; color: var(--text-dim); background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius-m); }
.cm-empty .ic { font-size: 34px; margin-bottom: 8px; }
.cm-err { color: var(--danger-text); font-size: 13px; margin: 6px 0 0; min-height: 0; }
.cm-err:empty { display: none; }
.cm-note { background: var(--warning-soft); color: var(--text); border-radius: var(--radius-s); padding: 10px 12px; font-size: 14px; margin: 0; }
.cm-row-end { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.cm-lbl { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 6px; }
.cm-wrap textarea, .cm-chat textarea, .cm-wrap input[type=search], .cm-chat input[type=search], .tcn-modal #cmRep textarea, .tcn-modal #cmEdit textarea, .tcn-modal #cmUA textarea, .tcn-modal #cmUA select, .cm-adm textarea {
  width: 100%; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; padding: 10px 12px; resize: vertical; }
.cm-wrap textarea:focus, .cm-chat textarea:focus, .cm-wrap input:focus, .cm-chat input:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus-ring); }
.cm-av { flex: none; display: inline-flex; text-decoration: none; }
.cm-name { font-weight: 700; color: var(--text); text-decoration: none; }
.cm-name:hover { color: var(--accent); }
.cm-meta { font-size: 12.5px; color: var(--text-dim); }
.cm-dots { margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--text-dim); font-size: 20px; cursor: pointer; flex: none; }
.cm-dots:hover, .cm-dots[aria-expanded=true] { background: var(--surface-2); color: var(--text); }
/* tabs */
.cm-tabs, .cm-seg { display: flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--border); padding: 4px; border-radius: 999px; width: fit-content; max-width: 100%; }
.cm-tabs button, .cm-seg button { border: 0; background: transparent; color: var(--text-dim); font: inherit; font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 999px; cursor: pointer; min-height: 36px; }
.cm-tabs button.on, .cm-seg button.on { background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm); }
/* composer */
.cm-comp-top { display: flex; gap: 10px; align-items: flex-start; }
.cm-comp textarea { border: 0; background: transparent; padding: 8px 2px; resize: none; min-height: 48px; }
.cm-comp textarea:focus { box-shadow: none; }
.cm-comp-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: 10px; padding-top: 10px; }
.cm-count { font-size: 12px; color: var(--text-dim); margin-left: auto; }
.cm-comp-bar .btn-primary { margin-left: auto; }
.cm-count:not(:empty) + .btn-primary { margin-left: 0; }
.cm-addph { cursor: pointer; }
.cm-addph.disabled { opacity: .45; pointer-events: none; }
.cm-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.cm-thumbs:empty { display: none; }
.cm-thumbs { margin-top: 10px; }
.cm-thumb { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.cm-thumb.bad { border-color: var(--danger); }
.cm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: 12px; }
.cm-thumb-err { position: absolute; inset: auto 0 0 0; background: var(--danger); color: #fff; font-size: 10px; padding: 2px 4px; }
.cm-prog { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 5px; border-radius: 3px; background: rgba(0,0,0,.35); overflow: hidden; }
.cm-prog i { display: block; height: 100%; background: var(--accent); transition: width .2s; }
/* post */
.cm-post { padding: 14px 16px 6px; }
.cm-ph { display: flex; gap: 10px; align-items: center; }
.cm-who { min-width: 0; }
.cm-body { margin: 10px 0 4px; font-size: 15px; line-height: 1.55; white-space: normal; overflow-wrap: anywhere; color: var(--text); }
.cm-body a, .cm-bubble a, .cm-bub a, .cm-quote a { color: var(--accent); text-decoration: underline; overflow-wrap: anywhere; }
.cm-imgs { display: grid; gap: 4px; margin: 10px -16px 0; overflow: hidden; }
.cm-imgs.n1 { grid-template-columns: 1fr; }
.cm-imgs.n2 { grid-template-columns: 1fr 1fr; }
.cm-imgs.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.cm-imgs.n3 .cm-img:first-child { grid-row: 1 / 3; }
.cm-imgs.n4 { grid-template-columns: 1fr 1fr; }
.cm-img { border: 0; padding: 0; background: var(--surface-2); cursor: zoom-in; display: block; overflow: hidden; }
.cm-img img { width: 100%; height: 100%; display: block; object-fit: cover; }
.cm-imgs.n1 .cm-img img { max-height: 560px; object-fit: contain; background: var(--surface-2); }
.cm-imgs.n2 .cm-img, .cm-imgs.n4 .cm-img { aspect-ratio: 1; }
.cm-imgs.n3 .cm-img { aspect-ratio: 1; }
.cm-imgs.n3 .cm-img:first-child { aspect-ratio: auto; }
.cm-acts { display: flex; gap: 4px; border-top: 1px solid var(--border); margin-top: 10px; padding-top: 4px; }
.cm-act { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border: 0; background: transparent; color: var(--text-dim); font: inherit; font-weight: 600; font-size: 14px; border-radius: 10px; cursor: pointer; }
.cm-act:hover { background: var(--surface-2); color: var(--text); }
.cm-act.on { color: var(--danger-text); }
.cm-act [data-n]:empty, .cm-act [data-cn]:empty { display: none; }
@media (max-width: 420px) { .cm-act .lb { display: none; } }
/* comments */
.cm-cbox { border-top: 1px solid var(--border); padding: 10px 0 8px; }
.cm-clist { display: grid; gap: 10px; }
.cm-c { display: flex; gap: 8px; align-items: flex-start; }
.cm-c.reply { margin-left: 40px; }
.cm-cb { min-width: 0; flex: 1; }
.cm-bubble { background: var(--surface-2); border-radius: 14px; padding: 8px 12px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; display: inline-block; max-width: 100%; }
.cm-bubble .cm-name { font-size: 13px; }
.cm-cmeta { display: flex; gap: 12px; font-size: 12px; color: var(--text-dim); padding: 3px 10px 0; flex-wrap: wrap; }
.cm-cmeta button { border: 0; background: none; padding: 0; color: var(--text-dim); font: inherit; font-weight: 700; cursor: pointer; min-height: 24px; }
.cm-cmeta button:hover { color: var(--accent); }
.cm-noc { margin: 0; }
.cm-cform { display: flex; gap: 8px; align-items: flex-end; margin-top: 12px; }
.cm-cin { flex: 1; min-width: 0; }
.cm-cform textarea { resize: none; border-radius: 18px; padding: 8px 14px; font-size: 14px; }
.cm-replying { font-size: 12px; color: var(--text-dim); margin: 0 0 4px 6px; }
.cm-replying button { border: 0; background: none; color: var(--accent); font-weight: 700; cursor: pointer; padding: 0; }
.cm-more { text-align: center; }
/* menus, lightbox */
.cm-menu { position: absolute; z-index: 1200; min-width: 200px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-md); padding: 6px; display: grid; }
.cm-menu button { text-align: left; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.cm-menu button:hover, .cm-menu button:focus { background: var(--surface-2); outline: none; }
.cm-menu button.danger { color: var(--danger-text); }
.cm-lb { position: fixed; inset: 0; z-index: 1300; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; padding: 48px 12px; }
.cm-lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.cm-lb-x, .cm-lb-n { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.cm-lb-x { top: 12px; right: 12px; }
.cm-lb-n.prev { left: 12px; top: 50%; transform: translateY(-50%); }
.cm-lb-n.next { right: 12px; top: 50%; transform: translateY(-50%); }
.cm-lb-c { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; }
.cm-single .cm-post { border: 0; box-shadow: none; padding: 4px 0 0; }
.cm-reasons { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.cm-reasons label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; font-size: 14px; }
.cm-reasons label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
/* person + side */
.cm-person-top { display: flex; gap: 14px; align-items: flex-start; margin-top: 8px; }
.cm-person-info { min-width: 0; }
.cm-person h1 { font-size: 22px; margin: 0; }
.cm-back { font-size: 13px; }
.cm-accs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.cm-acc { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); text-decoration: none; }
.cm-acc .lg svg { width: 14px; height: 14px; display: block; }
.cm-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 14px; color: var(--text-dim); align-items: center; }
.cm-stats b { color: var(--text); }
.cm-person-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.cm-mini { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.cm-mini:last-child { border-bottom: 0; }
.cm-mini-link { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; text-decoration: none; color: var(--text); }
.cm-mini-t { display: grid; min-width: 0; }
.cm-mini-t b, .cm-mini-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-mini-t small { color: var(--text-dim); font-size: 12.5px; }
.cm-me { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cm-rules summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.cm-rules ul { margin: 10px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--text-dim); display: grid; gap: 4px; }
#cmFound:not(:empty), #cmNewFound:not(:empty) { margin-top: 8px; }
@media (max-width: 960px) {
  .cm-wrap { grid-template-columns: 1fr; }
  .cm-side { position: static; order: -1; }
  .cm-side > .cm-card:not(.cm-me) { display: none; }
  .cm-side.show-all > .cm-card { display: block; }
}
@media (max-width: 560px) {
  .cm-post, .cm-card { border-radius: 12px; padding-left: 12px; padding-right: 12px; }
  .cm-imgs { margin-left: -12px; margin-right: -12px; }
  .cm-tabs { width: 100%; } .cm-tabs button { flex: 1; padding: 8px 6px; }
  .cm-person-top .tc-av { width: 56px !important; height: 56px !important; }
}
/* messages */
.cm-chat { display: grid; grid-template-columns: 320px minmax(0, 1fr); height: calc(100vh - 150px); min-height: 460px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); overflow: hidden; max-width: 1080px; }
.cm-threads { border-right: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; padding: 14px 10px; gap: 8px; }
.cm-threads-h { display: flex; justify-content: space-between; align-items: baseline; padding: 0 6px; }
.cm-threads-h h2 { margin: 0; font-size: 20px; }
#cmThreadList { overflow-y: auto; flex: 1; min-height: 0; }
.cm-thread { display: flex; gap: 10px; align-items: center; padding: 10px 8px; border-radius: 12px; text-decoration: none; color: var(--text); }
.cm-thread:hover { background: var(--surface-2); }
.cm-thread.on { background: var(--accent-soft); }
.cm-thread.unread .cm-mini-t b, .cm-thread.unread .cm-mini-t small { color: var(--text); font-weight: 700; }
.cm-thread .cm-mini-t { flex: 1; }
.cm-tside { display: grid; justify-items: end; gap: 4px; font-size: 11.5px; color: var(--text-dim); flex: none; }
.cm-tside .cm-badge { margin: 0; }
.cm-pad { padding: 8px; }
.cm-conv { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.cm-conv-empty { border: 0; margin: auto; background: transparent; }
.cm-conv-h { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.cm-backbtn { display: none; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; text-decoration: none; color: var(--text); font-size: 20px; flex: none; }
.cm-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 6px; background: var(--bg); }
.cm-day { text-align: center; margin: 10px 0 4px; }
.cm-day span { font-size: 12px; color: var(--text-dim); background: var(--surface-2); padding: 3px 10px; border-radius: 999px; }
.cm-msg { display: flex; align-items: center; gap: 6px; max-width: 80%; }
.cm-msg.mine { align-self: flex-end; flex-direction: row-reverse; }
.cm-bub { background: var(--surface); border: 1px solid var(--border); border-radius: 16px 16px 16px 4px; padding: 8px 12px; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; min-width: 0; }
.cm-msg.mine .cm-bub { background: var(--accent-fill); color: var(--on-accent); border-color: transparent; border-radius: 16px 16px 4px 16px; }
.cm-msg.mine .cm-bub a { color: inherit; }
.cm-mt { display: block; font-size: 11px; opacity: .7; margin-top: 3px; text-align: right; }
.cm-mimg { border: 0; padding: 0; background: none; display: block; cursor: zoom-in; margin: -2px -6px 6px; }
.cm-mimg img { max-width: min(260px, 100%); max-height: 300px; border-radius: 12px; display: block; }
.cm-mrep { border: 0; background: none; opacity: 0; cursor: pointer; font-size: 13px; padding: 4px; }
.cm-msg:hover .cm-mrep, .cm-mrep:focus { opacity: .7; }
@media (pointer: coarse) { .cm-mrep { opacity: .45; } }
.cm-send { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--border); background: var(--surface); }
.cm-send textarea { resize: none; border-radius: 20px; padding: 9px 14px; max-height: 160px; }
.cm-ib { width: 40px; height: 40px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; }
.cm-ib:hover { background: var(--surface-2); }
.cm-cant { margin: 10px 12px; }
@media (max-width: 767px) {
  .cm-chat { grid-template-columns: 1fr; height: calc(100dvh - 120px); border-radius: 12px; }
  .cm-chat .cm-conv { display: none; }
  .cm-chat.has-chat .cm-threads { display: none; }
  .cm-chat.has-chat .cm-conv { display: flex; }
  .cm-backbtn { display: inline-flex; }
  .cm-msg { max-width: 88%; }
}
/* photo editor: post shape + preview */
.tcph-ratios { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 10px 0 0; }
.tcph-ratios button { border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.tcph-ratios button.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.tcph-pprev { width: 100%; }
.tcph-pwrap { display: block; width: 100%; max-width: 220px; margin: 0 auto; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.tcph-pwrap canvas { display: block; width: 100%; height: 100%; }
.tcph-mask--rect { box-shadow: none; border: 1px solid rgba(255,255,255,.4); }
/* admin */
.cm-adm { display: grid; gap: 16px; }
.cm-adm-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.cm-rep { border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin-top: 10px; }
.cm-rep-h { font-size: 14px; line-height: 1.6; }
.cm-quote { margin: 8px 0; padding: 8px 12px; border-left: 3px solid var(--border); background: var(--surface-2); border-radius: 0 8px 8px 0; font-size: 14px; overflow-wrap: anywhere; }
.cm-rep-imgs { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.cm-rep-imgs img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.cm-rep-acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.cm-adm-posts { display: grid; }
.cm-adm-post { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); }
.cm-adm-post.off { opacity: .6; }
.cm-adm-pt { flex: 1; min-width: 0; font-size: 14px; }
.cm-adm-body { color: var(--text-dim); margin-top: 2px; overflow-wrap: anywhere; }
.cm-adm-pa { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 600px) { .cm-adm-post { flex-wrap: wrap; } .cm-adm-pa { width: 100%; justify-content: flex-start; } }
.tcph-box.tcph-post { max-width: 580px; }

/* ===== Update 5 · Phase 6: Help Center ===== */
.hc-hero { padding-bottom: 28px; }
.hc-search { display: flex; gap: 8px; max-width: 620px; margin: 22px auto 0; }
.hc-search input { flex: 1; min-width: 0; min-height: 48px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; font-size: 16px; padding: 10px 16px; box-shadow: var(--shadow-sm); }
.hc-search input:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus-ring); }
.hc-results { max-width: 620px; margin: 10px auto 0; text-align: left; }
.hc-hits { list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md); }
.hc-hits a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--text); }
.hc-hits a:hover, .hc-hits a:focus { background: var(--surface-2); outline: none; }
.hc-hits small { color: var(--accent); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.hc-hits span { color: var(--text-dim); font-size: 13.5px; }
.hc-none { color: var(--text-dim); text-align: center; }
.hc-tabs { display: flex; gap: 6px; justify-content: center; margin: 8px auto 0; background: var(--surface-2); border: 1px solid var(--border); padding: 5px; border-radius: 999px; width: fit-content; max-width: 100%; }
.hc-tabs button { border: 0; background: transparent; color: var(--text-dim); font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 999px; cursor: pointer; min-height: 42px; }
.hc-tabs button.on { background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm); }
.hc-sec { padding: 34px 0 6px; }
.hc-sec > h2 { font-size: clamp(22px, 3vw, 28px); margin: 0 0 16px; }
.hc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.hc-card { display: grid; gap: 6px; align-content: start; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s; }
.hc-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.hc-card span:last-child { color: var(--text-dim); font-size: 14px; }
.hc-ic { font-size: 28px; line-height: 1; }
.hc-ic.big { font-size: 44px; }
.hc-faqgrp { margin-bottom: 18px; }
.hc-faqgrp h3 { font-size: 16px; color: var(--text-dim); margin: 0 0 8px; text-transform: uppercase; letter-spacing: .04em; }
.hc-faq { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; }
.hc-faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.hc-faq summary::-webkit-details-marker { display: none; }
.hc-faq summary::after { content: '+'; color: var(--accent); font-size: 20px; line-height: 1; }
.hc-faq[open] summary::after { content: '−'; }
.hc-faq > div { padding: 0 16px 16px; color: var(--text-dim); line-height: 1.65; }
.hc-flash { box-shadow: 0 0 0 3px var(--accent-soft); border-color: var(--accent); }
.hc-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 26px; margin: 10px 0 60px; box-shadow: var(--shadow-sm); }
.hc-contact h2 { margin: 0 0 8px; }
.hc-ways { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 10px; }
.hc-form { display: grid; gap: 10px; position: relative; }
.hc-form label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 4px; }
.hc-form input, .hc-form select, .hc-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; padding: 10px 12px; min-height: 44px; }
.hc-form .err { color: var(--danger-text); font-size: 12.5px; margin: 4px 0 0; }
.hc-form .err:empty { display: none; }
.hc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hc-ok { color: var(--success-text, var(--accent)); font-weight: 600; margin: 0; }
.hc-ok:empty { display: none; }
.hc-art-wrap { max-width: 860px; padding-top: 110px; }
.hc-crumb { font-size: 14px; color: var(--text-dim); margin-bottom: 14px; }
.hc-crumb a { color: var(--accent); text-decoration: none; }
.hc-art header h1 { font-size: clamp(28px, 4.5vw, 42px); line-height: 1.15; margin: 12px 0 10px; }
.hc-lead { font-size: 18px; color: var(--text-dim); margin: 0 0 22px; }
.hc-steps { list-style: none; padding: 0; margin: 10px 0 26px; display: grid; gap: 12px; }
.hc-step { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; }
.hc-step h2 { font-size: 17px; margin: 0 0 4px; }
.hc-step p { margin: 0; color: var(--text-dim); }
.hc-step-art { position: relative; flex: none; width: 64px; height: 64px; border-radius: 18px; background: var(--accent-soft); display: grid; place-items: center; }
.hc-step-art .i { font-size: 28px; }
.hc-step-art .n { position: absolute; top: -8px; left: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-fill); color: var(--on-accent); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.hc-prose a { color: var(--accent); }
.hc-help { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 30px 0 0; padding: 16px 18px; background: var(--surface-2); border-radius: 14px; }
.hc-help > div { display: flex; gap: 8px; }
.hc-no { display: grid; gap: 8px; width: 100%; }
.hc-no textarea { width: 100%; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; padding: 8px 10px; }
.hc-no .btn { justify-self: start; }
.hc-404 { text-align: center; padding: 60px 0; }
.cx-prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .88em; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .hc-contact { grid-template-columns: 1fr; padding: 18px; }
  .hc-two { grid-template-columns: 1fr; }
  .hc-search .btn { display: none; }
  .hc-art-wrap { padding-top: 92px; }
  .hc-step { align-items: flex-start; }
  .hc-step-art { width: 52px; height: 52px; }
}

/* ===== Update 5 · Phase 6: search-engine pages ===== */
#app > .ssr { max-width: 900px; margin: 0 auto; padding: 100px 16px 40px; color: var(--text); }
.ssr-nav { font-size: 14px; margin-bottom: 18px; }
.ssr a, .ssr-page a { color: var(--accent); }
.ssr-page { padding-top: 110px; padding-bottom: 60px; max-width: 900px; }
.ssr-page h1 { font-size: clamp(28px, 4.5vw, 44px); line-height: 1.15; margin: 0 0 14px; }
.ssr-page h2 { margin: 30px 0 10px; }
.ssr-page p { color: var(--text-dim); font-size: 16.5px; line-height: 1.7; }
.ssr-page ul { padding-left: 0; list-style: none; display: grid; gap: 8px; }
.ssr-page li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; color: var(--text-dim); }
.ssr-page li a { font-weight: 700; text-decoration: none; }

/* ===== Brand logo: TC mark + TOORO|COLLAB wordmark in the logo's colours (flat, 2D) ===== */
.brand-lockup { display: inline-flex !important; flex-direction: column; justify-content: center; position: relative; padding-left: 62px; min-height: 36px; text-decoration: none; }
.brand-lockup::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 54px; height: 34px; background: url(/assets/brand/tc-mark.png) left center / contain no-repeat; }
html[data-theme="dark"] .brand-lockup::before { background-image: url(/assets/brand/tc-mark-dark.png); }
/* TOOROCOLLAB wordmark: live text in the same style as the TC mark (bold geometric letters, TC gradients). */
.brand-lockup .name, .tc-word { display: block; font-family: 'Russo One', 'Plus Jakarta Sans', system-ui, sans-serif !important; font-weight: 400 !important; font-size: 21px !important; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(165deg, #22d38a 0%, #0e1512 24%, #000 55%, #3a3d3c 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #0b0b0b; }
.brand-lockup .name .c2, .tc-word .c2 { background: linear-gradient(165deg, #4dffd2 0%, #22d67e 30%, #0b8a4b 68%, #064a2b 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #0b8a4b; }
html[data-theme="dark"] .brand-lockup .name, .dark-band .tc-word { background: linear-gradient(180deg, #ffffff 0%, #d9d9d9 40%, #8d8d8d 58%, #e9e9e9 100%); -webkit-background-clip: text; background-clip: text; color: #e9e9e9; }
html[data-theme="dark"] .brand-lockup .name .c2, .dark-band .tc-word .c2 { background: linear-gradient(170deg, #d9fff0 0%, #5ef0b0 35%, #19b56d 70%, #0b6b40 100%); -webkit-background-clip: text; background-clip: text; color: #5ef0b0; }
.brand-lockup .parent { margin-top: 4px; }
.brand-lockup .parent { letter-spacing: .12em; text-transform: uppercase; font-size: 9.5px; }
.portal-sidebar .brand-lockup, .sx-drawer .brand-lockup { padding-left: 52px; }
.portal-sidebar .brand-lockup::before, .sx-drawer .brand-lockup::before { width: 44px; height: 28px; }
.portal-sidebar .brand-lockup .name, .sx-drawer .brand-lockup .name { font-size: 17px !important; }
@media (max-width: 380px) { .brand-lockup { padding-left: 52px; } .brand-lockup::before { width: 44px; height: 28px; } .brand-lockup .name { font-size: 18px !important; } }
.foot-logo { display: inline-block; margin-bottom: 10px; }
.foot-logo img { width: auto; height: 60px; display: block; }
.ssr-logo { width: 120px; height: 120px; display: block; margin-bottom: 12px; }
.portal-sidebar-header { flex-wrap: wrap; row-gap: 8px; height: auto; min-height: 72px; padding-top: 12px; padding-bottom: 12px; }

@media (max-width: 430px) { .sx-header .brand-lockup { padding-left: 44px; } .sx-header .brand-lockup::before { width: 38px; height: 24px; } .sx-header .brand-lockup .name { font-size: 16px !important; } }
/* Logged in: the header also holds the account photo, so the name gets smaller sooner, and only the TC mark shows on the narrowest phones. */
@media (max-width: 520px) { html[data-role]:not([data-role="guest"]) .sx-header .brand-lockup { padding-left: 44px; } html[data-role]:not([data-role="guest"]) .sx-header .brand-lockup::before { width: 38px; height: 24px; } html[data-role]:not([data-role="guest"]) .sx-header .brand-lockup .name { font-size: 16px !important; } }
@media (max-width: 380px) { html[data-role]:not([data-role="guest"]) .sx-header .brand-lockup { padding-left: 0; width: 40px; min-height: 26px; } html[data-role]:not([data-role="guest"]) .sx-header .brand-lockup .name, html[data-role]:not([data-role="guest"]) .sx-header .brand-lockup .parent { display: none; } }
/* the site-wide font rule must not replace the wordmark font */
body .brand-lockup .name:not(#_), body .brand-lockup .name .c2:not(#_), body .tc-word:not(#_), body .tc-word .c2:not(#_) { font-family: 'Russo One', 'Plus Jakarta Sans', system-ui, sans-serif !important; font-weight: 400 !important; }

/* 2026-11-13 fix: brand signup — Monthly Budget select overflowing the card.
   Grid "1fr" columns grow to the widest <select> option; clamp them. */
.field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-row > .field { min-width: 0; }
.field select, .field input, .field textarea { max-width: 100%; min-width: 0; box-sizing: border-box; }
@media (max-width: 640px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
/* Brand signup: Category + Budget each get a full row so the full ₹ range is readable */
.field-row:has(#bsBudget) { grid-template-columns: minmax(0, 1fr); gap: 0; }
/* 2026-11-13: short brand signup form */
.tc-opt { font-weight: 400; color: var(--text-faint); font-size: 12px; }
.tc-pw { position: relative; }
.tc-pw input { width: 100%; padding-right: 64px; }
.tc-pw-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--accent); font-weight: 600; font-size: 12.5px; cursor: pointer; padding: 6px 8px; }
.tc-chips-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tc-chips-pick button { padding: 11px 6px; border-radius: 12px; border: 1px solid var(--border, rgba(0,0,0,.12)); background: var(--surface-2, #f3f5f4); color: var(--text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s; }
.tc-chips-pick button:hover { border-color: var(--accent); }
.tc-chips-pick button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 420px) { .tc-chips-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tc-more { margin: 4px 0 18px; }
.tc-more > summary { cursor: pointer; list-style: none; color: var(--accent); font-weight: 600; font-size: 13.5px; }
.tc-more > summary::-webkit-details-marker { display: none; }
.tc-more[open] > summary { margin-bottom: 2px; }
/* 2026-11-13 v2: one-box category search + compact budget bar */
.tc-combo { position: relative; }
.tc-combo-in { width: 100%; padding-right: 36px !important; }
.tc-combo.picked .tc-combo-in { font-weight: 600; }
.tc-combo-caret { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-faint); font-size: 12px; }
.tc-combo-list { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; max-height: 260px; overflow-y: auto; background: var(--surface, #fff); border: 1px solid var(--border, rgba(0,0,0,.12)); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.14); padding: 6px; }
.tc-combo.open .tc-combo-list { display: block; }
.tc-combo-g { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); padding: 8px 10px 4px; }
.tc-combo-o { padding: 9px 10px; border-radius: 8px; font-size: 14px; cursor: pointer; color: var(--text); }
.tc-combo-o:hover, .tc-combo-o.on { background: var(--accent-soft, rgba(16,185,129,.12)); color: var(--accent); font-weight: 600; }
.tc-combo-none { padding: 12px 10px; font-size: 13px; color: var(--text-faint); }
.tc-seg { display: flex; background: var(--surface-2, #f3f5f4); border: 1px solid var(--border, rgba(0,0,0,.1)); border-radius: 999px; padding: 3px; gap: 2px; }
.tc-seg button { flex: 1 1 0; min-width: 0; height: 32px; border: 0; border-radius: 999px; background: transparent; color: var(--text-dim); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.tc-seg button:hover { color: var(--text); }
.tc-seg button.on { background: var(--accent); color: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
/* 2026-11-13 v3: budget currency switch + 6 options */
.tc-budget-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tc-cur { display: inline-flex; border: 1px solid var(--border, rgba(0,0,0,.1)); border-radius: 999px; padding: 2px; background: var(--surface-2, #f3f5f4); }
.tc-cur button { border: 0; background: transparent; border-radius: 999px; padding: 3px 9px; font: inherit; font-size: 11.5px; font-weight: 700; color: var(--text-dim); cursor: pointer; }
.tc-cur button.on { background: var(--surface, #fff); color: var(--accent); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.tc-seg button { padding: 0 2px; }
@media (max-width: 420px) { .tc-seg button { font-size: 11.5px; } }
/* 2026-11-13 v4: country picker on brand signup */
.tc-country { position: relative; }
.tc-country input { width: 100%; }
/* 2026-11-13 v5: short creator signup */
.tc-money { display: flex; align-items: center; border: 1px solid var(--border, rgba(0,0,0,.12)); border-radius: 12px; background: var(--surface-2, #f3f5f4); overflow: hidden; }
.tc-money > span { padding: 0 4px 0 14px; font-weight: 700; color: var(--text-dim); }
.tc-money input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.tc-money:focus-within { border-color: var(--accent); }
.tc-note { font-size: 12px; color: var(--text-dim); background: var(--surface-2, #f3f5f4); border-radius: 10px; padding: 8px 10px; line-height: 1.45; }
#csPlatformSeg button { font-size: 13px; }
/* 2026-11-13 v6: compact creator signup — two columns even on phones */
.tc-compact .field { margin-bottom: 12px; gap: 5px; }
.tc-compact .field label { font-size: 12.5px; }
.tc-compact .field input, .tc-compact .field select { padding: 10px 12px; font-size: 14px; }
.tc-compact .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.tc-compact .tc-pw input { padding-right: 52px; }
.tc-compact .tc-pw-eye { font-size: 11.5px; padding: 4px 6px; }
.tc-compact .tc-budget-head { margin-bottom: 1px; }
.tc-compact .tc-seg-sm button { height: 36px; font-size: 12.5px; }
.tc-compact .tc-seg-sm { padding: 2px; }
.tc-compact .tc-money input { padding-left: 4px; }
.tc-compact .tc-combo-in { padding-right: 28px !important; }
.tc-compact .tc-combo-caret { right: 10px; }
.tc-compact #tcnSocial { margin-bottom: 10px; }
.tc-compact .tc-cur button { white-space: nowrap; font-size: 12px; padding: 4px 10px; }
.tc-compact .tcn-sub { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px !important; }
.tc-compact .tc-seg button { height: 32px; }
.tc-compact .tc-combo-list, .tc-compact .tcg-list { min-width: 220px; }
.tc-compact .field-row > .field:last-child .tcg-list { left: auto; right: 0; }
