/* CYO operations layout: shared top navigation, banner, horizontal tabs and cards. */
:root{--office-ink:#202832;--office-muted:#626e7e;--office-line:#dfe5ec;--office-orange:#c53d09;--office-font:"Segoe UI",Arial,sans-serif}
.admin-body{background:#f1f4f8;color:var(--office-ink);font:15px/1.65 var(--office-font)}
.admin-body *{box-sizing:border-box;min-width:0}.admin-body [hidden]{display:none!important}
.admin-body h1,.admin-body h2,.admin-body h3{font-family:var(--office-font);text-transform:none;letter-spacing:-.02em;line-height:1.25;font-weight:700;word-spacing:normal}
.admin-body h1{font-size:2rem}.admin-body h2{font-size:1.5rem}.admin-body h3{font-size:1.1rem}
.admin-body p{line-height:1.7}.admin-body button,.admin-body input,.admin-body select,.admin-body textarea{font-family:var(--office-font)}
.admin-body .eyebrow{font-size:.65rem;letter-spacing:.13em;font-weight:700;color:#a93204}
.office-header{background:#fff;border-bottom:1px solid var(--office-line)}
.office-header-inner{max-width:1280px;margin:auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:2rem}
.office-site-nav{display:flex;gap:.35rem;align-items:center;flex-wrap:wrap}.office-site-nav a{font-size:.88rem;text-decoration:none;font-weight:600;padding:.7rem 1rem;border-radius:8px;color:#344050}.office-site-nav a:hover{background:#f1f4f8}.office-site-nav a.selected{background:#fff0e7;color:#a83205;border:1px solid #f1ceba}
.operations-banner{background:#18222e;color:#fff;border-bottom:3px solid #e3632a}.operations-inner{max-width:1280px;margin:auto;padding:26px 24px;display:flex;gap:2rem;align-items:center;justify-content:space-between}.operations-banner .eyebrow{color:#ffb18c}.operations-banner h1{color:#fff;margin:.3rem 0 .5rem;letter-spacing:-.025em}.operations-banner p{font-size:.82rem;color:#b9c4d1;margin:0}.operations-actions{display:flex;gap:.6rem;flex-shrink:0}
.admin-body .btn{font-size:.85rem;line-height:1.35;font-weight:600;letter-spacing:0;min-height:42px;padding:.7rem 1rem;border:1px solid #cdd4dc;border-radius:8px;cursor:pointer}.admin-body .btn.primary{background:var(--office-orange);border-color:var(--office-orange);color:#fff}.operations-actions .btn:not(.primary){border-color:#718096;background:transparent;color:#fff}.admin-body button:disabled{opacity:.55;cursor:wait}
.office-main{max-width:1280px;margin:auto;padding:0 24px 60px}.office-meta{display:flex;gap:1rem;align-items:center;padding:18px 0;color:#758195;font-size:.75rem}.office-meta a{font-weight:600;color:#394c63;text-decoration:none}.office-meta #save-state{margin-left:auto}.release-badge{background:#e1e7ef;padding:.2rem .55rem;border-radius:5px;color:#4a586a}
.office-tabs{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:8px;border:1px solid #e3e8ef;border-radius:12px;background:#fff;box-shadow:0 3px 12px #25365006;margin-bottom:26px}.office-tabs button{border:0;border-radius:7px;padding:10px 14px;background:transparent;color:#526174;font:600 .8rem/1.4 var(--office-font);cursor:pointer;min-height:40px}.office-tabs button:hover{background:#f0f3f7}.office-tabs button.active{background:#202c3b;color:#fff}.office-tabs b{display:inline-block;border-radius:99px;background:#ffdfcf;color:#a12e00;font-size:.65rem;padding:.06rem .38rem;margin-left:.2rem}.admin-menu{display:none!important}
.admin-panel{display:none}.admin-panel.active{display:block}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.office-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}.office-shortcuts button{padding:20px;text-align:left;border:1px solid var(--office-line);border-radius:14px;background:white;cursor:pointer}.office-shortcuts strong{display:block;font-size:1rem;color:#27384e;font-weight:700}.office-shortcuts span{display:block;margin-top:.45rem;color:var(--office-muted);font-size:.78rem}.office-shortcuts button:hover{border-color:#dd9a77;background:#fffaf7}
.welcome-strip{padding:24px;border:1px solid #ead4c6;border-left:4px solid #db672e;border-radius:14px;background:#fffaf6;color:#253448;box-shadow:none}.welcome-strip h2{font-size:1.6rem;margin:.4rem 0}.welcome-strip p{font-size:.86rem;color:#627086}.welcome-strip .eyebrow{color:#a73506}
.metric-grid{gap:14px}.metric-grid article{border:1px solid var(--office-line);border-radius:14px;padding:22px;background:#fff;box-shadow:none}.metric-grid span{font-size:.78rem;font-weight:600;letter-spacing:0;text-transform:none;color:#65758a}.metric-grid strong{font:700 2rem/1.3 var(--office-font);letter-spacing:-.03em;color:#283b52}.metric-grid small{font-size:.74rem;color:#7b8795}
.admin-card{border:1px solid var(--office-line);border-radius:14px;padding:24px;box-shadow:none}.admin-card h2{font-size:1.35rem}.admin-card h3{font-size:1.05rem}.admin-card-head{align-items:center;flex-wrap:wrap}.panel-intro{margin-bottom:22px}.panel-intro h2{font:700 1.65rem/1.3 var(--office-font);letter-spacing:-.02em}.panel-intro p{font-size:.88rem;color:#68778a}.admin-grid.two{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
.admin-list-item{border-radius:9px;font-size:.85rem;overflow-wrap:anywhere}.admin-list-item strong{font-weight:600}.admin-list-item small{font-size:.74rem;color:#748194}.admin-list-item time{font-weight:600;font-size:.8rem}.task{border-radius:7px;font-size:.83rem}.task strong{font-weight:500}.text-button{font-size:.8rem;font-weight:600;color:#a53508}
.admin-card label,.compact-field,.panel-intro label,.schedule-toolbar label{font-size:.79rem;text-transform:none;letter-spacing:0;font-weight:600;color:#47566a}.admin-card input,.admin-card select,.admin-card textarea,.compact-field input,.compact-field select,.schedule-toolbar input,.schedule-toolbar select{font:400 .9rem/1.45 var(--office-font);padding:.75rem;border-radius:7px;border:1px solid #ccd5df;color:#243247;background:#fff;min-height:43px}.admin-card input[type=checkbox]{min-height:0;width:auto;accent-color:#ba3d10}.admin-card fieldset{border-radius:9px}
.admin-team-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.admin-team{border:1px solid var(--office-line);border-radius:12px;padding:22px;background:#fff}.admin-team:hover{transform:none;border-color:#e4ad8f;box-shadow:0 6px 18px #26354b09}.admin-team h3{font-size:1.06rem;margin:.5rem 0}.admin-team span,.admin-team small{font-size:.76rem;color:#728094}.admin-team:after{font-weight:600;font-size:.76rem;color:#a5360c}.roster-row{grid-template-columns:70px minmax(0,1fr) auto}.roster-row input{font-size:.86rem}.team-editor,.access-review,#game-form,#announcement-form{border-top:4px solid #d95620;border-radius:16px;padding:28px;width:min(900px,calc(100vw - 32px));max-height:calc(100dvh - 32px)}
.modal-backdrop{background:#152130b8;backdrop-filter:blur(3px)}.request-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.request-summary div{border-radius:7px}.request-summary strong{font-size:.84rem;font-weight:500;overflow-wrap:anywhere}.request-summary span{font-size:.65rem;font-weight:600}.access-review legend{font-size:.84rem;font-weight:600;text-transform:none;letter-spacing:0}.review-warning{font-size:.84rem;font-weight:400;border-radius:7px}.review-checks label,.permission-grid label{font-size:.78rem;font-weight:400}.status-pill,.game-status{font-size:.65rem;font-weight:600;letter-spacing:.025em}.review-actions{padding-top:1rem;border-top:1px solid var(--office-line)}.access-actions button{padding:.65rem 1rem;border-radius:7px;font-weight:600;font-size:.79rem}
.admin-body .tabs button{font-size:.8rem;font-weight:600;letter-spacing:0;border-radius:7px;border-color:#c9d3df;min-height:40px}.admin-body .tabs button.active{background:#28384b;border-color:#28384b;color:white}.admin-standings-block h3{background:#253448;font-size:1rem;border-radius:9px 9px 0 0}.admin-standings-table th{background:#eef2f7;color:#57677b;font-size:.7rem}.admin-standings-table td{font-size:.85rem}.admin-standings-table td:nth-child(2),.admin-standings-table th:nth-child(2){text-align:left}
#dash-status.show{position:fixed;bottom:20px;right:20px;max-width:min(580px,calc(100vw - 40px));z-index:110;padding:16px 20px;border-radius:10px;box-shadow:0 8px 30px #13233725;border:1px solid currentColor;font-size:.87rem;margin:0}
.installation-grid{display:grid;gap:12px}.installation-grid div{border:1px solid var(--office-line);border-radius:8px;padding:14px;background:#f8fafc}.installation-grid strong,.installation-grid span{display:block}.installation-grid span{font-size:.85rem;color:#62748a}.installation-grid .failed{border-color:#d67255;background:#fff3ee}.installation-grid .passed{border-color:#acd5bb;background:#f1faf5}
.admin-body :focus-visible{outline:3px solid #e48558;outline-offset:3px}
#crew-dialog{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #c6d0dc;border-top:4px solid #d95620;border-radius:16px;padding:24px}#crew-dialog::backdrop{background:#152130b8;backdrop-filter:blur(3px)}#crew-status{color:#982c10;font-size:.85rem}
.portal-layout{min-height:100vh;background:#f1f4f8}.portal-layout .portal-main{max-width:820px;margin:auto;padding:2rem 24px 4rem}.portal-layout .portal-main>h1{font:700 2rem/1.2 var(--office-font);letter-spacing:-.02em;text-transform:none;margin:.5rem 0 1.5rem}.portal-layout .portal-card{border-radius:18px;border:1px solid #dfe5ec;background:white;padding:28px;box-shadow:0 8px 24px #24364c08}.portal-layout h2{font:700 1.5rem/1.3 var(--office-font);text-transform:none}.portal-layout h3{font:600 1rem/1.4 var(--office-font)}.portal-layout .field input,.portal-layout .field select,.portal-layout .field textarea{border:1px solid #cbd4df;border-radius:8px;font-size:1rem}.portal-layout .portal-card p{font-size:.9rem;color:#68778a}.portal-layout .btn.primary{background:#bd3d0a;color:white;border-color:#bd3d0a}.portal-layout .role-grid article{border-radius:10px}.portal-layout .field{margin-bottom:1rem}.portal-layout .text-link{margin:0 0 1.5rem;font-size:.85rem;font-weight:600;color:#49596b}.portal-layout .office-header{position:static}
@media(max-width:900px){.office-header-inner{padding-inline:18px}.office-site-nav{gap:0}.office-site-nav a{font-size:.78rem;padding:.55rem .65rem}.operations-inner{align-items:start;flex-wrap:wrap;padding:22px 18px;gap:1rem}.office-main{padding-inline:18px}.office-tabs{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}.office-tabs button{flex-shrink:0}.office-shortcuts{grid-template-columns:1fr 1fr}.office-shortcuts button:last-child{grid-column:1/-1}.admin-team-grid{grid-template-columns:1fr 1fr}.admin-grid.two{grid-template-columns:1fr}}
@media(max-width:580px){.office-header-inner{gap:.5rem}.office-site-nav{justify-content:flex-end;max-width:195px}.office-site-nav a{padding:.5rem;font-size:.76rem}.operations-banner h1{font-size:1.65rem}.operations-banner p{font-size:.75rem;overflow-wrap:anywhere}.operations-actions{width:100%}.operations-actions .btn{flex:1}.office-main{padding-inline:14px}.office-meta{font-size:.66rem;gap:.5rem}.office-shortcuts{grid-template-columns:1fr}.office-shortcuts button:last-child{grid-column:auto}.office-shortcuts button{padding:16px}.welcome-strip{padding:18px}.welcome-strip h2{font-size:1.35rem}.metric-grid{grid-template-columns:1fr 1fr}.metric-grid article{padding:15px}.metric-grid strong{font-size:1.7rem}.admin-team-grid{grid-template-columns:1fr}.admin-card{padding:18px}.admin-card-head h2{font-size:1.25rem}.panel-intro h2{font-size:1.45rem}.form-grid,.request-summary,.access-scope-grid{grid-template-columns:1fr}.team-editor,.access-review,#game-form,#announcement-form{padding:18px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.roster-row{grid-template-columns:48px minmax(0,1fr) auto}.roster-row input{padding:.5rem}.roster-row .text-button{font-size:.7rem}.gameday-card{grid-template-columns:65px minmax(0,1fr)}.admin-list-item{grid-template-columns:1fr}.review-checks,.permission-grid{grid-template-columns:1fr}.review-actions .btn{width:100%}.office-tabs{margin-bottom:20px}}

.reading-review-row{background:#fff5d6}.reading-review-row small{display:block;max-width:110px;color:#713f12;font-size:11px}
/* Everyday directory and editor usability. */
.directory-tools{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:20px 0}.directory-tools label:first-child{flex:1 1 260px}.directory-tools label{display:grid;gap:5px;flex:1 1 180px}.user-directory table{width:100%;border-collapse:collapse;min-width:1050px}.user-directory th,.user-directory td{padding:12px 10px;vertical-align:top;border-bottom:1px solid var(--office-line);text-align:left;font-size:.85rem}.user-directory thead{background:#edf2f7}.user-directory tbody tr:hover{background:#f6f8fb}.user-directory small{display:block;color:var(--office-muted)}.user-directory td{overflow-wrap:anywhere}.user-directory .sort-heading,.user-directory .user-name-link{border:0;background:transparent;color:#202832;text-align:left;padding:6px 0;font-weight:700;cursor:pointer}.user-directory .user-name-link{color:#a83205;text-decoration:underline}.role-tag{display:inline-block;padding:3px 8px;margin:0 3px 5px 0;background:#e9eef5;border-radius:6px;white-space:nowrap;font-size:.8rem}.role-tag.secondary{background:#fff0e7;color:#883108}.user-directory time{display:block;min-width:125px}.admin-body .sort-heading:focus-visible,.admin-body .user-name-link:focus-visible{outline:3px solid #c53d09;outline-offset:3px}.admin-body #access-tabs{flex-wrap:wrap}.admin-body .access-review>.admin-card-head,.admin-body .team-editor>.admin-card-head{position:sticky;top:0;z-index:3;background:white;padding:12px 0;border-bottom:1px solid var(--office-line)}.admin-body .review-actions{position:sticky;bottom:0;z-index:3;background:white;padding:14px 0;border-top:1px solid var(--office-line);display:flex;flex-wrap:wrap;gap:10px}.editor-feedback{position:sticky;top:65px;z-index:2;padding:12px;background:#fff3e9;border:1px solid #dfac87;color:#752400}.permission-fieldset>summary{cursor:pointer;font-weight:700;padding:12px 0}.task-link{width:100%;text-align:left;cursor:pointer;font:inherit;border:1px solid var(--office-line);background:#fff;border-radius:8px;display:flex;justify-content:space-between;padding:14px}.task-link:hover{background:#fff0e7}.admin-body .result-close-bar{position:sticky;top:0;z-index:5;background:white;padding:10px 0;display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--office-line)}.result-close-bar span{font-size:.8rem;color:var(--office-muted)}@media(max-width:650px){.directory-tools{display:grid;grid-template-columns:1fr}.user-directory{max-width:100%;overflow-x:auto}.admin-body .access-review,.admin-body .team-editor{padding:16px}.result-close-bar span{max-width:200px}}

/* Dismissible notices never become permanent mobile overlays. */
#dash-status.show{display:flex;align-items:flex-start;gap:12px;padding:12px 12px 12px 16px;max-width:min(480px,calc(100vw - 24px));max-height:35vh;overflow:auto}#dash-status>span{flex:1;min-width:0;overflow-wrap:anywhere}#dash-status .notice-dismiss{flex:0 0 44px;width:44px;height:44px;min-height:44px;border:0;border-radius:6px;background:transparent;color:inherit;font:28px/1 sans-serif;cursor:pointer;padding:0}#dash-status .notice-dismiss:hover{background:#0000000d}@media(max-width:600px){#dash-status.show{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:auto;max-width:none;max-height:28vh;font-size:.82rem;line-height:1.4;padding:10px 8px 10px 12px;gap:6px}}
