.opt-list,.q-edit{display:flex;flex-direction:column}.opt-list{gap:8px}.opt{display:flex;align-items:center;gap:9px;padding:8px 10px;border:1.5px solid var(--line-strong);border-radius:10px;background:var(--ivory);transition:.2s}.opt.correct{border-color:var(--ok);background:rgba(63,122,79,.06)}.opt.selected{border-color:var(--gold-2);background:rgba(212,175,55,.07)}.opt-radio{width:24px;height:24px;border-radius:50%;flex-shrink:0;border:1.5px solid var(--line-strong);background:#fff;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;cursor:pointer;transition:.15s;padding:0}.opt.correct .opt-radio{background:var(--ok);border-color:var(--ok)}.opt.selected .opt-radio{background:var(--gold-2);border-color:var(--gold-2)}.opt-radio:disabled{cursor:default}.opt-inp{flex:1 1;min-width:0;border:none;background:none;font-size:14px;color:var(--ink);padding:4px 2px}.opt-inp:focus{outline:none}.opt-inp::placeholder{color:var(--ink-soft);opacity:.6}.opt-del,.opt-inp:disabled{color:var(--ink-soft)}.opt-del{width:22px;height:22px;border-radius:50%;flex-shrink:0;border:none;background:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.15s;padding:0}.opt-del:hover{color:var(--err)}.opt-add{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;border:1.5px dashed var(--line-strong);border-radius:10px;background:none;color:var(--ink-soft);font-size:13px;font-weight:500;cursor:pointer;transition:.2s}.opt-add:hover{border-color:var(--gold-2);color:var(--gold-2)}.edit-foot{gap:12px;flex-wrap:wrap;padding-top:14px;margin-top:4px;border-top:1px solid var(--line)}.edit-foot,.pts-box{display:flex;align-items:center}.pts-box{gap:6px}.pts-box input{width:56px;text-align:center;font-family:JetBrains Mono,monospace;font-size:16px;font-weight:600;color:var(--ink);border:1.5px solid var(--line-strong);border-radius:9px;padding:8px 4px;background:var(--ivory)}.pts-box input:focus{outline:none;border-color:var(--gold-2);background:#fff}.pts-box small{font-size:11px;color:var(--ink-soft)}.seg{display:flex;gap:2px;padding:3px;background:var(--ivory-3);border-radius:10px;border:1px solid var(--line-strong)}.seg button{padding:6px 12px;border-radius:8px;border:none;background:none;font-size:11px;font-weight:600;color:var(--ink-soft);cursor:pointer;transition:.15s;white-space:nowrap}.seg button.on{background:var(--obsidian);color:var(--ivory)}.seg button:disabled{cursor:default}.correct-hint{font-size:12px;color:var(--ok);margin-top:10px}.band-row{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin-top:8px}.band{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 14px;border:1px solid var(--line-strong);border-radius:10px;background:var(--ivory);min-width:64px}.band small{font-size:10px;color:var(--ink-soft);letter-spacing:.04em}.ord-pos{width:22px;height:22px;border-radius:50%;align-items:center;justify-content:center;font-family:JetBrains Mono,monospace;font-size:11px;font-weight:700;background:var(--gold);color:var(--obsidian)}.ord-moves,.ord-pos{flex-shrink:0;display:flex}.ord-moves{gap:2px}.ord-move{width:22px;height:22px;border-radius:6px;border:1px solid var(--line-strong);background:#fff;color:var(--ink-soft);cursor:pointer;font-size:11px;display:flex;align-items:center;justify-content:center;padding:0;transition:.15s}.ord-move:hover:not(:disabled){border-color:var(--gold-2);color:var(--gold-2)}.ord-move:disabled{opacity:.35;cursor:default}.match-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px}.match-col{display:flex;flex-direction:column;gap:8px}.match-col-title{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft)}.match-pairs{display:flex;flex-direction:column;gap:8px;margin-top:6px}.match-pair-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.match-pair-label{min-width:96px;font-size:13px;font-weight:500;color:var(--ink);padding:6px 10px;background:var(--ivory);border-radius:8px;flex-shrink:0}.match-chip-row{display:flex;gap:6px;flex-wrap:wrap}.match-chip{padding:6px 11px;border-radius:99px;border:1.5px solid var(--line-strong);background:#fff;color:var(--ink-soft);font-size:12px;cursor:pointer;transition:.15s}.match-chip:hover:not(:disabled){border-color:var(--gold-2)}.match-chip.on{background:var(--ok);border-color:var(--ok);color:#fff}.match-chip:disabled{cursor:default}.pts-inline{width:52px;text-align:center;font-family:JetBrains Mono,monospace;font-size:13px;font-weight:600;color:var(--ink);flex-shrink:0;border:1.5px solid var(--line-strong);border-radius:8px;padding:6px 2px;background:var(--ivory)}.pts-inline:focus{outline:none;border-color:var(--gold-2);background:#fff}.tag-list{flex-wrap:wrap}.tag-chip,.tag-list{display:flex;gap:6px;align-items:center}.tag-chip{padding:5px 6px 5px 11px;border-radius:99px;background:var(--ivory);border:1px solid var(--line-strong);font-size:12px;color:var(--ink)}.tag-chip button{width:16px;height:16px;border-radius:50%;border:none;background:none;color:var(--ink-soft);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:10px;padding:0;line-height:1}.tag-chip button:hover{color:var(--err)}.tag-chip .tag-chip-text{width:auto;height:auto;border-radius:0;font-size:inherit;color:inherit;cursor:text;padding:0;justify-content:flex-start;gap:4px}.tag-chip .tag-chip-text:hover{color:var(--ink);-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.tag-chip--primary{background:rgba(212,175,55,.16);border-color:var(--gold-2)}.tag-chip--locked{padding-right:11px;cursor:default}.tag-input{border:1.5px dashed var(--line-strong);border-radius:99px;padding:5px 12px;font-size:12px;min-width:130px;background:none;color:var(--ink)}.tag-input:focus{outline:none;border-color:var(--gold-2)}.tag-input::placeholder{color:var(--ink-soft);opacity:.7}.hotspot-canvas{position:relative;display:inline-block;max-width:100%;cursor:crosshair;border-radius:10px;overflow:hidden;border:1px solid var(--line-strong)}.hotspot-canvas img{display:block;width:auto;max-width:100%;height:auto;max-height:min(70vh,640px);-webkit-user-select:none;-moz-user-select:none;user-select:none}.hotspot-canvas.is-editing{overflow:visible;cursor:default}.hotspot-canvas.is-editing img{border-radius:10px}.hotspot-canvas.is-drawing{cursor:crosshair}.hotspot-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.hotspot-canvas.is-drawing .hotspot-svg{pointer-events:none}.hotspot-poly{fill:rgba(201,162,75,.22);stroke:var(--gold-2);stroke-width:2;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .12s}.hotspot-poly:hover{fill:rgba(201,162,75,.34)}.hotspot-poly.is-selected{fill:rgba(201,162,75,.38);stroke-width:3}.hotspot-draft{fill:none;stroke:var(--gold-2);stroke-width:2;stroke-dasharray:6 4;vector-effect:non-scaling-stroke;pointer-events:none}.hotspot-poly-num{pointer-events:none;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--obsidian);color:var(--ivory);font-family:JetBrains Mono,monospace;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}.hotspot-poly-num,.hotspot-vertex{position:absolute;transform:translate(-50%,-50%)}.hotspot-vertex{width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid var(--gold-2);cursor:-webkit-grab;cursor:grab;touch-action:none;z-index:2}.hotspot-vertex:after{content:"";position:absolute;inset:-9px;border-radius:50%}.hotspot-vertex:focus-visible,.hotspot-vertex:hover{background:var(--gold-light);outline:none;box-shadow:0 0 0 3px rgba(168,132,47,.35)}.hotspot-vertex.is-dragging{cursor:-webkit-grabbing;cursor:grabbing;background:var(--gold);box-shadow:0 0 0 4px rgba(168,132,47,.4)}.hotspot-vertex--mid{width:10px;height:10px;opacity:.65;border-style:dashed;background:hsla(0,0%,100%,.7)}.hotspot-vertex--mid:hover{opacity:1}.hotspot-vertex--draft{pointer-events:none;cursor:default}.hotspot-vertex--draft.is-closing{width:18px;height:18px;background:var(--gold-light);border-color:var(--obsidian);pointer-events:none}.hotspot-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.hotspot-areas{display:flex;flex-direction:column;gap:6px;margin-top:10px}.hotspot-area{display:flex;align-items:center;gap:12px;padding:6px 12px;min-height:40px;border:1px solid var(--line-strong);border-radius:10px;background:#fff;cursor:pointer}.hotspot-area.is-selected{border-color:var(--gold-2);background:var(--ivory-2)}.hotspot-area-name{font-weight:600;min-width:90px}.hotspot-area .btn{margin-left:auto}.hotspot-dot{position:absolute;transform:translate(-50%,-50%);border:2px solid var(--gold);border-radius:50%;background:rgba(212,175,55,.18);min-width:18px;min-height:18px}.hotspot-dot-del{top:-9px;right:-9px;width:16px;height:16px;border-radius:50%;border:none;font-size:9px;cursor:pointer;padding:0}.hotspot-dot-del,.label-anchor{position:absolute;background:var(--obsidian);color:var(--ivory);display:flex;align-items:center;justify-content:center}.label-anchor{transform:translate(-50%,-50%);width:22px;height:22px;border-radius:50%;border:2px solid var(--gold);font-family:JetBrains Mono,monospace;font-size:11px;font-weight:700}.label-anchor button{position:absolute;top:-9px;right:-9px;width:16px;height:16px;border-radius:50%;border:none;background:var(--err);color:#fff;font-size:9px;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}.q-errors{margin:10px 0 4px;display:flex;flex-direction:column;gap:5px}.q-error{display:flex;align-items:flex-start;gap:7px;font-size:11.5px;color:var(--err);background:rgba(155,52,52,.08);border-radius:8px;padding:7px 10px;line-height:1.35}.q-error>svg{flex-shrink:0;margin-top:1px}.sub-select{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ink-soft);margin-top:10px}.sub-select .ui-select{flex:1 1}.sub-select input[type=checkbox],.sub-select input[type=radio],input.check[type=checkbox],input.check[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex-shrink:0;width:16px;height:16px;margin:0;border:1.5px solid var(--line-strong);border-radius:4px;background:#fff 50%/12px 12px no-repeat;cursor:pointer;transition:background-color .15s,border-color .15s}.sub-select input[type=radio],input.check[type=radio]{border-radius:50%;background-size:16px 16px}.sub-select input[type=checkbox]:hover:not(:disabled),.sub-select input[type=radio]:hover:not(:disabled),input.check[type=checkbox]:hover:not(:disabled),input.check[type=radio]:hover:not(:disabled){border-color:var(--gold-2)}.sub-select input[type=checkbox]:checked,.sub-select input[type=radio]:checked,input.check[type=checkbox]:checked,input.check[type=radio]:checked{background-color:var(--gold-2);border-color:var(--gold-2)}.sub-select input[type=checkbox]:checked,input.check[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12.5 10 17.5 19 7'/%3E%3C/svg%3E")}.sub-select input[type=radio]:checked,input.check[type=radio]:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5' fill='%23fff'/%3E%3C/svg%3E")}.sub-select input[type=checkbox]:focus-visible,.sub-select input[type=radio]:focus-visible,input.check[type=checkbox]:focus-visible,input.check[type=radio]:focus-visible{outline:2px solid var(--gold-2);outline-offset:2px}.sub-select input[type=checkbox]:disabled,.sub-select input[type=radio]:disabled,input.check[type=checkbox]:disabled,input.check[type=radio]:disabled{opacity:.5;cursor:default}.row3{display:grid;grid-template-columns:1fr 1fr 1fr;grid-gap:8px;gap:8px}.mini-field{display:flex;flex-direction:column;gap:4px}.mini-field>span{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft)}.band-edit{display:flex;align-items:center;justify-content:center;font-family:JetBrains Mono,monospace}.band-edit,.band-edit input{font-size:14px;color:var(--gold-2)}.band-edit input{width:44px;border:none;background:none;font-family:inherit;text-align:center}.band-edit input:focus{outline:none}.muted-band{opacity:.6}.muted-band b{font-family:JetBrains Mono,monospace;font-size:14px;color:var(--ink-soft)}.constructor{display:grid;grid-template-columns:236px 1fr;grid-gap:20px;gap:20px;align-items:start}.constructor--solo{grid-template-columns:1fr}.type-rail{position:-webkit-sticky;position:sticky;top:12px;max-height:calc(100dvh - 32px);overflow-y:auto}@media (max-width:900px){.constructor{grid-template-columns:minmax(0,1fr)}.type-rail{position:static;max-height:210px}.constructor .row-between{flex-wrap:wrap}.sub-select .ui-select{min-width:0}}.type-rail::-webkit-scrollbar{width:6px}.type-rail::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:99px}.rail-group{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-soft);margin:12px 0 6px}.rail-group:first-child{margin-top:0}.rail-item{display:block;width:100%;text-align:left;padding:7px 10px;margin-bottom:3px;border:1px solid transparent;border-radius:9px;background:none;cursor:pointer;font-size:12.5px;color:var(--ink);transition:.15s;line-height:1.3}.rail-item:hover{border-color:var(--gold-2);background:var(--ivory)}.rail-item small{display:block;color:var(--ink-soft);font-size:11px;margin-top:2px}.q-grip{cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:3px 5px;border-radius:6px;color:var(--ink-soft);display:inline-flex;align-items:center;transition:background .15s,color .15s}.q-grip:hover{background:var(--ivory-3);color:var(--ink)}.q-grip:active{cursor:-webkit-grabbing;cursor:grabbing}.q-card.dragging{opacity:.4}.q-card{position:relative}.q-card.drop-after:after,.q-card.drop-before:before{content:"";position:absolute;left:0;right:0;height:4px;border-radius:99px;background:var(--gold);box-shadow:0 0 0 3px rgba(206,159,91,.28);pointer-events:none;z-index:3}.q-card.drop-before:before{top:-9px}.q-card.drop-after:after{bottom:-9px}.members-body{max-width:520px}.editable-title{width:100%;font-family:Cormorant Garamond,Georgia,serif;font-weight:500;color:var(--ink);border:1px dashed var(--line-strong);border-radius:8px;background-color:var(--ivory-2);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6354' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:15px 15px;background-position:right 12px center;transition:background-color .15s,border-color .15s}.editable-title:hover{border-style:solid;background-color:#fff}.editable-title:focus{outline:none;border:1px solid var(--gold);background-color:#fff}.editable-title::placeholder{color:var(--ink-soft);font-style:italic;font-weight:400}.set-title-row{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px;margin-bottom:18px}.editable-title--set{flex:1 1 320px;min-width:0;font-size:24px;line-height:1.2;padding:2px 40px 2px 12px}.editable-title--section{flex:1 1;min-width:0;font-size:20px;line-height:1.2;padding:4px 36px 4px 10px}.sec-head,.sec-head>.row{align-items:stretch}@media (max-width:900px){.editable-title--section{flex-basis:100%}}.rail-item{cursor:-webkit-grab;cursor:grab}.rail-item:active{cursor:-webkit-grabbing;cursor:grabbing}.card.section-droppable{border:1px dashed var(--line-strong)}.card.section-drop-over{border:1px solid var(--gold);background:var(--ivory)}.card.section-drop-over,.q-drop-line{box-shadow:0 0 0 3px rgba(206,159,91,.18)}.q-drop-line{height:3px;border-radius:99px;background:var(--gold);margin:2px 0}.round-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:8px;gap:8px;list-style:none;margin:0 0 16px;padding:0}.round-step{display:flex;flex-direction:column;gap:4px;padding:10px 12px;background:var(--ivory-2);border:1px solid var(--line);border-radius:12px}.round-step-head{gap:8px;font-size:13px;font-weight:600}.round-step-head,.round-step-mark{display:flex;align-items:center;color:var(--ink-soft)}.round-step-mark{width:20px;height:20px;border-radius:50%;flex-shrink:0;justify-content:center;font-size:11px;font-weight:700;border:1.5px solid var(--line-strong);background:#fff}.round-step-detail{font-size:12px;color:var(--ink-soft);line-height:1.35}.round-step.done .round-step-mark{background:var(--ok);border-color:var(--ok);color:#fff}.round-step.done .round-step-head{color:var(--ink)}.round-step.current{border-color:var(--gold-2);background:rgba(212,175,55,.08)}.round-step.current .round-step-mark{background:var(--gold-2);border-color:var(--gold-2);color:#fff}.round-step.current .round-step-head{color:var(--obsidian)}@media(max-width:720px){.round-steps{grid-template-columns:1fr}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.match-board{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);align-items:start}.match-board-col{display:flex;flex-direction:column;gap:10px;position:relative;z-index:2}.match-board-lane{min-width:0}.match-board-hint{margin:0 0 10px;font-size:12px}.match-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1}.match-line{stroke:var(--gold-2);stroke-width:2.5;stroke-linecap:round;fill:none}.match-line.dragging{stroke-dasharray:5 6;opacity:.75}.match-line-hit{stroke:transparent;stroke-width:22;stroke-linecap:round;pointer-events:stroke;cursor:pointer}.match-line-hit:hover+.match-line{stroke:var(--err);stroke-width:3.5}.match-node{display:flex;align-items:center;gap:6px;position:relative;min-height:48px;padding:6px 10px;background:#fff;border:1.5px solid var(--line-strong);border-radius:12px;transition:border-color .15s,background-color .15s,box-shadow .15s}.match-node:hover:not(.is-disabled){border-color:var(--gold-2)}.match-node.linked{border-color:var(--gold)}.match-node.active{border-color:var(--gold-2);background:rgba(201,162,75,.16);box-shadow:0 0 0 3px rgba(201,162,75,.28)}.match-node.is-disabled{opacity:1}.match-node-hit{flex:1 1;min-width:0;cursor:pointer;display:flex;align-items:center;padding:4px 2px;border-radius:8px;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;user-select:none}.match-node.is-disabled .match-node-hit{cursor:default}.match-node-hit:focus-visible{outline:2px solid var(--gold-2);outline-offset:2px}.match-node .tile-zoom{position:static;flex-shrink:0}@media (max-width:600px){.match-board{grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr)}.match-node{min-height:52px;padding:6px 8px}.match-node .cell-text{font-size:13px}}.match-dot{position:absolute;top:50%;width:14px;height:14px;margin-top:-7px;border-radius:50%;background:#fff;border:2px solid var(--gold-2);box-sizing:border-box;transition:background-color .15s,transform .15s,box-shadow .15s}.match-dot--left{right:-8.5px}.match-dot--right{left:-8.5px}.match-dot.on{background:var(--gold-2)}.match-node:hover:not(.is-disabled) .match-dot:not(.on){box-shadow:0 0 0 4px rgba(201,162,75,.25)}.match-node.active .match-dot{transform:scale(1.35);background:var(--gold-2);box-shadow:0 0 0 4px rgba(201,162,75,.3)}.match-node.is-disabled .match-dot:not(.on){border-color:var(--line-strong);background:#fff}.match-dot.on{cursor:-webkit-grab;cursor:grab}.match-board.is-dragging,.match-board.is-dragging .match-dot.on{cursor:-webkit-grabbing;cursor:grabbing}.sec-title-wrap{display:flex;align-items:stretch;gap:8px;flex:1 1;min-width:0}.sec-fold{width:40px;padding:0;flex:none;justify-content:center}.sec-fold-arrow{display:inline-block;width:9px;height:9px;border-right:2px solid;border-bottom:2px solid;transform:rotate(-45deg);transition:transform .15s;margin-left:-3px}.sec-fold-arrow.is-open{transform:rotate(45deg);margin:-4px 0 0}.sec-fold-all{width:40px;padding:0;justify-content:center}@media (max-width:900px){.sec-title-wrap{flex-basis:100%}}.media-img-wrap{position:relative;display:inline-block;max-width:100%;line-height:0}.media-img{display:block;max-width:100%;height:auto;max-height:min(70vh,640px);border-radius:8px}.media-loading{font-size:12px;color:var(--ink-soft);line-height:1.4}.media-audio{width:260px;height:36px}.media-audio,.media-video{display:block;max-width:100%}.media-video{border-radius:8px}.media-zoom-btn{position:absolute;right:6px;bottom:6px;width:28px;height:28px;border-radius:50%;border:none;background:rgba(14,13,11,.72);color:var(--ivory);cursor:zoom-in;display:flex;align-items:center;justify-content:center;padding:0}.media-zoom-btn:hover{background:var(--obsidian)}.media-zoom-btn:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.lightbox{margin:auto;padding:0;border:none;background:none;max-width:96vw;max-height:94vh;overflow:visible;cursor:zoom-out}.lightbox::-webkit-backdrop{background:rgba(14,13,11,.86)}.lightbox::backdrop{background:rgba(14,13,11,.86)}.lightbox img{display:block;max-width:96vw;max-height:94vh;object-fit:contain;border-radius:6px}.lightbox-close{position:fixed;top:14px;right:14px;width:36px;height:36px;border-radius:50%;border:none;background:hsla(39,39%,93%,.14);color:var(--ivory);font-size:16px;cursor:pointer}.cell-view{display:inline-flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;max-width:100%}.cell-text{white-space:pre-wrap;overflow-wrap:anywhere}.cell-empty{color:var(--ink-soft)}.cell-thumb .media-img{max-height:56px;max-width:96px;width:auto;object-fit:contain}.cell-thumb-lg .media-img{max-height:160px;max-width:240px;width:auto;object-fit:contain}.stem-media{display:grid;grid-gap:10px;gap:10px;margin-top:10px}.stem-media--2{grid-template-columns:repeat(2,minmax(0,1fr))}.stem-media .media-img-wrap{justify-self:start}.stem-media .media-img{max-height:420px;width:auto;object-fit:contain;background:var(--ivory-2)}@media (max-width:560px){.stem-media--2{grid-template-columns:1fr}}.file-btn-wrap{display:inline-flex;flex-direction:column;gap:4px;max-width:100%}.file-btn-err{font-size:11.5px;color:var(--err);line-height:1.3}.opt-add.file-btn-inline{display:inline-flex;width:auto}.stem-media-edit{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;margin-top:10px}.stem-thumb{position:relative;display:inline-block}.stem-thumb .media-img{max-height:120px;max-width:200px;width:auto;object-fit:contain;border:1px solid var(--line-strong)}.stem-thumb .media-audio{width:240px}.cell-media-add{width:30px;height:30px;flex-shrink:0;border-radius:8px;border:1.5px dashed var(--line-strong);display:flex;align-items:center;justify-content:center;color:var(--ink-soft);transition:.15s;background:none;padding:0}.cell-media-add:focus-visible,.opt-add.file-btn-inline:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.cell-media-add:hover{border-color:var(--gold-2);color:var(--gold-2)}.cell-media-edit{position:relative;display:inline-flex;flex-shrink:0;max-width:45%}.cell-media-edit .media-audio{width:200px}.cell-media-del{position:absolute;top:-7px;right:-7px;width:18px;height:18px;border-radius:50%;border:none;background:var(--obsidian);color:var(--ivory);font-size:9px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;z-index:1}.cell-media-del:hover{background:var(--err)}.layout-row{display:flex;flex-wrap:wrap;gap:8px 16px;margin:0 0 10px}.match-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.match-col .opt{min-width:0}@media (max-width:900px){.match-grid{grid-template-columns:minmax(0,1fr)}}.tile-hit{cursor:pointer;min-width:0}.tile-hit:focus{outline:none}.place-chip:focus-visible,.place-drop-btn:focus-visible,.tile-hit:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:8px}.is-disabled .tile-hit{cursor:default}.opt-choice{cursor:pointer}.opt-choice>.tile-hit{flex:1 1;display:flex;align-items:center;gap:9px}.match-chip>.tile-zoom,.opt-choice>.tile-zoom{position:static;flex-shrink:0;width:26px;height:26px}.opt-choice>.tile-audio{flex:0 1 220px}.media-audio-mark{font-size:12.5px;color:var(--gold-2);font-weight:600;white-space:nowrap}.media-failed{font-size:12px;color:var(--err)}.tf-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.tf-btn{display:flex;min-height:64px;border:1.5px solid var(--line-strong);border-radius:12px;background:var(--ivory);font-size:16px;font-weight:600;cursor:pointer;transition:.15s;text-align:center}.tf-btn>.tile-hit{flex:1 1;display:flex;align-items:center;justify-content:center;padding:12px}.tf-btn.selected,.tf-btn:hover:not(.is-disabled){border-color:var(--gold-2)}.tf-btn.selected{background:rgba(212,175,55,.12);box-shadow:0 0 0 2px rgba(201,162,75,.25)}.choice-grid{display:grid;grid-gap:10px;gap:10px}.choice-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.choice-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.choice-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}@media (max-width:560px){.choice-grid--3,.choice-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}}.choice-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px;border:1.5px solid var(--line-strong);border-radius:12px;background:var(--ivory);cursor:pointer;transition:.15s;text-align:center;min-width:0}.choice-card.selected,.choice-card:hover:not(.is-disabled){border-color:var(--gold-2)}.choice-card.selected{background:rgba(212,175,55,.1);box-shadow:0 0 0 2px rgba(201,162,75,.25)}.choice-card>.tile-hit{width:100%;display:flex;flex-direction:column;align-items:center;gap:6px}.choice-card>.tile-zoom{top:14px;right:14px;bottom:auto}.choice-card>.tile-audio{width:100%}.choice-card .cell-view{align-items:center;width:100%}.choice-card-media{width:100%;display:flex;justify-content:center}.choice-card-media .media-img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:var(--ivory-2)}.choice-card-mark{position:absolute;top:-8px;left:-8px;z-index:1;width:22px;height:22px;border-radius:50%;border:1.5px solid var(--line-strong);background:#fff;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}.choice-card.selected .choice-card-mark{background:var(--gold-2);border-color:var(--gold-2)}div.match-chip{display:inline-flex;align-items:center;gap:6px;cursor:pointer}div.match-chip.is-disabled{cursor:default}div.match-chip>.tile-hit{display:inline-flex;align-items:center}.ord-item{cursor:-webkit-grab;cursor:grab}.ord-item:active{cursor:-webkit-grabbing;cursor:grabbing}.ord-item.dragging{opacity:.4}.axis-label{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-2);font-weight:600}.axis-label--start{margin-bottom:8px}.axis-label--end{margin-top:8px}.place-pool{margin-bottom:12px}.place-chip-row{display:flex;flex-wrap:wrap;gap:6px}.place-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:10px;border:1.5px solid var(--line-strong);background:#fff;font-size:13px;cursor:pointer;transition:.15s;max-width:100%}.place-chip.is-picked,.place-chip:hover{border-color:var(--gold-2)}.place-chip.is-picked{background:rgba(212,175,55,.14);box-shadow:0 0 0 2px rgba(201,162,75,.25)}.place-chip-x{font-size:10px;color:var(--ink-soft)}.place-chip-box{position:relative;display:inline-flex;max-width:100%}.place-chip-box>.tile-zoom{width:22px;height:22px;right:4px;bottom:4px}.place-buckets{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));grid-gap:10px;gap:10px}.place-target{min-height:72px;padding:10px;border:1.5px dashed var(--line-strong);border-radius:12px;background:var(--ivory);transition:.15s}.place-target.is-armed{border-color:var(--gold-2);cursor:pointer}.place-target.is-armed:hover,.place-target.is-over{background:rgba(212,175,55,.1);border-style:solid}.place-target-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.place-target-title{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft)}.place-drop-btn{border:1px solid var(--gold-2);background:#fff;color:var(--gold-2);border-radius:8px;font-size:11.5px;font-weight:600;padding:3px 8px;cursor:pointer;white-space:nowrap}.place-drop-btn:hover{background:rgba(212,175,55,.12)}td.place-target .place-drop-btn{display:block;margin:0 auto 6px}.place-matrix-wrap{overflow-x:auto}.place-matrix{border-collapse:separate;border-spacing:6px;width:100%}.place-matrix th{font-size:12px;font-weight:600;color:var(--ink-soft);text-align:left;padding:4px 6px}.place-matrix tbody th{max-width:120px;overflow-wrap:anywhere}.place-matrix thead th{text-align:center}.place-matrix td.place-target{vertical-align:top;min-width:88px;height:52px;padding:6px}.scale-slider{position:relative;padding-top:26px;margin:4px 0 2px}.scale-slider-value{position:absolute;top:0;left:0;right:0;height:20px;pointer-events:none}.scale-slider-value span{position:absolute;transform:translateX(-50%);white-space:nowrap;font-family:JetBrains Mono,monospace;font-size:12.5px;font-weight:600;color:var(--gold-2)}.scale-slider input[type=range]{display:block;width:100%;height:28px;margin:0;padding:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.scale-slider input[type=range]:focus{outline:none}.scale-slider input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:99px;background:linear-gradient(to right,var(--gold) 0,var(--gold) var(--pct),var(--ivory-3) var(--pct),var(--ivory-3) 100%)}.scale-slider input[type=range]::-moz-range-track{height:6px;border-radius:99px;background:var(--ivory-3)}.scale-slider input[type=range]::-moz-range-progress{height:6px;border-radius:99px;background:var(--gold)}.scale-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px;height:22px;margin-top:-8px;border-radius:50%;background:var(--gold-2);border:3px solid var(--ivory);box-shadow:0 1px 5px rgba(0,0,0,.3);cursor:-webkit-grab;cursor:grab}.scale-slider input[type=range]::-moz-range-thumb{width:22px;height:22px;border-radius:50%;box-sizing:border-box;background:var(--gold-2);border:3px solid var(--ivory);box-shadow:0 1px 5px rgba(0,0,0,.3);cursor:grab}.scale-slider input[type=range]:active::-webkit-slider-thumb{cursor:-webkit-grabbing;cursor:grabbing}.scale-slider input[type=range]:focus-visible::-webkit-slider-thumb{outline:2px solid var(--gold-2);outline-offset:2px}.scale-slider input[type=range]:focus-visible::-moz-range-thumb{outline:2px solid var(--gold-2);outline-offset:2px}.scale-slider.is-disabled input[type=range]{cursor:default}.scale-slider.is-disabled input[type=range]::-webkit-slider-thumb{cursor:default}.scale-slider-ends{display:flex;justify-content:space-between;font-size:11px;color:var(--ink-soft);margin-top:2px}.rubric-score{margin-top:10px;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:10px}.rubric-row{display:flex;align-items:center;gap:10px;padding:6px 0}.rubric-row+.rubric-row{border-top:1px solid var(--line)}.cloze-blank.is-target{border-color:var(--gold-2);box-shadow:0 0 0 3px rgba(201,162,75,.18)}button.bank-word{cursor:pointer;padding:5px 11px}button.bank-word:hover:not(:disabled){border-color:var(--gold-2)}button.bank-word.is-used{opacity:.45;text-decoration:line-through}.anagram{display:flex;flex-direction:column;gap:12px}.anagram-answer{gap:10px 28px}.anagram-answer,.anagram-word{display:flex;flex-wrap:wrap;align-items:center}.anagram-word{gap:8px;min-width:0}.anagram-tile{width:44px;height:50px;border-radius:10px;border:none;padding:0;background:var(--gold);color:var(--obsidian);font-family:Cormorant Garamond,Georgia,serif;font-size:26px;font-weight:600;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 -3px 0 var(--gold-2);cursor:-webkit-grab;cursor:grab;touch-action:none;-moz-user-select:none;user-select:none;-webkit-user-select:none;transition:transform .12s,box-shadow .12s,background-color .12s}button.anagram-tile:hover:not(:disabled){transform:translateY(-2px);background:var(--gold-light)}.anagram-tile:focus-visible{outline:2px solid var(--gold-2);outline-offset:2px}.anagram-tile:disabled{cursor:default;opacity:1}.anagram-tile.is-selected{background:var(--gold-light);transform:translateY(-4px);box-shadow:0 0 0 3px rgba(168,132,47,.55),0 8px 16px rgba(168,132,47,.4),inset 0 -3px 0 var(--gold-2)}.anagram-tile.is-dragging{opacity:.35}.anagram-tile.is-over{outline:2px solid var(--gold-2);outline-offset:3px}.anagram.is-dragging .anagram-tile{cursor:-webkit-grabbing;cursor:grabbing}.anagram-float{position:fixed;z-index:1000;pointer-events:none;transform:translate(-50%,-60%) scale(1.12);background:var(--gold-light);box-shadow:0 10px 24px rgba(14,13,11,.25),inset 0 -3px 0 var(--gold-2)}.anagram-dash{width:12px;text-align:center;font-size:24px;color:var(--ink-soft);line-height:1}.anagram-hint{margin:0;font-size:12px}@media (max-width:480px){.anagram-tile{width:40px;height:48px;font-size:24px}.anagram-word{gap:6px}.anagram-answer{gap:8px 18px}}.zoom-toggle{margin-bottom:8px}.zoom-frame{max-width:100%}.zoom-frame.is-zoomed{overflow:auto;max-height:75vh;border-radius:10px;border:1px solid var(--line-strong)}.zoom-frame.is-zoomed .hotspot-canvas{width:200%;max-width:none;border:none;border-radius:0}.zoom-frame.is-zoomed .hotspot-canvas img{width:100%;max-width:none;max-height:none}.mp{position:relative;display:flex;flex-direction:column;container-type:inline-size;color:var(--ink)}.mp.media-audio{height:auto}.mp-bar{display:flex;align-items:center;gap:4px;height:36px;padding:0 6px 0 4px;background:var(--ivory-2);border:1px solid var(--line);border-radius:999px}.mp--video .mp-bar{border-radius:0 0 10px 10px;border-top:none}.mp-video{display:block;width:100%;background:#000;border-radius:10px 10px 0 0;cursor:pointer}.mp-video:focus-visible{outline:2px solid var(--gold-2);outline-offset:2px}.mp-btn{width:28px;height:28px;flex-shrink:0;border:none;background:none;border-radius:50%;padding:0;display:flex;align-items:center;justify-content:center;color:var(--ink);cursor:pointer;transition:background .15s,color .15s}.mp-btn:hover{background:var(--ivory-3);color:var(--gold-2)}.mp-btn svg{width:16px;height:16px;fill:currentColor}.mp-btn svg .mp-stroke{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.mp-play{background:var(--gold);color:var(--obsidian)}.mp-play:hover{background:var(--gold-light);color:var(--obsidian)}.mp-play svg{width:14px;height:14px}.mp-spinner{width:13px;height:13px;border-radius:50%;border:2px solid rgba(14,13,11,.25);border-top:2px solid var(--obsidian);animation:spin .7s linear infinite}.mp-time{font-family:JetBrains Mono,monospace;font-size:11px;color:var(--ink-soft);white-space:nowrap;flex-shrink:0;padding:0 2px}.mp-seek,.mp-vol{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:4px;border-radius:99px;margin:0;cursor:pointer;background:linear-gradient(to right,var(--gold-2) 0 var(--played,0),rgba(168,132,47,.28) var(--played,0) var(--loaded,0),var(--line-strong) var(--loaded,0))}.mp-seek{flex:1 1;min-width:32px}.mp-seek:disabled{cursor:default;opacity:.5}.mp-seek::-webkit-slider-thumb,.mp-vol::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:12px;height:12px;border-radius:50%;background:var(--gold-2);border:2px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.3)}.mp-seek::-moz-range-thumb,.mp-vol::-moz-range-thumb{width:10px;height:10px;border-radius:50%;background:var(--gold-2);border:2px solid #fff}.mp-seek::-moz-range-track,.mp-vol::-moz-range-track{background:transparent}.mp-seek:focus-visible,.mp-vol:focus-visible{outline:2px solid var(--gold-2);outline-offset:4px}.mp-volume{display:flex;align-items:center;flex-shrink:0}.mp-vol{width:0;opacity:0;transition:width .2s,opacity .2s,margin .2s}.mp-volume:focus-within .mp-vol,.mp-volume:hover .mp-vol{width:56px;opacity:1;margin:0 6px 0 2px}.mp-menu-wrap{position:relative;flex-shrink:0}.mp-menu{position:absolute;right:0;z-index:60;min-width:196px;background:#fff;border:1px solid var(--line-strong);border-radius:12px;padding:8px;box-shadow:0 14px 36px rgba(14,13,11,.18)}.mp--video .mp-menu,.mp-menu{bottom:calc(100% + 6px)}.mp-menu-label{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin:2px 4px 6px}.mp-rates{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:4px;gap:4px;margin-bottom:6px}.mp-rate{border:1px solid var(--line-strong);background:none;border-radius:7px;padding:5px 0;font-size:12px;color:var(--ink);cursor:pointer}.mp-rate:hover{border-color:var(--gold-2)}.mp-rate.sel{background:var(--obsidian);color:var(--ivory);border-color:var(--obsidian)}.mp-menu-item{display:block;width:100%;text-align:left;padding:8px;border-radius:7px;border:none;background:none;font-size:13px;color:var(--ink);cursor:pointer}.mp-menu-item:hover{background:var(--ivory-3)}.mp-bar--failed{justify-content:center;font-size:12px;color:var(--err);padding:0 12px}.mp.is-fullscreen{background:#000;justify-content:center}.mp.is-fullscreen .mp-video{flex:1 1;min-height:0;height:auto;max-height:calc(100vh - 36px);object-fit:contain;border-radius:0}.mp.is-fullscreen .mp-bar{border-radius:0;border:none}@container (max-width:230px){.mp-duration{display:none}}