@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');
:root{font-family:'Prompt',Tahoma,system-ui,sans-serif;color:#222b37;background:#f7f8fb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{letter-spacing:-.025em}button:disabled{opacity:.48;cursor:not-allowed}.app-shell{display:flex;min-height:100vh}.sidebar{width:264px;background:#fff;border-right:1px solid #edf0f3;position:fixed;inset:0 auto 0 0;z-index:50;display:flex;flex-direction:column;padding:25px 16px 16px}.logo-section{display:flex;align-items:center;gap:10px;padding:0 10px 27px}.brand-mark{width:40px;height:40px;border-radius:13px;background:linear-gradient(140deg,#ff9345,#ed6016);color:#fff;display:flex;justify-content:center;align-items:center;box-shadow:0 8px 20px #ef6c202b}.brand-title{font-size:16px;font-weight:700;letter-spacing:-.7px;white-space:nowrap}.brand-title span{color:#eb681f}.brand-sub{font-size:9px;font-weight:600;color:#a0a6af;letter-spacing:.8px}.workspace-chip{background:#fff9f4;border:1px solid #fde7d5;border-radius:13px;padding:12px;display:flex;gap:10px;align-items:center;margin:0 3px 26px}.workspace-icon{height:37px;width:37px;border-radius:10px;background:#fff0e0;color:#f07227;display:grid;place-items:center}.workspace-chip>div:nth-child(2){flex:1;min-width:0}.workspace-chip strong{font-size:12px;display:block;white-space:nowrap}.workspace-chip small{display:block;font-size:10px;color:#9a806a}.workspace-chip>svg{color:#cba88c}.sidebar-label{font-size:10px;color:#a4adb7;font-weight:700;letter-spacing:1.5px;padding:0 16px 10px}.nav-list{display:flex;flex-direction:column;gap:4px}.nav-item{height:43px;display:flex;align-items:center;gap:14px;border:0;background:transparent;color:#667180;border-radius:10px;text-align:left;padding:0 15px;width:100%;font-size:12.5px;font-weight:500;transition:.17s}.nav-item>span:nth-child(2){flex:1}.nav-item:hover{background:#faf3ed;color:#e8661e}.nav-item.active{color:#e96018;background:#fff0e4;font-weight:700}.nav-item.active:before{content:'';position:absolute;left:0;height:24px;width:3px;background:#f57422;border-radius:0 3px 3px 0}.nav-new{background:#ffdec3;border-radius:5px;color:#ed6619;font-size:9px;font-weight:700;padding:2px 6px}.sidebar-bottom{margin-top:auto}.integration-note{background:#f7f9fb;border:1px solid #eceff3;border-radius:13px;padding:15px 14px;margin-bottom:10px;display:flex;flex-direction:column;gap:5px}.mini-spark{color:#ea6a1b}.integration-note strong{font-size:12px}.integration-note small{font-size:10px;line-height:1.7;color:#84909d}.signout{color:#7e8793}.main-shell{margin-left:264px;width:calc(100% - 264px);min-height:100vh;display:flex;flex-direction:column}.topbar{height:76px;background:#fff;border-bottom:1px solid #eff0f4;padding:0 37px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:25}.topbar-left,.topbar-right{display:flex;align-items:center;gap:19px}.breadcrumb{display:flex;gap:10px;align-items:center;font-size:12px;color:#a0a7b1}.breadcrumb b{font-weight:600;color:#384351}.environment{font-size:10px;font-weight:700;border:1px solid #f6dfd0;background:#fff9f2;color:#d96c23;padding:7px 11px;border-radius:7px}.top-shortcut{font-size:12px;color:#66717d;background:none;border:none;display:flex;align-items:center;gap:7px}.top-shortcut:hover{color:#eb6c22}.user-avatar{width:36px;height:36px;background:linear-gradient(135deg,#ffdebb,#f3a065);border:2px solid #fff;border-radius:50%;display:grid;place-items:center;color:#a94c1d;font-weight:700;font-size:15px;box-shadow:0 0 0 1px #f0e5dc}.user-avatar.large{width:49px;height:49px;font-size:21px}.main-content{padding:34px 38px 25px;max-width:1610px;width:100%;margin:0 auto;flex:1}.footer{padding:15px 38px;text-align:center;color:#abb0ba;font-size:10px}.title-bar{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:26px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#f27527;display:block;margin-bottom:5px}.title-bar h1{font-size:27px;margin:0 0 6px;line-height:1.45;color:#25313d;font-weight:700}.title-bar p{font-size:12px;color:#8a95a2;margin:0}.title-action{display:flex;align-items:center;gap:9px}.btn{border:none;display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:39px;padding:10px 16px;font-size:12px;border-radius:9px;white-space:nowrap;transition:.15s;font-weight:600}.btn-primary{color:#fff;background:linear-gradient(115deg,#f78a34,#ec6218);box-shadow:0 6px 16px #f37c2f2d}.btn-primary:hover:not(:disabled){filter:brightness(.96);transform:translateY(-1px)}.btn-soft{background:#fff1e6;color:#dc631d;border:1px solid #ffead8}.btn-soft:hover{background:#ffe5d0}.btn-ghost{background:#f6f7f8;color:#66717e}.btn-ghost:hover{background:#eceef1}.btn>span{display:inline-flex;gap:6px;align-items:center}.icon-btn{background:none;border:none;color:#8c96a1;display:grid;place-items:center;padding:7px;border-radius:8px}.icon-btn:hover{background:#f2f4f6;color:#d55d20}.mobile-menu,.close-sidebar{display:none}.faint{opacity:.45;color:#9aa5ad}.panel{background:#fff;border-radius:14px;border:1px solid #ebedf1;box-shadow:0 3px 20px rgba(27,42,63,.025);padding:23px;min-width:0}.panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:21px}.panel-title h3{font-size:15px;color:#293746;font-weight:700;margin-bottom:3px}.panel-title p{font-size:11px;color:#9aa3ae;margin:0}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:19px}.metric{background:#fff;border-radius:14px;border:1px solid #eceef2;padding:20px 21px;min-width:0}.metric-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.metric-icon{width:43px;height:43px;border-radius:12px;display:grid;place-items:center}.icon-orange{background:#fff0e3;color:#e7762b}.icon-blue{background:#ebf4ff;color:#4288ce}.icon-purple{background:#f0eaff;color:#8767ce}.icon-green{background:#e9f9f0;color:#25a66d}.metric-title{color:#87939f;font-size:11px;min-height:34px}.metric-value{font-size:25px;font-weight:700;white-space:nowrap;letter-spacing:-1px;color:#273544;margin:3px 0}.metric-detail{color:#9ba6af;font-size:10px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(310px,1fr);gap:19px;margin-bottom:19px}.chart{display:flex;gap:14px;height:233px;padding:10px 0 5px}.axis-label{width:45px;font-size:10px;color:#a2abb4;flex-shrink:0}.chart-columns{display:flex;align-items:flex-end;flex:1;gap:13px;border-bottom:1px solid #eef1f4;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#f1f3f5 calc(25% - 1px),#f1f3f5 25%);padding-top:13px}.chart-col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:9px;flex:1;height:100%;min-width:0}.chart-col>span{font-size:10px;color:#98a3af;white-space:nowrap;height:21px}.chart-track{height:calc(100% - 30px);width:100%;display:flex;align-items:flex-end;justify-content:center}.chart-fill{width:min(42px,70%);background:linear-gradient(0deg,#f17a25,#f6ad65);border-radius:7px 7px 0 0;min-height:0;transition:.25s}.chart-note{display:flex;align-items:center;gap:7px;color:#929da8;font-size:10px;margin-top:5px}.legend-dot{width:8px;height:8px;background:#f47d31;border-radius:50%}.quick-actions{display:flex;flex-direction:column;gap:2px}.quick-row{display:flex;align-items:center;width:100%;gap:12px;padding:11px 2px;border:none;border-bottom:1px solid #f2f3f5;text-align:left;background:transparent}.quick-row:last-child{border:none}.quick-row:hover .quick-ico{background:#ffe7d7;color:#e87424}.quick-ico{width:40px;height:40px;flex-shrink:0;background:#f5f7fa;border-radius:10px;display:grid;place-items:center;color:#64778b}.quick-row>div:nth-child(2){flex:1;min-width:0}.quick-row strong,.quick-row small{display:block}.quick-row strong{font-size:12px;font-weight:600}.quick-row small{font-size:10px;color:#9da5ae;margin-top:3px}.quick-row>svg{color:#b5bec8}.tiny-list{display:flex;flex-direction:column}.tiny-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #f2f3f5}.tiny-row:last-child{border:0}.product-avatar{width:45px;height:45px;flex-shrink:0;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,#fff2e7,#fde1d3);background-size:cover;background-position:center;font-size:22px}.avatar-large{width:98px;height:98px;font-size:43px;border-radius:18px}.tiny-info{min-width:0;flex:1}.tiny-info b,.tiny-info small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tiny-info b{font-size:12px;font-weight:600}.tiny-info small{color:#9da6b0;font-size:10px;margin-top:3px}.tiny-row>b{font-size:12px;white-space:nowrap}.chip{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:5px 9px;background:#f1f3f6;color:#7e8995;font-size:10px;font-weight:600;white-space:nowrap}.chip .dot{width:6px;height:6px;border-radius:50%;background:currentColor}.chip-good{color:#208d61;background:#e8f7ef}.chip-warn{color:#d17c1a;background:#fff3dc}.chip-bad{color:#cd5555;background:#fff0ef}.chip-muted{color:#84909c;background:#f2f4f6}.queue-short{display:flex;flex-direction:column;gap:3px}.queue-short-row{display:flex;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid #f1f3f6}.queue-short-row:last-child{border:0}.queue-day{width:47px;min-width:47px;background:#fff4eb;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#e37427;padding:5px}.queue-day b{font-size:17px}.queue-day small{font-size:10px}.queue-short-row>div:nth-child(2){flex:1;min-width:0}.queue-short-row strong,.queue-short-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-short-row strong{font-size:11px}.queue-short-row small{font-size:9px;color:#96a0aa}.empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px 12px;color:#8c98a4}.empty-icon{width:60px;height:60px;border-radius:20px;background:#fff4eb;display:grid;place-items:center;color:#ea7b32;margin-bottom:13px}.empty h3{font-size:14px;color:#404f5d;margin:0 0 4px}.empty p{font-size:11px;max-width:340px;line-height:1.8}.notice{background:#f2f8ff;color:#47749c;border:1px solid #dfecf9;padding:12px 15px;font-size:11px;border-radius:10px;display:flex;align-items:flex-start;gap:10px;line-height:1.75;margin-bottom:20px}.notice>svg{flex-shrink:0;margin-top:2px}.notice-warn{background:#fff9ed;border-color:#fbe6bb;color:#9d762f}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.search-input{border:1px solid #e9edf1;border-radius:9px;display:flex;align-items:center;gap:9px;padding:0 12px;max-width:410px;width:100%;color:#98a4b0}.search-input input{height:41px;border:0;background:none;outline:none;width:100%;min-width:0;font-size:12px}.filter-select{border:1px solid #e9edf1;border-radius:8px;padding:10px 30px 10px 13px;background:#fff;color:#536271;font-size:11px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.product-card{border:1px solid #edf0f2;border-radius:13px;overflow:hidden;min-width:0}.product-card-art{position:relative;height:168px;display:grid;place-items:center;background:linear-gradient(135deg,#fff8f0,#f9e5d6)}.product-card-art .avatar-large{width:126px;height:126px;font-size:62px;background-color:transparent;background-size:cover}.product-state{position:absolute;top:11px;right:11px}.product-card-body{padding:14px 14px 10px}.product-card-body>small{font-size:10px;color:#9ca5b0}.product-card-body h3{font-size:12px;margin:7px 0 12px;min-height:35px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-price{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:12px}.product-price b{font-size:17px;color:#e76b22;white-space:nowrap}.product-price span{font-size:10px;color:#8fa2ad;text-align:right}.product-card-actions{display:flex;border-top:1px solid #f1f2f4;align-items:center;justify-content:space-between;margin:0 -2px}.product-card-actions button{display:flex;align-items:center;justify-content:center;gap:5px;background:none;border:0;color:#7a8794;font-size:10px;padding:10px 4px}.product-card-actions button:hover{color:#e87126}.footnote{font-size:10px;color:#9ba6af;line-height:1.75;margin:16px 0 0}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:15px}.field-label{font-size:11px;color:#576675;font-weight:600}.field-label b{color:#eb7125}.field input,.field textarea,.field select{border:1px solid #e5e9ee;border-radius:9px;padding:11px 12px;background:#fff;color:#273443;outline:none;width:100%;font-size:12px;line-height:1.6;transition:border .15s;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:#f2aa78;box-shadow:0 0 0 3px #faeadc}.field small{font-size:10px;color:#9ba6ae;line-height:1.6}.field select{appearance:auto}.field textarea[readonly]{background:#f8f9fb;color:#667584}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.modal-backdrop{position:fixed;inset:0;background:#101b2d9e;z-index:200;display:grid;place-items:center;padding:15px}.modal{max-width:550px;width:100%;background:#fff;border-radius:17px;max-height:94vh;display:flex;flex-direction:column;box-shadow:0 28px 80px #060b123d}.modal-wide{max-width:790px}.modal>header{padding:19px 22px;border-bottom:1px solid #edf0f4;display:flex;align-items:center;justify-content:space-between}.modal>header h2{font-size:17px;margin:0}.modal-form{padding:20px 22px 21px;overflow:auto}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.image-upload-preview{display:flex;align-items:center;gap:15px;margin-bottom:18px}.upload-trigger{cursor:pointer;border:1px dashed #fac49c;color:#da722b;background:#fff8f2;border-radius:9px;display:flex;align-items:center;gap:8px;padding:12px;font-size:11px}.studio-grid{display:grid;grid-template-columns:minmax(315px,1fr) minmax(350px,1.18fr);gap:20px;margin-bottom:20px}.studio-left>.btn,.studio-result>.btn,.video-controls>.btn{width:100%}.ai-label{display:inline-flex;gap:5px;align-items:center;font-size:10px;background:#fff2e6;color:#df671a;padding:6px 9px;border-radius:8px}.selected-product{border:1px solid #f2ebe4;background:#fffaf5;border-radius:10px;display:flex;align-items:center;gap:11px;padding:10px;margin:0 0 20px}.selected-product b,.selected-product small{display:block}.selected-product b{font-size:12px}.selected-product small{font-size:10px;color:#a48b74;margin-top:4px}.studio-result h4{font-size:13px;margin:9px 0}.shots{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.shot{background:#fafbfc;border:1px solid #eef1f4;border-radius:9px;padding:10px 13px;display:flex;align-items:flex-start;gap:10px}.shot span{font-size:10px;background:#fff0e3;color:#e37424;padding:5px 8px;border-radius:7px;white-space:nowrap}.shot p{font-size:11px;line-height:1.7;margin:1px 0;color:#65717d}.content-icon{display:grid;place-items:center;width:41px;height:41px;border-radius:10px;background:#f5efff;color:#9272c8}.video-layout{display:grid;grid-template-columns:minmax(320px,1fr) minmax(340px,1.2fr);gap:20px}.video-detail{display:flex;align-items:center;gap:12px;margin-bottom:21px;background:#fafbfc;border:1px solid #eff0f2;border-radius:10px;padding:12px}.video-detail strong,.video-detail small{display:block}.video-detail strong{font-size:12px}.video-detail small{font-size:10px;color:#9ba5af;margin-top:5px}.export-note{font-size:11px;line-height:1.8;display:flex;gap:9px;color:#4d996e;background:#edf9f1;padding:12px;border-radius:9px;margin:22px 0}.export-note svg{flex-shrink:0}.script-preview{font-size:12px;line-height:1.9;background:#f7f8fa;padding:13px;border-radius:10px;color:#596877}.video-preview{display:flex;flex-direction:column;align-items:center}.video-preview .panel-title{width:100%}.phone-frame{width:242px;height:443px;max-width:100%;border:7px solid #29333c;border-radius:35px;background:#2b1b2b;padding:6px;box-shadow:0 16px 35px #1c25332b}.phone-stage{position:relative;width:100%;height:100%;border-radius:23px;background:linear-gradient(145deg,#2f1c30 0%,#8e3e25 65%,#f07a29 100%);color:#fff;text-align:center;overflow:hidden;display:flex;align-items:center;flex-direction:column;justify-content:space-between;padding:25px 16px 20px}.phone-stage:before{content:'';position:absolute;width:260px;height:250px;border:1px solid #fff3;border-radius:50%;top:70px;left:-40px;transform:rotate(40deg)}.phone-top{display:flex;width:100%;justify-content:space-between;font-size:9px;font-weight:700}.phone-top span:last-child{color:#ffbda2}.phone-center{z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1}.phone-symbol{font-size:64px;color:#ffe1b6;margin-bottom:10px}.phone-center h3{font-size:16px;line-height:1.7;margin:0 0 12px}.phone-center p{font-size:10px;line-height:1.75;margin:0}.phone-cta{background:#fff;color:#df6924;border-radius:10px;padding:12px;width:100%;font-size:13px;font-weight:700;z-index:1}.phone-stage>small{font-size:8px;margin-top:11px;color:#ffe0c8}.phone-progress{height:3px;background:linear-gradient(to right,#fff 40%,#ffffff57 40%);border-radius:4px;width:100%;margin-top:14px}.video-footer{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;color:#9babb7;font-size:10px;margin-top:22px}.video-footer span{display:flex;align-items:center;gap:5px}.link-list{display:flex;flex-direction:column}.link-row{display:flex;align-items:center;gap:14px;padding:17px 1px;border-bottom:1px solid #eff1f4}.link-row:last-child{border:0}.link-round{width:44px;height:44px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:#ecf4ff;color:#4d90ce}.link-info{flex:1;min-width:0}.link-info b,.link-info small,.link-info span{display:block}.link-info b{font-size:12px}.link-info small{font-size:10px;color:#a2aab4;margin:3px 0}.link-info span{font-size:11px;color:#e1762d;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.link-actions{display:flex;gap:8px}.link-actions button,.link-actions a{display:grid;place-items:center;padding:8px;color:#8896a2;border:1px solid #edf0f4;border-radius:8px;background:#fff}.link-actions button:hover,.link-actions a:hover{color:#e66a1e;background:#fff5ed}.queue-table{overflow:auto}.queue-table table{width:100%;border-collapse:collapse;min-width:675px}.queue-table th{text-align:left;background:#fafbfc;color:#94a0ac;font-size:10px;font-weight:600;padding:14px;border-bottom:1px solid #edf0f3;white-space:nowrap}.queue-table td{padding:15px 14px;border-bottom:1px solid #f0f2f4;color:#65717e;font-size:11px}.queue-table tbody tr:last-child td{border:0}.queue-table td b{font-weight:600;color:#2f3f4c}.td-date{white-space:nowrap}.table-actions{display:flex;align-items:center;gap:8px}.small-action{font-size:10px;color:#e56c25;background:#fff4ec;border:0;border-radius:7px;padding:7px 9px;white-space:nowrap}.small-action:hover{background:#ffe6d5}.danger:hover{color:#d45050}.money-cell{font-weight:700;color:#219065!important}.reports-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:20px}.import-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.import-left{display:flex;align-items:center;gap:13px}.import-icon{width:53px;height:53px;border-radius:13px;display:grid;place-items:center;flex-shrink:0;background:#fff0e5;color:#ea762a}.import-left h3{font-size:14px;margin:0 0 5px}.import-left p{font-size:10px;color:#a0aab3;margin:0;line-height:1.6}.import-actions{display:flex;gap:9px;flex-shrink:0}.file-btn{cursor:pointer}.file-btn.disabled{opacity:.5;cursor:wait}.action-group{display:flex;align-items:center;gap:8px}.settings-grid{display:grid;grid-template-columns:minmax(360px,1.55fr) minmax(300px,1fr);gap:20px}.setting-live-dot{background:#52bd8a;width:10px;height:10px;border-radius:50%;box-shadow:0 0 0 5px #e8f8ef}.service-list{display:flex;flex-direction:column}.service-item{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #f0f2f4}.service-item:last-child{border-bottom:0}.service-icon{height:40px;width:40px;background:#f4f6f9;border-radius:10px;display:grid;place-items:center;color:#708397;flex-shrink:0}.service-content{flex:1;min-width:0}.service-content b,.service-content small,.service-content span{display:block}.service-content b{font-size:12px}.service-content small{font-size:10px;color:#8795a1;margin-top:2px}.service-content span{font-size:9px;color:#a8b0ba;margin-top:5px}.account-card{border:1px solid #e8ecf0;padding:13px;border-radius:11px;display:flex;gap:12px;align-items:center;margin-bottom:20px}.account-card strong,.account-card small{display:block;overflow-wrap:anywhere}.account-card strong{font-size:12px}.account-card small{font-size:10px;color:#a0a9b1}.guide-links{margin-top:24px;border-top:1px solid #eff1f3;padding-top:15px;display:flex;flex-direction:column;gap:13px}.guide-links a{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#e37732}.guide-links a:hover{text-decoration:underline}.text-action,.link-button{border:0;background:transparent;color:#e47024;display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600}.text-action:hover,.link-button:hover{text-decoration:underline}.toast{position:fixed;bottom:24px;right:25px;z-index:300;min-width:260px;max-width:min(430px,90vw);display:flex;align-items:center;gap:10px;color:#286c4d;background:#f1fff6;border:1px solid #bfe3ca;padding:13px 12px 13px 16px;border-radius:11px;box-shadow:0 15px 40px #10182018;font-size:11px}.toast>span{flex:1}.toast-error{background:#fff4f2;border-color:#f3c9c6;color:#b94437}.sync-indicator{position:fixed;top:84px;right:29px;background:#fff4e5;color:#c77b33;padding:6px 11px;border-radius:8px;font-size:10px;z-index:35;display:flex;align-items:center;gap:5px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:#fff}.auth-art{background:linear-gradient(140deg,#e75a17,#ff9b49);color:#fff;padding:42px 9%;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-art:after{content:'';position:absolute;width:500px;height:500px;border:1px solid #ffffff33;border-radius:50%;top:-180px;right:-260px;box-shadow:0 0 0 75px #ffffff08,0 0 0 150px #ffffff08}.auth-big-logo{display:flex;align-items:center;gap:9px;font-weight:700;font-size:18px;z-index:1}.auth-illustration{height:320px;position:relative;display:grid;place-items:center;margin:20px 0}.auth-glow{width:250px;height:250px;background:#ffffff20;position:absolute;border-radius:50%;box-shadow:0 0 0 55px #ffffff0e,0 0 0 110px #ffffff08}.sample-card{position:relative;width:260px;height:240px;border-radius:23px;background:#fff;box-shadow:0 26px 70px #792e1466;transform:rotate(-6deg);color:#283341;padding:26px}.sample-card>span{display:flex;align-items:center;gap:5px;color:#f07829;font-size:11px;font-weight:700}.sample-card>strong{display:block;font-size:27px;line-height:1.6;margin-top:14px}.sample-wave{position:absolute;bottom:23px;left:25px;color:#f47c2f;letter-spacing:5px;font-weight:700}.floating-mini{position:absolute;right:6%;bottom:44px;background:#fff;box-shadow:0 7px 25px #6e290d41;border-radius:10px;color:#40956d;display:flex;gap:8px;align-items:center;padding:13px;font-size:10px;transform:rotate(5deg)}.auth-art>h1{position:relative;font-size:37px;line-height:1.3;margin:4px 0 14px;z-index:1}.auth-art>h1 span{color:#ffe4ad}.auth-art>p{line-height:2;font-size:13px;color:#fff4e7;max-width:400px;z-index:1}.auth-right{display:grid;place-items:center;padding:55px 35px}.auth-form{width:min(400px,100%);display:flex;flex-direction:column}.auth-form h2{font-size:27px;margin:0 0 3px}.auth-form>p{font-size:12px;color:#9da5ae;margin-bottom:27px}.auth-form>.btn{margin:5px 0 9px;min-height:45px}.auth-form>.link-button{align-self:center;padding:8px}.auth-form .auth-foot{display:flex;justify-content:center;align-items:center;gap:6px;font-size:10px;color:#a4abb3;margin:23px 0 0}.auth-divider{display:flex;align-items:center;gap:12px;margin:16px 0;font-size:10px;color:#adb5bd}.auth-divider:after,.auth-divider:before{content:'';height:1px;background:#e8ebee;flex:1}.password-field{display:flex;align-items:center;border:1px solid #e5e9ee;border-radius:9px}.password-field input{border:0;box-shadow:none!important}.inline-error,.inline-success{padding:10px;border-radius:7px;font-size:11px;margin:2px 0 9px}.inline-error{background:#fff0ef;color:#b73b38}.inline-success{background:#e9f8ee;color:#228556}.auth-mobile-brand{display:none}.loading-screen{display:flex;align-items:center;justify-content:center;gap:15px;min-height:100vh;color:#eb7225}.sidebar-overlay{display:none}
@media(max-width:1280px){.main-content{padding:29px 27px}.topbar{padding:0 27px}.metrics-grid{gap:12px}.metric{padding:17px}.metric-value{font-size:21px}.dashboard-grid{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr)}.product-grid{gap:12px}.import-panel{flex-wrap:wrap}.settings-grid{grid-template-columns:minmax(0,1.2fr) minmax(260px,1fr)}}
@media(max-width:1050px){.sidebar{width:230px}.main-shell{margin-left:230px;width:calc(100% - 230px)}.brand-title{font-size:14px}.brand-sub{font-size:8px}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.studio-grid,.video-layout,.settings-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-value{font-size:24px}.video-preview{padding-bottom:28px}}
@media(max-width:740px){.sidebar{transform:translateX(-100%);width:272px;transition:transform .2s;box-shadow:15px 0 50px #1f29371c}.sidebar.open{transform:translateX(0)}.sidebar-overlay.visible{display:block;position:fixed;inset:0;background:#141a28a1;z-index:40}.close-sidebar{display:grid;margin-left:auto}.main-shell{width:100%;margin-left:0}.topbar{height:60px;padding:0 15px}.mobile-menu{display:grid}.topbar-left{gap:6px}.topbar-right{gap:8px}.top-shortcut{font-size:0;gap:0;padding:7px}.top-shortcut svg{width:20px;height:20px}.user-avatar{width:32px;height:32px}.environment{font-size:9px;padding:5px 7px}.main-content{padding:23px 15px 18px}.title-bar{align-items:flex-start;gap:11px;margin-bottom:20px}.title-bar h1{font-size:22px}.title-bar p{font-size:11px;line-height:1.7}.title-bar .btn{font-size:10px;padding:9px 11px}.metrics-grid,.dashboard-grid,.reports-summary{gap:10px}.metric{padding:15px}.metric-head{margin-bottom:10px}.metric-title{font-size:10px;min-height:32px}.metric-value{font-size:21px}.metric-detail{font-size:9px}.panel{padding:18px 15px;border-radius:12px}.product-grid{gap:10px}.product-card-art{height:128px}.product-card-art .avatar-large{width:95px;height:95px;font-size:43px}.product-card-body{padding:11px}.product-price{flex-direction:column;align-items:flex-start}.product-price b{font-size:15px}.product-card-actions button{font-size:9px}.import-actions{flex-wrap:wrap}.action-group{flex-direction:column;align-items:stretch}.import-panel{flex-direction:column;align-items:stretch}.import-left{align-items:flex-start}.import-actions .btn{flex:1}.title-action{align-self:flex-start}.service-item{gap:7px}.service-item .chip{padding:5px}.auth-page{grid-template-columns:1fr}.auth-art{display:none}.auth-right{padding:35px 22px}.auth-mobile-brand{display:flex;gap:10px;align-items:center;color:#ed6c21;font-weight:700;margin-bottom:56px}.auth-form{min-height:90vh;justify-content:center}.toast{right:12px;bottom:12px}.footer{padding:16px}}
@media(max-width:430px){.metrics-grid{grid-template-columns:repeat(2,1fr)}.metric-value{font-size:18px}.metric-icon{width:36px;height:36px}.metric-icon svg{width:18px}.title-action>.btn span{display:none}.title-action>.btn{width:40px;height:40px;padding:0}.title-bar h1{font-size:20px}.product-card-actions button{gap:2px}.product-grid{grid-template-columns:repeat(2,1fr)}.product-card-actions button svg{width:14px}.two-fields{gap:8px}.modal-form{padding:15px}.modal>header{padding:15px}.phone-frame{width:230px;height:415px}.topbar .breadcrumb{font-size:11px}}

/* Video creator v1.2: product-photo preview */
.phone-product-photo{display:block;width:100%;max-width:172px;height:165px;object-fit:contain;background:#fff;border-radius:13px;padding:7px;margin:0 auto 10px;box-shadow:0 8px 16px #0002}
.phone-center:has(.phone-product-photo) h3{font-size:13px;line-height:1.5;max-height:52px;overflow:hidden;margin-bottom:5px}
.phone-center:has(.phone-product-photo) p{font-size:9px;line-height:1.45;max-height:56px;overflow:hidden}

/* Thai voiceover v1.3 */
.voice-box{border:1px solid #ffe1c9;background:#fffbf7;border-radius:13px;padding:16px;margin:19px 0}
.voice-box .panel-title{margin-bottom:13px}.voice-box .field{margin-bottom:13px}
.voice-buttons{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.voice-file-label{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;padding:10px 13px;border:1px solid #f1d5be;background:#fff;color:#cc621f;font-weight:600;font-size:11px;border-radius:9px;cursor:pointer}
.voice-file-label:hover{background:#fff1e6}.voice-result{margin-top:12px;padding:12px;border:1px solid #ecedd0;background:#fff;border-radius:9px;display:flex;flex-direction:column;gap:9px}.voice-result b{font-size:11px}.voice-result audio{width:100%}.voice-silent{text-align:center;margin-top:13px}
@media(max-width:740px){.voice-buttons{flex-direction:column;align-items:stretch}.voice-buttons .btn,.voice-file-label{width:100%}}

/* Video Creator v1.4: external narration editor */
.voice-editor .voice-file-label{margin-bottom:12px;min-width:190px}
.voice-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;background:#fff7f1;border:1px solid #ffddc6;border-radius:10px;padding:12px;margin:5px 0 14px;font-size:11px;color:#936344}
.voice-stats span{display:flex;flex-direction:column;gap:5px}.voice-stats b{font-size:16px;color:#db681c}
.voice-trim-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.voice-editor input[type=range]{accent-color:#f07824;width:100%;cursor:pointer;margin-top:8px}
.voice-warning{color:#b42318;font-size:12px;background:#fff0ef;padding:11px;border-radius:8px}
.voice-editor .voice-result{gap:13px}.voice-editor .voice-result>b{overflow-wrap:anywhere}
@media(max-width:650px){.voice-stats{grid-template-columns:1fr 1fr}.voice-trim-grid{grid-template-columns:1fr}}
