@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');
:root{--nav:#111d33;--nav2:#17263f;--ink:#142238;--muted:#718097;--faint:#98a5b8;--border:#e7ebf2;--bg:#f6f8fc;--white:#fff;--purple:#6559ef;--purple-dark:#5146cf;--cyan:#20b3d4;--green:#18a878;--red:#e95a70;--amber:#ecaa47;--shadow:0 10px 38px rgba(27,45,76,.045);--radius:18px;--font: 'DM Sans',system-ui,sans-serif;--head:'Plus Jakarta Sans',var(--font)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.svg-icons{position:absolute;width:0;height:0;overflow:hidden}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--head)}.app-shell{min-height:100vh;display:flex}.sidebar{width:254px;flex:none;background:var(--nav);color:#c9d5e7;display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;height:100vh;z-index:30}.brand{display:flex;align-items:center;gap:11px;padding:31px 23px 30px;color:#fff}.brand-mark{width:44px;height:44px;box-shadow:0 7px 19px #6559ef38;border-radius:14px}.brand-title{font-family:var(--head);font-size:17px;font-weight:800;letter-spacing:-.65px;line-height:1.3}.brand-title span{color:#66e1f6}.brand-small{color:#8294ad;font-size:9px;font-weight:800;letter-spacing:.45px;margin-top:4px}.workspace-label{font-size:10px;color:#70809b;font-weight:800;letter-spacing:1.35px;padding:6px 25px 13px}.nav-list{padding:0 12px;display:grid;gap:5px}.nav-link{height:47px;display:flex;align-items:center;gap:12px;padding:0 13px;border:none;border-radius:10px;color:#a4b3ca;background:transparent;text-align:left;width:100%;font-size:13px;font-weight:700;transition:background .18s,color .18s}.nav-link svg{width:19px;height:19px}.nav-link:hover{background:#20304d;color:white}.nav-link.active{background:#33416f;color:#fff;box-shadow:inset 3px 0 0 #7f72ff}.nav-link span:nth-of-type(1){flex:1}.nav-count{background:#2f4161;padding:2px 7px;border-radius:7px;font-size:10px;color:#b3c9eb}.sidebar-spacer{flex:1}.sidebar-bottom{padding:0 15px 21px}.storage-note{display:flex;gap:10px;padding:14px 11px;background:#1a2a45;border:1px solid #2b3c59;border-radius:12px}.storage-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#153d44;color:#32cfb2}.storage-icon svg{width:16px}.storage-note strong,.storage-note small{display:block}.storage-note strong{font-size:11px;color:#e6effa;margin:2px 0 4px}.storage-note small{font-size:10px;color:#8fa4c0}.version-row{display:flex;align-items:center;gap:6px;font-size:9px;letter-spacing:.5px;color:#72849c;padding:19px 4px 1px;font-weight:800}.version-row span:last-child{margin-left:auto}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#36c990;box-shadow:0 0 0 4px rgba(54,201,144,.10)}.main-col{display:flex;flex:1;flex-direction:column;min-width:0}.topbar{height:75px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:#fff;padding:0 35px;gap:18px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:18px}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;color:#9aa8ba}.breadcrumb svg{width:12px;height:12px}.breadcrumb strong{font-weight:700;color:#34435a}.connection-indicator{display:flex;align-items:center;gap:10px;font-size:11px;color:#71849a;font-weight:700}.connection-indicator .status-dot{width:6px;height:6px}.avatar{width:35px;height:35px;border-radius:11px;background:linear-gradient(135deg,#e8e4ff,#c8ecff);color:#554ee0;display:grid;place-items:center;font-size:11px;font-weight:900}.content{width:100%;max-width:1500px;margin:0 auto;flex:1;padding:37px 35px 60px;outline:none}.app-footer{display:flex;justify-content:space-between;padding:0 35px 22px;color:#a5afbf;font-size:10px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{font-size:11px;letter-spacing:1.7px;color:#695ef0;text-transform:uppercase;font-weight:800;margin-bottom:10px}.page-head h1{font-size:27px;font-weight:800;letter-spacing:-1.1px;margin:0 0 8px}.page-head p{color:#8190a3;line-height:1.65;margin:0;font-size:13px}.page-head-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;border:1px solid transparent;padding:11px 16px;min-height:42px;font-size:12px;font-weight:800;white-space:nowrap;transition:all .16s}.btn svg{width:16px;height:16px;stroke-width:2}.btn-primary{background:linear-gradient(135deg,#6a5df0,#5548e5);color:#fff;box-shadow:0 6px 15px rgba(105,93,240,.21)}.btn-primary:hover{filter:brightness(.95);transform:translateY(-1px)}.btn-light{background:#fff;color:#40516a;border-color:#e4e9f1}.btn-light:hover{background:#f8faff;border-color:#cbd3e4}.btn-danger{color:#ce4055;background:#fff4f6;border-color:#ffd9e1}.btn-outline-purple{background:#f5f3ff;color:#6355e9;border-color:#e5e0ff}.btn-quiet{border:0;background:transparent;color:#71849a;padding:8px}.btn-quiet:hover{background:#edf1f7;color:#253452}.btn-sm{padding:7px 10px;min-height:32px;font-size:11px}.btn-icon{width:36px;height:36px;padding:0;min-height:36px}.icon-btn{width:36px;height:36px;border:1px solid var(--border);border-radius:10px;display:grid;place-items:center;background:#fff;color:#647792}.icon-btn:hover{color:var(--purple)}.menu-toggle{display:none}.card{background:#fff;border:1px solid #e8edf4;border-radius:var(--radius);box-shadow:var(--shadow)}.card-pad{padding:25px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.stat{padding:22px 21px;min-height:152px;position:relative;overflow:hidden}.stat::after{content:'';position:absolute;width:114px;height:114px;border-radius:50%;right:-61px;top:-57px;background:#eff1ff;opacity:.8}.stat-head{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.stat-title{font-size:12px;color:#7d8ba0;font-weight:700}.stat-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#f0eeff;color:#6b60ed}.stat-icon svg{width:18px;height:18px}.stat-num{font-family:var(--head);font-size:27px;font-weight:800;letter-spacing:-1.2px;margin:20px 0 6px;line-height:1}.stat-foot{font-size:11px;color:#a2adba}.stat.green .stat-icon{color:#1ba979;background:#eaf9f3}.stat.green::after{background:#e7f9ee}.stat.blue .stat-icon{color:#189ccc;background:#eaf9ff}.stat.blue::after{background:#eaf9ff}.stat.amber .stat-icon{color:#d99538;background:#fff5e5}.stat.amber::after{background:#fff7ed}.main-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(285px,.85fr);gap:18px;margin-bottom:24px}.section-card{padding:25px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px}.section-head h2{font-size:15px;letter-spacing:-.45px;margin:0}.section-head p{margin:6px 0 0;font-size:12px;color:#92a0b2}.text-link{color:#6157df;background:transparent;border:0;font-size:11px;font-weight:800;display:flex;align-items:center;gap:5px}.text-link svg{width:14px;height:14px}.text-link:hover{text-decoration:underline}.table-wrap{overflow-x:auto;scrollbar-width:thin}.data-table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:12px}.data-table thead{background:#f8faff}.data-table th{font-size:10px;text-transform:uppercase;letter-spacing:.6px;font-weight:800;color:#9aa8ba;padding:14px 12px}.data-table th:first-child{border-radius:8px 0 0 8px}.data-table th:last-child{border-radius:0 8px 8px 0}.data-table td{padding:17px 12px;border-bottom:1px solid #f0f2f6;color:#63748b}.data-table tr:last-child td{border-bottom:none}.data-table tr:hover td{background:#fcfdff}.strong-text{font-weight:800;color:#24354d}.small-sub{font-size:10px;color:#9caabb;margin-top:5px}.table-action{border:0;background:#f4f6fc;color:#64738d;width:30px;height:30px;border-radius:8px;display:inline-grid;place-items:center}.table-action svg{width:15px;height:15px}.table-action:hover{color:#5c4bdf;background:#eceaff}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:7px;padding:6px 9px;font-size:10px;font-weight:800;white-space:nowrap}.badge::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.badge-aberta{background:#eff2ff;color:#626bdd}.badge-andamento{background:#edf8ff;color:#249ec7}.badge-aguardando{background:#fff6e7;color:#d69a3c}.badge-concluida{background:#e9f9f2;color:#19a478}.badge-entregue{background:#e6f7f0;color:#168b68}.badge-cancelada{background:#f8ecef;color:#c86b7b}.badge-pago{background:#e9f9f2;color:#179c70}.badge-parcial{background:#fff6e7;color:#bc8532}.badge-pendente{background:#f8ecef;color:#ca6578}.quick-actions{display:grid;gap:10px}.quick-action{display:flex;text-align:left;align-items:center;gap:12px;border:1px solid #edf0f6;border-radius:12px;padding:13px;background:#fff;color:#2e425e;width:100%}.quick-action:hover{border-color:#d7d2ff;background:#fcfbff}.quick-icon{display:grid;place-items:center;background:#f0eeff;width:39px;height:39px;color:#6555ef;border-radius:11px}.quick-action:nth-child(2) .quick-icon{color:#089eaa;background:#e8fafb}.quick-action:nth-child(3) .quick-icon{color:#bf8335;background:#fff5e5}.quick-action span:nth-child(2){flex:1}.quick-action strong,.quick-action small{display:block}.quick-action strong{font-size:12px}.quick-action small{font-size:10px;color:#98a5b5;margin-top:5px}.quick-action>svg{width:14px;color:#bac6d6}.progress-row{margin:18px 0}.progress-top{display:flex;justify-content:space-between;font-size:11px;margin-bottom:10px}.progress-top span:first-child{color:#63738b}.progress-top strong{color:#283952}.progress-track{height:7px;border-radius:20px;background:#f0f3f8;overflow:hidden}.progress-fill{height:100%;background:#695df0;border-radius:20px;min-width:0}.progress-fill.cyan{background:#22a6c9}.progress-fill.green{background:#23bc83}.progress-fill.amber{background:#f0b451}.distribution-note{border-top:1px solid #f0f2f6;margin-top:20px;padding-top:18px;font-size:11px;line-height:1.6;color:#a4b0bf}.empty{padding:35px 15px;text-align:center;display:grid;justify-items:center}.empty-icon{width:57px;height:57px;background:#f1f0ff;color:#7568ec;border-radius:18px;display:grid;place-items:center;margin-bottom:13px}.empty-icon svg{width:27px;height:27px}.empty strong{font-size:13px;color:#2e4059}.empty p{font-size:12px;color:#97a3b4;line-height:1.55;max-width:300px;margin:8px 0 17px}.panel-toolbar{display:flex;gap:11px;align-items:center;margin-bottom:17px;flex-wrap:wrap}.searchbox{flex:1;min-width:190px;max-width:420px;position:relative}.searchbox svg{position:absolute;top:50%;left:14px;transform:translateY(-50%);width:17px;height:17px;color:#9baaBE}.searchbox input{width:100%;height:43px;padding:0 13px 0 42px;background:#fff;border:1px solid #e4eaf2;border-radius:11px;color:#293c56;outline:0}.searchbox input:focus{border-color:#a7a1fa;box-shadow:0 0 0 3px #6559ef14}.select-ctrl{background:#fff;border:1px solid #e3e9f2;border-radius:10px;padding:11px 13px;min-height:42px;color:#455773;outline:0}.select-ctrl:focus{border-color:#887df9}.orders-card{padding:11px 16px 16px}.summary-rows{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:20px}.summary-box{padding:19px 20px}.summary-box small{color:#8694a8;font-weight:700}.summary-box strong{display:block;font-family:var(--head);font-size:23px;margin-top:11px}.list-customer{display:grid;grid-template-columns:1fr 1fr;gap:14px}.customer-item{display:flex;align-items:center;gap:13px;padding:18px 19px;background:#fff;border:1px solid var(--border);border-radius:14px}.customer-letter{width:44px;height:44px;border-radius:13px;background:linear-gradient(135deg,#e9e4ff,#e0f3ff);color:#6559d9;display:grid;place-items:center;font-size:16px;font-weight:900}.customer-meta{flex:1;min-width:0}.customer-meta strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-meta small{color:#94a2b4;display:block;margin-top:5px}.customer-actions{display:flex;gap:6px}.customer-actions .icon-btn{width:34px;height:34px}.customer-actions svg{width:15px}.insight-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.info-band{display:flex;gap:12px;align-items:flex-start;background:#f0efff;border:1px solid #e5e0ff;border-radius:13px;padding:14px 17px;color:#5c56a8;font-size:12px;line-height:1.55}.info-band svg{color:#685cef;margin-top:1px}.settings-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.wide{grid-column:1/-1}.field>label,.field-label{font-weight:800;font-size:11px;color:#53637b}.field input,.field textarea,.field select{width:100%;border:1px solid #e0e6ef;border-radius:10px;padding:12px 13px;font-size:12px;outline:0;background:#fff;color:#263853;min-height:42px}.field textarea{min-height:78px;resize:vertical;line-height:1.5}.field input:focus,.field textarea:focus,.field select:focus{border-color:#a59bf9;box-shadow:0 0 0 3px #6a5df014}.field input:disabled{background:#f3f5fa;color:#a0aaba}.field-hint{font-size:10px;line-height:1.4;color:#9aa7b7}.settings-group{display:grid;gap:12px}.settings-action{width:100%;display:flex;align-items:center;text-align:left;gap:13px;padding:14px;border:1px solid var(--border);border-radius:12px;background:#fff}.settings-action:hover{background:#fbfcff}.settings-action>svg{color:#6b5aef}.settings-action strong,.settings-action small{display:block}.settings-action strong{font-size:12px}.settings-action small{font-size:11px;color:#99a5b5;margin-top:4px}.settings-action.danger>svg,.settings-action.danger strong{color:#d44b60}.section-hint{font-size:11px;line-height:1.6;color:#94a1b3;margin-bottom:18px}.modal-layer{position:fixed;inset:0;z-index:80;background:#0d1a31a8;display:flex;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(3px)}.modal-layer[hidden],.backdrop[hidden]{display:none}.modal{width:min(100%,620px);max-height:min(92vh,940px);overflow:hidden;display:flex;flex-direction:column;background:#fff;border-radius:20px;box-shadow:0 28px 90px #06142755;animation:appear .19s ease}.modal.large{width:min(100%,930px)}@keyframes appear{from{opacity:.5;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.modal-header{padding:23px 27px 21px;border-bottom:1px solid #eaf0f5;display:flex;justify-content:space-between;align-items:flex-start;gap:13px}.modal-header h2{font-size:19px;letter-spacing:-.65px;margin:4px 0}.modal-header p{font-size:11px;color:#96a4b4;margin:7px 0 0}.modal-body{padding:25px 27px;overflow:auto;scrollbar-width:thin}.modal-footer{padding:18px 27px;display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid #eaf0f5;background:#fff}.form-section{border-bottom:1px solid #edf0f5;padding-bottom:22px;margin-bottom:22px}.form-section:last-child{border:none;margin:0;padding:0}.form-section-title{display:flex;align-items:center;gap:9px;margin:0 0 16px;font-size:12px;font-weight:900;color:#344862}.form-section-title span{width:23px;height:23px;display:grid;place-items:center;background:#efedff;color:#6658ed;border-radius:7px;font-size:10px}.inline-field{display:flex;gap:9px;align-items:end}.inline-field .field{flex:1}.items-head,.item-row{display:grid;grid-template-columns:minmax(140px,1fr) 76px 120px 30px;gap:9px;align-items:center}.items-head{color:#8998ac;font-size:10px;font-weight:800;margin-bottom:8px}.item-row{margin-bottom:9px}.item-row input{width:100%;border:1px solid #dfe7f0;border-radius:9px;padding:11px 10px;outline:0;min-width:0;font-size:12px}.item-row input:focus{border-color:#9689fd}.item-row button{border:0;background:#fff0f2;color:#d36a7b;width:29px;height:38px;border-radius:7px}.item-row button svg{width:15px}.total-strip{margin-top:18px;padding:19px;background:#f5f4ff;border:1px solid #e6e3ff;border-radius:13px;display:flex;justify-content:space-between;align-items:center}.total-strip small{display:block;color:#7f7bae;font-size:11px}.total-strip strong{font-size:23px;font-family:var(--head);color:#5146d3}.total-strip .small-sub{color:#7771ab}.danger-text{color:#cb5269}.toast-region{position:fixed;bottom:20px;right:20px;z-index:120;display:grid;gap:8px}.toast{background:#1b2b44;color:white;border-radius:11px;box-shadow:0 12px 40px #0410273e;padding:13px 17px;min-width:225px;font-size:12px;animation:appear .17s ease}.toast.error{background:#a83750}.toast.success{background:#187e68}.mobile-order-card{display:none}.install-note{font-size:11px;color:#8495a9;line-height:1.6}.pill-amount{font-weight:800;color:#253852}.report-bars{display:grid;gap:16px}.report-bar-row{display:grid;gap:8px}.report-bar-meta{display:flex;justify-content:space-between;font-size:12px;color:#52617a}.report-bar-track{height:13px;background:#eff2f7;border-radius:9px;overflow:hidden}.report-bar-fill{height:100%;background:linear-gradient(90deg,#6d60ef,#29b3d4);border-radius:8px}.muted{color:#9ba8b8}.subtle-divider{height:1px;background:#ebeff5;margin:20px 0}.report-note{font-size:12px;color:#7f8ea3;line-height:1.6}.side-by-side{display:flex;gap:9px;align-items:center}.tag{font-size:10px;color:#675ce8;background:#f0eeff;border:1px solid #e3e0ff;border-radius:8px;padding:5px 9px;font-weight:800}.form-actions-inline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}.report-table .data-table{min-width:460px}
@media(max-width:1200px){.sidebar{width:225px}.content{padding:29px 25px 55px}.topbar{padding:0 25px}.stats-grid{gap:11px}.stat{padding:19px 16px}.stat-num{font-size:23px}.main-grid{grid-template-columns:minmax(0,1.35fr) minmax(270px,.85fr)}.section-card{padding:21px}}
@media(max-width:970px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.main-grid,.settings-layout{grid-template-columns:1fr}.main-grid .section-card:last-child{max-width:none}.quick-actions{grid-template-columns:repeat(3,1fr)}.quick-action{padding:12px}.quick-action>svg{display:none}.quick-action .quick-icon{display:none}}
@media(max-width:750px){.sidebar{position:fixed;left:0;top:0;transform:translateX(-101%);transition:transform .25s;z-index:101;width:min(278px,86vw)}.sidebar.open{transform:translateX(0)}.backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#0a1429a1;z-index:100}.menu-toggle{display:grid}.breadcrumb span,.breadcrumb svg{display:none}.topbar{height:65px;padding:0 17px}.topbar-right{gap:10px}.connection-indicator span:last-child{display:none}.btn-header-new{padding:10px 12px;min-height:39px}.btn-header-new span{display:none}.content{padding:25px 16px 42px}.page-head{align-items:flex-start}.page-head h1{font-size:24px}.page-head p{font-size:12px}.page-head-actions .btn{padding:9px 11px}.app-footer{padding:0 16px 19px;gap:10px}.app-footer span:last-child{display:none}.quick-actions{grid-template-columns:1fr}.quick-action .quick-icon{display:grid}.quick-action>svg{display:block}.list-customer{grid-template-columns:1fr}.insight-grid{grid-template-columns:1fr}.modal-layer{align-items:flex-end;padding:0}.modal,.modal.large{border-radius:19px 19px 0 0;max-height:95dvh;width:100%}.modal-header{padding:19px 19px 16px}.modal-body{padding:19px}.modal-footer{padding:14px 18px}.items-head,.item-row{grid-template-columns:minmax(100px,1fr) 56px 85px 28px;gap:5px}.item-row input{padding:9px 7px;font-size:11px}}
@media(max-width:560px){.stats-grid{gap:11px}.stat{min-height:137px;padding:15px}.stat-title{font-size:11px}.stat-icon{width:30px;height:30px}.stat-icon svg{width:16px}.stat-num{font-size:21px;margin-top:18px}.stat-foot{font-size:10px}.page-head{margin-bottom:22px}.page-head-actions{gap:6px}.section-card{padding:17px}.orders-card{padding:5px 0}.orders-card .data-table{display:none}.mobile-order-card{display:grid;gap:10px;padding:10px}.mobile-order-item{padding:14px;border:1px solid #edf0f6;border-radius:12px}.mobile-order-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.mobile-order-title{font-size:13px;font-weight:900}.mobile-order-sub{color:#8e9caf;font-size:11px;margin-top:6px}.mobile-order-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding-top:12px;border-top:1px solid #f0f2f5}.mobile-order-bottom strong{font-size:14px}.panel-toolbar{gap:8px}.searchbox{max-width:none;min-width:100%}.select-ctrl{flex:1}.form-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.form-grid.two-col-mobile{grid-template-columns:1fr 1fr}.form-grid.two-col-mobile .wide{grid-column:1/-1}.summary-rows{grid-template-columns:1fr}.summary-box{padding:14px}.summary-box strong{font-size:20px}.section-head h2{font-size:14px}.section-head{margin-bottom:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* v1.1 · upload de logomarca */
.logo-config{display:flex;align-items:center;gap:20px;padding:16px;margin-bottom:20px;background:#f8f9ff;border:1px solid #e7e7fb;border-radius:14px}.company-logo-preview{width:135px;height:108px;flex:none;background:#fff;border:1px dashed #c6c8e9;border-radius:13px;display:flex;align-items:center;justify-content:center;overflow:hidden}.company-logo-preview img{display:block;width:100%;height:100%;object-fit:contain}.company-logo-preview span{display:flex;flex-direction:column;align-items:center;gap:7px;color:#877df0}.company-logo-preview small{font-size:11px;font-weight:700;color:#909ab2}.logo-config-info{min-width:0;flex:1}.logo-config-info>strong,.logo-config-info>small{display:block}.logo-config-info>strong{font-size:13px;font-weight:800;margin-bottom:6px}.logo-config-info>small{font-size:11px;line-height:1.5;color:#7e8ea5}.logo-config-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}@media(max-width:520px){.logo-config{flex-direction:column;align-items:stretch}.company-logo-preview{width:100%;height:130px}.logo-config-actions .btn{flex:1}.mobile-order-bottom .side-by-side{gap:5px}.mobile-order-bottom .btn{padding:7px 9px}}
/* v1.2: contato WhatsApp direto e entradas financeiras brasileiras */
.wa-help{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;align-items:start}
.wa-help-icon{height:44px;width:44px;border-radius:13px;display:grid;place-items:center;background:#e5f8eb;color:#16894b}
.wa-help-icon svg{width:24px;height:24px}
.wa-help strong{color:#263853}
.wa-help p{font-size:12px;line-height:1.65;margin:8px 0 17px;color:#6f7e92}
.wa-help-steps{display:grid;gap:10px}
.wa-help-steps span{font-size:12px;line-height:1.5;color:#41536b;display:flex;align-items:baseline;gap:9px}
.wa-help-steps b{display:inline-grid;flex:none;place-items:center;width:22px;height:22px;border-radius:8px;color:#5c52d4;background:#eeedff;font-size:11px}
.item-row .item-price,.field input[data-mask="money"]{font-variant-numeric:tabular-nums}
.item-row .item-price{text-align:right}
@media(max-width:750px){.items-head,.item-row{grid-template-columns:minmax(94px,1fr) 58px 100px 28px;gap:5px}.item-row .item-price{font-size:10px;padding:9px 5px}.wa-help{grid-template-columns:36px minmax(0,1fr);gap:11px}.wa-help-icon{width:36px;height:36px}.wa-help-icon svg{width:20px;height:20px}}

/* v1.3: interface do envio oficial + fallback WhatsApp direto */
.wa-destination{display:flex;gap:12px;align-items:center;padding:15px;border:1px solid #e4e8f2;border-radius:13px;background:#f9faff;margin-bottom:12px}
.wa-destination-icon{display:grid;place-items:center;background:#e3f8e9;color:#168c58;width:43px;height:43px;border-radius:12px}.wa-destination-icon svg{width:23px;height:23px}
.wa-destination>div:last-child{display:grid;gap:3px}.wa-destination small{color:#8e9caf;font-size:10px}.wa-destination strong{font-size:14px;color:#233a59}.wa-destination span{font-size:12px;color:#6f8099}
.wa-file-card{display:flex;gap:11px;align-items:center;padding:13px 15px;border:1px solid #e7eaf1;border-radius:12px;margin-bottom:15px}.wa-file-card>svg{color:#5e59d3}.wa-file-card>div{display:grid;gap:5px;flex:1}.wa-file-card strong{font-size:12px}.wa-file-card small{font-size:10px;color:#7c8aa0}.wa-mode-box{border-radius:12px;padding:14px;background:#fff8ed;border:1px solid #f1dfc1;margin-bottom:15px}.wa-mode-box.is-ready{background:#e9f9f0;border-color:#bbebd1}.wa-mode-box strong{display:flex;align-items:center;gap:7px;font-size:12px;color:#976d23}.wa-mode-box.is-ready strong{color:#187d5d}.wa-mode-box svg{width:16px;height:16px}.wa-mode-box p{font-size:11px;line-height:1.6;color:#6e7d8f;margin:7px 0 0}.wa-preview-message{background:#f8faff;border:1px solid #e8ebf4;border-radius:12px;padding:14px 16px}.wa-preview-message strong{color:#454f70;font-size:11px}.wa-preview-message p{font-size:12px;margin:9px 0;line-height:1.5;color:#2d3d54}.wa-preview-message small{color:#8a94ac;font-size:10px}.wa-warning{font-size:11px;color:#ab7031;line-height:1.6;margin:12px 0 0}.wa-consent{display:flex;gap:12px;align-items:flex-start;padding:13px;border:1px solid #e5eafa;background:#fafaff;border-radius:11px;margin-top:7px;cursor:pointer}.wa-consent input{width:18px;height:18px;flex:none;margin:2px 0 0;accent-color:#6559ef}.wa-consent span{display:grid;gap:4px}.wa-consent strong{font-size:12px;color:#314058}.wa-consent small{font-size:10px;color:#8592a6;line-height:1.6}.wa-result-success{background:#ecfaf4;color:#146e52;border:1px solid #bcdecf;border-radius:14px;padding:20px}.wa-result-success svg{width:30px;height:30px}.wa-result-success strong{display:block;font-size:14px;margin:8px 0}.wa-result-success p{color:#557768;font-size:12px;line-height:1.6}@media(max-width:750px){.modal-footer{flex-wrap:wrap}.modal-footer .btn{flex:1}}

/* v1.4: fluxo gratuito sem integração Meta nem custos por mensagem */
.wa-attachment-note{background:#f3f6ff;border-left:3px solid #6c61ee;border-radius:8px;padding:13px 15px;color:#53637a;font-size:11px;line-height:1.65;margin:13px 0 0}
.wa-attachment-note strong{color:#2b3d56}
.wa-file-card .btn{flex:none}
.wa-mode-box.is-ready{background:#f0faf5;border-color:#d2ebdf}
@media(max-width:750px){.modal-footer .btn{white-space:normal;min-width:120px}.wa-file-card{flex-wrap:wrap}.wa-file-card .btn{margin-left:auto}}

/* v1.5 — Conta Google opcional com backup manual */
.cloud-card{background:linear-gradient(165deg,#ffffff 55%,#f7f7ff 100%)}
.cloud-badge{font-size:10px;letter-spacing:1.25px;font-weight:900;color:#6d5df2;background:#f2efff;border:1px solid #e5e0ff;border-radius:7px;padding:6px 9px}
.cloud-account{display:flex;align-items:center;gap:13px;border-radius:12px;border:1px solid #e8eafa;padding:15px 13px;background:#fff;margin-bottom:13px;min-width:0}
.cloud-account strong{color:#3b4c6b;word-break:break-word}
.cloud-account>div:last-child{min-width:0}
.cloud-account small{display:block;font-size:10px;color:#8795aa;margin-top:5px;line-height:1.5}
.cloud-status-text{font-size:12px;color:#435573;line-height:1.5}
.cloud-google-g{font-size:20px;font-weight:900;color:#4386f8;background:#eef4ff;border-radius:11px;width:41px;height:41px;display:grid;place-items:center;flex:none}
.google-letter{font-weight:900;background:#fff;color:#4285f4;padding:3px 6px;border-radius:3px}
.cloud-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:13px}
.cloud-actions>.btn{white-space:normal;min-width:0}
.cloud-note{font-size:10px;color:#8796a8;line-height:1.65;margin:0}
.cloud-warning{border:1px solid #ffe0ae;background:#fffbf1;color:#916120;padding:11px;border-radius:10px;line-height:1.55;font-size:11px;margin-bottom:12px}
@media(max-width:490px){.cloud-actions{display:grid;grid-template-columns:1fr 1fr}.cloud-actions button:first-child{grid-column:1/-1}.cloud-actions>.btn{padding:10px 8px;font-size:11px}}

/* Status leve do Google Drive sem aumentar complexidade de navegação. */
.cloud-setup-state {margin-top:12px;padding:10px 12px;border:1px solid #d9e3ef;background:#f7faff;border-radius:12px;color:#314564;font-size:12px;font-weight:600;}
