@media screen {
:root{--ink:#172e29;--accent:#087b59;--line:#e1e9e5;--canvas:#f3f6f5}body{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;font-size:14px;line-height:1.55;background:var(--canvas);color:var(--ink)}header{background:#fff;color:#123e30;border-bottom:1px solid var(--line);padding:16px max(20px,calc((100% - 1420px)/2));display:flex;align-items:center;gap:18px}header strong{font-size:23px;letter-spacing:-.8px}header small{color:#60766c;font-size:11px}main{max-width:1460px;padding:20px 24px} .workspace>section{border:1px solid var(--line);border-radius:18px;box-shadow:0 3px 14px #173b2910;padding:24px}.workspace h2{font-size:25px;letter-spacing:-.8px;border:0;padding:0;margin:0 0 22px}.workspace h3{font-size:15px;letter-spacing:-.2px}button{font-weight:600;letter-spacing:0;border-radius:9px;min-height:42px;padding:10px 15px;background:#087b59;transition:filter .15s,box-shadow .15s}button:hover{filter:brightness(.94)}input,select,textarea{border:1px solid #ccd9d3;background:#fff;color:var(--ink);border-radius:9px}input:focus,select:focus,textarea:focus{outline:2px solid #82c9ad;outline-offset:1px}label{font-weight:600}th{background:#eaf3ef;color:#315b4a;font-size:12px}td{border-color:#e8eeeb}tbody tr:nth-child(even){background:#f8faf9}.tablewrap{border:1px solid var(--line);border-radius:12px}.site-card,.unit-card,.fin-card,.subscription-content article{border:1px solid var(--line);border-radius:14px;box-shadow:0 2px 8px #183d2d08}.sidebar.bottom-menu{background:#fff;box-shadow:0 3px 16px #173b2910;border:1px solid var(--line)}.sidebar.bottom-menu>button[data-nav],.sidebar.bottom-menu .nav-group-toggle{background:#f6f8f7;color:var(--section-color,#24533f);border-left:4px solid var(--section-color,#24533f);font-size:14px;padding:12px 10px;box-shadow:none}.sidebar.bottom-menu .nav-group-links button{background:#f1f5f3;color:#23483a}.sidebar.bottom-menu button.selected,.sidebar.bottom-menu .nav-group-toggle.group-active{background:#e0eee7;box-shadow:inset 0 0 0 1px #b5d3c4}.sidebar.bottom-menu button:focus-visible{outline:2px solid #087b59}.menu-head{color:#123e30}.menu-head button{color:#fff;background:#176344}.workspace [data-panel=dashboard]{background:transparent;border:0;box-shadow:none;padding:0}.workspace [data-panel=dashboard] h2{background:linear-gradient(115deg,#103e30,#087b59);color:white;padding:25px;border-radius:16px;font-size:26px;margin:12px 0 20px}.premium-kicker{display:block;font-size:11px;letter-spacing:1.8px;text-transform:uppercase;font-weight:600;color:#c5e7d8;margin-bottom:8px}.premium-sub{display:block;font-size:13px;font-weight:400;color:#d9f1e7;letter-spacing:0;margin-top:8px}.workspace [data-panel=dashboard] .metrics article{padding:16px;border:1px solid var(--line);border-radius:13px;min-height:100px;color:#60766c;font-weight:600}.metrics strong{color:#123e30;font-size:30px}.premium-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 22px}.premium-actions button{background:white;color:#126447;border:1px solid #cfe2d8;text-align:left;min-height:64px;display:flex;align-items:center;gap:10px;font-size:13px}.premium-actions b{font-size:20px;color:#087b59}.workspace [data-panel=dashboard] .activity-grid article{background:#fff;border:1px solid var(--line);border-top:4px solid #24845e;padding:16px;box-shadow:0 2px 8px #183d2d08}.workspace [data-panel=dashboard] .activity-grid article:nth-child(2){border-top-color:#bd8c36}.workspace [data-panel=dashboard] .activity-grid article:nth-child(3){border-top-color:#378c88}.workspace [data-panel=dashboard] .activity-grid .dash-link{background:#e9f4ee;color:#126447;min-height:34px}.workspace [data-panel=dashboard] .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bars span{background:linear-gradient(0deg,#087b59,#72c7a2)}.premium-distribution{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.premium-ring{width:120px;height:120px;border-radius:50%;display:grid;place-items:center;flex:none}.premium-ring>div{width:86px;height:86px;border-radius:50%;background:white;display:grid;place-content:center;text-align:center}.premium-ring strong{font-size:25px;line-height:1.1}.premium-legend{flex:1;min-width:120px}.premium-legend div{display:flex;align-items:center;gap:8px;margin:8px 0}.premium-legend b{margin-left:auto}.premium-legend i{width:9px;height:9px;border-radius:50%}.workspace [data-panel=reports] button{margin:4px;white-space:normal}.landing .hero{border-radius:22px;background:linear-gradient(135deg,#103e30,#087b59);box-shadow:0 12px 35px #103e3020}.landing>section{border-radius:22px;padding:30px}.premium-collapse{display:none}
}
@media screen and (min-width:769px){.shell{grid-template-columns:250px minmax(0,1fr);gap:24px}.shell>.sidebar.bottom-menu{padding:12px;top:16px}.premium-collapse{display:block;background:#e8f1ec;color:#176344;text-align:left;font-size:12px}.shell.premium-collapsed{grid-template-columns:66px minmax(0,1fr)}.shell.premium-collapsed .sidebar>*:not(.premium-collapse){display:none!important}.shell.premium-collapsed .premium-collapse{padding:8px;text-align:center}}
@media screen and (max-width:768px){header{display:block;padding:12px 16px}main{padding:12px}.workspace>section{padding:16px}.premium-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace [data-panel=dashboard] h2{font-size:22px;padding:18px}.workspace [data-panel=dashboard] .dashboard-grid{grid-template-columns:1fr}.sidebar.bottom-menu.menu-open{background:white}.workspace [data-panel=dashboard] .activity-grid article{display:block}.workspace [data-panel=dashboard] .metrics article{min-height:84px;padding:12px}.metrics strong{font-size:26px}}
@media screen {
body{background:#eaf1f5;font-size:15px;line-height:1.4}main{max-width:none;width:100%;box-sizing:border-box;padding:12px 20px}header{padding:10px 20px;background:#103e30;color:white}header small{color:#d2e8de}.sidebar.bottom-menu{background:#103e30;border:0;padding:10px;gap:6px}.sidebar.bottom-menu>button[data-nav],.sidebar.bottom-menu .nav-group-toggle{background:var(--section-color,#24533f);color:#fff;border:0;font-weight:650;font-size:14px;padding:10px 12px;min-height:44px}.sidebar.bottom-menu button.selected,.sidebar.bottom-menu .nav-group-toggle.group-active{background:var(--section-color,#24533f);box-shadow:inset 4px 0 #f6cc69,inset 0 0 0 2px #ffffff90}.sidebar.bottom-menu .nav-group-links button{background:var(--section-child,#32634e);color:white}.menu-head{color:white}.premium-collapse{background:#24533f;color:white}.workspace>section{padding:18px}.workspace [data-panel=dashboard] h2{padding:12px 18px;margin:8px 0 12px;font-size:24px}.premium-kicker{margin-bottom:3px}.premium-sub{margin-top:3px}.workspace [data-panel=dashboard] h3{margin:10px 0 7px;font-size:16px}.workspace [data-panel=dashboard] .metrics{gap:10px;margin:0 0 10px}.workspace [data-panel=dashboard] .metrics article{background:#176344!important;color:white;border:0;min-height:0;padding:12px 15px;box-shadow:0 3px 8px #183d2d18}.workspace [data-panel=dashboard] .metrics article:nth-child(2){background:#a15b12!important}.workspace [data-panel=dashboard] .metrics article:nth-child(3){background:#426b24!important}.workspace [data-panel=dashboard] .metrics article:nth-child(4){background:#08757c!important}.workspace [data-panel=dashboard] .metrics strong{color:white;font-size:30px;line-height:1.1;margin-top:5px}.premium-actions{gap:8px;margin:6px 0 12px}.premium-actions button{min-height:44px;padding:8px 10px;background:#d9f3e7;color:#12573c;border-color:#a9d8c1}.premium-actions button:nth-child(2){background:#fff0d6;color:#85480d;border-color:#e9c58d}.premium-actions button:nth-child(3){background:#dcecff;color:#194e87;border-color:#a9c8ec}.premium-actions button:nth-child(4){background:#eae0f8;color:#65408c;border-color:#cdb6e9}.workspace [data-panel=dashboard] .activity-grid{gap:10px;margin:6px 0 10px}.workspace [data-panel=dashboard] .activity-grid article{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 8px;padding:10px 12px;background:#fff0d7;border-color:#d6a64e;border-top:3px solid #b77920}.workspace [data-panel=dashboard] .activity-grid article:nth-child(2){background:#e1f1d5;border-color:#8fb76c}.workspace [data-panel=dashboard] .activity-grid article:nth-child(3){background:#d5f1ed;border-color:#70b9ae}.workspace [data-panel=dashboard] .activity-grid h3{margin:0}.workspace [data-panel=dashboard] .activity-grid strong{grid-column:2;grid-row:1;font-size:26px}.workspace [data-panel=dashboard] .activity-grid p{margin:0}.workspace [data-panel=dashboard] .activity-grid .dash-link{margin:0;background:#176344;color:white;padding:6px 10px;min-height:32px}.workspace [data-panel=dashboard] .fin-stock-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:10px;margin:6px 0}.workspace [data-panel=dashboard] .fin-stock-grid article{background:#e0f0ff;border-color:#9bbfdf;border-top:3px solid #2463a5;padding:10px 14px}.workspace [data-panel=dashboard] .fin-stock-grid article:nth-child(2n){background:#e2f4e9;border-color:#91c7a6;border-top-color:#24845e}.workspace [data-panel=dashboard] .fin-stock-grid strong{font-size:25px;margin:4px 0;overflow-wrap:normal}.workspace [data-panel=dashboard] .fin-stock-grid .stock-unit{display:inline;font-size:14px;margin-left:5px;font-weight:600}.workspace [data-panel=dashboard] .fin-stock-grid h3{margin:0 0 3px}.workspace [data-panel=dashboard] .dashboard-grid{gap:10px;margin:12px 0;grid-template-columns:repeat(2,minmax(0,1fr))}.workspace [data-panel=dashboard] .dashboard-grid .site-card{padding:12px 15px;background:#fff;border-top:3px solid #24845e}.workspace [data-panel=dashboard] .dashboard-grid .site-card:nth-child(2){border-top-color:#2463a5}.workspace [data-panel=dashboard] .dashboard-grid .site-card:last-child{grid-column:1/-1}.premium-ring{width:100px;height:100px}.premium-ring>div{width:70px;height:70px}.premium-distribution{gap:12px}.workspace [data-panel=dashboard] #dash-stock-open{min-height:34px;padding:6px 12px}.workspace [data-panel=dashboard] #dash-stock{margin:8px 0}
}
@media screen and (min-width:769px){.shell{grid-template-columns:240px minmax(0,1fr);gap:14px}.shell>.sidebar.bottom-menu{padding:10px}.shell.premium-collapsed{grid-template-columns:66px minmax(0,1fr)}}
@media screen and (max-width:768px){main{padding:9px}.sidebar.bottom-menu.menu-open{background:#103e30}.workspace [data-panel=dashboard] .dashboard-grid{grid-template-columns:1fr}.workspace [data-panel=dashboard] .activity-grid{grid-template-columns:1fr}.workspace [data-panel=dashboard] .metrics article{padding:10px}.workspace [data-panel=dashboard] .metrics strong{font-size:26px}.premium-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace [data-panel=dashboard] .fin-stock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace [data-panel=dashboard] .fin-stock-grid strong{font-size:21px}.workspace [data-panel=dashboard] h2{font-size:21px}}
/* V3.1.2 compact layout */
@media screen {
main{max-width:1200px;margin-inline:auto;padding:10px 14px}
.workspace{min-width:0}.workspace [data-panel=dashboard] h2{padding:9px 14px;margin:6px 0 9px;font-size:21px}.workspace [data-panel=dashboard] .metrics article{padding:8px 12px;min-height:65px;box-sizing:border-box}.workspace [data-panel=dashboard] .metrics strong{font-size:25px;margin-top:3px}.premium-actions{margin:5px 0 9px;gap:8px}.premium-actions button{min-height:40px;padding:7px 9px}.workspace [data-panel=dashboard] .activity-grid article{padding:8px 10px;min-height:0}.workspace [data-panel=dashboard] .activity-grid strong{font-size:23px}.workspace [data-panel=dashboard] .dashboard-grid{gap:10px;margin:9px 0;align-items:start}.workspace [data-panel=dashboard] .dashboard-grid .site-card{padding:9px 12px;min-width:0}.workspace [data-panel=dashboard] .dashboard-grid .site-card:last-child{grid-column:auto}.workspace [data-panel=dashboard] .bars{min-height:95px;gap:5px}.workspace [data-panel=dashboard] .bars>div{min-width:0;gap:3px}.premium-ring{width:88px;height:88px}.premium-ring>div{width:62px;height:62px}.premium-legend div{margin:4px 0}.workspace [data-panel=dashboard] .recent{margin:4px 0;padding:3px 0 4px;line-height:1.3}.workspace [data-panel=dashboard] .recent small{display:block}.workspace [data-panel=dashboard] #dash-stock{margin:0;padding:9px 12px;background:white;border:1px solid #cddbd6;border-radius:12px;min-width:0}.workspace [data-panel=dashboard] #dash-stock>h3{margin-top:0}.workspace [data-panel=dashboard] .fin-stock-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:7px}.workspace [data-panel=dashboard] .fin-stock-grid article{padding:8px 9px}.workspace [data-panel=dashboard] .fin-stock-grid strong{font-size:21px}.workspace [data-panel=dashboard] .fin-stock-grid p{margin:3px 0}.workspace [data-panel=dashboard] .fin-stock-grid h3{font-size:14px}
}
@media screen and (min-width:769px){.shell{grid-template-columns:200px minmax(0,1fr);gap:12px}.shell.premium-collapsed{grid-template-columns:66px minmax(0,1fr)}}
@media screen and (max-width:768px){main{padding:9px}.workspace [data-panel=dashboard] .dashboard-grid{grid-template-columns:1fr}.workspace [data-panel=dashboard] .metrics article{min-height:65px}.premium-actions button{min-height:44px}}
/* V3.2 NextGen: compact desktop, navy navigation, pastel metrics */
@media screen {
body{background:#edf2f8;color:#182b43;font-size:14px;line-height:1.45}header{background:#142644;color:#fff;padding:13px max(16px,calc((100% - 1240px)/2));border-bottom:3px solid #2c496a}header small{color:#c8d8eb}main{max-width:1280px;padding:12px 16px}.shell{gap:16px}.sidebar.bottom-menu,.sidebar.bottom-menu.menu-open{background:#13243e;color:#fff;border-radius:14px;padding:12px}.sidebar.bottom-menu>button[data-nav],.sidebar.bottom-menu .nav-group-toggle{background:transparent;color:#e5edf8;border:0;border-left:3px solid var(--section-color,#6e8aa9);font-size:13px;min-height:43px}.sidebar.bottom-menu button.selected,.sidebar.bottom-menu .nav-group-toggle.group-active{background:linear-gradient(110deg,#176c61,#238e7a);box-shadow:none}.sidebar.bottom-menu .nav-group-links button{background:#223a56;color:#fff}.premium-collapse{background:#263e5a;color:#e5edf8}.workspace>section{border-color:#dbe4ef;border-radius:16px;box-shadow:0 4px 16px #203b6310}.next-toolbar{background:#142644!important;color:white;border:0!important;gap:12px!important}.next-toolbar label{display:flex;align-items:center;gap:10px;margin:0;font-size:13px}.next-toolbar select{width:auto;min-width:170px;margin:0;padding:8px 12px;background:#edf4fc;color:#173653;font-weight:700}.next-toolbar #logout{background:#294b64!important;border-color:#53728b!important}.next-hero{display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(110deg,#154b49,#127a68 65%,#326b91);border-radius:17px;padding:19px 22px;margin:0 0 14px;box-shadow:0 8px 20px #163c5820}.workspace [data-panel=dashboard] .next-hero h2{background:none;padding:0;margin:0;font-size:30px;line-height:1.2;box-shadow:none}.next-hero .premium-kicker{font-size:10px;letter-spacing:1.5px;margin-bottom:8px}.next-hero .premium-sub{font-size:14px;margin-top:6px}.next-hero button{background:#fff;color:#155a53;white-space:nowrap;margin:0;min-height:42px}.workspace [data-panel=dashboard] .metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:14px}.workspace [data-panel=dashboard] .metrics article{background:#e2edfc!important;color:#254d79;border:1px solid #c5d8ef;min-height:112px;padding:12px;border-radius:15px;position:relative;overflow:hidden}.workspace [data-panel=dashboard] .metrics article:nth-child(2){background:#fff0d9!important;color:#82500f;border-color:#ecd5a9}.workspace [data-panel=dashboard] .metrics article:nth-child(3){background:#e3f3dc!important;color:#396a28;border-color:#c5dfb8}.workspace [data-panel=dashboard] .metrics article:nth-child(4){background:#d9f4ed!important;color:#14685b;border-color:#b9e4da}.workspace [data-panel=dashboard] .metrics article:nth-child(5){background:#eee5fa!important;color:#69449a;border-color:#dac9ef}.workspace [data-panel=dashboard] .metrics article:nth-child(6){background:#fbe5e8!important;color:#923d53;border-color:#efc9d1}.workspace [data-panel=dashboard] .metrics article:before{content:'◈';display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#ffffffa8;margin-bottom:7px;font-size:17px}.workspace [data-panel=dashboard] .metrics article:nth-child(2):before{content:'♧'}.workspace [data-panel=dashboard] .metrics article:nth-child(3):before{content:'▥'}.workspace [data-panel=dashboard] .metrics article:nth-child(4):before{content:'✿'}.workspace [data-panel=dashboard] .metrics article:nth-child(5):before{content:'◉'}.workspace [data-panel=dashboard] .metrics article:nth-child(6):before{content:'▧'}.workspace [data-panel=dashboard] .metrics strong{color:inherit;font-size:23px;overflow-wrap:anywhere}.next-stock-metric .stock-unit{display:inline;font-size:12px}.workspace [data-panel=dashboard] .dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}.workspace [data-panel=dashboard] .dashboard-grid .site-card,.workspace [data-panel=dashboard] #dash-stock{border:1px solid #dbe4ef;border-radius:15px;padding:13px;box-shadow:0 3px 12px #203b630a}.workspace [data-panel=dashboard] .dashboard-grid .site-card:nth-child(4){grid-column:span 2}.workspace [data-panel=dashboard] .dashboard-grid h3{margin:0 0 9px;color:#182b43;font-size:15px}.premium-distribution{justify-content:center;gap:8px}.premium-ring{width:94px;height:94px}.premium-ring>div{width:68px;height:68px}.premium-legend{min-width:95px;font-size:12px}.next-actions .premium-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}.next-actions .premium-actions button{flex-direction:column;justify-content:center;text-align:center;gap:3px;min-height:65px;font-size:11px;line-height:1.2}.next-actions .premium-actions b{font-size:20px}.workspace [data-panel=dashboard] .activity-grid{margin-bottom:12px}.workspace [data-panel=dashboard] .activity-grid article{border-radius:12px}.workspace [data-panel=dashboard] .bars span{background:linear-gradient(0deg,#246e9c,#73b9df)}
}
@media screen and (min-width:769px){.shell{grid-template-columns:210px minmax(0,1fr)}.shell.premium-collapsed{grid-template-columns:66px minmax(0,1fr)}}
@media screen and (min-width:769px) and (max-width:1050px){.workspace [data-panel=dashboard] .metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace [data-panel=dashboard] .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace [data-panel=dashboard] .dashboard-grid .site-card:nth-child(4){grid-column:auto}}
@media screen and (max-width:768px){main{padding:9px}.next-toolbar label{flex:1;min-width:0}.next-toolbar select{min-width:0;max-width:100%;flex:1}.next-hero{padding:15px;flex-wrap:wrap}.workspace [data-panel=dashboard] .next-hero h2{font-size:25px}.workspace [data-panel=dashboard] .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace [data-panel=dashboard] .metrics article{min-height:94px}.workspace [data-panel=dashboard] .dashboard-grid{grid-template-columns:1fr}.workspace [data-panel=dashboard] .dashboard-grid .site-card:nth-child(4){grid-column:auto}.next-actions .premium-actions button{min-height:54px}}

@media screen and (min-width:1051px){.workspace [data-panel=dashboard] .metrics:not(:has(.next-stock-metric)){grid-template-columns:repeat(4,minmax(0,1fr))}.workspace [data-panel=dashboard] .metrics:has(.next-stock-metric:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}}
@media screen and (min-width:769px) and (max-width:1050px){.workspace [data-panel=dashboard] .metrics:not(:has(.next-stock-metric)){grid-template-columns:repeat(2,minmax(0,1fr))}.workspace [data-panel=dashboard] .metrics:has(.next-stock-metric:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}}

/* V3.2.2 — desktop navigation only */
@media screen and (min-width:769px){
 .shell{grid-template-columns:240px minmax(0,1fr)}
 .shell.premium-collapsed{grid-template-columns:66px minmax(0,1fr)}
 .shell:not(.premium-collapsed) .sidebar.bottom-menu>button[data-nav],
 .shell:not(.premium-collapsed) .sidebar.bottom-menu .nav-group-toggle,
 .shell:not(.premium-collapsed) .sidebar.bottom-menu .nav-group-links button{font-size:14px;line-height:1.35}
 .shell:not(.premium-collapsed) .sidebar.bottom-menu .nav-group-toggle{padding-right:44px;min-height:48px}
 .shell:not(.premium-collapsed) .sidebar.bottom-menu .nav-group-toggle:after{content:'';position:absolute;right:9px;top:50%;width:26px;height:26px;transform:translateY(-50%);border-radius:7px;background-color:#365573;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-size:20px;background-position:center;background-repeat:no-repeat;box-shadow:inset 0 0 0 1px #ffffff40}
 .shell:not(.premium-collapsed) .sidebar.bottom-menu .nav-group-toggle[aria-expanded=true]:after{transform:translateY(-50%) rotate(180deg);background-color:#16846f}
 .shell:not(.premium-collapsed) .sidebar.bottom-menu .nav-group-toggle:hover:after{background-color:#47759b}
}
@media screen and (min-width:769px) and (max-width:1100px){.workspace [data-panel=dashboard] .metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace [data-panel=dashboard] .metrics:not(:has(.next-stock-metric)){grid-template-columns:repeat(2,minmax(0,1fr))}.workspace [data-panel=dashboard] .metrics:has(.next-stock-metric:nth-child(5):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}

/* V3.3 commercial administration only */
.commercial-admin .metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.commercial-admin .metrics article{padding:12px;background:#e0edfc;border:1px solid #c9dcef;border-radius:12px;color:#245a98}.commercial-admin .metrics article:nth-child(2){background:#fff0d6;color:#805013}.commercial-admin .metrics article:nth-child(3){background:#d8f4e5;color:#176344}.commercial-admin .metrics article:nth-child(4){background:#eae2fa;color:#7144a6}.commercial-admin .metrics article:nth-child(5){background:#d5f1ed;color:#08757c}.commercial-admin .metrics article:nth-child(6){background:#fbe5e8;color:#9e3f58}.commercial-admin .subscription-content article{padding:12px;margin:8px 0}.commercial-manage summary{cursor:pointer;background:#176344;color:white;padding:10px;border-radius:8px;width:fit-content;font-weight:600}.commercial-manage form{margin-top:10px}.commercial-quota{display:grid;gap:8px;margin:10px 0}.commercial-quota progress{display:block;width:100%;height:10px;accent-color:#16845e}@media(max-width:600px){.commercial-admin .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.landing{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);align-items:start;gap:18px}.commercial-pricing{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0}.landing .commercial-pricing article{padding:12px;border-radius:12px;color:#15304a;background:#dcecff;min-width:0;font-size:12px}.landing .commercial-pricing .price-pro{background:#d9f3e5;color:#145333}.landing .commercial-pricing .price-enterprise{background:#eee1fa;color:#512681}.commercial-pricing h3{margin:0 0 8px;font-size:15px}.commercial-pricing strong{font-size:15px}.landing #try{background:#ffcf50;color:#172e29;font-weight:800;width:100%}@media(max-width:850px){.landing{grid-template-columns:1fr}}@media(max-width:450px){.commercial-pricing{grid-template-columns:1fr}}

/* V3.3.2 — mobile landing only */
@media screen and (max-width:850px){
.landing{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start;min-width:0}
.landing .hero{display:contents}
.landing .hero>.eyebrow,.landing .hero>h1,.landing .hero>p,.landing .hero>.features{margin:0;background:#105d45;color:white;padding:8px 14px;min-width:0}
.landing .hero>.eyebrow{border-radius:14px 14px 0 0;padding-top:12px;margin-bottom:-10px;font-size:10px}
.landing .hero>h1{font-size:clamp(23px,6vw,32px);line-height:1.15;margin-bottom:-10px}
.landing .hero>p{font-size:13px;margin-bottom:-10px}
.landing .hero>.features{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12px;border-radius:0 0 14px 14px;padding-bottom:12px}
.landing .hero>.features br{display:none}
.landing #try{grid-row:5;min-height:44px;margin:0;font-size:14px;white-space:normal}
.landing .landing-auth{grid-row:6;padding:14px;border-radius:14px;min-width:0;margin:0}
.landing .landing-auth h2{margin:0 0 8px;font-size:21px}
.landing .landing-auth label{margin:5px 0;font-size:13px}
.landing .landing-auth input{font-size:16px;min-height:44px;width:100%;box-sizing:border-box}
.landing .landing-auth button{min-height:44px;margin-top:6px}
.landing .landing-auth form button{width:100%}
.landing .landing-auth .muted{margin:8px 0 0;font-size:12px}
.landing .commercial-pricing{grid-row:7;grid-template-columns:minmax(0,1fr);margin:0;gap:7px;min-width:0}
.landing .commercial-pricing:before{content:"Nos formules d’abonnement";font-weight:700;color:#13243e;font-size:16px}
.landing .commercial-pricing article{padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;align-items:center}
.landing .commercial-pricing h3,.landing .commercial-pricing strong{margin:0;font-size:13px}
.landing .commercial-pricing hr{grid-column:1/-1;width:100%;margin:3px 0}
.landing .commercial-pricing article div{grid-column:1/-1;font-size:12px}
}

/* V3.3.3 — compact mobile landing, desktop unchanged */
@media screen and (max-width:850px){
.landing{gap:7px;max-width:460px;margin-inline:auto}
.landing .hero>.eyebrow,.landing .hero>h1,.landing .hero>p{margin-bottom:-7px;padding:5px 12px}
.landing .hero>.eyebrow{padding-top:10px;font-size:10px}
.landing .hero>h1{font-size:clamp(21px,5.5vw,27px);line-height:1.15}
.landing .hero>p{font-size:12px;line-height:1.35}
.landing .hero>.features{padding:5px 12px 10px;gap:4px 9px;font-size:11px}
.landing #try{min-height:40px;padding:8px 10px;font-size:13px}
.landing .landing-auth{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 6px;padding:10px 12px;border-radius:12px}
.landing .landing-auth h2,.landing .landing-auth form,.landing .landing-auth .muted{grid-column:1/-1}
.landing .landing-auth h2{font-size:19px;margin:0 0 2px}
.landing .landing-auth label{margin:3px 0;font-size:12px;line-height:1.3}
.landing .landing-auth input{height:40px;min-height:40px;padding:6px 9px;margin:4px 0; font-size:16px}
.landing .landing-auth button{min-height:40px;padding:7px 8px;margin:3px 0 0;font-size:12px;line-height:1.25;white-space:normal}
.landing .landing-auth form button{font-size:14px}
.landing .landing-auth .muted{font-size:11px;margin:3px 0 0}
.landing .commercial-pricing{gap:5px}
.landing .commercial-pricing:before{font-size:14px}
.landing .commercial-pricing article{padding:7px 10px;gap:2px 6px;border-radius:9px}
.landing .commercial-pricing article div{font-size:11px;line-height:1.3}
}
@media screen and (max-width:320px){.landing .landing-auth{grid-template-columns:1fr}}

.legal-details{margin:8px 0;font-size:13px;line-height:1.5}.legal-details summary{cursor:pointer;color:#176344;font-weight:600}.legal-details h4{margin:10px 0 3px}.legal-details p{margin:3px 0 8px}.legal-check{display:flex!important;align-items:flex-start;gap:8px;font-size:13px;margin:12px 0}.legal-check input{width:18px!important;height:18px!important;flex:none;margin:2px 0!important;min-height:0!important}

/* Legal links only in company request forms */
form .legal-details>summary{display:flex;width:100%;color:#fff;background:#176344;white-space:normal;line-height:1.4;text-align:left;font-size:13px;padding:9px 12px;min-height:40px}form .legal-details>summary::before{color:#fff;flex:none}form .legal-details[open]{background:#f0f6f2;border-radius:8px;padding:8px}form .legal-check{color:#173b2c}form button:disabled{opacity:.55;cursor:not-allowed}
.support-thread{max-height:420px;overflow:auto;background:#edf2f6;padding:12px;border-radius:12px;margin:12px 0}.support-message{background:white;border-radius:12px;padding:10px 14px;margin:8px 15% 8px 0;overflow-wrap:anywhere}.support-message.mine{background:#d9f0e5;margin:8px 0 8px 15%}.support-message p{white-space:pre-wrap;margin:6px 0}.support-message small{color:#536578}.expiry-notice{background:#fff3d8!important;border:1px solid #e6bb65!important;padding:12px!important}.expiry-notice .expired{color:#a32222}.sidebar.bottom-menu>button[data-nav="support"]{--section-color:#365a87}.support-form textarea{width:100%;box-sizing:border-box}

/* V3.5.2 — centrage des actions de connexion */
.landing .landing-auth form > button{display:block;margin-left:auto;margin-right:auto;}
.landing .landing-auth > #signup,.landing .landing-auth > #forgot{display:block;margin-left:auto;margin-right:auto;}
.landing .landing-auth > .muted{text-align:center;}
@media (min-width:701px){.landing .landing-auth > #signup,.landing .landing-auth > #forgot{margin-top:8px;}}
@media (max-width:700px){.landing .landing-auth > #signup,.landing .landing-auth > #forgot{justify-self:center;max-width:100%;}}

/* V3.5.3 */
header:has(.brand-mark){display:flex;align-items:center;gap:12px;padding-top:6px;padding-bottom:6px}.brand-mark{display:flex;background:white;border-radius:8px;padding:3px 8px;align-items:center}.brand-mark img{display:block;width:auto;height:45px}.landing-brand{display:block;width:110px;height:auto;margin:0 auto 8px}.menu-brand{width:32px;height:32px;vertical-align:middle;border-radius:5px;margin-right:5px}@media(max-width:700px){.brand-mark img{height:36px}.landing-brand{width:78px;margin-bottom:4px}}
