:root{--ink:#193d33;--muted:#707b71;--paper:#f8f9f3;--green:#163f35;--lime:#d3ecad;--line:#dfe5d9;--orange:#c58546;--mint:#91bca3;--yellow:#d5c17e}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #7eac55;outline-offset:4px}.wrap{max-width:1240px;margin:0 auto;padding-left:44px;padding-right:44px}.header{max-width:1328px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:27px 44px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:9px;font-size:25px;font-weight:750;letter-spacing:-1.1px}.brand-icon{display:grid;place-items:center;background:var(--green);color:var(--lime);width:31px;height:34px;border-radius:12px 4px 12px 4px;font-size:29px;font-weight:400}.beta{font-size:9px;letter-spacing:1px;margin-left:6px;border:1px solid #becab7;padding:4px 6px;border-radius:5px;align-self:center;font-weight:500}.header nav{display:flex;gap:31px;align-items:center;font-size:13px}.plain{background:none;border:0;padding:0;font-size:inherit}.header nav a:hover,.plain:hover{color:#588551}.language{background:transparent;border:1px solid #cdd7c5;border-radius:30px;padding:9px 14px;font-size:12px}.language span{margin-left:11px}.hero{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;padding-top:65px;padding-bottom:67px;gap:36px}.eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:700;display:inline-flex;align-items:center;gap:9px}.eyebrow i{background:#6f9b58;width:6px;height:6px;border-radius:100%}h1{font-size:54px;letter-spacing:-2.6px;line-height:1.07;font-weight:500;margin:23px 0 22px}h1 em{font-family:Georgia,serif;font-weight:400;color:#678a4c}h2{font-size:31px;line-height:1.18;letter-spacing:-1.1px;font-weight:500;margin:13px 0 0}.hero-copy>p{font-size:15px;line-height:1.7;max-width:432px;color:#697667;margin:0 0 29px}.button{display:inline-flex;justify-content:space-between;align-items:center;gap:42px;padding:17px 23px;border-radius:9px;border:0;font-size:13px;font-weight:600;transition:transform .2s,background .2s}.primary{background:var(--green);color:white}.primary:hover{background:#2f5942;transform:translateY(-2px)}.button span:last-child{font-size:20px;font-weight:400}.hero-notes{display:flex;gap:18px;font-size:10px;color:#6c7968;margin-top:22px;flex-wrap:wrap}.hero-notes span:before{content:'✓';margin-right:5px;color:#5f8a48}.hero-art{position:relative;height:410px;isolation:isolate}.hero-art svg{width:100%;height:100%;position:relative;z-index:1}.orbit{border:1px solid #dce6cc;position:absolute;border-radius:100%;z-index:-1}.orbit-one{width:350px;height:350px;left:50%;top:50%;transform:translate(-50%,-50%)}.orbit-two{width:420px;height:420px;left:50%;top:50%;transform:translate(-50%,-50%)}.art-tag{font-size:8px;line-height:1.7;letter-spacing:1.2px;position:absolute;left:3px;top:50px;color:#6a815c;transform:rotate(-7deg)}.art-tag strong{font-weight:400}.floating-label{position:absolute;right:8px;top:108px;z-index:2;background:#fffdf6;border:1px solid #e0e7d8;padding:12px 15px;font-size:14px;border-radius:12px;box-shadow:0 6px 20px #244f3510;transform:rotate(7deg)}.floating-label b{color:#648c48;margin-left:14px}.art-caption{position:absolute;bottom:0;left:50%;transform:translateX(-50%);font-family:Georgia,serif;font-style:italic;font-size:12px;white-space:nowrap;color:#7a8c6b}.calculator-section{padding:45px 0 46px;background:#edf1e6;border-block:1px solid #e2e7d9}.section-top{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:30px}.section-top p{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 2px}.workspace{display:grid;grid-template-columns:1.37fr 1fr;gap:26px;align-items:start}.mode-switch{display:flex;background:#e0e7d8;border-radius:9px;padding:4px;gap:4px}.mode-switch button{border:0;background:transparent;padding:12px 8px;font-size:12px;flex:1;border-radius:6px;color:#6b7865;transition:all .2s}.mode-switch button.active{background:#fafbf7;color:var(--ink);box-shadow:0 2px 4px #264a3010}.example-note{display:flex;justify-content:space-between;font-size:10px;color:#7a8572;margin:15px 0;gap:10px}.example-note button{text-decoration:underline;text-underline-offset:3px}.scope-note{font-size:11px;line-height:1.5;margin:-3px 0 16px;color:#69785f;min-height:17px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.input-card{background:#fafbf7;border:1px solid #dfe5d6;border-radius:12px;padding:19px 19px 18px;min-width:0}.input-card h3{font-weight:600;font-size:14px;margin:0;display:flex;align-items:center;gap:9px}.card-icon{background:#e9efdf;display:grid;place-items:center;width:29px;height:29px;border-radius:9px;font-size:16px}.input-card p{color:#7d8776;font-size:10px;line-height:1.5;margin:10px 0 14px;min-height:30px}.input-card label{font-size:10px;color:#697860;display:block;margin:13px 0 7px}.input-row{display:flex;align-items:center;border:1px solid #d9e1d0;background:white;border-radius:7px;min-width:0}.input-row input{width:100%;min-width:0;border:0;background:transparent;padding:10px 11px;outline-offset:0;font-size:17px;color:var(--ink)}.input-row span{white-space:nowrap;margin-right:10px;font-size:10px;color:#7b8871}.input-card select,.select-row select{width:100%;border:1px solid #d9e1d0;background:white;border-radius:7px;padding:10px 26px 10px 10px;color:var(--ink);font-size:11px;min-height:39px}.input-card .hint{font-size:9px;color:#84907b;display:block;margin-top:7px;line-height:1.5}.input-card details{margin-top:12px}.input-card details summary{font-size:10px;color:#708263;cursor:pointer}.input-card details label{font-size:9px}.input-footer{display:flex;gap:8px;font-size:10px;color:#7b8872;line-height:1.7;margin:18px 0 0}.input-footer>span:first-child{font-size:16px;color:#6f8c56}.family-row{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;background:#e5ecda;border-radius:9px;margin-bottom:14px;gap:10px}.family-row label{font-size:11px}.family-row input{width:58px;padding:7px;border:1px solid #cbd7be;border-radius:5px;background:#f9fbf5;color:var(--ink)}.result-panel{background:var(--green);color:#fbfbed;border-radius:15px;padding:25px 27px 0;overflow:hidden;position:sticky;top:22px;min-height:540px}.result-header{display:flex;justify-content:space-between;align-items:center;gap:5px}.result-header .eyebrow{font-size:8px;color:#b8cba9;letter-spacing:1.5px}.period-switch{display:flex;border:1px solid #57745a;border-radius:20px;padding:3px}.period-switch button{border:0;background:none;color:#c0cdb5;font-size:9px;padding:6px 11px;border-radius:20px}.period-switch .active{background:var(--lime);color:var(--green)}.result-number{font-size:66px;line-height:1;font-weight:400;letter-spacing:-3px;margin:30px 0 7px}.result-unit{font-size:11px;color:#c1d1b6}.per-person{font-size:10px;margin-top:10px;color:#a4bea0}.result-caption{font-size:10px;line-height:1.6;color:#b7cbb0;margin:17px 0 24px;max-width:310px}.result-visual{display:flex;gap:24px;align-items:center;padding:22px 0;border-block:1px solid #41624d}.donut{height:114px;width:114px;flex:none;border-radius:50%;display:grid;place-items:center}.donut-core{height:85px;width:85px;border-radius:50%;background:var(--green);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:23px;letter-spacing:-1px}.donut-core span{font-size:8px;letter-spacing:1px;margin-top:3px;color:#a5bea0}.legend{flex:1;display:flex;flex-direction:column;gap:13px;font-size:10px}.legend-row{display:flex;justify-content:space-between;gap:7px}.legend-label{display:flex;align-items:center;gap:6px;color:#c6d5ba}.dot{width:6px;height:6px;display:inline-block;border-radius:2px}.legend-row b{font-weight:400;white-space:nowrap}.result-insight{font-family:Georgia,serif;font-size:19px;line-height:1.5;padding:21px 0 24px;min-height:90px;color:#deebcb}.result-insight strong{font-weight:400;color:var(--lime)}.result-method{display:flex;justify-content:space-between;width:calc(100% + 54px);margin:0 -27px;background:#ffffff08;color:#c8d9ba;border:0;border-top:1px solid #41624d;padding:16px 27px;font-size:10px}.result-method:hover{background:#ffffff11}.invalid{color:#f5cbad;font-size:15px;line-height:1.7;padding:90px 0}.scenario{margin-top:32px;background:#e0e9d3;border:1px solid #d4dfc4;border-radius:13px;padding:26px;display:grid;grid-template-columns:1fr 1.2fr .85fr;gap:30px;align-items:center}.scenario .eyebrow{font-size:9px}.scenario h2{font-size:24px;letter-spacing:-.6px;margin-top:11px}.scenario-intro p{font-size:10px;line-height:1.7;max-width:220px;color:#708163;margin:11px 0 0}.range-row{margin:0 0 18px}.range-row:last-child{margin:0}.range-label{display:flex;justify-content:space-between;font-size:10px;margin-bottom:7px;gap:10px}.range-label output{font-weight:700;white-space:nowrap}.range-row input{width:100%;height:4px;accent-color:#477448;cursor:pointer;margin:8px 0;display:block}.scenario-impact{border-left:1px solid #c5d3b4;padding-left:25px;display:flex;flex-direction:column;gap:5px}.scenario-impact>span{font-size:9px;color:#738761}.scenario-impact>strong{font-size:43px;font-weight:400;letter-spacing:-1.5px;color:#3c6d3b}.scenario-impact p{font-size:10px;line-height:1.6;color:#6a7f5b;max-width:160px;margin:7px 0 0}.next-section{padding-top:62px;padding-bottom:59px}.tips{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.tip{border-top:1px solid #cdd8c3;padding-top:20px}.tip-top{display:flex;justify-content:space-between;align-items:center;color:#8c9c7c;font-size:10px}.tip-icon{font-size:21px;font-weight:400}.tip h3{font-size:17px;font-weight:500;margin:17px 0 10px;line-height:1.4;letter-spacing:-.2px}.tip p{font-size:12px;line-height:1.8;color:#79836f;margin:0;max-width:275px}.about-section{display:grid;grid-template-columns:1fr 1fr;gap:70px;padding-top:35px;padding-bottom:43px;border-top:1px solid var(--line)}.about-section h2{font-size:32px}.about-section p{font-size:13px;line-height:1.85;margin:0 0 15px}.about-section .muted{color:#7c8573;font-size:11px}.text-link{background:none;border:0;border-bottom:1px solid #a6b894;padding:0 0 5px;font-size:11px;margin-top:5px}.faq-section{padding-top:10px;padding-bottom:60px}.faq-section h2{font-size:25px;margin-bottom:24px}.faq-section details{border-top:1px solid var(--line);padding:17px 0}.faq-section details:last-child{border-bottom:1px solid var(--line)}.faq-section summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;font-size:12px}.faq-section summary:after{content:'+';color:#80936e;font-size:17px}.faq-section details[open] summary:after{content:'−'}.faq-section details p{font-size:12px;line-height:1.8;color:#738168;max-width:800px;margin:12px 0 0}footer{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;padding-top:25px;padding-bottom:28px;border-top:1px solid var(--line)}footer .brand{font-size:20px}footer .brand-icon{width:26px;height:28px;font-size:23px}footer>span{font-size:10px;color:#839078}footer>div{display:flex;gap:21px;font-size:10px}footer small{grid-column:1/-1;font-size:9px;color:#8a967f}dialog{border:1px solid #ced9c3;background:#fafbf5;color:var(--ink);max-width:750px;width:calc(100% - 32px);max-height:85vh;overflow:auto;border-radius:17px;padding:25px 30px;box-shadow:0 30px 100px #11352440}dialog::backdrop{background:#0f3026aa;backdrop-filter:blur(5px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.close{background:#e8eedd;border:0;border-radius:50%;width:31px;height:31px;font-size:24px}.dialog-header .brand{font-size:20px}dialog h2{font-size:27px;margin:0 0 18px}dialog h3{font-weight:500;font-size:17px;margin-top:25px}dialog p,dialog li{font-size:12px;line-height:1.8;color:#697b60}dialog table{border-collapse:collapse;width:100%;font-size:11px;margin-top:20px}dialog th,dialog td{border-bottom:1px solid #dbe3d0;text-align:left;padding:11px 8px;vertical-align:top;line-height:1.6}dialog th{font-size:10px;color:#738767}dialog a{color:#3a7542;text-decoration:underline;text-underline-offset:2px}dialog .callout{padding:13px 16px;background:#e9efdf;border-radius:9px;font-size:12px;line-height:1.7}dialog .table-wrap{overflow-x:auto}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:var(--green);color:white;padding:13px 22px;border-radius:9px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:10}.toast.show{opacity:1;transform:translate(-50%,0)}.skip{position:fixed;top:-60px;left:16px;background:var(--green);color:white;padding:12px;z-index:20}.skip:focus{top:10px}@media(min-width:1450px){.hero{padding-top:90px;padding-bottom:90px}}@media(max-width:1000px){.wrap{padding-left:28px;padding-right:28px}.header{padding:23px 28px}.hero{gap:15px}h1{font-size:44px}.hero-art{height:350px}.orbit-one{width:280px;height:280px}.orbit-two{width:340px;height:340px}.hero-notes{gap:10px;font-size:9px}.workspace{grid-template-columns:1.2fr 1fr;gap:18px}.input-card{padding:15px 12px}.result-panel{padding:24px 20px 0}.result-method{width:calc(100% + 40px);margin:0 -20px;padding:16px 20px}.result-number{font-size:54px}.result-visual{gap:15px}.donut{width:90px;height:90px}.donut-core{height:67px;width:67px;font-size:19px}.scenario{gap:20px;padding:23px}.scenario h2{font-size:22px}.section-top h2{font-size:27px}.about-section{gap:40px}}@media(max-width:760px){.header nav{display:none}.header{padding:20px 22px}.wrap{padding-left:22px;padding-right:22px}.hero{grid-template-columns:1fr;padding-top:39px;padding-bottom:35px;gap:4px}h1{font-size:47px;max-width:500px}.hero-copy>p{font-size:14px;max-width:470px}.hero-art{height:285px;width:340px;max-width:100%;margin:0 auto}.orbit-one{width:220px;height:220px}.orbit-two{width:280px;height:280px}.art-caption{font-size:10px}.art-tag{font-size:6px;top:35px;left:0}.floating-label{top:75px;right:0;font-size:11px;padding:9px 11px}.hero-notes{font-size:9px;gap:17px}.section-top{display:block;margin-bottom:25px}.section-top p{margin-top:13px}.section-top p br{display:none}.calculator-section{padding-top:32px}.workspace{grid-template-columns:1fr;gap:22px}.result-panel{position:static;min-height:0;padding:24px 25px 0}.result-method{width:calc(100% + 50px);margin:0 -25px;padding:17px 25px}.result-number{font-size:66px;margin-top:28px}.result-visual{justify-content:flex-start;gap:30px}.donut{width:105px;height:105px}.donut-core{width:78px;height:78px}.legend{max-width:230px;gap:14px}.result-insight{font-size:19px;min-height:0;padding:20px 0}.result-caption{max-width:none;margin-bottom:20px}.field-grid{gap:12px}.input-card{padding:17px 14px}.input-card h3{font-size:13px}.input-card p{font-size:10px}.input-card label{font-size:10px}.input-card select{font-size:11px}.scenario{grid-template-columns:1fr;padding:23px;gap:24px;margin-top:25px}.scenario h2 br{display:none}.scenario-intro p{max-width:none;font-size:11px}.scenario-controls{padding:0 0 5px}.range-label{font-size:11px}.scenario-impact{border-left:0;border-top:1px solid #c5d3b4;padding:20px 0 0;display:grid;grid-template-columns:1fr auto}.scenario-impact>span:first-child{grid-column:1;align-self:end;font-size:11px}.scenario-impact strong{grid-row:1/3;grid-column:2;font-size:43px}.scenario-impact>span:nth-child(3){grid-row:2;align-self:center}.scenario-impact p{grid-column:1/-1;max-width:none}.next-section{padding-top:39px;padding-bottom:40px}.tips{grid-template-columns:1fr;gap:22px}.tip{padding-top:14px}.tip h3{margin-top:11px}.tip p{max-width:none}.about-section{grid-template-columns:1fr;gap:23px;padding-top:30px;padding-bottom:30px}.about-section h2 br{display:none}.about-section .eyebrow{font-size:8px}.about-section h2{font-size:29px}.faq-section{padding-bottom:37px}.faq-section h2{font-size:24px}footer{grid-template-columns:1fr auto;gap:23px}footer>span{display:none}footer>div{gap:13px;font-size:9px}dialog{padding:20px}dialog h2{font-size:24px}dialog th,dialog td{min-width:100px}.example-note{font-size:9px}}@media(max-width:380px){h1{font-size:41px}.input-card{padding:13px 10px}.card-icon{width:24px;height:24px;font-size:14px}.input-card h3{font-size:12px;gap:6px}.hero-notes{gap:10px}.result-visual{gap:20px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}@media print{.header,.hero,.mode-switch,.inputs,.scenario,.next-section,.about-section,.faq-section,footer,.result-method{display:none!important}.workspace{display:block}.calculator-section{background:white;border:0}.result-panel{position:static;background:white;color:#183e32;border:1px solid #b2c5a5}.result-caption,.result-unit,.legend-label,.result-insight,.result-header .eyebrow{color:#183e32}.result-visual{border-color:#b2c5a5}.donut{print-color-adjust:exact}.donut-core{background:white;color:#183e32}.result-header .period-switch{display:none}}
/* v0.2: mixed food inputs, tangible comparisons and personal targets */
.input-card.wide{grid-column:1/-1}.food-products{margin-top:12px;display:flex;flex-direction:column;gap:9px}.food-row{display:grid;grid-template-columns:minmax(0,1fr) 145px 26px;gap:8px;align-items:center}.food-row select{min-width:0;margin:0}.food-row .input-row input{font-size:14px;padding:9px}.food-row .input-row span{font-size:9px}.remove-food{border:0;background:#e7eddf;color:#68805b;width:25px;height:29px;border-radius:6px;font-size:21px}.remove-food:disabled{opacity:.3;cursor:default}.add-food{background:transparent;border:1px dashed #b5c6a4;border-radius:7px;padding:9px 13px;margin:13px 0 3px;font-size:11px}.add-food:hover{background:#eaf0e1}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.equivalence{background:#ffffff09;border:1px solid #4e6e51;border-radius:10px;padding:15px;margin:0 0 17px}.equivalence>span{font-size:9px;letter-spacing:1px;color:#abc59d;text-transform:uppercase}.equivalence p{font-size:13px;line-height:1.65;margin:9px 0;color:#dce9cc}.equivalence strong{font-weight:500;color:#d7edb5}.equivalence .equivalence-km{font-size:11px;color:#bacdac}.equivalence small{display:block;font-size:9px;line-height:1.6;color:#9fb995}.goal-status{padding:13px 15px;border-radius:9px;margin:0 0 14px;border:1px solid #57724f}.goal-status strong{font-weight:500;font-size:12px}.goal-status p{font-size:10px;line-height:1.7;margin:7px 0 0;color:#bbcfad}.goal-status.within{background:#b3da8220;border-color:#8aa86d}.goal-status.within strong{color:#cde8a5}.goal-status.over{background:#d5a26419;border-color:#ad8e5f}.goal-status.over strong{color:#edce9d}.goal-status.neutral{border-style:dashed}.goal-meter{height:4px;background:#ffffff17;border-radius:10px;margin-top:10px;overflow:hidden}.goal-meter span{height:100%;display:block;background:#b5d88c}.over .goal-meter span{background:#d4ab72}.target-box{padding:0 0 19px}.target-box>label{font-size:10px;color:#c6d8b5;display:block;margin-bottom:8px}.target-input{display:flex;align-items:center;border:1px solid #587450;border-radius:7px;background:#ffffff08}.target-input input{min-width:0;width:100%;padding:10px 12px;background:none;border:0;color:#edf4df;font-size:15px}.target-input input::placeholder{color:#95ad87}.target-input span{font-size:10px;white-space:nowrap;margin-right:12px;color:#b5cba6}.target-box>p{font-size:9px;line-height:1.6;color:#a2ba94;margin:9px 0 0}@media(max-width:760px){.food-row{grid-template-columns:minmax(0,1fr) 115px 24px;gap:7px}.input-card.wide{padding:17px 14px}.food-row select{font-size:10px;padding-left:8px}.food-row .input-row span{font-size:8px;margin-right:7px}.food-row .input-row input{padding:9px 8px;font-size:13px}.equivalence p{font-size:14px}}@media(max-width:370px){.food-row{grid-template-columns:minmax(0,1fr) 100px 22px;gap:5px}}

/* Device-independent arrow: follows the surrounding text color. */
.icon-arrow{display:inline-block;width:16px;height:16px;min-width:16px;flex-shrink:0;vertical-align:-.16em;overflow:visible;pointer-events:none}
.brand-icon .icon-arrow{width:20px;height:20px;min-width:20px;vertical-align:0}
footer .brand-icon .icon-arrow{width:17px;height:17px;min-width:17px}
.language .icon-arrow{width:13px;height:13px;min-width:13px}
.text-link .icon-arrow{width:13px;height:13px;min-width:13px}
/* Более читаемые пояснения */
.input-card p,
.result-caption,
.scenario-intro p,
.scenario-impact p,
.tip p,
.faq-section details p,
dialog p,
dialog li {
  font-size: 13px;
  line-height: 1.65;
}

.input-card label,
.input-card .hint,
.input-footer,
.example-note,
.legend,
.target-box > p,
.result-unit,
.range-label {
  font-size: 12px;
  line-height: 1.5;
}

.faq-section summary {
  font-size: 14px;
}

dialog table {
  font-size: 12px;
}
/* Download sits below the result card and stays with it on wide screens. */
.result-column{position:sticky;top:22px;min-width:0}
.result-column .result-panel{position:static}
.result-download{display:block;margin:13px 0 0;padding:10px 3px;border:0;background:none;color:var(--ink);font:inherit;font-size:13px;text-decoration:underline;text-underline-offset:4px;cursor:pointer;text-align:left}
.result-download:hover{color:#588551}
.result-download:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:760px){.result-column{position:static}}
@media print{.result-column{position:static}.result-download{display:none!important}}
