*{box-sizing:border-box}html{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f4f7fa;color:#17212b}body{margin:0;min-height:100vh;background:#f4f7fa}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}.muted{color:#6b7785}.center{text-align:center}.preline{white-space:pre-line;line-height:1.6}.eyebrow{margin:0 0 7px;text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:800;color:var(--primary)}
.topbar{height:68px;background:#fff;border-bottom:1px solid #e8edf2;display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,calc((100vw - 1180px)/2));position:sticky;top:0;z-index:30}.brand{display:flex;align-items:center;gap:10px}.brand img{width:44px;height:44px;object-fit:contain}.brand-mark,.login-mark{display:grid;place-items:center;background:var(--accent);color:var(--primary);font-weight:900;border-radius:11px;width:42px;height:42px}.brand-text{display:flex;flex-direction:column;line-height:1.05}.brand-text strong{font-size:16px;color:var(--primary)}.brand-text small{font-size:11px;color:#73808d;margin-top:4px}.topbar-actions{display:flex;align-items:center;gap:6px}.topbar-actions form{margin:0}.icon-btn{border:0;background:#f2f5f8;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;color:#4b5a68;font-weight:800}
.app-container{max-width:1180px;margin:0 auto;padding:34px 18px 108px}.app-container.narrow{max-width:820px}.app-container.narrow-wide{max-width:980px}.hero-row,.page-heading,.quote-detail-head,.client-profile{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.hero-row h1,.page-heading h1,.quote-detail-head h1,.client-profile h1{margin:0;font-size:32px;line-height:1.12;letter-spacing:-.03em}.hero-row .muted,.page-heading .muted{margin:8px 0 0}.page-heading{margin-bottom:24px}.page-heading.compact{margin-bottom:18px}.desktop-action{margin-top:8px}.back-link{display:inline-flex;margin-bottom:18px;font-size:13px;font-weight:700;color:#617080}.btn{border:0;border-radius:12px;min-height:44px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;font-weight:750;gap:8px;transition:.15s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--primary);color:#fff;box-shadow:0 8px 18px rgba(20,54,86,.12)}.btn-light{background:#eef2f5;color:#33404d}.btn-danger{background:#fee2e2;color:#991b1b}.btn-whatsapp{background:#1f9d57;color:#fff}.btn-block{width:100%}.btn-large{min-height:54px;font-size:16px}.dashed{border:1px dashed #c4cdd6;background:#fafcfd}
.mobile-new-quote{display:none}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:26px 0 34px}.stat-card{background:#fff;border:1px solid #e6ebef;border-radius:18px;padding:20px;box-shadow:0 8px 30px rgba(31,49,66,.04)}.stat-card span{display:block;font-size:12px;color:#6f7c89;font-weight:650}.stat-card strong{display:block;font-size:26px;line-height:1.1;margin:10px 0 8px;letter-spacing:-.03em;color:#1e2935}.stat-card small{color:#87929d}.stat-card.highlight{background:var(--primary);border-color:var(--primary)}.stat-card.highlight span,.stat-card.highlight small{color:rgba(255,255,255,.72)}.stat-card.highlight strong{color:#fff}.section-block{margin-top:28px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:13px}.section-heading h2{font-size:18px;margin:0 0 3px}.section-heading p{font-size:12px;color:#7c8995;margin:0}.section-heading>a{font-size:13px;color:var(--primary);font-weight:750}
.list-card{background:#fff;border:1px solid #e6ebef;border-radius:18px;overflow:hidden}.quote-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 18px;border-bottom:1px solid #edf1f4}.quote-row:last-child{border-bottom:0}.quote-row:hover{background:#fafbfd}.quote-main,.quote-side{display:flex;flex-direction:column}.quote-main strong{font-size:14px}.quote-main small{font-size:11px;color:#7c8995;margin-top:5px}.quote-side{text-align:right;align-items:flex-end;gap:6px}.quote-side>strong{font-size:14px}.status{display:inline-flex;align-items:center;border-radius:99px;padding:5px 8px;font-size:10px;font-weight:800;white-space:nowrap}.status-draft{background:#eef2f6;color:#687684}.status-sent{background:#e8f2ff;color:#2463a7}.status-viewed{background:#f0eaff;color:#7141b5}.status-approved{background:#e6f7ed;color:#15753c}.status-rejected{background:#feecec;color:#b52d2d}.status-expired{background:#fff1dc;color:#9d6212}.status-cancelled{background:#eff0f2;color:#5a616b}.status-completed{background:#e0f5f2;color:#14786e}
.panel{background:#fff;border:1px solid #e5eaee;border-radius:18px;padding:22px;box-shadow:0 8px 30px rgba(31,49,66,.035)}.panel h3{font-size:15px;margin-bottom:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid label,.quote-form label,.stack-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:#4a5865}.span-2{grid-column:1/-1}input,select,textarea{width:100%;border:1px solid #d8dfe6;background:#fff;border-radius:11px;padding:11px 12px;outline:0;color:#17212b;min-height:44px}textarea{resize:vertical;line-height:1.5}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 10%,transparent)}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:7px}.field-hint{font-weight:400;color:#7c8995}.check-label{flex-direction:row!important;align-items:center!important}.check-label input{width:18px;height:18px;min-height:0}.search-bar,.filter-bar{display:flex;gap:9px;margin-bottom:18px}.search-bar input,.filter-bar input{flex:1}.search-bar button,.filter-bar button{border:0;border-radius:11px;background:#e9eef3;padding:0 18px;font-weight:700}.filter-bar select{max-width:190px}.empty-state{text-align:center;border:1px dashed #d4dce4;background:#fbfcfd;border-radius:18px;padding:44px 20px;color:#6e7b88}.empty-state>div{font-size:30px;font-weight:800;color:#a0a9b2}.empty-state h3,.empty-state h1{color:#25313d;margin:9px 0 7px}.empty-state p{margin-bottom:18px}.empty-state.small{padding:25px}.empty-state.full{margin-top:70px}.cards-grid{display:grid;gap:12px}.client-grid{grid-template-columns:repeat(2,1fr)}.entity-card{background:#fff;border:1px solid #e5eaee;border-radius:16px;padding:16px;display:flex;align-items:center;gap:13px}.entity-card:hover{border-color:#cbd5df}.avatar{width:43px;height:43px;border-radius:13px;background:color-mix(in srgb,var(--primary) 11%,white);color:var(--primary);display:grid;place-items:center;font-weight:850;flex:none}.avatar.large{width:60px;height:60px;font-size:20px}.entity-main{display:flex;flex-direction:column;min-width:0;flex:1}.entity-main strong{font-size:14px}.entity-main small{font-size:11px;color:#7b8793;margin:4px 0}.entity-main span{font-size:10px;color:#95a0aa}.entity-card>b{color:#a4adb5}.client-profile{background:#fff;border:1px solid #e5eaee;border-radius:18px;padding:22px;margin-bottom:18px;align-items:center}.client-profile>div:nth-child(2){flex:1}.profile-actions{display:flex;gap:8px}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.details-list{display:grid;grid-template-columns:120px 1fr;gap:10px 16px;margin:0;font-size:13px}.details-list dt{color:#7b8793}.details-list dd{margin:0;color:#2e3944;line-height:1.5}
.add-service{margin-bottom:14px}.add-service summary,.service-card summary{cursor:pointer;list-style:none;font-weight:800}.add-service summary::-webkit-details-marker,.service-card summary::-webkit-details-marker{display:none}.add-service[open] summary{margin-bottom:20px}.compact-form{margin-top:20px}.service-list{display:grid;gap:10px}.service-card{padding:0}.service-card summary{padding:17px 19px;display:flex;justify-content:space-between;align-items:center;gap:15px}.service-card summary>div:first-child{display:flex;flex-direction:column;gap:5px}.service-category{font-size:10px;color:#7f8a95;text-transform:uppercase;letter-spacing:.07em}.service-price{display:flex;align-items:center;gap:9px;font-size:12px;color:#5f6c78}.service-card form{padding:0 19px 19px;border-top:1px solid #edf1f4}.dot{width:8px;height:8px;border-radius:50%;display:inline-block}.dot.on{background:#22a65a}.dot.off{background:#b9c1c8}
.quote-form{display:grid;gap:14px}.form-section{padding:22px}.section-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:20px}.section-title>span{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:var(--primary);color:#fff;font-size:12px;font-weight:800;flex:none}.section-title h2{font-size:17px;margin:1px 0 4px}.section-title p{font-size:11px;color:#7d8994;margin:0}.inline-field{display:flex;gap:10px}.inline-field select{flex:1}.quote-items{display:grid;gap:12px;margin-bottom:12px}.quote-item{border:1px solid #e5eaee;border-radius:15px;padding:16px;background:#fbfcfd;display:grid;gap:12px}.item-top{display:flex;justify-content:space-between;align-items:center}.item-top strong{font-size:12px;color:#5d6975}.remove-item{border:0;background:transparent;color:#b43b3b;font-size:11px;font-weight:750}.item-values{display:grid;grid-template-columns:90px 1fr 140px;gap:10px;align-items:end}.item-total{background:#eef3f7;border-radius:11px;padding:9px 12px;min-height:44px;display:flex;flex-direction:column;align-items:flex-end;justify-content:center}.item-total span{font-size:9px;color:#73808c}.item-total strong{font-size:13px}.quote-summary{max-width:440px;margin:20px 0 0 auto;border-top:1px solid #e6eaee;padding-top:10px}.quote-summary>div{display:flex;justify-content:space-between;padding:6px 0;font-size:12px;color:#63707c}.quote-summary .grand-total{margin-top:6px;padding:13px 14px;background:var(--primary);color:#fff;border-radius:12px;font-size:14px}.quote-summary .grand-total strong{font-size:18px}.payment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:18px}.payment-option{display:block!important}.payment-option input{position:absolute;opacity:0;pointer-events:none}.payment-option span{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #dfe5ea;border-radius:11px;background:#fff;color:#53606d}.payment-option input:checked+span{background:color-mix(in srgb,var(--primary) 9%,white);border-color:var(--primary);color:var(--primary);font-weight:800}.sticky-submit{position:sticky;bottom:82px;background:rgba(255,255,255,.95);border:1px solid #dee5eb;box-shadow:0 12px 35px rgba(24,39,52,.12);border-radius:16px;padding:11px 12px;display:flex;justify-content:space-between;align-items:center;backdrop-filter:blur(10px);z-index:15}.sticky-submit>div{display:flex;flex-direction:column}.sticky-submit small{font-size:9px;color:#7e8994}.sticky-submit strong{font-size:18px}
.quote-detail-head{margin-bottom:18px;align-items:center}.head-inline{display:flex;align-items:center;gap:9px}.head-inline .eyebrow{margin:0}.quote-detail-head h1{margin-top:7px}.detail-actions{display:flex;gap:8px}.quote-preview{padding:0;overflow:hidden}.preview-top{display:flex;justify-content:space-between;padding:22px;border-bottom:1px solid #edf1f4}.preview-top>div:first-child{display:flex;flex-direction:column}.preview-top span{font-size:10px;color:#7b8792;margin-bottom:5px}.preview-top strong{font-size:15px}.preview-top small{font-size:11px;color:#87919a;margin-top:4px}.preview-total{text-align:right}.preview-total strong{font-size:24px;color:var(--primary)}.preview-items{padding:8px 22px}.preview-items>div{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #eef1f4}.preview-items>div:last-child{border:0}.preview-items>div>div{display:flex;flex-direction:column}.preview-items strong{font-size:12px}.preview-items small{font-size:10px;color:#84909b;margin-top:4px}.preview-summary{background:#f8fafb;padding:15px 22px}.preview-summary>div{display:flex;justify-content:space-between;padding:5px 0;font-size:11px}.preview-summary .total{font-size:15px;padding-top:10px;border-top:1px solid #dfe5e9;margin-top:7px;color:var(--primary)}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.action-card{border:1px solid #e2e8ed;background:#fff;border-radius:15px;padding:16px;display:flex;align-items:center;text-align:left;gap:12px}.action-card>span{width:38px;height:38px;border-radius:11px;background:#eff3f6;display:grid;place-items:center;font-weight:850;color:#53616e;flex:none}.action-card>div{display:flex;flex-direction:column}.action-card strong{font-size:12px}.action-card small{font-size:10px;color:#83909b;margin-top:4px}.action-card.primary{background:var(--primary);border-color:var(--primary);color:#fff}.action-card.primary>span{background:rgba(255,255,255,.14);color:#fff}.action-card.primary small{color:rgba(255,255,255,.7)}.action-card.whatsapp>span{background:#e3f7eb;color:#158248}.status-panel{margin-top:14px;display:flex;align-items:center;justify-content:space-between}.status-panel h3{margin:0}.status-form{display:flex;gap:8px}.timeline{display:grid;gap:0}.timeline-item{display:flex;gap:13px;position:relative;padding-bottom:17px}.timeline-item:not(:last-child):before{content:"";position:absolute;width:1px;background:#dce3e8;left:5px;top:12px;bottom:0}.timeline-item i{width:11px;height:11px;background:var(--primary);border:3px solid #dce9f4;border-radius:50%;margin-top:2px;z-index:1}.timeline-item>div{display:flex;flex-direction:column}.timeline-item strong{font-size:11px}.timeline-item small{font-size:9px;color:#87929d;margin-top:3px}.danger-zone{margin-top:28px;color:#8d3f3f;font-size:11px}.danger-zone summary{cursor:pointer;margin-bottom:10px}
.settings-section{border-bottom:1px solid #edf1f4;padding:4px 0 10px;margin-bottom:2px}.settings-section h2{font-size:16px;margin:0 0 4px}.settings-section p{margin:0;color:#7c8792;font-size:11px}.logo-preview{border:1px dashed #d5dde4;border-radius:12px;padding:15px}.logo-preview img{max-height:70px;max-width:220px}.password-panel{margin-top:14px}.alert{padding:12px 15px;border-radius:12px;margin-bottom:15px;font-size:12px}.alert-success{background:#e8f7ed;color:#176e3b;border:1px solid #c7ebd3}.alert-danger{background:#feeeee;color:#a72828;border:1px solid #f4cece}.error-box{text-align:left;white-space:pre-wrap;background:#151b21;color:#eef2f4;padding:12px;border-radius:10px;max-width:900px;overflow:auto}
.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(150deg,var(--primary),#0c2339)}.login-card{width:min(100%,420px);background:#fff;border-radius:24px;padding:32px;box-shadow:0 30px 70px rgba(0,0,0,.2)}.login-brand{text-align:center;margin-bottom:25px}.login-brand img{max-height:70px;max-width:190px;margin-bottom:14px}.login-mark{margin:0 auto 14px;width:60px;height:60px;font-size:21px;border-radius:16px}.login-brand h1{font-size:24px;margin:0 0 7px}.login-brand p{color:#7d8995;font-size:12px}.stack-form{display:grid;gap:15px}.login-card>.muted{display:block;margin-top:20px;font-size:10px}
.bottom-nav{position:fixed;z-index:50;bottom:0;left:0;right:0;height:72px;padding:6px max(10px,calc((100vw - 640px)/2));background:rgba(255,255,255,.96);border-top:1px solid #e1e7ec;display:none;grid-template-columns:repeat(5,1fr);padding-bottom:max(6px,env(safe-area-inset-bottom));backdrop-filter:blur(15px)}.bottom-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;color:#84909b}.bottom-nav span{font-size:20px;line-height:1}.bottom-nav small{font-size:9px;font-weight:650}.bottom-nav a.active{color:var(--primary)}.bottom-nav .nav-create{transform:translateY(-14px)}.bottom-nav .nav-create span{background:var(--primary);color:#fff;width:48px;height:48px;border-radius:16px;display:grid;place-items:center;box-shadow:0 8px 20px rgba(20,54,86,.25)}.bottom-nav .nav-create small{color:var(--primary)}
.public-body{background:#edf2f5}.public-header{height:72px;background:var(--primary);padding:0 max(18px,calc((100vw - 720px)/2));display:flex;align-items:center;justify-content:space-between;color:#fff}.public-brand{display:flex;align-items:center;gap:10px}.public-brand img{width:42px;height:42px;object-fit:contain;background:#fff;border-radius:10px;padding:3px}.public-brand>div{display:flex;flex-direction:column}.public-brand strong{font-size:12px}.public-brand small{font-size:9px;color:rgba(255,255,255,.7);margin-top:3px}.public-number{font-size:10px;background:rgba(255,255,255,.12);padding:7px 9px;border-radius:8px}.public-container{max-width:720px;margin:0 auto;padding:28px 16px 50px}.public-intro{padding:8px 4px 18px}.public-intro p{font-size:12px;color:#667582;margin-bottom:8px}.public-intro h1{font-size:27px;letter-spacing:-.03em;margin:0 0 7px}.public-intro>span{font-size:12px;color:#7a8792}.public-card{background:#fff;border:1px solid #e0e6eb;border-radius:18px;margin-bottom:12px;overflow:hidden}.public-card-head{padding:17px 18px;display:flex;justify-content:space-between;background:#f8fafb;border-bottom:1px solid #e8edf1}.public-card-head>div{display:flex;flex-direction:column}.public-card-head small{font-size:9px;color:#82909c;margin-bottom:4px}.public-card-head strong{font-size:11px}.public-items{padding:8px 18px}.public-item{display:flex;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid #edf1f4}.public-item:last-child{border-bottom:0}.public-item>div{display:flex;flex-direction:column}.public-item strong{font-size:12px}.public-item small{font-size:9px;color:#84909a;margin-top:4px}.public-totals{background:#f8fafb;padding:14px 18px}.public-totals>div{display:flex;justify-content:space-between;font-size:11px;padding:5px 0}.public-totals .grand{border-top:1px solid #dce3e8;margin-top:7px;padding-top:12px;color:var(--primary);font-size:16px}.public-conditions{padding:20px}.public-conditions h2{font-size:15px}.public-conditions dl{display:grid;grid-template-columns:115px 1fr;gap:9px;margin:0;font-size:11px}.public-conditions dt{color:#7b8792}.public-conditions dd{margin:0;line-height:1.45}.public-note{border-top:1px solid #e8ecef;margin-top:17px;padding-top:14px;font-size:11px}.public-note p{margin:6px 0 0;color:#687581;line-height:1.55;white-space:pre-line}.public-actions{display:grid;gap:9px;margin-top:16px}.public-reject{border:0;background:transparent;color:#8a5860;width:100%;padding:9px;font-size:10px}.public-footer{text-align:center;display:flex;flex-direction:column;gap:5px;padding:28px 0 0;color:#71808c}.public-footer strong{font-size:11px}.public-footer span{font-size:9px}.public-message{padding:13px 15px;border-radius:13px;margin-bottom:14px;display:flex;flex-direction:column;gap:4px;font-size:11px}.public-message.success{background:#e5f7ec;color:#176f3b}.public-message.neutral{background:#f2f4f6;color:#586570}
@media(max-width:760px){.topbar{height:60px;padding:0 14px}.brand img{width:38px;height:38px}.brand-mark{width:38px;height:38px}.app-container{padding:22px 13px 104px}.hero-row h1,.page-heading h1,.quote-detail-head h1,.client-profile h1{font-size:25px}.desktop-action{display:none}.mobile-new-quote{display:flex;align-items:center;background:var(--primary);color:#fff;border-radius:17px;padding:15px;margin:20px 0;gap:12px}.mobile-new-quote>span{width:37px;height:37px;border-radius:11px;background:rgba(255,255,255,.14);display:grid;place-items:center;font-size:22px}.mobile-new-quote>div{display:flex;flex-direction:column;flex:1}.mobile-new-quote strong{font-size:13px}.mobile-new-quote small{font-size:9px;color:rgba(255,255,255,.67);margin-top:3px}.stats-grid{grid-template-columns:1fr 1fr;margin:16px 0 27px;gap:9px}.stat-card{padding:15px;border-radius:15px}.stat-card strong{font-size:20px}.stat-card.highlight{grid-column:1/-1}.bottom-nav{display:grid}.page-heading{align-items:center}.page-heading>.btn{font-size:0;width:44px;padding:0}.page-heading>.btn:after{content:'+';font-size:22px}.client-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.form-actions.span-2{grid-column:auto}.panel{padding:17px;border-radius:15px}.inline-field{flex-direction:column}.inline-field .btn{width:100%}.item-values{grid-template-columns:80px 1fr}.item-total{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center}.payment-grid{grid-template-columns:1fr 1fr}.sticky-submit{bottom:79px}.quote-detail-head,.client-profile{align-items:flex-start}.quote-detail-head{flex-direction:column;gap:13px}.detail-actions{width:100%}.detail-actions .btn{flex:1}.action-grid{grid-template-columns:1fr}.info-grid{grid-template-columns:1fr}.client-profile{display:grid;grid-template-columns:auto 1fr}.profile-actions{grid-column:1/-1;width:100%}.profile-actions .btn{flex:1}.details-list{grid-template-columns:100px 1fr}.status-panel{align-items:flex-start;flex-direction:column;gap:12px}.status-form{width:100%}.status-form select{flex:1}.filter-bar{display:grid;grid-template-columns:1fr auto}.filter-bar input{grid-column:1/-1}.filter-bar select{max-width:none}.quote-row{padding:15px}.quote-main{min-width:0}.quote-main strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}.login-card{padding:25px 20px}.public-container{padding-top:20px}}
@media(min-width:761px){.bottom-nav{display:none}.sticky-submit{bottom:18px}}
/* v1.1 - navegação e gestão de serviços */
.desktop-nav{display:flex;align-items:center;gap:6px;margin-left:auto;margin-right:18px}.desktop-nav a{padding:9px 12px;border-radius:9px;font-size:12px;font-weight:700;color:#697783}.desktop-nav a:hover,.desktop-nav a.active{background:#eef3f7;color:var(--primary)}
.service-create-panel{margin-bottom:24px}.service-section-title{display:flex;align-items:center;gap:13px;margin-bottom:2px}.service-section-title h2{font-size:17px;margin:0 0 4px}.service-section-title p{font-size:11px;color:#7c8995;margin:0}.service-add-icon{width:42px;height:42px;border-radius:12px;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:23px;font-weight:800}.service-main-info small{font-size:9px;color:#8a96a1}.service-summary-actions{display:flex;align-items:center;gap:15px}.service-price strong{font-size:12px;color:#374553}.service-edit-label{font-size:10px;font-weight:800;color:var(--primary);background:#edf3f8;border-radius:8px;padding:7px 9px}.service-card[open] .service-edit-label{background:var(--primary);color:#fff}.service-edit-form{padding-top:18px!important}
.public-brand-logo-white{width:64px!important;height:50px!important;object-fit:contain!important;background:transparent!important;border-radius:0!important;padding:0!important}
@media(max-width:760px){.desktop-nav{display:none}.service-create-panel{padding:17px}.service-section-title{align-items:flex-start}.service-summary-actions{flex-direction:column;align-items:flex-end;gap:6px}.service-edit-label{padding:5px 7px}}

/* v1.2 - desktop management navigation + larger mobile bottom navigation */
.desktop-header-center{display:flex;align-items:center;gap:12px;margin-left:auto;margin-right:18px}
.desktop-nav{display:flex;align-items:center;gap:5px;margin:0;padding:4px;background:#f4f7fa;border:1px solid #e8edf2;border-radius:14px}
.desktop-nav a{height:38px;padding:0 13px;border-radius:10px;font-size:12px;font-weight:750;color:#667482;display:flex;align-items:center;gap:7px;transition:.15s ease}
.desktop-nav a:hover{background:#fff;color:var(--primary);box-shadow:0 3px 10px rgba(27,49,69,.06)}
.desktop-nav a.active{background:#fff;color:var(--primary);box-shadow:0 3px 12px rgba(27,49,69,.08)}
.desktop-nav-icon{font-size:15px;line-height:1;opacity:.9}
.desktop-create-menu{position:relative}
.desktop-create-menu summary{height:46px;padding:0 16px;border-radius:12px;background:var(--primary);color:#fff;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800;cursor:pointer;list-style:none;box-shadow:0 7px 17px rgba(20,54,86,.14)}
.desktop-create-menu summary::-webkit-details-marker{display:none}
.desktop-create-menu summary span{font-size:17px}
.desktop-create-dropdown{position:absolute;top:54px;right:0;width:265px;background:#fff;border:1px solid #e4eaf0;border-radius:15px;padding:7px;box-shadow:0 18px 45px rgba(24,44,64,.16);z-index:70}
.desktop-create-dropdown a{display:flex;align-items:center;gap:11px;padding:11px;border-radius:11px;color:#263544}
.desktop-create-dropdown a:hover{background:#f3f6f9}
.desktop-create-dropdown>a>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#eef3f7;color:var(--primary);font-size:17px;flex:none}
.desktop-create-dropdown div{display:flex;flex-direction:column;gap:2px}
.desktop-create-dropdown strong{font-size:12px}
.desktop-create-dropdown small{font-size:9px;color:#84909b}
.desktop-only-action{white-space:nowrap}
.desktop-client-card{justify-content:space-between;padding:14px 15px}
.client-card-main{display:flex;align-items:center;gap:13px;min-width:0;flex:1}
.desktop-client-actions{display:flex;align-items:center;gap:6px;margin-left:10px}
.mini-action{height:34px;padding:0 10px;border-radius:9px;background:#f0f4f7;color:#566574;display:flex;align-items:center;font-size:10px;font-weight:800;white-space:nowrap}
.mini-action:hover{background:#e5ebf0;color:var(--primary)}
.mini-action.primary{background:color-mix(in srgb,var(--primary) 9%,white);color:var(--primary)}
.mini-action.primary:hover{background:var(--primary);color:#fff}
.client-card-arrow{width:30px;height:34px;border-radius:9px;display:grid;place-items:center;color:#8b97a2;font-size:22px}
.client-card-arrow:hover{background:#f0f4f7;color:var(--primary)}

@media(max-width:980px) and (min-width:761px){
  .desktop-nav a{padding:0 9px}
  .desktop-nav-icon{display:none}
  .desktop-create-menu summary{padding:0 12px}
  .brand-text{display:none}
}

@media(max-width:760px){
  .desktop-header-center,.desktop-nav,.desktop-create-menu,.desktop-only-action{display:none!important}
  .topbar{height:64px;padding:0 14px}
  .brand img{width:42px;height:42px}
  .brand-text strong{font-size:17px}.brand-text small{font-size:11px}
  .icon-btn{width:40px;height:40px}
  .bottom-nav{height:80px;padding-top:7px;padding-bottom:max(8px,env(safe-area-inset-bottom))}
  .bottom-nav a{gap:4px;min-height:58px}
  .bottom-nav span{font-size:23px}
  .bottom-nav small{font-size:10px;font-weight:750}
  .bottom-nav .nav-create{transform:translateY(-15px)}
  .bottom-nav .nav-create span{width:53px;height:53px;border-radius:17px;font-size:27px}
  .app-container{padding-bottom:116px}
  .sticky-submit{bottom:87px}
  .desktop-client-card{padding:0;display:block;position:relative}
  .client-card-main{padding:16px;width:100%}
  .desktop-client-actions{display:none}
}

/* v1.3 - header refinado, sem nome redundante, menu desktop coerente e mobile sem menu superior */
.topbar{height:76px;padding:0 18px;background:#fff;border-bottom:1px solid #e5ebf0}
.topbar-shell{width:100%;max-width:1440px;margin:0 auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.brand-logo-only{justify-self:start;display:flex;align-items:center;width:auto;min-width:72px}
.brand-logo-only img{width:64px;height:54px;object-fit:contain;display:block}
.desktop-header-center,.desktop-create-menu,.desktop-nav{display:none!important}
.desktop-nav-clean{justify-self:center;display:flex;align-items:center;gap:6px;padding:5px;background:#f5f7f9;border:1px solid #e7ecf0;border-radius:15px}
.desktop-nav-clean a{height:42px;padding:0 14px;border-radius:11px;display:flex;align-items:center;gap:8px;color:#687684;font-size:13px;font-weight:700;white-space:nowrap;transition:background .15s ease,color .15s ease,box-shadow .15s ease}
.desktop-nav-clean a svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.desktop-nav-clean a:hover{background:#fff;color:var(--primary)}
.desktop-nav-clean a.active{background:#fff;color:var(--primary);box-shadow:0 3px 12px rgba(25,48,69,.08)}
.topbar-actions{justify-self:end;display:flex;align-items:center;gap:7px}
.topbar-actions form{margin:0}
.icon-btn-clean{width:42px;height:42px;border:0;border-radius:12px;background:#f3f6f8;color:#52616f;display:grid;place-items:center;transition:.15s ease}
.icon-btn-clean:hover{background:#e9eff4;color:var(--primary)}
.icon-btn-clean svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Ações administrativas ficam nas próprias telas no desktop */
.desktop-client-actions{display:flex;align-items:center;gap:7px;margin-left:12px}
.desktop-client-card{min-height:82px}
.page-heading>.btn{white-space:nowrap}

/* Navegação inferior limpa e ligeiramente maior */
.bottom-nav-clean svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bottom-nav-clean .nav-create-circle svg{width:25px;height:25px;stroke:#fff;stroke-width:2}

@media(max-width:980px) and (min-width:761px){
  .topbar-shell{gap:12px}
  .desktop-nav-clean{gap:3px}
  .desktop-nav-clean a{padding:0 10px;font-size:12px;gap:6px}
  .desktop-nav-clean a svg{width:16px;height:16px}
  .brand-logo-only img{width:58px;height:50px}
}

@media(max-width:760px){
  .topbar{height:68px!important;padding:0 14px!important}
  .topbar-shell{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
  .desktop-nav-clean,.desktop-header-center,.desktop-nav,.desktop-create-menu{display:none!important}
  .brand-logo-only{min-width:0!important;flex:0 0 auto!important}
  .brand-logo-only img{width:58px!important;height:50px!important}
  .brand-text{display:none!important}
  .topbar-actions{margin-left:auto!important}
  .icon-btn-clean{width:42px;height:42px;border-radius:12px}

  .bottom-nav.bottom-nav-clean{display:grid!important;height:84px!important;padding-top:8px!important;padding-bottom:max(9px,env(safe-area-inset-bottom))!important;grid-template-columns:repeat(5,1fr)!important}
  .bottom-nav-clean a{min-height:60px!important;gap:5px!important}
  .bottom-nav-clean>a>svg{width:23px!important;height:23px!important}
  .bottom-nav-clean small{font-size:10.5px!important;font-weight:700!important}
  .bottom-nav-clean .nav-create{transform:translateY(-14px)!important}
  .bottom-nav-clean .nav-create-circle{width:54px!important;height:54px!important;border-radius:17px!important;background:var(--primary)!important;color:#fff!important;display:grid!important;place-items:center!important;box-shadow:0 9px 22px rgba(20,54,86,.24)!important}
  .bottom-nav-clean .nav-create>svg{display:none!important}
  .bottom-nav-clean .nav-create small{color:var(--primary)!important;margin-top:1px!important}
  .app-container{padding-bottom:120px!important}
  .sticky-submit{bottom:91px!important}
}
