@font-face { font-family: 'Young Serif'; src: url(YoungSerif-latin.woff2) format("woff2"); font-display: swap }
@font-face { font-family: 'Caveat Brush'; src: url(CaveatBrush-latin.woff2) format("woff2"); font-display: swap }
@font-face { font-family: 'Figtree'; src: url(Figtree-latin.woff2) format("woff2"); font-weight: 300 900; font-display: swap }
/* The studio: a pencil on tinted paper, like the brief writer and the chooser. A calm sidebar, the work in the middle, the chat on the right. */
:root {
  --pencil: #5B34B8; --pencil-dark: #45248F; --ink: #35215F; --muted: #6B5A8E; --paper: #FBF7F1; --line: #E4DAF3; --soft: #DBCDF5;
  --peach: #FCE8DA; --peach-deep: #572C1C; --peach-soft: #F6D0B8; --lilac: #F0EAFB; --mint: #E1F2E9; --mint-deep: #17463A;
  --lemon: #FBF2CF; --lemon-deep: #4F3D0B; --rose: #FBE6EA; --rose-deep: #5E2138; --grey: #EFEBF3; --grey-deep: #4D445C; --red: #A3242F;
  --you: #C2410C; --you-dark: #9A3412; --you-soft: #FCD9C2;
  --head: 'Young Serif', Georgia, serif; --hand: 'Caveat Brush', cursive; --sans: 'Figtree', system-ui, sans-serif;
  --side: 248px; --chat: 400px;
  --cut: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='18' preserveAspectRatio='none'%3E%3Cpath d='M0 15L690 5L706 9L1600 1V18H0Z'/%3E%3C/svg%3E");
}
*, ::before, ::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); min-height: 100vh }
h1, h2, h3, p { margin: 0 }
button, textarea, input, select { font: inherit; color: inherit }
button { cursor: pointer }
a { color: var(--pencil) }
img { max-width: 100% }
[hidden] { display: none !important }
:focus-visible { outline: 3px solid var(--pencil); outline-offset: 2px }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
.skip { position: absolute; left: -999px } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 10px 16px; z-index: 90 }
em.h { font: 400 1.18em/.7 var(--hand); color: var(--pencil); letter-spacing: 0; font-style: normal }
.col { width: min(1180px, 100%); margin: 0 auto; padding: 0 32px }
.calm { color: var(--muted) }

/* The frame: sidebar and main */
.app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh }
.mainwrap { min-width: 0 }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; border-right: 1.5px solid var(--line); background: var(--paper); padding: 22px 14px 18px; display: flex; flex-direction: column; gap: 6px }
.brand { font: 400 25px/1 var(--head); color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; padding: 4px 10px 16px }
.brand::before { content: ""; width: 24px; height: 20px; border: 4px solid var(--pencil); border-radius: 50%; flex: none }
.nav, .navhead { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600 }
.nav:hover, .navhead:hover, .sitesnav a.site:hover { background: var(--lilac) }
.nav[aria-current="page"], .navhead[aria-current="page"], .sitesnav a.site[aria-current="page"] { background: var(--lilac); color: var(--pencil); box-shadow: inset 3px 0 0 var(--pencil) }
.nav .ico { width: 20px; text-align: center; color: var(--pencil) }
.newbtn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 8px 0 10px; min-height: 46px; border-radius: 12px; background: var(--pencil); color: #fff; font-weight: 700; text-decoration: none }
.newbtn:hover { background: var(--pencil-dark) }
.newbtn[aria-current="page"] { box-shadow: 0 0 0 3px var(--soft) }
.sitesnav { margin-top: 10px; border-top: 1.5px solid var(--line); padding-top: 10px; flex: 1 }
.navhead { justify-content: space-between; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted) }
.navhead .n { font-weight: 700; background: var(--grey); color: var(--grey-deep); border-radius: 999px; padding: 0 8px; letter-spacing: 0 }
.sitesnav ul { list-style: none; margin: 4px 0 0; padding: 0 }
.sitesnav a.site { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15.5px }
.sitesnav .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.sitesnav .wait { font-size: 12px; font-weight: 700; color: #fff; background: var(--you); border-radius: 999px; padding: 1px 8px }
.sitesnav a.site.you { font-weight: 700 }
.pwnote { margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--grey); color: var(--grey-deep); font-size: 13.5px; line-height: 1.45 }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: #B9AECB }
.dot.working { background: var(--pencil); animation: beat 1.4s ease-in-out infinite } .dot.you { background: var(--you); box-shadow: 0 0 0 3px var(--you-soft) }
.dot.done { background: #3C8A5F } .dot.resting { background: #C9A227 } .dot.stuck { background: var(--red) } .dot.asleep { background: transparent; border: 2px solid #B9AECB } .dot.new, .dot.paused { background: var(--soft) }
.mobilebar { display: none }
.scrim { display: none }

/* Bands and buttons */
.band { background: var(--peach); color: var(--peach-deep); padding: 36px 0 34px; position: relative }
.band h1 { font: 400 clamp(34px, 4vw, 54px)/1.05 var(--head); letter-spacing: -.015em; text-wrap: balance; overflow-wrap: anywhere }
.band .lead { margin-top: 10px; max-width: 42em; font-size: 18px }
.after { position: relative }
.after::before { content: ""; position: absolute; inset: -14px 0 auto; height: 18px; background: var(--paper); -webkit-mask: var(--cut) 50% 0/max(100%, 1200px) 18px; mask: var(--cut) 50% 0/max(100%, 1200px) 18px }
.go, .ghost, .quiet { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 700; text-decoration: none; white-space: nowrap }
.go { border: 0; background: var(--pencil); color: #fff } .go:hover { background: var(--pencil-dark) }
.go.you { background: var(--you) } .go.you:hover { background: var(--you-dark) }
.ghost { border: 1.5px solid var(--pencil); background: rgba(255, 255, 255, .6); color: var(--pencil) } .ghost:hover { background: #fff }
.quiet { border: 1.5px solid color-mix(in srgb, currentColor 25%, transparent); background: none; color: inherit; font-weight: 600 }
.go:disabled, .ghost:disabled, .quiet:disabled { opacity: .45; cursor: default }
.go.big { min-height: 54px; padding: 0 26px; font-size: 18px }
.small { min-height: 38px; padding: 0 12px; font-size: 15px; border-radius: 10px }
.ext::after { content: "↗"; font-weight: 400 }
.acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center }
.hint { margin: 6px 0 0; font-size: 14px; color: var(--muted) }
.ok-line { margin-top: 8px; font-weight: 700; color: var(--mint-deep) } .bad-line { margin-top: 8px; font-weight: 700; color: var(--red) }
.flash { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 600; border: 1.5px solid var(--line) }
.flash.bad { color: var(--red); border-color: #F0C2C6 }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 4px 12px 4px 10px; font-weight: 700; font-size: 15px; background: var(--grey); color: var(--grey-deep); white-space: nowrap }
.pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor }
.pill.working { background: var(--lilac); color: var(--pencil) } .pill.working::before { animation: beat 1.4s ease-in-out infinite }
.pill.you { background: var(--you); color: #fff; box-shadow: 0 0 0 4px var(--you-soft) }
.pill.done { background: var(--mint); color: var(--mint-deep) } .pill.resting { background: var(--lemon); color: var(--lemon-deep) } .pill.stuck { background: var(--rose); color: var(--rose-deep) }
.tag { font-size: 13px; font-weight: 700; color: var(--mint-deep); background: var(--mint); border-radius: 6px; padding: 2px 8px }
@keyframes beat { 50% { opacity: .25 } }
@media (prefers-reduced-motion: reduce) { .dot.working, .pill.working::before, .track .now.live .dot::after, .busy::before { animation: none !important } }
.empty { background: #fff; border: 1.5px dashed var(--soft); border-radius: 18px; padding: 30px; text-align: center; color: var(--muted) }
.empty b { display: block; color: var(--ink); font: 400 22px/1.2 var(--head); margin-bottom: 6px }
.empty p + p { margin-top: 12px }
.panel { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 20px 22px 22px }
.panel h2 { margin: 0 0 10px; font: 400 26px/1.1 var(--head) }
.panel h3 { font: 400 22px/1.15 var(--head); margin-bottom: 8px }
.panel p + p { margin-top: 8px }

/* Dashboard */
.dash { padding: 30px 32px 60px; display: flex; flex-direction: column; gap: 30px }
.block h2 { font: 400 28px/1.1 var(--head); margin-bottom: 14px }
.waiting h2 { color: var(--you-dark) }
.waitlist { display: flex; flex-direction: column; gap: 12px }
.waitrow { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 18px; align-items: center; background: #fff; border: 2.5px solid var(--you); border-radius: 18px; padding: 12px 18px 12px 12px; color: inherit; text-decoration: none }
.waitrow:hover { background: #FFF8F3 }
.waitrow .pic { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--lilac); display: grid; place-items: center }
.waitrow .pic img { width: 100%; height: 100%; object-fit: cover; object-position: top }
.waitrow b { font: 400 22px/1.15 var(--head); display: block }
.waitrow p { color: var(--muted) } .waitrow p.what { color: var(--you-dark); font-weight: 700 }
.letter { font: 400 44px/1 var(--hand); color: var(--pencil); opacity: .7 }
.calmbox { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 18px 20px; color: var(--muted) }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px }
.tile { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 16px 18px }
.tile .lab { font-weight: 700; color: var(--muted); font-size: 15px }
.tile .big { font: 400 38px/1.1 var(--head); margin-top: 4px; color: var(--ink); overflow-wrap: anywhere }
.tile p.sub { margin-top: 4px; color: var(--muted); font-size: 14.5px }
.tile.building .big { color: var(--pencil) }
.duo { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: start }
.recent { list-style: none; margin: 0; padding: 0; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden }
.recent li { display: grid; grid-template-columns: 116px 140px minmax(0, 1fr); gap: 2px 14px; padding: 9px 16px; border-bottom: 1px solid var(--line); font-size: 15.5px }
.recent li:last-child { border-bottom: 0 }
.recent time { color: var(--muted); font-size: 14px; padding-top: 1px }
.recent a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.recent a { font-weight: 700; text-decoration: none; color: var(--ink) } .recent a:hover { color: var(--pencil); text-decoration: underline }
.recent .what { color: var(--grey-deep); overflow-wrap: anywhere }
.donegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px }

/* Site cards (Sites, Practice, finished) */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px }
.card { display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s }
.card:hover { border-color: var(--pencil); transform: translateY(-2px) }
.card.you { border: 2.5px solid var(--you) }
.thumb { aspect-ratio: 16 / 10; background: var(--lilac); overflow: hidden; display: grid; place-items: center; border-bottom: 1.5px solid var(--line) }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1 }
.card h2, .card h3 { font: 400 22px/1.15 var(--head); overflow-wrap: anywhere }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap }
.card .step { font-weight: 600 }
.card .note { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.card .when { margin-top: auto; font-size: 14px; color: var(--muted) }
.pagebody { padding: 30px 32px 60px }
.pagebody .block { margin-top: 30px }

/* New site and practice */
.newsite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 28px; padding: 28px 32px 40px; align-items: start }
.talk { display: flex; flex-direction: column; min-height: calc(100vh - 290px) }
.log { flex: 1; display: flex; flex-direction: column; gap: 14px; padding-bottom: 18px }
.msg { max-width: 46em; padding: 12px 16px; border-radius: 16px; overflow-wrap: anywhere }
.msg p { margin: 0 0 .6em } .msg p:last-child { margin: 0 } .msg ul, .msg ol { margin: 0 0 .6em; padding-left: 1.2em } .msg ul:last-child { margin-bottom: 0 }
.msg.you { align-self: flex-end; background: var(--lilac); border-bottom-right-radius: 4px }
.msg.ai { align-self: flex-start; background: #fff; border: 1.5px solid var(--line); border-bottom-left-radius: 4px }
.msg .note { display: block; margin-top: 8px; font-size: 14px; color: var(--muted) }
.msg img { display: block; max-width: 220px; max-height: 160px; border-radius: 8px; margin-top: 8px }
.msg.hello { color: #5B4B7C; border: 1.5px dashed var(--soft); background: transparent }
.msg.hello b { color: var(--ink) }
.wait { align-self: flex-start; color: var(--muted); font-size: 15px; padding: 4px 6px }
.err { align-self: flex-start; color: var(--red); font-weight: 600 }
.composer { position: sticky; bottom: 0; background: var(--paper); padding: 12px 0 8px; border-top: 1.5px solid var(--line) }
.composer .row { display: flex; gap: 10px; align-items: flex-end }
.composer textarea { flex: 1; min-width: 0; min-height: 54px; max-height: 220px; resize: none; padding: 13px 15px; border: 2px solid var(--pencil); border-radius: 14px; background: #fff; line-height: 1.45 }
.composer textarea:disabled { border-color: var(--soft); background: #F6F2FA }
.composer .go { min-height: 54px }
.pick { position: relative; display: inline-flex; align-items: center; min-height: 54px; padding: 0 14px; border: 1.5px dashed #A99AC8; border-radius: 14px; font-weight: 600; font-size: 15px; white-space: nowrap; cursor: pointer }
.pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer }
.chips { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px }
.chips:not(:empty) { margin: 0 0 8px }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--lilac); color: var(--pencil); font-weight: 700; padding: 3px 4px 3px 10px; border-radius: 999px; font-size: 14px }
.chip button { border: 0; background: none; padding: 0 6px; font-size: 17px; line-height: 1; color: inherit; min-height: 28px }
.side { position: sticky; top: 18px; display: flex; flex-direction: column; gap: 18px }
.brief { white-space: pre-wrap; font: 400 14.5px/1.55 var(--sans); background: var(--paper); border-radius: 12px; padding: 14px 16px; max-height: 42vh; overflow: auto; margin: 0 }
.brief.empty { color: #8A7BAA; text-align: left; border: 0 }
.panel .acts { margin-top: 14px } .acts .right { margin-left: auto }
.startbox { background: var(--peach); color: var(--peach-deep); border-color: var(--peach-soft) }
.field { display: block; margin-top: 4px } .field > span { display: block; font-weight: 700; margin-bottom: 6px }
.field input { width: 100%; min-height: 54px; padding: 10px 16px; border: 2px solid var(--peach-deep); border-radius: 12px; background: #fff; font: 400 22px/1.2 var(--head); color: var(--ink) }
.startbox .hint { color: var(--peach-deep) }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-weight: 600 }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--pencil) }
.startbox .go { margin-top: 16px; width: 100% }
.practice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: 28px; align-items: start }
.practice .panel p { max-width: 38em }
.steps-list { margin: 10px 0 12px; padding-left: 1.3em } .steps-list li + li { margin-top: 6px }

/* One site: the work on the left, the chat on the right */
.siteview { display: grid; grid-template-columns: minmax(0, 1fr) var(--chat); align-items: start; min-height: 100vh }
.work { padding: 24px 28px 60px; min-width: 0; container-type: inline-size }
.workhead { background: var(--peach); color: var(--peach-deep); border-radius: 20px; padding: 20px 24px }
.workhead h1 { font: 400 clamp(30px, 3.4vw, 44px)/1.05 var(--head); letter-spacing: -.01em; overflow-wrap: anywhere }
.workhead .state { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; margin-top: 10px }
.workhead .note { margin-top: 8px; max-width: 46em }
.workhead .when { margin-top: 4px; font-size: 14.5px; opacity: .85 }
.workhead .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px 24px; flex-wrap: wrap }
.workhead .acts { justify-content: flex-end }
.workhead .top > div { flex: 1 1 220px; min-width: 0 }
.track { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)) }
.track li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); padding: 0 2px; line-height: 1.25 }
.track li::after { content: ""; position: absolute; top: 13px; left: calc(50% + 15px); right: calc(-50% + 15px); height: 2px; background: var(--soft) }
.track li:last-child::after { display: none }
.track li.past::after { background: var(--pencil) }
.track .dot { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--soft); background: #fff; display: grid; place-items: center; font-size: 14px; color: #fff; box-shadow: none; animation: none }
.track .past .dot { background: var(--pencil); border-color: var(--pencil) } .track .past .dot::before { content: "✓" }
.track .now { color: var(--ink) } .track .now .lab { font-weight: 800 }
.track .now .dot { border: 3px solid var(--pencil); background: var(--lilac) }
.track .now .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pencil) }
.track .now.live .dot::after { animation: beat 1.4s ease-in-out infinite }
.track .yes .dot { border-style: dashed; border-color: #E8A27C }
.track .yes.past .dot { background: var(--you); border: 2px solid var(--you) }
.track .yes.now .dot { border: 3px solid var(--you); background: var(--you-soft) } .track .yes.now .dot::after { background: var(--you) }
.track .yes .lab { color: var(--you-dark) }
.trackline { display: none; margin: 10px 0 0; font-weight: 700; text-align: center }
@container (max-width: 640px) {
  .track .lab { display: none } .track .dot { width: 22px; height: 22px; font-size: 11px } .track li::after { top: 10px; left: calc(50% + 11px); right: calc(-50% + 11px) }
  .track .now .dot::after { width: 8px; height: 8px } .trackline { display: block }
  .tabs button { padding: 10px 9px 9px; font-size: 15.5px }
}
@container (max-width: 420px) { .tabs button { padding: 10px 6px 9px; font-size: 15px } }
@container (max-width: 560px) {
  .plist { grid-template-columns: minmax(0, 1fr); gap: 10px }
  .pcard { flex-direction: row } .pcard .thumb { width: 112px; flex: none; aspect-ratio: 4 / 3; border-bottom: 0; border-right: 1.5px solid var(--line) }
  .pcard .body { padding: 10px 12px; gap: 6px } .pcard .letter { font-size: 32px }
}
.tabs { display: flex; gap: 2px; border-bottom: 1.5px solid var(--line); margin: 22px 0 0; overflow-x: auto; scrollbar-width: none }
.tabs button { border: 0; background: none; padding: 11px 14px 10px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1.5px; white-space: nowrap; min-height: 46px }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--pencil) }
.tabpanel { padding: 20px 0 0 }

/* Preview */
.pbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px }
.pbar label { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-right: auto; min-width: 0 }
.pbar select { min-height: 42px; max-width: 260px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-weight: 600 }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff }
.seg button { border: 0; background: none; padding: 0 13px; min-height: 40px; font-weight: 600 }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff }
.frame { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden }
.frame iframe { border: 0; display: block; background: #fff; transform-origin: 0 0 }
.frame:not(.phone) iframe { position: absolute; top: 0; left: 0 }
.frame.phone { width: 410px; max-width: 100%; margin: 0 auto; border: 10px solid var(--ink); border-radius: 36px }
.under { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px }

/* Pages */
.plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px }
.pgroup + .pgroup { margin-top: 22px }
.glabel { font: 700 13px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 10px }
.pcard { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column }
.pcard .thumb { aspect-ratio: 16 / 9; cursor: pointer; border: 0; padding: 0; width: 100%; border-bottom: 1.5px solid var(--line) }
.pcard .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1 }
.pcard .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px }
.pcard b { font-size: 17px } .pcard .kd { font-size: 13.5px; color: var(--muted) }
.pcard .acts { margin-top: auto; gap: 8px } .pcard .acts .small { padding: 0 11px; font-size: 14.5px; min-height: 36px }
.st { font-size: 13px; font-weight: 700; border-radius: 6px; padding: 2px 8px; background: var(--grey); color: var(--grey-deep); white-space: nowrap }
.st.done { background: var(--lilac); color: var(--pencil) } .st.approved { background: var(--mint); color: var(--mint-deep) } .st.working { background: var(--lemon); color: var(--lemon-deep) }

/* Activity */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px }
.filters button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 14px; font-weight: 600; min-height: 38px }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff }
.acts-list { list-style: none; margin: 0; padding: 0 }
.acts-list li { display: grid; grid-template-columns: 54px 26px minmax(0, 1fr); gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: start }
.acts-list time { font-size: 14px; color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums }
.acts-list .ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 14px; background: var(--grey); color: var(--grey-deep) }
.acts-list .detail { display: block; color: var(--muted); font-size: 14.5px; overflow-wrap: anywhere }
.acts-list .code { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #6B5A8E }
.acts-list .code.open { -webkit-line-clamp: unset; white-space: pre-wrap }
.acts-list .more { border: 0; background: none; padding: 2px 0; color: var(--pencil); font-size: 14px; font-weight: 600; text-decoration: underline }
.acts-list .shot { display: block; margin-top: 6px; width: 160px; max-width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); background: var(--lilac) }
.acts-list .k-picture .ico { background: var(--mint); color: var(--mint-deep) } .acts-list .k-looks .ico { background: var(--lilac); color: var(--pencil) }
.acts-list .k-helper .ico { background: var(--lemon); color: var(--lemon-deep) } .acts-list .k-failed .ico { background: var(--rose); color: var(--red) }
.acts-list .k-ended .ico { background: var(--peach); color: var(--peach-deep) }
.cost { font-weight: 700; color: var(--mint-deep) }
.older { margin-top: 14px }

/* Logo and spending */
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: start }
.logo-show { display: grid; grid-template-columns: 1fr 1fr; border-radius: 14px; overflow: hidden; border: 1.5px solid var(--line); margin: 8px 0 12px }
.logo-show div { display: grid; place-items: center; padding: 24px; min-height: 150px; background: #fff }
.logo-show div + div { background: var(--ink) }
.logo-show img { max-height: 110px; max-width: 100% }
.file { display: block; margin-top: 12px; width: 100%; padding: 12px; border: 1.5px dashed #A99AC8; border-radius: 12px; background: var(--paper) }
.spend { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px }

/* The chat column */
.chat { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: #fff; border-left: 1.5px solid var(--line); min-width: 0 }
.chathead { display: flex; align-items: center; gap: 10px; padding: 16px 18px 14px; border-bottom: 1.5px solid var(--line) }
.chathead h2 { font: 400 22px/1.1 var(--head); margin-right: auto }
.chathead .close { display: none; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; min-height: 40px; padding: 0 14px; font-weight: 700 }
.approvebox:not(:empty) { padding: 14px 16px 0 }
.approve { background: var(--peach); color: var(--peach-deep); border: 2.5px solid var(--you); border-radius: 16px; padding: 14px 16px }
.approve h3 { font: 400 21px/1.15 var(--head) }
.approve p { margin-top: 4px; font-size: 15.5px }
.approve .acts { margin-top: 12px }
.approve .ghost { border-color: var(--peach-deep); color: var(--peach-deep) }
.chatlist { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain }
.chatlist .msg { max-width: 94%; font-size: 16px }
.msg .who { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 3px }
.msg .who time { font-weight: 400; margin-left: 6px }
.msg .chips { margin: 0 0 6px }
.sys { align-self: center; font-size: 13.5px; color: var(--muted); background: var(--grey); border-radius: 999px; padding: 3px 12px; text-align: center; max-width: 100% }
.busy { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14.5px; padding: 8px 16px 0 }
.busy::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--pencil); animation: beat 1.4s ease-in-out infinite }
.chat .composer { position: static; padding: 10px 16px 14px; background: #fff }
.chat .composer .go { min-height: 50px } .chat .composer textarea { min-height: 50px; font-size: 16px }
.sent { font-size: 14px; color: var(--mint-deep); font-weight: 700; margin-top: 6px }
.chatfab { display: none }

@media (max-width: 1279px) {
  :root { --side: 216px; --chat: 340px }
  .work { padding: 20px 20px 60px }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .duo { grid-template-columns: minmax(0, 1fr) }
  .newsite, .practice { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) }
}
@media (max-width: 999px) {
  .app { grid-template-columns: minmax(0, 1fr) }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 290px; height: 100%; z-index: 70; transform: translateX(-105%); transition: transform .2s ease; visibility: hidden }
  body.menu-open .sidebar { transform: none; visibility: visible }
  body.menu-open .scrim { display: block; position: fixed; inset: 0; z-index: 65; border: 0; background: rgba(53, 33, 95, .35) }
  .mobilebar { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1.5px solid var(--line); padding: 8px 16px; min-height: 60px }
  .mobilebar .brand { padding: 0; font-size: 22px }
  .mobilebar .menu { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; min-height: 42px; padding: 0 14px; font-weight: 700 }
  .mobilebar .grow { flex: 1 }
  .newmini { font-weight: 700; color: #fff; background: var(--pencil); border-radius: 10px; padding: 9px 14px; text-decoration: none; font-size: 15px }
  .siteview { display: block }
  .chat { position: fixed; inset: 0; z-index: 80; height: 100%; display: none; border: 0 }
  .chat.open { display: flex }
  .chathead .close { display: inline-block }
  .chatfab { display: inline-flex; align-items: center; gap: 8px; position: fixed; right: 16px; bottom: 16px; z-index: 60; border: 0; border-radius: 999px; background: var(--pencil); color: #fff; font-weight: 700; padding: 0 22px; min-height: 54px; box-shadow: 0 6px 20px rgba(53, 33, 95, .3) }
  .chatfab.you { background: var(--you) }
  .chatfab .count { background: #fff; color: var(--pencil); border-radius: 999px; min-width: 24px; padding: 0 7px; font-size: 14px; text-align: center }
  .chatfab.you .count { color: var(--you) }
  .work { padding-bottom: 96px }
  .newsite, .practice { grid-template-columns: minmax(0, 1fr) } .side { position: static } .brief { max-height: none } .talk { min-height: 0 }
}
@media (max-width: 640px) {
  .col, .dash, .pagebody, .newsite { padding-left: 16px; padding-right: 16px }
  .dash { padding-top: 22px }
  .band { padding: 26px 0 26px }
  .work { padding: 14px 14px 96px }
  .workhead { padding: 16px 16px; border-radius: 16px }
  .workhead .acts { justify-content: flex-start; width: 100% }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) } .tile .big { font-size: 30px }
  .waitrow { grid-template-columns: 96px minmax(0, 1fr); padding: 10px } .waitrow .go { grid-column: 1 / -1 }
  .recent li { grid-template-columns: auto minmax(0, 1fr) } .recent .what { grid-column: 1 / -1 }
  .grid { grid-template-columns: minmax(0, 1fr) }
  .composer .row { flex-wrap: wrap } .newsite .composer textarea { flex-basis: 100% } .newsite .composer .go { flex: 1 }
  .acts-list li { grid-template-columns: 46px 26px minmax(0, 1fr) }
  .logo-show { grid-template-columns: 1fr }
}
.msg.you .chip { background: #fff }

/* Sign in */
body.signin { display: grid; place-items: center; min-height: 100vh; padding: 28px 16px; background: linear-gradient(var(--peach) 0 42%, var(--paper) 42%) }
.signbox { width: min(440px, 100%) }
.signbox .brand { padding: 0 0 22px }
.signbox h1 { font: 400 clamp(40px, 9vw, 54px)/1.05 var(--head); color: var(--peach-deep); letter-spacing: -.015em }
.signbox .lead { margin: 8px 0 20px; color: var(--peach-deep) }
.signbox .panel { display: flex; flex-direction: column; gap: 14px; padding: 24px; box-shadow: 0 10px 30px rgba(87, 44, 28, .08) }
.signbox .field input { font: 400 18px/1.3 var(--sans); border: 2px solid var(--soft); min-height: 52px }
.signbox .field input:focus { border-color: var(--pencil); outline: none; box-shadow: 0 0 0 3px var(--lilac) }
.signbox .check { margin-top: 0 }
.signbox .go { width: 100%; margin-top: 4px }
.signbox > .hint { margin-top: 16px; text-align: center }
.bell { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 0 12px; font-size: 13.5px; color: var(--muted) }
.bell button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; min-height: 36px; padding: 0 12px; font-weight: 700; color: var(--ink) }
.bell button:hover { border-color: var(--pencil); color: var(--pencil) }
.signout { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding: 8px 12px; font-size: 14.5px; color: var(--muted) }
.signout button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; min-height: 36px; padding: 0 12px; font-weight: 700; color: var(--ink) }
.signout button:hover { border-color: var(--pencil); color: var(--pencil) }

/* New site: the three fields */
.three { display: flex; flex-direction: column; gap: 16px; margin-top: 6px }
.three .field input { font-size: 19px; min-height: 50px }
.addr { display: flex; align-items: stretch; border: 2px solid var(--peach-deep); border-radius: 12px; background: #fff; overflow: hidden }
.addr:focus-within { outline: 3px solid var(--pencil); outline-offset: 1px }
.three .addr input, .three .posts input { min-height: 50px; padding: 10px 14px; font: 400 18px/1.2 var(--sans); color: var(--ink); background: #fff }
.three .addr input { flex: 1; min-width: 0; border: 0; outline: none; padding-right: 2px }
.addr .suffix { display: flex; align-items: center; padding: 0 12px 0 0; color: var(--muted); font-size: 14.5px; white-space: nowrap }
.posts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.three .posts input { width: 92px; flex: none; border: 2px solid var(--peach-deep); border-radius: 12px }
@media (max-width: 640px) { .addr .suffix { display: none } }
.quick { display: flex; gap: 6px; flex-wrap: wrap }
.quick button { border: 1.5px solid color-mix(in srgb, var(--peach-deep) 30%, transparent); background: #fff; border-radius: 999px; min-height: 38px; padding: 0 13px; font-weight: 700; color: var(--peach-deep) }
.quick button[aria-pressed="true"] { background: var(--peach-deep); color: #fff; border-color: var(--peach-deep) }
