/* Общая рабочая область игровых сообществ, рейтинга и сезона. */
.community-screen{font-size:16px;line-height:1.5;--field-h:40px}
.community-screen .page{padding:16px 24px 12px}
.community-screen .page-in{max-width:1400px}
.community-screen .foot{display:none}
.community-screen .page-in > .eyebrow{display:none}
.community-screen h1,.community-screen .a-me b{font-size:24px;line-height:1.25;margin:0;font-weight:500}
.community-screen h2{font-size:18px;font-weight:600;margin:0 0 12px}
.community-screen .lede{font-size:14px;line-height:1.45;max-width:90ch}
.community-screen .page-in > .lede{margin:8px 0 12px!important}
.community-screen .card{border-radius:10px;padding:16px;min-width:0}
.community-screen .card[hidden] + .card{margin-top:0}
.community-screen a.h-mini{display:inline-flex;align-items:center;justify-content:center;min-height:36px;text-decoration:none}
.community-screen .btn{font-size:12px;letter-spacing:.02em;padding:10px 14px;border-radius:6px}
.community-screen .pbtn,.community-screen .h-mini,.community-screen .h-sel,.community-screen .tab{border-radius:6px;letter-spacing:0;font-size:12px}
.community-screen .h-mini{font-family:var(--f-display);font-weight:600;height:34px;padding:0 11px;border:1px solid var(--line);background:transparent;color:var(--ink);cursor:pointer}
.community-screen .h-mini--bad{color:var(--bad)}
.community-screen .s-note a{color:inherit;text-decoration-color:var(--wood);text-underline-offset:3px}
.community-screen .a-mark{border-radius:4px;letter-spacing:0;font-size:11px;padding:5px 8px}
.community-screen .f input,.community-screen .f select,.community-screen .pinput,.community-screen .r-write input{font-size:15px;border-radius:6px}
.community-screen .f label{font-size:12px;text-transform:none;letter-spacing:0}
.community-screen .consent{font-size:13px;margin-bottom:12px}
.community-screen .h-empty,.community-screen .s-note,.community-screen .h-row-sub{font-size:14px!important;line-height:1.45}
.community-screen .h-msg{font-size:14px;min-height:0;margin:8px 0 0;flex:none;overflow-wrap:anywhere}
.community-screen .h-msg:empty,.community-screen #sMine:empty,.community-screen #sAbout:empty{display:none}
.house-dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow-y:auto;border:1px solid var(--line);border-radius:12px;padding:20px;background:var(--paper);color:var(--ink)}
.house-dialog::backdrop{background:#0e111470;backdrop-filter:blur(3px)}
.house-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.house-dialog #hApplyHouse{margin:0 0 14px}
.house-dialog .btn{margin-top:12px;width:100%}
.house-dialog textarea,.house-question textarea{width:100%;resize:vertical;min-height:60px;font:15px/1.4 var(--f-body);padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink)}
.house-application{display:block;white-space:pre-wrap;margin-top:6px;color:var(--ink)}
.house-question{flex-basis:100%;padding:10px 0}
.house-question label{display:block;font-size:13px}
.house-question button{margin-top:8px}
.community-screen .a-head{padding-bottom:10px;margin-bottom:12px;gap:8px 16px;align-items:center}
.community-screen .a-me{min-width:0}
.community-screen .a-me b{overflow-wrap:anywhere}
.community-screen .cols{gap:16px;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr)}
.community-screen .h-row{padding:10px 0;gap:10px}
.community-screen .h-row:hover{margin:0;padding-left:0;padding-right:0}
.community-screen .h-row-main b{font-size:15px;overflow-wrap:anywhere}
.community-screen .h-role{font-size:10px;letter-spacing:0;border-radius:4px;padding:4px 7px}
.community-search,.community-screen .r-search{width:100%;min-width:0;font:15px var(--f-body);height:40px;border:1px solid var(--line);border-radius:6px;padding:0 12px;background:#fff;color:var(--ink)}
.community-search{margin-bottom:8px;flex:none}
.community-screen #hGuest{max-width:620px;padding:20px;border:1px solid var(--line);border-radius:10px;background:#FCFBF8}
.community-screen #hGuest .eyebrow{margin-bottom:10px;font-size:11px}
.community-screen #hGuest .lede{margin-top:12px;margin-bottom:18px!important}
.community-screen .h-back{font-size:11px;letter-spacing:0;margin-bottom:8px}
.community-screen #hAbout{margin:0 0 10px!important;max-width:none;overflow-wrap:anywhere}
.community-screen .h-meet{border-radius:7px;padding:9px 12px;margin:0 0 10px!important;gap:8px}
.community-screen .h-meet-main b{font-size:14px}
.community-screen .h-meet-sub{font-size:13px}
.community-screen #hMineCard{padding:10px 14px;margin:0 0 10px;display:flex;gap:12px 24px;align-items:center;flex-wrap:wrap}
.community-screen #hMineCard h2{font-size:14px;margin:0}
.community-screen #hMine{display:flex;gap:12px 24px;flex-wrap:wrap}
.community-screen .a-stat{display:flex;flex-direction:column;gap:2px}
.community-screen .a-stat b{font:600 18px/1.2 var(--f-display)}
.community-screen .a-stat span{font-size:11px;letter-spacing:0;color:var(--muted)}
.house-tabs{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:10px;flex:none}
.house-tabs button{font:600 13px var(--f-display);padding:9px 14px;color:var(--muted);border:0;background:transparent;border-radius:6px;cursor:pointer}
.house-tabs [aria-selected=true]{background:var(--ink);color:var(--paper)}
.house-tabs button:focus-visible{outline:2px solid var(--wood);outline-offset:1px}
.house-panels{min-height:0;min-width:0}
.hf-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.hf-heading h2{margin-bottom:5px}.hf-actions{display:flex;gap:6px;flex-wrap:wrap;flex:none}
.hf-primary{background:var(--ink)!important;color:var(--paper)!important;border-color:var(--ink)!important}
#hfStatus{font-size:14px;margin:10px 0;line-height:1.5}#hfStatus:empty{display:none}
.hf-list{display:flex;flex-direction:column;gap:16px;max-width:880px;margin:auto}
.hf-post{border:1px solid var(--line);border-radius:16px;padding:18px;background:linear-gradient(145deg,#fff,#faf8f3);min-width:0}
.hf-post-head{display:flex;justify-content:space-between;align-items:start;gap:12px}
.hf-post-head strong{font-size:15px;overflow-wrap:anywhere}.hf-date{display:block;color:var(--muted);font-size:12px;margin-top:4px}
.hf-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.65;margin:16px 0}
.hf-gallery{display:grid;gap:8px;margin-top:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
.hf-gallery-1{grid-template-columns:1fr}.hf-gallery-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hf-gallery button{padding:0;min-width:0;border:0;background:#eee9df;border-radius:12px;overflow:hidden;cursor:zoom-in}
.hf-gallery img{display:block;width:100%;height:230px;object-fit:cover}.hf-gallery-1 img{height:auto;max-height:440px;object-fit:contain}
.hf-video{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--ink);background:#f0e8d9;margin-top:14px;font-size:14px;overflow-wrap:anywhere}
.hf-video span:nth-child(2){flex:1;min-width:0}.hf-play{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:#fff8eb;color:#79562d}
#hfMore{display:block;margin:18px auto 0}.hf-editor{width:min(620px,calc(100vw - 24px))}.hf-editor .f{margin-bottom:16px}.hf-editor input[type=url]{width:100%}.hf-editor input[type=file]{width:100%;font-size:13px}
.hf-editor textarea{min-height:140px}.hf-editor .h-empty{display:block;margin-top:6px}
.hf-preview{display:flex;gap:10px;margin:12px 0}.hf-preview>div{position:relative;flex:1;max-width:160px}.hf-preview img{display:block;width:100%;height:100px;object-fit:cover;border-radius:10px}.hf-preview button{position:absolute;top:4px;right:4px;background:#fff!important}
.hf-lightbox{width:min(1100px,calc(100vw - 24px));padding:12px}.hf-lightbox img{display:block;max-width:100%;max-height:80dvh;margin:10px auto 0;object-fit:contain}
@media(max-width:700px){.hf-post{padding:12px}.hf-post-head{flex-wrap:wrap}.hf-gallery img{height:150px}.hf-gallery-3{grid-template-columns:1fr 1fr}.hf-gallery-3 button:first-child{grid-column:1/-1}.hf-text{font-size:14px}.hf-heading{gap:10px}}
.hq-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.hq-heading strong{font-size:14px;color:#725025}
.hq-tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
.hq-tier{display:flex;flex-wrap:wrap;gap:5px 12px;justify-content:space-between;padding:10px 12px;border:1px solid var(--line);border-radius:12px;font-size:13px;background:#f7f5ef}
.hq-tier.earned{background:#f3e8d2;border-color:#bc9455}
.hq-tier progress{width:100%;height:6px;accent-color:#a27538}
#hqStatus,#hqAnswer{font-size:14px;margin:8px 0;min-height:20px}
.hq-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,310px);gap:20px;align-items:start;margin-top:16px}
.hq-board{width:100%;aspect-ratio:1;min-width:0;justify-self:center}
#hqBoard{display:block;width:100%;height:100%;border-radius:10px;touch-action:manipulation}
.hq-controls{display:flex;flex-direction:column;gap:12px;min-width:0;font-size:14px}
.hq-controls p{margin:0}.hq-controls h3{margin:0;font-size:18px}
.hq-controls select{max-width:100%;padding:8px;border:1px solid var(--line);border-radius:8px;font:inherit;background:var(--paper)}
.hq-move{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hq-controls summary{cursor:pointer}.hq-controls details p{margin-top:8px}
@media(max-width:700px){.hq-workspace{grid-template-columns:1fr}.hq-board{width:100%}.hq-tiers{gap:5px}.hq-tier{padding:8px;font-size:12px}}
.house-panels > .card{margin:0}
.house-tabs-ready .house-panels > .card:not(.is-active){display:none}
.community-screen .h-member{padding:9px 0;gap:8px}
.community-screen .h-member-main{min-width:120px;overflow-wrap:anywhere}
.community-screen .h-chat{font-size:15px;max-height:none;border-radius:6px}
.community-screen #hSay{width:0}
.community-screen .s-head{margin-bottom:10px;gap:8px 20px;flex:none}
.community-screen .s-head > div{min-width:0}
.community-screen .s-head .lede{margin-top:6px!important}
.community-screen .s-when{font-size:14px;margin:0;gap:12px}
.community-screen .s-stage{border-radius:7px;padding:10px 14px;margin:0 0 12px;gap:8px 16px;flex:none}
.community-screen .s-stage-sub{font-size:13px}
.community-screen .s-stage b{font-size:14px}
.community-table-card{margin-top:12px;display:flex;flex-direction:column;gap:0}
.community-screen .s-stage + .community-table-card{margin-top:0}
.community-screen .r-tools{margin-bottom:12px;gap:8px}
.community-screen .r-tools .tabs{flex-wrap:wrap}
.community-table-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.community-screen .r-table,.community-screen .s-table{table-layout:fixed;font-size:14px}
.community-screen .r-table th,.community-screen .s-table th{position:sticky;top:0;background:#FCFBF8;z-index:1;font-size:10px;letter-spacing:.04em;padding:8px}
.community-screen .r-table td,.community-screen .s-table td{padding:9px 8px;overflow-wrap:anywhere}
.community-screen .r-place,.community-screen .s-place{width:60px}
.community-screen .r-name,.community-screen .s-name{font-size:14px}
.community-screen .r-table th:nth-child(2){width:25%}
.community-screen .r-table th:last-child{width:32%}
.community-screen .s-table th:nth-child(2){width:45%}
.community-screen .r-pages,.community-screen .s-pages{margin-top:10px;flex:none;min-height:36px}
.community-screen .r-count,.community-screen .s-count{font-size:13px}
.community-screen .s-note{margin-bottom:10px!important}
.community-screen #sMine{margin:10px 0 0!important}
.community-screen .s-points{font-size:16px}
@media(min-width:961px){
  .house-panels #hQuestsCard.is-active{display:flex;flex-direction:column;overflow:hidden}
  #hQuestsCard > :not(.hq-workspace){flex:none}
  #hqRefresh{align-self:flex-start}
  .hq-workspace{flex:1;min-height:0;grid-template-rows:minmax(0,1fr)}
  .hq-controls{max-height:100%;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}
  .community-screen > .wrap{height:100vh;height:100dvh;display:flex;flex-direction:column}
  .community-screen .page{flex:1;min-height:0}
  .community-screen .page-in{height:100%;display:flex;flex-direction:column;min-height:0}
  .community-screen .foot{display:none}
  .community-table-card{flex:1;min-height:0}
  .community-table-scroll{flex:1}
  .community-screen #hUser,.community-screen #hOne{display:flex;flex-direction:column;flex:1;min-height:0}
  .community-screen #hUser > .cols{flex:1;min-height:0;align-items:stretch}
  .community-screen #hUser > .cols > div{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
  .house-panels{flex:1;display:flex;flex-direction:column}
  .house-panels > .card{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
  .house-panels #hChatCard.is-active{display:flex;flex-direction:column}
  .community-screen #hChat{flex:1;min-height:0}
  .community-screen #hSayForm{flex:none}
}
@media(max-width:960px){
  .community-screen .page{padding:12px}
  .community-screen .cols{grid-template-columns:1fr}
  .community-screen .card{padding:14px}
  .community-screen .h-chat{max-height:50dvh;min-height:160px}
  .community-screen .community-table-scroll{max-height:65dvh}
}
@media(min-width:1200px){
  .community-screen #hMembers,.community-screen #hGames{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;align-content:start}
  .community-screen #hMembers > :nth-child(2),.community-screen #hGames > :nth-child(2){border-top:0}
}
@media(max-width:700px){
  .community-screen .r-table th:nth-child(2){width:40%}
  .community-screen .r-table th:last-child{width:auto}
  .community-screen .s-table th:nth-child(2){width:auto}
  .community-screen .r-place,.community-screen .s-place{width:44px}
  .community-screen .r-table td,.community-screen .s-table td{padding:8px 4px}
  .community-screen .r-acts{gap:4px}
  .community-screen .a-mark{font-size:10px;padding:5px 6px}
  .community-screen .r-tools{align-items:stretch;flex-direction:column}
  .community-screen .r-search{flex:none}
  .community-screen .h-row{align-items:flex-start;flex-wrap:wrap}
  .house-tabs button{padding:9px 10px;font-size:12px}
}
/* Owner-only history uses the same compact house panel as the feed. */
.hh-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.hh-list li{padding:12px 14px;border:1px solid var(--line,#ded8cc);border-radius:14px;min-width:0;overflow-wrap:anywhere}
.hh-list p{margin:5px 0;font-size:13px}
.hh-list time{font-size:12px;color:var(--muted,#777)}
#hRoleHelp{max-width:76ch;line-height:1.5;margin-bottom:16px}
.hq-completion{padding:14px;border:1px solid #cdb27e;border-radius:14px;background:linear-gradient(130deg,#faf4e5,#f5f5ef);margin-bottom:16px}
.hq-completion h3{font-size:16px;margin:0 0 8px}
.hq-completion p{margin:8px 0;font-size:13px;line-height:1.5}
.hq-completion .hf-actions{margin-top:12px}
#hqNext{margin-bottom:12px}
.hq-practice{display:flex;flex-direction:column;gap:12px;min-width:0}
.hq-practice[hidden]{display:none}
.house-emblem{display:inline-flex;width:48px;height:48px;flex:none;color:#496751;background:#edf0e6;border-radius:50%;box-shadow:inset 0 0 0 1px #cbd3bf}
.house-emblem svg{display:block;width:100%;height:100%}.he-ring{fill:none;stroke:currentColor;stroke-width:.6;opacity:.5}
.ha-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0;max-width:820px}
.hf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.hf-toolbar h2{margin:0!important}#hbRoom h3{margin:8px 0 12px}#hbRoom p{margin:8px 0;line-height:1.5}#hbRoom .hb-teams{margin:10px 0}#hbRoom .hf-actions{margin:12px 0}#hbAwards:empty{display:none}#hbChat{max-height:220px;overflow:auto}
@media(min-width:961px){
 .house-panels #hBattlesCard.hb-live.is-active{display:flex;flex-direction:column;overflow:hidden}
 #hBattlesCard.hb-live>.hf-toolbar{flex:none;margin-bottom:8px}
 #hBattlesCard.hb-live>#hbCreate,#hBattlesCard.hb-live>#hbAwards,#hBattlesCard.hb-live>#hbList,#hBattlesCard.hb-live>details:not(#hbChatWrap){display:none}
 #hBattlesCard.hb-live>.hb-arena{flex:1;min-height:0;height:100%;align-items:stretch}
 #hBattlesCard.hb-live .hb-arena>section{max-height:none;height:100%;flex-basis:280px;overflow:auto}
 #hBattlesCard.hb-live #hbFrame{height:100%;min-height:0}#hBattlesCard.hb-live #hbFrameWrap{height:100%;min-height:0}
 #hBattlesCard.hb-live #hbChatWrap{flex:none;max-height:180px;overflow:auto;margin-top:8px}
}
.ha-field{display:flex;flex-direction:column;gap:6px;font-size:13px;min-width:0}.ha-field input,.ha-field select,.ha-comment-form textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--line,#d5cbbc);border-radius:10px;background:#faf8f4;padding:11px;color:inherit;font:inherit}
.ha-form>button{align-self:end;justify-self:start}.ha-event,.ha-comment{border:1px solid var(--line,#d5cbbc);border-radius:14px;padding:16px;margin:12px 0;overflow-wrap:anywhere}.ha-event h3{margin:0 0 8px}.ha-event .h-mini{margin:8px 8px 0 0}.ha-date{color:#80643c;font-size:13px}.ha-comment time{margin-left:12px;font-size:11px;color:var(--muted)}.ha-comment p{white-space:pre-wrap}.ha-comment-form{display:flex;align-items:end;gap:10px;margin:12px 0}.ha-comment-form textarea{min-height:72px;resize:vertical}.ha-comments{margin-top:12px}.ha-pin{display:block;color:#886337;font-size:12px;letter-spacing:.04em;margin-bottom:12px}
.hb-list{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:12px 0}.hb-list>button{min-width:200px;max-width:300px;text-align:left;white-space:normal;flex:none}.ha-selected{background:#e7dfd0!important}.hb-arena{display:flex;gap:18px;align-items:start;min-width:0}.hb-arena>section{flex:1;min-width:0}.hb-arena:has(#hbFrameWrap:not([hidden]))>section{flex:0 0 310px;max-height:72vh;overflow:auto}.hb-teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.hb-teams p{font-size:12px;overflow-wrap:anywhere}.hb-teams button{margin-left:5px}.hb-score{font-size:32px;display:block;margin:10px 0}.hb-board{padding:12px 0;border-top:1px solid var(--line,#d5cbbc);display:flex;gap:6px;flex-wrap:wrap;font-size:12px}.hb-board>span{width:100%;overflow-wrap:anywhere}.hb-board a{margin-left:auto}#hbFrameWrap{flex:1;min-width:0}#hbFrame{width:100%;height:72vh;min-height:400px;border:0;border-radius:14px;background:#f6f3ed}#hBattlesCard:fullscreen{width:100vw;height:100dvh;overflow:auto;background:#f8f5ef;box-sizing:border-box;padding:12px}#haStatus:empty{display:none}#hqCollection{max-width:100%;margin:6px 0;border-radius:8px;padding:7px}#hqContributors{overflow-wrap:anywhere}
@media(max-width:960px){.hb-arena{flex-direction:column}.hb-arena:has(#hbFrameWrap:not([hidden]))>section{flex:auto;max-height:none;width:100%}#hbFrameWrap{width:100%}#hbFrame{height:80dvh;min-height:520px}.ha-form{grid-template-columns:1fr}.ha-comment-form{flex-direction:column;align-items:stretch}.hb-teams{gap:8px}.hb-list>button{min-width:160px;max-width:220px}}
.house-emblem--pine{color:#6d6250;background:#eee9df;box-shadow:inset 0 0 0 1px #d2c6b2}
.house-emblem--plum{color:#925b58;background:#f5e9e4;box-shadow:inset 0 0 0 1px #dec8bd}
.hr-place{font:600 14px var(--f-display);min-width:26px;color:var(--muted);text-align:center}
.hr-cta{font-size:12px;color:var(--muted);flex:none}.h-row-main{min-width:0;flex:1}
.h-identity{display:flex;gap:12px;align-items:center;flex-wrap:wrap;min-width:0}.h-identity>div{min-width:0}
.h-prestige{display:block;font:400 12px/1.5 var(--f-display);color:var(--muted);margin-top:5px}
.he-preview{display:flex;align-items:center;gap:14px;margin:14px 0;font-size:14px}.he-preview .house-emblem{width:64px;height:64px}
.he-story{font-size:13px;line-height:1.5;margin:16px 0}.he-story p{margin:10px 0}.he-story a{color:inherit}
.community-screen #hUser.house-public>.cols{grid-template-columns:1fr}
.community-screen #hGuest{padding:12px 18px;margin-bottom:12px;flex:none;max-width:none}
.community-screen #hGuest .eyebrow{display:none}.community-screen #hGuest .lede{margin:6px 0 10px!important}
@media(max-width:700px){.community-screen .h-row{display:grid;grid-template-columns:24px 42px minmax(0,1fr);gap:8px}.h-row .house-emblem{width:42px;height:42px}.h-row>.h-role,.h-row>.hr-cta{grid-column:3;justify-self:start}.h-identity .house-emblem{width:40px;height:40px}.h-identity>div{flex:1}}
/* Review assignments share the house cards and controls. */
.hl-list{display:grid;gap:16px;margin-top:18px}.hl-task,.ha-offer{border:1px solid var(--line,#d5cbbb);border-radius:16px;padding:18px;min-width:0;background:rgba(255,255,255,.5)}
.hl-task h3{margin:0 0 8px}.hl-task p{white-space:pre-wrap;overflow-wrap:anywhere}.hl-task>.h-mini{display:inline-block;margin:4px 8px 12px 0}.hl-answer,.hl-assess{display:grid;gap:10px;margin-top:14px}.hl-response{border-top:1px solid var(--line,#d5cbbb);padding:14px 0}.hl-feedback{color:#765426}.hl-highlight{border-color:#a47d41}.hl-task textarea{box-sizing:border-box;width:100%;resize:vertical;min-height:90px;border:1px solid #d5cbbb;border-radius:10px;padding:10px;background:#faf9f6;font:inherit}.hl-task select{max-width:100%}.ha-offer{margin:14px 0}.ha-offer .h-mini{margin:4px}.hb-teams p .h-mini{margin:3px;font-size:11px}.hl-assess .ha-field{min-width:0}
/* Learning workspace: compact controls, calm statuses, readable student answers. */
#hLessonsCard{min-width:0}
.hl-tools,.hl-filters,.hl-meta{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.hl-tools .h-mini,.hl-filters .h-mini{border-radius:999px;padding:9px 14px;height:auto;min-height:36px;line-height:1.4;white-space:normal}
.hl-tools [aria-pressed=true],.hl-filters [aria-pressed=true]{background:#171c1d;color:#fff;border-color:#171c1d}
.hl-pill{display:inline-block;font-size:12px;border-radius:999px;padding:5px 10px;background:#eeebe4;color:#53544f;line-height:1.4}
.hl-pending{background:#eee4cf;color:#735621}.hl-returned,.hl-overdue{background:#f7e9dc;color:#8b4f26}.hl-approved{background:#e4eee5;color:#355b3b}
.hl-next{padding:12px 14px;background:#f5f3ed;border-radius:12px;color:#555b56;line-height:1.6}
.hl-roster,.hl-deadline,.hl-group-panel,.hl-group{margin:14px 0;padding:12px 14px;border:1px solid #ded8cc;border-radius:14px}
.hl-person{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #e8e3d9}.hl-person:last-child{border:0}
.hl-person>span:first-child{overflow-wrap:anywhere}.hl-person .hl-pill{flex-shrink:0}
.hl-events{padding:14px 16px;border-radius:14px;background:#f1eee6}.hl-events p{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.hl-people{min-width:0;border:1px solid #d8d1c2;border-radius:12px;padding:12px;grid-column:1/-1}
.hl-people>input{width:100%;box-sizing:border-box;margin-bottom:8px}.hl-people-list{max-height:210px;overflow-y:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:6px}
.hl-choice{display:flex!important;align-items:center;gap:9px;padding:8px;border-radius:9px;background:#f5f3ee;min-width:0}.hl-choice[hidden]{display:none!important}.hl-choice input{width:17px!important;height:17px;flex:0 0 17px}.hl-choice span{overflow-wrap:anywhere}
.hl-task{overflow-wrap:anywhere}.hl-task h3{margin:0 0 10px}.hl-task summary{cursor:pointer;line-height:1.6}.hl-task .hl-answer,.hl-task .hl-assess{margin-top:18px}.hl-task input,.hl-task select,.hl-task textarea,#hlForm input,#hlForm select{max-width:100%;min-width:0;box-sizing:border-box}
#hLessonsCard textarea,.hl-people>input{font:inherit;border:1px solid #d8d1c2;border-radius:12px;background:#faf8f3;color:inherit;padding:11px 13px;box-sizing:border-box;width:100%}
#hlForm>p,#hlForm>label:has(textarea){grid-column:1/-1}#hlForm>p:empty{display:none}#hLessonsCard summary{cursor:pointer}#hlForm>button{justify-self:start}
@media(max-width:600px){.hl-task{padding:14px!important}.hl-people-list{grid-template-columns:1fr}.hl-roster,.hl-deadline,.hl-group-panel{padding:10px}.hl-tools .h-mini{flex:1}.hl-filters{gap:6px}.hl-filters .h-mini{font-size:12px;padding:8px 10px}}
