:root { --ink:#4e220f; --muted:#765d4e; --line:#ded5bd; --paper:#fffdf7; --soft:#f7f1de; --green:#4e220f; --mint:#b0ba99; --amber:#9d6638; --red:#8b3b26; --radius:18px; font-family:"Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color:var(--ink); background:var(--soft); }
* { box-sizing:border-box; }
body { margin:0; min-width:320px; }
button, input, select, textarea { font:inherit; }
button { cursor:pointer; }
.skip-link { position:absolute; left:-10000px; }.skip-link:focus { left:1rem; top:1rem; z-index:5; padding:.6rem; background:#fff; }
.topbar { min-height:72px; padding:0 4.5vw; display:flex; align-items:center; gap:2rem; background:var(--paper); border-bottom:1px solid var(--line); }
.brand { color:var(--green); text-decoration:none; display:flex; gap:.6rem; align-items:center; font-size:1.15rem; font-weight:750; white-space:nowrap; }.brand-mark { display:grid; place-items:center; width:30px; height:30px; background:var(--green); color:#fffdf7; border-radius:9px; font-family:inherit; }
.navigation { display:flex; gap:.2rem; flex:1; }.nav-link { background:none; border:0; padding:.75rem .85rem; color:var(--muted); border-radius:8px; }.nav-link:hover,.nav-link.active { background:var(--mint); color:var(--green); font-weight:650; }
.profile { display:flex; align-items:center; gap:1rem; font-size:.84rem; }.profile-name { font-weight:650; white-space:nowrap; }.role-switch { color:var(--muted); display:flex; gap:.4rem; align-items:center; }.role-switch select { border:1px solid var(--line); border-radius:7px; padding:.35rem; color:var(--ink); background:#fff; }
.container { max-width:1240px; margin:0 auto; padding:3rem 4.5vw 5rem; }.eyebrow { margin:0 0:.5rem; color:var(--green); font-size:.78rem; font-weight:750; text-transform:uppercase; letter-spacing:.09em; }.page-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:1.75rem; }.page-heading h1,.card h2,.card h3 { margin:.05rem 0 .55rem; letter-spacing:-.025em; }.page-heading h1 { font-size:clamp(1.7rem,3vw,2.45rem); }.lede { max-width:680px; margin:0; color:var(--muted); line-height:1.55; }
.grid { display:grid; gap:1.25rem; }.two-cols { grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr); }.three-cols { grid-template-columns:repeat(3,minmax(0,1fr)); }.card { background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:1.35rem; box-shadow:0 3px 12px rgba(78,34,15,.06); }.hero { background:linear-gradient(120deg,#4e220f,#70401f); color:#fffdf7; border:0; padding:clamp(1.4rem,3vw,2.5rem); }.book-card { display:flex; align-items:center; gap:1.25rem; margin-top:1.25rem; }.book-card img { display:block; width:105px; border-radius:6px; box-shadow:0 6px 18px rgba(78,34,15,.18); }.book-card h2 { font-size:1.1rem; }.book-button { display:inline-block; margin-top:.2rem; color:#fffdf7; text-decoration:none; }.hero-conference { min-width:0; }.hero .eyebrow,.hero .meta,.hero .subtle { color:#f7f1de; }.hero h2 { font-size:clamp(1.5rem,3vw,2.15rem); max-width:780px; }.hero-info { display:flex; gap:1rem; flex-wrap:wrap; margin:1.2rem 0; }.hero-info div { padding:.65rem .85rem; border:1px solid rgba(255,255,255,.24); border-radius:10px; }.hero-info strong,.hero-info span { display:block; }.hero-info span { font-size:.8rem; color:#f7f1de; }.section-title { display:flex; justify-content:space-between; align-items:center; margin:2rem 0 .9rem; }.section-title h2 { margin:0; font-size:1.2rem; }
.button { border:1px solid transparent; border-radius:9px; padding:.63rem .9rem; background:var(--green); color:#fff; font-weight:650; }.button:hover { filter:brightness(.94); }.button.secondary { color:var(--green); background:var(--mint); }.button.outline { background:transparent; border-color:currentColor; }.button.small { padding:.4rem .62rem; font-size:.84rem; }.button.danger { background:var(--red); }
.hero-links { display:flex; flex-wrap:wrap; gap:.75rem 1.1rem; margin-top:1.15rem; }.hero-links a { color:#fffdf7; font-weight:650; text-decoration-thickness:1px; text-underline-offset:3px; }
.home-links { display:flex; align-items:center; gap:2.5rem; margin-top:1.25rem; }.book-inline,.meeting-inline { display:flex; align-items:center; gap:1rem; margin:0; }.book-cover,.meeting-image { display:block; height:135px; }.book-cover { width:105px; }.meeting-image { width:240px; }.book-cover img,.meeting-image img { display:block; width:100%; height:100%; object-fit:cover; border-radius:6px; transition:transform .2s ease; }.book-cover img { box-shadow:0 6px 18px rgba(78,34,15,.18); }.book-cover:hover img,.meeting-image:hover img { transform:translateY(-2px); }.book-text-link,.meeting-text { color:var(--green); font-weight:750; text-decoration-thickness:1px; text-underline-offset:3px; white-space:nowrap; }
.meta,.subtle { color:var(--muted); font-size:.88rem; }.list { margin:0; padding:0; list-style:none; }.list > li { padding:1rem 0; border-bottom:1px solid var(--line); }.list > li:last-child { border-bottom:0; padding-bottom:0; }.item-row { display:flex; gap:1rem; align-items:flex-start; justify-content:space-between; }.item-title { font-weight:720; margin:0 0 .25rem; }.chip { display:inline-flex; padding:.25rem .5rem; border-radius:999px; font-size:.76rem; font-weight:700; background:#edf1ef; color:#42514d; white-space:nowrap; }.status-free { background:#f4ead7; color:#83520e; }.status-taken,.status-progress { background:#e2ecf4; color:#35617b; }.status-ready,.status-discussed { background:#dceee2; color:#28603b; }
.conference-date { color:var(--green); font-weight:750; font-size:.9rem; }.agenda { padding-left:1.2rem; color:var(--ink); line-height:1.65; }.note { border-left:3px solid #9d6638; padding:.75rem .9rem; background:#fbf6e9; color:#5f4434; line-height:1.5; }.empty { text-align:center; padding:2.4rem 1rem; color:var(--muted); }.details { display:grid; grid-template-columns:140px 1fr; gap:.75rem 1.25rem; margin:1rem 0; }.details dt { color:var(--muted); }.details dd { margin:0; }.material-link { color:var(--green); text-decoration-thickness:1px; text-underline-offset:3px; }
.toolbar { display:flex; align-items:center; justify-content:space-between; gap:.8rem; margin-bottom:1rem; }.filters { display:flex; gap:.5rem; flex-wrap:wrap; }.filter { padding:.4rem .7rem; border:1px solid var(--line); background:#fff; border-radius:999px; color:var(--muted); }.filter.active { color:var(--green); border-color:#9dc7b2; background:var(--mint); }.table-wrap { overflow:auto; }.table { width:100%; border-collapse:collapse; min-width:680px; }.table th { text-align:left; font-size:.75rem; letter-spacing:.06em; color:var(--muted); text-transform:uppercase; padding:.7rem; border-bottom:1px solid var(--line); }.table td { padding:.85rem .7rem; vertical-align:top; border-bottom:1px solid var(--line); }.table tr:last-child td { border-bottom:0; }
.issue-title { font-size:1rem; margin:0 0:.9rem; }.articles-table .taken-article td { background:#c7def0; }.articles-table td:first-child { min-width:440px; }
.modal-backdrop { position:fixed; inset:0; display:grid; place-items:center; padding:1rem; background:rgba(20,39,33,.45); z-index:10; }.modal { background:#fff; border-radius:18px; width:min(560px,100%); max-height:90vh; overflow:auto; padding:1.35rem; }.modal-header { display:flex; justify-content:space-between; align-items:center; gap:1rem; }.close { border:0; background:transparent; font-size:1.5rem; color:var(--muted); }.form-grid { display:grid; gap:.85rem; margin-top:1rem; }.form-grid label { display:grid; gap:.35rem; font-size:.88rem; font-weight:650; }.form-grid input,.form-grid textarea,.form-grid select { border:1px solid #bfcfca; border-radius:8px; padding:.65rem; background:#fff; }.form-grid textarea { min-height:90px; resize:vertical; }.form-actions { display:flex; justify-content:flex-end; gap:.65rem; margin-top:1.1rem; }.toast { opacity:0; position:fixed; bottom:1.25rem; left:50%; transform:translateX(-50%) translateY(15px); padding:.7rem 1rem; color:#fff; background:#1d2926; border-radius:9px; transition:.2s; pointer-events:none; }.toast.show { opacity:1; transform:translateX(-50%) translateY(0); }
@media (max-width:800px) { .topbar { padding: .7rem 1rem; flex-wrap:wrap; gap:.5rem; }.navigation { order:3; flex-basis:100%; overflow:auto; }.nav-link { white-space:nowrap; }.profile { margin-left:auto; }.profile-name { display:none; }.container { padding:1.75rem 1rem 4rem; }.two-cols,.three-cols { grid-template-columns:1fr; }.page-heading { display:block; }.page-heading .button { margin-top:1rem; }.details { grid-template-columns:1fr; gap:.2rem; }.details dd { margin-bottom:.7rem; }.book-card img { width:88px; }.home-links { flex-direction:column; align-items:flex-start; gap:1.25rem; }.book-cover { width:88px; height:113px; }.meeting-inline { align-items:flex-start; }.meeting-image { width:150px; height:113px; }.hero-info div { flex:1; min-width:130px; } }

/* Главная: спокойная медицинская палитра и единый сценарий подготовки. */
:root { --ink:#17313A; --muted:#5f7279; --line:#dce7e7; --paper:#FFFFFF; --soft:#F5F8F7; --green:#123D4A; --mint:#87A98E; --red:#2F9E78; }
body { background:var(--soft); }.topbar { background:#fff; border-color:#dce7e7; }.brand { color:var(--ink); }.brand-mark { background:var(--green); color:#fff; }.nav-link:hover,.nav-link.active { background:#e7f0ea; color:var(--green); }.card { box-shadow:0 3px 14px rgba(18,61,74,.06); }
.home-hero { display:block; min-height:215px; padding:clamp(1.35rem,3.2vw,2.8rem); border-radius:22px; overflow:hidden; color:#fff; background:#123D4A; }.home-hero .eyebrow { color:#b6d2c3; }.home-hero h2 { margin:.1rem 0 1.1rem; max-width:650px; font-size:clamp(2rem,4vw,3.75rem); line-height:1.04; letter-spacing:-.045em; }.home-hero-date { display:flex; flex-direction:column; gap:.15rem; }.home-hero-date span { color:#b6d2c3; font-size:.76rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }.home-hero-date strong { font-size:1.05rem; }.join-button { display:inline-flex; align-items:center; gap:.65rem; padding:.8rem 1rem; border:0; border-radius:9px; box-shadow:none; color:#fff; background:#2F9E78; cursor:pointer; font:inherit; font-weight:750; text-decoration:none; transition:filter .2s ease,transform .2s ease; }.join-button:hover { filter:brightness(.95); transform:translateY(-1px); }.join-button svg { width:20px; height:20px; }
.home-preparation { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; margin-top:1.25rem; }.preparation-card { display:flex; align-items:center; justify-content:space-between; gap:1.25rem; min-height:210px; padding:1.5rem; border:1px solid #dce7e7; border-radius:18px; background:#fff; box-shadow:0 3px 14px rgba(18,61,74,.04); }.preparation-card .eyebrow { margin-bottom:.4rem; color:#567b70; }.preparation-card h3 { max-width:380px; margin:.1rem 0 .9rem; font-size:1.35rem; letter-spacing:-.025em; }.preparation-card p:not(.eyebrow) { max-width:380px; margin:0 0 1.1rem; color:var(--muted); line-height:1.45; }.materials-cover { display:block; flex:0 0 auto; width:105px; }.materials-cover img { display:block; width:100%; border-radius:5px; box-shadow:0 8px 20px rgba(18,61,74,.17); transition:transform .2s ease; }.materials-cover:hover img { transform:translateY(-2px); }.meeting-card { overflow:hidden; }.meeting-card-art { width:190px; max-height:170px; object-fit:contain; object-position:right center; }.button { background:#123D4A; }.button.secondary { color:#17313A; background:#e7f0ea; }.material-link,.meeting-text,.book-text-link { color:#123D4A; }
.articles-table .taken-article td { background:rgba(135,169,142,.24); }
.articles-table .read-article td { background:#e4efe7; }.articles-table .read-article td:first-child { box-shadow:inset 3px 0 0 #87A98E; }
.book-card { padding:1.1rem; }.materials-cover { border:0; cursor:pointer; }.book-viewer { display:block; width:100%; min-height:76vh; border:1px solid #dbe6e1; border-radius:12px; background:#f5f8f7; }
.password-field { position:relative; display:block; }.password-field input { width:100%; padding-right:3rem; }.password-toggle { position:absolute; top:50%; right:.45rem; transform:translateY(-50%); width:2.1rem; height:2.1rem; border:0; border-radius:50%; background:transparent; color:#426d5d; cursor:pointer; font-size:1.1rem; line-height:1; }.password-toggle:hover { background:#e4efe7; }
.text-button { justify-self:start; padding:0; border:0; background:transparent; color:#123D4A; font-size:.88rem; text-decoration:underline; text-underline-offset:3px; }
.reader-shell { position:fixed; inset:0; z-index:5; display:flex; flex-direction:column; background:#e8efed; color:#17313A; }.reader-toolbar { display:flex; align-items:center; gap:.55rem; min-height:58px; padding:.55rem .9rem; border-bottom:1px solid #d2dfda; background:#fff; }.reader-back,.reader-icon,.reader-side-tabs button { border:0; background:transparent; color:#17313A; cursor:pointer; font:inherit; }.reader-back { padding:.55rem .7rem; border-radius:8px; background:#e7f0ea; font-weight:700; white-space:nowrap; }.reader-title { min-width:180px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.reader-icon { display:grid; place-items:center; width:34px; height:34px; border-radius:8px; font-size:1.25rem; }.reader-icon:hover,.reader-side-tabs button:hover { background:#e7f0ea; }.reader-search { display:flex; align-items:center; gap:.35rem; width:min(260px,20vw); padding:.35rem .55rem; border:1px solid #d2dfda; border-radius:8px; color:#5f7279; }.reader-search input { min-width:0; width:100%; border:0; outline:0; font:inherit; }.reader-pages { display:flex; align-items:center; gap:.3rem; white-space:nowrap; font-size:.85rem; }.reader-pages input { width:48px; border:1px solid #d2dfda; border-radius:6px; padding:.35rem; text-align:center; font:inherit; }.reader-zoom { display:flex; align-items:center; gap:.25rem; margin-left:auto; font-size:.8rem; white-space:nowrap; }.reader-body { position:relative; display:flex; flex:1; min-height:0; }.reader-sidebar { flex:0 0 210px; overflow:auto; border-right:1px solid #d2dfda; background:#fff; }.reader-side-tabs { position:sticky; top:0; display:flex; gap:.2rem; padding:.5rem; background:#fff; border-bottom:1px solid #e2eae6; }.reader-side-tabs button { flex:1; padding:.45rem; border-radius:7px; font-size:.78rem; }.reader-side-tabs button.active { background:#e7f0ea; font-weight:700; }.reader-navigation { display:grid; gap:.35rem; padding:.5rem; }.reader-thumb,.reader-outline-item { display:flex; align-items:center; gap:.5rem; width:100%; min-height:42px; padding:.3rem; border:0; border-radius:7px; background:transparent; color:#17313A; cursor:pointer; text-align:left; font:inherit; }.reader-thumb:hover,.reader-outline-item:hover,.reader-thumb.active { background:#e7f0ea; }.reader-thumb canvas { width:40px; min-height:52px; border:1px solid #d2dfda; background:#f5f8f7; }.reader-thumb span { font-size:.78rem; }.reader-stage { position:relative; flex:1; display:grid; place-items:center; overflow:auto; padding:24px; background:#cfd9d6; }.reader-stage canvas { display:block; box-shadow:0 5px 22px rgba(23,49,58,.2); background:#fff; }.reader-loading { color:#426d5d; font-weight:700; }.reader-shell.sidebar-hidden .reader-sidebar { display:none; }
@media (max-width:800px) { .reader-toolbar { flex-wrap:wrap; min-height:0; gap:.35rem; padding:.45rem .6rem; }.reader-title { flex:1; min-width:0; font-size:.86rem; }.reader-search { order:3; width:100%; }.reader-zoom { margin-left:0; }.reader-sidebar { position:absolute; z-index:2; top:0; bottom:0; width:min(78vw,260px); box-shadow:4px 0 18px rgba(23,49,58,.15); }.reader-stage { padding:10px; }.reader-stage canvas { max-width:100%; height:auto; }.reader-shell.sidebar-hidden .reader-sidebar { display:none; } }
.next-badge { display:inline-flex; margin:0 0 .45rem; padding:.18rem .52rem; border-radius:999px; color:#fff; background:#2F9E78; font-size:.72rem; font-weight:700; }.articles-table .button.small { padding:.28rem .48rem; font-size:.76rem; }.reader-download { margin-left:.2rem; padding:.55rem .75rem; border:0; border-radius:8px; background:#2F9E78; color:#fff; cursor:pointer; font:inherit; font-weight:750; white-space:nowrap; }.reader-stage { display:block; padding:22px; }.reader-page { display:grid; place-items:center; min-height:180px; margin:0 auto 16px; }.reader-page canvas { max-width:100%; height:auto; } @media (max-width:800px) { .reader-download { padding:.45rem .55rem; font-size:.76rem; } .reader-stage { padding:10px; } }
@media (max-width:800px) { .home-hero { min-height:0; }.home-preparation { grid-template-columns:1fr; }.preparation-card { min-height:0; }.meeting-card-art { width:150px; } }
@media (max-width:800px) { .toolbar:has([data-article-view]) .filters { width:100%; flex-wrap:nowrap; }.toolbar:has([data-article-view]) .filter { flex:1 1 0; white-space:nowrap; } }
