.smartti-gate{max-width:420px;margin:70px auto;padding:38px;border:1px solid #e5eaf1;border-radius:16px;background:#fff;text-align:center}.smartti-gate a{display:inline-block;padding:10px 28px;background:#235dda;color:#fff!important;text-decoration:none;border-radius:9px}.smartti-app{--st-bg:#f6f8fc;--st-card:#fff;--st-text:#17243d;--st-muted:#77869d;--st-line:#e7ecf3;--st-blue:#386ee9;--st-blue-bg:#ecf2ff;display:grid;grid-template-columns:242px minmax(0,1fr);width:100%;min-height:790px;margin:0;color:var(--st-text);background:var(--st-bg);font:14px/1.45 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;box-sizing:border-box}.smartti-app *{box-sizing:border-box}.smartti-app button,.smartti-app input{font:inherit}.smartti-side{background:#111e36;color:#d7e1f2;display:flex;flex-direction:column;padding:26px 14px;min-height:100%}.smartti-brand{display:flex;gap:12px;align-items:center;padding:2px 10px 28px}.smartti-logo{background:linear-gradient(140deg,#4385ff,#2254d1);color:#fff;border-radius:12px;width:43px;height:43px;display:grid;place-items:center;font-size:24px;font-weight:800}.smartti-brand strong{display:block;color:#fff;font-size:20px;letter-spacing:-.5px}.smartti-brand small{display:block;color:#8497b3;font-size:11px}.smartti-nav-caption{color:#7085a5;font-size:10px;font-weight:800;letter-spacing:1.6px;padding:0 14px;margin:12px 0 14px}.smartti-nav{display:flex;flex-direction:column;gap:4px}.smartti-nav-item{background:transparent;color:#aabbd6;border:0!important;text-align:left;padding:12px 14px!important;border-radius:10px;display:flex;align-items:center;gap:13px;width:100%;cursor:pointer;transition:background .15s}.smartti-nav-item:hover{background:#233451;color:#fff}.smartti-nav-item.active{background:#2b4777;color:#fff;font-weight:650}.smartti-nav-icon{font-size:18px;min-width:22px;text-align:center}.smartti-side-bottom{margin-top:auto;color:#97a8c3;border-top:1px solid #2b3950;padding:20px 11px 3px;font-size:12px}.smartti-side-bottom small{color:#607492}.smartti-status-dot{display:inline-block;background:#f4ad50;width:7px;height:7px;border-radius:50%;margin-right:5px}.smartti-content{min-width:0;display:flex;flex-direction:column}.smartti-topbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:28px 36px 22px;background:var(--st-card);border-bottom:1px solid var(--st-line)}.smartti-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.2px;color:var(--st-muted)}.smartti-topbar h1{font-size:25px!important;line-height:1.2!important;margin:7px 0 0!important;color:var(--st-text)!important;font-weight:750}.smartti-top-right{display:flex;align-items:center;gap:12px}.smartti-tag{font-size:11px;color:#935b14;background:#fff0d3;padding:6px 10px;border-radius:40px;font-weight:700;white-space:nowrap}.smartti-theme{width:36px;height:36px;border:1px solid var(--st-line)!important;border-radius:10px;cursor:pointer;background:var(--st-card)!important;color:var(--st-text)!important}.smartti-avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#dce7ff;color:#2d5ed4;font-weight:800}.smartti-warning{margin:18px 36px 0;border:1px solid #f1d69a;background:#fff8e9;color:#805b20;font-size:12px;border-radius:10px;padding:11px 15px}.smartti-main{padding:24px 36px 40px;flex:1}.smartti-section{display:none}.smartti-section.active{display:block}.smartti-intro{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.smartti-intro h2,.smartti-section-header h2{font-size:22px!important;color:var(--st-text)!important;line-height:1.3;margin:0 0 5px!important;font-weight:700}.smartti-intro p,.smartti-section-header p{color:var(--st-muted);margin:0}.smartti-outline{background:var(--st-card)!important;color:var(--st-blue)!important;border:1px solid var(--st-line)!important;border-radius:9px;padding:10px 13px!important;cursor:pointer;white-space:nowrap;font-weight:650!important}.smartti-outline:hover{border-color:#9cb7ef!important}.smartti-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.smartti-kpis article,.smartti-panel{background:var(--st-card);border:1px solid var(--st-line);border-radius:14px;box-shadow:0 4px 14px #12284a06}.smartti-kpis article{padding:20px;position:relative}.smartti-kpis article span,.smartti-kpis article small{display:block;color:var(--st-muted);font-size:12px}.smartti-kpis article strong{display:block;font-size:32px;letter-spacing:-1px;margin:6px 0;color:var(--st-text)}.smartti-kpis article i{font-size:21px;position:absolute;right:17px;top:16px;font-style:normal;color:#7391c9}.smartti-2col{display:grid;grid-template-columns:1.15fr 1fr;gap:17px;margin-bottom:18px}.smartti-panel{padding:21px;margin-bottom:18px}.smartti-2col .smartti-panel{margin:0}.smartti-panel-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:20px}.smartti-panel-head strong{display:block;font-size:15px}.smartti-panel-head small{display:block;color:var(--st-muted);font-size:12px;margin-top:4px}.smartti-muted{color:var(--st-muted);font-size:12px}.smartti-bar{display:flex;height:13px;border-radius:8px;overflow:hidden;gap:3px;margin:30px 0}.smartti-bar span{height:100%}.smartti-legend{display:grid;grid-template-columns:1fr 1fr;gap:15px 20px}.smartti-legend span{color:var(--st-muted);font-size:11px}.smartti-legend span:nth-child(1){color:#477ee8}.smartti-legend span:nth-child(2){color:#28b0a3}.smartti-legend span:nth-child(3){color:#ce973c}.smartti-legend span:nth-child(4){color:#98a6bd}.smartti-legend b{float:right;color:var(--st-text)}.smartti-ai-teaser{background:linear-gradient(140deg,var(--st-card),var(--st-blue-bg))}.smartti-ai-teaser p{color:var(--st-muted);margin:14px 0 27px}.smartti-pill{background:#e5edff;color:#3f6bc8;border-radius:20px;padding:5px 9px;font-size:10px;white-space:nowrap}.smartti-link{border:0!important;background:none!important;color:var(--st-blue)!important;padding:0!important;cursor:pointer;font-weight:650}.smartti-table-wrap{width:100%;overflow:auto}.smartti-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;min-width:510px;margin:0!important}.smartti-table thead{background:var(--st-bg)}.smartti-table th{font-weight:650;font-size:11px;color:var(--st-muted);padding:13px 16px;border:0!important}.smartti-table td{padding:14px 16px;border-top:1px solid var(--st-line)!important;color:var(--st-text)}.smartti-table td b{display:block}.smartti-table td small{display:block;color:var(--st-muted);font-size:11px}.smartti-badge{padding:4px 8px;border-radius:20px;font-size:11px;font-weight:650;white-space:nowrap}.smartti-badge.ok{color:#147b5a;background:#e6f8f1}.smartti-badge.warn{color:#a56b12;background:#fff3df}.smartti-section-header{margin-bottom:24px}.smartti-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.smartti-toolbar input{min-width:270px;max-width:100%;border:1px solid var(--st-line)!important;background:var(--st-card)!important;color:var(--st-text)!important;border-radius:8px;padding:10px 12px!important}.smartti-toolbar span{font-size:12px;color:var(--st-muted)}.smartti-empty{max-width:750px;border:1px dashed #bfcde1;border-radius:17px;text-align:center;padding:85px 20px;background:var(--st-card)}.smartti-empty>span{font-size:36px;color:var(--st-blue)}.smartti-empty h3{margin:12px 0;font-size:19px;color:var(--st-text)}.smartti-empty p{color:var(--st-muted);max-width:480px;margin:auto}.smartti-footer{padding:17px 36px;border-top:1px solid var(--st-line);font-size:11px;color:var(--st-muted)}.smartti-footer span{overflow-wrap:anywhere}.smartti-dark{--st-bg:#111a2c;--st-card:#1a2740;--st-text:#eef3ff;--st-muted:#afbed4;--st-line:#34435e;--st-blue-bg:#223556}.smartti-dark .smartti-warning{background:#4e381c;color:#ffe0a8;border-color:#805b31}.smartti-dark .smartti-tag{background:#504022;color:#ffdfa0}.smartti-dark .smartti-pill{background:#2a4277;color:#bbceff}.smartti-dark .smartti-badge.ok{background:#1d483d;color:#9de9d3}.smartti-dark .smartti-badge.warn{background:#54401f;color:#ffdda0}.smartti-dark .smartti-avatar{background:#283f71;color:#d9e5ff}.smartti-app [hidden]{display:none!important}@media(max-width:1050px){.smartti-app{grid-template-columns:210px minmax(0,1fr)}.smartti-kpis{grid-template-columns:repeat(2,1fr)}.smartti-2col{grid-template-columns:1fr}}@media(max-width:760px){.smartti-app{display:block}.smartti-side{min-height:unset;padding:10px 12px}.smartti-brand{padding:4px 8px 10px}.smartti-nav-caption,.smartti-side-bottom{display:none}.smartti-nav{display:flex;flex-direction:row;overflow-x:auto;gap:5px}.smartti-nav-item{flex:none;width:auto;padding:9px 10px!important;font-size:12px}.smartti-nav-icon{min-width:0}.smartti-topbar{padding:17px}.smartti-topbar h1{font-size:21px!important}.smartti-main{padding:18px}.smartti-warning{margin:13px 18px 0}.smartti-kpis{gap:9px}.smartti-kpis article{padding:15px}.smartti-kpis article strong{font-size:25px}.smartti-kpis article i{display:none}.smartti-intro{align-items:start;flex-direction:column}.smartti-toolbar{align-items:start;flex-direction:column}.smartti-toolbar label,.smartti-toolbar input{width:100%}.smartti-footer{padding:13px 18px}}

/* Smart TI v0.3 — identidade institucional Correio da Manhã */
.smartti-app{--st-bg:#f2f5fa;--st-card:#ffffff;--st-text:#14253f;--st-muted:#687b93;--st-line:#e2e8f1;--st-blue:#123d74;--st-blue-bg:#edf3fa;grid-template-columns:264px minmax(0,1fr);width:100%;min-height:100vh;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:-.1px}
.smartti-side{background:#102641;min-height:100vh;padding:24px 14px 18px;position:sticky;top:0;height:100vh;overflow-y:auto;border-right:1px solid #203c5c}
.smartti-brand{padding:6px 10px 29px;align-items:center;gap:12px;border-bottom:1px solid rgba(219,231,245,.12);margin-bottom:21px}
.smartti-logo{font-family:Georgia,serif;width:44px;height:44px;flex:0 0 44px;background:#fff;color:#123659;font-size:17px;letter-spacing:-1.5px;border-radius:11px;font-weight:900;box-shadow:0 5px 15px #0002}
.smartti-brand-copy{min-width:0}.smartti-brand-parent{display:block;color:#b3c7de;font-size:9px;letter-spacing:1.25px;font-weight:800;white-space:nowrap;margin-bottom:1px}.smartti-brand strong{font-size:22px;line-height:1.25;letter-spacing:-.85px;color:#fff}.smartti-brand-dot{color:#82b4ef}.smartti-brand small{color:#9bafc9;font-size:10px;margin-top:2px}
.smartti-nav-caption{color:#7f9fbd;font-size:10px;font-weight:700;letter-spacing:1.6px;padding:0 15px;margin:2px 0 15px}.smartti-nav-caption span{color:#547998}
.smartti-nav{gap:5px}.smartti-nav-item{padding:13px 14px!important;border-radius:10px!important;font-size:13px!important;font-weight:570!important;color:#c5d4e7!important;transition:.16s ease}.smartti-nav-item:hover{background:#213e60!important;color:#fff!important}.smartti-nav-item.active{background:#f7fafc!important;color:#17395e!important;box-shadow:0 4px 14px #03152930;font-weight:750!important}.smartti-nav-item.active .smartti-nav-icon{color:#215a99!important}
.smartti-nav-icon{font-size:16px;min-width:22px;text-align:center;color:#83a8d1}.smartti-side-bottom{border-top:1px solid #29425e;padding:20px 12px 5px;color:#bfd0e4;font-size:11px}.smartti-connection{display:flex;align-items:center;gap:7px;font-weight:650;margin-bottom:4px}.smartti-status-dot{margin:0;flex:0 0 7px}.smartti-side-bottom small{font-size:11px;color:#8ea9c7}.smartti-brand-version{border-top:1px solid #29425e;display:flex;justify-content:space-between;margin-top:19px;padding-top:16px;font-size:9px;letter-spacing:.7px;color:#6f91b4}.smartti-brand-version span{letter-spacing:0}
.smartti-content{min-height:100vh}.smartti-topbar{padding:25px 40px 23px;background:#fff;border-bottom:1px solid #e0e7f0;min-height:101px}.smartti-eyebrow{color:#6b819e;font-size:10px;letter-spacing:1.35px}.smartti-topbar h1{font-size:26px!important;letter-spacing:-.85px!important;margin:7px 0 0!important}.smartti-top-right{gap:15px}.smartti-tag{background:#f3f7fc;color:#315a84;border:1px solid #e3eaf5;padding:7px 12px;font-weight:700}.smartti-tag-dot{display:inline-block;background:#dba24e;width:6px;height:6px;border-radius:100%;margin-right:7px;vertical-align:2px}.smartti-theme{height:37px;width:37px;border-radius:11px}.smartti-avatar{background:#e6eef9;color:#1f4b82;border-radius:11px;height:37px;width:37px}
.smartti-warning{margin:26px 40px 0;padding:13px 16px;background:#fffaf0;border:1px solid #f0dcaf;color:#775a23;border-left:3px solid #cfa253;border-radius:8px;font-size:12px;line-height:1.5}
.smartti-main{padding:30px 40px 45px}.smartti-intro{margin-bottom:28px}.smartti-intro h2,.smartti-section-header h2{font-size:26px!important;letter-spacing:-.8px;color:#102641!important;font-weight:760}.smartti-intro p,.smartti-section-header p{font-size:13px;color:#667b96}.smartti-outline{border-color:#d7e1ed!important;color:#1e4d83!important;background:#fff!important;box-shadow:0 3px 8px #203d6110;border-radius:9px}.smartti-kpis{gap:18px;margin-bottom:21px}.smartti-kpis article{border:1px solid #e1e8f2;border-radius:13px;padding:23px;box-shadow:0 8px 26px #18385808}.smartti-kpis article:before{content:"";position:absolute;top:0;left:20px;right:20px;height:2px;background:#d4e1f0;border-radius:0 0 4px 4px}.smartti-kpis article strong{font-size:35px!important;letter-spacing:-1.6px}.smartti-kpis article i{color:#8ca7c4}.smartti-2col{gap:20px;margin-bottom:21px}.smartti-panel{border:1px solid #e2e8f1;border-radius:13px;padding:23px;box-shadow:0 6px 24px #1b38550a;margin-bottom:21px}.smartti-panel-head strong{color:#183456;font-size:15px}.smartti-panel-head small{color:#7a8ea6}.smartti-ai-teaser{background:linear-gradient(125deg,#fff 46%,#f0f5fb)}.smartti-pill{background:#e8eef7;color:#2f5482}.smartti-table thead{background:#f5f7fa}.smartti-table th{letter-spacing:.3px;color:#647d98}.smartti-empty{max-width:none;min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #c7d3e2;border-radius:13px;background:#fff;padding:60px 28px}.smartti-empty>span{color:#28588e}.smartti-footer{background:#fff;border-top:1px solid #e5ebf3;color:#8292a7;padding:17px 40px}
.smartti-dark{--st-bg:#101d30;--st-card:#162a42;--st-text:#e6effa;--st-muted:#9eb1c9;--st-line:#344c68;--st-blue-bg:#1a3554;background:#101d30}.smartti-dark .smartti-topbar,.smartti-dark .smartti-footer{background:#162a42;border-color:#344c68}.smartti-dark .smartti-intro h2,.smartti-dark .smartti-section-header h2,.smartti-dark .smartti-panel-head strong{color:#e6effa!important}.smartti-dark .smartti-panel,.smartti-dark .smartti-kpis article,.smartti-dark .smartti-empty{background:#162a42;border-color:#344c68}.smartti-dark .smartti-tag{background:#284360;color:#d4e3f7;border-color:#345371}.smartti-dark .smartti-ai-teaser{background:linear-gradient(125deg,#162a42,#1b3858)}.smartti-dark .smartti-outline{background:#1a3554!important;color:#d6e7ff!important;border-color:#3b5673!important}.smartti-dark .smartti-warning{background:#3e321f;border-color:#69522e;color:#f7d99b}.smartti-dark .smartti-table thead{background:#1d3550}.smartti-dark .smartti-table td{color:#e6effa}.smartti-dark .smartti-footer{color:#a1b5ce}
@media(max-width:1100px){.smartti-app{grid-template-columns:226px minmax(0,1fr)}.smartti-main{padding:24px}.smartti-topbar{padding:22px 24px}.smartti-warning{margin:20px 24px 0}}
@media(max-width:760px){.smartti-app{display:block}.smartti-side{height:auto;min-height:unset;position:static;padding:10px 12px}.smartti-brand{border:0;margin:0;padding:6px 8px 11px}.smartti-nav{flex-direction:row;overflow:auto}.smartti-nav-item{flex:none;width:auto;padding:10px 12px!important}.smartti-nav-item.active{background:#eaf1fa!important;color:#163e68!important}.smartti-nav-caption,.smartti-side-bottom{display:none}.smartti-topbar{padding:20px 17px;min-height:unset}.smartti-topbar h1{font-size:22px!important}.smartti-main{padding:20px 16px}.smartti-warning{margin:14px 16px 0}.smartti-intro h2,.smartti-section-header h2{font-size:21px!important}.smartti-footer{padding:14px 16px}}
/* Live-mode additions */
.smartti-app[data-mode="live"] .smartti-tag{color:#155c46;background:#dcf8eb}
.smartti-app[data-mode="live"] .smartti-warning{color:#185c48;background:#e8f8ef;border-color:#bce6cd}
.smartti-app[data-mode="live"] .smartti-status-dot{background:#28ae83}
/* v0.5 • Consulta real, tabelas navegáveis e ficha de detalhe */
.smartti-record-link{border:0!important;background:transparent!important;padding:0!important;color:#1e5ba4!important;font:inherit!important;font-weight:700!important;cursor:pointer;text-align:left;text-decoration:none!important}
.smartti-record-link:hover{text-decoration:underline!important}
.smartti-live-panel{width:100%;margin:20px 0}
.smartti-live-panel .smartti-toolbar input{width:min(100%,380px)}
.smartti-detail{border:1px solid #d9e3ef;border-radius:18px;width:min(720px,94vw);max-height:84vh;padding:0;background:var(--st-card);color:var(--st-text);box-shadow:0 25px 80px #051a3055}
.smartti-detail::backdrop{background:#071b35a8}
.smartti-detail-head{display:flex;align-items:center;justify-content:space-between;padding:18px 25px;border-bottom:1px solid var(--st-line)}
.smartti-detail-head h2{margin:0!important;color:var(--st-text)!important;font-size:20px!important}
.smartti-detail-head button{border:1px solid var(--st-line)!important;background:var(--st-card)!important;color:var(--st-text)!important;border-radius:8px;width:32px;height:32px;cursor:pointer}
#smartti-detail-content{padding:25px;max-height:60vh;overflow-y:auto}
.smartti-detail-list{display:grid;grid-template-columns:180px minmax(0,1fr);gap:9px 15px;margin:0}
.smartti-detail-list dt{color:var(--st-muted);font-size:12px;overflow-wrap:anywhere}
.smartti-detail-list dd{margin:0;overflow-wrap:anywhere;font-weight:550}
@media(max-width:600px){.smartti-detail-list{grid-template-columns:1fr}.smartti-detail-list dt{margin-top:8px}}

/* Smart TI v0.6 — Acesso Remoto, implantação em etapas */
.smartti-remote-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.smartti-remote-stage{display:inline-block;border:1px solid #eddbb5;background:#fff8eb;color:#886127;padding:8px 12px;border-radius:999px;font-size:11px;font-weight:750}
.smartti-remote-overview{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(230px,1fr);gap:18px}
.smartti-remote-main{display:flex;align-items:flex-start;gap:18px;background:linear-gradient(110deg,#fff,#f3f7fd)}
.smartti-remote-icon{background:#153c6a;color:white;border-radius:14px;width:54px;height:54px;display:grid;place-items:center;font-size:27px;flex:none}
.smartti-remote-main strong{font-size:18px;color:#173c65}
.smartti-remote-main p,.smartti-remote-state p,.smartti-remote-guide p{font-size:13px;line-height:1.65;color:var(--st-muted)}
.smartti-remote-flags{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.smartti-remote-flags span{background:#eaf1fa;color:#2c5682;border-radius:20px;padding:7px 10px;font-size:11px;font-weight:650}
.smartti-remote-state small{font-size:10px;letter-spacing:1px;font-weight:750;color:var(--st-muted)}
.smartti-remote-state strong{display:block;margin:8px 0;color:#9e6e2e;font-size:21px}
.smartti-remote-disabled{border:1px solid #d6dfeb!important;background:#f0f3f7!important;color:#8a96a6!important;border-radius:8px!important;padding:8px 12px!important;cursor:not-allowed!important;font-size:12px!important;font-weight:700!important;white-space:nowrap}
.smartti-remote-unknown{background:#f0f2f5;color:#78889d;border-radius:20px;padding:6px 9px;font-size:11px;font-weight:700;white-space:nowrap}
.smartti-remote-guide code{font-size:12px;word-break:break-word}
.smartti-remote-guide small{color:var(--st-muted)}
.smartti-dark .smartti-remote-main{background:linear-gradient(110deg,#162a42,#203650)}
.smartti-dark .smartti-remote-main strong{color:#e3efff}
.smartti-dark .smartti-remote-flags span{background:#274463;color:#b9d7f9}
.smartti-dark .smartti-remote-stage{background:#423626;color:#f8dca2;border-color:#6c5431}
@media(max-width:920px){.smartti-remote-overview{grid-template-columns:1fr}}
@media(max-width:550px){.smartti-remote-main{flex-direction:column}.smartti-remote-header{align-items:start}}

/* v0.7: Tutorial, suporte remoto e assistente IA */
.smartti-primary-link{display:inline-flex;align-items:center;justify-content:center;padding:12px 17px;border-radius:10px;background:#23487d;color:#fff!important;text-decoration:none;font-weight:700;font-size:13px;margin-top:10px}
.smartti-primary-link:hover{background:#3563a0}
.smartti-guide-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.smartti-guide-grid h3{margin:0 0 12px;font-size:17px}.smartti-guide-grid p{font-size:14px;line-height:1.65}.smartti-guide-grid a{color:#3978c4;font-weight:650}
.smartti-ai-panel{max-width:950px}.smartti-ai-status{margin-bottom:15px;font-size:14px}.smartti-ai-status a{color:#3978c4}
.smartti-chat-messages{display:flex;flex-direction:column;gap:12px;min-height:240px;max-height:460px;overflow-y:auto;padding:16px;background:#f3f6fb;border-radius:12px;margin-bottom:16px}
.smartti-chat-message{align-self:flex-start;max-width:85%;padding:12px 14px;background:white;border:1px solid #dee6f0;border-radius:12px;white-space:pre-wrap;line-height:1.55;font-size:14px;color:#1a2d44}
.smartti-chat-user{align-self:flex-end;background:#23487d;color:#fff;border-color:#23487d}.smartti-chat-error{color:#a02b2b}
.smartti-chat-form textarea{display:block;box-sizing:border-box;width:100%;min-height:75px;padding:12px;border:1px solid #cdd8e4;border-radius:10px;font:inherit;margin-bottom:10px}
.smartti-chat-form button{padding:12px 18px;border:0;border-radius:9px;background:#23487d;color:#fff;font-weight:700;cursor:pointer}.smartti-chat-form button:disabled{opacity:.55;cursor:wait}
.smartti-dark .smartti-chat-messages{background:#152840}.smartti-dark .smartti-chat-message{background:#253d5b;border-color:#365476;color:#fff}.smartti-dark .smartti-chat-user{background:#3267a7}

/* v1.1 - Diagnóstico guiado / rascunho */
.smartti-diagnosis{border:1px solid #d6e2f0;background:#f7faff;border-radius:12px;padding:18px;margin-bottom:20px}
.smartti-diagnosis h3{margin:0 0 8px}.smartti-diagnosis p{font-size:13px}
.smartti-diagnosis-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.smartti-diagnosis label,.smartti-ticket-draft label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:13px}
.smartti-diagnosis select,.smartti-diagnosis input,.smartti-diagnosis textarea{font:inherit;color:#18304f;padding:10px 11px;background:#fff;border:1px solid #becddd;border-radius:8px;box-sizing:border-box;width:100%}
.smartti-diagnosis-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}
.smartti-diagnosis-actions button{background:#23487d;color:white;border:0;border-radius:8px;padding:10px 14px;cursor:pointer;font-weight:600}
.smartti-diagnosis-actions a{font-size:13px;color:#23487d;font-weight:600}
.smartti-ticket-draft{border-top:1px solid #d1dbe6;margin-top:14px;padding-top:14px}
.smartti-ticket-draft label{margin-bottom:12px}
.smartti-dark .smartti-diagnosis{background:#1c314b;border-color:#426080}.smartti-dark .smartti-diagnosis h3,.smartti-dark .smartti-diagnosis label{color:#fff}
@media(max-width:760px){.smartti-diagnosis-grid{grid-template-columns:1fr}}
