/* R787: scoped Owner preview only. No global selectors or existing tab changes. */
.hmreq-root{display:grid;gap:17px;min-width:0;color:#112c43;padding-bottom:16px}
.hmreq-root *{box-sizing:border-box}
.hmreq-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-top:8px}
.hmreq-top h1{font-size:clamp(1.6rem,5vw,2.25rem);margin:7px 0 8px}
.hmreq-top p{font-size:.9rem;color:#687a8e;max-width:580px;line-height:1.55;margin-bottom:0}
.hmreq-top small,.hmreq-heading small{color:#8797a6;font-weight:800;font-size:.68rem;letter-spacing:.07em}
.hmreq-top>.tiny-btn{white-space:nowrap}
.hmreq-alert{padding:13px 16px;background:#fff5dc;border:1px solid #eed8a4;color:#69502a;border-radius:14px;line-height:1.55;font-size:.85rem}
.hmreq-tabs{display:flex;gap:7px;overflow-x:auto;padding:0 0 5px;scrollbar-width:thin}
.hmreq-tabs button{border:1px solid #d7e1eb;border-radius:12px;background:#fff;color:#38516b;font-weight:750;padding:11px 15px;min-height:44px;white-space:nowrap;flex-shrink:0}
.hmreq-tabs button.active{background:#122f49;color:#fff;border-color:#122f49}
.hmreq-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:15px;align-items:start}
.hmreq-box{background:#fff;border:1px solid #dee6ec;border-radius:19px;padding:18px;display:grid;gap:14px;min-width:0}
.hmreq-heading{display:flex;justify-content:space-between;align-items:center;gap:9px}
.hmreq-heading h2{margin:4px 0 0;font-size:1.2rem}
.hmreq-badge{border-radius:100px;background:#f2eee2;padding:7px 11px;color:#94743a;font-size:.72rem;font-weight:800;white-space:nowrap}
.hmreq-channels{display:grid;gap:9px}
.hmreq-chan{display:grid;text-align:left;gap:4px;width:100%;padding:15px;border:1px solid #dce5ec;border-radius:13px;background:#fbfcfd;color:#112a41}
.hmreq-chan.active{border-color:#163b55;background:#eaf3fa;box-shadow:inset 4px 0 0 #183c59}
.hmreq-chan small{color:#8f6a2d;font-size:.69rem;font-weight:800}
.hmreq-chan strong{font-size:.96rem}
.hmreq-chan span{font-size:.78rem;color:#687e90}
.hmreq-muted{color:#60758a;font-size:.86rem;line-height:1.6;margin:0}
.hmreq-permission{background:#f4f7fa;border-radius:13px;display:grid;grid-template-columns:110px 1fr;gap:10px;padding:14px;font-size:.81rem}
.hmreq-permission small{color:#688092}
.hmreq-permission strong{line-height:1.5}
.hmreq-field{display:grid;gap:7px;color:#3c5265;font-weight:730;font-size:.85rem;min-width:0}
.hmreq-field input,.hmreq-field textarea,.hmreq-field select{border:1px solid #d0dce6;border-radius:12px;min-width:0;max-width:100%;width:100%;padding:12px;background:#fff;color:#19364c;font:inherit;font-weight:500;min-height:45px}
.hmreq-field textarea{resize:vertical;min-height:85px}
.hmreq-field small{font-weight:500;color:#718598}
.hmreq-duo{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hmreq-fieldset{display:flex;flex-wrap:wrap;gap:9px 18px;border:1px solid #dce5eb;border-radius:13px;padding:15px;min-width:0}
.hmreq-fieldset legend{font-weight:750;padding:0 5px}
.hmreq-fieldset label{display:flex;gap:6px;align-items:center;font-size:.8rem;color:#4e6579}
.hmreq-note{border:1px dashed #d5dfeb;border-radius:12px;padding:13px;background:#f8fafc;color:#647b8f;font-size:.78rem;line-height:1.6;margin:0}
.hmreq-task-list{display:grid;gap:9px}
.hmreq-task{display:flex;gap:14px;justify-content:space-between;align-items:center;border:1px solid #e0e8ef;border-radius:12px;padding:14px;min-width:0}
.hmreq-task>div{display:grid;gap:5px;min-width:0}
.hmreq-task strong{font-size:.88rem;overflow-wrap:anywhere}
.hmreq-task small{color:#748696;font-size:.77rem}
.hmreq-task>span{font-size:.7rem;padding:6px 8px;border-radius:100px;background:#edf3f7;color:#405a6b;white-space:nowrap}
.hmreq-root>p.hmreq-note{margin-top:0}
@media(max-width:850px){.hmreq-columns{grid-template-columns:1fr}.hmreq-top{flex-wrap:wrap}.hmreq-top>.tiny-btn{order:-1}.hmreq-duo{grid-template-columns:1fr}}
@media(max-width:400px){.hmreq-box{padding:14px}.hmreq-permission{grid-template-columns:1fr}.hmreq-tabs button{padding:10px 12px}.hmreq-task{align-items:flex-start;flex-wrap:wrap}}

/* R788 — scoped upload preview. Never modifies legacy Media Manager or global input styles. */
.hmreq-upload-concept{margin-top:0}
.hmreq-publication{display:grid;gap:8px;padding:15px;border:1px solid #cbdde9;background:#edf5fa;border-radius:13px;font-size:.84rem;line-height:1.6}
.hmreq-publication strong{color:#153a54}
.hmreq-publication span{color:#48677c}
.hmreq-disabled-submit{background:#e5ebef;border:1px solid #d7e1e9;color:#768b9b;border-radius:12px;min-height:44px;font-weight:750;padding:12px;cursor:not-allowed}
.hmreq-upload-concept input[type=file]{padding:8px;min-height:50px}
.hmreq-upload-concept input[type=file]::file-selector-button{border:0;border-radius:9px;background:#15334c;color:#fff;padding:9px 11px;font-weight:700;margin-right:12px}
/* R789 — Unit Admin monthly listing forms only, fully scoped to preview. */
.hmua-panel{display:grid;gap:15px;min-width:0;padding-top:5px}
.hmua-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:14px;border-radius:13px;background:#f5f8fb;border:1px solid #e0e9ef}
.hmua-head small{font-size:.68rem;color:#647f93;letter-spacing:.07em;font-weight:850}
.hmua-head h3{font-size:1.08rem;margin:5px 0 7px;color:#162f44}
.hmua-head p{font-size:.79rem;color:#61798e;line-height:1.58;margin:0}
.hmua-pill{color:#8a652c;background:#f4ecdb;border-radius:100px;white-space:nowrap;font-size:.67rem;font-weight:800;padding:7px 10px}
.hmua-field{display:grid;gap:7px;color:#3c5265;font-size:.83rem;font-weight:750;min-width:0}
.hmua-field input,.hmua-field select,.hmua-field textarea{display:block;background:#fff;color:#173347;width:100%;max-width:100%;min-width:0;min-height:45px;border:1px solid #d0dce6;border-radius:12px;padding:11px 12px;font:inherit;font-weight:500}
.hmua-field textarea{resize:vertical;min-height:85px}
.hmua-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;min-width:0}
.hmua-spec{display:grid;gap:12px;border-radius:12px;background:#edf5fb;border:1px solid #d7e7f1;padding:13px;font-size:.8rem}
.hmua-spec strong{color:#27465d}
.hmua-spec p{margin:7px 0 0;color:#46647a}
.hmua-chip{display:inline-flex;background:white;border:1px solid #d7e7f1;border-radius:100px;padding:5px 10px;margin:2px 6px 2px 0;font-weight:730;color:#385c74}
.hmua-levels{border:1px solid #d7e7f1;border-radius:10px;padding:12px;display:flex;gap:9px 14px;flex-wrap:wrap}
.hmua-levels legend{font-weight:700;padding:0 5px}
.hmua-levels label{display:flex;gap:5px;align-items:center;font-size:.8rem}
.hmua-subhead{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px;align-items:center;padding-top:3px}
.hmua-subhead strong{font-size:.97rem}
.hmua-subhead small{font-size:.71rem;color:#72899a}
.hmua-person{display:grid;gap:12px;padding:14px;border-radius:13px;border:1px solid #dbe5ed;background:#fbfcfe;margin-bottom:11px}
.hmua-row-head{display:flex;justify-content:space-between;align-items:center}
.hmua-row-head strong{font-size:.83rem;color:#234357}
.hmua-row-head button{border:0;background:#f2f4f6;border-radius:9px;font-size:.75rem;color:#657b8c;padding:7px 11px}
.hmua-add{border:1px dashed #a9c3d6;background:#eef6fb;color:#1b486b;border-radius:12px;padding:12px;font-weight:770;min-height:44px}
.hmua-note{background:#f6f8fa;border:1px solid #dce5eb;border-radius:13px;padding:13px;font-size:.79rem;color:#5e7385;line-height:1.55}
.hmua-note strong{color:#3b5365}
.hmua-note p{margin:6px 0 0}
.hmua-note p+p{margin-top:8px}
.hmua-feedback{background:#fff4dd;border:1px solid #eddbb7;color:#795a2d;padding:12px 14px;border-radius:12px;font-size:.81rem;line-height:1.5}
@media(max-width:520px){.hmua-cols{grid-template-columns:1fr}.hmua-head{flex-direction:column}.hmua-pill{white-space:normal}}

/* R789: always-visible Unit Admin three-path switcher */
.hmua-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hmua-nav button{display:grid;gap:3px;align-content:center;min-width:0;min-height:66px;border:1px solid #d3e1e9;background:#fff;border-radius:12px;padding:9px 6px;color:#425d71;text-align:center}
.hmua-nav button.active{background:#eaf3fa;border-color:#1b4661;box-shadow:inset 0 3px 0 #1b4661;color:#173b58}
.hmua-nav small{font-size:.65rem;color:#8495a4;font-weight:750}
.hmua-nav strong{font-size:.75rem;overflow-wrap:anywhere}
