:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--ink);background:var(--page);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color-scheme:light;--page: #f6f5f0;--surface: #fff;--surface-alt: #f3f5f0;--ink: #253c32;--muted: #5e6b62;--line: #dce1d8;--accent: #285545;--accent-ink: #fff;--tint: #eaf0e7;--warning: #795216;--warning-bg: #fbf4e5;--danger: #9e3f34;--danger-bg: #fcf0eb;--focus: #af721c;--g0-bg: #e8efe7;--g0-ink: #355b3c;--g1-bg: #f8efdb;--g1-ink: #7c5b1c;--g2-bg: #f5e5dd;--g2-ink: #8e4e36;--g3-bg: #e7edf3;--g3-ink: #445e79;--g4-bg: #edf0d9;--g4-ink: #586223;--g5-bg: #f6e7ef;--g5-ink: #7b4662;--serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button{color:inherit}a{color:inherit;text-underline-offset:4px}svg{flex-shrink:0;vertical-align:middle}button,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:3px}::selection{background:var(--accent);color:var(--accent-ink)}input,textarea{caret-color:var(--accent)}*{scrollbar-color:var(--muted) var(--surface-alt);scrollbar-width:thin}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}p{overflow-wrap:anywhere}h2{font-size:20px;line-height:1.3;letter-spacing:-.025em;font-weight:650}h3{font-size:14px;font-weight:650}fieldset{padding:0;margin:0;border:0;min-width:0}input:not([type=checkbox]),select,textarea{min-width:0;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--ink);padding:9px 10px;line-height:1.4}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.85}input[type=checkbox]{width:17px;height:17px;accent-color:var(--accent);flex-shrink:0;cursor:pointer;margin:0}select{cursor:pointer;padding-right:22px}textarea{resize:vertical}label{font-size:12px;font-weight:550;display:block}label>input:not([type=checkbox]),label>select,label>textarea{display:block;width:100%;margin-top:7px}button{border:0;background:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:5px}button,a,summary{transition:background-color .15s ease,color .15s ease}button:hover:not(:disabled){background:var(--surface-alt)}.button{min-height:38px;padding:8px 12px;font-size:12px;line-height:1.4;font-weight:600;white-space:nowrap}.button.primary{background:var(--accent);color:var(--accent-ink)}.button.primary:hover:not(:disabled){background:var(--ink);color:var(--surface)}.button.secondary{border:1px solid var(--line);background:var(--surface)}.button.secondary:hover:not(:disabled){background:var(--surface-alt)}.icon-button{width:32px;height:34px;flex-shrink:0}.text-button{padding:7px 0;font-size:12px;justify-content:flex-start;color:var(--accent);font-weight:600}.text-button:hover:not(:disabled){background:none;text-decoration:underline;text-underline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:-60px;z-index:100;padding:12px;background:var(--accent);color:var(--accent-ink)}.skip-link:focus{top:12px}.app-header{height:88px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 4%;border-bottom:1px solid var(--line);background:var(--surface)}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-family:var(--serif);font-size:25px;font-weight:600;letter-spacing:-.035em;line-height:1.2}.brand-mark{width:42px;height:42px;border-radius:10px;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center}.brand-sub{display:block;font:11px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:.02em;color:var(--muted);margin-top:3px;font-weight:450}.header-right{display:flex;align-items:center;gap:27px}.storage-label{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.save-dot{width:5px;height:5px;background:var(--accent);border-radius:50%}.data-menu{position:relative}.data-menu>summary{list-style:none;display:flex;align-items:center;gap:8px;font-size:12px;cursor:pointer;padding:10px;border:1px solid var(--line);border-radius:5px}.data-menu>summary::-webkit-details-marker{display:none}.menu-content{position:absolute;top:47px;right:0;background:var(--surface);border:1px solid var(--line);padding:8px;border-radius:8px;z-index:20;width:260px}.menu-content button{width:100%;padding:10px;justify-content:flex-start;font-size:12px}.menu-content p{font-size:11px;color:var(--muted);margin:8px 10px;line-height:1.6}.app-main{max-width:1512px;margin:0 auto;padding:35px 4% 0}.app-main:focus{outline:none}.class-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.title-row{display:flex;align-items:center;gap:12px}.class-heading h1{font-family:var(--serif);font-size:34px;line-height:1.25;letter-spacing:-.035em;font-weight:500;overflow-wrap:anywhere}.class-heading p{font-size:12px;color:var(--muted);margin-top:5px}.sample-label{font-size:10px;font-weight:600;color:var(--warning);background:var(--warning-bg);border:1px solid var(--line);padding:3px 7px;border-radius:4px;white-space:nowrap}.class-switch{display:flex;gap:10px;align-items:center}.class-switch select{width:175px;font-size:12px;min-height:38px;background:transparent}.workspace-nav{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:26px}.workspace-nav button{position:relative;border-radius:0;min-height:47px;padding:10px 0;color:var(--muted);font-weight:550;font-size:12px;gap:8px;white-space:nowrap}.workspace-nav button:hover:not(:disabled){background:transparent;color:var(--ink)}.workspace-nav button[aria-current=page]{color:var(--accent)}.workspace-nav button[aria-current=page]:after{position:absolute;content:"";bottom:-1px;height:3px;background:var(--accent);left:0;right:0;border-radius:3px 3px 0 0}.count{padding:1px 6px;background:var(--tint);color:var(--accent);font-size:10px;border-radius:4px}.workspace-layout{display:grid;grid-template-columns:266px minmax(0,1fr);gap:26px;align-items:start}.setup-panel{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:20px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:16px}.panel-title h2{font-size:15px;letter-spacing:-.02em}.mini-icon{color:var(--muted)}.roster-summary{display:flex;gap:10px;background:var(--tint);padding:12px 10px;border-radius:5px;align-items:center}.roster-summary>svg{color:var(--accent)}.roster-summary>div{flex:1;min-width:0}.roster-summary strong{font-size:11px;font-weight:650;display:block}.roster-summary span{font-size:10px;color:var(--muted);display:block;margin-top:2px}.roster-summary .icon-button{width:25px;height:30px}.setting-section{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.setting-section legend{float:left;width:100%;font-size:12px;font-weight:650;margin-bottom:12px;display:flex;align-items:center;gap:6px}.setting-section legend+*{clear:both}.segmented{display:flex;background:var(--surface-alt);border-radius:5px;padding:3px;margin-bottom:15px;gap:3px}.segmented button{flex:1;padding:7px 5px;border:1px solid transparent;font-size:11px;color:var(--muted)}.segmented button.selected{background:var(--surface);border-color:var(--line);color:var(--ink);font-weight:600}.inline-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:450}.inline-label input:not([type=checkbox]){width:58px;margin:0;padding:6px 7px;font-size:12px}.inline-label input[type=time]{width:103px;padding:6px}.field-hint{font-size:10px;color:var(--muted);line-height:1.6;margin-top:8px}.section-line{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.section-line h3{font-size:12px}.section-line>span{font-size:10px;color:var(--muted)}.station-list{display:flex;flex-direction:column;gap:7px}.station-main{display:flex;align-items:center;gap:7px}.station-number{width:22px;height:22px;display:grid;place-items:center;flex-shrink:0;background:var(--surface-alt);border:1px solid var(--line);border-radius:4px;font-size:10px;font-weight:600;color:var(--muted)}.station-main input:not([type=checkbox]){width:100%;border-color:transparent;padding:5px 0;background:transparent;font-size:11px}.station-main input:not([type=checkbox]):hover{border-color:var(--line);background:var(--surface)}.station-main .icon-button{width:20px;height:29px;color:var(--muted)}.station-details{margin-left:29px}.station-details>summary{cursor:pointer;font-size:9px;color:var(--muted);width:fit-content}.station-details label{margin-top:8px;font-size:10px;font-weight:450}.station-details input,.station-details textarea{font-size:11px;padding:6px}.station-details[open]{padding-bottom:6px}.station-settings>.text-button{font-size:10px;margin-top:12px}.checkbox-label{display:flex;align-items:flex-start;gap:8px;font-size:10px;font-weight:400}.shared-check{margin-top:11px;line-height:1.6}.shared-check input{width:14px;height:14px;margin-top:2px}.timing-inputs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.timing-inputs label{font-size:10px;font-weight:450}.number-unit{display:flex;align-items:center;border:1px solid var(--line);border-radius:5px;margin-top:7px}.number-unit input:not([type=checkbox]){width:100%;border:0;padding:7px 5px 7px 9px;font-size:12px;background:transparent}.number-unit>span{font-size:10px;color:var(--muted);padding-right:8px}.timing-total{font-size:10px;color:var(--muted);margin-top:12px}.generate-button{width:100%;margin-top:22px;min-height:42px;font-size:11px;padding:8px;gap:7px}.generate-button svg:last-child{margin-left:auto}.local-note{display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;color:var(--muted);margin:11px -5px 0}.work-panel{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:9px;overflow:hidden}.board-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 25px 20px}.board-heading p{color:var(--muted);font-size:11px;margin-top:5px}.board-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 25px 14px;border-bottom:1px solid var(--line)}.output-tabs{display:flex;gap:4px;min-width:0}.output-tabs button{padding:8px 10px;font-size:10px;color:var(--muted);white-space:nowrap}.output-tabs button[aria-pressed=true]{background:var(--tint);color:var(--accent);font-weight:600}.output-actions{display:flex;gap:3px;align-items:center}.output-actions .icon-button{width:29px}.print-button{margin-left:7px;min-height:32px;padding:6px 10px;font-size:10px}.empty-board{min-height:495px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:42px 30px 37px;background:var(--surface)}.rotation-illustration{width:274px;padding:0 0 14px;margin-bottom:25px}.diagram-top{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 8px}.diagram-top span{font-size:10px;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}.diagram-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}.diagram-cell{height:36px;background:var(--group-bg);display:grid;place-items:center;border-radius:4px;color:var(--group-ink)}.diagram-cell>span{border:1px solid currentColor;width:18px;height:18px;font-size:9px;font-weight:600;display:grid;place-items:center;border-radius:50%}.diagram-caption{font-size:9px;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:5px;margin-top:15px}.empty-board h3{font-family:var(--serif);font-size:27px;font-weight:500;letter-spacing:-.03em;line-height:1.3}.empty-board>p{color:var(--muted);font-size:12px;max-width:370px;line-height:1.8;margin-top:12px}.empty-actions{display:flex;align-items:center;gap:10px;margin-top:23px}.empty-footnote{font-size:9px;color:var(--muted);margin-top:14px}.board-tip{background:var(--surface-alt);border-top:1px solid var(--line);padding:19px 25px;display:flex;gap:12px;align-items:flex-start}.tip-icon{color:var(--muted);padding-top:2px}.board-tip p{font-size:10px;line-height:1.8;color:var(--muted);max-width:650px}.board-tip strong{color:var(--ink);font-weight:600}.board-tip button{display:inline-flex;padding:0;margin-left:4px;gap:4px;font-weight:600;font-size:10px;color:var(--accent);vertical-align:baseline}.board-tip button:hover{text-decoration:underline}.notice{background:var(--tint);color:var(--accent);display:flex;align-items:center;gap:8px;font-size:11px;padding:12px 20px;border-bottom:1px solid var(--line)}.alert{display:flex;align-items:flex-start;gap:12px;padding:17px 20px;font-size:12px;line-height:1.7}.alert p{margin-top:3px}.alert ul{padding-left:18px;margin:6px 0 0}.alert .icon-button{margin-left:auto;margin-top:-5px}.alert>svg{margin-top:2px}.error{background:var(--danger-bg);color:var(--danger)}.warning{background:var(--warning-bg);color:var(--warning)}.app-main>.alert{border-radius:6px;margin-bottom:18px}.alert button:not(.icon-button){font-weight:600;text-decoration:underline;flex-shrink:0}.table-scroll{overflow-x:auto;padding:0 24px}.rotation-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:11px}.rotation-table th,.rotation-table td{border-bottom:1px solid var(--line);padding:15px 7px;text-align:left;vertical-align:middle}.rotation-table thead th{vertical-align:top;font-weight:600;padding-top:20px;padding-bottom:17px;width:143px;overflow-wrap:anywhere}.rotation-table thead th.time-head{color:var(--muted);width:85px;font-size:10px;font-weight:450}.station-header-number{display:block;font-size:9px;letter-spacing:.02em;font-weight:450;color:var(--muted);margin-bottom:5px}.rotation-table tbody th{display:flex;align-items:center;gap:8px;width:85px;border-bottom:0;font-size:9px;line-height:1.6;min-height:96px;font-weight:500;font-variant-numeric:tabular-nums}.rotation-table tbody tr{position:relative}.rotation-table tbody th strong{align-self:flex-start;font-size:13px;line-height:1.8;font-weight:500}.time-divider{color:var(--muted)}.schedule-cell{background:var(--group-bg);color:var(--group-ink);border-radius:5px;padding:12px 9px;min-height:64px;display:flex;flex-direction:column;justify-content:center;gap:5px}.schedule-cell+.schedule-cell{margin-top:6px}.schedule-cell>span:last-child{font-size:9px;padding-left:22px}.group-label{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:var(--group-ink);line-height:1.4}.group-symbol{display:inline-grid;place-items:center;font-size:9px;flex-shrink:0;width:22px;height:22px;border:1px solid currentColor;border-radius:50%;background:var(--group-bg)}.group-label.small{font-size:10px;gap:6px}.group-label.small .group-symbol{width:17px;height:17px;font-size:8px}.group-0,.dc-0{--group-bg: var(--g0-bg);--group-ink: var(--g0-ink)}.group-1,.dc-1{--group-bg: var(--g1-bg);--group-ink: var(--g1-ink)}.group-2,.dc-2{--group-bg: var(--g2-bg);--group-ink: var(--g2-ink)}.group-3,.dc-3{--group-bg: var(--g3-bg);--group-ink: var(--g3-ink)}.group-4{--group-bg: var(--g4-bg);--group-ink: var(--g4-ink)}.group-5{--group-bg: var(--g5-bg);--group-ink: var(--g5-ink)}.group-1 .group-symbol,.dc-1>span{border-radius:2px}.group-2 .group-symbol,.dc-2>span{border-radius:6px 2px;border-style:dashed}.group-3 .group-symbol,.dc-3>span{border-radius:3px;border-style:double;border-width:3px}.group-4 .group-symbol{border-radius:7px 0}.group-5 .group-symbol{border-radius:0 7px}.idle-station{color:var(--muted);font-size:10px;font-style:italic}.grid-caption{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:9px;color:var(--muted);padding:14px 30px 24px}.grid-caption>span:first-child{display:flex;align-items:center;gap:6px}.group-roster-heading{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:17px 25px 8px}.group-roster-heading h3{font-size:13px}.group-roster-heading .text-button{font-size:10px}.compact-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px;padding:10px 25px 25px}.compact-group p{font-size:11px;color:var(--muted);line-height:1.8;margin-top:7px}.compact-group .group-label{font-size:11px}.board-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:12px 25px;gap:16px;font-size:9px;color:var(--muted)}.board-bottom>span:first-child{display:flex;align-items:center;gap:6px}.board-bottom>span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}.view-hint{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px;padding:17px 25px 0}.group-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;padding:25px}.group-card{border-top:1px solid var(--line);padding-top:14px;min-width:0}.card-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-title>span:last-child{font-size:10px;color:var(--muted);white-space:nowrap}.member-list{list-style:none;padding:0;margin:14px 0}.member-list li{display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:6px 0;font-size:12px}.member-list li>span{overflow-wrap:anywhere;min-width:0}.member-list select{width:84px;flex-shrink:0;padding:6px 3px;font-size:10px}.route-list{list-style:none;padding:10px 0 0;margin:0}.route-list li{display:flex;gap:10px;padding:5px 0;font-size:10px}.route-list li span{font-variant-numeric:tabular-nums;color:var(--muted);flex-shrink:0}.route-list li strong{font-weight:500;overflow-wrap:anywhere}.station-sheets{padding:0 25px 25px}.station-sheet{padding-top:22px}.station-sheet+.station-sheet{margin-top:20px;border-top:1px solid var(--line)}.station-sheet-heading{display:flex;align-items:center;gap:9px}.station-sheet-heading h3{font-size:15px}.station-sheet-heading>span:last-child:not(.station-number){margin-left:auto;font-size:10px;color:var(--muted)}.station-notes{font-size:12px;color:var(--muted);margin:10px 0 14px;white-space:pre-wrap}.station-slot{display:grid;grid-template-columns:125px minmax(0,1fr);gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.station-slot>div:first-child{display:flex;flex-direction:column;gap:3px;font-size:11px}.station-slot>div:first-child>span{color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums}.station-slot p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:5px}.station-slot>div:last-child>div+div{margin-top:12px}.muted{color:var(--muted);font-size:11px}.class-name-field{padding:0 25px 23px;max-width:420px}.class-name-field input{width:100%;margin-top:8px}.paste-roster{padding:21px 25px;border-block:1px solid var(--line);background:var(--surface-alt)}.paste-roster>label{font-size:13px;font-weight:600}.paste-roster>p{font-size:11px;line-height:1.8;color:var(--muted);max-width:600px;margin:5px 0 13px}.paste-roster code{font-size:11px;background:var(--tint);padding:1px 3px;border-radius:3px;color:var(--accent)}.paste-roster textarea{width:100%;font-size:12px;line-height:1.8;display:block;min-height:115px}.paste-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px}.paste-actions>span{color:var(--muted);font-size:10px}.roster-table-wrap{padding:14px 25px 0;overflow-x:auto}.roster-table{border-collapse:collapse;width:100%;table-layout:fixed}.roster-table th{text-align:left;font-size:10px;color:var(--muted);font-weight:550;padding:10px 6px;white-space:nowrap}.roster-table th:first-child{width:58px}.roster-table th:nth-child(2){width:42%}.roster-table th:last-child{width:30px}.roster-table th span{font-weight:400}.roster-table td{padding:7px 4px;border-top:1px solid var(--line)}.roster-table input:not([type=checkbox]){width:100%;padding:8px 4px;border:1px solid transparent;font-size:12px;background:transparent}.roster-table input:not([type=checkbox]):hover{border-color:var(--line)}.roster-table input[type=checkbox]{margin-left:8px}.roster-table tr.absent input:not([type=checkbox]){color:var(--muted);text-decoration:line-through}.roster-table tr.absent td:nth-child(3) input{text-decoration:none}.roster-table .icon-button{width:26px}.roster-hint{padding:0 25px;margin-top:10px;font-size:11px}.roster-footer{padding:20px 25px 25px;display:flex;align-items:center;justify-content:space-between;gap:14px}.class-management{padding:22px 25px;background:var(--surface-alt);border-top:1px solid var(--line);display:flex;align-items:center;flex-wrap:wrap;gap:15px;justify-content:space-between}.class-management h3{font-size:12px}.class-management p{font-size:10px;color:var(--muted);margin-top:4px}.management-actions{display:flex;gap:16px;align-items:center}.management-actions .button,.management-actions .text-button{font-size:10px}.danger{color:var(--danger)}.delete-confirm{flex-basis:100%;display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:14px}.delete-confirm p{margin-right:auto}.danger-button{background:var(--danger);color:var(--surface)}.rules-section{padding:23px 25px 25px;border-top:1px solid var(--line)}.rules-section>h3{font-size:15px}.rules-section>p{font-size:12px;line-height:1.8;color:var(--muted);max-width:600px;margin-top:6px}.pair-form{display:grid;grid-template-columns:minmax(0,1fr) 125px minmax(0,1fr);gap:14px;margin-top:22px;align-items:end}.pair-form label{font-size:10px}.pair-form select{width:100%;font-size:11px;min-height:38px}.pair-form>.button{grid-column:1/-1;justify-self:start}.pair-rules{list-style:none;padding:0;margin:23px 0 0}.pair-rules li{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:13px 0;border-top:1px solid var(--line)}.rule-type{font-size:9px;padding:3px 7px;border-radius:4px;background:var(--warning-bg);color:var(--warning);flex-shrink:0}.rule-type.together{background:var(--tint);color:var(--accent)}.pair-rules li>strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.pair-join{color:var(--muted);font-weight:400}.pair-rules .icon-button{margin-left:auto}.quiet-empty{border:1px dashed var(--line);padding:20px;text-align:center;color:var(--muted);font-size:11px;margin-top:23px;border-radius:5px}.quiet-empty .text-button{display:inline-flex;margin-left:5px;font-size:11px}.tag-choices{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:22px}.tag-choice{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:5px;padding:10px;font-size:12px;cursor:pointer;max-width:100%}.tag-choice>span{overflow-wrap:anywhere}.tag-choice.checked{background:var(--tint);border-color:var(--accent);color:var(--accent)}.tag-count{font-size:9px;color:var(--muted);padding-left:5px;white-space:nowrap}.rules-explainer{display:flex;gap:14px;background:var(--surface-alt);padding:22px 25px;border-top:1px solid var(--line)}.rules-explainer>svg{margin-top:3px;color:var(--accent)}.rules-explainer h3{font-size:13px}.rules-explainer p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:5px;max-width:600px}.heading-icon{color:var(--accent)}.site-footer{max-width:1512px;margin:0 auto;padding:28px 4% 26px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:10px;color:var(--muted)}.site-footer>div{display:flex;align-items:center;gap:12px}.site-footer a{text-decoration:none;display:inline-flex;align-items:center;gap:4px}.site-footer a:hover{text-decoration:underline}.print-output{display:none}.spinning{animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1450px){.workspace-layout{grid-template-columns:286px minmax(0,1fr);gap:30px}.setup-panel{padding:24px}.app-main{padding-top:40px}.empty-board{min-height:535px}.board-heading{padding-top:28px}.rotation-table thead th{width:auto}}@media(max-width:1150px){.workspace-layout{grid-template-columns:244px minmax(0,1fr);gap:20px}.setup-panel{padding:16px}.board-toolbar{flex-wrap:wrap;padding-inline:20px}.board-heading{padding-inline:20px}.rotation-table thead th{width:126px}.output-actions{margin-left:auto}.output-tabs button{padding:8px}.empty-board{min-height:490px}.group-cards{gap:22px;padding:20px}.group-card .card-title{gap:6px}.card-title>.group-label{font-size:11px}.class-heading h1{font-size:31px}.class-switch select{width:150px}}@media(max-width:900px){.app-header{padding-inline:24px}.storage-label{display:none}.app-main{padding:26px 24px 0}.class-heading{align-items:flex-start}.class-switch{flex-wrap:wrap;justify-content:flex-end}.class-switch select{width:150px}.workspace-layout{grid-template-columns:1fr;gap:22px}.setup-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;padding:20px}.panel-title{grid-column:1/-1}.roster-summary{grid-column:1}.setting-section{margin-top:15px;padding-top:15px}.setup-panel>fieldset:first-of-type{grid-column:1;grid-row:3}.station-settings{grid-column:2;grid-row:2/5;margin-top:0;border-top:0;padding-top:0;border-left:1px solid var(--line);padding-left:24px}.setup-panel>fieldset:last-of-type{grid-column:1}.generate-button{grid-column:1/-1;margin-top:24px}.local-note{grid-column:1/-1}.station-main input:not([type=checkbox]){font-size:12px}.station-details>summary{font-size:10px}.station-list{gap:10px}.board-toolbar{flex-wrap:nowrap;padding-bottom:15px}.rotation-table thead th{width:150px}.rotation-table{table-layout:auto;min-width:640px}.empty-board{min-height:460px}.site-footer{padding-inline:24px}.work-panel{width:100%}.class-heading h1{font-size:30px}.pair-form{grid-template-columns:1fr 125px 1fr}.group-cards{padding:25px;gap:28px}}@media(max-width:600px){body{font-size:14px}.app-header{height:76px;padding:0 18px}.brand{font-size:22px;gap:10px}.brand-mark{width:35px;height:35px;border-radius:8px}.brand-sub{font-size:9px}.header-right{gap:0}.data-menu>summary{border:0;padding:9px}.data-menu>summary>span{display:none}.app-main{padding:23px 16px 0}.class-heading{display:block;margin-bottom:17px}.class-heading h1{font-size:28px}.class-heading p{font-size:11px}.title-row{gap:8px;flex-wrap:wrap}.class-switch{margin-top:18px;flex-wrap:nowrap;justify-content:flex-start}.class-switch select{flex:1;width:0;font-size:12px;background:var(--surface)}.class-switch .button{font-size:11px}.workspace-nav{gap:0;justify-content:space-between;margin-bottom:20px}.workspace-nav button{gap:5px;font-size:10px;min-height:44px}.workspace-nav button svg{width:14px}.count{font-size:9px;padding:1px 4px}.setup-panel{padding:17px;gap:0;display:flex;flex-direction:column}.panel-title{padding-bottom:15px}.roster-summary{padding:12px}.roster-summary strong{font-size:12px}.roster-summary span{font-size:10px}.setting-section,.station-settings{border-left:0;border-top:1px solid var(--line);margin-top:20px;padding:18px 0 0}.setting-section legend,.inline-label{font-size:12px}.segmented button{font-size:12px;min-height:33px}.station-main input:not([type=checkbox]){font-size:12px}.station-main .icon-button{width:30px;height:30px}.station-details{margin-left:30px}.station-details>summary{font-size:10px;min-height:23px;padding-top:2px}.station-settings>.text-button{font-size:11px;min-height:32px}.checkbox-label,.timing-inputs label{font-size:11px}.number-unit input:not([type=checkbox]){padding:9px;font-size:13px}.inline-label input:not([type=checkbox]){padding:8px;font-size:13px}.inline-label input[type=time]{width:112px}.timing-total{font-size:11px}.generate-button{min-height:44px;font-size:12px}.generate-button svg:last-child{margin-left:8px}.local-note{font-size:10px;margin-top:12px}.field-hint{font-size:11px}.workspace-layout{gap:20px}.board-heading{padding:21px 18px 17px;gap:12px;align-items:flex-start}.board-heading h2{font-size:18px}.board-heading p{font-size:11px}.board-heading>.button{font-size:10px;padding:7px;min-height:34px}.board-toolbar{padding:0 13px 12px;gap:7px;flex-wrap:wrap}.output-tabs{justify-content:space-between;width:100%;gap:2px}.output-tabs button{padding:9px 7px;font-size:10px;gap:5px;min-height:35px}.output-actions{border-top:1px solid var(--line);padding-top:8px;width:100%;justify-content:flex-end;margin-top:4px}.output-actions .icon-button{width:34px}.empty-board{padding:30px 18px;min-height:435px}.rotation-illustration{width:240px;margin-bottom:19px}.diagram-row{gap:7px;margin-top:7px}.diagram-cell{height:32px}.empty-board h3{font-size:25px}.empty-board>p{font-size:12px;line-height:1.8;max-width:300px}.empty-actions{gap:8px;flex-wrap:wrap;justify-content:center;margin-top:21px}.empty-actions .button{font-size:11px;padding:9px 11px;min-height:38px}.empty-footnote{font-size:9px}.board-tip{padding:18px;gap:10px}.board-tip p,.board-tip button{font-size:11px}.notice{font-size:11px;padding:12px 17px}.alert{padding:16px;gap:9px;font-size:11px}.alert ul{padding-left:15px}.table-scroll{padding:0 14px}.rotation-table{min-width:600px;table-layout:fixed}.rotation-table thead th{width:130px;font-size:11px}.rotation-table thead th.time-head{width:72px}.rotation-table tbody th{width:72px;font-size:9px;gap:6px}.rotation-table th,.rotation-table td{padding:13px 5px}.schedule-cell{padding:10px 7px}.grid-caption{padding:13px 18px 20px;font-size:9px;align-items:flex-start;gap:12px;flex-direction:column}.group-roster-heading{padding:16px 18px 6px}.compact-groups{grid-template-columns:1fr;gap:20px;padding:12px 18px 23px}.compact-group p,.compact-group .group-label{font-size:12px}.board-bottom{padding:13px 18px;flex-wrap:wrap;font-size:9px;gap:8px}.view-hint{padding:17px 18px 0;align-items:flex-start;line-height:1.8}.group-cards{grid-template-columns:1fr;padding:20px 18px;gap:25px}.member-list li{font-size:13px;padding:8px 0}.member-list select{width:94px;padding:8px 4px;font-size:11px}.card-title>.group-label{font-size:13px}.route-list li{font-size:11px}.station-sheets{padding:0 18px 20px}.station-sheet-heading{flex-wrap:wrap;gap:7px}.station-sheet-heading h3{font-size:14px}.station-sheet-heading>span:last-child:not(.station-number){margin-left:0;flex-basis:100%;padding-left:30px}.station-slot{grid-template-columns:86px minmax(0,1fr);gap:12px}.station-slot>div:first-child>span{font-size:9px}.station-slot p{font-size:12px}.class-name-field{padding:0 18px 20px}.class-name-field input{font-size:14px}.paste-roster{padding:20px 18px}.paste-roster textarea{font-size:13px}.paste-actions{flex-wrap:wrap;gap:12px}.paste-actions>span{font-size:10px}.paste-actions .button{margin-left:auto}.roster-table-wrap{padding:14px 12px 0}.roster-table th{font-size:9px;padding:9px 4px}.roster-table th:first-child{width:39px}.roster-table th:nth-child(2){width:40%}.roster-table th:nth-child(3){width:auto}.roster-table th:last-child{width:24px}.roster-table th span{display:none}.roster-table th:last-child span{display:block}.roster-table td{padding:6px 1px}.roster-table input:not([type=checkbox]){font-size:12px;padding:8px 3px}.roster-table input[type=checkbox]{margin-left:5px}.roster-table .icon-button{width:23px}.roster-hint{padding-inline:18px}.roster-footer{padding:18px;flex-wrap:wrap}.roster-footer .button,.roster-footer .text-button{font-size:11px}.class-management{padding:20px 18px;gap:14px}.management-actions{flex-wrap:wrap;gap:14px}.delete-confirm{flex-wrap:wrap}.delete-confirm p{flex-basis:100%;font-size:12px}.rules-section{padding:21px 18px}.rules-section>p{font-size:12px}.pair-form{grid-template-columns:1fr;gap:14px}.pair-form label{font-size:11px}.pair-form select{font-size:13px;min-height:41px}.pair-form>.button{justify-self:stretch;margin-top:5px}.pair-rules li{gap:10px}.pair-rules li>strong{font-size:12px;flex-basis:calc(100% - 110px)}.pair-rules .muted{font-size:10px}.pair-rules .icon-button{margin-left:auto}.tag-choice{padding:10px;font-size:12px}.quiet-empty{font-size:12px;padding:18px}.rules-explainer{padding:21px 18px;gap:11px}.rules-explainer p{font-size:12px}.site-footer{padding:25px 18px;display:block;font-size:10px;line-height:1.8}.site-footer>div{margin-top:8px;gap:9px;flex-wrap:wrap}.app-main>.alert{flex-wrap:wrap}}@media(prefers-color-scheme:dark){:root{color-scheme:dark;--page: #181e1b;--surface: #202923;--surface-alt: #28332b;--ink: #e5eee5;--muted: #b0beb3;--line: #445248;--accent: #b5d6b4;--accent-ink: #183423;--tint: #334a38;--warning: #f2cf8f;--warning-bg: #3b3323;--danger: #ffb4a8;--danger-bg: #422d28;--focus: #e9b668;--g0-bg: #344a36;--g0-ink: #c4dfbd;--g1-bg: #4b4028;--g1-ink: #e8ce92;--g2-bg: #4a352b;--g2-ink: #edc2a8;--g3-bg: #303e4b;--g3-ink: #c2d7ed;--g4-bg: #3b4428;--g4-ink: #d6dfa9;--g5-bg: #48323e;--g5-ink: #edbdd8}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@page{size:auto;margin:15mm}@media print{:root{color-scheme:light;color:#111;background:#fff;font-family:sans-serif}body{font-size:11pt;background:#fff;color:#111}.no-print,.skip-link{display:none!important}.print-output{display:block}.print-sheet{break-after:page;page-break-after:always;overflow-wrap:anywhere}.print-sheet:last-child{break-after:auto;page-break-after:auto}.print-sheet h1{font-family:Georgia,serif;font-size:27pt;line-height:1.2;margin:8mm 0}.print-sheet h2{font-size:16pt;margin:6mm 0 3mm}.print-sheet h3{font-size:13pt;margin:6mm 0 3mm}.print-sheet p{margin:3mm 0;white-space:pre-wrap}.print-sheet table{width:100%;border-collapse:collapse;margin:5mm 0;font-size:10pt;table-layout:fixed}.print-sheet th,.print-sheet td{border:1px solid #777;padding:3mm;text-align:left;vertical-align:top;overflow-wrap:anywhere}.print-sheet th{background:#eee!important;color:#111}.print-sheet thead{display:table-header-group}.print-sheet tr{break-inside:avoid}.print-members{columns:2;line-height:1.8;padding-left:6mm}.print-teacher table{font-size:9pt}.print-teacher th,.print-teacher td{padding:2.5mm}.print-output a{text-decoration:none;color:inherit}}.mobile-settings-jump{display:none}@media(max-width:600px){.workspace-layout{display:flex;flex-direction:column}.work-panel{order:0}.setup-panel{order:1;width:100%}.mobile-settings-jump{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:11px 12px;margin:0 0 16px;border:1px solid var(--line);background:var(--surface);font-size:11px}.mobile-settings-jump>span:first-child{display:flex;gap:7px;align-items:center}.mobile-settings-jump>span:last-child{color:var(--muted);font-size:10px}}.scroll-hint{display:none}@media(max-width:900px){.scroll-hint{display:block;font-size:10px;color:var(--muted);padding:12px 18px 0}}
