/* Fiscal Studio | Ouvir & Sorrir · premium glass/ink visual · desktop e mobile */
.fiscal-new-badge{margin-left:auto;font-size:9px;letter-spacing:.13em;color:#9af1cf;background:#124e50;border:1px solid #367e79;padding:4px 7px;border-radius:10px;font-weight:850}
.fs-app{color:#16384b;animation:fs-enter .27s ease-out}.fs-app *,.fs-dialog *{box-sizing:border-box}.fs-app h2,.fs-dialog h2{font-size:22px;letter-spacing:-.035em;color:#163c52;margin:6px 0 8px}.fs-app p,.fs-dialog p{line-height:1.6;color:#6b8594;margin:0}.fs-app button,.fs-dialog button{cursor:pointer}
@keyframes fs-enter{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.fs-hero{min-height:246px;background:linear-gradient(112deg,#06283e 0%,#0e5064 63%,#087e79 100%);border-radius:28px;position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;padding:36px 43px;box-shadow:0 20px 45px rgba(2,38,54,.16);border:1px solid #3c8984}
.fs-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(110deg,rgba(14,44,63,.25),transparent),repeating-linear-gradient(90deg,transparent 0 38px,rgba(217,254,240,.035) 39px 40px);pointer-events:none}
.fs-hero-shine{position:absolute;inset:auto -120px -350px auto;width:590px;height:640px;border-radius:50%;background:radial-gradient(circle,rgba(125,247,207,.36),transparent 70%);z-index:-1}
.fs-hero-copy{z-index:2;max-width:710px}.fs-chip{display:inline-flex;align-items:center;gap:10px;border:1px solid rgba(182,249,224,.35);background:rgba(134,253,227,.10);border-radius:30px;padding:8px 13px;color:#b8f5e4;font-size:11px;font-weight:850;letter-spacing:.16em;backdrop-filter:blur(10px)}.fs-live-dot{width:7px;height:7px;box-shadow:0 0 0 5px rgba(119,233,186,.12);background:#93fac6;border-radius:100%}
.fs-hero h1{font-size:clamp(30px,3.15vw,49px);letter-spacing:-.065em;line-height:1.09;font-weight:870;margin:24px 0 11px;color:#fff}.fs-hero p{font-size:16px;line-height:1.65;color:#d3e7ec;max-width:600px}.fs-hero-caption{color:#89d8d1;font-size:11px;letter-spacing:.065em;margin-top:25px;display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-weight:700}.fs-hero-caption span{color:#e5c996}
.fs-hero-graphic{height:172px;width:192px;display:grid;place-items:center;position:relative;flex-shrink:0;margin-right:46px}.fs-hero-graphic:before{content:'';inset:24px;border-radius:36px;background:linear-gradient(135deg,rgba(232,254,241,.14),rgba(119,244,217,.20));border:1px solid rgba(185,255,237,.45);box-shadow:inset 0 2px 16px rgba(242,255,254,.12),0 15px 60px rgba(10,23,30,.22);position:absolute;transform:rotate(-12deg)}.fs-hero-graphic>span{z-index:2;color:#dcfff4;font-size:90px;font-family:Georgia,serif;font-style:italic;filter:drop-shadow(0 10px 12px #09455188)}.fs-orbit{position:absolute;border:1px solid rgba(169,255,225,.30);border-radius:50%;width:200px;height:200px}.fs-orbit.b{width:254px;height:254px;opacity:.6}
.fs-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.fs-metric{background:#fff;border:1px solid #dce9ef;border-radius:21px;min-height:162px;padding:20px;box-shadow:0 9px 31px rgba(10,45,68,.048);position:relative;overflow:hidden}.fs-metric:before{content:'';width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,rgba(179,235,218,.14),transparent 68%);position:absolute;right:-70px;top:-75px}.fs-metric-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.fs-metric-top span{font-size:11px;letter-spacing:.095em;color:#748c9a;font-weight:860}.fs-metric-top b{border-radius:12px;display:grid;place-items:center;background:#e9f8f4;width:39px;height:39px;color:#128576;font-size:19px}.fs-metric>strong{font-size:39px;font-weight:850;letter-spacing:-.06em;display:block;line-height:1.3;color:#133c54;margin:13px 0 0;white-space:nowrap}.fs-metric>strong.fs-metric-currency{font-size:clamp(18px,2vw,29px)}.fs-metric small{font-size:12px;color:#74909d}
.fs-toolbar{display:flex;flex-wrap:wrap;gap:15px;justify-content:space-between;align-items:center;margin:23px 0 17px}.fs-tabs{display:flex;flex-wrap:wrap;gap:5px;background:#fff;border-radius:15px;padding:5px;border:1px solid #dce8ee;box-shadow:0 8px 22px #15476408}.fs-tab{border:0;background:transparent;border-radius:11px;min-height:40px;color:#5b788b;font-size:13px;padding:10px 14px;font-weight:750}.fs-tab:hover{background:#eef8f7}.fs-tab.active{background:#11495a;color:white;box-shadow:0 5px 13px #0a536129}.fs-actions{display:flex;gap:9px;flex-wrap:wrap}.fs-actions .button{min-height:44px}
.fs-overview{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(275px,.8fr);align-items:start;gap:17px}.fs-card{padding:26px;background:#fff;border-radius:23px;border:1px solid #dce8ec;box-shadow:0 13px 36px rgba(9,49,73,.053);margin-bottom:17px;min-width:0}.fs-card h2{font-size:23px}.fs-row-between{display:flex;align-items:center;justify-content:space-between;gap:17px;margin-bottom:20px}.fs-row-between h2{margin-bottom:6px}.fs-wrap{flex-wrap:wrap}.fs-kicker{color:#0b8b7d;font-weight:850;font-size:11px;letter-spacing:.15em}.fs-link,.fs-light-link{border:0;background:transparent;font-size:13px;color:#078376;font-weight:830;white-space:nowrap}.fs-light-link{color:#a5f6e6;padding:8px 0}.fs-side-stack{min-width:0}.fs-dark-card{background:linear-gradient(125deg,#0a354e,#0a6a6d);color:#eafff7;border:1px solid #24877f;padding:31px}.fs-dark-card>span{font-size:11px;letter-spacing:.11em;font-weight:800;color:#b0eae0}.fs-dark-card>strong{font-size:clamp(28px,3vw,39px);font-weight:800;display:block;margin:20px 0 4px;letter-spacing:-.04em}.fs-dark-card>p{color:#c5e0e1;margin-bottom:22px}
.fs-doc-row{display:flex;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid #e6eff1}.fs-doc-row:last-child{border-bottom:none}.fs-iconbox{width:43px;height:43px;display:grid;place-items:center;background:linear-gradient(135deg,#e5f8f0,#edf5fe);border-radius:14px;color:#178675;font-size:22px;flex:0 0 auto}.fs-doc-description{flex:1;min-width:0}.fs-doc-description b{display:block;color:#21465a;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fs-doc-description small{display:block;color:#7893a1;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.fs-doc-amount{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:5px}.fs-doc-amount strong{font-size:15px;white-space:nowrap;color:#174358}.fs-status{font-size:10px;font-weight:850;letter-spacing:.02em;padding:5px 9px;border-radius:40px;display:inline-block;white-space:nowrap;background:#f2f5f7;color:#5e7181}.fs-status.ok{background:#e3f8ee;color:#0c7751}.fs-status.draft{background:#eef3fc;color:#4265a1}.fs-status.pending{background:#fff2dc;color:#996517}.fs-status.bad{background:#fff0ee;color:#ab4142}.fs-circle{border:1px solid #dce9ee;background:#f9fcfd;border-radius:13px;width:37px;height:37px;color:#0e736f;font-size:18px}
.fs-empty{padding:55px 20px;text-align:center;color:#7b95a4}.fs-empty>span{font-size:35px;display:block;color:#1a9588;margin-bottom:10px}.fs-empty b{display:block;color:#1d5064;font-size:17px;margin-bottom:5px}.fs-step{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e8f0f1}.fs-step:last-child{border-bottom:0}.fs-step i{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;font-size:11px;color:#057468;font-weight:900;font-style:normal;background:#e9f8f2}.fs-step p{font-size:13px;font-weight:650;color:#4d6979}
.fs-search{display:flex;gap:8px;align-items:center;border:1px solid #d8e6eb;border-radius:13px;min-height:43px;padding:0 14px;background:#f9fcfe;color:#0a867f}.fs-search input{border:0!important;outline:0!important;background:transparent!important;font-size:13px;color:#153d55;min-width:185px;min-height:40px;width:100%}.fs-doc-actions{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 14px 58px}.fs-doc-item:not(:last-child){border-bottom:1px solid #eaf0f2}.fs-doc-item>.fs-doc-row{border-bottom:0}.fs-table-scroll{overflow-x:auto;border:1px solid #e0ecee;border-radius:15px}.fs-table{border-collapse:collapse;width:100%;text-align:left;font-size:13px;min-width:700px}.fs-table th{background:#f4fafb;font-size:11px;letter-spacing:.075em;text-transform:uppercase;color:#678494;font-weight:850;padding:16px 13px}.fs-table td{padding:16px 13px;border-top:1px solid #e9f0f2;vertical-align:middle;color:#45667a}.fs-table td b,.fs-table td strong{color:#173f56}.fs-table td small{display:block;margin-top:3px;color:#89a0ac}.fs-table .fs-right{text-align:right}.fs-small-actions{display:flex;gap:5px}.fs-table .button{white-space:nowrap}
.fs-filterbar{display:flex;align-items:end;flex-wrap:wrap;gap:13px;margin:20px 0}.fs-filterbar>label:not(.fs-search){font-size:12px;font-weight:750;color:#617888;display:grid;gap:6px}.fs-filterbar select{border:1px solid #dbe8ed;border-radius:12px;padding:10px 15px;background:white;color:#153f54;min-height:44px}.fs-code-search{flex:1}.fs-catalog-list{border:1px solid #e2eeef;border-radius:15px;overflow:hidden;max-height:580px;overflow-y:auto}.fs-catalog-row{display:grid;grid-template-columns:100px 1fr 160px;gap:15px;padding:16px 17px;border-bottom:1px solid #e8f0f2;align-items:center;font-size:13px;color:#456b7d}.fs-catalog-row:last-child{border:0}.fs-catalog-row b{color:#066f6a;font-family:ui-monospace,monospace}.fs-catalog-row small{font-size:11px;color:#889ea7}.fs-info-block{border:1px solid #cfe7e1;background:linear-gradient(130deg,#f1fbf7,#f6fafc);padding:17px 20px;border-radius:15px;margin-top:22px}.fs-info-block strong,.fs-info-block b{color:#16665c}.fs-info-block p{font-size:13px;margin-top:6px}.fs-links{display:flex;gap:20px;flex-wrap:wrap;margin-top:10px}.fs-links a{font-size:13px;font-weight:800;color:#0a847d;text-decoration:none}.fs-integration{display:flex;justify-content:space-between;gap:10px;padding:14px 0;border-bottom:1px solid #e6eeee;font-size:13px}.fs-integration span{color:#486a79}.fs-integration b{color:#9a721e;white-space:nowrap}.fs-update-status{font-size:12px;color:#667d8a;margin-top:13px}.fs-note{font-size:12px;color:#7d909b!important;line-height:1.6}.fs-disclaimer{font-size:12px;color:#758d9b!important;padding:11px 16px;background:rgba(255,255,255,.5);border:1px solid #e0ebee;border-radius:13px;margin:20px 0}.fs-alert{color:#974c23!important;background:#fff2e9;border:1px solid #f1d1ba;padding:16px 18px;border-radius:15px;margin:12px 0}.fs-success{color:#227456!important;background:#ecf9f3;padding:13px;border-radius:12px}.fs-cert-form{display:grid;gap:16px;margin:22px 0}.fs-cert-form label{display:grid;gap:7px;font-size:13px;font-weight:750;color:#3c6476}.fs-cert-form input{border:1px solid #d8e7ec;border-radius:12px;padding:12px;background:white;min-width:0;width:100%;font-size:14px}.fs-finance-summary{margin-top:20px}
.fs-dialog{width:min(850px,96vw);max-height:min(92dvh,950px);border:1px solid #cfe6e9;background:#faffff;color:#153a51;border-radius:23px;box-shadow:0 30px 100px rgba(3,26,38,.35);padding:0;overflow:hidden}.fs-dialog::backdrop{background:rgba(5,35,50,.69);backdrop-filter:blur(6px)}.fs-dialog>form{display:flex;flex-direction:column;max-height:92dvh}.fs-dialog-header{padding:25px 30px 19px;background:linear-gradient(115deg,#f3fafb,#e7f6f3);display:flex;align-items:start;justify-content:space-between;gap:15px;border-bottom:1px solid #dcebed}.fs-dialog-header h2{font-size:26px;margin:6px 0}.fs-dialog-header p{font-size:13px}.fs-x{border:1px solid #d3e5e9;border-radius:11px;color:#2d6478;background:white;width:40px;height:40px;font-size:25px;line-height:1}.fs-dialog-content{padding:25px 30px;overflow:auto}.fs-dialog-footer{display:flex;gap:10px;align-items:center;justify-content:flex-end;padding:16px 30px;border-top:1px solid #dbecef;background:white}.fs-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.fs-col2{grid-column:1/-1}.fs-form-grid label,.fs-line-row label{display:flex;flex-direction:column;gap:6px;font-size:12px;letter-spacing:.01em;font-weight:800;color:#577285;min-width:0}.fs-form-grid input,.fs-form-grid select,.fs-form-grid textarea,.fs-line-row input,.fs-line-row select{width:100%;border:1px solid #d7e6eb;background:#fff;border-radius:10px;color:#123a52;min-height:43px;padding:10px 12px;font:14px inherit;box-shadow:0 1px 2px #16384b04}.fs-form-grid input:focus,.fs-line-row input:focus,.fs-form-grid select:focus,.fs-line-row select:focus{outline:2px solid #79d9c4;outline-offset:1px}.fs-dialog .fs-note{margin-top:16px}.fs-line-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:25px 0 12px}.fs-line-head h3{font-size:17px;color:#173e53;margin:0 0 5px}.fs-line-head p{font-size:12px}.fs-line-row{border:1px solid #e0ecee;background:#f6fafb;border-radius:12px;padding:12px;display:grid;grid-template-columns:minmax(155px,1.5fr) minmax(140px,2fr) minmax(80px,.7fr) minmax(85px,.9fr) 24px;gap:9px;align-items:end;margin-bottom:10px}.fs-line-row label{font-size:11px}.fs-line-row input,.fs-line-row select{font-size:12px;padding:8px}.fs-line-delete{border:0;background:transparent;font-size:22px;color:#ba6161;min-height:43px}.fs-total-row{display:flex;justify-content:space-between;background:#e9f7f2;border:1px solid #d0eae0;border-radius:12px;padding:15px 18px;color:#38685b;align-items:center}.fs-total-row strong{font-size:20px;color:#096958}.fs-export-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.fs-export-choice{border:1px solid #d9e9ee;background:#fff;box-shadow:0 4px 14px #16486005;text-align:left;border-radius:15px;padding:18px;display:grid;gap:4px}.fs-export-choice:hover{border-color:#6bc8b4;background:#f2faf8}.fs-export-choice b{font-size:15px;color:#184c61}.fs-export-choice small{font-size:11px;color:#829a9f}
@media(max-width:1080px){.fs-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.fs-hero-graphic{margin-right:0;opacity:.62}.fs-overview{grid-template-columns:1fr}.fs-card{padding:23px}.fs-hero{padding:35px 27px}.fs-catalog-row{grid-template-columns:90px 1fr}.fs-catalog-row small{grid-column:2}}
@media(max-width:680px){.fs-hero{padding:27px 22px;min-height:250px}.fs-hero-graphic{width:92px;height:93px;margin-left:-28px;margin-right:-30px;opacity:.25}.fs-hero-graphic>span{font-size:65px}.fs-orbit{display:none}.fs-hero h1{font-size:32px;margin:20px 0 8px}.fs-hero p{font-size:13px}.fs-chip{font-size:9px;letter-spacing:.10em}.fs-hero-caption{font-size:10px;gap:7px}.fs-metrics{gap:10px}.fs-metric{padding:15px;min-height:142px;border-radius:16px}.fs-metric-top span{font-size:10px}.fs-metric-top b{width:32px;height:32px;font-size:16px}.fs-metric>strong{font-size:30px}.fs-metric>strong.fs-metric-currency{font-size:21px}.fs-metric small{font-size:11px}.fs-toolbar{display:block}.fs-tabs{overflow-x:auto;flex-wrap:nowrap;max-width:100%;margin-bottom:12px;padding:5px}.fs-tab{flex:0 0 auto;font-size:12px}.fs-actions>.button{flex:1;font-size:12px}.fs-card{padding:19px 16px;border-radius:18px}.fs-row-between{align-items:start}.fs-row-between h2{font-size:20px}.fs-doc-row{gap:9px}.fs-iconbox{width:36px;height:36px;border-radius:11px;font-size:18px}.fs-doc-amount strong{font-size:13px}.fs-doc-description small{font-size:11px}.fs-doc-actions{padding-left:0}.fs-search,.fs-filterbar>label{width:100%}.fs-catalog-row{grid-template-columns:1fr;gap:7px}.fs-catalog-row small{grid-column:auto}.fs-filterbar>.button{width:100%}.fs-dialog{width:99vw;max-height:96dvh;border-radius:16px}.fs-dialog>form{max-height:96dvh}.fs-dialog-header,.fs-dialog-footer{padding:15px 18px}.fs-dialog-content{padding:20px 17px}.fs-form-grid{grid-template-columns:1fr;gap:11px}.fs-col2{grid-column:auto}.fs-line-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.fs-line-row>div:nth-child(1),.fs-line-row>div:nth-child(2){grid-column:1/-1}.fs-line-delete{align-self:end;justify-self:end}.fs-export-grid{grid-template-columns:1fr}}
.fs-patient-widget{margin:18px 0;background:#f5fbfa;border:1px solid #d4eae6;border-radius:15px;padding:18px}.fs-patient-widget h3{color:#174b55;font-size:16px;margin:4px 0}.fs-patient-widget p{font-size:12px}.fs-patient-row{padding:12px 0;border-bottom:1px solid #dceae8;display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:12px}.fs-patient-row span:first-child{flex:1}.fs-patient-row b{font-weight:800;color:#145469}
.fs-line-row small{display:block;margin:5px 0 0;color:#a07937;font-size:10px;line-height:1.3}.fs-update-banner{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin:15px 0;padding:15px;background:#e9f8f1;border:1px solid #b9ded1;border-radius:14px}.fs-update-banner b{color:#0b7562}.fs-update-banner span{font-size:12px;flex:1;color:#4a827b}

/* Assistente fiscal A1 / Simples Nacional — nenhuma credencial no navegador */
.fs-activation-panel{margin-bottom:18px;background:linear-gradient(140deg,#ffffff 8%,#f1fbf9 58%,#f2f5ff 100%);border:1px solid #d4ecea;box-shadow:0 14px 40px rgba(17,85,116,.07)}
.fs-activation-status{display:inline-flex;align-items:center;background:#fff1e7;border:1px solid #ffdac0;color:#a4521a;border-radius:999px;padding:9px 13px;font-weight:800;font-size:11px;white-space:normal}
.fs-activation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.fs-activation-step{display:flex;align-items:flex-start;gap:12px;background:#fff;border:1px solid #e1ebf3;border-radius:17px;padding:17px;box-shadow:0 4px 18px rgba(16,51,86,.035);flex-wrap:wrap}
.fs-activation-step i{display:grid;place-items:center;font-style:normal;color:#fff;font-weight:900;flex:0 0 35px;width:35px;height:35px;border-radius:12px;background:linear-gradient(145deg,#087f83,#4265de)}
.fs-activation-step>div{flex:1 1 180px;min-width:0}.fs-activation-step b{display:block;font-size:14px;color:#163d59;margin-bottom:4px}.fs-activation-step span{display:block;font-size:12px;color:#60778b;line-height:1.5}
@media(max-width:720px){.fs-activation-grid{grid-template-columns:1fr}.fs-activation-step{padding:15px}.fs-activation-status{font-size:10px}}
