.nav-group-label[data-v-0d568ba0]{color:var(--ink-muted);padding:14px 14px 6px;font-size:11px;font-weight:600}@media (width<=760px){.nav-group-label[data-v-0d568ba0]{display:none}}@font-face{font-family:Kanit;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/kanit-latin-500-normal.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Kanit;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/kanit-latin-700-normal.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Kanit;font-style:italic;font-weight:700;font-display:swap;src:url(/fonts/kanit-latin-700-italic.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Kanit;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/kanit-thai-500-normal.woff2)format("woff2");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Kanit;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/kanit-thai-700-normal.woff2)format("woff2");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}:root{--ink:#17111b;--ink-2:#221a27;--ink-3:#30263a;--ink-text:#cfc3d4;--ink-muted:#998ca0;--ground:#f5f3f6;--surface:#fff;--surface-2:#faf8fb;--surface-3:#f1edf3;--line:#e7e1ea;--line-strong:#d4ccd9;--text:#1c1620;--text-2:#463d4c;--muted:#6b6171;--rose:#c8235a;--rose-hover:#ab1a4b;--rose-wash:#fdebf1;--rose-text:#9c1747;--ok:#17734a;--ok-wash:#e2f3e9;--info:#3140a8;--info-wash:#e7eafb;--warn:#8a5300;--warn-wash:#fcf0d9;--bad:#b42318;--bad-wash:#fde8e5;--font-display:Kanit, "Segoe UI", -apple-system, Roboto, "Noto Sans Thai", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;--font-ui:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Thai", "Noto Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;--ease-out:cubic-bezier(.16, 1, .3, 1);--radius:12px;--radius-sm:8px;--shadow-card:0 1px 2px #1c16200d, 0 6px 16px -10px #1c162026;font-family:var(--font-ui);color:var(--text);background:var(--ground);font-synthesis:none;-webkit-font-smoothing:antialiased;accent-color:var(--rose);caret-color:var(--rose);--el-color-primary:#c8235a;--el-color-primary-light-3:#d9658a;--el-color-primary-light-5:#e491ad;--el-color-primary-light-7:#efbdce;--el-color-primary-light-8:#f4d3de;--el-color-primary-light-9:#fdebf1;--el-color-primary-dark-2:#ab1a4b;--el-border-radius-base:8px;--el-font-family:var(--font-ui);font-size:14px}*{box-sizing:border-box}body{background:var(--ground);margin:0}h1,h2,p{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--rose);outline-offset:3px;border-radius:6px}::selection{color:#4a0a22;background:#f6c6d6}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--line-strong);border:2px solid var(--ground);border-radius:10px}::-webkit-scrollbar-track{background:0 0}h1{font-family:var(--font-display);letter-spacing:-.015em;text-wrap:balance;font-size:28px;font-weight:500;line-height:1.2}h2{font-size:16px;font-weight:650;line-height:1.4}p{line-height:1.6}.eyebrow{background:var(--warn-wash);color:var(--warn);border-radius:999px;align-items:center;gap:6px;margin-bottom:10px;padding:3px 10px;font-size:12px;font-weight:600;line-height:1.5;display:inline-flex}.eyebrow:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.admin-shell{min-height:100dvh;display:flex}.sidebar{background:var(--ink);color:#f6eff8;flex-direction:column;flex-shrink:0;width:248px;height:100dvh;padding:22px 14px 18px;display:flex;position:sticky;top:0;overflow-y:auto}.brand{font-family:var(--font-display);letter-spacing:-.01em;align-items:center;gap:11px;min-height:44px;padding:4px 8px;font-size:18px;font-style:italic;font-weight:700;display:flex}.brand small{font-family:var(--font-ui);color:var(--ink-muted);letter-spacing:0;margin-top:2px;font-size:12px;font-style:normal;font-weight:500;display:block}.brand-mark{color:#d6295f;flex-shrink:0}.brand>div{overflow-wrap:anywhere;min-width:0;line-height:1.15}.sidebar nav{flex-direction:column;gap:2px;margin-top:30px;display:flex}.sidebar nav a{color:var(--ink-text);border-radius:10px;align-items:center;gap:12px;min-height:44px;padding:10px 12px;font-size:14px;font-weight:500;line-height:1.4;transition:background .16s,color .16s;display:flex}.sidebar nav a svg{width:19px;height:19px;color:var(--ink-muted);flex-shrink:0;transition:color .16s}.sidebar nav a:hover{background:var(--ink-2);color:#fff}.sidebar nav a.router-link-active{background:var(--ink-3);color:#fff;font-weight:600}.sidebar nav a.router-link-active svg{color:#ff6b96}.sidebar-footer{border-top:1px solid var(--ink-2);margin-top:auto;padding:18px 10px 0}.sidebar-footer p{color:var(--ink-muted);margin-top:10px;font-size:12px;line-height:1.5}.environment-pill{color:#ffc266;background:#3a2a14;border-radius:999px;align-items:center;gap:7px;padding:5px 10px;font-size:12px;font-weight:600;display:inline-flex}.environment-pill>span{background:currentColor;border-radius:50%;width:6px;height:6px}.environment-pill.real{color:#7fe0b0;background:#12301f}.workspace{flex-direction:column;flex:1;min-width:0;display:flex}.workspace-header{z-index:5;border-bottom:1px solid var(--line);height:60px;color:var(--muted);background:color-mix(in srgb, var(--ground) 86%, transparent);-webkit-backdrop-filter:blur(12px);justify-content:space-between;align-items:center;gap:16px;padding:0 40px;font-size:13px;display:flex;position:sticky;top:0}.breadcrumb{white-space:nowrap;align-items:center;gap:8px;min-width:0;display:flex}.breadcrumb svg{width:14px;height:14px;color:var(--line-strong)}.breadcrumb span{color:var(--text);text-overflow:ellipsis;font-weight:600;overflow:hidden}.header-actions{align-items:center;gap:8px;display:flex}.language-switcher{min-height:36px;color:var(--text-2);white-space:nowrap;border-radius:999px;flex-flow:row;align-items:center;gap:6px;padding:0 10px;transition:background .16s;display:inline-flex}.language-switcher:hover{background:var(--surface-3)}.language-switcher:focus-within{outline:2px solid var(--rose);outline-offset:2px}.language-switcher>svg{flex-shrink:0}.language-switcher select{appearance:auto;width:auto;min-height:36px;font:inherit;max-width:120px;color:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:13px;font-weight:500}.language-switcher select:focus-visible{outline:none}.admin-identity{min-height:36px;color:var(--text);align-items:center;gap:8px;padding:0 10px 0 4px;font-weight:500;display:flex}.identity-avatar{background:var(--ink);color:#fff;border-radius:50%;place-items:center;width:28px;height:28px;font-size:12px;font-weight:700;display:grid}.header-button{min-height:36px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:999px;align-items:center;gap:7px;padding:0 12px;font-size:13px;font-weight:500;transition:background .16s,color .16s;display:inline-flex}.header-button svg{width:16px;height:16px}.header-button:hover{background:var(--surface-3);color:var(--text)}#main{flex:1}.content-page{width:100%;max-width:2200px;padding:32px clamp(24px,2.6vw,48px) 64px}.page-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px;display:flex}.page-heading>div{min-width:0}.page-heading h1{overflow-wrap:anywhere}.page-heading p{color:var(--muted);max-width:72ch;margin-top:6px;font-size:14px}.text-link{color:var(--rose-text);white-space:nowrap;align-items:center;gap:4px;min-height:44px;padding:10px 0;font-size:13px;font-weight:600;display:inline-flex}.text-link:hover{color:var(--rose);text-underline-offset:3px;text-decoration:underline}.table-surface{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-card);overflow:hidden}.table-title{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;display:flex}.table-title span{color:var(--muted);font-size:12px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}th{white-space:nowrap;vertical-align:bottom;color:var(--muted);background:var(--surface-2);border-bottom:1px solid var(--line);letter-spacing:.01em;padding:10px 20px;font-size:12px;font-weight:600}td{vertical-align:top;overflow-wrap:break-word;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums;color:var(--text-2);padding:16px 20px}tbody tr{transition:background .12s}tbody tr:hover{background:var(--surface-2)}tbody tr:last-child td{border-bottom:0}td strong{color:var(--text);font-size:14px;font-weight:600}td small{color:var(--muted);margin-top:4px;font-size:12px;display:block}.table-footer{color:var(--muted);padding:16px 20px;font-size:12px}.resource-state{color:var(--text-2);overflow-wrap:anywhere;text-align:center;flex-direction:column;align-items:center;gap:12px;padding:56px 24px;font-size:14px;display:flex}.resource-state span{color:var(--muted);font-size:13px}.retry-button{border:1px solid var(--line-strong);background:var(--surface);border-radius:var(--radius-sm);cursor:pointer;color:var(--text);min-height:40px;padding:8px 16px;font-weight:600}.retry-button:hover{background:var(--surface-3)}.loading-mark{border:2.5px solid var(--line);border-top-color:var(--rose);border-radius:50%;width:24px;height:24px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.form-error{color:var(--bad);overflow-wrap:anywhere;margin-top:12px;font-size:13px}ul.form-error{border-radius:var(--radius-sm);background:var(--bad-wash);padding:12px 16px 12px 32px;line-height:1.7}.login-layout{background:var(--surface);grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);min-height:100dvh;display:grid}.login-art{background:var(--ink);color:#fff;isolation:isolate;grid-template-rows:auto 1fr auto;min-height:100dvh;padding:32px 48px 44px;display:grid;position:relative;overflow:hidden}.login-art:before{content:"";z-index:-1;background:radial-gradient(at 50% 100%,#d6295f55,#0000 65%);height:70%;position:absolute;inset:auto -20% -30%}.login-art-brand{font-family:var(--font-display);align-items:center;gap:10px;font-size:19px;font-style:italic;font-weight:700;display:flex}.login-posters{aspect-ratio:2/3;place-self:center;width:min(68%,340px);margin-block:32px;position:relative}.login-posters img{object-fit:cover;border-radius:18px;width:100%;height:100%;position:absolute;inset:0;box-shadow:0 30px 60px -20px #000,0 0 0 1px #ffffff14}.poster-back{filter:brightness(.62)saturate(.9);transform:translate(28%,-4%)rotate(8deg)scale(.88)}.poster-front{transform:translate(-10%,2%)rotate(-4deg)}.art-preview-label{color:#fff;-webkit-backdrop-filter:blur(8px);background:#17111bcc;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:600;position:absolute;bottom:4%;left:-6%;transform:rotate(-4deg)}.login-art-caption p{font-family:var(--font-display);letter-spacing:-.015em;text-wrap:balance;max-width:18ch;font-size:clamp(28px,3vw,40px);font-weight:500;line-height:1.15}.login-art-caption span{color:var(--ink-muted);margin-top:14px;font-size:13px;display:block}.login-side{background:var(--surface);justify-content:center;align-items:center;padding:72px 48px;display:flex;position:relative}.login-locale{position:absolute;top:20px;right:24px}.login-panel{width:100%;max-width:380px}.login-brand-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.login-brand{color:var(--text);padding:0;font-size:18px}.login-panel h1{font-size:32px;font-weight:700}.login-subtitle{color:var(--muted);margin:8px 0 22px;font-size:15px}.environment-note{color:var(--warn);background:var(--warn-wash);border-radius:var(--radius-sm);align-items:flex-start;gap:10px;margin-bottom:8px;padding:10px 12px;font-size:13px;display:flex}.environment-note p{line-height:1.5}.environment-dot{background:currentColor;border-radius:50%;flex-shrink:0;width:6px;height:6px;margin-top:7px}.login-panel label{color:var(--text-2);margin:18px 0 8px;font-size:13px;font-weight:600;display:block}.login-panel .el-input__wrapper{background:var(--surface);min-height:46px;box-shadow:0 0 0 1px var(--line-strong) inset;border-radius:10px;padding-inline:14px;transition:box-shadow .16s}.login-panel .el-input__wrapper.is-focus{box-shadow:0 0 0 2px var(--rose) inset}.login-panel .el-input input.el-input__inner,.login-panel .el-input input.el-input__inner:hover,.login-panel .el-input input.el-input__inner:focus-visible{box-shadow:none;--el-input-placeholder-color:#8d8393;background:0 0;border:0;border-radius:0;outline:none;min-height:0;padding:0;font-size:14px}.login-button{border-radius:10px;width:100%;min-height:48px;margin-top:26px;font-size:15px;font-weight:600}.login-button>span{justify-content:space-between;align-items:center;width:100%;padding-inline:4px;display:flex}.login-footer{color:var(--muted);text-align:center;justify-content:center;align-items:flex-start;gap:6px;margin-top:22px;font-size:12px;line-height:1.6;display:flex}.login-copyright{color:var(--muted);font-size:12px;position:absolute;bottom:20px}.upload-placeholder{background:var(--surface);border:1.5px dashed var(--line-strong);border-radius:var(--radius);text-align:center;flex-direction:column;align-items:center;gap:16px;padding:64px 24px;display:flex}.upload-placeholder svg{color:var(--rose)}.upload-placeholder h2{font-size:18px;font-weight:600}.upload-placeholder p{color:var(--muted);max-width:55ch;font-size:14px}.upload-placeholder small,.upload-note{color:var(--muted);font-size:12px}.upload-note{margin-top:24px}@media (width<=1100px){.sidebar{width:216px}.content-page{padding:28px 28px 56px}.workspace-header{padding-inline:28px}}@media (width<=860px){.login-layout{grid-template-columns:1fr}.login-art{display:none}.login-side{min-height:100dvh;padding:72px 24px 80px}}@media (width<=760px){.admin-shell{display:block}.sidebar{z-index:6;flex-direction:row;align-items:center;gap:8px;width:100%;height:auto;padding:10px 12px;position:sticky;overflow:visible}.sidebar .brand{gap:0;padding:4px;font-size:0}.sidebar .brand small{display:none}.sidebar nav{scrollbar-width:none;flex-direction:row;flex:1;gap:4px;margin-top:0;overflow-x:auto}.sidebar nav::-webkit-scrollbar{display:none}.sidebar nav a{white-space:nowrap;flex-shrink:0;padding:8px 12px;font-size:13px}.sidebar-footer{display:none}.workspace-header{-webkit-backdrop-filter:none;backdrop-filter:none;height:auto;min-height:52px;padding:8px 16px;position:static}.breadcrumb{display:none}.header-actions{justify-content:space-between;width:100%}.admin-identity{display:none}.content-page{padding:22px 16px 48px}.page-heading{flex-wrap:wrap;align-items:flex-start}.page-heading h1{font-size:24px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.text-link svg{width:16px;height:16px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled,.button[disabled]{cursor:not-allowed;opacity:.5}.button{border:1px solid var(--line-strong);border-radius:var(--radius-sm);text-align:center;white-space:normal;min-height:40px;transition:background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .12s var(--ease-out);justify-content:center;align-items:center;gap:8px;padding:8px 16px;font-size:14px;font-weight:600;line-height:1.4;display:inline-flex}.button:active:not(:disabled){transform:translateY(1px)}.button.primary{background:var(--rose);border-color:var(--rose);color:#fff;box-shadow:0 1px 2px #9c174733,inset 0 1px #ffffff26}.button.primary:hover:not(:disabled){background:var(--rose-hover);border-color:var(--rose-hover)}.button.secondary{background:var(--surface);color:var(--text)}.button.secondary:hover:not(:disabled){background:var(--surface-3);border-color:var(--muted)}.page-heading .button.primary:before{content:"+";margin-top:-2px;font-size:18px;font-weight:500;line-height:1}.notice{background:var(--surface-3);border-radius:var(--radius-sm);color:var(--text-2);overflow-wrap:anywhere;gap:10px;margin-block:12px 16px;padding:10px 14px;font-size:13px;line-height:1.6;display:flex}.notice:before{content:"";background:var(--muted);border-radius:50%;flex-shrink:0;width:6px;height:6px;margin-top:8px}.notice[role=alert]{background:var(--bad-wash);color:var(--bad)}.notice[role=alert]:before{background:currentColor}section.notice{display:block}.notice:has(>*){display:block}section.notice:before{display:none}.notice:has(>*):before{display:none}.success-note{color:var(--ok);background:var(--ok-wash);border-radius:var(--radius-sm);margin-top:16px;padding:10px 14px;font-size:13px}.reconcile-box{background:var(--warn-wash);color:#5c3700;border-radius:var(--radius-sm);overflow-wrap:anywhere;border:1px solid #f0d9ab;margin-top:18px;padding:16px;font-size:13px}.reconcile-box h3{margin-top:0}.filter-bar{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:18px;padding:14px;display:flex}.filter-bar label{flex:1;min-width:180px}.filter-bar label:first-child{flex:2.4}.filter-bar label input[type=search]{background:var(--surface) 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='%236b6171' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M11 18a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm10 3-5.2-5.2'/%3E%3C/svg%3E") no-repeat 12px center;padding-left:38px}label{color:var(--text-2);flex-direction:column;gap:6px;font-size:13px;font-weight:600;line-height:1.5;display:flex}input:not([type=checkbox]):not([type=file]),textarea,select{background:var(--surface);min-height:40px;color:var(--text);border:1px solid var(--line-strong);border-radius:var(--radius-sm);width:100%;min-width:0;padding:8px 12px;font-size:14px;font-weight:400;transition:border-color .16s,box-shadow .16s}input:not([type=checkbox]):not([type=file]):hover,textarea:hover,select:hover{border-color:var(--muted)}input:focus-visible,textarea:focus-visible,select:focus-visible{border-color:var(--rose);outline:none;box-shadow:0 0 0 3px #c8235a2e}input::placeholder,textarea::placeholder{color:#8d8393}input[type=file]{color:var(--text-2);font-size:13px;font-weight:400}input[type=file]::file-selector-button{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;margin-right:12px;padding:8px 14px;font-weight:600}select{appearance:none;background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6171' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;padding-right:36px}.language-switcher select,.language-switcher select:hover{appearance:auto;min-height:36px;box-shadow:none;background:0 0;border:0;padding:0}fieldset:disabled input,fieldset:disabled textarea,fieldset:disabled select,input:disabled,select:disabled,textarea:disabled{background-color:var(--surface-3);color:var(--muted);cursor:not-allowed}textarea{resize:vertical;line-height:1.6}small{color:var(--muted);font-size:12px;font-weight:400;line-height:1.5}.drama-table,.episode-table{white-space:normal;table-layout:fixed;min-width:760px}.drama-table th:first-child{width:34%}.drama-table th:nth-child(2){width:13%}.drama-table th:last-child{width:22%}.episode-table th:first-child{width:72px}.episode-table th:nth-child(2){width:30%}.episode-table th:last-child{width:20%}.drama-table td,.episode-table td{overflow-wrap:anywhere;vertical-align:top;padding:16px 20px}.drama-table th,.episode-table th{padding:10px 20px}.episode-table td:first-child{font-family:var(--font-display);color:var(--text);font-size:18px;font-weight:500}.row-title{color:var(--text);font-size:15px;font-weight:650;line-height:1.35}.row-title:hover{color:var(--rose);text-underline-offset:3px;text-decoration:underline}.drama-table td:nth-child(2){color:var(--text);font-size:15px;font-weight:600}.status-label{background:var(--surface-3);color:var(--text-2);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;margin:2px 4px 2px 0;padding:2px 9px;font-size:12px;font-weight:600;line-height:1.6;display:inline-flex}.status-label:before{content:"";opacity:.7;background:currentColor;border-radius:50%;width:6px;height:6px}.status-label.ready,.status-label.visible,.status-label.approved,.status-label.listed,.status-label.succeeded{background:var(--ok-wash);color:var(--ok)}.status-label.processing,.status-label.uploading,.status-label.pending,.status-label.running,.status-label.queued{background:var(--info-wash);color:var(--info)}.status-label.failed,.status-label.rejected,.status-label.delisted,.status-label.cancelled{background:var(--bad-wash);color:var(--bad)}.status-label.pending_upload,.status-label.not_submitted,.status-label.unlisted,.status-label.withdrawn{background:var(--warn-wash);color:var(--warn)}.status-label.hidden{background:var(--surface-3);color:var(--text-2)}.list-pagination{text-align:center;color:var(--muted);border-top:1px solid var(--line);padding:16px 20px;font-size:13px}.list-pagination .form-error{margin-bottom:12px}.editor-form,.form-surface{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-card);margin-block:20px 28px;padding:24px}.form-surface{gap:14px;display:grid}.editor-form>h2{margin-bottom:8px;font-size:18px}fieldset{border:0;min-width:0;margin:0;padding:0}legend{color:var(--text);padding:0 0 18px;font-size:18px;font-weight:650}.form-grid{grid-template-columns:1fr 1fr;gap:18px 20px;display:grid}.form-grid .wide{grid-column:1/-1}.market-fields{flex-wrap:wrap;gap:8px;display:flex}.market-fields legend{color:var(--text-2);padding-bottom:8px;font-size:13px;font-weight:600}.checkbox-label{cursor:pointer;flex-direction:row;align-items:center;gap:10px;min-height:40px;font-weight:500}.market-fields .checkbox-label{border:1px solid var(--line-strong);border-radius:999px;padding:6px 14px 6px 10px;transition:background .16s,border-color .16s}.market-fields .checkbox-label:has(input:checked){background:var(--rose-wash);color:var(--rose-text);border-color:#efbdce}.checkbox-label input{width:18px;height:18px;accent-color:var(--rose);flex-shrink:0}.market-fields small{width:100%}.field-note{border-radius:var(--radius-sm);background:var(--surface-2);border:1px dashed var(--line-strong);align-self:center;padding:12px 14px;font-size:13px}.field-note strong{font-weight:600}.field-note p{color:var(--muted);margin-top:4px}.form-actions,.action-row{flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px;display:flex}.form-actions small{font-variant-numeric:tabular-nums;margin-left:auto;font-size:12px}h3{margin-block:20px 10px;font-size:15px;font-weight:650}h4{font-size:13px;font-weight:650}.draft-summary{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-card);grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.draft-summary>div{overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;padding:16px 20px;font-size:13px;display:flex}.draft-summary>div+div{border-left:1px solid var(--line)}.draft-summary>div>small:first-child{color:var(--muted);font-size:12px;font-weight:600}.draft-summary strong{font-family:var(--font-display);font-variant-numeric:tabular-nums;color:var(--text);font-size:26px;font-weight:500;line-height:1.1}.section-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-block:32px 14px;display:flex}.section-heading p{color:var(--muted);margin-top:4px;font-size:13px}.episode-table td .button{width:100%;min-height:36px;margin-bottom:6px;padding:6px 12px;font-size:13px;display:flex}.episode-strip{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:14px;padding:14px 16px}.episode-strip ol{grid-template-columns:repeat(auto-fill,minmax(30px,1fr));gap:4px;margin:0;padding:0;list-style:none;display:grid}.episode-strip li{background:var(--surface-3);height:30px;color:var(--muted);font-variant-numeric:tabular-nums;border-radius:6px;place-items:center;font-size:11px;font-weight:600;display:grid}.episode-strip li.ready{background:var(--ok);color:#fff}.episode-strip li.processing,.episode-strip li.uploading,.episode-strip li.pending_upload{background:var(--info-wash);color:var(--info);box-shadow:inset 0 0 0 1px #c3caf3}.episode-strip li.failed{background:var(--bad);color:#fff}.episode-strip-legend{color:var(--muted);flex-wrap:wrap;gap:6px 16px;margin-top:12px;font-size:12px;display:flex}.episode-strip-legend span{align-items:center;gap:6px;display:inline-flex}.episode-strip-legend i{background:var(--surface-3);border-radius:3px;width:10px;height:10px}.episode-strip-legend i.ready{background:var(--ok)}.episode-strip-legend i.processing{background:var(--info-wash);box-shadow:inset 0 0 0 1px #c3caf3}.episode-strip-legend i.failed{background:var(--bad)}.modal-panel{background:var(--surface);width:min(640px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--text);border:0;border-radius:16px;padding:0;overflow:auto;box-shadow:0 30px 80px -20px #17111b66,0 0 0 1px #17111b14}.modal-panel>*{margin-inline:24px}.modal-panel>:last-child{margin-bottom:24px}.modal-panel[open]{animation:enter-panel .26s var(--ease-out)}.modal-panel::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#17111b80}.modal-panel>header{z-index:1;background:var(--surface);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;margin:0 0 18px;padding:16px 24px;display:flex;position:sticky;top:0}.modal-panel>header h2{overflow-wrap:anywhere;font-size:17px}.modal-panel>header .button{min-height:36px;padding:6px 14px}.modal-panel label{margin-block:12px}.batch-preview{border-top:1px solid var(--line);max-height:360px;padding:4px 2px;overflow-y:auto}.batch-preview label{grid-template-columns:minmax(80px,1fr) 3fr;align-items:center;gap:16px;margin-block:8px;display:grid}@keyframes enter-panel{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:none}}@media (width<=900px){.draft-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.draft-summary>div:nth-child(3){border-left:0}.draft-summary>div:nth-child(n+3){border-top:1px solid var(--line)}}@media (width<=760px){.form-grid{grid-template-columns:1fr}.editor-form,.form-surface{padding:18px}.section-heading{flex-wrap:wrap;align-items:flex-start}.filter-bar{gap:10px}.modal-panel>*{margin-inline:18px}.modal-panel>header{padding-inline:18px}}@media (width<=580px){.form-actions .button{flex:1}.form-actions small{width:100%;margin-left:0}.modal-panel .form-grid{gap:0}.batch-preview label{grid-template-columns:1fr;gap:6px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.upload-workspace>.notice+.upload-cancel-hint{margin-top:-8px}.upload-cancel-hint{color:var(--muted);margin-bottom:16px;font-size:13px}.file-drop{border:1.5px dashed var(--line-strong);background:var(--surface);text-align:center;border-radius:16px;margin:20px 0;padding:36px 24px;transition:border-color .16s,background .16s;position:relative}.file-drop:before{content:"";background:var(--rose-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c8235a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4m-5 5 5-5 5 5M4 15v5h16v-5'/%3E%3C/svg%3E") no-repeat center;border-radius:14px;width:52px;height:52px;margin:0 auto 14px;display:block}.file-drop:hover{border-color:var(--rose);background:#fffafc}.file-drop input[type=file]{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.file-drop:focus-within{outline:2px solid var(--rose);outline-offset:3px}.file-drop strong{font-size:16px;font-weight:650}.file-drop p{color:var(--muted);max-width:620px;margin:6px auto 18px;font-size:13px}.mapping-list{gap:10px;margin:24px 0;display:grid}.mapping-list>h2{margin-bottom:4px}.mapping-row,.queue-card{border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);min-width:0;box-shadow:var(--shadow-card);padding:16px 18px}.queue-card{margin:10px 0}.mapping-row{grid-template-columns:minmax(0,1fr) minmax(200px,1fr);align-items:start;gap:12px 16px;display:grid}.mapping-row small{color:var(--muted);margin-top:4px;display:block}.mapping-row>.button{justify-self:start}.file-name,.job-details dd{overflow-wrap:anywhere;word-break:break-word}.upload-workspace label,.content-page .form-actions label{gap:6px;min-width:0;display:grid}.upload-workspace select,.content-page .form-actions select{width:100%;max-width:100%}.mapping-row .check-label{grid-column:1/-1;align-items:flex-start;gap:10px;font-weight:500;display:flex}.check-label input{flex-shrink:0;width:18px;height:18px}.queue-card h2{font-size:16px}.queue-card>p{color:var(--text-2);margin-top:6px;font-size:13px}.queue-card progress{appearance:none;background:var(--surface-3);width:100%;height:6px;accent-color:var(--rose);border:0;border-radius:6px;overflow:hidden}.queue-card progress::-webkit-progress-bar{background:var(--surface-3);border-radius:6px}.queue-card progress::-webkit-progress-value{background:var(--rose);transition:width .3s var(--ease-out);border-radius:6px}.queue-card progress::-moz-progress-bar{background:var(--rose);border-radius:6px}.queue-card .section-heading{align-items:flex-start;margin:0 0 12px}.queue-card .section-heading>div{min-width:0}.queue-card .form-actions{margin-top:12px}.mapping-review{gap:14px;padding-left:20px;display:grid}.mapping-review li span,.mapping-review li small{margin-top:4px;display:block}.job-details{grid-template-columns:minmax(110px,1fr) minmax(0,2.2fr);gap:0;margin:0;font-size:13px;display:grid}.job-details dt,.job-details dd{border-bottom:1px solid var(--line);padding:10px 0}.job-details dt{color:var(--muted);padding-right:16px;font-weight:500}.job-details dd{color:var(--text);font-variant-numeric:tabular-nums;margin:0}.job-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.job-list .queue-card{margin:0}@media (width<=650px){.mapping-row,.job-list{grid-template-columns:minmax(0,1fr)}.file-drop{padding:24px 16px}.queue-card{padding:14px}.queue-card .section-heading{flex-direction:column}.job-details{grid-template-columns:minmax(0,1fr)}.job-details dt{border-bottom:0;padding-bottom:0}.job-details dd{padding-top:2px}}.content-page>.notice+.notice,.content-page>header+.notice{margin-top:-6px}.content-page>.notice+.notice{margin-top:-8px}.button.secondary[aria-pressed=true]{background:var(--rose-wash);color:var(--rose-text);border-color:#efbdce}details>summary{cursor:pointer;width:fit-content;color:var(--muted);padding-block:4px;font-size:12px;font-weight:600}details>summary:hover{color:var(--text)}details[open]>summary{margin-bottom:4px}td.file-name,td .file-name,.job-details dd.file-name{color:var(--text-2);word-break:break-all;font-family:ui-monospace,Cascadia Mono,SFMono-Regular,Consolas,monospace;font-size:12px}.table-surface td{padding:14px 16px}.table-surface th{padding:10px 16px}.table-surface td>p,.table-surface td>span+p,.table-surface td div>p{color:var(--muted);margin:4px 0 0;font-size:12px;line-height:1.5}.table-surface td small{font-size:12px}.table-surface td .notice{border-radius:7px;gap:8px;margin:6px 0 0;padding:6px 10px;font-size:12px;line-height:1.5}.table-surface td .notice:before{width:5px;height:5px;margin-top:6px}.table-surface td .reconcile-box{margin-top:6px;padding:8px 10px;font-size:12px}.table-surface td .reconcile-box .form-actions{margin-top:6px}.table-surface td .button,.studio-picker .button,.studio-upload .form-actions .button{border-radius:7px;min-height:32px;padding:5px 12px;font-size:13px}.table-surface td>.button{margin:6px 6px 0 0}.table-surface td>.button:first-child{margin-top:0}.table-surface td .form-actions{gap:6px;margin-top:0}.table-surface td .text-link{min-height:32px;padding:6px 0 0;font-size:12px}.table-surface td label{margin-top:8px;font-size:12px;font-weight:500}.table-surface td input[type=file]{max-width:220px;font-size:12px}.table-surface td input[type=file]::file-selector-button{margin-right:8px;padding:4px 10px}.table-surface td .studio-thumb{width:44px;height:62px}.table-surface td{overflow-wrap:break-word}:is(.studio-library td:nth-child(2),.studio-library td:nth-child(3),.studio-library td:nth-child(4):not(:has(p)),.studio-dramas td:nth-child(4),.studio-dramas td:nth-child(5)){white-space:nowrap}.table-surface td.file-name{min-width:160px}.table-surface td:has(>.file-name){min-width:160px}.resource-cell{align-items:center;gap:12px;min-width:0;display:flex}.resource-cell>.button{flex-shrink:0}.resource-cell-name{min-width:0;color:var(--text);overflow-wrap:break-word;word-break:normal;font-weight:600}.studio-library table,.studio-dramas table{table-layout:auto}.studio-library th:first-child{min-width:240px}:is(.studio-library td:has(>p),.studio-library td:has(>button)){min-width:180px}.studio-library .resource-cell{min-width:260px}.studio-dramas td:nth-child(3){color:var(--text);font-weight:600}.studio-dramas td:last-child{min-width:230px}.studio-library td:last-child{min-width:150px}.studio-episodes table{width:100%}.studio-episodes td>.button{min-height:32px;margin:0 6px 6px 0;padding:5px 12px;font-size:13px}.studio-episodes .section-heading{margin-top:0}.studio-episodes .table-scroll{border:1px solid var(--line);border-radius:var(--radius)}.studio-picker h4{margin-bottom:2px;font-size:14px}.studio-picker>p:not(.notice):not(.form-error){color:var(--muted);font-size:12px}.studio-picker-items{max-height:320px;padding-right:4px;overflow-y:auto}.studio-choice-resource{border-radius:10px;align-items:center;gap:10px;padding:6px;transition:background .14s;display:flex}.studio-choice-resource:hover{background:var(--surface-2)}.studio-choice-resource>.button{text-align:left;flex:1;justify-content:flex-start}.studio-upload>p:not(.notice){color:var(--text-2);margin-bottom:12px;font-size:13px}.studio-upload legend{padding-bottom:8px;font-size:14px}.studio-upload .form-actions:has([data-drama-choice]){max-height:220px;margin-top:10px;padding:2px;overflow-y:auto}.studio-upload ul{color:var(--text-2);padding-left:18px;font-size:13px;line-height:1.7}@media (width<=760px){.table-surface td,.table-surface th{padding-inline:12px}}.studio-episodes>.section-heading{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin:0 0 16px;display:flex}.studio-episodes>.section-heading>div{flex:240px;order:-1;min-width:0}.studio-episodes>.section-heading h2{font-size:15px}.studio-episodes td .episode-covers{flex-flow:wrap;align-items:center;gap:6px;max-width:220px}.studio-episodes td .episode-cover-count{color:var(--muted);flex-basis:100%}.studio-episodes td .studio-thumb{width:44px;height:62px}.studio-episodes td:nth-child(3){min-width:120px;color:var(--text);font-weight:600}.studio-episodes td:nth-child(4){font-family:var(--font-display);color:var(--text);font-size:17px}.studio-episodes .table-scroll td,.studio-episodes .table-scroll th{padding:12px 14px}.studio-episodes .table-scroll th{background:var(--surface-2);border-bottom:1px solid var(--line)}.modal-panel .editor-form{box-shadow:none;background:0 0;border:0;margin:0 24px 24px;padding:0}.modal-panel .form-grid label{margin-block:0}.modal-panel form.studio-form .form-grid{align-items:end}.studio-form fieldset.wide>legend,.studio-form fieldset>legend{color:var(--text-2);padding:0 0 8px;font-size:13px;font-weight:600}.studio-form fieldset.wide:has(.studio-market){flex-wrap:wrap;gap:8px;display:flex}.studio-form label.studio-market{border:1px solid var(--line-strong);cursor:pointer;border-radius:999px;flex-direction:row;align-items:center;gap:8px;min-height:40px;margin:0;padding:6px 14px 6px 10px;font-weight:600;transition:background .16s,border-color .16s}.studio-form label.studio-market:has(input:checked){background:var(--rose-wash);color:var(--rose-text);border-color:#efbdce}.studio-form label.studio-market input{width:18px;height:18px;accent-color:var(--rose)}.studio-form>p:not(.notice):not(.form-error){color:var(--muted);margin-top:6px;font-size:12px}.studio-form>label{margin-top:20px}.studio-upload fieldset{grid-template-columns:minmax(0,1fr) auto;column-gap:8px;display:grid}.studio-upload fieldset>*{grid-column:1/-1}.studio-upload fieldset>label{grid-column:1;margin-block:0}.studio-upload fieldset>label+.button{grid-column:2;align-self:end;min-height:40px}.studio-library td:nth-last-child(2),.studio-dramas td:nth-last-child(2),.studio-episodes td:nth-last-child(2){white-space:nowrap}.operation-steps>ol{counter-reset:op;padding-inline-start:0!important;list-style:none!important}.operation-steps .operation-step{counter-increment:op;position:relative;padding:16px 0 16px 44px!important}.operation-steps .operation-step:before{content:counter(op);background:var(--ink);color:#fff;width:28px;height:28px;font-family:var(--font-display);border-radius:50%;place-items:center;font-size:13px;font-weight:700;display:grid;position:absolute;top:16px;left:0}.operation-steps .operation-step h3{font-size:15px!important}.operation-steps .operation-step p{color:var(--text-2)}.operation-missing{flex-wrap:wrap;gap:4px;max-height:132px;margin:8px 0;padding:2px;display:flex;overflow-y:auto}.operation-missing>p{background:var(--warn-wash);white-space:nowrap;border-radius:999px;margin:0;padding:2px 8px;color:var(--warn)!important;font-size:11px!important;line-height:1.6!important}.content-page .studio-library .table-scroll>table,.content-page .studio-dramas .table-scroll>table,section.studio-library div.table-scroll>table,section.studio-dramas div.table-scroll>table{min-width:960px}@media (width<=1600px){.studio-library .resource-cell,.studio-library th:first-child{min-width:180px}.studio-library td,.studio-dramas td,.studio-library .resource-cell-name{overflow-wrap:anywhere}.table-surface td input[type=file]{width:100%;max-width:150px;overflow:hidden}:is(.studio-library td:has(>p),.studio-library td:has(>button)){min-width:116px}.table-surface td.file-name{min-width:120px}.table-surface td:has(>.file-name){min-width:120px}.studio-library td:last-child{min-width:110px}.studio-dramas td:last-child{min-width:190px}.studio-library td:nth-last-child(2),.studio-dramas td:nth-last-child(2){white-space:normal;min-width:96px}.table-surface td,.table-surface th{padding-inline:12px}}.studio-library .table-scroll th:last-child,.studio-library .table-scroll td:last-child,.studio-dramas .table-scroll th:last-child,.studio-dramas .table-scroll td:last-child{z-index:1;background:var(--surface);box-shadow:-1px 0 0 var(--line);position:sticky;right:0}.studio-library .table-scroll th:last-child,.studio-dramas .table-scroll th:last-child,.studio-library tbody tr:hover td:last-child,.studio-dramas tbody tr:hover td:last-child{background:var(--surface-2)}@media (width<=1440px) and (width>=761px){.sidebar{width:220px;padding-inline:12px}.content-page,.workspace-header{padding-inline:24px}}
