
.app-body{background:#f2f7fa}.app-shell{display:grid;grid-template-columns:220px minmax(0,1fr);max-width:1680px;margin:auto}.sidebar{background:white;border-right:1px solid #e3ebed;padding:28px 16px;display:flex;flex-direction:column;gap:26px;min-height:calc(100vh - 30px)}.sidebar>.logo,.sidebar>a{margin:auto auto 0}.sidebar>.logo{width:145px}.sidebar>small{color:#83939a;font-size:10px;letter-spacing:.12em;margin:6px 14px -12px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav a{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:12px;padding:13px;border-radius:8px;font-weight:600}.sidebar nav a svg{width:20px;height:20px}.sidebar nav a.active{background:#0a3153;color:white}.side-note{background:#edf6e9;border-radius:12px;padding:22px 15px;margin-top:auto;font-size:13px}.side-note svg{width:45px;height:45px;color:#208447;display:block;margin-bottom:15px}.side-note p{font-size:11px;margin:12px 0}.side-note a{font-size:11px}.app-main{min-width:0;padding:26px 30px}.app-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.app-header h1{font-size:29px;margin-bottom:5px}.app-header p{font-size:13px;margin:0}.avatar{border-radius:50%;background:#0a3153;color:white;display:grid;place-items:center;width:40px;height:40px;font-weight:700}.demo-note{font-size:11px;color:#647b85;padding:9px 12px;background:#e6eef3;border-radius:7px;margin-bottom:20px}.dashboard-top{display:grid;grid-template-columns:1.8fr 1fr;gap:20px}.dashboard-hero{position:relative;border-radius:13px;overflow:hidden;min-height:270px}.dashboard-hero>img{position:absolute;width:100%;height:100%;object-fit:cover}.dashboard-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#08271de8,#0a332766,transparent)}.dashboard-hero>div{position:relative;z-index:1;padding:27px;color:white}.dashboard-hero h2{font-size:31px;max-width:450px}.dashboard-hero p{color:#e3eee7;font-size:14px}.dashboard-hero .eyebrow{color:#d3f0b6;font-size:9px}.dashboard-hero .button{background:white;color:#1b713e;font-size:12px;padding:11px 16px}.wallet-card{padding:27px;background:linear-gradient(130deg,#146c46,#298e56);border-radius:13px;color:white;display:flex;flex-direction:column;position:relative;overflow:hidden}.wallet-card:after{content:'';width:180px;height:180px;border:30px solid #ffffff0c;border-radius:50%;position:absolute;right:-100px;top:30px;pointer-events:none}.wallet-card>span{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:700;letter-spacing:.04em}.wallet-card h2{font-size:41px;letter-spacing:-.04em;margin:20px 0 5px}.wallet-card p{color:#ddf1e4;font-size:12px}.wallet-bottom{margin-top:auto}.wallet-bottom small{display:block;font-size:10px;color:#d4eada;margin-bottom:12px;line-height:1.5}.wallet-bottom .button{width:100%;padding:9px;font-size:12px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:20px 0}.stat-grid>div{display:flex;align-items:center;gap:13px;background:white;border:1px solid #e3ecee;padding:16px;border-radius:12px}.stat-grid p{font-size:10px;margin:0}.stat-grid strong{display:block;color:#0a3153;font-size:26px;line-height:1.3}.stat-grid strong small{font-size:12px;font-weight:400}.dashboard-middle{display:grid;grid-template-columns:1.7fr 1fr;gap:20px}.panel{background:white;border:1px solid #e2ebee;border-radius:12px;padding:22px;min-width:0}.panel h3{font-size:19px;letter-spacing:-.025em}.panel-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:18px}.panel-head h3{margin:0}.panel-head a{font-size:11px;color:#267948;font-weight:700;white-space:nowrap}.last-trip{display:grid;grid-template-columns:1fr 1.3fr;gap:20px}.last-trip .map{border-radius:8px;min-height:210px}.last-trip h3{font-size:22px;margin:16px 0 8px}.last-trip p{font-size:12px}.last-trip a{font-size:10px;font-weight:700}.metric{background:#edf6ee;color:#237343;border-radius:8px;padding:12px;margin:15px 0;font-size:12px}.metric b{font-size:27px}.metric small{display:block;font-size:10px}.quick{display:flex;align-items:center;gap:12px;border-radius:9px;text-decoration:none;padding:12px;margin:10px 0}.quick .icon-disc{width:38px;height:38px;background:white}.quick svg{width:23px;height:23px}.quick b{font-size:13px}.quick small{display:block;font-size:10px;color:#607584}.quick>strong{margin-left:auto;font-size:20px}.dashboard-bottom{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:20px;margin-top:20px}.dashboard-bottom p{font-size:12px}.dashboard-bottom .panel{padding:20px}.dashboard-bottom .button{font-size:10px;padding:10px 13px;gap:8px}.passport-tile{background:#ecf4fa}.passport-tile h3{margin-top:15px}.upload-tile>svg{width:40px;height:40px;color:#21864a;margin-bottom:15px}.upload-tile>a{font-size:11px;font-weight:700}.operation{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #e9eff1;text-decoration:none}.operation:last-child{border-bottom:0}.operation .icon-disc{width:36px;height:36px}.operation svg{width:21px;height:21px}.operation>span:nth-child(2){flex:1;min-width:0}.operation b{font-size:12px;display:block}.operation small{font-size:10px;color:#70838e;display:block}.operation>strong{font-size:12px;white-space:nowrap}.app-foot{font-size:10px;color:#7d9098;text-align:center;margin:30px 0 0}.app-panel>h2{font-size:36px}.filters,.service-tabs{display:flex;gap:10px;margin:24px 0;flex-wrap:wrap}.filters button,.service-tabs a{border:1px solid #cfdee3;background:white;padding:9px 18px;border-radius:30px;color:#183b50;font-size:13px;text-decoration:none}.filters .selected,.service-tabs .selected{background:#0b3153;color:white;border-color:#0b3153}.form-layout{display:grid;grid-template-columns:1.7fr 1fr;gap:25px;margin:20px 0}.form-progress{display:flex;gap:20px;font-size:12px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e0e9eb}.form-progress b{color:#1a8548}.form-progress span{color:#7c919a}label{display:block;font-size:13px;font-weight:700;margin:16px 0}input,select{display:block;width:100%;border:1px solid #c5d8df;background:white;border-radius:7px;padding:12px;color:#12354a;margin-top:7px;font-size:15px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.help{background:#e9f3e9;align-self:start}.help h3{font-size:25px;margin-top:22px}.help p{font-size:14px}.help a{font-size:13px}.detail-grid,.wallet-overview{display:grid;grid-template-columns:1.25fr 1fr;gap:24px;margin:25px 0}.huge{font-size:55px;font-weight:700;color:#21864a}.huge small{font-size:18px}.detail-grid p{font-size:14px}details{border-top:1px solid #e1e9eb;padding:15px 0}summary{font-weight:700;cursor:pointer}details p{padding-top:12px}.vertical-steps{padding-left:24px}.vertical-steps li{padding:15px 0 10px 8px}.vertical-steps p{margin:6px 0}.app-panel .passport-section{gap:25px}.app-panel .passport-art{min-width:400px}.upload-box{border:2px dashed #accab9;display:flex;flex-direction:column;align-items:center;gap:12px;padding:28px;border-radius:10px;background:#f3f8f0}.upload-box>span{font-size:11px;font-weight:400}.upload-box input{font-size:12px;background:white}.upload-box svg{color:#248b4d}#file-feedback{font-size:12px;overflow-wrap:anywhere}#form-review{border-color:#70b88d;margin:20px 0}#toast{position:fixed;bottom:25px;right:25px;background:#0d3c32;color:white;padding:15px 22px;border-radius:9px;box-shadow:0 5px 20px #0002;z-index:10}hr{border:0;border-top:1px solid #e5edef;margin:25px 0}
/* Shared identity with the approved website, real application controls. */
:root{color-scheme:light;--navy:#092b4e;--leaf:#21864a;--leaf-dark:#21864a;--leaf-light:#e7f3e9;--bg:#f2f7fa;--fg:#092b4e;--muted:#556d7c;--line:#dce7ec;--card:white;--sky:#edf5f9;--accent:#21864a;--accent-fg:white;--link:#237347;--chip-bg:white;--chip-line:#dce8de;--err:#a1302a;--warn:#8a6212}
body{background:#f2f7fa}svg{width:27px;height:27px;flex-shrink:0}button svg{pointer-events:none}h1,h2,h3{letter-spacing:-.03em}h2{line-height:1.2}p{line-height:1.65}a:focus-visible,button:focus-visible{outline:3px solid #de9d37;outline-offset:3px}[hidden]{display:none!important}.app-shell{display:grid;grid-template-columns:210px minmax(0,1fr);max-width:1700px;margin:auto}.bar{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:35px;position:sticky;top:0;height:100vh;padding:30px 15px;background:white;box-shadow:none;border-right:1px solid var(--line);min-width:0}.brand{margin:0 auto}.brand img{width:150px;height:auto}.bar nav{display:flex;flex-direction:column;gap:8px}.bar nav button{display:flex;align-items:center;gap:12px;padding:13px 12px;font-size:12px;text-align:left;border-radius:9px;line-height:1.4}.bar nav button svg{width:20px;height:20px}.bar nav button.on{background:#0a3153;color:white}main#view{width:100%;max-width:1250px;padding:30px;margin:0 auto;min-width:0}main#view:has(>.card),main#view:has(>form){max-width:1050px}.card{border-radius:12px;box-shadow:none;border:1px solid var(--line);padding:22px;min-width:0}.app-dashboard .card{margin:0}.app-dashboard .card h2{font-size:19px;margin:0 0 18px}.app-dashboard .card p{font-size:13px}.app-header{margin:0 0 22px}.app-header h1{font-size:30px}.app-header p{font-size:14px;color:var(--muted)}.app-header .lang{max-width:190px}.app-header .lang select{font-size:12px}.dashboard-hero{min-height:285px}.dashboard-hero .kicker{font-size:10px;color:#d4efc6;letter-spacing:.1em}.dashboard-hero h2{font-size:31px;color:white;margin:18px 0}.dashboard-hero button.primary{display:inline-block;width:auto;background:white;color:#1c7342;border-radius:9px;margin:5px 0 0;font-size:12px;padding:11px 18px;box-shadow:none}.wallet-card h2{color:white;font-size:40px}.wallet-card>span{font-size:11px}.wallet-card p,.wallet-card small{color:#dff2e5;font-size:12px}.wallet-card button{margin-top:auto;border:0;background:white;color:#206d43;border-radius:8px;font-size:12px;width:100%;padding:11px}.wallet-card button:hover{background:#e8f3e9;color:#14572f}.icon-disc{width:45px;height:45px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#e4f4e9;color:#21864a;flex-shrink:0}.icon-disc.blue{background:#e6f1fa;color:#2b6294}.icon-disc.rose{background:#fae9ee;color:#ad5c78}.stat-grid strong small{display:inline;font-size:12px;font-weight:400}.stat-grid p{font-size:11px;color:var(--muted)}.quick{border:0;width:100%;text-align:left;color:var(--fg);cursor:pointer}.quick.viaggi{background:#e5f2e8}.quick.food{background:#fff0d9}.quick.prodotti{background:#e5f0fa}.quick:hover{outline:1px solid #a6c8b1}.quick .icon-disc{background:white}.panel-head button.link{font-size:11px;white-space:nowrap}.panel-head{margin-bottom:20px}.panel-head h2{margin:0!important}.featured-operation{display:grid;grid-template-columns:1fr 1fr;gap:25px}.featured-operation h2{margin:16px 0!important}.metric{background:#e7f4e7;border-radius:9px;color:#24743e;padding:12px;margin:18px 0}.metric b{font-size:30px}.metric small{display:block;font-size:11px}.information-path{background:#edf5ed;border-radius:12px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;gap:10px}.information-path>div{display:flex;align-items:center;gap:12px;padding:12px;background:white;border-radius:10px;width:100%;font-size:12px}.information-path>span{color:#388f56}.information-path svg{color:#288b4f}.empty-state{text-align:center;padding:30px 20px}.empty-state>svg{width:75px;height:75px;color:#278c4d}.empty-state button.primary{width:auto;padding:12px 35px;box-shadow:none;border-radius:9px}.dashboard-bottom{grid-template-columns:1.3fr 1fr 1fr}.dashboard-bottom .trip{padding:15px 0;margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none}.trip{gap:12px}.trip .operation-label{flex:1;min-width:0;overflow-wrap:anywhere}.trip b{display:block;font-size:13px}.trip small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.trip .kg{font-size:12px}.trip .icon-disc{width:34px;height:34px}.trip .icon-disc svg{width:20px;height:20px}.dashboard-bottom .card h2{margin-top:15px}.passport-tile{background:#eaf3fa}.upload-tile>svg{color:#21864a;width:40px;height:40px;margin-bottom:12px}.dashboard-bottom button.secondary{font-size:11px;border:1px solid #a7bdc8;border-radius:8px;padding:11px;background:white}.dashboard-bottom button.secondary:hover{color:#206d43;background:#f0f7f2}.dashboard-bottom button.link{font-size:12px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.filters{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0}.filters button{padding:10px 18px;background:white;color:var(--fg);border:1px solid var(--line);border-radius:25px;font-size:13px}.filters button.selected{background:#0a3153;color:white}.app-dashboard #news{margin-top:24px}.envbar{position:relative;z-index:5}.app-guest .app-shell{display:block}.app-guest .bar{height:auto;position:relative;padding:22px;border:0}.app-guest .brand{margin:0 auto}.app-guest main#view{max-width:1100px;display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:start}.app-guest .hero{padding:30px 15px}.app-guest .hero h1{font-size:42px;line-height:1.13;color:#092b4e;margin-top:28px}.app-guest .hero h1 span{color:#208447}.app-guest .hero>img{width:100px;padding:8px}.app-guest .welcome-art{background:radial-gradient(ellipse at 30% 40%,#e4f2db,transparent 65%);border-radius:25px}.app-guest #news{grid-column:1/-1;order:3}.app-guest main>.card{margin:0}.app-guest button.primary{border-radius:9px;box-shadow:none}.app-guest .chips span{font-size:12px}.app-guest .hero .muted{font-size:17px}.app-ready .hero{max-width:700px}.bar nav button span{overflow-wrap:anywhere}.qr{max-width:100%}
@media(max-width:1150px){.app-shell{grid-template-columns:180px minmax(0,1fr)}.bar{padding:25px 10px}.bar nav button{font-size:11px;padding:12px 8px;gap:8px}.brand img{width:130px}main#view{padding:25px}.dashboard-top{grid-template-columns:1.5fr 1fr}.dashboard-hero h2{font-size:26px}.wallet-card{padding:20px}.wallet-card h2{font-size:33px}.stat-grid{gap:12px}.stat-grid>div{padding:12px;gap:8px}.stat-grid .icon-disc{width:35px;height:35px}.stat-grid strong{font-size:23px}.dashboard-middle{grid-template-columns:1fr}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quick-actions h2{grid-column:1/-1}.quick{padding:12px;gap:8px}.quick .icon-disc{width:32px;height:32px}.quick strong{display:none}.dashboard-bottom{grid-template-columns:1.3fr 1fr}.upload-tile{grid-column:1/-1}.quick small{font-size:10px}}
@media(max-width:800px){.app-shell{grid-template-columns:minmax(0,1fr)}.bar{position:relative;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:15px 20px;gap:15px}.brand img{width:110px}.bar nav{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:5px}.bar nav button{padding:8px;font-size:10px}.bar nav button svg{width:16px;height:16px}.bar nav button.on{border-radius:7px}.app-header{gap:20px}.app-header h1{font-size:26px}.app-header p{font-size:12px}.app-header .lang{max-width:160px}.app-guest main#view{grid-template-columns:1fr;max-width:650px;gap:15px}.app-guest .hero{padding:10px}.app-guest .hero h1{font-size:36px}.app-guest .hero>img{display:none}.app-guest #news{grid-column:auto}.app-dashboard .card{padding:20px}}
@media(max-width:560px){main#view{padding:20px 14px}.bar{padding:15px 14px}.bar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}.bar nav button{flex-direction:column;text-align:center;font-size:9px;gap:4px;padding:9px 3px}.app-header{align-items:flex-start;flex-wrap:wrap}.app-header .lang{max-width:100%;margin:0}.dashboard-top{grid-template-columns:1fr}.dashboard-hero{min-height:285px}.dashboard-hero h2{font-size:29px}.dashboard-hero>div{padding:23px}.wallet-card{padding:22px;min-height:0}.wallet-card h2{font-size:38px}.wallet-card button{margin:15px 0 0}.stat-grid{gap:7px;margin:14px 0}.stat-grid>div{display:block;padding:12px 9px}.stat-grid .icon-disc{width:30px;height:30px;margin-bottom:6px}.stat-grid strong{font-size:22px}.stat-grid strong small{display:block;font-size:9px}.stat-grid p{font-size:9px;line-height:1.45}.dashboard-middle,.dashboard-bottom{grid-template-columns:1fr;gap:15px}.featured-operation{grid-template-columns:1fr;gap:20px}.information-path{padding:18px}.quick-actions{display:block}.quick{padding:13px}.quick strong{display:block}.quick small{font-size:10px}.quick b{font-size:13px}.dashboard-bottom .card{padding:18px}.trip{flex-wrap:wrap}.trip .kg{margin-left:auto;font-size:11px}.trip .operation-label{min-width:140px}.page-head{display:block}.filters{gap:8px}.filters button{font-size:12px;padding:9px 13px}.card{padding:18px}.app-guest main#view{padding:15px}.app-guest .hero h1{font-size:32px}.app-guest .hero .muted{font-size:15px}.app-header p{font-size:12px}.dashboard-top>div{min-width:0}.row{flex-wrap:wrap}.card table{font-size:12px;table-layout:auto;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
