.hub{--hub-muted:#687c75;--hub-line:#dfe8e2}.hub-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:22px 0 27px}.hub-page-head p{color:var(--hub-muted);max-width:720px;margin-top:9px}.hub-tabs{display:flex;gap:6px;border-bottom:1px solid var(--hub-line);margin-bottom:24px;overflow-x:auto}.hub-tabs>a,.hub-tabs>button{display:block;flex:none;padding:12px 15px;background:none;border:0;border-bottom:3px solid transparent;font-size:13px;font-weight:600;color:#60746c;white-space:nowrap}.hub-tabs .active{border-bottom-color:var(--accent);color:var(--accent);background:#eaf3ee;border-radius:6px 6px 0 0}.hub-subtabs{margin-top:0;margin-bottom:20px}.hub-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.hub-stats.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.hub-stat{padding:19px 20px;border:1px solid var(--hub-line);background:white;border-radius:10px;display:flex;flex-direction:column;gap:8px}.hub-stat>small{font-size:12px;font-weight:600;color:#5e7369}.hub-stat>strong{font-size:30px;font-weight:650;line-height:1.1;letter-spacing:-.8px}.hub-stat>span{font-size:11px;line-height:1.5;color:var(--hub-muted)}.hub-stat.danger{border-color:#e1b6a9;background:#fff8f4}.hub-stat.danger>strong{color:#a14533}.hub-panel{border:1px solid var(--hub-line);border-radius:11px;background:#fff;margin-bottom:22px;overflow:hidden}.hub-panel-head{padding:21px 24px;border-bottom:1px solid #e7ede8;display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.hub-panel-head p{font-size:12px;color:var(--hub-muted);margin-top:6px;max-width:800px}.hub-panel-body{padding:22px 24px}.hub-panel-body>.hub-table-wrap{margin:0 -24px;width:calc(100% + 48px)}.hub-empty{padding:35px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}.hub-empty-mark{font-size:31px;color:#80a294;display:grid;place-items:center;width:56px;height:56px;border:1px solid #e0eae2;border-radius:16px;background:#f2f7f3}.hub-empty p{max-width:520px;font-size:13px;color:var(--hub-muted)}.hub-badge{display:inline-flex;padding:5px 9px;border-radius:20px;font-size:10px;line-height:1.2;font-weight:650;background:#edf0ee;color:#5d6e65;white-space:nowrap}.hub-badge.good{background:#e5f4eb;color:#397051}.hub-badge.warning{background:#fff1d7;color:#8b661e}.hub-badge.danger{background:#fbe7e0;color:#a33b2b}.hub-note{padding:13px 15px;border:1px solid #dce8e1;background:#f2f7f3;border-radius:7px;color:#536f60;font-size:12px;line-height:1.65;margin:0 0 18px}.hub-note.danger{color:#a1392c;background:#fff5ef;border-color:#edcec0}.hub-note ul{margin-bottom:0;padding-left:20px}.hub-toolbar{display:flex;align-items:flex-end;gap:15px;justify-content:space-between;flex-wrap:wrap;margin-bottom:20px}.hub-toolbar>.field{min-width:165px;flex:1}.hub-toolbar>.hub-search-field{flex:2;min-width:220px}.hub-toolbar>.hub-tabs{margin:0;border:0}.hub-toolbar .hub-tabs>button{border:1px solid var(--line);border-radius:6px;padding:9px 12px}.hub-toolbar .hub-tabs .active{border-color:#80ad98}.hub-alert-list{display:grid;gap:13px}.hub-alert{display:flex;gap:15px;padding:17px 18px;background:#fbfcfa;border:1px solid var(--line);border-radius:8px}.hub-alert.warning{background:#fffbf2;border-color:#e9d9b1}.hub-alert.critical,.hub-alert.urgent,.hub-alert.error,.hub-alert.danger{background:#fff6f1;border-color:#ecc6b7}.hub-alert-marker{display:grid;place-items:center;border-radius:50%;height:25px;width:25px;flex:none;background:#e8eee7;color:#496751;font-weight:750}.hub-alert.warning .hub-alert-marker{background:#f6e5bf;color:#8b6720}.hub-alert.critical .hub-alert-marker,.hub-alert.urgent .hub-alert-marker{background:#f6d6c9;color:#a23c25}.hub-alert-content{min-width:0;flex:1}.hub-alert-title{display:flex;align-items:center;gap:10px;justify-content:space-between}.hub-alert-content p{font-size:13px;color:#65766b;margin-top:7px}.hub-alert-content small{display:block;margin-top:8px}.hub-alert-content .actions{margin-top:13px}.hub-quick-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.hub-quick-links>a{display:flex;flex-direction:column;gap:10px;padding:22px;background:#edf3ed;border:1px solid var(--line);border-radius:9px}.hub-quick-links>a:hover{background:#e4eee7;border-color:#adc5b5}.hub-quick-links strong{font-size:14px}.hub-quick-links span{font-size:12px;line-height:1.55;color:var(--hub-muted)}.hub-handover-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hub-handover{padding:20px;border:1px solid var(--line);border-radius:9px;background:#fcfdfb}.hub-handover-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.hub-handover-top .actions{gap:9px}.hub-handover-top small{font-size:11px}.hub-handover h3{margin-bottom:9px}.hub-prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.hub-handover p{font-size:13px;color:#61756b;min-height:44px}.hub-handover footer{display:flex;align-items:center;justify-content:space-between;gap:13px;padding-top:15px;margin-top:19px;border-top:1px solid var(--line)}.hub-handover footer>span{font-size:12px}.hub-handover footer small{display:block;font-size:10px;margin-top:6px}.hub-handover.is-done{background:#f5f7f3}.hub-table-wrap td,.hub-table-wrap th{vertical-align:middle}.hub-table-wrap td{font-size:12px}.hub-wrap{white-space:normal;min-width:160px;max-width:420px;line-height:1.6}.hub-cell-note{display:block;font-size:10px;line-height:1.6;margin-top:4px;max-width:380px;white-space:normal}.hub-bottom-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 0}.hub-form-section{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.hub-form-section>h3{margin-bottom:10px}.hub-intro{font-size:13px;color:var(--muted);margin-bottom:18px}.hub .field>select,.hub .field>input{min-height:40px}.hub-checklist{border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-top:14px}.hub-checklist-search{padding:12px;display:flex;align-items:center;gap:15px;background:#f5f8f4;border-bottom:1px solid var(--line)}.hub-checklist-search>span{font-size:12px;font-weight:600;flex:1}.hub-checklist-search input{max-width:260px;flex:2;padding:8px 10px;font-size:12px}.hub-checklist-items{max-height:260px;overflow:auto;padding:5px}.hub-check-option{display:flex;align-items:center;gap:12px;padding:11px;border-radius:5px;cursor:pointer}.hub-check-option:hover,.hub-check-option:has(input:checked){background:#edf5ef}.hub-check-option>span{display:flex;flex-direction:column;gap:5px;font-size:12px}.hub-check-option small{font-size:10px}.hub-check-option[hidden]{display:none}.hub-weekdays{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.hub-weekdays label{cursor:pointer;position:relative}.hub-weekdays input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}.hub-weekdays span{display:block;padding:9px 12px;border:1px solid var(--line);border-radius:6px;font-size:12px;background:#f7faf6}.hub-weekdays input:checked+span{background:#deeee4;border-color:#71a38d;color:#285f46}.hub-weekdays input:focus-visible+span{outline:3px solid #67bba2;outline-offset:2px}.hub-rest-choice{margin:22px 0 12px}.hub-recurrence p{margin:12px 0}.hub-form-section>details{padding:14px 0;border-bottom:1px solid var(--line)}.hub-form-section>details:first-child{padding-top:0}.hub-form-section summary{cursor:pointer;font-weight:600;font-size:13px}.hub-selection-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:11px 13px;border-radius:6px;background:#f3f7f2;margin-bottom:16px;font-size:12px}.hub-selection-bar>.muted{margin-left:auto;font-size:10px}.hub-matrix{max-height:650px;overflow:auto}.hub-matrix table{border-collapse:separate;border-spacing:0}.hub-matrix th{min-width:104px;text-align:center;position:sticky;top:0;z-index:2;background:#f4f7f2;font-size:10px;white-space:normal;line-height:1.6;max-width:140px}.hub-matrix th:first-child{text-align:left;min-width:220px;left:0;z-index:4}.hub-matrix td{padding:7px;text-align:center;border-bottom:1px solid #e9eee8}.hub-matrix .hub-sticky-person{position:sticky;left:0;z-index:1;background:white;padding-left:23px;text-align:left;border-right:1px solid var(--line)}.hub-person-check{display:flex;align-items:center;gap:10px;cursor:pointer;min-width:190px}.hub-person-check span{display:flex;flex-direction:column;gap:4px}.hub-person-check strong{font-size:12px}.hub-person-check small{font-size:10px}.hub-skill-cell{background:#f5f7f4;border:1px solid #e6ebe4;border-radius:6px;padding:8px 7px;width:68px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;flex-direction:column;color:#9aa69a}.hub-skill-cell strong{font-size:15px;font-weight:650}.hub-skill-cell small{font-size:8px;margin-top:3px}.hub-skill-cell.qualified{background:#eaf5ed;border-color:#c5dfcb;color:#39724d}.hub-skill-cell.restricted{background:#fff2d9;border-color:#ead4aa;color:#8c651d}.hub-skill-cell:hover{border-color:#6d9e81;box-shadow:0 1px 4px #45623c20}.hub-review-list{display:flex;flex-direction:column;margin-top:12px}.hub-review-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.hub-review-list small{display:block;margin-top:5px}.hub-reason-list{padding:0;list-style:none}.hub-reason-list li{display:flex;flex-direction:column;gap:5px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.hub-reason-list span{font-size:11px;color:var(--muted)}.hub-template-grid,.hub-device-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.hub-template{padding:23px;border:1px solid var(--line);border-radius:9px;background:#fbfcf9}.hub-template-icon{font-size:30px;color:#769b82;margin-bottom:17px}.hub-template h3{font-size:16px;margin-bottom:9px}.hub-template p{font-size:12px;color:var(--muted)}.hub-template>small{display:block;font-size:11px;margin-top:10px}.hub-template .actions{margin-top:22px}.hub-scenario-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.hub-scenario-guide>div{position:relative;padding-left:44px}.hub-scenario-guide b{position:absolute;left:0;top:-2px;width:29px;height:29px;border-radius:50%;background:#e0eee4;color:#3b7253;display:grid;place-items:center;font-size:12px}.hub-scenario-guide p{font-size:12px;color:var(--muted);margin-top:9px}.hub-compare{display:grid;grid-template-columns:1fr 50px 1fr;align-items:center;gap:15px;margin-bottom:18px}.hub-compare>div{display:flex;flex-direction:column;gap:10px;padding:22px;border:1px solid var(--line);background:#f5f7f4;border-radius:9px}.hub-compare>div.better{background:#edf6ee;border-color:#bed6c4}.hub-compare>div.worse{background:#fff3e8;border-color:#e2c49c}.hub-compare strong{font-size:37px;line-height:1.1;font-weight:650}.hub-compare small{font-size:12px;font-weight:600}.hub-compare div>span{font-size:11px;color:var(--muted)}.hub-compare-arrow{text-align:center;font-size:24px;color:#86a28b}.hub-preview-summary{display:flex;gap:10px;margin-bottom:16px}.hub-warning-list{padding-left:20px;font-size:12px;line-height:1.8;max-height:240px;overflow:auto;color:#93622f}.hub-good-message{font-size:12px;color:#3b7853;margin:12px 0}.hub-device{padding:23px;border:1px solid var(--line);border-radius:9px;background:#fbfcf9}.hub-device header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.hub-device-glyph{font-size:34px;line-height:1;color:#6f927b}.hub-device h3{font-size:16px}.hub-device dl{margin:18px 0 21px}.hub-device dl>div{display:flex;justify-content:space-between;gap:15px;padding:8px 0;font-size:11px;border-bottom:1px solid #e6ece5}.hub-device dt{color:var(--muted)}.hub-device dd{margin:0;text-align:right;font-weight:500}.hub-pairing{text-align:center;display:flex;align-items:center;flex-direction:column;gap:20px;padding:20px 10px}.hub-pairing>span{font-size:13px;color:var(--muted)}.hub-pairing>strong{display:block;font-family:Consolas,monospace;font-size:38px;letter-spacing:6px;padding:20px;border-radius:9px;background:#e8f2eb;border:1px dashed #80ad8c;color:#2e6445}.hub-pairing p{font-size:13px;max-width:380px}.hub-pairing small{font-size:11px;line-height:1.7;max-width:380px}.hub-guide{padding:0;list-style:none;display:flex;flex-direction:column;gap:24px}.hub-guide>li{display:flex;gap:20px;align-items:flex-start;padding-bottom:23px;border-bottom:1px solid var(--line)}.hub-guide>li>span{width:35px;height:35px;flex:none;border-radius:10px;background:#e3f0e7;color:#427359;display:grid;place-items:center;font-weight:650}.hub-guide p{font-size:13px;color:var(--muted);margin:8px 0 13px}.hub input[type=checkbox],#dialog [data-hub-form] input[type=checkbox]{accent-color:var(--accent)}#dialog [data-hub-form] .hub-stats{margin-top:15px}#dialog [data-hub-form] .hub-table-wrap{margin-top:15px}#dialog [data-hub-form] .form-grid{margin-top:8px}#dialog [data-hub-form] textarea{width:100%;resize:vertical;min-height:75px;border:1px solid #d4dfd5;border-radius:6px;padding:11px 12px;color:var(--ink);background:white;font:inherit}#dialog [data-hub-form] .hub-checklist+ .hub-form-section{margin-top:20px}#dialog [data-hub-form] [hidden],.hub [hidden]{display:none!important}
@media(max-width:1150px){.hub-template-grid,.hub-device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-quick-links{grid-template-columns:1fr}.hub-quick-links>a{flex-direction:row;justify-content:space-between}.hub-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-handover-list{grid-template-columns:1fr}.hub-scenario-guide{gap:16px}.hub-selection-bar>.muted{margin-left:0;width:100%}}
@media(max-width:760px){.hub-page-head{flex-direction:column;margin:15px 0 22px;gap:16px}.hub-page-head h1{font-size:25px;line-height:1.2}.hub-page-head>.actions{width:100%}.hub-panel-head{padding:17px;flex-direction:column;gap:14px}.hub-panel-body{padding:17px}.hub-panel-body>.hub-table-wrap{margin-left:-17px;width:calc(100% + 34px)}.hub-stats,.hub-stats.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hub-stat{padding:15px}.hub-stat>strong{font-size:26px}.hub-tabs>a,.hub-tabs>button{padding:11px;font-size:12px}.hub-toolbar{align-items:stretch}.hub-toolbar>.field{min-width:0;width:100%;flex:auto}.hub-template-grid,.hub-device-grid{grid-template-columns:1fr}.hub-scenario-guide{grid-template-columns:1fr;gap:24px}.hub-quick-links>a{flex-direction:column;gap:8px;padding:18px}.hub-alert{padding:14px;gap:10px}.hub-alert-title{align-items:flex-start}.hub-alert-title h3{font-size:14px;line-height:1.4}.hub-alert-title .hub-badge{font-size:9px}.hub-handover{padding:16px}.hub-handover footer{align-items:flex-start;flex-direction:column}.hub-checklist-search{align-items:stretch;flex-direction:column;gap:8px}.hub-checklist-search input{max-width:none}.hub-compare{grid-template-columns:1fr 22px 1fr;gap:8px}.hub-compare>div{padding:15px 12px}.hub-compare strong{font-size:29px}.hub-compare small{font-size:11px}.hub-compare-arrow{font-size:20px}.hub-pairing>strong{font-size:30px;letter-spacing:4px}.hub-matrix th:first-child{min-width:170px}.hub-person-check{min-width:145px}.hub-matrix .hub-sticky-person{padding-left:12px}.hub-person-check strong{font-size:11px}.hub-review-list>div{align-items:flex-start}.hub-guide>li{gap:13px}.hub-empty{padding:25px 10px}.hub-panel-head .actions{width:100%}}
.hub-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.hub-calendar-heading p{font-size:11px;margin-top:7px}.hub-calendar-heading>.field{width:180px;flex:none}.hub-availability-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin-bottom:25px}.hub-calendar-day{min-height:140px;max-height:320px;overflow:auto;border:1px solid var(--line);border-radius:7px;background:#fbfcfa;padding:8px;min-width:0}.hub-calendar-day.selected{border-color:#7caa92;background:#f1f7f2}.hub-calendar-day>header{display:flex;flex-direction:column;gap:5px;padding:3px 2px 10px;border-bottom:1px solid var(--line);margin-bottom:8px;font-size:12px}.hub-calendar-day>header small{font-size:10px}.hub-calendar-day>p{font-size:10px;color:#99a69b;padding:9px 2px}.hub-calendar-record{padding:7px 6px;border-radius:5px;background:#edf0ec;margin-top:6px;overflow-wrap:anywhere}.hub-calendar-record>strong{display:block;font-size:10px;font-weight:600}.hub-calendar-record>small{display:block;font-size:9px;margin-top:4px;line-height:1.5}.hub-calendar-record.available{background:#e1f0e7;color:#426f52}.hub-calendar-record.leave{background:#fff0d5;color:#86632a}.hub-calendar-record.unavailable{background:#f3e9e1;color:#8c6c50}@media(max-width:1100px){.hub-availability-calendar{overflow-x:auto;grid-template-columns:repeat(7,minmax(115px,1fr))}.hub-calendar-heading{align-items:flex-start}}@media(max-width:760px){.hub-calendar-heading{flex-direction:column;gap:12px}.hub-calendar-heading>.field{width:100%}}
.sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#476355 var(--nav)}.sidebar>.brand,.sidebar>.user-box,.sidebar>.tv-link{flex-shrink:0}.hub-learning{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:17px 20px;margin:0 0 23px;border:1px solid #dce7df;border-radius:9px;background:#edf4ee}.hub-learning strong{font-size:13px;color:#355b43}.hub-learning p{font-size:12px;color:#647b6d;line-height:1.65;margin-top:6px;max-width:850px}.hub-learning>.btn{flex:none}.hub-alert.high{background:#fffbf2;border-color:#e9d9b1}.hub-alert.high .hub-alert-marker{background:#f6e5bf;color:#8b6720}.hub-alert.normal{background:#f4f8f4}@media(max-width:760px){.hub-learning{align-items:flex-start;flex-direction:column;gap:13px;padding:15px}.hub-learning>.btn{align-self:flex-start}}
.hub-learning>div:first-child{min-width:0;flex:1}.hub-learning>.actions{flex:none;justify-content:flex-end}.sidebar{max-height:100dvh}.hub-template .actions{align-items:stretch}.hub-template .actions>.btn{white-space:normal;text-align:center;line-height:1.5}@media(max-width:760px){.hub-learning>.actions{justify-content:flex-start;flex-wrap:wrap}.hub-learning>div:first-child{flex:auto}}
@media(prefers-reduced-motion:reduce){.hub *{scroll-behavior:auto!important;transition:none!important}}
