/* Lomara — visual system v5 «Lomi». Soft blush surfaces, raspberry accent, outlined sticker icons, rounded display type and the cat Lomi. No gradient text/buttons, no glass. */
@font-face{font-family:Vazirmatn;font-weight:100 900;font-display:swap;src:url(vazirmatn-arabic-wght-normal.woff2) format("woff2");unicode-range:U+0600-06FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE80-FEFC}
@font-face{font-family:Vazirmatn;font-weight:100 900;font-display:swap;src:url(vazirmatn-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Baloo;font-weight:400 800;font-display:swap;src:url(baloo-bhaijaan-2-arabic-wght-normal.woff2) format("woff2");unicode-range:U+0600-06FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE80-FEFC}
:root{
  --bg:#fffafb;--bg-2:#fff0f4;--surface:#ffffff;--sunk:#fbe5ed;--ink:#2c1a27;--ink-2:#6b5262;--ink-3:#7c6777;--line:#f6dde6;--line-2:#ebc9d6;
  --plum:#c42a60;--plum-2:#a82050;--on-plum:#ffffff;--rose:#b8245a;--rose-tint:#ffe4ed;
  --pink:#ff7aa5;--pink-tint:#ffe9f0;--pink-soft:#ffb6cb;
  --lilac:#6d49b8;--lilac-tint:#f1eafc;--lilac-soft:#d6c4f2;
  --peach:#a14d22;--peach-tint:#ffeadc;--peach-soft:#ffcba4;
  --sky:#1f6fa8;--sky-tint:#e3f3fd;--sky-soft:#a8defa;
  --mint:#2a7656;--mint-tint:#e4f5ec;--sun:#8a6200;--sun-tint:#fff4cf;--sun-soft:#ffe58f;
  --amber:#94580b;--amber-tint:#faf1e1;--red:#ad2b2b;--red-tint:#fbeaea;
  --mono:ui-monospace,"SF Mono","Cascadia Mono",Menlo,Consolas,monospace;
  --display:Baloo,Vazirmatn,Tahoma,sans-serif;
  --r-sm:12px;--r:16px;--r-lg:22px;--r-xl:30px;
  --sh-1:0 1px 2px rgba(120,40,80,.06);--sh-2:0 14px 34px -16px rgba(150,40,95,.30);--sh-dev:0 34px 70px -34px rgba(60,20,50,.5);--sh-pop:0 8px 18px -8px rgba(196,42,96,.55);
  --hdr:64px;--tab:64px;
}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){
  --bg:#160f17;--bg-2:#1e1520;--surface:#211724;--sunk:#2c1e2f;--ink:#f8ecf2;--ink-2:#cdb7c4;--ink-3:#a58fa0;--line:#33243a;--line-2:#46324c;
  --plum:#ff7fae;--plum-2:#ff9bc0;--on-plum:#2c1a27;--rose:#ff9bc0;--rose-tint:#3a1f2d;
  --pink:#ff7aa5;--pink-tint:#3a1f2d;--pink-soft:#8a3a58;
  --lilac:#c5aaf2;--lilac-tint:#2a2038;--lilac-soft:#6b55a0;
  --peach:#ffb48a;--peach-tint:#3a2619;--peach-soft:#9a6a48;
  --sky:#8ccdf2;--sky-tint:#16283a;--sky-soft:#3b6f94;
  --mint:#83cfb0;--mint-tint:#162a22;--sun:#f1cd63;--sun-tint:#342b12;--sun-soft:#a88a2c;
  --amber:#e2ad62;--amber-tint:#302512;--red:#f19590;--red-tint:#341b1b;
  --sh-1:0 1px 2px rgba(0,0,0,.5);--sh-2:0 14px 34px -16px rgba(0,0,0,.8);--sh-dev:0 34px 70px -34px rgba(0,0,0,.9);--sh-pop:0 8px 18px -8px rgba(255,127,174,.4)}}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--hdr) + 12px)}
body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.85 Vazirmatn,Tahoma,sans-serif;direction:rtl;min-height:100vh;display:flex;flex-direction:column;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:var(--rose);text-decoration-thickness:1px;text-underline-offset:3px}a:hover{color:var(--ink)}
img,svg{max-width:100%}img{display:block}
button{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--rose);outline-offset:2px;border-radius:6px}
::selection{background:var(--rose-tint);color:var(--ink)}
.wrap{width:100%;max-width:1160px;margin:0 auto;padding:0 20px}
.narrow{max-width:760px}
.ico{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.mono{font-family:var(--mono);direction:ltr;unicode-bidi:isolate}
.sr{position:absolute!important;top:0;inset-inline-start:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
a.sr:focus{width:auto;height:auto;clip-path:none;z-index:60;background:var(--ink);color:var(--surface);padding:10px 16px;border-radius:0 0 10px 10px}

/* ── header ── */
header.top{position:sticky;top:0;z-index:40;height:var(--hdr);flex:none;background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
header.top .wrap{display:flex;align-items:center;gap:26px;height:100%}
.brand{display:flex;align-items:center;gap:9px;font-family:var(--display);font-weight:800;font-size:21px;color:var(--ink);text-decoration:none;flex:none}
.brand:hover{color:var(--ink)}
.brand img{width:32px;height:32px;border-radius:9px}
nav.main{display:flex;gap:4px;flex:1;min-width:0}
nav.main a{white-space:nowrap;color:var(--ink-2);text-decoration:none;padding:6px 10px;font-size:15px;font-weight:500;border-radius:8px}
nav.main a:hover{color:var(--ink);background:var(--sunk)}
nav.main a[aria-current=page]{color:var(--ink);font-weight:700}
.hdr-actions{display:flex;gap:6px;align-items:center;flex:none}
@media (max-width:960px){header.top nav.main,header.top .hdr-actions .hide-m{display:none}header.top .wrap{justify-content:space-between}}

/* ── bottom tab bar (mobile) ── */
nav.tabbar{display:none}
@media (max-width:960px){
  nav.tabbar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;inset:auto 0 0 0;z-index:40;height:calc(var(--tab) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--line);border-radius:22px 22px 0 0;box-shadow:0 -12px 30px -20px rgba(150,40,95,.4)}
  nav.tabbar a{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--ink-3);text-decoration:none;font-size:11.5px;font-weight:700}
  nav.tabbar a .ico{width:24px;height:24px;transition:transform .25s cubic-bezier(.3,1.6,.5,1)}
  nav.tabbar a[aria-current=page]{color:var(--plum)}
  nav.tabbar a[aria-current=page] .ico{stroke-width:2.1;transform:translateY(-1px) scale(1.1)}
  nav.tabbar a[aria-current=page]::before{content:"";position:absolute;z-index:-1;top:8px;width:48px;height:30px;border-radius:999px;background:var(--pink-tint)}
  nav.tabbar a.tab-cat{justify-content:flex-end;padding-bottom:7px}
  nav.tabbar a.tab-cat::before{display:none}
  nav.tabbar .tc{display:grid;place-items:center;width:58px;height:58px;margin-top:-34px;border-radius:50%;background:var(--pink-tint);border:4px solid var(--surface);box-shadow:0 8px 16px -8px rgba(150,40,95,.55),inset 0 0 0 2px var(--pink-soft);transition:transform .25s cubic-bezier(.3,1.6,.5,1)}
  nav.tabbar .tc .lomi{width:46px;height:auto;margin-top:2px}
  nav.tabbar a.tab-cat:active .tc{transform:scale(.92)}
  nav.tabbar a.tab-cat[aria-current=page] .tc{background:var(--pink-soft)}
  body:not(.app) main{padding-bottom:calc(var(--tab) + 32px)}
  body:not(.app) footer.foot{padding-bottom:calc(var(--tab) + 26px)}
}

/* ── type ── */
main{flex:1;padding:28px 0 80px}
main.flush{padding-top:0}
h1{font:800 clamp(30px,4.4vw,48px)/1.35 var(--display);margin:0 0 14px;letter-spacing:-.2px}
h1 .soft,h2 .soft{color:var(--ink-3)}
h2{font:800 clamp(23px,2.9vw,32px)/1.45 var(--display);margin:0 0 10px;letter-spacing:-.1px}
h3{font-size:17px;line-height:1.6;margin:0 0 4px;font-weight:700}
p{margin:0 0 12px}
.lead{font-size:clamp(16.5px,1.9vw,18.5px);color:var(--ink-2);max-width:58ch;line-height:1.9}
.eyebrow{display:block;font-size:13.5px;font-weight:600;color:var(--rose);margin-bottom:8px}
.muted{color:var(--ink-2)}.faint{color:var(--ink-3)}.small{font-size:14px}.tiny{font-size:12.5px}
section.blk{padding:88px 0 0}
section.alt{background:var(--bg-2);padding:72px 0;margin-top:88px}
.sh{max-width:640px;margin:0 0 36px}
.sh p{color:var(--ink-2);font-size:17px;margin:0}
.blk-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:26px;flex-wrap:wrap}
.blk-head p{margin:0;color:var(--ink-2)}
@media (max-width:700px){section.blk{padding-top:64px}section.alt{margin-top:64px;padding:56px 0}}

/* ── buttons ── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:15.5px;line-height:1;height:48px;padding:0 20px;border-radius:999px;border:1px solid transparent;cursor:pointer;background:var(--plum);color:var(--on-plum);text-decoration:none;transition:background .15s,border-color .15s,color .15s;white-space:nowrap}
.btn:not(.ghost):not(.quiet):not(.white){box-shadow:var(--sh-pop)}
.btn:hover{color:var(--on-plum);background:var(--plum-2)}
.btn:active{transform:translateY(1px) scale(.985)}
.btn.rose,.btn.grad{background:var(--plum);color:var(--on-plum)}.btn.rose:hover,.btn.grad:hover{background:var(--plum-2);color:var(--on-plum)}
.btn.ghost{background:var(--surface);color:var(--ink);border-color:var(--line-2);box-shadow:none}.btn.ghost:hover{background:var(--pink-tint);border-color:var(--pink-soft);color:var(--ink)}
.btn.quiet{background:transparent;color:var(--ink-2);padding:0 10px}.btn.quiet:hover{background:var(--sunk);color:var(--ink)}
.btn.white{background:#fff;color:#1d1518}.btn.white:hover{background:#f4f0ef;color:#1d1518}
.btn.sm{height:38px;padding:0 16px;font-size:14px;border-radius:999px}
.btn.lg{height:54px;padding:0 24px;font-size:16.5px}
.btn .ico{width:19px;height:19px}
.btn[disabled]{opacity:.5;cursor:not-allowed}
.link{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--ink);text-decoration:none}
.link .ico{width:18px;height:18px}
.link:hover{color:var(--rose)}
.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}

/* ── surfaces ── */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:22px 24px}
.card.pad-lg{padding:28px 30px}
@media (max-width:600px){.card{padding:18px}.card.pad-lg{padding:20px 18px}}
.grid{display:grid;gap:18px}.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:960px){.g3,.g4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.g2,.g3,.g4{grid-template-columns:1fr}}
.notice{display:flex;gap:12px;align-items:flex-start;border-radius:var(--r);padding:14px 16px;font-size:14.5px;line-height:1.85;background:var(--bg-2);color:var(--ink)}
.notice .ico{color:var(--ink-2);margin-top:2px}
.notice b{font-weight:700}
.list{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);overflow:hidden}
.li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:14px 18px;border-bottom:1px solid var(--line);font-size:15px}
.li:last-child{border-bottom:0}
.li .k{color:var(--ink-2);flex:none}.li .v{font-weight:600;text-align:left}

/* ── phone (real app screenshots) ── */
.phone{position:relative;width:260px;aspect-ratio:9/19.3;border-radius:42px;background:#121012;padding:8px;box-shadow:var(--sh-dev),inset 0 0 0 1px #2c262a}
.phone img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:35px;background:#fff}
.phone::before{content:"";position:absolute;top:17px;left:50%;width:78px;height:22px;border-radius:20px;background:#0a090a;transform:translateX(-50%);z-index:2}

/* ── landing hero ── */
.hero{padding:56px 0 24px}
.hero .wrap{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.hero h1{font-size:clamp(34px,5vw,56px);line-height:1.25;margin-bottom:18px}
.hero .lead{margin-bottom:28px}
.hero .ctas{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.fine{font-size:13.5px;color:var(--ink-3);margin:0}
.hvis{position:relative;height:580px}
.hphoto{position:absolute;inset:0 0 0 22%;border-radius:var(--r-xl);overflow:hidden;background:var(--bg-2);margin:0}
.hphoto img{width:100%;height:100%;object-fit:cover;object-position:70% 55%}
.hvis .phone{position:absolute;left:0;bottom:-28px;z-index:2}
@media (max-width:960px){.hero{padding-top:28px}.hero .wrap{grid-template-columns:1fr;gap:36px}.hvis{height:500px;max-width:520px;width:100%;margin:0 auto}.hvis .phone{width:220px}}
@media (max-width:480px){.hvis{height:430px}.hvis .phone{width:188px;bottom:-20px}.hphoto{inset:0 0 0 26%}.hero .ctas .btn{flex:1 1 100%}}

/* ── feature rows ── */
.frow{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;padding:56px 0;border-top:1px solid var(--line)}
.sh + .frow{border-top:0;padding-top:12px}
.frow .shot{background:var(--bg-2);border-radius:var(--r-xl);display:flex;justify-content:center;align-items:flex-end;height:520px;overflow:hidden;position:relative}
.frow .shot .phone{width:268px;margin-bottom:-90px}
.frow .shot.photo{align-items:stretch}.frow .shot.photo img.bgimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.frow .shot.photo .phone{position:relative;z-index:1;align-self:flex-end}
.frow.rev .tx{order:2}
.frow h2{margin-bottom:12px}
.frow p{color:var(--ink-2);font-size:16.5px}
.frow ul{list-style:none;padding:0;margin:16px 0 22px;display:grid;gap:10px}
.frow li{display:flex;gap:10px;align-items:flex-start;font-size:15.5px}
.frow li .ico{width:20px;height:20px;color:var(--mint);margin-top:4px}
@media (max-width:860px){.frow{grid-template-columns:1fr;gap:28px;padding:44px 0}.frow.rev .tx{order:0}.frow .shot{height:420px}.frow .shot .phone{width:220px;margin-bottom:-70px}}

/* ── directory list (tools) ── */
.tlist{display:grid;grid-template-columns:1fr 1fr;column-gap:40px}
@media (max-width:760px){.tlist{grid-template-columns:1fr}}
.titem{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink)}
.titem:hover{color:var(--ink)}.titem:hover h3{color:var(--rose)}
.titem img{width:68px;height:68px;border-radius:14px;object-fit:cover;flex:none;background:var(--bg-2)}
.titem .tt{flex:1;min-width:0}
.titem h3{font-size:16.5px;margin:0 0 2px;transition:color .15s}
.titem p{margin:0;color:var(--ink-2);font-size:14.5px;line-height:1.7}
.titem>.ico{color:var(--ink-3);width:18px;height:18px}
.tool{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:20px;transition:border-color .15s;height:100%}
.tool:hover{color:var(--ink);border-color:var(--line-2)}
.tool .ti{width:40px;height:40px;display:grid;place-items:center;color:var(--ink-2);margin-bottom:4px}
.tool h3{margin:0}
.tool p{margin:0;color:var(--ink-2);font-size:14.5px;line-height:1.75}
.tool .ex{margin-top:auto;padding-top:10px;font-size:12.5px;color:var(--ink-3)}
.tool.img{padding:0;overflow:hidden}.tool.img img{width:100%;height:180px;object-fit:cover}.tool.img .tb{padding:18px 20px 20px;display:flex;flex-direction:column;gap:6px;flex:1}

/* ── steps ── */
ol.flow{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:28px;counter-reset:f}
@media (max-width:760px){ol.flow{grid-template-columns:1fr;gap:20px}}
ol.flow li{counter-increment:f;border-top:2px solid var(--ink);padding-top:16px}
ol.flow li::before{content:counter(f,persian);display:block;font-weight:800;font-size:15px;color:var(--ink-3);margin-bottom:6px}
ol.flow p{margin:0;color:var(--ink-2);font-size:15px}

/* ── faq ── */
details{border-bottom:1px solid var(--line)}
details:first-of-type{border-top:1px solid var(--line)}
summary{cursor:pointer;font-weight:700;padding:18px 0;list-style:none;display:flex;justify-content:space-between;gap:12px;font-size:16px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-weight:300;font-size:24px;line-height:1;color:var(--ink-3);transition:transform .2s}
details[open] summary::after{transform:rotate(45deg)}
details>div{padding:0 0 20px;color:var(--ink-2);max-width:68ch}

/* ── install block ── */
.iblock{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center;background:var(--bg-2);border-radius:var(--r-xl);padding:40px 44px}
.iblock h2{margin-bottom:8px}.iblock p{color:var(--ink-2);margin-bottom:22px}
.iblock .appicon{width:112px;height:112px;border-radius:26px;box-shadow:var(--sh-2)}
@media (max-width:700px){.iblock{grid-template-columns:1fr;padding:28px 22px}.iblock .appicon{display:none}}

/* ── footer ── */
footer.foot{border-top:1px solid var(--line);padding:44px 0 28px;color:var(--ink-3);font-size:14px;background:var(--bg-2)}
footer.foot .fgrid{display:grid;grid-template-columns:1.3fr repeat(4,1fr);gap:24px}
footer.foot h4{margin:0 0 10px;color:var(--ink);font-size:14px;font-weight:700}
footer.foot nav{display:flex;flex-direction:column;gap:6px}
footer.foot a{color:var(--ink-2);text-decoration:none}footer.foot a:hover{color:var(--ink)}
footer.foot .fb{display:flex;flex-direction:column;gap:10px;max-width:300px}
footer.foot .fb p{margin:0;color:var(--ink-2)}
footer.foot .legal{margin-top:30px;padding-top:18px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
@media (max-width:860px){footer.foot .fgrid{grid-template-columns:1fr 1fr}footer.foot .fb{grid-column:1/-1}}

/* ── page header (inner pages) ── */
.pageh{position:relative;padding:30px 0 28px;background:var(--bg-2);border-radius:0 0 34px 34px;margin-bottom:26px;overflow:hidden}
.pageh::after{content:"";position:absolute;inset-inline-start:-14px;top:14px;width:132px;height:92px;opacity:.9;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 92'%3E%3Cpath d='M30 8c1 14 7 20 20 21-13 1-19 7-20 21-1-14-7-20-20-21 13-1 19-7 20-21z' fill='%23ffb6cb'/%3E%3Cpath d='M92 44c.8 9 4.500 12.500 13 13-8.500.5-12.200 4-13 13-.8-9-4.500-12.500-13-13 8.500-.5 12.200-4 13-13z' fill='%23d6c4f2'/%3E%3Ccircle cx='78' cy='16' r='4' fill='%23ffe58f'/%3E%3C/svg%3E") no-repeat}
.pageh .wrap{position:relative;z-index:1}
.pageh h1{font-size:clamp(28px,3.8vw,40px);margin-bottom:8px}
.pageh .lead{margin:0}
.crumbs{font-size:13px;color:var(--ink-3);margin-bottom:12px}.crumbs a{color:var(--ink-3);text-decoration:none}.crumbs a:hover{color:var(--ink)}

/* ── tool layout & forms ── */
.tlayout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}
.tlayout aside{position:sticky;top:calc(var(--hdr) + 16px);display:grid;gap:12px}
@media (max-width:960px){.tlayout{grid-template-columns:1fr}.tlayout aside{position:static}}
.aside-card{background:var(--bg-2);border-radius:var(--r-lg);padding:18px 20px;font-size:14.5px}
.aside-card h3{font-size:15px;display:flex;align-items:center;gap:8px;margin-bottom:6px}
.aside-card h3 .ico{width:19px;height:19px;color:var(--ink-2)}
.aside-card ul{margin:6px 0 0;padding-inline-start:18px;color:var(--ink-2)}.aside-card li{margin-bottom:4px}
.aside-card p{margin:0;color:var(--ink-2)}
.fsec{padding:20px 0;border-bottom:1px solid var(--line)}.fsec:first-child{padding-top:0}.fsec:last-child{border-bottom:0;padding-bottom:0}
.fsec>h3{display:flex;align-items:center;gap:8px;font-size:16px;margin-bottom:6px}
.fsec>h3 .ico{color:var(--ink-2);width:20px;height:20px}
label.f{display:block;font-weight:700;font-size:14.5px;margin:16px 0 8px}
.hint{font-size:13px;color:var(--ink-3);margin:-4px 0 8px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{font-size:14.5px;padding:8px 15px;border-radius:999px;border:1px solid var(--line-2);background:var(--surface);color:var(--ink);cursor:pointer;line-height:1.4;transition:background .12s,border-color .12s,color .12s}
.chip:hover{border-color:var(--pink-soft);background:var(--pink-tint)}
.chip[aria-pressed=true]{background:var(--plum);border-color:var(--plum);color:var(--on-plum);box-shadow:var(--sh-pop)}
input[type=text],input[type=tel],input[type=date],input[type=number],textarea,select{width:100%;font:inherit;font-size:15.5px;padding:12px 14px;border-radius:12px;border:1px solid var(--line-2);background:var(--surface);color:var(--ink);transition:border-color .12s,box-shadow .12s}
textarea{min-height:130px;resize:vertical;line-height:1.85}
textarea.inci{font-family:var(--mono);font-size:13.5px;direction:ltr;text-align:left}
input:focus,textarea:focus,select:focus{outline:none;border-color:var(--ink-3);box-shadow:0 0 0 3px color-mix(in srgb,var(--ink-3) 18%,transparent)}
.drop{border:1px dashed var(--line-2);border-radius:var(--r);padding:24px;text-align:center;background:var(--bg-2);cursor:pointer;color:var(--ink-2);display:flex;flex-direction:column;align-items:center;gap:6px;transition:border-color .12s;font-size:14.5px}
.drop>.ico{width:28px;height:28px;color:var(--ink-2)}
.drop:hover,.drop.on{border-color:var(--ink-3);color:var(--ink)}
.drop img{max-height:220px;border-radius:12px;margin-top:8px}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.err{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:var(--red);background:var(--red-tint);border-radius:12px;padding:11px 14px;margin-top:14px;font-size:14.5px}
.spin{display:inline-block;width:16px;height:16px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:sp .8s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
.pnote{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;color:var(--ink-2);background:var(--bg-2);border-radius:12px;padding:11px 14px;margin-bottom:20px}
.pnote .ico{color:var(--ink-2);width:19px;height:19px}
.pnote a{font-weight:700;margin-inline-start:auto;text-decoration:none;color:var(--ink)}

/* ── results ── */
.res{margin-top:24px;display:grid;gap:14px}
.res:empty{display:none}
.res ul,.res ol{margin:0;padding-inline-start:20px}.res li{margin-bottom:5px}
.res .card h3{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.res .card h3 .ico{color:var(--ink-2);width:20px;height:20px}
.verdict{display:flex;gap:14px;align-items:flex-start}
.verdict .vi{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center}
.verdict .vi .ico{width:22px;height:22px}
.v-ok .vi{background:var(--mint-tint);color:var(--mint)}.v-caution .vi{background:var(--amber-tint);color:var(--amber)}.v-warning .vi{background:var(--red-tint);color:var(--red)}.v-info .vi{background:var(--sunk);color:var(--ink-2)}
.verdict .vt{font-weight:800;font-size:18px;line-height:1.5}
.v-ok .vt{color:var(--mint)}.v-caution .vt{color:var(--amber)}.v-warning .vt{color:var(--red)}
.verdict p{margin:4px 0 0}
.flag{position:relative;padding:12px 0;padding-inline-start:16px;border-bottom:1px solid var(--line)}
.flag:last-child{border:0}
.flag::before{content:"";position:absolute;inset-inline-start:0;top:20px;width:7px;height:7px;border-radius:50%;background:var(--ink-3)}
.flag.warning::before{background:var(--red)}.flag.caution::before{background:var(--amber)}.flag.ok::before{background:var(--mint)}
.flag b{font-weight:700}.flag .d{color:var(--ink-2);font-size:14.5px}
.tag{display:inline-block;font-size:12px;font-weight:700;padding:1px 9px;border-radius:999px;vertical-align:middle}
.tag.ok{background:var(--mint-tint);color:var(--mint)}.tag.caution{background:var(--amber-tint);color:var(--amber)}.tag.warning{background:var(--red-tint);color:var(--red)}.tag.info{background:var(--sunk);color:var(--ink-2)}
.cols2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:700px){.cols2{grid-template-columns:1fr}}

/* ── routine result ── */
.rt-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;margin-bottom:6px}
.rt-head h3{font-size:19px;margin:0}
.rt-cols{display:grid;grid-template-columns:1fr 1fr;gap:0 32px}
@media (max-width:700px){.rt-cols{grid-template-columns:1fr}}
.rt-sec{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--ink-2);margin:18px 0 4px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.rt-sec .ico{width:18px;height:18px}
.step{display:grid;grid-template-columns:28px 1fr;gap:2px 12px;padding:12px 0;border-bottom:1px solid var(--line)}
.step:last-child{border-bottom:0}
.step .n{grid-row:span 2;width:26px;height:26px;border-radius:50%;background:var(--sunk);color:var(--ink-2);display:grid;place-items:center;font-size:13px;font-weight:700}
.step b{font-weight:700}.step span{color:var(--ink-2);font-size:14.5px;line-height:1.75}

/* ── chat (app shell) ── */
body.app{height:100dvh;min-height:0;overflow:hidden}
.chat-shell{flex:1;min-height:0;display:grid;grid-template-columns:290px minmax(0,1fr);max-width:1280px;width:100%;margin:0 auto}
.chat-shell>*{min-width:0}
.chat-side{border-inline-end:1px solid var(--line);padding:22px 16px;overflow-y:auto;display:flex;flex-direction:column;gap:18px;background:var(--bg-2)}
.chat-side .card{padding:16px;border-radius:var(--r)}
.chat-side h3{font-size:13px;color:var(--ink-3);font-weight:700;margin:0 0 6px;padding:0 8px}
.side-links{display:grid;gap:1px}
.side-links a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;color:var(--ink);text-decoration:none;font-size:14.5px}
.side-links a:hover{background:var(--surface);color:var(--ink)}
.side-links .ico{color:var(--ink-3);width:19px;height:19px}
.chat-main{display:flex;flex-direction:column;min-height:0;min-width:0}
.chat-head{display:flex;align-items:center;gap:11px;padding:10px 20px;border-bottom:1px solid var(--line);background:var(--surface);flex:none}
.chat-head img{width:38px;height:38px;border-radius:11px}
.chat-head b{display:block;font-size:15.5px;line-height:1.4}
.chat-head small{display:flex;align-items:center;gap:6px;color:var(--ink-3);font-size:12.5px}
.chat-head small::before{content:"";width:7px;height:7px;border-radius:50%;background:#34b06a}
.chat-head .sp{flex:1}
.chat-bar{display:flex;align-items:center;gap:8px;padding:9px 20px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none;flex:none}
.chat-bar::-webkit-scrollbar{display:none}
.chat-bar .chip{padding:5px 13px;font-size:13.5px;flex:none}
.chat-bar .lbl{font-size:13px;color:var(--ink-3);flex:none}
.chat-bar .sp{flex:1}
.msgs{flex:1;overflow-y:auto;padding:26px 20px 12px;display:flex;flex-direction:column;gap:22px}
.msgs>*{width:100%;max-width:760px;margin-inline:auto}
.m{display:flex;gap:12px;align-items:flex-start}
.m .av{flex:none;width:30px;height:30px;border-radius:9px;overflow:hidden;margin-top:2px}
.m .av img{width:100%;height:100%}
.m .body{min-width:0;line-height:1.95;word-break:break-word}
.m.bot .body{flex:1}
.m.bot .body ul{margin:6px 0;padding-inline-start:20px}.m.bot .body li{margin-bottom:3px}
.m.me{flex-direction:row-reverse}
.m.me .body{background:var(--sunk);color:var(--ink);padding:10px 16px;border-radius:20px 20px 6px 20px;max-width:80%;white-space:pre-wrap}
.m.me img{max-width:220px;border-radius:12px;margin-bottom:8px}
.typing{display:inline-flex;gap:4px;padding:8px 0}.typing i{width:7px;height:7px;border-radius:50%;background:var(--ink-3);animation:bl 1.2s infinite}
.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}
@keyframes bl{0%,80%,100%{opacity:.25}40%{opacity:1}}
.empty{margin:auto;text-align:center;padding:10px 0 20px}
.empty>img{width:56px;height:56px;border-radius:16px;margin:0 auto 14px}
.empty h1{font-size:clamp(23px,3.4vw,30px);margin-bottom:6px}
.empty .start{display:flex;align-items:center;gap:14px;text-align:start;border:1px solid var(--line);border-radius:var(--r-lg);padding:16px 18px;margin:22px 0 0;background:var(--bg-2)}
.empty .start p{margin:0;color:var(--ink-2);font-size:14.5px}
.empty .start b{display:block;color:var(--ink);font-size:15.5px}
.empty .start .btn{flex:none}
.sugg{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px;text-align:start}
@media (max-width:600px){.sugg{grid-template-columns:1fr}.empty .start{flex-direction:column;align-items:stretch}}
.sugg button{display:flex;gap:10px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px 14px;cursor:pointer;font-size:14.5px;line-height:1.65;text-align:start;transition:border-color .12s}
.sugg button:hover{border-color:var(--line-2);background:var(--bg-2)}
.sugg .ico{color:var(--ink-3);width:19px;height:19px}
.composer{padding:10px 20px 16px;flex:none}
.composer>*{max-width:760px;margin-inline:auto}
.cbox,.ibox{display:flex;gap:6px;align-items:flex-end;background:var(--surface);border:1px solid var(--line-2);border-radius:24px;padding:5px;transition:border-color .12s}
.cbox:focus-within,.ibox:focus-within{border-color:var(--ink-3)}
.cbox textarea,.ibox input{border:0;box-shadow:none!important;min-height:44px;max-height:150px;resize:none;padding:10px 10px;background:transparent;border-radius:0}
.ibox{align-items:center}.ibox input{min-height:0}
.icon-btn{flex:none;width:42px;height:42px;border-radius:50%;border:0;background:transparent;color:var(--ink-2);cursor:pointer;display:grid;place-items:center}
.icon-btn:hover{background:var(--sunk);color:var(--ink)}
.icon-btn.send{background:var(--plum);color:var(--on-plum)}.icon-btn.send:hover{background:var(--plum-2)}
.icon-btn[disabled]{opacity:.45}
.attach{display:flex;align-items:center;gap:10px;margin-bottom:8px;font-size:13.5px;color:var(--ink-2)}.attach img{height:48px;border-radius:10px}
.cfoot{font-size:12px;color:var(--ink-3);text-align:center;margin-top:8px}
@media (max-width:960px){
  .chat-shell{grid-template-columns:1fr}
  .chat-side{display:none}
  .chat-head{padding:9px 14px}.chat-bar{padding:8px 14px}.msgs{padding:20px 14px 8px}.composer{padding:8px 10px 10px}
  body.app nav.tabbar{position:static;flex:none}
}

/* ── intake (AI profile consultation) ── */
.intake{display:flex;flex-direction:column;gap:16px}
.intake-head{display:flex;align-items:center;gap:12px}
.progress{flex:1;height:4px;border-radius:4px;background:var(--line);overflow:hidden}
.progress i{display:block;height:100%;background:var(--plum);transition:width .4s ease}
.thread{display:flex;flex-direction:column;gap:18px;padding:8px 0}
.quick{display:flex;flex-wrap:wrap;gap:8px}
.intake-foot{padding:14px 0 6px;border-top:1px solid var(--line);scroll-margin-bottom:16px}
@media (max-width:960px){.intake-foot{scroll-margin-bottom:calc(var(--tab) + 16px)}}
.intake-foot .ibox{margin-top:12px}
.intake-done{padding:8px 0}
.summary{background:var(--bg-2);border:0;margin-bottom:14px}
.summary p{margin:0;color:var(--ink-2)}

/* ── tables ── */
table.gt{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;font-size:15px}
table.gt th,table.gt td{padding:13px 15px;text-align:start;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.8}
table.gt th{background:var(--bg-2);white-space:nowrap;font-size:13.5px;color:var(--ink-2);font-weight:700}table.gt tr:last-child td{border:0}
@media (max-width:700px){table.gt thead{display:none}table.gt,table.gt tbody,table.gt tr,table.gt td{display:block;width:100%}table.gt tr{border-bottom:1px solid var(--line);padding:8px 0}table.gt td{border:0;padding:3px 16px}table.gt td::before{content:attr(data-l) ": ";color:var(--ink-3);font-size:13px}}

/* ── undertone / shelf / today ── */
.swatches{display:flex;flex-wrap:wrap;gap:12px}
.sw{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:12.5px;color:var(--ink-2);width:74px;text-align:center;line-height:1.5}
.sw i{width:48px;height:48px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.meter{height:8px;border-radius:999px;background:var(--sunk);overflow:hidden;display:flex;margin:10px 0 4px}
.meter i{display:block;height:100%}
.qcard{padding:18px 0;border-bottom:1px solid var(--line)}.qcard:first-child{padding-top:0}.qcard:last-child{border:0}
.qcard p{font-weight:700;margin-bottom:10px}
.shelf-item{display:grid;grid-template-columns:auto 1fr auto;gap:2px 14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.shelf-item:last-child{border:0}
.shelf-item .left{grid-row:span 2;text-align:center;min-width:70px;background:var(--sunk);border-radius:12px;padding:8px 6px}
.shelf-item .left b{display:block;font-size:20px;line-height:1.25}
.shelf-item .left span{font-size:11.5px;color:var(--ink-3)}
.shelf-item .nm{font-weight:700}.shelf-item .meta{font-size:13.5px;color:var(--ink-2);grid-column:2}
.shelf-item .rm{grid-row:span 2;grid-column:3}
.shelf-item.exp .left{background:var(--red-tint)}.shelf-item.exp .left b{color:var(--red)}
.shelf-item.soon .left{background:var(--amber-tint)}.shelf-item.soon .left b{color:var(--amber)}
.shelf-item.okk .left b{color:var(--mint)}
.check{display:flex;align-items:center;gap:12px;padding:12px 2px;border-bottom:1px solid var(--line);cursor:pointer;user-select:none}
.check:last-child{border:0}
.check input{appearance:none;-webkit-appearance:none;width:24px;height:24px;border-radius:50%;border:1.5px solid var(--line-2);display:grid;place-items:center;flex:none;cursor:pointer;margin:0;background:var(--surface);transition:background .12s,border-color .12s}
.check input:checked{background:var(--plum);border-color:var(--plum)}
.check input:checked::after{content:"";width:5px;height:10px;border:solid var(--on-plum);border-width:0 2px 2px 0;transform:rotate(45deg) translate(-1px,-1px)}
.check.done .t b{color:var(--ink-3);text-decoration:line-through}
.check .t small{display:block;color:var(--ink-3);font-size:13px}
.days{display:grid;grid-template-columns:repeat(14,1fr);gap:6px;margin-top:12px}
.days i{aspect-ratio:1;border-radius:50%;background:var(--sunk)}
.days i.h{background:color-mix(in srgb,var(--plum) 35%,var(--sunk))}.days i.f{background:var(--plum)}.days i.today{outline:2px solid var(--ink-3);outline-offset:2px}
.stat{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden}
.stat div{padding:14px 16px;border-inline-end:1px solid var(--line);min-width:0}
.stat div:last-child{border-inline-end:0}
.stat b{display:block;font-size:24px;line-height:1.3;font-weight:800}.stat span{font-size:12.5px;color:var(--ink-2);line-height:1.5;display:block}
@media (max-width:480px){.stat div{padding:12px}.stat b{font-size:20px}.stat span{font-size:11.5px}}

/* ── magazine ── */
.acard{display:flex;flex-direction:column;text-decoration:none;color:var(--ink);height:100%}
.acard:hover{color:var(--ink)}.acard:hover h3{color:var(--rose)}
.acard .cover{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:var(--r-lg);background:var(--bg-2)}
.acard .ab{padding:14px 2px 0;display:flex;flex-direction:column;gap:4px;flex:1}
.acard .k{font-size:12.5px;font-weight:600;color:var(--ink-3)}
.acard h3{font-size:17.5px;line-height:1.6;transition:color .15s}
.acard p{margin:0;color:var(--ink-2);font-size:14.5px}
.acard .rt{margin-top:auto;padding-top:6px;font-size:12.5px;color:var(--ink-3)}
.article{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:48px;align-items:start}
@media (max-width:960px){.article{grid-template-columns:1fr}}
.article aside{position:sticky;top:calc(var(--hdr) + 16px);display:grid;gap:12px}
@media (max-width:960px){.article aside{position:static}}
.a-cover{width:100%;height:clamp(200px,34vw,380px);object-fit:cover;border-radius:var(--r-xl);margin:6px 0 28px}
.prose{font-size:17.5px;line-height:2.05}
.prose h2{margin:38px 0 10px;font-size:24px}.prose h3{margin:22px 0 6px;font-size:19px}
.prose ul,.prose ol{padding-inline-start:22px}.prose li{margin-bottom:7px}
.prose .tldr{background:var(--bg-2);border-radius:var(--r-lg);padding:18px 22px;margin:0 0 24px;font-size:16.5px}
.prose .tldr b{color:var(--ink)}
.prose table.gt{font-size:15px;margin:12px 0}
.meta-line{font-size:13.5px;color:var(--ink-3);display:flex;gap:16px;flex-wrap:wrap;margin-bottom:6px}
.toc a{display:block;padding:6px 0;color:var(--ink-2);text-decoration:none;font-size:14.5px}.toc a:hover{color:var(--ink)}


/* ── stylist: try-on stage, look builder, lighting tiles ── */
.tryon{display:grid;grid-template-columns:minmax(0,1fr) 410px;grid-template-areas:"view panel" "ctl panel" "lights panel";gap:20px 28px;align-items:start}
.tr-view{grid-area:view;min-width:0}.tr-ctl{grid-area:ctl;min-width:0}.tr-panel{grid-area:panel;min-width:0}.tr-lights{grid-area:lights;min-width:0}
.tr-panel{position:sticky;top:calc(var(--hdr) + 16px)}
@media (max-width:960px){
  .tryon{display:block}
  .tr-view{position:sticky;top:var(--hdr);z-index:6;background:var(--bg);padding:8px 0 10px;margin:0 -20px;padding-inline:20px}
  .tr-ctl,.tr-panel,.tr-lights{margin-top:14px}.tr-panel{position:static}
}
.stage-box{position:relative;display:flex;align-items:center;justify-content:center;min-height:300px;background:var(--bg-2);border-radius:var(--r-xl);overflow:hidden}
.stage-box.on{outline:2px dashed var(--ink-3);outline-offset:-8px}
.stage-canvas{display:none;width:auto;height:auto;max-width:100%;max-height:min(72vh,820px)}
.stage-box:not([data-state=empty]) .stage-canvas{display:block}
.stage-box[data-state=empty] .stage-ph{display:flex}
.stage-ph{display:none;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:32px 24px;color:var(--ink-2);cursor:pointer;max-width:340px}
.stage-ph .ico{width:34px;height:34px;color:var(--ink-3);margin-bottom:4px}.stage-ph b{color:var(--ink);font-size:17px}.stage-ph span{font-size:14px;line-height:1.8}
.stage-msg{position:absolute;inset-inline:12px;bottom:12px;display:flex;align-items:center;gap:10px;justify-content:center;background:color-mix(in srgb,var(--surface) 94%,transparent);border:1px solid var(--line);border-radius:12px;padding:9px 14px;font-size:13.5px;color:var(--ink-2);box-shadow:var(--sh-1)}
.stage-box[data-state=loading] .stage-ph{display:none}
@media (max-width:960px){.stage-box{min-height:220px}.stage-canvas{max-height:44vh}}
.stage-bar{display:grid;gap:12px}
.stage-tools{margin-top:12px}
.samples{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sam{padding:0;border:2px solid transparent;border-radius:50%;background:none;cursor:pointer;line-height:0}
.sam img{width:44px;height:44px;border-radius:50%;object-fit:cover;border:1px solid var(--line-2)}
.sam:hover{border-color:var(--ink-3)}
.faceinput{display:flex;gap:14px;align-items:center;background:var(--bg-2);border-radius:var(--r);padding:12px 14px}
.fi-thumb{width:64px;height:auto;border-radius:12px;flex:none;object-fit:cover}
.fi-main{display:grid;gap:10px;min-width:0;flex:1}
.fi-status{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--ink-2);line-height:1.8}
.bsec{padding:14px 0;border-bottom:1px solid var(--line)}.bsec:first-child{padding-top:0}.bsec:last-child{border-bottom:0;padding-bottom:0}
.swlabel{font-size:14px;color:var(--ink-2);margin-bottom:9px}.swlabel b{color:var(--ink);font-weight:700}
.swrow{display:flex;flex-wrap:wrap;gap:9px}
.swb{width:34px;height:34px;border-radius:50%;border:0;cursor:pointer;padding:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.14);position:relative;transition:transform .12s}
.swb:hover{transform:scale(1.08)}
.swb[aria-pressed=true]{box-shadow:inset 0 0 0 1px rgba(0,0,0,.14),0 0 0 2px var(--bg),0 0 0 4px var(--ink)}
.swb.custom{display:grid;place-items:center;background:conic-gradient(#e0674f,#e8c15a,#7fb069,#5a8fc4,#8a6a9a,#c4566e,#e0674f);color:#fff;font-weight:700;font-size:18px;overflow:hidden}
.swb.custom input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;padding:0;border:0}
.swb.custom span{pointer-events:none;text-shadow:0 1px 2px rgba(0,0,0,.5)}
.toggle{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:14.5px;user-select:none}
.toggle input{appearance:none;-webkit-appearance:none;width:42px;height:24px;border-radius:999px;background:var(--line-2);position:relative;cursor:pointer;margin:0;flex:none;transition:background .15s}
.toggle input::after{content:"";position:absolute;top:3px;inset-inline-start:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.3);transition:inset-inline-start .15s}
.toggle input:checked{background:var(--plum)}.toggle input:checked::after{inset-inline-start:21px}
input[type=range]{width:100%;accent-color:var(--plum);height:28px;margin:0}
.ldots{display:inline-flex}.ldots i{width:16px;height:16px;border-radius:50%;margin-inline-end:-5px;box-shadow:0 0 0 2px var(--surface),inset 0 0 0 1px rgba(29,21,24,.14)}
.lights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ltile{display:flex;flex-direction:column;gap:6px;padding:0;background:none;border:0;cursor:pointer;text-align:center;font-size:12.5px;color:var(--ink-2);line-height:1.5}
.ltile canvas{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:12px;background:var(--bg-2);border:2px solid transparent;box-sizing:border-box}
.ltile[aria-pressed=true] canvas{border-color:var(--ink)}.ltile[aria-pressed=true] span{color:var(--ink);font-weight:700}
.tr-lights h3{display:flex;align-items:center;gap:8px;font-size:16px}.tr-lights h3 .ico{width:20px;height:20px;color:var(--ink-2)}
.tr-lights p{margin:2px 0 14px}
.spin{vertical-align:-3px}


/* ── stylist: shared bits ── */
.hsub{font-size:19px;margin:34px 0 4px;color:var(--ink)}
.opt{font-size:12.5px;font-weight:500;color:var(--ink-3);margin-inline-start:6px}
.lookline{display:flex;align-items:center;gap:12px;background:var(--bg-2);border-radius:var(--r);padding:12px 14px;font-size:14.5px;color:var(--ink-2);line-height:1.8}
.lookline b{color:var(--ink)}
.lookedit{margin-top:12px;border:0}.lookedit summary{padding:10px 0;font-size:14.5px;color:var(--rose)}
.lookedit>div{padding:6px 0 0}
.photos3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media (max-width:700px){.photos3{grid-template-columns:1fr}}
.photos3>div{display:grid;gap:8px;align-content:start}
.photos3 .drop{padding:16px 10px;min-height:150px;justify-content:center}
.photos3 .chips{gap:6px}.photos3 .chip{font-size:12.5px;padding:4px 10px}


/* ── stylist: results ── */
.seg{display:inline-flex;background:var(--sunk);border-radius:12px;padding:3px;gap:2px;max-width:100%;flex-wrap:wrap}
.seg button{border:0;background:transparent;color:var(--ink-2);padding:8px 14px;border-radius:9px;font-size:14.5px;cursor:pointer;line-height:1.4}
.seg button[aria-pressed=true]{background:var(--surface);color:var(--ink);font-weight:700;box-shadow:var(--sh-1)}
#modechips{margin-bottom:14px}
.pal{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:14px 12px}
.pal .p{display:grid;gap:5px;font-size:13px;line-height:1.6;align-content:start}
.pal .p i{display:block;height:52px;border-radius:12px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}
.pal .p b{font-weight:700;font-size:13.5px}.pal .p span{color:var(--ink-2)}
#out .card .pal+h3,#out .card h3+.pal{margin-top:6px}
.ocards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media (max-width:960px){.ocards{grid-template-columns:1fr}}
.ocard h3{font-size:17.5px;margin:2px 0 0}.ocard .vibe{margin:2px 0 0;color:var(--ink-3);font-size:13.5px}
.ocard ul{padding-inline-start:18px;margin:0;color:var(--ink-2);font-size:14.5px;line-height:1.85}
.cbar{display:flex;height:34px;border-radius:10px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);margin:10px 0 12px}.cbar i{display:block}
.dots{display:inline-flex;gap:3px;align-items:center}.dots i{width:8px;height:8px;border-radius:50%;background:var(--line-2)}.dots i.on{background:var(--plum)}
.photo-res{display:grid;grid-template-columns:104px minmax(0,1fr);gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.photo-res:last-of-type{border-bottom:0}
.photo-res img{width:104px;height:130px;object-fit:cover;border-radius:12px;background:var(--bg-2)}
.photo-res .flag{padding:6px 0 6px 0;padding-inline-start:16px;border:0}.photo-res .flag::before{top:14px}
.scn-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 14px}
@media (max-width:700px){.scn-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.scn canvas{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:12px;margin-bottom:8px;background:var(--bg-2)}
.season{display:grid;grid-template-columns:minmax(150px,auto) minmax(0,1fr);gap:24px;align-items:center}
.season .big{font-size:38px;font-weight:800;line-height:1.3}
@media (max-width:600px){.season{grid-template-columns:1fr;gap:14px}}
.drape{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:22px;align-items:start}
@media (max-width:760px){.drape{grid-template-columns:1fr}}
.drape canvas{display:block;width:100%;height:auto;border-radius:14px;background:var(--bg-2)}
.lookcard .lc-head h3{font-size:19px;margin:8px 0 2px}.lookcard .vibe{margin:0;color:var(--ink-3);font-size:14px}
.lc-body{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:22px;align-items:start;margin-top:14px}
@media (max-width:760px){.lc-body{grid-template-columns:1fr}}
.pv canvas{display:block;width:100%;height:auto;border-radius:14px;background:var(--bg-2)}
.pv .chips{gap:6px}.pv .chip{font-size:12.5px;padding:4px 10px}
.pv-empty{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:30px 16px;background:var(--bg-2);border-radius:14px;color:var(--ink-2);font-size:14px;line-height:1.8}
.pv-empty .ico{width:28px;height:28px;color:var(--ink-3)}


/* ── shape simulators ── */
.srow{padding:12px 0;border-bottom:1px solid var(--line)}.srow:last-child{border-bottom:0}
.srow label{display:flex;justify-content:space-between;align-items:baseline;font-size:14.5px;font-weight:600;margin:0 0 2px}
.srow .sv{font-weight:700;color:var(--ink-2);font-size:13px}
.srow .hint{display:block;margin:0}
.lim{margin:6px 0 0;padding:0;list-style:none;display:grid;gap:8px;font-size:14.5px;color:var(--ink-2)}
.lim li{display:flex;gap:10px;align-items:flex-start;line-height:1.8}
.lim li::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--mint);margin-top:9px}
.lim li.no::before{background:var(--ink-3)}


/* ── SEO landings: swatches with try-on links, combos, related chips ── */
.pal .p .try{margin-top:2px;font-size:12px;font-weight:700;text-decoration:none;color:var(--rose)}
.pal .p .try:hover{color:var(--ink)}
/* در متن لندینگ‌ها نمونه‌رنگ‌ها ردیفی‌اند: مربع رنگ در کنار نام و نکته (روی موبایل یک ستون) */
.prose .pal{margin:10px 0 20px;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:6px 22px}
.prose .pal .p{display:grid;grid-template-columns:54px minmax(0,1fr);gap:1px 14px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}
.prose .pal .p i{grid-row:span 3;width:54px;height:54px;border-radius:14px}
.prose .pal .p b{font-size:15px;align-self:end}.prose .pal .p span{align-self:start;line-height:1.7}
.prose .pal.dense{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:2px 16px}
.prose .pal.dense .p{grid-template-columns:40px minmax(0,1fr);gap:0 10px;padding:7px 0}
.prose .pal.dense .p i{width:40px;height:40px;border-radius:11px}
.prose .pal.dense .p b{font-size:14px}.prose .pal.dense .p span{font-size:12px}
.prose h3{margin-top:18px}
.combo{display:flex;gap:14px;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;margin:10px 0}
.combo .cb{min-width:0;flex:1}.combo b{display:block;font-size:16px}
.combo p{margin:2px 0 4px;color:var(--ink-2);font-size:15px;line-height:1.9}
.combo .try{font-size:13px;font-weight:700;text-decoration:none;color:var(--rose)}
.combo .ldots{flex:none;margin-inline-start:6px}
.combo .ldots i{width:22px;height:22px;margin-inline-end:-7px}
a.chip{text-decoration:none;display:inline-block}
.rel .chips{margin:6px 0 18px}.rel h3{font-size:16px;margin:14px 0 4px}


/* ── skin-type test ── */
.qh{font-size:clamp(20px,2.6vw,25px);margin:14px 0 14px;line-height:1.7}
.optlist{display:grid;gap:10px}
.optb{display:block;width:100%;text-align:start;padding:14px 16px;border:1px solid var(--line-2);border-radius:12px;background:var(--surface);color:var(--ink);cursor:pointer;font-size:15.5px;line-height:1.7;transition:border-color .12s,background .12s}
.optb:hover{border-color:var(--ink-3);background:var(--bg-2)}

/* ── account / login sheet ── */
.ico-s{width:14px;height:14px;vertical-align:-2px}
.sheet{position:relative;max-height:92dvh;overflow-y:auto}
.sheet .close{position:absolute;top:10px;inset-inline-end:10px}
.sheet h3{padding-inline-end:36px}
.sheet label.f:first-child{margin-top:4px}
input.otp{font-size:26px;font-weight:700;letter-spacing:.55em;text-align:center;padding:12px 8px 12px calc(8px + .55em);font-family:var(--mono)}
input[type=tel]{direction:ltr;text-align:left}
.account,.nudge{background:var(--bg-2);border:0}
body:has(.nudge) #account .account.anon{display:none}
.account h3,.nudge h3{display:flex;align-items:center;gap:8px;font-size:16px}
.account h3 .ico,.nudge h3 .ico{width:20px;height:20px;color:var(--ink-2)}
.account p,.nudge p{margin-bottom:12px}
#account{margin-top:18px}

/* ── install sheet ── */
.sheet-bg{position:fixed;inset:0;z-index:80;background:rgba(20,14,17,.42);display:flex;align-items:flex-end;justify-content:center}
.sheet{background:var(--surface);width:100%;max-width:460px;border-radius:20px 20px 0 0;padding:24px 22px calc(24px + env(safe-area-inset-bottom));box-shadow:var(--sh-2)}
@media (min-width:700px){.sheet-bg{align-items:center}.sheet{border-radius:20px}}
.sheet h3{font-size:19px;display:flex;align-items:center;gap:10px}.sheet h3 img{width:38px;height:38px;border-radius:10px}
.sheet ol{padding-inline-start:20px;color:var(--ink-2)}.sheet li{margin-bottom:8px}
.sheet .kbd{display:inline-flex;align-items:center;gap:4px;background:var(--sunk);border-radius:7px;padding:1px 7px;color:var(--ink)}
.inst-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media (max-width:860px){.inst-grid{grid-template-columns:1fr}}
.inst{border:1px solid var(--line);border-radius:var(--r-lg);padding:22px}
.inst h3{display:flex;align-items:center;gap:9px}.inst ol{padding-inline-start:20px;color:var(--ink-2);margin:10px 0 0}.inst li{margin-bottom:8px}
@media print{header.top,footer.foot,nav.tabbar,.btn,.composer,.tlayout aside,.article aside{display:none!important}.tlayout,.article{display:block}}
.cd-line{margin:16px 0 0}.cd{display:inline-block;font-weight:700;font-size:14.5px;color:var(--plum);background:var(--rose-tint);border-radius:999px;padding:5px 14px}
.hsw{display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:6px}
.hsw button{display:flex;flex-direction:column;align-items:center;gap:5px;padding:7px 2px 6px;border:1px solid transparent;border-radius:12px;background:none;cursor:pointer;font-size:12.5px;line-height:1.5;color:var(--ink-2);text-align:center}
.hsw button i{width:34px;height:34px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(29,21,24,.18)}
.hsw button:hover{background:var(--bg-2)}
.hsw button[aria-pressed=true]{border-color:var(--plum);background:var(--bg-2);color:var(--ink);font-weight:700}
.hair-status{display:flex;gap:10px;align-items:center;font-size:14.5px;color:var(--ink-2);min-height:28px}

/* ── face-shape tool ── */
.fsico{width:44px;height:52px;flex:none;fill:none;stroke:currentColor;stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round;color:var(--plum)}
.fs-res{display:flex;gap:16px;align-items:flex-start}
.fs-res .fsico{width:64px;height:76px;margin-top:2px}
.fs-res h3{margin:0 0 2px;font-size:20px;line-height:1.5}
.fs-res p{margin:6px 0 0;font-size:14.5px;line-height:1.9;color:var(--ink-2)}
.fs-res .fs-why{display:block;font-size:12.5px;color:var(--ink-3)}
.fs-res p.fs-close{color:var(--ink)}
.fs-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.fshape{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 4px 6px;border:1px solid var(--line-2);border-radius:var(--r);background:var(--surface);cursor:pointer;font-size:13px;line-height:1.5;color:var(--ink-2);text-align:center}
.fshape .fsico{width:34px;height:42px;color:var(--ink-3)}
.fshape small{display:block;min-height:17px;font-size:11.5px;color:var(--rose)}
.fshape:hover{border-color:var(--ink-3)}
.fshape[aria-pressed=true]{border-color:var(--plum);background:var(--bg-2);color:var(--ink);font-weight:700;box-shadow:inset 0 0 0 1px var(--plum)}
.fshape[aria-pressed=true] .fsico{color:var(--plum)}
.fs-meas{margin:0}
.fs-meas>div{padding:9px 0;border-bottom:1px solid var(--line)}.fs-meas>div:last-child{border-bottom:0}
.fs-meas dt{display:flex;gap:8px;align-items:baseline;justify-content:space-between;font-size:13.5px;color:var(--ink-2)}
.fs-meas dt small{font-size:11.5px;color:var(--ink-3)}
.fs-meas dd{margin:2px 0 0;display:flex;gap:10px;align-items:baseline;font-size:14px}
.fs-meas dd b{font-size:16px;min-width:46px}
.fs-meas dd span{color:var(--ink-2)}
.fs-warn{background:var(--amber-tint);color:var(--amber);border-radius:var(--r-sm);padding:8px 12px;margin-top:8px}.fs-warn p{margin:0}
.fs-linebtn{margin-top:10px}
.fs-quiz summary{font-size:14.5px;padding:12px 0}
.fs-quiz>.fs-q{padding:2px 0 14px;max-width:none}
.fs-q b{display:block;font-size:14px;font-weight:600;margin-bottom:8px;line-height:1.8;color:var(--ink)}
.fs-legend{margin:6px 0 10px;padding:0;list-style:none;display:grid;gap:8px;font-size:14px;color:var(--ink-2)}
.fs-legend li{display:flex;gap:10px;align-items:flex-start;line-height:1.8}
.fs-legend li i{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--plum);color:var(--on-plum);font:700 12px/1 Vazirmatn,sans-serif;font-style:normal;margin-top:4px}
.fs-legend b{color:var(--ink)}
/* کارت ابزار: آیکن + کارکرد + برچسب‌ها + دکمهٔ عمل؛ با فهرست مقاله‌ها (.titem با عکس) فرق دارد */
.tools-note{margin:0 0 6px;color:var(--ink-2);font-size:14.5px;max-width:720px}
.tgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}
@media (max-width:760px){.tgrid{grid-template-columns:1fr}}
.tool{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"i b" "i go";gap:6px 14px;align-items:start;padding:16px 18px;border:1px solid var(--line-2);border-radius:var(--r);background:var(--surface);color:var(--ink);text-decoration:none;transition:border-color .15s,background .15s}
.tool:hover{border-color:var(--ink-3);background:var(--bg-2);color:var(--ink)}
.tool .ti{grid-area:i;width:46px;height:46px;border-radius:12px;border:1px solid var(--line-2);background:var(--surface);display:grid;place-items:center;color:var(--plum)}
.tool .ti .ico{width:23px;height:23px}
.tool .tb{grid-area:b;display:grid;gap:3px;min-width:0}
.tool .tn{font-size:16.5px;font-weight:800;line-height:1.55}
.tool .td{font-size:14.5px;color:var(--ink-2);line-height:1.75}
.tool .tm{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.tool .tm i{font-style:normal;font-size:12px;line-height:1.8;color:var(--ink-2);border:1px solid var(--line);border-radius:999px;padding:0 10px;background:var(--bg-2)}
.tool .go{grid-area:go;justify-self:start;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:38px;padding:0 16px;margin-top:4px;border-radius:10px;border:1px solid var(--line-2);background:var(--surface);color:var(--ink);font-weight:700;font-size:14.5px;transition:background .15s,color .15s,border-color .15s}
.tool .go .ico{width:17px;height:17px}
.tool:hover .go,.tool:focus-visible .go{background:var(--plum);border-color:var(--plum);color:var(--on-plum)}
@media (min-width:761px){.tool{grid-template-areas:"i b" ". go"}.tool .go{justify-self:start;min-width:132px}}
/* نسخهٔ فشردهٔ کارت ابزار (صفحهٔ اصلی): آیکن + عنوان + برچسب‌ها به‌صورت یک خط + دکمهٔ فلش؛ متن دکمه فقط برای صفحه‌خوان می‌ماند */
.tool.c{grid-template-columns:auto 1fr auto;grid-template-areas:"i b go";align-items:center;padding:12px 14px;gap:12px}
.tool.c .td{display:none}
.tool.c .tb{gap:0}
.tool.c .tn{font-size:16px}
.tool.c .tm{margin:2px 0 0;gap:0;color:var(--ink-3)}
.tool.c .tm i{border:0;background:none;padding:0;font-size:12.5px;color:var(--ink-3)}
.tool.c .tm i+i::before{content:"·";margin:0 6px}
.tool.c .ti{width:42px;height:42px}
.tool.c .go{width:38px;height:38px;padding:0;min-width:0;border-radius:50%;justify-self:end}
.tool.c .gt{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media (min-width:761px){.tool.c{grid-template-areas:"i b go"}.tool.c .go{min-width:0}}
/* ── Lomi: گربهٔ لومارا ── */
.lomi{display:block;width:100%;height:auto;overflow:visible}
.lomi .x-wave,.lomi .x-think,.lomi .x-love,.lomi .x-sleep,.lomi .x-drink,.lomi .f-happy,.lomi .f-sleep{display:none}
.lomi[data-mood=happy] .f-mouth,.lomi[data-mood=love] .f-mouth,.lomi[data-mood=drink] .f-mouth,.lomi[data-mood=happy] .f-open,.lomi[data-mood=sleep] .f-open,.lomi[data-mood=love] .f-open,.lomi[data-mood=drink] .f-open{display:none}
.lomi[data-mood=happy] .f-happy,.lomi[data-mood=love] .f-happy,.lomi[data-mood=drink] .f-happy{display:inline}
.lomi[data-mood=sleep] .f-sleep{display:inline}
.lomi[data-mood=wave] .x-wave{display:inline}
.lomi[data-mood=think] .x-think{display:inline}
.lomi[data-mood=love] .x-love{display:inline}
.lomi[data-mood=sleep] .x-sleep{display:inline}
.lomi[data-mood=drink] .x-drink{display:inline}
.lomi .lm-tail{transform-origin:164px 208px;animation:lm-tail 3.4s ease-in-out infinite}
.lomi .lm-body{transform-origin:120px 222px;animation:lm-breathe 3.8s ease-in-out infinite}
.lomi .lm-head{transform-origin:120px 150px;animation:lm-head 6.5s ease-in-out infinite}
.lomi .lm-eyes{transform-origin:120px 106px;animation:lm-blink 5.6s infinite}
.lomi .lm-earl{transform-origin:84px 64px;animation:lm-ear 7s ease-in-out infinite}
.lomi .lm-wavearm{transform-origin:84px 180px;animation:lm-wave 1.1s ease-in-out infinite}
.lomi[data-mood=sleep] .lm-head{animation:lm-nod 4.4s ease-in-out infinite}
.lomi[data-mood=sleep] .lm-eyes,.lomi[data-mood=happy] .lm-eyes{animation:none}
.lomi .td1,.lomi .td2,.lomi .td3{animation:lm-dot 1.4s ease-in-out infinite}.lomi .td2{animation-delay:.2s}.lomi .td3{animation-delay:.4s}
.lomi .hh1,.lomi .hh2,.lomi .hh3{animation:lm-rise 2.2s ease-out infinite;transform-box:fill-box;transform-origin:center}
.lomi .hh2{animation-delay:.5s}.lomi .hh3{animation-delay:1s}
.lomi .zz1,.lomi .zz2{animation:lm-z 2.8s ease-in-out infinite}.lomi .zz2{animation-delay:1s}
.lomi .dr1,.lomi .dr2{animation:lm-drop 1.8s ease-in-out infinite}.lomi .dr2{animation-delay:.6s}
@keyframes lm-tail{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(9deg)}}
@keyframes lm-breathe{0%,100%{transform:scale(1,1)}50%{transform:scale(1.012,1.022)}}
@keyframes lm-head{0%,100%{transform:rotate(0)}30%{transform:rotate(-2.2deg)}65%{transform:rotate(2deg)}}
@keyframes lm-blink{0%,91%,100%{transform:scaleY(1)}94%{transform:scaleY(.08)}}
@keyframes lm-ear{0%,86%,100%{transform:rotate(0)}90%{transform:rotate(-7deg)}94%{transform:rotate(2deg)}}
@keyframes lm-wave{0%,100%{transform:rotate(6deg)}50%{transform:rotate(-12deg)}}
@keyframes lm-nod{0%,100%{transform:rotate(0) translateY(0)}50%{transform:rotate(4deg) translateY(3px)}}
@keyframes lm-dot{0%,100%{opacity:.25;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}
@keyframes lm-rise{0%{opacity:0;transform:translateY(8px) scale(.6)}20%{opacity:1}100%{opacity:0;transform:translateY(-26px) scale(1.1)}}
@keyframes lm-z{0%,100%{opacity:.2;transform:translate(0,4px)}50%{opacity:1;transform:translate(3px,-4px)}}
@keyframes lm-drop{0%,100%{opacity:.4;transform:translateY(0)}50%{opacity:1;transform:translateY(-7px)}}
@media (prefers-reduced-motion:reduce){.lomi *{animation:none!important}}
.lomi.face .lm-body,.lomi.face .lm-tail,.lomi.face .lm-shadow{display:none}

/* ── sticker icons, avatars, toasts, wide sheet ── */
.stk{width:48px;height:48px;flex:none;display:block}
.av2{--s:44px;display:inline-grid;place-items:center;width:var(--s);height:var(--s);border-radius:50%;flex:none;box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--ink) 12%,transparent)}
.av2 .stk{width:70%;height:70%}
.toasts{position:fixed;inset-inline:0;bottom:calc(var(--tab) + 18px + env(safe-area-inset-bottom));z-index:90;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none}
@media (min-width:961px){.toasts{bottom:24px}}
.toast{background:var(--ink);color:var(--bg);padding:10px 18px;border-radius:999px;font-size:14.5px;font-weight:600;box-shadow:var(--sh-2);animation:toast-in .25s cubic-bezier(.3,1.5,.5,1)}
.toast.out{opacity:0;transform:translateY(8px);transition:opacity .3s,transform .3s}
@keyframes toast-in{from{opacity:0;transform:translateY(12px) scale(.96)}}
.sheet.wide{max-width:520px}
.chat-cat{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--pink-tint);flex:none;box-shadow:inset 0 0 0 2px var(--pink-soft)}
.chat-cat .lomi{width:38px;height:auto}

/* ── tool cards v5: sticker icon, soft tint per hub section ── */
.hubs{padding-bottom:40px}
.hubsec{--tint:var(--pink-tint);--tone:var(--rose);margin-top:34px}
.hubsec[data-tone=lilac]{--tint:var(--lilac-tint);--tone:var(--lilac)}.hubsec[data-tone=peach]{--tint:var(--peach-tint);--tone:var(--peach)}
.hubsec[data-tone=sun]{--tint:var(--sun-tint);--tone:var(--sun)}.hubsec[data-tone=sky]{--tint:var(--sky-tint);--tone:var(--sky)}.hubsec[data-tone=mint]{--tint:var(--mint-tint);--tone:var(--mint)}
.hubsec-h{display:flex;align-items:center;gap:12px;margin-bottom:6px}
.hubsec-h .stk{width:44px;height:44px;padding:5px;border-radius:16px;background:var(--tint)}
.hubsec-h h2{font-size:21px;margin:0;line-height:1.4}.hubsec-h p{margin:0;font-size:13.5px;color:var(--ink-2);line-height:1.6}
.hubsec .tool{background:var(--surface);border-color:var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-1)}
.hubsec .tool:hover{border-color:var(--pink-soft);background:var(--tint);transform:translateY(-1px)}
.tool{transition:border-color .15s,background .15s,transform .2s cubic-bezier(.3,1.5,.5,1)}
.tool .ti{width:56px;height:56px;border:0;background:var(--tint,var(--bg-2));border-radius:18px}
.tool .ti .stk{width:44px;height:44px}
.tool .ti .ico{width:26px;height:26px}
.tool .go{border-radius:999px;border-color:var(--line-2);background:var(--surface)}
.tool:hover .go{background:var(--plum);border-color:var(--plum);color:var(--on-plum)}
.tool .tm i{background:var(--tint,var(--bg-2));border-color:transparent;color:var(--ink-2)}
.tool.c{grid-template-columns:auto 1fr auto;grid-template-areas:"i b go";align-items:center}
.tool.c .ti{width:48px;height:48px;border-radius:15px}.tool.c .ti .stk{width:38px;height:38px}
.hubhero{position:relative;background:var(--bg-2);border-radius:0 0 36px 36px;overflow:hidden}
.hubhero .wrap{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:8px;align-items:end;padding-top:26px;padding-bottom:0}
.hh-text{padding-bottom:28px}
.hubhero h1{margin-bottom:8px}.hubhero .lead{margin:0;max-width:44ch}
.hh-cat{position:relative;display:flex;flex-direction:column;align-items:center;align-self:end;padding-top:48px}
.hh-cat .lomi{width:150px;margin-bottom:-3px}
.hh-say{position:absolute;top:0;inset-inline-end:4px;max-width:150px;margin:0;background:var(--surface);color:var(--ink);font-size:12.5px;font-weight:700;line-height:1.55;padding:6px 12px;border-radius:14px 14px 4px 14px;box-shadow:var(--sh-1);text-align:center}
.hubhero .crumbs{margin-bottom:8px}
@media (max-width:640px){.hubhero .wrap{grid-template-columns:minmax(0,1fr) 112px;padding-top:20px}.hh-cat .lomi{width:112px}.hh-say{font-size:11.5px;max-width:112px;top:0}.hh-cat{padding-top:50px}.hubhero .lead{font-size:15.5px}}

/* ── home (/app/) ── */
.home{padding-bottom:calc(var(--tab) + 36px)}
.hm-hero{padding-top:14px}
.hm-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:4px;align-items:end;background:var(--pink-tint);border-radius:var(--r-xl);padding:22px 8px 0 20px;overflow:hidden;max-width:760px;margin:0 auto}
.hm-card::before{content:"";position:absolute;inset:auto auto -40px -30px;width:190px;height:190px;border-radius:50%;background:var(--surface);opacity:.55}
.hm-text{position:relative;z-index:1;padding-bottom:20px;min-width:0}
.hm-date{margin:0;font-size:13.5px;font-weight:700;color:var(--rose)}
.hm-hello{font:800 clamp(25px,6vw,34px)/1.4 var(--display);margin:2px 0 10px}
.hm-bubble{position:relative;background:var(--surface);border-radius:20px 20px 6px 20px;padding:12px 16px;box-shadow:var(--sh-1);max-width:34ch}
.hm-bubble p{margin:0;font-size:14.5px;line-height:1.9;color:var(--ink)}
.hm-bubble .btn{margin-top:8px}
.hm-cat{position:relative;z-index:1;border:0;background:none;padding:0;cursor:pointer;align-self:end;-webkit-tap-highlight-color:transparent}
.hm-cat .lomi{width:100%;transition:transform .25s cubic-bezier(.3,1.6,.5,1)}
.hm-cat:active .lomi{transform:scale(.94) rotate(-2deg)}
@media (max-width:420px){.hm-card{grid-template-columns:minmax(0,1fr) 124px;padding:18px 4px 0 16px}}
.hm-body{max-width:760px}
.hm-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:20px}
.hm-tile{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 4px 10px;border-radius:22px;background:var(--tint);color:var(--ink);text-decoration:none;font-size:12.5px;font-weight:700;line-height:1.55;text-align:center;transition:transform .2s cubic-bezier(.3,1.6,.5,1)}
.hm-tile:hover{color:var(--ink);transform:translateY(-3px) rotate(-1deg)}
.hm-tile .stk{width:46px;height:46px}
.hm-tile.t-pink{--tint:var(--pink-tint)}.hm-tile.t-lilac{--tint:var(--lilac-tint)}.hm-tile.t-peach{--tint:var(--peach-tint)}.hm-tile.t-sun{--tint:var(--sun-tint)}.hm-tile.t-sky{--tint:var(--sky-tint)}.hm-tile.t-mint{--tint:var(--mint-tint)}
.hm-two{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}
@media (max-width:700px){.hm-two{grid-template-columns:1fr}}
.hm-c2{padding:18px;display:flex;flex-direction:column;gap:10px}
.hm-sec{margin-top:30px}
.hm-h{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.hm-h h2{font-size:21px;margin:0}
.nt-chips{margin-bottom:6px}
.rt-bar{height:10px;border-radius:999px;background:var(--sunk);overflow:hidden}.rt-bar i{display:block;height:100%;border-radius:999px;background:var(--plum);transition:width .5s cubic-bezier(.3,1.3,.5,1)}
.rt-parts{display:flex;gap:10px;flex-wrap:wrap;font-size:13.5px;color:var(--ink-2)}.rt-parts span{display:inline-flex;align-items:center;gap:5px;background:var(--bg-2);border-radius:999px;padding:3px 12px}.rt-parts .ico{width:16px;height:16px}.rt-parts .ok{background:var(--mint-tint);color:var(--mint);font-weight:700}
.bd-list .bd-row{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}
.bd-list .bd-row:last-child{border:0}
.bd-t{display:grid;flex:1;min-width:0}.bd-t b{font-size:15.5px}.bd-t small{font-size:12.5px;color:var(--ink-2)}
.bd-d{font-size:13px;font-weight:700;color:var(--ink-2);background:var(--bg-2);border-radius:999px;padding:3px 12px;white-space:nowrap}
.bd-row.soon .bd-d{background:var(--plum);color:var(--on-plum)}
.bd-empty{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.bd-empty>div{flex:1;min-width:150px}.bd-empty p{margin:2px 0 0}
.hm-ask .ibox{margin-top:8px}

/* ── water tracker ── */
.wt-head{display:flex;align-items:center;gap:12px}
.wt-ico{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:var(--sky-tint);flex:none}.wt-ico.mint{background:var(--mint-tint)}.wt-ico .stk{width:36px;height:36px}
.wt-t{display:grid;flex:1;min-width:0}.wt-t b{font-size:16.5px}.wt-ml{font-size:12.5px;color:var(--ink-2)}
.wt-count{display:flex;align-items:baseline;gap:2px;white-space:nowrap}.wt-count b{font:800 30px/1 var(--display)}.wt-count small{font-size:12.5px;color:var(--ink-2)}
.wt-glasses{display:flex;gap:3px;justify-content:space-between}
.wg{flex:1;min-width:0;border:0;background:none;padding:2px;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .2s cubic-bezier(.3,1.7,.5,1)}
.wg:active{transform:scale(.88)}.wg.on{transform:translateY(-2px)}
.glass{display:block;width:100%;height:auto;overflow:visible;--gl-line:#5a2d4f;--gl-w1:#7cc8f5;--gl-w2:#a8defa}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .glass{--gl-line:#f3d3e1;--gl-w1:#5aaee0;--gl-w2:#3f86b8}}
.glass .gbg{fill:color-mix(in srgb,var(--surface) 70%,#cfeefe);}
.glass .gl{fill:none;stroke:var(--gl-line);stroke-width:4;stroke-linejoin:round}
.glass .ghl{stroke:#fff;stroke-width:4;stroke-linecap:round;opacity:.55;fill:none}
.glass .gface circle{fill:var(--gl-line)}.glass .gface path{stroke:var(--gl-line)}.glass .gface .gc{fill:#ff8fb3;opacity:.7}
.glass .wlevel{transition:transform .8s cubic-bezier(.3,1.2,.5,1)}
.glass .wv1{animation:wt-w 3.4s linear infinite}.glass .wv2{animation:wt-w 2.4s linear infinite reverse}
@keyframes wt-w{to{transform:translateX(60px)}}
.glass .bb{fill:#fff;opacity:.6;animation:wt-b 3.2s ease-in infinite}.glass .b2{animation-delay:1s}.glass .b3{animation-delay:2s}
@keyframes wt-b{0%{transform:translateY(0);opacity:0}15%{opacity:.7}100%{transform:translateY(-60px);opacity:0}}
.wt-say{margin:0;font-size:14px;color:var(--ink-2);min-height:26px;line-height:1.8}
.wt-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:auto}
.wt-actions .link{margin-inline-start:auto;font-size:14px}
.wt-full{margin-top:6px}
.wt-hero{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:center;background:var(--sky-tint);border-radius:var(--r-xl);padding:22px}
.wt-big .glass{width:100%}
.wt-side{display:grid;gap:8px}.wt-side .wt-count b{font-size:44px}.wt-side .wt-ml{font-size:14px}
@media (max-width:480px){.wt-hero{grid-template-columns:116px minmax(0,1fr);padding:18px;gap:14px}.wt-side .wt-count b{font-size:36px}}
.wt-bars{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-top:12px}
.wb{display:grid;grid-template-rows:140px auto;gap:6px;justify-items:center}
.wb .bar{position:relative;width:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}
.wb .bar::before{content:"";position:absolute;inset-inline:-4px;bottom:var(--g);border-top:2px dashed var(--pink-soft);pointer-events:none}
.wb .bar b{font-size:12px;color:var(--ink-2);min-height:18px;line-height:18px}
.wb .bar span{display:block;width:70%;max-width:34px;border-radius:10px 10px 4px 4px;background:var(--sky-soft);transition:height .5s cubic-bezier(.3,1.3,.5,1)}
.wb.met .bar span{background:var(--sky)}.wb.now .bar span{outline:2px solid var(--plum);outline-offset:2px}
.wb small{font-size:12px;color:var(--ink-3)}.wb.now small{color:var(--plum);font-weight:800}
.wt-legend{margin:10px 0 0;font-size:12px;color:var(--ink-3)}.wt-legend i{display:inline-block;width:22px;border-top:2px dashed var(--pink-soft);vertical-align:middle;margin-inline-end:6px}

/* ── sticky notes ── */
.nt-row{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-inline:20px;padding:12px 20px 18px;margin:0 -20px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.nt-row::-webkit-scrollbar{display:none}
.nt{--bgc:var(--sun-tint);--fg:var(--sun);position:relative;flex:0 0 min(76%,270px);scroll-snap-align:start;display:flex;flex-direction:column;gap:6px;min-height:176px;padding:24px 18px 12px;background:var(--bgc);border-radius:8px 8px 26px 8px;box-shadow:0 12px 20px -14px rgba(120,40,80,.5);transform:rotate(var(--rot,-1deg));text-align:start;border:0;color:var(--ink);font:inherit}
.nt::before{content:"";position:absolute;top:-9px;left:50%;width:68px;height:20px;transform:translateX(-50%) rotate(-3deg);background:color-mix(in srgb,var(--surface) 62%,transparent);border:1px dashed color-mix(in srgb,var(--ink) 22%,transparent);border-radius:2px}
.nt-pink{--bgc:var(--pink-tint);--fg:var(--rose)}.nt-sun{--bgc:var(--sun-tint);--fg:var(--sun)}.nt-lilac{--bgc:var(--lilac-tint);--fg:var(--lilac)}.nt-peach{--bgc:var(--peach-tint);--fg:var(--peach)}.nt-sky{--bgc:var(--sky-tint);--fg:var(--sky)}.nt-mint{--bgc:var(--mint-tint);--fg:var(--mint)}
.nt.today{flex-basis:min(82%,300px);box-shadow:0 14px 24px -14px rgba(196,42,96,.55)}
.nt-k{font-size:12px;font-weight:800;color:var(--fg)}
.nt-t{margin:0;font:600 18px/1.95 var(--display);flex:1}
.nt-f{display:flex;gap:2px;justify-content:flex-end}
.nt-b{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:var(--ink-2);cursor:pointer}
.nt-b:hover{background:color-mix(in srgb,var(--surface) 70%,transparent)}.nt-b .ico{width:20px;height:20px}
.nt-b.on{color:var(--plum)}.nt-b.on .ico{fill:var(--plum);animation:nt-pop .35s cubic-bezier(.3,1.9,.5,1)}
@keyframes nt-pop{from{transform:scale(.5)}}
.nt-add{align-items:center;justify-content:center;text-align:center;background:transparent;border:2px dashed var(--line-2);box-shadow:none;transform:none;cursor:pointer;color:var(--ink-2)}
.nt-add::before{display:none}.nt-add .ico{width:30px;height:30px;color:var(--rose)}.nt-add b{font-size:15px;color:var(--ink)}.nt-add small{font-size:12.5px;line-height:1.7}
.nt-add:hover{background:var(--bg-2)}
.nt-sw{display:flex;gap:10px;margin:4px 0 14px}.nt-sw button{width:34px;height:34px;border-radius:50%;border:0;background:var(--bgc);cursor:pointer;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink) 16%,transparent)}
.nt-sw button[aria-pressed=true]{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink) 16%,transparent),0 0 0 3px var(--surface),0 0 0 5px var(--plum)}
@media (min-width:700px){.nt-row{margin:0;padding-inline:4px}}
@media (prefers-reduced-motion:reduce){.nt,.glass *,.hm-tile,.tool{animation:none!important;transition:none!important}}
.hubs .tools-note{margin-top:22px}

/* ── birthday calendar ── */
.cal-wrap{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start;margin-top:8px}
@media (max-width:900px){.cal-wrap{grid-template-columns:1fr}}
.cal{padding:14px 14px 18px}
.cal-h{display:flex;align-items:center;gap:4px}.cal-h b{flex:1;text-align:center;font:800 20px/1.5 var(--display)}
.icon-btn.flip .ico{transform:scaleX(-1)}
.cal-w,.cal-g{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.cal-w span{text-align:center;font-size:12.5px;font-weight:700;color:var(--ink-3);padding:10px 0 6px}.cal-w span:last-child{color:var(--red)}
.cdy{position:relative;aspect-ratio:1;border:0;background:transparent;border-radius:14px;cursor:pointer;display:grid;place-items:center;font-size:15px;color:var(--ink);-webkit-tap-highlight-color:transparent;transition:background .15s,transform .15s}
.cdy b{font-weight:700}.cdy:hover{background:var(--pink-tint)}.cdy:active{transform:scale(.92)}
.cdy.today{box-shadow:inset 0 0 0 2px var(--pink-soft)}
.cdy.sel,.cdy.sel:hover{background:var(--plum);color:var(--on-plum)}
.cdy:nth-child(7n):not(.sel){color:var(--red)}
.bdot{position:absolute;bottom:5px;left:50%;width:7px;height:7px;border-radius:50%;background:var(--plum);transform:translateX(-50%)}.bdot.fr{background:var(--lilac)}
.cdy.sel .bdot{background:var(--on-plum)}
.cal-day{margin-top:14px;padding:16px 18px}
.cal-dh{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.cal-dh b{display:block;font-size:16.5px}.cal-dh small{color:var(--ink-2);font-size:12.5px}
.cal-es{margin-top:10px}
.cal-e{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line);flex-wrap:wrap}
.ce-t{display:grid;flex:1;min-width:120px}.ce-t small{font-size:12.5px;color:var(--ink-2)}.ce-a{gap:6px}
.cal-side h2{font-size:19px;margin-bottom:10px}
.cal-empty{text-align:center;padding:14px 8px}.cal-cat{width:120px;margin:0 auto 6px}
button.bd-row{width:100%;background:none;border:0;border-bottom:1px solid var(--line);text-align:start;font:inherit;cursor:pointer}
.cgs{display:grid}.cg{border-bottom:1px solid var(--line);padding:12px 0}.cg:last-child{border:0}.cg p{margin:0 0 8px;line-height:1.95}

/* ── friends ── */
.fr{margin-top:6px}
.fr-gate{text-align:center;padding:26px 20px;background:var(--pink-tint);border-color:transparent}
.fr-cat{width:140px;margin:0 auto 4px}.fr-cat .lomi{width:100%}
.fr-gate h2{font-size:23px;margin-bottom:6px}.fr-gate .actions{justify-content:center}
.fr-bul{list-style:none;padding:0;margin:16px auto 6px;display:grid;gap:10px;max-width:420px;text-align:start}
.fr-bul li{display:flex;gap:12px;align-items:center;background:var(--surface);border-radius:18px;padding:10px 14px;font-size:14.5px;line-height:1.8}
.fr-bul .stk{width:38px;height:38px}
.fr-top{display:grid;gap:14px}
.fr-me,.fr-inv{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.fm-t,.fi-t{display:grid;flex:1;min-width:140px}.fm-t b,.fi-t b{font-size:17px}.fm-t small{font-size:12.5px;color:var(--ink-2)}.fi-t p{margin:2px 0 0}
.fr-inv{background:var(--lilac-tint);border-color:transparent}.fr-inv .stk{width:50px;height:50px}
.frs,.ibs{display:grid;gap:12px}
.fr-f{padding:16px}.ff-h{display:flex;align-items:center;gap:14px}.ff-t{display:grid;flex:1;min-width:0}.ff-t b{font-size:16.5px}.ff-t small{font-size:12.5px;color:var(--ink-2)}
.ff-a{gap:6px;margin-top:12px}
.fcs{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.fc{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;color:var(--ink-2);background:var(--bg-2);border-radius:999px;padding:2px 10px 2px 8px}.fc .stk{width:18px;height:18px}
.fc.hot{background:var(--plum);color:var(--on-plum)}
.fr-empty{text-align:center;padding:18px}.fr-empty p{margin:0}
.fr-sent{margin-top:26px}.fr-sent summary{font-weight:800;padding:14px 0}
.sent{padding:12px 0;border-top:1px solid var(--line)}.sn-t small{color:var(--ink-2);font-size:12.5px}.sent p{margin:4px 0 0}
.ib{padding:16px}.ib-h{display:flex;align-items:center;gap:12px}.ib-t{display:grid;flex:1}.ib-t small{font-size:12px;color:var(--ink-3)}
.ib-new{width:10px;height:10px;border-radius:50%;background:var(--plum);flex:none}
.ib-q{margin:12px 0 8px;font-weight:700}
.kd-b{display:flex;align-items:center;gap:12px;margin-top:8px;background:var(--pink-tint);border-radius:18px;padding:10px 14px}.kd-b .stk{width:52px;height:52px}.kd-b p{margin:0;font-weight:700}
.rxs{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.rx{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line-2);background:var(--surface);color:var(--ink);border-radius:999px;padding:3px 12px 3px 8px;font-size:13px;cursor:pointer;transition:transform .15s cubic-bezier(.3,1.7,.5,1)}
.rx .stk{width:24px;height:24px}.rx:active{transform:scale(.92)}
.rx.on{background:var(--plum);border-color:var(--plum);color:var(--on-plum);font-weight:700}
.mini{display:flex;align-items:center;gap:10px;background:var(--bg-2);border-radius:16px;padding:10px 12px}.mini small{font-size:12.5px;color:var(--ink-2)}
.mini.outfit{flex-direction:column;align-items:center;gap:4px}
.ldots.lg i{width:26px;height:26px;margin-inline-end:-8px}
.hsw-dot{width:34px;height:34px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}
.poll{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.po{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 8px;border:2px solid var(--line);background:var(--surface);border-radius:20px;cursor:pointer;font:inherit;color:var(--ink)}
.po>b{font:800 18px var(--display)}.po.on{border-color:var(--plum);background:var(--pink-tint)}.po-ck{position:absolute;top:8px;inset-inline-start:8px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--plum);color:var(--on-plum)}.po-ck .ico{width:15px;height:15px}
.kd-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.kd-btn{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 6px;border:1.5px solid var(--line);background:var(--surface);border-radius:20px;cursor:pointer;font:700 13.5px/1.5 inherit;color:var(--ink);transition:transform .15s cubic-bezier(.3,1.7,.5,1),background .15s}
.kd-btn:hover{background:var(--pink-tint)}.kd-btn:active{transform:scale(.94)}.kd-btn .stk{width:46px;height:46px}
.si-list{display:grid;gap:10px}.si{display:flex;align-items:center;gap:12px;text-align:start;padding:10px 12px;border:1.5px solid var(--line);background:var(--surface);border-radius:18px;cursor:pointer;font:inherit;color:var(--ink)}.si:hover{background:var(--pink-tint)}.si .mini{background:none;padding:0}.si>b{flex:1}
.pick-list{display:grid;gap:8px;max-height:48vh;overflow:auto}
.pick{display:flex;align-items:center;gap:12px;padding:8px 12px;border:1.5px solid var(--line);border-radius:18px;cursor:pointer}.pick.on{border-color:var(--plum);background:var(--pink-tint)}
.pick input{appearance:none;-webkit-appearance:none;width:22px;height:22px;border-radius:50%;border:2px solid var(--line-2);margin:0;flex:none;background:var(--surface)}
.pick input:checked{background:var(--plum);border-color:var(--plum);box-shadow:inset 0 0 0 4px var(--surface)}
.av-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
.av-b{aspect-ratio:1;border:2px solid transparent;background:var(--bg-2);border-radius:16px;padding:5px;cursor:pointer}.av-b .stk{width:100%;height:100%}.av-b[aria-pressed=true]{border-color:var(--plum);background:var(--pink-tint)}
.av-tints{display:flex;gap:10px;margin:12px 0 4px}.av-tints button{width:30px;height:30px;border-radius:50%;border:0;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(90,45,79,.2)}.av-tints button[aria-pressed=true]{box-shadow:inset 0 0 0 1px rgba(90,45,79,.2),0 0 0 3px var(--surface),0 0 0 5px var(--plum)}
.av-prev{flex:none}
nav.tabbar a.has-dot::after{content:"";position:absolute;top:10px;inset-inline-start:calc(50% + 8px);width:10px;height:10px;border-radius:50%;background:var(--plum);box-shadow:0 0 0 2px var(--surface)}
.toggle span{line-height:1.7}

/* ── مانکن و استودیوی مو ── */
.lm-av{display:block;max-width:100%;height:auto;overflow:visible}
.hs{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start;padding-top:24px}
.hs-wrap{padding-bottom:8px}
.hs-stage{position:sticky;top:calc(var(--hdr) + 12px);display:flex;flex-direction:column;align-items:center;gap:10px;background:var(--pink-tint);border-radius:var(--r-xl);padding:18px 16px 16px}
.hs-av{width:100%;max-width:210px;border-radius:26px;background:var(--surface);padding:8px 6px 0;overflow:hidden;box-shadow:var(--sh-1);line-height:0}
.hs-meta{display:grid;gap:6px;justify-items:center;text-align:center}
.hs-meta small{font-size:12px;color:var(--ink-2)}
.hs-meta b{font:800 19px/1.4 var(--display)}
.hs-col{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--ink-2)}
.hs-col i{width:16px;height:16px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(90,45,79,.25)}
.hs-skins{display:flex;gap:8px;margin-top:4px}
.hs-skin{width:26px;height:26px;border-radius:50%;border:0;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(90,45,79,.25)}
.hs-skin[aria-pressed=true]{box-shadow:inset 0 0 0 1px rgba(90,45,79,.25),0 0 0 3px var(--pink-tint),0 0 0 5px var(--plum)}
.hs-main{display:grid;gap:16px;min-width:0}
.hs-sec h2{font-size:21px;margin:0 0 10px}.hs-sec h3{font-size:17px;margin:20px 0 8px}
.hs-hint-line{font-size:13.5px;color:var(--ink-2);margin:10px 0 0}
.hs-hint{display:flex;align-items:center;gap:12px;background:var(--bg-2);border-radius:var(--r);padding:12px 14px;grid-column:1/-1}.hs-hint p{margin:0 0 8px;font-size:14px;line-height:1.8}.hs-hint>.lomi,.hs-hint-cat{width:64px;flex:none}
.hs-cuts{display:grid;gap:10px}
.hs-cut{display:grid;grid-template-columns:78px minmax(0,1fr);gap:12px;align-items:center;text-align:start;padding:8px 12px 8px 8px;border:1.5px solid var(--line);border-radius:var(--r-lg);background:var(--surface);cursor:pointer;font:inherit;color:var(--ink);transition:border-color .15s,background .15s}
.hs-cut:hover{background:var(--pink-tint)}.hs-cut[aria-pressed=true]{border-color:var(--plum);background:var(--pink-tint)}
.hs-mini{display:block;background:var(--bg-2);border-radius:18px;padding:4px 2px 0;overflow:hidden;line-height:0}
.hs-ct{display:grid;gap:3px}.hs-ct b{font-size:15.5px}.hs-ct small{font-size:12.8px;line-height:1.75;color:var(--ink-2)}
.hs-note{font-size:14px;line-height:1.9;background:var(--bg-2);border-radius:var(--r);padding:10px 14px;margin:10px 0 0}
.hs-det{margin-top:12px;border:1px solid var(--line);border-radius:var(--r);padding:10px 14px}
.hs-det summary{cursor:pointer;font-weight:700;font-size:14.5px}
.hs-det ul{margin:8px 0 0;padding-inline-start:18px;color:var(--ink-2);font-size:14px;line-height:1.9}
.hs-det p{margin:8px 0 0;font-size:14px;line-height:1.9;color:var(--ink-2)}
.hs-all{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px}
.hs-tile{position:relative;display:grid;justify-items:center;gap:4px;padding:6px 4px 8px;border:1.5px solid var(--line);border-radius:var(--r);background:var(--surface);cursor:pointer;font:inherit;font-size:12.5px;font-weight:700;color:var(--ink);line-height:1.5}
.hs-tile:hover{background:var(--pink-tint)}.hs-tile[aria-pressed=true]{border-color:var(--plum);background:var(--pink-tint)}
.hs-ok{position:absolute;top:5px;inset-inline-start:5px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--mint);color:#fff}.hs-ok .ico{width:13px;height:13px}
.hs-grp{margin-top:16px}.hs-grp h4{font-size:14.5px;margin:0 0 8px}
.hs-sw{display:flex;flex-wrap:wrap;gap:6px 8px}
.sw{display:grid;justify-items:center;align-content:start;gap:5px;width:74px;padding:4px 2px;border:0;background:none;cursor:pointer;font:inherit;color:var(--ink);border-radius:14px}
.sw i{position:relative;width:46px;height:46px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(90,45,79,.25),var(--sh-1);transition:transform .15s cubic-bezier(.3,1.7,.5,1)}
.sw:hover i{transform:scale(1.08)}.sw span{font-size:12px;line-height:1.5;text-align:center}
.sw[aria-pressed=true] i{box-shadow:inset 0 0 0 1px rgba(90,45,79,.25),0 0 0 3px var(--surface),0 0 0 5px var(--plum)}
.sw.bad i::after{content:"";position:absolute;left:50%;top:-3px;width:3px;height:calc(100% + 6px);background:var(--surface);border-radius:2px;transform:translateX(-50%) rotate(45deg);box-shadow:0 0 0 1px rgba(90,45,79,.2)}
.hs-combos{display:grid;gap:12px;margin-top:8px}.hs-combo{display:grid;gap:2px}.hs-combo small{color:var(--ink-2);font-size:13px;line-height:1.8}
.hs-custom{display:flex;align-items:center;gap:12px;margin-top:18px;font-weight:700;font-size:14.5px}
.hs-custom input{width:52px;height:38px;border:1px solid var(--line-2);border-radius:12px;padding:2px;background:var(--surface);cursor:pointer}
.hs-act{display:grid;gap:10px;margin-top:10px}
@media (min-width:560px){.hs-act{grid-template-columns:1fr 1fr}}
@media (max-width:820px){
  .hs{grid-template-columns:1fr;gap:12px;padding-top:14px}
  .hs-stage{top:calc(var(--hdr) + 6px);z-index:6;flex-direction:row;justify-content:flex-start;gap:14px;padding:8px 14px 8px 10px;border-radius:24px}
  .hs-av{width:100px;max-width:100px;flex:none;border-radius:20px}
  .hs-meta{justify-items:start;text-align:start}
}

/* ── کمد من و اتاق پرو ── */
.cl{display:grid;gap:16px;padding-top:22px}
.cl-st-h{display:flex;align-items:center;gap:12px;margin-bottom:12px}.cl-st-h h2{font-size:21px;margin:0}.cl-st-h p{margin:2px 0 0;font-size:13.5px}
.cl-st-cat{width:64px;flex:none}
.cl-outs{display:grid;gap:12px;margin-top:14px}
.cl-out{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:center;background:var(--bg-2);border-radius:var(--r-lg);padding:10px 12px 10px 10px}
.cl-out-av{background:var(--surface);border-radius:18px;padding:6px 2px 4px;line-height:0}
.cl-out-b{display:grid;gap:6px;min-width:0;justify-items:start}.cl-out-b b{font-size:15px;line-height:1.7}.cl-out-b small{font-size:13px;line-height:1.8;color:var(--ink-2)}
.cl-out-b .row{display:flex;gap:8px;flex-wrap:wrap}
.cl-score{display:inline-block;font-size:12px;font-weight:700;border-radius:999px;padding:2px 11px}
.cl-score.great{background:var(--mint-tint);color:var(--mint)}.cl-score.good{background:var(--sun-tint);color:var(--sun)}.cl-score.meh{background:var(--peach-tint);color:var(--peach)}
.cl-ins h3{font-size:17px;margin:0 0 8px}.cl-ins ul{margin:0;padding-inline-start:20px;color:var(--ink-2);font-size:14px;line-height:1.95}
.cl-list{margin-top:8px}
.cl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
@media (min-width:640px){.cl-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.cl-item{display:grid;gap:4px;align-content:start;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:10px;box-shadow:var(--sh-1)}
.cl-art{display:grid;place-items:center;aspect-ratio:1;background:var(--bg-2);border-radius:16px;overflow:hidden;padding:6px}
.cl-art svg,.cl-art img{width:100%;height:100%;object-fit:contain}
.cl-photo{border-radius:12px;object-fit:cover!important}
.cl-item b{font-size:14.5px;line-height:1.6}.cl-item small{font-size:12.5px;color:var(--ink-2)}
.cl-ia{display:flex;gap:6px;align-items:center;margin-top:4px;flex-wrap:wrap}.cl-ia .btn{flex:1 1 100%}
.cl-empty{display:flex;gap:14px;align-items:center;margin-top:14px}.cl-empty-cat{width:84px;flex:none}.cl-empty p{margin:4px 0 12px}.cl-empty .row{display:flex;gap:8px;flex-wrap:wrap}
.cl-form .cl-prev{display:flex;align-items:center;gap:14px;background:var(--bg-2);border-radius:var(--r-lg);padding:10px 14px}
.cl-prev svg,.cl-prev img{width:108px;height:108px;object-fit:contain;flex:none}.cl-prev b{font-size:15.5px}
.cl-cr{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.cl-cl{flex:1 1 100%;font-size:12.5px;color:var(--ink-2);font-weight:700}
.cs{width:34px;height:34px;border-radius:50%;border:0;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(90,45,79,.25);flex:none}
.cs[aria-pressed=true]{box-shadow:inset 0 0 0 1px rgba(90,45,79,.25),0 0 0 3px var(--surface),0 0 0 5px var(--plum)}
.cl-cc{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.cl-cn{flex:1 1 auto;font-size:13px;color:var(--ink-2)}
.cl-cust{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700}
.cl-custom{width:44px;height:34px;border:1px solid var(--line-2);border-radius:10px;padding:2px;background:var(--surface);cursor:pointer}
.fit{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start;padding-top:24px}
.fit-stage{position:sticky;top:calc(var(--hdr) + 12px);display:flex;flex-direction:column;align-items:center;gap:12px;background:var(--pink-tint);border-radius:var(--r-xl);padding:16px 14px}
.fit-av{width:100%;max-width:200px;background:var(--surface);border-radius:24px;padding:8px 6px 4px;line-height:0;box-shadow:var(--sh-1)}
.fit-side{display:grid;gap:8px;justify-items:center;text-align:center;width:100%}
.fit-sc{display:inline-flex;align-items:baseline;gap:6px;border-radius:999px;padding:4px 14px;font-weight:700}.fit-sc b{font:800 22px/1.2 var(--display)}.fit-sc span{font-size:12.5px}
.fit-sc.great{background:var(--mint-tint);color:var(--mint)}.fit-sc.good{background:var(--sun-tint);color:var(--sun)}.fit-sc.meh{background:var(--peach-tint);color:var(--peach)}
.fit-hl{margin:0;font-size:13.5px;line-height:1.7;font-weight:700}
.fit-btns{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.fit-main{display:grid;gap:16px;min-width:0}
.fit-vh{display:flex;align-items:center;gap:12px}.fit-vh h2{font-size:21px;margin:0}.fit-vh p{margin:2px 0 0;font-size:14px}.fit-cat{width:64px;flex:none}
.fit-l{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}.fit-l li{display:flex;gap:8px;align-items:flex-start;font-size:14px;line-height:1.8}.fit-l .ico{width:18px;height:18px;flex:none;margin-top:4px}
.fit-l.good .ico{color:var(--mint)}.fit-l.fix .ico{color:var(--peach)}
.fit-verdict h3,.fit-edit h4{font-size:15.5px;margin:18px 0 8px}
.fit-srs{display:grid;gap:8px}.fit-sr{display:grid;grid-template-columns:auto auto;justify-content:start;align-items:center;gap:4px 10px}.fit-sr small{grid-column:1/-1;font-size:13px;color:var(--ink-2);line-height:1.8}
.fit-tabs{width:100%;display:flex}.fit-tabs button{flex:1 1 auto;padding:8px 8px;font-size:13.5px}
.fit-cis{display:flex;flex-wrap:wrap;gap:8px}.fit-ci{width:64px;height:64px;display:grid;place-items:center;border:1.5px solid var(--line);background:var(--bg-2);border-radius:16px;padding:4px;cursor:pointer}.fit-ci:hover{border-color:var(--pink-soft)}.fit-ci svg{width:100%;height:100%}
.fit-saved h2{font-size:21px;margin:0 0 12px}
.fit-sv{display:grid;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:10px}
.fit-so{display:grid;justify-items:center;gap:4px;background:var(--bg-2);border-radius:var(--r-lg);padding:8px 6px;text-align:center}
.fit-so-a{border:0;background:var(--surface);border-radius:16px;padding:4px 2px 0;cursor:pointer;line-height:0}
.fit-so b{font-size:13px}.fit-so .row{display:flex;gap:4px}
@media (max-width:820px){
  .fit{grid-template-columns:1fr;gap:12px;padding-top:14px}
  .fit-stage{top:calc(var(--hdr) + 6px);z-index:6;flex-direction:row;align-items:center;gap:12px;padding:8px 12px 8px 10px;border-radius:24px}
  .fit-av{width:104px;max-width:104px;flex:none;border-radius:18px;padding:4px 2px 2px}
  .fit-side{justify-items:start;text-align:start}
  .fit-btns{justify-content:flex-start}
}

/* ── صفحهٔ معرفی v5: هیروی لومی و ردیف‌های تصویرسازی ── */
.hero2{padding:34px 0 18px}
.hv2{position:relative;display:grid;place-items:center;min-height:470px}
.hv2-blob{position:absolute;inset:16px 0 0;background:var(--pink-tint);border-radius:44% 56% 52% 48%/48% 44% 56% 52%}
.hv2 .lomi{position:relative;z-index:1;width:min(330px,72%);height:auto}
.hv2-say{position:absolute;top:36px;inset-inline-end:6%;z-index:2;margin:0;background:var(--surface);padding:10px 16px;border-radius:18px 18px 4px 18px;font-weight:700;font-size:14px;line-height:1.8;box-shadow:var(--sh-2);text-align:center}
.hv2-c{position:absolute;z-index:2;width:62px;height:62px;border-radius:20px;background:var(--surface);display:grid;place-items:center;box-shadow:var(--sh-2);animation:hv2f 5s ease-in-out infinite}
.hv2-c .stk{width:46px;height:46px}
.hv2-c.c1{top:30%;inset-inline-start:2%;rotate:-8deg}.hv2-c.c2{bottom:12%;inset-inline-start:8%;rotate:6deg;animation-delay:-1.2s}.hv2-c.c3{top:48%;inset-inline-end:0;rotate:7deg;animation-delay:-2.4s}.hv2-c.c4{bottom:5%;inset-inline-end:14%;rotate:-6deg;animation-delay:-3.4s}
@keyframes hv2f{50%{translate:0 -8px}}
@media (prefers-reduced-motion:reduce){.hv2-c{animation:none}}
.frow2{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;padding:44px 0;border-top:1px solid var(--line)}
.frow2.rev .tx{order:2}
.frow2 h2{margin-bottom:12px}.frow2 .tx>p{color:var(--ink-2);font-size:16.5px}
.frow2 ul{list-style:none;padding:0;margin:16px 0 22px;display:grid;gap:10px}
.frow2 li{display:flex;gap:10px;align-items:flex-start;font-size:15.5px}.frow2 li .ico{width:20px;height:20px;color:var(--mint);margin-top:4px;flex:none}
.art{--tint:var(--pink-tint);position:relative;display:grid;place-items:center;align-content:center;gap:14px;min-height:300px;background:var(--tint);border-radius:var(--r-xl);padding:26px 20px;overflow:hidden}
.art[data-tone=lilac]{--tint:var(--lilac-tint)}.art[data-tone=peach]{--tint:var(--peach-tint)}.art[data-tone=mint]{--tint:var(--mint-tint)}.art[data-tone=sky]{--tint:var(--sky-tint)}.art[data-tone=sun]{--tint:var(--sun-tint)}
.mk-img{width:100%;display:grid;place-items:center}.mk-img img{width:100%;max-width:460px;height:auto;display:block}
.mk-chat{display:grid;gap:10px;width:100%;max-width:340px}
.mk-b{background:var(--surface);border-radius:18px;padding:10px 14px;font-size:14px;line-height:1.8;box-shadow:var(--sh-1);max-width:88%}.mk-b p{margin:0;font-size:14px;color:var(--ink)}
.mk-b.me{justify-self:start;background:var(--plum);color:var(--on-plum);border-end-start-radius:4px}
.mk-b.bot{justify-self:end;display:flex;gap:8px;align-items:flex-start;border-end-end-radius:4px}
.mk-av{display:block;width:40px;flex:none}.mk-av .lomi{width:100%;height:auto}
.mk-chips{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.mk-chips.c{justify-content:center}
.mk-chips i{font-style:normal;font-size:12.5px;background:var(--surface);border:1px solid var(--line-2);border-radius:999px;padding:4px 12px}
.mk-card{background:var(--surface);border-radius:22px;padding:16px 18px;box-shadow:var(--sh-2);width:100%;max-width:340px;display:grid;gap:12px}.mk-card>b{font-size:16px}
.mk-ck{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.mk-ck li{display:flex;align-items:center;gap:10px;font-size:14.5px;padding:8px 12px;border-radius:14px;background:var(--bg-2)}
.mk-ck li .ico{width:22px;height:22px;border-radius:50%;padding:4px;background:var(--surface);color:var(--line-2);margin:0}
.mk-ck li.on .ico{background:var(--mint);color:#fff}
.mk-streak{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px;color:var(--rose)}.mk-streak .stk{width:30px;height:30px}
.mk-ing{display:flex;flex-wrap:wrap;gap:8px}.mk-ing span{font-size:13px;border-radius:999px;padding:5px 12px;font-weight:700}
.mk-ing .ok{background:var(--mint-tint);color:var(--mint)}.mk-ing .warn{background:var(--sun-tint);color:var(--sun)}.mk-ing .bad{background:var(--red-tint);color:var(--red)}
.mk-sm{font-size:12.5px;color:var(--ink-2)}
.mk-sw{display:flex;gap:10px;justify-content:center}.mk-sw i{width:32px;height:32px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(90,45,79,.25),var(--sh-1)}.mk-sw.l{justify-content:flex-start}
.mk-mk,.mk-fr{display:flex;align-items:center;gap:12px}.mk-mk .stk{width:44px;height:44px}.mk-mk small,.mk-fr small{display:block;font-size:12.5px;color:var(--ink-2)}
.mk-fa{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--pink-tint);flex:none}.mk-fa .stk{width:34px;height:34px}
.mk-gl{display:flex;gap:6px}.mk-gl i{width:24px;height:34px;border-radius:6px 6px 10px 10px;background:var(--sky-soft);border:2px solid var(--sky)}.mk-gl i.e{background:transparent;border-style:dashed;opacity:.6}
.mk-note{background:var(--sun-tint);border-radius:16px;padding:10px 14px;font-size:14px;line-height:1.8}
@media (max-width:860px){.hero2 .wrap{grid-template-columns:1fr;gap:20px}.hv2{min-height:380px}.frow2{grid-template-columns:1fr;gap:22px;padding:34px 0}.frow2.rev .tx{order:0}.art{min-height:240px}}

/* مانکن روی زمینهٔ روشن می‌ماند (دورخط‌ها برای زمینهٔ روشن طراحی شده‌اند) */
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) :is(.hs-av,.fit-av,.cl-out-av,.fit-so-a,.hs-mini,.cl-art,.fit-ci,.cl-prev){background:#fff3f6}}

.empty>.empty-cat{display:block;width:148px;height:auto;margin:0 auto 4px}
.m .av{width:34px;height:30px;border-radius:12px;background:var(--pink-tint);padding:2px 1px 0}.m .av .lomi{width:100%;height:100%;display:block}
