#youth-almanac {
  --y-green: #274939;
  --y-line: #c9c7b3;
  --y-soft: #f0efdf;
  --y-muted: #555e4f;
}
#youth-almanac h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 600; color: var(--y-green); font-size: clamp(1.42rem,2.6vw,1.9rem); line-height:1.15; margin: 0 0 .6rem; }
#youth-almanac .kicker { margin: 0 0 .45rem; }
.y-intro { margin-bottom: 1.3rem; }
.y-choices { display:grid; gap:1rem; grid-template-columns: .85fr 1.4fr .9fr; margin:1rem 0 1.3rem; padding:1rem 1.2rem; border-block:1px solid var(--y-line); background:var(--y-soft); }
.y-choices label { min-width:0; display:grid; gap:.35rem; font-weight:650; font-size:.92rem; color:#263e31; }
.y-choices select { min-width:0; width:100%; min-height:2.65rem; border:1px solid #999e89; border-radius:3px; padding:.48rem 2.3rem .48rem .7rem; color:#263e31; font:inherit; font-weight:500; background-color:#fffdf4; appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23435141' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath stroke-width='1.7' d='m2 3 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center; }
.y-notebook { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); align-items:start; gap:1rem; }
#youth-almanac .panel { border:1px solid var(--y-line); padding:clamp(1rem,2vw,1.5rem); background:#fbf8ed; }
.y-panel-head { display:flex; gap:1rem; align-items:center; justify-content:space-between; }
.y-panel-head .y-print { cursor:pointer; white-space:nowrap; border:1px solid var(--y-green); background:transparent; color:var(--y-green); padding:.45rem .7rem; border-radius:3px; font:inherit;font-size:.88rem; font-weight:650; }
.y-panel-head .y-print:hover { background:var(--y-soft); }
.y-progress { display:flex; align-items:center; gap:.7rem; margin:.45rem 0 1rem; color:var(--y-green); font-size:.82rem; font-weight:700; }
.y-progress progress { flex:1; width:100%; height:.42rem; appearance:none; border:0; border-radius:2px; overflow:hidden; background:#dfe2cf; }
.y-progress progress::-webkit-progress-bar { background:#dfe2cf; }
.y-progress progress::-webkit-progress-value { background:var(--y-green); }
.y-progress progress::-moz-progress-bar { background:var(--y-green); }
.y-progress span { white-space:nowrap; }
.y-tasks { border-top:1px solid var(--y-line); }
.y-task { display:flex; gap:.75rem; align-items:flex-start; padding:.82rem 0; line-height:1.4; color:#303d31; cursor:pointer; }
.y-task + .y-task { border-top:1px solid #dddece; }
.y-task input { flex:0 0 auto; accent-color:var(--y-green); width:1.08rem; height:1.08rem; margin:.15rem 0 0; }
.y-task input:checked + span { text-decoration:line-through; color:#606955; }
.y-aside { display:grid; gap:1rem; }
#youth-almanac .y-help { color:var(--y-muted); font-size:.9rem; line-height:1.45; margin:.3rem 0 .8rem; }
.y-costs { display:grid; gap:.48rem; }
.y-cost { display:flex; gap:.75rem; align-items:center; justify-content:space-between; min-width:0; font-size:.95rem; }
.y-money { display:flex; align-items:center; padding:0 .35rem 0 .55rem; border:1px solid var(--y-line); border-radius:3px; background:#fffdf5; flex:0 0 6.2rem; min-width:0; }
.y-money i { font-style:normal; font-size:.9rem; color:#55604e; }
.y-money input { width:100%; min-width:0; border:0; background:none; padding:.4rem .15rem; text-align:right; font:inherit; color:#29372c; border-radius:2px; }
.y-total { display:flex; align-items:center; justify-content:space-between; color:var(--y-green); margin-top:.85rem; padding-top:.7rem; border-top:1px solid var(--y-line); font-weight:650; }
.y-notes textarea { box-sizing:border-box; width:100%; max-width:100%; padding:.6rem .7rem; min-height:4.5rem; font:inherit; font-size:1rem; color:#29372c; border:1px solid var(--y-line); border-radius:3px; background:#fffdf5; resize:vertical; }
#youth-almanac .y-notes .y-help { margin:.35rem 0 0; }
#youth-almanac .y-fair { display:grid; grid-template-columns:1.7fr 1fr; align-items:center; gap:2rem; margin:1rem 0 1.5rem; background:var(--y-soft); }
.y-fair p { margin:.4rem 0 0; line-height:1.5; }
.y-fair-links { display:grid; gap:.45rem; border-left:1px solid var(--y-line); padding-left:1.4rem; }
.y-fair-links a { color:var(--y-green); font-size:.94rem; font-weight:650; text-decoration:underline; text-underline-offset:3px; }
.y-resource-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; margin:.8rem 0 1.3rem; }
.y-link { display:block; padding:1rem; border:1px solid var(--y-line); color:var(--y-green); text-decoration:none; }
.y-link:hover, .y-link:focus-visible { background:var(--y-soft); }
.y-link strong { display:block; line-height:1.3; text-decoration:underline; text-underline-offset:3px; }
.y-link span { display:block; margin-top:.4rem; color:var(--y-muted); font-size:.92rem; line-height:1.45; }
.y-print-sheet { display:none; }
@media(max-width:720px) {
  .y-notebook { grid-template-columns:1fr; }
  #youth-almanac .y-fair { grid-template-columns:1fr; gap:.8rem; }
  .y-fair-links { border-left:0; border-top:1px solid var(--y-line); padding:.8rem 0 0; }
  .y-resource-grid { grid-template-columns:1fr; }
}
@media(max-width:540px) {
  .y-choices { grid-template-columns:1fr 1fr; gap:.65rem; padding:.75rem; }
  .y-choices label:nth-child(2) { grid-column:1 / -1; grid-row:2; }
}
@media print {
  body.y-printing > * { display:none !important; }
  body.y-printing > .y-print-sheet { display:block !important; box-sizing:border-box; width:100%; margin:0; padding:0; color:#17281a; background:white; font:11pt/1.45 Georgia,serif; }
  .y-print-sheet h1 { font-size:23pt; line-height:1.1; margin:.35em 0; }
  .y-print-sheet h2 { font-size:14pt; margin:1em 0 .3em; }
  .y-print-sheet li { list-style:none; padding:.16rem 0; }
  .y-print-sheet ul { padding:0; margin:0; }
  .y-print-sheet dl { max-width:30rem; }
  .y-print-sheet dl div { display:flex; justify-content:space-between; gap:1rem; border-bottom:1px solid #bbbfaf; padding:.2rem 0; }
  .y-print-sheet .printed-notes { white-space:pre-wrap; overflow-wrap:anywhere; }
}
