:root{--bg:#f4f7fa;--surface:#fff;--ink:#172b3a;--muted:#667b8a;--line:#e3eaf0;--teal:#087c74;--teal-soft:#e6f3f0;--navy:#193b4b;--orange:#c07832;--orange-soft:#fff3e4;--red:#b83e49;--red-soft:#fff0f1;--blue:#5277a8;--radius:20px;--shadow:0 16px 50px #203b4c0c;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:16px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}a{color:var(--teal);text-underline-offset:3px}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #64bcb6;outline-offset:4px}input:focus,select:focus{outline:2px solid #67bdb7;outline-offset:2px}input,select{color:var(--ink);background:var(--surface);border:1px solid #cfdae2;border-radius:12px;min-height:48px;padding:10px 14px;width:100%;min-width:0}select{cursor:pointer}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.2;letter-spacing:-1.1px;font-weight:700;margin-bottom:10px}h2{font-size:22px;line-height:1.35;letter-spacing:-.45px;margin-bottom:16px}h3{font-size:17px;margin-bottom:8px}p{margin-bottom:14px}.muted{color:var(--muted)}.small{font-size:14px}.eyebrow{font-size:12px;letter-spacing:1.7px;font-weight:700;text-transform:uppercase;color:var(--muted)}.icon{width:21px;height:21px;flex:none;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.shell{display:grid;grid-template-columns:236px 1fr;min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;padding:36px 22px 24px;border-right:1px solid var(--line);background:var(--surface);display:flex;flex-direction:column;gap:42px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);border:0;background:none;text-align:left;padding:0 10px}.brand-mark{background:var(--teal);color:#fff;width:42px;height:45px;border-radius:14px;display:grid;place-items:center;font-weight:800;font-size:33px;line-height:1;letter-spacing:-3px;padding-right:4px}.brand strong{font-size:23px;letter-spacing:2px}.brand small{display:block;color:var(--muted);font-size:11px;letter-spacing:.3px;margin-top:1px}.nav{display:flex;flex-direction:column;gap:8px}.nav button{border:0;background:transparent;display:flex;align-items:center;gap:13px;border-radius:12px;padding:14px 16px;color:var(--muted);font-size:15px;font-weight:600;text-align:left;position:relative}.nav button.active{background:var(--teal-soft);color:var(--teal)}.nav button:hover{background:var(--bg)}.nav button.active:hover{background:var(--teal-soft)}.nav .badge{margin-left:auto}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:22px 10px 0;display:grid;gap:17px}.profile{display:flex;gap:11px;align-items:center}.avatar{width:37px;height:37px;border-radius:50%;background:#e9eef6;color:#4a657e;display:grid;place-items:center;font-size:14px;font-weight:700}.profile strong{font-size:14px}.profile small{display:block;font-size:12px;color:var(--muted)}.source-link{border:0;background:none;color:var(--muted);text-align:left;padding:0;font-size:12px;line-height:1.7}.source-link span{display:block}.main{padding:35px 44px 40px;min-width:0;max-width:1440px;width:100%;margin:auto}.topline{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:32px;color:var(--muted);font-size:14px}.topline .date{display:flex;gap:9px;align-items:center}.pill,.badge{display:inline-flex;align-items:center;gap:6px;border-radius:7px;padding:4px 9px;font-size:12px;line-height:1.4;white-space:nowrap;background:var(--bg);color:var(--muted)}.pill{border:1px solid var(--line);border-radius:20px;padding:7px 12px;background:var(--surface)}.pill .icon{width:15px;height:15px}.badge.teal{color:var(--teal);background:var(--teal-soft)}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}.page-heading p{color:var(--muted);margin:0}.page-heading h1{margin-bottom:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;background:var(--teal);color:white;border-radius:12px;padding:13px 20px;font-weight:650;font-size:15px;min-height:48px;text-decoration:none;transition:background .15s,transform .15s}.button:hover{background:#066b64}.button:active{transform:translateY(1px)}.button.secondary{background:var(--surface);border-color:var(--line);color:var(--ink)}.button.secondary:hover{background:var(--bg)}.button.light{background:white;color:var(--navy)}.button.ghost{background:transparent;color:var(--muted);border:0}.button.danger{background:var(--red-soft);color:var(--red)}.button.wide{width:100%}.icon-button{width:40px;height:40px;border-radius:11px;border:1px solid var(--line);background:var(--surface);display:inline-grid;place-items:center;flex:none}.icon-button:hover{background:var(--bg)}.icon-button.saved{color:var(--orange);background:var(--orange-soft);border-color:transparent}.icon-button.saved svg{fill:#f7d296}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:25px;box-shadow:var(--shadow)}.home-top{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);gap:20px;margin-bottom:30px}.practice-card{background:var(--navy);border:1px solid var(--navy);color:#fff;position:relative;overflow:hidden;min-height:252px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:30px}.practice-card .eyebrow{color:#a2c2ca}.practice-card h2{font-size:30px;letter-spacing:-.8px;line-height:1.25;margin:14px 0 8px;max-width:85%}.practice-card p{color:#bbd0d7;font-size:14px}.practice-card .button{margin-top:10px}.practice-card .card-no{position:absolute;right:26px;top:28px;border:1px solid #446474;border-radius:9px;padding:3px 9px;font-size:12px;color:#abc9d0}.daily .section-title{display:flex;justify-content:space-between;align-items:center}.daily h3{font-size:15px;margin:0}.daily .big{font-size:45px;line-height:1.2;font-weight:650;letter-spacing:-1.4px;margin-top:25px}.daily .big span{font-size:18px;font-weight:400;color:var(--muted);letter-spacing:0}.daily p{font-size:14px;color:var(--muted);margin:4px 0 20px}progress{appearance:none;width:100%;height:7px;border:0;border-radius:20px;overflow:hidden;background:var(--line)}progress::-webkit-progress-bar{background:var(--line)}progress::-webkit-progress-value{background:var(--teal);border-radius:20px}progress::-moz-progress-bar{background:var(--teal);border-radius:20px}.daily-bottom{display:flex;align-items:center;gap:8px;margin-top:18px;color:var(--muted);font-size:13px}.daily-bottom svg{color:var(--orange);width:17px;height:17px}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin:28px 0 16px}.section-head h2{margin:0}.text-button{border:0;background:none;padding:4px 0;color:var(--teal);font-size:14px;font-weight:600}.mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.mode-card{display:block;text-align:left;padding:22px;border:1px solid var(--line);border-radius:17px;background:var(--surface);transition:transform .15s,box-shadow .15s}.mode-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#b7cbc9}.mode-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;color:var(--teal);background:var(--teal-soft);margin-bottom:20px}.mode-card:nth-child(2) .mode-icon{color:var(--blue);background:#eaf0f8}.mode-card:nth-child(3) .mode-icon{color:var(--orange);background:var(--orange-soft)}.mode-card h3{margin:0 0 7px}.mode-card p{font-size:14px;color:var(--muted);margin:0}.mode-card .mode-meta{display:flex;align-items:center;gap:7px;margin-top:16px;font-size:12px;color:var(--muted)}.home-bottom{display:grid;grid-template-columns:1.45fr 1fr;gap:20px;margin-top:27px}.home-bottom .panel{padding:22px}.home-bottom h2{font-size:18px;margin-bottom:18px}.group-shortcuts{display:grid;gap:0}.group-shortcuts button{background:none;border:0;border-top:1px solid var(--line);display:flex;align-items:center;gap:12px;text-align:left;padding:12px 0;font-size:14px}.group-shortcuts button:first-child{border:0}.group-shortcuts button .badge{margin-left:auto}.group-index{font-size:12px;color:#8fa2ae;width:20px}.repeat-card{display:flex;flex-direction:column}.repeat-card p{font-size:14px;color:var(--muted)}.repeat-card .repeat-count{font-size:42px;font-weight:600;line-height:1.2;margin:5px 0 8px;color:var(--teal)}.repeat-card .button{margin-top:auto}.filters{display:grid;grid-template-columns:minmax(200px,1fr) minmax(180px,280px);gap:12px;margin-bottom:24px}.search-wrap{position:relative}.search-wrap svg{position:absolute;left:15px;top:14px;color:var(--muted)}.search-wrap input{padding-left:46px}.catalog-info{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:13px;margin-bottom:23px}.category-block{margin-bottom:28px}.category-title{display:flex;gap:12px;align-items:center;margin-bottom:12px}.category-title h2{font-size:18px;margin:0}.category-title .badge{background:#e8edf2}.drug-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.drug-item{position:relative;border:1px solid var(--line);border-radius:14px;background:var(--surface);display:flex;align-items:center;padding:14px 14px 14px 0;min-height:90px;transition:border-color .15s}.drug-item:hover{border-color:#acbfc9}.drug-open{background:none;border:0;flex:1;text-align:left;padding:4px 12px 4px 18px;min-width:0}.drug-open strong{font-size:16px;font-weight:650;display:block;overflow-wrap:anywhere}.drug-open small{font-size:12px;display:block;color:var(--muted);margin-top:5px}.drug-item .icon-button{border:0;background:none;color:#92a5b2}.drug-item .icon-button.saved{color:var(--orange);background:var(--orange-soft)}.empty{padding:55px 25px;text-align:center;max-width:540px;margin:25px auto}.empty-icon{width:64px;height:64px;display:grid;place-items:center;background:var(--teal-soft);color:var(--teal);border-radius:20px;margin:0 auto 20px}.empty-icon svg{width:29px;height:29px}.empty p{color:var(--muted)}.empty h2{margin-bottom:10px}.setup-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr);gap:22px;align-items:start}.field{display:grid;gap:8px;margin-bottom:21px;font-size:14px;font-weight:600}.field small{font-size:12px;font-weight:400;color:var(--muted)}.segments{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.segment{border:1px solid var(--line);border-radius:11px;padding:11px;background:var(--surface);font-weight:600}.segment.selected{border-color:var(--teal);color:var(--teal);background:var(--teal-soft)}.check-field{display:flex;align-items:center;gap:10px;font-size:14px;margin:7px 0 24px}.check-field input{width:19px;height:19px;min-height:19px;accent-color:var(--teal)}.setup-note{font-size:14px;color:var(--muted)}.setup-note h3{color:var(--ink)}.setup-note .note-line{padding:15px 0;border-bottom:1px solid var(--line)}.setup-note .note-line:first-of-type{padding-top:0}.setup-note .note-line:last-of-type{border:0;padding-bottom:0}.quiz-wrap{max-width:720px;margin:0 auto}.quiz-top{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px}.quiz-top strong{font-size:14px}.quiz-top span{color:var(--muted);font-size:14px}.quiz-wrap>progress{margin-bottom:25px}.question{padding:32px}.question .question-badges{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:23px}.question h1{font-size:30px;overflow-wrap:anywhere}.question .indication{font-size:16px;color:var(--muted);line-height:1.6;margin-bottom:23px}.question .prompt{font-size:17px;font-weight:600;margin-bottom:17px}.answer-fields{display:flex;gap:12px;align-items:end;margin-bottom:20px}.answer-fields .field{flex:1;margin:0;min-width:0}.answer-fields input{font-size:25px;height:65px;font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:.5px}.answer-unit{padding-bottom:18px;color:var(--muted);font-size:15px;max-width:125px;overflow-wrap:anywhere}.exercise-givens{background:var(--bg);border-radius:12px;margin:0 0 24px;padding:16px;display:grid;gap:10px}.given{display:flex;justify-content:space-between;gap:20px;font-size:14px}.given span{color:var(--muted)}.quiz-actions{display:grid;grid-template-columns:1fr;gap:8px}.quiz-source{display:flex;justify-content:center;align-items:center;gap:7px;font-size:12px;color:var(--muted);margin:20px 0}.quiz-source svg{width:15px;height:15px}.feedback{border:1px solid #b9ddd5;background:#f2faf7;padding:23px;border-radius:15px;margin-top:22px}.feedback.wrong{border-color:#f0c8bc;background:#fff7f2}.feedback h3{display:flex;gap:9px;align-items:center;margin-bottom:16px;color:var(--teal)}.feedback.wrong h3{color:#ad6538}.feedback .expected{font-size:27px;line-height:1.3;font-weight:650;letter-spacing:-.5px;overflow-wrap:anywhere}.feedback .feedback-note{font-size:14px;color:var(--muted);margin:16px 0 0}.feedback details{margin:15px 0 0;font-size:14px}.feedback summary{cursor:pointer;color:var(--teal);font-weight:600}.feedback details p{margin-top:12px}.feedback .button{margin-top:21px}.inline-error{color:var(--red);font-size:14px;min-height:0;margin:10px 0}.inline-error:empty{display:none}.result-score{font-size:76px;font-weight:650;letter-spacing:-3px;line-height:1.2;color:var(--teal);margin:20px 0}.result-score span{font-size:32px;color:#9db0bc;letter-spacing:0}.result-center{text-align:center}.result-center .icon-button{margin-bottom:18px;background:var(--teal-soft);color:var(--teal);border:0;width:52px;height:52px;border-radius:50%}.result-list{margin:22px 0;border-top:1px solid var(--line);padding-top:16px;display:grid;gap:9px}.result-list button{display:flex;align-items:center;gap:10px;text-align:left;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:14px}.result-list button .icon{color:var(--orange);width:17px;height:17px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:24px}.stat-card{padding:22px}.stat-card .stat-number{font-size:34px;font-weight:650;letter-spacing:-1px;margin:14px 0 4px}.stat-card p{color:var(--muted);font-size:13px;margin:0}.chart{display:flex;align-items:end;gap:18px;height:190px;padding:20px 0 0}.chart-day{height:100%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:9px;font-size:12px;color:var(--muted)}.chart-bar{width:min(40px,80%);border-radius:7px 7px 3px 3px;background:var(--teal-soft);min-height:4px}.chart-day:last-child .chart-bar{background:var(--teal)}.progress-row{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid var(--line);font-size:14px}.progress-row:last-child{border:0}.progress-row .progress-name{flex:1;min-width:0}.progress-row strong{display:block}.progress-row small{color:var(--muted);display:block;margin-top:2px}.progress-row .badge{font-variant-numeric:tabular-nums}.boot{min-height:100dvh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:25px;text-align:center}.boot .brand-mark{margin-bottom:25px}.boot h1{letter-spacing:4px}.boot p{max-width:420px;color:var(--muted)}dialog{border:0;border-radius:22px;padding:0;background:var(--surface);color:var(--ink);width:min(760px,calc(100vw - 32px));max-height:90dvh;box-shadow:0 30px 110px #09232c30}dialog::backdrop{background:#19334466;backdrop-filter:blur(3px)}.modal-header{position:sticky;top:0;background:var(--surface);padding:23px 26px 17px;border-bottom:1px solid var(--line);display:flex;align-items:start;gap:12px;z-index:2}.modal-header h2{margin:4px 0 3px;font-size:23px;overflow-wrap:anywhere}.modal-header p{margin:0;font-size:13px;color:var(--muted)}.modal-heading{flex:1;min-width:0}.modal-body{padding:24px 26px 28px}.modal-body h3{margin:24px 0 12px}.modal-body h3:first-child{margin-top:0}.modal-body p{font-size:14px;line-height:1.7}.modal-tabs{display:flex;gap:7px;margin-bottom:24px}.modal-tabs button{flex:1;font-size:13px}.info-block{padding:15px 17px;border:1px solid var(--line);border-radius:12px;background:var(--bg);margin-bottom:12px;font-size:14px}.info-block strong{display:block;margin-bottom:5px}.info-block p{margin:0}.dose-table{width:100%;border-collapse:collapse;font-size:14px;margin-bottom:11px}.dose-table th,.dose-table td{text-align:left;padding:10px;border-bottom:1px solid var(--line);vertical-align:top}.dose-table th{font-size:12px;color:var(--muted);font-weight:500}.dose-table td:last-child{font-weight:600;font-variant-numeric:tabular-nums}.dose-table .blocked td{background:var(--orange-soft)}.dose-scheme{border:1px solid var(--line);border-radius:12px;padding:16px;margin-bottom:16px}.dose-scheme h3{font-size:16px;margin:0 0 8px}.dose-scheme .route{color:var(--muted);font-size:12px;margin-bottom:9px}.dose-scheme .notes{font-size:13px;margin:12px 0 0;line-height:1.65;color:var(--muted)}.notice{border-left:3px solid #d69d53;background:var(--orange-soft);padding:12px 15px;border-radius:0 9px 9px 0;font-size:13px;margin:14px 0;line-height:1.6}.notice.neutral{background:var(--teal-soft);border-color:#6aaaa2;color:#315e58}.knowledge-list{padding-left:19px;font-size:14px;line-height:1.7}.knowledge-list li{margin:8px 0}.modal-footer{display:flex;gap:12px;align-items:center;margin-top:24px;padding-top:20px;border-top:1px solid var(--line);justify-content:space-between}.modal-footer a{font-size:13px}.source-table{display:grid;grid-template-columns:1fr auto;gap:10px 20px;font-size:14px;margin:20px 0}.source-table strong{font-weight:600}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%) translateY(15px);background:var(--ink);color:white;border-radius:12px;padding:12px 20px;box-shadow:var(--shadow);font-size:14px;z-index:30;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100vw - 30px);text-align:center}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.mobile-head{display:none}.spacer-top{margin-top:20px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){.main{padding:45px 65px}}@media(max-width:1050px){.shell{grid-template-columns:190px 1fr}.sidebar{padding:30px 14px}.main{padding:28px}.home-top{grid-template-columns:1.3fr 1fr}.practice-card{padding:25px}.mode-card{padding:17px}.home-bottom{grid-template-columns:1fr 1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}.brand{padding-left:5px}.brand strong{font-size:20px}.nav button{padding:13px 12px}}
@media(max-width:760px){.shell{display:block}.sidebar{height:auto;position:fixed;top:auto;bottom:0;left:0;right:0;z-index:10;border:0;border-top:1px solid var(--line);padding:7px 12px max(9px,env(safe-area-inset-bottom));background:var(--surface)}.sidebar>.brand,.sidebar-bottom{display:none}.nav{flex-direction:row;justify-content:space-around;gap:3px}.nav button{display:flex;flex-direction:column;gap:4px;padding:9px 4px 7px;font-size:10px;flex:1;border-radius:10px}.nav button .badge{display:none}.nav button .icon{width:21px;height:21px}.main{padding:22px 20px 110px}.mobile-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.mobile-head .brand{padding:0}.mobile-head .brand strong{font-size:18px}.mobile-head .brand-mark{width:34px;height:36px;font-size:26px;border-radius:10px}.mobile-head .brand small{font-size:10px}.topline{display:none}.page-heading{margin-bottom:22px;align-items:start}.page-heading h1{font-size:28px;letter-spacing:-.8px}.page-heading p{font-size:14px}.page-heading .button{padding:10px 12px;font-size:13px}.home-top{grid-template-columns:1fr;gap:13px;margin-bottom:26px}.practice-card{min-height:225px;padding:25px}.practice-card h2{font-size:27px}.daily{padding:18px 21px}.daily .big{font-size:31px;margin:12px 0 2px}.daily p{margin:0 0 9px;font-size:13px}.daily .daily-bottom{margin-top:8px}.daily .big span{font-size:15px}.home-bottom{grid-template-columns:1fr;gap:15px;margin-top:22px}.mode-grid{gap:10px;grid-template-columns:1fr}.mode-card{display:grid;grid-template-columns:45px 1fr;column-gap:15px;padding:16px;align-items:center}.mode-card .mode-icon{grid-row:1/4;margin:0}.mode-card h3{font-size:16px;margin:0 0 3px}.mode-card p{font-size:13px}.mode-card .mode-meta{display:none}.section-head{margin-top:24px;gap:10px}.section-head h2{font-size:20px}.filters{grid-template-columns:1fr;gap:10px}.catalog-info{font-size:12px;gap:10px}.drug-grid{grid-template-columns:1fr}.drug-item{min-height:81px}.category-title h2{font-size:17px}.setup-layout{grid-template-columns:1fr;gap:16px}.setup-layout .panel{padding:22px}.setup-note .note-line{padding:10px 0}.setup-note{font-size:13px}.question{padding:23px 19px}.question h1{font-size:25px}.question .question-badges{margin-bottom:20px}.question .prompt{font-size:16px}.answer-fields{gap:8px;flex-wrap:wrap}.answer-fields .field{min-width:80px}.answer-fields input{font-size:24px}.answer-unit{font-size:13px;max-width:88px}.question .indication{font-size:14px}.quiz-top{gap:15px}.quiz-top .button{padding:8px 11px;font-size:13px;min-height:40px}.stats-grid{gap:11px}.stat-card{padding:17px}.stat-card .stat-number{font-size:30px}.panel{padding:21px}.stats-grid .stat-card .eyebrow{font-size:10px;letter-spacing:1px}.modal-header{padding:18px 18px 14px;gap:8px}.modal-header h2{font-size:21px}.modal-header .icon-button{width:35px;height:35px}.modal-body{padding:20px 18px}.modal-tabs .button{padding:10px 8px;font-size:12px}.modal-footer{flex-wrap:wrap}.modal-footer .button{flex:1}.dose-table td,.dose-table th{padding:8px 5px}.dose-table{font-size:13px}.dose-scheme{padding:12px}.feedback{padding:18px}.feedback .expected{font-size:24px}dialog{width:calc(100vw - 18px);max-height:94dvh;border-radius:18px}#toast{bottom:96px}.chart{gap:12px}.result-score{font-size:64px}.progress-row{gap:8px;font-size:13px}.chart-day{font-size:11px}}
.home-greeting{display:flex;align-items:center;gap:17px;min-width:0}.home-greeting>div{min-width:0}.home-companion{display:block;width:72px;height:72px;flex:none;object-fit:cover;object-position:50% 42%;border:3px solid var(--surface);border-radius:50%;box-shadow:0 0 0 1px var(--line)}
@media(max-width:1050px){.home-heading{flex-wrap:wrap}.home-heading>.pill{margin-left:89px}}
@media(max-width:760px){.home-heading{align-items:center}.home-greeting{gap:14px}.home-companion{width:64px;height:64px}.home-heading>.pill{display:none}.home-greeting h1{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(prefers-color-scheme:dark){:root{--bg:#111e27;--surface:#192b36;--ink:#e8f0f4;--muted:#9caeb9;--line:#2a404e;--teal:#59c2b4;--teal-soft:#183f3c;--navy:#1c4554;--orange:#e4b777;--orange-soft:#443927;--red:#f0979f;--red-soft:#452b32;--shadow:none;color-scheme:dark}.button{background:#208c80;color:white}.button:hover{background:#2a9d90}.button.light{color:#193b4b;background:#f3f9fa}.brand-mark{background:#208c80}.practice-card{border-color:#37515c}.mode-card:nth-child(2) .mode-icon{background:#253e57;color:#a0bce1}.avatar{background:#344c60;color:#d0e0ed}.pill{background:var(--surface)}input,select{border-color:#3b5464}.category-title .badge{background:#273d4a}.feedback{background:#153a33;border-color:#2c6655}.feedback.wrong{background:#3b3128;border-color:#795b3c}.feedback.wrong h3{color:#e1b07f}.notice.neutral{color:#bbded5}.drug-item .icon-button.saved{background:var(--orange-soft)}.drug-item .icon-button.saved svg{fill:#5c472b}}

/* One-time Telegram registration */
.registration-panel{width:min(100%,360px);max-width:360px;margin:22px auto 0;padding:20px;text-align:left}
.registration-panel .field{display:block}
.registration-panel .button{margin-top:12px}
.registration-panel .inline-error{min-height:20px;margin-top:8px}
