/* PHARMA SKILLS AI — world theme for the existing platform. */
:root{--forest:#061427;--ink:#edf7ff;--muted:#9ab0c7;--line:#1b3650;--cream:#07101f;--gold:#45dff3;--blue:#15465c;--panel:#0d1b2e;--surface:#0d1b2e;--border:#203e57;color:#eaf5ff;background:#060d1c}
body{background:#060d1c;color:#eaf5ff}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #45def6;outline-offset:3px}
.sidebar{background:linear-gradient(180deg,#061326,#07182d 55%,#061020);border-right:1px solid #153a52;color:#a5bdd0;scrollbar-color:#1d526c transparent}
.brand{color:#eaf9ff}.brand-mark,.device-symbol{color:#43dff6}.brand-mark{border:1px solid #24768d;border-radius:50%;box-shadow:0 0 20px #1ad5f024}.brand-mark svg{width:29px;height:29px}.brand-bottom b{border-color:#2c90a8;color:#54e8fb}
.workspace{border-color:#1c415b;background:#0c2338;color:#dbf3ff}.workspace-icon{border-color:#2b8196;color:#5be9fa;background:#113149}.workspace small,.nav-label{color:#789ab6}.nav-item,.track-link{color:#a7bfd3}.nav-item:hover,.track-link:hover{background:#0f2b41;color:#eafaff}.nav-item.active{color:#dffaff;background:#103549;border-color:#16506a}.nav-item.active:before{background:#42e3f8;box-shadow:0 0 12px #35cfe8}.nav-glyph,.track-symbol{color:#56cce7}.nav-badge{border-color:#2b5a72;color:#9dc8dc}.track-link.selected{background:#122e47;color:#e4fbff}.track-symbol svg{color:#58d9ed}.device-card{border-color:#1b3c53}.device-card strong{color:#d8f0fc}.device-card p,.account-button small{color:#829eb3}.text-button{color:#70ddef}.account-button{color:#bcd4e4;border-color:#1b3c53}.avatar{background:#12364c;color:#6de7fa}
.main-shell{background:radial-gradient(ellipse at 80% 0,#122845 0%,#081527 24%,#060d1c 65%);min-height:100vh}.topbar{background:#071424b8;border-color:#1c374f;color:#a3c0d2}.breadcrumbs,.breadcrumbs span,.breadcrumbs strong,.pill{color:#96b3c9}.pill i{background:#43dced;box-shadow:0 0 8px #39d7f5}.mobile-brand{color:#dff9ff}.mobile-brand>span{color:#60e3f7;border-color:#1d7890}main{max-width:1670px}footer{color:#7d9db3;border-color:#1a384f}footer strong,footer button,footer>span{color:#8cacc2}
.button{background:linear-gradient(105deg,#21cbe4,#64e6f9);border-color:#44dff0;color:#072338;box-shadow:0 6px 22px #09c5e526;font-weight:750}.button:hover{background:linear-gradient(105deg,#4de4f5,#91edfa);color:#062236}.button.secondary{background:#11273b;border-color:#2c5a72;color:#c4e8f5;box-shadow:none}.button.secondary:hover{background:#183b50;color:#eaffff;border-color:#41c8dc}.button.ghost{background:#16344a;color:#c3ebfb}.button-small{background:#123c52;color:#c9f7ff;border-color:#25778a;box-shadow:none}
.eyebrow{color:#64dced}.page-heading h1,.section-header h2,h1,h2,h3{color:#edf8ff}.page-heading .subtitle,.subtitle,.fine-print,.muted{color:#98b2c7}.back-link,.text-reset{color:#83bcd2}.back-link:hover,.text-reset:hover{color:#65ebfb}.heading-note{color:#96b6c8}
.search input,.catalog-filter select,.specialty-filter select{background:#102237;border:1px solid #27516a;color:#deeff8}.search input::placeholder{color:#789cb4}.search>span{color:#82cce1}.filter-row .chip{background:#0d2033;border-color:#284b61;color:#a9c6d8}.filter-row .chip:hover{background:#16384c;color:#edfbff}.filter-row .chip.active{background:#164b60;border-color:#38c5dc;color:#e1fcff}.catalog-filters{background:#0c1b2d;border-color:#24445a}.catalog-filter,.catalog-toolbar,.specialty-filter{color:#a4bfd2}
.panel,.case-card,.stat-card,.result-row,.empty-state,.chat-panel,.entry-card,.skill-card,.lesson-card,.live-card,.replay-card,.medical-card{background:#0d1c2e;color:#e8f5ff;border-color:#22455b;box-shadow:0 12px 32px #00091922}
.case-card:hover,.entry-card:hover,.skill-card:hover,.lesson-card:hover,.medical-card:hover{background:#10283c;border-color:#36b9d1;box-shadow:0 8px 28px #0ab6d21e}.case-card h3,.entry-card h2,.skill-card h3,.lesson-card h2,.medical-card h3{color:#eefaff}.case-card p,.entry-card p,.skill-card p,.lesson-card p,.medical-card p{color:#a8bfd0}.case-label,.case-meta,.card-meta,.entry-card>span,.skill-card>span,.lesson-card>span,.result-row span{color:#80b9cc}.case-card .case-meta,.detail-section,.material-row{border-color:#234057}.case-classification span{background:#173246;color:#b2d9e7;border-color:#29566b}.case-detail .brief,.detail-section p,.persona-card small{color:#adc8d9}.persona-avatar,.empty-icon,.score-circle{background:#123249;border-color:#23657a;color:#63e1f4}.mode-option{border-color:#29526b;background:#102338;color:#d2e8f2}.mode-option small{color:#9cbccc}.mode-option:has(input:checked){background:#123d51;border-color:#3bc6de}.mode-option input{accent-color:#43dff5}.level-button{color:#a6c2d3;border-color:#2b5065}.level-button.active{background:#293056;border-color:#9478e1;color:#f0eaff}.empty-state p,.no-results{color:#a5bfd0}.stat-card span{color:#9bbbd0}.stat-card strong,.result-row b{color:#6ae5f6}
.chat-top,.composer{border-color:#23465b}.chat-top small,.speaker{color:#92b5c8}.message{background:#142d41;border-color:#28536b;color:#d9edf7}.message.user{background:#174b5c;border-color:#287f90;color:#effcff}.message.hint{background:#302a4d;border-color:#765ba4;color:#eee5ff}.composer textarea{background:#0b1e30;color:#e8f8ff;border-color:#28526a}.composer textarea::placeholder{color:#84a4b8}.privacy-note{color:#86a8bd}.notice{color:#b9d5e3}
.entry-card,.skill-card,.lesson-card{--panel:#0e2134;--border:#24475d}.entry-card{position:relative;overflow:hidden;background:linear-gradient(120deg,#102c41,#102036 60%,#1c2144);border-color:#28546c}.entry-card:after{content:'✧';position:absolute;right:23px;top:16px;color:#4ddff5;font-size:38px;opacity:.6}.entry-card b,.skill-card>span,.lesson-card>span{color:#65dff1}.skill-card,.lesson-card{background:linear-gradient(130deg,#10243a,#0c1b2c)}
.medical-entry-link,.live-intro,.scars-teaser,.scars-next{background:linear-gradient(120deg,#102c42,#101b30);color:#e9f7ff;border-color:#27516b}.medical-entry-link p,.live-intro p,.scars-teaser p,.scars-next p,.scars-next li,.scars-teaser-note>span:not(.eyebrow),.scars-teaser-note small{color:#a6c1d2}.scars-teaser-note{border-color:#28516a}.scars-teaser-note>strong,.medical-stats b{color:#69e4f4}.medical-intro,.scars-story{background:linear-gradient(125deg,#0d3650,#14203b 60%,#282452);border-color:#305673}.medical-intro .eyebrow,.medical-intro li b,.scars-story .eyebrow{color:#6de2f4}.medical-intro p,.medical-intro small,.scars-story p{color:#bdd5e2}.medical-stats,.live-meta,.live-price,.live-description{color:#abc6d8}.medical-toolbar label,.medical-editor label,.medical-author label,.live-form label{color:#c1dce9}.medical-toolbar input,.medical-toolbar select,.medical-editor input:not([type=checkbox]),.medical-editor textarea,.medical-editor select,.medical-author input,.live-form input,.live-form select,.live-form textarea,.upload-panel select,.upload-panel input[type=file],#draft-body{background:#10283b;border-color:#2c566c;color:#e6f7ff}.medical-route span,.medical-status{background:#112c3d;border-color:#31566a;color:#a8d5e1}.medical-status.ready{background:#124033;color:#8cf5c2}.medical-file,.medical-author form,.medical-score-note{border-color:#29495f}.medical-file p,.medical-material-check small{color:#a3c0d0}.medical-editor .medical-material-check,.medical-quiz label{background:#11283b;border-color:#2c5167;color:#d7edf5}.medical-quiz fieldset,.medical-question-editor,.medical-result-hero{background:#0e2335;border-color:#2a5369;color:#edf8ff}.medical-quiz label:has(input:checked){background:#174558;border-color:#4bd3e8}.medical-question-editor legend{color:#c7e8f5}.medical-result-hero{background:linear-gradient(110deg,#123b50,#1c2548)}.medical-document{background:#fff}.scars-next .scars-campaign-status,.scars-prompt{border-color:#2b5065}.scars-story .button{background:#35d7ec;color:#062b39}.live-intro li{border-color:#295168}.live-intro li b{color:#6adbec}
.upload-panel label{color:#c6e3ef}dialog{background:#0e2033;color:#e7f8ff;border-color:#2a5670;box-shadow:0 30px 120px #000a20b3}dialog::backdrop{background:#020815d9}dialog h2,dialog h3{color:#f0faff}dialog p,dialog li{color:#b2cbd9}dialog .notice{background:#133246;border-color:#295972;color:#d1ebf5}.modal-top button{border-color:#335b70;color:#b9dfeb}.modal-top .eyebrow{color:#69dceb}.rights-check{color:#c1dbe8}#toast{background:#123047;color:#e9fbff;border-color:#3b9fb6}
.mobile-nav{background:#071728f2;border-color:#1c4259}.mobile-nav button{color:#85abc0}.mobile-nav button.active{color:#50e5f9}
/* Home world */
.world-home{max-width:1500px;margin:0 auto}.world-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:380px;overflow:hidden;border:1px solid #26516d;border-radius:17px;background:linear-gradient(90deg,#06152af5 0%,#06152ae8 32%,#0718318c 53%,#07183118 100%),linear-gradient(0deg,#071324b3 0%,transparent 45%),url('/academy-portal-hero.webp') center 47%/cover no-repeat;box-shadow:0 20px 65px #0007166b}.world-hero:after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 60px #06152a88}.world-hero-copy{position:relative;z-index:1;padding:44px 48px 60px;max-width:620px}.world-kicker,.world-section-kicker{font-size:9px;font-weight:800;letter-spacing:2px;color:#75e5f4}.world-kicker{display:flex;align-items:center;gap:8px}.world-kicker i{width:7px;height:7px;background:#53e7f9;border-radius:50%;box-shadow:0 0 13px #45dbf3}.world-hero h1{font-size:clamp(36px,4.5vw,60px);font-weight:800;letter-spacing:-2.2px;line-height:1.08;margin:23px 0 15px;color:#f6fbff}.world-hero h1 em{font-style:normal;background:linear-gradient(90deg,#e9fbff,#7ee6ff 55%,#d0b6ff);background-clip:text;color:transparent}.world-hero p{font-size:13px;line-height:1.8;color:#d1e7f2;max-width:450px;margin:0}.world-hero-actions{display:flex;align-items:center;gap:18px;margin-top:24px;flex-wrap:wrap}.world-main-button{min-height:47px;min-width:190px;font-size:11px;border-radius:7px}.world-main-button span{font-size:18px;margin-left:auto}.world-hero-link{border:0;background:none;color:#d4f6ff;font-size:11px;font-weight:700;padding:10px 0}.world-hero-link:hover{color:#68e9fa}.world-hero-link span{margin-left:8px;color:#62e5f7}.world-hero-meta{position:absolute;z-index:1;bottom:17px;left:48px;right:38px;display:flex;justify-content:space-between;gap:15px;color:#9bc9db;font-size:8px;font-weight:700;letter-spacing:1.5px}
.world-academy-section{margin-top:32px}.world-section-header{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}.world-section-header h2,.world-route-head h2{font-size:26px;font-weight:750;letter-spacing:-.8px;line-height:1.2;margin:8px 0 5px}.world-section-header p,.world-route-head p{color:#92afc2;font-size:11px;line-height:1.6;margin:0}.world-heading-count{display:inline-grid;place-items:center;margin-left:10px;vertical-align:middle;width:27px;height:22px;border:1px solid #28566d;border-radius:5px;color:#77dbef;font-size:9px;letter-spacing:0}.world-search{width:220px;flex-shrink:0}.world-search input{height:40px}
.world-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.world-portal{--portal-accent:#55dff4;--portal-pos:50%;position:relative;display:block;min-height:245px;overflow:hidden;padding:0;border:1px solid #28516b;border-radius:12px;background:#0b1a2c;text-align:left;box-shadow:0 10px 30px #00071955;isolation:isolate}.world-portal:hover{transform:translateY(-3px);border-color:var(--portal-accent);box-shadow:0 12px 35px #25d3f02b}.world-portal-art{position:absolute;inset:0;z-index:-2;background-image:url('/academy-worlds.webp');background-repeat:no-repeat;background-size:300% auto;background-position:var(--portal-pos) 33%;transition:transform .35s}.world-portal:hover .world-portal-art{transform:scale(1.035)}.world-portal:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#07142618 5%,#08162d44 35%,#061222f2 77%,#061222 100%)}.world-portal-content{display:flex;flex-direction:column;min-height:245px;padding:18px 20px}.world-card-top{display:flex;align-items:center;gap:9px}.world-portal-icon{display:grid;place-items:center;width:37px;height:37px;border:1px solid var(--portal-accent);border-radius:50%;background:#07182ad9;color:var(--portal-accent);box-shadow:0 0 15px #39d9f228}.world-portal-icon svg{width:19px;height:19px}.world-portal-code{font-size:8px;letter-spacing:1.1px;font-weight:800;color:#d7f5ff;text-shadow:0 2px 6px #061020}.world-card-arrow{display:grid;place-items:center;margin-left:auto;width:28px;height:28px;background:#071b2cc7;border:1px solid #8edbf666;border-radius:50%;color:#e4fbff;font-size:13px}.world-portal-name{display:block;margin-top:auto;font-size:17px;line-height:1.25;font-weight:800;letter-spacing:-.2px;color:white}.world-portal-description{display:block;font-size:10px;line-height:1.5;color:#bad9e7;margin:6px 0 12px}.world-card-footer{display:flex;justify-content:space-between;gap:8px;padding-top:10px;border-top:1px solid #91cbdf45;color:#a9d4e2;font-size:9px}.world-card-footer span:last-child{color:var(--portal-accent);font-weight:700}.world-MP{--portal-accent:#ffdb79;--portal-pos:0%}.world-RM{--portal-accent:#57e7ff;--portal-pos:50%}.world-KAM{--portal-accent:#d4a4ff;--portal-pos:100%}.world-PM{--portal-accent:#ffb5db;--portal-pos:0%}.world-FFM{--portal-accent:#72cfff;--portal-pos:50%}.world-PSY{--portal-accent:#f4afff;--portal-pos:100%}.world-HR{--portal-accent:#a8f5d4;--portal-pos:0%}
.world-route{margin-top:25px;padding:24px;border:1px solid #244c65;border-radius:14px;background:linear-gradient(115deg,#0d2137,#101c35 70%,#1b1a3b)}.world-route-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.world-route-symbol{display:grid;place-items:center;width:43px;height:43px;border:1px solid #37647d;border-radius:50%;color:#61e6f9;font-size:24px;box-shadow:0 0 22px #22d5ed1c}.world-route-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:19px}.world-route-steps button{min-width:0;display:flex;align-items:center;gap:10px;text-align:left;padding:12px 10px;background:#0e273ae8;border:1px solid #264f64;border-radius:9px;color:#e5f8ff}.world-route-steps button:hover{border-color:#55d9ee;background:#12374a}.route-icon{flex:0 0 34px;height:34px;display:grid;place-items:center;border:1px solid #37bdd2;border-radius:50%;background:#10384a;color:#6eecfb;font-size:19px}.route-text{min-width:0;display:block}.route-text small{display:block;color:#78bfd2;font-size:7px;font-weight:700;letter-spacing:.8px;margin-bottom:5px}.route-text b{display:block;font-size:10px;line-height:1.4}.route-arrow{margin-left:auto;color:#73dcef;font-size:12px}
.world-discover{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.world-discover-card{display:flex;align-items:center;gap:12px;min-width:0;text-align:left;padding:16px;border:1px solid #23445c;border-radius:10px;background:#0c1c2e;color:#e8f8ff}.world-discover-card:hover{border-color:#43cada;background:#102d41}.discover-icon{width:37px;height:37px;flex:0 0 37px;border:1px solid #2f8495;border-radius:9px;display:grid;place-items:center;color:#58e4f7;background:#103347;font-size:19px}.world-discover-card>span:nth-child(2){min-width:0;display:block}.world-discover-card small,.world-discover-card b,.world-discover-card em{display:block}.world-discover-card small{color:#68d3e5;font-size:8px;letter-spacing:1px;font-weight:800}.world-discover-card b{font-size:11px;line-height:1.4;margin:5px 0}.world-discover-card em{font-style:normal;font-size:9px;line-height:1.5;color:#9bb8c9}.world-discover-card strong{margin-left:auto;color:#6edff0;font-size:14px}.home-footnote{color:#83a6b8}.home-footnote svg{color:#5bddeb}
@media(max-width:1150px){.world-hero{min-height:340px}.world-hero-copy{padding:36px 35px 55px}.world-hero-meta{left:35px;right:35px}.world-hero h1{font-size:48px}.world-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.world-portal,.world-portal-content{min-height:225px}.world-portal-content{padding:15px}.world-portal-name{font-size:15px}.world-route-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.world-discover{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.world-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.world-discover{grid-template-columns:1fr}.world-hero h1{font-size:44px}.world-hero{background-position:58% center}.world-hero-copy{max-width:490px}.world-section-header{align-items:start}.world-route-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.topbar .button-small{background:#123c52;border-color:#25778a;color:#d5f8ff}.mobile-nav{overflow-x:auto;justify-content:flex-start;scrollbar-width:none}.mobile-nav::-webkit-scrollbar{display:none}.mobile-nav button{flex:1 0 62px;min-width:62px;width:auto;font-size:17px}.mobile-nav button span{white-space:nowrap;font-size:8px}.world-hero{min-height:360px}.world-hero-copy{padding:32px 27px 58px}.world-hero-meta{left:27px;right:27px}.world-hero-meta span:last-child{display:none}.world-hero h1{font-size:42px}.world-hero p{font-size:12px}.world-section-header h2,.world-route-head h2{font-size:22px}}
@media(max-width:540px){.world-hero{min-height:410px;background-position:63% center}.world-hero-copy{padding:28px 23px 60px}.world-hero h1{font-size:37px;letter-spacing:-1.4px}.world-hero p{max-width:295px;font-size:11px}.world-kicker{font-size:7px;letter-spacing:1.4px}.world-hero-actions{gap:8px}.world-main-button{min-width:175px}.world-hero-meta{left:23px;bottom:17px}.world-academy-section{margin-top:26px}.world-section-header{display:block}.world-section-header p{font-size:10px}.world-search{display:block;width:100%;margin-top:15px}.world-cards{grid-template-columns:1fr;gap:11px}.world-portal,.world-portal-content{min-height:215px}.world-portal-art{background-size:300% auto}.world-portal-content{padding:17px 18px}.world-portal-name{font-size:17px}.world-route{padding:19px}.world-route-steps{grid-template-columns:1fr 1fr;gap:7px}.world-route-steps button{align-items:flex-start;flex-direction:column;min-height:104px}.route-arrow{display:none}.world-discover{gap:9px}.world-discover-card{padding:14px}.world-discover-card b{font-size:11px}}
@media(prefers-reduced-motion:reduce){.world-portal,.world-portal-art{transition:none}.world-portal:hover,.world-portal:hover .world-portal-art{transform:none}}
/* Individual gateways keep the current academy actions while adding a visual setting. */
.entry-card[data-category="Лікарі"]{background:linear-gradient(90deg,#091a2af5 0%,#0b1b2ee8 44%,#0b1b2e44 100%),url('/visit-doctor.webp') 74% center/cover no-repeat}
.entry-card[data-category="Лікарі"]:hover{background:linear-gradient(90deg,#0c293af5 0%,#0b2438e8 44%,#0b1b2e44 100%),url('/visit-doctor.webp') 74% center/cover no-repeat}
.entry-card[data-category="Аптеки"]{background:linear-gradient(90deg,#091a2af5 0%,#0b1b2ee8 48%,#0b1b2e55 100%),url('/academy-worlds.webp') left center/cover no-repeat}
.entry-card[data-category="Аптеки"]:hover{background:linear-gradient(90deg,#0c293af5 0%,#0b2438e8 48%,#0b1b2e55 100%),url('/academy-worlds.webp') left center/cover no-repeat}
.entry-card[data-category] h2,.entry-card[data-category] p{max-width:68%}
.page-heading>.academy-icon{background:#10394b;color:#77eafb;border:1px solid #2b7486}
.case-card h3{font-size:16px}.case-card p{font-size:12px}.case-label{font-size:9px}.case-meta{font-size:10px}
.world-portal-name{font-size:18px}.world-portal-description{font-size:11px}.world-card-footer{font-size:10px}
@media(max-width:1150px){.world-portal-name{font-size:15px}.world-portal-description{font-size:10px}}
@media(max-width:540px){.world-portal-name{font-size:17px}.world-portal-description{font-size:11px}}
