@font-face{font-family:Be Vietnam Pro;src:url('assets/be-vietnam-pro-400.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Be Vietnam Pro;src:url('assets/be-vietnam-pro-500.ttf') format('truetype');font-weight:500;font-display:swap}@font-face{font-family:Be Vietnam Pro;src:url('assets/be-vietnam-pro-700.ttf') format('truetype');font-weight:700;font-display:swap}
:root{font-family:'Be Vietnam Pro',sans-serif;font-size:14px;color:#26303d;background:#f7f8fa;--red:#c52634;--red-soft:#fcf0f1;--ink:#25303c;--muted:#5e6b7d;--line:#e8ebef;--green:#238263;--blue:#507ab7;--bg:#f7f8fa;--sidebar:248px;--omni:350px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}p{line-height:1.8}h1{font-size:26px;line-height:1.5;letter-spacing:-.8px}h2{font-size:17px;line-height:1.5;letter-spacing:-.25px}h3{font-size:14px;line-height:1.6}button:focus-visible,a:focus-visible{outline:3px solid #d68b94;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #d68b94;outline-offset:1px}.icon{width:20px;height:20px;vertical-align:middle;flex-shrink:0}.flex{display:flex;gap:10px;align-items:center}.between{justify-content:space-between}.muted{color:var(--muted)}.small{font-size:12px}.stack{display:grid;gap:19px}.skip{position:fixed;left:15px;top:-60px;z-index:100;background:white;padding:12px}.skip:focus{top:10px}.loading{min-height:100vh;display:grid;place-items:center;color:var(--muted)}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:white;border-right:1px solid var(--line);padding:25px 16px 16px;display:flex;flex-direction:column;z-index:35}.brand{padding:0 13px 22px}.brand img{width:144px;height:48px;object-fit:contain}.brand-label{font-size:12px;letter-spacing:1.8px;color:#5e6b7d;margin-top:13px}.workspace-label{font-size:11px;padding:11px 12px;border:1px solid var(--line);border-radius:8px;display:flex;gap:9px;align-items:center;margin:0 3px 23px;color:#5e6b7d}.workspace-label>.icon{color:var(--red);width:17px;height:17px}.workspace-label .icon:last-child{margin-left:auto;color:#5e6b7d;width:14px;height:14px}.nav-group{margin-bottom:22px}.nav-caption{font-size:11px;font-weight:700;letter-spacing:1px;color:#5e6b7d;margin:0 13px 9px}.nav-item{font-weight:500;width:100%;display:flex;gap:10px;align-items:center;text-align:left;color:#5e6b7d;padding:12px 13px;min-height:46px;border-radius:8px;font-size:14px;margin-bottom:3px}.nav-item .icon{width:18px;height:18px}.nav-item:hover{background:#f6f7f9}.nav-item.active{background:#fbe9ed;color:#af1e2c;font-weight:700;box-shadow:inset 3px 0 #c52634}.nav-item .tiny-count{margin-left:auto;font-size:12px;background:#eff1f4;padding:2px 5px;border-radius:4px}.nav-item.active .tiny-count{background:#f5d9dd}.nav-scroll{overflow:auto;scrollbar-width:thin;min-height:0;flex:1;scrollbar-color:#b4bdc9 transparent}.sidebar-bottom{margin-top:auto;padding-top:18px}.sidebar-footer{font-size:12px;color:#5e6b7d;padding:15px 12px 0;border-top:1px solid var(--line)}.sidebar-footer strong{color:#5e6b7d;font-weight:500;display:block;margin-bottom:5px}
.shell{margin-left:var(--sidebar);min-height:100vh}.topbar{height:73px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 29px}.breadcrumb{display:flex;gap:10px;align-items:center;font-size:12px;color:#5e6b7d}.breadcrumb .icon{width:15px;height:15px}.breadcrumb b{color:#535e6b;font-weight:500}.topbar-right{display:flex;align-items:center;gap:13px}.role-tag{font-size:11px;border:1px solid var(--line);border-radius:5px;padding:5px 8px;color:#5e6b7d}.avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#f7e8ea;color:var(--red);font-weight:500;font-size:12px}.user-button{display:flex;align-items:center;gap:9px;font-size:12px}.user-button>.icon{width:13px;height:13px;color:#5e6b7d}.icon-btn{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;border:1px solid var(--line);border-radius:8px;background:white;padding:7px}.icon-btn .icon{width:17px;height:17px}.icon-btn:hover{background:#f8f9fb}.topbar-right>.icon-btn{border:none;color:#5e6b7d}.main-layout{display:flex;min-height:calc(100vh - 73px)}main{flex:1;min-width:0;padding:29px;max-width:1550px;margin:0 auto;width:100%}.has-omni main{max-width:calc(100% - var(--omni))}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:26px}.page-heading p{font-size:12px;color:var(--muted);margin-top:6px}.eyebrow{font-size:12px;letter-spacing:1.5px;font-weight:500;color:var(--red);margin-bottom:6px}.date-pill{font-size:11px;display:flex;gap:7px;align-items:center;border:1px solid var(--line);background:white;border-radius:7px;padding:9px 10px;white-space:nowrap;color:#5e6b7d}.date-pill .icon{width:15px;height:15px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:white;border:1px solid #dfe3e9;border-radius:7px;padding:10px 13px;font-size:12px;font-weight:500;min-height:40px;line-height:1.5}.btn .icon{width:16px;height:16px}.btn:hover{background:#f8f9fb}.btn-primary{background:var(--red);border-color:var(--red);color:white;box-shadow:0 2px 5px #c5263416}.btn-primary:hover{background:#ad1c29}.btn-soft{background:var(--red-soft);border-color:#f3d6da;color:var(--red)}.btn-ghost{border:0;background:transparent;color:var(--red);padding:5px 0;min-height:28px;font-size:11px}.btn-ghost:hover{background:transparent;color:#9b1a25}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:23px}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:17px}.stat-icon{width:31px;height:31px;background:var(--red-soft);color:var(--red);border-radius:8px;display:grid;place-items:center;margin-bottom:16px}.stat-icon .icon{width:17px;height:17px}.stat-icon.blue{background:#eef3fb;color:var(--blue)}.stat-icon.green{background:#ecf6f0;color:var(--green)}.stat-icon.amber{background:#fcf4e5;color:#af832d}.stat strong{font-size:27px;line-height:1.4;letter-spacing:-.8px;display:block}.stat strong small{font-size:12px;font-weight:400;color:#5e6b7d;letter-spacing:0;margin-left:3px}.stat-name{font-size:11px;color:#5e6b7d;margin-top:5px;line-height:1.7}.stat-meta{font-size:12px;color:#5e6b7d;margin-top:11px;line-height:1.6}.stats.compact{grid-template-columns:repeat(3,1fr)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(230px,1fr);gap:20px}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 20px 0}.panel-head p{font-size:11px;color:#5e6b7d;margin-top:5px}.panel-body{padding:20px}.panel-head h2{font-size:15px}.panel-empty{padding:34px 22px;text-align:center;color:#5e6b7d;font-size:12px;line-height:1.8}.panel-empty>.icon{width:30px;height:30px;display:block;margin:0 auto 12px;color:#5e6b7d}.panel-empty strong{display:block;color:#5e6b7d;font-size:13px;font-weight:500;margin-bottom:6px}.panel-empty .btn{margin-top:15px}.panel-footer{border-top:1px solid var(--line);padding:12px 20px;color:#5e6b7d;font-size:12px}.session-row{display:flex;align-items:center;gap:13px;padding:17px 0;border-bottom:1px solid var(--line)}.session-row:last-child{border:0}.session-date{width:43px;flex-shrink:0;padding:8px 2px;border:1px solid var(--line);border-radius:7px;text-align:center;color:#5e6b7d;font-size:11px}.session-date strong{font-size:17px;display:block;color:#566471;margin:0 0 4px;font-weight:500}.session-detail{flex:1;min-width:0}.session-detail strong{font-size:12px;font-weight:500;line-height:1.6;display:block}.session-detail p{font-size:12px;color:var(--muted);margin-top:5px}.session-row>.icon{width:15px;height:15px;color:#5e6b7d}.quick-task{display:flex;align-items:flex-start;gap:11px;padding:15px 0;border-bottom:1px solid var(--line)}.quick-task:last-child{border:0}.task-num{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;background:#fff2e2;color:#b88630;font-size:11px;flex-shrink:0}.task-info{flex:1}.task-info strong{font-size:12px;line-height:1.7;font-weight:500}.task-info p{font-size:12px;color:var(--muted);margin-top:4px}.task-info button{color:var(--red);font-size:12px;margin-top:8px;padding:0}.getting-started{padding:22px;border:1px solid #efdadc;background:linear-gradient(115deg,#fff2f1,#fffcfc);border-radius:12px;margin-bottom:23px}.getting-started h2{font-size:18px}.getting-started p{font-size:12px;color:#5e6b7d;margin:8px 0 17px;max-width:520px}.setup-steps{display:flex;gap:8px;flex-wrap:wrap}.setup-steps .btn{font-size:11px;background:white;border-color:#ebd3d7;color:#a62b38}.module-links{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px}.module-link{padding:15px;background:white;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;gap:10px;text-align:left;font-size:12px}.module-link .icon{color:#5e6b7d;width:17px;height:17px}.module-link:hover{border-color:#d7979f}.module-link>span{flex:1}.module-link>.icon:last-child{width:13px;height:13px}.footnote{font-size:12px;color:#5e6b7d;margin-top:26px;display:flex;justify-content:space-between;gap:10px}
.omni-rail{width:var(--omni);flex-shrink:0;border-left:1px solid var(--line);background:#fff;position:sticky;top:73px;height:calc(100dvh - 73px);display:flex;flex-direction:column}.omni-header{padding:21px 20px 17px;display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--line)}.omni-symbol{width:34px;height:34px;background:var(--red);color:white;border-radius:10px;display:grid;place-items:center}.omni-symbol .icon{width:20px;height:20px}.omni-header h2{font-size:16px;letter-spacing:-.5px}.omni-header small{font-size:12px;color:#5e6b7d;display:block;margin-top:4px}.omni-header .omni-heading{flex:1}.omni-header .icon-btn{border:0;color:#5e6b7d}.context-tag{margin:14px 18px 0;border:1px solid var(--line);background:#fafbfc;border-radius:6px;padding:8px 10px;display:flex;align-items:center;gap:7px;color:#5e6b7d;font-size:12px}.context-tag .icon{width:13px;height:13px}.context-tag b{font-weight:500;color:#5e6b7d}.omni-messages{flex:1;overflow:auto;padding:24px 18px;scrollbar-width:thin;min-height:130px}.omni-welcome{padding:8px 1px}.omni-welcome .welcome-icon{width:45px;height:45px;background:var(--red-soft);color:var(--red);border-radius:13px;display:grid;place-items:center;margin-bottom:18px}.omni-welcome h3{font-size:18px;font-weight:500;letter-spacing:-.5px;line-height:1.6}.omni-welcome>p{font-size:12px;line-height:1.9;color:#5e6b7d;margin:9px 0 25px}.suggestion-label{font-size:11px;letter-spacing:1.3px;color:#5e6b7d;margin-bottom:10px}.prompt-suggestion{font-size:11px;border:1px solid var(--line);border-radius:8px;padding:12px 11px;text-align:left;width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;margin-bottom:8px;line-height:1.8;color:#5e6b7d}.prompt-suggestion .icon{width:14px;height:14px;color:#5e6b7d}.prompt-suggestion:hover{border-color:#dcb1b6;background:#fffafa}.omni-note{padding:18px 0 0;font-size:12px;color:#5e6b7d;line-height:1.9}.omni-note .icon{width:12px;height:12px;margin-right:3px}.chat-message{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:19px}.chat-message.user{padding:12px 14px;background:#f4f5f7;border:1px solid #eef0f3;border-radius:11px 11px 2px 11px;margin-left:16px;color:#566574}.chat-message.assistant{padding:0 3px}.message-author{font-size:12px;font-weight:500;letter-spacing:.3px;color:var(--red);display:flex;align-items:center;gap:5px;margin-bottom:7px}.message-author .icon{width:13px;height:13px}.chat-message.system{color:#95652c;background:#fff7ea;padding:11px 13px;border-radius:8px;font-size:11px}.omni-composer{padding:0 17px 16px;background:white}.composer-box{border:1px solid #dddfe5;border-radius:11px;padding:12px;background:#fff;box-shadow:0 3px 10px #28354505}.composer-box:focus-within{border-color:#ce929a;box-shadow:0 0 0 2px #faecee}.composer-box textarea{width:100%;resize:none;border:0;outline:none!important;min-height:60px;background:transparent;font-size:12px;line-height:1.7;color:#445364;padding:0;max-height:160px}.composer-box textarea::placeholder{color:#5e6b7d}.composer-bottom{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#5e6b7d;margin-top:8px}.send-button{background:var(--red);color:white;border-radius:7px;width:40px;height:40px;display:grid;place-items:center}.send-button .icon{width:17px;height:17px}.composer-caption{font-size:11px;text-align:center;color:#5e6b7d;margin-top:10px}.chat-status{font-size:12px;color:#5e6b7d;min-height:22px;padding:0 2px 7px}.chat-status.busy:before{content:'';display:inline-block;height:5px;width:5px;margin-right:6px;border-radius:50%;background:var(--red);animation:pulse 1.2s infinite}.omni-mobile-toggle{display:none}.chat-full .omni-rail{border:1px solid var(--line);border-radius:13px;width:100%;height:calc(100vh - 180px);position:static;overflow:hidden}.chat-full .omni-messages{padding:24px 10%;}.chat-full .omni-composer{padding:0 10% 20px}.chat-full .context-tag{margin:15px 10% 0}.chat-full .omni-welcome{max-width:490px;margin:25px auto}.chat-full .omni-welcome h3{font-size:26px}.chat-full .omni-welcome>p{font-size:14px}.chat-full .chat-message{font-size:14px}.chat-full .composer-box textarea{font-size:14px}.chat-full .prompt-suggestion{font-size:13px}.history-item{width:100%;text-align:left;border-bottom:1px solid var(--line);padding:16px 0;display:block}.history-item strong{font-size:13px;font-weight:500;display:block;line-height:1.7}.history-item small{font-size:11px;color:var(--muted);display:block;margin-top:6px}
.table-toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:17px 19px;border-bottom:1px solid var(--line);flex-wrap:wrap}.table-actions{display:flex;gap:8px;align-items:center}.search{display:flex;align-items:center;gap:8px;flex:1;max-width:320px;min-width:150px;border:1px solid var(--line);border-radius:7px;padding:9px 11px;background:white}.search .icon{width:16px;height:16px;color:#5e6b7d}.search input{border:0;outline:none;background:transparent;width:100%;min-width:0;font-size:12px;color:#576776}.search:focus-within{outline:2px solid #d68b94}.filter-select{background:white;border:1px solid var(--line);border-radius:7px;font-size:11px;padding:9px 11px;color:#5e6b7d;max-width:175px}.table-container{overflow:auto;max-width:100%}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px;color:#5e6b7d;background:#fcfcfd;padding:14px 19px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:16px 19px;border-bottom:1px solid var(--line);line-height:1.7;color:#5e6b7d;max-width:240px;vertical-align:middle}tr:last-child td{border:0}.record-button{font-size:12px;font-weight:500;color:#394e61;padding:0;text-align:left;line-height:1.7;display:flex;gap:9px;align-items:center}.record-button:hover{color:var(--red)}.record-button .avatar{width:29px;height:29px;font-size:12px;flex-shrink:0}.cell-truncate{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-width:110px}.table-footer{font-size:12px;color:#5e6b7d;display:flex;justify-content:space-between;gap:10px;padding:14px 19px;border-top:1px solid var(--line)}.pill{display:inline-block;font-size:12px;border-radius:5px;line-height:1.5;padding:4px 7px;background:#eff2f6;color:#5e6b7d;white-space:nowrap}.pill.green{background:#eaf5ef;color:#226747}.pill.amber{background:#fff6e6;color:#805d13}.pill.red{background:#fceced;color:#b04f5b}.pill.blue{background:#eaf1fc;color:#365f91}.pill.purple{background:#f2edfa;color:#5e6b7d}.module-intro{display:flex;gap:11px;padding:15px 18px;background:#fffbfb;border:1px solid #f0dfe2;border-radius:9px;margin-bottom:20px;color:#5e6b7d;font-size:11px;line-height:1.8}.module-intro>.icon{color:var(--red);width:17px;height:17px;margin-top:1px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.detail-item label{font-size:11px;color:#5e6b7d;display:block;margin-bottom:7px}.detail-item p{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.detail-item.wide{grid-column:1/-1}
.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:white}.login-brand{padding:55px 10%;background:#c52634;color:white;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;position:relative;overflow:hidden}.login-brand img{width:190px;filter:none;mix-blend-mode:normal;position:relative;z-index:1}.login-story{position:relative;z-index:1;padding:70px 0}.login-story .eyebrow{color:#5e6b7d;letter-spacing:2px;font-size:11px}.login-story h1{font-size:46px;line-height:1.45;letter-spacing:-1.7px;max-width:490px;font-weight:500;margin:20px 0}.login-story p{max-width:380px;font-size:15px;color:#5e6b7d;line-height:2}.login-footer{font-size:11px;color:#5e6b7d;position:relative;z-index:1}.login-geometry{position:absolute;width:700px;height:700px;border-radius:50%;border:1px solid #ffffff17;right:-340px;bottom:-240px;box-shadow:0 0 0 80px #ffffff05,0 0 0 160px #ffffff04,0 0 0 240px #ffffff03}.login-main{display:flex;justify-content:center;align-items:center;padding:40px}.login-form{width:360px;max-width:100%}.login-form h2{font-size:28px;margin-bottom:10px;letter-spacing:-.8px}.login-form>p{font-size:13px;color:#5e6b7d;line-height:1.9;margin-bottom:30px}.login-form .btn{width:100%;margin-top:5px;min-height:44px;font-size:13px}.login-help{font-size:11px;color:#5e6b7d;text-align:center;line-height:1.9;margin-top:22px}.field{display:grid;gap:8px;margin-bottom:18px}.field label{font-size:12px;font-weight:500;color:#5e6c7b}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe3e9;border-radius:7px;padding:11px 12px;color:#526170;background:white;font-size:13px}.field textarea{resize:vertical;min-height:100px;line-height:1.8}.field .field-note{font-size:12px;color:#5e6b7d}.form-error{font-size:12px;color:#bd2737;background:#fff0f1;border-radius:7px;padding:10px 12px;line-height:1.8;margin-bottom:15px}.form-error:empty{display:none}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.field.wide{grid-column:1/-1}dialog{overscroll-behavior:contain;width:calc(100% - 30px);max-width:620px;border:none;border-radius:14px;padding:0;color:var(--ink);max-height:90vh;box-shadow:0 25px 100px #1a263b30}dialog::backdrop{background:#17223670;backdrop-filter:blur(3px)}.dialog-head{padding:22px 24px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.dialog-head h2{font-size:20px;line-height:1.6}.dialog-head p{font-size:11px;color:var(--muted);margin-top:5px}.dialog-body{padding:23px 24px}.dialog-actions{border-top:1px solid var(--line);padding:16px 24px;display:flex;justify-content:flex-end;gap:10px;background:#fafbfc}.dialog-description{font-size:12px;color:#5e6b7d;line-height:1.9;margin-bottom:20px}.profile-card{display:flex;align-items:center;gap:13px;margin-bottom:24px}.profile-card .avatar{width:45px;height:45px;font-size:16px}.profile-card strong{display:block;font-size:15px}.profile-card small{font-size:11px;color:var(--muted);display:block;margin-top:6px}
.game-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.game-card{padding:28px;border:1px solid #efdade;border-radius:14px;background:linear-gradient(135deg,#fff0f1,#fff);display:flex;flex-direction:column;align-items:flex-start}.game-card.blue{background:linear-gradient(135deg,#eaf3ff,#fff);border-color:#dce6f4}.game-icon{width:49px;height:49px;display:grid;place-items:center;background:#f9dbe0;color:var(--red);border-radius:13px;margin-bottom:23px}.game-card.blue .game-icon{background:#d7e5f9;color:#5880b8}.game-icon .icon{width:25px;height:25px}.game-card h2{font-size:22px;letter-spacing:-.5px}.game-card p{font-size:13px;color:#5e6b7d;line-height:1.9;margin:9px 0 20px}.game-card .game-meta{font-size:12px;letter-spacing:.3px;color:#5e6b7d;margin-bottom:15px}.game-card.blue .game-meta{color:#5e6b7d}.game-card>.btn{margin-top:auto}.game-stage{max-width:760px;margin:0 auto;background:white;border:1px solid var(--line);border-radius:16px;padding:30px}.game-stage h2{font-size:28px;line-height:1.7;text-align:center;margin:27px 0 15px;letter-spacing:-.8px}.game-progress{height:6px;background:#f0f1f4;border-radius:8px;overflow:hidden;margin:16px 0}.game-progress span{display:block;height:100%;background:var(--red);border-radius:8px}.game-instruction{text-align:center;color:#5e6b7d;font-size:13px;margin-bottom:25px}.answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:26px 0}.answer{border:1px solid #e0e5eb;border-radius:9px;padding:17px;text-align:left;font-size:15px;display:flex;align-items:center;gap:12px;background:white}.answer b{font-size:11px;color:#5e6b7d;background:#f1f3f6;padding:5px 8px;border-radius:5px;font-weight:500}.answer.selected{background:var(--red-soft);border-color:#cf6674;color:var(--red)}.word-bank,.sentence-zone{display:flex;gap:9px;flex-wrap:wrap;min-height:80px;align-content:flex-start;padding:17px;background:#f8f9fb;border:1px dashed #d9dfe7;border-radius:10px;margin:17px 0}.word-bank{border:0;background:white;padding:15px 0;justify-content:center}.word-chip{padding:11px 15px;border:1px solid #e0e4eb;border-radius:8px;box-shadow:0 3px 0 #eef0f4;font-size:15px;background:white}.sentence-zone .word-chip{border-color:#e5b8bf;color:#ac3444;background:#fff9fa;box-shadow:0 3px 0 #f1dce0}.result-score{font-size:56px;color:var(--red);letter-spacing:-3px;text-align:center;font-weight:700;margin:16px 0}.result-row{padding:15px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.8}.result-row:last-child{border:0}.result-row strong{display:block}.result-row span{font-size:12px;color:var(--muted)}.child-switch{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.child-switch button{border:1px solid var(--line);background:white;border-radius:8px;padding:10px 14px;font-size:12px;display:flex;align-items:center;gap:8px}.child-switch button.active{border-color:#dfb0b7;background:var(--red-soft);color:var(--red)}.feedback-card{padding:17px 0;border-bottom:1px solid var(--line)}.feedback-card:last-child{border:0}.feedback-card p{font-size:12px;line-height:1.9;margin-top:9px;color:#5e6b7d}.feedback-card small{display:block;font-size:12px;color:#5e6b7d;margin-top:10px}.mobile-menu,.mobile-shade{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#244437;color:white;border-radius:9px;padding:13px 20px;box-shadow:0 6px 30px #15263e22;font-size:12px;line-height:1.7;z-index:100;transition:.2s;max-width:calc(100% - 30px);text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}body:has(dialog[open]){overflow:hidden}@keyframes pulse{50%{opacity:.35}}
@media(min-width:1600px){:root{--sidebar:248px;--omni:380px}main{padding:35px}.stats{gap:18px}.stat{padding:21px}.stat strong{font-size:31px}.omni-messages{padding:29px 24px}.omni-composer{padding:0 23px 20px}.omni-welcome h3{font-size:21px}.prompt-suggestion{font-size:12px}.chat-message{font-size:13px}}
@media(max-width:1260px){:root{--sidebar:228px;--omni:350px}main{padding:24px}.topbar{padding:0 24px}.brand{padding-left:12px}.brand img{width:139px}.date-pill{display:none}.stats{grid-template-columns:repeat(2,1fr);gap:12px}.stat{position:relative;padding:17px}.stat-icon{position:absolute;right:16px;top:17px}.stat strong{font-size:27px;max-width:75%}.stat-name{margin-top:9px}.stat-meta{display:none}.dashboard-grid{grid-template-columns:1fr}.module-links{grid-template-columns:repeat(2,1fr)}.page-heading h1{font-size:24px}.table-actions .btn{font-size:12px;padding:8px 10px}.table-toolbar{padding:14px}.search{max-width:none}.table-toolbar>.flex{width:100%}.nav-item{font-size:14px}.game-grid{gap:14px}.game-card{padding:23px}}
@media(max-width:1279px){:root{--sidebar:228px}.has-omni main{max-width:100%}.has-omni .omni-rail{display:none}.has-omni .omni-rail.mobile-open{display:flex;position:fixed;top:73px;right:0;bottom:0;width:370px;max-width:calc(100% - 30px);z-index:40;box-shadow:-20px 0 50px #20334415}.omni-mobile-toggle{display:inline-flex}.brand{padding-left:7px}.brand img{width:136px}.workspace-label{font-size:12px;padding:10px 8px}.dashboard-grid{grid-template-columns:1.3fr 1fr}.stats{grid-template-columns:repeat(4,1fr)}.stat-icon{position:static;margin-bottom:15px}.stat-name{font-size:12px}.stats.compact{grid-template-columns:repeat(3,1fr)}.login-story h1{font-size:37px}.login-brand{padding:45px 8%}.game-card h2{font-size:20px}}
@media(max-width:760px){.sidebar{width:280px;max-width:calc(100% - 44px);transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.sidebar.open+.mobile-shade{position:fixed;inset:0;z-index:30;display:block;background:#182b4260}.brand{padding-left:18px}.brand img{width:155px}.nav-item{font-size:14px;min-height:46px}.workspace-label{font-size:12px}.shell{margin-left:0}.topbar{height:64px;padding:0 17px;gap:10px}.mobile-menu{display:inline-flex;border:0;padding-left:0}.breadcrumb{gap:7px;font-size:11px}.breadcrumb>.icon:first-child,.breadcrumb>span{display:none}.topbar-right{gap:8px}.topbar-right>.role-tag,.user-button>.user-name,.user-button>.icon{display:none}.avatar{width:31px;height:31px;font-size:11px}.main-layout{min-height:calc(100vh - 64px)}main{padding:23px 17px}.page-heading{margin-bottom:22px;align-items:flex-start;flex-wrap:wrap;gap:12px}.page-heading h1{font-size:23px}.page-heading p{font-size:12px}.page-heading .eyebrow{font-size:11px}.page-heading>.btn{font-size:11px;padding:8px 11px}.stats{grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:20px}.stat{padding:16px}.stat-icon{position:absolute;width:28px;height:28px;right:14px;top:15px}.stat-icon .icon{width:16px;height:16px}.stat strong{font-size:27px}.stat-name{font-size:11px;margin-top:8px}.dashboard-grid{grid-template-columns:1fr;gap:19px}.getting-started{padding:21px;margin-bottom:20px}.getting-started h2{font-size:17px}.getting-started p{font-size:12px}.setup-steps .btn{font-size:12px;padding:9px}.panel-head{padding:18px 17px 0}.panel-body{padding:18px 17px}.module-links{gap:10px}.module-link{font-size:11px;padding:13px;gap:8px}.table-toolbar{padding:13px;gap:11px}.table-actions{width:100%;justify-content:flex-end}.table-actions .btn{font-size:11px}.filter-select{font-size:12px;max-width:140px}.table-footer{font-size:11px;padding:12px 15px}td,th{padding:14px 16px}.has-omni .omni-rail.mobile-open{top:64px;height:calc(100dvh - 64px);max-width:100%;width:100%;box-shadow:none}.chat-full .omni-rail{height:max(480px,calc(100dvh - 240px))}.chat-full .omni-messages{padding:20px 17px}.chat-full .omni-composer{padding:0 16px 16px}.chat-full .context-tag{margin:12px 17px 0}.chat-full .omni-welcome{margin:6px auto}.chat-full .omni-welcome h3{font-size:23px}.chat-full .omni-welcome>p{font-size:13px}.chat-full .prompt-suggestion{font-size:12px}.chat-full .chat-message{font-size:13px}.omni-messages{padding:23px 19px}.omni-welcome h3{font-size:23px}.omni-welcome>p{font-size:13px}.prompt-suggestion{font-size:12px}.omni-header{padding:17px 19px}.omni-composer textarea{font-size:14px}.login-page{display:flex;flex-direction:column}.login-brand{min-height:0;padding:26px 25px 30px}.login-brand img{width:135px}.login-story{padding:28px 0 0}.login-story h1{font-size:28px;line-height:1.55;margin:8px 0 0;letter-spacing:-.8px;max-width:330px}.login-story .eyebrow{font-size:11px}.login-story p,.login-footer{display:none}.login-main{padding:35px 25px}.login-form{width:100%}.login-form h2{font-size:23px}.login-form>p{font-size:12px;margin-bottom:25px}.field input,.field select,.field textarea{font-size:16px}.field label{font-size:12px}.field-grid,.detail-grid{grid-template-columns:1fr}.dialog-head{padding:19px 20px}.dialog-head h2{font-size:19px}.dialog-body{padding:20px}.dialog-actions{padding:15px 20px}.game-grid{grid-template-columns:1fr;gap:17px}.game-card{padding:25px}.game-icon{margin-bottom:18px}.game-stage{padding:22px 18px}.game-stage h2{font-size:23px}.answer-grid{grid-template-columns:1fr;gap:11px}.answer{font-size:14px;padding:14px}.word-chip{font-size:14px;padding:10px 13px}.footnote{display:block;font-size:11px;line-height:1.9}.footnote span{display:block}.stats.compact{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readable shared controls and bounded workspaces across every role. */
[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#main:focus{outline:none}.topbar{position:sticky;top:0;z-index:20}.nav-item{color:#344256}.nav-item .icon{color:#526176}.nav-item.active .icon{color:inherit}.nav-item:hover{background:#f0f3f7}.nav-item.active:hover{background:#fbe9ed}.brand-label{font-size:11px;color:#5e6b7d}.sidebar-bottom{padding-top:12px}.sidebar-footer{font-size:11px;line-height:1.7}.nav-item .tiny-count{font-size:11px;background:#e9edf3;color:#465367}.workspace-label{font-size:12px}.workspace-label>.icon:last-child{margin-left:0;color:var(--red);width:17px;height:17px}
.breadcrumb,.role-tag,.date-pill,.stat-name,.panel-head p,.session-detail p,.task-info p,.task-info button,.panel-footer,.module-intro,.field-note,.dialog-head p,.dialog-description,.table-footer,.login-help{font-size:12px}.stat-meta{font-size:11px}.nav-item,.btn,.icon-btn,.history-item,.module-link{touch-action:manipulation}.btn{font-size:13px}.icon-btn:focus-visible,.table-container:focus-visible{outline:2px solid #ab2635;outline-offset:-2px}.page-heading h1,.dialog-head h2,.session-detail strong{overflow-wrap:anywhere}.panel-head .btn{flex-shrink:0}.table-toolbar>.flex{flex-wrap:wrap;min-width:0}.search{min-width:160px}.search input,.filter-select{font-size:13px}.search input::placeholder,input::placeholder,textarea::placeholder{color:#667386;opacity:1}.table-container table{min-width:650px}.table-container{overscroll-behavior-x:contain}.table-footer{flex-wrap:wrap;line-height:1.7}th{font-size:11px;color:#526176;letter-spacing:.3px}td{color:#445267}.record-button{font-size:13px}.table-actions{flex-wrap:wrap}.panel-empty{font-size:13px}.panel-empty strong{font-size:15px;color:#344256}.pill{font-size:12px}.detail-item label{font-size:12px}.field .field-note{font-size:12px;line-height:1.7}.field-note:empty{display:none}.field select:disabled{color:#5e6b7d;background:#f2f4f7}.dialog-actions{position:sticky;bottom:0;z-index:1;flex-wrap:wrap}.child-switch button{font-size:13px;min-height:44px}.child-switch button.active{font-weight:500}.history-item:hover{color:var(--red)}.history-item strong{overflow-wrap:anywhere}.game-stage>.flex{flex-wrap:wrap;gap:15px}.word-chip:disabled{opacity:.35}.login-main{max-width:none}.user-button{min-height:40px}.footnote{font-size:11px;color:#5e6b7d}
.omni-header{flex-shrink:0;padding:16px 20px}.omni-header small{font-size:12px;color:#5e6b7d}.omni-header .icon-btn{color:#526176}.context-tag{flex-shrink:0;font-size:11px;color:#5e6b7d}.omni-messages{min-height:0;overscroll-behavior:contain}.chat-message{font-size:14px;line-height:1.9}.message-author{font-size:11px}.chat-message.user{color:#344256}.omni-composer{flex-shrink:0}.composer-box textarea{font-size:14px}.composer-bottom{font-size:11px;color:#5e6b7d}.composer-caption{font-size:11px;color:#5e6b7d}.composer-caption .icon{width:15px;height:15px}.chat-status{font-size:12px;line-height:1.6}.chat-status:empty{min-height:14px;padding:0}.omni-welcome>p,.prompt-suggestion{color:#526176;font-size:13px}.omni-note{font-size:12px;color:#5e6b7d}.suggestion-label{font-size:11px;color:#5e6b7d}
.omni-workspace{height:100dvh;min-height:0;background:white;overflow:hidden}.omni-workspace>.topbar{display:none}.omni-workspace .main-layout{height:100%;min-height:0}.omni-workspace #main{padding:0;margin:0;max-width:none;height:100%;display:flex;flex-direction:column}.chat-full{flex:1;min-height:0;display:flex}.chat-full .omni-rail{width:100%;height:100%;min-height:0;position:static;border:0;border-radius:0;overflow:hidden}.chat-full .omni-header{height:76px;padding:14px 28px;gap:12px}.chat-full .omni-header h1{font-size:19px;line-height:1.4;letter-spacing:-.4px}.chat-full .context-tag{margin:16px auto 0;width:calc(100% - 56px);max-width:900px;min-height:34px}.chat-full .omni-messages{padding:28px max(28px,calc((100% - 900px)/2));scrollbar-gutter:stable}.chat-full .omni-welcome{max-width:550px;margin:clamp(15px,6vh,65px) auto 20px}.chat-full .omni-welcome h3{font-size:30px;line-height:1.45;font-weight:700}.chat-full .omni-welcome>p{font-size:15px}.chat-full .prompt-suggestion{font-size:14px;padding:14px 16px}.chat-full .chat-message{font-size:15px;margin-bottom:25px}.chat-full .chat-message.user{max-width:85%;width:fit-content;margin-left:auto}.chat-full .omni-composer{width:100%;max-width:956px;align-self:center;padding:0 28px max(18px,env(safe-area-inset-bottom))}.chat-full .composer-box{padding:15px;border-color:#b9c2cf;box-shadow:0 3px 18px #24334808}.chat-full .composer-box textarea{font-size:15px;min-height:48px}.chat-full .omni-header .user-button{margin-left:8px}.omni-workspace .omni-symbol{border-radius:10px}.chat-full .composer-caption{margin-top:10px}
@media(min-width:1280px){.has-omni .omni-rail{height:calc(100dvh - 73px)}}
@media(min-width:761px) and (max-width:1279px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr 1fr}.has-omni .omni-rail.mobile-open{width:400px;height:calc(100dvh - 73px);max-width:calc(100% - 48px);border-left:1px solid #c5cdd8}.has-omni:has(.mobile-open):before{content:'';position:fixed;inset:73px 0 0;background:#17223640;z-index:38}.table-toolbar>.flex{width:auto}.nav-item{font-size:13px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.topbar{height:64px}.icon-btn{min-width:44px;min-height:44px}.topbar-right{gap:3px}.topbar .breadcrumb{font-size:12px}.topbar .breadcrumb b{max-width:135px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mobile-menu{padding:7px}.sidebar{padding-top:22px}.brand{padding-bottom:18px}.nav-group{margin-bottom:17px}.nav-item{font-size:14px}.sidebar-footer{display:none}.sidebar-bottom{padding-top:8px}.workspace-label{margin-bottom:20px}.page-heading h1{font-size:24px}.page-heading p{font-size:13px}.stats .stat-name{font-size:12px}.module-link{font-size:13px;min-height:58px}.table-toolbar>.flex{flex:1 1 100%!important;gap:10px}.search{flex:1 1 100%;max-width:none;padding:11px}.search input{font-size:16px}.filter-select{flex:1;max-width:none;min-height:44px;font-size:14px}.table-actions{justify-content:flex-start;gap:8px}.table-actions .btn{font-size:12px;min-height:44px;padding:10px 12px}.table-container table{min-width:640px}.table-footer{font-size:12px}.panel-head{flex-wrap:wrap}.detail-grid{gap:18px}.field label{font-size:13px}.dialog-actions .btn{min-height:44px}.chat-full .omni-header{height:68px;padding:10px 12px;gap:8px}.chat-full .omni-symbol{display:none}.chat-full .omni-header h1{font-size:18px}.chat-full .omni-header small{font-size:11px}.chat-full .omni-header .user-button{margin-left:0;min-width:34px}.chat-full .context-tag{margin:12px 16px 0;width:calc(100% - 32px);font-size:11px;min-height:32px}.chat-full .omni-messages{padding:22px 18px}.chat-full .omni-welcome{margin:12px auto 20px}.chat-full .omni-welcome h3{font-size:26px}.chat-full .omni-welcome>p{font-size:14px}.chat-full .prompt-suggestion{font-size:13px;padding:12px}.chat-full .chat-message{font-size:14px}.chat-full .omni-composer{padding:0 12px max(12px,env(safe-area-inset-bottom))}.chat-full .composer-box{padding:12px}.omni-composer textarea,.chat-full .composer-box textarea{font-size:16px;min-height:44px}.composer-bottom{font-size:10px}.composer-caption,.chat-full .composer-caption{font-size:10px;line-height:1.5}.send-button{width:40px;height:40px}.game-card p{color:#526176}.game-stage>.flex>.small{max-width:150px}.login-main{padding:30px 24px}.login-form>p{font-size:14px}.login-help{font-size:12px}.footnote{font-size:11px}.omni-workspace .main-layout{min-height:0}.chat-full .omni-rail{height:100%}}

.page-heading>div:not(.date-pill){flex:1;min-width:0}.page-heading>.btn{flex-shrink:0}.table-scroll-hint{display:none}
@media(max-width:760px){.table-scroll-hint{display:flex;gap:7px;align-items:center;font-size:11px;line-height:1.6;padding:10px 15px;background:#f8f9fb;color:#526176;border-bottom:1px solid var(--line)}.table-scroll-hint .icon{width:14px;height:14px}.page-heading>[data-action="refresh"]{font-size:0;padding:10px;min-width:44px}.page-heading>[data-action="refresh"] .icon{width:18px;height:18px}.module-intro{display:none}}

.sidebar-close{display:none}@media(max-width:760px){.sidebar-close{display:inline-flex;position:absolute;top:22px;right:12px;border:0}}

.login-story .eyebrow,.login-story p,.login-footer{color:#ffe4e7}.task-num{color:#805c1e}
/* Conversation actions and files remain part of the composer while navigating. */
.new-chat-button{gap:7px;white-space:nowrap}.new-chat-button span{font-size:12px}.has-omni .new-chat-button span{display:none}.omni-heading{min-width:0}.omni-heading small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:480px}.composer-bottom{gap:10px}.composer-bottom>span{flex:1}.attach-button{border:0;color:#445267;background:#f3f5f8}.attachment-list{display:grid;gap:8px;max-height:210px;overflow:auto;margin-bottom:12px;overscroll-behavior:contain}.attachment-card{display:flex;gap:9px;align-items:center;padding:9px;border:1px solid var(--line);background:#f7f9fc;border-radius:8px;min-width:0}.attachment-card>img{width:45px;height:45px;object-fit:contain;border-radius:5px}.attachment-info{flex:1;min-width:0}.attachment-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500}.attachment-info small{display:block;line-height:1.5;font-size:11px;color:#526176;margin-top:3px}.attachment-card>.icon-btn{flex-shrink:0;background:transparent;border:0}.attachment-card.has-error{background:#fff2f3;border-color:#e6aab2}.attachment-card.has-error small{color:#a12435}.message-attachments{display:grid;gap:9px;margin-top:12px;white-space:normal}.message-file{display:flex;gap:10px;align-items:center;border:1px solid #d5dce6;background:white;padding:12px;border-radius:9px;color:#35465b}.message-file>img{width:64px;height:64px;object-fit:contain;border-radius:5px}.message-file>span{min-width:0}.message-file strong{font-weight:500;font-size:13px;overflow-wrap:anywhere}.message-file small{display:block;font-size:11px;color:#5e6b7d;margin-top:4px}.dragging-files{outline:3px dashed var(--red);outline-offset:-4px}.relationship-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:12px 19px;border-bottom:1px solid var(--line);background:#fafbfd;font-size:12px}.relationship-toolbar label{font-weight:500}.relationship-toolbar>.btn{margin-left:auto;font-size:12px}.linked-children{margin-top:22px}.linked-child{display:flex;align-items:center;gap:12px;width:100%;padding:16px 0;text-align:left;border-bottom:1px solid var(--line)}.linked-child>span:nth-child(2){flex:1}.linked-child:hover{color:var(--red)}
@media(max-width:760px){.new-chat-button span{display:none}.attachment-list{max-height:145px}.attachment-card{padding:6px}.attachment-card>img{width:36px;height:36px}.attachment-info strong{font-size:12px}.attachment-info small{font-size:11px}.composer-bottom>span{font-size:9px}.relationship-toolbar{padding:12px 14px;gap:8px}.relationship-toolbar label{flex:1 1 100%}.relationship-toolbar .filter-select{flex:1 1 100%}.omni-heading small{max-width:110px}.message-file>img{width:50px;height:50px}}
@media(max-height:650px){.attachment-list{max-height:90px}.chat-full .context-tag{margin-top:8px}.chat-full .omni-composer{padding-bottom:8px}.composer-caption{display:none}.chat-full .omni-header{height:62px}.chat-full .composer-box textarea{min-height:34px}.chat-full .composer-box{padding:10px}}

.composer-caption>span{display:flex;justify-content:center;align-items:center;gap:4px}.composer-caption>span+span{margin-top:4px}

@media(max-width:760px){.table-container .parent-table{min-width:0;width:100%}.parent-table th,.parent-table td{white-space:normal;overflow-wrap:anywhere}.parent-table th:first-child{width:38%}.parent-table th:nth-child(3),.parent-table td:nth-child(3){display:none}}

/* Compact content: actions and data carry the hierarchy. */
.setup-steps{margin-bottom:23px}.quick-task{width:100%;text-align:left;align-items:center;font-size:13px;font-weight:500;min-height:58px}.quick-task:hover{color:var(--red)}.quick-task>.icon{width:15px;height:15px;color:var(--muted)}
.omni-welcome h3{margin-bottom:20px}.chat-status:empty{display:none}.login-form h2{margin-bottom:25px}.game-stage>[class="flex between"]:has([data-action="next-question"]){justify-content:flex-end}

/* Conversation navigation shares the workspace height; no nested page scrolling. */
.omni-body{display:flex;flex:1;min-height:0;overflow:hidden}.omni-chat{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}.omni-history{width:240px;flex-shrink:0;display:flex;flex-direction:column;border-right:1px solid var(--line);background:#fafbfc;min-height:0}.history-head{display:flex;align-items:center;justify-content:space-between;padding:16px 14px 4px}.history-head h2{font-size:14px}.history-search{margin:8px 12px 12px;min-width:0;flex:none;padding:10px;background:white}.history-search input{min-width:0;width:100%;font-size:12px}.history-list{overflow:auto;padding:0 8px 12px;scrollbar-width:thin;flex:1}.history-list .history-item{padding:12px;border:0;border-radius:8px;margin:2px 0}.history-list .history-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.history-list .history-item.active{color:#a12233;background:#fae9ed}.history-list .history-item:hover{background:#f0f2f5}.history-list .history-item.active:hover{background:#fae9ed}.history-empty{font-size:12px;color:#5e6b7d;padding:12px}.history-toggle{gap:6px;width:auto;white-space:nowrap}.history-toggle span{font-size:12px}.has-omni .omni-header{padding:14px 12px;gap:6px}.has-omni .omni-symbol{display:none}.has-omni .omni-history{width:100%;border:0}.omni-body [hidden]{display:none!important}.chat-full .omni-rail{flex-shrink:1;min-width:0}
@media(max-width:1179px){.omni-history{width:100%;border:0}.history-list .history-item{padding:14px}.history-search{max-width:none}.chat-full .omni-heading small{max-width:220px}}
@media(max-width:760px){.history-toggle{min-width:80px}.chat-full .omni-header{gap:4px;padding:8px}.chat-full .omni-heading small{max-width:90px}.history-search input{font-size:16px}}
/* Align controls to their label, independent of a neighbour's help text. */
.field{align-content:start;min-width:0}.field-grid{align-items:start;grid-template-columns:repeat(2,minmax(0,1fr))}.field input,.field select{height:44px;min-width:0;line-height:20px}.field label{line-height:20px}.field textarea{min-width:0}.field-note:empty{display:none}
@media(max-width:760px){.field-grid{grid-template-columns:minmax(0,1fr)}}
.learning-dialog{max-width:900px}.question-toolbar,.html-editor-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}.question-toolbar select,.html-editor-actions select{flex:1;min-width:150px}.question-stack{display:grid;gap:16px}.question-editor-card{padding:18px;border:1px solid #dbe1e9;border-radius:10px;background:#fafbfc}.question-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.question-card-head h3{font-size:14px}.question-card-head>div{display:flex}.question-editor-card .field:last-child{margin-bottom:0}.field .html-source{font:13px/1.7 monospace;min-height:260px;tab-size:2}.worksheet-instructions{white-space:pre-wrap;margin-bottom:22px;font-size:14px;line-height:1.8}.worksheet-fields{border:0;padding:0;min-width:0}.worksheet-question{min-width:0;border:1px solid #dce2eb;border-radius:10px;padding:20px;margin:20px 0}.worksheet-question legend{font-weight:500;font-size:15px;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;padding:0 8px}.worksheet-question input:not([type="checkbox"]):not([type="radio"]),.worksheet-question select,.worksheet-question textarea{width:100%;padding:12px;border:1px solid #c6cfdb;border-radius:7px;background:white;min-height:44px;min-width:0;color:#26374e;font:inherit}.worksheet-options{display:grid;gap:10px}.worksheet-options label{display:flex;align-items:center;gap:12px;min-height:46px;cursor:pointer}.worksheet-options input{width:18px;height:18px;accent-color:var(--red)}.matching-answers,.ordering-answers{display:grid;gap:12px}.matching-answers label,.ordering-answers label{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:15px}.ordering-answers label{grid-template-columns:30px minmax(0,1fr)}#worksheet-status{font-size:13px;color:#455a70;line-height:1.7}#worksheet-status:empty{display:none}.game-card>.btn{margin-top:16px}.game-progress-panel{margin-top:24px}.game-run-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px;font-size:13px}#game-save-status{flex:1}#html-game-frame{display:block;width:100%;height:calc(100dvh - 245px);min-height:430px;border:1px solid var(--line);border-radius:12px;background:white}.game-progress-panel .panel-head{padding-bottom:18px}
@media(max-width:760px){.question-editor-card{padding:13px}.question-toolbar select{font-size:16px}.worksheet-question{padding:14px}.worksheet-question input,.worksheet-question select,.worksheet-question textarea{font-size:16px!important}.matching-answers label{gap:10px}.html-editor-actions>.btn{font-size:12px}#html-game-frame{height:calc(100dvh - 220px);min-height:390px}}

/* Record deletion stays beside its row and uses the same compact dialog on mobile. */
.record-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}
.delete-icon,.btn-danger-quiet{color:#a82a39}
.delete-icon:hover,.btn-danger-quiet:hover{color:#8d1929;background:#fff0f2}
.btn-danger{background:#c52338;color:#fff;border-color:#c52338}
.btn-danger:hover{background:#a91d30;border-color:#a91d30}
.delete-record-name{font-weight:600;overflow-wrap:anywhere;margin:0 0 12px}
.delete-dependencies{padding-left:22px;margin:12px 0 0;display:grid;gap:10px}
.delete-dependencies .text-action{display:inline-flex;align-items:center;gap:6px;text-align:left}
.website-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.website-tabs>a{margin-left:auto}.website-value{white-space:pre-wrap;overflow-wrap:anywhere;display:block;max-width:650px}.website-table td{vertical-align:top}.website-thumbnail{width:120px;height:85px;object-fit:cover;border-radius:8px}.website-error{padding:24px}.website-diff{display:grid;gap:24px}.website-diff h3{font-size:15px;margin:0 0 12px}.website-diff-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.website-diff-columns>div{min-width:0;background:#f6f7f9;padding:14px;border-radius:8px}.website-diff-columns span{font-size:12px;color:#5c6d83}.website-diff-columns p{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0;line-height:1.7}.chat-message a{color:#bd2036;text-decoration:underline;overflow-wrap:anywhere}
@media(max-width:760px){.website-diff-columns{grid-template-columns:1fr}.website-tabs>a{margin-left:0}.table-container .website-table,.website-table tbody{display:block;min-width:0;width:100%}.website-table thead{display:none}.website-table tr{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:12px;padding:18px;border-bottom:1px solid var(--line)}.website-table tr:last-child{border-bottom:0}.website-table td{display:block;max-width:none;min-width:0!important;width:auto!important;padding:0;border:0;white-space:normal}.website-table td:first-child{grid-column:1;align-self:center;font-weight:500}.website-table td:nth-child(2){grid-column:1/-1;grid-row:2}.website-table td:last-child{grid-column:2;grid-row:1}.website-value{max-width:none}}
/* Preserve the official Eco Nihao logo aspect ratio. */
.sidebar .brand img{width:142px;height:80px;object-fit:contain;background:#fff;filter:none;mix-blend-mode:normal}
.sidebar .brand{min-height:88px}
.login-brand>img{width:230px;height:130px;object-fit:contain;background:#fff;border-radius:6px;padding:8px}

/* Omni reports remain readable without widening the mobile conversation. */
.omni-table-wrap{max-width:100%;overflow-x:auto;margin:12px 0;white-space:normal;border:1px solid var(--line);border-radius:10px}.omni-table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.55}.omni-table th,.omni-table td{min-width:110px;max-width:280px;padding:10px 12px;text-align:left;vertical-align:top;white-space:normal;overflow-wrap:break-word;border-bottom:1px solid var(--line)}.omni-table th{font-weight:600;background:#fff4f4}.omni-table tr:last-child td{border-bottom:0}.omni-table-wrap:focus-visible{outline:2px solid var(--red);outline-offset:2px}


/* Clear navigation and persistent, labelled conversation actions. */
.sidebar .nav-item,.sidebar .nav-item.active,.sidebar .nav-item:hover,.sidebar .nav-item .icon,.sidebar .nav-caption,.sidebar .workspace-label,.sidebar .tiny-count{color:#111}
.omni-header .omni-header-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;border:1px solid #c7ccd3;border-radius:9px;background:#fff;color:#111;flex-shrink:0;white-space:nowrap}
.omni-header .omni-header-action span{display:inline;font-size:13px;font-weight:500}
.omni-header .history-toggle:hover,.omni-header .history-toggle[aria-expanded="true"]{background:#f2f3f5;border-color:#929ba8}
.omni-header .new-chat-button{background:var(--red);border-color:var(--red);color:#fff}
.omni-header .new-chat-button:hover{background:#aa1e2c;border-color:#aa1e2c}
.message-image{margin:0;max-width:720px;width:100%;white-space:normal}
.message-image>img{display:block;width:100%;max-height:720px;object-fit:contain;object-position:left center;border-radius:12px;background:#f7f8fa}
.message-image figcaption{display:flex;margin-top:10px}.message-image .btn{color:#111;background:#fff;border:1px solid #c7ccd3}
.has-omni .omni-header{flex-wrap:wrap}.has-omni .omni-heading{flex:1 1 100%}.has-omni .omni-header .omni-header-action{flex:1;padding:9px 10px}
@media(max-width:760px){.chat-full .omni-header{height:auto;min-height:112px;flex-wrap:wrap;gap:8px;padding:10px 12px}.chat-full .omni-heading{flex:1;min-width:0}.chat-full .omni-heading small{max-width:210px}.chat-full .omni-header>.user-button{order:0}.chat-full .omni-header .omni-header-action{order:1;flex:1 1 calc(50% - 8px);min-width:0;min-height:42px;margin:0}.chat-full .omni-header .omni-header-action span{display:inline}.message-image>img{max-height:520px}}
@media(max-width:760px){.chat-full .omni-header{display:grid;grid-template-columns:36px 1fr 1fr 36px}.chat-full .omni-header>.mobile-menu{grid-column:1;grid-row:1}.chat-full .omni-heading{grid-column:2/4;grid-row:1}.chat-full .omni-header>.user-button{grid-column:4;grid-row:1;justify-self:end}.chat-full .omni-header .omni-header-action{grid-row:2;padding:10px 8px}.chat-full .omni-header .history-toggle{grid-column:1/3}.chat-full .omni-header .new-chat-button{grid-column:3/5}}

.brand-image{display:block;white-space:normal;max-width:620px;margin:14px 0}.brand-image img{display:block;max-width:100%;max-height:420px;object-fit:contain;object-position:left;background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px}.brand-image a{display:inline-block;margin-top:8px;color:#111;text-decoration:underline;font-size:13px}
