/* timka.studio client portal — same look as the website: soft grey page, white cards, one red accent, calm motion. */
:root { --bg: #f4f4f2; --frame: #ebebe8; --card: #fff; --ink: #101010; --ink2: #3b3935; --muted: #77736c; --line: #e6e5e1; --red: #ff0020; --r: 16px; --side: 248px; --ease: cubic-bezier(.22,.7,.2,1); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 500; letter-spacing: -.04em; line-height: 1.06; margin: 4px 0 0; }
h1 em { font-style: normal; color: var(--red); }
h2 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.pcard h2, .pnext h2 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; text-transform: none; color: var(--ink); }
.pnext .ptag + h2 { margin-top: 6px; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* sidebar (signed in) */
.ps { position: fixed; inset: 12px auto 12px 12px; width: var(--side); display: flex; flex-direction: column; gap: 6px; padding: 16px 12px; background: var(--card); border-radius: 20px; box-shadow: 0 0 0 1px rgba(16,16,16,.04), 0 20px 40px -30px rgba(16,16,16,.35); z-index: 10; }
.ps__logo { display: flex; align-items: center; gap: 10px; padding: 4px 8px 14px; text-decoration: none; } .ps__logo img { width: 78px; } .ps__logo span { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ps__new { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px; background: var(--red); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; box-shadow: 0 10px 22px -12px rgba(255,0,32,.8); transition: transform .3s var(--ease), background .2s; margin-bottom: 10px; }
.ps__new:hover { transform: translateY(-2px); background: #e2001c; } .ps__new svg { width: 18px; height: 18px; }
.ps__nav { display: grid; gap: 2px; }
.ps__nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; text-decoration: none; color: var(--ink2); font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.ps__nav a svg { width: 19px; height: 19px; flex: none; } .ps__nav a span { flex: 1; } .ps__nav a em { font-style: normal; font-size: 11px; font-weight: 700; min-width: 22px; text-align: center; padding: 2px 6px; border-radius: 99px; background: var(--bg); }
.ps__nav a:hover { background: var(--bg); } .ps__nav a.on { background: var(--ink); color: #fff; } .ps__nav a.on em { background: rgba(255,255,255,.18); color: #fff; }
.ps__wait { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 11px; background: #fff1f3; color: #b00020; font-size: 13px; font-weight: 600; text-decoration: none; }
.ps__me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 8px 2px; border-top: 1px solid var(--line); }
.ps__me span:nth-child(2) { flex: 1; min-width: 0; line-height: 1.25; } .ps__me b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ps__me small { color: var(--muted); font-size: 12px; }
.ps__me a { text-decoration: none; font-size: 18px; color: var(--muted); padding: 4px 6px; border-radius: 8px; } .ps__me a:hover { background: var(--bg); color: var(--red); }
.pav { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.pdot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,0,32,.5); } 70% { box-shadow: 0 0 0 8px rgba(255,0,32,0); } 100% { box-shadow: 0 0 0 0 rgba(255,0,32,0); } }

.pm { min-height: 100vh; padding: 28px clamp(16px, 3vw, 40px) 30px; }
.in .pm { margin-left: calc(var(--side) + 24px); max-width: 1240px; }
.out .pm { max-width: 1120px; margin: 0 auto; }
.pout { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 20px; } .pout img { width: 90px; display: block; } .pout__back { font-size: 13px; color: var(--muted); text-decoration: none; }
.pf { text-align: center; color: var(--muted); font-size: 12.5px; padding: 40px 0 10px; }

/* building blocks */
.pcard { background: var(--card); border-radius: var(--r); padding: 20px; box-shadow: 0 1px 2px rgba(16,16,16,.04), 0 0 0 1px rgba(16,16,16,.035); }
.pcard--flush { padding: 4px 0; }
.ptag { margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.pmuted { color: var(--muted); margin: 0; } .psmall { font-size: 13px; color: var(--muted); margin: 14px 0 0; } .ppad { padding: 16px 20px; } .pblock { display: block; } .pnowrap { white-space: nowrap; }
.pflash { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: #e9f6ee; color: #145c33; font-size: 14px; animation: drop .5s var(--ease); } .pflash--error { background: #ffe9ec; color: #a1001a; }
.out .pflash { max-width: 560px; margin-left: auto; margin-right: auto; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.pbtn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 10px; border: 0; background: var(--ink); color: #fff; font: 600 14px/1.2 inherit; font-family: inherit; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .2s, box-shadow .3s; white-space: nowrap; }
.pbtn:hover { transform: translateY(-2px); } .pbtn--red { background: var(--red); box-shadow: 0 10px 22px -12px rgba(255,0,32,.8); } .pbtn--red:hover { background: #e2001c; }
.pbtn--ghost { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line) inset; } .pbtn--ghost:hover { box-shadow: 0 0 0 1px var(--ink) inset; } .pbtn--sm { padding: 8px 12px; font-size: 12.5px; }
.plink { background: none; border: 0; padding: 0; color: var(--red); font: 700 12.5px inherit; font-family: inherit; text-decoration: none; cursor: pointer; } .plink:hover { text-decoration: underline; } .plink--muted { color: var(--muted); font-weight: 600; } .plink--ink { color: var(--ink); font-weight: 600; font-size: 14px; }
.pinline { display: inline; margin: 0; }
.pfield { display: grid; gap: 6px; margin: 0 0 14px; } .pfield > span { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pfield input, .pfield textarea, .pfield select, .pmsg textarea, .pnext textarea, .ppay textarea { width: 100%; font-size: 15px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); outline: none; transition: border-color .2s, background .2s; resize: vertical; }
.pfield input:focus, .pfield textarea:focus, textarea:focus { border-color: var(--ink); background: #fff; }
.pfield input:disabled { opacity: .6; } .pfield--inline { max-width: 320px; }
.phide { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.prow { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin-top: 16px; } .prow textarea { flex: 1 1 100%; } .pspan { grid-column: 1 / -1; }

/* login */
.plogin { max-width: 540px; margin: 7vh auto 0; padding: clamp(24px, 4vw, 40px); } .plogin h1 { margin-bottom: 12px; } .plogin form { margin-top: 22px; display: grid; gap: 4px; }
.plogin__new { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pcode { font-size: 28px !important; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }

/* page heads, kpis, sections */
.phead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 6px 0 22px; } .plead { margin-top: 10px; max-width: 46em; font-size: 15.5px; }
.pcrumb { margin: 0 0 6px; font-size: 13px; } .pcrumb a { color: var(--muted); text-decoration: none; } .pcrumb a:hover { color: var(--red); }
.pkpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 8px; }
.pkpi { display: block; text-decoration: none; background: var(--card); border-radius: var(--r); padding: 16px 18px; box-shadow: 0 0 0 1px rgba(16,16,16,.04); transition: transform .3s var(--ease), box-shadow .3s; }
a.pkpi:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -26px rgba(16,16,16,.45); } .pkpi b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.04em; line-height: 1.1; } .pkpi span { font-size: 12.5px; color: var(--muted); } .pkpi--red b { color: var(--red); }
.psec { margin-top: 28px; } .psec__h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .psec__h h2 { margin-bottom: 12px; }
.pgrid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; } .pgrid2--tight { gap: 0 14px; }
.pempty { text-align: center; padding: 36px 20px; } .pempty b { display: block; font-size: 17px; margin-bottom: 4px; } .pempty .pbtn { margin-top: 16px; }

/* waiting list */
.pwait { display: grid; gap: 8px; }
.pwait__item { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 16px 18px; box-shadow: 0 0 0 1.5px rgba(255,0,32,.25); transition: transform .3s var(--ease); } .pwait__item:hover { transform: translateX(4px); }
.pwait__item span { flex: 1; } .pwait__item b { display: block; } .pwait__item small { color: var(--muted); } .pwait__item em { font-style: normal; color: var(--red); font-weight: 700; font-size: 13px; }

/* project cards */
.pprojects { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 10px; }
.pproject { display: flex; flex-direction: column; gap: 6px; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; } .pproject:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(16,16,16,.45); }
.pproject--act { box-shadow: 0 0 0 1.5px rgba(255,0,32,.35); }
.pproject strong { font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; } .pproject__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .pproject__top small { color: var(--muted); font-size: 12px; }
.pneeds { font-style: normal; font-size: 11px; font-weight: 700; color: var(--red); letter-spacing: .04em; }
.pstat { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--bg); color: var(--ink2); white-space: nowrap; }
.pstat--active, .pstat--open { background: #fff1d6; color: #8a5300; } .pstat--done, .pstat--approved { background: #e4f5ea; color: #17673a; } .pstat--late { background: #ffe5e9; color: #b00020; }
.pstat--requests { background: #e8eefc; color: #2a4aa0; } .pstat--revision { background: #f3e8ff; color: #6b21a8; } .pstat--archived { background: #eceae6; color: var(--muted); }
.pbar { display: block; height: 6px; border-radius: 99px; background: var(--bg); overflow: hidden; margin-top: 8px; } .pbar i { display: block; height: 100%; background: var(--red); border-radius: 99px; transition: width 1s var(--ease); }
.ptabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; } .ptabs a { padding: 9px 15px; border-radius: 99px; text-decoration: none; font-size: 13.5px; font-weight: 600; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; transition: background .2s, color .2s; }
.ptabs a sup { font-size: 10px; color: var(--red); margin-left: 2px; } .ptabs a.on { background: var(--ink); color: #fff; box-shadow: none; } .ptabs a.on sup { color: #fff; opacity: .7; }

/* status bar */
.pbarcard { padding: 22px 20px; overflow-x: auto; }
.psteps { --n: 9; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(74px, 1fr)); position: relative; min-width: 640px; }
.psteps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.psteps li::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; } .psteps li:first-child::before { display: none; }
.psteps li.done::before, .psteps li.now::before { background: var(--red); }
.psteps i { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; background: #fff; box-shadow: 0 0 0 2px var(--line) inset; color: var(--muted); transition: all .4s var(--ease); }
.psteps li.done i { background: var(--red); color: #fff; box-shadow: none; } .psteps li.done { color: var(--ink); }
.psteps li.now i { background: var(--ink); color: #fff; box-shadow: 0 0 0 5px rgba(255,0,32,.18); animation: pulse 2s infinite; } .psteps li.now { color: var(--ink); }
.psteps small { display: block; font-size: 10.5px; color: var(--red); font-weight: 700; }
.psteps.is-done li i { background: #17a34a; } .psteps.is-done li::before { background: #17a34a; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255,0,32,.06); } }

/* project page */
.pproj { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
.pproj__side { display: grid; gap: 20px; position: sticky; top: 20px; }
.pnext { padding: 24px; } .pnext p { margin: 8px 0 0; color: var(--ink2); }
.pnext--act { box-shadow: 0 0 0 2px var(--red), 0 30px 50px -40px rgba(255,0,32,.6); } .pnext--done { box-shadow: 0 0 0 2px #17a34a; } .pnext--done .ptag { color: #17a34a; } .pnext--done .pbtn { margin-top: 16px; }
.pquote { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin: 10px 0 4px; } .pquote b { font-size: 44px; font-weight: 500; letter-spacing: -.05em; line-height: 1; } .pquote span { color: var(--muted); font-size: 13.5px; }
.pnote { background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.pfacts { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; } .pfacts li { padding: 7px 12px; border-radius: 99px; background: var(--bg); font-size: 13px; }
.pmore { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; } .pmore summary { cursor: pointer; font-weight: 600; font-size: 14px; list-style: none; } .pmore summary::before { content: "+ "; color: var(--red); } .pmore[open] summary::before { content: "– "; }
.pmore form { display: grid; gap: 8px; margin-top: 10px; justify-items: start; } .pmore textarea { width: 100%; }
.ppay { display: grid; gap: 8px; margin-top: 14px; }
.popt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line) inset; cursor: pointer; transition: box-shadow .2s, background .2s; }
.popt:has(input:checked) { box-shadow: 0 0 0 2px var(--ink) inset; background: #fafaf9; } .popt input { margin-top: 3px; accent-color: var(--red); } .popt b { display: block; font-size: 14.5px; } .popt small { color: var(--muted); font-size: 13px; } .popt.is-off { opacity: .55; cursor: default; }
.pupload { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.pmsg { display: grid; gap: 8px; justify-items: end; margin-bottom: 14px; }
.ptimeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 560px; overflow-y: auto; }
.ptimeline li { padding: 10px 12px; border-radius: 12px; background: var(--bg); } .ptimeline li.me { background: #fff1f3; } .ptimeline li.k-stage { background: transparent; box-shadow: 0 0 0 1px var(--line) inset; }
.ptimeline small { color: var(--muted); font-size: 11.5px; } .ptimeline p { margin: 3px 0 0; font-size: 13.5px; }
.pbrief { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13.5px; } .pbrief dt { color: var(--muted); } .pbrief dd { margin: 0; }

/* files */
.pfiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pfiles a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; text-decoration: none; transition: background .2s; } .pfiles a:hover { background: var(--bg); }
.pfiles span { flex: 1; min-width: 0; } .pfiles b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pfiles small { color: var(--muted); font-size: 12px; }
.pfiles em { font-style: normal; font-weight: 700; color: var(--red); }
.pext { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #5b6170; color: #fff; display: grid; place-items: center; font: 700 9.5px inherit; font-family: inherit; font-style: normal; letter-spacing: .04em; }
.pext--img { background: #2f9e6e; } .pext--pdf { background: #e5383b; } .pext--zip { background: #c58b1d; } .pext--src { background: #ff7a00; } .pext--vid { background: #7048e8; }
.pkeep { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: #fff8e6; color: #6b4e00; font-size: 13px; line-height: 1.5; } .pkeep b { color: #4a3600; }
.pfm { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 16px; align-items: start; }
.pfm__tree { display: grid; gap: 2px; background: var(--card); border-radius: var(--r); padding: 8px; box-shadow: 0 0 0 1px rgba(16,16,16,.035); position: sticky; top: 20px; }
.pfm__tree a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; text-decoration: none; font-size: 13.5px; font-weight: 500; transition: background .2s; }
.pfm__tree a span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; } .pfm__tree a small { display: block; color: var(--muted); font-size: 11.5px; }
.pfm__tree a:hover { background: var(--bg); } .pfm__tree a.on { background: #fff1f3; color: #b00020; }
.pfold { flex: none; width: 26px; height: 21px; border-radius: 4px; background: linear-gradient(#ffc94d, #f4b400); position: relative; } .pfold::before { content: ""; position: absolute; left: 0; top: -4px; width: 11px; height: 6px; border-radius: 3px 3px 0 0; background: #f4b400; }
.pfold--all { background: linear-gradient(#ff5a6e, var(--red)); } .pfold--all::before { background: var(--red); }
.pfm__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); } .pfm__path { font-size: 13px; color: var(--muted); } .pfm__path a { text-decoration: none; } .pfm__path b { color: var(--ink); }
.pfm__name { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; } .pfm__name span { min-width: 0; } .pfm__name small { display: block; font-weight: 500; color: var(--red); font-size: 11px; }
.pfm__name .pext { width: 34px; height: 34px; }
.pnewlink { margin-bottom: 18px; box-shadow: 0 0 0 2px var(--red); } .pcopy { display: flex; gap: 8px; margin-top: 8px; } .pcopy input { flex: 1; font-size: 14px; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); }
.plinkbox { width: 230px; font-size: 12px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink2); }
.pdialog { border: 0; border-radius: 20px; padding: 26px; width: min(460px, 92vw); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); } .pdialog::backdrop { background: rgba(16,16,16,.35); backdrop-filter: blur(3px); } .pdialog h2 { margin: 6px 0 16px; word-break: break-word; }
.pshare { max-width: 720px; margin: 4vh auto 0; padding: clamp(22px, 4vw, 36px); } .pshare h1 { word-break: break-word; } .pshare .pfiles { margin: 18px 0; } .pshare .pkeep { margin: 0; }

/* tables */
.ptable-wrap { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; font-size: 13.5px; } .ptable th { text-align: left; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 10px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ptable td { padding: 12px 16px; border-bottom: 1px solid var(--line); } .ptable tbody tr { transition: background .15s; } .ptable tbody tr:hover { background: #fafaf9; } .ptable tr:last-child td { border-bottom: 0; } .ptable .r { text-align: right; } .plate { color: #b00020; font-weight: 600; }

/* start a project */
.pwiz { list-style: none; display: flex; gap: 6px; margin: 0 0 20px; padding: 0; counter-reset: s; flex-wrap: wrap; }
.pwiz li { counter-increment: s; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 99px; background: var(--card); font-size: 13px; font-weight: 600; color: var(--muted); box-shadow: 0 0 0 1px var(--line) inset; }
.pwiz li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-size: 12px; }
.pwiz li.on { color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; } .pwiz li.on::before { background: var(--ink); color: #fff; } .pwiz li.done::before { content: "✓"; background: var(--red); color: #fff; }
.pstart { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.pstart__main { background: var(--card); border-radius: 20px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 0 0 1px rgba(16,16,16,.035); }
.pstart__main h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; text-transform: none; color: var(--ink); margin-bottom: 16px; }
.pstart.is-js .pwizstep { display: none; } .pstart.is-js .pwizstep.on { display: block; animation: drop .45s var(--ease); }
.pwiznav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); } .pwiznav [data-next], .pwiznav [data-submit] { margin-left: auto; }
.pstart__sum { position: sticky; top: 20px; } .pstart__sum dl { margin: 12px 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14px; } .pstart__sum dt { color: var(--muted); } .pstart__sum dd { margin: 0; font-weight: 600; }
.pest { padding: 14px; border-radius: 12px; background: var(--bg); } .pest span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .pest b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.04em; color: var(--red); } .pest small { font-size: 12.5px; color: var(--muted); }
.pafter { margin: 16px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink2); display: grid; gap: 6px; } .pafter b { color: var(--ink); }
.psvc { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.psvc__card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px; cursor: pointer; box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow .2s, transform .3s var(--ease), background .2s; }
.psvc__card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--ink) inset; } .psvc__card input, .ppkg input { position: absolute; opacity: 0; pointer-events: none; }
.psvc__card:has(input:checked) { box-shadow: 0 0 0 2px var(--red) inset; background: #fff8f9; } .psvc__card b { font-size: 16px; } .psvc__card small { color: var(--muted); font-size: 13px; }
.psvc__ico { width: 42px; height: 42px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; color: var(--red); margin-bottom: 6px; } .psvc__ico svg { width: 22px; height: 22px; }
.psvc__card:has(input:checked) .psvc__ico { background: var(--red); color: #fff; }
.ppkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 16px; }
.ppkg { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 14px; cursor: pointer; background: #f6f6f4; box-shadow: 0 0 0 1px transparent inset; transition: box-shadow .2s, transform .3s var(--ease), background .2s; }
.ppkg:hover { transform: translateY(-3px); } .ppkg:has(input:checked) { box-shadow: 0 0 0 2px var(--red) inset; background: #fff8f9; }
.ppkg__name { font-size: 17px; letter-spacing: -.01em; } .ppkg__price { font-size: 32px; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; } .ppkg__price small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ppkg__tag { color: var(--muted); font-size: 13.5px; } .ppkg ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; font-size: 13.5px; } .ppkg li::before { content: "✓ "; color: var(--red); font-weight: 700; }
.ppkg--pop { background: #fff1f3; box-shadow: 0 0 0 1px rgba(255,0,32,.35) inset; } .ppkg--pop .ppkg__name { color: var(--red); }
.ppkg__badge { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 99px; background: var(--red); color: #fff; }
.ppkg-grid--plans .ppkg { padding: 22px; min-height: 290px; } .ppkg-grid--plans .ppkg__price { font-size: 34px; }
.pchecks { display: flex; flex-wrap: wrap; gap: 8px; } .pchecks label { display: flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 99px; box-shadow: 0 0 0 1px var(--line) inset; font-size: 13.5px; cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink); }
.pchecks label:has(input:checked) { box-shadow: 0 0 0 2px var(--ink) inset; } .pchecks input { accent-color: var(--red); }
.pform h2 { margin-bottom: 16px; }

@media (max-width: 1100px) { .pproj, .pstart { grid-template-columns: minmax(0, 1fr); } .pproj__side, .pstart__sum { position: static; } }
@media (max-width: 860px) {
  .ps { position: sticky; inset: auto; top: 0; width: auto; flex-direction: row; align-items: center; flex-wrap: wrap; border-radius: 0 0 16px 16px; padding: 10px 12px; gap: 8px; }
  .ps__logo { padding: 0; } .ps__logo span, .ps__wait, .ps__me span:nth-child(2) { display: none; } .ps__new { order: 3; margin: 0; padding: 9px 12px; font-size: 13px; } .ps__me { margin: 0 0 0 auto; border: 0; padding: 0; order: 2; }
  .ps__nav { order: 4; flex-basis: 100%; display: flex; overflow-x: auto; gap: 4px; } .ps__nav a { padding: 8px 10px; font-size: 13px; white-space: nowrap; } .ps__nav a svg { display: none; }
  .in .pm { margin-left: 0; padding-top: 18px; } .pgrid2, .pfm { grid-template-columns: minmax(0, 1fr); } .pfm__tree { position: static; display: flex; overflow-x: auto; } .pfm__tree a { white-space: nowrap; }
}

/* drafts */
.pdraftbtn { margin-left: auto; } .pwiznav .pdraftbtn + [data-next], .pwiznav .pdraftbtn ~ [data-submit] { margin-left: 0; }
.pdraftnote { margin-bottom: 14px; }
@media (max-width: 600px) { .pwiznav { flex-wrap: wrap; } .pdraftbtn { order: 3; flex-basis: 100%; margin: 0; } }

/* terms */
.pagree { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: 14px; line-height: 1.45; cursor: pointer; } .pagree input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; flex: none; }
.pagree a { color: var(--red); font-weight: 600; }
.paccept { max-width: 620px; } .paccept__list { margin: 18px 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--ink2); }
