.studio-body{margin:0;background:#f8f9fb;color:#24252b;font-family:Inter,"Noto Sans Thai",system-ui,-apple-system,sans-serif;font-size:14px;line-height:1.55}.studio-body *{box-sizing:border-box}.studio-body a{text-decoration:none;color:inherit}.studio-sidebar{position:fixed;inset:0 auto 0 0;width:242px;background:#fff;border-right:1px solid #ebedf1;z-index:20;display:flex;flex-direction:column;padding:26px 16px}.studio-brand{display:flex;align-items:center;gap:11px;padding:0 9px 37px}.studio-logo{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#e97853;color:white;font-size:20px;font-weight:800}.studio-brand strong,.studio-brand small,.studio-account strong,.studio-account small{display:block}.studio-brand strong{font-size:16px;letter-spacing:-.03em}.studio-brand small{font-size:10px;letter-spacing:.15em;color:#92949d;font-weight:700}.studio-nav-label{font-size:10px;letter-spacing:.12em;font-weight:700;color:#a0a3ad;padding:0 12px 12px}.studio-nav{display:grid;gap:5px}.studio-nav a{display:flex;align-items:center;gap:13px;padding:11px 13px;border-radius:7px;color:#707582;font-weight:600}.studio-nav a span{font-size:19px;width:22px;text-align:center}.studio-nav a:hover,.studio-nav a.active{background:#fbede8;color:#dc704d}.studio-side-note{margin:auto 5px 0;padding:18px;background:#f8f8fb;border:1px solid #f0f0f4;border-radius:10px;color:#656976}.studio-side-note span{color:#e57753;font-size:21px}.studio-side-note strong{display:block;color:#353743;margin-top:5px}.studio-side-note p{font-size:12px;margin:5px 0 0}.studio-shell{margin-left:242px;min-height:100vh}.studio-topbar{height:69px;padding:0 34px;border-bottom:1px solid #ebedf1;background:#fff;display:flex;align-items:center;gap:16px}.studio-top-title{font-weight:700;color:#8a8d98;font-size:11px;letter-spacing:.12em}.studio-top-title b{padding:0 7px;color:#d3d5db}.studio-account{margin-left:auto;display:flex;align-items:center;gap:10px;font-size:12px}.studio-account small{color:#9296a0}.studio-account a,.studio-account button{color:#777c87;font:inherit;background:none;border:0;padding:5px;cursor:pointer}.studio-account form{margin:0}.studio-avatar{height:35px;width:35px;display:grid;place-items:center;background:#e9f4f1;color:#388370;border-radius:50%;font-weight:700}.studio-menu{display:none;border:0;background:#f5f6f8;padding:8px 12px;border-radius:6px;cursor:pointer}.studio-content{padding:36px 38px 70px;max-width:1600px;margin:auto}.dash-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:29px}.dash-heading h1{font-size:27px;line-height:1.25;margin:6px 0;color:#25262c}.dash-heading p,.panel-heading p{margin:0;color:#898e98}.dash-kicker{font-size:10px;letter-spacing:.14em;font-weight:800;color:#dd795a}.studio-button,.studio-body button[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 16px;border:0;border-radius:7px;background:#e27855;color:#fff!important;font-weight:700;font-size:13px;cursor:pointer}.studio-button:hover,.studio-body button[type=submit]:hover{background:#cc6747}.studio-account button[type=submit]{background:none;color:#777c87!important;padding:5px;font-weight:400;font-size:12px}.studio-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat-card{display:flex;align-items:flex-start;gap:15px;padding:22px;border:1px solid;border-radius:8px;min-height:127px}.stat-card span,.stat-card strong,.stat-card small{display:block}.stat-card span{font-weight:600;color:#464750}.stat-card strong{font-size:26px;line-height:1.3;margin-top:8px;color:#202127}.stat-card small{font-size:11px;color:#828892}.stat-icon{flex:none;display:grid;place-items:center;width:39px;height:39px;border-radius:7px;color:white;font-size:19px;font-weight:700}.peach{background:#fbefeb;border-color:#f1d8ce}.peach .stat-icon{background:#dc7957}.green{background:#edf8ee;border-color:#d5ecda}.green .stat-icon{background:#66c879}.blue{background:#edf7fb;border-color:#d4eaf2}.blue .stat-icon{background:#58b4d3}.yellow{background:#fcf8e9;border-color:#f3e9c4}.yellow .stat-icon{background:#e8bd42}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px}.studio-panel{border:1px solid #e9ebef;border-radius:9px;background:#fff;min-width:0}.panel-heading{display:flex;align-items:start;justify-content:space-between;gap:15px;padding:22px 24px;border-bottom:1px solid #f0f1f3}.panel-heading h2{font-size:16px;margin:0 0 3px}.panel-heading p{font-size:12px}.panel-heading>a{font-size:12px;color:#dc7554;font-weight:700;white-space:nowrap}.table-scroll{overflow:auto}.studio-table{width:100%;border-collapse:collapse;text-align:left}.studio-table th{background:#fafbfc;color:#9297a0;font-size:11px;font-weight:600}.studio-table td,.studio-table th{padding:15px 20px;border-bottom:1px solid #f0f1f3;white-space:nowrap}.studio-table td:first-child{white-space:normal;min-width:200px}.studio-table .job-name{font-weight:700;color:#30323b}.studio-table small{display:block;color:#a0a4ad}.status-pill{border-radius:20px;padding:5px 9px;color:#4a8771;background:#edf8f1;font-size:11px;font-weight:700}.empty-studio{text-align:center;padding:54px 20px 62px}.empty-icon{width:48px;height:48px;display:grid;place-items:center;margin:auto;border-radius:12px;background:#fbede8;color:#df7958;font-size:24px}.empty-studio h3{font-size:16px;margin:16px 0 4px}.empty-studio p{font-size:13px;color:#8a8e98;margin:0 0 19px}.guide-panel{padding-bottom:20px}.guide-symbol{color:#dc7957;font-size:20px}.guide-step{display:flex;gap:13px;padding:18px 22px 0}.guide-step i{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#fdf0eb;color:#dc7957;font-style:normal;font-size:12px;font-weight:700}.guide-step strong{font-size:13px}.guide-step p{margin:3px 0;color:#9397a1;font-size:12px}.integration-note{margin:24px 22px 0;padding:13px 14px;background:#f7f8fa;border-radius:7px;font-size:12px;color:#717681}.integration-note strong{color:#565b65}.integration-note p{margin:4px 0 0}.studio-content>h1{font-size:26px}.studio-content>form{max-width:820px;padding:25px;background:#fff;border:1px solid #e9ebef;border-radius:9px}.studio-content form p{margin:0 0 16px}.studio-content form label{display:block;margin-bottom:5px;font-weight:600}.studio-content input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.studio-content select,.studio-content textarea{width:100%;max-width:100%;padding:10px 12px;border:1px solid #dfe2e7;border-radius:6px;font:inherit;background:#fff}.studio-content textarea{resize:vertical}.studio-content .errorlist{color:#b94f45}.studio-content pre{max-width:100%;overflow:auto}.studio-content a:not(.studio-button){overflow-wrap:anywhere}@media(max-width:1050px){.studio-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.studio-side-note{display:none}}@media(max-width:760px){.studio-sidebar{transform:translateX(-100%);transition:transform .2s;box-shadow:12px 0 30px #00000012}.studio-nav-open .studio-sidebar{transform:translateX(0)}.studio-shell{margin-left:0}.studio-topbar{padding:0 18px}.studio-menu{display:block}.studio-top-title{display:none}.studio-content{padding:27px 18px 50px}.dash-heading{align-items:start;flex-direction:column}.studio-account{gap:6px}.studio-account small,.studio-account>a{display:none}}@media(max-width:430px){.studio-stats{grid-template-columns:1fr}.stat-card{min-height:105px}.studio-account strong{max-width:90px;overflow:hidden;text-overflow:ellipsis}.studio-content{padding-left:14px;padding-right:14px}}
/* Shared InApp-inspired panels, forms and character library */
.studio-back,.detail-link{font-size:12px;font-weight:700;color:#dc7554!important}.studio-form-layout,.char-grid,.detail-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.8fr);gap:18px;align-items:start}.form-panel{max-width:880px}.studio-form{padding:24px}.studio-form p{margin:0 0 17px}.studio-form label,.char-form label{display:block;font-size:12px;font-weight:700;color:#52565f;margin:0 0 6px}.studio-form input:focus,.studio-form select:focus,.studio-form textarea:focus,.char-form input:focus,.char-form textarea:focus{outline:2px solid #edb8a4;outline-offset:1px}.studio-form input[type=checkbox]{width:auto;accent-color:#e27855}.studio-form #id_target_tools label{display:inline-flex;align-items:center;gap:6px;margin:0 18px 8px 0;font-weight:400}.studio-form .helptext{display:block;color:#9297a0;font-size:11px}.studio-form .errorlist,.char-form .errorlist{color:#bc4d42;padding-left:18px;font-size:12px}.form-footer{padding-top:5px}.help-panel{padding:24px}.help-panel h2{font-size:16px;margin:12px 0 4px}.help-panel>p{color:#858a94;font-size:12px}.help-panel .integration-note{margin:20px 0 0}.help-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:8px;background:#fbefeb;color:#e27855;font-size:19px}.char-page{max-width:1400px;margin:auto}.char-grid{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr)}.char-panel{background:white;border:1px solid #e9ebef;border-radius:9px;padding:24px;min-width:0}.char-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.char-heading h2,.detail-panel h2{font-size:16px;margin:0;color:#292b32}.char-sub,.muted-copy{color:#888e98;font-size:12px;line-height:1.65}.char-sub{margin:5px 0 21px}.char-count,.char-tag{display:inline-block;background:#fbefeb;color:#cc704f;border-radius:20px;padding:4px 9px;font-size:11px;font-weight:600}.char-count{white-space:nowrap}.char-list{display:grid;gap:10px}.char-card{display:flex;align-items:center;gap:15px;padding:14px;border:1px solid #eff0f3;border-radius:8px;background:#fff}.char-avatar{width:64px;height:64px;flex:none;display:grid;place-items:center;border-radius:8px;overflow:hidden;background:#edf7fb;color:#58a6c1;font-size:22px;font-weight:700}.char-card:nth-child(3n+2) .char-avatar{background:#edf8ee;color:#60b96e}.char-card:nth-child(3n) .char-avatar{background:#fcf8e9;color:#d2a937}.char-avatar img{width:100%;height:100%;object-fit:cover}.char-info{min-width:0;flex:1}.char-info h3{font-size:14px;margin:0;color:#30323b}.char-info p{font-size:12px;color:#7f858f;line-height:1.5;margin:6px 0;overflow-wrap:anywhere}.char-id{font-size:11px;color:#a2a5ae}.char-edit,.char-cancel{font-size:12px;color:#dc7554!important;font-weight:700}.char-empty{text-align:center;padding:35px;color:#8a8e98}.char-empty strong{display:block;color:#30323b}.char-empty-icon{font-size:22px;color:#dc7554}.char-form>div{margin-bottom:15px}.char-form input,.char-form textarea{width:100%;padding:10px 12px;border:1px solid #dfe2e7;border-radius:6px;font:inherit;color:#30323b}.char-form textarea{resize:vertical}.char-form .helptext,.char-note{font-size:11px;color:#9397a1;line-height:1.6}.char-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.char-button{border:0;border-radius:7px;background:#e27855;color:#fff;padding:11px 16px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.char-secondary{background:#fbefeb;color:#cf7354}.detail-grid{grid-template-columns:minmax(0,1fr) 330px}.detail-main,.detail-side{display:grid;gap:18px}.detail-panel{padding:23px 24px;min-width:0}.detail-section-heading{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:18px}.detail-section-heading p{font-size:12px;color:#969aa3;margin:3px 0 0}.detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.detail-facts small,.detail-facts strong{display:block;overflow-wrap:anywhere}.detail-facts small{font-size:11px;color:#9297a0}.detail-facts strong{font-size:13px;margin-top:3px}.script-card{padding:15px;background:#fafbfc;border:1px solid #eff0f3;border-radius:7px;margin-bottom:12px}.script-card strong{font-size:12px}.script-card pre,.file-panel pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;line-height:1.7}.script-card pre{margin:10px 0 0}.file-panel pre{margin:0;padding:24px}.file-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #f0f1f3}.file-row a{color:#dc7554;font-weight:700}.file-row small{display:block;color:#9297a0}.file-row audio{display:block;max-width:100%;margin-top:8px}.detail-panel h3{font-size:13px;margin:22px 0 5px}.qa-list{font-size:12px;color:#858a94;padding-left:19px}.qa-list li{margin:5px 0}.login-page{background:#f8f9fb!important}.login-page .login-card{border:1px solid #e9ebef!important;border-radius:10px!important;box-shadow:0 8px 28px #1d24300a!important}.login-page .brand-mark,.login-page button.primary{background:#e27855!important}.login-page .kicker{color:#dc7554!important}.password-card{background:#fff!important;border:1px solid #e9ebef!important;border-radius:9px!important}.password-card a{color:#dc7554!important}@media(max-width:1050px){.detail-grid{grid-template-columns:1fr}.studio-form-layout{grid-template-columns:1fr}.help-panel{max-width:880px}}@media(max-width:850px){.char-grid{grid-template-columns:1fr}}@media(max-width:500px){.char-panel,.detail-panel,.studio-form{padding:18px}.char-card{align-items:flex-start}.char-avatar{width:52px;height:52px}.detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.char-count{display:none}}
.logout-dialog{width:min(420px,calc(100% - 32px));padding:28px;border:1px solid #e9ebef;border-radius:12px;background:#fff;color:#292b32;box-shadow:0 24px 70px #25283130}.logout-dialog::backdrop{background:#20242c80}.logout-dialog h2{font-size:19px;margin:14px 0 5px}.logout-dialog p{font-size:13px;color:#858a94;margin:0}.logout-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:9px;background:#fbefeb;color:#dc7554;font-size:22px}.logout-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.logout-actions form{margin:0}.logout-actions button{font:inherit;font-size:13px;font-weight:700;border-radius:7px;cursor:pointer;padding:10px 15px}.logout-actions #logout-cancel{background:#f5f6f8;border:1px solid #e9ebef;color:#565b65}
.detail-actions,.character-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.character-actions{flex-direction:column;align-items:flex-end;gap:5px}.delete-trigger{border:0;background:none;color:#c45d51;font:inherit;font-size:12px;font-weight:700;padding:4px;cursor:pointer}#delete-name{font-weight:700;color:#30323b;margin:7px 0}#delete-description{line-height:1.6}
.reference-list{max-height:220px;overflow:auto;padding-left:20px;color:#4c515a}.reference-list li{padding:5px 0}.reference-list a{color:#c55f42;text-decoration:underline}.reference-list small{color:#898e98}.reference-close{background:#f5f6f8;border:1px solid #e9ebef;color:#565b65}
