@charset "UTF-8";
/* Tailorstack product UI, rebuilt from the Figma file (CT90LSpedsRHRxFtRhLa0S, page "Tailor experience").
   Rendered at true size (app window 1440 × 900) and scaled down by its container, so proportions match the product. */

:root {
  --ts-main: #242529;      /* color/black/main */
  --ts-2: #717171;         /* color/black/secondary */
  --ts-3: #999999;         /* color/black/tertiary */
  --ts-stroke: #e7e7e7;    /* color/stroke */
  --ts-fog: #f1f1f1;       /* color/fog */
  --ts-smoke: #fbfbfb;     /* color/smoke */
  --ts-navy: #050731;      /* primary button */
  --ts-cyan: #abdcdf;      /* primary button label */
  --ts-input-shadow: 0 2px 2px -1px rgba(0, 0, 0, .04);
  --ts-btn-shadow: 0 1px .5px rgba(0, 0, 0, .1);
}

.ts { font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif; color: var(--ts-main); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-align: left; }
.ts *, .ts *::before, .ts *::after { box-sizing: border-box; }
.ts p { margin: 0; }

/* Icons are the Figma SVGs, used as masks so they take the text colour */
.ts-ic { display: inline-block; width: 24px; height: 24px; flex: none; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ts-ic.s20 { width: 20px; height: 20px; } .ts-ic.s16 { width: 16px; height: 16px; } .ts-ic.s14 { width: 14px; height: 14px; } .ts-ic.s12 { width: 12px; height: 12px; }

/* Scaled stage: the app is laid out at full size inside, then scaled to fit */
.ts-fit { position: relative; overflow: hidden; }
.ts-fit > .ts-scale { position: absolute; left: 0; top: 0; transform-origin: 0 0; }

/* ---------- App window ---------- */
.ts-app { width: 1440px; height: 900px; display: flex; background: #fff; overflow: hidden; }
.ts-app.compact { width: 1200px; }   /* a smaller laptop window: every view still fits */
.ts-app.ts-client { width: 1728px; height: 1117px; }   /* the client's page, on the bigger laptop Figma 192:4110 draws it on */
.ts-side { width: 260px; flex: none; background: var(--ts-smoke); border-right: 1px solid var(--ts-stroke); padding: 40px 12px; display: flex; flex-direction: column; }
.ts-side .brand { padding: 10px; }
.ts-side .brand img { width: 109px; height: 16px; }
.ts-side .grp { margin-top: 34px; display: flex; flex-direction: column; }
.ts-side .lbl { padding: 4px 14px 4px 10px; font-size: 12px; font-weight: 500; line-height: normal; letter-spacing: .6px; color: var(--ts-3); }
.ts-side .lnk { display: flex; align-items: center; gap: 8px; padding: 10px 14px 10px 10px; border-radius: 12px; font-weight: 500; color: var(--ts-2); transition: background-color .28s var(--ease, ease), color .28s var(--ease, ease); }
.ts-side .lnk.on { background: var(--ts-fog); color: var(--ts-main); }
.ts-main { position: relative; flex: 1; min-width: 0; }
.ts-view { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; opacity: 0; visibility: hidden; transition: opacity .28s var(--ease, ease), visibility 0s linear .28s; }
.ts-view.on { opacity: 1; visibility: visible; transition: opacity .28s var(--ease, ease); }
.ts-top { height: 70px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--ts-stroke); background: #fff; }
.ts-crumb { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ts-2); }
.ts-crumb .back { display: flex; padding: 8px; color: var(--ts-main); }
.ts-crumb b { font-weight: 500; color: var(--ts-main); }
.ts-crumb .arrows { display: flex; color: var(--ts-main); }
.ts-body { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.ts-page { width: 960px; max-width: calc(100% - 64px); margin: 0 auto; padding-top: 40px; }

/* ---------- Controls ---------- */
.ts-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 40px; padding: 0 20px; border-radius: 1000px; font-size: 14px; font-weight: 500; line-height: normal; white-space: nowrap; border: 1px solid transparent; }
.ts-btn.primary { background: var(--ts-navy); color: var(--ts-cyan); box-shadow: var(--ts-btn-shadow); }
.ts-btn.outline { border-color: var(--ts-navy); color: var(--ts-navy); }
.ts-btn.dark { background: #1c1c1d; color: #fff; height: 32px; padding: 0 12px; box-shadow: var(--ts-btn-shadow); }
.ts-btn.sm { height: 32px; padding: 0 14px; }
.ts-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 30px; background: var(--ts-fog); font-size: 12px; font-weight: 600; line-height: 16px; white-space: nowrap; }
.ts-tag { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 2px 4px; border-radius: 4px; font-size: 12px; font-weight: 500; line-height: 16px; white-space: nowrap; color: var(--ts-main); transition: background-color .28s var(--ease, ease); }
.ts-tag.blue { background: #e3ebf2; } .ts-tag.orange { background: #ffe9d6; }
.ts-tag.draft { background: #fae5b9; color: #1d1d1f; } .ts-tag.progress { background: #ebf5fe; color: #1d1d1f; } .ts-tag.done { background: #c6f5ce; color: #1d1d1f; } .ts-tag.grey { background: var(--ts-fog); }
.ts-spin { width: 10px; height: 10px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ts-spin .8s linear infinite; }
@keyframes ts-spin { to { transform: rotate(360deg); } }

/* ---------- Home ---------- */
.ts-home { display: flex; flex-direction: column; gap: 40px; }
.ts-h1 { font-size: 28px; font-weight: 600; line-height: normal; }
.ts-h2 { font-size: 20px; font-weight: 600; line-height: normal; }
.ts-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.ts-stat { display: flex; align-items: flex-end; justify-content: space-between; padding: 20px; border: 1px solid var(--ts-stroke); border-radius: 8px; background: #fff; }
.ts-stat .col { display: flex; flex-direction: column; gap: 68px; }
.ts-stat .t { font-size: 14px; font-weight: 600; line-height: 20px; }
.ts-stat .v { font-size: 24px; font-weight: 400; line-height: normal; font-variant-numeric: tabular-nums; }
.ts-stat.dark { background: var(--ts-main); border-color: var(--ts-main); color: #fff; box-shadow: 0 2px 2px -1px rgba(0,0,0,.04); }
.ts-stat.dark .v span { color: #999; }
.ts-stat.dark .note { font-size: 12px; opacity: .6; line-height: normal; }
.ts-todo { border: 1px solid var(--ts-stroke); border-radius: 8px; overflow: hidden; padding-bottom: 16px; }
.ts-todo .hd { background: var(--ts-smoke); padding: 16px 16px 12px; font-size: 16px; font-weight: 600; line-height: normal; }
.ts-todo .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 0; border-top: 1px solid var(--ts-stroke); margin-top: 16px; transition: background-color .28s var(--ease, ease); }
.ts-todo .row:first-of-type { margin-top: 0; }
.ts-todo .l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ts-todo .box { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--ts-stroke); background: var(--ts-smoke); display: grid; place-items: center; flex: none; }
.ts-todo .tt { font-size: 16px; font-weight: 500; line-height: normal; }
.ts-todo .st { font-size: 14px; font-weight: 500; color: var(--ts-2); }
.ts-todo .r { display: flex; align-items: center; gap: 16px; flex: none; }

/* ---------- Customer · measurements ---------- */
.ts-name { padding: 20px 0; border-bottom: 1px solid var(--ts-stroke); font-size: 24px; font-weight: 700; line-height: normal; }
.ts-tabs { display: flex; gap: 12px; margin-top: 20px; }
.ts-tabs span { width: 156px; height: 42px; display: grid; place-items: center; border: 1px solid var(--ts-stroke); border-radius: 8px; color: var(--ts-2); line-height: 16px; filter: drop-shadow(0 1px .5px rgba(0,0,0,.1)); background: #fff; }
.ts-tabs span.on { border: 2px solid var(--ts-main); color: var(--ts-main); font-weight: 500; filter: none; }
.ts-sec { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.ts-groups { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.ts-group { border: 1px solid var(--ts-stroke); border-radius: 8px; padding: 16px; box-shadow: 0 2px 2px rgba(0,0,0,.04); background: #fff; }
.ts-group .gh { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 500; letter-spacing: .6px; line-height: normal; }
.ts-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; margin-top: 12px; }
.ts-field { display: flex; flex-direction: column; gap: 4px; }
.ts-field label { font-size: 12px; color: var(--ts-2); line-height: normal; }
.ts-input { position: relative; height: 40px; border: 1px solid var(--ts-stroke); border-radius: 8px; background: #fff; box-shadow: var(--ts-input-shadow); display: flex; align-items: center; padding: 0 36px 0 13px; font-size: 14px; line-height: 16px; font-variant-numeric: tabular-nums; transition: border-color .28s var(--ease, ease), background-color .28s var(--ease, ease); }
.ts-input .ts-ic { position: absolute; right: 8px; top: 50%; margin-top: -10px; color: var(--ts-main); }
.ts-input.fresh { border-color: #9cc77e; background: #f6fbf2; }
.ts-group .acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.ts-group .hist { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 58px; background: var(--ts-fog); font-size: 12px; font-weight: 500; line-height: normal; color: var(--ts-main); }

/* ---------- Orders ---------- */
.ts-oh { display: flex; align-items: center; justify-content: space-between; }
.ts-oh .count { font-size: 14px; line-height: normal; margin-top: 4px; }
.ts-filters { display: flex; gap: 12px; margin-top: 20px; }
.ts-filters span { flex: 1; height: 42px; display: grid; place-items: center; border: 1px solid var(--ts-stroke); border-radius: 8px; color: var(--ts-2); line-height: 16px; background: #fff; }
.ts-filters span.on { border: 2px solid var(--ts-main); color: var(--ts-main); }
.ts-search { margin-top: 20px; height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 13px; border: 1px solid rgba(71,70,69,.1); border-radius: 8px 8px 0 0; color: var(--ts-3); box-shadow: var(--ts-input-shadow); }
.ts-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.ts-oc { border: 1px solid var(--ts-stroke); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #fff; transition: border-color .28s var(--ease, ease); }
.ts-oc .a { display: flex; justify-content: space-between; align-items: flex-start; }
.ts-oc .no { font-size: 13px; font-weight: 500; color: var(--ts-2); line-height: normal; }
.ts-oc .nm { font-size: 14px; font-weight: 500; line-height: normal; margin-top: 4px; }
.ts-oc .amt { font-size: 14px; font-weight: 600; line-height: 16px; }
.ts-oc hr { border: 0; height: 1px; background: var(--ts-stroke); margin: 0; }
.ts-oc .b { display: flex; justify-content: space-between; align-items: center; }
.ts-oc .due { font-size: 12px; font-weight: 600; line-height: normal; }
.ts-oc .b > span:last-child { display: flex; align-items: center; gap: 4px; }

/* ---------- Invoice (document) ---------- */
.ts-canvas { position: absolute; inset: 0; display: flex; justify-content: center; }
.ts-canvas .col { width: 856px; height: 100%; background: var(--ts-smoke); position: relative; }
.ts-paper-wrap { position: absolute; left: 50%; top: 32px; width: 595px; transform: translateX(-50%); }
.ts-paper { width: 595px; height: 842px; background: #fff; border: 1px solid var(--ts-stroke); box-shadow: 0 7px 12px rgba(0,0,0,.14); padding: 59px 40px 0 39px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--ts-main); font-size: 12px; line-height: normal; }
.ts-paper .h { display: flex; align-items: center; justify-content: space-between; font-size: 20px; font-weight: 500; }
.ts-paper .h i { width: 32px; height: 32px; border-radius: 40px; background: var(--ts-stroke); }
.ts-paper .to { margin-top: 40px; display: flex; flex-direction: column; gap: 8px; }
.ts-paper .to b { font-weight: 700; }
.ts-paper .to span { color: var(--ts-2); }
.ts-paper .th, .ts-paper .tr { display: grid; grid-template-columns: 1fr 24px 60px 52px 24px 64px; column-gap: 20px; }
.ts-paper .th { margin-top: 30px; padding-bottom: 8px; border-bottom: 1px solid var(--ts-main); }
.ts-paper .tr { margin-top: 20px; color: #081f24; }
.ts-paper .r { text-align: right; }
.ts-paper .tot { margin: 20px 0 0 auto; width: 300px; display: flex; flex-direction: column; gap: 4px; }
.ts-paper .tot div { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid var(--ts-stroke); }
.ts-paper .tot .due { font-weight: 700; }
.ts-paper .tot .due span:last-child { font-size: 14px; }
.ts-paper .notes { margin-top: 30px; height: 80px; border-radius: 8px; background: var(--ts-smoke); box-shadow: var(--ts-input-shadow); padding: 14px; font-family: "Pretendard Variable", Pretendard, system-ui, sans-serif; font-size: 14px; line-height: 16px; color: var(--ts-3); }
.ts-paper .pfoot { margin-top: 200px; border-top: 1px solid var(--ts-stroke); height: 34px; }
.ts-actionbar { position: absolute; left: 50%; top: 706px; transform: translateX(-50%); width: 480px; display: flex; gap: 8px; padding: 12px; background: #fff; border: 1px solid var(--ts-stroke); border-radius: 32px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.08)); }
.ts-actionbar .ts-btn { flex: 1; padding: 0 8px; }
.ts-empty { display: inline-block; min-width: 46px; height: 13px; border-radius: 3px; background: var(--ts-fog); vertical-align: -2px; transition: background-color .28s var(--ease, ease); }
.ts-empty.filled { background: transparent; min-width: 0; height: auto; }

/* ---------- Portfolio editor + public lookbook ---------- */
.ts-edit { position: absolute; inset: 0; display: flex; }
.ts-edit .left { width: 500px; flex: none; padding: 39px 50px 0; }
.ts-edit .left .title { font-size: 20px; font-weight: 500; line-height: normal; }
.ts-edit .ptabs { display: flex; gap: 24px; margin: 18px -50px 0; padding: 0 50px; border-bottom: 1px solid var(--ts-stroke); }
.ts-edit .ptabs span { padding: 10px 0; font-weight: 500; line-height: normal; color: var(--ts-2); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.ts-edit .ptabs span.on { color: var(--ts-main); border-color: var(--ts-main); }
.ts-edit .desc { margin-top: 40px; color: var(--ts-2); }
.ts-thumbs { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ts-thumbs > span { position: relative; aspect-ratio: 3 / 4; border-radius: 8px; background: var(--ts-smoke) center 20% / cover no-repeat; overflow: hidden; }
.ts-thumbs > span.add { border: 1px solid var(--ts-stroke); }
.ts-thumbs > span i { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 100px; background: #fff; color: var(--ts-main); }
.ts-edit .right { position: relative; flex: 1; min-width: 0; background: var(--ts-smoke) url("/site/assets/app/dotgrid.png") center top / 1724px auto; border-left: 1px solid var(--ts-fog); display: flex; flex-direction: column; align-items: center; padding-top: 39px; gap: 20px; }
/* In the smaller laptop window the preview pane would be barely wider than the phone page, so the editor gives up a
   little width and the page sits smaller, with air around it and most of its length on show */
.ts-app.compact .ts-edit .left { width: 440px; padding: 44px 48px 0; }
.ts-app.compact .ts-edit .ptabs { margin-left: -48px; margin-right: -48px; padding: 0 48px; }
.ts-app.compact .ts-thumbs { gap: 14px; }
.ts-app.compact .ts-edit .right { padding-top: 44px; gap: 24px; }
.ts-app.compact .ts-look-wrap { transform: scale(.76); transform-origin: 50% 0; margin-bottom: -212px; box-shadow: 0 1px 2px rgba(4,6,51,.05), 0 18px 40px -18px rgba(4,6,51,.22); }
.ts-toggle { display: flex; justify-content: space-between; width: 84px; padding: 4px; border-radius: 8px; border: 1px solid var(--ts-stroke); background: var(--ts-fog); }
.ts-toggle span { width: 36px; height: 24px; display: grid; place-items: center; border-radius: 6px; color: var(--ts-main); }
.ts-toggle span.on { background: #fff; }
.ts-look { position: relative; width: 430px; height: 882px; flex: none; border-radius: 16px; border: 1px solid var(--ts-fog); background: #fff; overflow: hidden; }
.ts-look .glow { position: absolute; left: 50%; top: -259px; width: 625px; height: 338px; transform: translateX(-50%) translateX(-15px); filter: blur(35px); }
.ts-look .glow i { position: absolute; top: 8%; bottom: 12%; border-radius: 274px; }
.ts-look .glow::after { content: ""; position: absolute; left: 0; right: 0; top: 58px; height: 273px; background: rgba(247,246,245,.59); }
.ts-look .hdr { position: absolute; left: 19px; top: 35px; width: 390px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ts-look .who { display: flex; gap: 12px; }
.ts-look .av { width: 56px; height: 56px; border-radius: 1000px; background: #018dff; display: grid; place-items: center; color: #fff; flex: none; }
.ts-look .nm { font-size: 20px; font-weight: 500; line-height: normal; }
.ts-look .loc { display: flex; align-items: center; gap: 4px; color: var(--ts-3); line-height: normal; margin-top: 4px; }
.ts-look .about { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 6px 8px; border: 1px solid var(--ts-stroke); border-radius: 40px; background: #fff; color: var(--ts-2); font-weight: 500; line-height: normal; }
.ts-look .msg { height: 32px; padding: 0 16px; }
.ts-look .mason { position: absolute; left: 19px; top: 189px; width: 390px; display: flex; justify-content: space-between; }
.ts-look .mason > div { width: 189px; display: flex; flex-direction: column; gap: 12px; }
.ts-look .mason span { display: block; border-radius: 8px; background: var(--ts-smoke) center 15% / cover no-repeat; transition: opacity .28s var(--ease, ease); }
.ts-look .built { position: absolute; left: 54px; bottom: -71px; width: 320px; height: 126px; border: 1px solid var(--ts-stroke); border-radius: 12px; background: #fff; display: flex; justify-content: center; padding-top: 19px; gap: 5px; font-size: 14px; font-weight: 600; line-height: normal; }

/* ---------- States the site's scroll demos move between ---------- */
.ts-oc { transition: border-color .28s var(--ease, ease), opacity .28s var(--ease, ease), transform .28s var(--ease, ease); }
.ts-oc.hi { border-color: var(--ts-main); }
.ts-oc.dim { opacity: .28; }
.ts-btn { transition: background-color .28s var(--ease, ease), color .28s var(--ease, ease), border-color .28s var(--ease, ease); }
.ts-btn.ok { background: #c6f5ce; color: #1d1d1f; border-color: transparent; box-shadow: none; }
.ts-filters span { transition: border-color .28s var(--ease, ease), color .28s var(--ease, ease); }
.ts-tabs span { transition: border-color .28s var(--ease, ease), color .28s var(--ease, ease); }
.ts-thumbs > span { transition: opacity .28s var(--ease, ease), transform .28s var(--ease, ease); }
.ts-paper .tr, .ts-group { transition: opacity .28s var(--ease, ease); }
.ts-input .val { transition: color .28s var(--ease, ease); }
.ts-input .val.ph { color: var(--ts-3); }

/* ---------- Order detail (Figma 160:3179) ---------- */
.ts-od .hd { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--ts-stroke); }
.ts-od .id { display: flex; align-items: center; gap: 8px; }
.ts-od .id > span:first-child { font-size: 24px; font-weight: 700; line-height: normal; }
.ts-od .id .ts-tag + .ts-ic { margin-left: -8px; }
.ts-od .st { position: relative; display: flex; align-items: center; gap: 8px; }
/* The status menu under the tag (Figma 335:9724): it opens before each change, the next status picked */
.ts-menu { position: absolute; left: 0; top: calc(100% + 6px); z-index: 2; min-width: 120px; display: flex; flex-direction: column; padding: 4px; background: #fff; border: 1px solid var(--ts-stroke); border-radius: 8px;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s var(--ease, ease), transform .2s var(--ease, ease), visibility 0s linear .2s; }
.ts-menu.on { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease, ease), transform .2s var(--ease, ease); }
.ts-menu span { padding: 6px 8px; border-radius: 4px; font-size: 12px; font-weight: 500; line-height: 16px; white-space: nowrap; transition: background-color .2s var(--ease, ease); }
.ts-menu span.hi { background: var(--ts-fog); }
.ts-od .bt { display: flex; gap: 8px; }
.ts-od .card { margin-top: 20px; border: 1px solid var(--ts-stroke); border-radius: 8px; padding: 20px; box-shadow: var(--ts-input-shadow); display: flex; flex-direction: column; gap: 20px; background: #fff; }
.ts-od .ct { font-size: 18px; font-weight: 700; line-height: normal; }
.ts-od .info { display: flex; gap: 20px; }
.ts-od .info > div { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.ts-od .it span { font-size: 12px; font-weight: 500; color: var(--ts-2); line-height: normal; }
.ts-od .it p { font-size: 14px; line-height: 16px; margin-top: 4px; }
.ts-od .tbl { padding: 20px 0 0; gap: 0; overflow: hidden; }
.ts-od .tbl .ct { padding: 0 20px 20px; }
.ts-od .tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ts-od .tr span { height: 40px; display: flex; align-items: center; padding: 0 12px; font-size: 14px; line-height: 16px; border-bottom: 1px solid rgba(231,231,231,.5); }
.ts-od .tr span:first-child { padding-left: 20px; }
.ts-od .th span { height: 36px; background: #f7f7f7; font-weight: 500; border-bottom-color: #fff; }
.ts-od .tr .q { color: var(--ts-2); }

/* ---------- Create order + live quote (Figma 159:2326) ---------- */
.ts-co { position: absolute; inset: 0; display: flex; }
.ts-co .form { width: 540px; flex: none; padding: 52px 40px 0; display: flex; flex-direction: column; gap: 24px; }
.ts-co .form .t { font-size: 20px; font-weight: 600; line-height: normal; margin-bottom: 16px; }
:is(.ts-co, .tsm-co) .blk { display: flex; flex-direction: column; gap: 8px; }
:is(.ts-co, .tsm-co) .blk .h { font-size: 16px; font-weight: 600; line-height: normal; }
:is(.ts-co, .tsm-co) .cfr { display: flex; gap: 8px; }
:is(.ts-co, .tsm-co) .cf { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
:is(.ts-co, .tsm-co) .lb { font-size: 12px; color: var(--ts-2); line-height: normal; }
:is(.ts-co, .tsm-co) .ts-input.co { padding-right: 13px; box-shadow: none; }
:is(.ts-co, .tsm-co) .ts-input.sel { padding-right: 36px; box-shadow: var(--ts-input-shadow); }
:is(.ts-co, .tsm-co) .ts-input.fee { background: var(--ts-smoke); }
:is(.ts-co, .tsm-co) .ts-input.area { height: 80px; align-items: flex-start; padding-top: 13px; color: var(--ts-3); box-shadow: var(--ts-input-shadow); }
:is(.ts-co, .tsm-co) .chip { align-self: flex-start; padding: 6px 12px; border-radius: 1000px; background: var(--ts-fog); font-size: 12px; font-weight: 500; line-height: 16px; color: var(--ts-2); }
.ts-co .side { position: relative; flex: 1; min-width: 0; background: var(--ts-smoke); overflow: hidden; }
.ts-co .quote { position: absolute; left: 50%; top: 32px; transform: translateX(-50%); }
.ts-paper .meta { margin-top: 40px; display: grid; grid-template-columns: 140px auto; gap: 4px 0; color: var(--ts-2); }
.ts-paper .by { margin-top: 30px; display: flex; gap: 80px; }
.ts-paper .by b { display: block; font-weight: 700; }
.ts-paper .by span { display: block; margin-top: 4px; color: var(--ts-2); }
.ts-paper .big { margin-top: 30px; font-size: 16px; font-weight: 700; }
.ts-paper .qfoot { position: absolute; left: 39px; right: 40px; bottom: 71px; padding-top: 20px; border-top: 1px solid var(--ts-stroke); color: var(--ts-3); }
.ts-paper.quote { padding-top: 59px; }

/* ---------- Phone: iPhone 14 Pro frame after Devices.css v0.2.0 (MIT, github.com/picturepan2/devices.css),
   copied in so the screen can hold live HTML. Graphite finish. 428 × 868, screen 390 × 830. ---------- */
.phone { position: relative; width: 428px; height: 868px; }
.phone *::before, .phone *::after { box-sizing: border-box; }   /* as Devices.css assumes: the antenna bands sit on the frame, not 14px past it */
.phone .pf { width: 428px; height: 868px; padding: 19px; background: #010101; border: 1px solid #3b3b40; border-radius: 68px; box-shadow: inset 0 0 4px 2px #a9a9b0, inset 0 0 0 6px #45454b; }
.phone .scr { position: relative; width: 390px; height: 830px; border-radius: 49px; overflow: hidden; background: #fff; isolation: isolate; }
.phone .stripe::before, .phone .stripe::after { content: ""; position: absolute; left: 0; width: 100%; height: 7px; border: solid rgba(1, 1, 1, .25); border-width: 0 7px; z-index: 9; }
.phone .stripe::after { top: 85px; } .phone .stripe::before { bottom: 85px; }
.phone .island { position: absolute; z-index: 10; top: 29px; left: 50%; width: 120px; height: 35px; margin-left: -60px; border-radius: 20px; background: #010101; }
.phone .lens { position: absolute; z-index: 11; top: 42px; left: 50%; width: 9px; height: 9px; margin-left: 36px; border-radius: 50%; background: radial-gradient(farthest-corner at 20% 20%, #6074bf 0, transparent 40%), radial-gradient(farthest-corner at 80% 80%, #513785 0, #24555e 20%, transparent 50%); box-shadow: 0 0 1px 1px rgba(255, 255, 255, .05); }
.phone .d-btns, .phone .d-btns::before, .phone .d-btns::after, .phone .d-power { position: absolute; width: 3px; border-radius: 2px; background: #3b3b40; }
.phone .d-btns { left: -2px; top: 115px; height: 32px; }
.phone .d-btns::before, .phone .d-btns::after { content: ""; left: 0; height: 62px; }
.phone .d-btns::after { top: 60px; } .phone .d-btns::before { top: 140px; }
.phone .d-power { right: -2px; top: 200px; height: 100px; }
.phone .bands::before, .phone .bands::after { content: ""; position: absolute; width: 6px; height: 6px; border: solid rgba(1, 1, 1, .25); border-width: 6px 0; z-index: 9; }
.phone .bands::after { right: 86px; top: 0; } .phone .bands::before { left: 86px; bottom: 0; }
.phone .home { position: absolute; z-index: 9; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #000; }
.phone .sb { position: relative; z-index: 8; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 2px 30px 0 46px; font: 600 17px/1 -apple-system, "SF Pro Text", "Inter", system-ui, sans-serif; color: #000; letter-spacing: -.3px; }
.phone .sb .tm { width: 54px; text-align: center; }
.phone .sb .ind { display: flex; align-items: center; gap: 5px; }

/* ---------- iOS 26 Liquid Glass control, as WhatsApp and Instagram use it ---------- */
.phone .glass { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: #000;
  background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8);
  box-shadow: inset 0 .5px 0 rgba(255, 255, 255, .95), inset 0 -.5px 0 rgba(0, 0, 0, .04), 0 0 0 .5px rgba(0, 0, 0, .07), 0 6px 16px -6px rgba(0, 0, 0, .16); }

/* ---------- WhatsApp for iOS 26, light, default wallpaper ---------- */
.wa2 { position: absolute; inset: 0; font-family: -apple-system, "SF Pro Text", "Helvetica Neue", "Inter", system-ui, sans-serif; color: #000; letter-spacing: -.2px;
  background: #F5F1EA var(--doodle) 0 0 / 150px 150px; }
.wa2 .top { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 128px;
  background: linear-gradient(#F5F1EA 0, rgba(245, 241, 234, .92) 62%, rgba(245, 241, 234, 0)); }
.wa2 .head { display: flex; align-items: center; gap: 8px; height: 44px; margin-top: 6px; padding: 0 16px; }
.wa2 .glass.back { height: 44px; padding: 0 14px 0 13px; gap: 5px; font-size: 17px; }
.wa2 .av { width: 36px; height: 36px; border-radius: 50%; background: #ddd center 18% / cover no-repeat; flex: none; }
.wa2 .who { display: flex; flex-direction: column; min-width: 0; }
.wa2 .who b { font-size: 17px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.wa2 .who span { font-size: 12.5px; line-height: 15px; color: #8A8A8E; white-space: nowrap; letter-spacing: -.1px; }
.wa2 .glass.calls { margin-left: auto; height: 44px; width: 92px; gap: 22px; }
.wa2 .chat { position: absolute; inset: 0; padding: 0 15px 92px; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; transition: opacity .4s var(--ease, ease); }
.wa2 .chat.fade { opacity: 0; }
.wa2 .day { align-self: center; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; line-height: 14px; color: rgba(0, 0, 0, .82); }
.wa2 .b { position: relative; max-width: 300px; padding: 7px 12px 8px; border-radius: 18px; font-size: 17px; line-height: 22px; background: #fff; align-self: flex-start; }
.wa2 .b.me { align-self: flex-end; background: #E2FDD5; }
.wa2 .b.gap { margin-top: 9px; }
/* The tail: a small curl at the bottom outer corner of the last bubble in a group */
.wa2 .b.tail { border-bottom-left-radius: 5px; }
.wa2 .b.me.tail { border-bottom-left-radius: 18px; border-bottom-right-radius: 5px; }
.wa2 .b.tail::after { content: ""; position: absolute; bottom: 0; left: -6px; width: 12px; height: 15px; background: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 15'%3E%3Cpath d='M12 0v15H5.5C2.3 15 .6 14.2 0 13.7 3.9 12.4 6 8.3 6 0z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 15'%3E%3Cpath d='M12 0v15H5.5C2.3 15 .6 14.2 0 13.7 3.9 12.4 6 8.3 6 0z'/%3E%3C/svg%3E") 0 0 / 100% 100%; }
.wa2 .b.me.tail::after { left: auto; right: -6px; transform: scaleX(-1); }
.wa2 .meta { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 9px -3px -4px 10px; font-size: 11.5px; line-height: 13px; color: #8E8E93; letter-spacing: 0; }
.wa2 .me .meta { color: #6E8A66; }
.wa2 .tick { display: block; }
/* Link preview: frameless image, a tinted panel, then the time */
.wa2 .b.lk { width: 300px; padding: 0; overflow: visible; }
.wa2 .b.lk .og { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; aspect-ratio: 1.91 / 1; background: #040633; border-radius: 18px 18px 0 0; }
.wa2 .og .mk { width: 50%; aspect-ratio: 1644 / 241; background: #a5dfe2; -webkit-mask: url("/site/assets/logo/logo-condensed.svg") center / contain no-repeat; mask: url("/site/assets/logo/logo-condensed.svg") center / contain no-repeat; }
.wa2 .og .og-t { font: 500 11px/1 "Pretendard Variable", Pretendard, system-ui, sans-serif; color: rgba(165, 223, 226, .7); letter-spacing: .4px; }
.wa2 .pv { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px 10px; background: #D2EFC4; }
.wa2 .pv b { font-size: 13px; font-weight: 600; line-height: 17px; }
.wa2 .pv .d { font-size: 13px; line-height: 17px; color: #5B6B55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wa2 .pv .dm { display: flex; align-items: center; gap: 5px; margin-top: 7px; font-size: 13px; line-height: 16px; color: #3D4A38; }
.wa2 .pv .dm .fav { margin-left: auto; width: 16px; height: 16px; border-radius: 4px; background: #040633 url("/site/assets/logo/logo-icon.svg") center / 11px auto no-repeat; }
.wa2 .mrow { display: flex; justify-content: flex-end; padding: 3px 12px 6px; }
.wa2 .mrow .meta { float: none; margin: 0; }
.wa2 .typing { display: none; width: 62px; height: 36px; padding: 0; align-items: center; justify-content: center; gap: 4px; }
.wa2 .typing.show { display: flex; }
.wa2 .typing i { width: 7px; height: 7px; border-radius: 50%; background: #8E8E93; animation: wa-dot 1.2s var(--ease, ease) infinite; }
.wa2 .typing i:nth-child(2) { animation-delay: .15s; } .wa2 .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes wa-dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.wa2 [data-wa].wait { display: none; }
.wa2 [data-wa].in { animation: wa-in .32s var(--ease, ease) both; }
@keyframes wa-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
/* Floating input row: glass +, glass field with the sticker icon, glass camera, green mic */
.wa2 .bottom { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 96px; display: flex; align-items: flex-start; gap: 8px; padding: 14px 12px 0;
  background: linear-gradient(rgba(245, 241, 234, 0), rgba(245, 241, 234, .85) 40%); }
.wa2 .glass.circ { width: 38px; height: 38px; flex: none; }
.wa2 .glass.field { flex: 1; height: 38px; flex-direction: row; justify-content: space-between; padding: 0 9px 0 14px; }
.wa2 .glass.field .fld { flex: 1; }
.wa2 .micb { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #1DAA61; color: #fff; box-shadow: 0 6px 14px -6px rgba(29, 170, 97, .6); }
.wa2 svg { flex: none; }

/* ---------- Instagram for iOS (2026), own business profile ---------- */
.ig2 { position: absolute; inset: 0; background: #fff; color: #000; font-family: -apple-system, "SF Pro Text", "Helvetica Neue", "Inter", system-ui, sans-serif; letter-spacing: -.1px; overflow: hidden; }
.ig2 .top { position: relative; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 16px; }
.ig2 .top .un { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 3px; font-size: 19px; font-weight: 700; letter-spacing: -.4px; }
.ig2 .top .r { display: flex; gap: 18px; align-items: center; }
.ig2 .scroll { padding-top: 10px; }
.ig2 .pro { display: flex; align-items: center; gap: 18px; padding: 0 16px; }
.ig2 .avw { position: relative; flex: none; width: 84px; height: 84px; margin-top: 18px; }
.ig2 .av { display: block; width: 84px; height: 84px; border-radius: 50%; background: #eee center 15% / cover no-repeat; box-shadow: 0 0 0 .5px rgba(0,0,0,.1); }
.ig2 .badge { position: absolute; right: -1px; bottom: -1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #000; color: #fff; box-shadow: 0 0 0 2.5px #fff; }
.ig2 .badge svg { width: 12px; height: 12px; }
.ig2 .note { position: absolute; left: -6px; top: -24px; z-index: 1; padding: 6px 10px; border-radius: 14px; background: #fff; font-size: 11px; line-height: 13px; color: #555; white-space: nowrap; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.ig2 .note::after { content: ""; position: absolute; left: 18px; bottom: -5px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.08); }
.ig2 .side { flex: 1; min-width: 0; padding-top: 16px; }
.ig2 .dn { display: block; font-size: 14px; font-weight: 600; line-height: 18px; }
.ig2 .nums { display: flex; gap: 22px; margin-top: 6px; }
.ig2 .nums span { display: flex; flex-direction: column; font-size: 13px; line-height: 16px; }
.ig2 .nums b { font-size: 16px; font-weight: 600; line-height: 20px; }
.ig2 .bio { padding: 12px 16px 0; font-size: 14px; line-height: 18px; }
.ig2 .bio .cat { display: block; color: #737373; }
.ig2 .bio .bl { display: inline-flex; align-items: center; gap: 5px; margin: 2px 0 0 -4px; padding: 1px 4px; border-radius: 5px; color: #4150F7; font-weight: 500; transition: background-color .28s var(--ease, ease); }
.ig2 .bio .bl.hi { background: #E3E6FE; }
.ig2 .dash { margin: 12px 16px 0; padding: 9px 12px; border-radius: 8px; background: #EFEFEF; display: flex; flex-direction: column; }
.ig2 .dash b { font-size: 14px; font-weight: 600; line-height: 18px; }
.ig2 .dash span { font-size: 12px; line-height: 15px; color: #737373; }
.ig2 .btns { display: flex; gap: 6px; margin: 8px 16px 0; }
.ig2 .btns span, .ig2 .btns i { height: 32px; border-radius: 8px; background: #EFEFEF; display: grid; place-items: center; font-size: 14px; font-weight: 600; font-style: normal; }
.ig2 .btns span { flex: 1; }
.ig2 .btns i { width: 34px; flex: none; }
.ig2 .hl { display: flex; gap: 17px; padding: 14px 16px 0; }
.ig2 .hl > span { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 60px; font-size: 12px; line-height: 14px; }
.ig2 .hl i { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #fff center 15% / cover no-repeat; box-shadow: 0 0 0 1px #DBDBDB, inset 0 0 0 3px #fff; }
.ig2 .ig-tabs { display: flex; margin-top: 14px; }
.ig2 .ig-tabs span { flex: 1; height: 44px; display: grid; place-items: center; position: relative; }
.ig2 .ig-tabs span.on::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 52px; height: 1.5px; margin-left: -26px; background: #000; }
.ig2 .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.ig2 .grid span { position: relative; aspect-ratio: 3 / 4; background: #eee center 18% / cover no-repeat; transition: opacity .28s var(--ease, ease); }
.ig2 .grid em { position: absolute; display: flex; align-items: center; gap: 3px; font-style: normal; color: #fff; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.45)); }
.ig2 .grid .vc { left: 6px; bottom: 5px; font-size: 12px; font-weight: 600; }
.ig2 .grid .rl { right: 6px; top: 6px; }
/* Floating glass tab bar */
.ig2 .tabbar { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 26px; height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: inset 0 .5px 0 rgba(255,255,255,.95), 0 0 0 .5px rgba(0,0,0,.08), 0 10px 26px -10px rgba(0,0,0,.28); }
.ig2 .tabbar > span { display: grid; place-items: center; width: 48px; height: 46px; }
.ig2 .tabbar .me { width: 66px; border-radius: 999px; background: rgba(0, 0, 0, .07); }
.ig2 .tabbar .me i { width: 27px; height: 27px; border-radius: 50%; background: #eee center 15% / cover no-repeat; box-shadow: 0 0 0 1.5px #000, inset 0 0 0 1.5px #fff; }

/* ---------- Tables: customers and invoices (Figma 129:9399, 160:5668) ---------- */
.ts-table .ts-search { margin-top: 0; }
.ts-table .tb { border: 1px solid var(--ts-stroke); border-top: 0; border-radius: 0 0 6px 6px; overflow: hidden; background: #fff; }
.ts-table .tr { display: grid; align-items: center; min-height: 40px; border-bottom: 1px solid rgba(231,231,231,.5); font-size: 14px; line-height: 16px; color: var(--ts-2); transition: background-color .28s var(--ease, ease), opacity .28s var(--ease, ease); }
.ts-table .tr > * { padding: 0 12px; }
.ts-table .tr .m { color: var(--ts-main); }
.ts-table .tr i { display: grid; place-items: center; width: 40px; padding: 0; color: var(--ts-2); }
.ts-table .tr i:last-child { color: var(--ts-main); }
.ts-table .th { height: 36px; min-height: 36px; background: #f7f7f7; border-bottom-color: #fff; font-weight: 500; color: var(--ts-main); }
.ts-table .c-cust { grid-template-columns: 1fr 1fr 1fr 40px 40px 40px; }
.ts-table .c-inv { grid-template-columns: 1fr 1fr 96px 209px 40px 40px; }
.ts-table .tr.hi { background: #f7f7f7; }
.ts-table .tr.gone { opacity: .25; }
.ts-pager { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-size: 14px; font-weight: 500; line-height: 20px; color: var(--ts-2); }
.ts-pager .ctl { display: flex; gap: 8px; }
.ts-pager .ctl i { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(71,70,69,.1); border-radius: 6px; font-style: normal; color: var(--ts-3); }
.ts-pager .ctl i.on { border-color: var(--ts-main); color: var(--ts-main); }
.ts-tabs.fl { margin-top: 20px; }

/* ---------- Client profile panes (Figma 130:15498, 133:17738) ---------- */
.ts-panes { position: relative; margin-top: 20px; }
.ts-pane { display: none; flex-direction: column; gap: 12px; }
.ts-pane.on { display: flex; animation: ts-in .28s var(--ease, ease); }
@keyframes ts-in { from { opacity: 0; transform: translateY(4px); } }
.ts-pane .ts-groups { margin-top: 0; }
.ts-card { border: 1px solid var(--ts-stroke); border-radius: 8px; box-shadow: 0 2px 2px rgba(0,0,0,.04); background: #fff; }
.ts-card.ov { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ts-card.ov hr { border: 0; height: 1px; background: var(--ts-stroke); margin: 0; }
.ts-card.ov .r4, .ts-card.ov .r2, .ts-card.ov .r3 { display: grid; gap: 8px; }
.ts-card.ov .r4 { grid-template-columns: repeat(4, 1fr); } .ts-card.ov .r2 { grid-template-columns: repeat(2, 1fr); } .ts-card.ov .r3 { grid-template-columns: repeat(3, 1fr); }
.ts-card.ov .ts-field { gap: 8px; }
.ts-card.ov .ts-input { box-shadow: none; padding-right: 13px; }
.ts-card.ov .ts-input .ts-ic { right: 8px; }
.ts-card.ov .cap { font-size: 12px; font-weight: 500; letter-spacing: .6px; color: var(--ts-2); }
.ts-input.area { height: 80px; align-items: flex-start; padding-top: 13px; }
.ts-card.ov .end { display: flex; justify-content: flex-end; }
.ts-corders { display: flex; flex-direction: column; gap: 12px; }
.ts-card.co { padding: 16px; display: flex; align-items: center; justify-content: space-between; }
.ts-card.co p { font-size: 16px; font-weight: 500; line-height: normal; }
.ts-card.co div > span { font-size: 14px; font-weight: 500; color: var(--ts-2); }
.ts-card.co .r { display: flex; align-items: center; gap: 8px; }

/* ---------- Send email panel (Figma 187:4291) ---------- */
.ts-scrim { position: absolute; inset: 0; z-index: 20; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .28s var(--ease, ease); }
.ts-sheet { position: absolute; z-index: 21; top: 0; right: 0; bottom: 0; width: 545px; background: #fff; transform: translateX(100%); transition: transform .4s var(--ease, ease); }
.ts-sheet.on { transform: none; } .ts-scrim.on { opacity: 1; }
.ts-sheet .hd { height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px 0 24px; border-bottom: 1px solid var(--ts-stroke); }
.ts-sheet .hd .t { display: flex; align-items: center; gap: 16px; font-weight: 500; color: var(--ts-2); }
.ts-sheet .hd .t .ts-ic { color: var(--ts-main); }
.ts-sheet .bd { padding: 32px 24px; display: flex; flex-direction: column; gap: 8px; }
.ts-sheet .h { font-size: 16px; font-weight: 600; margin-top: 12px; }
.ts-sheet .h:first-child { margin-top: 0; }
.ts-sheet .sel { padding-right: 36px; }
.ts-sheet .val.ph { color: var(--ts-3); }

/* ---------- Portfolio analytics (Figma 190:3313) ---------- */
.ts-pstats .bt { display: flex; gap: 8px; width: 323px; }
.ts-pstats .bt .ts-btn { flex: 1; gap: 4px; padding: 0; }
.ts-btn.lg { height: 40px; }
.ts-btn.line { border-color: var(--ts-main); color: var(--ts-main); }
.ts-pstats .per { display: flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 600; color: var(--ts-2); }
.ts-pstats .ts-sec { margin-top: 20px; }
.ts-stats.st .ts-stat { height: 157px; align-items: stretch; }
.ts-stats.st .ts-stat .col { justify-content: space-between; gap: 0; }
.ts-stats.st .v { display: block; }
.ts-stats.st .n { display: block; margin-top: 4px; font-size: 12px; color: var(--ts-2); }
.ts-stats.st .dark .n { color: #fff; opacity: .6; }
.ts-list { margin-top: 12px; border: 1px solid var(--ts-stroke); border-radius: 8px; overflow: hidden; padding-bottom: 16px; background: #fff; }
.ts-list .lh { background: var(--ts-smoke); padding: 16px 16px 12px; font-size: 16px; font-weight: 600; }
.ts-list .li { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 0; margin-top: 16px; border-top: 1px solid var(--ts-stroke); font-size: 16px; font-weight: 500; transition: opacity .28s var(--ease, ease), transform .28s var(--ease, ease); }
.ts-list .lh + .li { margin-top: 0; }
.ts-list .li b { font-weight: 500; }
.ts-list .li i { font-style: normal; font-weight: 400; color: var(--ts-2); margin-left: 8px; }
.ts-list .src { display: flex; align-items: center; gap: 12px; }

/* ---------- Lookbook About sheet (Figma 192:3093) ---------- */
.ts-look-wrap { position: relative; width: 430px; height: 882px; flex: none; border-radius: 16px; overflow: hidden; }
.ts-look-scrim { position: absolute; inset: 0; z-index: 4; background: rgba(0,0,0,.31); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity .28s var(--ease, ease); }
.ts-about { position: absolute; z-index: 5; inset: 0; border-radius: 16px; background: #fff; padding: 20px; transform: translateY(100%); transition: transform .45s var(--ease, ease); }
.ts-look-scrim.on { opacity: 1; } .ts-about.on { transform: none; }
.ts-about .ah { display: flex; justify-content: space-between; align-items: center; height: 24px; font-size: 16px; font-weight: 500; }
.ts-about .ab { margin-top: 16px; font-size: 16px; line-height: 1.5; }
.ts-about hr { border: 0; height: 1px; background: var(--ts-stroke); margin: 24px 0; }
.ts-about .sh { font-size: 16px; font-weight: 500; }
.ts-about .sv { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ts-about .sv span { height: 80px; display: flex; align-items: flex-end; padding: 10px; border-radius: 8px; background: var(--ts-smoke); font-size: 14px; font-weight: 500; line-height: 1.5; transition: opacity .28s var(--ease, ease), transform .28s var(--ease, ease); }
.ts-about .built { position: absolute; left: 55px; bottom: -70px; width: 320px; height: 126px; border: 1px solid var(--ts-stroke); border-radius: 12px; background: #fff; display: flex; justify-content: center; gap: 5px; padding-top: 19px; font-size: 14px; font-weight: 600; }
.ts-input.area.ab { box-shadow: var(--ts-input-shadow); }

/* ---- The app at phone width (Figma 314:5313), 402 wide ---- */
@font-face { font-family: "Agrandir"; src: url("/site/assets/fonts/PPAgrandir-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
.tsm { position: relative; width: 402px; background: #fff; }
.tsm.smoke { background: var(--ts-smoke); }
.tsm-top { position: relative; z-index: 1; height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px 0 6px; background: #fff; border-bottom: 1px solid var(--ts-stroke); }
.tsm-top .ib { width: 36px; height: 36px; display: grid; place-items: center; flex: none; }
.tsm-top .ib.menu { margin-left: 14px; }
.tsm-top .logo { position: absolute; left: 50%; top: 27px; width: 109px; height: 16px; margin-left: -54.5px; }
.tsm-top .cr { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--ts-2); }
.tsm-top .cr b { font-weight: 500; color: var(--ts-main); }
.tsm-top .manage { gap: 0; padding: 0 12px 0 16px; }
.tsm-top .manage .ts-ic { margin-top: 2px; }
.tsm-body { display: flex; flex-direction: column; padding: 24px 16px; }
.tsm-h1 { font: 700 24px/normal "Agrandir", sans-serif; color: var(--ts-main); }
.tsm-h1.ruled { padding-bottom: 20px; border-bottom: 1px solid var(--ts-stroke); }
.tsm-head { display: flex; flex-direction: column; gap: 20px; }
.tsm-head .ts-filters, .tsm-head .ts-search { margin-top: 0; }
.tsm .ts-filters span { height: 40px; }
.tsm .ts-filters.fill span { flex: 1; }
.tsm .ts-filters.fill span:not(.on) { filter: drop-shadow(0 1px .5px rgba(0,0,0,.1)); }
.tsm .ts-filters.fill span.on { font-weight: 500; }
.tsm .ts-filters.scroll { width: calc(100% + 16px); overflow: hidden; }
.tsm .ts-filters.scroll span { flex: none; padding: 0 12px; }
.tsm .ts-filters.scroll span:not(.on) { font-weight: 500; }
.tsm .ts-groups { margin-top: 12px; }
.tsm .ts-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tsm .ts-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 0; }
.tsm-ov { display: flex; flex-direction: column; gap: 12px; }
.tsm-ov .pair { display: flex; gap: 12px; }
.tsm-ov .pair .ts-stat { flex: 1; min-width: 0; }
.tsm-ov .col { white-space: nowrap; }
.tsm-ov .pair .col { margin-right: -69px; }
.tsm-todo { border: 1px solid var(--ts-stroke); border-radius: 8px; overflow: hidden; padding-bottom: 16px; }
.tsm-todo .hd { background: var(--ts-smoke); padding: 16px 16px 12px; font-size: 16px; font-weight: 600; line-height: normal; border-bottom: 1px solid var(--ts-stroke); }
.tsm-todo .row { display: flex; align-items: flex-start; gap: 12px; padding: 16px 12px; border-bottom: 1px solid var(--ts-stroke); }
.tsm-todo .row:last-child { padding-bottom: 16px; }
.tsm-todo .box { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--ts-stroke); background: var(--ts-smoke); display: grid; place-items: center; flex: none; }
.tsm-todo .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tsm-todo .tt { font-size: 16px; font-weight: 500; line-height: normal; white-space: nowrap; }
.tsm-todo .st { font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--ts-2); }
.tsm-todo .row.nw { gap: 16px; }
.tsm-todo .row.nw .st { white-space: nowrap; }
.tsm-body.inv { padding: 24px 16px 40px; }
/* Invoices at phone width (Figma 337:12272): the list's tabs run off the edge, the table keeps four columns */
.tsm-h1.lg { font-size: 28px; }
.tsm .ts-tabs { margin-top: 0; width: calc(100% + 16px); overflow: hidden; }
.tsm .ts-tabs span { flex: none; height: 40px; }
.ts-table .c-invm { grid-template-columns: 154px 112px 64px 40px; }
/* Measurements at phone width: the customers list's two columns, and John Doe's profile panes */
.ts-table .c-custm { grid-template-columns: minmax(0, 1fr) 136px 40px; }
.tsm .ts-panes { margin-top: 0; }
.tsm .ts-card.ov .r4, .tsm .ts-card.ov .r3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Lookbook at phone width: the About sheet rises over the page and stops below its header; analytics stacked */
.ts-look-wrap.m .ts-about { top: 150px; border-radius: 16px 16px 0 0; }
.ts-look-wrap.m .ts-about .ab { min-height: 72px; }
.tsm .ts-pstats .ts-oh { flex-direction: column; align-items: stretch; gap: 16px; }
.tsm .ts-pstats .bt { width: auto; }
.tsm .ts-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tsm .ts-stats .dark { grid-column: 1 / -1; }
.tsm .ts-stats.st .ts-stat { height: 132px; }
.tsm .ts-list .li { font-size: 14px; }
/* The send sheet rises from the bottom over the dimmed invoice */
.tsm .ts-scrim { background: rgba(0,0,0,.4); }
.tsm .ts-sheet { top: 208px; left: 0; width: auto; border-radius: 8px 8px 0 0; transform: translateY(100%); }
.tsm .ts-sheet.on { transform: none; }
.tsm .ts-sheet .hd { padding: 0 16px 0 14px; }
.tsm .ts-sheet .bd { padding: 24px 16px; }
.tsm .ts-sheet .h { margin-top: 8px; }
.tsm .ts-sheet .h:first-child { margin-top: 0; }
/* Create order at phone width (Figma 335:10101), with the desktop form's fields */
.tsm-co { gap: 40px; }
.tsm-co .pair { display: flex; flex-direction: column; gap: 24px; }
/* The order page at phone width (Figma 335:10197): buttons share the row, the right column of details is narrow */
.tsm .ts-od .hd { flex-direction: column; align-items: stretch; gap: 20px; padding: 0 0 20px; }
.tsm .ts-od .bt .ts-btn { flex: 1; }
.tsm .ts-od .info > div:last-child { flex: none; width: 121px; }
.tsm-a4 { position: relative; width: 370px; height: 544px; }
/* The A4 is cut to 424 tall here, with the action bar over its foot (Figma 315:6150) */
.tsm-a4 .ts-paper { position: absolute; left: 0; top: 0; height: 682px; overflow: hidden; transform: scale(.6218); transform-origin: 0 0; }
.tsm-a4 .ts-actionbar { top: 397px; width: 353px; transform: translateX(-50%); padding: 7.5px; gap: 8px; border-radius: 20px; filter: drop-shadow(0 2.5px 3.7px rgba(0,0,0,.08)); }
.tsm-a4 .ts-actionbar .ts-btn { height: 28px; font-size: 8.7px; padding: 0 4px; border-width: .62px; }
