/* Scoped to the headquarters shell; the branch classroom layout is unchanged. */
.hq-shell{--hq-header:124px;--hq-side:232px;min-height:100vh;background:#f7f8fa;color:#292b35}
.hq-global{position:sticky;top:0;z-index:4;background:#fff;border-bottom:1px solid #dddfe6}
.hq-header-row{height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 28px}
.hq-header-row .brand{margin:0;gap:12px;white-space:nowrap}.hq-header-row .brand img{width:34px;height:34px}.hq-header-row .brand strong{font-size:19px;letter-spacing:-.5px}
.hq-product{font-size:14px;color:#76717e;border-left:1px solid #dfdce3;padding-left:14px;margin-left:2px}
.hq-header-tools{display:flex;gap:6px;align-items:center}.hq-header-tools button{border-color:transparent;background:transparent;font-size:14px;padding:8px 12px;font-weight:500}
.hq-header-tools button:hover,.hq-header-tools .active{background:#f3eff5;color:var(--primary)}.hq-header-tools .hq-account{border:1px solid #e6e1e9;margin-left:8px;padding-inline:14px}
.hq-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;color:var(--primary);background:#eee7f1;font-size:12px;font-weight:700}
.hq-global-nav{height:52px;display:flex;align-items:stretch;gap:12px;padding:0 28px;overflow-x:auto;scrollbar-width:thin}
.hq-global-nav button{padding:10px 24px;flex-shrink:0;border:0;border-radius:0;background:transparent;border-bottom:3px solid transparent;color:#605c67;font-size:16px;font-weight:600}
.hq-global-nav button.active{border-bottom-color:var(--primary);color:var(--primary)}.hq-global-nav button:hover{background:#faf8fb}
.hq-body{display:grid;grid-template-columns:var(--hq-side) minmax(0,1fr);align-items:start}
.hq-sidebar{height:calc(100vh - var(--hq-header));position:sticky;top:var(--hq-header);background:#fff;border-right:1px solid #e2e3e9;display:flex;flex-direction:column;min-height:0}
.hq-side-heading{padding:28px 24px 20px;display:flex;align-items:center;justify-content:space-between}.hq-side-heading h2{font-size:18px}
.hq-sidebar nav{padding:0 12px;display:grid;gap:4px;overflow-y:auto;min-height:0}.hq-sidebar nav button{background:transparent;border:0;justify-content:flex-start;min-height:46px;font-size:15px;font-weight:500;padding:11px 14px}
.hq-sidebar nav button.active{background:#eee7f1;color:var(--primary);font-weight:700}.hq-sidebar nav button:hover{background:#f5f2f7}
.hq-side-foot{margin-top:auto;padding:30px 26px 24px;color:#89828e;font-size:12px}.hq-side-foot p{margin:14px 0 0;line-height:1.7;letter-spacing:.6px}
.hq-main{min-width:0;width:100%;max-width:1660px;padding:22px 32px 60px;margin:0 auto}
.hq-location{display:flex;align-items:center;gap:12px;margin-bottom:21px}.hq-location nav{display:flex;gap:10px;align-items:center;font-size:13px;color:#77717f;flex-wrap:wrap}.hq-location nav strong{font-weight:500;color:#3c3444}
.hq-main .page-head{margin-bottom:22px;align-items:center}.hq-main h1{font-size:27px;letter-spacing:-.8px}.hq-main .page-head p{margin-top:7px;font-size:14px;line-height:1.7}
.hq-main .page-head .actions{flex-shrink:0}.hq-main .page-head button{padding-inline:17px}.hq-main h2{font-size:18px}
.hq-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px;background:#fff;border:1px solid #e3e3ea;border-radius:8px;padding:18px 20px;margin-bottom:22px}
.hq-filters label{font-size:13px;font-weight:500;min-width:120px;flex:0 1 150px;gap:7px;color:#56515e}.hq-filters .hq-search-field{flex:1 1 230px;max-width:380px;min-width:180px}
.hq-filters input,.hq-filters select{font-size:14px;border-color:#d5d1dc;min-height:42px}.hq-filters>button{margin-left:auto;font-weight:500}
.hq-result-head{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#78717f;margin:0 0 10px}.hq-result-head strong{color:var(--primary);margin:0 3px}.hq-result-head span:last-child{font-size:12px}
.hq-main .table-wrap{border-radius:7px;border-color:#e0e1e8}.hq-main th{background:#f0f2f5;color:#66616e;font-size:13px;padding:12px 16px;line-height:1.5}.hq-main td{padding:10px 16px;font-size:14px;height:61px;border-color:#ececf1}
.hq-main td button{font-size:14px;min-height:38px;padding:7px 12px}.hq-main td .text-button{padding-left:0;font-weight:600;max-width:420px;white-space:normal;justify-content:flex-start}
.hq-main tbody tr:hover{background:#faf8fc}.hq-clickable-row{cursor:pointer}.hq-main td .actions{flex-wrap:nowrap}.hq-id{color:#77717f;font-family:monospace;font-size:13px}
.hq-main table{min-width:700px}.hq-main td:first-child{min-width:180px}.hq-main td .text-button{word-break:keep-all;overflow-wrap:anywhere}
.hq-status{display:inline-flex;align-items:center;white-space:nowrap;padding:2px 0;font-size:13px;color:#6b6273}.hq-status.positive{color:#286d53}
.hq-pagination{display:flex;align-items:center;justify-content:center;gap:20px;font-size:14px;margin-top:22px}
.hq-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #e1e2e9;border-radius:8px;margin-bottom:12px}
.hq-summary>div{padding:22px 20px;border-right:1px solid #e9e7ed}.hq-summary>div:last-child{border-right:0}.hq-summary span{display:block;font-size:13px;color:#726b7b}.hq-summary strong{display:block;font-size:24px;font-weight:650;margin-top:9px;letter-spacing:-.5px;overflow-wrap:anywhere}.hq-summary>div:last-child strong{font-size:19px}
.hq-home-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:32px;margin-top:35px}.hq-home-grid>section{min-width:0}.hq-home-grid .panel-head{margin-bottom:13px}
.hq-home-grid table{min-width:0}.hq-home-grid td:first-child{min-width:120px}
.hq-task-list{background:#fff;border:1px solid #e2e2e8;border-radius:8px}.hq-task{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 20px;border-bottom:1px solid #ecebf0}.hq-task:last-child{border:0}.hq-task strong{font-size:15px;font-weight:600}.hq-task p{font-size:13px;color:#77717e;margin:4px 0 0}.hq-task button{flex-shrink:0;white-space:nowrap}
.hq-section-note{margin-top:18px}.hq-section-title{margin:25px 0 14px}.hq-context{border-left:3px solid #9a7ba7;background:#f0eaf4;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 16px;margin:0 0 20px;font-size:14px}.hq-context .actions{flex-wrap:nowrap}
.hq-menu-toggle,.hq-drawer-close,.hq-backdrop{display:none}.hq-skip{position:fixed;left:20px;top:-70px;z-index:20;padding:12px 18px;background:white;color:var(--primary)}.hq-skip:focus{top:10px}
.hq-detail-summary{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding-bottom:20px;font-size:14px;color:#6f6678}.hq-detail-summary strong{color:#342d3d;margin-left:5px}.hq-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.hq-detail-tabs{gap:22px}.hq-detail .dialog-body{min-height:380px}.hq-detail .table-wrap th,.hq-detail .table-wrap td{padding:10px 14px;font-size:14px}
@media(min-width:1500px){.hq-main{padding-inline:42px}.hq-home-grid{gap:38px}}
@media(max-width:1150px){.hq-shell{--hq-side:220px}.hq-header-row{padding-inline:20px}.hq-header-tools{gap:0}.hq-header-tools button{padding-inline:9px}.hq-global-nav{padding-inline:20px;gap:2px}.hq-global-nav button{padding-inline:22px}.hq-main{padding:22px 24px 50px}.hq-home-grid{grid-template-columns:1fr}.hq-summary strong{font-size:22px}.hq-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.hq-summary>div:nth-child(2){border-right:0}.hq-summary>div:nth-child(-n+2){border-bottom:1px solid #e9e7ed}}
@media(max-width:850px){.hq-body{display:block}.hq-main{padding:20px}.hq-menu-toggle{display:inline-flex;font-size:13px;min-height:38px;padding:6px 11px}.hq-sidebar{visibility:hidden;position:fixed;z-index:7;left:0;top:0;width:248px;height:100dvh;transform:translateX(-100%);transition:transform .16s;box-shadow:8px 0 35px #25152d22}.hq-sidebar.is-open{visibility:visible;transform:translateX(0)}.hq-backdrop{display:block;position:fixed;z-index:6;inset:0;background:#1b142652;border:0;border-radius:0;width:100%;height:100dvh;padding:0}.hq-backdrop:hover{background:#1b142652}.hq-drawer-close{display:inline-flex;padding:4px;min-width:40px;min-height:40px;border:0}.hq-header-row .brand strong{font-size:17px}.hq-product{font-size:13px}.hq-header-row{gap:10px}.hq-header-tools .hq-account{margin-left:3px;max-width:130px}.hq-detail-grid{grid-template-columns:1fr;gap:25px}}
@media(max-width:600px){.hq-shell{--hq-header:155px}.hq-header-row{height:auto;min-height:105px;flex-wrap:wrap;padding:14px 16px 6px;gap:8px}.hq-header-row .brand{width:100%;gap:9px}.hq-header-row .brand img{width:28px;height:28px}.hq-product{margin-left:auto;border:0;padding:0}.hq-header-tools{width:100%;justify-content:space-between}.hq-header-tools button{padding:7px 10px;min-height:40px;font-size:13px}.hq-header-tools .hq-account{max-width:125px}.hq-global-nav{height:50px;padding-inline:8px;gap:0}.hq-global-nav button{padding:10px 16px;font-size:14px}.hq-main{padding:18px 16px 45px}.hq-location{align-items:flex-start;flex-wrap:wrap;gap:9px;margin-bottom:19px}.hq-location nav{min-height:38px;font-size:12px;gap:7px}.hq-main .page-head{align-items:flex-start;flex-wrap:wrap;gap:12px}.hq-main h1{font-size:25px}.hq-main .page-head .actions{width:100%}.hq-main .page-head p{font-size:14px}.hq-filters{padding:16px;gap:12px}.hq-filters label{flex:1 1 calc(50% - 12px);min-width:100px}.hq-filters .hq-search-field{flex-basis:100%;max-width:none;min-width:0}.hq-filters>button{margin-left:0}.hq-summary>div{padding:17px 14px}.hq-summary strong{font-size:21px}.hq-summary>div:last-child strong{font-size:17px}.hq-home-grid{gap:25px;margin-top:28px}.hq-task{padding:15px;gap:8px}.hq-task p{font-size:12px}.hq-task button{padding:7px;min-height:44px}.hq-context{flex-wrap:wrap;gap:4px}.hq-context .actions{margin-left:auto}.hq-main td{padding:9px 13px}.hq-detail-summary{gap:12px}.hq-detail-tabs{gap:16px}.hq-detail .dialog-body{padding:18px}.hq-main .panel{padding:20px}.hq-main .detail-line{grid-template-columns:105px minmax(0,1fr)}}
@media print{.hq-global,.hq-sidebar,.hq-location,.hq-context,.hq-filters,.hq-result-head,.hq-pagination,.hq-backdrop,.hq-skip{display:none!important}.hq-body{display:block}.hq-main{padding:0;max-width:none}.hq-shell{background:white}.hq-summary>div{break-inside:avoid}.hq-detail .dialog-body{min-height:0}}
