/* Drapewell interior designer portal. Self-contained so interior-design/ can be served on its own:
   the tokens and base rules below are copied from the main site's assets/css/site.css. */
:root {
  --limewash: #F4F0E9; --linen: #E8E0D3; --flax: #CBBBA2; --harbour: #E4DBCC;
  --walnut: #2A2320; --walnut-soft: #5E534C; --accent: #7A5A3C; --ink: #151210;
  --hair: rgba(42, 35, 32, .14);
  --display: 'Ibarra Real Nova', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 700px) { :root { --gut: 24px; } }
@media (min-width: 1100px) { :root { --gut: 40px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--limewash); color: var(--walnut); font: 400 16px/1.6 var(--sans); font-variant-numeric: tabular-nums; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, canvas, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -.015em; }
h3 { font-size: 24px; line-height: 1.15; }
p { margin: 0 0 1em; max-width: 60ch; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--walnut); outline-offset: 3px; border-radius: 4px; }
.btn { --b: var(--walnut); --f: var(--limewash); --hb: var(--ink); --hf: var(--limewash); --bd: var(--b); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border-radius: 2px; border: 1px solid var(--bd); background: linear-gradient(var(--hb), var(--hb)) no-repeat 0 0 / 0% 100%, var(--b); color: var(--f); font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-size .45s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn:hover { background-size: 100% 100%, auto; color: var(--hf); border-color: var(--hb); }
.btn-o { --b: transparent; --f: var(--walnut); --hb: var(--walnut); --hf: var(--limewash); --bd: var(--walnut); }
.btn-s { min-height: 44px; padding: 0 22px; }
.btn:focus-visible { outline: 1.5px solid currentColor; outline-offset: 3px; border-radius: 2px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
@media (max-width: 599px) { .btn { min-height: 52px; padding: 0 20px; } .btn-s { min-height: 48px; } }
@media (hover: none) { .btn:active { transform: scale(.97); } .btn { transition-property: transform, background, color, border-color; transition-duration: .18s; } }

.tp { --side: 248px; --tab: 64px; background: var(--limewash); }
.tp svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.tp h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.04; }
.tp h2 { font-size: clamp(24px, 2.4vw, 30px); }
.tp-lead { margin: 8px 0 0; color: var(--walnut-soft); font-size: 17px; line-height: 1.5; max-width: 56ch; }
.tp-small { font-size: 13.5px; color: var(--walnut-soft); margin: 14px 0 0; }
.tp .btn svg { width: 18px; height: 18px; margin-right: 8px; }
.tp-link { background: none; border: 0; padding: 0; min-height: 44px; font: 500 15px/1 var(--sans); color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; cursor: pointer; display: inline-flex; align-items: center; }
html.tp-lock { overflow: hidden; }

/* brand */
.tp-brand { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font: 500 26px/1 var(--display); color: var(--walnut); text-decoration: none; letter-spacing: -.01em; }
.tp-brand span { font: 500 12px/1 var(--sans); letter-spacing: .02em; color: var(--walnut-soft); padding: 5px 9px; border-radius: 2px; background: var(--linen); }

/* shell */
.tp-shell { min-height: 100vh; min-height: 100dvh; }
.tp-side { display: none; }
.tp-main { min-width: 0; padding-bottom: calc(var(--tab) + env(safe-area-inset-bottom)); }
.tp-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 calc(var(--gut) - 6px); padding-top: env(safe-area-inset-top); background: rgba(244, 240, 233, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--hair); }
.tp-top-t { flex: 1; min-width: 0; text-align: center; font: 500 16px/1 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-brand-s { font-size: 22px; } .tp-brand-s + .tp-top-t { display: none; } .tp-brand-s { margin-right: auto; }
.tp-back, .tp-top-a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--walnut); text-decoration: none; }
.tp-back:active, .tp-top-a:active { background: var(--linen); }
.tp-top-sp { width: 44px; }
.tp-body { padding: 28px var(--gut) 40px; max-width: 1080px; margin: 0 auto; }
.tp-foot { padding: 20px var(--gut) 28px; text-align: center; font-size: 13px; color: var(--walnut-soft); }
.tp-foot button { background: none; border: 0; padding: 0 0 0 4px; min-height: 44px; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tp-tab { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; height: calc(var(--tab) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(244, 240, 233, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--hair); }
.tp-tab a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 500 11.5px/1 var(--sans); color: var(--walnut-soft); text-decoration: none; }
.tp-tab a[aria-current] { color: var(--walnut); }
.tp-tab a[aria-current] svg { stroke-width: 2; }
@media (min-width: 900px) {
  .tp-shell { display: grid; grid-template-columns: var(--side) 1fr; }
  .tp-side { display: flex; flex-direction: column; gap: 36px; position: sticky; top: 0; height: 100vh; padding: 32px 22px; border-right: 1px solid var(--hair); background: var(--limewash); }
  .tp-nav { display: grid; gap: 4px; }
  .tp-nav a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border-radius: 2px; color: var(--walnut-soft); text-decoration: none; font-weight: 500; transition: background .25s var(--ease), color .25s var(--ease); }
  .tp-nav a:hover { background: var(--linen); color: var(--walnut); }
  .tp-nav a[aria-current] { background: var(--walnut); color: var(--limewash); }
  .tp-me { margin-top: auto; display: grid; gap: 2px; font-size: 14px; } .tp-me span { color: var(--walnut-soft); }
  .tp-tab { display: none; }
  .tp-main { padding-bottom: 0; }
  .tp-top { display: none; }
  .tp-body { padding: 56px 56px 40px; }
}

/* toast */
.tp-toast { position: fixed; z-index: 90; left: 50%; bottom: calc(var(--tab) + 16px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; padding: 13px 20px; border-radius: 2px; background: var(--walnut); color: var(--limewash); font: 500 14px/1.2 var(--sans); box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.tp-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .tp-toast { bottom: 28px; } }

/* forms */
.tp-form { display: grid; gap: 14px; margin-top: 28px; }
.tp-fld { display: grid; gap: 6px; }
.tp-fld span { font: 500 13.5px/1.2 var(--sans); color: var(--walnut-soft); }
.tp-fld input, .tp-fld textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 2px; border: 1px solid rgba(42,35,32,.2); background: #FBF9F5; font: 400 16px/1.4 var(--sans); color: var(--walnut); transition: border-color .2s; }
.tp-fld textarea { resize: vertical; min-height: 92px; }
.tp-fld input:focus, .tp-fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(42,35,32,.12); }
.tp-err { margin: 0; color: #8A2E22; font-size: 14px; }
.tp-form .btn { width: 100%; }

/* sign in */
.tp-auth { min-height: 100vh; min-height: 100dvh; display: grid; }
.tp-auth-ph { height: 30vh; min-height: 200px; overflow: hidden; border-radius: 0 0 28px 28px; }
.tp-auth-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-auth-f { padding: 28px var(--gut) 40px; max-width: 480px; width: 100%; margin: 0 auto; }
.tp-auth-f h1 { margin-top: 26px; }
@media (min-width: 900px) {
  .tp-auth { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .tp-auth-ph { height: calc(100vh - 32px); margin: 16px 0 16px 16px; border-radius: 28px; }
  .tp-auth-f { padding: 48px 56px; }
}

/* dashboard */
.tp-hd { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; }
.tp-hd .btn { display: none; }
@media (min-width: 900px) { .tp-hd .btn { display: inline-flex; } }
.tp-plist { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 760px) { .tp-plist { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.tp-pcard { position: relative; display: grid; gap: 14px; padding: 22px; border-radius: 24px; background: #FBF9F5; color: var(--walnut); text-decoration: none; box-shadow: 0 1px 0 var(--hair), 0 0 0 1px rgba(42,35,32,.05); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tp-pcard:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(42,35,32,.35), 0 0 0 1px rgba(42,35,32,.06); }
.tp-pcard:active { transform: scale(.99); }
.tp-pc-sw { display: flex; }
.tp-pc-sw .tp-sw { width: 40px; height: 40px; margin-right: -10px; border: 2px solid #FBF9F5; }
.tp-pc-t h2 { font-size: 27px; }
.tp-pc-t p { margin: 4px 0 0; color: var(--walnut-soft); }
.tp-pc-m { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: var(--walnut-soft); }
.tp-pc-n { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 14.5px; }
.tp-pc-n span { color: var(--walnut-soft); } .tp-pc-n b { font-weight: 600; white-space: nowrap; }
.tp-pc-ok { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #3D5A3A; font-weight: 500; }
.tp-pc-ok svg { width: 18px; height: 18px; }

/* stage chip */
.tp-stage { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 2px; font: 600 12.5px/1 var(--sans); background: var(--linen); color: var(--walnut); }
.tp-st-quote, .tp-st-measure { background: var(--linen); color: var(--walnut); }
.tp-st-making, .tp-st-install, .tp-st-approved { background: var(--walnut); color: var(--limewash); }
.tp-st-complete { background: #DDE6D8; color: #3D5A3A; }

/* project */
.tp-ph { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; }
.tp-ph-r { display: flex; align-items: center; gap: 12px; }
.tp-ph-r .btn { display: none; }
@media (min-width: 900px) { .tp-ph-r .btn { display: inline-flex; } }
.tp-next { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 22px 0 0; padding: 16px 18px; border-radius: 18px; background: var(--linen); font-size: 15.5px; }
.tp-next span { font-weight: 600; color: var(--walnut); } .tp-next b { font-weight: 600; margin-left: auto; }
.tp-ptabs { position: sticky; top: 60px; z-index: 10; display: flex; gap: 4px; margin: 26px calc(var(--gut) * -1) 0; padding: 8px var(--gut); overflow-x: auto; scrollbar-width: none; background: rgba(244,240,233,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tp-ptabs::-webkit-scrollbar { display: none; }
.tp-ptabs a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 2px; font-weight: 500; color: var(--walnut-soft); text-decoration: none; transition: background .25s var(--ease), color .25s var(--ease); }
.tp-ptabs a[aria-current] { background: var(--walnut); color: var(--limewash); }
@media (min-width: 900px) { .tp-ptabs { top: 0; margin: 30px 0 0; padding: 8px 0; } }
.tp-tabc { margin-top: 22px; }

/* swatches */
.tp-sw { display: inline-block; width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(42,35,32,.12), 0 2px 6px -2px rgba(42,35,32,.3); }
.tp-sw-l { width: 56px; height: 56px; border-radius: 16px; }
.tp-sw-xl { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 18px; }

/* rooms and windows */
.tp-room { margin-top: 26px; }
.tp-room:first-child { margin-top: 0; }
.tp-room-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tp-room-h span { color: var(--walnut-soft); font-size: 14px; }
.tp-wins { display: grid; gap: 10px; }
.tp-win { display: flex; align-items: center; gap: 16px; width: 100%; padding: 14px 16px 14px 14px; border: 0; border-radius: 20px; background: #FBF9F5; box-shadow: 0 0 0 1px rgba(42,35,32,.06); text-align: left; font: inherit; color: inherit; cursor: pointer; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.tp-win:hover { box-shadow: 0 0 0 1.5px var(--walnut); }
.tp-win:active { transform: scale(.99); }
.tp-win-t { flex: 1; min-width: 0; display: grid; gap: 3px; }
.tp-win-t b { font-weight: 600; } .tp-win-t > span { color: var(--walnut-soft); font-size: 14.5px; }
.tp-win-m { font-size: 13px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-win-e { flex: 0 0 auto; font-size: 14px; font-weight: 500; color: var(--accent); }
.tp-add { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; border: 1px dashed rgba(42,35,32,.3); border-radius: 2px; background: none; font: 500 15px/1 var(--sans); color: var(--walnut-soft); cursor: pointer; transition: border-color .2s, color .2s; }
.tp-add:hover { border-color: var(--walnut); color: var(--walnut); }
.tp-roomf { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--hair); }
.tp-roomf .tp-fld { flex: 1 1 220px; }
.tp-roomf .btn { flex: 0 0 auto; min-height: 52px; }

/* editor sheet */
.tp-sheet { margin: 0; padding: 0; border: 0; width: 100%; max-width: 100%; max-height: 92dvh; inset: auto 0 0 0; border-radius: 26px 26px 0 0; background: var(--limewash); color: var(--walnut); box-shadow: 0 -20px 60px -20px rgba(0,0,0,.35); }
.tp-sheet { overflow: hidden; }
.tp-sheet[open] { display: flex; flex-direction: column; animation: tp-up .38s var(--ease); }
.tp-sheet::backdrop { background: rgba(21,18,16,.42); backdrop-filter: blur(2px); }
@keyframes tp-up { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 900px) {
  .tp-sheet { inset: 0 0 0 auto; width: 520px; height: 100dvh; max-height: 100dvh; border-radius: 26px 0 0 26px; }
  @keyframes tp-up { from { transform: translateX(40px); opacity: 0; } }
}
.tp-ed { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.tp-ed-h { display: flex; align-items: flex-start; gap: 12px; padding: 22px var(--gut) 14px; border-bottom: 1px solid var(--hair); }
.tp-ed-h > div { flex: 1; min-width: 0; }
.tp-ed-room { font-size: 13.5px; color: var(--walnut-soft); }
.tp-ed-name { display: block; width: 100%; margin-top: 2px; padding: 4px 0; border: 0; border-bottom: 1.5px solid transparent; background: none; font: 400 28px/1.1 var(--display); color: var(--walnut); }
.tp-ed-name:focus { outline: none; border-bottom-color: var(--accent); }
.tp-x { width: 44px; height: 44px; border: 0; border-radius: 2px; background: var(--linen); font-size: 24px; line-height: 1; color: var(--walnut); cursor: pointer; }
.tp-ed-b { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px var(--gut) 24px; display: grid; gap: 22px; }
.tp-ed-b fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.tp-ed-b fieldset[hidden] { display: none; }
.tp-ed-b legend { padding: 0; margin-bottom: 10px; font: 600 14.5px/1.2 var(--sans); }
.tp-ed-b legend span { font-weight: 400; color: var(--walnut-soft); margin-left: 6px; }
.tp-chips-r { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-chip input, .tp-fab input, .tp-pk input, .tp-radio input, .tp-tog input { position: absolute; opacity: 0; pointer-events: none; }
.tp-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 2px; background: #FBF9F5; box-shadow: inset 0 0 0 1px rgba(42,35,32,.24); letter-spacing: .02em; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.tp-chip input:checked + span { background: var(--walnut); color: var(--limewash); box-shadow: none; }
.tp-chip input:focus-visible + span, .tp-fab input:focus-visible + .tp-sw, .tp-pk input:focus-visible ~ span, .tp-radio input:focus-visible + span, .tp-tog input:focus-visible + span { outline: 1.5px solid var(--walnut); outline-offset: 3px; }
.tp-fabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 10px; }
.tp-fab { position: relative; display: grid; justify-items: center; gap: 6px; font-size: 12.5px; color: var(--walnut-soft); cursor: pointer; }
.tp-fab .tp-sw { width: 100%; max-width: 64px; height: auto; aspect-ratio: 1; transition: transform .25s var(--ease), box-shadow .25s; }
.tp-fab input:checked + .tp-sw { box-shadow: 0 0 0 1.5px var(--walnut); transform: scale(1.04); }
.tp-fab input:checked ~ span { color: var(--walnut); font-weight: 600; }
.tp-tog { position: relative; display: flex; cursor: pointer; }
.tp-tog span { flex: 1; display: grid; gap: 2px; padding: 14px 70px 14px 16px; border-radius: 2px; background: #FBF9F5; box-shadow: inset 0 0 0 1.5px var(--hair); font-size: 14px; color: var(--walnut-soft); position: relative; }
.tp-tog b { color: var(--walnut); font-size: 15px; }
.tp-tog span::after { content: ''; position: absolute; right: 16px; top: 50%; width: 44px; height: 26px; margin-top: -13px; border-radius: 2px; background: var(--linen); box-shadow: inset 0 0 0 1px var(--hair); transition: background .25s; }
.tp-tog span::before { content: ''; position: absolute; z-index: 1; right: 37px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 1px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s var(--ease); }
.tp-tog input:checked + span::after { background: var(--walnut); }
.tp-tog input:checked + span::before { transform: translateX(18px); }
.tp-meas { display: grid; gap: 2px; padding: 14px 16px; border-radius: 18px; background: var(--linen); font-size: 14px; color: var(--walnut-soft); }
.tp-meas b { color: var(--walnut); font-size: 15px; }
.tp-ed-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--gut) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); background: var(--limewash); }
.tp-del { color: #8A2E22; }

/* cards, samples, quote */
.tp-card { padding: 24px; border-radius: 24px; background: #FBF9F5; box-shadow: 0 0 0 1px rgba(42,35,32,.06); margin-bottom: 16px; }
.tp-card > .btn { margin-top: 22px; }
@media (max-width: 699px) { .tp-card > .btn { width: 100%; } .tp-card { padding: 20px; } }
.tp-center { text-align: center; display: grid; justify-items: center; }
.tp-ok { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #DDE6D8; color: #3D5A3A; margin-bottom: 14px; }
.tp-ok svg { width: 26px; height: 26px; stroke-width: 2; }
.tp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 20px 0 0; }
.tp-chips li { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 2px; background: var(--linen); font-size: 14.5px; font-weight: 500; }
.tp-chips .tp-sw { width: 32px; height: 32px; }
.tp-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 26px 0 8px; counter-reset: s; }
.tp-steps li { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 13px; color: var(--walnut-soft); }
.tp-steps li::before { content: ''; position: absolute; top: 8px; left: -50%; right: 50%; height: 2px; background: var(--hair); }
.tp-steps li:first-child::before { display: none; }
.tp-steps li.done::before, .tp-steps li.now::before { background: var(--walnut); }
.tp-steps i { position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: #FBF9F5; box-shadow: inset 0 0 0 2px var(--hair); }
.tp-steps .done i { background: var(--walnut); box-shadow: none; }
.tp-steps .now i { background: var(--limewash); box-shadow: inset 0 0 0 5px var(--walnut); }
.tp-steps .now span { color: var(--walnut); font-weight: 600; }
.tp-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 20px; }
.tp-pk { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(42,35,32,.2); cursor: pointer; transition: box-shadow .2s, background .2s; }
.tp-pk span { display: grid; font-size: 12.5px; color: var(--walnut-soft); line-height: 1.3; }
.tp-pk b { font-size: 15px; color: var(--walnut); }
.tp-pk:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--walnut); background: var(--limewash); }
.tp-radio { border: 0; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.tp-radio legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.tp-radio label { position: relative; cursor: pointer; }
.tp-radio label span { display: grid; gap: 2px; padding: 14px 16px 14px 50px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(42,35,32,.2); font-size: 14px; color: var(--walnut-soft); position: relative; }
.tp-radio label b { font-size: 15px; color: var(--walnut); }
.tp-radio label span::before { content: ''; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(42,35,32,.35); background: #fff; }
.tp-radio input:checked + span { box-shadow: inset 0 0 0 1.5px var(--walnut); background: var(--limewash); }
.tp-radio input:checked + span::before { box-shadow: inset 0 0 0 6px var(--walnut); }
.tp-sum { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 2px; }
.tp-sum li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.tp-sum span { color: var(--walnut-soft); font-size: 14.5px; }
.tp-quote { padding: 26px; border-radius: 24px; background: #FBF9F5; box-shadow: 0 0 0 1px rgba(42,35,32,.06), 0 24px 50px -36px rgba(42,35,32,.5); }
@media (max-width: 699px) { .tp-quote { padding: 20px; } }
.tp-q-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 16px; padding-bottom: 18px; border-bottom: 1.5px solid var(--walnut); }
.tp-q-h p { margin: 6px 0 0; color: var(--walnut-soft); font-size: 14px; }
.tp-ql { list-style: none; padding: 0; margin: 0; }
.tp-ql li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.tp-ql li div { display: grid; gap: 2px; min-width: 0; } .tp-ql span { color: var(--walnut-soft); font-size: 14px; }
.tp-ql em, .tp-qt dd { font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; margin: 0; }
.tp-qt { margin: 14px 0 0; display: grid; gap: 6px; margin-left: auto; max-width: 340px; }
.tp-qt div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--walnut-soft); }
.tp-qt dt { margin: 0; }
.tp-qt .tot { margin-top: 6px; padding-top: 12px; border-top: 1.5px solid var(--walnut); color: var(--walnut); font: 400 26px/1.1 var(--display); }
.tp-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
@media (max-width: 699px) { .tp-acts .btn { width: 100%; } }

/* timeline */
.tp-tl { list-style: none; padding: 0; margin: 0; }
.tp-tl li { position: relative; display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: start; padding-bottom: 22px; }
.tp-tl li::before { content: ''; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--hair); }
.tp-tl li:last-child::before { display: none; }
.tp-tl li.done::before { background: var(--walnut); }
.tp-tl i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #FBF9F5; box-shadow: inset 0 0 0 1.5px var(--hair); }
.tp-tl i svg { width: 16px; height: 16px; stroke-width: 2.2; }
.tp-tl .done i { background: var(--walnut); color: var(--limewash); box-shadow: none; }
.tp-tl .now i { background: var(--limewash); box-shadow: inset 0 0 0 7px var(--walnut); }
.tp-tl div { display: grid; gap: 2px; padding-top: 5px; } .tp-tl b { font-weight: 600; } .tp-tl span { color: var(--walnut-soft); font-size: 14.5px; }
.tp-tl .now b { font: 400 24px/1.1 var(--display); }
.tp-tl em { font-style: normal; padding-top: 7px; font-size: 14px; color: var(--walnut-soft); white-space: nowrap; }
.tp-tl li:not(.done):not(.now) b { color: var(--walnut-soft); font-weight: 500; }

/* samples page */
.tp-h2 { margin-top: 44px; }
.tp-slist { display: grid; gap: 10px; margin-top: 24px; }
.tp-srow { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 20px; background: #FBF9F5; box-shadow: 0 0 0 1px rgba(42,35,32,.06); color: var(--walnut); text-decoration: none; }
.tp-srow .tp-sw { width: 34px; height: 34px; margin-right: -10px; border: 2px solid #FBF9F5; }
.tp-srow-t { flex: 1; min-width: 0; display: grid; gap: 2px; margin-left: 10px; } .tp-srow-t span { color: var(--walnut-soft); font-size: 14px; }
.tp-lib { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 26px 18px; }
.tp-lib li { display: grid; gap: 4px; } .tp-lib li span { font-size: 13.5px; color: var(--walnut-soft); } .tp-lib .tp-sw { margin-bottom: 8px; }
.tp-narrow { max-width: 560px; }
.tp-narrow .tp-card { margin-top: 24px; }
.tp-dl { margin: 0; display: grid; }
.tp-dl div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.tp-dl div:last-child { border-bottom: 0; }
.tp-dl dt { font-size: 13.5px; color: var(--walnut-soft); } .tp-dl dd { margin: 0; }

/* client share view */
.tp-sharemode .tp-toast { bottom: 24px; }
.tp-share { min-height: 100vh; }
.tp-sh-h { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gut); max-width: 1180px; margin: 0 auto; }
.tp-sh-hero { position: relative; margin: 0 var(--gut); border-radius: 28px; overflow: hidden; height: 62vh; min-height: 380px; max-width: 1180px; }
@media (min-width: 1228px) { .tp-sh-hero { margin: 0 auto; } }
.tp-sh-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-sh-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(28,24,22,.62)); }
.tp-sh-hero div { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 28px; color: var(--limewash); }
.tp-sh-hero h1 { font-size: clamp(40px, 6vw, 72px); }
.tp-sh-hero p { margin: 10px 0 0; max-width: 46ch; font-size: 17px; opacity: .92; }
.tp-sh-b { max-width: 1080px; margin: 0 auto; padding: 24px var(--gut) 20px; }
.tp-sh-room { padding: 40px 0 8px; }
.tp-sh-room + .tp-sh-room { border-top: 1px solid var(--hair); }
.tp-sh-room h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 22px; }
.tp-sh-w { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; margin-bottom: 26px; }
.tp-sh-w .tp-sw-xl { border-radius: 16px; }
.tp-sh-w h3 { font-size: 24px; }
.tp-sh-p { margin: 6px 0 0; font-weight: 600; }
.tp-sh-w p:not(.tp-sh-p) { margin: 6px 0 0; color: var(--walnut-soft); max-width: 52ch; }
.tp-sh-meta { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tp-sh-meta li { padding: 6px 12px; border-radius: 2px; background: var(--linen); font-size: 13px; }
@media (min-width: 760px) { .tp-sh-room { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; } .tp-sh-w { grid-template-columns: 180px 1fr; gap: 28px; } }
@media (max-width: 420px) { .tp-sh-w { grid-template-columns: 96px 1fr; gap: 16px; } .tp-sh-w h3 { font-size: 21px; } }
.tp-sh-ok { margin: 36px 0 10px; padding: 32px 24px; border-radius: 28px; background: var(--linen); text-align: center; display: grid; justify-items: center; gap: 4px; }
.tp-sh-ok .btn { margin-top: 20px; min-width: 260px; }
@media (max-width: 699px) { .tp-sh-ok .btn { width: 100%; min-width: 0; } }

@media (prefers-reduced-motion: reduce) { .tp *, .tp *::before, .tp *::after { transition: none !important; animation: none !important; } }
@media (max-width: 899px) {
  .tp-ptabs { gap: 2px; }
  .tp-ptabs a { flex: 1 1 0; justify-content: center; padding: 0 6px; font-size: 14.5px; }
}

/* sign in extras, selects, requests */
.tp-fld select { width: 100%; min-height: 52px; padding: 0 40px 0 16px; border-radius: 2px; border: 1px solid rgba(42,35,32,.2); background: #FBF9F5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%232A2320' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; -webkit-appearance: none; appearance: none; font: 400 16px/1.4 var(--sans); color: var(--walnut); }
.tp-fld select:focus, .tp-fld input[type=file]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(42,35,32,.12); }
.tp-fld input[type=file] { padding: 12px 14px; font-size: 15px; }
.tp-fld [aria-invalid=true] { border-color: #8A2E22; }
.tp-err { padding: 12px 14px; border-radius: 2px; background: #F6E7E3; line-height: 1.45; }
.tp-err:focus { outline: 2px solid #8A2E22; outline-offset: 2px; }
.tp-err ul { margin: 6px 0 0; padding-left: 20px; }
.tp-note { padding: 16px 18px; border-radius: 2px; background: var(--linen); line-height: 1.5; margin-top: 24px; }
.tp-note:focus { outline: 2px solid var(--walnut); outline-offset: 2px; }
.tp-aux { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.tp-check { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 15px; }
.tp-check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.tp-check span { position: relative; padding-left: 34px; }
.tp-check span::before { content: ''; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 2px; background: #FBF9F5; box-shadow: inset 0 0 0 1.5px rgba(42,35,32,.4); }
.tp-check input:checked + span::before { background: var(--walnut); }
.tp-check input:checked + span::after { content: ''; position: absolute; left: 7px; top: 50%; width: 6px; height: 11px; margin-top: -8px; border: solid var(--limewash); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tp-check input:focus-visible + span::before { outline: 1.5px solid var(--walnut); outline-offset: 3px; }
.tp-hint { padding: 12px 14px; border-radius: 2px; background: var(--linen); }
.tp-hint { line-height: 1.6; }
.tp-hint .tp-link { display: inline; min-height: 0; font-size: 14px; padding: 10px 0; margin: -10px 0; }
.tp-auth-f .btn-o { text-align: center; justify-content: center; }
.tp-out { font-size: 14px; color: var(--walnut-soft); }
.tp-me .tp-out { margin-top: 10px; justify-content: flex-start; }
.tp-out-s { flex: 0 0 auto; padding: 0 8px; }
@media (min-width: 900px) { .tp-out-s { display: none; } }
@media (max-width: 899px) { .tp-top-sp { display: none; } .tp-top-t { text-align: left; } }

.tp-req-new { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.tp-req-new .btn { flex: 1 1 220px; justify-content: center; }
@media (min-width: 700px) { .tp-req-new .btn { flex: 0 0 auto; } }
.tp-rlist { list-style: none; padding: 0; }
.tp-rrow .tp-stage { flex: 0 0 auto; }
.tp-rs-sub { background: var(--linen); } .tp-rs-mea, .tp-rs-pac { background: #EBDDC4; color: var(--walnut); }
.tp-rs-quo { background: var(--walnut); color: var(--limewash); } .tp-rs-app, .tp-rs-sen { background: #DDE6D8; color: #3D5A3A; }
.tp-wideform { max-width: 720px; }
.tp-big { margin-top: 24px; gap: 18px; }
.tp-sec { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.tp-sec > legend { font: 400 clamp(22px, 2.4vw, 26px)/1.1 var(--display); padding: 0; margin-bottom: 14px; float: left; width: 100%; }
.tp-sec > legend + * { clear: both; }
.tp-rows { display: grid; gap: 14px; }
.tp-row { border: 0; margin: 0; padding: 16px; border-radius: 20px; background: #FBF9F5; box-shadow: 0 0 0 1px rgba(42,35,32,.08); display: grid; gap: 8px; min-width: 0; }
.tp-row legend { font-weight: 600; font-size: 15px; padding: 0 4px; }
.tp-row-g { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tp-row-g .tp-fld { min-width: 0; }
.tp-row-g .tp-wide, .tp-row-g .tp-fld:nth-child(1), .tp-row-g .tp-fld:nth-child(2) { grid-column: 1 / -1; }
.tp-row-s { grid-template-columns: 1fr 110px; align-items: end; }
.tp-row-s .tp-rm { grid-column: 1 / -1; justify-self: start; }
.tp-rows > [data-row]:only-child .tp-rm { display: none; }
@media (min-width: 700px) {
  .tp-row-g { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .tp-row-g .tp-fld:nth-child(1), .tp-row-g .tp-fld:nth-child(2) { grid-column: span 2; }
  .tp-row-g .tp-fld:nth-child(3), .tp-row-g .tp-fld:nth-child(4) { grid-column: span 2; }
  .tp-big .btn { width: auto; justify-self: start; min-width: 260px; }
}
.tp-flat { margin: 0; }
.tp-newproj { display: grid; gap: 14px; }
.tp-newproj[hidden], #addr-f[hidden] { display: none; }
.tp-big .btn-s { justify-self: start; width: auto; }

/* share link opened where the project is not saved */
.tp-sh-miss { padding-top: 12vh; }
.tp-sh-miss .btn { margin-top: 24px; }
