/* Persistent shared shell: viewport owns scrolling; clip avoids nested overflow containers so sidebar and header remain sticky. */
/* Canonical shared FINVIKO sidebar, extracted from the approved Home owner. */
.atelier-layout{grid-template-columns:clamp(228px,17.45vw,292px) minmax(0,1fr)}
.atelier-layout .atelier-shell{overflow:clip}
/* Anchor/focus targets reserve room below the persistent header. */
html:has(.atelier-layout){scroll-padding-block-start:128px}
@media(min-width:1100px) and (max-height:800px){html:has(.atelier-layout){scroll-padding-block-start:100px}}
@media(min-width:1100px) and (max-height:740px){html:has(.atelier-layout){scroll-padding-block-start:86px}}
@media(max-width:1099px){html:has(.atelier-layout){scroll-padding-block-start:180px}}
@media(max-width:600px){html:has(.atelier-layout){scroll-padding-block-start:220px}}

.atelier-layout .atelier-sidebar{font-family:Inter,Arial,Helvetica,sans-serif;position:sticky;top:0;display:flex;flex-direction:column;width:auto;min-width:0;height:100dvh;padding:clamp(40px,7.6vh,72px) 20px 32px;border:0;border-right:1px solid #32c6d7a0;background:radial-gradient(ellipse 130% 80% at 120% 0%,#07516e 0%,#032a40 55%,transparent 56%),radial-gradient(ellipse 200% 70% at -40% 110%,#048e8770 0%,#02535e 48%,transparent 49%),linear-gradient(160deg,#022638,#001425 75%,#013744);color:#d8e9ff;overflow:hidden;z-index:2;box-shadow:8px 0 32px #00698916}
.atelier-layout .atelier-sidebar:before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:-110px -2px 20% -210px;border:1px solid #1dccdb40;border-radius:50%;transform:rotate(-17deg)}
.atelier-layout .atelier-sidebar:after{content:"";position:absolute;z-index:-1;pointer-events:none;width:160%;height:40%;left:-38%;bottom:-28%;background:linear-gradient(120deg,#05a6a799,#00625a);border-radius:50%;transform:rotate(22deg)}
.atelier-layout .atelier-sidebar .brand{display:flex;gap:12px;align-items:center;padding:0 8px;margin:0 0 46px;min-width:0}
.atelier-layout .atelier-sidebar .novanok-logo{width:60px;height:60px;min-width:60px;flex:0 0 60px}
.atelier-layout .atelier-sidebar .brand-name{font-size:clamp(21px,1.65vw,28px);font-weight:800;letter-spacing:2px;line-height:1.15;color:#fff}
.atelier-layout .atelier-sidebar .brand-key{margin-top:6px;white-space:nowrap;font-size:clamp(7px,.59vw,10px);font-weight:700;letter-spacing:.5px;color:#e4ecfa}
.atelier-layout .atelier-nav{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:0;padding:0;border:0;background:none}
.atelier-layout .atelier-nav button{display:flex;gap:22px;align-items:center;width:100%;min-height:68px;margin:0;padding:17px 26px;background:transparent;border:1px solid transparent;border-radius:var(--finviko-radius)!important;color:#c4caef;font-size:18px;font-weight:650;line-height:28px;text-align:left;box-shadow:none;cursor:pointer;position:relative}
.atelier-layout .atelier-nav button svg{width:28px;height:28px;min-width:28px;stroke-width:1.5;color:inherit}
.atelier-layout .atelier-nav button:hover{background:#0b697433;color:#fff}
.atelier-layout .atelier-nav button.active{background:linear-gradient(100deg,#007c7066,#073c5c80);border-color:#2bacdd99;color:#fff;box-shadow:inset 6px 0 0 #7ffff0,0 0 20px #00c7ad44}
.atelier-layout .atelier-sidebar-foot{display:flex;flex-direction:column;gap:20px;margin-top:auto;padding:22px 8px 0;border-top:1px solid #4cabc329}
.atelier-layout .atelier-sidebar-foot>button{display:flex;align-items:center;gap:18px;padding:0 12px;min-height:46px;border:0;background:transparent;color:#c3cfee;font-size:17px;font-weight:500;cursor:pointer}
.atelier-layout .atelier-sidebar-foot>button:disabled{opacity:.55;cursor:default}
.atelier-layout .atelier-sidebar-foot svg{width:26px;height:26px}
.atelier-layout .home-status{display:flex;gap:9px;align-items:center;align-self:flex-start;min-height:44px;padding:10px 14px;border:1px solid #23536a;border-radius:30px;background:linear-gradient(120deg,#1b3549b0,#002a3c);color:#ecfaff;font-size:12px;line-height:18px;box-shadow:0 4px 18px #0002}
.atelier-layout .home-status>span{color:#6dffe0;font-size:17px;text-shadow:0 0 10px #00d6a9}
@media(min-width:1100px) and (max-height:800px){.atelier-layout .atelier-sidebar{padding-top:32px;padding-bottom:20px}.atelier-layout .atelier-sidebar .brand{margin-bottom:26px}.atelier-layout .atelier-nav button{min-height:54px;padding-top:11px;padding-bottom:11px;font-size:16px}.atelier-layout .atelier-sidebar-foot{gap:12px;padding-top:12px}.atelier-layout .atelier-sidebar .novanok-logo{width:48px;height:48px;min-width:48px;flex-basis:48px}}
@media(max-width:1099px){.atelier-layout .atelier-sidebar{display:none}}
@media(max-width:1099px){.atelier-layout{grid-template-columns:minmax(0,1fr)}}
/* Shared step-based application forms keep their native fields and validation. */
@media(min-width:1100px){
.atelier-layout:not(.finviko-home):has(.application-steps) .atelier-content{padding:14px 24px}
.atelier-layout .application-steps{padding:16px 20px}
.atelier-layout .application-steps .wizard-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px}
.atelier-layout .application-steps .field{gap:4px}
.atelier-layout .application-steps .field label{font-size:13px;line-height:1.3}
.atelier-layout .application-steps .field input,.atelier-layout .application-steps .field select{height:36px;min-height:36px;padding:6px 10px;font-size:14px}
.atelier-layout .application-steps .wizard-actions{margin-top:12px;margin-bottom:0}
}

/* Canonical Home glass header shared by all shell routes. */

.atelier-layout .topbar{position:sticky;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:16px;height:92px;min-height:92px;padding:20px 24px;border:1px solid #fff;border-radius:24px;background:linear-gradient(125deg,#ffffffdf,#ffffff99 62%,#ecffffcf);box-shadow:0 12px 30px #1bb4c814;backdrop-filter:blur(16px);font-family:Inter,Arial,Helvetica,sans-serif;margin:var(--finviko-header-top) 16px 0;flex-shrink:0;box-sizing:border-box;top:var(--finviko-header-top);--finviko-header-top:18px}
.atelier-layout .topbar>.brand{display:none}
.atelier-layout .header-shortcuts{display:flex;align-items:center;gap:22px;margin:0}
.atelier-layout .header-shortcuts .btn{height:48px;min-width:138px;padding:12px 24px;border-radius:var(--finviko-radius)!important;font:700 16px/22px Inter,Arial,sans-serif}
.atelier-layout .header-shortcuts .btn-primary{min-width:150px;background:linear-gradient(130deg,#02a837,#007b5c 60%,#006677);border:1px solid #44edba;color:white;box-shadow:0 7px 18px #009e7855,inset 0 1px 5px #6bffac44}
.atelier-layout .header-shortcuts .btn-secondary{background:linear-gradient(120deg,#eefff9,#f4fffa);border:1px solid #b6e6e1;color:#006321;box-shadow:0 4px 10px #006a4810}
.atelier-layout .top-actions{display:flex;align-items:center;gap:12px;margin:0}
.atelier-layout .topbar .icon-btn{display:grid;place-items:center;width:48px;min-width:48px;height:48px;padding:10px;border:1px solid #cfdaff;border-radius:14px!important;background:#f9fbff;color:#073653;box-shadow:0 5px 13px #143a9b12;font-size:19px;cursor:pointer}
.atelier-layout .home-notifications svg{width:24px;height:24px}
.atelier-layout .topbar .user-chip{display:flex;align-items:center;justify-content:center;white-space:nowrap;gap:8px;min-width:180px;height:48px;padding:10px 18px;border:1px solid #c0edee;border-radius:var(--finviko-radius)!important;background:linear-gradient(120deg,#fff8ee,#f4ffff);color:#002d37;font-size:17px;font-weight:750;box-shadow:0 7px 18px #07c7b02b,-4px 2px 12px #ecc48c30;cursor:pointer}
.atelier-layout .topbar #menuOpen{display:none}html[data-atelier-theme=dark] .atelier-layout .topbar{background:#123243e8;border-color:#2b5968}
@media(min-width:1100px) and (max-height:800px){.atelier-layout .topbar{height:74px;min-height:74px;padding:12px 20px}}
@media(min-width:1100px){
.atelier-layout .topbar{flex-shrink:0}
}
@media(max-width:1099px){.atelier-layout .topbar{height:auto;min-height:78px;padding:16px;flex-wrap:wrap;gap:14px}.atelier-layout .topbar>.brand{display:flex;align-items:center;gap:10px}.atelier-layout .topbar .brand-name{color:#082b43;font-size:19px}.atelier-layout .topbar .brand-key{font-size:7px;color:#476477}.atelier-layout .topbar .brand .novanok-logo{width:42px;height:42px;min-width:42px;flex-basis:42px}.atelier-layout .topbar #menuOpen{display:grid}.atelier-layout .header-shortcuts{order:3;width:100%;gap:12px}.atelier-layout .header-shortcuts .btn{flex:1;min-width:0}.atelier-layout .top-actions{margin-left:auto;gap:8px}.atelier-layout .topbar .icon-btn{width:42px;min-width:42px;height:42px;padding:8px}.atelier-layout .topbar .user-chip{min-width:0;height:42px;font-size:14px;padding:8px 12px}}
@media(max-width:600px){.atelier-layout .topbar{padding:14px 12px;border-radius:20px;gap:12px}.atelier-layout .topbar>.brand{flex:1}.atelier-layout .top-actions{flex-wrap:wrap;gap:8px;justify-content:flex-end}.atelier-layout .topbar .header-theme,.atelier-layout .topbar .home-notifications{width:44px;min-width:44px;height:44px;padding:10px}.atelier-layout .topbar .user-chip{font-size:13px;height:44px}.atelier-layout .topbar #menuOpen{width:44px;min-width:44px;height:44px}.atelier-layout .header-shortcuts .btn{height:44px;font-size:14px;padding:10px 16px}}/* FINVIKO-wide control/card radius token; logos and decorative curves keep their shape. */
:root{--finviko-radius:5px}
#app :is(button,.btn,[role="button"],input:not([type="checkbox"]):not([type="radio"]),select,textarea,article,.card,.panel,[class$="-card"],[class*="-card "],[class$="-panel"],[class*="-panel "],[class$="-tile"],[class*="-tile "],.home-card-cta,.support-action a,.user-chip,.drawer,.support-icon,.wizard-progress,.fin-discovery-top,.fin-empty-state,.fin-discovery-status,.fin-offers-overview){border-radius:var(--finviko-radius)!important}
@media(min-width:1100px) and (max-height:800px){.atelier-layout .topbar{margin-top:var(--finviko-header-top);--finviko-header-top:12px}}
@media(min-width:1100px) and (max-height:740px){.atelier-layout .topbar{height:64px;min-height:64px;margin-top:var(--finviko-header-top);padding:8px 20px;--finviko-header-top:8px}.atelier-layout .topbar .header-shortcuts .btn,.atelier-layout .topbar .icon-btn,.atelier-layout .topbar .user-chip{height:44px;min-height:44px;padding-block:8px}}
@media(max-width:1099px){.atelier-layout .topbar{margin:var(--finviko-header-top) 12px 0;--finviko-header-top:12px}}
@media(max-width:600px){.atelier-layout .topbar{margin:var(--finviko-header-top) 8px 0;--finviko-header-top:10px}}
