:root{--navy:#082a57;--green:#064f3b;--green2:#0a684c;--gold:#b98516;--cream:#fbf8ef;--paper:#fff;--ink:#17202b;--muted:#68736e;--line:#e6dfd1;--soft:#f4f7f4;--red:#a33a32}
*{box-sizing:border-box}body{margin:0;background:#f5f7f5;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.page{max-width:1180px;margin:auto;padding:0 18px 100px}.hero{position:relative;margin:0 -18px 20px;padding:27px 22px 23px;text-align:center;background:linear-gradient(135deg,#064f3b,#082a57);color:#fff;border-bottom:4px solid var(--gold)}.phase-pill{position:absolute;right:18px;top:14px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.12);padding:6px 9px;border-radius:999px;font-size:10px;letter-spacing:.12em;font-weight:900}.veritas-mark{font-family:Georgia,"Times New Roman",serif;font-size:clamp(30px,6vw,54px);letter-spacing:.08em;font-weight:800}.veritas-mark span{display:block;font-size:.33em;letter-spacing:.16em;color:#edc766;margin-top:3px}.tagline{font-size:11px;letter-spacing:.16em;margin:14px 0 10px;color:#f5e8bf}.cafe-subbrand{display:inline-flex;gap:10px;align-items:baseline;background:rgba(255,255,255,.95);color:var(--navy);padding:8px 16px;border-radius:999px;font-family:Georgia,serif;font-style:italic;font-size:18px}.cafe-subbrand small{font-family:Inter,sans-serif;font-style:normal;text-transform:uppercase;letter-spacing:.1em;font-size:9px;color:var(--gold);font-weight:800}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;margin:14px 0;box-shadow:0 7px 24px rgba(16,54,45,.05)}.compact-card{padding:17px 20px}.section-head,.week-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center}.section-kicker{font-size:10px;letter-spacing:.14em;color:var(--gold);font-weight:900}h2{margin:2px 0 5px;color:var(--navy)}h3{margin:2px 0;color:var(--green)}.parent-grid,.student-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.student-grid{grid-template-columns:2fr 1fr 2fr 2fr}label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:800}input,select{padding:10px 11px;border:1px solid #d9d3c8;border-radius:10px;font:inherit;background:#fff}.muted{color:var(--muted);font-size:12px}.large-muted{font-size:14px;line-height:1.5}.outline,.primary,.week-arrow,.week-nav-btn,.period-tab{border:0;border-radius:11px;padding:10px 14px;font-weight:850;cursor:pointer}.outline{background:#eef3ef;color:var(--green)}.primary{background:var(--green);color:white;font-size:15px}.wide{width:100%;margin-top:14px}.student-row{padding:12px 0;border-top:1px solid var(--line)}.student-row:first-child{border-top:0}.student-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;color:var(--green);font-weight:900}.text-btn{border:0;background:none;color:var(--red);font-weight:750;cursor:pointer}.menu-card{padding:0;overflow:hidden}.week-toolbar{padding:19px 20px 13px;background:#fbfcfb;border-bottom:1px solid var(--line)}.week-title-wrap{text-align:center;flex:1}.week-arrow{background:#e9f0eb;color:var(--green);font-size:21px;width:46px;height:46px}.period-tabs{display:flex;gap:8px;padding:12px 20px;border-bottom:1px solid var(--line)}.period-tab{background:#f0f3f1;color:var(--green)}.period-tab.active{background:var(--green);color:#fff}.status-line{padding:12px 20px 0}.weekly-menu{padding:0 20px 20px}.student-menu{padding:18px 0 4px;border-top:1px solid var(--line)}.student-menu:first-child{border-top:0}.student-menu-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.grade-chip,.closed-pill{background:#eef4ef;color:var(--green);border-radius:999px;padding:6px 9px;font-size:11px;font-weight:850}.closed-pill{background:#f8e9e7;color:var(--red)}.day-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.day-card{border:1px solid var(--line);border-radius:14px;padding:11px;background:#fff;min-width:0}.day-card.closed{background:#fbf8f7}.day-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:7px;font-size:12px;color:var(--green);margin-bottom:9px}.meal-choices{display:grid;gap:7px}.meal-choice{display:block;width:100%;text-align:left;border:1px solid #ddd8cd;background:#fff;border-radius:11px;padding:9px;cursor:pointer;color:var(--ink)}.meal-choice:hover{border-color:#aebdaf}.meal-choice.selected{border:2px solid var(--green);background:#f0f6f2}.meal-choice:disabled{opacity:.55;cursor:not-allowed}.meal-top{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:5px}.slot-badge{font-size:9px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;color:var(--gold)}.slot-light{color:#4d7c67}.meal-price{font-size:11px;font-weight:900;color:var(--green)}.meal-choice strong{display:block;font-size:13px;line-height:1.25}.meal-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:10px;color:var(--muted);line-height:1.35;margin-top:4px}.choice-summary{display:block;margin-top:6px;padding-top:6px;border-top:1px dashed #d6d2c7;font-size:10px;color:var(--green);font-weight:750}.edit-options{display:block;margin-top:5px;font-size:10px;text-decoration:underline;color:var(--navy);font-weight:800}.no-lunch{background:#fafafa;color:var(--muted)}.no-lunch span{display:block;font-size:10px;margin-top:2px}.empty-day{min-height:100px;display:flex;align-items:center;color:var(--muted);font-size:11px;line-height:1.4}.sticky-summary{position:sticky;bottom:10px;background:var(--green);color:#fff;padding:14px 18px;border-radius:16px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 8px 30px rgba(0,55,40,.22);z-index:10}.sticky-summary .section-kicker{color:#f5d884}.sticky-summary .primary{background:#fff;color:var(--green)}.summary-count{font-size:11px;opacity:.9}.total{font-size:24px;font-weight:950}.message{text-align:center;color:var(--red);font-weight:750;padding:8px}dialog{border:0;border-radius:20px;padding:0;max-width:560px;width:calc(100% - 26px);box-shadow:0 30px 80px rgba(0,0,0,.24)}dialog::backdrop{background:rgba(4,24,27,.55)}.dialog-x{position:absolute;right:13px;top:8px;background:transparent;border:0;font-size:30px;cursor:pointer;color:var(--navy);z-index:2}.meal-detail{padding:27px}.meal-detail h3{font-size:26px;margin:9px 0 5px}.price{font-size:20px;color:var(--green);font-weight:900}.meal-type-badge{display:inline-block;padding:6px 9px;border-radius:999px;background:#eef4ec;color:var(--green);font-size:11px;font-weight:850}.option-group{margin:17px 0}.option-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.option-head span{font-size:10px;color:var(--muted);text-transform:uppercase;font-weight:850}.option-list{display:grid;gap:7px}.option-btn{border:1px solid #d9d3c8;border-radius:11px;background:#fff;padding:11px;display:flex;justify-content:space-between;text-align:left;cursor:pointer}.option-btn.selected{border:2px solid var(--green);background:#f0f6f2;color:var(--green);font-weight:850}.review-list{margin-top:13px}.review-row{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid var(--line)}.review-row div{display:grid;gap:2px}.review-row span,.review-row small{font-size:11px;color:var(--muted)}.review-total{display:flex;justify-content:space-between;font-size:18px;padding:15px 0;color:var(--green)}
@media(max-width:900px){.day-grid{grid-template-columns:1fr}.day-card{padding:13px}.empty-day{min-height:auto;padding:14px 0}.parent-grid,.student-grid{grid-template-columns:1fr 1fr}.weekly-menu{padding:0 13px 16px}.period-tabs,.status-line{padding-left:13px;padding-right:13px}}
@media(max-width:620px){.page{padding-left:10px;padding-right:10px}.hero{margin-left:-10px;margin-right:-10px}.phase-pill{position:static;display:inline-block;margin-bottom:9px}.parent-grid,.student-grid{grid-template-columns:1fr}.card{border-radius:14px}.compact-card{padding:14px}.week-toolbar{padding:14px 10px}.week-title-wrap h2{font-size:18px}.week-arrow{width:40px;height:40px;padding:6px}.sticky-summary{border-radius:0;margin:0 -10px;bottom:0}.meal-detail{padding:24px 19px}}

/* Phase 2 Parent Portal Build 1.1 — single-meal radio-card selection */
.meal-choice{position:relative}
.radio-line{display:flex;align-items:center;gap:6px;margin-bottom:6px;font-size:9px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.radio-dot{width:14px;height:14px;border:2px solid #aeb8b0;border-radius:50%;display:inline-block;position:relative;flex:0 0 14px;background:#fff}
.meal-choice.selected .radio-line{color:var(--green)}
.meal-choice.selected .radio-dot{border-color:var(--green)}
.meal-choice.selected .radio-dot:after{content:"";position:absolute;width:6px;height:6px;border-radius:50%;background:var(--green);left:2px;top:2px}
.meal-choice.selected{box-shadow:0 0 0 1px var(--green) inset}


/* Phase 2 Parent Portal Build 1.2 — Square meal imagery */
.meal-thumb{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;margin:2px 0 8px;background:#f1f2ef}
.meal-detail-image{display:block;width:100%;max-height:240px;object-fit:cover;border-radius:14px;margin:5px 0 14px;background:#f1f2ef}
@media(max-width:900px){.meal-thumb{aspect-ratio:3/1;max-height:150px}}

/* Phase 2 Build 2: multi-week review + sandbox checkout */
.review-week{border:1px solid #e8dfcf;border-radius:14px;padding:10px 12px;margin:10px 0;background:#fff}
.review-week-title{font-weight:800;color:#07543f;margin-bottom:6px}
.tiny-note{font-size:.88rem;line-height:1.4;margin-top:10px}
.primary:disabled{opacity:.65;cursor:wait}

/* Phase 2 consolidated parent refinements */
.week-nav-btn{border:0;background:transparent;color:var(--green);cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:130px;font-weight:850;padding:4px 0}
.week-nav-btn.next{align-items:flex-end;text-align:right;min-width:190px}
.week-nav-label{font-size:11px;line-height:1.2}
.week-nav-arrow{display:grid;place-items:center;width:46px;height:46px;border-radius:11px;background:#e9f0eb;font-size:21px}
.parent-help{text-align:center;margin:22px auto 0;padding:18px;color:var(--muted);font-size:12px;line-height:1.7}
.parent-help strong{display:block;color:var(--green);font-size:14px}
.parent-help span{display:block}.parent-help div{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap}.parent-help div span{display:inline}.parent-help a{color:var(--navy);font-weight:800;text-decoration:none}.parent-help a:hover{text-decoration:underline}
@media(max-width:620px){.week-nav-btn{min-width:82px}.week-nav-btn.next{min-width:112px}.week-nav-label{font-size:9px;max-width:112px}.week-nav-arrow{width:40px;height:40px}.help-dot{display:none!important}.parent-help div{flex-direction:column;gap:0}}


/* Group multiple meal choices under one meal-type heading */
.slot-group{display:grid;gap:6px}.slot-group+.slot-group{margin-top:4px}.slot-group-title{font-size:10px;font-weight:950;letter-spacing:.09em;text-transform:uppercase;color:var(--gold);padding:2px 2px 0}.slot-group-light .slot-group-title{color:#4d7c67}.breakfast-group .slot-group-title{color:var(--green)}.slot-meals{display:grid;gap:7px}.slot-group .meal-top{justify-content:flex-end;margin-bottom:3px}
