@font-face{font-family:"MVA Inter";src:url("assets/fonts/InterVariable.woff2") format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
:root{--navy:#08263e;--navy-2:#0b3454;--gold:#ddaa32;--paper:#edf2f6;--ink:#08263e;--muted:#536477;--line:#dce4eb;--white:#fff;--shadow:0 4px 18px #08263e09;--ui-font:"MVA Inter",Arial,sans-serif;font-size:16px}
html{background:var(--paper);scroll-padding-bottom:110px}
body{padding:0;color:var(--ink);font-family:var(--ui-font);font-size:16px;line-height:1.5}
body :is(h1,h2,h3,h4,b,strong,em,button,input,select,.law-number,.total,.brand-copy,.fine-equation span){font-family:var(--ui-font)!important}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button{touch-action:manipulation;min-height:44px}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #b78029;outline-offset:3px}
input:focus-visible,select:focus-visible{outline:2px solid #b78029;outline-offset:2px}
.app-shell{width:100%;max-width:none;min-height:100dvh;margin:0;padding-bottom:calc(110px + env(safe-area-inset-bottom));background:var(--paper);box-shadow:none;border-radius:0;overflow:clip}
.topbar{height:auto;min-height:64px;position:relative;padding:8px 18px;gap:8px;background:linear-gradient(105deg,var(--navy),var(--navy-2));display:flex;align-items:center}
.brand-logo{width:52px;height:48px;object-fit:contain;flex-shrink:0}
.brand-copy{margin:0;font-size:16px;font-weight:850;letter-spacing:.025em;line-height:1.25;flex-shrink:0}
.brand-copy small{font-size:6.5px;color:#fff;letter-spacing:.19em;white-space:nowrap;margin-top:5px}
.header-language{display:flex;margin-left:auto;border:1px solid #6688a4;border-radius:24px;padding:0;gap:0;flex:0 0 auto}
.header-language button{width:44px;min-height:44px;border:0;border-radius:24px;background:none;color:#d3dfeb;font-size:11px;font-weight:700;padding:0}
.header-language button.active{background:var(--gold);color:#08263e;box-shadow:inset 0 0 0 1px #f4c65d}
.connection-status,.connection-status.offline,:root[data-theme="dark"] .connection-status{min-height:0;max-width:80px;padding:0;border:0;display:flex;align-items:center;gap:5px;background:none;color:#e0e9f1;font-size:9px;line-height:1.35;font-weight:500;flex:0 1 80px}
.connection-status .status-dot{width:7px;height:7px;box-shadow:none;margin:0;background:#899dad;flex:0 0 7px}
.connection-status[data-ready="true"] .status-dot{background:#65bd43}
.connection-status.offline .status-dot{background:#ddaa32;box-shadow:none}
.hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(105deg,var(--navy),var(--navy-2));padding:4px 18px 18px;border-radius:0}
.hero:after{content:"§";display:block;position:absolute;right:-16px;top:-45px;font:200px/1 Arial,sans-serif;color:#ffffff07;z-index:-1;pointer-events:none}
.hero .eyebrow{display:none}
.hero h1{width:100%;max-width:none;font-size:32px;line-height:1.12;font-weight:800;letter-spacing:-.045em;margin:4px 0 8px}
.hero h1 em{color:var(--gold);font-style:normal;display:inline-block}
.hero>p{font-size:15px;line-height:1.45;margin:0;color:#c1d3e4;max-width:none}
.global-search{height:48px;margin-top:18px;padding:0 12px;border:1px solid #dce4eb;border-radius:6px;box-shadow:0 4px 12px #00000007;color:#08263e}
.global-search svg{width:22px;height:22px;flex:0 0 22px;stroke-width:2}
.global-search input{font-size:13px;padding:0 9px;height:44px;background:#fff;color:#08263e;letter-spacing:-.025em}
.global-search input::placeholder{color:#536477;opacity:1}
.content-section{padding:24px 18px 0}
.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:14px}
.quick-card{position:relative;min-height:145px;display:flex;flex-direction:column;align-items:flex-start;flex-wrap:nowrap;gap:0;padding:15px 14px;border:1px solid var(--line);border-radius:11px;box-shadow:var(--shadow);overflow:hidden;transform:none!important}
.quick-card:before{display:none}
.quick-card.navy{background:linear-gradient(115deg,var(--navy),var(--navy-2));color:#fff;border-color:var(--navy)}
.quick-card.gold{background:var(--white);color:var(--ink)}
.quick-card:hover{box-shadow:0 6px 18px #08263e12}
.quick-card .card-icon,.quick-card.gold .card-icon{display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:0;background:none;box-shadow:none;color:#fff;margin-bottom:10px}
.quick-card.gold .card-icon{color:#c68d16}
.quick-card .card-icon svg{height:46px;width:46px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.quick-card .money-icon svg{stroke-width:2}
.quick-card>span:nth-child(2){width:100%;min-width:0}
.quick-card b{font-size:17px;line-height:1.23;letter-spacing:-.045em;font-weight:750;overflow-wrap:normal}
.quick-card small{margin-top:6px;line-height:1.4;font-size:13px;color:#c3d5e5;opacity:1;padding-right:26px;letter-spacing:-.02em}
.quick-card.gold small{color:var(--muted)}
.quick-card i{position:absolute;right:11px;bottom:12px;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#ffffff26;color:#fff;margin:0}
.quick-card i svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.4}
.quick-card.gold i{background:#edf2f6;color:#b17a00}
.section-heading{margin-bottom:10px;gap:10px;min-height:32px;align-items:center}
.section-heading h2{font-size:22px;font-weight:800;letter-spacing:-.04em;line-height:1.25}
.section-heading button{font-size:13px;font-weight:750;text-transform:none;letter-spacing:-.025em;color:#a96f00;min-height:44px;padding:0;white-space:nowrap}
.section-heading button:after{content:"›";font-size:23px;font-weight:500;margin-left:5px;vertical-align:-1px}
.topic-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.topic{background:var(--white);border:1px solid var(--line);border-radius:10px;padding:10px 2px 8px;min-height:94px;box-shadow:var(--shadow);min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.topic span.quick-icon{display:block;width:48px;height:48px;max-width:none;border-radius:0;background-color:transparent!important;background-size:contain;background-repeat:no-repeat;background-position:center;box-shadow:none;margin:0}
.topic .speed-icon{background-image:url('assets/icons/speed.svg')}.topic .phone-icon{background-image:url('assets/icons/phone.svg')}.topic span.licence-icon{background-image:url('assets/icons/licence.svg');width:56px}.topic .seatbelt-icon{background-image:url('assets/icons/seatbelt.svg')}
.topic b{font-size:12px;line-height:1.2;display:block;font-weight:650;color:var(--ink);letter-spacing:-.05em;overflow-wrap:normal;max-width:100%}
.recent-card{display:flex;align-items:center;gap:10px;padding:14px;background:var(--white);border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);cursor:pointer;min-height:98px}
.recent-card>div{min-width:0;flex:1}
.recent-card small{color:#a76e00;font-size:10px;font-weight:800;letter-spacing:.07em}
.recent-card h3{margin:4px 0;font-size:17px;line-height:1.25;font-weight:750;color:var(--ink);letter-spacing:-.035em}
.open-section{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;line-height:1.4;margin-top:5px}.open-section>span{color:#b88000;font-size:23px;line-height:16px}
.recent-card button,.result-card button,.law-item button{min-width:44px;min-height:44px;padding:9px;border:0;background:none;color:#b17a00;display:grid;place-items:center;align-self:flex-start}
.recent-card svg,.result-card button svg,.law-item button svg,.bookmarks-empty svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
[data-bookmark] svg.is-saved{fill:currentColor}
.bookmarks-empty{border:1px dashed #cbd7e1;border-radius:10px;padding:22px 18px;text-align:center;color:var(--muted);background:#ffffff66}
.bookmarks-empty svg{display:block;margin:0 auto 10px;color:#b17a00;width:27px;height:27px}
.bookmarks-empty b{display:block;font-size:15px;font-weight:700;color:var(--ink)}
.bookmarks-empty p{font-size:13px;line-height:1.5;margin:5px 0 0}
.offline-banner{display:flex;align-items:center;gap:14px;margin:16px 18px 0;padding:14px;background:#dce8f2;border-radius:9px;color:var(--ink);font-size:13px;font-weight:650}
.offline-banner[hidden]{display:none}
.offline-banner svg{width:23px;height:23px;fill:#50a337;stroke:#fff;stroke-width:1.6;flex-shrink:0}.offline-banner svg circle{stroke:none}
.offline-banner>span{padding-left:12px;border-left:1px solid #b8ccd9}
.bottom-nav{position:fixed;z-index:40;left:0;transform:none;bottom:0;width:100%;max-width:none;height:auto;min-height:80px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;background:#fff;border-top:1px solid var(--line);border-radius:0;box-shadow:0 -3px 15px #08263e04}
.bottom-nav button,.bottom-nav .calc-nav{min-height:64px;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:7px 0;color:#536477;border:0;border-radius:15px;background:none;transform:none}
.bottom-nav button.active,.bottom-nav .calc-nav.active{color:#08263e;background:#e4edf5}
.bottom-nav button.active:after{display:none}
.bottom-nav .nav-icon,.bottom-nav .calc-nav .nav-icon{height:28px;width:28px;background:none;box-shadow:none;border:0;border-radius:0;margin:0;color:inherit;display:grid;place-items:center}
.bottom-nav svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bottom-nav b,.bottom-nav .calc-nav b,.bottom-nav .calc-nav.active b{font-size:11px;line-height:1.25;font-weight:600;letter-spacing:-.04em;color:inherit;white-space:normal}
.bottom-nav button.active b{font-weight:800}
.account-about{margin-top:14px;gap:12px;justify-content:flex-start}.account-about svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7}
#installButton{margin-top:12px;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:10px 18px;color:var(--ink);background:var(--white)}
.page-title{padding:24px 20px;background:var(--navy);border-radius:0 0 23px 23px;gap:0}
.page-title h1{font-size:25px;line-height:1.2;font-weight:700;letter-spacing:-.035em}
.page-title small{font-size:9px;color:#dfb367}
.page-title .back{width:44px;height:44px;margin-right:13px;flex-shrink:0}
.page-body{padding:24px 20px}
.inline-search{height:52px;border-radius:12px;gap:7px}
.inline-search input{min-width:0;font-size:13px;height:44px;background:transparent}
.category-filter select{border-radius:12px;font-size:12px;height:auto;min-height:48px;max-width:100%}
.law-result-count{font-size:11px;margin-top:12px}
.result-card,.law-item{border-radius:14px;padding:16px;box-shadow:var(--shadow)}
.result-card b{font-size:15px;line-height:1.4;font-weight:650}
.result-card small{font-size:9px;line-height:1.5;color:#866026}
.result-card p,.law-item p{font-size:12px;line-height:1.65;color:var(--muted)}
.law-item{grid-template-columns:minmax(40px,auto) minmax(0,1fr) 44px;gap:10px}
.law-number{font-size:12px;overflow-wrap:anywhere;max-width:85px;padding-top:2px}
.law-item h3{font-size:13px;line-height:1.5;font-weight:650}
.law-tag{font-size:8px}
.step b{font-size:14px}.step small{font-size:11px}.step>span{background:#e6edf4;color:var(--navy);font-weight:750}
.field>div{border-radius:12px}.field input{background:transparent}
.toggle-row b{font-size:12px;line-height:1.5}.toggle-row small{font-size:10px;line-height:1.5}
.toggle-row{min-height:72px;position:relative;gap:10px}.toggle-row span{min-width:0}
.toggle-row i{flex:0 0 42px}.school-zone-icon{margin-right:0}
.toggle-row input{display:block;position:absolute;right:0;top:50%;transform:translateY(-50%);opacity:0;width:44px;height:44px;margin:0;z-index:1;cursor:pointer}
.toggle-row input:focus-visible+i{outline:3px solid #b78029;outline-offset:4px}
.calculate-button,.trial-button,.pro-gate button{min-height:50px;border-radius:12px;font-size:13px;letter-spacing:0}
.fine-result{border-radius:16px}.fine-result .total{font-size:33px}
.profile-card,.plans button,.language-setting,.theme-setting,.about-content section,.privacy-content>section,.privacy-placeholder,.legal-document-intro,.modal-content section,.legal-facts>div{border-radius:14px;box-shadow:var(--shadow)}
.profile-card{padding:20px}.plans{gap:8px}.plans button{padding:15px 7px;min-width:0}.plans button strong{font-size:19px}.plans button small{font-size:9px;line-height:1.5}
.language-setting button,.theme-setting button,.account-actions button{min-height:44px;border-radius:10px}
.about-content h3,.privacy-content h2{font-size:17px;line-height:1.4}
.about-content p,.about-content li,.privacy-content p,.privacy-content li{font-size:13px;line-height:1.75}
.legal-page-button,.provider-button,.auth-content input{border-radius:12px;min-height:48px}
.update-card{margin:0 20px 20px;border-radius:14px;background:#e9f0ed;padding:18px;font-size:12px}
.release-info{grid-template-columns:1fr!important}.release-info span{width:max-content}
.modal-header{gap:10px}.modal-header h2{font-size:21px;line-height:1.3;font-weight:700}
.modal-header button{width:44px;height:44px;flex:0 0 44px}
.article-modal,.paywall-modal{border-radius:22px 22px 0 0}.modal-content h3{font-size:16px;line-height:1.5}.legal-facts{gap:10px}
.pro-gate{border-radius:14px}.pro-gate b{font-size:15px}.toast{bottom:calc(96px + env(safe-area-inset-bottom));max-width:calc(100% - 32px);font-size:12px;border-radius:12px}
.language-card{border-radius:22px;padding:24px}.language-card h1{font-size:25px}.language-card button{min-height:56px;border-radius:12px}.language-card button b{font-size:16px}
:root[data-theme="dark"]{--paper:#101d2a;--white:#172839;--ink:#edf3f9;--muted:#a8b9ca;--line:#2b4053}
:root[data-theme="dark"] .connection-status,:root[data-theme="dark"] .connection-status.offline{background:var(--navy);border:0}
:root[data-theme="dark"] .quick-card.gold,:root[data-theme="dark"] .topic,:root[data-theme="dark"] .recent-card{background:var(--white);color:var(--ink)}
:root[data-theme="dark"] .quick-card.navy{background:#17334e}
:root[data-theme="dark"] .bookmarks-empty{background:#17283966;border-color:var(--line)}
:root[data-theme="dark"] .global-search{background:#fff;color:#738495}
:root[data-theme="dark"] .global-search input{color:#132b43;background:#fff}
:root[data-theme="dark"] .section-heading button,:root[data-theme="dark"] .recent-card small,:root[data-theme="dark"] .law-number,:root[data-theme="dark"] .result-card small{color:#dfb367}
:root[data-theme="dark"] .bottom-nav button.active{background:#263d53;color:#dfb367}
:root[data-theme="dark"] .step>span{background:#263d53;color:#dfb367}
@media(min-width:681px){body{padding:0}.app-shell{border-radius:0;min-height:100dvh}.bottom-nav{bottom:0;border-radius:0}.topbar{padding:20px max(24px,calc((100% - 1020px)/2));gap:14px}.brand-logo{width:66px;height:60px}.brand-copy{font-size:23px}.brand-copy small{font-size:8px}.connection-status{font-size:12px;max-width:110px;flex-basis:110px}.hero{padding:22px max(24px,calc((100% - 1020px)/2)) 28px}.hero h1{font-size:44px}.hero>p{font-size:19px}.global-search input{font-size:16px}.global-search{height:58px}.content-section{max-width:1056px;margin:auto;padding:28px 18px 0}.quick-card{min-height:170px;padding:20px}.quick-card b{font-size:21px}.quick-card small{font-size:15px}.topic{min-height:110px}.topic b{font-size:14px}.offline-banner{max-width:1020px;margin:20px auto 0}.bottom-nav{padding-inline:max(12px,calc((100% - 1020px)/2))}.bottom-nav b,.bottom-nav .calc-nav b{font-size:12px}.page-body{max-width:1056px;margin:auto}}
@media(max-width:374px){.topbar{padding-inline:16px;gap:6px}.brand-copy{font-size:14px}.brand-copy small{font-size:5.9px}.brand-logo{width:46px}.connection-status{font-size:8px;max-width:65px;flex-basis:65px}.hero,.page-body{padding-inline:16px}.content-section{padding-inline:16px}.hero h1{font-size:30px}.hero>p{font-size:14px}.quick-card{padding:14px 12px;min-height:160px}.quick-card b{font-size:16px}.quick-card small{font-size:12px}.topic b{font-size:11px}.topic-row{gap:7px}.bottom-nav b,.bottom-nav .calc-nav b{font-size:10.5px}}
:root[data-theme="dark"] .topic span.quick-icon{background-color:#fff!important;border-radius:4px}
:root[data-theme="dark"] .offline-banner{background:#213c51;color:var(--ink)}
:root[data-theme="dark"] .connection-status.offline{background:none}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
