/* Editable top bar menu and customer portal. */
body.lsm-theme .sm-topbar__nav .sm-topbar-menu{display:flex;align-items:center;gap:25px;list-style:none;margin:0;padding:0}
body.lsm-theme .sm-topbar__nav .sm-topbar-menu li{margin:0;padding:0}
body.lsm-theme .sm-topbar__actions{display:flex;align-items:center;margin-left:2px}
body.lsm-theme .sm-topbar-actions-menu{display:flex;align-items:center;gap:var(--sm-topbar-actions-gap,8px);list-style:none;margin:0;padding:0}
body.lsm-theme .sm-topbar-actions-menu>li{margin:0;padding:0}
body.lsm-theme .sm-topbar-actions-menu>li>a{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:4px 12px;border:1px solid transparent;border-radius:var(--sm-topbar-radius,5px);color:var(--sm-topbar-link-color,#fff)!important;font-size:10px;font-weight:800;line-height:1;text-transform:uppercase;letter-spacing:.035em;opacity:1!important;text-decoration:none!important;white-space:nowrap;transition:background-color .2s,color .2s,border-color .2s,transform .2s}
body.lsm-theme .sm-topbar-actions-menu>li>a:hover{opacity:1!important;text-decoration:none!important;transform:translateY(-1px)}
body.lsm-theme .sm-topbar-action-item--primary>a{background:var(--sm-topbar-primary-bg,#d90429);border-color:var(--sm-topbar-primary-bg,#d90429);color:var(--sm-topbar-primary-text,#fff)!important}
body.lsm-theme .sm-topbar-action-item--primary>a:hover{background:var(--sm-topbar-primary-hover,#b90020);border-color:var(--sm-topbar-primary-hover,#b90020);color:var(--sm-topbar-primary-text,#fff)!important}
body.lsm-theme .sm-topbar-action-item--outline>a{background:transparent;border-color:var(--sm-topbar-outline,#fff);color:var(--sm-topbar-outline,#fff)!important}
body.lsm-theme .sm-topbar-action-item--outline>a:hover{background:var(--sm-topbar-outline,#fff);border-color:var(--sm-topbar-outline,#fff);color:#101010!important}
body.lsm-theme .sm-topbar-action-item--link>a{padding-left:5px;padding-right:5px;color:var(--sm-topbar-link-color,#fff)!important}

.lsm-portal-shell{width:min(1180px,calc(100% - 32px));margin:52px auto 70px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#151922}
.lsm-auth-shell{display:flex;justify-content:center}
.lsm-auth-card{width:min(100%,560px);padding:42px;border:1px solid #e4e7ec;border-radius:18px;background:#fff;box-shadow:0 24px 60px rgba(15,23,42,.09)}
.lsm-auth-card--register{width:min(100%,720px)}
.lsm-auth-eyebrow{display:inline-block;margin-bottom:10px;color:#d90429;font-size:11px;font-weight:900;letter-spacing:.12em}
.lsm-auth-card h1,.lsm-dashboard-header h1{margin:0 0 10px;font:800 clamp(32px,5vw,52px)/1.05 Inter,sans-serif;letter-spacing:-.045em}
.lsm-auth-card>p,.lsm-dashboard-header p{margin:0 0 28px;color:#687080}
.lsm-portal-form{display:grid;gap:17px}
.lsm-portal-form--two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
.lsm-portal-form label{display:grid;gap:7px;font-size:13px;font-weight:750;color:#252b36}
.lsm-portal-form input:not([type=checkbox]){width:100%;min-height:48px;padding:11px 13px;border:1px solid #d9dde5;border-radius:8px;background:#fff;color:#151922;outline:none;transition:border-color .2s,box-shadow .2s}
.lsm-portal-form input:focus{border-color:#172d61;box-shadow:0 0 0 3px rgba(23,45,97,.12)}
.lsm-form-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:9px!important;font-weight:500!important;line-height:1.5}
.lsm-form-check input{margin-top:4px}
.lsm-form-check a{color:#172d61;text-decoration:underline}
.lsm-form-span-2{grid-column:1/-1}
.lsm-portal-form small{color:#7a8290;font-weight:500}
.lsm-portal-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #172d61;border-radius:7px;background:#172d61;color:#fff!important;font-size:12px;font-weight:850;letter-spacing:.035em;text-decoration:none!important;cursor:pointer;transition:transform .2s,background-color .2s}
.lsm-portal-button:hover{background:#0d224f;color:#fff!important;transform:translateY(-1px)}
.lsm-portal-button--wide{width:100%;min-height:50px}
.lsm-portal-button--ghost{background:#fff;color:#172d61!important}
.lsm-portal-button--ghost:hover{background:#172d61;color:#fff!important}
.lsm-auth-links{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:20px;padding-top:18px;border-top:1px solid #edf0f4;font-size:12px;font-weight:700}
.lsm-auth-links a{color:#172d61}
.lsm-portal-notice{margin:0 0 18px;padding:13px 15px;border-radius:8px;font-size:13px;font-weight:700}
.lsm-portal-notice--error{background:#fff0f1;color:#a50d22;border:1px solid #ffcbd2}
.lsm-portal-notice--success{background:#edf9f1;color:#176534;border:1px solid #bce6c9}
.lsm-portal-login-required{text-align:center;padding:55px;border:1px solid #e5e7eb;border-radius:16px;background:#fff}

.lsm-dashboard-shell{width:min(1320px,calc(100% - 32px))}
.lsm-dashboard-header{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:28px;padding:32px 36px;border-radius:18px;background:linear-gradient(125deg,#07152f,#172d61 58%,#243f80);color:#fff;box-shadow:0 20px 45px rgba(15,31,71,.2)}
.lsm-dashboard-header .lsm-auth-eyebrow{color:#ff5b70}
.lsm-dashboard-header p{margin-bottom:0;color:rgba(255,255,255,.76)}
.lsm-dashboard-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:start}
.lsm-dashboard-nav{display:grid;gap:6px;padding:12px;border:1px solid #e4e7ec;border-radius:14px;background:#fff;position:sticky;top:115px}
.lsm-dashboard-nav a{display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:8px;color:#4f5868;font-size:13px;font-weight:750}
.lsm-dashboard-nav a span{display:grid;place-items:center;width:23px;height:23px;border-radius:6px;background:#f1f3f7;color:#172d61;font-weight:900}
.lsm-dashboard-nav a:hover,.lsm-dashboard-nav a.is-active{background:#172d61;color:#fff}
.lsm-dashboard-nav a:hover span,.lsm-dashboard-nav a.is-active span{background:rgba(255,255,255,.17);color:#fff}
.lsm-dashboard-main{min-width:0}
.lsm-dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}
.lsm-dashboard-stats article{min-height:144px;padding:21px;border:1px solid #e4e7ec;border-radius:13px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.045)}
.lsm-dashboard-stats article>span{display:block;color:#737c8b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.lsm-dashboard-stats article strong{display:block;margin:9px 0 12px;font-size:27px;line-height:1.1;color:#111827}
.lsm-dashboard-stats article a,.lsm-dashboard-stats article small{color:#172d61;font-size:11px;font-weight:800}
.lsm-dashboard-panel{padding:27px;border:1px solid #e4e7ec;border-radius:14px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.045)}
.lsm-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}
.lsm-panel-heading h2{margin:0 0 4px;font-size:22px;letter-spacing:-.025em}
.lsm-panel-heading p{margin:0;color:#758091;font-size:13px}
.lsm-panel-heading>a{color:#d90429;font-size:11px;font-weight:850;text-transform:uppercase}
.lsm-portal-table-wrap{overflow-x:auto}
.lsm-portal-table{width:100%;border-collapse:collapse;font-size:13px}
.lsm-portal-table th{padding:11px 12px;border-bottom:1px solid #e5e7eb;color:#768091;font-size:10px;text-align:left;text-transform:uppercase;letter-spacing:.06em}
.lsm-portal-table td{padding:15px 12px;border-bottom:1px solid #edf0f3;white-space:nowrap}
.lsm-order-status{display:inline-flex;padding:4px 9px;border-radius:20px;background:#eef3ff;color:#172d61;font-size:10px;font-weight:850}
.lsm-table-link{color:#d90429;font-weight:800}
.lsm-portal-empty{padding:35px;text-align:center;border:1px dashed #d9dde5;border-radius:10px;background:#fafbfc;color:#667080}
.lsm-portal-empty strong{display:block;color:#222936}
.lsm-download-grid{display:grid;gap:12px}
.lsm-download-grid article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;padding:16px;border:1px solid #e4e7ec;border-radius:10px}
.lsm-download-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#eef2ff;color:#172d61;font-size:21px;font-weight:900}
.lsm-download-grid h3{margin:0 0 3px;font-size:15px}
.lsm-download-grid p{margin:0;color:#77808e;font-size:12px}

@media(max-width:980px){
 body.lsm-theme .sm-topbar__right{display:flex!important;margin-left:auto}
 body.lsm-theme .sm-topbar__social{display:none!important}
 .lsm-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
 body.lsm-theme .sm-topbar__inner{justify-content:flex-end!important;min-height:42px}
 body.lsm-theme .sm-topbar__nav{display:none!important}
 body.lsm-theme .sm-topbar-actions-menu>li>a{padding:5px 9px;font-size:9px}
 .lsm-portal-shell{margin-top:28px}
 .lsm-auth-card{padding:27px 22px}
 .lsm-dashboard-header{align-items:flex-start;flex-direction:column;padding:26px 23px}
 .lsm-dashboard-layout{grid-template-columns:1fr}
 .lsm-dashboard-nav{position:static;display:flex;overflow-x:auto}
 .lsm-dashboard-nav a{white-space:nowrap}
 .lsm-dashboard-stats{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
 .lsm-portal-form--two-columns{grid-template-columns:1fr}
 .lsm-form-span-2{grid-column:auto}
 .lsm-dashboard-stats{grid-template-columns:1fr}
 .lsm-dashboard-panel{padding:19px 15px}
 .lsm-download-grid article{grid-template-columns:auto 1fr}
 .lsm-download-grid article .lsm-portal-button{grid-column:1/-1;width:100%}
}
body.lsm-customer-portal-page .content-layout{width:100%;max-width:none;padding-left:0;padding-right:0}
body.lsm-customer-portal-page .page-entry>header{display:none}
body.lsm-customer-portal-page .page-entry>.entry-content{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}

/* Registration legal clauses and payment privacy. */
.lsm-registration-legal-box{min-width:0;margin:4px 0 0;padding:20px;border:1px solid #dfe3ea;border-radius:10px;background:#f8f9fb}
.lsm-registration-legal-box legend{padding:0 8px;color:#172d61;font-size:15px;font-weight:850}
.lsm-registration-legal-box>p{margin:0 0 15px;color:#687080;font-size:12px;line-height:1.55}
.lsm-registration-legal-list{display:grid;gap:12px}
.lsm-registration-clause-check{align-items:flex-start!important;grid-template-columns:auto minmax(0,1fr)!important;padding:12px;border:1px solid #e3e6eb;border-radius:8px;background:#fff;font-weight:600!important;line-height:1.55}
.lsm-registration-clause-check input{margin-top:3px}
.lsm-registration-clause-check a{color:#172d61;text-decoration:underline}
.lsm-registration-clause-check strong{color:#d90429}
.lsm-registration-clause-check small{color:#7a8290;font-weight:600}
.lsm-payment-privacy-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;margin-top:24px;padding:19px;border:1px solid #d8e5dc;border-radius:11px;background:#f2faf5}
.lsm-payment-privacy-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#176534;color:#fff;font-size:25px;font-weight:900}
.lsm-payment-privacy-card h3{margin:1px 0 6px;color:#163b25;font-size:16px}
.lsm-payment-privacy-card p{margin:0 0 10px;color:#456151;font-size:13px;line-height:1.55}
.lsm-payment-privacy-card small{color:#176534;font-weight:700}
.lsm-delete-payment-tokens-form{margin-top:13px}
.lsm-portal-button--danger{border-color:#a50d22;background:#a50d22}
.lsm-portal-button--danger:hover{background:#820b1b}
@media(max-width:560px){.lsm-payment-privacy-card{grid-template-columns:1fr}.lsm-payment-privacy-icon{width:42px;height:42px}}

/* Top bar menu separators for the editable left menu. */
body.lsm-theme .sm-topbar-link-separators .sm-topbar-menu>li+li>a:before{content:"|";display:inline-block;margin:0 11px 0 9px;color:currentColor;opacity:.5;font-weight:400;text-decoration:none}

/* 2.6.16: notices belong to the authentication card, never beside it. */
.lsm-auth-shell > .lsm-portal-notice{width:min(100%,560px);margin:0 auto 18px}
.lsm-auth-card .lsm-portal-notice{width:100%;box-sizing:border-box;line-height:1.5}
