/* HomeHR - free tools site. Brand carried over from the launch site: warm gold + deep slate + cream. */
/* Task 913: re-skinned to design concept 15 "Fridge Door" - overrides at the end of this file. */
:root {
  --gold: #ffe66b; --gold-dark: #e8433a; --gold-soft: #fff6c2;
  --slate: #24303a; --slate-soft: #44515c; --muted: #5b6873;
  --cream: #eef1f0; --cream-deep: #e3e8e6;
  --green: #1f8f5f; --green-soft: #c9f2dc;
  --red: #c8231b; --red-soft: #ffe0dc;
  --line: #d9e0de; --white: #FFFFFF;
  --door: #eef1f0; --fr: #e8433a; --yel: #ffe66b; --blu: #4da3ff; --grn: #3cc58a;
  --hand: 'Caveat', cursive; --fun: 'Fredoka', sans-serif; --body: 'Nunito', system-ui, sans-serif;
  --shadow: 0 8px 30px rgba(31,41,55,0.08);
  --radius: 14px; --radius-lg: 22px; --max: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate); background: var(--cream); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; color: var(--slate); }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 900; margin-bottom: 0.8rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin: 1.2rem 0 0.4rem; }
p { color: var(--slate-soft); }
a { color: var(--slate); }
a:hover { color: var(--gold-dark); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.4rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-dark); background: var(--gold-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 1rem;
}
.accent { color: var(--gold-dark); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.lede { font-size: 1.08rem; max-width: 46rem; }
.sr, .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-block; font-family: inherit; font-weight: 600; font-size: 0.98rem; padding: 13px 24px;
  border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s;
}
.btn-primary { background: var(--gold); color: var(--slate); box-shadow: 0 6px 20px rgba(232,166,52,0.35); }
.btn-primary:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--slate); border: 2px solid var(--slate); margin-top: 1rem; }
.btn-secondary:hover { background: var(--slate); color: var(--gold); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,250,243,0.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--gold); color: var(--slate); font-size: 1.2rem; font-weight: 700; }
.brand-name { font-family: 'Fraunces', Georgia, serif; font-weight: 900; font-size: 1.3rem; }
.nav-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 0.95rem; }
@media (max-width: 640px) { .nav-inner { height: auto; padding: 0.7rem 1.4rem; flex-direction: column; } .nav-links { gap: 0.8rem; justify-content: center; } }

/* Hero + page head */
.hero { padding: 4rem 0 2.5rem; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%); }
.page-head { padding: 3rem 0 1.5rem; }
.minwage-box {
  margin-top: 2rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--gold); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow);
}
.minwage-box > div { display: flex; flex-direction: column; }
.minwage-box .label { font-weight: 600; font-size: 0.9rem; color: var(--slate-soft); }
.minwage-box .big { font-family: 'Fraunces', Georgia, serif; font-size: 2.4rem; font-weight: 900; color: var(--slate); }
.minwage-box .big small { font-size: 1rem; font-weight: 500; }
.minwage-box a { max-width: 26rem; color: var(--muted); }

/* Tool cards */
.tools { padding: 2.5rem 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.card { display: flex; flex-direction: column; gap: 0.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s; }
.card:hover { transform: translateY(-3px); color: var(--slate); }
.card h3 { margin: 0.2rem 0; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); font-size: 1.3rem; }
.card-cta { margin-top: auto; font-weight: 600; color: var(--gold-dark); }

.why { padding: 2.5rem 0 3rem; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.ticks { list-style: none; display: grid; gap: 0.7rem; }
.ticks li { padding-left: 1.7rem; position: relative; color: var(--slate-soft); }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Tools: form + result */
.tool { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 2rem; align-items: start; padding-bottom: 3rem; }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr; } }
.card-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow); display: grid; gap: 0.9rem; }
.card-form fieldset { border: 0; display: grid; gap: 0.7rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.card-form legend { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 1.05rem; margin-bottom: 0.4rem; }
.card-form label { display: grid; gap: 0.3rem; font-size: 0.9rem; font-weight: 500; }
.card-form label:has(> input[type=checkbox]) { display: flex; align-items: center; gap: 0.5rem; }
input, select, textarea { font: inherit; padding: 10px 12px; border: 1px solid #DCCFB8; border-radius: 10px; background: var(--white); color: var(--slate); width: 100%; }
input[type=checkbox] { width: auto; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }

.result { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); }
.muted-box { background: var(--gold-soft); box-shadow: none; }
table.calc { width: 100%; border-collapse: collapse; margin: 0.4rem 0 1rem; }
table.calc td, table.calc th { padding: 0.55rem 0.3rem; border-bottom: 1px solid var(--line); text-align: left; }
table.calc td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.calc th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding-top: 1rem; }
table.calc tr.total td { font-weight: 700; border-bottom: 2px solid var(--slate); }
.notice { padding: 0.8rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.notice.warn { background: var(--red-soft); color: var(--red); }
.notice.ok { background: var(--green-soft); color: var(--green); }

/* Printable documents */
.doc-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--slate); margin-bottom: 1rem; }
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; font-size: 0.95rem; }
.contract p, .contract li { color: var(--slate); font-size: 0.95rem; }
.contract ul { margin-left: 1.2rem; display: grid; gap: 0.4rem; }
.sign { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2.5rem 0 1rem; font-size: 0.9rem; }
.sign span { display: block; border-bottom: 1px solid var(--slate); height: 2.5rem; margin-bottom: 0.3rem; }

/* Rates table */
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 1rem; }
table.rates { width: 100%; border-collapse: collapse; }
table.rates th, table.rates td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.rates th { background: var(--gold-soft); font-size: 0.85rem; }

/* Notify */
.notify { background: var(--slate); padding: 3rem 0; margin-top: 2rem; }
.notify h2 { color: var(--white); }
.notify p { color: #CBD5E1; }
.notify-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; align-items: center; }
.notify-form { display: grid; gap: 0.8rem; }
.notify .checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; color: #E2E8F0; font-size: 0.9rem; }
.notify .checks label { display: flex; gap: 0.4rem; align-items: center; }

.footer { padding: 2rem 0 3rem; border-top: 1px solid var(--line); }
.disclaimer { font-size: 0.85rem; margin-bottom: 0.8rem; }

@media print {
  .no-print, .notify, .footer, .nav { display: none !important; }
  body { background: #fff; }
  .tool { display: block; padding: 0; }
  .result { border: 0; box-shadow: none; padding: 0; }
  .container { max-width: none; padding: 0; }
}

/* ===== Design 15 "Fridge Door" (task 913) ===== */
body { font: 400 17px/1.6 var(--body); color: var(--slate); background: var(--door);
  background-image: linear-gradient(90deg, rgba(255,255,255,.7), rgba(255,255,255,0) 30%, rgba(0,0,0,.03) 70%, rgba(255,255,255,.5)), radial-gradient(circle at 20% 0, #fff, transparent 60%); }
h1, h2, h3, .card-form legend { font-family: var(--fun); font-weight: 700; letter-spacing: 0; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.04; }
h1 u { text-decoration-color: var(--yel); text-decoration-thickness: 12px; text-underline-offset: -4px; text-decoration-skip-ink: none; }
:focus-visible { outline: 3px solid var(--blu); outline-offset: 3px; }
.hand { font: 700 26px/1 var(--hand); color: var(--fr); display: inline-block; }
.handle { position: fixed; right: 18px; top: 20vh; width: 18px; height: 46vh; border-radius: 10px; background: linear-gradient(90deg, #c9cfcd, #fff, #b5bcba); box-shadow: 0 4px 10px rgba(0,0,0,.15); z-index: 1; }
.nav { position: static; background: transparent; backdrop-filter: none; border: 0; }
.nav-inner { height: auto; padding: 22px 1.4rem; flex-wrap: wrap; }
.brand { font: 700 30px/1 var(--fun); color: var(--slate); }
.brand svg { width: 52px; height: 52px; filter: drop-shadow(2px 4px 3px rgba(0,0,0,.25)); }
.nav-links { gap: 8px; }
.mag { display: inline-block; font: 700 16px var(--fun) !important; padding: 8px 14px; border-radius: 12px; text-decoration: none; box-shadow: 0 4px 0 rgba(0,0,0,.18), 0 6px 10px rgba(0,0,0,.12); color: #fff; }
.mag:hover { transform: translateY(-2px); }
.m1 { background: var(--fr); } .m2 { background: var(--blu); } .m3 { background: var(--grn); } .m4 { background: var(--yel); color: var(--slate); } .m5 { background: #fff; color: var(--slate); }
.btn { font: 800 16px var(--body); border-radius: 14px; padding: 14px 22px; background: var(--slate); color: #fff; box-shadow: 0 5px 0 #0c1217; border: 0; cursor: pointer; }
.btn-primary { background: var(--fr); color: #fff; box-shadow: 0 5px 0 #a32820; }
.btn-primary:hover { background: #d23229; color: #fff; }
.btn-y { background: var(--yel); color: var(--slate); box-shadow: 0 5px 0 #c9b23a; }
.btn-secondary { box-shadow: none; }
.page-head .container, .tool .card-form, .result { position: relative; }
.page-head h1::after { content: ""; display: block; width: 120px; height: 10px; background: var(--yel); margin-top: 6px; transform: rotate(-1deg); }
.card-form { border-radius: 4px; border: 0; box-shadow: 0 14px 30px rgba(0,0,0,.12); background-image: repeating-linear-gradient(#fff 0 33px, #eef4ff 33px 34px); }
.card-form::before, .result::before { content: ""; position: absolute; left: 50%; top: -12px; width: 110px; height: 26px; margin-left: -55px; background: rgba(255,230,107,.8); transform: rotate(2deg); }
.result { border-radius: 4px; border: 0; box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.card-form input, .card-form select, .card-form textarea { font-family: var(--body); }
/* Home */
.hero15 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 20px 0 60px; }
.note { background: #fff; padding: 36px 34px 30px; box-shadow: 0 14px 30px rgba(0,0,0,.12); transform: rotate(-1.5deg); position: relative; background-image: repeating-linear-gradient(#fff 0 33px, #d9e8ff 33px 34px); background-position: 0 70px; }
.note::before { content: ""; position: absolute; left: 50%; top: -14px; width: 120px; height: 30px; margin-left: -60px; background: rgba(255,230,107,.75); transform: rotate(2deg); }
.note .btn { margin: 16px 10px 0 0; }
.pols { position: relative; height: 540px; }
.pol { position: absolute; background: #fff; padding: 12px 12px 44px; box-shadow: 0 12px 26px rgba(0,0,0,.18); width: 270px; transition: transform .25s; }
.pol:hover { transform: rotate(0) scale(1.04) !important; z-index: 5; }
.pol img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.pol span { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font: 700 22px/1 var(--hand); }
.pin { position: absolute; top: -12px; left: 50%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff8, transparent 40%), var(--c, var(--fr)); box-shadow: 0 3px 5px rgba(0,0,0,.3); }
.wage { position: absolute; right: 0; bottom: 10px; width: 230px; padding: 18px; background: var(--yel); transform: rotate(5deg); box-shadow: 0 10px 20px rgba(0,0,0,.15); font: 500 15px/1.3 var(--body); z-index: 4; }
.wage b { display: block; font: 700 40px/1 var(--fun); }
.sub { font: 700 26px/1.2 var(--hand); color: var(--muted); margin-bottom: 30px; }
.stickies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 40px; }
.st { display: block; text-decoration: none; padding: 24px 22px 26px; box-shadow: 0 12px 22px rgba(0,0,0,.12); transition: transform .2s; color: var(--slate); }
.st:nth-child(1) { background: var(--yel); transform: rotate(-2deg); } .st:nth-child(2) { background: #ffd0e2; transform: rotate(1.5deg); } .st:nth-child(3) { background: #cbe6ff; transform: rotate(-1deg); } .st:nth-child(4) { background: #c9f2dc; transform: rotate(2deg); }
.st:hover { transform: rotate(0) translateY(-6px); }
.st img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 6px solid #fff; margin-bottom: 14px; box-shadow: 0 3px 6px rgba(0,0,0,.15); }
.st h3 { font-size: 24px; margin-bottom: 6px; } .st p { font-size: 15px; }
.st .go { display: block; margin-top: 10px; font: 700 24px/1 var(--hand); color: var(--fr); }
.board { background: #c79a63; background-image: radial-gradient(#a87b47 1px, transparent 1.5px), radial-gradient(#d9b07c 1px, transparent 1.5px); background-size: 9px 9px, 13px 13px; border: 16px solid #8a5a2b; border-radius: 6px; padding: 40px; margin: 40px 0 60px; box-shadow: inset 0 0 30px rgba(0,0,0,.25); }
.board h2 { color: #fff; text-shadow: 0 2px 0 #5d3a17; }
.board-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 34px; align-items: center; }
.board .pol { position: relative; width: auto; transform: rotate(-2deg); }
.board .pol img { aspect-ratio: 4/3; }
.cardnote { background: #fff; padding: 26px; transform: rotate(1.5deg); box-shadow: 0 10px 20px rgba(0,0,0,.2); }
.cardnote p { font: 700 28px/1.15 var(--hand); margin-bottom: 10px; }
.cardnote li { margin-left: 1.2rem; }
.why3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 40px; }
.why3 div { background: #fff; padding: 24px; border-radius: 4px; box-shadow: 0 8px 18px rgba(0,0,0,.08); border-top: 10px solid var(--c); }
.why3 b { display: block; font: 700 22px var(--fun); margin-bottom: 6px; }
/* Email capture */
.notify { background: transparent; padding: 2rem 0 3rem; }
.notify-inner { background: #fff; padding: 36px; box-shadow: 0 14px 30px rgba(0,0,0,.1); transform: rotate(-.4deg); position: relative; }
.notify-inner::before { content: ""; position: absolute; left: 50%; top: -14px; width: 120px; height: 30px; margin-left: -60px; background: rgba(255,230,107,.8); transform: rotate(2deg); }
.notify h2 { color: var(--slate); }
.notify p { color: var(--slate-soft); }
.notify .soon { margin-top: .8rem; font-size: .92rem; background: #c9f2dc; padding: .6rem .8rem; border-radius: 8px; }
.notify-row { display: flex; gap: 10px; flex-wrap: wrap; }
.notify-row input { flex: 1 1 200px; font: 400 17px var(--body); padding: 14px; border: 3px dashed #9aa5ad; border-radius: 12px; min-width: 0; }
.notify .consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--slate); }
.notify .consent input { margin-top: .3rem; width: 18px; height: 18px; flex: none; }
.notify .privacy { font-size: .8rem; color: var(--muted); }
.footer { border-top: 0; text-align: center; color: var(--muted); }
@media (max-width: 900px) { .hero15, .board-grid { grid-template-columns: 1fr; } .pols { height: 460px; } .stickies { grid-template-columns: 1fr 1fr; } .why3 { grid-template-columns: 1fr; } .handle { display: none; } .board { padding: 20px; border-width: 10px; } }
@media (max-width: 560px) { .stickies { grid-template-columns: 1fr; } .pol { width: 190px; } .pols { height: 420px; } .wage { width: 190px; } .wage b { font-size: 32px; } .note { padding: 28px 20px 24px; } .notify-inner { padding: 24px 18px; transform: none; } .nav-inner { justify-content: center; } .mag { padding: 6px 10px; font-size: 14px !important; } }
@media print { .handle, .notify, .nav, .footer { display: none !important; } body { background: #fff; } .card-form::before, .result::before { display: none; } }
/* Task 913 phase 2a: contract editor - live document on the left, field panel on the right (bottom sheet on phones). */
.ced { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; padding-bottom: 40px; }
.ced.ro { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.cdoc { position: relative; line-height: 1.9; }
.cdoc h2 select.fi { font: inherit; }
.cdoc .fi { font: inherit; color: var(--slate); background: #fff9d6; border: 0; border-bottom: 2px solid #e2c94a; border-radius: 3px; padding: 0 4px; min-width: 3ch; max-width: 100%; }
.cdoc span.fi { display: inline; outline: none; cursor: text; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.cdoc span.fi:empty::before { content: attr(data-ph); color: #9aa5ad; font-style: italic; }
.cdoc input.fi[type=date] { width: 11.5em; } .cdoc input.fi[type=time] { width: 6.5em; }
.cdoc select.fi { width: auto; padding-right: 2px; }
.cdoc .fi:focus { background: #fff2a8; border-bottom-color: var(--fr); }
.cdoc .fi.need { background: var(--red-soft); border-bottom: 2px dashed var(--red); }
.cdoc .fi.hl { animation: hl 1.6s ease-out; }
@keyframes hl { 0%, 40% { box-shadow: 0 0 0 4px var(--blu); background: #dcecff; } 100% { box-shadow: 0 0 0 0 transparent; } }
.cdoc .fv { font-weight: 700; }
.cpanel { position: sticky; top: 16px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: #fff; border-radius: 6px; box-shadow: 0 14px 30px rgba(0,0,0,.12); overflow: hidden; z-index: 20; }
.cp-head { display: block; width: 100%; text-align: left; border: 0; background: var(--yel); padding: 14px 16px; font: inherit; cursor: default; }
.cp-prog b { font-family: var(--fun); font-size: 1.15rem; }
.cp-bar { display: block; height: 8px; background: rgba(0,0,0,.1); border-radius: 99px; margin: 6px 0; overflow: hidden; }
.cp-bar i { display: block; height: 100%; width: 0; background: var(--grn); transition: width .2s; }
.cp-req { display: block; font-size: .85rem; font-weight: 700; } .cp-req.bad { color: var(--red); } .cp-req.ok { color: var(--green); }
.cp-chev { display: none; }
.cp-body { overflow-y: auto; flex: 1; padding: 4px 16px 8px; }
.cp-list { list-style: none; }
.cp-list .cp-g { font-family: var(--fun); font-weight: 700; margin: 12px 0 4px; color: var(--fr); }
.cp-list li[data-pf] label { display: block; font-size: .82rem; font-weight: 700; padding: 5px 6px; border-radius: 6px; }
.cp-list li[data-pf] span { display: block; }
.cp-list li[data-pf] em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 6px; font-size: .75rem; }
.cp-list li.need em { color: var(--red); font-weight: 700; }
.cp-list li.need input { border-color: var(--red); }
.cp-list li.done span::after { content: " \2713"; color: var(--green); }
.cp-list li.on label { background: #fff6c2; }
.cp-list input, .cp-list select { width: 100%; padding: 6px 8px; font-size: .95rem; margin-top: 2px; }
.cp-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); }
.cp-actions .btn { padding: 9px 14px; font-size: .95rem; }
.cp-status { padding: 0 16px 14px; font-size: .88rem; }
.cp-status label, .share-out label, .cdlg label { display: block; font-weight: 700; margin: 8px 0; }
.cp-url { display: flex; gap: 6px; margin-top: 4px; } .cp-url input { flex: 1; min-width: 0; font-size: .8rem; padding: 6px; } .cp-url .btn { padding: 6px 10px; font-size: .85rem; }
.cdlg { border: 0; border-radius: 8px; padding: 26px; max-width: 520px; width: calc(100% - 24px); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.cdlg::backdrop { background: rgba(36,48,58,.55); }
.cdlg h2 { font-family: var(--fun); }
.cdlg input[type=email], .cdlg input[type=text] { display: block; width: 100%; margin-top: 4px; }
.cdlg .consent, .accept-form .consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: .9rem; margin: 10px 0; }
.cdlg .consent input, .accept-form .consent input { width: auto; margin-top: 4px; }
.cdlg .privacy { font-size: .8rem; color: var(--muted); }
.cdlg-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.btn-wa { background: #25d366; color: #fff; text-decoration: none; }
.accept-form label { display: block; font-weight: 700; margin: 10px 0; } .accept-form input:not([type=checkbox]) { display: block; width: 100%; max-width: 420px; margin-top: 4px; }
.acct { list-style: none; } .acct li { padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) {
  .ced { grid-template-columns: minmax(0, 1fr); padding-bottom: 180px; } /* clears the closed bottom sheet (~150px) */
  .ced.ro { padding-bottom: 40px; }
  .cp-list input, .cp-list select { font-size: 16px; } /* under 16px iOS zooms the page on focus */
  .cpanel { position: fixed; left: 0; right: 0; bottom: 0; top: auto; max-height: 72vh; border-radius: 16px 16px 0 0; box-shadow: 0 -10px 30px rgba(0,0,0,.2); }
  .cp-head { cursor: pointer; position: relative; padding: 10px 16px; }
  .cp-head::before { content: ""; position: absolute; top: 5px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(0,0,0,.25); }
  .cp-chev { display: block; position: absolute; right: 16px; top: 14px; transition: transform .2s; }
  .cpanel.open .cp-chev { transform: rotate(180deg); }
  .cpanel:not(.open) .cp-body, .cpanel:not(.open) .cp-status { display: none; }
  .cp-actions { padding: 8px 12px; } .cp-actions .btn { flex: 1 1 auto; padding: 9px 8px; white-space: nowrap; }
  .cdoc .fi { max-width: 100%; }
}
@media print { .cpanel, .cdlg { display: none !important; } .ced { display: block; } .cdoc .fi { background: none; border: 0; border-bottom: 1px solid #999; } .cdoc .fi.need { background: none; } .cdoc span.fi:empty::before { content: "____________"; color: #000; font-style: normal; } }

/* Task 921 phase A: free account - picker, labels, account page, record editor. */
.cp-actions .btn, .cdlg-btns .btn, .cp-url .btn { margin-top: 0; }
.picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; padding: 10px 14px; background: #fff; border-radius: 6px; box-shadow: 0 6px 16px rgba(0,0,0,.08); max-width: 640px; }
.picker label { font-family: var(--fun); font-weight: 700; }
.picker select { font: inherit; font-size: 16px; padding: 6px 8px; min-width: 0; max-width: 100%; flex: 1 1 200px; }
.picker .btn { padding: 6px 12px; }
.free-acct { font-weight: 700; color: var(--green); font-size: .9rem; margin: 6px 0; }
.acct-wrap { display: grid; gap: 28px; padding-bottom: 40px; }
.acct h3, .acct-wrap h3 { margin-top: 12px; }
.acct-links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; margin-top: 4px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.person-form { max-width: 640px; }
@media (max-width: 560px) {
  .ced .cdoc { padding: 1rem; }
  .cdlg { padding: 18px; }
}
/* Task 921 phase B: saved PDFs + signed copies. */
.docs li { margin-bottom: 10px; }
.docs .ver { font-size: .8rem; font-weight: 700; background: #fff2a8; border-radius: 3px; padding: 0 5px; }
.docs .signed { margin-top: 4px; font-size: .9rem; }
.docs .ok-tag { font-weight: 700; color: var(--green); margin-right: 8px; }
.docs .upload { display: flex; flex-wrap: wrap; align-items: end; gap: 6px 10px; margin-top: 4px; }
.docs .upload .btn, .savepdf .btn { margin-top: 0; padding: 6px 12px; }
.savepdf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 14px; }
.inline-form { display: inline; }
/* Task 921 phase C: monthly TODO list. Waiting grey, Late red, Done struck through. */
.todo { list-style: none; padding: 0; margin: 6px 0 14px; }
.todo li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.todo-ico { flex: 0 0 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; background: #fff2a8; }
.todo-main { flex: 1 1 auto; min-width: 0; }
.todo-label { font-weight: 700; }
.todo-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; margin-top: 2px; }
.todo-help { display: block; margin-top: 4px; color: var(--slate-soft); }
.todo-waiting { opacity: .55; } .todo-waiting .todo-ico { background: #e4e4e4; }
.todo-late .todo-ico { background: var(--red); color: #fff; } .todo-late .todo-label, .todo-late .todo-late { color: var(--red); font-weight: 700; }
.todo-done .todo-ico { background: var(--green-soft); color: var(--green); } .todo-done .todo-label { text-decoration: line-through; color: var(--muted); font-weight: 400; }
.todo-tag { font-weight: 700; color: var(--green); }
.todo-tick { font-weight: 700; }
