/* Adapt the approved mobile/union/menu design to the protected application. */
body{font-family:Geologica,Arial,sans-serif;background:#f9f5f2;color:#1a1a1d}button,input,select,textarea{font-family:inherit}h1{font-weight:800}h2,h3{letter-spacing:-.5px}.shell.workspace{display:grid;grid-template-columns:210px minmax(0,1fr);max-width:1320px;min-height:100svh;padding:0}.workspace-content{min-width:0;padding:28px 36px 70px}.sidebar{display:flex;flex-direction:column;gap:24px;border-right:1px solid #ded8d1;padding:28px 20px;background:#f9f5f2}.sidebar .brand-pair{gap:12px}.brand{display:block}.brand .brand-pair{height:auto;width:auto;background:none;display:flex;align-items:center;gap:17px}.brand .brand-divider{height:36px;width:1px;background:#d4cbbf;flex:none}.brand .logo-90{width:91px;height:56px}.brand .logo-rvb{width:55px;height:54px}.sidebar .logo-90{width:82px}.sidebar .logo-rvb{width:49px;height:49px}.nav{position:static;display:grid;background:transparent;border:0;padding:0;gap:8px;justify-content:stretch;z-index:8}.nav button{display:flex;align-items:center;gap:10px;min-width:0;min-height:48px;padding:12px;text-align:left;border-radius:12px;font-size:12px;color:#70695f;max-width:none;flex:none}.nav button.active{background:#ffe899;color:#1a1a1d}.nav svg{width:20px;height:20px;flex:none;stroke-width:1.8}.sidefoot{margin-top:auto;color:#82786d;font-size:11px;line-height:1.8}.workspace header{margin-bottom:28px;align-items:center;gap:14px}.mobile-brand{display:none}.header-location{font-size:12px;color:#605c56;line-height:1.6}.header-user{margin-left:auto;border:1px solid #d8d1c8;border-radius:25px;padding:9px 15px;background:#fff;font-size:11px}.primary{background:#ffd235;color:#1a1a1d;border:1.5px solid #1a1a1d;border-radius:12px;min-height:48px;box-shadow:2px 3px 0 #1a1a1d;font-size:14px;font-weight:700;padding:13px 19px}.primary:active{transform:translate(1px,1px);box-shadow:1px 1px 0 #1a1a1d}.primary:disabled{box-shadow:none}.secondary{background:#a7b0ff;color:#1a1a1d}.ghost{background:#fff;color:#1a1a1d;border-color:#d9d1c6;box-shadow:none}.pill{background:#f0edff;color:#5540a2;border-radius:6px}.field{color:#443c35;font-weight:500}.field input,.field select,.field textarea,.filters input,.filters select{background:#fff;color:#1a1a1d;border-color:#ddd6ce}.progress{height:5px;background:#eee7dc}.progress i{background:#ffd235}.dashboard-intro p{color:#625e5a}.welcome-banner{background-color:#fbb900;background-image:linear-gradient(#ffffff19 1px,transparent 1px),linear-gradient(90deg,#ffffff19 1px,transparent 1px);background-size:19px 19px}.welcome-banner .sticker{color:#a7b0ff}.welcome-banner .primary{background:#f9f5f2;position:relative;z-index:1}.welcome-banner h2{max-width:400px}.welcome-banner p{color:#43320d}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.stats .stat{color:#1a1a1d}.stats .muted{font-size:11px}.course-list{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-card{padding:0!important;overflow:hidden}.learning-cover{background:#00d1c7;position:relative}.learning-cover:has(img):after{background:linear-gradient(90deg,#00d1c7 42%,transparent 85%)}.learning-cover .tag{background:#ffffffa6;color:#1a1a1d}.learning-cover .cover-label{display:block;position:relative;max-width:75%;font-size:22px;font-weight:800;z-index:1;margin-top:12px}.learning-cover img{position:absolute;width:45%;height:100%;object-fit:cover;right:0;top:0;opacity:.9}.cover-1 .learning-cover{background:#a7b0ff}.cover-1 .learning-cover:has(img):after{background:linear-gradient(90deg,#a7b0ff 42%,transparent 85%)}.cover-2 .learning-cover{background:#fcb0de}.cover-2 .learning-cover:has(img):after{background:linear-gradient(90deg,#fcb0de 42%,transparent 85%)}.cover-3 .learning-cover{background:#ffd235}.cover-3 .learning-cover:has(img):after{background:linear-gradient(90deg,#ffd235 42%,transparent 85%)}.learning-body{padding:19px}.learning-body .primary{margin-top:18px}.learning-body p{font-size:12px}.course-percent{font-size:12px}.course-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.lesson-nav button{white-space:normal}.lesson-body{color:#1a1a1d}.lesson-body p{color:#625e5a}.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.menu-study-card{padding:0!important;border-radius:22px;overflow:hidden}.menu-study-card h3{font-size:25px;line-height:1.16;letter-spacing:-.025em;margin:0 0 16px}.menu-study-card h4{font-size:14px;margin:0 0 9px}.menu-study-head{grid-template-columns:minmax(0,1fr) 125px}.menu-study-head:not(:has(.menu-study-visual)){grid-template-columns:1fr}.menu-study-visual .bottle{background:transparent;padding:0;margin:0;height:210px;object-fit:contain}.menu-price-volume strong{font-size:20px}.menu-price-volume{margin-top:12px}.menu-study-card .menu-description{font-size:14px;line-height:1.65;white-space:pre-line}.menu-fact{background:#fff5cc;border-radius:15px}.menu-fact b{display:block;margin-bottom:8px;font-size:13px}.menu-mark-title{font-size:13px;font-weight:650;border-top:1px solid #eee5d8;padding-top:16px;margin-top:18px}.marks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:8px}.marks button{min-height:48px;font-size:11px;padding:6px;border-radius:12px;background:#fff;line-height:1.35}.marks button.selected[data-status=not_started]{background:#eee9e3;border-color:#c1b5a8;color:#443b33}.marks button.selected[data-status=repeat]{background:#ffdf31;border-color:#edcc31;color:#241f16}.marks button.selected[data-status=learned]{background:#dceee1;border-color:#7aa889;color:#245536}.fact{color:#54472f}.tabs{gap:8px}.tabs button{background:#fff;color:#29211e;border:1px solid #dfd5cc;border-radius:24px;min-height:44px}.tabs button.active{background:#29211e;color:#fff}.auth{max-width:1180px;min-height:740px;background:#fff;border:1px solid #e6dfd6;border-radius:26px}.auth-story{background:#ffd235;padding:38px 42px}.auth-story h1{font-size:72px;line-height:.98;letter-spacing:-4px}.auth-story h1:after{content:'✦';display:block;font-size:78px;color:#7461d3;margin-top:22px;letter-spacing:0}.auth-form{padding:44px clamp(24px,4vw,60px)}.auth-form .tabs{border-bottom:1px solid #e8e2dc;gap:26px;flex-wrap:nowrap;margin-bottom:28px}.auth-form .tabs button{background:none;border:0;border-radius:0;padding:0 0 13px;color:#827970;border-bottom:3px solid transparent;font-size:13px}.auth-form .tabs button.active{border-color:#1a1a1d;color:#1a1a1d}.auth-form h2{font-size:29px}.auth-form .field input{background:#fbf9f6}.auth-form #google{min-height:50px;font-size:13px}.auth-form .primary{box-shadow:none;border-color:#ffd235;margin-top:10px}.auth-form [data-auth=recover]{border:0;background:none;color:#6d579f;justify-content:flex-end;font-size:11px}.auth-story p{color:#3b321e}.rank-member .stat{color:#1a1a1d}.rank-member .eyebrow{color:#9d6a25}.material-attachments .attachment-row{min-width:0}.attachment-row strong{overflow-wrap:anywhere}.material-reader-files{min-width:0}.attachment-pdf-viewer{overflow:hidden}.pdf-toolbar button{font-size:11px;box-shadow:none}.card form{min-width:0}.workspace main{min-width:0}.stack .card{min-width:0}button,input,textarea,select{max-width:100%}
@media(min-width:801px){.sidebar{position:sticky;top:0;height:100svh}.welcome-banner h2{font-size:36px}.workspace-content{max-width:none}.nav{max-width:100%}}
@media(max-width:800px){.shell.workspace{display:block}.workspace .sidebar{display:contents}.sidebar>.brand,.sidebar>.union-caption,.sidefoot{display:none}.workspace-content{padding:18px 16px calc(104px + env(safe-area-inset-bottom))}.workspace header{display:grid;grid-template-columns:1fr auto;gap:12px;margin-bottom:24px}.mobile-brand{display:block;grid-column:1/-1}.mobile-brand .brand-pair{justify-content:flex-start}.mobile-brand .brand:after{content:'ТВОЯ КОМАНДА.\AТВОЙ РОСТ.';white-space:pre;font-size:9px;letter-spacing:1.4px;line-height:1.7;color:#756b5f;margin-left:auto}.mobile-brand .brand{display:flex;align-items:center;gap:12px}.header-location{font-size:10px}.header-user{max-width:none;font-size:10px;text-align:right;padding:8px 11px}.header-user .muted{font-size:10px}.nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;gap:0;background:#fffdf8f5;backdrop-filter:blur(16px);border-top:1px solid #e5ddd1;padding:9px 5px calc(9px + env(safe-area-inset-bottom));z-index:8}.nav button{display:flex;flex-direction:column;gap:5px;min-height:50px;flex:1;padding:5px 2px;font-size:10px;border-radius:10px;text-align:center;max-width:95px}.nav button.active{background:#fff0bd}.nav svg{width:20px;height:20px}.course-list{grid-template-columns:1fr}.stats{gap:8px}.stats .card{padding:14px 9px}.stats .stat{font-size:28px}.stats .muted{font-size:10px}.auth{margin:0;display:block;border:0;border-radius:0;min-height:100svh}.auth-story{padding:24px}.auth-story h1{font-size:36px;line-height:1.05;letter-spacing:-1.5px;margin-top:24px}.auth-story h1:after{position:absolute;right:25px;bottom:30px;font-size:50px;margin:0}.auth-story>span:last-child{margin-top:18px;font-size:11px}.auth-story .eyebrow{display:block;font-size:9px}.auth-story p{display:none}.auth-form{padding:28px 24px}.auth-form h2{font-size:26px}.auth-story:after{display:none}.menu-grid{grid-template-columns:1fr}.menu-study-head{grid-template-columns:minmax(0,1fr) 100px;padding:20px 18px 0}.menu-study-card h3{font-size:24px}.menu-study-visual .bottle{height:185px}.menu-study-card .menu-item-body{padding:18px}.lesson-layout{display:block}.lesson-nav{display:flex;overflow-x:auto;margin-bottom:18px}.lesson-nav button{flex:0 0 190px}.filters>*{min-width:120px}.rank-member{align-items:start}.rank-member .stat{font-size:28px}.brand .logo-90{width:83px;height:54px}.brand .logo-rvb{width:51px;height:50px}.brand .brand-pair{gap:14px}}
@media(max-width:360px){.nav button{font-size:9px}.workspace-content{padding-left:13px;padding-right:13px}.menu-study-head{grid-template-columns:minmax(0,1fr) 78px}.menu-study-card h3{font-size:21px}.menu-price-volume strong{font-size:18px}.mobile-brand .brand:after{font-size:8px;letter-spacing:.8px}}
@media(max-width:800px){.nav button span{font-size:9px;letter-spacing:-.3px;line-height:1.3}.mobile-brand .brand:after{display:block!important}}@media(max-width:360px){.nav button span{font-size:8px;letter-spacing:-.4px}}
.menu-study-card .fact{background:#fff5cc}
/* Compact mobile study cards. Keep names and numeric values intact. */
.menu-grid{gap:12px;align-items:start}.menu-study-card{min-width:0;display:flex;flex-direction:column;height:340px;border-radius:16px}.menu-study-card:has(details[open]){height:auto;min-height:340px}.menu-study-card .menu-study-head{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:8px;padding:14px 14px 0;min-height:128px}.menu-study-head>div{min-width:0}.menu-study-card h3{font-size:20px;line-height:1.2;word-break:normal;overflow-wrap:normal;hyphens:none;margin:6px 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.menu-study-card:has(details[open]) h3{display:block}.menu-study-kind{font-size:9px;line-height:1.4;letter-spacing:.8px;display:block}.menu-study-visual{min-width:0;display:flex;align-items:center;justify-content:center}.menu-study-card .menu-study-visual .bottle{width:100%;height:116px;max-height:116px;object-fit:contain}.menu-study-card .menu-price-volume{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.menu-study-card .menu-price-volume>div{min-width:0;padding:6px 8px;border-radius:9px;flex:0 1 auto}.menu-study-card .menu-price-volume strong{font-size:16px;white-space:nowrap;word-break:normal;overflow-wrap:normal;line-height:1.25}.menu-study-card .menu-price-volume small{font-size:9px;white-space:nowrap}.menu-study-card .menu-item-body{padding:10px 14px 14px;flex:1;display:flex;flex-direction:column;gap:7px;min-width:0}.menu-study-card details{padding:0;margin:0;min-width:0}.menu-study-card summary{cursor:pointer;font-size:12px;font-weight:650;min-height:30px;display:list-item;padding:5px 0}.menu-study-card details.fact{padding:0 9px;border-radius:9px;background:#fff3ca}.menu-study-card .menu-description,.menu-study-card details p{font-size:12px;line-height:1.55;margin:5px 0 8px;overflow-wrap:break-word}.menu-study-card .menu-mark-title{margin:auto 0 0;padding:6px 0 0;font-size:10px}.menu-study-card .marks{margin:0;gap:5px}.marks button{min-height:34px;font-size:10px;padding:6px 4px;border-radius:9px;white-space:nowrap;box-shadow:none}.marks button[data-status=not_started]{color:#9d2828;background:#fff0ef;border:1px solid #f3b4ac}.marks button[data-status=repeat]{color:#805700;background:#fff7d9;border:1px solid #eed17a}.marks button[data-status=learned]{color:#24663b;background:#edf8ed;border:1px solid #a4d5ae}.marks button.selected[data-status=not_started]{background:#db4545;color:#fff;border-color:#b72f2f}.marks button.selected[data-status=repeat]{background:#ffdb57;color:#5b4100;border-color:#dfb12a}.marks button.selected[data-status=learned]{background:#329b58;color:#fff;border-color:#237a42}.menu-study-card [data-edit]{margin-top:0!important;min-height:30px;padding:5px;font-size:10px}.taste-chips{display:flex;flex-wrap:wrap;gap:4px}.taste-chips:empty{display:none}.taste-chips span{display:inline-block;padding:3px 7px;border-radius:20px;font-size:10px;line-height:1.3;max-width:100%;overflow-wrap:break-word}.taste-fresh{background:#def2d8;color:#346427}.taste-spicy{background:#eddfc9;color:#684726}.taste-fruit{background:#f9dfeb;color:#8b3154}.taste-soft{background:#eee2fb;color:#63408b}.taste-neutral{background:#e1ecfa;color:#355b87}
.avatar{width:36px;height:36px;border-radius:50%;background:#ece2ff;color:#694199;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;font-size:13px;font-weight:700;flex:none}.avatar img{width:100%;height:100%;object-fit:cover}.avatar-large{width:80px;height:80px;font-size:25px}.header-user{display:flex;align-items:center;gap:8px;max-width:290px;text-align:left;box-shadow:none;min-width:0}.account-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.account-copy strong,.account-copy small{white-space:normal;overflow-wrap:break-word;line-height:1.35}.account-copy strong{font-size:11px}.account-copy small{font-size:9px;color:#766b61}.profile-photo{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}.profile-photo .field{flex:1;min-width:170px}.profile-photo small{font-size:11px;font-weight:400;color:#766b61}.profile-settings{max-width:680px;margin-bottom:22px}.member-identity{display:flex;gap:9px;align-items:center}.priority{display:inline-block;padding:4px 8px;border-radius:8px;font-size:10px;line-height:1.4;margin:3px 0 8px;font-weight:600}.priority-start{background:#ffe1d4;color:#8d3a1e}.priority-attestation{background:#e7ddff;color:#633799}.priority-additional{background:#d9eee9;color:#286050}.priority-editor{display:block;font-size:10px;color:#756a60;margin:4px 0 10px}.priority-editor select{font-size:11px;min-height:34px;padding:5px 7px;width:100%}.lesson-nav .priority{display:block;font-size:9px;margin-bottom:0}.lesson-body img{max-width:100%;height:auto}h1,h2,h3,.member,.profile-summary{overflow-wrap:break-word;word-break:normal}
@media(max-width:800px){.workspace-content{padding-left:12px;padding-right:12px}.workspace header{gap:9px;margin-bottom:18px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.header-user{padding:6px 8px;max-width:100%;border-radius:16px;margin-left:auto}.header-user .avatar{width:30px;height:30px;font-size:11px}.account-copy strong{font-size:10px}.account-copy span,.account-copy small{font-size:9px}.menu-grid{grid-template-columns:1fr;gap:10px}.menu-study-card{height:315px}.menu-study-card:has(details[open]){min-height:315px}.menu-study-card .menu-study-head{grid-template-columns:minmax(0,1fr) 70px;min-height:120px;padding:12px 12px 0}.menu-study-card h3{font-size:20px}.menu-study-card .menu-item-body{padding:8px 12px 12px;gap:5px}.menu-study-card .menu-study-visual .bottle{height:108px}.menu-study-card .menu-price-volume strong{font-size:16px}.menu-study-card .menu-price-volume>div{padding:5px 7px}.menu-study-card summary{min-height:28px}.menu-study-card .marks button{min-height:34px}.menu-study-card .menu-mark-title{padding-top:4px}.profile-settings{padding:16px}}
@media(min-width:560px) and (max-width:800px){.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.menu-study-card details[open]>:not(summary){animation:menu-reveal .18s ease-out}@keyframes menu-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.menu-study-card details[open]>:not(summary){animation:none}}
.course-priority-filter{display:flex;align-items:end;gap:16px;margin:18px 0}.course-priority-filter .field{flex:1;max-width:420px;margin:0;min-width:0}.course-priority-filter select{width:100%;font-size:12px;min-height:42px}.course-priority-filter>p{font-size:12px;white-space:nowrap;margin:0 0 12px}@media(max-width:420px){.course-priority-filter{gap:10px}.course-priority-filter select{font-size:11px;padding-left:9px;padding-right:20px}.course-priority-filter>p{font-size:10px}}
.menu-study-card{height:auto;min-height:340px}.menu-study-card .drink-description h4{font-size:12px;margin:0 0 4px}.menu-study-card .drink-description .menu-description{display:block;overflow:visible;white-space:pre-line;margin:0 0 5px;font-size:12px;line-height:1.55}@media(max-width:800px){.menu-study-card{height:auto;min-height:315px}}
.menu-study-card{container-type:inline-size}.menu-study-card .menu-study-head{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-areas:'info photo' 'traits photo';gap:8px 10px;min-height:184px}.menu-study-head>div:first-child{grid-area:info;align-self:start}.menu-study-head>.menu-study-traits{grid-area:traits;align-self:start}.menu-study-head>.menu-study-visual{grid-area:photo;align-self:stretch}.menu-study-card .menu-study-visual .bottle{height:190px;max-height:190px;width:100%;object-fit:contain}.menu-study-card .menu-study-head:not(:has(.menu-study-visual)){grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-areas:'info traits';min-height:120px}.menu-study-head:not(:has(.menu-study-visual))>.menu-study-traits{padding-top:20px}.menu-study-head:not(:has(.menu-study-visual)):not(:has(.menu-study-traits)){grid-template-columns:1fr;grid-template-areas:'info';min-height:100px}.menu-study-head:not(:has(.menu-study-traits)):has(.menu-study-visual){grid-template-areas:'info photo'}.menu-study-traits .taste-chips{gap:5px}.menu-study-traits .taste-chips span{font-size:10px;padding:4px 7px}.menu-study-card h3{margin-top:6px;overflow-wrap:break-word}.menu-study-card .menu-price-volume{gap:5px}.menu-study-card .menu-price-volume>div{padding:5px 7px}
@media(max-width:800px){.menu-study-card .menu-study-head{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);min-height:165px;padding:12px 12px 0;gap:6px 8px}.menu-study-card .menu-study-visual .bottle{height:165px;max-height:165px}.menu-study-card .menu-study-head:not(:has(.menu-study-visual)){min-height:115px}.menu-study-card .menu-study-head:not(:has(.menu-study-visual)):not(:has(.menu-study-traits)){min-height:100px}.menu-study-card h3{font-size:19px}.menu-study-card .menu-price-volume strong{font-size:15px}}
@container(min-width:480px){.menu-study-card .menu-study-head:has(.menu-study-visual):has(.menu-study-traits){grid-template-columns:minmax(0,1.2fr) minmax(0,.65fr) minmax(0,1fr);grid-template-areas:'info traits photo';gap:10px}.menu-study-head:has(.menu-study-visual)>.menu-study-traits{padding-top:20px}.menu-study-card .menu-study-visual .bottle{height:210px;max-height:210px}}
.menu-study-card .menu-study-content{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:12px;padding:14px 14px 8px;flex:1;align-items:stretch}.menu-study-text{min-width:0}.menu-study-card .menu-study-content .menu-study-head{padding:0;min-height:0}.menu-study-card .menu-study-content:has(>.menu-study-visual) .menu-study-head{display:block}.menu-study-card .menu-study-content .menu-study-traits{padding:0;margin-top:9px}.menu-study-card .menu-study-content .menu-item-body{padding:12px 0 0;gap:8px}.menu-study-card .menu-study-content>.menu-study-visual{position:relative;min-width:0;min-height:220px;display:block}.menu-study-card .menu-study-content>.menu-study-visual .bottle{position:absolute;inset:0;width:100%;height:100%;max-height:none;min-height:0;object-fit:contain;border-radius:10px}.menu-study-card .menu-item-footer{padding:0 14px 14px}.menu-study-card .menu-item-footer .menu-mark-title{margin-top:0;padding-top:8px;margin-bottom:6px}.menu-study-card .menu-study-content:not(:has(>.menu-study-visual)){grid-template-columns:1fr}.menu-study-card .menu-study-content:not(:has(>.menu-study-visual)) .menu-study-head{min-height:100px}.menu-study-card .menu-study-content h3{display:block;overflow:visible;-webkit-line-clamp:unset;font-size:20px;overflow-wrap:break-word}.menu-study-card .menu-study-content .menu-description{font-size:12px;line-height:1.55}.menu-study-card .menu-study-content .menu-price-volume{flex-wrap:wrap}.menu-study-card .menu-study-content .menu-price-volume small{white-space:normal}
@media(max-width:800px){.menu-study-card .menu-study-content{padding:12px 12px 8px;gap:10px;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}.menu-study-card .menu-study-content h3{font-size:18px}.menu-study-card .menu-study-content>.menu-study-visual{min-height:210px}.menu-study-card .menu-item-footer{padding:0 12px 12px}.menu-study-card .menu-study-content .menu-price-volume strong{font-size:15px}.menu-study-card .menu-study-content .menu-price-volume>div{padding:5px 6px}.menu-study-card .menu-study-content .menu-price-volume small{font-size:8px}}
.menu-study-card .menu-study-content>.menu-study-visual{overflow:hidden;border-radius:10px;background:#fff}.menu-study-card .menu-study-content>.menu-study-visual .bottle{object-fit:contain;object-position:center;box-sizing:border-box;padding:4px}
.menu-study-card .menu-title-link{display:inline;padding:0;margin:0;border:0;background:none;box-shadow:none;color:inherit;font:inherit;text-align:left;min-height:0;line-height:inherit;border-radius:3px;white-space:normal}.menu-title-link:hover{text-decoration:underline}.menu-title-link:focus-visible{outline:2px solid #8065b4;outline-offset:3px}.photo-status{font-size:12px;color:#346741}.photo-status[role=alert]{color:#a72d2d}
.pdf-page-scroll{max-width:100%;max-height:75vh;overflow:auto;overscroll-behavior:contain;border-radius:8px;background:#fff}.pdf-zoom{display:flex;justify-content:center;align-items:center;gap:12px;margin:8px 0 12px}.pdf-zoom button{min-width:44px;min-height:44px;padding:7px;box-shadow:none}.pdf-zoom span{min-width:52px;text-align:center;font-size:12px}.rank-member[hidden]{display:none!important}.choice{align-items:center}.choice>span{flex:1;min-width:0}.choice input{margin:0;align-self:center}

/* Menu brands, venue scope and kitchen/bar navigation. */
.menu-brand-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;overflow:visible}.menu-brand-tabs button{white-space:normal;min-width:0;padding:11px 8px}.menu-scope-row{display:flex;align-items:end;gap:12px;margin:10px 0}.menu-scope-row .field{flex:1;min-width:0;margin:0}.menu-section-tabs{flex-shrink:0;margin:0;gap:4px}.menu-section-tabs button{padding:10px 14px}.menu-scope-note{font-size:13px;line-height:1.5;border-radius:12px;padding:9px 12px;margin:10px 0 16px;background:#eaf4eb;color:#285435}.menu-scope-note.browse{background:#fff3cc;color:#715619}.menu-progress-summary{margin-top:16px}.menu-progress-summary h2{margin-top:0}.menu-progress-summary p{margin:8px 0}@media(max-width:400px){.menu-scope-row{gap:8px;flex-wrap:wrap}.menu-scope-row .field{flex-basis:100%}.menu-section-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr}.menu-section-tabs button{width:100%}}

.menu-brand-tabs{margin:10px 0}.menu-brand-tabs button{min-height:38px;padding:8px}.menu-scope-row .field{font-size:12px}.menu-scope-row select{min-height:40px;padding:8px;font-size:13px}.menu-section-tabs button{min-height:38px;padding:8px 14px}.menu-scope-note{font-size:12px;padding:8px 10px;margin:8px 0 12px}

/* Separate the editor action from personal learning marks. */
.menu-study-card .menu-item-footer .menu-edit-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:10px 0 0!important;padding:10px 14px;min-height:44px;flex-shrink:0;border:1px solid #e5dccf;border-radius:11px;background:#f6f1e9;color:#493e30;box-shadow:none;font-size:12px;font-weight:600;line-height:1.3}.menu-edit-button svg{width:16px;height:16px;flex:none}.menu-study-card .menu-edit-button:hover{background:#ffedb5;border-color:#e5c670}.menu-study-card .menu-edit-button:focus-visible{outline:2px solid #8065b4;outline-offset:3px}

/* Brand menus: common 90-e menu and compact illustrated filters. */
.menu-brand-tabs button{height:66px;padding:7px 18px;background:#fff;border:1px solid #ded5ce;display:flex;align-items:center;justify-content:center;border-radius:18px}
.menu-brand-tabs button.active{background:#fff6d6;color:#25201c;border:2px solid #e4b435;box-shadow:0 0 0 1px #e4b43520}
.menu-brand-tabs button img{width:auto;max-width:125px;height:48px;object-fit:contain;display:block}
.menu-brand-tabs button[data-menu-brand="rvb"] img{height:50px;border-radius:5px}
.menu-scope-row{justify-content:center;margin:8px 0}.menu-section-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:6px}.menu-section-tabs button,.menu-category-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.menu-category-icon{width:19px;height:19px;flex:0 0 19px}.menu-category-tabs{gap:6px}.menu-category-tabs button{padding:9px 12px;min-height:40px;white-space:nowrap}.menu-category-tabs button span{min-width:0}
@media(max-width:420px){.menu-brand-tabs button{height:60px;padding:5px 12px}.menu-brand-tabs button img{height:42px;max-width:110px}.menu-brand-tabs button[data-menu-brand="rvb"] img{height:46px}.menu-category-tabs button{font-size:12px;padding:9px 10px;gap:5px}.menu-category-icon{width:17px;height:17px;flex-basis:17px}}

.menu-vivid-description{margin:10px 0;padding:9px 11px;border-radius:12px;background:#fff5d6;color:#342b20;overflow-wrap:anywhere}.menu-vivid-description summary{font-weight:700;cursor:pointer;font-size:13px;line-height:1.5}.menu-vivid-description p{white-space:pre-line;line-height:1.6;font-size:13px;margin:9px 0 2px}

/* Explicit card selectors override compact details reset. */
.menu-study-card details.menu-vivid-description{padding:10px 13px;margin:8px 0;border-radius:12px}.menu-study-card details.menu-vivid-description summary{padding:2px 0 4px;min-height:0;list-style-position:inside;line-height:1.5}.menu-study-card details.menu-vivid-description p{margin:8px 0 2px;line-height:1.65;white-space:pre-line}
.work-change-panel{margin-top:16px}.work-change-panel details>summary{cursor:pointer;font-weight:650;padding:8px 0}.work-change-panel form{margin-top:12px}.work-change{padding:14px 0;border-top:1px solid #e8dfd5;margin-top:12px;min-width:0;overflow-wrap:anywhere}.work-change>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.work-change p{line-height:1.55;margin:9px 0}.work-change .pill{font-size:11px}.work-change-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.work-change-actions button{flex:1;min-width:110px}
@media(max-width:600px){.nav button span{font-size:8px;letter-spacing:-.2px}.nav button[data-tab="manager"] span{font-size:7px;letter-spacing:-.4px}}
@media(max-width:600px){.nav button[data-tab="manager"] span{font-size:9px;letter-spacing:-.25px;line-height:1.15;white-space:normal;overflow-wrap:anywhere;max-width:55px;text-align:center}}

.course-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.course-filters .field{min-width:0;font-size:12px}.course-filters select{width:100%;font-size:12px;min-height:42px;padding:8px}.course-audience-badges{display:flex;gap:4px;flex-wrap:wrap;margin:9px 0}.course-audience-badges span,.level-badge{font-size:10px;padding:4px 7px;background:#eaf3ff;color:#305576;border-radius:7px}.course-audience-badges .level-badge{background:#fff2c9;color:#755300}.course-audience-editor{background:#f8f5ef;border-radius:9px;padding:8px 10px;margin:10px 0;font-size:12px}.course-audience-editor summary{cursor:pointer;font-weight:650}.course-audience-editor fieldset{border:0;padding:10px 0;margin:0;min-width:0}.course-audience-editor legend{font-weight:650;padding:6px 0}.audience-role-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,1fr);gap:7px;align-items:center;margin:7px 0}.audience-role-row label{display:flex;align-items:center;gap:6px;overflow-wrap:anywhere}.audience-role-row input,.audience-level input{width:16px;height:16px;flex-shrink:0}.audience-role-row select{font-size:11px;padding:6px;min-width:0}.audience-level{display:inline-flex;align-items:center;gap:6px;margin:6px 10px 6px 0}.training-level-panel{margin-top:16px}
@media(max-width:600px){.course-filters{grid-template-columns:1fr;gap:4px}.course-filters .field{margin:4px 0}.audience-role-row{grid-template-columns:minmax(0,1fr) minmax(115px,1fr)}}

.oral-profile,.oral-entry{margin-top:16px}.oral-guide{margin:12px 0;padding:12px;border:1px solid #e7ddca;border-radius:12px;background:#fff9e8;font-size:13px;line-height:1.6}.oral-guide>summary{font-weight:700;cursor:pointer}.oral-guide details{padding:8px 0;border-top:1px solid #eee2c7}.oral-guide details summary{font-weight:650;cursor:pointer}.oral-guide ol,.oral-grading ol{padding-left:20px}.oral-guide li,.oral-grading li{margin:7px 0}.oral-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.oral-summary>div{display:flex;flex-direction:column;gap:7px;padding:10px;background:#faf7f1;border-radius:10px}.oral-result{display:inline-block;font-size:12px;padding:5px 8px;border-radius:8px;line-height:1.4}.oral-result.passed,.oral-overall.passed,.oral-average.passed{background:#e2f3e7;color:#22673a}.oral-result.failed{background:#fff0ed;color:#9e3434}.oral-result.waiting{background:#efece7;color:#71695c}.oral-overall{font-size:13px;border-radius:10px;padding:10px;background:#fff3cf;color:#72520e}.oral-history{margin-top:12px}.oral-history>summary{cursor:pointer;font-weight:650;padding:8px 0}.oral-attempt{padding:16px;border:1px solid #e7ded5;border-radius:14px;background:#fff;margin:12px 0}.oral-attempt small{display:block;line-height:1.6;margin:9px 0}.oral-score-list{margin:12px 0}.oral-score-list>div{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #f0e9df;font-size:13px}.oral-score-list dd{margin:0;font-weight:700;white-space:nowrap}.oral-comment{white-space:pre-line;overflow-wrap:anywhere;line-height:1.6}.oral-grading{margin:16px 0}.oral-grade-category{padding:12px 0;border-bottom:1px solid #e9e0d7}.oral-grade-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.oral-grade-row>span{display:flex;align-items:center;gap:7px;flex-shrink:0}.oral-grade-row input{width:68px;min-height:44px;text-align:center;font-size:18px;font-weight:700;padding:8px}.oral-grade-row small{font-size:12px;white-space:nowrap}.oral-grade-category details{font-size:12px;line-height:1.65;margin-top:10px}.oral-grade-category summary{cursor:pointer;color:#6c5c3f}.oral-grading .field{margin-top:16px}.oral-average{padding:12px;background:#f3efe9;border-radius:12px;font-weight:650;font-size:14px;margin:12px 0;line-height:1.6}.oral-members .card{min-width:0}.oral-members h3{margin-bottom:6px}.oral-members p{font-size:12px;line-height:1.6}.oral-filters input,.oral-filters select{min-width:0}
@media(max-width:420px){.oral-summary{gap:6px}.oral-summary>div{padding:8px}.oral-result{font-size:11px}.oral-grade-row strong{font-size:14px}.oral-guide{padding:10px}.oral-attempt{padding:12px}}

.oral-summary>div:nth-child(3){grid-column:1/-1}.oral-summary small{font-size:11px;line-height:1.5}.oral-division-tabs{margin:16px 0}.general-learning-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid #eee5d9;font-size:13px;overflow-wrap:anywhere}.general-learning-row>div{min-width:0}.general-learning-row small{display:block;margin-top:5px;color:#786e61;line-height:1.5}.general-learning-row .oral-result{flex-shrink:0}.general-learning-row a{color:inherit;text-decoration:underline}.general-checklist{line-height:1.6}
/* Library handbook: compact sections and phone-friendly schedules. */
.handbook{min-width:0}.handbook-tools{padding:12px;background:#fff7d9;border-radius:12px;margin-bottom:18px}.handbook-tools .field{margin:0}.handbook-tools select{width:100%;min-width:0;font-size:14px}.handbook-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.handbook-actions button{font-size:12px;padding:8px 12px;min-height:40px}.handbook-sections>details{border:1px solid #eadfd2;border-radius:12px;margin:10px 0;scroll-margin-top:14px;min-width:0;overflow:hidden}.handbook-sections>details>summary{cursor:pointer;padding:14px;font-size:15px;font-weight:750;line-height:1.45;background:#faf7f1;overflow-wrap:anywhere}.handbook-sections>details[open]>summary{background:#fff1ba}.handbook-sections>details>div{padding:4px 14px 14px}.handbook-sections p,.handbook-sections li{font-size:14px;line-height:1.65;overflow-wrap:anywhere}.handbook-sections ul{padding-left:20px}.handbook-sections li{padding-left:2px;margin:7px 0}.handbook-sections h3{font-size:16px;line-height:1.4;overflow-wrap:anywhere}.handbook-sections section{margin:14px 0;padding:4px 0;border-bottom:1px solid #eee5da}.handbook-sections blockquote{margin:12px 0;padding:12px;background:#f8f5ef;border-left:3px solid #e8b437;border-radius:8px}.handbook-sections blockquote p{margin:4px 0}.handbook-sections img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}.handbook-sections a{overflow-wrap:anywhere}@media(max-width:480px){.lesson-body:has(.handbook){padding:12px}.handbook-sections>details>div{padding:2px 10px 10px}.handbook-sections>details>summary{padding:12px;font-size:14px}}
