:root{--bg:#f5f8fb;--card:#fff;--line:#dce6ef;--line-strong:#c9d8e4;--text:#142235;--muted:#6b7d90;--blue:#2454d6;--blue-dark:#193faf;--blue-soft:#eaf0ff;--green:#e8f7ec;--green-text:#16713a;--red:#fff0f0;--red-text:#b83232;--shadow:0 16px 40px #14223514;--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2333485e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");color:var(--text);font-family:Inter,Microsoft YaHei,PingFang SC,Arial,sans-serif}*{box-sizing:border-box}html,body{overflow-x:clip}body{background:var(--bg);min-width:1180px;margin:0;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.visually-hidden{opacity:0;pointer-events:none;width:1px;height:1px;position:fixed}.content-import{min-height:560px}.import-selected{border:1px solid var(--line);background:#fbfdff;border-radius:10px;grid-template-columns:minmax(240px,1fr) auto 150px auto;align-items:end;gap:18px;margin:18px 0 14px;padding:18px 20px;display:grid}.import-selected.empty{border-style:dashed}.import-selected-info{gap:4px;display:grid}.import-selected-info span{color:var(--blue-dark);font-size:13px;font-weight:700}.import-selected-info strong{font-size:17px}.import-selected-info small{color:var(--muted)}.import-selected-change{gap:8px;display:flex}.import-selected label{width:150px}.animation-import .import-selected{grid-template-columns:repeat(2,minmax(240px,1fr))}.animation-import .import-selected-change{grid-column:2}.import-summary{border:1px solid var(--line);background:#fbfdff;border-radius:10px;flex-wrap:wrap;align-items:end;gap:18px;margin:22px 0 14px;padding:16px;display:flex}.import-summary>div{min-width:140px;color:var(--muted);gap:5px;display:grid}.import-summary strong{color:var(--text)}.import-summary label{width:150px}.import-counts{gap:12px;margin-bottom:16px;display:flex}.import-counts span{color:var(--blue-dark);background:var(--blue-soft);border-radius:999px;padding:6px 10px;font-weight:700}.animation-import .import-counts{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));align-items:stretch;gap:10px 12px;display:grid}.animation-import .import-counts>.animation-course-preview{white-space:normal;overflow-wrap:anywhere;min-width:0;color:var(--blue-dark);background:var(--blue-soft);border-radius:10px;padding:10px 14px;font-weight:700;line-height:1.45}.animation-import .animation-course-preview em{color:#16863a;font-style:normal;font-weight:800}.import-errors{background:var(--red);color:var(--red-text);white-space:pre-line;border:1px solid #f0bfc0;border-radius:10px;margin:16px 0;padding:16px}.import-errors strong{margin-bottom:8px;font-size:16px;display:block}.import-errors p{margin:5px 0}.import-errors small{opacity:.75;margin-top:4px;display:block}.upload-progress{border:1px solid var(--line);background:#fff;border-radius:10px;gap:10px;margin:20px 0;padding:16px;display:grid}.upload-progress strong{font-size:16px}.upload-progress span{color:var(--text)}.upload-progress progress{appearance:none;width:100%;height:10px;accent-color:var(--blue);background:#d4d7dc;border:0;border-radius:999px;overflow:hidden}.upload-progress progress::-webkit-progress-bar{background:#d4d7dc;border-radius:999px}.upload-progress progress::-webkit-progress-value{background:var(--blue);border-radius:999px;transition:width .25s}.upload-progress progress::-moz-progress-bar{background:var(--blue);border-radius:999px;transition:width .25s}.upload-progress small{color:var(--muted)}.import-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.import-success{background:var(--green);color:var(--green-text);border:1px solid #b8e3c3;border-radius:10px;margin-top:18px;padding:22px}.import-success strong{font-size:18px}.import-success button{margin:10px 8px 0 0}.import-cancel{width:430px}.login-page{background:radial-gradient(circle at 18% 20%,#2454d629,#0000 28%),linear-gradient(135deg,#f7fbff,#eaf1fb);grid-template-columns:minmax(520px,1fr) 560px;align-items:stretch;min-height:100vh;display:grid}.login-hero{align-items:center;padding:80px;display:flex}.login-hero h1{letter-spacing:0;margin:12px 0 20px;font-size:68px;line-height:1.08}.login-hero p{max-width:560px;color:var(--muted);font-size:22px;line-height:1.7}.eyebrow{color:var(--blue);letter-spacing:.08em;text-transform:uppercase;margin:0;font-weight:800}.login-card{background:var(--card);width:440px;box-shadow:var(--shadow);border:1px solid var(--line);border-radius:8px;margin:auto;padding:48px}.login-card h2{margin:0 0 30px;font-size:34px}label{color:#33485e;gap:8px;font-weight:700;display:grid}input,select,textarea{border:1px solid var(--line-strong);width:100%;min-height:36px;color:var(--text);background-color:#fff;border-radius:8px;outline:none;padding:0 10px}select{appearance:none;background-image:var(--select-chevron);background-position:right 14px center;background-repeat:no-repeat;background-size:18px 18px;padding-right:42px}select::-ms-expand{display:none}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2454d61f}input[type=checkbox]:focus{box-shadow:none}input:disabled,select:disabled{color:#718297;background-color:#eef3f7;border-style:dashed}.login-card label+label{margin-top:20px}.admin-shell{grid-template-columns:240px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);background:#fff;height:100vh;padding:18px 14px;position:sticky;top:0;overflow:hidden auto}.brand{border-bottom:1px solid var(--line);align-items:center;gap:12px;min-width:0;margin-bottom:16px;padding:4px 4px 16px;display:flex}.brand-mark{color:#fff;background:var(--blue);border-radius:8px;flex:0 0 42px;place-items:center;width:42px;height:42px;font-size:18px;font-weight:900;display:grid}.brand-copy{min-width:0}.brand strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:1.2;display:block;overflow:hidden}.brand span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:14px;line-height:1.35;display:block;overflow:hidden}nav{gap:4px;display:grid}nav button{color:#40556b;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;width:100%;min-height:38px;padding:0 10px;font-size:14px;font-weight:700;display:flex}nav button svg{stroke-width:2.2px;flex:0 0 18px;width:18px;height:18px}nav button.active{color:var(--blue);background:var(--blue-soft)}.workspace{min-width:0}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:56px;padding:0 24px;display:flex}.topbar h1{margin:0;font-size:20px}.content{padding:20px 24px 36px}.panel{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:16px;box-shadow:0 6px 18px #1422350a}.panel-head{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.panel-head h2{margin:0;font-size:20px}.actions{flex-wrap:nowrap;gap:10px;display:flex}.toolbar{border:1px solid var(--line);background:#f8fbfd;border-radius:8px;grid-template-columns:minmax(260px,1.1fr) repeat(2,minmax(180px,.6fr));gap:10px;margin-bottom:12px;padding:10px;display:grid}.toolbar select{align-self:start;min-width:160px;height:36px}.animation-course-toolbar{grid-template-columns:minmax(250px,1.25fr) repeat(5,minmax(135px,.7fr))}.animation-hall-head{align-items:center}.animation-manager-toolbar{grid-template-columns:minmax(280px,1.3fr) repeat(3,minmax(190px,.7fr))}.animation-content-tabs{border-bottom:1px solid var(--line);gap:6px;margin:-2px 0 14px;padding-bottom:10px;display:flex}.animation-content-tabs button{color:#556a80;text-align:center;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;min-width:132px;padding:10px 18px;font-weight:800;display:flex}.animation-content-tabs button.active{color:var(--blue);background:var(--blue-soft);border-color:#cdd9f8}.animation-preview-note{color:#5d7087;background:#f7f9fe;border:1px solid #d9e3f6;border-radius:8px;align-items:center;gap:10px;margin-bottom:12px;padding:10px 12px;display:flex}.animation-preview-note strong{color:var(--blue-dark);background:var(--blue-soft);border-radius:999px;flex:none;padding:3px 8px;font-size:12px}.animation-video-toolbar{grid-template-columns:minmax(260px,1.2fr) repeat(3,minmax(180px,.72fr))}.animation-manager-table{margin:0 0 14px}.animation-manager-table th{background:#f7f9fc}.animation-manager-table td{vertical-align:middle}.animation-manager-table td:first-child{min-width:250px}.animation-manager-table td:nth-child(2){min-width:180px}.animation-manager-table td:nth-child(3){min-width:210px}.animation-manager-table.has-cover td:first-child{width:82px;min-width:82px}.animation-manager-table.has-cover td:nth-child(2){min-width:220px}.animation-manager-table.has-cover td:nth-child(3){min-width:180px}.animation-manager-table.has-cover td:nth-child(4){min-width:120px}.animation-manager-table.has-cover td:nth-child(5){min-width:210px}.animation-manager-table.has-cover .thumb{border-radius:7px;width:62px;height:78px}.animation-course-cover-blank{width:62px;height:78px}.animation-manager-table .secondary{min-width:60px}.animation-manager-table .animation-table-empty{text-align:center;height:220px;color:var(--muted)}.animation-video-table td:first-child{width:138px;min-width:138px}.animation-video-table td:nth-child(2){min-width:240px}.animation-video-cover-preview{color:#e7ebef;background:#8d9297;border:1px solid #7d8995;border-radius:8px;place-items:center;width:116px;height:68px;font-size:12px;font-weight:700;display:grid}.animation-video-cover-preview.large{flex:0 0 240px;width:240px;height:140px}.animation-preview-pager{color:var(--muted);justify-content:flex-end;align-items:center;gap:10px;display:flex}.animation-preview-pager span{margin-right:8px}.animation-video-preview-detail{align-items:center;gap:20px;margin-bottom:18px;display:flex}.animation-video-preview-detail>div:last-child{gap:7px;display:grid}.animation-video-preview-detail strong{font-size:18px}.animation-video-preview-detail span,.animation-video-preview-detail p{color:var(--muted);margin:0}.animation-video-folder-picker{background:#fbfdff;border:1px dashed #b8c8d7;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:20px;margin-top:18px;padding:20px;display:grid}.animation-video-folder-picker.selected{background:#f8faff;border-style:solid;border-color:#b9c9ed}.animation-video-folder-picker>div{gap:5px;display:grid}.animation-video-folder-picker>button{justify-self:start}.animation-video-folder-picker span{color:var(--blue-dark);font-size:13px;font-weight:800}.animation-video-folder-picker strong{font-size:17px}.animation-video-folder-picker small{color:var(--muted)}.animation-video-import-preview .import-selected{grid-template-columns:minmax(0,1fr)}.animation-video-import-preview .animation-video-import-counts{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:10px 12px;display:grid}.animation-video-import-preview .animation-video-import-counts>span{white-space:normal;overflow-wrap:anywhere;border-radius:10px;min-width:0;padding:10px 14px;line-height:1.45}.animation-management{border:1px solid var(--line);background:#fbfdff;border-radius:10px;margin-bottom:16px;overflow:hidden}.animation-management-intro{border-bottom:1px solid var(--line);background:linear-gradient(90deg,#f5f9ff 0%,#fbfdff 64%);justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 18px;display:flex}.animation-management-title,.animation-tree-state,.animation-series-group>header,.animation-level-head,.animation-course-head,.animation-module-row{align-items:center;display:flex}.animation-management-title{color:var(--blue);gap:8px}.animation-management-title h3{color:var(--text);margin:0;font-size:16px}.animation-management-title .badge{min-height:24px;padding:0 9px;font-size:12px}.animation-management-intro p{color:var(--muted);margin:7px 0 0;font-size:13px}.animation-management-intro>span{color:#6d8094;white-space:nowrap;padding-top:4px;font-size:13px}.animation-series-group+.animation-series-group{border-top:8px solid #f3f7fa}.animation-series-group>header{background:#fff;border-bottom:1px solid #e8eff5;gap:10px;padding:15px 18px}.animation-series-mark,.animation-module-icon{width:32px;height:32px;color:var(--blue);background:var(--blue-soft);border-radius:8px;flex:0 0 32px;place-items:center;display:grid}.animation-series-group>header>div,.animation-tree-copy{gap:3px;min-width:0;display:grid}.animation-series-group>header strong{font-size:15px}.animation-series-group>header span,.animation-tree-copy>span:not(.animation-tree-kind){color:var(--muted);overflow-wrap:anywhere;font-size:12px}.animation-level-list{padding:12px 14px 14px}.animation-level-group{background:#fff;border:1px solid #dfe8f0;border-radius:9px;overflow:hidden}.animation-level-group+.animation-level-group{margin-top:12px}.animation-level-head,.animation-course-head,.animation-module-row{gap:12px}.animation-level-head{background:#f8fbfd;min-height:58px;padding:10px 12px}.animation-course-list{padding:0 12px 12px 42px}.animation-course-group{border-top:1px solid #e5edf3}.animation-course-head{min-height:84px;padding:12px 0}.animation-course-head .thumb{flex:0 0 54px;width:54px;height:54px}.animation-tree-toggle{color:#526579;background:0 0;border:0;border-radius:6px;flex:0 0 26px;place-items:center;width:26px;height:26px;padding:0;display:grid}.animation-tree-toggle:hover{background:#eaf1f7}.animation-tree-toggle[aria-expanded=false] svg{transform:rotate(-90deg)}.animation-tree-toggle svg{transition:transform .16s}.animation-tree-kind{color:#526579;white-space:nowrap;background:#eef3f7;border-radius:5px;width:max-content;padding:3px 7px;font-size:11px;font-weight:800}.animation-level-head>.animation-tree-copy,.animation-course-head>.animation-tree-copy,.animation-module-row>.animation-tree-copy{flex:1}.animation-tree-copy strong{color:var(--text);font-size:14px}.animation-tree-state{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-left:auto}.animation-tree-state .badge{min-height:26px;padding:0 10px;font-size:12px}.animation-tree-state .ghost,.animation-tree-state .secondary{min-height:30px;padding:0 10px;font-size:12px}.animation-example-note{color:#7d8fa2;white-space:nowrap;font-size:12px}.animation-module-list{border:1px solid #e2ebf2;border-radius:8px;margin:0 0 12px 38px;overflow:hidden}.animation-module-row{background:#fcfdff;min-height:62px;padding:9px 12px}.animation-module-row+.animation-module-row{border-top:1px solid #e7eef4}.animation-module-icon{color:#61768c;background:#f0f4f7;border-radius:7px;flex-basis:28px;width:28px;height:28px}.animation-module-row .animation-tree-copy{gap:2px}.animation-management-empty{min-height:210px;color:var(--muted);text-align:center;place-items:center;padding:20px;display:grid}.animation-management-empty strong,.animation-management-empty span{display:block}.animation-management-empty strong{color:var(--text);margin-bottom:8px;font-size:16px}.animation-management-empty .secondary{margin-top:14px}.animation-course-table th,.animation-course-table td{vertical-align:middle}.animation-course-table td:nth-child(2),.animation-course-table td:nth-child(3),.animation-course-table td:nth-child(4){min-width:150px}.animation-course-table td:nth-child(5){min-width:190px}.animation-course-table .animation-table-empty{text-align:center;height:180px;color:var(--muted)}.animation-table-empty strong,.animation-table-empty span{display:block}.animation-table-empty strong{color:var(--text);margin-bottom:8px;font-size:16px}.animation-module-summary{grid-template-columns:repeat(3,max-content);gap:5px;display:grid}.animation-module-summary span{color:#526579;white-space:nowrap;background:#eef3f7;border-radius:6px;padding:4px 7px;font-size:12px;font-weight:700}.animation-course-detail-head{border:1px solid var(--line);background:#fbfdff;border-radius:8px;align-items:center;gap:16px;margin-top:18px;padding:16px;display:flex}.animation-course-detail-head .thumb{width:88px;height:88px}.animation-course-detail-head>div{gap:5px;display:grid}.animation-course-detail-head strong{font-size:17px}.animation-course-detail-head span{color:var(--muted)}.animation-course-detail-head p{color:var(--muted);align-items:center;gap:6px;margin:4px 0 0;display:flex}.animation-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px;display:grid}.animation-detail-grid section{border:1px solid var(--line);border-radius:8px;padding:14px}.animation-detail-grid h3,.animation-detail-title{margin:0 0 10px;font-size:15px}.animation-detail-title{margin-top:18px}.animation-detail-row{border-top:1px solid #edf2f6;justify-content:space-between;gap:14px;padding:8px 0;display:flex}.animation-detail-row:first-of-type{border-top:0}.animation-detail-row span{color:var(--muted)}.animation-detail-row strong{overflow-wrap:anywhere;text-align:right}.modal.animation-resource-detail-modal{width:min(1180px,96vw)}.animation-resource-section{margin-top:18px}.animation-resource-groups{gap:14px;display:grid}.animation-resource-groups>section{border:1px solid var(--line);border-radius:8px;padding:14px}.animation-resource-groups>section>header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.animation-resource-groups>section>header span{color:var(--muted);font-size:13px}.animation-resource-card{border-top:1px solid #edf2f6;gap:12px;padding:12px 0;display:grid}.animation-resource-card:first-of-type{border-top:0;padding-top:0}.animation-resource-card-head,.animation-reader-page-head{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;display:grid}.animation-resource-card-head>div,.animation-reader-page-head>div{gap:5px;min-width:0;display:grid}.animation-resource-card-head span,.animation-reader-page-head span{color:var(--muted);font-size:13px}.animation-asset-meta{color:var(--muted);grid-template-columns:72px auto minmax(0,1fr);align-items:center;gap:8px;margin:0;font-size:12px;display:grid}.animation-asset-meta code{color:var(--text);background:#f3f7fb;border-radius:6px;padding:2px 6px}.animation-asset-meta small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.animation-asset-meta small:last-child{color:#8a99aa;grid-column:3}.animation-resource-video,.animation-extension-page{border:1px solid var(--line);background:#f8fbfd;border-radius:8px;width:min(520px,100%);max-height:280px}.animation-extension-page{object-fit:contain}.animation-reader-pages{gap:12px;display:grid}.animation-reader-page{background:#fbfdff;border:1px solid #edf2f6;border-radius:8px;gap:10px;padding:12px;display:grid}.animation-sentence-list{gap:10px;display:grid}.animation-sentence-row{border-top:1px solid #edf2f6;grid-template-columns:minmax(0,1fr) minmax(220px,320px);align-items:center;gap:12px;padding-top:10px;display:grid}.animation-sentence-row:first-child{border-top:0;padding-top:0}.animation-sentence-row>div{gap:4px;min-width:0;display:grid}.animation-sentence-row span,.animation-sentence-row small{overflow-wrap:anywhere}.animation-sentence-row span{color:var(--text)}.animation-sentence-row small{color:var(--muted)}.animation-sentence-row audio{width:100%}.animation-version-table{margin-bottom:0}.book-filter-toolbar,.album-filter-toolbar{align-items:end;gap:18px 20px;padding:18px 20px 20px}.book-filter-toolbar{grid-template-columns:minmax(260px,1fr) minmax(190px,.75fr) minmax(190px,.75fr) minmax(260px,1fr);grid-template-areas:"title title hall status""series series album album"}.album-filter-toolbar{grid-template-columns:minmax(260px,1fr) minmax(190px,.75fr) minmax(190px,.75fr) minmax(260px,1fr);grid-template-areas:"title title hall status""series series unlock unlock"}.book-filter-toolbar>label,.album-filter-toolbar>label{gap:7px;min-width:0;font-size:14px;line-height:1.2}.book-filter-toolbar input,.book-filter-toolbar select,.album-filter-toolbar input,.album-filter-toolbar select{min-height:38px}.book-filter-toolbar .search,.album-filter-toolbar .search{min-width:0}.book-filter-toolbar .search input,.album-filter-toolbar .search input{height:38px}.book-filter-toolbar .filter-title{grid-area:title;min-width:0}.book-filter-toolbar .filter-hall{grid-area:hall}.book-filter-toolbar .filter-status{grid-area:status}.book-filter-toolbar .filter-series{grid-area:series}.book-filter-toolbar .filter-album{grid-area:album}.album-filter-toolbar .filter-title{grid-area:title;min-width:0}.album-filter-toolbar .filter-hall{grid-area:hall}.album-filter-toolbar .filter-status{grid-area:status}.album-filter-toolbar .filter-series{grid-area:series}.album-filter-toolbar .filter-unlock{grid-area:unlock}.dropdown-select{z-index:1;align-self:start;width:100%;min-width:160px;position:relative}.dropdown-select.open{z-index:30}.dropdown-select-trigger{border:1px solid var(--line-strong);width:100%;min-height:36px;color:var(--text);text-align:left;background:#fff;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:0 16px;font-weight:700;display:flex}.dropdown-select-trigger span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.dropdown-select-trigger svg{color:#33485e;flex:none;transition:transform .16s}.dropdown-select.open .dropdown-select-trigger{border-color:var(--blue);box-shadow:0 0 0 3px #2454d61f}.dropdown-select.open .dropdown-select-trigger svg{transform:rotate(180deg)}.dropdown-select-menu{z-index:31;border:1px solid var(--line-strong);background:#fff;border-radius:8px;max-height:220px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 26px #14223529}.dropdown-select-menu button{width:100%;min-height:34px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;padding:0 10px;font-weight:700;display:flex}.dropdown-select-menu button:hover,.dropdown-select-menu button:focus-visible,.dropdown-select-menu button.selected{color:var(--blue);background:#eef4ff;outline:none}.dropdown-select-search{z-index:1;background:#fff;width:100%;min-height:34px;margin-bottom:6px;position:sticky;top:0}.dropdown-select-empty{color:var(--muted);padding:8px 10px;font-size:13px;font-weight:700;display:block}.tab-row{border:1px solid var(--line);background:#f8fbfd;border-radius:8px;flex-wrap:nowrap;gap:4px;margin:0 0 12px;padding:4px;display:inline-flex}.tab-row button{color:#526579;white-space:nowrap;background:0 0;border:0;border-radius:6px;min-height:34px;padding:0 16px;font-weight:800}.tab-row button.active{color:#fff;background:var(--blue)}.preset-field{align-items:center;gap:8px;display:flex}.preset-field>.unit-input{flex:1;min-width:0}.unit-input{position:relative}.unit-input input{padding-right:34px}.unit-suffix{color:#6b7f95;pointer-events:none;font-weight:700;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.preset-row{gap:8px;display:flex}.preset-row .secondary{white-space:nowrap;min-height:32px;padding:0 10px}.redeem-batch-grid{align-items:start}.redeem-batch-column{grid-template-columns:minmax(0,1fr);align-content:start;gap:18px;min-width:0;display:grid}.redeem-entitlement-field .preset-field{align-items:stretch}.redeem-entitlement-field .preset-row .secondary{border-radius:8px;min-height:36px}.redeem-entitlement-field .preset-row .secondary.active{color:#fff;background:var(--blue);border-color:var(--blue)}.redeem-entitlement-field .unit-input input{min-height:36px}.redeem-entitlement-field.field-invalid .unit-input input{border-color:#ef8b84;box-shadow:0 0 0 3px #e5483b1a}.check-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.check-item{border:1px solid var(--line);background:#f8fbfd;border-radius:8px;align-items:center;gap:8px;min-height:38px;padding:0 10px;font-weight:800;display:flex}.check-item input{flex:0 0 16px;width:16px;min-height:16px}.redeem-expiry-field{align-self:start}.search{position:relative}.search svg{color:#7b8ca0;position:absolute;top:10px;left:11px}.search input{padding-left:40px}.clearable-input{position:relative}.clearable-input input{width:100%;padding-right:44px}.clearable-input button{color:#fff;background:#a8b4c2;border:0;border-radius:50%;place-items:center;width:20px;height:20px;min-height:20px;padding:0;display:grid;position:absolute;top:50%;right:14px;transform:translateY(-50%)}.clearable-input button:hover{color:#fff;background:#8795a6}.clearable-input button svg{stroke-width:3px;width:14px;height:14px}.primary,.secondary,.ghost{white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:0 14px;font-weight:800;text-decoration:none;display:inline-flex}.primary{color:#fff;background:var(--blue)}.primary:hover{background:var(--blue-dark)}.wide{width:100%;min-height:54px;margin-top:34px;font-size:20px}.secondary,.ghost{color:#264158;border-color:var(--line-strong);background:#f7fbfd}.secondary.danger{color:var(--red-text);background:var(--red);border-color:#f0bfc0}.secondary.danger:hover{background:#ffe4e4}.animation-cancel-confirm-modal footer .secondary{background:#fff}.animation-cancel-confirm-modal .modal-hint{margin-top:16px}.ghost{background:#fff}.link-button{color:#264158}table{border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:8px;width:100%;overflow:hidden}th,td{text-align:left;vertical-align:middle;border-bottom:1px solid var(--line);padding:10px 12px}th{color:#66798f;white-space:nowrap;background:#f7f9fc;font-size:13px}tr:last-child td{border-bottom:0}td{color:#233449}.sub{color:var(--muted);margin-top:4px;font-size:13px;display:block}.album-table{table-layout:fixed}.album-table th:first-child,.album-table td:first-child{width:86px}.album-table th:nth-child(2),.album-table td:nth-child(2){width:28%}.album-table th:nth-child(3),.album-table td:nth-child(3){width:26%}.album-table th:nth-child(4),.album-table td:nth-child(4){width:86px}.album-table th:nth-child(5),.album-table td:nth-child(5){width:78px}.album-table th:nth-child(6),.album-table td:nth-child(6){width:108px}.album-table th:nth-child(7),.album-table td:nth-child(7){width:96px}.album-table th:nth-child(8),.album-table td:nth-child(8){width:86px}.album-table th:nth-child(n+4),.album-table td:nth-child(n+4){white-space:nowrap}.album-table th:nth-child(4),.album-table td:nth-child(4),.album-table th:nth-child(5),.album-table td:nth-child(5),.album-table th:nth-child(6),.album-table td:nth-child(6),.album-table th:nth-child(7),.album-table td:nth-child(7){text-align:center}.album-table td:nth-child(2),.album-table td:nth-child(3){overflow-wrap:anywhere;line-height:1.45}.identity{align-items:center;gap:12px;display:flex}.thumb{object-fit:cover;border:1px solid var(--line);background:#f2f6f9;border-radius:8px;width:58px;height:58px}.thumb.empty{color:#8ba0b4;place-items:center;font-size:13px;display:grid}.user-avatar{object-fit:cover;color:#476179;border:1px solid var(--line);background:#eef3f7;border-radius:8px;flex:0 0 58px;place-items:center;width:58px;height:58px;display:grid}.user-avatar.owner{flex-basis:44px;width:44px;height:44px}.user-avatar.empty{background:radial-gradient(circle at 72% 24%,#ffb8537a,#0000 30%),linear-gradient(135deg,#e9f3ff 0%,#eef8f0 58%,#fff4e6 100%)}.badge{color:#526579;white-space:nowrap;background:#eef3f7;border-radius:999px;align-items:center;min-height:28px;padding:0 12px;font-size:13px;font-weight:800;display:inline-flex}.badge.green{color:var(--green-text);background:var(--green)}.badge.red{color:var(--red-text);background:var(--red)}.badge.blue{color:var(--blue);background:var(--blue-soft)}.redeem-table{table-layout:fixed;width:2100px;min-width:2100px}.redeem-table th,.redeem-table td{text-overflow:ellipsis;vertical-align:middle;overflow:hidden}.redeem-table .actions{justify-content:flex-start;gap:8px}.redeem-table .secondary{min-width:56px;padding:0 10px}.redeem-table th:first-child,.redeem-table td:first-child{text-align:center;width:52px;min-width:52px}.redeem-table input[type=checkbox]{width:20px;min-width:20px;height:20px;min-height:20px;accent-color:var(--blue);margin:0;padding:0}.redeem-table th:nth-child(2),.redeem-table td:nth-child(2){width:190px}.redeem-table th:nth-child(3),.redeem-table td:nth-child(3){width:240px}.redeem-table th:nth-child(4),.redeem-table td:nth-child(4){width:210px}.redeem-table th:nth-child(5),.redeem-table td:nth-child(5){width:120px}.redeem-table th:nth-child(6),.redeem-table td:nth-child(6){width:160px}.redeem-table th:nth-child(7),.redeem-table td:nth-child(7){width:150px}.redeem-table th:nth-child(8),.redeem-table td:nth-child(8){width:320px}.redeem-table th:nth-child(9),.redeem-table td:nth-child(9){width:100px}.redeem-table th:nth-child(10),.redeem-table td:nth-child(10){width:135px}.redeem-table th:nth-child(11),.redeem-table td:nth-child(11){width:105px}.redeem-table th:nth-child(12),.redeem-table td:nth-child(12),.redeem-table th:nth-child(13),.redeem-table td:nth-child(13){width:100px}.redeem-table th:nth-child(14),.redeem-table td:nth-child(14){width:160px}.redeem-table td:nth-child(2),.redeem-table td:nth-child(3),.redeem-table td:nth-child(9),.redeem-table td:nth-child(10),.redeem-table td:nth-child(11),.redeem-table td:nth-child(12),.redeem-table td:nth-child(13){white-space:nowrap}.redeem-table td:nth-child(4),.redeem-table td:nth-child(8){line-height:1.45}.redeem-owner-time-list{white-space:normal;flex-direction:column;gap:4px;display:flex}.redeem-owner-time-list span{display:block}.redeem-date-time{color:var(--muted);margin-top:4px;display:block}.redeem-table-card th:nth-child(3),.redeem-table-card td:nth-child(3){width:112px}.pager{color:var(--muted);justify-content:space-between;align-items:center;padding:10px 0 0;display:flex}.pager div{gap:10px;display:flex}.pager select{min-width:132px}.pager button{white-space:nowrap;flex:none;min-width:76px}.dashboard{gap:18px;display:grid}.dashboard-hero{background:linear-gradient(135deg,#fff,#edf3ff);grid-template-columns:repeat(3,minmax(220px,1fr));gap:18px;padding:26px;display:grid}.dashboard-hero div{background:#ffffffc7;border:1px solid #d7e1ff;border-radius:8px;align-content:space-between;min-height:130px;padding:18px;display:grid}.dashboard-hero span,.overview-row span{color:var(--muted);font-weight:800}.dashboard-hero strong{color:var(--blue);font-size:48px;line-height:1}.dashboard-hero em{color:#51667c;font-style:normal}.overview-grid{grid-template-columns:repeat(2,minmax(320px,1fr));gap:18px;display:grid}.overview-panel h2{margin:0 0 16px;font-size:22px}.overview-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;min-height:52px;display:flex}.overview-row strong{color:var(--text);font-size:20px}.split{grid-template-columns:280px 1fr;gap:18px;display:grid}.left-list{align-content:start;gap:10px;display:grid}.left-list button{border:1px solid var(--line);text-align:left;min-height:76px;color:var(--text);background:#fff;border-radius:8px;padding:14px;font-weight:900}.left-list button.selected{border-color:var(--blue);background:var(--blue-soft)}.left-list span{color:var(--muted);margin-top:6px;font-weight:700;display:block}.recommend-groups{gap:18px;display:grid}.recommend-group{border:1px solid var(--line);background:#fff;border-radius:8px;overflow:hidden}.recommend-group header{border-bottom:1px solid var(--line);background:#f8fbff;justify-content:space-between;align-items:center;gap:16px;padding:18px;display:flex}.recommend-group header strong{font-size:20px;display:block}.recommend-group header>div:first-child>span{color:var(--muted);margin-top:4px;font-weight:800;display:block}.recommend-group header .actions{align-items:center}.recommend-group header .badge{flex:none}.slot-grid{grid-template-columns:repeat(2,minmax(260px,1fr));gap:14px;padding:18px;display:grid}.slot-card{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:74px 1fr auto;align-items:center;gap:14px;min-height:112px;padding:14px;display:grid}.slot-card.horizontal{background:var(--blue-soft);grid-column:1/-1}.slot-card>div{min-width:0}.slot-card strong,.slot-card>div>span,.slot-card>div>p{display:block}.slot-card>div>span,.slot-card>div>p{color:var(--muted);margin:4px 0 0;font-weight:800}.slot-card .badge{vertical-align:top;align-self:flex-start;width:auto;min-height:26px;margin-top:8px;padding:0 10px;font-size:12px;line-height:1;display:inline-flex}.slot-empty{min-height:96px;color:var(--muted);border:1px dashed var(--line-strong);background:#f8fbff;border-radius:8px;grid-column:1/-1;place-items:center;font-weight:800;display:grid}.modal-mask{z-index:20;background:#0f1e2d85;place-items:center;padding:34px;display:grid;position:fixed;inset:0}.modal{width:min(980px,96vw);max-height:90vh;box-shadow:var(--shadow);background:#fff;border-radius:8px;padding:26px;overflow:auto}.modal header,.modal footer{justify-content:space-between;align-items:center;gap:16px;display:flex}.modal h2{margin:0;font-size:26px}.modal footer{justify-content:flex-end;margin-top:22px}.form-grid{grid-template-columns:repeat(2,minmax(240px,1fr));gap:18px;margin-top:22px;display:grid}.redeem-code-edit-grid .modal-hint{align-self:start;margin:48px 0 0}.redeem-disable-box{background:#fff8f8;border:1px solid #f0bfc0;border-radius:8px;justify-content:space-between;align-items:center;gap:18px;margin-top:18px;padding:16px;display:flex}.redeem-disable-box div{gap:5px;display:grid}.redeem-disable-box strong{font-size:15px}.redeem-disable-box span{color:var(--muted);line-height:1.45}.field-invalid>input,.field-invalid>select,.field-invalid>textarea{border-color:#ef8b84;box-shadow:0 0 0 3px #e5483b1a}.field-invalid>.check-list{border:1px solid #ef8b84;border-radius:8px;padding:8px;box-shadow:0 0 0 3px #e5483b1a}.field-error{color:var(--red-text);margin-top:6px;font-size:13px;font-style:normal;font-weight:800;line-height:1.4;display:block}.upload-field{color:#33485e;gap:8px;font-weight:700;display:grid}.upload-field small{color:var(--muted);font-size:13px;font-weight:700;line-height:1.45}.upload-label{color:#33485e;font-weight:800}.upload-box{border:1px dashed var(--line-strong);cursor:pointer;border-radius:8px;flex-direction:row;align-items:center;gap:16px;min-height:118px;padding:14px;display:flex}.upload-box span{color:var(--blue);align-items:center;gap:6px;font-weight:900;display:inline-flex}.upload-box em{color:var(--red-text);font-size:13px;font-style:normal;font-weight:800}.upload-box input{display:none}.audio-upload{align-items:stretch}.audio-state{border:1px solid var(--line);min-width:260px;color:var(--muted);background:#f8fbff;border-radius:8px;flex:1;align-content:center;gap:8px;padding:12px 14px;display:grid}.audio-state.ready{background:var(--blue-soft);color:var(--blue);border-color:#c7d8ff}.audio-state strong{font-size:15px}.audio-state audio{width:100%;max-width:420px;height:32px}.form-error,.success,.state{border-radius:8px;margin:12px 0;padding:12px 14px;font-weight:700}.form-error{color:var(--red-text);background:var(--red)}.success{color:var(--green-text);background:var(--green)}.state{color:var(--muted);background:#f4f7fa}.form-hint{color:var(--muted);margin:12px 0 0;font-size:13px;line-height:1.55}.form-error-dismissible{justify-content:space-between;align-items:center;gap:14px;display:flex}.form-error-close{width:30px;height:30px;color:inherit;background:0 0;border:0;border-radius:6px;flex:0 0 30px;place-items:center;padding:0;display:grid}.form-error-close:hover,.form-error-close:focus-visible{background:#b929291f;outline:none}.contact-rotation-layout{grid-template-columns:minmax(0,1fr) minmax(300px,.38fr);gap:14px;margin:0 0 12px;display:grid}.contact-rotation-overview{background:linear-gradient(135deg,#f5f9ff,#fff);border:1px solid #cfe0ff;border-radius:10px;min-width:0;padding:16px 18px}.contact-rotation-overview-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.rotation-eyebrow{color:#5175ad;letter-spacing:.04em;margin-bottom:3px;font-size:12px;font-weight:800;display:block}.contact-rotation-overview h3,.contact-rotation-setting h3{color:var(--text);margin:0;font-size:17px;line-height:1.35}.rotation-next-time{text-align:right;border-left:1px solid #dce8f8;flex:none;padding-left:15px}.rotation-next-time span{color:var(--muted);margin-bottom:3px;font-size:12px;display:block}.rotation-next-time strong{color:#23436f;font-size:14px}.contact-rotation-flow{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);align-items:center;gap:10px;margin-top:15px;display:grid}.rotation-qr-card{background:#fff;border:1px solid #dbe6f3;border-radius:8px;align-items:center;gap:11px;min-width:0;padding:10px;display:flex}.rotation-qr-card.rotation-qr-current{border-color:#9abaf1;box-shadow:0 4px 12px #2d5fb414}.rotation-qr-card .thumb{flex:0 0 46px;width:46px;height:46px}.rotation-qr-card>div:last-child{gap:2px;min-width:0;display:grid}.rotation-qr-card span{color:var(--muted);font-size:12px}.rotation-qr-card strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.rotation-qr-card small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.rotation-flow-arrow{color:#6694d6;text-align:center;font-size:21px;font-weight:700}.rotation-pool-status{color:var(--muted);align-items:center;gap:7px;margin-top:13px;font-size:12px;display:flex}.rotation-pool-status strong{color:#2c5b9d;font-size:13px}.rotation-pool-divider{background:#d6e2f1;width:1px;height:12px}.contact-rotation-setting{border:1px solid var(--line);background:#fff;border-radius:10px;flex-direction:column;justify-content:flex-start;gap:16px;padding:16px 18px;display:flex}.contact-rotation-setting p{color:var(--muted);margin:5px 0 0;font-size:13px;line-height:1.55}.rotation-setting-controls{align-items:end;gap:8px;display:flex}.rotation-setting-controls label{color:var(--muted);grid-template-columns:46px 58px 36px;align-items:center;gap:6px;font-size:13px;font-weight:700;display:grid}.rotation-setting-controls input{text-align:center;width:58px;min-height:36px;padding:0 8px}.rotation-setting-controls button{min-height:36px;padding:0 13px}.contact-rotation-feedback{margin-bottom:12px}.empty-state{min-height:320px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:12px;display:grid}.empty-state h2{color:var(--text);margin:0}.empty-state p{max-width:620px;margin:0;line-height:1.7}.empty-cell{color:var(--muted);text-align:center;padding:44px 24px!important}.admin-card{max-width:620px}.modal.card-detail-modal{width:min(980px,96vw)}.modal.card-detail-modal>header h2{font-size:19px}.modal.card-detail-modal>footer{z-index:3;border-top:1px solid var(--line);background:#fff;margin:22px -26px -26px;padding:14px 26px;position:sticky;bottom:0}.card-basic{border:1px solid var(--line);background:#f8fbff;border-radius:8px;align-items:flex-start;gap:16px;margin-top:18px;padding:14px;display:flex}.card-basic dl{flex:1;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px 18px;min-width:0;margin:0;display:grid}.card-basic dt{color:var(--muted);font-size:12px;font-weight:700}.card-basic dd{word-break:break-all;margin:2px 0 0;font-weight:700}.card-basic dl>div:last-child{grid-column:1/-1}.redeem-detail{gap:18px;margin-top:22px;display:grid}.redeem-detail-grid{grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px;display:grid}.redeem-detail-grid div{border:1px solid var(--line);background:#f8fbfd;border-radius:8px;min-width:0;padding:12px 14px}.redeem-detail-grid span{color:var(--muted);font-size:12px;font-weight:800;display:block}.redeem-detail-grid strong{color:var(--text);word-break:break-all;margin-top:6px;font-size:15px;line-height:1.5;display:block}.redeem-detail-grid strong .badge{justify-content:flex-start;display:flex}.redeem-detail-wide{grid-column:1/-1}.redeem-owners{gap:10px;display:grid}.redeem-owners h3{color:var(--text);margin:0;font-size:18px}.redeem-owner-row{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;display:grid}.redeem-owner-row strong,.redeem-owner-row span{display:block}.redeem-owner-row span,.redeem-owner-row time{color:var(--muted);font-size:13px;font-weight:700}.redeem-owner-validity{text-align:right;justify-items:end;gap:4px;display:grid}.owner-avatar{object-fit:cover;border:1px solid var(--line);background:#eef3f7;border-radius:8px;width:44px;height:44px}.owner-avatar.empty{color:var(--muted);place-items:center;font-size:12px;font-weight:800;display:grid}.card-anno label{gap:4px;font-size:12px;font-weight:600}.card-anno input,.card-anno select{border-radius:6px;min-height:30px;padding:0 8px;font-size:13px}.card-anno select{background-position:right 8px center;background-size:15px 15px;padding-right:30px}.card-anno{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}.anno-left{position:sticky;top:0}.anno-layers{color:var(--muted,#5a6472);gap:16px;margin-bottom:10px;font-size:13px;display:flex}.anno-layers label{align-items:center;gap:6px;display:flex}.anno-layers input{width:auto}.anno-stage{background:#f2f5f7;border-radius:8px;position:relative;overflow:hidden}.anno-stage img{width:100%;display:block}.anno-box{pointer-events:none;position:absolute}.anno-box.bbox{pointer-events:auto;cursor:pointer;background:#2563eb0f;border:1px dashed #2563ebd9}.anno-box.bbox span{color:#fff;white-space:nowrap;background:#2563ebd9;border-radius:3px;padding:0 4px;font-size:11px;line-height:15px;position:absolute;top:-2px;left:0;transform:translateY(-100%)}.anno-box.ink{border:1px solid #16a34ae6}.anno-box.word{border:1px solid #ea580ce6}.anno-box.active{box-shadow:0 0 0 2px #eab308e6}.anno-box.bbox.active{background:#eab30829}.anno-right{flex-direction:column;gap:12px;max-height:72vh;display:flex;overflow:auto}.anno-row{border:1px solid var(--line,#e3e9ee);cursor:pointer;border-radius:8px;padding:10px 12px}.anno-row.active{background:#eab3080f;border-color:#eab308e6}.anno-row header{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:8px;display:flex}.anno-row header strong{font-size:13px}.anno-row .badge{padding:2px 7px;font-size:11px}.anno-row audio{width:100%;height:30px;margin-top:8px}.reading-detail-modal{background:#f7f9fc;padding-bottom:0}.reading-detail-modal>header{border-bottom:1px solid var(--line);background:#fff;margin:-26px -26px 0;padding:20px 26px}.reading-detail-meta{color:var(--muted);align-items:center;gap:8px;margin-top:18px;font-size:13px;font-weight:700;display:flex}.reading-detail-meta b{color:#b2bfcc;font-weight:500}.reading-detail-modal .modal-hint{background:#fff;border:1px solid #dfe8f2;margin-top:12px}.reading-detail-section-title{justify-content:space-between;align-items:flex-end;gap:16px;margin:18px 0 10px;display:flex}.reading-detail-section-title>div{gap:3px;display:grid}.reading-detail-section-title h3{color:var(--text);margin:0;font-size:17px}.reading-detail-section-title span{color:var(--muted);font-size:12px}.reading-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.reading-resource{border:1px solid var(--line);background:#fff;border-radius:10px;min-width:0;padding:14px}.reading-resource>header{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px;display:flex}.reading-resource>header>div{gap:3px;display:grid}.reading-resource>header strong{color:var(--text);font-size:15px}.reading-resource>header span{color:var(--muted);font-size:12px}.reading-resource-image{background:#f1f4f8;border-radius:8px;place-items:center;height:180px;display:grid;overflow:hidden}.reading-resource-image img{object-fit:contain;width:100%;height:100%}.reading-resource-image>span{color:var(--muted);font-weight:700}.compact-resource-picker{border:1px solid var(--line-strong);min-height:34px;color:var(--blue);cursor:pointer;background:#f8fbff;border-radius:7px;justify-content:center;align-items:center;gap:7px;margin-top:10px;font-size:13px;font-weight:800;display:flex;position:relative;overflow:hidden}.compact-resource-picker span{text-overflow:ellipsis;white-space:nowrap;max-width:calc(100% - 34px);overflow:hidden}.compact-resource-picker input{opacity:0;cursor:pointer;width:100%;height:100%;min-height:0;position:absolute;inset:0}.reading-audio-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.reading-audio-card{border:1px solid var(--line);background:#fff;border-radius:10px;min-width:0;padding:16px}.reading-audio-card>header{gap:12px;display:grid}.reading-audio-card>header>div:first-child{gap:6px;display:grid}.reading-audio-card>header span{color:var(--muted);font-size:12px;font-weight:800}.reading-audio-card>header strong{color:var(--text);font-size:17px;line-height:1.5}.reading-audio-badges{flex-wrap:wrap;gap:6px;display:flex}.reading-lines{background:#f7f9fc;border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px;margin-top:14px;padding:10px;display:flex}.reading-lines span{color:var(--muted);margin-right:2px;font-size:12px;font-weight:800}.reading-lines em{color:#33485e;background:#fff;border:1px solid #dce5ef;border-radius:6px;padding:4px 7px;font-size:12px;font-style:normal}.reading-audio-card audio{width:100%;height:34px;margin-top:14px}.anno-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px;display:grid}.anno-bbox{align-items:flex-end;gap:6px;margin-top:8px;display:flex}.anno-bbox>span{color:var(--muted,#5a6472);white-space:nowrap;padding-bottom:8px;font-size:12px}.anno-bbox label{flex:1;font-size:11px}.anno-alt{color:var(--muted,#5a6472);margin-top:8px;font-size:12px}.account-area{position:relative}.account-trigger{min-height:46px;color:inherit;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:5px 8px;display:flex}.account-trigger:hover,.account-trigger[aria-expanded=true]{background:#f1f5f9}.account-trigger:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.account-avatar{color:#fff;background:linear-gradient(135deg,#3d7bfd,#2356b8);border-radius:50%;flex:0 0 36px;place-items:center;width:36px;height:36px;display:grid}.account-copy{flex-direction:column;min-width:150px;line-height:1.25;display:flex}.account-copy strong{color:var(--text);font-size:14px}.account-copy span{color:var(--muted);font-size:12px}.account-chevron{color:var(--muted);flex:none;transition:transform .16s}.account-trigger[aria-expanded=true] .account-chevron{transform:rotate(180deg)}.account-menu{z-index:20;border:1px solid var(--line);background:#fff;border-radius:8px;width:170px;padding:6px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 30px #14223529}.account-menu button{width:100%;min-height:38px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:10px;padding:0 10px;font-weight:800;display:flex}.account-menu button:hover,.account-menu button:focus-visible{background:#f1f5f9;outline:none}.account-menu button.logout{color:var(--red-text)}.summary-grid{grid-template-columns:repeat(7,minmax(110px,1fr));gap:10px;margin-bottom:12px;display:grid}.summary-grid>div{border:1px solid var(--line);background:#f8fbfd;border-radius:8px;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.summary-grid span{color:var(--muted);font-size:12px}.summary-grid strong{font-size:20px}.selection-bar{background:#f4f8ff;border:1px solid #cfe0ff;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;padding:10px 12px;display:flex}.selection-bar>strong{color:var(--blue);margin-right:4px}.redeem-table-shell{border:1px solid var(--line);border-radius:8px;width:100%;position:relative}.redeem-table-sticky-head{z-index:5;box-shadow:0 1px 0 var(--line), 0 4px 10px #14223514;background:#f7f9fc;border-radius:7px 7px 0 0;position:sticky;top:0;overflow:hidden}.redeem-table-head-viewport{width:100%;overflow:hidden}.redeem-table-shell table{border:0;border-radius:0;margin:0}.table-scroll{border-radius:0 0 7px 7px;width:100%;overflow-x:auto}.redeem-table-card{table-layout:fixed;width:100%;min-width:1994px}.redeem-table-card.redeem-table-agent{min-width:1864px}.redeem-table-card th,.redeem-table-card td{vertical-align:middle;min-width:0}.redeem-table-card th:nth-child(n),.redeem-table-card td:nth-child(n){width:auto}.redeem-table-card col.col-select{width:44px}.redeem-table-card col.col-code{width:170px}.redeem-table-card col.col-batch{width:220px}.redeem-table-card col.col-series{width:180px}.redeem-table-card col.col-creator{width:130px}.redeem-table-card col.col-created-at{width:160px}.redeem-table-card col.col-assignee{width:150px}.redeem-table-card col.col-owner{width:120px}.redeem-table-card col.col-range{width:190px}.redeem-table-card col.col-validity{width:210px}.redeem-table-card col.col-entitlement{width:120px}.redeem-table-card col.col-status{width:96px}.redeem-table-card col.col-redeemed{width:112px}.redeem-table-card col.col-action{width:92px}.redeem-table-card th:first-child,.redeem-table-card td:first-child{text-align:center;width:44px;min-width:44px}.redeem-table-card th:last-child,.redeem-table-card td:last-child{width:92px;min-width:92px}.validity-period{white-space:normal;flex-direction:column;gap:6px;line-height:1.35;display:flex}.validity-period span{white-space:nowrap;display:block}.modal-hint{color:#526579;background:#f3f7fb;border-radius:8px;margin:0 0 14px;padding:10px 12px;line-height:1.6}.redeem-import-modal{width:min(720px,94vw)}.redeem-import-content{gap:16px;margin-top:24px;display:grid}.redeem-import-label{color:var(--text);gap:10px;font-size:14px;font-weight:800;display:grid}.redeem-file-picker{cursor:pointer;background:linear-gradient(135deg,#f8fbff 0%,#f4f8fd 100%);border:1px dashed #b6c7da;border-radius:12px;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:96px;padding:16px;transition:border-color .18s,box-shadow .18s,background .18s;display:grid;position:relative;overflow:hidden}.redeem-file-picker:hover,.redeem-file-picker:focus-within{border-color:var(--blue);background:#f6f9ff;box-shadow:0 0 0 3px #2d56d61a}.redeem-file-picker.is-selected{background:#f7f9ff;border-style:solid;border-color:#89a6ee}.redeem-file-icon{width:52px;height:52px;color:var(--blue);background:#e9efff;border-radius:12px;place-items:center;display:grid}.redeem-file-copy{gap:5px;min-width:0;display:grid}.redeem-file-copy strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.redeem-file-copy small{color:var(--muted);font-size:13px;font-weight:700}.redeem-file-action{color:#2f455b;white-space:nowrap;background:#fff;border:1px solid #bdcce0;border-radius:9px;justify-content:center;align-items:center;min-height:38px;padding:0 16px;font-size:14px;font-weight:800;display:inline-flex}.redeem-file-picker input{z-index:2;opacity:0;cursor:pointer;width:100%;height:100%;min-height:0;padding:0;position:absolute;inset:0}.redeem-import-hint{background:#f6f8fb;border:1px solid #e4ebf3;grid-template-columns:auto minmax(0,1fr);gap:8px;margin:0;padding:14px 16px;display:grid}.redeem-import-hint strong{color:#334a60;white-space:nowrap}.redeem-import-hint span{min-width:0}button:disabled{opacity:.5;cursor:not-allowed}@media (width<=1280px){body{min-width:0}.admin-shell{grid-template-columns:260px minmax(0,1fr)}.brand-mark{flex-basis:46px;width:46px;height:46px}.brand strong{font-size:18px}nav button{font-size:15px}.toolbar{grid-template-columns:1fr 180px 180px}.book-filter-toolbar,.album-filter-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"title title""hall status""series album"}.album-filter-toolbar{grid-template-areas:"title title""hall status""series unlock"}th,td{padding:12px}.summary-grid{grid-template-columns:repeat(4,minmax(110px,1fr))}.contact-rotation-layout{grid-template-columns:1fr}.animation-course-toolbar,.animation-manager-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=1100px){.admin-shell{zoom:.75;grid-template-columns:76px minmax(0,1fr);width:133.334%;min-height:133.334vh}.sidebar{padding:16px 10px}.brand{justify-content:center;padding:2px 0 16px}.brand-copy{display:none}nav button{justify-content:center;min-height:46px;padding:0;font-size:0}nav button svg{flex-basis:20px;width:20px;height:20px}.topbar{height:62px;padding:0 20px}.topbar h1{font-size:22px}.content{padding:18px 20px 32px}.panel{padding:18px}.toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar .search{grid-column:1/-1}.animation-course-toolbar,.animation-manager-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.animation-hall-head{align-items:flex-start}.book-filter-toolbar .search,.album-filter-toolbar .search{grid-column:auto}.pager{gap:14px}.account-copy{display:none}}@media (width<=720px){.admin-shell{zoom:.7;grid-template-columns:60px minmax(0,1fr);width:142.858%;min-height:142.858vh}.sidebar{padding:12px 6px}.brand-mark{flex-basis:40px;width:40px;height:40px;font-size:18px}.topbar{padding:0 14px}.topbar h1{font-size:19px}.content,.panel{padding:14px}.panel-head{align-items:flex-start}.panel-head h2{font-size:20px}.toolbar,.form-grid,.animation-import .import-selected,.animation-video-folder-picker,.animation-course-toolbar,.animation-manager-toolbar{grid-template-columns:1fr}.animation-hall-head{flex-direction:column}.animation-hall-head>.primary{width:100%}.animation-import .import-selected-change{grid-column:auto}.book-filter-toolbar,.album-filter-toolbar{grid-template-columns:1fr;grid-template-areas:"title""hall""status""series""album"}.album-filter-toolbar{grid-template-areas:"title""hall""status""series""unlock"}.toolbar .search{grid-column:auto}.animation-management-intro{flex-direction:column}.animation-management-intro>span{padding-top:0}.animation-level-list{padding:10px}.animation-course-list{padding-left:12px}.animation-level-head,.animation-course-head,.animation-module-row{flex-wrap:wrap;align-items:flex-start}.animation-level-head>.animation-tree-copy,.animation-course-head>.animation-tree-copy,.animation-module-row>.animation-tree-copy{min-width:calc(100% - 82px)}.animation-tree-state{justify-content:flex-start;width:100%;margin-left:38px}.animation-course-head .animation-tree-state{margin-left:38px}.animation-module-list{margin-left:0}.animation-module-row .animation-tree-state{margin-left:40px}.pager{flex-direction:column;align-items:flex-start}.pager div{width:100%}.pager select{flex:1;min-width:0}.pager button{min-width:72px;padding:0 10px}.split,.overview-grid{grid-template-columns:1fr}.summary-grid{grid-template-columns:repeat(2,minmax(110px,1fr))}.contact-rotation-overview-head{flex-direction:column;align-items:flex-start}.rotation-next-time{text-align:left;border:0;padding:0}.contact-rotation-flow{grid-template-columns:1fr}.rotation-flow-arrow{transform:rotate(90deg)}.account-trigger{min-height:42px;padding:3px 6px}.account-avatar{flex-basis:32px;width:32px;height:32px}.redeem-file-picker{grid-template-columns:46px minmax(0,1fr)}.redeem-file-icon{width:46px;height:46px}.redeem-file-action{grid-column:1/-1}}
