:root{--ink:#19382f;--muted:#63766d;--cream:#f6f4ec;--paper:#fffefa;--line:#e5e5da;--red:#c95346;--orange:#d58a4e;--green:#6f9b68;--shadow:0 18px 46px #253d2c12}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:'Almarai',Tahoma,sans-serif;font-size:16px;line-height:1.75}button,input,select,textarea{font:inherit}button{cursor:pointer;min-height:44px;border:0}a{color:#286b58}.top{height:78px;padding:0 clamp(20px,6vw,90px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #183f3615;background:#f6f4ecee;position:sticky;top:0;z-index:8;backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}.brand b{display:block;font-size:17px}.brand small{display:block;font-size:12px;color:var(--muted);line-height:1.4}.mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#183f36;color:#f4ecd8;font-size:25px}.top-actions{display:flex;align-items:center;gap:12px}.save-status{font-size:12px;color:var(--muted)}.iconbtn,.secondary,.danger{background:transparent;border:1px solid #aebbb1;border-radius:12px;padding:9px 15px;color:var(--ink);font-size:14px}.danger{color:#9d362e;border-color:#dfb7ad}.primary{background:var(--ink);color:white;border-radius:12px;padding:11px 22px;font-weight:700}.primary:hover{background:#275a4b}.secondary:hover,.iconbtn:hover{background:#eaece3}.hero{max-width:1200px;margin:0 auto;padding:85px 32px 72px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:50px;min-height:495px}.eyebrow{font-size:12px;color:#8e654a;text-transform:uppercase;letter-spacing:.08em;font-weight:800;margin:0 0 10px}.hero h1{font-size:clamp(36px,5vw,60px);line-height:1.28;letter-spacing:-.04em;margin:0 0 16px}.hero h1 em{font-style:normal;color:#a4603f}.lead{font-size:18px;line-height:1.9;color:#53665d;max-width:600px;margin:0}.hero-actions{display:flex;gap:10px;margin:27px 0 22px}.privacy{display:flex;align-items:center;gap:8px;color:#65766e;font-size:12px;max-width:500px}.hero-art{height:330px;position:relative;display:grid;place-items:center}.orbit{position:absolute;border:1px solid #d6d7c8;border-radius:50%}.orbit1{width:310px;height:310px}.orbit2{width:250px;height:250px;border-style:dashed}.plate{width:220px;height:220px;border-radius:50%;border:9px solid #fffefa;background:#e9e6d9;box-shadow:0 20px 48px #243d2f1c;display:grid;place-items:center;position:relative;transform:rotate(-18deg)}.plate:after{content:'';position:absolute;inset:16px;border:1px solid #cccabb;border-radius:50%}.food{position:absolute;width:70px;height:70px;border-radius:50%;filter:saturate(.86)}.food.red{background:radial-gradient(circle at 35% 30%,#e99683,#b54539);top:27px;right:30px}.food.orange{background:radial-gradient(circle at 35% 30%,#ecc28b,#c57d38);bottom:26px;right:45px}.food.green{background:radial-gradient(circle at 35% 30%,#a5c588,#648f59);bottom:35px;left:30px}.plate-center{z-index:1;display:grid;place-items:center;width:73px;height:73px;border-radius:50%;background:#f7f4e9;text-align:center;font-weight:800;line-height:1.2;transform:rotate(18deg)}.float-tag{position:absolute;border:1px solid #e7e3d5;background:#fffefa;border-radius:30px;padding:5px 13px;font-size:13px;box-shadow:var(--shadow)}.tag-r{top:39px;right:calc(50% - 140px);color:var(--red)}.tag-o{bottom:49px;right:calc(50% - 174px);color:#a5662b}.tag-g{bottom:58px;left:calc(50% - 170px);color:#567b50}.safety{max-width:1136px;margin:0 auto 62px;padding:22px 25px;display:flex;gap:16px;align-items:flex-start;background:#f4e7d7;border:1px solid #ead8c5;border-radius:18px;color:#594a3b}.safety p{font-size:14px;line-height:1.9;margin:7px 0}.safety-icon{width:34px;height:34px;flex:none;border-radius:50%;display:grid;place-items:center;color:white;background:#a5683e;font-weight:800}.journey,.food-guide,.tools,.workspace,.sources{max-width:1136px;margin:0 auto 70px}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px}.section-head h2,.workspace h2,.tools h2{font-size:26px;margin:0;line-height:1.4}.mini-note{font-size:12px;color:var(--muted)}.stage-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.stage-card{padding:20px 18px;background:var(--paper);border:1px solid var(--line);border-radius:18px;position:relative;overflow:hidden;min-height:183px}.stage-card:before{content:'';height:4px;position:absolute;top:0;right:0;left:0;background:#d7d5c7}.stage-card[data-stage="1"]:before{background:#b7aa86}.stage-card[data-stage="2"]:before{background:var(--red)}.stage-card[data-stage="3"]:before{background:var(--orange)}.stage-card[data-stage="4"]:before{background:var(--green)}.stage-number{color:#9e9f8e;font-size:12px;font-weight:800}.stage-card h3{font-size:18px;margin:5px 0}.stage-card p{font-size:13px;color:var(--muted);line-height:1.75;margin:0}.workspace{padding:28px;background:var(--paper);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:18px}.workspace-head p{color:var(--muted);margin:5px 0 0;max-width:700px}.progress-badge{background:#eff0e7;border-radius:30px;padding:7px 13px;font-size:13px;white-space:nowrap}.tabs{display:flex;gap:7px;overflow:auto;padding:18px 0 5px}.tab{background:transparent;border:1px solid #e4e4da;border-radius:999px;padding:7px 14px;font-size:14px;white-space:nowrap;color:#5d6d63}.tab.active{background:var(--ink);color:white;border-color:var(--ink)}.panel{padding:14px 0}.panel h3{font-size:20px;margin:8px 0}.panel-intro{color:var(--muted);font-size:14px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:6px;margin:10px 0}.field label,.form-grid label{font-size:14px;font-weight:700}.field input,.field textarea,.field select,.form-grid input,.form-grid select,.challenge-row input,.challenge-row select{width:100%;padding:10px 12px;border:1px solid #d9ddd2;border-radius:10px;background:white;min-height:44px;color:var(--ink)}input[type=range]{padding:0;accent-color:var(--ink)}.field textarea{min-height:85px;resize:vertical}.checkrow{display:flex;align-items:flex-start;gap:10px;margin:13px 0;font-size:14px}.checkrow input{margin-top:8px;accent-color:var(--ink);width:18px;height:18px;flex:none}.callout{padding:13px 15px;background:#f4f1e7;border-radius:12px;font-size:13px;color:#5b6253;margin:12px 0}.alert{padding:13px 15px;background:#f9e5df;border:1px solid #e7c4b7;border-radius:12px;font-size:14px;color:#783d31;margin:14px 0}.symptom-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.symptom{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#fff}.symptom-head{display:flex;justify-content:space-between;font-size:14px;font-weight:700;gap:8px}.symptom output{color:#995c3c}.scale-legend{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-top:5px}.button-row{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}.button-row .primary,.button-row .secondary{font-size:14px}.day-list{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.day-pill{border:1px solid var(--line);border-radius:30px;padding:5px 11px;font-size:12px;background:#fff}.day-pill.done{background:#e9f1e5;border-color:#c7dbc1}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.metric{border:1px solid var(--line);border-radius:14px;padding:14px}.metric strong{font-size:22px;display:block}.metric span{font-size:12px;color:var(--muted)}.week-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:18px 0}.week{background:#f7f5ed;border:1px solid var(--line);border-radius:12px;padding:12px;text-align:center}.week b{display:block}.week small{color:var(--muted);font-size:11px}.food-categories{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.food-category{border:1px solid var(--line);border-radius:14px;padding:14px}.food-category h4{margin:0 0 9px}.food-category ul{margin:0;padding-right:18px;color:#596c61;font-size:13px}.challenge{border:1px solid #e3ddd0;border-radius:16px;padding:16px;margin:12px 0}.challenge-top{display:flex;justify-content:space-between;gap:12px}.challenge-top h4{margin:0}.challenge-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.challenge-day{border:1px solid var(--line);padding:10px;border-radius:11px;font-size:13px}.challenge-day input{margin-top:5px}.status-chip{border-radius:20px;padding:3px 10px;background:#f2ecdd;font-size:12px;white-space:nowrap}.maint-row{display:grid;grid-template-columns:1.3fr .75fr 1fr auto;gap:8px;margin:10px 0;align-items:end}.maint-row .field{margin:0}.maint-entry{padding:12px;border:1px solid var(--line);border-radius:12px;margin:8px 0;display:flex;justify-content:space-between;gap:10px}.hidden{display:none!important}.color-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.color-card{padding:22px;background:var(--paper);border:1px solid var(--line);border-radius:18px}.color-dot{width:12px;height:12px;border-radius:50%}.c-red .color-dot{background:var(--red)}.c-orange .color-dot{background:var(--orange)}.c-green .color-dot{background:var(--green)}.color-card h3{margin:8px 0 4px}.color-card p,.food-caveat{font-size:13px;color:var(--muted);line-height:1.85}.food-caveat{margin-top:15px}.tools{padding:22px 24px;background:#eaece3;border-radius:18px;display:flex;justify-content:space-between;gap:20px;align-items:center}.tools p{font-size:13px;color:var(--muted);margin:3px 0}.tool-actions{display:flex;gap:8px;flex:none}.sources{padding:20px 22px;background:#fffefa;border:1px solid var(--line);border-radius:16px;font-size:14px}.sources summary{cursor:pointer;font-weight:700}.sources p,.sources li{color:var(--muted);font-size:13px}.sources li{margin:5px 0}.source-date{font-size:11px!important}footer{display:flex;justify-content:space-between;padding:25px clamp(20px,6vw,90px);border-top:1px solid var(--line);font-size:12px;color:var(--muted)}dialog{padding:0;border:0;border-radius:20px;max-width:520px;width:calc(100% - 28px);box-shadow:0 20px 80px #1115}dialog::backdrop{background:#14251eb3}.dialog-card{padding:26px;position:relative}.dialog-card h2{margin:0 0 14px}.dialog-card label{display:block;font-size:14px;font-weight:700;margin:11px 0}.dialog-card input{display:block;width:100%;padding:10px;border:1px solid #d9ddd2;border-radius:10px;margin-top:5px}.close{position:absolute;left:15px;top:15px;background:transparent;font-size:26px;color:var(--muted)}.empty{text-align:center;padding:22px;color:var(--muted)}.chart{width:100%;height:120px;border-bottom:1px solid var(--line);display:flex;align-items:end;gap:5px;padding:10px}.bar{flex:1;background:#8bb084;border-radius:5px 5px 0 0;min-width:6px;position:relative}.bar span{position:absolute;top:-20px;left:50%;transform:translateX(-50%);font-size:10px;color:var(--muted)}
@media(max-width:900px){.hero,.journey,.food-guide,.tools,.workspace,.sources,.safety{margin-right:20px;margin-left:20px}.hero{padding-top:55px;gap:20px}.stage-grid{grid-template-columns:repeat(2,1fr)}.hero-art{transform:scale(.88)}}@media(max-width:620px){.top{height:auto;min-height:70px;padding:10px 15px}.brand b{font-size:14px}.brand small{font-size:10px}.mark{width:36px;height:36px}.top-actions{gap:6px}.save-status{display:none}.iconbtn{padding:6px 9px;font-size:12px}.hero{display:block;padding:42px 20px 30px;margin:0;min-height:auto}.hero h1{font-size:38px}.lead{font-size:16px}.hero-art{height:240px;margin-top:5px}.plate{transform:scale(.8) rotate(-18deg)}.safety{margin:15px 14px 48px;padding:16px}.journey,.food-guide,.tools,.workspace,.sources{margin:0 14px 48px}.section-head{display:block}.section-head h2,.workspace h2,.tools h2{font-size:21px}.mini-note{display:block;margin-top:6px}.stage-grid,.color-grid{grid-template-columns:1fr}.stage-card{min-height:0}.workspace{padding:18px 14px}.workspace-head{display:block}.progress-badge{display:inline-block;margin-top:12px}.tabs{margin-right:-4px}.symptom-list,.form-grid{grid-template-columns:1fr}.week-grid{grid-template-columns:repeat(3,1fr)}.food-categories{grid-template-columns:1fr}.challenge-row{grid-template-columns:1fr}.maint-row{grid-template-columns:1fr 1fr}.tools{display:block;padding:18px}.tool-actions{margin-top:13px;flex-wrap:wrap}footer{display:block;padding:20px}footer span{display:block}.button-row{flex-direction:column}.button-row button{width:100%}}

/* Interactive atlas, walkthrough, and private meal-symptom timeline */
.hero-art{height:auto;display:block;transform:none;position:relative}.hero-food-image{display:block;width:100%;height:auto;max-height:380px;object-fit:cover;border-radius:24px;box-shadow:var(--shadow);border:7px solid #fffefa}.image-caption{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:10px;font-size:11px;color:var(--muted)}.legend-dot{width:9px;height:9px;border-radius:50%;display:inline-block}.red-dot{background:var(--red)}.orange-dot{background:var(--orange)}.green-dot{background:var(--green)}.walkthrough,.atlas{max-width:1136px;margin:0 auto 70px}.walk-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}.walk-steps{display:grid;gap:8px}.walk-step{display:flex;align-items:center;gap:13px;text-align:right;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:13px 15px;min-height:76px;color:var(--ink)}.walk-step.active{border-color:#849b84;box-shadow:0 0 0 2px #6f9b6820;background:#f2f4ec}.walk-step b,.walk-step small{display:block}.walk-step small{font-size:12px;color:var(--muted);line-height:1.55;margin-top:3px}.walk-badge{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#e9e8dc;color:#58725b;flex:none;font-weight:800}.walk-step.active .walk-badge{background:var(--green);color:white}.walk-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:330px;background:#eeeee3;border-radius:20px;overflow:hidden;position:relative}.walk-plate{width:190px;height:190px;border-radius:50%;background:#fffefa;border:8px solid #dcdccb;display:grid;place-items:center;position:relative;box-shadow:0 16px 30px #263d2e18}.walk-center{width:54px;height:54px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:23px;font-weight:800;z-index:1}.walk-food{position:absolute;font-size:34px;transition:transform .7s ease,opacity .7s ease}.wf-red{top:24px;right:32px}.wf-orange{bottom:24px;right:36px}.wf-green{bottom:24px;left:36px}.walk-plate[data-step="2"] .wf-red{transform:translate(0,55px) scale(.75);opacity:.3}.walk-plate[data-step="3"] .wf-green{transform:translate(53px,-38px) scale(1.2)}.walk-plate[data-step="4"] .wf-orange{transform:translate(-44px,-40px) scale(1.2)}.walk-dots{display:flex;gap:6px;margin-top:18px}.walk-dots i{width:7px;height:7px;border-radius:50%;background:#bdc3b3;animation:pulse 1.7s infinite alternate}.walk-dots i:nth-child(2){animation-delay:.25s}.walk-dots i:nth-child(3){animation-delay:.5s}.walk-dots i:nth-child(4){animation-delay:.75s}.walk-visual p{font-size:13px;color:#53665d;margin:6px 12px}.atlas{padding:27px;background:var(--paper);border:1px solid var(--line);border-radius:22px}.atlas .section-head{align-items:center}.atlas .panel-intro{max-width:680px;margin:6px 0}.atlas-count{font-size:12px;color:var(--muted);white-space:nowrap}.atlas-controls{display:grid;grid-template-columns:1fr 190px 220px;gap:9px;margin:18px 0}.atlas-controls input,.atlas-controls select{min-height:46px;padding:10px 13px;border-radius:11px;border:1px solid #d9ddd2;background:white;color:var(--ink)}.food-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.food-tile{border:1px solid var(--line);border-radius:15px;padding:15px;background:#fff;position:relative;overflow:hidden;min-height:248px}.food-tile:before{content:'';height:4px;position:absolute;top:0;right:0;left:0}.color-red:before{background:var(--red)}.color-orange:before{background:var(--orange)}.color-green:before{background:var(--green)}.tile-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.tile-color{font-size:12px;font-weight:800}.color-red .tile-color{color:var(--red)}.color-orange .tile-color{color:#a5662b}.color-green .tile-color{color:#567b50}.tile-category{font-size:10px;color:var(--muted)}.food-tile h3{font-size:17px;margin:9px 0 5px}.food-tile p{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 8px}.tile-alt{font-size:11px;color:#53665d;background:#f5f4ed;border-radius:9px;padding:8px;line-height:1.65}.tile-log{font-size:12px;margin-top:10px;padding:5px 11px;min-height:36px}.atlas-note{font-size:12px;color:var(--muted);line-height:1.75;margin:15px 0 0}.timeline-intro{background:#f4f3eb;padding:13px 15px;border-radius:13px}.timeline-intro h3{margin:0 0 5px}.timeline-intro p{font-size:13px;color:var(--muted);margin:0}.subtabs{display:flex;gap:7px;overflow:auto;padding:15px 0}.subtab{background:transparent;border:1px solid var(--line);border-radius:24px;padding:7px 14px;font-size:13px;white-space:nowrap;color:var(--ink)}.subtab.active{background:#e9f0e5;border-color:#b6c9b1}.body-map{width:100%;max-width:240px;height:120px;display:block;margin:8px auto}.insight-card{border:1px solid var(--line);border-radius:14px;padding:14px;margin:10px 0}.insight-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.insight-head h4{margin:0}.insight-head span{font-size:11px;color:#8b5c36;background:#f5eee1;border-radius:20px;padding:4px 9px}.insight-card p{font-size:13px;color:var(--muted);margin:7px 0}.insight-card small{font-size:11px;color:#69786e}.window-row{display:flex;gap:7px;flex-wrap:wrap;margin:7px 0}.window-row span{background:#f1f1e9;border-radius:9px;padding:5px 9px;font-size:11px;color:#52675c}.window-row b{color:var(--ink);font-size:14px}.log-card{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:13px;padding:12px;margin:8px 0}.log-card>div{flex:1;min-width:0}.log-card p{margin:2px 0;font-size:13px}.log-card small{font-size:11px;color:var(--muted)}.log-card button{font-size:11px;white-space:nowrap}.log-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f2eee2;flex:none}.event-icon{color:var(--red);background:#f8e7e3}.log-card button:disabled{opacity:.45;cursor:not-allowed}.atlas-more{grid-column:1/-1;justify-self:center;margin:10px}.checkrow{align-items:center}
@keyframes pulse{from{transform:translateY(0);opacity:.4}to{transform:translateY(-5px);opacity:1}}
@media(max-width:900px){.walkthrough,.atlas{margin-right:20px;margin-left:20px}.food-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-food-image{max-height:320px}}
@media(max-width:620px){.walkthrough,.atlas{margin:0 14px 48px}.walk-layout{grid-template-columns:1fr}.walk-visual{min-height:260px}.atlas{padding:18px 14px}.atlas-controls{grid-template-columns:1fr 1fr}.atlas-controls input{grid-column:1/-1}.food-card-grid{grid-template-columns:1fr}.food-tile{min-height:0}.atlas .section-head{display:block}.atlas-count{display:block;margin-top:7px}.log-card{align-items:flex-start;flex-wrap:wrap}.log-card button{margin-right:44px}.image-caption{font-size:10px}}
@media(max-width:900px){.hero,.journey,.food-guide,.tools,.workspace,.sources,.safety{margin-right:20px;margin-left:20px}.hero{padding-top:55px;gap:20px}.stage-grid{grid-template-columns:repeat(2,1fr)}.hero-art{transform:scale(.88)}}@media(max-width:620px){.top{height:auto;min-height:70px;padding:10px 15px}.brand b{font-size:14px}.brand small{font-size:10px}.mark{width:36px;height:36px}.top-actions{gap:6px}.save-status{display:none}.iconbtn{padding:6px 9px;font-size:12px}.hero{display:block;padding:42px 20px 30px;margin:0;min-height:auto}.hero h1{font-size:38px}.lead{font-size:16px}.hero-art{height:240px;margin-top:5px}.plate{transform:scale(.8) rotate(-18deg)}.safety{margin:15px 14px 48px;padding:16px}.journey,.food-guide,.tools,.workspace,.sources{margin:0 14px 48px}.section-head{display:block}.section-head h2,.workspace h2,.tools h2{font-size:21px}.mini-note{display:block;margin-top:6px}.stage-grid,.color-grid{grid-template-columns:1fr}.stage-card{min-height:0}.workspace{padding:18px 14px}.workspace-head{display:block}.progress-badge{display:inline-block;margin-top:12px}.tabs{margin-right:-4px}.symptom-list,.form-grid{grid-template-columns:1fr}.week-grid{grid-template-columns:repeat(3,1fr)}.food-categories{grid-template-columns:1fr}.challenge-row{grid-template-columns:1fr}.maint-row{grid-template-columns:1fr 1fr}.tools{display:block;padding:18px}.tool-actions{margin-top:13px;flex-wrap:wrap}footer{display:block;padding:20px}footer span{display:block}.button-row{flex-direction:column}.button-row button{width:100%}}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Full three-color reference lists */
.three-color-lists{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.color-list-card{border:1px solid var(--line);border-radius:18px;padding:16px;background:#fff;min-width:0}.list-red{background:linear-gradient(180deg,#fff8f6,#fff 36%)}.list-orange{background:linear-gradient(180deg,#fffaf2,#fff 36%)}.list-green{background:linear-gradient(180deg,#f6fbf4,#fff 36%)}.color-list-head{display:flex;align-items:center;gap:10px}.color-list-head h3{margin:0;font-size:19px}.color-list-head small{color:var(--muted);font-size:11px}.large-color-dot{width:16px;height:16px;border-radius:50%;flex:none}.list-red .large-color-dot{background:var(--red)}.list-orange .large-color-dot{background:var(--orange)}.list-green .large-color-dot{background:var(--green)}.color-list-card>p{font-size:12px;line-height:1.75;color:#58675e;min-height:78px}.list-guidance{font-size:12px;color:var(--ink);background:#f3f2eb;border-radius:10px;padding:9px 11px;margin:10px 0}.list-guidance summary,.list-group summary{cursor:pointer;font-weight:750}.list-guidance p{margin:8px 0 2px;line-height:1.7;color:var(--muted)}.list-groups{display:grid;gap:7px}.list-group{border:1px solid #e6e7df;border-radius:11px;background:#ffffffd9;overflow:hidden}.list-group summary{padding:9px 10px;font-size:12px;display:flex;justify-content:space-between;align-items:center;list-style:none}.list-group summary::-webkit-details-marker{display:none}.list-group summary:after{content:'＋';color:var(--muted);margin-right:6px}.list-group[open] summary:after{content:'−'}.list-group summary span{margin-right:auto;margin-left:8px;font-size:10px;color:var(--muted);font-weight:500}.food-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 9px 10px}.food-chip{border:1px solid #e1e4da;background:#fff;border-radius:20px;padding:6px 9px;color:#33443a;font:inherit;font-size:11px;line-height:1.4;cursor:pointer}.food-chip:hover,.food-chip:focus-visible{border-color:#849b78;background:#f5f8f1;outline:2px solid #dce8d4}.color-list-intro{display:grid;gap:5px;background:#f0f2e9;border-radius:13px;padding:13px 15px;font-size:13px;line-height:1.7}.color-list-intro small{font-size:11px;color:#66766b}
/* Captioned animated explainer */
.program-film{max-width:1240px;margin:0 auto 48px;padding:0 38px}.film-heading{display:flex;justify-content:space-between;gap:18px;align-items:end;margin-bottom:14px}.film-heading h2{font-size:27px;margin:0}.film-heading p:not(.eyebrow){color:var(--muted);margin:5px 0;font-size:14px}.film-runtime{background:#edf2e8;border-radius:30px;padding:8px 13px;white-space:nowrap;font-size:12px;color:#4d674e}.film-player{border:1px solid var(--line);border-radius:22px;padding:14px;background:#fff;box-shadow:0 14px 34px #2235290c}.film-screen{height:clamp(280px,37vw,430px);min-height:280px;position:relative;overflow:hidden;border-radius:16px;background:radial-gradient(ellipse at 50% 44%,#315f53 0,#183e38 48%,#122b32 100%);color:white;display:grid;place-items:center;isolation:isolate}.film-screen:before,.film-screen:after{content:'';position:absolute;border:1px solid #e0edcf28;border-radius:50%;width:380px;height:380px;animation:filmDrift 16s linear infinite}.film-screen:after{width:540px;height:540px;animation-direction:reverse;animation-duration:23s}.film-stars{position:absolute;inset:0;background-image:radial-gradient(#fff9 1px,transparent 1.8px);background-size:49px 47px;opacity:.24;mask-image:linear-gradient(transparent,#000 20%,#000 84%,transparent)}.film-stage-mark{position:absolute;top:20px;right:22px;background:#ffffff17;border:1px solid #ffffff2b;padding:7px 12px;border-radius:30px;font-size:12px}.film-icon{position:absolute;top:22%;font-size:clamp(48px,8vw,82px);filter:drop-shadow(0 8px 12px #0004);animation:filmFloat 2.8s ease-in-out infinite}.film-orbit{position:absolute;top:27%;width:min(360px,65vw);height:110px;animation:filmSpin 18s linear infinite}.orbit-food{position:absolute;font-size:34px;filter:drop-shadow(0 5px 8px #0005);animation:filmCounterSpin 18s linear infinite}.orbit-red{right:0;top:25px}.orbit-orange{left:calc(50% - 17px);top:-4px}.orbit-green{left:0;top:25px}.film-caption{position:absolute;bottom:0;right:0;left:0;text-align:center;padding:45px 22px 20px;background:linear-gradient(transparent,#102b2beF 40%);display:grid;gap:7px;min-height:130px;align-content:end}.film-caption b{font-size:clamp(19px,3vw,27px)}.film-caption span{max-width:780px;margin:auto;color:#e3ebe3;font-size:14px;line-height:1.8}.film-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:12px 2px 5px}.film-controls button{min-height:39px}.film-time{font-variant-numeric:tabular-nums;color:var(--muted);font-size:12px;margin-right:auto}.film-controls progress{width:100%;height:8px;accent-color:#60815c}.film-scene-tabs{display:flex;gap:7px;overflow:auto;padding:8px 0 12px}.film-scene-tab{border:1px solid var(--line);background:#fafaf6;border-radius:22px;padding:7px 11px;white-space:nowrap;color:var(--ink);font:inherit;font-size:11px;cursor:pointer}.film-scene-tab.active{background:#e6efe2;border-color:#94ad8b}.film-transcript{border-top:1px solid var(--line);padding:12px 4px 3px;font-size:13px}.film-transcript summary{cursor:pointer;font-weight:750}.film-transcript ol{padding-right:22px;line-height:1.8;color:#58675e}.film-transcript li{padding:4px 0}.film-screen[data-scene="1"] .film-icon,.film-screen[data-scene="4"] .film-icon{animation:filmPop .7s ease-in-out infinite alternate}.film-screen[data-scene="2"] .orbit-red{transform:scale(1.35);filter:drop-shadow(0 0 12px #f18472)}.film-screen[data-scene="3"] .orbit-orange{transform:scale(1.35);filter:drop-shadow(0 0 12px #f5be5d)}.film-screen[data-scene="6"] .orbit-green{transform:scale(1.45);filter:drop-shadow(0 0 12px #91d18d)}
@keyframes filmFloat{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-13px) rotate(5deg)}}@keyframes filmSpin{to{transform:rotate(360deg)}}@keyframes filmCounterSpin{to{transform:rotate(-360deg)}}@keyframes filmDrift{to{transform:rotate(360deg) scale(1.12)}}@keyframes filmPop{from{transform:scale(.92)}to{transform:scale(1.08)}}
@media(max-width:900px){.three-color-lists{grid-template-columns:1fr}.color-list-card>p{min-height:0}.program-film{margin:0 20px 40px;padding:0}.film-heading{align-items:start;display:block}.film-runtime{display:inline-block;margin-top:8px}}
@media(max-width:620px){.program-film{margin:0 14px 38px}.film-heading h2{font-size:22px}.film-player{padding:8px;border-radius:16px}.film-screen{height:340px;min-height:340px}.film-stage-mark{top:12px;right:12px}.film-icon{top:24%}.film-caption{padding:35px 13px 15px}.film-caption span{font-size:12px}.film-controls{gap:6px}.film-controls button{font-size:12px;padding:7px 10px}.film-time{font-size:10px}}
.film-voice-status{flex:1 0 100%;font-size:12px;color:var(--muted);line-height:1.6}.top-actions .iconbtn{white-space:nowrap}
.share-panel{position:sticky;top:68px;z-index:20;max-width:850px;margin:10px auto;padding:16px 18px;background:#fff;border:1px solid #cfd8c9;border-radius:15px;box-shadow:0 12px 30px #1e33221a}.share-panel p{margin:4px 0 10px;color:var(--muted);font-size:13px;line-height:1.6}.share-link-label{display:block;font-size:12px;font-weight:700;margin:8px 0 5px}.share-link-row{display:flex;gap:8px}.share-link-row input{flex:1;min-width:100px;border:1px solid var(--line);border-radius:9px;padding:10px;direction:ltr;text-align:left;background:#fafaf6}.share-panel [role=status]{display:block;font-size:12px;color:#4c6b4a;margin-top:6px}.share-panel.hidden{display:none}@media(max-width:620px){.share-panel{top:60px;margin:8px 12px;padding:13px}.share-link-row{flex-wrap:wrap}.share-link-row input{flex-basis:100%}.share-link-row button{flex:1}}

/* Full-length 4:27 explainer video, preserve portrait framing and controls */
.program-video{display:block;width:min(100%,540px);max-height:78vh;aspect-ratio:9/16;margin:0 auto;background:#000;object-fit:contain;border-radius:16px}
@media(max-width:620px){.program-video{width:100%;max-height:72vh;border-radius:12px}}


/* Advanced program components */
.booklet-download{max-width:1100px;margin:0 auto 36px;padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--paper);box-shadow:var(--shadow);display:flex;align-items:center;justify-content:space-between;gap:24px}.booklet-copy{max-width:740px}.booklet-download h2{margin:0 0 8px;font-size:clamp(22px,3vw,30px)}.booklet-download p{margin:7px 0;color:var(--muted)}.booklet-download .booklet-note{font-size:14px}.booklet-button{display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;white-space:nowrap;min-height:48px}.booklet-button:focus-visible{outline:3px solid var(--orange);outline-offset:3px}.profile-dialog{max-width:min(760px,calc(100vw - 24px));max-height:90vh;overflow:auto;border:0;border-radius:22px;padding:0;background:transparent}.profile-dialog::backdrop{background:#122b25a8;backdrop-filter:blur(3px)}.profile-dialog .dialog-card{max-width:none;overflow:visible}.profile-dialog fieldset{border:1px solid var(--line);border-radius:14px;padding:14px;margin:18px 0}.profile-dialog legend{font-weight:800;padding:0 8px}.risk-gate label{display:flex;gap:10px;align-items:flex-start;margin:9px 0}.risk-gate input,.checkrow input{width:18px;height:18px;flex:none}.daily-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.daily-slot{border:1px solid var(--line);border-radius:16px;background:var(--paper);padding:16px}.slot-label{display:inline-block;font-weight:800;color:#8e654a;margin-bottom:6px}.slot-plan{min-height:74px;color:var(--muted);font-size:14px}.daily-slot label{display:block;font-size:14px;font-weight:700;margin-top:10px}.daily-slot input{width:100%;margin-top:4px}.challenge-day{min-width:220px;border:1px solid var(--line);border-radius:14px;padding:12px}.challenge-day legend{font-weight:800}.challenge-day label{display:block;margin:8px 0;font-size:14px}.challenge-day input,.challenge-day select{width:100%;margin-top:4px}.personal-color{margin-top:14px;padding:16px;border-radius:14px;border:1px solid var(--line)}.color-result-green{background:#e7f2e4}.color-result-greenYellow{background:linear-gradient(110deg,#e7f2e4 50%,#fff2d9 50%)}.color-result-yellow{background:#fff2d9}.color-result-yellowRed{background:linear-gradient(110deg,#fff2d9 50%,#f8e5e0 50%)}.color-result-red{background:#f8e5e0}.personal-color p{margin:6px 0}.daily-menu-grid+.symptom-list{margin-top:12px}.profile-dialog .dialog-card>h2{margin-top:0}.profile-dialog .form-grid textarea{min-height:78px}.profile-dialog .primary{width:100%}@media(max-width:620px){.booklet-download{display:block;margin:14px 14px 34px;padding:18px}.booklet-button{display:flex;margin-top:16px;white-space:normal}.daily-menu-grid{grid-template-columns:1fr}.profile-dialog .dialog-card{padding:24px 16px}.challenge-row{display:grid;grid-template-columns:1fr}}

/* Original Egyptian recipe library */
.recipe-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.recipe-filters label{display:grid;gap:5px;font-size:13px;font-weight:700}.recipe-filters input,.recipe-filters select{width:100%;min-height:42px;border:1px solid var(--line);border-radius:10px;padding:8px 10px;background:#fff;font:inherit}.recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.recipe-card{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 6px 18px #2235290a}.recipe-card[hidden]{display:none}.recipe-card>img{display:block;width:100%;aspect-ratio:1.55;object-fit:cover;background:#f1f0e9}.recipe-card-body{padding:16px}.recipe-meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:11px}.recipe-meta span{padding:4px 8px;border-radius:18px;background:#f1f2ec}.recipe-card h3{margin:10px 0 6px;font-size:20px}.recipe-card-body>p{font-size:13px;line-height:1.7;color:var(--muted)}.recipe-phase-badge{display:inline-block;margin:2px 0 8px;border-radius:18px;padding:6px 10px;font-size:11px;font-weight:800;background:#edf2e8;color:#476343}.phase-review{background:#fff1d8;color:#895d1d}.phase-personalized{background:#eee9f5;color:#614d7a}.recipe-personal-note{padding:8px 10px;border-radius:10px;background:#fff2d9!important;color:#7f5519!important}.recipe-details{margin:10px 0;padding:10px 0;border-top:1px solid var(--line)}.recipe-details summary{cursor:pointer;font-weight:800}.recipe-details h4{margin:14px 0 6px}.recipe-details ul,.recipe-details ol{padding-right:22px;line-height:1.8}.recipe-details li{padding:3px 0}.recipe-details ul li{display:flex;justify-content:space-between;gap:12px}.recipe-details ul li b{white-space:nowrap;color:var(--muted);font-size:12px}.recipe-log-button{width:100%;margin-top:6px}.recipe-action-note{display:block;margin-top:7px;color:var(--muted);line-height:1.6}.recipe-disclaimer{font-size:12px;line-height:1.7;color:var(--muted);margin-top:16px}@media(max-width:720px){.recipe-grid{grid-template-columns:1fr}.recipe-filters{grid-template-columns:1fr}.recipe-card-body{padding:13px}}

/* Phone support: iOS safe areas, readable form controls and touch-sized actions. */
html{scroll-padding-top:calc(82px + env(safe-area-inset-top));-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{padding-bottom:env(safe-area-inset-bottom);overflow-x:hidden}
button,a,summary,select,input[type=checkbox],input[type=radio]{-webkit-tap-highlight-color:transparent}
button,.iconbtn,.primary,.secondary,.danger,.film-scene-tab{touch-action:manipulation}
input,select,textarea{font-size:16px}
img,video{max-width:100%}
.program-video{height:auto;max-height:78svh;aspect-ratio:9/16;object-fit:contain}
.top{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}
.food-card-grid,.recipe-grid,.stage-grid,.three-color-lists{min-width:0}
@media(max-width:620px){
 html{scroll-padding-top:calc(112px + env(safe-area-inset-top))}
 .top{position:sticky;top:0;min-height:64px;height:auto;padding-top:max(8px,env(safe-area-inset-top));padding-bottom:8px;gap:8px;flex-wrap:wrap}
 .brand{min-width:0;flex:1 1 180px;gap:8px}.brand b{font-size:13px}.brand small{font-size:10px}
 .top-actions{flex:1 1 100%;justify-content:flex-end;gap:7px}.iconbtn,.top-actions button{min-height:44px;padding:8px 10px;font-size:12px}
 .program-film,.walkthrough,.atlas,.booklet-download,.safety,.workspace,.journey,.food-guide,.tools,.sources{scroll-margin-top:118px}
 .program-film{margin-left:max(12px,env(safe-area-inset-left));margin-right:max(12px,env(safe-area-inset-right))}
 .program-video{width:100%;max-height:70svh;border-radius:12px}
 .film-player{padding:6px}
 .hero-actions{flex-wrap:wrap}.hero-actions>*{flex:1 1 100%;min-height:48px}
 .atlas-controls,.recipe-filters{grid-template-columns:1fr;gap:10px}.atlas-controls input{grid-column:auto}
 .share-panel{top:calc(110px + env(safe-area-inset-top));max-height:75svh;overflow:auto}
 .dialog-card{max-height:calc(100svh - 24px);overflow-y:auto;overscroll-behavior:contain;padding-bottom:max(22px,env(safe-area-inset-bottom))}
 .button-row button,.tool-actions button,.workspace button{min-height:46px}
 .week-grid{gap:6px}.week-grid>*{min-width:0}
 .food-tile,.daily-slot,.recipe-card{min-width:0}
}
@media(max-width:380px){.top-actions{justify-content:stretch}.top-actions>*{flex:1}.hero h1{font-size:34px}.maint-row{grid-template-columns:1fr}.program-video{max-height:64svh}}
@media(orientation:landscape) and (max-height:500px){.program-video{max-height:82svh}.top{position:relative}}
