/* All 4 Kids — seller app prototype. Tokens copied from the Figma file (UI Kit variables). */
:root{
  --p50:#f5f1f9;--p100:#ede8f2;--p200:#e3dbf5;--p300:#cfc4ea;--p400:#b19ec8;--p500:#7a5cd1;--p600:#664ab2;--p700:#4a308b;--p800:#33206a;--p900:#2a1b53;--p950:#1f1630;
  --k50:#fbe4ee;--k100:#ffdcec;--k200:#e3b5ca;--k300:#ff9fcb;--k400:#ff4a9f;--k500:#e31c79;--k600:#cc1a6b;--k700:#b0185a;
  --g50:#dbf4ec;--g100:#b5e3d6;--g200:#a0d6c6;--g400:#63b7a1;--g500:#1fa58a;--g600:#0f7468;--g700:#2f5f58;--g800:#0b4a43;--g950:#072622;
  --n50:#f5f5f6;--n100:#eaebed;--n200:#d4d4d8;--n300:#bab8bf;--n400:#9b97a2;--n500:#71667b;--n600:#60576b;--n700:#4b4357;--n950:#131212;
  --y50:#fffbeb;--y100:#fef3c7;--y200:#fde68a;--y400:#fbbf24;--y600:#d97706;--y800:#92400e;
  --white:#fff;--div:rgba(19,18,18,.1);
  --app-w:100%;
  --side:272px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:'DM Sans',system-ui,-apple-system,sans-serif;color:var(--p950);background:var(--p50);-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.4}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
input,select,textarea{font:inherit;color:inherit}
img{display:block;max-width:100%}
svg{flex:none}
:where(svg:not([width])){width:20px;height:20px}

/* ---------- type ---------- */
.h1{font-size:32px;font-weight:600;line-height:1.2;margin:0}
.h2{font-size:24px;font-weight:700;line-height:1.3;margin:0}
.t-l{font-size:20px;font-weight:700;line-height:1.35;margin:0}
.t-m{font-size:18px;font-weight:600;line-height:1.35}
.t-s{font-size:16px;font-weight:600;line-height:1.35}
.b-m{font-size:14px;font-weight:400}
.b-mm{font-size:14px;font-weight:500}
.b-s{font-size:12px;font-weight:400}
.b-sm{font-size:12px;font-weight:500}
.b-ssb{font-size:12px;font-weight:600}
.btn-l{font-size:16px;font-weight:500}
.btn-m{font-size:14px;font-weight:600}
.btn-s{font-size:12px;font-weight:600}
.label{font-size:10px}
.eyebrow{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.muted{color:var(--n500)} .muted6{color:var(--n600)} .pink{color:var(--k500)} .pink7{color:var(--k700)} .purple{color:var(--p700)} .green{color:var(--g700)}
.num{font-size:24px;font-weight:500}

/* ---------- layout (mobile first) ---------- */
#app{max-width:var(--app-w);margin:0 auto;min-height:100vh;background:var(--p50);position:relative;padding-bottom:120px}
.page{padding:0 16px}
.stack{display:flex;flex-direction:column;gap:12px}
.stack-16{display:flex;flex-direction:column;gap:16px}
.row{display:flex;align-items:center;gap:12px}
.row-top{display:flex;align-items:flex-start;gap:12px}
.between{display:flex;align-items:center;justify-content:space-between;gap:12px}
.grow{flex:1;min-width:0}
.center{text-align:center}
.mt8{margin-top:8px}.mt16{margin-top:16px}.mt24{margin-top:24px}
.hide{display:none!important}

.statusbar{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;font-weight:600;font-size:16px}
.statusbar .icons{display:flex;gap:6px;align-items:center}
#app{padding-top:12px}html.desktop #app{padding-top:0}
.app-header{display:flex;align-items:center;justify-content:space-between;padding:8px 16px 16px}
.app-header .logo{height:40px;width:auto}
.seller-pill{display:flex;align-items:center;gap:12px;background:var(--white);border-radius:48px;padding:4px 4px 4px 16px;font-size:14px}
.avatar{width:40px;height:40px;border-radius:50%;object-fit:cover}
.greeting{padding:0 16px 14px}
html.desktop .greeting{display:none}

.page-header{display:flex;align-items:center;gap:12px;padding:8px 16px 16px}
.icon-btn{width:40px;height:40px;border-radius:12px;background:var(--white);display:grid;place-items:center;flex:none}
.icon-btn svg{width:20px;height:20px}
.text-btn{background:var(--white);border-radius:12px;padding:10px 14px;font-weight:600;color:var(--p700);display:flex;gap:6px;align-items:center;white-space:nowrap}
.count-dot{background:var(--k500);color:#fff;border-radius:100px;padding:1px 6px;font-size:11px;font-weight:600}

/* ---------- cards ---------- */
.card{background:var(--white);border-radius:20px;padding:16px}
.card-tight{background:var(--white);border-radius:16px;padding:14px 16px}
.list{background:var(--white);border-radius:20px;padding:0 16px}
.list>.li{display:flex;align-items:center;gap:10px;padding:12px 0}
.list>.li+.li{border-top:1px solid var(--div)}
.tile{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;flex:none}
.tile svg{width:22px;height:22px}
.tile-40{width:40px;height:40px}
.tile.pink{background:var(--k50);color:var(--k500)}
.tile.green{background:var(--g100);color:var(--g700)}
.tile.purple{background:var(--p100);color:var(--p700)}
.tile.yellow{background:var(--y50);color:var(--y800)}
.link{color:var(--p700);font-weight:600;font-size:12px;display:inline-flex;align-items:center;gap:2px}
.link svg{width:14px;height:14px}

/* purple "brand" card — matches the card Joshua styled in Figma */
.card-brand{position:relative;overflow:hidden;background:#4a308b;border-radius:24px;padding:18px;box-shadow:inset 0 0 0 1.5px var(--p100);color:var(--p50)}
.card-brand::before{content:"";position:absolute;width:42%;height:100%;right:-4%;top:-34%;background:rgba(227,28,121,.67);opacity:.7;filter:blur(48px);border-radius:50%;pointer-events:none}
.card-brand>*{position:relative}
.card-brand .eyebrow{color:var(--p300)}
.card-brand .on-sub{color:var(--p200)}
.card-brand .on-accent{color:var(--k300)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:26px;padding:13px 22px;font-size:16px;font-weight:500;white-space:nowrap}
.btn svg{width:18px;height:18px}
.btn-primary{background:var(--p700);color:#fff}
.btn-secondary{background:var(--white);color:var(--p700);box-shadow:inset 0 0 0 1px var(--p200)}
.btn-white{background:#fff;color:var(--p700)}
.btn-outline-white{background:transparent;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.6)}
.btn-pink{background:var(--k500);color:#fff}
.btn-green{background:var(--g600);color:#fff}
.btn-block{width:100%}
.pill-btn{display:inline-flex;align-items:center;gap:6px;border-radius:100px;padding:9px 16px;font-size:12px;font-weight:600;white-space:nowrap}
.pill-btn.primary{background:var(--p700);color:#fff}
.pill-btn.soft{background:var(--p50);color:var(--p700)}
.pill-btn.white{background:#fff;color:var(--p700)}

/* badges */
.badge{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;border-radius:6px;padding:2px 7px;white-space:nowrap}
.badge.n{background:var(--n100);color:var(--n600)}
.badge.pk{background:var(--k50);color:var(--k700)}
.badge.pu{background:var(--p100);color:var(--p700)}
.badge.gr{background:var(--g100);color:var(--g800)}
.badge.ye{background:var(--y100);color:var(--y800)}
.badge.white{background:#fff;color:var(--g700)}
.status{font-size:12px;font-weight:600;text-transform:uppercase;border-radius:100px;padding:3px 10px;background:var(--g50);color:var(--g700)}
.tbd{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.06em;background:var(--y400);color:#3b2600;border-radius:4px;padding:1px 5px;vertical-align:middle;margin-left:4px}

/* checkbox */
.cb{width:22px;height:22px;border-radius:6px;flex:none;display:grid;place-items:center;background:#fff;box-shadow:inset 0 0 0 1.5px var(--n300)}
.cb svg{width:14px;height:14px;color:#fff;opacity:0}
.is-selected .cb,.cb.on{background:var(--k500);box-shadow:none}
.is-selected .cb svg,.cb.on svg{opacity:1}

/* ---------- home pieces ---------- */
.countdown{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 16px}
.units{display:flex;background:#fff;border-radius:14px;padding:4px 6px}
.unit{width:46px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px 0}
.unit+.unit{border-left:1px solid var(--div)}
.unit b{font-size:18px;font-weight:600;color:var(--k500)}
.unit span{font-size:10px;color:var(--n500)}
.arrow-chip{width:32px;height:32px;border-radius:50%;background:#fff;color:var(--p700);display:grid;place-items:center;flex:none}
.arrow-chip svg{width:16px;height:16px}

.ticket{display:flex;align-items:center;gap:14px}
.date-block{width:88px;height:88px;border-radius:16px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none}
.date-block .w{font-size:13px;font-weight:400;color:var(--n950)}
.date-block .d{font-size:20px;font-weight:700;color:var(--n950);line-height:1.15}
.date-block .tm{font-size:13px;font-weight:700;color:var(--k500);margin-top:2px}
.perf{align-self:stretch;border-left:1.5px dashed rgba(255,255,255,.35)}
.btn-row{display:flex;gap:10px;margin-top:16px}
.btn-row>*{flex:1}

.kc-card{background:var(--g100);border-radius:20px;padding:16px;display:flex;align-items:center;gap:12px}
.kc-card .t{color:var(--g800);font-weight:600;font-size:16px}
.kc-card .d{color:var(--g700);font-size:12px}
.kc-card .pill-btn{background:var(--g600);color:#fff;padding:10px 18px;font-size:14px}

.bar{height:10px;border-radius:100px;background:var(--n100);overflow:hidden}
.bar>i{display:block;height:100%;background:var(--g600);border-radius:100px}
.scale{display:flex;justify-content:space-between;font-size:12px;color:var(--n500);margin-top:6px}
.amount{font-size:34px;font-weight:600;letter-spacing:-.01em}
.amount small{font-size:18px}

.steps .step{display:flex;gap:12px;align-items:center}
.step-dot{width:22px;height:22px;border-radius:50%;background:var(--n100);color:var(--n500);display:grid;place-items:center;font-size:11px;font-weight:600;flex:none}
.step-dot.done{background:var(--k500);color:#fff}
.step-box{flex:1;background:var(--n50);border-radius:12px;padding:10px 12px}
.step.done .t-s{text-decoration:line-through;color:var(--n500)}

/* ---------- inventory ---------- */
.sale-card{background:#fff;border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:14px}
.stats{display:flex;background:var(--p50);border-radius:14px;padding:12px 14px}
.stats>div{flex:1;display:flex;flex-direction:column;align-items:center}
.stats b{font-size:18px;font-weight:600}
.footer-row{display:flex;align-items:center;gap:8px;border-top:1px solid var(--div);padding-top:12px;color:var(--k500);font-weight:600;font-size:12px}
.footer-row svg{width:16px;height:16px}
.holding{background:#fff;border-radius:20px;overflow:hidden}
.holding .hd{background:var(--y100);color:var(--y800);display:flex;justify-content:space-between;padding:10px 16px;font-size:12px;font-weight:600}
.holding .bd{padding:16px;display:flex;flex-direction:column;gap:14px}

.item{display:flex;align-items:center;gap:12px;background:#fff;border-radius:16px;padding:14px 16px;border:1.5px solid transparent}
.item.is-selected{background:var(--k50);border-color:var(--k500)}
.item.sold{background:var(--g100)}
.item.sold .cb,.item.sold .edit{display:none}
.item .name{font-size:16px;font-weight:600}
.item .desc{font-size:12px;color:var(--n600)}
.item .meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:12px;color:var(--n500);margin-top:4px}
.item .price{font-size:18px;font-weight:600;text-align:right}
.item .edit{color:var(--p700);font-size:12px;font-weight:600;display:flex;gap:3px;align-items:center;justify-content:flex-end;margin-top:6px}
.item .edit svg{width:12px;height:12px}
.item.sold .name{color:var(--g950)}.item.sold .desc,.item.sold .meta{color:var(--g800)}.item.sold .price{color:var(--g800)}
.item.sold .badge.n,.item.sold .badge.pk{background:#fff}

.search{flex:1;display:flex;align-items:center;gap:8px;background:#fff;border-radius:14px;height:44px;padding:0 14px;box-shadow:inset 0 0 0 1px var(--div);color:var(--n500)}
.search svg{width:18px;height:18px}
.search input{border:0;outline:0;background:transparent;flex:1;min-width:0}
.sq-btn{width:44px;height:44px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px var(--div);display:grid;place-items:center}
.sq-btn svg{width:20px;height:20px}
.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.chip{border-radius:100px;padding:8px 14px;font-size:12px;font-weight:600;background:#fff;box-shadow:inset 0 0 0 1px var(--div);white-space:nowrap}
.chip.on{background:var(--p950);color:#fff;box-shadow:none}
.banner-pink{background:var(--k50);border-radius:14px;padding:8px 8px 8px 14px;display:flex;align-items:center;gap:10px;color:var(--k700)}

/* forms */
.field-label{font-size:12px;font-weight:600;margin-bottom:6px;display:block}
.field-label .hint{font-weight:400;color:var(--n500)}
.input{width:100%;height:46px;border-radius:12px;border:1px solid var(--div);background:#fff;padding:0 14px;font-size:14px;outline:none}
.input:focus{border:1.5px solid var(--p700)}
.input.ro{background:var(--p100);border-color:transparent;color:var(--n600)}
textarea.input{height:96px;padding:12px 14px;resize:vertical}
select.input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371667b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:36px}
.prefix-input{display:flex;align-items:center;gap:8px;height:46px;border-radius:12px;border:1.5px solid var(--p700);background:#fff;padding:0 14px}
.prefix-input input{border:0;outline:0;flex:1;min-width:0}
.seg{display:flex;gap:4px;background:var(--p100);border-radius:14px;padding:4px}
.seg>button{flex:1;border-radius:10px;padding:9px 6px;font-size:12px;font-weight:500;color:var(--n600)}
.seg>button.on{background:#fff;color:var(--p950);font-weight:600;box-shadow:0 1px 3px rgba(46,8,47,.08)}
.toggle{width:44px;height:26px;border-radius:100px;background:var(--n200);padding:3px;display:flex;flex:none;transition:.15s}
.toggle i{width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.15);transition:.15s}
.toggle.on{background:var(--k500);justify-content:flex-end}
.stepper{display:flex;align-items:center;justify-content:space-between;height:46px;border-radius:12px;border:1px solid var(--div);background:#fff;padding:0 6px}
.stepper button{width:36px;height:36px;border-radius:10px;background:var(--p50);color:var(--p700);display:grid;place-items:center}
.stepper svg{width:16px;height:16px}
.two{display:flex;gap:10px}.two>*{flex:1;min-width:0}

/* ---------- shifts ---------- */
.week-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.day{height:58px;border-radius:14px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}
.day small{font-size:10px;color:var(--n500)}
.day b{font-size:18px;font-weight:600}
.day.on{background:var(--p700);color:#fff}.day.on small{color:var(--p200)}
.day[disabled]{opacity:.35;cursor:default}
.shift{display:flex;align-items:center;gap:12px;background:#fff;border-radius:16px;padding:14px 14px 14px 16px;border:1.5px solid transparent;cursor:pointer}
.shift.is-selected{background:var(--k50);border-color:var(--k500)}
.shift.joined{background:var(--g50);border-color:var(--g200)}
.shift.joined .cb{display:none}
.shift .time{font-size:16px;font-weight:600}
.shift .dur{font-size:12px;color:var(--n500)}
.shift .ttl{font-size:14px;font-weight:600}
.shift .ds{font-size:12px;color:var(--n600);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shift .badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.joined-pill{display:none;align-items:center;gap:4px;background:var(--g100);color:var(--g800);border-radius:100px;padding:9px 14px;font-size:12px;font-weight:600}
.shift.joined .joined-pill{display:inline-flex}

/* ---------- tab bar / fixed bars ---------- */
.fixed-bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:var(--app-w);max-width:100%;z-index:30}
.tabbar-wrap{padding:0 16px 20px}
.tabbar{background:#fff;border-radius:52px;padding:10px 16px;display:flex;justify-content:space-between;box-shadow:0 4px 18px rgba(46,8,47,.06)}
.tab{width:56px;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;color:var(--n500)}
.tab svg{width:20px;height:20px}
.tab.on{color:var(--k500);font-weight:500}
.home-ind{width:134px;height:5px;border-radius:5px;background:var(--n950);margin:8px auto 0}
.action-bar{background:#fff;border-top:1px solid var(--div);padding:12px 16px 20px}
.float-bar{margin:0 16px 12px;background:#fff;border-radius:20px;padding:10px 10px 10px 16px;display:flex;align-items:center;gap:12px;box-shadow:0 8px 24px rgba(46,8,47,.18)}

/* ---------- sheets & dialogs ---------- */
.scrim{position:fixed;inset:0;background:rgba(31,22,48,.45);z-index:50;display:none}
.sheet{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:var(--app-w);max-width:100%;max-height:88vh;overflow:auto;background:var(--p50);border-radius:28px 28px 0 0;padding:8px 16px 34px;z-index:51;display:none}
.sheet.open,.scrim.open,.dialog.open{display:block}
.grabber{width:36px;height:4px;border-radius:4px;background:var(--n300);margin:0 auto 12px}
.sheet-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}
.dialog{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(327px,calc(var(--app-w) - 48px));background:#fff;border-radius:28px;padding:28px 22px 22px;z-index:51;display:none;text-align:center}
.option{display:flex;align-items:center;gap:12px;background:#fff;border-radius:16px;padding:14px 16px;box-shadow:inset 0 0 0 1px var(--div);width:100%;text-align:left}
.option.on{background:var(--k50);box-shadow:inset 0 0 0 1.5px var(--k500)}
.radio{width:20px;height:20px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--n300);flex:none;background:#fff}
.option.on .radio,.radio.on{box-shadow:inset 0 0 0 6px var(--k500)}
.menu-pop{position:fixed;z-index:52;background:#fff;border-radius:16px;padding:6px;box-shadow:0 12px 32px rgba(46,8,47,.16);width:220px;display:none}
.menu-pop.open{display:block}
.menu-pop a,.menu-pop button{display:flex;gap:10px;align-items:center;padding:12px;border-radius:10px;width:100%;font-weight:600}
.menu-pop svg{width:18px;height:18px}

/* ---------- prototype controls ---------- */
.proto{position:fixed;left:12px;bottom:110px;z-index:60;background:var(--p950);color:#fff;border-radius:16px;padding:10px 12px;font-size:12px;box-shadow:0 8px 24px rgba(0,0,0,.25);display:flex;flex-direction:column;gap:8px;width:220px}
.proto.min{width:auto;padding:8px 12px;cursor:pointer}
.proto.min .proto-body{display:none!important}
.proto select{width:100%;border-radius:8px;border:0;padding:6px 8px;font-size:12px;background:#fff;color:var(--p950)}
.proto label{display:flex;align-items:center;gap:6px}
.proto a{color:var(--k300);text-decoration:underline}
.proto .x{float:right;opacity:.7}

/* ---------- desktop ---------- */
.sidebar{display:none}
.only-desktop{display:none!important}
html.desktop .only-desktop{display:block!important}
html.desktop .only-desktop.flex{display:flex!important}
html.desktop .only-mobile{display:none!important}
html.desktop #app{max-width:none;padding:40px 40px 80px calc(var(--side) + 40px);background:var(--p50)}
html.desktop .statusbar,html.desktop .app-header,html.desktop .tabbar-wrap{display:none}
html.desktop .page,html.desktop .page-header,html.desktop .greeting{padding-left:0;padding-right:0}
html.desktop .col{max-width:728px;margin:0 auto}
html.desktop .wide{max-width:1088px;margin:0 auto}
html.desktop .sidebar{display:flex;flex-direction:column;justify-content:space-between;position:fixed;left:0;top:0;bottom:0;width:var(--side);background:#fff;border-radius:0 24px 24px 0;padding:16px 12px;z-index:40}
html.desktop .fixed-bottom{left:calc(var(--side) + (100vw - var(--side))/2);width:min(728px,calc(100vw - var(--side) - 80px))}
html.desktop .action-bar{border-radius:20px 20px 0 0}
html.desktop .sheet{left:calc(var(--side) + (100vw - var(--side))/2);width:520px;border-radius:28px 28px 0 0}
html.desktop .dialog{left:calc(var(--side) + (100vw - var(--side))/2)}
html.desktop .proto{bottom:16px;left:auto;right:16px}
.nav a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:100px;color:var(--n600);font-size:14px;margin-bottom:2px}
.nav a svg{width:20px;height:20px}
.nav a.on{background:var(--p50);color:var(--k500)}
.side-profile{display:flex;align-items:center;gap:12px;border:1px solid var(--div);border-radius:16px;padding:10px 12px;width:100%}

/* phone preview frame (desktop testers) */
html.phone #app{max-width:390px;box-shadow:0 0 0 1px var(--div),0 20px 60px rgba(0,0,0,.15);border-radius:28px;margin:16px auto;min-height:calc(100vh - 32px)}
html.phone body{background:#e9e4ef}
html.phone{--app-w:390px}

/* desktop-only compositions */
.hero{display:flex;align-items:center;gap:40px;padding:40px 40px 40px 48px;border-radius:28px}
.journey{display:flex}
.jstep{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.jtrack{display:flex;align-items:center;width:100%}
.jtrack i{flex:1;height:2px;background:var(--n200)}
.jtrack i.done{background:var(--p700)}
.jdot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:600;background:var(--n100);color:var(--n500);flex:none}
.jdot.done{background:var(--p700);color:#fff}.jdot svg{width:14px;height:14px}
.jdot.now{background:#fff;box-shadow:inset 0 0 0 3px var(--k500)}
.jdot.now::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--k500)}
.next-step{background:var(--k400);border-radius:24px;padding:24px 24px 24px 28px;display:flex;align-items:center;gap:24px;color:#fff}
.grid-2{display:grid;grid-template-columns:1fr 400px;gap:24px;align-items:start}
.split{display:grid;grid-template-columns:400px 1fr;gap:24px;align-items:start}
.panel{background:#fff;border-radius:24px;padding:24px}
.tag-big{background:#fff;border-radius:12px;box-shadow:0 6px 16px rgba(46,8,47,.1)}
/* fixes after first visual pass */
.panel .item{border-color:var(--div)}
.panel .item.open{border-color:var(--p500);background:var(--p50)}
.panel .item.sold{border-color:transparent}
.seg>button{white-space:nowrap}
.sale-link{display:flex;flex-direction:column;gap:14px;color:inherit}
.add-cta{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--div);padding-top:14px}
/* item card — Figma "Option B · Header & footer" */
.item{flex-direction:column;align-items:stretch;gap:10px;padding:12px 16px}
.item .ihead{display:flex;align-items:center;gap:8px}
.item .imeta{font-size:11px;font-weight:500;letter-spacing:.01em;color:var(--n500)}
.item .ibody,.item .ifoot{display:flex;align-items:center;gap:12px;padding-left:30px}
.item.sold .ibody,.item.sold .ifoot{padding-left:0}
.item .ibody .name{flex:1;font-size:14px;font-weight:600;line-height:1.4}
.item .ibody .price{font-size:20px;font-weight:600}
.item .idiv{height:2px;background:var(--div);max-width:243px;width:100%}
.item .ifoot{gap:8px;flex-wrap:wrap}
.item .ifoot .edit{margin-top:0}
.pill{font-size:11px;font-weight:600;border-radius:999px;padding:3px 9px;white-space:nowrap}
.pill.dd{background:var(--g50);color:var(--g700)}
.pill.np{background:var(--y100);color:var(--y800)}
.pill.dn{background:var(--p100);color:var(--p700)}
.pill.sd{background:#fff;color:var(--g800)}
.item.sold .imeta{color:var(--g800)}
.item.sold .idiv{background:rgba(255,255,255,.6)}
/* web / phone switch */
.view-switch{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:70;background:var(--p950);color:#fff;border-radius:999px;padding:10px 18px;font-size:13px;box-shadow:0 8px 24px rgba(31,22,48,.25);display:none}
.view-switch b{font-weight:700}
@media (min-width:700px){.view-switch{display:block}}
html.desktop .view-switch{left:calc(50% + var(--side)/2)}
html.phone .view-switch{left:24px;transform:none;bottom:24px}
html.desktop .view-switch{left:24px;transform:none;bottom:100px;width:calc(var(--side) - 48px);text-align:center}

/* ---------- Seller University (matches all4kids.com/seller-university) ---------- */
.su{--su-ink:#2a0e3f;--su-purple:#792bd6;--su-pink:#fa2694;--su-pink-ink:#c81f6f;font-family:'Josefin Sans',system-ui,sans-serif;color:#000;padding:8px 16px 24px;display:flex;flex-direction:column;gap:18px}
.su p{margin:0}
.su-intro{background:#f7f5fb;border-radius:16px;padding:20px 12px;text-align:center;display:flex;flex-direction:column;gap:14px}
.su-intro hr{border:0;border-top:1px solid rgba(0,0,0,.15);margin:6px 24px}
.su-big{font-size:24px;font-weight:500;line-height:1.25;text-align:center}
.su-note{font-size:21px;font-style:italic;font-weight:500;line-height:1.25}
.su-lead{display:flex;flex-direction:column;gap:6px;padding:4px 0}
.su-mins{font-size:19px;font-style:italic;font-weight:500;text-align:center;margin-top:4px!important}
.su-progress{margin-top:4px;text-align:left}
.su-progress-row{display:flex;justify-content:space-between;font-size:14px;color:#4b4357;margin-bottom:6px}
.su-reset{font-size:13px;color:var(--su-purple);text-decoration:underline}
.su-bar{height:8px;border-radius:8px;background:rgba(121,43,214,.15);overflow:hidden}.su-bar i{display:block;height:100%;width:0;background:var(--su-pink);border-radius:8px;transition:width .3s}
.su-buttons{display:flex;flex-direction:column;gap:16px;padding:0 20px}
.su-pill{position:relative;display:flex;align-items:center;gap:10px;min-height:58px;padding:10px 20px;border-radius:24px;font-family:'Purple Purse',Georgia,serif;font-size:22px;line-height:1.1;text-align:center;background:rgba(121,43,214,.1);border:1px solid rgba(121,43,214,.22);color:#501078;box-shadow:0 10px 22px rgba(0,0,0,.06)}
.su-pill.pink{background:rgba(250,38,148,.12);border-color:rgba(250,38,148,.22);color:var(--su-pink-ink);box-shadow:0 12px 28px rgba(0,0,0,.1)}
.su-pill.solid{background:var(--su-pink);border-color:var(--su-pink);color:#fff}
.su-pill.hard{box-shadow:10px 10px 0 #aa2bff}
.su-pill-t{flex:1}
.su-ic{width:28px;height:28px;display:grid;place-items:center;flex:none;color:rgba(121,43,214,.85)}
.su-pill.pink .su-ic{color:var(--su-pink-ink)}
.su-ic svg{width:24px;height:24px}
.su-ic-r{visibility:hidden}
.su-pill .su-done{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:26px;height:26px;border-radius:13px;background:#1fa58a;color:#fff;display:grid;place-items:center}
.su-pill .su-done svg{width:15px;height:15px}
.su>.su-pill{align-self:stretch;margin:0 20px;min-height:46px;font-size:20px}
.su-wrap{background:rgba(121,43,214,.1);border:1px solid rgba(121,43,214,.18);border-radius:24px;padding:18px 14px;display:flex;flex-direction:column;gap:20px;box-shadow:0 10px 22px rgba(0,0,0,.08);margin:0 -6px}
.su-card{background:rgba(255,255,255,.55);border-radius:26px;box-shadow:0 10px 28px rgba(0,0,0,.1);overflow:hidden;display:flex;flex-direction:column}
.su-title{font-family:'Purple Purse',Georgia,serif;font-weight:400;font-size:34px;line-height:1.15;color:var(--su-ink);text-align:center;margin:0;padding:34px 16px}
.su-hint{font-size:24px;font-style:italic;font-weight:500;line-height:1.3;text-align:center;padding:30px 16px}
.su-text{font-size:20px;font-weight:500;line-height:1.35;text-align:center;padding:26px 18px}
.su-prompt{font-size:22px;font-weight:500;line-height:1.3;text-align:center}
.su-slider{position:relative;background:#fff}
.su-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.su-track::-webkit-scrollbar{display:none}
.su-track img{flex:0 0 100%;width:100%;height:auto;aspect-ratio:9/16;object-fit:cover;scroll-snap-align:center}
.su-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:56px;display:grid;place-items:center;color:var(--su-purple)}
.su-arrow svg{width:34px;height:34px;stroke-width:2.6}
.su-arrow.prev{left:0}.su-arrow.next{right:0}
.su-arrow[disabled]{opacity:.25}
.su-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:7px;pointer-events:none}
.su-dots i{width:8px;height:8px;border-radius:4px;background:rgba(121,43,214,.3)}.su-dots i.on{background:var(--su-purple)}
.su-video{background:#000;border-radius:26px;overflow:hidden}
.su-card .su-video{border-radius:0}
.su-card>*+.su-video,.su-card>.su-video+*{margin-top:14px}
.su-video video{display:block;width:100%;aspect-ratio:9/16;object-fit:cover;background:#000}
.su-end{align-items:stretch;gap:22px;padding:30px 22px 34px;text-align:center}
.su-home{padding:26px 22px;background:rgba(121,43,214,.1);border:1px solid rgba(121,43,214,.18);box-shadow:none}
.su-cal{display:flex;flex-direction:column;gap:14px;padding:0 22px 30px}
.su-cal .su-pill{font-family:'Josefin Sans',sans-serif;font-style:italic;font-size:20px;min-height:52px}
html.desktop .su .su-wrap{max-width:460px;margin:0 auto;width:100%}
html.desktop .su-buttons,html.desktop .su-intro,html.desktop .su>.su-pill,html.desktop .su-lead,html.desktop .su-home{max-width:420px;margin-left:auto;margin-right:auto;width:100%}
.su-italic{font-style:italic}
/* Seller University hub (app look) */
.uni-lesson{display:flex;align-items:center;gap:12px}
.uni-num{width:28px;height:28px;border-radius:14px;background:var(--p100);color:var(--p700);display:grid;place-items:center;font-weight:700;font-size:13px;flex:none}
.uni-lesson.done .uni-num{background:var(--g500);color:#fff}

/* ---------- review round 3 ---------- */
.seller-pill .pill-caret{width:14px;height:14px;color:var(--n500);margin-left:-2px}
.saved-card{background:var(--y50);box-shadow:inset 0 0 0 1px var(--y200)}
.screen-label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--n600);background:#fff;border-radius:12px;padding:8px 12px;box-shadow:inset 0 0 0 1px var(--div)}
.screen-label svg{width:16px;height:16px;color:var(--p700)}
.btn-outline-pink{background:#fff;color:var(--k700);box-shadow:inset 0 0 0 1.5px var(--k300)}
.shift[data-status="waitlist"]:not(.joined){background:var(--n50);color:var(--n600);opacity:.8}
.shift[data-status="waitlist"]:not(.joined) .time,.shift[data-status="waitlist"]:not(.joined) .ttl{color:var(--n600)}
/* selecting items: the action bar sits at the top; the bottom tab bar goes away */
.sel-only{display:none}
body.selecting .sel-only{display:block}
body.selecting .norm-only{display:none}
body.selecting .tabbar-wrap{display:none}
.sel-bar{position:sticky;top:0;z-index:25;background:var(--p50);padding:8px 16px 10px;border-bottom:1px solid var(--div)}
.panel .sel-bar{margin:-20px -16px 0;padding:12px 16px;border-radius:20px 20px 0 0;background:#fff}
.sel-actions{display:flex;justify-content:space-around;background:#fff;border-radius:16px;padding:8px 4px;margin-top:8px;box-shadow:inset 0 0 0 1px var(--div)}
.panel .sel-actions{background:var(--p50)}
.sel-actions button{display:flex;flex-direction:column;align-items:center;gap:4px;font-weight:600;font-size:12px;color:var(--p700);padding:2px 10px}
.sel-all-row{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--p700);padding:4px 16px}
.sel-all-row .cb{color:transparent}
body.selecting .sel-all-row{display:none}
/* Edit all */
.ea-table-wrap{background:#fff;border-radius:20px;padding:8px 16px;overflow-x:auto}
.ea-table{width:100%;border-collapse:collapse;font-size:14px}
.ea-table th{text-align:left;font-size:12px;font-weight:600;color:var(--n600);padding:12px 6px;vertical-align:bottom;border-bottom:1px solid var(--div)}
.ea-table th select{display:block;margin-top:6px;padding:6px 8px;font-size:12px;min-width:84px}
.ea-table td{padding:8px 6px;border-bottom:1px solid var(--div);vertical-align:middle}
.ea-table .input{padding:8px 10px;font-size:13px}
.ea-table td:nth-child(5) .input{min-width:220px}
.ea-table td:nth-child(6) .prefix-input{min-width:70px}
.ea-table td:nth-child(3) .input,.ea-table td:nth-child(4) .input{min-width:130px}
.ea-table td:nth-child(2) .input{min-width:140px}
.ea-table td:nth-child(6) .prefix-input{width:96px;min-width:96px}
.ea-table td:nth-child(7) .input,.ea-table td:nth-child(8) .input{min-width:84px}

/* bigger bottom tab bar (review round 4) */
.tabbar-wrap{padding:0 8px 14px}
.tabbar{padding:12px 6px;border-radius:32px;box-shadow:0 6px 24px rgba(46,8,47,.12)}
.tab{width:auto;flex:1;min-width:0;gap:5px;font-size:12px;font-weight:500;padding:2px 0}
.tab svg{width:26px;height:26px}
.tab span{white-space:nowrap}
#app{padding-bottom:132px}
/* selecting: tapping a card ticks it; no per-item Edit */
body.selecting .item .edit{display:none}
body.selecting .item:not(.sold){cursor:pointer}

/* #61: selection bar at the bottom, pink so it's easy to notice */
.sel-bar.fixed-bottom{position:fixed;top:auto;bottom:0;z-index:30;margin:0;background:var(--k500);color:#fff;border:0;border-radius:24px 24px 0 0;padding:12px 16px 22px;box-shadow:0 -8px 24px rgba(46,8,47,.18)}
.panel .sel-bar.fixed-bottom{margin:0;background:var(--k500);border-radius:24px 24px 0 0}
.sel-bar.fixed-bottom .muted{color:var(--k100)}
.sel-bar.fixed-bottom .text-btn{color:#fff}
.sel-bar.fixed-bottom .icon-btn{background:rgba(255,255,255,.18);color:#fff}
.sel-bar.fixed-bottom .sel-actions,.panel .sel-bar.fixed-bottom .sel-actions{background:rgba(255,255,255,.16);box-shadow:none}
.sel-bar.fixed-bottom .sel-actions button{color:#fff}
body.selecting #app{padding-bottom:190px}

.sel-bar.fixed-bottom .text-btn{background:rgba(255,255,255,.18);color:#fff;box-shadow:none}
body.selecting .norm-only{display:block}
/* #62 rejected at check-in */
.item.rejected{background:var(--k50);border-color:var(--k100)}
.pill.rj{background:var(--k500);color:#fff}

/* desktop: the pink selection bar sticks to the bottom of the item list, not across the editor */
html.desktop .panel .sel-bar.fixed-bottom{position:sticky;bottom:16px;left:auto;transform:none;width:auto;max-width:none;border-radius:20px;margin-top:4px}

/* selection bar: white background, light pink box around the action buttons */
.sel-bar.fixed-bottom,.panel .sel-bar.fixed-bottom{background:#fff;color:var(--p950);box-shadow:0 -8px 28px rgba(46,8,47,.16)}
.sel-bar.fixed-bottom .muted{color:var(--n500)}
.sel-bar.fixed-bottom .icon-btn{background:var(--p50);color:var(--p700)}
.sel-bar.fixed-bottom .text-btn{background:var(--p50);color:var(--p700)}
.sel-bar.fixed-bottom .sel-actions,.panel .sel-bar.fixed-bottom .sel-actions{background:var(--k50);box-shadow:inset 0 0 0 1px var(--k100)}
.sel-bar.fixed-bottom .sel-actions button{color:var(--k700)}
