.prepaid-student-row{display:flex;align-items:center;min-width:0;background:var(--card);border:1px solid var(--border);border-radius:var(--radius-control)}.prepaid-student-info{flex:1;min-width:0;padding:14px 16px}.prepaid-student-row .student-overview-name{display:block;font-size:.9375rem;line-height:1.5}.prepaid-student-row .student-overview-email{display:block;margin-top:2px;font-size:.8125rem;font-weight:400;color:var(--muted-foreground);overflow-wrap:anywhere}.prepaid-student-row>.prepaid-student-balance{flex-shrink:0;min-width:144px;margin:12px 0;padding:0 16px;border-inline-start:1px solid var(--border);color:var(--foreground);text-align:start}.prepaid-student-balance .button-content>span{display:flex;align-items:center;gap:var(--space-2)}.prepaid-student-balance .button-content>span>span{display:grid;gap:2px}.prepaid-student-balance strong{font-size:1rem;line-height:1.4;font-variant-numeric:tabular-nums}.prepaid-student-balance small,.prepaid-student-label{font-size:.75rem;line-height:1.5;font-weight:400;color:var(--muted-foreground)}.prepaid-dialog{width:calc(100% - 2rem);max-width:600px;max-height:90dvh;overflow-y:auto;gap:var(--space-4);padding:24px}.prepaid-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding-inline-end:44px;min-width:0}.prepaid-dialog-heading>div{display:grid;gap:var(--space-1);min-width:0}.prepaid-dialog-heading [data-slot=dialog-title]{font-size:1.25rem;line-height:1.4}.prepaid-dialog-heading [data-slot=dialog-description]{overflow-wrap:anywhere;font-size:.875rem;line-height:1.5}.prepaid-dialog .prepaid-settings{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0;color:var(--muted-foreground)}.prepaid-overview{min-width:0}.prepaid-overview[hidden]{display:none}.prepaid-balance-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--space-3);padding:var(--space-4) 0 var(--space-5);border-bottom:1px solid var(--border)}.prepaid-summary{display:grid;gap:var(--space-1)}.prepaid-summary>span{font-size:.8125rem;color:var(--muted-foreground)}.prepaid-total{font-size:1.875rem;letter-spacing:-.035em;line-height:1.2;font-variant-numeric:tabular-nums}.prepaid-dialog .prepaid-add{padding:10px 14px;font-size:.875rem}.prepaid-low{margin:var(--space-2) 0 0;font-size:.8125rem;font-weight:500;line-height:1.5}.prepaid-setup-note{font-size:.875rem;margin:var(--space-3) 0}.prepaid-dialog .prepaid-back{display:inline-flex;align-items:center;gap:var(--space-2);justify-self:start;padding:0;min-height:36px;font-size:.875rem}.prepaid-form{display:grid;gap:var(--space-4);min-width:0}.prepaid-form .field{margin:0;gap:var(--space-2);font-size:.875rem}.prepaid-form .two{grid-template-columns:1fr 1fr;gap:var(--space-3)}.prepaid-form input{min-width:0;width:100%;max-width:100%}.prepaid-form input[type=datetime-local]{min-height:44px}.prepaid-form p{margin:0;font-size:.8125rem;line-height:1.5}.prepaid-form .prepaid-zone{margin-top:calc(-1 * var(--space-2));font-size:.75rem}.prepaid-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-4);padding-top:var(--space-2)}.prepaid-form-actions>button{font-size:.875rem}.prepaid-presets{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:calc(-1 * var(--space-2))}.prepaid-presets>.secondary{padding:6px 12px;min-height:36px;font-size:.8125rem}.prepaid-presets>[aria-pressed=true]{border-color:var(--foreground);background:var(--muted)}.prepaid-history{margin-top:var(--space-4);min-width:0}.prepaid-history-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--space-2)}.prepaid-history-heading h3{margin:0;font-size:1rem}.prepaid-history-heading select{min-height:40px;max-width:100%;width:auto;padding:8px 30px 8px 10px;font-size:.8125rem}.prepaid-history>.notice{font-size:.875rem}.prepaid-history ol{padding:0;list-style:none;margin:var(--space-2) 0 0}.prepaid-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:var(--space-2) var(--space-3);padding:var(--space-3) 0;border-bottom:1px solid var(--border)}.prepaid-entry>div:first-child{display:grid;gap:var(--space-1);min-width:0;overflow-wrap:anywhere;font-size:.875rem}.prepaid-entry time,.prepaid-entry-title,.prepaid-missing-time,.prepaid-note,.prepaid-restored{font-size:.75rem;color:var(--muted-foreground);line-height:1.5}.prepaid-entry-amount{display:grid;justify-items:end;gap:var(--space-1);font-variant-numeric:tabular-nums}.prepaid-entry-amount>strong{font-size:.9375rem;white-space:nowrap;line-height:1.5}.prepaid-entry-controls{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-2)}.prepaid-entry-controls>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;font-size:.75rem}.prepaid-entry-controls .prepaid-undo-trigger{min-width:44px;padding:0;color:var(--muted-foreground)}.prepaid-entry.reversed .prepaid-entry-amount>strong{text-decoration:line-through;color:var(--muted-foreground)}.prepaid-undo{grid-column:1/-1;padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-control);background:var(--muted)}.prepaid-undo p{margin:0 0 var(--space-2);font-size:.8125rem;line-height:1.5}.prepaid-undo .row{flex-wrap:wrap;gap:var(--space-2)}.prepaid-undo button{padding:8px 12px;font-size:.8125rem}.prepaid-help{margin-top:var(--space-4);font-size:.8125rem;color:var(--muted-foreground)}.prepaid-help>summary{display:flex;align-items:center;gap:var(--space-2);min-height:44px;list-style:none;cursor:pointer}.prepaid-help>summary::-webkit-details-marker{display:none}.prepaid-help p{font-size:.8125rem;line-height:1.6;margin:var(--space-2) 0 0}@media(max-width:600px){.prepaid-student-row{align-items:stretch;flex-direction:column}.prepaid-student-row>.prepaid-student-balance{min-width:0;margin:0 16px;padding:10px 0;border-inline-start:0;border-top:1px solid var(--border)}.prepaid-student-balance .button-content>span>span{display:flex;align-items:baseline;gap:var(--space-2);flex-wrap:wrap}.prepaid-dialog{padding:20px;max-height:90dvh}.prepaid-entry{gap:var(--space-2)}}.student-prepaid-hours{margin:var(--space-4) 0}.student-prepaid-hours>.prepaid-student-balance{padding:var(--space-3) var(--space-4);max-width:100%;text-align:start}.prepaid-history-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--space-2);min-width:0}.prepaid-history-actions>button{display:inline-flex;align-items:center;gap:var(--space-2);padding:6px 10px;min-height:40px;font-size:.8125rem}.prepaid-export-form select{padding:8px 12px}.prepaid-export-form input[type=date],.prepaid-export-form select{width:100%;min-height:44px;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--card);font:inherit}.prepaid-export-form input[type=date]{min-width:0;max-width:100%;padding:8px}.class-title-actions{display:flex;align-items:center;gap:var(--space-2);margin-inline-start:auto}.class-workspace .students-heading{justify-content:space-between;gap:var(--space-3)}.class-workspace .students-heading>.secondary{padding:8px 12px;font-size:.8125rem}.deleted-classes{margin-top:var(--space-5)}.deleted-classes>summary{display:flex;align-items:center;gap:var(--space-2);min-height:44px;list-style:none;font-weight:600;line-height:1.4;letter-spacing:-.025em;cursor:pointer}.deleted-classes>summary::-webkit-details-marker{display:none}.deleted-classes>summary svg{flex-shrink:0;rotate:-90deg}.deleted-classes[open]>summary svg{rotate:0deg}.deleted-classes .between{gap:var(--space-3);flex-wrap:wrap;margin-top:var(--space-3);padding:var(--space-4)}.deleted-classes .between>span{min-width:0;overflow-wrap:anywhere}.class-edit-delete{margin-top:var(--space-5);padding-top:var(--space-4);border-top:1px solid var(--border)}.class-edit-delete>button{display:inline-flex;align-items:center;gap:var(--space-2);color:var(--destructive)}.whiteboard{border:1px solid var(--border,#ddd);border-radius:16px;background:var(--card,#fff);overflow:hidden;margin-top:16px}.wb-context,.wb-toolbar,.wb-topbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px}.wb-topbar{border-bottom:1px solid var(--border,#ddd)}.wb-topbar [role=status]{font-size:13px;margin-right:auto}.wb-layout{display:flex;min-width:0}.wb-library{width:230px;flex-shrink:0;padding:14px;border-right:1px solid var(--border,#ddd);max-height:700px}.wb-library p{font-size:13px;color:var(--muted-foreground,#666)}.wb-library summary{cursor:pointer;font-weight:600;padding:10px 0}.wb-library button{display:block;text-align:left;border:1px solid var(--border,#ddd);border-radius:8px;padding:10px;width:100%;margin-bottom:8px;background:var(--card,#fff);font:inherit;font-size:14px;cursor:grab;overflow-wrap:anywhere}.wb-library button:hover{background:var(--secondary,#eef6fc)}.wb-library small{display:block;font-size:11px;color:var(--muted-foreground,#666)}.wb-workspace{flex:1;min-width:0}.wb-toolbar{border-bottom:1px solid var(--border,#ddd);gap:4px}.wb-toolbar button{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;border:1px solid transparent;background:transparent;cursor:pointer}.wb-toolbar button[aria-pressed=true]{background:var(--primary,#ffd447);border-color:var(--foreground,#222)}.wb-toolbar button:disabled{opacity:.35;cursor:default}.wb-toolbar input[type=color]{width:32px;height:32px;padding:2px}.wb-context label,.wb-toolbar label{display:flex;align-items:center;gap:4px;font-size:12px}.wb-context input[type=number],.wb-toolbar input[type=number]{width:65px;min-height:32px;padding:4px}.wb-canvas{position:relative;height:65vh;min-height:430px;max-height:850px;overflow:hidden;background-color:#fafafa;background-image:radial-gradient(#d6d9de 1px,transparent 0);background-size:20px 20px;touch-action:none;isolation:isolate;overscroll-behavior:contain}.wb-canvas:focus{outline:none}.wb-world{position:absolute;inset:0;z-index:0;isolation:isolate;transform-origin:0 0;pointer-events:none}.wb-object{position:absolute;transform-origin:center;pointer-events:auto;user-select:none;touch-action:none}.wb-object.wb-selected{outline:2px solid #287cb3;outline-offset:4px}.wb-object:not(.wb-locked){cursor:move}.wb-text-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;padding:4px;min-width:12px;min-height:1.5em;box-sizing:border-box}.wb-object textarea{width:100%;height:100%;min-height:0!important;margin:0;padding:4px;border:0;resize:none;font:inherit;color:inherit;background:rgba(255,255,255,.8);outline:1px solid #287cb3;user-select:text}.wb-object img{width:100%;height:100%;object-fit:fill;pointer-events:none}.wb-drawing{overflow:visible;display:block;pointer-events:none}.wb-card{background:var(--card,#fff);border:1px solid #ccd5df;border-radius:12px;box-shadow:0 3px 8px #0000000d;display:flex;flex-direction:column}.wb-card-handle{font:12px system-ui;color:#66717c;padding:8px 12px;border-bottom:1px solid #e5e7eb;text-transform:capitalize;flex-shrink:0}.wb-card-body{padding:12px;overflow:auto;flex:1;min-height:0;cursor:auto;font-size:16px;white-space:pre-wrap;user-select:text}.wb-card-body h3{font-size:20px;margin:0 0 10px}.wb-card-body p{margin:8px 0}.wb-card-body .exercise-card{padding:0;border:0;box-shadow:none}.wb-card-body .practice-question-prompt,.wb-card-body .practice-question-title{font-size:18px}.wb-card-body button{font-size:14px}.wb-resize{position:absolute;right:-8px;bottom:-8px;width:16px;height:16px;border:2px solid white;background:#287cb3;cursor:nwse-resize;z-index:2;padding:0;touch-action:none}.wb-cover{background:#28354a;color:white;width:100%;height:100%;display:flex;align-items:center;justify-content:center;border-radius:6px;font-size:18px}.wb-private{position:absolute;right:0;top:-22px;font:11px system-ui;background:#fff1c3;padding:3px 6px;border-radius:4px}.wb-marquee{position:absolute;border:1px solid #287cb3;background:#287cb320}.wb-context{border-top:1px solid var(--border,#ddd)}.wb-context,.wb-context button{font-size:13px}.wb-message{padding:8px 14px;background:var(--secondary,#eef6fc);font-size:14px}.wb-prefill{display:none}.wb-empty{position:absolute;inset:40% 10% auto;text-align:center;pointer-events:none;font-size:24px;color:#747f8b}.wb-empty small{display:block;margin-top:10px;font-size:14px}.tool-pan,.tool-pan .wb-object{cursor:grab}.tool-arrow,.tool-ellipse,.tool-highlighter,.tool-highlighter .wb-object,.tool-line,.tool-pen,.tool-pen .wb-object,.tool-rectangle,.tool-triangle{cursor:crosshair}.tool-highlighter .wb-card-body,.tool-pen .wb-card-body{pointer-events:none}@media(max-width:800px){.wb-library{width:180px}.wb-topbar{gap:4px}.wb-topbar button{font-size:12px}.wb-canvas{min-height:400px}.wb-context{max-height:190px;overflow:auto}.wb-toolbar button{width:36px;height:40px}}@media(max-width:520px){.wb-layout{flex-direction:column}.wb-library{width:100%;max-height:180px;border-right:0;border-bottom:1px solid #ddd}.wb-library details{display:inline-block;vertical-align:top;width:48%;padding-right:8px}.wb-canvas{height:58vh}}.wb-library{position:static;display:block;inset:auto}.wb-library .button-content>span{flex-direction:column;align-items:flex-start;text-align:left}.wb-context input[type=number],.wb-toolbar input[type=number]{border:1px solid var(--border,#ddd);border-radius:6px;background:var(--card,#fff)}.wb-resize.inline-button{min-height:16px;padding:0;min-width:16px}.wb-toolbar button{padding:0;min-height:36px}.wb-object .wb-card-body img{height:auto;object-fit:contain}.whiteboard.wb-expanded{position:fixed;inset:12px;z-index:40;margin:0;display:flex;flex-direction:column;height:calc(100dvh - 24px);box-shadow:0 0 0 20px #0004}.wb-expanded .wb-layout{flex:1;min-height:0}.wb-expanded .wb-workspace{display:flex;flex-direction:column;min-height:0}.wb-expanded .wb-canvas{flex:1;height:auto;min-height:100px;max-height:none}.wb-expanded .wb-context{max-height:180px;overflow:auto}.wb-expanded .wb-library{max-height:none}@media(max-width:520px){.wb-expanded .wb-library{max-height:150px}.wb-expanded .wb-toolbar{max-height:110px;overflow:auto}}.wb-message{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.wb-media,.wb-youtube{display:flex;flex-direction:column;background:var(--card,#fff);border:1px solid #ccd5df;border-radius:12px;box-shadow:0 3px 8px #0000000d}.wb-media .wb-card-handle,.wb-youtube .wb-card-handle{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wb-video-player{display:flex;flex-direction:column;flex:1;min-height:0;cursor:auto}.wb-video-player iframe{width:100%;flex:1;min-height:0;border:0;background:#111}.wb-video-player a{padding:6px 12px;font:12px system-ui;text-decoration:underline}.wb-canvas:not(.tool-select) .wb-video-player{pointer-events:none}.wb-video-embed{display:flex;flex:1;min-height:0}.wb-video-error{padding:8px 12px;font:13px/1.4 system-ui;background:var(--secondary,#eef6fc)}.wb-video-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.wb-video-actions button{font-size:12px}.wb-layout{position:relative}.wb-library{position:absolute;inset:56px auto auto 8px;width:min(290px,calc(100% - 16px));overflow:auto;z-index:10;background:var(--card,#fff);border:1px solid var(--border,#ddd);border-radius:12px;box-shadow:0 12px 36px #0002}.wb-expanded .wb-library,.wb-library{max-height:min(65vh,560px)}@media(max-width:520px){.wb-expanded .wb-library,.wb-library{position:absolute;inset:48px 8px auto;width:auto;max-height:min(58vh,520px);overflow:auto;border:1px solid var(--border,#ddd);border-radius:12px;box-shadow:0 12px 36px #0002}.wb-library details{display:block;width:auto;padding-right:0}}.wb-drop-hint{position:absolute;inset:12px;z-index:8;display:grid;place-items:center;border:2px dashed #287cb3;border-radius:12px;background:#eaf5ffdd;color:#164b72;font:600 16px system-ui;pointer-events:auto;cursor:copy}.wb-canvas:has(.wb-drop-hint){background-color:#f0f8ff}.wb-topbar [role=status]{margin-left:auto;margin-right:0}.wb-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:6px}.wb-toolbar-main{gap:4px}.wb-drawing-style-row,.wb-toolbar-main{display:flex;align-items:center;flex-wrap:wrap}.wb-drawing-style-row{gap:10px;padding:6px 8px;border-top:1px solid var(--border,#e5e7eb);background:var(--secondary,#f8fafc);border-radius:7px}.wb-drawing-style-row>strong{font-size:12px;margin-right:2px}.wb-drawing-style-row label{display:flex;align-items:center;gap:6px;font-size:12px}.wb-drawing-style-row input[type=color]{width:34px;height:28px;padding:2px}.wb-drawing-style-row input[type=color],.wb-drawing-style-row input[type=number]{border:1px solid var(--border,#ddd);border-radius:5px;background:var(--card,#fff)}.wb-drawing-style-row input[type=number]{width:62px;min-height:28px;padding:3px}.wb-game-body{box-sizing:border-box;width:100%;height:100%;display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid #ccd5df;border-radius:12px;background:var(--card,#fff);overflow:auto;user-select:text}.wb-game-body strong{font-size:16px}.wb-battleships-grid{flex:1;min-height:0;display:grid;grid-template-columns:22px repeat(8,minmax(24px,1fr));grid-template-rows:20px repeat(8,minmax(24px,1fr));gap:3px}.wb-battleships-row{display:contents}.wb-grid-label{display:grid;place-items:center;font:12px system-ui;color:#66717c}.wb-battleships-grid button{min-width:0;min-height:24px;padding:0;border:1px solid #b8c8d8;border-radius:4px;background:#eaf4fb;color:#154c74;font-size:18px;font-weight:700;cursor:pointer}.wb-battleships-grid button:hover:not(:disabled){background:#cfe6f7}.wb-battleships-grid button:disabled{cursor:default}.wb-game-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:13px}.wb-game-footer button{min-height:32px;padding:4px 8px}.wb-field-die{gap:12px}.wb-die-result{display:grid;place-items:center;min-height:84px;padding:12px;border-radius:12px;background:#fff4c5;text-align:center;font-size:23px;font-weight:700}.wb-die-rolled{background:#e6f3ff;color:#164b72}.wb-die-fields{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0;padding:0;list-style:none}.wb-die-fields li{display:flex;align-items:center;gap:8px;min-width:0;padding:7px 8px;border:1px solid #e2e7eb;border-radius:8px;font-size:13px;overflow-wrap:anywhere}.wb-die-fields li span{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#edf3f8;font-size:11px}.wb-die-editor{display:grid;gap:7px;overflow:auto}.wb-die-editor label{display:flex;align-items:center;gap:8px;font-size:12px}.wb-die-editor label span{flex:0 0 42px}.wb-die-editor input{min-width:0;flex:1;min-height:30px;padding:4px 7px;border:1px solid var(--border,#ddd);border-radius:6px;font:inherit;user-select:text}.wb-battleships{gap:8px}.wb-battleships-title{justify-content:space-between;gap:8px}.wb-battleships-title button{padding:2px 7px;font-size:12px}.wb-battleships-boards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;flex:1;min-height:0}.wb-player-board{display:flex;flex-direction:column;gap:5px;min-width:0}.wb-player-board>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.wb-player-board-target>strong{color:#287cb3}.wb-battleships-grid{width:100%;grid-template-columns:minmax(22px,.7fr) repeat(8,minmax(0,1fr));grid-template-rows:minmax(18px,.7fr) repeat(8,minmax(0,1fr));gap:2px}.wb-battleships-grid button{min-height:0;font-size:clamp(12px,2vw,18px)}.wb-battleships-editor{display:flex;flex-direction:column;gap:10px;min-height:0;overflow:auto}.wb-player-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.wb-axis-editor label,.wb-player-editor label{display:flex;align-items:center;gap:4px;min-width:0;font-size:11px}.wb-axis-editor input,.wb-player-editor input{box-sizing:border-box;width:100%;min-width:0;min-height:29px;padding:3px 5px;border:1px solid var(--border,#ddd);border-radius:5px;font:inherit;user-select:text}.wb-axis-editor{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px}.wb-axis-editor>strong{grid-column:1/-1;font-size:12px}.wb-axis-editor label{flex-direction:column}.wb-axis-editor label span{font-size:10px;color:#66717c}.wb-battleships .wb-game-footer{min-height:30px}.wb-battleships .wb-game-footer>span:last-child{font-size:11px;color:#66717c}@media(max-width:560px){.wb-battleships-boards{gap:6px}.wb-battleships-grid{gap:1px}.wb-battleships-grid .wb-grid-label{font-size:10px}.wb-battleships{padding:7px}}.wb-battleships-grid .wb-grid-label{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.wb-placement-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-height:30px}.wb-placement-controls [role=status]{flex:1 1 180px;font-size:12px;line-height:1.35}.wb-placement-controls button{min-height:29px;padding:3px 7px;font-size:12px}.wb-battleships-grid button.wb-battleship-cell.wb-ship-cell{background:#f6d66f;color:#745400;border-color:#caa43d}.wb-battleships-grid button.wb-battleship-cell.wb-ship-cell-selected{box-shadow:inset 0 0 0 2px #9b7415}.wb-battleships-players{display:grid;gap:10px;flex:1}.wb-battleships-player{display:flex;flex-direction:column;gap:7px;min-width:0;min-height:0;padding:8px;border:1px solid #ccd5df;border-radius:9px;background:#f8fbfd}.wb-battleships-player>header{display:flex;flex-direction:column;gap:2px;min-height:34px}.wb-battleships-player>header strong{font-size:14px}.wb-battleships-player>header [role=status]{font-size:10px;color:#66717c}.wb-player-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;flex:1;min-height:0}.wb-player-board{gap:4px;min-height:0}.wb-player-board>strong{font-size:10px}.wb-player-board .wb-battleships-grid{flex:1;grid-template-columns:minmax(14px,.65fr) repeat(8,minmax(0,1fr));grid-template-rows:minmax(14px,.65fr) repeat(8,minmax(0,1fr));gap:1px}.wb-player-board .wb-battleships-grid button{min-height:0;font-size:clamp(8px,1vw,13px);border-radius:2px}.wb-player-board .wb-battleships-grid .wb-grid-label{font-size:8px}.wb-battleship-cell.wb-cell-ready{background:#fff1bd;border-color:#d4aa3e}.wb-ship-rack{display:flex;flex-direction:column;gap:3px}.wb-ship-rack>strong{font-size:10px}.wb-ship-rack>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.wb-ship-token{display:flex;align-items:stretch;min-width:0}.wb-ship-token>button{min-width:0;min-height:27px;padding:2px 4px;font-size:9px}.wb-ship-token>button:first-child{display:flex;flex:1;align-items:center;justify-content:flex-start;gap:4px}.wb-ship-token>button:last-child{flex:0 0 26px;padding:0;font-size:15px}.wb-ship-preview{display:inline-flex;gap:1px;flex:0 0 auto}.wb-ship-preview i{display:block;width:6px;height:6px;border:1px solid #5880a0;background:#b9dcf4}.wb-ship-preview-vertical{flex-direction:column}.wb-ship-token-selected>button:first-child{background:#fff1bd;outline:1px solid #d4aa3e}@media(max-width:600px){.wb-battleships-players{grid-template-columns:1fr}.wb-battleships-player{min-height:340px}.wb-player-board .wb-battleships-grid .wb-grid-label{font-size:10px}}.wb-battleships-players{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px}.wb-battleship-field{display:flex;flex-direction:column;gap:3px;min-width:0;min-height:0;padding:6px;border:1px solid #ccd5df;border-radius:9px;background:#f8fbfd}.wb-battleship-field>header{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:22px}.wb-battleship-field>header strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wb-battleship-field>small{font:10px system-ui;color:#66717c}.wb-battleship-field .wb-player-board{flex:1}.wb-battleship-field .wb-player-board>strong{display:none}.wb-battleship-field .wb-battleships-grid{grid-template-columns:minmax(14px,.65fr) repeat(8,minmax(0,1fr));grid-template-rows:minmax(14px,.65fr) repeat(8,minmax(0,1fr));gap:1px}.wb-battleship-field .wb-battleships-grid button{min-height:0;font-size:clamp(8px,1vw,13px);border-radius:2px}.wb-battleship-field .wb-battleships-grid .wb-grid-label{font-size:8px}.wb-battleships-racks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:0 0 24%;min-height:0}.wb-battleships-racks .wb-ship-rack{min-width:0;padding:5px;border:1px solid #e0e6eb;border-radius:7px;background:#fbfcfd}.wb-battleships-racks .wb-ship-token>button{min-height:30px}.wb-battleships .wb-game-footer{flex:0 0 auto}.wb-battleships .wb-game-footer>span{max-width:75%;line-height:1.3}@media(max-width:600px){.wb-battleships-players{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(190px,1fr));overflow:auto}.wb-battleship-field{min-height:190px}.wb-battleships-racks .wb-ship-rack>div{grid-template-columns:repeat(2,minmax(0,1fr))}.wb-battleships .wb-game-footer>span{max-width:100%}}.wb-battleships-players{display:block;position:relative;flex:1 1 62%;min-height:0;overflow:hidden}.wb-battleship-field{position:absolute;width:calc(50% - 4px);height:calc(50% - 4px);transition:box-shadow .12s ease}.wb-battleship-field-player-1{background:#f7f9fc}.wb-battleships-grid .wb-grid-label{cursor:text}.wb-battleships-grid .wb-grid-label input{box-sizing:border-box;width:100%;min-width:0;max-width:48px;padding:1px;border:1px solid #7aa7ca;border-radius:3px;font:inherit;text-align:center;user-select:text}.wb-battleships-grid .wb-grid-label:has(input){overflow:visible}.wb-battleship-field>.wb-field-header>input{box-sizing:border-box;min-width:0;max-width:140px;padding:2px 4px;border:1px solid #7aa7ca;border-radius:4px;font:inherit;user-select:text}.wb-battleships-title{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.wb-game-title-actions{display:flex;align-items:center;gap:4px}.wb-battleships-title>strong{margin-right:auto;cursor:grab;touch-action:none}.wb-battleships-title>strong:active{cursor:grabbing}.wb-game-body>strong{cursor:grab;touch-action:none}.wb-game-body>strong:active{cursor:grabbing}.wb-battleships-title button{min-height:28px;padding:3px 7px;font-size:11px}.wb-battleships-title .wb-icon-button{display:grid;place-items:center;width:32px;min-width:32px;height:32px;min-height:32px;padding:4px;border:1px solid #d7e0e8;border-radius:6px;background:#fff;color:#3b5268}.wb-battleships-title .wb-icon-button:hover{background:#f1f6fa;color:#174e73}.wb-battleships-players{flex:1 1 78%}.wb-battleship-field{height:calc(100% - 4px)}.wb-battleships-racks{grid-template-columns:1fr;flex:0 0 14%}.wb-battleships-racks .wb-ship-rack>div{grid-template-columns:repeat(4,minmax(0,1fr))}.wb-battleships-racks{flex:0 0 auto;max-height:40%;overflow:auto}.wb-battleships-racks .wb-ship-rack>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.wb-battleships-racks .wb-ship-token>button{min-height:40px;font-size:11px}.wb-battleships-racks .wb-ship-token>button:first-child{gap:8px}.wb-battleships-racks .wb-ship-preview{gap:2px}.wb-battleships-racks .wb-ship-preview i{box-sizing:border-box;width:32px;height:32px;border:1px solid #caa43d;border-radius:3px;background:#f6d66f}.wb-battleships-racks .wb-ship-token{align-items:center;gap:4px}.wb-battleships-racks .wb-ship-token>button:first-child{flex:0 0 auto;padding:2px}.wb-battleships-racks .wb-ship-token>button[aria-label^=Rotate]{flex:0 0 32px;width:32px;padding:0;font-size:19px}.wb-battleships-racks .wb-ship-return-preview{display:flex;align-items:center;min-height:40px;padding:2px;border:1px dashed #caa43d;border-radius:5px;background:#fff7d966;opacity:.48;pointer-events:none}.wb-battleships-obscured{position:relative;display:grid;place-items:center;overflow:hidden;background:#f2f6fa;cursor:default}.wb-obscured-grids{position:absolute;inset:7%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4%;filter:blur(7px);opacity:.55;pointer-events:none}.wb-obscured-grid{display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);gap:3px}.wb-obscured-grid i{border:1px solid #b8c8d8;border-radius:3px;background:#eaf4fb}.wb-obscured-label{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;max-width:80%;padding:20px 28px;border:1px solid #d6e0e9;border-radius:12px;background:#ffffffec;color:#29445d;text-align:center;box-shadow:0 5px 20px #2b45621a}.wb-obscured-label span{font:13px/1.4 system-ui}.wb-axis-controls{display:flex;align-items:center;justify-content:center;gap:4px;max-width:64px}.wb-axis-controls button{display:grid;place-items:center;width:26px;min-width:26px;height:26px;padding:4px;border:1px solid #d7e0e8;border-radius:6px;background:#fff}.wb-axis-controls button:disabled{opacity:.4;cursor:not-allowed}.wb-grid-label.wb-grid-label-locked{cursor:default}.wb-ship-rack{border:1px dashed transparent;border-radius:7px;transition:background .12s,border-color .12s}.wb-ship-rack:not(.wb-ship-rack-locked):hover{border-color:#89afd0;background:#f4f9fd}.wb-ship-token{cursor:grab}.wb-ship-token:active{cursor:grabbing}.wb-battleships-grid .wb-ship-cell{cursor:grab;touch-action:none}.wb-battleships-grid .wb-ship-cell:active{cursor:grabbing}.wb-battleships .wb-game-footer>span{flex:1 1 40%}.wb-battleships .wb-game-footer button[aria-label="Save preparations and start game"]{flex:0 0 auto}wb-battleships-grid button.wb-ship-cell.wb-cell-missed{background:#edf1f5;color:#66717c;border-color:#c4ccd4}.wb-battleships-grid button.wb-ship-cell.wb-cell-hit{background:#ffe2db;color:#a53626;border-color:#e7a89c}.wb-battleships-grid button.wb-ship-cell.wb-cell-sunk{background:#ead8eb;color:#632c67;border-color:#c9a6ca}.wb-battleships-grid button.wb-cell-missed{background:#edf1f5;color:#66717c;border-color:#c4ccd4}.wb-battleships-grid button.wb-cell-hit{background:#ffe2db;color:#a53626;border-color:#e7a89c}.wb-battleships-grid button.wb-cell-sunk{background:#ead8eb;color:#632c67;border-color:#c9a6ca}.wb-player-board{position:relative}.wb-shot-picker{position:absolute;z-index:5;left:4px;bottom:4px;display:flex;align-items:center;gap:3px;max-width:calc(100% - 8px);padding:5px;background:#fff;border:1px solid #ccd5df;border-radius:8px;box-shadow:0 4px 16px #0002;flex-wrap:wrap}.wb-shot-picker>span{font-size:11px;font-weight:600}.wb-shot-picker button{min-height:27px;padding:3px 6px;font-size:11px}:is(.wb-battleships-grid button,.wb-shot-legend-sample).wb-battleship-cell:is(.wb-cell-cross,.wb-cell-missed,.wb-cell-hit,.wb-cell-sunk){position:relative;overflow:hidden}:is(.wb-battleships-grid button,.wb-shot-legend-sample).wb-battleship-cell:is(.wb-cell-cross,.wb-cell-hit,.wb-cell-sunk):after,:is(.wb-battleships-grid button,.wb-shot-legend-sample).wb-battleship-cell:is(.wb-cell-cross,.wb-cell-hit,.wb-cell-sunk):before{content:"";position:absolute;z-index:1;left:50%;top:50%;width:135%;height:6%;min-height:2px;max-height:5px;background:currentColor;border-radius:999px;pointer-events:none;transform-origin:center}:is(.wb-battleships-grid button,.wb-shot-legend-sample).wb-battleship-cell:is(.wb-cell-cross,.wb-cell-hit,.wb-cell-sunk):before{transform:translate(-50%,-50%) rotate(45deg)}:is(.wb-battleships-grid button,.wb-shot-legend-sample).wb-battleship-cell:is(.wb-cell-cross,.wb-cell-hit,.wb-cell-sunk):after{transform:translate(-50%,-50%) rotate(-45deg)}:is(.wb-battleships-grid button,.wb-shot-legend-sample).wb-battleship-cell.wb-cell-cross{color:#913b2c}:is(.wb-battleships-grid button,.wb-shot-legend-sample).wb-battleship-cell:is(.wb-cell-hit,.wb-cell-sunk){background:#f6d66f;color:#913b2c;border-color:#caa43d}:is(.wb-battleships-grid button,.wb-shot-legend-sample).wb-battleship-cell.wb-cell-missed:before{content:"";position:absolute;inset:13%;border:3px solid;border-radius:50%;pointer-events:none}:is(.wb-battleships-grid button,.wb-shot-legend-sample).wb-battleship-cell.wb-cell-sunk{box-shadow:inset 0 0 0 3px #632c67}.wb-battleship-field .wb-battleships-grid{align-content:center;justify-content:center}.wb-battleship-field .wb-battleships-grid .wb-grid-label{box-sizing:border-box;overflow:visible;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1.05;padding:1px 2px}.wb-battleship-field .wb-battleships-grid .wb-grid-label input{width:max(100%,140px);max-width:none;text-align:left}.wb-save-status{display:flex;align-items:center;gap:12px;margin-left:auto;font-size:13px;flex-wrap:wrap;justify-content:flex-end}.wb-sync-status{color:var(--muted-foreground)}.wb-topbar .wb-save-status [role=status]{margin:0}.whiteboard{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.whiteboard :is(button,.wb-game-body){-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.whiteboard .wb-card-body,.whiteboard :is(input,textarea,[contenteditable=true]){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}.whiteboard a{-webkit-touch-callout:default}.wb-writing{display:flex;flex-direction:column;background:var(--card,#fff);border:1px solid #ccd5df;border-radius:12px;box-shadow:0 3px 8px #0000000d}.wb-writing-body{display:flex;flex-direction:column;gap:12px;padding:16px;overflow:visible;min-height:0;flex:none;cursor:auto;font:16px/1.5 system-ui;user-select:text;-webkit-user-select:text;touch-action:pan-y;overscroll-behavior:contain}.wb-writing-content{display:flex;flex-direction:column;gap:12px;min-width:0}.wb-writing:not(.wb-locked) .wb-writing-body header{cursor:move}.wb-writing-body header{user-select:none;-webkit-user-select:none;touch-action:none;display:flex;align-items:center;justify-content:flex-start;gap:8px}.wb-writing-body h3{font-size:20px;line-height:1.3;margin:0;overflow-wrap:anywhere}.wb-writing-body p{margin:0}.wb-writing-answer,.wb-writing-prompt{white-space:pre-wrap;overflow-wrap:anywhere}.wb-writing-body form{display:flex;flex-direction:column;gap:12px}.wb-writing-body label{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:600}.wb-writing-body :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:10px 12px;border:1px solid var(--border,#ccd5df);border-radius:8px;background:var(--card,#fff);color:var(--foreground,#1b1b1b);font:16px/1.5 system-ui;outline:0;height:auto;resize:vertical;user-select:text}.wb-writing-body textarea{min-height:90px!important}.wb-writing-body textarea.wb-writing-response{min-height:180px!important}.wb-writing-body :is(input,select,textarea):focus-visible{outline:var(--focus-width) solid var(--ring);outline-offset:2px}.wb-writing-body textarea[readonly]{background:var(--muted,#f8fafc)}.wb-writing-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.wb-writing-body button{align-self:flex-start;display:inline-flex;align-items:center;gap:7px;font-size:14px;min-height:40px;padding:8px 12px}.wb-writing-actions [role=status],.wb-writing-status{font-size:12px;color:var(--muted-foreground,#66717c)}.wb-writing-body details summary{cursor:pointer;font-size:14px;font-weight:600;min-height:28px}.wb-writing-body details[open]>summary{margin-bottom:10px}.wb-writing-selection-help{font-size:13px;color:var(--muted-foreground,#66717c)}.wb-writing-response-text{padding:12px;border:1px solid var(--border,#ccd5df);border-radius:8px;background:var(--muted,#f8fafc);line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text;-webkit-touch-callout:default}.wb-writing-response-text:focus-visible{outline:var(--focus-width) solid var(--ring);outline-offset:2px}.wb-writing-response-text.wb-writing-manual{border-color:#287cb3;background:var(--card,#fff);cursor:text;touch-action:auto}.wb-writing-manual .wb-writing-inline-correction{cursor:pointer}.wb-writing-inline-correction del{color:#a53626;background:#fde8e8;text-decoration:line-through;text-decoration-thickness:2px;border-radius:3px;padding:1px 2px}.wb-writing-inline-correction ins{color:#186443;background:#def4e8;text-decoration:none;font-weight:600;border-radius:3px;padding:1px 2px;user-select:none;-webkit-user-select:none}.wb-writing-feedback-summary{font-size:14px;color:var(--muted-foreground,#66717c)}.wb-writing-correction-bar{position:fixed;z-index:10000;display:flex;align-items:center;gap:6px;box-sizing:border-box;padding:6px;border:1px solid var(--border,#ccd5df);border-radius:10px;background:var(--card,#fff);box-shadow:0 4px 18px #0003}.wb-writing-correction-bar input{flex:1;min-width:0;box-sizing:border-box;width:100%;height:38px;border:0;border-radius:5px;background:var(--card,#fff);color:var(--foreground,#1b1b1b);font:16px/1.5 system-ui;padding:5px 8px;outline:0}.wb-writing-correction-bar input:focus-visible{box-shadow:inset 0 0 0 var(--focus-width) var(--ring)}.wb-writing-correction-bar button.wb-writing-delete-correction{color:#a53626}.wb-writing-correction-bar button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:38px;min-height:38px;padding:8px}.wb-writing-error{padding:10px;border-radius:8px;background:#fde8e8;color:#a53626;font-size:14px;overflow-wrap:anywhere}.wb-battleships-frame{position:relative;width:100%;height:100%;overflow:hidden}.wb-game-body.wb-battleships-scaled{position:absolute;top:0;left:0;height:auto;overflow:visible;transform-origin:top left;padding:12px;gap:8px}.wb-battleships-scaled .wb-battleships-title{flex-wrap:nowrap;flex-shrink:0}.wb-battleships-scaled .wb-battleships-players{flex:none;overflow:visible}.wb-battleships-scaled .wb-battleship-field{box-sizing:border-box;min-height:0;height:100%;padding:6px}.wb-battleships-scaled .wb-field-header{flex:none;min-height:28px}.wb-battleships-scaled .wb-field-header strong{font-size:20px;line-height:28px}.wb-battleships-scaled .wb-battleships-grid .wb-grid-label{font-size:28px;font-weight:800;line-height:1.15;color:var(--foreground,#1b1b1b)}.wb-battleships-scaled .wb-battleships-grid .wb-column-label{align-items:end;padding-bottom:8px;white-space:nowrap;overflow-wrap:normal}.wb-column-label-vertical{writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;overflow-wrap:normal}.wb-battleships-scaled .wb-player-board{flex:none;min-height:0}.wb-battleships-scaled .wb-battleships-grid{flex:none;gap:1px;align-content:start;justify-content:center}.wb-battleships-scaled .wb-battleships-racks{flex:none;max-height:none;overflow:visible}.wb-battleships-scaled .wb-game-footer{flex:none}.wb-ship-silhouette{position:relative;display:block;flex:none;width:calc(var(--wb-ship-length,1)*32px + (var(--wb-ship-length,1) - 1)*2px);height:32px;background:#ffd447;clip-path:polygon(0 24%,9% 9%,70% 9%,87% 23%,100% 50%,87% 77%,70% 91%,9% 91%,0 76%);pointer-events:none}.wb-ship-silhouette .wb-ship-deck{position:absolute;inset:24% 21% 24% 12%;background:#dba81e;border-radius:35% 45% 45% 35%}.wb-ship-silhouette .wb-ship-bridge{position:absolute;left:39%;top:29%;width:19%;height:42%;background:#fff4c3;border-radius:3px;box-shadow:inset -3px 0 0 #967314}.wb-ship-silhouette .wb-ship-turret{position:absolute;top:38%;width:12%;height:24%;background:#fff0ae;border-radius:50%}.wb-ship-turret:after{content:"";position:absolute;left:65%;top:38%;width:100%;height:24%;background:inherit}.wb-ship-silhouette .wb-ship-turret-front{left:70%}.wb-ship-silhouette .wb-ship-turret-rear{left:16%}.wb-ship-silhouette-vertical{width:32px;height:calc(var(--wb-ship-length,1)*32px + (var(--wb-ship-length,1) - 1)*2px);clip-path:polygon(24% 100%,9% 91%,9% 30%,23% 13%,50% 0,77% 13%,91% 30%,91% 91%,76% 100%)}.wb-ship-silhouette-vertical .wb-ship-deck{inset:21% 24% 12%;border-radius:45% 45% 35% 35%}.wb-ship-silhouette-vertical .wb-ship-bridge{left:29%;top:42%;width:42%;height:19%}.wb-ship-silhouette-vertical .wb-ship-turret{left:38%;top:auto;width:24%;height:12%}.wb-ship-silhouette-vertical .wb-ship-turret:after{left:38%;top:-70%;width:24%;height:100%}.wb-ship-silhouette-vertical .wb-ship-turret-front{bottom:70%}.wb-ship-silhouette-vertical .wb-ship-turret-rear{bottom:16%}.wb-ship-on-grid{position:relative;z-index:1;align-self:center;height:72%;margin:0 3px;pointer-events:none}.wb-ship-on-grid-vertical{align-self:stretch;justify-self:center;width:72%;height:auto;margin:3px 0}.wb-ship-on-grid>.wb-ship-silhouette{width:100%;height:100%}.wb-battleships-grid button.wb-battleship-cell.wb-ship-cell:not(.wb-cell-hit,.wb-cell-sunk,.wb-cell-missed){background:#eaf4fb;border-color:#b8c8d8}.wb-battleships-grid button.wb-battleship-cell.wb-ship-cell.wb-cell-cross{z-index:2;background:transparent}.wb-object.wb-attention-object{outline:4px solid #ecae11;outline-offset:7px;box-shadow:0 0 0 14px #ffd44744;animation:wb-attention-glow 1.2s ease-in-out 5;z-index:3}.wb-attention-point{position:absolute;z-index:7;width:72px;height:72px;transform:translate(-50%,-50%);border:4px solid #ecae11;border-radius:50%;box-shadow:0 0 0 12px #ffd44744;pointer-events:none;animation:wb-attention-glow 1.2s ease-in-out 5}.wb-attention-notice{position:absolute;z-index:9;top:10px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;width:max-content;max-width:calc(100% - 20px);padding:6px 10px;border:1px solid #ddbc57;border-radius:10px;background:#fff6d2;box-shadow:0 4px 12px #0002;font-size:13px}.wb-attention-notice span{min-width:0;overflow-wrap:anywhere}.wb-attention-notice button{flex-shrink:0;min-height:32px;padding:4px 6px;font-size:12px}@keyframes wb-attention-glow{50%{box-shadow:0 0 0 20px #ffd44722}}@media(prefers-reduced-motion:reduce){.wb-attention-object,.wb-attention-point{animation:none}}.wb-context.wb-selection-tools{position:fixed;z-index:45;isolation:isolate;gap:2px;padding:5px;max-width:calc(100% - 16px);width:max-content;border:1px solid var(--border,#ddd);border-radius:11px;background:var(--card,#fff);box-shadow:0 4px 18px #0002;overflow:auto;max-height:calc(100% - 16px);overscroll-behavior:contain;touch-action:manipulation}.wb-selection-tools button{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;min-height:34px;padding:0;border-radius:7px}.wb-selection-tools button:hover:not(:disabled){background:var(--secondary,#eaf4fb)}.wb-selection-tools button[aria-pressed=true]{background:var(--primary,#ffd447)}.wb-selection-tools button:disabled{opacity:.35}.wb-selection-tools button:focus-visible{outline:var(--focus-width) solid var(--ring);outline-offset:-2px}.wb-object-properties{display:grid;gap:10px;width:260px;max-width:calc(100vw - 32px);max-height:var(--radix-popover-content-available-height);overflow:auto}.wb-object-properties label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.wb-object-properties input[type=number]{width:96px;min-height:34px;padding:4px 7px;border:1px solid var(--border,#ddd);border-radius:6px;background:var(--card,#fff)}@media(max-width:520px){.wb-context.wb-selection-tools{gap:2px;padding:4px}.wb-selection-tools button{flex-basis:38px;width:38px;height:38px;min-height:38px}}.wb-rule-section-card .wb-card-body{flex:none;overflow:visible}.wb-card-body h3.wb-rule-topic,.wb-rule-topic{display:block;box-sizing:border-box;width:100%;min-width:0;margin:0 0 14px;padding:4px 0;border:0;border-radius:0;background:transparent;color:inherit;font-size:22px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}.wb-rule-topic:focus{outline:2px solid #287cb3;outline-offset:3px}.wb-rule-blocks{display:flex;flex-direction:column;gap:12px;list-style:none;margin:0;padding:0}.wb-rule-block{border:1px solid #ccd5df;border-radius:10px;padding:14px;background:#f7fbfe;overflow-wrap:anywhere}.wb-rule-active{border-color:#287cb3;box-shadow:inset 0 0 0 1px #287cb3}.wb-rule-block-heading{display:flex;align-items:flex-start;gap:10px;margin-bottom:10px}.wb-rule-block-heading h4{flex:1;min-width:0;font-size:17px;line-height:1.4;margin:1px 0;white-space:pre-wrap}.wb-rule-number{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;border-radius:7px;background:var(--primary,#ffd447);color:#1b1b1b;font:700 14px system-ui}.wb-rule-block-heading button{padding:3px;min-height:26px;flex-shrink:0}.wb-rule-content{font-size:16px;line-height:1.5;white-space:pre-wrap}.wb-card-body p.wb-rule-drop-note{margin:14px 0 0;font-size:12px;line-height:1.4;color:#66717c}.wb-rule-drop-target{outline:3px dashed #287cb3!important;outline-offset:5px;background:#eef8ff}.wb-rule-block:focus-visible{outline:var(--focus-width) solid var(--ring);outline-offset:3px}.wb-rule-collapsed .wb-card-body{padding:8px 12px;overflow:hidden}.wb-rule-collapsed .wb-card-body h3.wb-rule-topic,.wb-rule-collapsed .wb-rule-topic{margin:0;padding:0;font-size:18px;line-height:28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wb-rule-section-card:not(.wb-rule-collapsed) .wb-card-body{max-height:9966px;overflow:auto}.wb-content-section{max-height:10000px}.wb-content-section .wb-card-body{flex:none;overflow:visible}.wb-section-content{overflow:auto;max-height:9946px}.wb-section-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px}.wb-section-heading h3{margin:0;flex:1;min-width:160px;font-size:22px;overflow-wrap:anywhere}.wb-activity-picker{display:flex;align-items:center;gap:6px;font-size:14px}.wb-activity-picker select{max-width:210px}.wb-section-blocks{list-style:none;padding:0;margin:0;display:grid;gap:12px}.wb-exercise-navigation{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-1);border-bottom:1px solid var(--border);padding-bottom:var(--space-2)}.wb-exercise-navigation [role=status]{margin-inline-end:auto;color:var(--muted-foreground);font-size:var(--font-small)}.wb-exercise-navigation button{min-width:var(--touch-target);min-height:var(--touch-target);padding:0}.wb-content-section .wb-exercise-body .exercise-card{padding:0}.wb-section-block h3{font-size:18px;margin:10px 0}.wb-section-hint,.wb-section-type{font-size:13px;color:#607387;margin:12px 0 0}.wb-content-section .practice{width:100%;max-width:none;margin:0;padding:0}.wb-content-section .exercise-card{padding:16px;margin:12px 0;border-radius:12px}.wb-content-section .practice-completion{padding:16px}.wb-content-section .celebrate-bird{max-width:80px}.wb-content-section .practice-progress{margin:8px 0}.wb-content-section select{font-size:14px;padding:8px}.wb-writing .wb-resize{cursor:ew-resize}.wb-zoom-controls{display:flex;align-items:center;gap:4px;flex-shrink:0;font-size:13px}.wb-zoom-controls>span{min-width:4ch;text-align:center;font-variant-numeric:tabular-nums}.wb-object.wb-text-editing{outline:none}.wb-object.wb-text textarea,.wb-object.wb-text textarea:focus,.wb-object.wb-text textarea:focus-visible{border:0;outline:0;box-shadow:none;background:transparent}.wb-object-properties select{max-width:140px;min-height:34px;font:inherit;padding:4px 7px}.wb-object-properties input[type=color],.wb-object-properties select{border:1px solid var(--border,#ddd);border-radius:6px;background:var(--card,#fff)}.wb-object-properties input[type=color]{width:48px;height:34px;padding:3px}.wb-object-properties label.wb-text-opacity,.wb-shape-style label.wb-shape-opacity{display:grid;grid-template-columns:1fr auto;gap:6px}.wb-shape-opacity input,.wb-text-opacity input{grid-column:1/-1;width:100%;accent-color:var(--primary,#ffd447)}.wb-shape-style{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.wb-drawing-style-row .wb-shape-style select{min-height:var(--touch-target);max-width:140px;border:1px solid var(--border,#ddd);border-radius:var(--radius-control);background:var(--card,#fff);padding:4px 7px;font:inherit}.wb-shape-opacity{min-width:140px;max-width:100%}.wb-object-properties .wb-shape-style{display:grid;gap:10px}.wb-text-layout{position:relative;max-width:100%}.wb-text-auto-width .wb-text-content{white-space:pre;overflow-wrap:normal}.wb-object.wb-text .wb-text-layout textarea{position:absolute;inset:0;box-sizing:border-box;line-height:1.5;overflow:hidden}.wb-rotate.inline-button{position:absolute;right:-40px;top:-8px;display:grid;place-items:center;width:24px;height:24px;min-width:24px;min-height:24px;padding:3px;border:1px solid #287cb3;border-radius:50%;background:white;color:#287cb3;cursor:grab;z-index:2;touch-action:none}.wb-rotate:before{content:"";position:absolute;width:16px;height:1px;background:#287cb3;right:100%;top:50%}.wb-text-width-handle.inline-button{position:absolute;right:-8px;top:50%;translate:0 -50%;width:12px;height:16px;min-width:12px;min-height:16px;padding:0;border:2px solid white;background:#287cb3;cursor:ew-resize;z-index:2;touch-action:none}.whiteboard .wb-object button.inline-button:is(.wb-resize,.wb-rotate,.wb-text-width-handle):not(:disabled){transform:none;transition:none}.whiteboard{border-radius:var(--radius-card)}.whiteboard :is(.wb-topbar,.wb-toolbar,.wb-selection-tools) button{display:inline-flex;align-items:center;justify-content:center;min-width:var(--touch-target);min-height:var(--touch-target);height:var(--touch-target);padding:var(--space-2);border-radius:var(--radius-control);font-size:var(--font-small)}.whiteboard :is(.wb-toolbar-main,.wb-selection-tools) button{width:var(--touch-target);flex:0 0 var(--touch-target)}.wb-object-properties :is(input:not([type=range]),select),.whiteboard .wb-toolbar :is(input:not([type=range]),select){min-height:var(--touch-target);border-radius:var(--radius-control);font-size:var(--font-small)}.whiteboard .wb-toolbar input[type=color]{width:var(--touch-target);height:var(--touch-target)}.wb-object-properties input[type=color]{height:var(--touch-target)}.whiteboard .wb-library button{min-height:var(--touch-target);border-radius:var(--radius-control)}.whiteboard :is(.wb-selection-tools,.wb-drawing-style-row){border-radius:var(--radius-control)}.whiteboard .wb-selection-tools{gap:var(--space-1)}.whiteboard .wb-zoom-controls{flex-wrap:wrap;max-width:100%}.whiteboard .wb-selection-tools button:focus-visible{outline:var(--focus-width) solid var(--ring);outline-offset:calc(-1 * var(--focus-width))}.wb-shot-legend{display:flex;align-items:center;justify-content:center;gap:24px;width:100%;padding:4px 0}.wb-shot-legend>span{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:var(--foreground,#1d1d1b)}.wb-shot-legend-sample{display:block;box-sizing:border-box;width:36px;height:36px;border:1px solid #c4ccd4;border-radius:3px;background:#edf1f5;color:#66717c}.wb-dice-frame,.wb-tic-tac-toe-frame{position:relative;width:100%;height:100%;overflow:hidden}.wb-game-body.wb-shared-dice{position:absolute;top:0;left:0;width:280px;height:320px;transform-origin:top left;gap:12px;overflow:auto}.wb-shared-dice-result{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center}.wb-shared-dice-face{display:grid;place-items:center;width:112px;height:112px;color:#154c74;background:#eaf4fb;border-radius:18px;opacity:.45}.wb-shared-dice-face svg{width:100px;height:100px}.wb-shared-dice-rolled{opacity:1}.wb-shared-dice-result>strong{font-size:22px}.wb-shared-dice-result>span{max-width:100%;font-size:12px;line-height:1.4;color:#66717c;overflow-wrap:anywhere}.wb-shared-dice>button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:8px 12px;font-size:16px}.wb-shared-dice-error{margin:0;font-size:12px;color:var(--destructive);overflow-wrap:anywhere}.wb-game-body.wb-tic-tac-toe-body{position:absolute;top:0;left:0;height:auto;overflow:visible;transform-origin:top left;gap:8px}.wb-tic-tac-toe-header{min-height:32px;flex-wrap:nowrap;flex-shrink:0}.wb-tic-tac-toe-settings{display:flex;align-items:end;gap:8px;flex-wrap:wrap;padding:6px;border:1px solid #ccd5df;border-radius:9px;background:#f8fbfd}.wb-tic-tac-toe-settings label{display:grid;gap:3px;font-size:12px;font-weight:600;color:#3b5268}.wb-tic-tac-toe-settings select{font:inherit}.wb-tic-tac-toe-settings select,.whiteboard .wb-tic-tac-toe-edit{min-height:32px;padding:3px 7px;border:1px solid #d7e0e8;border-radius:6px;background:#fff;color:#3b5268}.whiteboard .wb-tic-tac-toe-edit{display:inline-flex;align-items:center;gap:5px;font-size:12px;box-shadow:none}.whiteboard .wb-tic-tac-toe-edit[aria-pressed=true]{background:#fff4c5;border-color:#caa43d}.wb-tic-tac-toe-status{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:28px;flex-wrap:wrap}.wb-tic-tac-toe-status strong{font-size:14px}.wb-tic-tac-toe-status>span{font-size:12px;color:#66717c}.wb-tic-tac-toe-grid{display:grid;gap:1px;padding:6px;border:1px solid #ccd5df;border-radius:9px;background:#f8fbfd}.whiteboard .wb-tic-tac-toe-cell{position:relative;width:100%;height:auto;min-width:0;min-height:0;aspect-ratio:1;padding:14px 6px 6px;border:1px solid #b8c8d8;border-radius:2px;background:#eaf4fb;color:#154c74;box-shadow:none;font-size:18px;white-space:normal;overflow:hidden;transform:none}.wb-tic-tac-toe-cell .button-label{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:100%;height:100%;min-width:0;overflow:hidden}.wb-tic-tac-toe-cell small{position:absolute;top:3px;left:5px;font-size:10px;font-weight:500;color:#66717c}.wb-tic-tac-toe-label{overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.2}.wb-tic-tac-toe-mark{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;max-width:65%;color:#154c74}.wb-tic-tac-toe-mark svg{width:100%;height:100%}.whiteboard .wb-tic-tac-toe-cell:disabled{opacity:1;cursor:default}.whiteboard .wb-tic-tac-toe-cell.wb-tic-tac-toe-X{background:#f6d66f;border-color:#caa43d;color:#745400}.wb-tic-tac-toe-X .wb-tic-tac-toe-mark{color:#745400}.whiteboard .wb-tic-tac-toe-cell.wb-tic-tac-toe-O{background:#cfe6f7}.whiteboard .wb-tic-tac-toe-cell.wb-tic-tac-toe-winning{box-shadow:inset 0 0 0 3px #287cb3;border-color:#287cb3}.wb-tic-tac-toe-cell .button-content{display:block;width:100%;height:100%}.wb-tic-tac-toe-cell .button-sizer{display:none}.whiteboard .wb-tic-tac-toe-grid button.wb-tic-tac-toe-cell:not(:disabled):is(:hover,:focus-visible){background:#cfe6f7;transform:none;font-weight:600}.wb-object.wb-scalable-card{display:block;min-width:0;border:0;background:transparent;box-shadow:none}.wb-scaled-card-content{position:absolute;left:0;top:0;transform-origin:top left;box-sizing:border-box}.wb-scaled-card-content .wb-card-body{flex:none;overflow:visible}.wb-image-viewport{position:relative;width:100%;height:100%;overflow:hidden}.wb-image-viewport>img{position:absolute;max-width:none;pointer-events:none}.wb-image-status{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;width:100%;height:100%;padding:12px;border:1px dashed var(--border,#ddd);background:var(--card,#fff);color:var(--muted-foreground,#666);font:14px/1.5 system-ui;text-align:center}.wb-crop-dialog{max-height:90dvh;overflow-y:auto}.wb-crop-preview{flex:none;position:relative;max-width:100%;margin:auto;overflow:hidden;touch-action:none;cursor:crosshair;user-select:none;background:#eee}.wb-crop-preview>img{display:block;width:100%;height:100%;pointer-events:none}.wb-crop-selection{position:absolute;border:2px solid white;box-shadow:0 0 0 100vmax #0008;cursor:move;box-sizing:border-box}.wb-crop-selection:after{content:"";position:absolute;inset:0;border:1px solid #287cb3;pointer-events:none}.wb-crop-handle{position:absolute;z-index:1;width:24px;height:24px;border:2px solid #287cb3;background:white;border-radius:4px;touch-action:none}.wb-crop-nw{left:-4px;top:-4px;cursor:nwse-resize}.wb-crop-ne{right:-4px;top:-4px;cursor:nesw-resize}.wb-crop-sw{left:-4px;bottom:-4px;cursor:nesw-resize}.wb-crop-se{right:-4px;bottom:-4px;cursor:nwse-resize}.wb-crop-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wb-crop-fields label{display:grid;gap:4px;font-size:14px}.wb-crop-fields input{width:100%;min-height:44px;border:1px solid var(--border,#ddd);border-radius:var(--radius-control);padding:8px;font:inherit}.wb-crop-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.whiteboard .wb-drawing-style-row{align-items:center;gap:16px;padding:12px 16px;background:var(--card);border:1px solid var(--border);border-radius:14px;box-shadow:0 2px 6px rgb(27 27 27/3%)}.whiteboard .wb-drawing-style-row>strong{font-size:12px;font-weight:600;line-height:1.4;margin:0 4px 0 0;padding:8px 12px;border-radius:8px;background:var(--secondary)}.whiteboard .wb-drawing-style-row label{display:grid;gap:5px;align-items:center;font-size:11px;font-weight:500;line-height:1.2;color:var(--muted-foreground)}.whiteboard .wb-drawing-style-row .wb-shape-style{gap:16px;align-items:end}.whiteboard .wb-drawing-style-row :is(input:not([type=range]),select){box-sizing:border-box;min-height:44px;height:44px;margin:0;background:#fafaf8;border:1px solid var(--border);border-radius:9px;color:var(--foreground);font:inherit;font-size:13px;transition:border-color .14s ease,box-shadow .14s ease}.whiteboard .wb-drawing-style-row :is(input,select):focus-visible{outline:2px solid var(--ring);outline-offset:2px}.whiteboard .wb-drawing-style-row input[type=number]{width:72px;padding:8px 10px}.whiteboard .wb-drawing-style-row input[type=color]{width:44px;padding:7px;cursor:pointer}.whiteboard .wb-drawing-style-row input[type=color]::-webkit-color-swatch-wrapper{padding:0}.whiteboard .wb-drawing-style-row input[type=color]::-webkit-color-swatch{border:1px solid rgb(27 27 27/12%);border-radius:5px}.whiteboard .wb-drawing-style-row input[type=color]::-moz-color-swatch{border:1px solid rgb(27 27 27/12%);border-radius:5px}.whiteboard .wb-drawing-style-row .wb-shape-style select{min-height:44px;max-width:144px;padding:8px 30px 8px 10px;border-radius:9px;font-size:13px}.whiteboard .wb-drawing-style-row label.wb-shape-opacity{width:160px;min-width:120px;gap:5px}.whiteboard .wb-drawing-style-row .wb-shape-opacity>span{font-size:11px;font-variant-numeric:tabular-nums}.whiteboard .wb-drawing-style-row .wb-shape-opacity input[type=range]{appearance:none;display:block;width:100%;min-height:44px;height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer}.whiteboard .wb-drawing-style-row input[type=range]::-webkit-slider-runnable-track{height:5px;border-radius:8px;background:var(--border)}.whiteboard .wb-drawing-style-row input[type=range]::-webkit-slider-thumb{appearance:none;width:17px;height:17px;margin-top:-6px;border-radius:50%;border:2px solid var(--card);background:var(--foreground);box-shadow:0 0 0 1px var(--foreground)}.whiteboard .wb-drawing-style-row input[type=range]::-moz-range-track{height:5px;border-radius:8px;background:var(--border)}.whiteboard .wb-drawing-style-row input[type=range]::-moz-range-thumb{width:13px;height:13px;border-radius:50%;border:2px solid var(--card);background:var(--foreground);box-shadow:0 0 0 1px var(--foreground)}@media(max-width:700px){.whiteboard .wb-drawing-style-row{gap:12px;padding:12px}.whiteboard .wb-drawing-style-row>strong{flex-basis:100%;padding:0;background:transparent}.whiteboard .wb-drawing-style-row .wb-shape-style{gap:12px;flex-wrap:wrap}}.whiteboard .wb-object.wb-selected{outline:1px solid #4188b8;outline-offset:4px}.whiteboard .wb-object.wb-text-editing{outline:none}.whiteboard .wb-object :is(.wb-resize,.wb-text-width-handle).inline-button{width:28px;height:28px;min-width:28px;min-height:28px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;right:-18px}.whiteboard .wb-object .wb-resize.inline-button{bottom:-18px}.whiteboard .wb-object .wb-text-width-handle.inline-button{top:50%;translate:0 -50%}.whiteboard .wb-object :is(.wb-resize,.wb-text-width-handle):after{content:"";position:absolute;left:50%;top:50%;translate:-50% -50%;width:9px;height:9px;border:1.5px solid #4188b8;border-radius:3px;background:white;box-shadow:0 1px 3px rgb(27 27 27/12%)}.whiteboard .wb-object .wb-text-width-handle:after{width:5px;height:13px;border-radius:4px}.whiteboard .wb-object .wb-rotate.inline-button{width:28px;height:28px;min-width:28px;min-height:28px;top:-18px;right:-48px;border:1px solid #d5e2eb;padding:6px;background:white;color:#4188b8;box-shadow:0 2px 5px rgb(27 27 27/8%)}.whiteboard .wb-object .wb-rotate:before{width:16px;background:#a9c6da}.whiteboard .wb-object .wb-rotate svg{width:14px;height:14px}.whiteboard .wb-object :is(.wb-resize,.wb-text-width-handle):hover:after{background:#e8f3fb;border-color:#246896}.whiteboard .wb-object .wb-rotate:hover{background:#eef6fc;border-color:#a9c6da}.whiteboard .wb-object :is(.wb-resize,.wb-text-width-handle,.wb-rotate):focus-visible{outline:2px solid var(--ring);outline-offset:2px}.whiteboard .wb-object .wb-resize-nw.inline-button{left:-18px;right:auto;top:-18px;bottom:auto;cursor:nwse-resize}.whiteboard .wb-object .wb-resize-ne.inline-button{right:-18px;top:-18px;bottom:auto;cursor:nesw-resize}.whiteboard .wb-object .wb-resize-sw.inline-button{left:-18px;right:auto;top:auto;bottom:-18px;cursor:nesw-resize}.whiteboard .wb-object .wb-resize-se.inline-button{right:-18px;top:auto;bottom:-18px;cursor:nwse-resize}.whiteboard .wb-object .wb-rotate.inline-button{top:50%;right:-34px;translate:0 -50%;background:transparent;border-color:transparent;box-shadow:none}.whiteboard .wb-object .wb-rotate:before{display:none}.whiteboard .wb-object .wb-rotate:hover{background:transparent;border-color:transparent;color:#246896}.whiteboard .wb-ink-selection{pointer-events:none;z-index:1}.whiteboard .wb-ink-selection .wb-resize{pointer-events:auto}.whiteboard .wb-peer-sync{position:absolute;right:10px;bottom:10px;z-index:3;max-width:calc(100% - 20px);border:1px solid var(--border,#ddd);border-radius:8px;box-shadow:0 2px 8px #0001;pointer-events:none}.whiteboard .wb-object.wb-selected{outline-offset:calc(4px + var(--wb-stroke-padding,0px))}.whiteboard .wb-object .wb-resize-nw.inline-button{left:calc(-18px - var(--wb-stroke-padding,0px));top:calc(-18px - var(--wb-stroke-padding,0px))}.whiteboard .wb-object .wb-resize-ne.inline-button{right:calc(-18px - var(--wb-stroke-padding,0px));top:calc(-18px - var(--wb-stroke-padding,0px))}.whiteboard .wb-object .wb-resize-sw.inline-button{left:calc(-18px - var(--wb-stroke-padding,0px));bottom:calc(-18px - var(--wb-stroke-padding,0px))}.whiteboard .wb-object .wb-resize-se.inline-button{right:calc(-18px - var(--wb-stroke-padding,0px));bottom:calc(-18px - var(--wb-stroke-padding,0px))}.whiteboard .wb-object .wb-rotate.inline-button{right:calc(-34px - var(--wb-stroke-padding,0px))}.whiteboard .wb-object .wb-side-handle.inline-button{position:absolute;width:28px;height:28px;min-width:28px;min-height:28px;padding:0;border:0;background:transparent;box-shadow:none;z-index:2;touch-action:none}.whiteboard .wb-object .wb-side-handle:after{content:"";position:absolute;left:50%;top:50%;translate:-50% -50%;width:5px;height:13px;border:1.5px solid #4188b8;border-radius:4px;background:white;box-shadow:0 1px 3px rgb(27 27 27/12%)}.whiteboard .wb-object .wb-side-n.inline-button{top:calc(-18px - var(--wb-stroke-padding,0px));left:50%;translate:-50% 0;cursor:ns-resize}.whiteboard .wb-object .wb-side-s.inline-button{bottom:calc(-18px - var(--wb-stroke-padding,0px));left:50%;translate:-50% 0;cursor:ns-resize}.whiteboard .wb-object .wb-side-w.inline-button{left:calc(-18px - var(--wb-stroke-padding,0px));top:50%;translate:0 -50%;cursor:ew-resize}.whiteboard .wb-object .wb-side-e.inline-button{right:calc(-18px - var(--wb-stroke-padding,0px));top:50%;translate:0 -50%;cursor:ew-resize}.whiteboard .wb-object :is(.wb-side-n,.wb-side-s):after{width:13px;height:5px}.whiteboard .wb-object .wb-side-handle:hover:after{background:#e8f3fb;border-color:#246896}.whiteboard .wb-object .wb-side-handle:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.wb-vocabulary-block{padding:var(--space-4);position:relative}.wb-vocabulary-block .wb-block-number{width:var(--touch-target);padding:var(--space-2);background:var(--primary)}.wb-vocabulary-block .wb-block-remove{width:var(--touch-target);text-align:center}.wb-vocabulary-block.wb-section-block-active{border-color:var(--foreground);box-shadow:0 0 0 1px var(--foreground)}.wb-vocabulary-card{min-width:0;color:var(--foreground)}.wb-vocabulary-word{display:flex;align-items:center;gap:var(--space-3);margin-bottom:var(--space-3)}.wb-card-body .wb-vocabulary-word h3{flex:1;min-width:0;font-size:28px;line-height:1.2;margin:0;overflow-wrap:anywhere}.wb-vocabulary-card .wb-vocabulary-audio{flex-shrink:0;width:var(--touch-target);padding:var(--space-2)}.wb-card-body .wb-vocabulary-details p{margin:0 0 var(--space-3)}.wb-card-body p.wb-vocabulary-translation{font-weight:600;color:var(--foreground)}.wb-card-body p.wb-vocabulary-example{border-inline-start:3px solid var(--primary);padding-inline-start:var(--space-3);font-style:italic;font-size:var(--font-small)}.wb-vocabulary-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);margin-top:var(--space-4);padding-top:var(--space-3);border-top:1px solid var(--border)}.wb-vocabulary-studying .wb-vocabulary-word{min-height:100px;align-items:center}.wb-vocabulary-studying .wb-vocabulary-word h3{text-align:center;font-size:26px}.wb-inline-text-tools{position:absolute;left:0;bottom:calc(100% + 8px);z-index:10;display:flex;align-items:center;gap:6px;flex-wrap:wrap;width:max-content;max-width:520px;padding:8px;border:1px solid var(--border,#ddd);border-radius:10px;background:var(--card,#fff);box-shadow:0 3px 12px #0002;color:var(--foreground,#222);font:14px/1.4 system-ui;cursor:default}.wb-inline-text-tools button,.wb-inline-text-tools select{min-height:36px;padding:5px 8px;font:inherit}.wb-inline-text-tools label{display:flex;align-items:center;gap:5px}.wb-inline-text-tools input[type=color]{width:36px;height:36px;padding:2px}.wb-text-content[contenteditable=true]{min-width:24px;min-height:1.5em;user-select:text;-webkit-user-select:text}.wb-peer-cursors{inset:0;overflow:hidden;z-index:20}.wb-peer-cursor,.wb-peer-cursors{position:absolute;pointer-events:none}.wb-peer-cursor{left:0;top:0;width:19px;height:25px;transition:transform .18s linear;will-change:transform}.wb-peer-cursor-outside:before{content:"";position:absolute;left:5px;top:6px;width:9px;height:9px;border-radius:50%;background:currentColor;box-shadow:0 0 0 2px white}.wb-peer-cursor small{font:inherit;font-weight:400}.wb-peer-cursor svg{position:absolute;left:-1px;top:-1px;max-width:none;overflow:visible;filter:drop-shadow(0 1px 1px #0004)}.wb-peer-cursor span{position:absolute;left:15px;top:20px;max-width:160px;padding:3px 7px;border-radius:5px;color:white;font:600 12px/1.4 system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 1px 3px #0003}@media(prefers-reduced-motion:reduce){.wb-peer-cursor{transition:none}}.wb-grammar-dialog[role=dialog]{width:min(640px,calc(100vw - 32px));max-width:calc(100vw - 32px)}.wb-grammar-dialog textarea{width:100%;min-width:0;resize:vertical;line-height:1.65;white-space:pre-wrap}.wb-grammar-result{display:grid;gap:16px;min-width:0;overflow-wrap:anywhere}.wb-grammar-result ol{display:grid;gap:12px;margin:0;padding-left:24px}.wb-grammar-result li p{margin:4px 0}.wb-grammar-result del{color:#a3342b}.wb-grammar-result ins{color:#216540;text-decoration:none;font-weight:600}.wb-grammar-marked{white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;border:1px solid var(--border);border-radius:12px;line-height:1.8}.wb-grammar-marked del{color:#a3342b}.wb-grammar-marked ins{color:#216540;text-decoration:none;font-weight:600;margin-inline:3px}.wb-grammar-share-actions{flex-wrap:wrap;gap:12px}.wb-video-embed video{display:block;width:100%;height:100%;min-height:0;object-fit:contain;background:#111}.wb-audio-embed{align-items:center;padding:12px}.wb-audio-embed audio{width:100%;min-width:0}.wb-media-hint{padding:6px 12px;font:12px/1.4 system-ui;color:var(--muted-foreground,#536171)}.homework-review-needed{color:var(--foreground);background:var(--secondary,#eef6fc);padding:10px 12px;border-radius:10px}.homework-writing-action{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}.homework-writing-action p{margin:0}.homework-written-editor{margin:20px 0}.homework-written-editor fieldset{display:grid;gap:12px;margin:16px 0;padding:16px;border:1px solid var(--border);border-radius:12px;min-width:0}.homework-written-editor>.between{gap:12px;flex-wrap:wrap}.homework-writing-dialog{width:min(760px,calc(100vw - 24px));max-width:760px!important;max-height:90dvh;overflow-y:auto}.homework-writing-dialog .wb-writing-body{width:100%;min-width:0}.homework-writing-dialog .wb-writing-content{max-height:none}.homework-writing-dialog .wb-writing-actions{flex-wrap:wrap}@media(max-width:600px){.homework-writing-dialog{padding:18px}.homework-writing-action>button{width:100%}}.scheduled-cancellation-status{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;margin:var(--space-2) 0;min-width:0}.scheduled-cancellation-status .notice{margin:0;font-size:.875rem}.calendar-markers .cancelled-marker{color:var(--muted-foreground)}.scheduled-cancellation-remember{display:flex;align-items:flex-start;gap:var(--space-2);margin:var(--space-4) 0;line-height:1.5}.scheduled-cancellation-remember input{width:20px;height:20px;flex-shrink:0;margin-top:2px}.calendar-scheduled-lesson[data-cancelled=true],.lesson-history-card[data-cancelled=true],.scheduled-lesson-card[data-cancelled=true],.teacher-calendar-lesson[data-cancelled=true]{background:var(--muted)}.lesson-payment-status{display:grid;gap:var(--space-2);margin:var(--space-2) 0 0;min-width:0}.lesson-payment-student{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-1) var(--space-2);min-width:0;font-size:.75rem;line-height:1.5}.lesson-payment-student>strong{overflow-wrap:anywhere}.lesson-payment-student .status-label{font-size:.75rem;padding:2px 7px;gap:var(--space-1)}.lesson-payment-student .lesson-payment-neutral{padding:0;background:transparent;color:var(--muted-foreground);font-weight:400}.lesson-payment-student .notice,.lesson-payment-student time{font-size:.75rem;margin:0;color:var(--muted-foreground)}.lesson-payment-student time{width:100%;overflow-wrap:anywhere}.library-category-card>div{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:var(--space-5)}.library-category-symbol{color:var(--foreground);flex-shrink:0}.library-category-copy{min-width:0}.library-category-copy p{margin:var(--space-2) 0 0}.activity-list>.vocabulary-activity-card>.vocabulary-activity-layout{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;gap:var(--space-4)}.vocabulary-activity-symbol{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border:1.5px solid var(--foreground);border-radius:18px;color:var(--foreground);background:var(--secondary);box-shadow:0 3px 0 var(--foreground)}.vocabulary-activity-symbol[data-tone=primary]{background:var(--primary)}.vocabulary-activity-symbol[data-tone=workspace]{background:var(--workspace)}.vocabulary-activity-symbol svg{flex-shrink:0}.vocabulary-activity-copy{min-width:0}.activity-list .vocabulary-activity-copy p{margin:0;line-height:1.55}.activity-list .vocabulary-activity-copy p+p{margin-top:var(--space-2)}@media(max-width:700px){.activity-list>.vocabulary-activity-card>.vocabulary-activity-layout{grid-template-columns:48px minmax(0,1fr);gap:var(--space-3)}.vocabulary-activity-symbol{width:48px;height:48px;border-radius:14px}.vocabulary-activity-symbol svg{width:26px;height:26px}}.word-ride{max-width:850px;margin:0 auto}.ride-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0}.ride-heading h1{margin:0;font-size:32px}.ride-heading p{margin:8px 0 0}.ride-panel{padding:20px}.ride-dashboard{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.ride-dashboard>span{display:flex;align-items:center;gap:7px}.ride-dashboard button{min-height:40px}.ride-prompt{text-align:center;padding:12px 16px;background:var(--highlight);border:1px solid var(--border);border-radius:12px;margin-bottom:16px}.ride-prompt>span{display:block;font-size:13px;color:var(--muted-foreground)}.ride-prompt>strong{display:block;font-size:26px;overflow-wrap:anywhere;margin-top:3px}.ride-road{height:430px;position:relative;overflow:hidden;border:8px solid #73a66b;border-radius:16px;background:#303d4a;touch-action:none;user-select:none;isolation:isolate}.ride-road-lines{position:absolute;inset:0;background:repeating-linear-gradient(180deg,#c4cfd7 0 24px,transparent 24px 50px) 33.333% 0/3px 50px repeat-y,repeating-linear-gradient(180deg,#c4cfd7 0 24px,transparent 24px 50px) 66.666% 0/3px 50px repeat-y}.is-riding .ride-road-lines{animation:ride-road-scroll .5s linear infinite}@keyframes ride-road-scroll{to{background-position:33.333% 50px,66.666% 50px}}.ride-lane{position:absolute;top:0;bottom:0;width:33.333%;padding:0;border:0;background:transparent;border-radius:0;cursor:pointer;z-index:3;box-shadow:none}.ride-lane:hover{background:rgb(255 255 255/4%)}.ride-road .ride-lane:focus-visible{outline:none;box-shadow:none}.ride-lane:disabled{opacity:1;cursor:default}.ride-answers{position:absolute;top:calc(12px + var(--ride-travel,0) * (100% - 142px));left:0;right:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 14px;pointer-events:none;z-index:2}.ride-answers>span{display:flex;align-items:center;justify-content:center;min-height:56px;padding:10px 6px;background:#fff8e6;color:#182332;border:2px solid #182332;border-radius:12px;box-shadow:0 4px 0 rgb(0 0 0/20%);font-size:clamp(12px,2vw,18px);font-weight:650;line-height:1.25;text-align:center;overflow-wrap:normal;word-break:normal;hyphens:none;max-height:110px;overflow:hidden}.ride-bike{position:absolute;bottom:12px;left:calc((var(--ride-lane,1) + .5) * 100% / 3);transform:translateX(-50%);transition:left .14s ease-out;width:56px;height:104px;pointer-events:none;z-index:2;filter:drop-shadow(0 6px 5px rgb(0 0 0/30%))}.ride-motorcycle{width:100%;height:100%;display:block}.ride-overlay{position:absolute;inset:0;background:rgb(24 35 50/94%);color:#fff;z-index:4;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:24px;gap:12px;overflow:auto}.ride-overlay h2{color:#fff;font-size:28px;margin:0}.ride-overlay p{color:#eef2f7;max-width:44ch;margin:0;font-size:15px;line-height:1.5}.ride-overlay button{margin-top:8px}.ride-error{margin-top:16px}.ride-error p{color:var(--error-foreground)}.ride-help{margin:16px 0 0;text-align:center}@media(max-width:600px){.ride-panel{padding:12px}.ride-road{height:390px;border-width:5px}.ride-answers{gap:5px;padding:0 8px}.ride-answers>span{padding:8px 4px}.ride-bike{width:48px;height:94px}.ride-dashboard{font-size:14px}.ride-heading h1{font-size:28px}}@media(prefers-reduced-motion:reduce){.is-riding .ride-road-lines{animation:none}.ride-bike{transition:none}}@media(max-width:600px){.ride-dashboard{display:grid;grid-template-columns:1fr auto auto;gap:8px}.ride-dashboard>span{gap:4px}.ride-dashboard>.secondary{padding:8px;font-size:12px;min-height:36px}}.ride-road .ride-prompt{position:absolute;bottom:0;left:0;right:0;z-index:2;margin:0;border-radius:0;border-width:1px 0 0;padding:8px 12px;pointer-events:none;min-height:68px}.ride-road .ride-prompt>strong{font-size:22px;line-height:1.3}.ride-road .ride-bike{bottom:84px}.ride-road .ride-answers{top:calc(12px + var(--ride-travel,0) * (100% - 214px))}@media(max-width:600px){.ride-road .ride-prompt>strong{font-size:20px}}.ride-road .ride-prompt{display:flex;align-items:center;justify-content:center;text-align:center}.ride-road .ride-prompt>strong{margin:0}.ride-answer-label{display:block;width:100%;min-width:0;text-align:center;overflow-wrap:normal;word-break:normal;hyphens:none}.ride-answer-word{white-space:nowrap}.cloud-flight{max-width:680px}.cloud-flight .ride-panel{padding:18px;background:var(--card)}.cloud-flight .ride-heading h1{font-size:32px}.cloud-flight .ride-dashboard{display:flex;flex-wrap:wrap}.cloud-flight .ride-dashboard>span{white-space:nowrap}.flight-sky{position:relative;height:560px;overflow:hidden;isolation:isolate;border:1px solid #8abed9;border-radius:20px;background:linear-gradient(180deg,#94d2f2,#c6e9fa 65%,#e5f5fc);touch-action:none;user-select:none;color:#173d57}.flight-sky:focus-visible{outline:3px solid var(--primary);outline-offset:3px}.flight-sun{position:absolute;right:12%;top:22px;width:66px;height:66px;border-radius:50%;background:#fff0ae;box-shadow:0 0 0 16px #fff2bf38,0 0 0 34px #fff2bf20}.flight-track{background:linear-gradient(0deg,#ffffff70,#ffffff20);border-inline:1px solid #ffffff70;transition:left .2s ease-out;pointer-events:none}.flight-sky .flight-lane,.flight-track{position:absolute;top:0;bottom:0;width:33.333%}.flight-sky .flight-lane{padding:0;background:transparent;border:0;border-radius:0;z-index:3;box-shadow:none}.flight-sky .flight-lane:disabled{opacity:1}.flight-sky .flight-lane:hover:not(:disabled){background:#ffffff1a}.flight-sky .flight-lane:focus-visible{outline:3px solid #286286;outline-offset:-4px;background:#ffffff30}.flight-answers{position:absolute;top:calc(36px + var(--ride-travel,0)*(100% - 228px));left:0;right:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 12px;pointer-events:none;z-index:2}.flight-answers>.ride-answer{position:relative;min-width:0;min-height:108px;padding:26px 15px 20px;display:flex;align-items:center;justify-content:center;background:none;color:#173d57;font-size:clamp(13px,2vw,18px);font-weight:700;line-height:1.35;text-align:center;isolation:isolate}.flight-answer-art{position:absolute;inset:0;display:block;width:100%;height:100%;z-index:-1;overflow:visible;filter:drop-shadow(0 5px 3px #427b9733)}.flight-answer-silhouette{fill:#fff;stroke:#c9e5f0;stroke-width:1.5;stroke-linejoin:round}.flight-answer-highlight{fill:none;stroke:#eef9ff;stroke-width:5;stroke-linecap:round}.flight-answers>.ride-answer[data-shape=asteroid]{color:#342e48}.flight-answers>.ride-answer[data-shape=asteroid] .flight-answer-art{filter:drop-shadow(0 0 8px #b8a3f32b)}.flight-answers>.ride-answer[data-shape=asteroid] .flight-answer-silhouette{fill:#d5c9e4;stroke:#9a8bae;stroke-width:2}.flight-answer-craters{fill:#ad9cbd;stroke:#9585a9;stroke-width:2;stroke-linecap:round}.flight-bird-visual{width:100%;height:100%;transform:rotate(var(--flight-bank,0deg)) scaleX(var(--flight-facing,1));transition:transform .18s ease-out}.flight-bird[data-direction=left]{--flight-bank:-16deg;--flight-facing:1}.flight-bird[data-direction=right]{--flight-bank:16deg;--flight-facing:-1}.flight-bird{position:absolute;left:calc((var(--ride-lane,1) + .5)*100%/3);bottom:38px;transform:translateX(-50%);width:74px;height:66px;z-index:2;transition:left .2s ease-out;pointer-events:none}.flight-bird .mascot{display:block;width:100%;height:100%;transform:rotate(8deg);filter:drop-shadow(0 7px 4px #427b9733)}.is-riding .flight-bird .mascot{animation:flight-flap .6s ease-in-out infinite alternate}.flight-word{left:calc(100% + 6px);top:50%;transform:translateY(-50%);width:clamp(80px,25vw,148px);padding:9px 10px;color:#173d57;border:1px solid #ddc878;border-radius:14px;box-shadow:0 3px 0 #427b971a;text-align:center}.flight-word,.flight-word:before{position:absolute;background:#fff6cc}.flight-word:before{content:"";left:-5px;top:calc(50% - 5px);width:8px;height:8px;border-left:1px solid #ddc878;border-bottom:1px solid #ddc878;transform:rotate(45deg)}.flight-bird[data-lane="2"] .flight-word{left:auto;right:calc(100% + 6px)}.flight-bird[data-lane="2"] .flight-word:before{left:auto;right:-5px;transform:rotate(225deg)}.cloud-flight .flight-word>strong{display:block;font-size:20px;line-height:1.25;overflow-wrap:anywhere;text-align:center}.flight-timer{overflow:hidden;height:4px;margin-top:10px;border-radius:4px;background:#9bc8e430}.flight-timer>span{display:block;width:100%;height:100%;background:#3986b5;transform-origin:left}.flight-sky .ride-overlay{background:#eef8ffed;color:#173d57;backdrop-filter:blur(6px);gap:14px}.flight-sky .ride-overlay h2{color:#173d57;font-size:30px}.flight-sky .ride-overlay p{color:#35566c}.flight-welcome-bird{width:104px;height:84px;flex-shrink:0}.cloud-flight .ride-help{line-height:1.5;font-size:13px}@keyframes flight-flap{0%{transform:rotate(4deg) scaleY(.94)}to{transform:rotate(-4deg) scaleY(1.04)}}@media(max-width:600px){.cloud-flight .ride-panel{padding:10px}.cloud-flight .ride-heading{align-items:flex-start}.cloud-flight .ride-heading h1{font-size:28px}.cloud-flight .ride-heading p{font-size:14px;line-height:1.5}.flight-sky{height:470px;border-radius:16px}.flight-bird{width:52px;height:48px;bottom:40px}.flight-word{padding:8px 6px;width:clamp(76px,23vw,120px)}.cloud-flight .flight-word>strong{font-size:16px}.flight-answers{gap:7px;padding:0 7px;top:calc(30px + var(--ride-travel,0)*(100% - 206px))}.flight-answers>.ride-answer{padding:19px 8px 15px;min-height:84px;font-size:13px}.flight-sky .ride-overlay{padding:18px;gap:12px}.flight-sky .ride-overlay h2{font-size:26px}.flight-welcome-bird{width:86px;height:70px}}@media(prefers-reduced-motion:reduce){.is-riding .flight-bird .mascot{animation:none}.flight-bird,.flight-track{transition:none}}.flight-altitude{justify-content:space-between;flex-wrap:wrap;gap:8px;margin:-4px 0 12px;font-size:13px}.flight-altitude,.flight-stage{display:flex;align-items:center}.flight-stage{gap:7px;font-weight:650}.flight-stage-dot{width:9px;height:9px;border-radius:50%;background:#6e9e4d}.flight-stage-dot[data-stage=clouds]{background:#4b9ecb}.flight-stage-dot[data-stage=atmosphere]{background:#7169ba}.flight-stage-dot[data-stage=space]{background:#a478d4;box-shadow:0 0 0 3px #a478d420}.flight-height{color:var(--muted-foreground)}.flight-height strong{font-weight:650;color:var(--foreground)}.flight-ascent-meter{height:4px;flex-basis:100%;overflow:hidden;border-radius:4px;background:#9bc8e430}.flight-ascent-meter>span{display:block;height:100%;background:linear-gradient(90deg,#7ab160,#55a9dc,#8970c5);border-radius:inherit;transition:width 1.2s ease-out}.flight-sky{background:radial-gradient(ellipse at 20% 10%,#343369 0,#141d40 45%,#050d22 100%)}.flight-sky:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#94d2f2,#c6e9fa 65%,#e5f5fc);pointer-events:none}.flight-sky:before,.flight-sun{opacity:var(--flight-daylight,1);transition:opacity 1.4s ease-out}.flight-stars{inset:0;opacity:var(--flight-starlight,0);background:radial-gradient(circle at 15px 24px,#ffffffde 0 1px,transparent 1.7px) 0 0/89px 123px,radial-gradient(circle at 40px 61px,#b8d7ff 0 1.3px,transparent 2px) 0 0/147px 173px,radial-gradient(circle at 77px 30px,#ffe7b8 0 1px,transparent 1.8px) 0 0/207px 149px}.flight-planet,.flight-stars{position:absolute;transition:opacity 1.4s ease-out;pointer-events:none}.flight-planet{right:9%;top:24%;width:68px;height:68px;border-radius:50%;background:radial-gradient(circle at 30% 28%,#d9cbea,#9f8ac2 58%,#534777 100%);box-shadow:inset -9px -5px 0 #312a5629,0 0 24px #cab5ff20;opacity:var(--flight-orbit,0)}.flight-planet:before{content:"";position:absolute;inset:16px 29px 31px 13px;border-radius:50%;background:#7d6eab66;box-shadow:24px 17px 0 -3px #7d6eab66,1px 29px 0 -4px #7d6eab66}.flight-earth{left:-35%;right:-35%;bottom:-220px;height:300px;border-radius:50%;border-top:7px solid #a5e8ff;background:radial-gradient(ellipse at 45% 0,#60bca9 0 8%,#2877aa 15%,#153b70 45%,#0c2346 75%);box-shadow:0 -8px 25px #71c8ff80,0 -2px 4px #e0f6ff;opacity:var(--flight-orbit,0);transition:opacity 1.4s ease-out}.flight-earth,.flight-landscape{position:absolute;pointer-events:none}.flight-landscape{inset:auto 0 0;height:160px;opacity:var(--flight-ground,1);transform:translateY(calc(var(--flight-ascent,0)*280px));transition:transform 1.4s ease-out,opacity 1.4s ease-out}.flight-mountains{position:absolute;left:-10%;right:-10%;bottom:24px;height:125px;background:#86b9b6;clip-path:polygon(0 100%,14% 32%,24% 64%,39% 9%,56% 72%,70% 23%,87% 62%,100% 28%,100% 100%)}.flight-hills{position:absolute;left:-15%;right:-15%;bottom:0;height:100px;border-radius:45% 75% 0 0;background:#86b879;transform:rotate(-6deg)}.flight-hills:after{content:"";position:absolute;inset:30px -10px -20px 35%;border-radius:70% 50% 0 0;background:#a6cc8a;transform:rotate(12deg)}.flight-grass{position:absolute;left:0;right:0;bottom:0;height:42px;border-top:6px solid #83af55;background:linear-gradient(#b8d985,#9cc56e)}.flight-tree{position:absolute;left:7%;bottom:34px;width:10px;height:53px;border-radius:3px;background:#866947}.flight-tree:before{content:"";position:absolute;left:-22px;top:-32px;width:54px;height:60px;border-radius:50% 50% 42% 42%;background:#5f9c6a;box-shadow:15px -9px 0 -5px #77ae77}.flight-bird[data-airborne=false] .mascot{animation:none;transform:none}.flight-sky[data-stage=ground] .ride-overlay{background:linear-gradient(#eef8ffc9,#eef8ffed 65%,#eef8ff00);backdrop-filter:none}.flight-sky[data-stage=space] .ride-overlay{background:#0a1733ce;color:#fff}.flight-sky[data-stage=space] .ride-overlay h2{color:#fff}.flight-sky[data-stage=space] .ride-overlay p{color:#e0e8ff}.flight-sky[data-stage=space] .flight-track{background:linear-gradient(0deg,#91a5ef20,#91a5ef08);border-color:#b6c9ff20}@media(max-width:600px){.flight-altitude{font-size:12px;gap:7px}.flight-planet{width:49px;height:49px}}@media(prefers-reduced-motion:reduce){.flight-ascent-meter>span,.flight-bird-visual,.flight-earth,.flight-landscape,.flight-planet,.flight-sky:before,.flight-stars,.flight-sun{transition:none}}.deleted-lessons{margin-top:var(--space-4)}.deleted-lessons>summary{display:flex;align-items:center;gap:var(--space-2);min-height:44px;padding:0;list-style:none;font-size:inherit;font-weight:600;line-height:1.4;letter-spacing:-.025em;cursor:pointer}.deleted-lessons>summary::-webkit-details-marker{display:none}.deleted-lessons>summary svg{flex-shrink:0;rotate:-90deg}.deleted-lessons[open]>summary svg{rotate:0deg}.main.class-workspace{background:var(--workspace)}.class-workspace main{max-width:1120px}.class-workspace .crumb{margin-bottom:16px;color:var(--muted-foreground)}.class-workspace .class-banner{padding:24px 28px 12px;background:color-mix(in srgb,var(--workspace) 22%,white);border:1px solid color-mix(in srgb,var(--workspace) 35%,var(--border));border-radius:18px}.class-workspace .class-title{gap:12px}.class-workspace .class-title h1{font-size:2rem;line-height:1.2;letter-spacing:-.04em}.class-workspace .class-title-actions{margin-inline-start:auto}.class-workspace .students-section{margin:12px 0 0;border-top:1px solid rgb(27 27 27/10%);padding-top:4px}.class-workspace .students-heading h2{font-size:1rem;font-weight:600}.class-workspace .students-toggle .students-toggle-icon{font-size:11px;width:14px}.class-workspace .lesson-schedule{margin:20px 0 28px;padding:20px 24px;border:1px solid var(--border);border-radius:16px;background:var(--card)}.class-workspace .scheduled-lesson-heading{margin-bottom:8px}.class-workspace .scheduled-lesson-heading h2{padding:0;font-size:1.05rem;letter-spacing:-.02em}.class-workspace .scheduled-lesson-heading>.primary{font-size:.875rem;padding:10px 14px}.class-workspace .lesson-schedule>h2{font-size:1rem}.class-workspace .lesson-schedule summary{font-size:.875rem;color:var(--muted-foreground)}.class-workspace .class-section-header{display:flex;justify-content:space-between;gap:16px;margin:0 0 20px}.class-workspace .class-section-header>[data-slot=tabs]{width:auto;flex:0 1 auto}.class-workspace .class-tabs{margin:0;background:transparent;border:0;padding:0;gap:4px}.class-workspace .class-tabs [role=tab]{padding:10px 18px}.class-workspace .class-tabs [role=tab][data-state=active]{background:var(--foreground);color:var(--card)}.class-workspace .class-section-header>.primary{font-size:.9375rem;padding:12px 20px}.class-workspace .lesson-list-row{min-height:104px;margin:12px 0;padding:20px 72px 20px 20px;border:1px solid var(--border);border-radius:16px;box-shadow:0 2px 6px rgb(27 27 27/3%);gap:20px}.class-workspace .lesson-list-row:has(.lesson-link:is(:hover,:focus-visible)){transform:none;border-color:var(--foreground)}.class-workspace .lesson-list-icon{height:48px;flex-basis:48px;background:color-mix(in srgb,var(--workspace) 16%,white);border-radius:12px}.class-workspace .lesson-list-copy{display:grid;gap:5px;text-align:start;min-width:0}.class-workspace .lesson-list-row h2,.class-workspace .lesson-list-subtitle{font-size:1.05rem;line-height:1.45}.class-workspace .lesson-level{display:inline-block;vertical-align:middle;margin-inline-start:10px;padding:2px 7px;background:var(--muted);border-radius:6px;font-size:.75rem;font-weight:500}.class-workspace .lesson-list-row .lesson-actions{align-self:center;gap:16px}.class-workspace .lesson-visibility{font-size:.8125rem;gap:8px}.class-workspace .lesson-visibility input{appearance:none;width:32px;height:20px;min-width:32px;border:1px solid var(--border);border-radius:20px;background:#e4e3df;position:relative;cursor:pointer}.class-workspace .lesson-visibility input:before{content:"";position:absolute;width:14px;height:14px;top:2px;left:2px;border-radius:50%;background:white;box-shadow:0 1px 2px #0002}.class-workspace .lesson-visibility input:checked{background:var(--foreground);border-color:var(--foreground)}.class-workspace .lesson-visibility input:checked:before{left:14px}.class-workspace .lesson-visibility input:focus-visible{outline:3px solid var(--ring);outline-offset:3px}.class-workspace .lesson-visibility input:disabled{opacity:.5;cursor:wait}.class-workspace .lesson-actions .action-menu-trigger{background:transparent;border-color:transparent;box-shadow:none;padding:10px}.class-workspace .lesson-open-arrow{top:50%;transform:translateY(-50%)}.class-workspace .deleted-lessons{margin-top:24px;color:var(--muted-foreground)}.class-workspace .deleted-lessons>summary{font-size:.875rem;font-weight:400}@media(max-width:700px){.class-workspace main{padding:20px 16px}.class-workspace .class-banner{padding:20px 16px 8px}.class-workspace .class-title h1{font-size:1.65rem}.class-workspace .lesson-schedule{padding:16px;margin:16px 0 24px}.class-workspace .scheduled-lesson-heading{gap:12px}.class-workspace .class-section-header{flex-wrap:wrap}.class-workspace .class-tabs [role=tab]{padding:10px 12px}.class-workspace .lesson-list-row{padding:16px 52px 16px 16px;gap:16px}.class-workspace .lesson-list-row .lesson-actions{align-self:flex-start;margin-inline-start:64px;flex-wrap:wrap;gap:8px}.class-workspace .lesson-list-row .lesson-link{gap:16px}.class-workspace .lesson-open-arrow{right:8px;top:18px;transform:none}}@media(min-width:701px) and (max-width:1100px){.class-workspace .lesson-list-row{flex-wrap:wrap}.class-workspace .lesson-list-row .lesson-link{flex-basis:100%}.class-workspace .lesson-list-row .lesson-actions{margin-inline-start:64px;flex-wrap:wrap}}.lesson-schedule{margin:var(--space-5) 0}.lesson-schedule:empty{display:none}.scheduled-lesson-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap;margin-bottom:var(--space-4)}.scheduled-lesson-heading h2{margin:0;padding-inline-start:30px;font-size:1.75rem}.scheduled-lesson-list{display:grid}.scheduled-lesson-upcoming{margin-top:var(--space-2)}.lesson-schedule .scheduled-lesson-upcoming>summary{display:flex;align-items:center;gap:var(--space-2);min-height:44px;margin:0;list-style:none;font-size:1rem;font-weight:600;color:var(--foreground);cursor:pointer}.class-workspace .lesson-schedule .scheduled-lesson-upcoming>summary{font-size:1rem;color:var(--foreground)}.scheduled-lesson-upcoming>summary::-webkit-details-marker{display:none}.scheduled-lesson-upcoming>summary>svg{flex-shrink:0;rotate:-90deg}.scheduled-lesson-upcoming[open]>summary>svg{rotate:0deg}.scheduled-lesson-upcoming>.notice{margin:var(--space-2) 0;font-size:.875rem}.scheduled-lesson-zone{margin-bottom:0}.lesson-schedule .field{display:grid;gap:var(--space-2)}.lesson-date-time{min-width:0;padding:0;border:0;margin:var(--space-4) 0}.lesson-date-time legend{margin-bottom:var(--space-2);font-weight:600}.lesson-date-trigger{width:100%;justify-content:space-between;text-align:start}.lesson-date-trigger .button-content,.lesson-date-trigger .button-label{width:100%}.lesson-date-trigger .button-label{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.lesson-date-calendar{width:100%;max-width:320px;margin:var(--space-3) 0;border:1px solid var(--border);border-radius:var(--radius-card);--cell-size:40px}.lesson-time-controls{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:var(--space-2)}.lesson-time-controls .field{margin-bottom:0}.lesson-time-controls select{width:100%;min-width:0;min-height:44px}.lesson-time-colon{align-self:end;padding-bottom:var(--space-3);font-weight:700}@media(max-width:700px){.scheduled-lesson-heading{align-items:flex-start}}.lesson-agenda-row{display:grid;grid-template-columns:96px minmax(0,1fr) 44px;align-items:start;gap:var(--space-2) var(--space-4);padding:var(--space-4) 0;border:0;border-top:1px solid var(--border);border-radius:0;background:transparent;min-width:0}.lesson-list-date{display:grid;gap:var(--space-1);padding-top:2px;min-width:0;font-variant-numeric:tabular-nums}.lesson-list-day{font-size:.75rem;line-height:1.5;color:var(--muted-foreground)}.lesson-list-clock{font-size:1rem;font-weight:600;line-height:1.4;color:var(--foreground)}.scheduled-lesson-card{grid-template-columns:136px minmax(0,1fr) 44px}.lesson-agenda-timing{grid-row:1/span 2;display:grid;align-content:start;gap:var(--space-2);min-width:0}.lesson-agenda-timing .lesson-payment-status{margin:0}.lesson-agenda-timing .lesson-payment-student>.notice,.lesson-agenda-timing .lesson-payment-student>strong{width:100%}.lesson-agenda-timing .status-label{max-width:100%;white-space:normal;overflow-wrap:anywhere}.lesson-agenda-details{min-width:0}.lesson-agenda-details h3{margin:0;font-size:1rem;line-height:1.45;overflow-wrap:anywhere}.lesson-agenda-details .lesson-agenda-meta{margin:var(--space-1) 0 0;font-size:.8125rem;line-height:1.6;color:var(--muted-foreground);overflow-wrap:anywhere}.lesson-agenda-details .lesson-agenda-hint{margin:var(--space-2) 0 0;font-size:.8125rem;line-height:1.5}.lesson-agenda-more{grid-column:3;grid-row:1;justify-self:end}.lesson-agenda-more .action-menu-trigger{min-width:44px;min-height:44px;padding:0;background:transparent;border-color:transparent;box-shadow:none}.lesson-agenda-actions{grid-column:2/-1;display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-2) var(--space-4);min-width:0}.lesson-agenda-actions>button{display:inline-flex;align-items:center;gap:var(--space-2);max-width:100%;min-height:44px;font-size:.8125rem;white-space:normal}.lesson-agenda-actions>.primary{padding:8px 12px}.lesson-agenda-row[data-cancelled=true]{background:transparent}@media(max-width:600px){.lesson-agenda-row{grid-template-columns:minmax(0,1fr) 44px;gap:var(--space-2) var(--space-3)}.lesson-agenda-timing{grid-column:1;grid-row:1;align-self:center}.lesson-list-date{grid-column:1;display:flex;align-items:baseline;flex-wrap:wrap;gap:var(--space-2);align-self:center}.lesson-list-clock{font-size:.875rem}.lesson-agenda-more{grid-column:2}.lesson-agenda-actions,.lesson-agenda-details{grid-column:1/-1}}.lesson-history{margin:var(--space-6) 0 0;min-width:0}.lesson-history-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-1)}.lesson-history-heading h2{display:flex;align-items:center;gap:var(--space-2);margin:0;font-size:20px}.lesson-history-heading h3{margin:0;font-size:inherit}.lesson-history-heading button{display:flex;align-items:center;gap:var(--space-2)}.lesson-history-heading .lesson-history-toggle{padding:0;min-height:44px;font-size:inherit;font-weight:600;justify-content:flex-start}.lesson-history-heading .lesson-history-refresh{justify-content:center;min-width:44px;min-height:44px;padding:0;color:var(--muted-foreground)}.lesson-history-list{display:grid;margin:0 0 var(--space-3)}.lesson-history>div>.notice{font-size:14px;line-height:1.5}.lesson-history .feedback p{margin:0 0 var(--space-2)}.lesson-schedule .lesson-history{margin-top:var(--space-4)}