:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #28241f;
  background: #f6f4f0;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar { background: #181716; color: #e8e1d5; width: 244px; padding: 28px 18px; display: flex; flex-direction: column; flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 20px; font-weight: 750; padding: 0 8px 30px; letter-spacing: -.5px; }
.brand-icon { color: #20150e; background: #e8cba9; border-radius: 12px; font-size: 14px; font-weight: 800; padding: 13px 11px; }
.brand small { display:block; color: #b4a69a; font-size: 10px; letter-spacing: 2px; margin-top: 3px; }
.nav-title { color: #85796d; margin: 14px 12px; font-size: 10px; letter-spacing: 1.8px; font-weight: 700; }
.side-nav { display: grid; gap: 5px; }
.side-nav a { text-decoration:none; color: #bdb2a4; padding: 12px 14px; border-radius: 11px; font-weight: 600; font-size: 14px; }
.side-nav a.active, .side-nav a:hover { background: #33302c; color: #f5e1c9; }
.sidebar-bottom { margin-top: auto; color: #ad9f8e; font-size: 11px; padding: 22px 9px 5px; }
.indicator { background: #9dc28a; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; }
.main-content { flex: 1; min-width: 0; }
.topbar { background: #fffdfa; height: 70px; display: flex; align-items:center; justify-content:space-between; padding: 0 36px; border-bottom:1px solid #ece8e1; font-size:12px; color:#83786c; }
.environment { border-radius: 20px; border:1px solid #eaded1; padding: 7px 12px; color:#856a51; background:#fdf8f2; }
.page-container { max-width: 1320px; margin: 0 auto; padding: 42px 36px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap:16px; margin-bottom: 28px; }
h1 { font-size: 34px; letter-spacing:-1.2px; margin:5px 0 10px; color:#29231d; }
h2 { font-size: 18px; margin:0 0 19px; letter-spacing:-.3px; }
h3 { font-size: 15px; margin:0 0 7px; }
.eyebrow { letter-spacing:2px; font-size:10px; color:#a2846a; font-weight:800; margin:0; }
.lead { color:#7b746c; font-size:14px; line-height:1.6; margin:0; }
.stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-bottom:24px; }
.stat,.panel { background:#fffefa; border:1px solid #eee8e0; border-radius:17px; box-shadow:0 4px 20px rgba(52,39,19,.035); }
.stat { padding:24px; display:flex; flex-direction:column; gap:10px; }
.stat span { color:#857a6f; font-size:13px; }
.stat strong { font-size:39px; font-weight:750; color:#3c3026; }
.stat a { font-size:12px; text-decoration:none; color:#9b6744; font-weight:700; }
.panel { padding:28px; min-width:0; }
.panel p { color:#746a60; line-height:1.6; }
.note { font-size:12px; color:#8c8074!important; }
.work-grid { display:grid; grid-template-columns: minmax(340px, .9fr) minmax(0,1.1fr); gap:24px; align-items:start; }
.field { display:grid; gap:7px; margin-bottom:18px; }
label { font-size:12px; color:#665a4e; font-weight:650; }
input,textarea,select { width:100%; background:#fff; padding:11px 12px; color:#2b2621; border-radius:9px; border:1px solid #dcd4ca; outline:none; }
input:focus,textarea:focus,select:focus { border-color:#b88c6d; box-shadow:0 0 0 3px rgba(184,140,109,.13); }
textarea { resize:vertical; }
.btn { border:0; border-radius:10px; padding:11px 16px; font-size:13px; text-decoration:none; font-weight:700; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; }
.btn:disabled { opacity:.45; cursor:not-allowed; }
.btn-primary { background:#453328; color:#fffaf4; }
.btn-primary:hover:not(:disabled) { background:#694934; }
.btn-secondary { border:1px solid #ded5ca; color:#634c3c; background:#fffaf4; }
.btn-secondary:hover:not(:disabled) { background:#f3ece5; }
.btn-danger { background:#fff0ec; color:#a44b37; font-size:11px; padding:8px 11px; }
.button-row { display:flex; flex-wrap:wrap; gap:9px; margin-top:20px; }
.alert { color:#872e2e; border:1px solid #efbcbc; background:#fff0f0; padding:13px 16px; border-radius:10px; font-size:13px; margin:0 0 20px; overflow-wrap:anywhere; }
.counter { display:inline-block; border-radius:20px; background:#f1eae2; color:#7d624c; font-size:11px; padding:3px 9px; margin-left:5px; }
.item-list { display:grid; gap:11px; }
.item { border:1px solid #eee8e0; padding:16px; background:#fffcf8; border-radius:12px; min-width:0; }
.item p { margin:0 0 8px; font-size:12px; white-space:pre-wrap; overflow-wrap:anywhere; }
.item small { color:#93877b; }
.item-title { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.status { font-size:10px; background:#efe8de; color:#78563a; padding:4px 8px; border-radius:16px; white-space:nowrap; }
.item-actions { margin-top:10px; }
.empty { color:#92877d; padding:10px 0; font-size:13px; }
.product-item { padding:20px; }
.product-price { display:inline-block; margin:4px 0 12px; color:#4c3a2c; font-size:15px; font-weight:750; }
.product-detail-block { padding:12px; margin:10px 0; background:#f8f3ed; border-radius:9px; }
.product-detail-block strong { font-size:11px; color:#65503f; }
.product-detail-block p { margin:5px 0 0; white-space:pre-wrap; }
.product-attributes { display:grid; gap:5px; margin:10px 0; color:#786d62; font-size:11px; }
.product-attributes strong { color:#514438; }
.product-form-panel > .field small { color:#93877b; font-size:10px; }
.form-columns { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.import-box { display:grid; gap:10px; padding:15px; margin-bottom:22px; border:1px solid #e8d9c9; border-radius:12px; background:#fffaf4; }
.import-box > div:first-child { display:grid; gap:5px; }
.import-box strong { color:#594331; font-size:13px; }
.import-box small { color:#8c8074; font-size:11px; line-height:1.5; }
.import-box .field { margin:0; }
.import-success { margin:0!important; color:#52734c!important; font-size:12px; }
.import-warnings { margin:0; padding-left:18px; color:#8b6a40; font-size:11px; line-height:1.6; }
.pending-fields { display:grid; gap:8px; padding-top:10px; border-top:1px solid #eadfd3; }
.pending-field { display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:11px; color:#695a4c; }
.pending-done { color:#52734c; font-weight:700; }
.text-action { border:0; padding:3px; background:transparent; color:#9a6543; font-size:11px; font-weight:700; cursor:pointer; }
.product-media-upload { display:grid; gap:10px; margin-top:18px; padding:14px; border:1px dashed #d9c9b8; border-radius:11px; background:#fffaf4; }
.product-media-upload > div { display:grid; gap:4px; }
.product-media-upload strong { color:#4c3a2c; font-size:13px; }
.product-media-upload small { color:#8c8074; font-size:11px; line-height:1.5; }
.product-media-upload input { padding:8px; font-size:12px; background:#fff; }
.video-upload { background:#f8f8f5; border-color:#d6d4ca; }
.product-media-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:12px; margin-top:14px; }
.product-media-card { min-width:0; overflow:hidden; border:1px solid #eee5dc; border-radius:11px; background:#fff; }
.product-media-card img,.product-media-card video { display:block; width:100%; aspect-ratio:16/10; object-fit:contain; background:#211f1d; }
.product-media-meta { display:grid; gap:5px; padding:10px; }
.product-media-meta strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; color:#4d4035; }
.product-media-meta small { font-size:10px; color:#8c8074; }
.product-media-meta .btn { justify-self:start; margin-top:3px; }
.media-empty { margin:8px 0 0!important; font-size:11px!important; }
#blazor-error-ui { display:none; position:fixed; bottom:0; left:0; right:0; background:#fff0d4; padding:12px; box-shadow:0 0 10px rgba(0,0,0,.2); z-index:1000; }
#blazor-error-ui .dismiss { position:absolute; right:20px; cursor:pointer; }
@media (max-width: 940px) { .stats { grid-template-columns: 1fr; } .work-grid { grid-template-columns:1fr; } .sidebar { width:190px; } .page-container { padding:28px 18px; } }
@media (max-width: 650px) { .app-shell { flex-direction:column; } .sidebar { width:100%; padding:16px; } .brand { padding:0 0 10px; } .nav-title,.sidebar-bottom { display:none; } .side-nav { display:flex; flex-wrap:wrap; } .side-nav a { padding:9px 12px; } .topbar { padding:0 18px; height:52px; } .page-head { flex-wrap:wrap; } .form-columns { grid-template-columns:1fr; } }


/* Studio navigation prototype */
.studio-prototype { color:#30271f; }
.prototype-banner { display:flex; align-items:center; gap:9px; padding:9px 13px; margin-bottom:22px; border:1px solid #e6d6c4; border-radius:9px; background:#fbf2e8; color:#8b6748; font-size:10px; font-weight:800; letter-spacing:1.15px; }
.prototype-dot { width:7px; height:7px; border-radius:50%; background:#c28b54; box-shadow:0 0 0 4px #f1e1cf; }
.prototype-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:24px; }
.prototype-heading .lead { max-width:650px; }
.prototype-tabs { display:flex; flex-wrap:wrap; gap:5px; padding:6px; border:1px solid #ece4da; border-radius:13px; background:#fffdfa; margin-bottom:25px; }
.prototype-tabs button { border:0; background:transparent; color:#827569; padding:10px 13px; border-radius:9px; font-size:12px; font-weight:650; cursor:pointer; }
.prototype-tabs button span { margin-right:6px; }
.prototype-tabs button.selected { color:#fff8f0; background:#453328; }
.prototype-welcome { display:grid; grid-template-columns:1fr 1fr; gap:28px; align-items:center; padding:32px; border:1px solid #e9ded1; border-radius:18px; background:linear-gradient(115deg,#fffdfa,#f5e9dc); overflow:hidden; }
.prototype-kicker { color:#a17b59; font-size:10px; font-weight:800; letter-spacing:1.8px; }
.prototype-welcome h2 { max-width:440px; margin:12px 0; font-size:32px; line-height:1.15; letter-spacing:-1px; color:#3b2e24; }
.prototype-welcome p { max-width:430px; margin:0 0 22px; color:#786c60; font-size:13px; line-height:1.7; }
.welcome-visual { min-height:230px; position:relative; display:flex; align-items:center; justify-content:center; gap:10px; }
.welcome-avatar,.welcome-product { width:44%; height:205px; border-radius:16px; display:flex; align-items:flex-end; justify-content:center; padding:13px; color:#f8ede0; font-size:9px; font-weight:800; letter-spacing:1px; box-shadow:0 15px 35px #44332324; }
.welcome-avatar { background:radial-gradient(ellipse at 50% 38%,#d5b99e 0 20%,#735a49 21% 35%,#3b302a 36% 100%); }
.welcome-product { background:linear-gradient(145deg,#d7c5ae,#8d735c); position:relative; }
.welcome-product b { position:absolute; top:42%; left:44%; width:34px; height:34px; display:grid; place-items:center; background:#fff8; color:#49372a; border-radius:50%; font-size:13px; }
.welcome-live-pill { position:absolute; top:0; right:5px; background:#fffdfa; padding:8px 11px; border:1px solid #e7dbce; border-radius:30px; font-size:9px; color:#80674f; font-weight:800; }
.welcome-live-pill i { display:inline-block; width:6px; height:6px; margin-right:5px; border-radius:50%; background:#a77a4e; }
.prototype-stat-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:20px 0 30px; }
.prototype-stat { padding:18px; display:grid; gap:7px; border:1px solid #eee7df; border-radius:13px; background:#fffefa; }
.prototype-stat span,.prototype-stat small { color:#8a7e72; font-size:11px; }
.prototype-stat strong { font-size:28px; color:#443529; letter-spacing:-1px; }
.prototype-section-heading { display:flex; justify-content:space-between; align-items:center; gap:15px; margin:28px 0 15px; }
.prototype-section-heading h2 { margin:0 0 4px; }
.prototype-section-heading p { margin:0; color:#8a7e72; font-size:12px; }
.prototype-link { border:0; background:transparent; color:#946c4d; font-size:12px; font-weight:750; cursor:pointer; }
.prototype-card-grid,.prototype-product-grid,.prototype-avatar-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; }
.prototype-card { min-width:0; overflow:hidden; border:1px solid #eee5dc; border-radius:14px; background:#fffefa; box-shadow:0 5px 17px #3d2e1c08; }
.prototype-card-body { padding:16px; }
.prototype-card-body h3 { margin:9px 0 6px; font-size:15px; color:#403328; }
.prototype-card-body p { margin:0 0 12px; color:#82766a; font-size:11px; line-height:1.55; }
.prototype-tag { display:inline-flex; width:max-content; border-radius:20px; padding:4px 8px; background:#f1e8de; color:#806044; font-size:9px; font-weight:800; letter-spacing:.3px; }
.preset-product-art,.catalog-art { min-height:145px; position:relative; display:flex; align-items:center; justify-content:center; background:linear-gradient(145deg,#eee2d3,#d3bca3); color:#8c7156; }
.preset-product-art span,.catalog-art span { position:absolute; bottom:10px; left:12px; font-size:8px; font-weight:800; letter-spacing:1.3px; }
.catalog-art b { font-size:44px; color:#80664e; }
.prototype-filter-bar { display:flex; align-items:center; gap:10px; margin-bottom:20px; flex-wrap:wrap; }
.prototype-filter-bar input { flex:1; min-width:210px; }
.prototype-filter-bar select { width:auto; min-width:150px; }
.prototype-result-count { color:#8d8176; font-size:11px; margin-left:auto; }
.prototype-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.catalog-title-row { display:flex; align-items:center; justify-content:space-between; gap:6px; }
.catalog-status,.history-status { font-size:9px; font-weight:750; padding:4px 7px; border-radius:20px; }
.catalog-status.complete,.history-status.done { color:#55734d; background:#edf4e9; }
.catalog-status.review,.history-status.stopped { color:#946c3e; background:#f8efdf; }
.catalog-price { margin:8px 0; font-size:17px; font-weight:800; color:#4d392a; }
.catalog-chips { display:flex; flex-wrap:wrap; gap:5px; margin:12px 0; }
.catalog-chips span { padding:5px 7px; border-radius:6px; background:#f5f0e9; color:#7f7367; font-size:9px; }
.prototype-preset-list { display:grid; gap:11px; }
.prototype-preset-row { display:flex; align-items:center; gap:17px; padding:16px; border:1px solid #eee5dc; border-radius:13px; background:#fffefa; }
.preset-mini-art { width:64px; height:64px; display:grid; place-items:center; flex-shrink:0; border-radius:11px; background:#efe3d6; color:#82674f; font-size:27px; }
.preset-main { flex:1; min-width:0; }
.preset-main h3 { margin:7px 0 4px; font-size:14px; }
.preset-main p,.preset-main small { margin:0; color:#817569; font-size:11px; }
.preset-actions { display:flex; gap:8px; }
.prototype-table-wrap { overflow:auto; border:1px solid #eee5dc; border-radius:13px; background:#fffefa; }
.prototype-table { width:100%; border-collapse:collapse; min-width:750px; text-align:left; }
.prototype-table th { padding:14px 16px; background:#faf6f0; color:#827466; font-size:10px; letter-spacing:.5px; }
.prototype-table td { padding:16px; border-top:1px solid #f0eae3; color:#66594d; font-size:11px; white-space:nowrap; }
.prototype-table td strong,.prototype-table td small { display:block; }
.prototype-table td strong { color:#403328; font-size:12px; }
.prototype-table td small { margin-top:4px; color:#988b7f; font-size:9px; }
.prototype-avatar-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.avatar-art { min-height:205px; display:grid; place-items:center; position:relative; background:radial-gradient(ellipse at 50% 45%,#e5d3c0,#c6ac92 65%,#9d8067); }
.avatar-art > span { position:absolute; bottom:10px; color:#fff5e9; font-size:8px; font-weight:800; letter-spacing:1.4px; }
.avatar-placeholder { width:104px; height:126px; display:grid; place-items:center; border-radius:55px 55px 42px 42px; background:linear-gradient(160deg,#59483c,#302823); color:#f2dfca; font-size:22px; font-weight:750; box-shadow:0 10px 25px #38271944; }
.avatar-usage { display:flex; align-items:baseline; gap:6px; margin:13px 0; }
.avatar-usage strong { font-size:22px; color:#4c3829; }
.avatar-usage span { color:#897c70; font-size:10px; }
.prototype-empty { padding:45px; text-align:center; border:1px dashed #d8cabb; border-radius:13px; color:#8a7c70; font-size:12px; }
.prototype-form-layout { display:grid; grid-template-columns:minmax(0,1fr) 245px; gap:20px; align-items:start; }
.prototype-form-panel { padding:23px; border:1px solid #eee5dc; border-radius:15px; background:#fffefa; }
.prototype-import-panel { display:grid; gap:10px; padding:15px; margin-bottom:20px; border:1px solid #e8d9c9; border-radius:11px; background:#fff8f0; }
.prototype-import-panel strong,.prototype-upload-row strong { color:#594331; font-size:12px; }
.prototype-import-panel p,.prototype-upload-row small { margin:4px 0 0; color:#8a7e72; font-size:10px; line-height:1.5; }
.prototype-import-panel input { background:white; }
.prototype-import-message,.prototype-note { color:#87623e; font-size:11px; }
.prototype-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.prototype-form-grid label,.launch-fields label { display:grid; gap:7px; color:#6d5d4e; font-size:11px; font-weight:700; }
.prototype-form-grid label.wide { grid-column:1/-1; }
.prototype-form-grid input,.prototype-form-grid textarea,.launch-fields input,.launch-fields select { font-weight:400; }
.prototype-upload-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0; border-bottom:1px solid #f0e9e1; }
.prototype-upload-row > div { display:grid; gap:4px; }
.prototype-form-footer { display:flex; justify-content:flex-end; gap:9px; margin-top:20px; }
.prototype-side-note { padding:17px; border:1px solid #e8ded2; border-radius:12px; background:#f8f2eb; color:#786653; }
.prototype-side-note strong { display:block; margin:8px 0; color:#5a4736; font-size:12px; }
.prototype-side-note p { margin:0; font-size:11px; line-height:1.6; }
.wizard-shell { max-width:1000px; margin:0 auto; }
.wizard-topline { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; margin-bottom:25px; }
.wizard-topline h2 { margin:7px 0 5px; font-size:24px; }
.wizard-topline p { margin:0; color:#85796d; font-size:12px; }
.wizard-timeline { display:flex; align-items:center; margin:0 0 22px; padding:16px 14px; border:1px solid #ece4da; border-radius:13px; background:#fffefa; }
.wizard-step { display:flex; align-items:center; gap:7px; padding:0; border:0; background:none; color:#9a8e82; font-size:10px; white-space:nowrap; }
.wizard-step:disabled { cursor:default; }
.step-number,.wizard-radio { width:25px; height:25px; display:grid; place-items:center; flex-shrink:0; border:1px solid #dcd2c7; border-radius:50%; background:#fff; color:#8d7d6e; font-size:10px; font-weight:800; }
.wizard-step.active { color:#60432e; font-weight:800; }
.wizard-step.active .step-number,.wizard-step.passed .step-number { border-color:#6b4c34; background:#6b4c34; color:#fff7ed; }
.wizard-step.passed { color:#72543b; }
.wizard-connector { flex:1; min-width:12px; height:1px; margin:0 9px; background:#e4dbd1; }
.wizard-connector.passed { background:#a78a6b; }
.wizard-content { padding:25px; border:1px solid #ece4da; border-radius:15px; background:#fffefa; }
.wizard-section-head { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:19px; }
.wizard-section-head h3 { margin:0 0 5px; font-size:17px; }
.wizard-section-head p { margin:0; color:#877b70; font-size:11px; }
.wizard-search-label { display:block; margin-bottom:7px; color:#6c5c4e; font-size:11px; font-weight:700; }
.wizard-search { margin-bottom:13px; }
.wizard-product-options { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-bottom:17px; }
.wizard-product-option { display:flex; align-items:center; gap:11px; padding:12px; border:1px solid #e8e0d7; border-radius:10px; background:#fff; text-align:left; cursor:pointer; }
.wizard-product-option.chosen,.wizard-avatar-option.chosen,.platform-option.chosen { border:1.5px solid #8c6849; background:#fcf6ef; }
.wizard-product-icon { width:43px; height:43px; display:grid; place-items:center; border-radius:8px; background:#eee3d7; color:#72573e; font-size:20px; }
.wizard-product-text { flex:1; display:grid; gap:5px; }
.wizard-product-text strong { color:#4a3a2d; font-size:11px; }
.wizard-product-text small { color:#8b7e72; font-size:9px; }
.wizard-product-option .wizard-radio,.wizard-avatar-option .wizard-radio,.platform-option .wizard-radio { width:20px; height:20px; }
.wizard-product-option.chosen .wizard-radio,.wizard-avatar-option.chosen .wizard-radio,.platform-option.chosen .wizard-radio { border-color:#76563b; background:#76563b; color:white; }
.wizard-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:20px; margin-top:20px; border-top:1px solid #f0e9e1; }
.wizard-footer > span { color:#93877b; font-size:10px; }
.wizard-avatar-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.wizard-avatar-option { position:relative; display:grid; justify-items:center; gap:7px; padding:10px; border:1px solid #e8e0d7; border-radius:11px; background:white; cursor:pointer; }
.wizard-avatar-option .avatar-art { width:100%; min-height:135px; border-radius:8px; }
.wizard-avatar-option .avatar-placeholder { width:70px; height:88px; font-size:15px; }
.wizard-avatar-option strong { font-size:12px; color:#4b392b; }
.wizard-avatar-option small { font-size:9px; color:#897d71; }
.wizard-avatar-option .wizard-radio { position:absolute; top:14px; right:14px; }
.voice-picker { display:flex; align-items:center; gap:12px; margin-top:20px; padding:15px; border:1px solid #eee5dc; border-radius:11px; background:#faf6f1; }
.voice-picker label { color:#6d5c4e; font-size:11px; font-weight:700; }
.voice-picker select { flex:1; max-width:350px; }
.voice-picker .btn { white-space:nowrap; }
.platform-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.platform-option { position:relative; display:grid; justify-items:start; gap:8px; padding:18px; border:1px solid #e8e0d7; border-radius:11px; background:white; text-align:left; }
.platform-option.disabled { opacity:.5; }
.platform-option strong { color:#49382b; font-size:12px; }
.platform-option small { color:#897d71; font-size:10px; }
.platform-option .wizard-radio { position:absolute; top:13px; right:13px; }
.platform-logo { width:36px; height:36px; display:grid; place-items:center; border-radius:9px; background:#eee5da; color:#70553c; font-weight:850; font-size:17px; }
.shopee-logo { background:#f7e3d9; color:#d65a3e; }
.prototype-info-panel { margin-top:18px; padding:14px 16px; border:1px solid #eadfce; border-radius:10px; background:#faf5ed; }
.prototype-info-panel strong { color:#624a34; font-size:11px; }
.prototype-info-panel p { margin:5px 0 0; color:#83766a; font-size:10px; line-height:1.6; }
.live-preview-frame { display:grid; grid-template-columns:1fr 1fr; gap:5px; position:relative; min-height:300px; padding:8px; overflow:hidden; border-radius:13px; background:#241e19; }
.preview-avatar,.preview-product { min-height:284px; display:flex; align-items:flex-end; justify-content:center; position:relative; padding:15px; border-radius:8px; color:#fff; font-size:10px; font-weight:800; letter-spacing:1px; }
.preview-avatar { background:radial-gradient(ellipse at 50% 42%,#d8bba1 0 20%,#6e5545 21% 35%,#3c3028 36% 100%); }
.preview-product { background:linear-gradient(145deg,#c4ad92,#69533f); }
.preview-avatar-placeholder { position:absolute; top:45%; color:#fff8ed99; font-size:16px; letter-spacing:3px; }
.preview-play { position:absolute; top:42%; left:45%; width:44px; height:44px; display:grid; place-items:center; border-radius:50%; background:#fff9; color:#443326; }
.preview-watermark { position:absolute; top:17px; left:18px; padding:6px 9px; border-radius:20px; background:#16110d99; color:white; font-size:8px; letter-spacing:1px; }
.preview-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:15px; }
.preview-summary span { display:grid; gap:5px; }
.preview-summary small,.launch-summary span { color:#8e8175; font-size:9px; }
.preview-summary strong,.launch-summary strong { color:#4d3a2c; font-size:11px; }
.launch-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; padding:16px; border:1px solid #eee5dc; border-radius:11px; background:#faf6f1; }
.launch-summary div { display:grid; gap:6px; }
.launch-fields { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:20px; }
.launch-fields label:first-child { grid-column:1/-1; }
@media(max-width:950px) { .prototype-stat-grid { grid-template-columns:repeat(2,1fr); } .prototype-product-grid,.prototype-card-grid,.prototype-avatar-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .prototype-welcome { grid-template-columns:1fr; } .prototype-form-layout { grid-template-columns:1fr; } .prototype-side-note { display:none; } .wizard-step span:last-child { display:none; } }
@media(max-width:620px) { .prototype-heading { align-items:flex-start; flex-direction:column; } .prototype-stat-grid { grid-template-columns:1fr 1fr; } .prototype-product-grid,.prototype-card-grid,.prototype-avatar-grid { grid-template-columns:1fr; } .prototype-preset-row { align-items:flex-start; flex-wrap:wrap; } .preset-actions { width:100%; } .prototype-form-grid,.wizard-product-options,.wizard-avatar-options,.platform-options,.preview-summary,.launch-summary,.launch-fields { grid-template-columns:1fr; } .prototype-form-grid label.wide,.launch-fields label:first-child { grid-column:auto; } .voice-picker { align-items:stretch; flex-direction:column; } .voice-picker select { max-width:none; } .live-preview-frame { min-height:210px; } .preview-avatar,.preview-product { min-height:200px; } .wizard-content { padding:16px; } .wizard-timeline { overflow:auto; } .wizard-step span:last-child { display:none; } .prototype-upload-row { align-items:flex-start; flex-direction:column; } }


/* ==========================================================
   SHOWAVA Premium UI — fonte global única de estilos
   Paleta espelhada em LiveIA.Ui.LiveUiColors
   ========================================================== */
:root {
    --lv-bg: #F8F6F4;
    --lv-surface: #FFFFFF;
    --lv-surface-soft: #FFF9F7;
    --lv-coral: #E85D4F;
    --lv-coral-hover: #D94E43;
    --lv-coral-soft: #FCE5E1;
    --lv-coral-border: #F3C7C1;
    --lv-text: #242126;
    --lv-text-secondary: #77727A;
    --lv-text-muted: #9B969D;
    --lv-border: #EAE6E5;
    --lv-success: #299B69;
    --lv-shadow-card: 0 8px 24px rgba(37, 27, 26, .055);
    color-scheme: light;
}
html, body { min-height:100%; background:var(--lv-bg); color:var(--lv-text); }
body { font-family:Inter, "Segoe UI", Arial, sans-serif; }
.app-shell { min-height:100vh; display:flex; background:var(--lv-bg); }
.sidebar {
    position:sticky; top:0; width:258px; height:100vh; flex:0 0 258px;
    display:flex; flex-direction:column; padding:27px 17px 18px;
    color:var(--lv-text); background:#fff; border-right:1px solid var(--lv-border);
}
.brand { display:flex; align-items:center; gap:11px; padding:0 11px 38px; color:var(--lv-text); text-decoration:none; }
.brand-icon { width:37px; height:37px; display:grid; place-items:center; padding:0; border-radius:12px; color:#fff; background:var(--lv-coral); box-shadow:0 5px 12px rgba(232,93,79,.22); }
.brand-icon svg { width:22px; height:22px; }
.brand-name { display:block; font-size:21px; font-weight:800; letter-spacing:-.8px; line-height:1; }
.brand-name small { display:block; margin-top:5px; color:var(--lv-text-muted); font-size:9px; font-weight:750; letter-spacing:2.3px; }
.nav-group { margin-bottom:25px; }
.nav-title { display:block; margin:0 12px 11px; color:#AAA4AA; font-size:9px; font-weight:800; letter-spacing:1.7px; }
.side-nav { display:grid; gap:5px; }
.side-nav a { display:flex; align-items:center; gap:12px; min-height:43px; padding:10px 12px; border-radius:10px; color:#68636B; font-size:12px; font-weight:650; text-decoration:none; transition:background .18s ease,color .18s ease; }
.side-nav a:hover { color:var(--lv-coral); background:#FFF6F4; }
.side-nav a.active { color:#D94E43; background:var(--lv-coral-soft); font-weight:750; }
.nav-icon { width:20px; text-align:center; color:inherit; font-size:18px; line-height:1; }
.presenters-group { margin-top:4px; }
.sidebar-bottom { display:flex; align-items:center; gap:9px; margin-top:auto; padding:17px 11px 4px; border-top:1px solid #F1EEEE; color:var(--lv-text-muted); font-size:10px; }
.sidebar-status-dot { width:7px; height:7px; border-radius:50%; background:var(--lv-success); box-shadow:0 0 0 4px #E9F6EF; }
.app-main { flex:1; min-width:0; }
.topbar { position:sticky; top:0; z-index:20; height:76px; display:flex; align-items:center; justify-content:space-between; padding:0 38px; background:rgba(255,255,255,.94); border-bottom:1px solid var(--lv-border); backdrop-filter:blur(12px); }
.topbar-left,.topbar-actions { display:flex; align-items:center; gap:16px; }
.topbar-context { display:grid; gap:3px; }
.topbar-context-title { color:var(--lv-text); font-size:12px; font-weight:750; }
.topbar-context-subtitle { color:var(--lv-text-muted); font-size:10px; }
.topbar-actions { gap:15px; }
.icon-button { position:relative; width:36px; height:36px; display:grid; place-items:center; border:0; border-radius:10px; background:transparent; color:#716B73; cursor:pointer; }
.icon-button:hover { background:#FFF4F1; color:var(--lv-coral); }
.icon-button svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.icon-button i { position:absolute; top:7px; right:7px; width:6px; height:6px; border:1px solid white; border-radius:50%; background:var(--lv-coral); }
.topbar-divider { width:1px; height:27px; background:var(--lv-border); }
.profile-button { display:flex; align-items:center; gap:9px; padding:4px 2px; border:0; background:transparent; color:var(--lv-text); cursor:pointer; }
.profile-avatar { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; background:linear-gradient(145deg,#F5C8B8,#E88C78); color:#743D35; font-size:10px; font-weight:800; }
.profile-name { font-size:11px; font-weight:700; }
.profile-chevron { color:var(--lv-text-muted); font-size:15px; }
.sidebar-toggle { display:none; }
.main-content { min-width:0; }
.page-container { width:100%; max-width:1480px; margin:0 auto; padding:36px 40px 48px; }
h1 { margin:5px 0 9px; color:var(--lv-text); font-size:30px; font-weight:780; letter-spacing:-1.05px; }
h2 { color:var(--lv-text); }
.eyebrow { margin:0; color:var(--lv-coral); font-size:9px; font-weight:800; letter-spacing:1.6px; }
.lead { color:var(--lv-text-secondary); font-size:12px; line-height:1.65; }
.page-head { align-items:center; margin-bottom:27px; }
.btn { min-height:39px; border-radius:10px; padding:10px 16px; font-size:11px; font-weight:750; transition:background .18s ease,box-shadow .18s ease,transform .18s ease; }
.btn-primary { border:1px solid var(--lv-coral); background:var(--lv-coral); color:#fff; box-shadow:0 5px 12px rgba(232,93,79,.17); }
.btn-primary:hover:not(:disabled) { background:var(--lv-coral-hover); box-shadow:0 7px 16px rgba(232,93,79,.22); transform:translateY(-1px); }
.btn-secondary { border:1px solid var(--lv-border); background:#fff; color:#5E5961; }
.btn-secondary:hover:not(:disabled) { border-color:var(--lv-coral-border); background:#FFF8F6; color:var(--lv-coral-hover); }
.dashboard-heading { margin-bottom:25px; }
.btn-live-start { min-height:43px; padding:0 19px; gap:10px; border-radius:11px; }
.button-play-icon { font-size:12px; }
.dashboard-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:22px; }
.ui-metric-card { min-width:0; display:grid; gap:10px; padding:20px 21px 17px; border:1px solid var(--lv-border); border-radius:15px; background:var(--lv-surface); box-shadow:var(--lv-shadow-card); }
.ui-metric-top { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.ui-metric-icon { width:34px; height:34px; display:grid; place-items:center; border-radius:11px; background:#FFF0ED; color:var(--lv-coral); font-size:17px; }
.ui-metric-caption { color:var(--lv-text-muted); font-size:9px; text-align:right; }
.ui-metric-title { color:#6F6971; font-size:11px; font-weight:650; }
.ui-metric-value { color:var(--lv-text); font-size:29px; font-weight:800; letter-spacing:-.8px; line-height:1.05; }
.ui-metric-link { display:flex; align-items:center; justify-content:space-between; padding-top:9px; border-top:1px solid #F2EEEE; color:var(--lv-coral); font-size:10px; font-weight:750; text-decoration:none; }
.ui-metric-link:hover { color:var(--lv-coral-hover); }
.dashboard-content-grid { display:grid; grid-template-columns:minmax(290px,.92fr) minmax(0,1.08fr); gap:18px; align-items:stretch; }
.dashboard-panel { min-width:0; padding:21px; border:1px solid var(--lv-border); border-radius:15px; background:var(--lv-surface); box-shadow:var(--lv-shadow-card); }
.section-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:17px; }
.section-heading h2 { margin:0 0 5px; font-size:15px; font-weight:780; letter-spacing:-.3px; }
.section-heading p { margin:0; color:var(--lv-text-muted); font-size:10px; }
.section-link { flex-shrink:0; color:var(--lv-coral); font-size:10px; font-weight:750; text-decoration:none; }
.section-link span { margin-left:3px; }
.quick-link-list { display:grid; gap:9px; }
.ui-quick-link { display:flex; align-items:center; gap:12px; min-height:61px; padding:10px 12px; border:1px solid #EEEAEA; border-radius:11px; background:#fff; text-decoration:none; transition:border-color .18s ease,background .18s ease,transform .18s ease; }
.ui-quick-link:hover { border-color:var(--lv-coral-border); background:#FFFAF9; transform:translateY(-1px); }
.ui-quick-icon { width:34px; height:34px; display:grid; place-items:center; flex-shrink:0; border-radius:10px; background:#FFF0ED; color:var(--lv-coral); font-size:17px; }
.ui-quick-copy { display:grid; gap:4px; flex:1; min-width:0; }
.ui-quick-copy strong { color:var(--lv-text); font-size:11px; font-weight:750; }
.ui-quick-copy small { color:var(--lv-text-muted); font-size:9px; }
.ui-quick-arrow { color:#9A949B; font-size:22px; line-height:1; }
.activity-list { display:grid; }
.activity-item { display:flex; align-items:center; gap:11px; min-width:0; padding:13px 0; border-bottom:1px solid #F2EEEE; }
.activity-item:last-child { border-bottom:0; padding-bottom:0; }
.activity-icon { width:32px; height:32px; display:grid; place-items:center; flex-shrink:0; border-radius:50%; background:#FFF0ED; color:var(--lv-coral); font-size:11px; }
.activity-copy { display:grid; flex:1; min-width:0; gap:4px; }
.activity-copy strong { overflow:hidden; color:var(--lv-text); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.activity-copy span { overflow:hidden; color:#77717A; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.activity-copy small { color:#A19BA2; font-size:9px; }
.activity-status { flex-shrink:0; padding:5px 8px; border-radius:20px; background:#EAF6EF; color:#278457; font-size:8px; font-weight:750; }
.activity-empty { display:grid; justify-items:center; gap:8px; padding:38px 15px; text-align:center; }
.activity-empty-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; background:#FFF0ED; color:var(--lv-coral); font-size:19px; }
.activity-empty strong { color:var(--lv-text); font-size:11px; }
.activity-empty p { margin:0; color:var(--lv-text-muted); font-size:10px; }
.alert { border-color:#F2C7C4; border-radius:10px; background:#FFF2F0; color:#A53E38; }
#blazor-error-ui { display:none; position:fixed; z-index:1000; right:0; bottom:0; left:0; padding:12px 20px; background:#FFF2F0; color:#8D3731; box-shadow:0 -4px 18px rgba(0,0,0,.08); }
#blazor-error-ui .dismiss { position:absolute; right:20px; cursor:pointer; }
#components-reconnect-modal { width:min(22rem,calc(100vw - 32px)); margin:20vh auto; padding:28px; border:1px solid var(--lv-border); border-radius:16px; box-shadow:0 16px 50px rgba(30,20,20,.18); }
#components-reconnect-modal::backdrop { background:rgba(35,28,30,.28); backdrop-filter:blur(3px); }
.components-reconnect-container { display:flex; flex-direction:column; align-items:center; gap:13px; color:var(--lv-text); }
.components-reconnect-container p { margin:0; text-align:center; font-size:12px; }
.components-reconnect-container button { border:0; border-radius:9px; padding:9px 22px; background:var(--lv-coral); color:#fff; cursor:pointer; }
.components-reconnect-first-attempt-visible,.components-reconnect-repeated-attempt-visible,.components-reconnect-failed-visible,.components-pause-visible,.components-resume-failed-visible,.components-rejoining-animation { display:none; }
#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible,
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation,
#components-reconnect-modal.components-reconnect-paused .components-pause-visible,
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible,
#components-reconnect-modal.components-reconnect-retrying,
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible,
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible { display:block; }
.components-rejoining-animation { position:relative; width:54px; height:54px; }
.components-rejoining-animation div { position:absolute; border:3px solid var(--lv-coral); opacity:1; border-radius:50%; animation:lv-rejoining 1.5s cubic-bezier(0,.2,.8,1) infinite; }
.components-rejoining-animation div:nth-child(2) { animation-delay:-.5s; }
@keyframes lv-rejoining { 0%{top:27px;left:27px;width:0;height:0;opacity:0} 5%{top:27px;left:27px;width:0;height:0;opacity:1} 100%{top:0;left:0;width:54px;height:54px;opacity:0} }
@media(max-width:1050px) {
    .sidebar { width:230px; flex-basis:230px; }
    .page-container { padding:30px 26px 40px; }
    .topbar { padding:0 26px; }
}
@media(max-width:800px) {
    .sidebar { position:fixed; z-index:40; left:0; top:0; transform:translateX(-102%); transition:transform .22s ease; box-shadow:12px 0 35px rgba(30,20,20,.08); }
    .sidebar.is-open { transform:translateX(0); }
    .sidebar-toggle { width:35px; height:35px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; border:1px solid var(--lv-border); border-radius:9px; background:#fff; cursor:pointer; }
    .sidebar-toggle span { width:14px; height:1.5px; border-radius:2px; background:#625C64; }
    .dashboard-content-grid { grid-template-columns:1fr; }
}
@media(max-width:620px) {
    .topbar { height:64px; padding:0 15px; }
    .topbar-context-subtitle,.profile-name,.profile-chevron,.topbar-divider { display:none; }
    .page-container { padding:25px 15px 35px; }
    .dashboard-heading { align-items:flex-start; flex-direction:column; }
    .dashboard-metrics { grid-template-columns:1fr; }
    .dashboard-panel { padding:17px; }
    h1 { font-size:27px; }
}


/* ==========================================================
   SHOWAVA — refinamento visual fiel ao protótipo aprovado
   Ícones SVG outline, superfícies sem borda e onda lateral.
   ========================================================== */
:root {
    --lv-bg: #FBF7F6;
    --lv-surface: #FFFEFD;
    --lv-surface-soft: #FFF9F7;
    --lv-coral: #EF6256;
    --lv-coral-hover: #DF554A;
    --lv-coral-soft: #FCE5E2;
    --lv-coral-border: #F5C9C4;
    --lv-text: #171518;
    --lv-text-secondary: #5F5961;
    --lv-text-muted: #99929A;
    --lv-border: #F0E9E7;
    --lv-shadow-card: 0 5px 16px rgba(48, 31, 29, .075);
}
html, body, .app-shell { background:var(--lv-bg); color:var(--lv-text); }
.sidebar {
    position:sticky; isolation:isolate; overflow:hidden;
    background:rgba(255,254,253,.94);
    border-right:0;
    box-shadow:5px 0 22px rgba(55,34,31,.025);
}
.sidebar::before {
    content:""; position:absolute; z-index:-1; left:-12%; right:-8%; bottom:-2px; height:168px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 170' preserveAspectRatio='none'%3E%3Cpath d='M0 82 C48 54 72 36 113 61 C153 84 174 110 213 83 C248 58 269 43 300 58 L300 170 L0 170Z' fill='%23FCE7E3'/%3E%3Cpath d='M0 112 C45 89 73 69 116 88 C160 108 177 139 219 111 C253 88 277 79 300 90 L300 170 L0 170Z' fill='%23F8D9D4' opacity='.72'/%3E%3Cpath d='M0 137 C46 117 83 111 121 125 C165 141 186 157 226 137 C255 122 278 117 300 126 L300 170 L0 170Z' fill='%23F5C9C2' opacity='.42'/%3E%3C/svg%3E");
    background-repeat:no-repeat; background-size:100% 100%; pointer-events:none;
}
.sidebar::after { content:""; position:absolute; z-index:-1; left:0; right:0; bottom:0; height:95px; background:linear-gradient(180deg,transparent,rgba(255,254,253,.05)); pointer-events:none; }
.brand { position:relative; z-index:1; gap:9px; padding:0 10px 34px; }
.brand-icon { width:28px; height:30px; padding:0; border-radius:0; background:transparent; box-shadow:none; color:var(--lv-coral); }
.brand-icon svg { width:30px; height:30px; display:block; }
.brand-name { color:#111013; font-size:21px; font-weight:850; letter-spacing:-1px; }
.nav-group,.sidebar-bottom { position:relative; z-index:1; }
.nav-title { color:#AAA2A5; font-size:9px; letter-spacing:1.55px; }
.side-nav { gap:4px; }
.side-nav a { gap:10px; min-height:37px; padding:8px 11px; border-radius:9px; color:#514B53; font-size:11px; font-weight:620; }
.side-nav a:hover { color:var(--lv-coral-hover); background:#FFF4F2; }
.side-nav a.active { color:#DE4F45; background:#FCE2DE; font-weight:750; }
.lv-icon { width:17px; height:17px; flex:0 0 17px; display:inline-block; vertical-align:middle; }
.side-nav .lv-icon { width:16px; height:16px; flex-basis:16px; }
.sidebar-bottom { border-top:0; color:#9D9294; font-size:9px; padding:14px 10px 3px; }
.sidebar-status-dot { background:#36B779; box-shadow:0 0 0 3px #E5F5EC; }
.topbar { height:58px; padding:0 28px; background:rgba(255,254,253,.9); border-bottom:0; }
.topbar-context-title { font-size:12px; font-weight:800; color:#211D22; }
.topbar-context-subtitle { color:#8D858D; font-size:9px; }
.icon-button { color:#3E3940; }
.icon-button .lv-icon { width:17px; height:17px; }
.profile-button { gap:7px; }
.profile-avatar { width:25px; height:25px; font-size:9px; }
.profile-name { font-size:9px; font-weight:750; }
.profile-button .lv-icon { width:13px; height:13px; color:#5F5961; }
.page-container { max-width:1480px; padding:24px 28px 42px; }
h1 { color:#111013; font-size:28px; letter-spacing:-1px; font-weight:820; }
h2 { color:#181519; font-size:16px; font-weight:800; }
.eyebrow { color:var(--lv-coral); font-size:9px; letter-spacing:1.35px; }
.lead { color:#625C64; font-size:11px; }
.page-head { margin-bottom:19px; }
.btn { min-height:35px; border-radius:9px; padding:9px 14px; font-size:10px; }
.btn-primary { border:0; background:linear-gradient(180deg,#F4776C 0%,#E9574C 100%); color:white; box-shadow:0 5px 13px rgba(229,83,72,.2); }
.btn-primary:hover:not(:disabled) { background:linear-gradient(180deg,#EE6B60 0%,#D94D43 100%); }
.btn-secondary { border:0; background:#FFFEFD; color:#5E565D; box-shadow:0 3px 10px rgba(48,31,29,.07); }
.btn-live-start { min-height:37px; padding:0 15px; gap:8px; border-radius:9px; }
.btn-live-start .lv-icon { width:13px; height:13px; }
.dashboard-metrics { gap:10px; margin-bottom:17px; }
.ui-metric-card,.dashboard-panel,.ui-quick-link,.prototype-card,.prototype-stat,.prototype-preset-row,.prototype-form-panel,.prototype-table-wrap,.prototype-product-card,.prototype-avatar-card {
    border:0 !important; background:var(--lv-surface); box-shadow:var(--lv-shadow-card);
}
.ui-metric-card { gap:6px; padding:13px 14px 12px; border-radius:12px; }
.ui-metric-icon,.ui-quick-icon,.activity-icon,.activity-empty-icon { background:#FFF0EE; color:#E9574C; border:0; }
.ui-metric-icon { width:28px; height:28px; border-radius:9px; }
.ui-metric-icon .lv-icon { width:16px; height:16px; }
.ui-metric-caption { color:#918A91; font-size:8px; }
.ui-metric-title { color:#373139; font-size:9px; font-weight:700; }
.ui-metric-value { color:#171518; font-size:24px; }
.ui-metric-link { border-top:0; padding-top:4px; color:var(--lv-coral); }
.ui-metric-link .lv-icon { width:12px; height:12px; }
.dashboard-content-grid { grid-template-columns:minmax(260px,.88fr) minmax(0,1.12fr); gap:12px; }
.dashboard-panel { padding:14px; border-radius:13px; }
.section-heading { margin-bottom:12px; }
.section-heading h2 { font-size:14px; margin-bottom:3px; }
.section-heading p { font-size:9px; }
.section-link { display:inline-flex; align-items:center; gap:4px; font-size:9px; }
.section-link .lv-icon { width:12px; height:12px; }
.quick-link-list { gap:7px; }
.ui-quick-link { min-height:48px; padding:7px 9px; gap:9px; border-radius:10px; }
.ui-quick-link:hover { background:#FFFAF9; box-shadow:0 6px 15px rgba(48,31,29,.09); }
.ui-quick-icon { width:28px; height:28px; border-radius:50%; }
.ui-quick-icon .lv-icon { width:15px; height:15px; }
.ui-quick-copy { gap:2px; }
.ui-quick-copy strong { font-size:10px; }
.ui-quick-copy small { font-size:8px; }
.ui-quick-arrow { display:grid; place-items:center; color:#66606A; }
.ui-quick-arrow .lv-icon { width:14px; height:14px; }
.activity-list { gap:0; }
.activity-item { gap:9px; padding:9px 0; border-bottom:0; }
.activity-icon { width:27px; height:27px; border-radius:50%; }
.activity-icon .lv-icon { width:13px; height:13px; }
.activity-copy { gap:2px; }
.activity-copy strong { font-size:9px; color:#252027; }
.activity-copy span,.activity-copy small { font-size:8px; }
.activity-status { padding:4px 7px; font-size:8px; }
.activity-empty { padding:26px 12px; }
.activity-empty-icon { width:35px; height:35px; }
.activity-empty-icon .lv-icon { width:16px; height:16px; }
.sidebar-toggle { border:0; background:#FFF1EE; }
@media(max-width:800px) {
    .sidebar { box-shadow:12px 0 35px rgba(48,31,29,.12); }
}
@media(max-width:620px) {
    .topbar { height:56px; padding:0 14px; }
    .page-container { padding:21px 14px 32px; }
    .dashboard-content-grid { grid-template-columns:1fr; }
}

/* Catálogo de produtos — composição fiel ao protótipo aprovado */
.products-page { min-width:0; }
.products-heading { align-items:center; margin-bottom:22px; }
.products-heading h1 { margin:0 0 3px; font-size:27px; }
.products-heading .lead { font-size:10px; }
.products-add-button { min-height:34px; padding:0 15px; gap:7px; }
.products-add-button .lv-icon { width:14px; height:14px; }
.products-toolbar { display:grid; grid-template-columns:minmax(220px,1fr) 126px 126px 126px; gap:9px; margin-bottom:16px; }
.products-toolbar select,.products-search { height:36px; min-width:0; border:1px solid #E9E3E3; border-radius:8px; background:#FFFEFD; color:#3F3940; box-shadow:0 2px 6px rgba(48,31,29,.025); font-size:9px; }
.products-toolbar select { padding:0 10px; }
.products-search { display:flex; align-items:center; gap:8px; padding:0 10px; }
.products-search .lv-icon { width:14px; height:14px; flex:0 0 14px; color:#716A72; }
.products-search input { width:100%; min-width:0; height:100%; padding:0; border:0; outline:0; background:transparent; box-shadow:none; font-size:9px; }
.products-search input:focus { box-shadow:none; }
.products-list { display:grid; gap:9px; }
.product-row { display:grid; grid-template-columns:46px minmax(112px,1.05fr) minmax(90px,.55fr) 48px minmax(125px,1.1fr) auto; align-items:center; gap:10px; min-width:0; padding:9px 10px; border:0; border-radius:11px; background:#FFFEFD; box-shadow:0 4px 13px rgba(48,31,29,.065); }
.product-thumb { width:46px; height:46px; display:grid; place-items:center; overflow:hidden; border-radius:9px; background:#FCEAE8; }
.product-thumb img { display:block; width:100%; height:100%; object-fit:contain; }
.product-thumb-placeholder { color:#D95D52; }
.product-thumb-placeholder .lv-icon { width:22px; height:22px; }
.product-main-info { display:grid; min-width:0; gap:5px; }
.product-name { overflow:hidden; color:#252027; font-size:10px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }
.product-price { color:#E24F45; font-size:10px; font-weight:800; }
.product-origin,.product-status { display:grid; gap:5px; min-width:0; }
.product-column-label { color:#817A82; font-size:8px; }
.product-origin strong { display:flex; align-items:center; gap:5px; color:#39333B; font-size:8px; font-weight:650; white-space:nowrap; }
.origin-mark { width:15px; height:15px; display:inline-grid; place-items:center; border-radius:4px; background:#FFF0EC; color:#E9574C; font-size:9px; font-weight:850; }
.product-status-pill { width:max-content; padding:4px 7px; border-radius:20px; background:#E3F5E9; color:#26864E; font-size:8px; font-weight:750; }
.product-description { display:-webkit-box; overflow:hidden; margin:0; color:#5E5860; font-size:8px; line-height:1.45; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.product-actions { display:flex; align-items:center; gap:5px; }
.product-action-button { display:inline-flex; align-items:center; justify-content:center; gap:4px; min-height:25px; padding:4px 7px; border:1px solid #EAE5E5; border-radius:6px; background:#FFFEFD; color:#514B53; font-size:8px; font-weight:650; white-space:nowrap; cursor:pointer; }
.product-action-button .lv-icon { width:11px; height:11px; }
.product-action-button:hover:not(:disabled) { border-color:#F0BDB7; color:#D94E43; background:#FFFAF9; }
.product-action-button:disabled { opacity:.6; cursor:not-allowed; }
.products-count { padding:12px 3px; color:#969098; font-size:9px; text-align:right; }
.products-empty { display:grid; justify-items:center; gap:7px; padding:45px 18px; border-radius:12px; background:#FFFEFD; box-shadow:0 4px 13px rgba(48,31,29,.055); color:#8A838B; font-size:10px; }
.products-empty strong { color:#302A32; font-size:12px; }
.product-modal-backdrop { position:fixed; z-index:100; inset:0; display:grid; place-items:center; padding:20px; background:rgba(34,27,30,.35); backdrop-filter:blur(3px); }
.product-modal { display:flex; flex-direction:column; width:min(720px,100%); max-height:min(90vh,900px); overflow:hidden; border-radius:16px; background:#FFFEFD; box-shadow:0 20px 65px rgba(35,23,25,.2); }
.product-modal-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; padding:20px 22px 15px; box-shadow:0 3px 12px rgba(48,31,29,.04); }
.product-modal-heading h2 { margin:0 0 5px; font-size:18px; }
.product-modal-heading p { margin:0; color:#817A82; font-size:10px; }
.product-modal-close { width:28px; height:28px; border:0; border-radius:50%; background:#F9EFED; color:#625A62; font-size:20px; cursor:pointer; }
.product-modal-body { overflow:auto; padding:18px 22px; }
.product-modal-body .import-box { border:0; background:#FFF6F4; }
.product-modal-footer { display:flex; justify-content:flex-end; gap:8px; padding:13px 22px; box-shadow:0 -3px 12px rgba(48,31,29,.04); }
@media(max-width:1050px) {
 .product-row { grid-template-columns:44px minmax(100px,1fr) 90px 46px minmax(100px,1fr); }
 .product-description { display:none; }
 .product-actions { grid-column:2/-1; justify-content:flex-end; }
}
@media(max-width:700px) {
 .products-toolbar { grid-template-columns:1fr 1fr; }
 .products-search { grid-column:1/-1; }
 .products-heading { align-items:flex-start; flex-direction:column; }
 .product-row { grid-template-columns:44px minmax(0,1fr) auto; gap:8px; }
 .product-origin,.product-status { display:none; }
 .product-actions { grid-column:2/-1; justify-content:flex-start; }
}

/* Dropdown global premium — reutilizável em filtros, formulários e pipeline */
.products-toolbar { grid-template-columns:minmax(220px,1fr) 126px 126px 126px; }
.ui-dropdown { position:relative; z-index:5; min-width:0; }
.ui-dropdown:has(.ui-dropdown-menu) { z-index:30; }
.ui-dropdown-trigger {
 width:100%; min-height:36px; display:flex; align-items:center; justify-content:space-between; gap:9px; padding:0 11px;
 border:1px solid #EEE7E5; border-radius:9px; background:linear-gradient(180deg,#FFFEFD 0%,#FFFCFB 100%);
 color:#514A52; box-shadow:0 3px 9px rgba(48,31,29,.035),inset 0 1px 0 rgba(255,255,255,.9);
 font:inherit; font-size:9px; text-align:left; cursor:pointer; transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.ui-dropdown-trigger:hover { border-color:#EED0CC; background:#FFF; box-shadow:0 4px 12px rgba(48,31,29,.055); }
.ui-dropdown-trigger:focus-visible { outline:0; border-color:#E98A80; box-shadow:0 0 0 3px rgba(239,98,86,.12),0 4px 12px rgba(48,31,29,.045); }
.ui-dropdown-trigger:disabled { cursor:default; background:#F8F5F4; color:#514A50; box-shadow:none; }
.ui-dropdown-value { display:flex; align-items:center; min-width:0; gap:3px; overflow:hidden; white-space:nowrap; }
.ui-dropdown-label { color:#716A72; font-weight:650; flex:0 0 auto; }
.ui-dropdown-selected { overflow:hidden; color:#373139; font-weight:750; text-overflow:ellipsis; }
.ui-dropdown-chevron { display:grid; place-items:center; flex:0 0 15px; color:#817981; transition:transform .18s ease,color .18s ease; }
.ui-dropdown-chevron .lv-icon { width:13px; height:13px; }
.ui-dropdown-chevron.is-open { transform:rotate(180deg); color:var(--lv-coral); }
.ui-dropdown-menu {
 position:absolute; top:calc(100% + 7px); right:0; left:0; z-index:60; display:grid; gap:3px; padding:6px;
 border:1px solid rgba(238,226,223,.9); border-radius:11px; background:rgba(255,254,253,.98);
 box-shadow:0 14px 34px rgba(45,30,29,.13),0 3px 9px rgba(45,30,29,.045); backdrop-filter:blur(12px);
 transform-origin:top center; animation:lv-dropdown-in .16s ease-out both;
}
.ui-dropdown-option {
 width:100%; min-height:31px; display:flex; align-items:center; justify-content:space-between; gap:8px; padding:7px 9px;
 border:0; border-radius:7px; background:transparent; color:#5A535B; font:inherit; font-size:9px; font-weight:570;
 text-align:left; cursor:pointer; transition:background .13s ease,color .13s ease;
}
.ui-dropdown-option:hover { background:#FFF1EF; color:#D94F45; }
.ui-dropdown-option.is-selected { background:#FCE9E6; color:#D94F45; font-weight:760; }
.ui-dropdown-value .ui-platform,.ui-dropdown-option .ui-platform { width:100%; }
.ui-dropdown-value .ui-platform-logo,.ui-dropdown-option .ui-platform-logo { width:22px; height:22px; flex-basis:22px; border-radius:6px; }
.ui-dropdown-value .ui-platform-logo svg,.ui-dropdown-option .ui-platform-logo svg { width:20px; height:20px; }
.ui-dropdown-value .ui-platform-name,.ui-dropdown-option .ui-platform-name { font-size:9px; }
.ui-dropdown-check { display:grid; place-items:center; color:#E45C51; }
.ui-dropdown-check .lv-icon { width:13px; height:13px; }
@keyframes lv-dropdown-in { from { opacity:0; transform:translateY(-4px) scale(.985); } to { opacity:1; transform:translateY(0) scale(1); } }
@media(max-width:1050px) { .products-toolbar { grid-template-columns:minmax(180px,1fr) repeat(3,minmax(105px,126px)); } }
@media(max-width:700px) { .products-toolbar { grid-template-columns:1fr 1fr; } .products-toolbar .products-search { grid-column:1/-1; } }
@media(prefers-reduced-motion:reduce) { .ui-dropdown-menu { animation:none; } .ui-dropdown-trigger,.ui-dropdown-chevron,.ui-dropdown-option { transition:none; } }

/* Identidade das plataformas — componente global UiPlatform */
.product-origin { align-content:center; }
.ui-platform { display:inline-flex; align-items:center; gap:6px; width:max-content; max-width:100%; min-width:0; color:#39333B; }
.ui-platform-logo { width:23px; height:23px; flex:0 0 23px; display:grid; place-items:center; overflow:hidden; border-radius:7px; background:#FFF; box-shadow:0 2px 6px rgba(39,29,28,.07); }
.ui-platform-logo svg { display:block; width:21px; height:21px; }
.ui-platform-shopee .ui-platform-logo { background:#FFF0EC; }
.ui-platform-mercado-livre .ui-platform-logo { background:#FFF9D8; }
.ui-platform-amazon .ui-platform-logo { background:#FFF7E9; }
.ui-platform-tiktok-shop .ui-platform-logo { background:#F2F1F2; }
.ui-platform-other .ui-platform-logo { background:#FFF0EC; color:#E9574C; }
.ui-platform-other .ui-platform-logo .lv-icon { width:16px; height:16px; }
.ui-platform-name { overflow:hidden; color:#39333B; font-size:8px; font-weight:720; letter-spacing:-.08px; text-overflow:ellipsis; white-space:nowrap; }
@media(max-width:700px) { .ui-platform { gap:5px; } .ui-platform-logo { width:21px; height:21px; flex-basis:21px; } .ui-platform-logo svg { width:19px; height:19px; } }

/* Configurações de lives — tela alinhada ao protótipo aprovado */
.presets-page { min-width:0; }
.presets-heading { align-items:center; margin-bottom:21px; }
.presets-heading h1 { margin:0 0 3px; font-size:27px; }
.presets-heading .lead { font-size:10px; line-height:1.55; }
.presets-add-button { min-height:34px; padding:0 15px; gap:7px; white-space:nowrap; }
.presets-add-button .lv-icon { width:13px; height:13px; }
.presets-list { display:grid; gap:10px; }
.preset-list-card {
 display:grid; grid-template-columns:29px minmax(0,1fr) 29px; align-items:center; gap:11px; min-width:0;
 padding:9px 11px; border:0; border-radius:12px; background:var(--lv-surface,#FFFEFD);
 box-shadow:0 4px 13px rgba(48,31,29,.065),0 1px 3px rgba(48,31,29,.025);
 transition:transform .16s ease,box-shadow .16s ease;
}
.preset-list-card:hover { transform:translateY(-1px); box-shadow:0 7px 18px rgba(48,31,29,.085); }
.ui-preset-art {
 width:52px; height:52px; display:grid; place-items:center; overflow:hidden; border-radius:10px;
 background:linear-gradient(145deg,#FFF0EE 0%,#F9DCD8 100%);
}
.ui-preset-art svg { display:block; width:47px; height:47px; filter:drop-shadow(0 3px 2px rgba(35,25,25,.12)); }
.ui-preset-art-earbuds { background:linear-gradient(145deg,#F5F5F3 0%,#E6E8E8 100%); }
.ui-preset-art-fitness { background:linear-gradient(145deg,#FFE7EE 0%,#F9C9D8 100%); }
.preset-card-content { display:grid; min-width:0; gap:7px; }
.preset-card-content h2 { margin:0; overflow:hidden; color:#211C22; font-size:11px; font-weight:820; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.preset-card-details { display:grid; grid-template-columns:minmax(75px,1.1fr) minmax(45px,.55fr) minmax(105px,1.05fr) minmax(95px,.9fr) 48px; align-items:center; gap:8px; }
.preset-detail { display:grid; min-width:0; gap:3px; }
.preset-detail > span:first-child { color:#777078; font-size:7px; line-height:1.1; }
.preset-detail > strong { overflow:hidden; color:#3B353D; font-size:8px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.preset-detail .ui-platform { gap:4px; }
.preset-detail .ui-platform-logo { width:16px; height:16px; flex-basis:16px; border-radius:4px; box-shadow:none; }
.preset-detail .ui-platform-logo svg { width:15px; height:15px; }
.preset-detail .ui-platform-name { font-size:7px; }
.preset-play-button {
 width:27px; min-width:27px; height:27px; min-height:27px; aspect-ratio:1; display:grid; place-items:center; justify-self:start; border-radius:50%;
 background:linear-gradient(145deg,#F4776C 0%,#E9574C 100%); color:#FFF;
 box-shadow:0 4px 9px rgba(229,83,72,.2); transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
.preset-play-button:hover { color:#FFF; transform:scale(1.07); box-shadow:0 6px 13px rgba(229,83,72,.28); filter:saturate(1.08); }
.preset-play-button:focus-visible { outline:3px solid rgba(239,98,86,.22); outline-offset:3px; }
.preset-play-button .lv-icon { width:13px; height:13px; fill:currentColor; stroke-width:1.5; }
@media(max-width:900px) {
 .preset-list-card { grid-template-columns:29px minmax(0,1fr) 29px; }
 .ui-preset-art { width:48px; height:48px; }
 .preset-card-details { grid-template-columns:1fr .55fr 1fr .9fr 44px; gap:6px; }
}
@media(max-width:680px) {
 .presets-heading { align-items:flex-start; flex-direction:column; gap:12px; }
 .preset-list-card { grid-template-columns:29px minmax(0,1fr) 29px; gap:9px; padding:10px; }
 .preset-card-details { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:7px; }
 .preset-detail-duration { display:none; }
 .preset-detail-voice { grid-column:1; }
 .preset-detail-platform { grid-column:2; }
 .preset-play-button { grid-column:1; grid-row:1; }
}
@media(prefers-reduced-motion:reduce) { .preset-list-card,.preset-play-button { transition:none; } }

/* Lives configuradas — Play, conteúdo e exclusão em colunas independentes. */
.presets-page, .presets-list, .preset-list-card { min-width:0; max-width:100%; }
.preset-list-card { grid-template-columns:29px minmax(0,1fr) 29px; }
.preset-card-content { grid-column:2; grid-row:1; min-width:0; }
.preset-play-button { grid-column:1; grid-row:1; }
.preset-delete-button { grid-column:3; grid-row:1; justify-self:end; }
@media(max-width:900px) {
 .preset-list-card { grid-template-columns:29px minmax(0,1fr) 29px; }
}
@media(max-width:680px) {
 .preset-list-card { grid-template-columns:29px minmax(0,1fr) 29px; }
 .preset-card-details { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .preset-detail-voice { grid-column:1; }
 .preset-detail-platform { grid-column:2; }
}

/* Frame global de imagem de produto — compartilhado entre catálogo e lives predefinidas */
.preset-product-frame { width:52px; height:52px; flex:0 0 52px; border-radius:10px; }
.preset-product-frame .product-thumb-placeholder .lv-icon { width:22px; height:22px; }

/* Histórico de lives — layout compartilhado e responsivo */
.history-page { min-width:0; width:100%; }
.history-heading { align-items:flex-start; margin-bottom:17px; }
.history-heading h1 { margin:0 0 3px; font-size:27px; }
.history-heading .lead { font-size:10px; line-height:1.5; }
.history-toolbar { display:grid; grid-template-columns:minmax(180px,1fr) 112px 142px; gap:8px; align-items:center; margin-bottom:13px; min-width:0; }
.history-search { min-width:0; height:35px; display:flex; align-items:center; gap:8px; padding:0 10px; border:1px solid #EAE4E3; border-radius:9px; background:#FFFEFD; box-shadow:0 3px 9px rgba(48,31,29,.035); }
.history-search .lv-icon { width:14px; height:14px; flex:0 0 14px; color:#777078; }
.history-search input { width:100%; min-width:0; height:100%; padding:0; border:0; outline:0; background:transparent; box-shadow:none; font-size:9px; }
.history-search input:focus { box-shadow:none; }
.history-date-filter { height:35px; min-width:0; display:flex; align-items:center; gap:5px; padding:0 7px; border:1px solid #EAE4E3; border-radius:9px; background:#FFFEFD; }
.history-date-filter > .lv-icon { width:13px; height:13px; flex:0 0 13px; color:#777078; }
.history-date-filter > .lv-icon:last-child { width:11px; height:11px; }
.history-date-filter .ui-dropdown { flex:1; min-width:0; }
.history-date-filter .ui-dropdown-trigger { min-height:31px; padding:0 2px; border:0; background:transparent; box-shadow:none; font-size:8px; }
.history-date-filter .ui-dropdown-trigger:hover { background:transparent; }
.history-date-filter .ui-dropdown-chevron { flex-basis:12px; }
.history-table { display:grid; min-width:0; overflow:hidden; border-radius:11px; background:#FFFEFD; box-shadow:0 4px 13px rgba(48,31,29,.065),0 1px 3px rgba(48,31,29,.025); }
.history-table-head,.history-row { display:grid; grid-template-columns:minmax(105px,1.45fr) minmax(58px,.78fr) minmax(48px,.58fr) minmax(82px,.95fr) minmax(76px,1fr) minmax(76px,1fr) minmax(43px,.5fr) minmax(68px,.78fr); gap:7px; align-items:center; min-width:0; padding:8px 10px; }
.history-table-head { min-height:31px; background:#FCFAF9; color:#716A72; font-size:8px; font-weight:750; }
.history-row { min-height:49px; border-top:1px solid #F3EEED; color:#39333B; font-size:8px; }
.history-product-cell,.history-avatar-cell,.history-platform { display:flex; align-items:center; gap:6px; min-width:0; }
.history-product-cell strong,.history-avatar-cell strong { overflow:hidden; color:#39333B; font-size:8px; font-weight:720; line-height:1.25; text-overflow:ellipsis; }
.history-product-image { width:27px; height:27px; flex:0 0 27px; border-radius:6px; }
.history-product-image .product-thumb-placeholder .lv-icon { width:14px; height:14px; }
.ui-avatar-badge { width:24px; height:24px; flex:0 0 24px; display:grid; place-items:center; border-radius:50%; background:linear-gradient(145deg,#F8D7CF,#EBA99B); color:#8F453D; font-size:8px; font-weight:800; letter-spacing:-.2px; box-shadow:0 2px 5px rgba(48,31,29,.08); }
.history-voice,.history-date,.history-duration { min-width:0; overflow:hidden; color:#514B53; font-size:8px; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
.history-platform .ui-platform { gap:4px; }
.history-platform .ui-platform-logo { width:17px; height:17px; flex-basis:17px; border-radius:4px; box-shadow:none; }
.history-platform .ui-platform-logo svg { width:16px; height:16px; }
.history-platform .ui-platform-name { font-size:7px; }
.ui-status-badge { width:max-content; max-width:100%; display:inline-flex; align-items:center; justify-content:center; overflow:hidden; padding:4px 7px; border-radius:20px; font-size:7px; font-weight:780; line-height:1.1; text-overflow:ellipsis; white-space:nowrap; }
.ui-status-badge.is-success { background:#DFF4E6; color:#21804A; }
.ui-status-badge.is-live { background:#FCE5E2; color:#D94F45; }
.ui-status-badge.is-neutral { background:#EEF0F2; color:#62666C; }
.ui-status-badge.is-warning { background:#FFF1D9; color:#9A6519; }
.ui-status-badge.is-danger { background:#FCE2E1; color:#C83F3A; }
.history-count { margin-top:8px; color:#857D85; font-size:8px; text-align:right; }
.history-empty { min-height:130px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; border-radius:11px; background:#FFFEFD; box-shadow:0 4px 13px rgba(48,31,29,.05); color:#827B83; font-size:10px; text-align:center; }
.history-empty strong { color:#39333B; font-size:12px; }
@media(max-width:1050px) {
 .history-table-head,.history-row { grid-template-columns:minmax(95px,1.3fr) minmax(54px,.75fr) minmax(38px,.45fr) minmax(75px,.85fr) minmax(68px,.9fr) minmax(68px,.9fr) minmax(38px,.45fr) minmax(62px,.7fr); gap:5px; padding-inline:8px; }
 .history-table-head { font-size:7px; }
 .history-row { font-size:7px; }
}
@media(max-width:760px) {
 .history-toolbar { grid-template-columns:minmax(0,1fr) 110px; }
 .history-search { grid-column:1/-1; }
 .history-table-head { display:none; }
 .history-row { grid-template-columns:minmax(0,1fr) auto; gap:8px 10px; padding:11px; }
 .history-product-cell { grid-column:1; grid-row:1; }
 .history-avatar-cell { grid-column:1; grid-row:2; }
 .history-voice { grid-column:1; grid-row:3; }
 .history-platform { grid-column:2; grid-row:1; justify-self:end; }
 .history-start-date { grid-column:2; grid-row:2; text-align:right; }
 .history-end-date { grid-column:2; grid-row:3; text-align:right; }
 .history-duration { grid-column:1; grid-row:4; }
 .history-row > .ui-status-badge { grid-column:2; grid-row:4; justify-self:end; }
}
@media(prefers-reduced-motion:reduce) { .history-search { transition:none; } }

/* Galeria de avatares — componentes e identidade visual compartilhados */
.avatars-page { width:100%; min-width:0; }
.avatars-heading { margin:0 0 14px; }
.avatars-heading h1 { margin:0 0 3px; font-size:27px; letter-spacing:-.8px; color:#17151A; }
.avatars-heading .lead { font-size:10px; line-height:1.45; color:#6F6870; }
.avatars-intro { display:flex; align-items:center; gap:11px; min-height:51px; margin-bottom:19px; padding:9px 13px; border:1px solid #F9E7E2; border-radius:12px; background:linear-gradient(105deg,#FFF0EC 0%,#FFF8F3 100%); }
.avatars-intro-icon { width:34px; height:34px; flex:0 0 34px; display:grid; place-items:center; border-radius:50%; background:#FFE2DA; color:#E65348; }
.avatars-intro-icon .lv-icon { width:21px; height:21px; }
.avatars-intro strong { display:block; margin-bottom:2px; color:#29242A; font-size:10px; font-weight:800; }
.avatars-intro p { margin:0; color:#625B63; font-size:9px; line-height:1.4; }
.avatars-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; align-items:stretch; }
.avatar-gallery-card { min-width:0; overflow:hidden; border:0; border-radius:11px; background:#FFFEFD; box-shadow:0 4px 14px rgba(48,31,29,.075),0 1px 3px rgba(48,31,29,.025); transition:transform .18s ease,box-shadow .18s ease; }
.avatar-gallery-card:hover { transform:translateY(-2px); box-shadow:0 8px 19px rgba(48,31,29,.10),0 2px 5px rgba(48,31,29,.035); }
.ui-avatar-portrait { position:relative; width:100%; aspect-ratio:1 / 1; overflow:hidden; background:linear-gradient(145deg,#F8EAE6,#F1E8E3); }
.ui-avatar-portrait img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 28%; }
.ui-avatar-portrait-placeholder { width:100%; height:100%; display:grid; place-items:center; background:radial-gradient(ellipse at 50% 38%,#FFF8F5 0%,#F7E8E3 72%,#F2DFD9 100%); color:#D77C70; }
.ui-avatar-portrait-placeholder .lv-icon { width:37px; height:37px; stroke-width:1.25; }
.avatar-gallery-content { display:grid; gap:7px; padding:9px 9px 10px; }
.avatar-gallery-content h2 { overflow:hidden; margin:0; color:#252027; font-size:11px; font-weight:800; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.avatar-gallery-usage { display:flex; align-items:center; gap:5px; min-width:0; color:#625B63; font-size:8px; line-height:1.2; white-space:nowrap; }
.avatar-gallery-usage .lv-icon { width:11px; height:11px; flex:0 0 11px; color:#777078; }
.avatar-use-button { min-height:25px; display:flex; align-items:center; justify-content:center; padding:5px 8px; border:0; border-radius:7px; background:linear-gradient(180deg,#F66D60 0%,#E64E43 100%); box-shadow:0 3px 7px rgba(221,76,65,.20),inset 0 1px 0 rgba(255,255,255,.30); color:#fff!important; font-size:8px; font-weight:800; text-decoration:none!important; cursor:pointer; transition:filter .15s ease,transform .15s ease; }
.avatar-use-button:hover { filter:brightness(1.04); transform:translateY(-1px); }
.avatar-use-button:focus-visible { outline:2px solid #B83D34; outline-offset:2px; }
.avatars-empty { min-height:155px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; padding:20px; border-radius:12px; background:#FFFEFD; box-shadow:0 4px 14px rgba(48,31,29,.055); color:#827B83; font-size:9px; text-align:center; }
.avatars-empty strong { color:#29242A; font-size:12px; }
.avatars-empty-icon { width:36px; height:36px; display:grid; place-items:center; border-radius:50%; background:#FFF0EC; color:#E65348; }
.avatars-empty-icon .lv-icon { width:19px; height:19px; }
@media(max-width:760px) { .avatars-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } }
@media(max-width:380px) { .avatars-grid { gap:8px; } .avatar-gallery-content { padding:8px; } }
@media(prefers-reduced-motion:reduce) { .avatar-gallery-card,.avatar-use-button { transition:none; } .avatar-gallery-card:hover,.avatar-use-button:hover { transform:none; } }


/* Refinos da galeria de avatares: cards compactos, grade fluida e chamada acolhedora */
.avatars-intro {
    min-height:56px;
    padding:10px 14px;
    border:0;
    background:linear-gradient(105deg,#F6E2D7 0%,#F9EAE1 52%,#FBEFE8 100%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 3px 10px rgba(125,76,57,.045);
}
.avatars-intro-icon {
    width:36px;
    height:36px;
    flex-basis:36px;
    background:#FBECE3;
    color:#E65348;
    box-shadow:0 2px 6px rgba(146,79,59,.07);
}
.avatars-intro-icon .lv-icon { width:22px; height:22px; }
.avatars-intro strong { font-size:10px; color:#382B29; }
.avatars-intro p { color:#6D5C56; }
.avatars-grid {
    grid-template-columns:repeat(auto-fill,minmax(min(100%,145px),190px));
    justify-content:start;
    gap:12px;
}
.avatar-gallery-card { width:100%; max-width:190px; }
.ui-avatar-portrait-placeholder .lv-icon { width:58px; height:58px; stroke-width:1.15; }
@media(max-width:760px) {
    .avatars-grid { grid-template-columns:repeat(auto-fill,minmax(min(100%,135px),175px)); gap:10px; }
    .avatar-gallery-card { max-width:175px; }
    .ui-avatar-portrait-placeholder .lv-icon { width:52px; height:52px; }
}

/* Pipeline — etapa de seleção do produto */
.pipeline-page { width:100%; min-width:0; }
.pipeline-page-heading { display:flex; align-items:flex-start; gap:12px; margin:0 0 12px; }
.pipeline-page-heading h1 { margin:0 0 3px; color:#17151A; font-size:22px; font-weight:850; letter-spacing:-.6px; }
.pipeline-page-heading p { margin:0; color:#6F6870; font-size:10px; }
.pipeline-back-link { width:23px; height:23px; display:grid; place-items:center; margin-top:1px; border-radius:50%; color:#514A52; }
.pipeline-back-link:hover { background:#F7EAE7; color:#D94F45; }
.pipeline-back-link .lv-icon { width:17px; height:17px; }
.ui-pipeline-timeline { display:flex; align-items:flex-start; width:100%; min-width:0; margin:0 0 14px; padding:0 16px 3px; }
.ui-pipeline-step { display:flex; flex:0 0 auto; flex-direction:column; align-items:center; gap:5px; min-width:62px; color:#4D4850; text-align:center; }
.ui-pipeline-step-marker { width:25px; height:25px; display:grid; place-items:center; border:1px solid #CFCBD0; border-radius:50%; background:#FFFEFD; color:#66616A; font-size:11px; font-weight:750; }
.ui-pipeline-step-label { color:inherit; font-size:9px; line-height:1.2; white-space:nowrap; }
.ui-pipeline-step.is-current { color:#D94F45; font-weight:800; }
.ui-pipeline-step.is-current .ui-pipeline-step-marker { border-color:#EF6257; background:linear-gradient(145deg,#F4776C,#E65348); color:#fff; box-shadow:0 3px 7px rgba(229,83,72,.18); }
.ui-pipeline-step.is-complete { color:#B84B43; }
.ui-pipeline-step.is-complete .ui-pipeline-step-marker { border-color:#EF8A7F; background:#FCE8E4; color:#D94F45; }
.ui-pipeline-step-marker .lv-icon { width:13px; height:13px; }
.ui-pipeline-connector { flex:1 1 30px; min-width:12px; height:1px; margin:12px 7px 0; background:#DCD7DA; }
.ui-pipeline-connector.is-complete { background:#ED9B91; }
.pipeline-panel { min-width:0; padding:15px 14px 13px; border:0; border-radius:13px; background:#FFFEFD; box-shadow:0 5px 17px rgba(48,31,29,.065),0 1px 3px rgba(48,31,29,.025); }
.pipeline-section-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:13px; }
.pipeline-section-heading h2 { margin:0 0 3px; color:#252027; font-size:16px; font-weight:850; letter-spacing:-.3px; }
.pipeline-section-heading p { margin:0; color:#716A72; font-size:9px; }
.pipeline-product-count { flex:0 0 auto; padding:4px 7px; border-radius:20px; background:#F8F1EF; color:#83777D; font-size:8px; }
.pipeline-product-toolbar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:start; margin-bottom:12px; }
.pipeline-add-product { min-height:40px; padding:0 14px; gap:8px; border-radius:9px; font-size:12px; white-space:nowrap; }
.pipeline-add-product .lv-icon { width:15px; height:15px; }
.ui-searchable-select { position:relative; min-width:0; z-index:4; }
.ui-searchable-select-field { height:34px; display:flex; align-items:center; gap:8px; padding:0 9px; border:1px solid #E8C6C2; border-radius:8px; background:#FFFEFD; box-shadow:0 2px 7px rgba(48,31,29,.025); }
.ui-searchable-select-field:focus-within { border-color:#E96B60; box-shadow:0 0 0 3px rgba(233,107,96,.10); }
.ui-searchable-select-field > .lv-icon { width:14px; height:14px; flex:0 0 14px; color:#68616A; }
.ui-searchable-select-field input { width:100%; min-width:0; height:100%; padding:0; border:0; outline:0; background:transparent; color:#3A343C; font-size:9px; box-shadow:none; }
.ui-searchable-select-field input:focus { outline:0; box-shadow:none; }
.ui-searchable-select-toggle { width:22px; height:26px; flex:0 0 22px; display:grid; place-items:center; border:0; border-radius:5px; background:transparent; color:#5C555D; cursor:pointer; }
.ui-searchable-select-toggle:hover { background:#F8EFED; }
.ui-searchable-select-toggle .lv-icon { width:13px; height:13px; }
.ui-searchable-select-menu { position:absolute; z-index:30; top:calc(100% + 4px); left:0; right:0; max-height:230px; overflow:auto; padding:4px; border:1px solid #F0E6E4; border-radius:9px; background:#FFFEFD; box-shadow:0 10px 25px rgba(43,31,31,.14); }
.ui-searchable-select-option { width:100%; min-height:31px; display:flex; align-items:center; justify-content:space-between; gap:8px; padding:6px 9px; border:0; border-radius:6px; background:transparent; color:#39333B; font-size:9px; text-align:left; cursor:pointer; }
.ui-searchable-select-option:hover,.ui-searchable-select-option.is-selected { background:#FCE8E5; color:#33272A; }
.ui-searchable-select-option .lv-icon { width:13px; height:13px; color:#E65348; }
.ui-searchable-select-empty { padding:11px 9px; color:#837B83; font-size:9px; }
.pipeline-product-list { display:grid; gap:7px; min-width:0; }
.pipeline-product-option { width:100%; min-width:0; display:grid; grid-template-columns:42px minmax(0,1fr) minmax(80px,.65fr) minmax(78px,.7fr) 19px; align-items:center; gap:10px; padding:7px 9px; border:1px solid #EEE9E8; border-radius:9px; background:#FFFEFD; color:inherit; text-align:left; cursor:pointer; transition:background .15s ease,border-color .15s ease,box-shadow .15s ease; }
.pipeline-product-option:hover { border-color:#EED0CC; background:#FFFBFA; }
.pipeline-product-option.is-selected { border-color:#F0A29A; background:#FFF7F5; box-shadow:inset 0 0 0 1px rgba(239,98,87,.06); }
.pipeline-product-image { width:42px; height:42px; flex:0 0 42px; border-radius:7px; }
.pipeline-product-image .product-thumb-placeholder .lv-icon { width:19px; height:19px; }
.pipeline-product-info { display:grid; min-width:0; gap:3px; }
.pipeline-product-info strong { overflow:hidden; color:#29242A; font-size:9px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }
.pipeline-product-info small { overflow:hidden; color:#7B747C; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.pipeline-product-origin { display:grid; min-width:0; gap:3px; }
.pipeline-product-origin > small { color:#7B747C; font-size:7px; }
.pipeline-product-origin .ui-platform { gap:4px; }
.pipeline-product-origin .ui-platform-logo { width:17px; height:17px; flex-basis:17px; border-radius:4px; box-shadow:none; }
.pipeline-product-origin .ui-platform-logo svg { width:16px; height:16px; }
.pipeline-product-origin .ui-platform-name { font-size:8px; }
.pipeline-product-price { overflow:hidden; color:#D94B40; font-size:10px; font-weight:850; text-align:right; text-overflow:ellipsis; white-space:nowrap; }
.pipeline-product-radio { width:16px; height:16px; display:grid; place-items:center; border:1px solid #BDB7BC; border-radius:50%; color:#fff; }
.pipeline-product-option.is-selected .pipeline-product-radio { border-color:#E65348; background:#E65348; }
.pipeline-product-radio .lv-icon { width:10px; height:10px; stroke-width:2.5; }
.pipeline-empty { min-height:110px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; border-radius:9px; background:#FCFAF9; color:#817982; font-size:9px; text-align:center; }
.pipeline-empty strong { color:#332D34; font-size:11px; }
.pipeline-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; padding-top:10px; }
.pipeline-footer > span { color:#827B83; font-size:8px; }
.pipeline-continue { min-height:31px; padding:0 14px; gap:8px; border-radius:8px; font-size:9px; }
.pipeline-continue .lv-icon { width:13px; height:13px; }
.pipeline-continue:disabled { opacity:.48; cursor:not-allowed; box-shadow:none; }
.pipeline-feedback { margin:8px 0 0; color:#6B655D; font-size:9px; }
@media(max-width:650px) {
 .pipeline-page-heading h1 { font-size:19px; }
 .ui-pipeline-timeline { padding-inline:0; }
 .ui-pipeline-step { min-width:48px; }
 .ui-pipeline-step-label { font-size:7px; }
 .ui-pipeline-connector { min-width:6px; margin-inline:3px; }
 .pipeline-product-toolbar { grid-template-columns:minmax(0,1fr); }
 .pipeline-add-product { justify-self:start; margin-top:0; }
 .pipeline-product-option { grid-template-columns:38px minmax(0,1fr) auto 17px; gap:7px; }
 .pipeline-product-image { width:38px; height:38px; }
 .pipeline-product-origin { display:none; }
 .pipeline-product-price { font-size:9px; }
 .pipeline-product-count { display:none; }
}
@media(prefers-reduced-motion:reduce) { .pipeline-product-option { transition:none; } }


/* Notificação global flutuante e ações de exclusão */
.lv-global-notice {
 position:fixed; z-index:2000; top:14px; left:50%; transform:translateX(-50%);
 width:min(620px,calc(100vw - 28px)); display:grid; grid-template-columns:34px minmax(0,1fr) 28px;
 align-items:start; gap:11px; padding:13px 14px; border:1px solid #F1C9B9; border-radius:13px;
 background:#FFFAF6; box-shadow:0 12px 35px rgba(48,31,29,.19),0 2px 7px rgba(48,31,29,.07);
 color:#3D302D; animation:lv-notice-in .18s ease-out;
}
.lv-global-notice-icon { width:32px; height:32px; display:grid; place-items:center; border-radius:9px; background:#FCE8DC; color:#B65B36; }
.lv-global-notice-icon .lv-icon { width:18px; height:18px; }
.lv-global-notice strong { display:block; margin:1px 0 3px; font-size:12px; font-weight:850; }
.lv-global-notice p { margin:0; color:#665650; font-size:10px; line-height:1.5; overflow-wrap:anywhere; }
.lv-global-notice > button { width:26px; height:26px; border:0; border-radius:7px; background:transparent; color:#75655F; font-size:20px; cursor:pointer; }
.lv-global-notice > button:hover { background:#F5E8E1; }
@keyframes lv-notice-in { from { opacity:0; transform:translate(-50%,-7px); } to { opacity:1; transform:translate(-50%,0); } }
.preset-actions { display:flex; align-items:center; gap:8px; }
.preset-delete-button { width:27px; min-width:27px; height:27px; min-height:27px; display:grid; place-items:center; border:1px solid #F0D9D5; border-radius:8px; background:#FFFAF9; color:#C34D43; cursor:pointer; }
.preset-delete-button:hover { background:#FCE8E5; border-color:#E8AAA3; }
.preset-delete-button .lv-icon { width:15px; height:15px; }
.product-delete-action { color:#B84B43!important; }
.product-delete-action:hover { background:#FCE8E5!important; }
@media(prefers-reduced-motion:reduce) { .lv-global-notice { animation:none; } }


/* Pipeline de produto — seletor único com botão de cadastro no padrão premium global */
.pipeline-page-heading { margin-bottom:14px; }
.pipeline-page-heading h1 { color:#17151A; }
.pipeline-page > .ui-pipeline-timeline { margin:0 0 16px; padding:0 14px 4px; }
.pipeline-panel { padding:20px 18px 16px; background:#FFFEFD; }
.pipeline-section-heading { margin-bottom:17px; }
.pipeline-section-heading h2 { font-size:17px; }
.pipeline-section-heading p { font-size:10px; }
.pipeline-product-toolbar { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:12px; margin:0; }
.pipeline-product-select-wrap { min-width:0; display:grid; gap:6px; }
.pipeline-select-label { color:#514A52; font-size:9px; font-weight:750; }
.pipeline-select-hint { color:#817982; font-size:8px; }
.pipeline-product-toolbar .ui-searchable-select-field { height:42px; padding-inline:12px; border:1px solid #E8D9D5; border-radius:10px; background:#FFFEFD; box-shadow:0 2px 8px rgba(48,31,29,.035),inset 0 1px 0 rgba(255,255,255,.8); }
.pipeline-product-toolbar .ui-searchable-select-field > .lv-icon { width:16px; height:16px; color:#8A7B7A; }
.pipeline-product-toolbar .ui-searchable-select-field input { font-size:10px; }
.pipeline-product-toolbar .ui-searchable-select-toggle { width:28px; height:30px; }
.pipeline-product-toolbar .ui-searchable-select-menu { top:calc(100% + 6px); max-height:260px; padding:5px; border:1px solid #F0E4E1; border-radius:11px; box-shadow:0 14px 30px rgba(43,31,31,.14),0 2px 5px rgba(43,31,31,.04); }
.pipeline-product-toolbar .ui-searchable-select-option { min-height:37px; padding:8px 11px; border-radius:8px; font-size:10px; }
.pipeline-add-product { min-height:42px; padding:0 15px; border:1px solid #E7DAD6; border-radius:10px; background:linear-gradient(180deg,#FFFEFD,#FBF7F5); color:#40383E; box-shadow:0 3px 9px rgba(48,31,29,.045),inset 0 1px 0 #fff; font-size:10px; font-weight:750; }
.pipeline-add-product:hover { border-color:#E9B9B2; background:#FFF7F5; color:#D94F45; transform:translateY(-1px); }
.pipeline-add-product .lv-icon { width:15px; height:15px; color:#E65348; }
.pipeline-panel > .pipeline-footer { margin-top:18px; }
.pipeline-panel .pipeline-footer > span { font-size:9px; }
.pipeline-continue { min-height:36px; padding-inline:17px; border-radius:9px; font-size:10px; }
.pipeline-empty { padding:18px; }
@media(max-width:650px) {
 .pipeline-panel { padding:16px 13px; }
 .pipeline-product-toolbar { grid-template-columns:minmax(0,1fr); }
 .pipeline-add-product { justify-self:start; }
}
.lv-global-notice.is-success { border-color:#CDE8D6; background:#F5FCF7; }
.lv-global-notice.is-success .lv-global-notice-icon { background:#E1F4E7; color:#27945A; }
.lv-global-notice.is-success p { color:#53695B; }


/* Cadastro de produto em página completa — identidade premium SHOWAVA */
.product-editor-page { width:100%; max-width:1040px; min-width:0; margin:0 auto; }
.product-editor-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin:0 0 20px; padding:2px 0 16px; border-bottom:1px solid #EDE4E1; }
.product-editor-heading h1 { margin:10px 0 5px; color:#20191D; font-size:24px; font-weight:850; letter-spacing:-.7px; }
.product-editor-heading p { margin:0; color:#766A6C; font-size:11px; }
.product-editor-back { display:inline-flex; align-items:center; gap:7px; color:#766A6C; font-size:10px; font-weight:700; text-decoration:none; }
.product-editor-back:hover { color:#D94F45; }
.product-editor-back .lv-icon { width:15px; height:15px; transform:rotate(180deg); }
.product-editor-step { padding:7px 10px; border:1px solid #F0E2DE; border-radius:20px; background:#FFFBF9; color:#A18D87; font-size:8px; font-weight:800; letter-spacing:.7px; }
.product-editor-content { display:grid; gap:14px; }
.product-editor-card { min-width:0; padding:19px 20px; border:1px solid #F0E7E4; border-radius:15px; background:linear-gradient(155deg,#FFFEFD 0%,#FFFCFA 100%); box-shadow:0 5px 17px rgba(48,31,29,.045),inset 0 1px 0 rgba(255,255,255,.9); }
.product-editor-card-heading { display:flex; align-items:center; gap:11px; margin-bottom:17px; }
.product-editor-icon { width:36px; height:36px; flex:0 0 36px; display:grid; place-items:center; border:1px solid #F4DDD7; border-radius:11px; background:linear-gradient(145deg,#FFF2EE,#FBE3DD); color:#DE6257; box-shadow:0 3px 8px rgba(125,76,57,.06); }
.product-editor-icon .lv-icon { width:17px; height:17px; }
.product-editor-card-heading h2 { margin:0 0 3px; color:#34292B; font-size:13px; font-weight:850; }
.product-editor-card-heading p { margin:0; color:#897C7A; font-size:9px; }
.product-editor-card .field { margin-bottom:13px; }
.product-editor-card .field:last-child { margin-bottom:0; }
.product-editor-card .field label { color:#655957; font-size:9px; font-weight:750; }
.product-editor-card .field input,.product-editor-card .field select,.product-editor-card .field textarea { min-height:39px; border:1px solid #E8DAD5; border-radius:9px; background:#FFFEFD; color:#393033; font-size:10px; box-shadow:inset 0 1px 2px rgba(71,48,42,.025); }
.product-editor-card .field textarea { min-height:76px; padding:10px 12px; }
.product-import-button { min-height:37px; padding:0 13px; border-radius:9px; font-size:9px; }
.product-import-button .lv-icon { width:14px; height:14px; }
.product-editor-footer { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 2px 4px; }
.product-editor-footer > span { color:#8B7E7B; font-size:9px; }
.product-editor-footer > div { display:flex; align-items:center; gap:9px; }
.product-editor-footer .btn { min-height:38px; padding:0 16px; border-radius:9px; font-size:10px; }
@media(max-width:650px) {
 .product-editor-heading { align-items:flex-start; }
 .product-editor-heading h1 { font-size:21px; }
 .product-editor-step { display:none; }
 .product-editor-card { padding:15px 13px; }
 .product-editor-footer { align-items:stretch; flex-direction:column; }
 .product-editor-footer > div { justify-content:flex-end; }
}


/* Ajustes globais do seletor de produtos no pipeline */
.pipeline-product-toolbar { align-items:start; }
.pipeline-add-product { min-height:42px; align-self:start; margin-top:17px; padding-inline:15px; }
.ui-searchable-select-option-content { min-width:0; display:flex; align-items:center; gap:10px; }
.ui-searchable-select-option-image,.ui-searchable-select-option-placeholder { width:34px; height:34px; flex:0 0 34px; border-radius:8px; }
.ui-searchable-select-option-image { display:block; object-fit:cover; border:1px solid #EFE4E0; background:#FFF; }
.ui-searchable-select-option-placeholder { display:grid; place-items:center; border:1px solid #F0E2DE; background:linear-gradient(145deg,#FFF3EF,#F9E6E0); color:#D96A5F; }
.ui-searchable-select-option-placeholder .lv-icon { width:16px; height:16px; }
.ui-searchable-select-option { min-height:46px; padding:6px 9px; }
.ui-searchable-select-option > .lv-icon { flex:0 0 14px; margin-left:auto; }


/* Fechamento do combobox ao clicar fora, mantendo o campo e a lista interativos */
.ui-searchable-select { isolation:isolate; }
.ui-searchable-select-dismiss { position:fixed; inset:0; z-index:1; width:100%; height:100%; padding:0; border:0; background:transparent; cursor:default; }
.ui-searchable-select-field { position:relative; z-index:2; }
.ui-searchable-select-menu { z-index:3; }


/* Pipeline — etapa 2: seleção visual de avatar e voz */
.pipeline-avatar-step-heading { margin-bottom:16px; }
.pipeline-avatar-voice-layout { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(270px,.8fr); gap:14px; align-items:start; }
.pipeline-avatar-picker,.pipeline-voice-picker { min-width:0; padding:13px; border:1px solid #F0E7E4; border-radius:12px; background:linear-gradient(150deg,#FFFEFD,#FFFBF9); box-shadow:0 3px 12px rgba(48,31,29,.035); }
.pipeline-choice-heading { margin-bottom:12px; }
.pipeline-choice-heading h3 { margin:0 0 3px; color:#282127; font-size:12px; font-weight:850; }
.pipeline-choice-heading p { margin:0; color:#81767A; font-size:8px; }
.pipeline-avatar-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.ui-selectable-avatar-card { position:relative; min-width:0; overflow:hidden; padding:0; border:1px solid #EAE1DE; border-radius:10px; background:#FFFEFD; color:#282127; text-align:left; cursor:pointer; box-shadow:0 3px 9px rgba(48,31,29,.045); transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease; }
.ui-selectable-avatar-card:hover { transform:translateY(-1px); border-color:#E9A39A; box-shadow:0 5px 13px rgba(48,31,29,.08); }
.ui-selectable-avatar-card.is-selected { border:2px solid #ED665B; box-shadow:0 0 0 2px rgba(237,102,91,.10),0 5px 13px rgba(48,31,29,.07); }
.ui-selectable-avatar-card .ui-avatar-portrait { width:100%; aspect-ratio:1 / 1; border-radius:7px 7px 0 0; }
.ui-selectable-avatar-card .ui-avatar-portrait img { object-position:center 26%; }
.ui-selectable-avatar-card .ui-avatar-portrait-placeholder .lv-icon { width:42px; height:42px; }
.ui-selectable-avatar-card-name { display:block; min-height:27px; padding:7px; font-size:9px; font-weight:800; }
.ui-selectable-avatar-card-check { position:absolute; z-index:2; top:5px; right:5px; width:20px; height:20px; display:grid; place-items:center; border-radius:50%; background:#E65348; color:#fff; box-shadow:0 2px 5px rgba(0,0,0,.15); }
.ui-selectable-avatar-card-check .lv-icon { width:13px; height:13px; }
.pipeline-voice-list { display:grid; gap:8px; }
.ui-voice-option-card { min-width:0; padding:9px 10px; border:1px solid #EAE1DE; border-radius:9px; background:#FFFEFD; box-shadow:0 3px 8px rgba(48,31,29,.035); }
.ui-voice-option-card.is-selected { border:1.5px solid #ED665B; background:linear-gradient(145deg,#FFFAF8,#FFF0EC); box-shadow:0 0 0 2px rgba(237,102,91,.07),0 4px 10px rgba(48,31,29,.045); }
.ui-voice-option-main { width:100%; display:flex; align-items:flex-start; gap:8px; padding:0; border:0; background:transparent; color:inherit; text-align:left; cursor:pointer; }
.ui-voice-option-wave { flex:0 0 17px; padding-top:1px; color:#F06B60; }
.ui-voice-option-wave .lv-icon { width:17px; height:17px; }
.ui-voice-option-copy { display:grid; gap:3px; min-width:0; flex:1; }
.ui-voice-option-copy strong { color:#30272A; font-size:10px; font-weight:850; }
.ui-voice-option-copy span { color:#817579; font-size:8px; line-height:1.35; }
.ui-voice-option-check { width:17px; height:17px; flex:0 0 17px; display:grid; place-items:center; border-radius:50%; background:#E65348; color:#fff; }
.ui-voice-option-check .lv-icon { width:11px; height:11px; }
.ui-voice-option-actions { display:flex; justify-content:flex-start; margin-top:7px; }
.ui-voice-option-sample { min-height:24px; display:inline-flex; align-items:center; justify-content:center; gap:5px; padding:0 10px; border:1px solid #E9E2DF; border-radius:20px; background:#FFF; color:#51474A; font-size:8px; font-weight:750; cursor:pointer; }
.ui-voice-option-sample:hover { border-color:#E8A49C; color:#D94F45; background:#FFFAF8; }
.ui-voice-option-sample .lv-icon { width:11px; height:11px; }
.pipeline-choice-empty { min-height:150px; display:grid; justify-items:center; align-content:center; gap:7px; color:#8B7D7D; text-align:center; font-size:9px; }
.pipeline-choice-empty .lv-icon { width:28px; height:28px; color:#D96A5F; }
.pipeline-choice-empty strong { color:#51474A; font-size:10px; }
@media(max-width:760px) {
 .pipeline-avatar-voice-layout { grid-template-columns:minmax(0,1fr); }
 .pipeline-avatar-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:420px) {
 .pipeline-avatar-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}


/* Pipeline — etapa 4: plataforma e credenciais temporárias de transmissão */
.pipeline-platform-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin:2px 0 15px; }
.ui-platform-option-card { position:relative; min-width:0; min-height:67px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; padding:9px 7px; border:1px solid #EAE1DE; border-radius:10px; background:linear-gradient(145deg,#FFFEFD,#FFFBF9); color:#30272A; box-shadow:0 3px 8px rgba(48,31,29,.035); cursor:pointer; transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease; }
.ui-platform-option-card:hover { transform:translateY(-1px); border-color:#E9A39A; box-shadow:0 5px 12px rgba(48,31,29,.07); }
.ui-platform-option-card.is-selected { border:1.5px solid #ED665B; background:linear-gradient(145deg,#FFF9F7,#FFF0EC); box-shadow:0 0 0 2px rgba(237,102,91,.08),0 4px 10px rgba(48,31,29,.045); }
.ui-platform-option-card .ui-platform { flex-direction:column; gap:3px; width:100%; }
.ui-platform-option-card .ui-platform-logo { width:29px; height:29px; flex-basis:29px; border-radius:8px; }
.ui-platform-option-card .ui-platform-logo svg { width:27px; height:27px; }
.ui-platform-option-card .ui-platform-name { max-width:100%; font-size:9px; font-weight:800; }
.ui-platform-option-check { position:absolute; top:5px; right:5px; width:16px; height:16px; display:grid; place-items:center; border-radius:50%; background:#E65348; color:#fff; }
.ui-platform-option-check .lv-icon { width:10px; height:10px; }
.pipeline-credential-fields { display:grid; gap:10px; margin-bottom:12px; }
.pipeline-credential-field { display:grid; gap:5px; min-width:0; }
.pipeline-credential-field label { color:#30272A; font-size:9px; font-weight:800; }
.pipeline-credential-field label span { color:#E65348; }
.pipeline-credential-input { position:relative; display:flex; align-items:center; min-width:0; }
.pipeline-credential-input input { width:100%; height:34px; min-width:0; padding:0 38px 0 10px; border:1px solid #E8DCD8; border-radius:8px; background:#FFFEFD; color:#30272A; font-size:9px; box-shadow:0 2px 6px rgba(48,31,29,.025); }
.pipeline-credential-input input:focus { border-color:#E96B60; outline:0; box-shadow:0 0 0 3px rgba(233,107,96,.10); }
.pipeline-copy-button { position:absolute; right:5px; top:50%; transform:translateY(-50%); width:25px; height:25px; display:grid; place-items:center; border:0; border-radius:6px; background:transparent; color:#746A70; cursor:pointer; }
.pipeline-copy-button:hover:not(:disabled) { background:#FCE5E2; color:#D94F45; }
.pipeline-copy-button:disabled { opacity:.35; cursor:not-allowed; }
.pipeline-copy-button .lv-icon { width:14px; height:14px; }
.pipeline-credentials-notice { display:flex; align-items:flex-start; gap:8px; padding:9px 10px; border:1px solid #F3E4DE; border-radius:8px; background:linear-gradient(100deg,#FFF8F4,#FDF0ED); }
.pipeline-credentials-notice-icon { flex:0 0 16px; color:#EF705E; }
.pipeline-credentials-notice-icon .lv-icon { width:16px; height:16px; }
.pipeline-credentials-notice p { margin:0; color:#71666A; font-size:8px; line-height:1.45; }
.pipeline-credentials-notice p strong { color:#40363A; font-weight:850; }
.pipeline-platform-validation { margin:8px 0 0; color:#D9534F; font-size:9px; font-weight:700; }
@media(max-width:560px) {
 .pipeline-platform-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .ui-platform-option-card { min-height:62px; }
}

/* Pipeline — etapa 3: prévia vertical aprovada */
.pipeline-preview-layout { display:grid; grid-template-columns:minmax(0,1.72fr) minmax(310px,1fr); gap:18px; align-items:stretch; }
.pipeline-preview-card,.pipeline-preview-config { min-width:0; padding:18px 20px; border:1px solid #EFE7E5; border-radius:15px; background:linear-gradient(155deg,#FFFEFD,#FFFCFB); box-shadow:0 7px 20px rgba(48,31,29,.055),inset 0 1px 0 rgba(255,255,255,.94); }
.pipeline-preview-heading { margin-bottom:18px; }
.pipeline-preview-heading h2 { margin:0 0 4px; color:#1E191D; font-size:18px; font-weight:880; letter-spacing:-.35px; }
.pipeline-preview-heading p { margin:0; color:#746A70; font-size:10px; line-height:1.45; }
.pipeline-preview-workspace { display:grid; grid-template-columns:minmax(245px,.75fr) minmax(360px,1.25fr); gap:25px; align-items:start; }
.pipeline-mobile-preview { position:relative; width:min(100%,275px); aspect-ratio:9/16.6; justify-self:center; padding:8px; border:3px solid #393536; border-radius:38px; background:#111; box-shadow:0 9px 22px rgba(30,22,22,.18),inset 0 0 0 2px #AAA5A3; }
.pipeline-mobile-speaker { position:absolute; z-index:6; top:12px; left:50%; width:66px; height:17px; transform:translateX(-50%); border-radius:14px; background:#151415; box-shadow:inset 0 1px 2px rgba(255,255,255,.12); }
.pipeline-mobile-speaker::after { content:""; position:absolute; top:6px; right:10px; width:5px; height:5px; border-radius:50%; background:#27313C; }
.pipeline-mobile-screen { position:relative; width:100%; height:100%; overflow:hidden; border-radius:29px; background:#211D1D; }
.pipeline-preview-live-badge { position:absolute; z-index:5; top:31px; left:12px; display:inline-flex; align-items:center; gap:6px; padding:6px 9px; border-radius:20px; background:linear-gradient(180deg,#FA7065,#EB5147); color:#fff; font-size:9px; font-weight:850; box-shadow:0 3px 8px rgba(85,32,27,.18); }
.pipeline-preview-live-badge>span { width:6px; height:6px; border-radius:50%; background:#fff; box-shadow:0 0 0 2px rgba(255,255,255,.2); }
.pipeline-mobile-composition { position:absolute; inset:0; overflow:hidden; background:#171416; }
.pipeline-preview-product,.pipeline-preview-avatar { position:absolute; min-width:0; min-height:0; overflow:hidden; display:grid; place-items:center; background:#F7E6E1; }
.pipeline-preview-product { z-index:1; inset:0; background:linear-gradient(145deg,#FBE6E8,#EFCBD1); }
.pipeline-preview-product img,.pipeline-preview-product video,.pipeline-preview-avatar img { display:block; width:100%; height:100%; object-fit:cover; }
.pipeline-preview-product video { background:#171416; }
.pipeline-preview-avatar { z-index:3; width:38%; height:28%; border:3px solid rgba(255,255,255,.94); border-radius:10px; background:linear-gradient(145deg,#F8E9E3,#EED4CC); box-shadow:0 6px 14px rgba(25,17,17,.28); }
.pipeline-preview-avatar img { object-position:center 24%; }
.pipeline-mobile-composition.layout-top-left .pipeline-preview-avatar { top:9%; left:5%; }
.pipeline-mobile-composition.layout-top-right .pipeline-preview-avatar { top:9%; right:5%; }
.pipeline-mobile-composition.layout-bottom-left .pipeline-preview-avatar { bottom:10%; left:5%; }
.pipeline-mobile-composition.layout-bottom-right .pipeline-preview-avatar { right:5%; bottom:10%; }
.pipeline-mobile-composition.layout-video-top,.pipeline-mobile-composition.layout-avatar-top { display:grid; grid-template-rows:1fr 1fr; }
.pipeline-mobile-composition.layout-video-top .pipeline-preview-product,.pipeline-mobile-composition.layout-video-top .pipeline-preview-avatar,
.pipeline-mobile-composition.layout-avatar-top .pipeline-preview-product,.pipeline-mobile-composition.layout-avatar-top .pipeline-preview-avatar { position:relative; inset:auto; width:100%; height:100%; border:0; border-radius:0; box-shadow:none; }
.pipeline-mobile-composition.layout-video-top .pipeline-preview-product { grid-row:1; }
.pipeline-mobile-composition.layout-video-top .pipeline-preview-avatar { grid-row:2; }
.pipeline-mobile-composition.layout-avatar-top .pipeline-preview-avatar { grid-row:1; }
.pipeline-mobile-composition.layout-avatar-top .pipeline-preview-product { grid-row:2; }
.pipeline-preview-placeholder { width:100%; height:100%; min-height:130px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:15px; color:#A86E67; text-align:center; }
.pipeline-preview-placeholder .lv-icon { width:30px; height:30px; }
.pipeline-preview-placeholder strong { max-width:100%; color:#6C4E4C; font-size:10px; overflow-wrap:anywhere; }
.pipeline-preview-placeholder small { color:#8A7270; font-size:8px; }
.pipeline-preview-editor { min-width:0; padding-top:4px; }
.pipeline-composition-heading h3 { margin:0 0 3px; color:#231D21; font-size:14px; font-weight:860; letter-spacing:-.2px; }
.pipeline-composition-heading p { margin:0; color:#746A70; font-size:9px; line-height:1.4; }
.pipeline-composition-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin-top:14px; }
.pipeline-composition-option { position:relative; min-width:0; min-height:118px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:10px 7px 8px; border:1px solid #E7DEDC; border-radius:12px; background:linear-gradient(155deg,#FFFEFD,#FFFCFB); color:#292126; font-size:9px; font-weight:760; line-height:1.22; text-align:center; cursor:pointer; box-shadow:0 3px 9px rgba(48,31,29,.025); transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease; }
.pipeline-composition-option:hover { transform:translateY(-1px); border-color:#E9A49C; box-shadow:0 6px 13px rgba(48,31,29,.055); }
.pipeline-composition-option.is-selected { border:1.5px solid #EF6257; background:linear-gradient(155deg,#FFFEFD,#FFF1ED); box-shadow:0 0 0 2px rgba(239,98,87,.07),0 5px 12px rgba(75,38,34,.055); }
.pipeline-composition-check { position:absolute; z-index:3; top:-7px; right:-5px; width:22px; height:22px; display:grid; place-items:center; border-radius:50%; background:#EF6257; color:#FFF; box-shadow:0 3px 7px rgba(130,50,43,.18); }
.pipeline-composition-check .lv-icon { width:13px; height:13px; stroke-width:2.4; }
.pipeline-layout-mini { position:relative; width:43px; height:70px; overflow:hidden; display:block; border:1.5px solid #4C484A; border-radius:8px; background:#FBF8F7; box-shadow:inset 0 0 0 2px #FFF; }
.pipeline-layout-video { position:absolute; inset:0; display:grid; place-items:center; color:#B9B4B5; background:linear-gradient(145deg,#FCFAF9,#F1EDEC); }
.pipeline-layout-video .lv-icon { width:12px; height:12px; }
.pipeline-layout-avatar { position:absolute; z-index:2; width:16px; height:18px; display:grid; place-items:center; border:1px solid #F06A5F; border-radius:4px; background:#FFE2DD; color:#EA554B; }
.pipeline-layout-avatar .lv-icon { width:11px; height:11px; }
.pipeline-layout-mini.layout-top-left .pipeline-layout-avatar { top:4px; left:4px; }
.pipeline-layout-mini.layout-top-right .pipeline-layout-avatar { top:4px; right:4px; }
.pipeline-layout-mini.layout-bottom-left .pipeline-layout-avatar { bottom:4px; left:4px; }
.pipeline-layout-mini.layout-bottom-right .pipeline-layout-avatar { right:4px; bottom:4px; }
.pipeline-layout-mini.layout-video-top .pipeline-layout-video,.pipeline-layout-mini.layout-avatar-top .pipeline-layout-video { bottom:50%; }
.pipeline-layout-mini.layout-video-top .pipeline-layout-avatar { right:3px; bottom:3px; left:3px; width:auto; height:29px; }
.pipeline-layout-mini.layout-avatar-top .pipeline-layout-avatar { top:3px; right:3px; left:3px; width:auto; height:29px; }
.pipeline-layout-mini.layout-avatar-top .pipeline-layout-video { top:50%; bottom:0; }
.pipeline-preview-control-section { margin-top:18px; padding-top:15px; border-top:1px solid #EEE5E2; }
.pipeline-preview-control-row { display:grid; grid-template-columns:minmax(150px,1fr) minmax(170px,1.18fr); gap:12px; align-items:stretch; margin-top:12px; }
.pipeline-preview-start { min-height:40px; gap:8px; border-radius:10px; font-size:11px; }
.pipeline-preview-start .lv-icon { width:13px; height:13px; }
.pipeline-preview-sync-note { min-height:40px; display:flex; align-items:center; justify-content:center; gap:10px; padding:7px 11px; border-radius:10px; background:linear-gradient(100deg,#FFF8F5,#FDF0EB); color:#A5433C; }
.pipeline-preview-sync-note .lv-icon { width:18px; height:18px; flex:0 0 18px; }
.pipeline-preview-sync-note strong { color:#302629; font-size:9px; line-height:1.3; }
.pipeline-avatar-preview-status { display:block; min-height:14px; margin-top:7px; color:#84777C; font-size:8px; line-height:1.35; }
.pipeline-avatar-preview-hint { display:block; color:#8A6B46; font-size:8px; line-height:1.4; }
.pipeline-preview-information { min-height:34px; display:flex; align-items:center; gap:9px; margin-top:11px; padding:8px 10px; border:1px solid #F0D2C8; border-radius:9px; background:linear-gradient(100deg,#FFF9F6,#FCEFEA); color:#413538; font-size:9px; }
.pipeline-preview-information .lv-icon { width:16px; height:16px; flex:0 0 16px; color:#C24F45; }
.pipeline-preview-config { display:flex; flex-direction:column; }
.pipeline-preview-detail-list { display:grid; }
.pipeline-preview-detail { box-sizing:border-box; min-width:0; min-height:56px; display:grid; grid-template-columns:24px 72px minmax(0,1fr); align-items:center; gap:8px; padding:7px 0; border-bottom:1px solid #EEE5E3; }
.pipeline-preview-detail-icon { display:grid; place-items:center; color:#6F666B; }
.pipeline-preview-detail-icon .lv-icon { width:19px; height:19px; }
.pipeline-preview-detail-label { color:#50474D; font-size:10px; font-weight:690; }
.pipeline-preview-detail-value { min-width:0; display:flex; align-items:center; gap:8px; color:#282126; font-size:9px; }
.pipeline-preview-detail-value>strong { min-width:0; overflow:hidden; font-size:9px; font-weight:820; line-height:1.35; }
.pipeline-preview-detail-value>strong small { display:block; margin-top:3px; color:#786C70; font-size:8px; font-weight:600; }
.pipeline-preview-thumb { width:36px!important; height:36px!important; flex:0 0 36px; }
.pipeline-preview-detail-value .ui-avatar-badge { width:32px; height:32px; flex:0 0 32px; font-size:9px; }
.pipeline-preview-detail-value .pipeline-preview-thumb { height:36px!important; }
.pipeline-preview-detail-value .ui-platform { gap:6px; }
.pipeline-preview-detail-value .ui-platform-logo { width:27px; height:27px; flex-basis:27px; }
.pipeline-preview-detail-value .ui-platform-logo svg { width:25px; height:25px; }
.pipeline-preview-detail-value .ui-platform-name { font-size:9px; }
.pipeline-preview-summary { margin-top:16px; padding:13px 14px; border:1px solid #EEDBD5; border-radius:11px; background:linear-gradient(145deg,#FFFCFA,#FFF3EE); }
.pipeline-preview-summary>strong { color:#2E2529; font-size:11px; font-weight:860; }
.pipeline-preview-summary p { margin:6px 0 0; color:#655A60; font-size:9px; line-height:1.55; }
.pipeline-preview-summary p b { color:#31282C; }
.pipeline-launch-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);gap:14px;align-items:start}
.pipeline-launch-summary,.pipeline-launch-options{min-width:0;padding:14px;border:1px solid #F0E7E4;border-radius:12px;background:linear-gradient(155deg,#FFFEFD,#FFFBF9);box-shadow:0 3px 12px rgba(48,31,29,.035)}
.pipeline-launch-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.pipeline-launch-summary-heading h3{margin:0;color:#30272A;font-size:11px;font-weight:850}
.pipeline-launch-ready-label{padding:4px 7px;border-radius:20px;background:#F8EDE7;color:#8C614A;font-size:7px;font-weight:800}
.pipeline-launch-summary-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #F0E8E5;font-size:9px}.pipeline-launch-summary-row:last-child{border-bottom:0}
.pipeline-launch-summary-row span{color:#81767A}.pipeline-launch-summary-row strong{color:#34292D;text-align:right}
.pipeline-launch-options .field{display:grid;gap:6px;margin:0 0 12px}.pipeline-launch-options .field label{color:#51474A;font-size:9px;font-weight:800}
.pipeline-launch-options .field label span,.pipeline-launch-options .field small{color:#897D80;font-size:8px;font-weight:500}
.pipeline-launch-options .field select,.pipeline-launch-options .field input{width:100%;min-height:37px;border:1px solid #E8DAD5;border-radius:9px;background:#FFFEFD;color:#393033;font-size:9px}
.pipeline-save-preset{min-height:35px;font-size:9px}
.pipeline-launch-notice{display:flex;align-items:flex-start;gap:9px;margin-top:13px;padding:10px 12px;border:1px solid #F0DCD2;border-radius:9px;background:linear-gradient(100deg,#FFF8F4,#FDF0ED)}
.pipeline-launch-notice>span{flex:0 0 16px;color:#E66B5E}.pipeline-launch-notice .lv-icon{width:16px;height:16px}
.pipeline-launch-notice p{margin:0;color:#75666A;font-size:8px;line-height:1.5}.pipeline-launch-notice p strong{color:#47383B}
.pipeline-panel .pipeline-footer .pipeline-continue:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:1050px) {
 .pipeline-preview-layout,.pipeline-launch-layout { grid-template-columns:minmax(0,1fr); }
 .pipeline-preview-workspace { grid-template-columns:minmax(245px,.72fr) minmax(360px,1.28fr); }
}
@media(max-width:700px) {
 .pipeline-preview-card,.pipeline-preview-config { padding:15px 13px; }
 .pipeline-preview-workspace { grid-template-columns:minmax(0,1fr); }
 .pipeline-mobile-preview { width:min(100%,285px); }
 .pipeline-composition-options { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:480px) {
 .pipeline-composition-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .pipeline-preview-control-row { grid-template-columns:minmax(0,1fr); }
 .pipeline-preview-detail { grid-template-columns:22px 60px minmax(0,1fr); }
 .pipeline-launch-summary-heading { align-items:flex-start; flex-direction:column; }
}
@media(prefers-reduced-motion:reduce) { .pipeline-composition-option { transition:none; } }


/* Pipeline — etapa 5: tipografia, resumo textual e componentes globais */
.pipeline-launch-heading {
    justify-content:flex-start;
    align-items:center;
    gap:12px;
    margin-bottom:18px;
}
.pipeline-launch-heading-icon {
    width:46px;
    height:46px;
    flex:0 0 46px;
    display:grid;
    place-items:center;
    border:1px solid var(--lv-coral-border);
    border-radius:13px;
    background:linear-gradient(145deg,#FFF4F1,var(--lv-coral-soft));
    color:var(--lv-coral-hover);
}
.pipeline-launch-heading-icon .lv-icon { width:27px; height:27px; stroke-width:1.9; }
.pipeline-launch-heading h2 { margin:0 0 4px; color:var(--lv-text); font-size:22px; font-weight:850; letter-spacing:-.5px; }
.pipeline-launch-heading p { margin:0; color:var(--lv-text-secondary); font-size:10px; line-height:1.45; }

.pipeline-launch-summary-heading { margin-bottom:12px; }
.pipeline-launch-summary-title { min-width:0; display:flex; align-items:center; gap:10px; }
.pipeline-launch-card-icon {
    width:32px;
    height:32px;
    flex:0 0 32px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:var(--lv-coral-soft);
    color:var(--lv-coral-hover);
}
.pipeline-launch-card-icon .lv-icon { width:19px; height:19px; stroke-width:2; }
.pipeline-launch-summary-title h3,
.pipeline-launch-options-heading h3 { margin:0; color:var(--lv-text); font-size:17px; font-weight:800; }
.pipeline-launch-ready-label {
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:6px 10px;
    border:1px solid #B9E3C7;
    border-radius:20px;
    background:#E8F6EC;
    color:#237544;
    font-size:9px;
    font-weight:750;
    white-space:nowrap;
}
.pipeline-launch-ready-label .lv-icon { width:14px; height:14px; stroke-width:2.5; }

.pipeline-launch-summary-row {
    display:grid;
    grid-template-columns:28px 105px minmax(0,1fr);
    align-items:center;
    gap:11px;
    min-height:55px;
    padding:10px 0;
    border-bottom:1px solid #F0E8E5;
}
.pipeline-launch-summary-row:last-child { border-bottom:0; }
.pipeline-launch-summary-icon {
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    color:#A83F36;
}
.pipeline-launch-summary-icon .lv-icon { width:22px; height:22px; stroke-width:1.9; }
.pipeline-launch-summary-label { color:#6F656A!important; font-size:9px; font-weight:700; }
.pipeline-launch-summary-value {
    min-width:0;
    display:flex;
    align-items:baseline;
    flex-wrap:wrap;
    gap:7px;
    color:#30272A;
    font-size:10px;
}
.pipeline-launch-summary-value > strong { min-width:0; color:#30272A; font-size:10px; font-weight:750; overflow-wrap:anywhere; }
.pipeline-launch-summary-detail { color:#776D72; font-size:9px; font-weight:500; }

.pipeline-launch-options-heading { display:flex; align-items:center; gap:10px; margin-bottom:17px; }
.pipeline-launch-options-heading .pipeline-launch-card-icon { width:34px; height:34px; flex-basis:34px; }
.pipeline-launch-options .field { margin-bottom:17px; }
.pipeline-launch-options .field:last-child { margin-bottom:0; }
.pipeline-launch-options .field label { color:var(--lv-text); font-size:9px; font-weight:700; }
.pipeline-launch-options .field label span { color:var(--lv-text-secondary); font-size:9px; font-weight:500; }
.pipeline-launch-options .field input { min-height:43px; padding:0 12px; border-color:#E8DAD5; border-radius:10px; font-size:10px; }
.pipeline-launch-options .field input:focus { border-color:var(--lv-coral); outline:0; box-shadow:0 0 0 3px rgba(232,93,79,.12); }
.pipeline-launch-options .field small { color:var(--lv-text-secondary); font-size:8px; line-height:1.5; }

/* UiDropdown mantém o markup, interação, foco e menu do componente compartilhado. */
.pipeline-launch-options .ui-dropdown { width:100%; }
.pipeline-launch-options .ui-dropdown-trigger {
    min-height:43px;
    padding:0 12px;
    border-color:#E8DAD5;
    border-radius:10px;
    font-size:10px;
}
.pipeline-launch-options .ui-dropdown-value { gap:5px; }
.pipeline-launch-options .ui-dropdown-selected { font-size:10px; font-weight:600; }
.pipeline-launch-options .ui-dropdown-chevron .lv-icon { width:16px; height:16px; }
.pipeline-launch-options .ui-dropdown-menu { border-radius:11px; }
.pipeline-launch-options .ui-dropdown-option { min-height:39px; padding:8px 11px; font-size:9px; }

.pipeline-footer-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; }
.pipeline-footer-actions .btn {
    height:42px;
    min-height:42px;
    display:inline-flex;
    align-items:center;
    align-self:center;
    justify-content:center;
    box-sizing:border-box;
    margin:0;
    padding:0 15px;
    border-radius:10px;
    font-size:10px;
    line-height:1;
}
.pipeline-footer-actions .pipeline-add-product {
    height:42px;
    min-height:42px;
    align-self:center;
    margin:0;
    padding:0 15px;
    border-radius:10px;
    font-size:10px;
}
.pipeline-footer-actions .pipeline-start-live-button {
    min-width:0;
    height:42px!important;
    min-height:42px!important;
    align-self:center;
    margin:0;
    padding:0 15px;
    gap:8px;
    border-radius:10px!important;
    background:linear-gradient(180deg,#F4776C 0%,#E9574C 100%)!important;
    box-shadow:0 5px 13px rgba(229,83,72,.2)!important;
    font-size:10px!important;
}
.pipeline-start-live-button .lv-icon { width:15px; height:15px; }
.pipeline-start-live-button:disabled { opacity:.48; cursor:not-allowed; box-shadow:none!important; transform:none!important; }

@media(max-width:900px) {
    .pipeline-launch-layout { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:650px) {
    .pipeline-launch-heading-icon { width:42px; height:42px; flex-basis:42px; }
    .pipeline-launch-heading h2 { font-size:20px; }
    .pipeline-launch-heading p { font-size:12px; }
    .pipeline-launch-summary-row { grid-template-columns:25px 78px minmax(0,1fr); gap:8px; }
    .pipeline-launch-summary-icon { width:25px; height:25px; }
    .pipeline-launch-summary-icon .lv-icon { width:20px; height:20px; }
    .pipeline-launch-summary-label { font-size:10px; }
    .pipeline-launch-summary-value,
    .pipeline-launch-summary-value > strong { font-size:10px; }
    .pipeline-launch-options .field label { font-size:10px; }
    .pipeline-launch-options .ui-dropdown-trigger,
    .pipeline-launch-options .ui-dropdown-selected { font-size:10px; }
    .pipeline-footer { align-items:flex-start; flex-wrap:wrap; }
    .pipeline-footer-actions { width:100%; flex-wrap:wrap; }
    .pipeline-footer-actions .btn { flex:1 1 auto; }
}
@media(max-width:420px) {
    .pipeline-launch-summary-row { grid-template-columns:22px 62px minmax(0,1fr); gap:7px; }
    .pipeline-launch-summary-label { font-size:9px; }
    .pipeline-launch-summary-value,
    .pipeline-launch-summary-value > strong { font-size:9px; }
    .pipeline-footer-actions { flex-direction:column; align-items:stretch; }
    .pipeline-footer-actions .btn { width:100%; }
}


/* Cadastro de produto — campos essenciais e mídias */
.product-editor-media-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.product-editor-media-picker { min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:22px; border:1px dashed var(--lv-coral-border); border-radius:15px; background:var(--lv-surface-soft); transition:border-color .2s, background .2s; }
.product-editor-media-picker:focus-within { border-color:var(--lv-coral); background:var(--lv-surface); }
.product-editor-media-symbol { width:42px; height:42px; display:grid; place-items:center; border-radius:12px; background:var(--lv-coral-soft); color:var(--lv-coral); }
.product-editor-media-picker strong { font-size:13px; font-weight:750; color:var(--lv-text); }
.product-editor-media-picker > span:not(.product-editor-media-symbol) { color:var(--lv-text-secondary); font-size:11px; line-height:1.6; }
.product-editor-media-picker input[type=file] { display:block; width:100%; max-width:100%; padding:10px; border:1px solid var(--lv-border); border-radius:10px; background:white; color:var(--lv-text-secondary); font-size:11px; }
.product-editor-media-picker input[type=file]::file-selector-button { margin-right:10px; border:0; border-radius:8px; padding:9px 12px; background:var(--lv-coral-soft); color:var(--lv-coral-hover); font:inherit; font-weight:750; cursor:pointer; }
.product-editor-media-picker .product-editor-media-selected { max-width:100%; overflow-wrap:anywhere; color:var(--lv-success); font-size:11px; font-weight:700; }
.product-editor-help { display:block; margin-top:8px; color:var(--lv-text-secondary); font-size:11px; line-height:1.65; }
#product-description { min-height:180px; resize:vertical; line-height:1.65; }
@media (max-width:700px) { .product-editor-media-grid { grid-template-columns:1fr; } .product-editor-media-picker { padding:17px; } }


/* Cadastro de produto no pipeline — composição aprovada */
.product-editor-page { width:100%; max-width:none; margin:0; }
.product-editor-heading { display:block; margin:0 0 10px; padding:0; border:0; }
.product-editor-heading h1 { margin:7px 0 3px; color:var(--lv-text); font-size:28px; line-height:1.12; letter-spacing:-.9px; }
.product-editor-heading p { margin:0; color:var(--lv-text-secondary); font-size:11px; line-height:1.45; }
.product-editor-breadcrumb { display:flex; align-items:center; gap:8px; min-height:18px; color:#625C64; font-size:10px; font-weight:650; }
.product-editor-breadcrumb-link { display:inline-flex; align-items:center; color:#625C64; text-decoration:none; }
.product-editor-breadcrumb-link:hover { color:var(--lv-coral); }
.product-editor-breadcrumb-link .lv-icon { width:16px; height:16px; transform:rotate(180deg); }
.product-editor-breadcrumb-separator { color:#AAA2A5; font-weight:500; }
.product-editor-content { display:grid; gap:14px; }
.product-editor-card { min-width:0; padding:14px 14px 13px; border:0; border-radius:13px; background:var(--lv-surface); box-shadow:var(--lv-shadow-card); }
.product-editor-card-heading { display:flex; align-items:center; gap:10px; margin:0 0 10px; }
.product-editor-icon { width:36px; height:36px; flex:0 0 36px; border:0; border-radius:9px; background:#FFF0ED; color:var(--lv-coral); box-shadow:none; }
.product-editor-icon .lv-icon { width:19px; height:19px; }
.product-editor-card-heading h2 { margin:0 0 2px; color:var(--lv-text); font-size:16px; line-height:1.2; font-weight:800; letter-spacing:-.25px; }
.product-editor-card-heading p { margin:0; color:var(--lv-text-secondary); font-size:10px; line-height:1.4; }
.product-analysis-card { padding:13px 14px 11px; }
.product-analysis-card .product-editor-card-heading { margin-bottom:10px; }
.product-analysis-field { margin:0 0 8px!important; }
.product-analysis-field textarea { width:100%; min-height:84px!important; padding:9px 11px!important; resize:vertical; border:1px solid #E5DFDF!important; border-radius:9px!important; background:#FFFEFD!important; color:var(--lv-text)!important; font-size:11px!important; line-height:1.4; box-shadow:inset 0 1px 2px rgba(40,30,30,.025)!important; }
.product-analysis-field textarea:focus { border-color:var(--lv-coral)!important; outline:0; box-shadow:0 0 0 3px rgba(239,98,86,.10)!important; }
.product-analysis-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; }
.product-analysis-hint { display:inline-flex; align-items:center; gap:6px; color:var(--lv-text-muted); font-size:9px; }
.product-analysis-hint .lv-icon { width:14px; height:14px; }
.product-analysis-button { min-height:38px; padding:0 16px; gap:8px; border-radius:9px; font-size:10px; }
.product-analysis-button .lv-icon { width:15px; height:15px; }
.product-create-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(340px,.95fr); gap:14px; align-items:stretch; }
.product-data-card,.product-media-card { min-width:0; }
.product-data-card { display:flex; flex-direction:column; }
.product-data-heading { margin-bottom:10px; }
.product-data-heading > div { min-width:0; flex:1; }
.product-data-heading .ui-status-badge { flex:0 0 auto; margin-left:7px; }
.product-editor-fields { display:grid; gap:10px; }
.product-editor-fields .field { min-width:0; display:grid; gap:5px; margin:0; }
.product-editor-fields .field label,.product-media-label { color:#29242A; font-size:10px; font-weight:750; }
.required-mark { color:var(--lv-coral); }
.product-editor-fields .field input,.product-editor-fields .field textarea,.product-media-url-field input { width:100%; min-width:0; min-height:32px; padding:6px 10px; border:1px solid #E5DFDF; border-radius:8px; background:#FFFEFD; color:var(--lv-text); font-size:10px; box-shadow:inset 0 1px 2px rgba(40,30,30,.025); }
.product-editor-fields .field input:focus,.product-editor-fields .field textarea:focus,.product-media-url-field input:focus { border-color:var(--lv-coral); outline:0; box-shadow:0 0 0 3px rgba(239,98,86,.10); }
.product-editor-page.is-readonly input[readonly],.product-editor-page.is-readonly textarea[readonly] { background:#F8F5F4; color:#514A50; cursor:default; }
.product-editor-page.is-readonly input[readonly]:focus,.product-editor-page.is-readonly textarea[readonly]:focus { border-color:#E5DFDF; box-shadow:none; }
.product-editor-page.is-readonly textarea[readonly] { resize:none; }
.product-editor-page.is-readonly .required-mark { display:none; }
.product-price-fields { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.product-currency-input { display:flex; align-items:center; min-width:0; height:32px; overflow:hidden; border:1px solid #E5DFDF; border-radius:8px; background:#FFFEFD; }
.product-currency-input:focus-within { border-color:var(--lv-coral); box-shadow:0 0 0 3px rgba(239,98,86,.10); }
.product-currency-input > span { flex:0 0 auto; padding-left:10px; color:#625B62; font-size:10px; }
.product-editor-fields .product-currency-input input { height:30px; min-height:30px; padding:4px 8px 4px 5px; border:0; border-radius:0; box-shadow:none; }
.product-editor-fields .product-currency-input input:focus { border:0; outline:0; box-shadow:none; }
.product-editor-fields #product-description { min-height:52px!important; max-height:105px; resize:vertical; line-height:1.45; }
.product-origin-field .ui-dropdown { width:100%; }
.product-origin-field .ui-dropdown-trigger { min-height:38px; padding:5px 10px; border-color:#E5DFDF; background:#FFFEFD; }
.product-origin-field .ui-dropdown-menu { max-height:250px; overflow-y:auto; }
.product-origin-field .ui-platform-name { font-size:10px; }
.product-features-field { margin-top:1px!important; }
.product-feature-table-wrap { overflow:hidden; border:1px solid #E8E1E0; border-radius:9px; }
.product-feature-table { width:100%; border-collapse:collapse; table-layout:fixed; color:#29242A; font-size:10px; }
.product-feature-table th,.product-feature-table td { padding:6px 10px; border-bottom:1px solid #EAE4E3; text-align:left; overflow-wrap:anywhere; }
.product-feature-table th { background:#FFF0ED; color:#29242A; font-weight:800; }
.product-feature-table th:first-child,.product-feature-table td:first-child { width:48%; }
.product-feature-table tr:last-child td { border-bottom:0; }
.product-feature-empty { color:var(--lv-text-muted); text-align:center!important; font-size:9px; }
.product-analysis-warnings { margin-top:9px; padding:9px 11px; border:1px solid #F1D1C9; border-radius:9px; background:#FFF7F4; color:#6B403A; font-size:10px; line-height:1.45; }
.product-analysis-warnings strong { display:flex; align-items:center; gap:6px; color:#A94D43; font-size:10px; font-weight:800; }
.product-analysis-warnings strong .lv-icon { width:14px; height:14px; }
.product-analysis-warnings ul { margin:6px 0 0; padding-left:19px; }
.product-analysis-warnings li + li { margin-top:3px; }
.product-analysis-empty { flex:1; min-height:180px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; padding:24px; border:1px dashed #E7DAD7; border-radius:10px; background:#FFFBFA; color:var(--lv-text-secondary); text-align:center; }
.product-analysis-empty .lv-icon { width:27px; height:27px; color:var(--lv-coral); }
.product-analysis-empty strong { color:var(--lv-text); font-size:13px; font-weight:800; }
.product-analysis-empty span { max-width:420px; font-size:10px; line-height:1.5; }
.product-analysis-product-name { display:grid; gap:4px; padding:9px 11px; border:1px solid #E8E1E0; border-radius:9px; background:#FFFEFD; }
.product-analysis-product-name span { color:var(--lv-text-muted); font-size:9px; font-weight:650; }
.product-analysis-product-name strong { color:var(--lv-text); font-size:12px; font-weight:800; line-height:1.4; }
.product-analysis-incomplete-badge { flex:0 0 auto; margin-left:7px; padding:4px 8px; border:1px solid #F0D5A8; border-radius:999px; background:#FFF7E8; color:#95611D; font-size:8px; font-weight:750; }
.product-analysis-missing { margin-top:9px; padding:10px 11px; border:1px solid #F0D5A8; border-radius:9px; background:#FFFAF0; color:#71552A; font-size:10px; line-height:1.45; }
.product-analysis-missing strong { display:flex; align-items:center; gap:6px; color:#94631D; font-size:10px; font-weight:800; }
.product-analysis-missing strong .lv-icon { width:14px; height:14px; }
.product-analysis-missing p { margin:6px 0; }
.product-analysis-missing ul { margin:5px 0 7px; padding-left:19px; }
.product-analysis-missing li + li { margin-top:3px; }
.product-analysis-missing > span { color:#80663D; font-size:9px; font-weight:650; }

.product-media-card .product-editor-card-heading { margin-bottom:10px; }
.product-media-card .product-editor-icon .lv-icon { width:19px; height:19px; }
.product-media-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:12px; margin-bottom:12px; }
.product-media-section { display:grid; min-width:0; gap:7px; margin:0; }
.product-media-label { display:block; }
.product-media-row { display:grid; grid-template-columns:minmax(0,1fr); align-items:stretch; gap:7px; }
.product-media-row.is-readonly { grid-template-columns:minmax(0,1fr); }
.product-media-preview { position:relative; min-width:0; height:210px; overflow:hidden; display:grid; place-items:center; border:1px solid #E5DFDF; border-radius:10px; background:#F3EFED; }
.product-media-preview img,.product-media-preview video { display:block; width:100%; height:100%; object-fit:contain; }
.product-media-preview img { background:#FFF; object-fit:fill; }
.product-video-preview { background:#292426; }
.product-video-preview video { margin:auto; object-fit:contain; object-position:center; background:#292426; }
.product-media-placeholder { width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; padding:8px; color:#A79A98; text-align:center; }
.product-media-placeholder .lv-icon { width:25px; height:25px; }
.product-media-placeholder span { max-width:100%; overflow:hidden; color:#887E7D; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.product-media-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-content:stretch; gap:6px; }
.product-media-action { width:100%; min-width:0; min-height:38px; display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:0 8px; border:1px solid #E9E2E1; border-radius:9px; background:#FFFEFD; color:#3E3940; box-shadow:none; font-size:10px; white-space:nowrap; cursor:pointer; }
.product-media-action:hover { border-color:var(--lv-coral-border); background:#FFF8F6; color:var(--lv-coral-hover); }
.product-media-action .lv-icon { width:15px; height:15px; }
.product-media-upload { color:var(--lv-coral-hover); }
.product-media-file-input { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; clip-path:inset(50%); border:0; }
.product-media-url-field { display:grid; gap:4px; margin-top:2px; }
.product-media-url-field label { color:var(--lv-text-secondary); font-size:9px; font-weight:700; }
.product-media-url-field input { min-height:31px; }
.product-media-selected { color:var(--lv-success); font-size:8px; overflow-wrap:anywhere; }
.product-media-help { display:flex; align-items:flex-start; gap:7px; margin:3px 0 0; color:var(--lv-text-secondary); font-size:9px; line-height:1.45; }
.product-media-help .lv-icon { width:14px; height:14px; flex:0 0 14px; }
.product-editor-review { display:inline-flex; align-items:center; gap:7px; color:#625C64; font-size:10px; }
.product-editor-review .lv-icon { width:15px; height:15px; }
.product-editor-footer { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:0 2px 2px; }
.product-editor-footer > div { display:flex; align-items:center; gap:10px; }
.product-editor-footer .btn { min-height:41px; padding:0 17px; border-radius:9px; font-size:10px; }
.product-editor-footer .product-save-continue { gap:8px; }
.product-editor-footer .product-save-continue .lv-icon { width:15px; height:15px; }
.product-data-card .ui-status-badge.is-success { background:#E8F6EC; border:1px solid #B9E3C7; color:#237544; }
@media(max-width:1050px) {
    .product-create-grid { grid-template-columns:minmax(0,1fr); }
    .product-media-preview { height:240px; }
}
@media(max-width:650px) {
    .product-editor-heading h1 { font-size:24px; }
    .product-editor-card { padding:13px 11px; }
    .product-analysis-footer { align-items:stretch; flex-direction:column; }
    .product-analysis-button { align-self:flex-end; }
    .product-price-fields { grid-template-columns:1fr; gap:9px; }
    .product-editor-footer { align-items:stretch; flex-direction:column; }
    .product-editor-footer > div { width:100%; }
    .product-editor-footer .btn { flex:1 1 auto; }
}
@media(max-width:420px) {
    .product-media-grid { grid-template-columns:minmax(0,1fr); }
    .product-media-preview { height:220px; }
    .product-media-action { padding-inline:5px; font-size:9px; }
    .product-editor-footer > div { flex-direction:column; }
    .product-editor-footer .btn { width:100%; }
}


/* Ajuste fino: botões compactos na área Mídias do produto */
.product-media-card .product-media-actions {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-content:center;
    gap:6px;
    min-width:0;
}
.product-media-card .product-image-actions,
.product-media-card .product-video-actions {
    grid-template-columns:minmax(0,1fr);
}
.product-media-card .product-media-action,
.product-media-card .product-media-actions .product-media-upload {
    box-sizing:border-box;
    width:100%;
    min-width:0;
    min-height:38px;
    height:38px;
    margin:0;
    padding:0 9px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    border:1px solid #E9E2E1;
    border-radius:9px;
    background:#FFFEFD;
    color:#3E3940;
    box-shadow:none;
    font-size:10px;
    font-weight:700;
    line-height:1;
    white-space:nowrap;
    cursor:pointer;
}
.product-media-card .product-media-actions .product-media-upload {
    border-style:solid;
    border-color:#E9E2E1;
    background:#FFFEFD;
    color:var(--lv-coral-hover);
}
.product-media-card .product-media-action:hover,
.product-media-card .product-media-actions .product-media-upload:hover {
    border-color:var(--lv-coral-border);
    background:#FFF8F6;
    color:var(--lv-coral-hover);
}
.product-media-card .product-media-action .lv-icon,
.product-media-card .product-media-actions .product-media-upload .lv-icon {
    width:14px;
    height:14px;
    flex:0 0 14px;
}
@media(max-width:420px) {
    .product-media-card .product-media-action,
    .product-media-card .product-media-actions .product-media-upload {
        padding-inline:5px;
        font-size:9px;
    }
}


/* Notificações globais: severidade semântica para todas as telas */
.lv-global-notice.is-warning { border-color:#F1C9B9; background:#FFFAF6; }
.lv-global-notice.is-warning .lv-global-notice-icon { background:#FCE8DC; color:#B65B36; }
.lv-global-notice.is-error { border-color:#F0B8B8; background:#FFF6F5; }
.lv-global-notice.is-error .lv-global-notice-icon { background:#FCE4E2; color:#C43F3F; }
.lv-global-notice.is-error p { color:#784B49; }
.lv-global-notice.is-success { border-color:#CDE8D6; background:#F5FCF7; }
.lv-global-notice.is-success .lv-global-notice-icon { background:#E1F4E7; color:#27945A; }
.lv-global-notice.is-success p { color:#53695B; }
.product-actions { flex-wrap:nowrap; }
.product-action-button { min-width:0; }
.product-edit-action { color:#5C5360; }
.product-edit-action:hover:not(:disabled) { border-color:#E8C4BD; color:#D94F45; background:#FFF8F6; }
.product-editor-delete { border:1px solid #F0C9C5!important; background:#FFF7F6!important; color:#BE4B43!important; box-shadow:none!important; }
.product-editor-delete:hover:not(:disabled) { background:#FCEAE8!important; border-color:#E6A9A2!important; }
.product-editor-delete .lv-icon { width:14px; height:14px; }
@media(max-width:1050px) {
    .product-row { grid-template-columns:46px minmax(100px,1fr) minmax(75px,.55fr) 48px minmax(100px,1fr); }
    .product-description { grid-column:2/5; }
    .product-actions { grid-column:5; grid-row:1/3; flex-wrap:wrap; justify-content:flex-end; }
}
@media(max-width:650px) {
    .product-actions { grid-column:2/-1; grid-row:auto; justify-content:flex-start; }
    .product-description { grid-column:2/-1; }
}


/* Catálogo real Gemini TTS — etapa Avatar e voz */
.pipeline-voice-search { display:flex; gap:7px; margin:10px 0; }
.pipeline-voice-search input { flex:1; min-width:0; height:34px; padding:0 10px; border:1px solid #E8DFDD; border-radius:8px; background:#FFFEFD; color:var(--lv-text); font-size:10px; }
.pipeline-voice-search .btn { flex:0 0 auto; min-height:34px; height:34px; padding:0 11px; font-size:10px; }
.pipeline-gemini-voice { display:grid; gap:4px; width:100%; padding:10px 11px; border:1px solid #EAE1DE; border-radius:9px; background:#FFFEFD; text-align:left; cursor:pointer; }
.pipeline-gemini-voice:hover { border-color:#EBA69F; }
.pipeline-gemini-voice.is-selected { border-color:#ED665B; background:#FFF1EE; box-shadow:0 0 0 2px rgba(237,102,91,.07); }
.pipeline-gemini-voice-name { font-size:11px; font-weight:800; color:#30272A; }
.pipeline-gemini-voice-details { font-size:9px; line-height:1.4; color:#817579; overflow-wrap:anywhere; }
.pipeline-voice-feedback { margin:8px 0; color:var(--lv-text-secondary); font-size:10px; line-height:1.45; }
.pipeline-voice-more { width:100%; margin-top:9px; min-height:32px; font-size:10px; }


/* Compact voice catalog and existing sample playback */
.pipeline-voice-entry { display:grid; gap:6px; }
.pipeline-voice-preview { display:block; width:100%; height:32px; }
.pipeline-voice-preview-link, .pipeline-voice-catalog-link {
    display:inline-flex; align-items:center; gap:5px; width:max-content;
    color:var(--lv-primary); font-size:10px; font-weight:700; text-decoration:none;
}
.pipeline-voice-preview-link:hover, .pipeline-voice-catalog-link:hover { text-decoration:underline; }


/* Talking Avatar proof preview */
.pipeline-preview-avatar { overflow:hidden; }
.pipeline-preview-avatar-poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.pipeline-avatar-preview-video {
    display: none; position: absolute; inset: 0; z-index: 2;
    width: 100%; height: 100%; object-fit: cover; background: #090909;
}
.pipeline-avatar-preview-actions {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 0 2px;
}
.pipeline-avatar-preview-actions .btn { min-height: 34px; padding: 7px 13px; font-size: 12px; }
.pipeline-avatar-preview-status { color: var(--text-secondary, #a1a1aa); font-size: 11px; }


/* Esclarecimento assistido no cadastro de produtos */
.product-analysis-guidance,.product-clarifications,.product-analysis-warnings {
  margin: 14px 0 0;
  padding: 15px 17px;
  border: 1px solid #eadfd5;
  border-radius: 12px;
  background: #fffaf6;
}
.product-analysis-guidance { border-color:#ead9bf; background:#fffaf0; color:#66533f; }
.product-analysis-guidance > strong,.product-clarifications-heading > strong,.product-analysis-warnings > strong {
  display:flex; align-items:center; gap:8px; color:#493a2e; font-size:12px;
}
.product-analysis-guidance > p { margin:8px 0 6px; color:#77695d; font-size:11px; line-height:1.55; }
.product-analysis-guidance ul,.product-analysis-warnings ul { margin:7px 0; padding-left:19px; color:#66594e; font-size:11px; line-height:1.65; }
.product-analysis-guidance > span { display:block; color:#8b7764; font-size:10px; line-height:1.5; }
.product-clarifications { border-color:#eadfd5; background:#fffdfb; }
.product-clarifications-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.product-clarifications-heading > span { flex-shrink:0; border-radius:20px; padding:4px 8px; background:#fff0e9; color:#a64e3e; font-size:10px; font-weight:750; }
.product-clarification-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:12px; }
.product-clarification-item { min-width:0; padding:12px; border:1px solid #eee4dc; border-radius:10px; background:#fff; }
.product-clarification-item > strong { display:block; color:#493a30; font-size:11px; }
.product-clarification-item > p { margin:6px 0; color:#83766a; font-size:10px; line-height:1.5; }
.product-clarification-question { display:block; margin:8px 0; color:#4d4036; font-size:11px; font-weight:700; line-height:1.45; }
.product-clarification-options { display:flex; flex-wrap:wrap; gap:6px; }
.product-clarification-option { display:inline-flex; align-items:center; gap:5px; padding:6px 8px; border:1px solid #e8dfd8; border-radius:8px; background:#fff; color:#66584d; font-size:10px; cursor:pointer; }
.product-clarification-option:has(input:checked) { border-color:#e66a5e; background:#fff1ee; color:#b44b40; }
.product-clarification-option input { width:13px; height:13px; margin:0; accent-color:#e85d52; }
.product-clarification-hint { margin:10px 0 0; color:#8a7c70; font-size:10px; line-height:1.5; }
.product-analysis-warnings { border-color:#eadfd5; background:#faf8f5; }
.product-analysis-warnings ul { margin-bottom:0; }
@media (max-width: 760px) {
  .product-clarification-grid { grid-template-columns:1fr; }
  .product-clarifications-heading { align-items:flex-start; }
}

/* Autenticação privada Clerk */
.auth-gate { min-height:100vh; display:grid; place-items:center; padding:28px; background:#f6f4f0; }
.auth-gate-card { width:min(100%,460px); padding:36px; display:flex; flex-direction:column; align-items:center; gap:12px; text-align:center; background:#fffefa; border:1px solid #eee5dc; border-radius:20px; box-shadow:0 12px 40px rgba(52,39,19,.08); }
.auth-gate-card h1 { margin:4px 0 0; font-size:28px; }
.auth-gate-card p { margin:0 0 12px; color:#7b746c; font-size:13px; line-height:1.6; }
.auth-brand-mark { width:48px; height:48px; display:grid; place-items:center; border-radius:15px; color:#fff; background:#e65348; font-weight:800; letter-spacing:-1px; }
.auth-loading-spinner { width:25px; height:25px; border:3px solid #eaded1; border-top-color:#e65348; border-radius:50%; animation:lv-auth-spin .8s linear infinite; }
@keyframes lv-auth-spin { to { transform:rotate(360deg); } }
.auth-signin-card { width:min(100%,520px); }
.clerk-sign-in { width:100%; display:flex; justify-content:center; }
.clerk-sign-in > * { max-width:100%; }
