:root{color-scheme:dark;--bg:#10251c;--panel:#193429;--panel2:#203e31;--ink:#eff8ee;--muted:#a4beac;--accent:#b7ed88;--accent-dark:#294c32;--line:#345342}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 10% 2%,#345e3e 0,transparent 35%),var(--bg);color:var(--ink);font:16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #d1ffaf;outline-offset:2px}.shell{max-width:600px;margin:auto;min-height:100dvh}header{display:flex;justify-content:space-between;align-items:center;padding:24px 22px 18px}.eyebrow{font-size:10px;letter-spacing:.18em;color:var(--muted);font-weight:700}h1{font-size:26px;margin:2px 0 0;letter-spacing:-.04em}h1 span{color:var(--accent)}h2{font-size:23px;letter-spacing:-.03em;margin:0}h3{margin:0;font-size:17px}p{margin:4px 0;color:var(--muted)}.avatar{width:43px;height:43px;display:grid;place-items:center;border-radius:50%;background:var(--accent);color:#294531;font-size:21px}main{padding:0 20px 120px}.hero{background:linear-gradient(130deg,#aee383,#79ba80);color:#183324;border-radius:24px;padding:22px;position:relative;overflow:hidden;margin-bottom:24px}.hero p{color:#345d3e}.heading{display:flex;justify-content:space-between;align-items:center;margin:20px 0 15px;gap:12px}.plus,.primary{border:0;background:var(--accent);color:#183324;font-weight:750;border-radius:15px;padding:11px 16px}.plus{font-size:26px;line-height:1;padding:9px 14px}.card{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:17px;margin:10px 0}.card-head{display:flex;align-items:start;gap:12px}.card-body{flex:1;min-width:0}.card h3,.card p{overflow-wrap:anywhere}.card p{white-space:pre-wrap;font-size:14px}.badge{display:inline-block;border-radius:99px;background:#294d37;color:#ccebc6;padding:4px 9px;font-size:12px;margin:7px 5px 0 0}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.small{border:1px solid #41634c;background:transparent;border-radius:11px;padding:7px 10px;font-size:13px}.small.active{background:#456c43}.done h3{text-decoration:line-through;opacity:.55}.empty{padding:28px 18px;text-align:center;background:#193429aa;border:1px dashed #52715a;border-radius:20px;color:var(--muted)}.chips{display:flex;overflow:auto;gap:8px;padding-bottom:6px;scrollbar-width:none}.chip{white-space:nowrap;border:1px solid var(--line);border-radius:99px;background:#1d3a2c;padding:9px 13px;color:var(--muted)}.chip.active{background:var(--accent);color:#193324;border-color:transparent;font-weight:700}.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tile{border:1px solid var(--line);background:var(--panel2);border-radius:20px;text-align:left;padding:17px;min-height:110px}.tile strong{display:block;margin:9px 0 2px}.tile span{font-size:13px;color:var(--muted)}.notice{color:#b8d6bd;font-size:13px;padding:10px 4px}.field{display:block;margin:14px 0;color:#cfe3d0;font-size:14px}.field input,.field textarea,.field select,.search{display:block;width:100%;background:#11291e;border:1px solid #45614b;border-radius:12px;color:var(--ink);padding:12px;margin-top:6px}.field textarea{min-height:90px;resize:vertical}.search{margin:8px 0 14px}.full{width:100%;padding:14px}dialog{width:min(94vw,540px);max-height:90dvh;overflow:auto;background:#1c382b;color:var(--ink);border:1px solid #4a7052;border-radius:24px;padding:22px}dialog::backdrop{background:#06140dcc}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head button{border:0;background:transparent;font-size:22px}nav{position:fixed;z-index:2;bottom:max(10px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(calc(100% - 24px),576px);display:flex;justify-content:space-around;background:#1a3429ee;border:1px solid #3a5944;border-radius:23px;backdrop-filter:blur(15px);padding:8px 4px}nav button{border:0;background:transparent;color:#a8c1ad;font-size:11px;min-width:56px;padding:5px;border-radius:15px}nav button.active{color:var(--accent);background:#34553a}#toast{position:fixed;bottom:95px;left:50%;transform:translateX(-50%);background:#e1f6d9;color:#17321f;padding:10px 15px;border-radius:12px;display:none;z-index:5;max-width:90%;text-align:center}.loading{padding:50px;text-align:center;color:var(--muted)}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.cover{width:100%;height:180px;object-fit:cover;border-radius:14px;margin-bottom:12px}
.holiday-row{display:block;width:100%;text-align:left;border:1px solid var(--line);background:var(--panel);border-radius:14px;padding:12px;margin:8px 0;color:var(--ink)}
/* Adapt the controls to the Telegram window without hidden horizontal content. */
.chips{flex-wrap:wrap;overflow:visible;gap:7px;margin:12px 0 14px;padding:0}.chip{flex:0 1 auto;text-align:center;white-space:normal;line-height:1.2;min-height:40px;padding:9px 11px}.heading{margin:18px 0 16px}.grid{gap:10px;margin:0 0 16px}.tile{min-width:0;min-height:112px;padding:15px}.tile strong{font-size:15px;line-height:1.25}.tile span{display:block;font-size:13px;line-height:1.35}.card{padding:16px}.empty{padding:24px 16px}.actions .small{min-height:38px}.search{min-width:0}.dialog-head h2{font-size:20px}.field input,.field textarea,.field select{min-height:44px}nav button{flex:1;min-width:0}nav{gap:2px}.holiday-row{line-height:1.35}
@media(max-width:360px){main{padding-left:16px;padding-right:16px}.tile{padding:13px}.tile strong{font-size:14px}.chip{font-size:13px}.heading h2{font-size:21px}nav button{font-size:10px}}
.hero h2{max-width:100%;line-height:1.2}
/* Original illustrations share a soft palette across cards and navigation. */
.avatar{background:#d9e7c5}.avatar svg{width:38px;height:38px}.tile .icon{display:block;width:38px;height:38px;stroke:none;fill:none}.nav-icon{display:block;width:27px;height:27px;margin:0 auto 3px}.central .nav-icon{width:30px;height:30px}nav button{line-height:1.2}
