/* Section identity shared by web and Android. Colour supports existing labels,
   not a substitute for them; no controls or content are hidden by this theme. */
body{--section-bg:#e3eedf;--section-card:#eef5e6;--section-soft:#d5e9bf;--section-line:#b4cba4;--section-dark:#193e30;--section-text:#244631;--section-muted:#49624d;--border:var(--section-line);--muted:var(--section-muted)}
body[data-section="videa"],body[data-section="plan"]{--section-bg:#e3e8f6;--section-card:#eef0fc;--section-soft:#d7dff5;--section-line:#b5bfdc;--section-dark:#25355b;--section-text:#293f69;--section-muted:#4f5b75}
body[data-section="jedalnicek"]{--section-bg:#f3e4d2;--section-card:#fff0db;--section-soft:#f6dfbb;--section-line:#d8bb92;--section-dark:#57391f;--section-text:#674224;--section-muted:#725941}
body[data-section="pokrok"]{--section-bg:#e9e0f4;--section-card:#f2eafa;--section-soft:#e2d3f0;--section-line:#c9b4dc;--section-dark:#402958;--section-text:#4e3566;--section-muted:#655176}
body[data-section="komunita"]{--section-bg:#dceeea;--section-card:#e8f6f1;--section-soft:#cbe7df;--section-line:#a4cdc0;--section-dark:#16483f;--section-text:#215648;--section-muted:#44675e}
body[data-section="trener"],body[data-section="kontakt"]{--section-bg:#ddebf2;--section-card:#e9f4fa;--section-soft:#cce4f0;--section-line:#a5c7d6;--section-dark:#1c4354;--section-text:#26556a;--section-muted:#476578}
body[data-section="clenstvo"],body[data-section="tvorca"]{--section-bg:#ece9d8;--section-card:#f6f1db;--section-soft:#e9dfb8;--section-line:#cabe8d;--section-dark:#383e20;--section-text:#46502b;--section-muted:#626448}
body[data-section="info"]{--section-bg:#e1e9e9;--section-card:#eff5f3;--section-soft:#d2e3de;--section-line:#afc9c0;--section-dark:#2b4541;--section-text:#354f49;--section-muted:#51675f}
body .workspace{background:var(--section-bg)}
body[data-section] main{background:linear-gradient(145deg,var(--section-soft),var(--section-bg) 480px);color:var(--section-text)}
body[data-section] #view>.heading{align-items:center;background:var(--section-dark);color:#fff;border:1px solid var(--section-dark);border-radius:24px;padding:27px 30px;box-shadow:0 10px 28px #16251f0b;position:relative;overflow:hidden}
body[data-section] #view>.heading:before{content:'';position:absolute;left:0;top:25px;bottom:25px;width:5px;background:var(--lime);border-radius:0 6px 6px 0;pointer-events:none}
body[data-section] #view>.heading h1{color:#f8fbed;font-size:clamp(27px,3.1vw,43px);letter-spacing:-1px}
body[data-section] #view>.heading p,body[data-section] #view>.heading .date{color:#e0eadd}
body[data-section] #view .card:not(.nutrition-summary):not(.personal-plan-form):not(.day-overview):not(.plan-continuation):not(.community-guidance){background:var(--section-card);border-color:var(--section-line);box-shadow:0 5px 18px #26382b06}
body[data-section] #view :is(.simple-disclosure,.plan-row,.day,.exercise-item,.video-card,.community-entry){background:var(--section-card);border-color:var(--section-line)}
body[data-section] #view :is(.simple-disclosure,.calorie-details,.nutrition-settings,.nutrition-method,.personal-menu,.personal-weeks){border:1px solid var(--section-line);border-radius:18px;overflow-wrap:anywhere}
body[data-section] #view :is(.nutrition-settings,.calorie-details,.nutrition-method){padding:18px 22px;background:var(--section-card)}
body[data-section] #view :is(.simple-disclosure,.personal-menu,.personal-weeks)>summary{color:var(--section-text)}
body[data-section] #view .section-title{padding:13px 16px;background:var(--section-soft);border-radius:13px;border-left:4px solid var(--section-dark)}
body[data-section] #view .section-title h2{color:var(--section-text)}
body[data-section] #view :is(.goalbar,.audience-picker,.place-picker,.library-search,.format-switch){border-radius:15px}
body[data-section] #view :is(.audience-picker,.place-picker,.library-search){background:var(--section-card);border-color:var(--section-line)}
body[data-section] #view .segmented{background:var(--section-soft);border:1px solid var(--section-line)}
body[data-section] #view .segmented button{color:var(--section-text);min-height:44px}
body[data-section] #view .segmented button:not(.selected){background:var(--section-soft)}
body[data-section] #view .segmented button.selected{background:var(--section-dark);color:#fff;box-shadow:none}
body[data-section] #view .btn:not(.lime):not(.dark){background:var(--section-soft);border-color:var(--section-line);color:var(--section-text)}
body[data-section] #view .btn.lime{box-shadow:0 4px 0 #80a01922}
body[data-section] #view .btn:not(:disabled):hover{filter:brightness(.97)}
body[data-section] #view input:not([type="checkbox"]):not([type="range"]):not([type="radio"]),body[data-section] #view select,body[data-section] #view textarea{background:#fcfff8;color:#253b31;border-color:var(--section-line)}
body[data-section] #view :is(input,select,textarea,button,a,summary):focus-visible{outline:3px solid var(--section-dark);outline-offset:3px;box-shadow:0 0 0 6px #faffef}
body[data-section] #view .hero :is(button,a):focus-visible,body[data-section] #view .nutrition-summary :is(button,a,input,select):focus-visible{outline-color:var(--lime);box-shadow:none}
/* Training: filters, steps and plan rows form a single blue family. */
body[data-section] #view .personal-week-row{padding:15px 12px;border-radius:10px;background:var(--section-soft);margin:8px 0;border-bottom:0}
body[data-section] #view .menu-day{border-color:var(--section-line)}
body[data-section] #view .learning-body{background:var(--section-card)}
body[data-section] #view .learning-meta,body[data-section] #view .learning-intro{color:var(--section-muted)}
body[data-section] #view .plan-row.today-row{border-left:5px solid var(--section-dark);background:var(--section-soft)}
body[data-section] #view .day.current{background:var(--section-dark);color:#fff;border-color:var(--section-dark)}
body[data-section] #view .day.current :is(small,span){color:#e1eddf}
/* Nutrition: warm surfaces for preparation; the dark diary keeps totals prominent. */
body[data-section="jedalnicek"] #view .food-scanner{background:#f7deb5;border-color:#c9a679}
body[data-section="jedalnicek"] #view .planned-meals article{background:#f4dfbf;border:1px solid #d8bb92}
body[data-section="jedalnicek"] #view .food-recipe-number{color:#ad8556;opacity:.42}
body[data-section="jedalnicek"] #view .nutrition-summary{background:#283d2d;border-color:#496750;color:#f1f8e8}
body[data-section="jedalnicek"] #view .nutrition-summary select{background:#344b38;color:#f1f8e8}
body[data-section="jedalnicek"] #view .nutrition-summary .section-title{background:#344b38;border-color:var(--lime)}
body[data-section="jedalnicek"] #view .nutrition-summary .section-title h2{color:#f1f8e8}
/* Progress: completed states have text/checks as well as colour. */
body[data-section="pokrok"] #view .plan-milestones article{background:#e6d9f3;border-color:#c6afdc}
body[data-section="pokrok"] #view .plan-milestones article.achieved{background:#d9efbd;border-color:#8dab63;color:#2d4824}
body[data-section="pokrok"] #view .plan-milestones article>span{background:#cfb9e4;color:#42295b}
body[data-section="pokrok"] #view .plan-milestones article.achieved>span{background:#aecf84;color:#253d19}
body[data-section="pokrok"] #view .stat strong{color:#563a76}
body[data-section="pokrok"] #view .recap-comparison>p{background:#e2d3f0;border-radius:12px;padding:16px}
body[data-section="pokrok"] #view .history th{background:#dfceec;color:#503660}
body[data-section="pokrok"] #view .history tbody tr:nth-child(even){background:#eadcf4}
body[data-section="pokrok"] #view .planner-badges span{background:#e5d6f1;color:#523667}
body[data-section="pokrok"] #view .planner-badges .achieved{background:#d6fc53;color:#253b19}
/* Community and guidance: composing and reading remain separate clear surfaces. */
body[data-section="komunita"] #view .community-compose{border-top:4px solid #2a7460}
body[data-section="komunita"] #view .community-topic{background:#cce9df;color:#1d5444;border-color:#96bdaf}
body[data-section="komunita"] #view .community-entry{border:1px solid #a4cdc0;border-radius:18px;padding:20px}
body[data-section="komunita"] #view .community-reply-context{background:#cce9df;color:#244d40}
body[data-section="trener"] #view :is(.coach-option,.answer){background:#d1e8f1;border-color:#a3c5d5;color:#264e61}
body[data-section] #view :is(.info-banner,.motion-manifesto){background:var(--section-soft);border-color:var(--section-dark);color:var(--section-text)}
body[data-section] #view .home-membership{background:#dceac2;color:#314b26;border-color:#a9c583}
/* Account and menus are deliberately calm, tinted surfaces with clear groups. */
dialog{background:#edf4e3;color:#243c2e;border:1px solid #adc89c}
dialog .dialog-head{background:#203d30;color:#eff8df;margin:-26px -26px 22px;padding:20px 26px;gap:16px}
dialog .dialog-head .eyebrow{color:var(--lime)}
dialog .dialog-head .icon-btn{color:#243c2e;background:#e2efcf;min-width:44px;min-height:44px;flex-shrink:0}
body[data-section] #view>.heading .welcome-greeting{color:#e0eadd}
dialog :is(.account-auth-tabs,.account-summary,.account-settings,.account-photo-tools,.account-password-panel,.account-data-help,.account-device-info){background:#dfeccc;border-radius:12px;border:1px solid #b4c99f;padding:12px}
dialog .account-session-row{background:#d4e7b8;border-radius:12px;padding:12px}
dialog .account-options{border-radius:14px}
dialog input:not([type="checkbox"]):not([type="file"]),dialog textarea,dialog select{background:#fcfff6;color:#243c2e}
#navigation-dialog .nav{background:#dce9cc;color:#304b29;border:1px solid #b2c69f}
#navigation-dialog .nav.active{background:#233f30;color:#e0ff86;border-color:#233f30}
body[data-section] footer{background:var(--section-bg);color:var(--section-muted)}
@media(max-width:760px){body[data-section] #view>.heading{padding:22px 20px;border-radius:19px;align-items:flex-start}body[data-section] #view>.heading .date{white-space:normal;font-size:12px}body[data-section] #view .section-title{padding:12px;flex-wrap:wrap}dialog .dialog-head{margin:0 0 18px;padding:14px;border-radius:12px}body[data-section] #view .personal-week-row{padding:12px 10px}}
@media(prefers-reduced-motion:reduce){body[data-section] #view .btn{transition:none;transform:none}}
