*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#1b222c;background:#dfe3e8}
button,input,select,textarea{font:inherit;color:inherit}
#app{min-height:100%;display:flex;flex-direction:column;align-items:center}
.phone{width:100%;max-width:430px;flex:1;display:flex;flex-direction:column;background:#f5f6f8;position:relative;min-height:100vh}
@media(min-width:600px){.phone{min-height:calc(100vh - 32px);margin:16px 0;border-radius:22px;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.18)}}
.envbar{width:100%;max-width:430px;background:#fff3db;color:#5c3a00;font-size:12px;font-weight:700;text-align:center;padding:6px 10px;border-bottom:1px dashed #b07a1c}
.scroll{padding-bottom:28px}
.icon-btn{border:1px solid #c5cbd3;background:#fff;border-radius:10px;min-height:40px;padding:6px 10px;font-weight:600;font-size:13px;cursor:pointer;color:#0f5c8c}
.spin{font-size:13px;color:#4f5967;text-align:center;padding:20px}
.form-err{color:#7d1d17;font-size:12.5px;margin:0}
.top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px 10px;background:#fff;border-bottom:1px solid #e2e5ea}
.top h1{margin:0;font-size:19px;line-height:1.2}
.tl{display:flex;align-items:center;gap:4px;min-width:0}
.back{border:0;background:none;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:none;border-radius:10px}
.sub{font-size:12.5px;color:#4f5967;margin:2px 0 0}
.lang{display:flex;border:1px solid #c5cbd3;border-radius:999px;overflow:hidden;flex:none}
.lang button{border:0;background:#fff;color:#3b4553;font-weight:600;font-size:12px;padding:6px 10px;min-height:32px;cursor:pointer}
.lang .on{background:#1b222c;color:#fff}
.scroll{flex:1;overflow-y:auto;padding:12px 16px 18px;display:flex;flex-direction:column;gap:9px}
.card{background:#fff;border:1px solid #e2e5ea;border-radius:12px;padding:11px 13px;display:flex;flex-direction:column;gap:6px}
.lbl{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#4f5967;margin:0}
.row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.rowl{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.t{font-size:15px;font-weight:600;margin:0}
.s{font-size:13px;color:#434d5b;margin:0;line-height:1.45}
.xs{font-size:12px;color:#4f5967;margin:0;line-height:1.45}
.big{font-size:21px;font-weight:700;margin:0}
.pill{display:inline-block;font-size:11px;font-weight:600;padding:3px 8px;border-radius:999px;white-space:nowrap}
.st-solicitado{background:#eceef1;color:#2f3946}
.st-orcamento{background:#efe9fb;color:#4b2a8a}
.st-confirmado{background:#e3eefb;color:#0b4a7a}
.st-concluido{background:#e2f3e6;color:#1d5e2e}
.st-cancelado{background:#f3e3e2;color:#7d1d17}
.st-pend{background:#fff1d6;color:#6b4200}
.pay{display:inline-block;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;border:1px solid;white-space:nowrap}
.pay-a_receber{color:#6b4200;border-color:#c98f2a}
.pay-pago{color:#1d5e2e;border-color:#5f9e6e}
.pay-nao_cobrado{color:#4f5967;border-color:#9aa3ae}
.pay-ref{color:#7d1d17;border-color:#c46a63}
.sim{font-size:11.5px;font-weight:600;color:#5c3a00;background:#fff3db;border:1px dashed #b07a1c;border-radius:8px;padding:6px 10px;margin:0;line-height:1.4}
.warn{background:#fff6e6;border:1px solid #d99a2b;border-radius:12px;padding:10px 12px;color:#4d3200;font-size:13px;line-height:1.45}
.err{background:#fbeceb;border:1px solid #c46a63;border-radius:12px;padding:10px 12px;color:#5e1611;font-size:13px;line-height:1.45}
.ok{background:#eaf6ec;border:1px solid #7fb98d;border-radius:12px;padding:10px 12px;color:#1d4d27;font-size:13px;line-height:1.45}
.info{background:#f0f6fb;border:1px solid #9cc1dc;border-radius:12px;padding:10px 12px;color:#0b3a5e;font-size:13px;line-height:1.45}
.btn{display:block;width:100%;text-align:center;padding:12px;border-radius:12px;font-weight:600;font-size:15px;border:0;min-height:46px;cursor:pointer}
.btn[disabled]{opacity:.45;cursor:not-allowed}
.bp{background:#0f5c8c;color:#fff}
.bs{background:#fff;color:#0f5c8c;border:1.5px solid #0f5c8c}
.bx{background:#fff;color:#a3221b;border:1.5px solid #a3221b}
.bd{background:#a3221b;color:#fff}
.small{min-height:38px;padding:8px 10px;font-size:13.5px}
.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.field{display:flex;flex-direction:column;gap:4px;min-width:0}
.field>label,.flabel{font-size:12px;font-weight:600;color:#2f3946}
.inp{font-size:16px;padding:9px 10px;border:1px solid #b8bfc8;border-radius:10px;background:#fff;width:100%;min-height:40px}
.inp:focus,.btn:focus-visible,.opt:focus-visible{outline:3px solid #7fb2d6;outline-offset:1px}
.ro{background:#f1f3f6}
.opt{display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid #d5dae1;border-radius:10px;font-size:14px;background:#fff;min-height:42px;cursor:pointer;text-align:left;width:100%}
.opt.sel{border:2px solid #0f5c8c;background:#f0f6fb;padding:8px 11px}
.dot{width:16px;height:16px;border-radius:50%;border:2px solid #7d8794;flex:none}
.sel .dot{border:5px solid #0f5c8c}
.chk{display:flex;align-items:flex-start;gap:10px;font-size:13.5px;line-height:1.4;cursor:pointer}
.chk input{width:18px;height:18px;margin:1px 0 0;flex:none;accent-color:#0f5c8c}
.nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border-top:1px solid #e2e5ea;padding:4px 0 10px}
.nav button{border:0;background:none;color:#4f5967;font-size:11px;font-weight:600;display:flex;flex-direction:column;align-items:center;gap:2px;min-height:48px;justify-content:center;position:relative;cursor:pointer}
.nav .on{color:#0f5c8c}
.badge{position:absolute;top:3px;left:55%;background:#a3221b;color:#fff;font-size:10px;font-weight:700;border-radius:999px;padding:1px 6px}
.day{font-size:12px;font-weight:700;color:#2f3946;margin:6px 0 0}
.svc{display:grid;grid-template-columns:50px minmax(0,1fr);gap:10px;background:#fff;border:1px solid #e2e5ea;border-radius:12px;padding:9px 12px;text-align:left;width:100%;cursor:pointer}
.svc.tent{border:1.5px dashed #8b74c4;background:#faf8fe}
.svc.canc .t{text-decoration:line-through;color:#4f5967}
.time{font-size:13px;font-weight:700;line-height:1.3;margin:0}
.time span{display:block;font-weight:500;color:#4f5967}
.trip{font-size:11.5px;color:#4f5967;margin:0 0 0 28px;padding:1px 0 1px 10px;border-left:2px dotted #9aa3ae}
.seg{display:grid;background:#e9ecf0;border-radius:10px;padding:3px}
.seg button{border:0;background:none;font-weight:600;font-size:13px;color:#3b4553;padding:7px;border-radius:8px;min-height:36px;cursor:pointer}
.seg .on{background:#fff;color:#0f5c8c;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.tile{background:#fff;border:1px solid #e2e5ea;border-radius:12px;padding:8px 10px}
.tile b{display:block;font-size:18px}
.tile span{font-size:11.5px;color:#4f5967}
.alertlink{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f0f6fb;border:1.5px solid #0f5c8c;border-radius:12px;padding:9px 12px;font-size:13px;text-align:left;width:100%;cursor:pointer}
.alertlink.warnl{background:#fff6e6;border-color:#c98f2a}
.kv{display:grid;grid-template-columns:92px minmax(0,1fr);gap:5px 10px;font-size:13.5px;margin:0}
.kv dt{color:#4f5967}
.kv dd{margin:0;font-weight:600}
.quote{font-size:13px;line-height:1.5;background:#f5f6f8;border-radius:10px;padding:10px 12px;margin:0;white-space:pre-line}
.mic{width:92px;height:92px;border-radius:50%;background:#0f5c8c;color:#fff;border:0;display:flex;align-items:center;justify-content:center;align-self:center;box-shadow:0 0 0 10px #dbe9f4;cursor:pointer}
.ex{text-align:left;font-size:13px;padding:10px 12px;border-radius:10px;background:#fff;border:1px solid #b8bfc8;cursor:pointer;width:100%}
.occ{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;font-size:13px;padding:7px 0;border-top:1px solid #eef0f3}
.list-plain{margin:0;padding-left:18px;font-size:13px;line-height:1.55;color:#2f3946}
.sheetbg{position:absolute;inset:0;background:rgba(20,26,34,.5);z-index:5}
.sheet{position:absolute;left:0;right:0;bottom:0;max-height:88%;overflow-y:auto;background:#fff;border-radius:18px 18px 0 0;padding:16px 18px 22px;z-index:6;display:flex;flex-direction:column;gap:10px}
.toast{position:absolute;left:12px;right:12px;bottom:76px;background:#1b222c;color:#fff;font-size:13px;border-radius:12px;padding:10px 12px;z-index:9;line-height:1.4}
a{color:#0f5c8c}
.muted{color:#4f5967}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
