/* Delta CSS — approved Sleeve layout assets and baseline preserved. */
:root{--max:1240px}html{scroll-padding-top:20px}
#appContent{min-height:400px}.nav-home{color:#287972!important;background:#ecf8f5;border-radius:10px}.nav-home:hover{background:#d9f0ea!important}
.kicker-sub{font-size:var(--w-text-small);color:#5b7780}.stage-context{padding:16px 19px;border-radius:14px;background:#f8fcfb;border:1px solid #dcebe9;color:#456773;line-height:2;font-size:var(--w-text-small);margin-top:16px}
.phase-intro{border:1px solid #d8e9e7;background:#f4faf8;border-radius:13px;padding:13px 16px;color:#496f73;font-size:var(--w-text-small);line-height:2;margin-top:16px}
.mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.food-card{border:1px solid #e0edeb;border-radius:14px;background:#fcfefd;min-width:0;padding:15px 16px;display:flex;gap:13px;align-items:flex-start}.food-card .food-ico{display:grid;place-items:center;color:#168b82;background:#e6f7f3;border-radius:12px;width:42px;height:42px;flex-shrink:0}.food-card b{font-size:var(--w-text-small);color:#204e59}.food-card p{color:#526b73;font-size:var(--w-text-body);line-height:1.9;margin:3px 0 0}
.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:12px;margin-bottom:20px}.visual-photo{border-radius:16px;min-width:0;position:relative;overflow:hidden;isolation:isolate;border:1px solid #deebeb;background:#e8f5f3}.visual-photo img{display:block;width:100%;height:220px;object-fit:cover}.visual-photo:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(10,34,34,.78));pointer-events:none}.visual-photo .photo-label{position:absolute;z-index:1;bottom:13px;right:14px;left:12px;color:#fff;text-shadow:0 2px 4px #1236;line-height:1.6;font-weight:var(--w-weight-bold);font-size:var(--w-text-control)}.photo-label small{font-weight:var(--w-weight-medium);display:block;font-size:var(--w-text-control);opacity:.92}.photo-note{color:#806044;background:#fff8eb;border:1px solid #f0e0c4;border-radius:10px;padding:9px 12px;font-size:var(--w-text-small);line-height:1.9;margin:0 0 16px}
.callout{padding:14px 16px;border-radius:13px;background:#f1faf8;border:1px solid #d2ebe6;color:#2f6c68;font-size:var(--w-text-small);line-height:1.95;margin-top:15px}.warn-list{margin:0;padding:0 19px 0 0;color:#745652;font-size:var(--w-text-small);line-height:2.05}.warn-list li{margin-bottom:6px}.sample-text{font-size:var(--w-text-small);color:#5c7b82;margin:7px 0 15px;line-height:1.95}.sample-row{padding:11px 12px;background:#f9fcfb;border:1px solid #e0eded;border-radius:12px;display:flex;gap:10px;align-items:center;min-width:0;cursor:pointer;text-align:right}.sample-row:hover{border-color:#8fcfc7;background:#f0faf8}.sample-row .time{font-size:var(--w-text-small);color:#138a82;font-weight:var(--w-weight-bold);min-width:47px;white-space:nowrap}.sample-row strong{color:#315d63;font-size:var(--w-text-small);min-width:0}.sample-row small{display:block;color:#81959b;font-size:var(--w-text-small)}.sample-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.fineprint{color:#6d858d;font-size:var(--w-text-small);line-height:2;margin-top:14px}
.review-flag{background:#fffaf0;border:1px solid #efdfb9;color:#8e6a36;border-radius:12px;padding:10px 14px;font-size:var(--w-text-small);line-height:1.8;margin:14px 0}.sources{display:grid;gap:8px}.sources a{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f8fbfa;border:1px solid #e0eae8;padding:10px 12px;border-radius:10px;font-size:var(--w-text-small);line-height:1.8;color:#2a7471}.sources a:hover{border-color:#95d8cf}.sources a span{color:#81969e;font-size:var(--w-text-small)}.sidecard ul{font-size:var(--w-text-small);color:#54737c;line-height:2.2;padding:0 18px 0 0;margin:5px 0}.sidecard ul li{margin-bottom:5px}.risk-line{font-size:var(--w-text-small);line-height:2;color:#865e50}.scoped-note{border:1px solid #ddecea;background:#fff;padding:12px 15px;border-radius:12px;color:#55767b;font-size:var(--w-text-small);line-height:1.85}.group-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:25px 0}.group-card{display:flex;flex-direction:column;gap:8px;padding:22px;background:white;border:1px solid #dbeae8;border-radius:18px;box-shadow:0 7px 20px rgba(18,92,90,.035);min-height:210px}.group-card:hover{transform:translateY(-1px);border-color:#91d3ca;text-decoration:none}.group-card .surgery-number{background:#edf9f5;width:43px;height:43px;border-radius:14px;display:grid;place-items:center;color:#09958a;font-size:var(--w-text-h4);font-weight:var(--w-weight-bold)}.group-card strong{color:#214550;font-size:var(--w-text-h4)}.group-card p{color:#637e88;font-size:var(--w-text-body);margin:0;line-height:1.8;flex:1}.group-card .go{color:#058b81;font-weight:var(--w-weight-bold);font-size:var(--w-text-small)}.revision-step{padding:18px;background:#fff;border:1px solid #dbe9e8;border-radius:14px;margin:10px 0}.revision-step h3{margin:0 0 6px;font-size:var(--w-text-h3)}.revision-step p{margin:0;color:#607980;font-size:var(--w-text-body)}.approval-lock{background:#fff8ed;border:1px solid #efdbbc;border-radius:16px;padding:22px}.approval-lock h2{font-size:var(--w-text-h2);margin:0 0 8px}.approval-lock p{color:#795d48;font-size:var(--w-text-body)}.risk-points{font-size:var(--w-text-small);color:#6a7579}.scope-error{border:2px solid #d18b79;background:#fff5f1;color:#874c43;padding:22px;border-radius:15px;min-height:200px}
.skip-link{position:absolute;top:-90px;right:10px;padding:10px;background:white;z-index:200}.skip-link:focus{top:0}
@media(max-width:1100px){.group-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-grid{gap:10px}.visual-photo img{height:190px}}
@media(max-width:540px){.mini-grid{grid-template-columns:1fr}.sample-grid{grid-template-columns:1fr}.group-grid{grid-template-columns:1fr}.group-card{min-height:180px}.visual-photo img{height:150px}.visual-photo .photo-label{right:9px;bottom:8px;font-size:var(--w-text-control)}.visual-photo .photo-label small{font-size:var(--w-text-control)}.section-head span{max-width:155px;text-align:left}.photo-note{font-size:var(--w-text-small)}.hero-main{width:100%}}

/* v255 Wariatric decorative icon layer — no anatomy or clinical layout changes */
.wai-icon{width:24px;height:24px;display:inline-block;object-fit:contain;flex:none;vertical-align:middle;user-select:none;pointer-events:none}
.topnav a{display:inline-flex;align-items:center;gap:4px}.topnav .wai-navigation{width:26px;height:26px}
.section-head h2:has(.wai-icon),.panel h2:has(.wai-icon),.sidecard h3:has(.wai-icon){display:flex;align-items:center;gap:9px}
.wai-heading{width:33px;height:33px}
.intro-signet:has(.wai-icon){background:transparent}.wai-stage-large{width:54px;height:54px}
.food-card .food-ico:has(.wai-food){background:#f8faf6;width:48px;height:48px}
.wai-food{width:44px;height:44px}
.sample-row .wai-slot{width:23px;height:23px}
.link-card a .wai-link{width:22px;height:22px;margin-inline-end:4px}
.accordion summary .wai-faq{width:23px;height:23px;margin-inline-end:6px}
.alert-strip .wai-alert{width:27px;height:27px}
.stage .wai-stage-button{width:34px;height:34px}
@media(max-width:780px){.stage .wai-stage-button{width:29px;height:29px}.topnav .wai-navigation{width:16px;height:16px}.wai-heading{width:29px;height:29px}}
@media(max-width:540px){.stage .wai-stage-button{width:23px;height:23px}.stage:has(.wai-stage-button){min-height:86px}.topnav .wai-navigation{width:14px;height:14px}.wai-heading{width:25px;height:25px}.sample-row .wai-slot{width:20px;height:20px}}

/* V256 — unified navigation + five consistent stage cards (all surgery nutrition hubs). */
:root{--wai-sticky-height:78px}
html{scroll-padding-top:calc(var(--wai-sticky-height) + 22px)}
#stages,#allowed,#schedule,#guides,#references,#drinks{scroll-margin-top:calc(var(--wai-sticky-height) + 24px)}
.topbar{position:sticky;top:0;z-index:90;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 5px 17px rgba(22,88,88,.04)}
.topbar .container{height:var(--wai-sticky-height);min-height:0;gap:12px;max-width:1380px}
.topbar .brand{flex:none;display:flex;align-items:center}
.topbar .brand img{max-height:53px;max-width:148px;object-fit:contain}
.top-meta{display:none!important}
.topnav{display:flex;flex:1;min-width:0;align-items:center;justify-content:flex-start;gap:4px;flex-wrap:nowrap;white-space:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#ccdfda transparent;overscroll-behavior-inline:contain}
.topnav a,.topnav a.nav-home,.topnav a.is-active{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:7px;min-height:52px;padding:7px 10px;border:1px solid transparent;border-radius:13px;background:transparent!important;color:#38565c!important;font-size:var(--w-text-small);font-weight:var(--w-weight-bold);white-space:nowrap;text-decoration:none;transition:transform .24s ease,box-shadow .24s ease,background-color .24s ease,border-color .24s ease}
.topnav a .wai-navigation{width:37px;height:37px;object-fit:contain;filter:grayscale(1) saturate(0) brightness(1.06);transition:filter .24s ease,transform .24s ease;will-change:transform}
.topnav a:hover,.topnav a:focus-visible{background:#f6fbf9!important;transform:translateY(-2px);border-color:#d6eae5;box-shadow:0 5px 15px rgba(25,104,94,.07)}
.topnav a:hover .wai-navigation,.topnav a:focus-visible .wai-navigation,.topnav a.is-current-section .wai-navigation{filter:none;transform:scale(1.06)}
.topnav a.is-current-section{background:#f0faf6!important;color:#187d73!important;border-color:#cde9e2}
.topnav a:focus-visible,.stage:focus-visible{outline:3px solid #2c938b;outline-offset:2px}
/* Anatomy preview: a single unified unclipped frame, no title/logotype overlay */
.hero-mark{flex:0 0 clamp(175px,21vw,250px);min-width:0;align-self:center}
.hero-icon{width:100%;height:auto;aspect-ratio:1.16;border-radius:22px;transform:none;box-shadow:0 8px 22px rgba(14,96,93,.07);background:#fff;border:1px solid #d8e9e6;padding:10px;box-sizing:border-box;overflow:hidden}
.hero-icon img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.hero-floater{display:none!important}
/* Stage cards have a single consistent optical hierarchy, 5 equal columns on desktop */
#stages .section-head{align-items:center}
.stage-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0 0 22px;align-items:stretch}
.stage{display:grid;grid-template-columns:62px minmax(0,1fr);grid-template-rows:auto;column-gap:9px;align-items:center;position:relative;min-width:0;min-height:120px;padding:14px 12px;border:1px solid #dcebe6;border-radius:17px;background:#fff;box-sizing:border-box;overflow:hidden;box-shadow:0 3px 16px rgba(18,96,92,.035);text-align:right;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background-color .22s ease}
.stage:hover{transform:translateY(-2px);border-color:#91cfc6;box-shadow:0 8px 20px rgba(26,105,96,.07)}
.stage-visual{width:60px;height:69px;display:grid;place-items:center;min-width:0}
.stage-visual img{display:block;width:100%;height:100%;object-fit:contain;filter:saturate(.88)}
.stage-info{min-width:0;padding-inline-start:0;padding-inline-end:2px;align-self:center}
.stage-info b{font-size:var(--w-text-body);line-height:1.6;font-weight:var(--w-weight-bold);color:#254b51;white-space:normal;overflow:visible;text-overflow:clip;display:block;overflow-wrap:normal}
.stage-info small{font-size:var(--w-text-small);line-height:1.65;color:#526b71;white-space:normal}
.stage-num{position:absolute;inset-inline-start:8px;top:7px;min-width:27px;width:27px;height:27px;border-radius:9px;display:grid;place-items:center;font-size:var(--w-text-small);font-weight:var(--w-weight-bold);line-height:1;color:#53767a;background:#f1f6f4;box-shadow:none}
.stage.is-active{background:linear-gradient(135deg,#f7fffc,#eaf9f5);border:1.5px solid #31a69c;box-shadow:0 9px 22px rgba(13,130,113,.075)}
.stage.is-active .stage-num{color:#fff;background:#108a80}
.stage.is-active .stage-info b{color:#126f66}
.stage .wai-stage-button{display:none!important}
.intro-signet:has(.wai-stage-large){background:#fcfdfb;border-color:#e0eee9}
.intro-signet .wai-stage-large{width:51px;height:51px;object-fit:contain}
/* Consistent rows, no compressed cards or inaccessible tap targets */
.sample-row{min-height:72px}.sample-row:focus-visible{outline:3px solid #2c938b;outline-offset:1px}
@media(max-width:1100px){
 :root{--wai-sticky-height:74px}
 .topbar .container{gap:9px}
 .topnav a,.topnav a.nav-home{padding:6px 8px;font-size:var(--w-text-small)}
 .topnav .wai-navigation{width:32px;height:32px}
 .stage-nav{gap:8px}
 .stage{grid-template-columns:48px minmax(0,1fr);min-height:114px;padding:12px 8px}
 .stage-visual{width:47px;height:60px}.stage-info b{font-size:var(--w-text-small)}.stage-info small{font-size:var(--w-text-small)}
}
@media(max-width:800px){
 :root{--wai-sticky-height:69px}
 .topbar .container{min-height:0;height:var(--wai-sticky-height);gap:8px}
 .topbar .brand img{height:45px;max-width:110px}
 .topnav a:nth-child(2),.topnav a:nth-child(3){display:inline-flex!important}
 .topnav a{font-size:var(--w-text-small);min-height:50px}
 .topnav .wai-navigation{width:33px;height:33px}
 /* smaller screens: stay single-line; all five stage cards accessible by horizontal scroll */
 .stage-nav{display:flex;gap:9px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:thin;padding-block:2px 9px;overscroll-behavior-inline:contain}
 .stage{flex:0 0 186px;min-height:110px;scroll-snap-align:start;grid-template-columns:55px minmax(0,1fr);padding:12px 11px}
 .stage-visual{width:54px;height:65px}.stage-info b{font-size:var(--w-text-small)}.stage-info small{font-size:var(--w-text-small)}
 .hero-mark{flex-basis:clamp(130px,24vw,180px)}
}
@media(max-width:540px){
 :root{--wai-sticky-height:64px}
 .topbar .container{gap:6px}
 .topbar .brand img{width:102px;max-width:102px;height:43px}
 .topnav{gap:3px}
 .topnav a,.topnav a.nav-home{display:inline-flex!important;font-size:var(--w-text-small);min-height:47px;gap:5px;padding:5px 7px}
 .topnav .wai-navigation{width:30px;height:30px}
 .stage{flex-basis:176px;min-height:105px;grid-template-columns:51px minmax(0,1fr)}
 .stage-visual{width:50px;height:62px}
 .stage-info b{font-size:var(--w-text-small)}
 .stage-info small{display:block;font-size:var(--w-text-small)}
 .hero{align-items:center;gap:10px}
 .hero-mark{flex:0 0 100px;margin-top:0;align-self:center}
 .hero-icon{border-radius:16px;padding:5px;aspect-ratio:1}
 .section-head{flex-wrap:wrap;gap:5px}
 .section-head span{max-width:none;text-align:right}
}
@media(prefers-reduced-motion:reduce){
 .topnav a,.topnav a .wai-navigation,.stage{transition:none!important;transform:none!important;animation:none!important}
}

/* V257 Global Cross-Hub Final Polish — incremental overrides */
:root{--wai-ink:#274951;--wai-muted:#627e84;--wai-teal:#137a72}
html{scroll-behavior:smooth}
body{font-family:var(--w-font-family)}
/* Preserve approved header logo and the anatomy master source; no duplicative brand panels. */
.topbar{isolation:isolate}
.topnav{scroll-behavior:smooth}
.topnav a{color:var(--wai-ink)!important;background:transparent!important}
.topnav a:not(.is-current-section) .wai-navigation{filter:grayscale(1) saturate(0) brightness(1.08)}
.topnav a.is-current-section{background:#eff9f6!important;color:#156e68!important}
.hero-mark{display:flex;align-items:center;justify-content:center}
.hero-icon{box-shadow:0 10px 24px rgba(15,87,82,.065)!important;box-sizing:border-box}
.hero-icon img{object-fit:contain!important;max-inline-size:100%;max-block-size:100%}
.hero-floater{display:none!important}
/* One approved 3D icon per quick-link, no leftover glyph or pseudo-icon */
.link-card a{direction:rtl;text-align:right;display:flex;align-items:center;justify-content:flex-start;min-height:46px;gap:12px;padding-inline:10px;color:#246d69;font-size:var(--w-text-small)}
.link-card a .wai-link{order:0;width:30px;height:30px;margin:0;flex:0 0 30px;object-fit:contain}
.link-card a svg.icon,.link-card a:after,.link-card a:before{display:none!important;content:none!important}
.link-card a:hover{background:#f5faf8}
/* FAQ: right-aligned, one ceramic icon for section heading only. */
#guides .panel-top h2{direction:rtl;text-align:right}
#guides .accordions{direction:rtl}
#guides .accordion{margin-block:8px;border:1px solid #e0ebe8;border-radius:13px;overflow:hidden;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}
#guides .accordion[open]{border-color:#9bccc4;box-shadow:0 5px 16px rgba(13,84,74,.04)}
#guides .accordion summary{direction:rtl;text-align:right;display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;min-height:58px;padding:15px 17px;font-size:var(--w-text-small);color:#254b53;list-style:none;line-height:1.8;position:relative}
#guides .accordion summary::-webkit-details-marker{display:none}
#guides .accordion summary::marker{content:""}
#guides .accordion summary .wai-faq-question{display:block;flex:1;min-width:0;text-align:right;overflow-wrap:anywhere}
#guides .accordion summary svg,#guides .accordion summary .wai-faq{display:none!important}
.wai-faq-chevron{flex:0 0 9px;width:9px;height:9px;border-left:2px solid #6e9593;border-bottom:2px solid #6e9593;transform:rotate(-45deg);transition:transform .22s ease;margin-left:7px;align-self:center}
#guides .accordion[open] .wai-faq-chevron{transform:rotate(135deg)}
#guides .accordion-body{direction:rtl;text-align:right;padding:0 17px 16px;animation:wai-faq-in .24s ease both}
#guides .accordion-body p{direction:rtl;text-align:right;line-height:2;margin:0;color:#58737a}
@keyframes wai-faq-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
/* Food cards: one informative icon, never a misleading SVG cup/tick fallback */
#allowed .mini-grid{align-items:stretch}
#allowed .food-card{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:122px;box-sizing:border-box;text-align:right;direction:rtl;background:#fff;border:1px solid #dceae6;transition:box-shadow .22s ease,border-color .22s ease}
#allowed .food-card:hover{border-color:#a7d3cb;box-shadow:0 6px 16px rgba(16,94,87,.04)}
#allowed .food-card .food-ico{display:grid;place-items:center;flex:0 0 56px;width:56px;height:56px;background:#f7fbf9;border:1px solid #e3efec;border-radius:15px;box-sizing:border-box;overflow:hidden}
#allowed .food-card .food-ico:has(.wai-food){width:56px;height:56px}
#allowed .food-card .wai-food{width:52px;height:52px;object-fit:contain;display:block}
#allowed .food-card b{font-size:var(--w-text-small);line-height:1.65;display:block}
#allowed .food-card p{font-size:var(--w-text-body);line-height:1.95;overflow-wrap:anywhere}
.wai-food-fallback{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e6f5f1;color:#2f7c74;font-weight:var(--w-weight-bold);font-size:var(--w-text-body)}
/* Honest specimen photography: full subject, balanced pair, captions outside the image. */
.photo-grid{gap:16px;align-items:stretch}
.visual-photo{display:flex;flex-direction:column;background:#f6faf9;border:1px solid #dbe9e6;border-radius:20px;box-shadow:0 8px 26px rgba(22,93,91,.045);isolation:isolate;overflow:hidden}
.visual-photo img{width:100%;height:250px;max-height:250px;display:block;object-fit:contain!important;object-position:center;background:#f3f8f6}
.visual-photo:after{display:none!important;content:none!important}
.visual-photo .photo-label{position:static!important;color:#244d53!important;text-shadow:none!important;background:#fff;padding:13px 16px 16px;display:block;flex:1;line-height:1.75;font-size:var(--w-text-control);font-weight:var(--w-weight-bold)}
.visual-photo .photo-label small{color:#526b72;font-size:var(--w-text-control);line-height:1.9;font-weight:var(--w-weight-medium);opacity:1}
.photo-note{font-size:var(--w-text-small);line-height:2}
/* stage cards unified: no hidden titles or fixed truncation */
.stage-info b{white-space:normal!important;text-overflow:clip!important;overflow:visible!important}
/* Reduced movement for accessibility */
@media(max-width:780px){.visual-photo img{height:215px;max-height:215px}.link-card a{min-height:48px}}
@media(max-width:540px){.visual-photo img{height:180px;max-height:180px}.visual-photo .photo-label{padding:12px;font-size:var(--w-text-control)}.visual-photo .photo-label small{font-size:var(--w-text-control)}#allowed .food-card{min-height:106px}#guides .accordion summary{font-size:var(--w-text-small);min-height:55px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}#guides .accordion-body{animation:none}.wai-faq-chevron{transition:none}}

/* V257 release polish: premium ivory/mint 3D icons remain visible in the neutral state. */
.topnav a:not(.is-current-section) .wai-navigation{filter:saturate(.50) brightness(1.04)!important;opacity:.92}
.topnav a:hover .wai-navigation,.topnav a:focus-visible .wai-navigation,.topnav a.is-current-section .wai-navigation{filter:none!important;opacity:1}
.topnav a.is-current-section{background:linear-gradient(125deg,#fbfefd,#edf8f5)!important}

/* V257: twelve distinct dynamic numerals, not twelve duplicate clock pictograms */
.sample-row{gap:10px;min-height:76px}
.sample-row .wai-slot-badge{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:11px;background:linear-gradient(145deg,#fffdf8,#edf8f4);color:#217e72;border:1px solid #cce6e0;box-shadow:0 3px 7px rgba(26,112,95,.055);font-weight:var(--w-weight-bold);font-size:var(--w-text-h4)}
.sample-row .wai-slot{display:none!important}
@media(max-width:540px){.sample-row .wai-slot-badge{width:30px;height:30px;flex-basis:30px}}

/* V258: surgery-specific nutrition, visible and accessible, without changing approved anatomy */
.procedure-panel{border-color:#a6dcd5;background:linear-gradient(120deg,#fbfffd,#f0faf7);border-right:4px solid #18a398}
.procedure-panel>p{font-size:var(--w-text-body);color:#345965;line-height:2}.procedure-panel h3,.atlas-panel h3{font-size:var(--w-text-h3);margin:12px 0 4px;color:#225e63}.procedure-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.procedure-columns>div{background:#fff;border:1px solid #d9ede8;border-radius:14px;padding:12px 15px}.procedure-columns p{margin:4px 0;font-size:var(--w-text-body);line-height:1.9}.procedure-columns ul{padding-right:19px;margin:4px 0;font-size:var(--w-text-small)}.procedure-more{margin:13px 0 0;border-top:1px solid #d7e9e5;padding-top:8px}.procedure-more summary{cursor:pointer;font-weight:var(--w-weight-bold);color:#237c73}.procedure-more li{margin:7px 0;font-size:var(--w-text-small)}.evidence-note{font-size:var(--w-text-small);color:#74664e!important;background:#fffaf2;padding:8px 12px;border-radius:11px;border:1px solid #f1e2c7;line-height:1.9}.research-links{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0}.research-links a{border:1px solid #cae5df;background:#f2faf7;border-radius:11px;padding:8px 12px;font-size:var(--w-text-small);font-weight:var(--w-weight-bold)}.atlas-days{display:grid;gap:8px}.atlas-days details{background:#fff;border:1px solid #d7eae7;border-radius:12px}.atlas-days summary{cursor:pointer;padding:11px 14px;font-weight:var(--w-weight-bold);font-size:var(--w-text-small)}.atlas-meals{padding:10px 15px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.atlas-meals>div{background:#f8fcfb;border-radius:12px;padding:10px}.atlas-meals li,.atlas-meals small{font-size:var(--w-text-small);color:#4b6770}.atlas-meals ul{padding-right:20px;margin:4px 0}.atlas-meals strong{font-size:var(--w-text-small)}.sample-row .wai-slot-badge{display:none!important}.sample-row .wai-icon.wai-slot{display:block!important;width:34px;height:34px;flex:0 0 34px;max-width:34px;object-fit:contain;opacity:1;filter:none}.accordion summary{font-size:var(--w-text-small);text-align:right}.accordions .accordion{border-radius:15px}.accordion summary .wai-faq-question{flex:1}.accordion .accordion-body{font-size:var(--w-text-small);line-height:2}.alert-strip{order:999}@media(max-width:760px){.procedure-columns,.atlas-meals{grid-template-columns:1fr}.sample-row .wai-icon.wai-slot{width:29px;height:29px;flex-basis:29px}.procedure-panel{padding:17px}}
.plan-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.plan-choice-grid article{padding:13px;background:#f8fcfb;border:1px solid #d9ede8;border-radius:13px}.plan-choice-grid h4{margin:0 0 6px;font-size:var(--w-text-h4);color:#235d61}.plan-choice-grid ol{padding-right:19px;margin:7px 0}.plan-choice-grid li{font-size:var(--w-text-small);color:#3f6670;margin-bottom:5px}.plan-warning{font-size:var(--w-text-small);color:#735a47;line-height:1.8;border-top:1px solid #dfe7df;padding-top:6px}.plan-choice-grid .evidence-note{font-size:var(--w-text-small)}@media(max-width:950px){.plan-choice-grid{grid-template-columns:1fr}}


/* v258 pending: in-page canonical FAQ without duplicating source content */
#wai-faq-linked{direction:rtl;text-align:right;margin-top:25px;border-top:1px solid #d8eae6;padding-top:19px}
.wai-faq-connect-header h3{font-size:var(--w-text-h3);line-height:1.7;color:#285d61;margin:0 0 5px}
.wai-faq-connect-header p,.wai-faq-meta{font-size:var(--w-text-body);color:#5a777a;line-height:1.9;margin:4px 0 13px}
.wai-faq-search{display:block;box-sizing:border-box;width:100%;border:1px solid #bddbd6;border-radius:13px;padding:13px 15px;min-height:48px;font:inherit;font-size:var(--w-text-small);direction:rtl;text-align:right;background:#fff;color:#244e56;outline-offset:3px}
.wai-faq-search:focus{outline:2px solid #6bad9f}
.wai-faq-results{margin-block:10px;display:grid;gap:10px}
.wai-faq-more{border:1px solid #b5d9d1;background:#f2fbf8;color:#236d68;padding:11px 16px;cursor:pointer;font:inherit;font-weight:var(--w-weight-bold);border-radius:12px;margin:9px 0;min-height:44px}
.wai-faq-more[hidden]{display:none}
.wai-faq-review{font-size:var(--w-text-small);color:#8a704e!important;line-height:1.9;margin-top:12px!important}
.wai-faq-alert{color:#9a3a3a!important;border-right:3px solid #be6464;padding:9px 11px;background:#fff8f7;border-radius:8px}
.wai-faq-error,.wai-faq-no-results{font-size:var(--w-text-small);line-height:1.9;color:#536b70;padding:12px}
@media(max-width:540px){.wai-faq-connect-header h3{font-size:var(--w-text-h3)}.wai-faq-search{font-size:var(--w-text-small)}}

/* v258 pending: clinically gated slot details; not an approved meal schedule */
.wai-slot-detail{display:grid;gap:10px;margin:9px 0 15px;direction:rtl;text-align:right}
.wai-slot-detail>div{border-bottom:1px solid #e5efed;padding-bottom:9px}
.wai-slot-detail>div:last-child{border-bottom:0}
.wai-slot-detail dt{font-size:var(--w-text-small);font-weight:var(--w-weight-bold);color:#315e63;margin-bottom:3px}
.wai-slot-detail dd{font-size:var(--w-text-small);color:#536e73;margin:0;line-height:1.95}
.wai-slot-detail .wai-quantity-block{border-right:3px solid #ca936b;padding-right:9px;background:#fbfaf7;padding-top:7px}
.wai-slot-detail .wai-quantity-block strong{color:#8b5b35}
.slot-source-link{display:inline-flex;text-decoration:underline;color:#16796f;font-size:var(--w-text-small);line-height:2}

/* Clinical quantity: explicit and unambiguous display, no false universal upper-limit */
.wai-food-portion-gate{color:#815c40!important;font-size:var(--w-text-small);line-height:1.75!important;margin-top:8px!important;border-top:1px solid #e7e0d6;padding-top:7px}
.wai-portion-research{direction:rtl;text-align:right}
.wai-portion-research p{font-size:var(--w-text-body);line-height:2;color:#455b64}
.wai-research-label{font-weight:var(--w-weight-bold);color:#81563a!important}
.wai-research-source{font-size:var(--w-text-small);color:#62777d!important}
.wai-portion-examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.wai-portion-examples article{border:1px solid #dce9e7;padding:12px;border-radius:13px;background:#f9fcfb}
.wai-portion-examples li{font-size:var(--w-text-small);margin:6px 0;line-height:1.9}
.wai-portion-examples ul{padding-right:19px}
.wai-portion-examples small{font-size:var(--w-text-small);color:#4f6972}
@media(max-width:920px){.wai-portion-examples{grid-template-columns:1fr}}

/* V261 — source-backed reference numbers with strict research/clinical distinction */
#allowed .food-card{align-items:flex-start;min-height:152px}
#allowed .food-card>div:last-child{flex:1;min-width:0}
.wai-quantity-status{margin-top:11px;border-radius:12px;padding:10px 12px;line-height:1.9;direction:rtl;text-align:right;overflow-wrap:anywhere}
.wai-quantity-research{background:#f3f8f7;border:1px solid #bcd9d2;color:#2b555c}
.wai-quantity-unavailable{background:#fbf8f4;border:1px solid #eadbcb;color:#795e4b;display:grid;gap:3px}
.wai-quantity-tag{display:inline-block;color:#5b6353;font-size:var(--w-text-small);font-weight:var(--w-weight-bold)}
.wai-quantity-primary{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:3px 0}
.wai-quantity-primary strong{font-size:var(--w-text-h4)!important;color:#236f67}
.wai-quantity-primary span,.wai-quantity-status small,.wai-quantity-status p{font-size:var(--w-text-small);line-height:1.8}
.wai-quantity-status small{display:block;color:#526f71;margin-top:5px}
.wai-slot-quantity-preview{color:#52666b!important;line-height:1.7}
#schedule .sample-grid .sample-row{align-items:flex-start;min-height:94px}
#schedule .sample-grid .sample-row>span:last-child{flex:1;min-width:0}
.wai-slot-detail .wai-quantity-block .wai-quantity-status{margin:0}
@media(max-width:700px){#allowed .food-card{min-height:0}.wai-quantity-primary{align-items:start;flex-direction:column;gap:1px}}
/* V261 compact presentation; evidence details remain accessible by keyboard */
.wai-quantity-evidence{margin-top:3px}
.wai-quantity-evidence summary{cursor:pointer;color:#496b69;font-size:var(--w-text-small);font-weight:var(--w-weight-medium)}
.wai-quantity-evidence p{font-size:var(--w-text-small)!important;color:#476263!important;margin:7px 0!important}
#allowed .wai-quantity-primary span{font-size:var(--w-text-small);font-weight:var(--w-weight-normal)}
#allowed .wai-quantity-status{margin-top:9px;padding:8px 10px}
#allowed .food-card{min-height:128px}

/* Evidence labels use existing neutral design; they are never patient-specific dosage cards. */
.wai-verified-evidence{margin-block:7px;padding:8px 0;border-top:1px solid #cbdedc;font-size:var(--w-text-small);line-height:1.9;color:#28545c}
.wai-verified-evidence>strong{font-weight:700}
.wai-verified-evidence small{display:block;font-size:var(--w-text-xs);line-height:1.8;color:#526d70;margin-top:3px}
.wai-verified-evidence a{color:#146674;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}

/* V262 — progressive disclosure and evidence/protocol separation.
   Scoped to nutrition hubs; typography uses the global authentic Vazir tokens. */
:root{--wai-v262-border:#d7e5e2;--wai-v262-text:#284e55;--wai-v262-subtle:#506b70;--wai-v262-bg:#f7fbfa;--wai-v262-focus:#086e68}
#allowed .food-card{min-height:0;align-items:flex-start;gap:12px;padding-block:16px;overflow-wrap:anywhere}
#allowed .food-card>div:last-child{min-width:0;flex:1}
#allowed .food-card b{display:block;font-size:var(--w-text-body);color:var(--wai-v262-text);line-height:1.8}
#allowed .food-card p{margin-block:5px;line-height:1.85}
#allowed .wai-food-portion-gate{margin-top:9px!important;border-top:1px solid var(--wai-v262-border);padding-top:9px}
.wai-education-gate{display:grid;gap:3px;background:var(--wai-v262-bg);border:1px solid var(--wai-v262-border);border-inline-start:4px solid var(--wai-v262-focus);border-radius:12px;padding:12px 16px;margin-bottom:16px;color:var(--wai-v262-text);line-height:1.85;font-size:var(--w-text-body)}
.wai-education-gate strong{font-size:var(--w-text-body)}
.wai-quantity-summary{margin-top:0;padding:0;border:0;background:transparent;display:grid;gap:4px}
.wai-quantity-summary-label{color:var(--wai-v262-subtle);font-size:var(--w-text-small);line-height:1.75}
.wai-quantity-summary .wai-quantity-tag{font-size:var(--w-text-small);color:#486766}
.wai-quantity-evidence{margin:4px 0 0;border:1px solid var(--wai-v262-border);border-radius:10px;background:#fff;min-width:0}
.wai-quantity-evidence>summary{padding:9px 11px;min-height:44px;display:list-item;cursor:pointer;color:var(--wai-v262-focus);font-size:var(--w-text-small);font-weight:var(--w-weight-bold);line-height:1.7}
.wai-evidence-body{padding:0 11px 12px;overflow-wrap:anywhere}
.wai-evidence-body p,.wai-evidence-body small{margin:5px 0;line-height:1.85;color:var(--wai-v262-subtle);font-size:var(--w-text-small)}
.wai-evidence-body .wai-verified-evidence{border-top:1px solid var(--wai-v262-border);padding-top:9px;margin-top:9px}
.wai-verified-evidence a{overflow-wrap:anywhere}
.wai-stage-evidence{border:1px solid var(--wai-v262-border);background:var(--wai-v262-bg);padding:12px 16px;border-radius:12px;margin:12px 0;line-height:1.9}
.wai-stage-evidence p,.wai-stage-evidence li,.wai-stage-evidence small{font-size:var(--w-text-small);line-height:1.9}
.wai-stage-evidence ul{padding-inline-start:20px;margin-block:7px}
.wai-stage-evidence li{margin-block:7px}
.wai-stage-evidence small{display:block;color:var(--wai-v262-subtle)}
.wai-evidence-distinction{border-top:1px solid var(--wai-v262-border);padding-top:9px;color:var(--wai-v262-text)}
.wai-deep-research{margin-top:12px;border:1px solid var(--wai-v262-border);border-radius:12px;background:#fff}
.wai-deep-research>summary{padding:11px 15px;cursor:pointer;min-height:44px;font-size:var(--w-text-body);font-weight:var(--w-weight-medium);color:var(--wai-v262-focus)}
.wai-deep-research>div{padding:0 15px 14px}
.wai-shared-distinction{padding:11px 14px;background:#fff;border:1px solid var(--wai-v262-border);border-radius:11px;color:var(--wai-v262-text);font-size:var(--w-text-small);line-height:1.9;margin:14px 0}
.wai-shared-distinction strong{color:var(--wai-v262-focus)}
#schedule .sample-row{min-height:78px;gap:10px;align-items:center}
#schedule .sample-row span:last-child{min-width:0}
#schedule .sample-row .wai-slot-quantity-preview{display:block;font-size:var(--w-text-small);color:var(--wai-v262-subtle);margin-top:2px}
#dialogBackdrop[open] .dialog{max-height:min(90vh,900px);overflow-y:auto;overscroll-behavior:contain}
#dialogBackdrop .dialog a:focus-visible,#dialogBackdrop .dialog button:focus-visible,
.wai-quantity-evidence summary:focus-visible,.wai-deep-research summary:focus-visible,
#schedule .sample-row:focus-visible{outline:3px solid var(--wai-v262-focus);outline-offset:3px}
@media(max-width:700px){#allowed .food-card{padding-block:13px}#allowed .food-card .food-ico{flex-shrink:0}.wai-stage-evidence{padding:12px}.wai-education-gate{padding:11px 13px}.wai-quantity-evidence>summary{min-height:48px}}
@media(prefers-reduced-motion:reduce){#allowed .food-card,#schedule .sample-row{scroll-behavior:auto;transition:none}}

/* V265: sourced educational quantities — never global patient dosage. */
#allowed .wai-proposal-amount{display:block;color:#1c6865;font-weight:var(--w-weight-bold);font-size:var(--w-text-body);line-height:1.85;direction:rtl;unicode-bidi:plaintext}
#allowed .wai-quantity-tag{display:block;line-height:1.8;max-width:100%}
#allowed .wai-quantity-summary-label{display:block;overflow-wrap:anywhere}
#allowed .wai-education-gate b{font-weight:var(--w-weight-bold)}
@media(max-width:700px){#allowed .wai-proposal-amount{line-height:1.9}}

/* V266: independent two-column cards; open details cannot stretch their neighbour. */
#allowed .mini-grid,#schedule .sample-grid,#guides .accordions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px}
#allowed .mini-grid>.food-card,#schedule .sample-grid>.sample-row,#guides .accordions>.accordion{align-self:start;height:auto;min-width:0}
#allowed .food-card{display:flex;min-width:0;overflow-wrap:anywhere;box-shadow:none}
#allowed .wai-quantity-summary{overflow-wrap:anywhere}
#guides .wai-faq-linked{margin-top:24px;border-top:1px solid #e2eeeb;padding-top:18px}
#guides .wai-faq-results{align-items:start}
.wai-more-real-data{margin-top:14px;color:#3c6670;line-height:2}
.wai-more-real-data a{color:#087e79;text-decoration:underline;text-underline-offset:3px}
@media(max-width:820px){#allowed .mini-grid,#schedule .sample-grid,#guides .accordions{grid-template-columns:1fr}}

.wai-hydration-guide{padding:12px 15px;border-radius:12px;border:1px solid #cee3dc;background:#f3faf7;color:#285e5f;line-height:2}.wai-hydration-guide small{display:block;color:#567474}