.workspace { display:grid; grid-template-columns:minmax(0,1.22fr) minmax(0,.88fr); gap:26px; align-items:start; }
.planner-form { padding:clamp(20px,3vw,38px); }
.planner-form h2,.plan-card h2 { font-size:clamp(28px,3.1vw,38px); }
#test-picker { display:grid; gap:17px; margin:22px 0; }
.test-group { border:0; padding:0; margin:0; min-width:0; }
.test-group legend { font-weight:bold; font-size:13px; margin-bottom:7px; padding:0; }
.choices { display:flex; flex-wrap:wrap; gap:7px; }
.choice { display:inline-flex; align-items:center; gap:8px; cursor:pointer; padding:8px 12px; min-height:40px; border:1px solid #c8cebd; border-radius:7px; background:#fbfbf7; font-weight:normal; font-size:14px; }
.choice:has(:checked) { background:#e7eddf; border-color:#647654; }
.choice input { accent-color:#3b523e; width:16px; height:16px; margin:0; }
.context,.sub-field { margin-top:16px; }
.planner-form select,.planner-form input:not([type=checkbox]),.plan-body input[type=date] { padding:10px 11px; border:1px solid #b4c0ad; background:#fffefa; color:#28392d; font:16px/1.3 Arial,sans-serif; border-radius:6px; min-height:44px; max-width:100%; width:100%; min-width:0; }
.planner-form label:not(.choice),.order-line>strong,.event label { font-size:14px; display:block; margin-bottom:5px; }
.context input[type=date],.context input[type=number] { max-width:240px; }
.hint,.event p,.explanation,.pending p { font:14px/1.55 var(--sans); color:#526153; }
.hint { margin:6px 0; }
#orders,.notes details { border:1px solid #cfd6c6; border-radius:7px; padding:13px 16px; background:#f7f8f2; }
summary { font-size:15px; font-weight:600; }
summary small { font:12px var(--sans); color:#5b6656; margin-left:5px; }
.order-line { padding:12px 0; border-bottom:1px solid #d5dccc; }
.order-line:last-child { border:0; }
.custom-fields { display:flex; gap:12px; margin-top:8px; flex-wrap:wrap; }
.custom-fields label { flex:1; min-width:90px; }
#form-details { margin-bottom:24px; }
.form-error { color:#8c3a28; margin-bottom:14px; }
.plan-card { min-width:0; border:1px solid #bac6b0; border-radius:15px; overflow:hidden; background:#f4f6ee; }
.plan-top { padding:clamp(20px,3vw,35px); background:#334c3c; color:#fffdf3; }
.plan-eyebrow { text-transform:uppercase; font-size:10px; letter-spacing:1.8px; color:#dbe5d3; margin-bottom:7px; }
.month-header { display:flex; align-items:center; justify-content:space-between; gap:6px; margin:22px 0 10px; border-top:1px solid #657865; padding-top:13px; }
.month-header strong { font:normal 23px var(--serif); }
.month-header strong::first-letter { text-transform:uppercase; }
.month-header button { background:none; border:1px solid #789078; border-radius:50%; color:#f3f6ed; width:34px; height:34px; margin-left:6px; line-height:1; font-size:21px; }
.month-grid { display:grid; grid-template-columns:repeat(7,1fr); text-align:center; row-gap:3px; }
.month-grid span { width:30px; height:30px; line-height:30px; justify-self:center; font-size:14px; }
.month-grid .weekday { color:#cedeCA; font-size:11px; font-weight:bold; }
.month-grid .marked { border-radius:50%; background:#dce8be; color:#203425; font-weight:700; }
.month-grid .today { box-shadow:inset 0 0 0 1px #b7c7aa; border-radius:50%; }
.month-legend { margin-top:13px; display:flex; align-items:center; gap:7px; font-size:12px; color:#e2eadc; }
.month-legend span { background:#dce8be; border-radius:50%; width:9px; height:9px; }
.plan-body { padding:clamp(18px,2.5vw,30px); }
#empty { color:#586557; font-size:15px; }
.event+.event,.pending,.next-links { border-top:1px solid #c5cebb; margin-top:22px; padding-top:18px; }
.plan-body h3 { font:normal 25px/1.16 var(--serif); letter-spacing:-.5px; }
.event .test-names { color:#2c4633; font-weight:600; margin:6px 0; }
.event-explain { margin:10px 0 12px; }
.event dt { font-size:13px; font-weight:bold; }
.event dd { margin:2px 0 9px; }
.event label { font-weight:bold; margin-top:12px; }
.event input[type=date] { max-width:220px; display:block; margin:5px 0 10px; }
.save { border:1px solid #455a43; border-radius:5px; padding:9px 13px; font-size:14px; background:#fffefa; color:#314735; min-height:42px; }
.notice { margin-top:7px; color:#425540; font-size:13px; }
.pending p { margin-top:9px; }
.next-links { display:flex; flex-wrap:wrap; gap:8px 22px; }
.next-links a { font-size:14px; color:#334b37; }
.notes { margin:24px 0 45px; display:grid; gap:8px; }
.notes details { background:transparent; }
.notes p,.notes ul { font-size:15px; color:#505f4e; margin:12px 0 0; max-width:84ch; }
.notes ul { padding-left:20px; }
.notes li+li { margin-top:7px; }
.site-footer { border-top:1px solid #d2d8c9; padding:20px 0; }
.footer-links { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
@media(max-width:780px) {
  .workspace { grid-template-columns:1fr; gap:18px; }
  .hero { padding:25px 0; }
  .month-grid { max-width:420px; margin:auto; }
}
@media(max-width:480px) {
  .hero img { max-height:145px; }
  .choices { gap:6px; }
  .choice { padding:8px 10px; }
  .topin nav a:last-child { display:none; }
  .plan-body { padding:18px; }
}
