:root{--orange:#ea6b24;--orange-dark:#d95513;--amber:#fff0dd;--ink:#1b2738;--muted:#637182;--stroke:#e4e9ef;--bg:#f6f8fb;--white:#fff;--green:#098568;--red:#d83a42;--radius:16px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font-family:Inter,Roboto,'Segoe UI',system-ui,-apple-system,Arial,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}.hidden{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(24px,4.5vw,32px);line-height:1.12;letter-spacing:-.7px}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:16px}p{line-height:1.5}.muted,.hint{color:var(--muted)}.fine{color:var(--muted);font-size:11px;line-height:1.5;margin:18px 0 0}.eyebrow{font-size:11px;letter-spacing:1.5px;color:var(--orange);font-weight:800}.authscreen{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 75% 0%,#ffe9c8,transparent 40%),var(--bg)}.authcard{background:white;border:1px solid var(--stroke);box-shadow:0 10px 50px #18345711;border-radius:25px;padding:34px;width:min(100%,440px)}.authcard .brandlogo{margin-bottom:20px}.brandlogo{background:var(--orange);color:white;border-radius:16px;width:56px;height:56px;display:grid;place-items:center;font-weight:900;font-size:29px;box-shadow:0 6px 20px #e76d2938}.brandlogo span{font-size:13px;position:relative;top:-8px}.brandlogo.small{width:39px;height:39px;border-radius:11px;font-size:22px;box-shadow:none}.brandlogo.small span{font-size:9px;top:-6px}.brandname{font-size:23px;font-weight:700;letter-spacing:1px}.brandname b,.brandtext b{color:var(--orange)}.authcard label{display:block;margin:15px 0;font-size:12px;font-weight:700}.authcard input{margin-top:8px}.topbar{height:73px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px clamp(14px,4vw,40px);background:white;border-bottom:1px solid var(--stroke);position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:11px}.brandtext{font-size:14px;font-weight:800;letter-spacing:.6px;white-space:nowrap}.brandtext small{display:block;font-weight:500;color:var(--muted);letter-spacing:0;margin-top:2px;font-size:10px}.account{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}.account span{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iconbutton{border:1px solid var(--stroke);background:white;border-radius:10px;padding:9px 12px;color:var(--ink)}.main{max-width:1120px;margin:0 auto;padding:30px 20px 110px}.sectionhead{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:14px;margin-bottom:22px}.sectionhead p{margin-bottom:0}.actions{display:flex;gap:8px;flex-wrap:wrap}.primary,.secondary,.danger,.plain{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border-radius:11px;font-weight:750;border:1px solid transparent;text-decoration:none;white-space:nowrap;transition:background .1s}.primary{background:var(--orange);color:white}.primary:hover{background:var(--orange-dark)}.secondary{background:white;color:var(--ink);border-color:var(--stroke)}.secondary:hover{background:#faf4e9}.danger{background:#fff1f2;color:#bb262f;border-color:#ffd5d8}.plain{background:transparent;color:var(--muted)}.sm{padding:7px 10px;font-size:12px;border-radius:9px}.full{width:100%}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.stat{padding:22px;border-radius:16px;background:white;border:1px solid var(--stroke);position:relative;min-width:0}.stat label{font-size:12px;font-weight:750;color:var(--muted);display:block}.stat strong{font-size:32px;display:block;margin-top:6px;font-variant-numeric:tabular-nums}.stat.red strong{color:var(--red)}.stat.orange strong{color:var(--orange)}.stat.green strong{color:var(--green)}.panel{border:1px solid var(--stroke);border-radius:var(--radius);background:white;padding:20px;margin-bottom:16px;box-shadow:0 3px 12px #22334405}.panelhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.panel h2,.panel h3{margin-bottom:0}.gridtwo{display:grid;grid-template-columns:1fr 1fr;gap:16px}.empty{text-align:center;padding:38px 20px;color:var(--muted);background:white;border:1px dashed #d4dce4;border-radius:16px}.empty .symbol{font-size:34px;display:block;margin-bottom:8px}.empty h3{color:var(--ink);margin-bottom:4px}.badge{display:inline-flex;align-items:center;border-radius:999px;font-size:11px;font-weight:800;padding:5px 9px;background:#eef2f7;color:#586476;white-space:nowrap}.badge.ok{background:#e6f7f1;color:var(--green)}.badge.due{background:#fff3e1;color:#c3650b}.badge.expired{background:#ffeaed;color:var(--red)}.badge.closed{background:#edf0f6;color:#475270}.list{display:flex;flex-direction:column;gap:8px}.listitem{border:1px solid var(--stroke);border-radius:12px;background:white;padding:13px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;width:100%}.listitem:hover{border-color:#f2b581}.listitem strong{font-weight:800}.listitem .sub{font-size:12px;color:var(--muted);margin-top:4px}.itemright{display:flex;align-items:center;gap:8px;flex-shrink:0}.vehiclecards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.vehiclecard{background:white;border:1px solid var(--stroke);border-radius:14px;padding:16px;text-align:left}.vehiclecard:hover{border-color:var(--orange)}.vehiclecard .plate{font-weight:900;font-size:21px;letter-spacing:.2px}.vehiclecard .meta{font-size:12px;color:var(--muted);margin:6px 0 10px}.vehiclecard .badges{display:flex;gap:6px;flex-wrap:wrap}.filterbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.filterbar input{flex:2;min-width:180px}.filterbar select{flex:1;min-width:135px}input,select,textarea{width:100%;background:white;color:var(--ink);border:1px solid #d4dde7;border-radius:10px;padding:11px 12px;min-width:0;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--orange);box-shadow:0 0 0 3px #eb762026}textarea{min-height:68px;resize:vertical}label{font-size:12px;font-weight:750;display:block}label>input,label>select,label>textarea{margin-top:6px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.wide{grid-column:1/-1}.checkgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px}.checkline{background:#f8fafc;padding:9px;border-radius:10px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700}.checkline input{width:16px;height:16px;accent-color:var(--orange);margin:0;flex-shrink:0}.modalhead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:17px}.modalhead h2{margin:0}.close{border:0;background:#f4f6fa;border-radius:50%;width:33px;height:33px;font-size:22px;color:var(--muted);line-height:30px}.modalfooter{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:18px}.divider{height:1px;background:var(--stroke);margin:20px 0}.detailkv{display:grid;grid-template-columns:125px 1fr;gap:8px;font-size:13px;margin:12px 0}.detailkv dt{color:var(--muted)}.detailkv dd{margin:0;overflow-wrap:anywhere;font-weight:700}.doctile{border:1px solid var(--stroke);border-radius:13px;padding:12px;margin:8px 0;display:flex;align-items:center;justify-content:space-between;gap:8px}.doctile p{color:var(--muted);margin:4px 0 0;font-size:12px}.docactions{display:flex;gap:5px;flex-wrap:wrap}.notice{border-left:4px solid var(--orange);padding:12px;background:#fff6e9;color:#5f4a30;border-radius:9px;margin-bottom:16px;font-size:13px}.notice.error{border-color:var(--red);background:#fff0f1}.settingline{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--stroke)}.settingline input{width:18px;height:18px;accent-color:var(--orange)}.settingline:last-child{border:0}.grouphead{display:flex;align-items:center;justify-content:space-between;margin:20px 0 9px}#toast{position:fixed;left:50%;transform:translateX(-50%);bottom:100px;background:#1c293c;color:white;padding:11px 16px;border-radius:12px;box-shadow:0 12px 35px #17253944;max-width:calc(100vw - 28px);z-index:50;display:none}#toast.show{display:block}.bottomnav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:6;justify-content:space-around;gap:2px;background:white;border-top:1px solid var(--stroke);padding:9px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));box-shadow:0 -5px 20px #1521320a}.bottomnav button{background:none;border:0;color:#8490a0;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;flex:1;font-size:10px;font-weight:750;padding:5px 0;border-radius:9px}.bottomnav button.active{color:var(--orange);background:#fff3e7}.navicon{font-size:23px;line-height:25px}dialog{border:0;border-radius:19px;padding:22px;width:min(640px,calc(100vw - 22px));max-height:89dvh;overflow:auto;box-shadow:0 30px 90px #0f243f55}dialog::backdrop{background:#17243799}table{border-collapse:collapse;width:100%;font-size:12px}th,td{padding:12px 8px;text-align:left;border-bottom:1px solid var(--stroke)}th{color:var(--muted);font-weight:800;background:#f8fafc}.tablewrap{overflow-x:auto}.reportitem{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;border:1px solid var(--stroke);padding:14px;border-radius:12px;margin:8px 0}.reportitem strong{display:block;font-size:14px}.reportitem small{color:var(--muted)}.rowgap{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.pulse{position:relative}.pulse::after{content:'';background:#f4484f;border:2px solid white;width:7px;height:7px;position:absolute;right:3px;top:3px;border-radius:50%}@media(max-width:670px){.main{padding:22px 13px 115px}.cards{gap:9px}.stat{padding:14px 10px}.stat strong{font-size:26px}.stat label{font-size:10px}.gridtwo,.vehiclecards{grid-template-columns:1fr}.panel{padding:14px}.sectionhead{align-items:flex-start}.formgrid{grid-template-columns:1fr}.wide{grid-column:auto}.topbar{height:65px}.account span{display:none}.detailkv{grid-template-columns:105px 1fr}.checkgrid{grid-template-columns:1fr 1fr}dialog{padding:16px}.modalfooter button{flex:1}.reportitem{grid-template-columns:1fr;gap:8px}.reportitem .rowgap{justify-content:flex-start}}

/* V2: tipografie de bază */
body{font-family:'Segoe UI',Arial,Helvetica,system-ui,sans-serif;font-size:15px;letter-spacing:0;line-height:1.42;-webkit-font-smoothing:antialiased}
h1,h2,h3{letter-spacing:-.025em;font-weight:740}
.brandtext{letter-spacing:0;font-size:15px;font-weight:750}
button,input,select,textarea{font-family:inherit;font-size:15px}
button{min-height:41px}
label{font-size:13px;line-height:1.5}
.fine,.sub,.muted{line-height:1.55}
.vehiclecard .plate{font-size:22px;letter-spacing:0}
.vehiclecard .meta{font-size:13px}
.filechooser{display:grid;gap:12px;margin-top:12px}.filechooser label{border:1px solid var(--stroke);border-radius:12px;padding:12px;background:#f9fafb}.filechooser input{margin-top:8px;border:0;padding:6px 0;background:transparent}
@media(max-width:670px){body{font-size:15px}input,select,textarea{font-size:16px}.brandtext{font-size:14px}.stat label{font-size:11px}.bottomnav button{font-size:11px}.filechooser{grid-template-columns:1fr}}

/* V3: scris simplu, mai aerisit, fără fonturi descărcate sau tipografie excesiv îngroșată */
:root{--radius:14px}
body{font-family:'Segoe UI',Tahoma,Arial,sans-serif;font-size:15px;line-height:1.55;font-weight:400;letter-spacing:normal;-webkit-font-smoothing:auto}
button,input,select,textarea{font-family:inherit;font-weight:400;font-size:15px}
h1{font-size:clamp(24px,4.5vw,30px);line-height:1.25;letter-spacing:0;font-weight:650}
h2{font-size:19px;letter-spacing:0;font-weight:650}h3{letter-spacing:0;font-weight:650}
.brandname,.brandtext{font-weight:650;letter-spacing:0}
.panelhead h2{font-weight:650}
.listitem strong,.vehiclecard .plate{font-weight:650;letter-spacing:0}
label,.badge,.stat label,.sectionhead .eyebrow{font-weight:600;letter-spacing:0}
.primary,.secondary,.danger,.plain{font-weight:600}
.settingline b{font-weight:650}
.userrow{align-items:flex-start;flex-wrap:wrap;gap:12px}
.userrow .rowgap{justify-content:flex-end}
#reset-url{font-size:13px;min-height:95px;line-height:1.4}
@media(max-width:670px){.userrow .rowgap{width:100%;justify-content:flex-start}.userrow .rowgap button{flex:1}.vehiclecard .plate{font-size:21px}}

/* V3: panou cu grafice responsive si semnatura autorului */
.cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dashboard-stat,.fleet-total{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:19px 15px;overflow:hidden;min-height:116px}
.stat-art{width:56px;height:56px;flex:0 0 56px;display:grid;place-items:center;border-radius:16px;background:#fff3e8}
.stat-art svg{width:44px;height:44px}
.stat.red .stat-art{background:#fff0f1}.stat.green .stat-art{background:#e8f7f1}.stat.orange .stat-art{background:#fff5e8}
.fleet-total strong{color:#25334d}
.stat-copy{min-width:0;flex:1}.dashboard-stat strong,.fleet-total strong{font-size:30px;line-height:1.2}
.dashboard-charts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0 20px}
.chart-panel{margin:0;padding:18px 20px;min-width:0}.chart-panel .panelhead{margin-bottom:16px}
.donut-layout{display:grid;grid-template-columns:minmax(110px,165px) 1fr;align-items:center;gap:22px;min-height:185px}
.donut-chart{aspect-ratio:1;border-radius:50%;padding:17%;box-shadow:0 6px 20px #1725390c}
.donut-center{width:100%;height:100%;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 1px 8px #15325117}
.donut-center strong{font-size:29px;line-height:1.2;font-variant-numeric:tabular-nums}.donut-center span{font-size:12px;color:var(--muted)}
.chart-legend{display:grid;gap:12px}.legend-line{display:grid;grid-template-columns:11px 1fr auto;gap:8px;align-items:center;font-size:13px;color:#3e4c5e}
.legend-line b,.type-line b{font-variant-numeric:tabular-nums;color:#29364b}.legend-dot{width:10px;height:10px;border-radius:50%}
.type-chart{display:grid;gap:12px;min-height:185px;align-content:center}.type-row{display:grid;gap:6px}.type-line{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#485467}
.type-line span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.type-track{height:9px;border-radius:99px;background:#f0f3f7;overflow:hidden}
.type-fill{height:100%;background:linear-gradient(90deg,#f6a55e,#ed6b24);border-radius:99px;min-width:0}
.chart-empty{font-size:13px;color:var(--muted);text-align:center;padding:20px}
.span-chart{grid-column:1/-1}.chart-subtitle{font-size:12px;color:var(--muted);margin:5px 0 0;line-height:1.45}
.month-chart{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;min-height:190px;margin-top:4px}
.month-col{display:flex;flex-direction:column;align-items:center;min-width:0}.month-num{font-size:12px;font-weight:600;color:#4c5a6d;min-height:21px}
.month-track{height:130px;width:100%;max-width:68px;background:#f7f8fb;border-radius:8px 8px 3px 3px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden}
.month-bar{width:100%;border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,#f2b876,#ee8240)}
.month-bar.first{background:linear-gradient(180deg,#ef9254,#e46c2a)}.month-label{margin-top:9px;font-size:12px;text-transform:capitalize;color:#5e6c80}
.app-credit{width:100%;text-align:center;color:#718095;font-size:12px;letter-spacing:.03em;margin:-82px auto 104px;padding:20px 14px}
.auth-credit{font-size:12px;color:#7d8797;text-align:center;margin:14px 0 0;letter-spacing:.02em}
@media(max-width:1000px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:670px){.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dashboard-stat,.fleet-total{min-height:100px;padding:12px 10px;gap:4px}.dashboard-stat strong,.fleet-total strong{font-size:26px}.stat-art{width:36px;height:36px;flex-basis:36px;border-radius:11px}.stat-art svg{width:31px;height:31px}.dashboard-charts{grid-template-columns:minmax(0,1fr);gap:11px}.chart-panel{padding:15px}.span-chart{grid-column:auto}.donut-layout{grid-template-columns:minmax(100px,145px) 1fr;gap:14px;min-height:145px}.chart-legend{gap:9px}.legend-line{font-size:12px}.month-chart{gap:7px;min-height:165px}.month-track{height:114px}.month-label{font-size:11px}.chart-panel .panelhead h2{font-size:17px}.app-credit{margin:-75px auto 108px}}
@media(max-width:360px){.donut-layout{grid-template-columns:110px 1fr}.stat-art{display:none}.dashboard-stat strong,.fleet-total strong{font-size:24px}}
