:root{--ink:#17372f;--green:#10543e;--bg:#f3f6f2;--line:#d4dfd6;font:18px/1.42 system-ui,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}header{height:72px;background:#103e34;color:white;display:flex;align-items:center;gap:15px;padding:0 max(5vw,18px);font-weight:600}.mark{font-size:25px;font-style:italic;letter-spacing:-2px;color:#dcf49b;border-right:1px solid #799389;padding-right:16px}header button{margin-left:auto;color:white;background:transparent;border-color:#81998d}main{max-width:1150px;margin:auto;padding:26px 18px 120px}h1,h2,h3,p{margin:0 0 .65em}h1{font-size:clamp(29px,5vw,44px);letter-spacing:-.04em}h2{font-size:23px}h3{font-size:19px}.card,form,.hero,details{background:white;border:1px solid var(--line);border-radius:17px;padding:20px;margin-bottom:14px;overflow-wrap:anywhere}.hero{background:#123f34;color:white;padding:28px}.hero strong{display:block;color:#e0f3a2;font-size:clamp(32px,5vw,52px);font-variant-numeric:tabular-nums}.grid,.filters,.actions{display:grid;gap:12px}.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}.grid .card{margin:0}.actions,.filters{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));margin:16px 0}.filters label{margin:0}section{margin:22px 0}.number{display:block;font-size:28px;font-weight:700;font-variant-numeric:tabular-nums}.muted,small{color:#4e6259}small{font-size:14px}.hero small{color:#dfedde}label{display:grid;gap:6px;margin:14px 0;font-weight:600}input,select,textarea,button,summary{font:inherit}input,select,textarea{border:1px solid #a8b9ad;border-radius:8px;padding:12px;max-width:100%;width:100%;min-height:50px;color:#17372f;background:#fff}input[type=checkbox]{width:24px;min-height:24px}button,summary{min-height:50px;cursor:pointer}button{border:1px solid #b6c6ba;border-radius:10px;background:white;color:var(--ink);padding:10px 14px;font-weight:650}button:hover{border-color:var(--green)}button.primary,.selected{background:var(--green);color:white}.primary{width:100%;min-height:56px}.login{max-width:460px;margin:8vh auto}.action{min-height:76px;text-align:left}.tag{display:inline-block;background:#e3eedf;border-radius:20px;padding:5px 12px;font-size:14px;font-weight:700}.alert{background:#fff0cd;color:#603f00}.bad{color:#9a3129}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}nav{position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid var(--line);display:flex;justify-content:center;padding:6px 4px max(6px,env(safe-area-inset-bottom));z-index:2}nav button{width:min(24%,180px);border:0;font-size:15px}#toast:not(:empty){position:fixed;bottom:85px;left:50%;transform:translateX(-50%);padding:12px 20px;border-radius:12px;background:#162e27;color:white;z-index:5;width:max-content;max-width:92vw}summary{font-weight:700}form{max-width:750px}.entry{max-width:650px}.entry footer{position:sticky;bottom:74px;background:white;padding:8px 0}.entry img,.card img{max-width:100%;max-height:220px}.login button{margin-top:14px}[hidden]{display:none!important}:focus-visible{outline:3px solid #cf8400;outline-offset:2px}.large{font-size:125%}@media(min-width:900px){body:has(nav:not([hidden])){padding-left:190px}body:has(nav:not([hidden])) header{padding-left:30px}nav{top:0;right:auto;width:190px;flex-direction:column;justify-content:flex-start;padding:90px 15px;border-right:1px solid var(--line)}nav button{width:100%;text-align:left}.entry footer{bottom:0}}@media(max-width:500px){.actions,.filters{grid-template-columns:1fr}.filters{gap:4px}.card,form,details{padding:16px}nav button{padding:9px 2px}.hero{padding:20px}}
:root[data-theme=escuro]{--ink:#eaf4ec;--bg:#12221c;--line:#455b4d;color-scheme:dark}:root[data-theme=escuro] :is(form,.card,details,nav,button,input,select,textarea,.entry footer){background:#1b3026;color:#edf5ee}:root[data-theme=escuro] :is(small,.muted){color:#bdd0c0}:root[data-theme=escuro] .tag{color:#17372f}:root[data-theme=escuro] .primary,:root[data-theme=escuro] .selected{background:#246448}

/* Navegação e página de resumo */
:root{--surface:#fff;--tint:#eaf1eb;--quiet:#50675a;--accent:#196747;--ink:#18382c;--bg:#f4f6f2;--line:#d7e0d5}
:root[data-theme=escuro]{--surface:#1b3026;--tint:#254334;--quiet:#bfcebf;--accent:#92d9a4;--ink:#edf4ed;--bg:#12221c;--line:#415c49}
body{font-family:"Segoe UI",system-ui,sans-serif}header{height:64px}main{padding-top:32px}.pagehead,.filterbox summary,.vehicle,.cost>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.pagehead{margin-bottom:16px;flex-wrap:wrap}.pagehead h1{margin:0}.register{background:var(--green);color:white;border:0}.filterbox{padding:0 16px;border-radius:12px;margin-bottom:18px}.filterbox summary{font-size:16px;cursor:pointer;justify-content:flex-start}.filterbox summary::after{content:'⌄';margin-left:auto}.filterbox[open] summary::after{transform:rotate(180deg)}.filterbox summary span{font-weight:450;color:var(--quiet);text-transform:capitalize}.filterbox .filters{padding-top:10px;border-top:1px solid var(--line)}.overview{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px}.overview .hero{margin:0;display:grid;align-content:center;gap:8px;min-height:170px;background:linear-gradient(118deg,#113c30,#20573e);border:0}.hero strong{line-height:1.1;overflow-wrap:anywhere}.metricstrip,.panel{background:var(--surface);border:1px solid var(--line);border-radius:16px}.metricstrip{display:grid;align-content:center;padding:8px 20px}.metricstrip .card{display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;background:transparent;margin:0;padding:12px 0;border-radius:0}.metricstrip .card+.card{border-top:1px solid var(--line)}.metricstrip .number{font-size:clamp(19px,2.1vw,26px)}.panels{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin:18px 0}.panel{margin:0;padding:20px}.panel h2{font-size:21px;padding-bottom:14px;border-bottom:1px solid var(--line)}.cost{margin:16px 0}.cost>div,.vehicle{font-size:16px}.cost progress{width:100%;height:7px;display:block;appearance:none;border:0;border-radius:4px;overflow:hidden;background:var(--tint);margin-top:8px}.cost progress::-webkit-progress-bar{background:var(--tint)}.cost progress::-webkit-progress-value{background:var(--accent)}.cost progress::-moz-progress-bar{background:var(--accent)}.vehicle{padding:12px 0;flex-wrap:wrap}.vehicle+.vehicle{border-top:1px solid var(--line)}.vehicle small{display:block}.vehicle strong{font-variant-numeric:tabular-nums}.plate{background:var(--tint);padding:7px 12px;border-radius:7px;letter-spacing:.06em;font-weight:700}.management button,.driveractions button{display:flex;align-items:center;justify-content:space-between;gap:10px}.management button::after,.driveractions button::after{content:'›';color:var(--accent);font-size:25px}.management{margin-bottom:28px}.setting-option{min-width:0}.setting-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:8px 20px}.setting-option label:has(input[type=checkbox]){display:flex;align-items:center;font-size:14px}#settings{max-width:none}#settings summary{display:list-item;padding-top:9px}#settings details{background:var(--bg)}nav .selected{box-shadow:inset 0 -3px #98c988}.driveractions h2{font-size:19px}.driveractions .actions{margin-top:8px}button{touch-action:manipulation}
@media(min-width:900px){body:has(nav:not([hidden])) header{position:relative;z-index:3;margin-left:-190px;padding-left:24px}nav{background:#14392d;padding-top:88px}nav button{background:transparent;color:#e1ebe3;margin-bottom:5px;padding:14px 18px}nav button.selected{background:#295740;box-shadow:inset 3px 0 #bef19d}main{padding-inline:clamp(24px,3vw,52px)}}
@media(max-width:720px){.overview,.panels{grid-template-columns:1fr}.overview{gap:10px}.overview .hero{min-height:140px}.panels{gap:12px}.panel{padding:16px}.pagehead h1{font-size:29px}.filterbox summary{font-size:14px}.pagehead .register{font-size:15px}.driveractions .actions{grid-template-columns:1fr}.driveractions button{min-height:60px}.metricstrip .card{padding:9px 0}main{padding-top:20px}.pagehead{gap:8px}.hero strong{font-size:36px}}
main[data-screen=driver-home]{display:flex;flex-direction:column;min-height:calc(100vh - 64px);min-height:calc(100dvh - 64px);padding-bottom:calc(76px + env(safe-area-inset-bottom));width:100%}
.driver-summary{flex:1;display:flex;flex-direction:column;gap:16px}
.driver-summary .pagehead{margin:0}.driver-tools{display:flex;gap:8px;align-items:center;position:relative}
.plate-help{margin:0;padding:0;border:0;background:transparent}.plate-help summary{font-size:14px;min-height:48px;min-width:48px;display:grid;place-items:center;color:var(--accent);text-decoration:underline;cursor:pointer}.plate-help summary::-webkit-details-marker{display:none}
.plate-help>div{position:absolute;right:0;top:100%;width:min(260px,82vw);background:var(--surface);padding:16px;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px #152c2020;z-index:1}.plate-help a{color:var(--accent)}
.trip-summary{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px;margin:0}.trip-summary h2{margin:0}.trip-count{margin:12px 0;color:var(--quiet)}.trip-count strong{font-size:40px;color:var(--ink);margin-right:5px}.recent-trip{border-top:1px solid var(--line);padding-top:12px;display:grid;gap:4px;overflow-wrap:anywhere}
.driver-summary .driver-commission{margin:auto 0 0;padding:18px 22px}.driver-commission strong{margin:4px 0;font-size:clamp(32px,6vw,42px)}@media(min-width:900px){main[data-screen=driver-home]{padding-bottom:24px}.driver-summary{max-width:760px;width:100%;align-self:center}}

/* Relatórios de gestão */
.rp{font-size:16px;min-width:0}.rp h1{font-size:clamp(25px,3vw,35px)}.rp h2{font-size:19px}.rp-toolbar,.rp-tabs,.rp-controls,.rp-inline,.rp .pagehead{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rp-toolbar{margin-bottom:12px}.rp-toolbar .filters{flex:1;margin:0;grid-template-columns:repeat(3,minmax(100px,1fr));font-size:14px}.rp-toolbar>button{align-self:end}.rp button{font-size:14px;min-height:42px}.rp-tabs{margin-bottom:16px}.rp-tabs.sections{flex-wrap:nowrap;overflow-x:auto;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:6px;position:relative}.rp-tabs.sections button{white-space:nowrap;border:0}.rp-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:12px;margin-bottom:16px}.rp-cards article,.rp-box{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px;min-width:0}.rp-cards article{border-top:3px solid var(--accent)}.rp-cards article small,.rp-cards article span,.rp-item small{display:block;color:var(--quiet);font-size:14px}.rp-cards strong{display:block;font-size:clamp(21px,2vw,29px);margin:4px 0;font-variant-numeric:tabular-nums}.rp-box{margin:0 0 16px}.rp-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.rp dl{margin:0}.rp dl>div,.rp-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--line)}.rp dd{margin:0;text-align:right;font-weight:650}.rp-item{flex-wrap:wrap}.rp-item>div{flex:1;min-width:140px}.rp-scroll{overflow-x:auto;max-width:100%}.rp table{border-collapse:collapse;width:100%;font-size:15px}.rp th,.rp td{padding:11px 9px;text-align:left;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}.rp th{font-size:13px;color:var(--quiet);font-weight:650}.rp-empty{padding:16px 0;text-align:center;color:var(--quiet)}.rp-controls{align-items:end}.rp-controls>*,.rp-inline{min-width:0}.rp-controls form,.rp-inline{margin:0 0 12px;padding:8px 12px}.rp .pagehead button:first-of-type{margin-left:auto}.rp .sections .selected{background:var(--tint);color:var(--accent)}.rp input,.rp select{min-height:44px}.rp dl>div:nth-child(1){border:0}
@media(max-width:720px){.rp-pair{grid-template-columns:1fr;gap:0}.rp-toolbar .filters{flex-basis:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.rp-toolbar .filters label:first-child{grid-column:1/-1}.rp-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.rp button{min-height:48px}.rp-cards article{padding:12px}.rp-scroll{scrollbar-width:thin}.rp-controls form{width:100%}.rp .pagehead{justify-content:flex-start}}
.rp-chart{padding:12px 0;border-top:1px solid var(--line)}.rp-chart>div{display:grid;grid-template-columns:minmax(80px,1fr) minmax(30px,4fr) minmax(80px,1fr);gap:10px;align-items:center}.rp-chart progress{width:100%;height:10px;accent-color:var(--accent)}.rp-chart span{text-align:right;font-size:14px}.rp-chart .bar-fuel{accent-color:#bb6900}.rp-chart .bar-maintenance{accent-color:#3866a4}.rp-chart .bar-commission{accent-color:#895a93}.rp:has(.rp-chart) .rp-cards:first-of-type article:first-child{background:#14623f;color:white}

/* Superfícies, tipografia e movimento */
:root{--bg:#f1f5f4;--ink:#152e30;--line:#d7e3df;--quiet:#4d6564;--green:#115b51;--accent:#157465;--tint:#e1f1eb;--mint:#41ac88;--amber:#df943d;--violet:#9273c7;--lift:0 8px 26px -18px #174c47aa}
:root[data-theme=escuro]{--bg:#102322;--ink:#ecf6f1;--line:#34514b;--quiet:#bdd1c8;--green:#246454;--accent:#8cd9bb;--tint:#213e36;--lift:0 8px 20px -16px #000}
header{background:linear-gradient(100deg,#102d31,#104740);box-shadow:0 2px 16px #102b3020}header .mark{color:#c9f5ce}.rp-box,.rp-cards article,.trip-summary,.entry,.login,.card{box-shadow:var(--lift)}
.rp .pagehead h1,.driver-summary h1{letter-spacing:-.045em}.rp-toolbar{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:12px 16px}.rp .sections{padding:5px;border-radius:12px;box-shadow:var(--lift)}.rp .sections button.selected{background:var(--green);color:white}
.rp-box h2{letter-spacing:-.025em}.rp-cards article{border-top:1px solid var(--line);position:relative;overflow:hidden}.rp-cards article:before{content:"";display:block;width:28px;height:4px;background:var(--mint);border-radius:6px;margin-bottom:12px}.rp-cards article:nth-child(2):before{background:var(--amber)}.rp-cards article:nth-child(3):before{background:#638ba9}.rp-cards article:nth-child(4):before{background:var(--violet)}.rp-cards article small{font-weight:650}.rp-cards article strong{letter-spacing:-.04em;line-height:1.18;margin:7px 0}.rp-home .rp-cards:first-of-type article:first-child,.rp-home .pagehead+.rp-cards article:first-child,.driver-summary .driver-commission{background:radial-gradient(ellipse at 108% 130%,#328a70 0%,transparent 55%),linear-gradient(105deg,#123d40,#125b4c);color:white;border:0;box-shadow:0 10px 32px -19px #125b4ca6}.rp-home .pagehead+.rp-cards article:first-child :is(small,span){color:#d5ede3}.rp-home .pagehead+.rp-cards article:first-child strong{font-size:clamp(30px,3.2vw,48px);color:#e6ffe9}.rp-home .pagehead+.rp-cards article{padding:22px}
.breakdown{display:grid;grid-template-columns:minmax(82px,35%) 1fr;gap:18px;align-items:center}.breakdown svg{width:100%;max-height:175px}.breakdown circle{fill:none;stroke-width:11}.track{stroke:var(--tint)}.slice-0{stroke:var(--amber)}.slice-1{stroke:#528c9c}.slice-2{stroke:var(--violet)}.cost-key>div{display:grid;grid-template-columns:9px 1fr auto;gap:9px;align-items:baseline;padding:9px 0}.cost-key>div+div{border-top:1px solid var(--line)}.cost-key i{height:8px;width:8px;border-radius:50%}.key-0{background:var(--amber)}.key-1{background:#528c9c}.key-2{background:var(--violet)}.cost-key small{display:block;font-variant-numeric:tabular-nums;color:var(--quiet)}.cost-key b{font-size:14px}
.rp-chart progress{appearance:none;border:0;border-radius:6px;background:var(--tint);overflow:hidden;--bar:#299371}.rp-chart progress::-webkit-progress-bar{background:var(--tint)}.rp-chart progress::-webkit-progress-value{background:var(--bar);border-radius:6px}.rp-chart progress::-moz-progress-bar{background:var(--bar);border-radius:6px}.rp-chart .bar-fuel{--bar:var(--amber)}.rp-chart .bar-maintenance{--bar:#638ba9}.rp-chart .bar-commission{--bar:var(--violet)}.rp-scroll tbody tr:nth-child(even){background:var(--bg)}.rp th{color:var(--quiet);background:var(--tint)}.rp-scroll{border-radius:8px}
.trip-summary{border-radius:20px;padding:20px 22px}.trip-count strong{font-size:48px;letter-spacing:-.06em}.trip-weeks{display:flex;gap:8px;margin:8px 0 16px}.trip-weeks>div{flex:1;min-width:0;display:grid;text-align:center;gap:4px}.trip-weeks b,.trip-weeks small{font-size:14px}.trip-weeks svg{width:100%;height:32px;background:var(--tint);border-radius:5px;fill:var(--accent)}.recent-trip strong{display:grid;gap:5px}.recent-trip strong span{display:flex;align-items:center;gap:9px}.recent-trip strong span:before{content:"";width:9px;height:9px;border-radius:50%;border:2px solid var(--accent);flex:none}.recent-trip strong span+span:before{background:var(--accent)}.driver-commission strong{letter-spacing:-.045em;color:#e7ffe5}.driver-commission small{color:#d6efe1}.driver-commission span{font-size:16px}.actions .action:is(.launch-trip,.launch-fuel,.launch-expense){border-left:5px solid var(--mint);box-shadow:var(--lift);padding:16px 18px}.actions .action.launch-fuel{border-left-color:var(--amber)}.actions .action.launch-expense{border-left-color:var(--violet)}.entry>progress{display:block;width:100%;height:5px;margin:0 0 15px;accent-color:var(--accent)}
@media(prefers-reduced-motion:no-preference){button,summary{transition:background-color .16s,box-shadow .16s,transform .16s}button:active{transform:scale(.98)}.rp-box,.trip-summary,.driver-commission,.entry{animation:gvs-appear .22s ease-out}.trip-weeks rect{transform-origin:center bottom;animation:gvs-rise .35s ease-out}@keyframes gvs-appear{from{opacity:.65;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes gvs-rise{from{transform:scaleY(.15)}to{transform:scaleY(1)}}}
@media(hover:hover){button:hover{box-shadow:0 3px 12px #143e3621}.rp-scroll tbody tr:hover{background:var(--tint)}}
@media(max-width:600px){.breakdown{gap:12px}.rp-home .pagehead+.rp-cards{grid-template-columns:1fr}.rp-home .pagehead+.rp-cards article{padding:16px}.rp-toolbar{padding:10px}.trip-summary{padding:16px}.rp-cards strong{overflow-wrap:anywhere}}

/* Estrutura de navegação e extrato */
.navlink{display:flex;align-items:center;justify-content:flex-start;gap:10px}.navlink svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linejoin:round;stroke-linecap:round;flex:none}
.report-picker{display:none}.wallet{max-width:780px;margin:auto}.wallet-title{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.wallet-title h1,.wallet-title h2{margin:0}.wallet-title .filters{margin:0}.wallet-title label{font-size:14px}.wallet-balance{background:linear-gradient(125deg,#123a42,#145345 74%,#216752);color:#effff5;border-radius:22px;padding:clamp(18px,4vw,32px);margin:16px 0 20px;box-shadow:0 12px 28px -20px #143c38}.wallet-balance>small{color:#daeee5;font-size:16px}.wallet-balance>strong{display:block;font-size:clamp(34px,6vw,54px);letter-spacing:-.05em;font-variant-numeric:tabular-nums;line-height:1.2;margin:4px 0 18px}.wallet-balance>div{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid #ffffff40;padding-top:12px}.wallet-balance span{color:#d7e9e1;font-size:14px}.wallet-balance b{display:block;color:white;margin-top:3px;font-size:clamp(16px,2vw,21px)}.wallet-ledger{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:16px;margin:0 0 14px}.wallet-ledger .wallet-title{margin:0 0 12px}.wallet-ledger h2{font-size:19px}.wallet-copy{font-size:14px;min-height:44px;background:var(--tint);color:var(--ink);border:0}.wallet-line{border:0;border-top:1px solid var(--line);border-radius:0;margin:0;padding:0;background:transparent}.wallet-line summary{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 0;cursor:pointer}.wallet-line summary::-webkit-details-marker{display:none}.wallet-line summary span{min-width:0}.wallet-line summary span:last-child{text-align:right}.wallet-line small{display:block;font-weight:500;margin-top:4px}.wallet-line .pending{color:#915300}.wallet-line .paid{color:var(--accent)}.wallet-line p{display:flex;justify-content:space-between;gap:12px;font-size:15px}.wallet-line summary b,.wallet-line summary strong{font-size:16px}.wallet-line summary b::after{content:' ⌄';color:var(--quiet)}:root[data-theme=escuro] .wallet-line .pending{color:#ffd18d}
.rp .pagehead{margin-top:18px}.rp .rp-controls{display:grid;grid-template-columns:repeat(3,minmax(100px,1fr)) minmax(200px,1.4fr);align-items:end;padding:14px 16px;margin:0 0 16px;background:var(--surface);border:1px solid var(--line);border-radius:14px}.rp-controls label,.rp .rp-controls form{margin:0}.rp .rp-controls form{display:flex;align-items:end;gap:6px;border:0;background:transparent;padding:0;border-radius:0}.rp-controls form label{flex:1;min-width:0}.rp-controls label{font-size:14px}.rp-controls form button{min-height:44px}.rp-toolbar .filters select,.rp-toolbar .filters input,.rp-controls input,.rp-controls select{font-size:15px;min-height:44px;padding:9px 10px}
@media(min-width:900px){body[data-role=manager]{padding-left:212px}body[data-role=manager] header{margin-left:-212px!important}body[data-role=manager] nav{width:212px;overflow-y:auto;justify-content:flex-start;padding:78px 10px 16px;background:linear-gradient(165deg,#112f36,#163c36);gap:2px}body[data-role=manager] nav button{padding:8px 12px;min-height:41px;font-size:14px;margin:0}body[data-role=manager] nav button:nth-child(5){margin-top:10px;border-top:1px solid #547068}body[data-role=manager] main{max-width:1600px;padding-inline:clamp(20px,2.5vw,42px)}.rp-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:end}.rp-toolbar .filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:899px){nav .wide-only{display:none}.report-picker{display:grid;font-size:14px;margin:12px 0}.navlink{flex-direction:column;justify-content:center;gap:2px;font-size:14px;min-height:52px}.navlink svg{width:20px;height:20px}nav .selected{box-shadow:none}nav{box-shadow:0 -4px 20px #183a3520}.rp .rp-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.rp .rp-controls form{grid-column:1/-1}.wallet-title .filters{min-width:0}.wallet-title h1{font-size:30px}}
@media(max-width:460px){.wallet>.wallet-title{align-items:start}.wallet>.wallet-title .filters{width:100%}.wallet-title .filters label{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px}.wallet-title .filters input{min-width:0;min-height:44px;padding:8px}.wallet-ledger{padding:14px}.wallet-ledger .wallet-title{gap:6px}.rp .rp-controls{padding:12px}.rp-toolbar>button{flex:1}}
header #top-help{margin-left:auto;display:grid;place-items:center;width:44px;height:44px;min-height:44px;border:0;padding:0;font-weight:700;font-size:16px;background:radial-gradient(circle at center,#ffffff20 12px,transparent 13px);color:white}header #exit{margin-left:0}
.record-shell{padding:0;overflow:hidden}.record-hit,.wallet-hit{display:block;width:100%;text-align:left;border:0;background:transparent;color:var(--ink);padding:16px}.record-hit p{margin:8px 0 0}.record-shell>button:not(.record-hit){margin:0 16px 12px}.wallet-hit{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-top:1px solid var(--line);border-radius:0;padding:14px 0}.wallet-hit span:last-child{text-align:right}.wallet-hit small{display:block;font-size:14px;font-weight:500;color:var(--quiet)}.record-hit:focus-visible,.wallet-hit:focus-visible{outline-offset:-3px}
#sheet{width:min(440px,calc(100vw - 28px));max-height:80dvh;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink);padding:20px;box-shadow:0 24px 80px #001b2459}#sheet::backdrop{background:#0c262bcc}.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.sheet-head h2{margin:0;overflow-wrap:anywhere}#sheet-close{flex:none;width:44px;min-height:44px;font-size:24px;padding:0}#sheet dl>div{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid var(--line)}#sheet dd{text-align:right;margin:0;overflow-wrap:anywhere}#sheet dt{color:var(--quiet)}#sheet img{max-width:100%;max-height:40vh}.sheet-actions{display:flex;gap:8px}body:has(#sheet[open]){overflow:hidden}

.ag-nav,.ag-row,.ag-groups{display:flex;gap:.65rem;flex-wrap:wrap}
.ag-nav{margin:.7rem 0 1rem}
.ag-panel{margin:1rem 0;padding:clamp(.85rem,2vw,1.35rem);background:var(--card,#fff);border:1px solid #cbdcd5;border-radius:16px;color:inherit;min-width:0}
.ag-panel h2{margin:0 0 .8rem;font-size:1.1rem}
.ag-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:.8rem}
.ag-groups .ag-panel{margin-bottom:0;border-top:3px solid #27916d}
.ag-row{align-items:center;padding:.75rem 0;border-bottom:1px solid #cadad533}
.ag-row>div{flex:1 1 160px;min-width:0;overflow-wrap:anywhere}
.ag-row small{display:block;margin-top:.3rem}
.ag-row button,.ag-nav button{width:auto;min-height:44px}
.ag-form{display:grid;gap:.85rem}
.ag-form [role=alert]{margin:0;color:#af332d}
.ag-shortcut{margin:.5rem 0;text-align:left}
