/* A single visual system. System fonts and local assets only. */
.backend-loading .app-shell,.backend-loading #identity-panel{visibility:hidden}
:root{--bg:#f5f5f7;--paper:#fff;--ink:#1d1d1f;--muted:#6e6e73;--line:#e8e8ed;--green:#0071e3;--green-soft:#e8f2ff;--amber:#925b12;--amber-bg:#fff4e2;--red:#b42332;--red-bg:#fff0f1;--purple:#7251a2;--radius:20px;font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #77b7f7;outline-offset:3px}[hidden]{display:none!important}
h1,h2,h3,h4,p{margin-top:0}h1{font-size:32px;line-height:1.2;letter-spacing:-1px;font-weight:650;margin-bottom:0}h2{font-size:20px;letter-spacing:-.4px;font-weight:600}h3,h4{font-size:15px;font-weight:600}small{font-size:13px;color:var(--muted)}input[type=checkbox],input[type=radio]{accent-color:var(--green);width:16px;height:16px;flex-shrink:0;margin:0;cursor:pointer}
.app-shell{min-height:100vh;display:flex}.sidebar{width:208px;position:fixed;inset:0 auto 0 0;z-index:30;display:flex;flex-direction:column;padding:32px 20px 22px;background:#fbfbfd;border-right:1px solid var(--line)}.brand{font-size:20px;font-weight:650;letter-spacing:-.8px;color:var(--ink);padding:0 12px}.brand:hover{text-decoration:none}.workspace-label{font-size:13px;color:var(--muted);margin:9px 12px 36px}.nav-item{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:11px 14px;margin:3px 0;border-radius:9px;font-size:15px;color:#515156;white-space:nowrap}.nav-item:hover{background:#eeeef2}.nav-item.active{color:#0066cc;background:#e8f2ff;font-weight:600}.nav-item.secondary{font-size:13px}.nav-divider{height:1px;background:var(--line);margin:24px 10px 15px}.nav-count{margin-left:auto;font-size:13px;background:#e1e8f2;padding:0 6px;min-width:21px;border-radius:10px;text-align:center}.sidebar-bottom{margin-top:auto;padding:32px 12px 0;display:flex;flex-direction:column;gap:8px}.storage-status{text-align:left;padding:0;font-size:13px;color:#515156}.local-label{font-size:13px;color:#86868b}
.workspace{margin-left:208px;flex:1;min-width:0}.topbar{height:64px;padding:0 44px;display:flex;align-items:center;justify-content:space-between;gap:12px}.breadcrumb{display:flex;align-items:center;gap:12px;min-width:0}#page-crumb{display:none}.topbar-actions{display:flex;align-items:center;gap:22px;margin-left:auto;font-size:13px}.active-identity{color:var(--muted)}.topbar .text-button,.topbar .icon-button{font-size:13px;padding:5px 0;color:#515156}.topbar .notification-button{color:var(--green)}.mobile-menu,.demo-badge,.role-banner{display:none}main{max-width:1250px;margin:0 auto;padding:34px 44px 80px;min-width:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:34px;min-height:56px}.page-heading p{color:var(--muted);margin:9px 0 0;max-width:640px}.heading-actions,.action-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.heading-actions{justify-content:flex-end}
.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 18px;border-radius:999px;background:#ececf0;border:1px solid transparent;font-size:15px;font-weight:500;line-height:1.4;white-space:nowrap;min-height:40px;text-decoration:none}.button:hover{background:#e3e3e8;text-decoration:none}.button.primary{background:var(--green);color:#fff}.button.primary:hover{background:#0077ed}.button.small{font-size:13px;min-height:34px;padding:7px 13px}.text-button{display:inline-flex;align-items:center;justify-content:center;padding:6px 0;color:var(--green);font-size:15px;white-space:nowrap}.text-button:hover{text-decoration:underline}.icon-button{min-height:32px;min-width:32px}.button.danger{background:var(--red-bg);color:var(--red)}.danger-link{font-size:13px;padding:5px 0;color:var(--red)}
.badge{display:inline-flex;align-items:center;font-size:13px;padding:3px 9px;border-radius:999px;line-height:1.5;color:#66666b;background:#f0f0f3;white-space:nowrap}.badge.green{color:#246541;background:#edf6ef}.badge.blue{color:#1866a8;background:#edf5ff}.badge.purple{color:#7251a2;background:#f4effa}.badge.amber{color:var(--amber);background:var(--amber-bg)}.badge.red{color:var(--red);background:var(--red-bg)}.badge.gray{color:#6e6e73;background:#f1f1f4}.job-label{font-size:13px;font-weight:500;min-width:36px}.job-label.camera{color:#1866a8}.job-label.editor{color:#7251a2}.job-label.sign{color:#925b12}
.round-list{display:flex;flex-direction:column;gap:12px}.round-group{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);min-width:0}.round-group>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:23px 26px;cursor:pointer;border-radius:var(--radius)}.round-group>summary::-webkit-details-marker{display:none}.round-summary{display:flex;align-items:baseline;gap:18px;flex-wrap:wrap;min-width:0}.round-summary strong{font-size:20px;font-weight:600;letter-spacing:-.4px}.round-summary>span{font-size:13px;color:var(--muted)}.round-toggle-hint{width:9px;height:9px;flex-shrink:0;border-right:1.5px solid #86868b;border-bottom:1.5px solid #86868b;transform:rotate(45deg);margin:0 3px 5px 0}.round-toggle-hint span{display:none}.round-group[open]>summary .round-toggle-hint{transform:rotate(225deg);margin-bottom:0}.round-group.unassigned .round-summary strong{color:var(--amber)}.round-content{padding:0 26px 16px;min-width:0}.round-actions{display:flex;justify-content:flex-end;padding:0 0 13px}.section-note{font-size:13px;color:var(--muted);padding:8px 0 2px;margin:0}.empty{padding:40px 20px;text-align:center;color:var(--muted)}.round-content>.empty{padding:24px 0}
.schedule-row{display:grid;grid-template-columns:minmax(140px,1.35fr) minmax(140px,1.1fr) minmax(100px,1fr) auto;gap:18px;align-items:center;padding:14px 0;border-top:1px solid #f0f0f3;min-height:74px}.schedule-subject h3{margin:0;font-weight:600}.schedule-subject p{font-size:13px;color:var(--muted);margin:5px 0 0}.schedule-time strong,.schedule-place strong{display:block;font-weight:400}.schedule-time span,.schedule-place span{display:block;font-size:13px;color:var(--muted);margin-top:4px}.schedule-place .unbooked{color:#86868b}.schedule-action{display:flex;align-items:center;gap:14px;justify-content:flex-end}.schedule-action .text-button{font-size:13px}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 22px}.toolbar-left{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}.search-box{min-width:220px}.search-box input,.filter-select{background:#fff;border:1px solid #dedee4;border-radius:10px;padding:10px 13px;min-height:42px;font-size:15px;max-width:100%}.search-box input{width:280px}.search-box input::placeholder{color:#86868b}.segmented{display:inline-flex;padding:3px;background:#e9e9ed;border-radius:9px;gap:3px;max-width:100%}.segmented button{font-size:13px;padding:7px 12px;border-radius:7px;white-space:nowrap;color:#66666b}.segmented button.active{background:white;color:var(--ink);box-shadow:0 1px 3px #00000010}.compact-note,.muted{font-size:13px;color:var(--muted);line-height:1.7}.warning-text{color:var(--amber);font-size:13px}.filter-label{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.filter-checkbox{display:flex;align-items:center;gap:8px;font-size:13px}
.utility-disclosure{font-size:13px;margin:0 0 20px;color:var(--muted)}.utility-disclosure>summary{width:fit-content;cursor:pointer;padding:5px 0}.utility-disclosure[open]>summary{margin-bottom:12px}.utility-disclosure>.batch-toolbar{padding:16px 0;border-top:1px solid var(--line)}.batch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px}.panel-foot{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);margin-top:18px}.table-wrap{width:100%;overflow:auto;min-width:0}table{border-collapse:collapse;width:100%;text-align:left;font-size:15px}th{font-size:13px;color:var(--muted);font-weight:400;padding:12px 12px 14px;white-space:nowrap;border-bottom:1px solid var(--line)}td{padding:19px 12px;border-bottom:1px solid #f0f0f3;vertical-align:middle;line-height:1.6}th:first-child,td:first-child{padding-left:0}th:last-child,td:last-child{padding-right:0}tr:last-child td{border-bottom:0}td strong{font-weight:500}td small{display:block;margin-top:4px;line-height:1.5}td .text-button{font-size:13px}.round-course-table .selection-cell{width:25px;padding-right:12px}.round-course-table .subject-cell{min-width:125px}.round-course-table .time-cell{white-space:nowrap}.round-course-table .union-cell{max-width:150px;font-size:13px;color:var(--muted)}.round-course-table .action-row{gap:12px;flex-wrap:nowrap}
.row-menu{font-size:13px}.row-menu>summary{cursor:pointer;list-style:none;color:var(--muted);padding:5px 0}.row-menu>summary::-webkit-details-marker{display:none}.row-menu-panel{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px}.record-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.records-links{display:flex;flex-wrap:wrap;gap:10px 22px;margin:0 0 24px}.records-links .text-button{font-size:13px}.signup-tabs{display:flex;gap:28px;align-items:center;border-bottom:1px solid #dedee4;margin:0 0 28px;overflow-x:auto;scrollbar-width:none}.signup-tabs button{padding:0 1px 14px;white-space:nowrap;color:var(--muted);border-bottom:2px solid transparent}.signup-tabs button.active{border-color:var(--ink);color:var(--ink);font-weight:500}
.round-signup-subject,.staff-card{padding:22px 0;border-top:1px solid var(--line)}.round-signup-subject:first-child,.staff-card:first-child{padding-top:5px;border-top:0}.round-signup-head,.staff-card-head,.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}.round-signup-head h4,.staff-card h4{margin:0}.round-signup-head .text-button{font-size:13px}.round-signup-subject>p{margin:0 0 16px}.subject-job{display:flex;align-items:center;gap:18px;padding:13px 0;border-top:1px solid #f0f0f3}.subject-job>div{flex:1;min-width:0}.subject-job .compact-note{display:block}.subject-job p{margin:4px 0}.staff-slot{display:flex;align-items:center;gap:16px;padding:9px 0}.assigned{display:flex;align-items:center;gap:16px;margin-left:auto}.staff-card-foot{font-size:13px;color:var(--muted);margin-top:15px}.round-subject{padding-top:16px}.round-subject+.round-subject{border-top:1px solid var(--line);margin-top:16px}.subject-heading{margin:0 0 4px}
.work-row,.signup-row,.round-video-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:21px 0;border-top:1px solid #f0f0f3}.work-row:first-child,.signup-row:first-child,.round-video-row:first-child{border-top:0}.work-row h4,.round-video-row h4,.signup-row h3{margin:0 0 6px}.work-row p,.signup-row p,.round-video-row p{font-size:13px;color:var(--muted);line-height:1.8;margin:0}.work-row .action-row,.signup-row-actions{display:flex;gap:12px;align-items:center;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;max-width:46%}.signup-row-title{display:flex;gap:10px;align-items:center;margin-bottom:6px}.signup-row-title h3{margin:0}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 26px 18px}.panel-title{font-size:20px;margin:0}.panel-subtitle{font-size:13px;color:var(--muted);margin-top:6px}.onsite-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:20px;align-items:start}.onsite-top{padding:26px 26px 0}.onsite-top h2{margin:0 0 12px}.onsite-top p{font-size:13px;color:var(--muted);line-height:1.8}.right-stack{display:grid;gap:20px}.check-list{padding:0 26px}.check-progress{height:3px;background:#ededf2;border-radius:2px;overflow:hidden;margin:0 0 10px}.check-progress span{display:block;height:100%;background:var(--green)}.check-item{display:flex;align-items:flex-start;gap:13px;padding:17px 0;border-bottom:1px solid var(--line);cursor:pointer}.check-item input{margin-top:4px}.check-item strong{font-weight:500}.check-item p{font-size:13px;color:var(--muted);margin:5px 0 0;line-height:1.7}.check-item.done strong{color:#386a4a}.check-footer{padding:20px 26px;display:flex;flex-direction:column;gap:15px}.check-footer>span{font-size:13px;color:var(--muted)}.check-footer .button{align-self:flex-start}.attendance-body{padding:0 26px 24px}.attendance-status{font-size:13px;color:var(--muted);margin-bottom:16px;line-height:1.8}.attendance-body p{margin:14px 0}.mini-form{display:flex;gap:8px;flex-wrap:wrap}.mini-form input{min-width:0;flex:1 1 95px;padding:10px;border:1px solid #dedee4;border-radius:8px;background:#fff;font-size:13px}.mini-form input:disabled{background:#f6f6f8}.mini-form .button{font-size:13px}.progress-label{display:flex;align-items:center;justify-content:space-between;margin:18px 0 10px;font-size:13px}.progress-label .text-button{font-size:13px}.attendance-item{font-size:13px;display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--line)}
.notification-card{padding:24px 0;border-top:1px solid var(--line)}.notification-card:first-child{border-top:0}.notification-card h3{margin:0}.notification-card p{font-size:13px;color:var(--muted)}.notification-content{white-space:pre-wrap;background:#f7f7f9;padding:20px;border-radius:10px;font-size:13px;line-height:1.8;margin:18px 0}.notification-foot{display:flex;gap:14px;justify-content:flex-end;margin-top:18px}.recipient-list{display:flex;gap:8px 18px;flex-wrap:wrap}.recipient{display:flex;align-items:center;gap:9px;font-size:13px}.recipient .text-button{font-size:13px}.notification-heading p{margin:5px 0 0}
.htm-storage{font-size:13px;color:var(--muted);margin:-18px 0 24px}.htm-toolbar .heading-actions{margin-left:auto}.htm-roster-row{display:grid;grid-template-columns:minmax(0,1fr) 230px;align-items:center;gap:24px;padding:20px 0;border-top:1px solid #f0f0f3}.htm-roster-row:first-child{border-top:0}.htm-roster-row label{min-width:0}.htm-roster-row strong,.htm-roster-row small{display:block}.htm-roster-row strong{font-weight:500}.htm-roster-row small{margin-top:6px}.htm-roster-row input{width:100%;min-width:0;padding:11px 13px;border:1px solid #dedee4;border-radius:10px;background:#fafafa}.htm-upload{padding:24px 26px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:24px}.htm-upload .field{max-width:600px}.htm-upload input{font-size:13px;max-width:100%}.htm-upload .compact-note{margin:12px 0 0}.htm-import-settings{padding:4px 0 24px;max-width:900px}.htm-file-name{display:flex;flex-direction:column;gap:7px;margin-bottom:22px;overflow-wrap:anywhere}.htm-file-name span{font-size:13px;color:var(--muted)}.htm-map-row{display:grid;grid-template-columns:1fr 2fr;gap:20px;align-items:center;margin:16px 0}.htm-map-row span{overflow-wrap:anywhere}.htm-preview{padding-top:24px;border-top:1px solid var(--line)}.htm-preview>p{font-size:13px;color:var(--muted)}.htm-preview .table-wrap{max-height:480px;background:white;padding:0 20px;border:1px solid var(--line);border-radius:12px}.htm-archive-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0;border-top:1px solid #f0f0f3}.htm-archive-row:first-child{border-top:0}.htm-archive-row>div{min-width:0;overflow-wrap:anywhere}.htm-archive-row strong{font-weight:500}.htm-archive-row p{margin:7px 0 0}.htm-archive-row .action-row{flex-shrink:0}.htm-mapping h3{margin:22px 0 12px}
.field{display:flex;flex-direction:column;gap:9px;min-width:0;margin-bottom:18px}.field>span{font-size:13px;color:#515156}.field input,.field select,.field textarea,.htm-map-row select{width:100%;min-width:0;border:1px solid #d6d6dc;border-radius:10px;padding:11px 13px;background:#fff;line-height:1.5}.field textarea{min-height:106px;resize:vertical}.field small{line-height:1.6}.field input[readonly]{background:#f5f5f7;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.field.full,.field-check.full{grid-column:1/-1}.field-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.8;margin:6px 0 22px}.field-check input{margin-top:5px}.signup-summary{background:#f5f5f7;padding:16px;border-radius:9px;font-size:13px;line-height:1.8}.info-banner{background:#edf5ff;color:#315773;border-radius:10px;padding:14px 18px;margin:0 0 24px;font-size:13px;line-height:1.7}.info-banner.amber{background:var(--amber-bg);color:#805723}.info-banner .text-button{font-size:13px;margin-left:12px}.error-message{padding:13px 16px;background:var(--red-bg);color:var(--red);font-size:13px;border-radius:8px;margin-top:14px}.form-error:empty{display:none}
dialog{padding:0;border:1px solid #e4e4e8;border-radius:22px;width:min(580px,calc(100vw - 40px));max-height:90vh;overflow:auto;background:white;color:var(--ink);box-shadow:0 18px 80px #00000026}dialog.wide{width:min(860px,calc(100vw - 40px))}dialog::backdrop{background:#1d1d1f55}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:26px 30px 22px;border-bottom:1px solid var(--line)}.modal-head h2{margin:0;font-size:20px;line-height:1.4;max-width:85%}.modal-head .icon-button{font-size:13px;color:var(--muted);padding:4px 0}.modal-body{padding:26px 30px}.modal-body>p{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:24px}.modal-foot{padding:20px 30px;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);background:#fcfcfd}.detail-summary{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:8px 0 26px}.detail-item{font-size:13px;color:var(--muted);min-width:0}.detail-item strong{display:block;color:var(--ink);font-size:15px;font-weight:500;margin-top:7px;white-space:pre-wrap;overflow-wrap:anywhere}.detail-section{padding:23px 0;border-top:1px solid var(--line)}.detail-section p,.detail-disclosure p{font-size:13px;color:var(--muted);line-height:1.9}.detail-disclosure{border-top:1px solid var(--line);padding:18px 0}.detail-disclosure>summary{display:flex;align-items:center;gap:16px;cursor:pointer;font-weight:500;list-style:none}.detail-disclosure>summary::-webkit-details-marker{display:none}.detail-disclosure>summary:after{content:"+";margin-left:auto;color:var(--muted);font-size:20px;font-weight:400}.detail-disclosure[open]>summary:after{content:"−"}.detail-disclosure>div{margin-top:20px}.history-item{display:flex;flex-direction:column;gap:6px;border-top:1px solid #f0f0f3;padding:15px 0;font-size:13px}.history-item:first-child{border-top:0}.history-item time{color:var(--muted)}.flow-steps{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.flow-step{font-size:13px;padding:5px 9px;background:#f1f1f4;border-radius:6px;color:var(--muted)}.flow-step.done{background:#eaf3ff;color:#1368b5}.link-wrap{overflow-wrap:anywhere}
.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.guide-grid .panel{padding:26px}.guide-grid .panel-head{padding:0;margin-bottom:18px}.guide-content p,.guide-content li{font-size:13px;line-height:1.9;color:var(--muted)}.guide-content ol{padding-left:20px;margin-bottom:0}.guide-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.guide-actions .button{font-size:13px}.danger-zone{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.history-source{padding:26px;margin:0 0 24px}.history-source h2{margin-bottom:12px}.history-source p,.admin-note{font-size:13px;line-height:1.8;color:var(--muted)}.mt{margin-top:16px}
.identity-screen{min-height:100vh;max-width:740px;margin:0 auto;padding:60px 32px}.identity-brand{font-size:20px;font-weight:600;margin-bottom:38px;letter-spacing:-.5px}.identity-screen>p{color:var(--muted);margin:16px 0 32px}.identity-options{border:0;padding:0;margin:0 0 28px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.identity-option{background:white;display:flex;align-items:flex-start;gap:12px;padding:18px;border:1px solid #e0e0e6;border-radius:12px;cursor:pointer;min-height:60px}.identity-option:has(input:checked){border-color:#0071e3;background:#f4f9ff}.identity-option input{margin-top:4px}.identity-option strong{font-weight:500;display:block}.identity-option small{display:none;line-height:1.7;margin-top:5px}.identity-option:has(input:checked) small{display:block}.identity-footer{font-size:13px!important;line-height:1.8;max-width:560px;margin-top:30px!important}.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}
#toast{position:fixed;left:calc(50% + 104px);bottom:28px;transform:translateX(-50%);z-index:100;max-width:calc(100vw - 40px);padding:13px 22px;background:#28282c;color:white;border-radius:12px;font-size:13px;display:none}#toast.show{display:block}#toast.error{background:#a42b36}
@media(max-width:1150px){.sidebar{width:188px;padding-left:14px;padding-right:14px}.workspace{margin-left:188px}main{padding:30px 28px 70px}.topbar{padding:0 28px}.schedule-row{grid-template-columns:minmax(125px,1.3fr) minmax(120px,1fr) minmax(100px,1fr) auto;gap:14px}.round-content{padding-left:22px;padding-right:22px}.round-group>summary{padding-left:22px;padding-right:22px}.round-course-table .union-cell,.round-course-table th:nth-last-child(3){display:none}.onsite-grid{grid-template-columns:1fr}.right-stack{grid-template-columns:1fr 1fr}}
@media(max-width:760px){
 .sidebar{width:240px;transform:translateX(-100%);padding:28px 18px;box-shadow:10px 0 40px #00000016;transition:transform .16s ease}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.topbar{height:60px;position:sticky;top:0;z-index:20;background:#f5f5f7;border-bottom:1px solid var(--line);padding:0 20px}.mobile-menu{display:inline-flex;align-items:center;justify-content:center;font-size:15px;padding:0;min-width:24px}#page-crumb{display:block;font-size:13px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}.topbar-actions{gap:15px}.active-identity{display:none}main{padding:30px 20px 60px}.page-heading{align-items:flex-start;gap:16px;margin-bottom:26px;flex-wrap:wrap}.page-heading p{font-size:13px;line-height:1.7;margin-top:12px}.heading-actions{justify-content:flex-start}.page-heading .button{font-size:13px;min-height:36px;padding:8px 14px}
 .round-summary{gap:5px 14px}.round-summary>span{flex-basis:100%}.round-group>summary{padding:21px 20px}.round-content{padding:0 20px 15px}.round-list{gap:10px}.schedule-row{grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;padding:19px 0;min-height:0}.schedule-subject{grid-column:1;grid-row:1}.schedule-action{grid-column:2;grid-row:1;gap:9px}.schedule-time{grid-column:1;grid-row:2}.schedule-place{grid-column:2;grid-row:2;text-align:right;max-width:130px}.schedule-time strong,.schedule-place strong{font-size:13px}.schedule-place span{display:none}.schedule-time span{margin-top:3px}
 .toolbar{gap:14px}.toolbar-left{gap:10px;width:100%}.search-box{width:100%;min-width:0}.search-box input{width:100%}.filter-select{font-size:13px;padding:9px 11px;min-height:38px}.segmented{overflow:auto}.batch-toolbar{align-items:flex-start;gap:12px}.batch-toolbar .action-row{gap:10px}.panel-foot{gap:10px}.panel-foot>span:last-child{display:none}.table-wrap{max-width:100%}
 .round-course-table thead{display:none}.round-course-table,.round-course-table tbody{display:block}.round-course-table tr{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:20px 0;border-bottom:1px solid #f0f0f3}.round-course-table tr.selectable{padding-left:25px}.round-course-table td{display:block;padding:0;border:0;white-space:normal;line-height:1.6}.round-course-table .selection-cell{position:absolute;left:0;top:23px;padding:0;width:auto}.round-course-table .subject-cell{grid-column:1;grid-row:1;min-width:0}.round-course-table .status-cell{grid-column:2;grid-row:1;justify-self:end}.round-course-table .action-cell{grid-column:2;grid-row:3;justify-self:end}.round-course-table .time-cell{grid-column:1;grid-row:2;font-size:13px}.round-course-table .teacher-cell{grid-column:1;grid-row:3;font-size:13px}.round-course-table .union-cell{display:none}.round-course-table .time-cell small,.round-course-table .teacher-cell small{margin-top:1px}.round-course-table .action-cell .action-row{justify-content:flex-end}
 .signup-tabs{gap:22px;margin-bottom:24px}.signup-tabs button{font-size:13px;padding-bottom:12px}.round-signup-head{align-items:flex-start}.subject-job{display:grid;grid-template-columns:38px 1fr auto;gap:8px 10px}.subject-job>.button{grid-column:3;grid-row:2}.subject-job>div{grid-column:2;grid-row:1/3}.subject-job>.badge{grid-column:3;grid-row:1}.subject-job>.job-label{grid-column:1;grid-row:1}.subject-job .warning-text{max-width:150px}.assigned{font-size:13px;gap:10px}.work-row,.signup-row,.round-video-row{align-items:flex-start;flex-direction:column;gap:13px}.work-row .action-row,.signup-row-actions{max-width:100%;justify-content:flex-start;gap:12px}.work-row .button,.signup-row-actions .button{font-size:13px;min-height:34px;padding:7px 13px}
 .right-stack{grid-template-columns:1fr}.panel-head{padding:22px 20px 16px}.onsite-top{padding:22px 20px 0}.check-list{padding:0 20px}.check-footer{padding:20px}.attendance-body{padding:0 20px 22px}.notification-heading{align-items:flex-start}.notification-content{padding:16px}.notification-foot{justify-content:flex-start;flex-wrap:wrap}.recipient-list{flex-direction:column;align-items:flex-start;gap:12px}
 .htm-toolbar .heading-actions{margin-left:0;width:100%}.htm-toolbar .button{font-size:13px}.htm-roster-row{grid-template-columns:minmax(0,1fr) minmax(100px,40%);gap:13px;padding:20px 0}.htm-roster-row input{padding:10px;font-size:13px}.htm-upload{padding:20px}.htm-archive-row{align-items:flex-start;flex-direction:column;gap:14px}.htm-map-row{grid-template-columns:1fr;gap:9px}.form-grid{grid-template-columns:1fr;gap:0}.field.full,.field-check.full{grid-column:auto}.guide-grid{grid-template-columns:1fr}.guide-grid .panel,.history-source{padding:22px}
 .detail-summary{gap:20px 15px}.modal-head,.modal-body{padding:22px}.modal-foot{padding:18px 22px}.modal-foot .button{font-size:13px;padding:8px 13px;min-height:36px}dialog,dialog.wide{width:calc(100vw - 24px);max-height:92vh;border-radius:18px}.identity-screen{padding:36px 24px}.identity-brand{margin-bottom:30px}.identity-options{gap:8px}.identity-option{padding:15px 12px;gap:9px}.identity-option strong{font-size:13px}.identity-options .identity-option:last-child{grid-column:1/-1}#toast{left:50%;bottom:20px;width:max-content;max-width:calc(100vw - 32px)}
}
@media(max-width:370px){main{padding-left:15px;padding-right:15px}.topbar{padding-left:15px;padding-right:15px}.round-group>summary,.round-content{padding-left:16px;padding-right:16px}.schedule-action .badge{font-size:13px}.htm-roster-row{grid-template-columns:minmax(0,1fr) 105px;gap:9px}.topbar-actions{gap:12px}#page-crumb{max-width:90px}.identity-screen{padding-left:20px;padding-right:20px}.identity-options{grid-template-columns:1fr}.identity-option strong{font-size:15px}.identity-options .identity-option:last-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

.modal-head{position:sticky;top:0;z-index:3;background:#fff}.modal-foot{position:sticky;bottom:0;z-index:2;background:#fcfcfd}

@media(max-width:760px){.sidebar{visibility:hidden;pointer-events:none}.sidebar.open{visibility:visible;pointer-events:auto}}

.identity-screen>h1{margin-bottom:32px}
.role-guide-steps{margin:0;padding-left:22px}.role-guide-steps li{padding-left:6px}.role-guide-steps li+li{margin-top:24px}.role-guide-steps strong{font-size:15px;font-weight:600}.role-guide-steps p{margin:7px 0 0;color:var(--muted);line-height:1.8}
.photo-upload>p{margin:0 0 18px}.photo-file{position:relative;overflow:hidden;cursor:pointer}.photo-file input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.photo-file:focus-within{outline:3px solid #0071e3;outline-offset:3px}#sign-photo-preview:not(:empty){margin-top:22px}.sign-photo-preview{display:block;max-width:100%;max-height:300px;object-fit:contain;margin-bottom:18px;border-radius:10px}.sign-photo-list{display:grid;gap:24px}.photo-upload+.sign-photo-list:not(:empty){margin-top:28px}.sign-photo-record{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:20px;padding-top:24px;border-top:1px solid var(--line)}.sign-photo-record p{margin:0 0 10px;overflow-wrap:anywhere}.photo-image-link img{display:block;width:140px;height:100px;object-fit:cover;border-radius:8px;background:#f5f5f7}.sign-photo-full{display:block;max-width:100%;max-height:65vh;margin:0 auto;object-fit:contain}.photo-storage{margin:24px 0 0}@media(max-width:600px){.sign-photo-record{grid-template-columns:100px minmax(0,1fr);gap:14px}.photo-image-link img{width:100px;height:80px}}
.active-identity{display:inline-flex;align-items:center;gap:8px;min-width:0;line-height:1.4}.identity-role{color:var(--text,#1d1d1f)}
@media(max-width:760px){.topbar{height:auto;min-height:60px;padding-top:10px;padding-bottom:10px}.topbar-actions{gap:10px;min-width:0}.topbar-actions>button{white-space:nowrap;flex-shrink:0}.active-identity{display:flex;flex-direction:column;align-items:flex-end;gap:2px;max-width:130px;overflow-wrap:anywhere}.breadcrumb #page-crumb{display:none}}
.confirmation-parties{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.confirmation-party{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:10px 0 24px;min-width:0}
.confirmation-party+ .confirmation-party{border-left:1px solid var(--line);padding-left:28px}
.confirmation-party strong{font-size:20px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
.confirmation-party time{font-size:13px;color:var(--muted)}
.handoff-assets{display:flex;flex-direction:column;gap:8px;padding:0 0 20px;margin-bottom:16px;border-bottom:1px solid var(--line)}
.handoff-assets strong{font-size:15px;font-weight:500}.handoff-assets span{font-size:13px;color:var(--muted)}
.equipment-list{padding:0 26px}
.asset-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) auto;align-items:center;gap:20px;padding:24px 0;border-bottom:1px solid var(--line)}
.asset-row:last-child{border-bottom:0}.asset-row h3{font-size:15px;margin:0 0 6px;font-weight:600}
.asset-row strong{font-size:15px;font-weight:500}.asset-row p{font-size:13px;color:var(--muted);margin:5px 0 0;line-height:1.7}
.asset-row p.warning-text{color:var(--amber)}.asset-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.asset-actions .text-button{font-size:13px}.asset-picker{border:0;padding:0;margin:0 0 22px}
.asset-picker legend{font-size:13px;color:var(--muted);padding:0 0 10px}
.asset-picker label{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);cursor:pointer}
.asset-picker small{display:block;margin-top:4px}
@media(max-width:760px){.equipment-list{padding:0 20px}.asset-row{grid-template-columns:1fr 1fr;gap:15px}.asset-actions{grid-column:1/-1;justify-content:flex-start}.confirmation-parties{gap:20px}.confirmation-party{gap:13px}.confirmation-party+ .confirmation-party{padding-left:20px}.confirmation-party strong{font-size:15px}.confirmation-party .button{font-size:13px;padding:9px 13px}.confirmation-party .badge{white-space:normal}}
