/* Исходные styles.css и sections.css сохранены. Новое оформление — отдельный слой. */
.appearance-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:-9px 0 14px;font-size:11px;color:#918199}
.appearance-options{display:flex;gap:3px;padding:3px;background:#eee7f2;border:1px solid #e5dcea;border-radius:24px}
.appearance-options button{border:0;background:transparent;color:#8b749b;padding:8px 14px;min-height:38px;border-radius:20px;font-size:11px}
.appearance-options button[aria-pressed=true]{background:white;color:#734694;box-shadow:0 2px 6px #58346d10}
html[data-theme=glow]{--purple:#8d49b9;--muted:#80718b;--line:#ebddec;--pink:#f4cfe3;color:#3c274b;background:#fbf3fa}
html[data-theme=glow] body{background:radial-gradient(ellipse 900px 600px at 100% 0%,#f8e2ef 0%,transparent 70%),radial-gradient(ellipse 800px 700px at 0% 45%,#eee4fb70 0%,transparent 75%),#fbf6fa}
html[data-theme=glow] .header{border-bottom-color:#e6d7e8}
html[data-theme=glow] .brand{color:#573269}
html[data-theme=glow] .brand-symbol{background:linear-gradient(145deg,#c285cf,#9052b2 58%,#713d9a);box-shadow:inset 0 1px 2px #fff8,0 5px 13px #9052b22b;border:1px solid #ffffff90}
html[data-theme=glow] .brand-caption{color:#9a719f}
html[data-theme=glow] .avatar{background:linear-gradient(145deg,#f5c5df,#c299da);color:#744180;box-shadow:0 3px 12px #91579e20;border-color:#fff9}
html[data-theme=glow] .appearance-options{background:#f0e0f0;border-color:#e7d2e8;box-shadow:inset 0 1px 3px #9a5b9c0a}
html[data-theme=glow] .appearance-options button[aria-pressed=true]{background:linear-gradient(#fff,#fff8fc);box-shadow:0 3px 7px #79507c15;color:#8b4e9d}
html[data-theme=glow] .welcome h1,html[data-theme=glow] .page-title h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-1.1px;color:#583365}
html[data-theme=glow] .hello-dot{color:#cd83b1}
html[data-theme=glow] .welcome-text{color:#91758e}
html[data-theme=glow] .week-pill{background:linear-gradient(120deg,#f0d7ed,#e9d7f4);color:#895394;border:1px solid #ffffffb0;box-shadow:0 3px 8px #8c569712}
html[data-theme=glow] .journey{position:relative;overflow:hidden;background:linear-gradient(115deg,#9061b5 0%,#aa76be 60%,#c58dbd 100%);border-color:#bc8bcb;box-shadow:inset 0 1px 0 #ffffff65,0 9px 24px #a371b82b}
html[data-theme=glow] .journey:after{content:'✧';position:absolute;right:28px;top:17px;color:#ffffff25;font-size:90px;line-height:1;pointer-events:none}
html[data-theme=glow] .journey-top,html[data-theme=glow] .journey-bottom{color:#fff6ff;position:relative;z-index:1}
html[data-theme=glow] .journey-top strong{color:#fff}
html[data-theme=glow] .journey-track{background:#ffffff40;position:relative;z-index:1;box-shadow:inset 0 1px 3px #673c8915;height:6px}
html[data-theme=glow] .journey-track>span{background:linear-gradient(90deg,#ffe1ed,#fff7df);box-shadow:0 0 8px #ffe8ed55}
html[data-theme=glow] :is(.task-card,.training-card,.content-card,.list-row,.leader-list,.empty-state){background:linear-gradient(145deg,#fff 35%,#fffafd);border-color:#eddfec;box-shadow:0 5px 18px #75477309,0 1px 2px #75477305}
html[data-theme=glow] .task-icon{background:linear-gradient(145deg,#f3dffa,#e5d0f2);color:#9860b7;box-shadow:inset 0 1px 0 #fff,0 3px 6px #9e68b315;border:1px solid #e7d1f0}
html[data-theme=glow] .task-icon.nutrition{background:linear-gradient(145deg,#ffe7f0,#f4cfdf);border-color:#f0cedf;color:#be789f}
html[data-theme=glow] .status.confirmed{background:#e4f1e8;color:#4f795e;border:1px solid #d7e9dc}
html[data-theme=glow] .status.revision{background:#fff0dc;color:#9b6b3b;border:1px solid #f6e2c8}
html[data-theme=glow] .status.pending{background:#efddfa;color:#8b50a5;border:1px solid #e5cff2}
html[data-theme=glow] .task-detail{color:#8e7e95}
html[data-theme=glow] .task-detail.confirmed{color:#60826b}
html[data-theme=glow] .task-detail.revision{color:#a07956}
html[data-theme=glow] .task-action{background:linear-gradient(180deg,#f6eafa,#eeddf6);border:1px solid #e5cdeb;color:#884f9f;box-shadow:inset 0 1px 0 #fff,0 3px 0 #dfc8e8,0 5px 8px #8a4e9c0a}
html[data-theme=glow] :is(.primary,.secondary,.text-button,.task-action,.segments button,.list-row){transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
html[data-theme=glow] .primary{background:linear-gradient(135deg,#b172c9 0%,#9954b9 50%,#8745a8 100%);border:1px solid #9851b3;box-shadow:inset 0 1px 0 #ffffff65,0 3px 0 #773e96,0 7px 14px #9554b12b;text-shadow:0 1px 1px #693a8130;font-weight:550}
html[data-theme=glow] .secondary{background:linear-gradient(#fffafe,#f0e2f5);border-color:#dec4e6;box-shadow:inset 0 1px 0 white,0 3px 0 #e3cfe9;color:#865092}
html[data-theme=glow] .text-button{background:linear-gradient(#fff,#fff6fb);border:1px solid #ead3e7;box-shadow:0 3px 0 #e8d3e7;color:#925e9b}
html[data-theme=glow] :is(.primary,.secondary,.text-button,.task-action):active:not(:disabled){transform:translateY(2px);box-shadow:inset 0 1px 3px #66367822}
html[data-theme=glow] .primary:disabled{opacity:.5;box-shadow:none}
html[data-theme=glow] .training-time{color:#a062bc}
html[data-theme=glow] .today-chip{background:#f5e2ef;color:#a0669a!important}
html[data-theme=glow] .plate-card{background:radial-gradient(circle at 90% 5%,#fff5e680,transparent 60%),linear-gradient(130deg,#f9d9e8,#f5d8ed 70%,#ecdcf6);border-color:#edc8de;box-shadow:inset 0 1px 0 #fffc,0 7px 20px #c88aac17}
html[data-theme=glow] .plate-card p{color:#98677f}
html[data-theme=glow] .plate-card>.eyebrow{color:#ad718e}
html[data-theme=glow] .drawn-plate{box-shadow:0 4px 12px #a76d9230,inset 0 0 0 1px #eccbde;border-color:#fffbf6}
html[data-theme=glow] .kind-note{background:linear-gradient(110deg,#f1e3f5,#faeaf1);border:1px solid #efdeec;border-radius:15px;padding:17px;margin-top:22px}
html[data-theme=glow] .kind-note>span{color:#b57ab6}
html[data-theme=glow] .kind-note p{color:#94758f}
html[data-theme=glow] .kind-note strong{color:#8b5d86}
html[data-theme=glow] .row-avatar{background:linear-gradient(140deg,#f2ddf8,#e2c9ef);border:1px solid #ffffffb0;box-shadow:0 3px 8px #aa76bd17;color:#9358ad}
html[data-theme=glow] .row-avatar.pink{background:linear-gradient(140deg,#fde3ef,#edc4dc);color:#b66f98}
html[data-theme=glow] :is(.unread,.nav-count){background:linear-gradient(135deg,#bd7ac6,#9452b0);box-shadow:0 2px 5px #935bad24}
html[data-theme=glow] .segments{background:linear-gradient(110deg,#eddef5,#f1dfed);border:1px solid #e9d5eb;box-shadow:inset 0 1px 4px #aa7ebd0d}
html[data-theme=glow] .segments button[aria-pressed=true]{background:linear-gradient(#fff,#fff8fd);color:#8f539f;box-shadow:0 3px 0 #e4cde9,0 4px 9px #9c6cac10}
html[data-theme=glow] .personal-menu{background:linear-gradient(120deg,#eddbf6,#f8dfeb);border-color:#e6cbe9;box-shadow:inset 0 1px 0 #fffa}
html[data-theme=glow] .stat{background:linear-gradient(135deg,#eedcf8,#f6deed);border:1px solid #e7cfeb;box-shadow:inset 0 1px 0 #fff9,0 5px 15px #a86db911}
html[data-theme=glow] .stat strong{color:#9456ad}
html[data-theme=glow] .stat span{color:#926e9f}
html[data-theme=glow] .leader-row.self{background:linear-gradient(100deg,#eddbf7,#f9e1ee)}
html[data-theme=glow] .message{background:linear-gradient(130deg,#f0e2fa,#e9daf4);border:1px solid #e4cfef;box-shadow:0 3px 8px #9057a00b}
html[data-theme=glow] .message.mine{background:linear-gradient(130deg,#fbe2ee,#f2d6e6);border-color:#edccdf}
html[data-theme=glow] .message-meta{color:#8a639c}
html[data-theme=glow] .thread-box{background:#fcf6fc;border-color:#e7d5ea}
html[data-theme=glow] .bottom-nav{background:#fffafef5;border-color:#e7d4e8;box-shadow:0 -5px 25px #8d509510;backdrop-filter:blur(18px)}
html[data-theme=glow] .bottom-nav a{color:#a28aaf}
html[data-theme=glow] .bottom-nav a[aria-current]{color:#8b4eaa;font-weight:600}
html[data-theme=glow] .bottom-nav a[aria-current] .icon{background:#eeddf7;box-shadow:0 0 0 6px #eeddf7,0 3px 10px #a26ab31a}
html[data-theme=glow] dialog{background:linear-gradient(150deg,#fff,#fff8fd);border-color:#e6cfea;box-shadow:0 20px 90px #70437933}
html[data-theme=glow] :is(textarea,select,.measurement-grid input){background:#fffafd;border-color:#e4cfe8;box-shadow:inset 0 1px 3px #965b9c05}
@media(hover:hover){html[data-theme=glow] :is(.primary,.secondary,.text-button,.task-action):hover:not(:disabled){filter:brightness(1.035);transform:translateY(-1px)}html[data-theme=glow] .list-row:hover{box-shadow:0 8px 22px #9d69a617;transform:translateY(-1px)}}
@media(max-width:760px){.appearance-bar{margin:0 0 10px}.appearance-options button{min-height:40px;padding:8px 13px}html[data-theme=glow] .welcome h1,html[data-theme=glow] .page-title h1{font-size:32px}html[data-theme=glow] .kind-note{padding:15px;gap:11px}}
@media(max-width:370px){html[data-theme=glow] .welcome h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){html[data-theme=glow] :is(.primary,.secondary,.text-button,.task-action,.segments button,.list-row){transition:none;transform:none!important}}

/* XFIT: исходный фирменный PNG, форма сохранена; цвет меняется только при показе. */
.xfit-logo{display:block;width:92px;height:auto;object-fit:contain;filter:hue-rotate(160deg) saturate(.85) brightness(.66)}
.brand-divider{height:29px;width:1px;background:#dacbdd;display:block;margin:0 2px}
.task-icon .icon{width:26px;height:26px}
.bottom-nav .icon{width:23px;height:23px}
@media(max-width:760px){.xfit-logo{width:81px}.brand{gap:10px}.brand-divider{height:26px;margin:0}.brand-caption{font-size:7px;letter-spacing:1.6px}.task-icon .icon{width:25px;height:25px}}

/* Эмодзи в едином масштабе; цветные символы не тонируются фильтрами. */
.emoji-icon{display:inline-flex;align-items:center;justify-content:center;font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-style:normal;font-weight:400;line-height:1;font-size:22px;overflow:visible;vertical-align:middle;flex-shrink:0}
.task-icon .emoji-icon{font-size:29px;width:32px;height:32px}
.bottom-nav .emoji-icon{font-size:25px;width:27px;height:27px}
.bottom-nav a[aria-current] .emoji-icon{background:transparent;box-shadow:none;border-radius:0}
html[data-theme=glow] .bottom-nav a[aria-current] .emoji-icon{background:transparent;box-shadow:none}
.bottom-nav a[aria-current]{background:#f0e5f775;border-radius:12px}
.row-avatar .emoji-icon{font-size:27px;width:30px;height:30px}
.training-art{transform:none;color:inherit}
.training-art .emoji-icon{font-size:42px;width:48px;height:48px}
.primary .emoji-icon{font-size:20px;width:23px;height:23px}
.task-action .emoji-icon,.training-bottom .emoji-icon{font-size:17px;width:20px;height:20px}
.training-bottom .emoji-icon{font-size:18px}
@media(max-width:760px){.task-icon .emoji-icon{font-size:27px;width:30px;height:30px}.training-art .emoji-icon{font-size:34px;width:38px;height:38px}.bottom-nav .emoji-icon{font-size:24px}}
