/* A measured interval on the Thursday/Sunday example. The live Lisbon calendar keeps its own dates. */
.food-arrival { background:#e0e7da; }
.v13-span { width:min(100%,27rem); padding:.6rem .25rem .35rem; margin:1rem 0 0; color:#355851; }
.v13-span-labels,.v13-span figcaption { display:flex; justify-content:space-between; gap:.35rem; }
.v13-span-labels { font:600 clamp(.7rem,1.15vw,.86rem)/1.2 Manrope,Arial,sans-serif; }
.v13-span-labels span:first-child,.v13-span figcaption span:first-child { color:#8a402d; }
.v13-span-rule { display:block; width:100%; height:1.65rem; }
.v13-span .v13-red-line { stroke:#974932; }
.v13-span figcaption { font:italic clamp(.8rem,1.1vw,.96rem)/1.25 Georgia,serif; }
.food-calendar { background:#fff9e8; border:1px solid #a9ae99; border-top:3px double #698278; box-shadow:3px 4px 0 #c2cab7; }
.food-calendar-key { border-top:1px dashed #9ba898; }
.food-calendar-line { stroke:#984530; }
.food-calendar-day.order-day > span { color:#863e2c; border-color:#984530; }
.food-arrival .food-arrival-example { border-left:2px solid #974932; }
.food-arrival .food-arrival-note { color:#45564d; }

/* Four everyday starting points enter the same comparison. Each row begins at an ink waymark. */
.v13-fit-head { display:flex; align-items:end; justify-content:space-between; gap:2rem; border-bottom:3px double #90a093; margin-bottom:.2rem; padding-bottom:clamp(1.1rem,3vw,2.1rem); }
.v13-fit-head h2 { margin:0; }
.v13-fit-lines { width:clamp(8rem,18vw,14rem); height:auto; flex:none; }
.fit-guide__rows { border-top:0; }
.fit-guide__row { position:relative; }
.fit-guide__difference { border-color:#799285; }
.fit-guide__difference strong { color:#8a402d; }
.fit-guide__today h3 { text-wrap:pretty; }

/* Pencil brackets annotate differences from the example plan. Thirty marks track the chosen order mix. */
.restaurant-orders .portion-correction { display:block; margin-top:.14em; }
.portion-correction s { display:inline-block; font-size:.72em; color:#526059; text-decoration-color:#9b4630; text-decoration-thickness:.065em; }
.restaurant-orders .portion-correction em { display:inline-block; color:#84402e; }
.restaurant-orders .order-fit { background:#f5e5d5; border:1px solid #ba9b85; border-left:0; color:#452f2c; }
.order-fit h4 .v13-proof-bracket { width:.55rem; height:1.5rem; border:solid #91432e; border-width:1.5px 0 1.5px 2px; transform:rotate(3deg); align-self:start; }
.order-fit h4 { grid-template-columns:.65rem 1fr; }
.restaurant-orders .order-fit p { padding-left:1.1rem; }
.restaurant-orders .month-simulation { color:#f8f2dd; background:#1e4347; border-top:3px double #aebcaf; }
.month-simulation h3 em,.month-simulation .month-scope { color:#f1e4c1; }
.month-simulation .month-grid > div { border-top-color:#8da49a; }
.v13-month-plot { margin:.9rem 0 .75rem; }
.v13-month-track { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.55rem,1.8vw,1.4rem); align-items:center; }
.v13-mark-row { position:relative; isolation:isolate; display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); align-items:center; min-width:0; height:1.25rem; }
.v13-mark-row:before { content:""; position:absolute; top:50%; inset-inline:.1rem; border-top:1px dotted #aebdb0; z-index:-1; }
.v13-mark-row i,.v13-month-plot figcaption span:before { display:inline-block; width:.52rem; height:.52rem; clip-path:var(--mark-shape); background:var(--mark-fill); }
.v13-mark-row i { justify-self:center; }
.month-simulation { --toast-shape:circle(48%); --bread-shape:polygon(50% 0,100% 100%,0 100%); --ramen-shape:polygon(50% 0,100% 50%,50% 100%,0 50%); --toast-fill:#ece4b9; --bread-fill:#e3a88d; --ramen-fill:#b5cbbb; }
.v13-mark-toast,.v13-key-toast { --mark-shape:var(--toast-shape); --mark-fill:var(--toast-fill); }
.v13-mark-shakshuka,.v13-key-shakshuka { --mark-shape:var(--bread-shape); --mark-fill:var(--bread-fill); }
.v13-mark-ramen,.v13-key-ramen { --mark-shape:var(--ramen-shape); --mark-fill:var(--ramen-fill); }
.month-simulation:has(#month-menu option[value="toast"]:checked) .v13-mark-row { --mark-shape:var(--toast-shape); --mark-fill:var(--toast-fill); }
.month-simulation:has(#month-menu option[value="shakshuka"]:checked) .v13-mark-row { --mark-shape:var(--bread-shape); --mark-fill:var(--bread-fill); }
.month-simulation:has(#month-menu option[value="ramen"]:checked) .v13-mark-row { --mark-shape:var(--ramen-shape); --mark-fill:var(--ramen-fill); }
.v13-month-plot figcaption { display:flex; flex-wrap:wrap; align-items:center; gap:.25rem 1rem; color:#ececdf; font:550 .8rem/1.3 Manrope,Arial,sans-serif; }
.v13-month-plot figcaption span:before { content:""; margin-right:.35rem; }

/* The working plan has two printed columns, each signed by its author. */
.personal-nutrition .plan-sheet { border:1px solid #b5b8a0; border-radius:0; background:#fffae9; box-shadow:3px 4px 0 #15393b; }
.plan-table .v13-plan-seal { display:block; width:clamp(3.5rem,6.9vw,5.5rem); height:auto; margin-bottom:.3rem; }
.plan-table thead th { vertical-align:bottom; border-bottom:3px double #8a9c89; color:#37554d; }
.plan-table thead th:first-child,.plan-table tbody th { border-right:1px dashed #a3ae99; }
.plan-table thead th+th,.plan-table td { padding-left:.75rem; }
.plan-table tbody th::after { border-color:#98533b; }
.plan-guidance { border-top:1px solid #8c9b89; }

/* An open file tab marks the pending clinic arrangement without implying a confirmed partnership. */
.directory-intro > .v13-clinic-note { position:relative; align-self:end; padding:.95rem 1rem .85rem 1.05rem; margin:0; border:1px solid #aab29c; border-left:3px solid #8d4831; background:#fbf4df; color:#364a42; }
.v13-clinic-note:before { content:""; position:absolute; top:-.36rem; left:1rem; width:2.15rem; height:.35rem; border:1px solid #aab29c; border-bottom:0; background:#f3e4c8; }

/* The last three headings repeat the drawings at the consultation, galley and plotting table. */
.founder-roles > section { border-top:2px solid #74897c; }
.founder-roles h3 { align-items:center; padding:.35rem 0 .6rem; border-bottom:1px dashed #a3ae99; }
.founder-roles .v13-role-tool { flex:0 0 auto; width:clamp(3.7rem,6.2vw,5.6rem); height:auto; }
.founder-roles dt { color:#274a47; }
@media(max-width:48rem) {
  .v13-fit-head { align-items:center; gap:1.25rem; }.v13-fit-lines { width:5rem; }
  .v13-span { margin-top:.75rem; }
  .v13-mark-row i { width:.38rem; height:.38rem; }
  .v13-month-track { gap:.35rem; }
  .founder-roles .v13-role-tool { width:4.2rem; }
}
@media(max-width:27rem) {
  .v13-fit-head { display:block; padding-bottom:.8rem; }
  .v13-fit-lines { display:block; margin-top:.55rem; width:5.25rem; }
  .v13-span-labels { font-size:.74rem; }
  .v13-month-plot figcaption { gap:.15rem .6rem; font-size:.73rem; }
  .plan-table thead th+th,.plan-table td { padding-left:.5rem; }
}
@media(max-width:23.25rem) {
  .month-simulation .month-grid { grid-template-columns:minmax(0,1fr); gap:0; }
  .month-simulation .month-grid > div { display:grid; grid-template-columns:3.25rem minmax(0,1fr); gap:.6rem; align-items:baseline; padding:.4rem 0; }
  .month-simulation .month-grid strong { font-size:1.45rem; }
  .month-simulation .month-grid small { margin-top:.1rem; }
}
