/* PENROUZ ID shared account surfaces. Existing product widgets retain their data and actions. */
:root{--sidebar:244px;--topbar:72px;--radius:16px;--radius-sm:9px;--bg:#0d1215;--panel:#151d21;--panel2:#1b252b;--panel3:#11191e;--side-bg:#151d21;--input:#10191e;--line:#2d3d46;--line-soft:#25333b;--text:#edf2f5;--muted:#acbbc5;--accent:#dce8ee;--accent2:#edf2f5;--accent-bg:rgba(190,208,218,.09);--top-bg:#0d1215;--shadow:0 18px 55px rgb(0 0 0 / 24%)}
html[data-theme=light]{--bg:#f5f7f8;--bg2:#edf1f4;--panel:#fff;--panel2:#f7f9fa;--panel3:#f5f7f8;--side-bg:#fff;--input:#f7f9fa;--line:#d2dee5;--line-soft:#e7edf1;--text:#17262f;--muted:#5a6e7b;--muted2:#6d7e88;--accent:#264b60;--accent2:#17262f;--accent-bg:#edf2f5;--top-bg:#f5f7f8;--shadow:0 18px 55px rgb(23 38 47 / 10%)}
body:before{display:none}.brand{gap:10px}.brand>span,.brand.compact>span{font-size:20px;font-weight:650;letter-spacing:-.035em}.brand img,.brand.compact img{width:29px;height:29px}
.sidebar{padding:28px 16px 18px;border-color:var(--line-soft);background:var(--side-bg)}.sidebar-head{margin-bottom:28px;padding:0 8px}.side-user{padding:0 8px 20px;margin-bottom:12px}.side-user strong{font-size:13px}.side-user small{font-size:11px}.side-user .avatar{width:36px;height:36px;border-radius:12px;background:var(--accent-bg);box-shadow:none}
.nav{gap:5px}.nav-item{min-height:44px;height:auto;padding:11px 13px;border-radius:10px;font-size:13px}.nav-item.active{background:var(--accent-bg);color:var(--text);border-color:transparent;box-shadow:none}.nav-item:hover{background:var(--panel2)}.nav-label{font-size:10px;font-weight:650;letter-spacing:.07em;margin:24px 13px 8px}.sidebar-bottom{padding-top:20px}.logout{min-height:44px;border-radius:9px}.help-card{min-height:44px}
.topbar{padding:0 36px;background:var(--top-bg);border-color:var(--line-soft);backdrop-filter:none}.command-trigger{background:var(--panel);border-radius:10px;min-height:40px;max-width:340px}.profile-chip{background:var(--panel);min-height:40px;border-radius:10px}.topbar .lang-picker{background:var(--panel);border-radius:9px}.top-actions .theme-picker{display:flex;background:var(--panel);border-radius:9px}.top-actions .theme-picker button{width:29px;padding:0}.top-actions .theme-picker button span{display:none}.top-icon{border-radius:9px}
.content{max-width:1320px;padding:36px 36px 56px}.page-head{margin-bottom:26px}.page-head h1,.product-head h1{font-size:30px;font-weight:650;letter-spacing:-.04em}.overview-head>div>p{font-size:15px;color:var(--muted)}.page-actions{gap:8px}
.panel,.metric-card,.summary-card,.setup-nudge{border-radius:16px;border-color:var(--line);background:var(--panel);box-shadow:none}.panel{padding:24px}.panel-head h2,.section-title h2{font-size:16px;font-weight:650}.summary-grid{gap:16px;margin-bottom:22px}.summary-card{min-height:112px;padding:20px;gap:12px}.summary-card strong{font-size:13px}.summary-card b{font-size:12px;margin-top:6px}.summary-card .icon-box{width:34px;height:34px;border-radius:10px;background:var(--accent-bg)}.dashboard-grid{gap:22px}.compact-product,.action-list>button{min-height:72px;padding:15px 0}.compact-product strong,.action-list strong{font-size:13px}.compact-product small,.action-list small{font-size:12px}.home-events-panel{margin-top:22px}
.btn{min-height:44px;height:auto;padding:11px 16px;border-radius:9px;font-weight:650;font-size:13px;box-shadow:none}.btn:hover{transform:none}.btn.primary{background:var(--text);color:var(--panel);border-color:var(--text);box-shadow:none}.btn.primary:hover{filter:brightness(.94)}.btn.ghost{background:var(--panel);color:var(--text)}.btn.small-btn{min-height:38px;font-size:12px;border-radius:9px}.text-link{color:var(--accent);font-size:12px;min-height:36px}.icon-box,.panel-icon,.mini-icon{background:var(--accent-bg);border:0;box-shadow:none;color:var(--accent)}
.profile-layout{gap:22px;grid-template-columns:minmax(0,1fr) 300px}.profile-form{padding:26px}.profile-form input,.profile-form select,.list-search,.compact-select select{border-radius:9px;min-height:44px}.profile-form label{font-size:12px}.profile-form legend{font-size:16px}.field-grid{gap:20px}.form-actions{gap:12px}.security-tabs{background:var(--panel);padding:5px;border:1px solid var(--line);border-radius:12px;gap:4px}.security-tabs button,.security-tabs button:first-child{border-radius:8px;min-height:39px;padding:9px 14px}.security-tabs button.active{background:var(--accent-bg)}.security-tabs button.active:after{display:none}.security-methods-panel{padding:24px}.security-method{padding:20px 0!important}.security-method strong{font-size:14px}.product-cards{gap:16px}.product-card{border-radius:12px}.service-state>.panel{border-radius:18px}
.guest-mode .auth-screen{display:grid;place-items:center;min-height:100svh;width:100%;padding:24px 16px}.guest-mode .auth-head,.guest-mode .auth-foot{display:none}.guest-mode .auth-main{display:block;width:100%;max-width:420px;padding:0;margin:0}.guest-mode .auth-card{width:100%;max-width:420px;border-radius:18px;background:var(--panel);padding:26px;box-shadow:var(--shadow)}.guest-mode .auth-card-top{padding:0 0 24px;border:0;font-size:21px;font-weight:650;letter-spacing:-.035em;gap:9px}.guest-mode .auth-card-top .icon-box{width:27px;height:27px;background:transparent}.guest-mode .auth-card-top .icon-box svg{width:25px;height:25px}.guest-mode .auth-card-body{padding:0}.guest-mode .auth-card-body h1{text-align:center;font-size:21px;line-height:1.4;margin:0 0 22px}.guest-mode .auth-card .btn{min-height:48px}.guest-mode .auth-support{text-align:center;border:0;padding:16px 0 0;margin:0}.id-legal{text-align:center!important;font-size:11px!important;color:var(--muted)!important;line-height:1.6!important;margin:20px 0 0!important;text-wrap:balance}.id-legal a{text-decoration:none}.id-legal a:hover{color:var(--text)}
@media(max-width:1200px){.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.profile-layout{grid-template-columns:minmax(0,1fr) 250px}.content{padding:28px 24px 48px}.topbar{padding:0 24px}.top-actions .profile-text{display:none}}
@media(max-width:900px){.profile-layout{grid-template-columns:1fr}.profile-side{grid-template-columns:repeat(2,minmax(0,1fr))}.top-actions .theme-picker{display:none}.content{padding:24px 20px 100px}.sidebar{padding-top:24px}.topbar{padding:0 20px}.panel{padding:20px}.page-head h1,.product-head h1{font-size:26px}.page-head{align-items:flex-start}.page-actions{flex-wrap:wrap;justify-content:flex-end}.mobile-nav{background:var(--panel);border-color:var(--line);border-radius:0}.mobile-nav button.active{background:var(--accent-bg);color:var(--text);border-radius:9px}}
@media(max-width:540px){.summary-grid{gap:10px}.summary-card{padding:14px;min-height:112px;gap:9px;flex-wrap:wrap}.summary-card .chev{display:none}.summary-card .icon-box{width:30px;height:30px}.summary-card>div{flex:1 1 88px}.summary-card strong{font-size:12px}.profile-side{grid-template-columns:1fr}.overview-head{display:block}.overview-head .page-actions{margin-top:16px;justify-content:flex-start}.command-trigger{max-width:160px}.command-trigger kbd{display:none}.top-actions{gap:6px}.content{padding:24px 16px 100px}.topbar{padding:0 16px}.panel{padding:18px}.form-actions{flex-wrap:wrap}.form-actions>[data-profile-message]{flex-basis:100%}.guest-mode .auth-card{padding:24px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.id-card-controls{display:flex;align-items:center;gap:6px;margin-left:auto;letter-spacing:normal}.id-card-controls .segmented{background:var(--panel2);border-radius:8px}.id-card-controls button{min-height:28px;height:28px;min-width:26px;padding:4px}.id-card-controls .theme-picker svg{width:14px;height:14px}.guest-mode .auth-card-top{display:flex;flex-wrap:wrap;align-items:center}.id-card-controls .lang-picker{font-size:10px}@media(max-width:380px){.guest-mode .auth-card-top{font-size:18px}.id-card-controls{width:100%;margin-top:8px;justify-content:center}}

/* Compact PENROUZ ID account: service launchers, clear section hierarchy, usable forms. */
.page-heading{min-width:0}.page-heading .section-description{margin:8px 0 0;font-size:13px;line-height:1.6;color:var(--muted);max-width:52em}.page-head{align-items:center;margin-bottom:24px}.page-head h1{font-size:28px}.page-head .btn{flex-shrink:0}.panel{padding:22px}.panel-head{gap:14px;margin-bottom:18px}.panel-head h2{line-height:1.4}.summary-grid{gap:12px}.summary-card{min-height:76px;padding:16px;flex-wrap:nowrap}.summary-card b{font-size:11px;margin-top:5px}.summary-card .icon-box{width:32px;height:32px;flex-shrink:0}.summary-card .chev{width:14px}.dashboard-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:20px}.home-events-panel{margin-top:20px}.action-list>button{min-height:62px;padding:11px 0}.setup-nudge{padding:14px 18px}.setup-nudge small{font-size:12px}.products-panel{align-self:start}.product-catalogue{margin-top:26px;padding:0;border:0;background:transparent}.service-directory{min-width:0}.service-directory .list-toolbar{padding:0 0 4px}.service-directory .list-search{background:var(--panel);max-width:420px}.service-directory .list-result-count{font-size:12px;margin:12px 0 20px}.service-icons{display:grid;grid-template-columns:repeat(auto-fill,minmax(106px,1fr));align-items:start;gap:12px 8px;min-width:0}.service-icons .inline-empty{grid-column:1/-1;min-height:96px}.service-shortcut{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;min-width:0;min-height:100px;padding:12px 6px;border:1px solid transparent;border-radius:12px;background:transparent;text-align:center;text-decoration:none;color:var(--text);font:inherit;cursor:pointer}.service-shortcut:hover{background:var(--panel);border-color:var(--line-soft);text-decoration:none}.products-panel .service-shortcut:hover{background:var(--panel2)}.service-shortcut:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.service-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;flex-shrink:0;color:#fff;background:#233744;box-shadow:inset 0 0 0 1px rgb(255 255 255/.1)}.service-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.service-icon-mcp{background:#1d303c}.service-icon-penrouz{background:#18262e}.service-icon-news{background:#2e6884}.service-icon-oco{background:#6258b5}.service-icon-opo{background:#a54b34}.service-name{font-size:12px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;max-width:135px}.service-alert{position:absolute;top:8px;left:calc(50% + 14px);width:16px;height:16px;border:2px solid var(--bg);border-radius:50%;font-size:10px;background:#ae4c28;color:#fff;line-height:12px}.service-dialog{max-width:380px;width:calc(100% - 32px);padding:28px;border:1px solid var(--line);border-radius:18px;background:var(--panel);color:var(--text);box-shadow:var(--shadow)}.service-dialog::backdrop{background:rgb(0 0 0/.38)}.service-dialog form{display:flex;justify-content:flex-end;margin:-10px -10px 0}.service-dialog [data-service-detail]{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}.service-dialog h2{font-size:20px}.service-dialog p{margin:0;line-height:1.6}
.account-tabs{display:flex;gap:4px;align-items:center;max-width:100%;padding:4px;margin-bottom:22px;border:1px solid var(--line);border-radius:11px;background:var(--panel);overflow-x:auto;scrollbar-width:none}.account-tabs button{flex:1 0 auto;min-height:40px;padding:9px 14px;border:0;border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}.account-tabs button[aria-selected=true]{color:var(--text);background:var(--accent-bg)}.account-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.profile-form{align-self:start;padding:22px}.profile-form>.account-tabs{margin:-2px 0 24px}.profile-pane>fieldset{margin:0 0 24px;padding:0;border:0}.profile-pane>fieldset:last-child{margin-bottom:0}.profile-pane legend{margin-bottom:16px;font-size:15px}.profile-optional{padding:20px 0 0;margin:0;font-size:11px;line-height:1.6}.profile-form .form-actions{position:sticky;bottom:12px;margin-top:20px;padding:14px 0 0;border-top:1px solid var(--line-soft);background:var(--panel);z-index:2}.profile-form .form-actions.has-changes{padding:14px;border:1px solid var(--line);border-radius:12px;box-shadow:0 5px 24px rgb(0 0 0/.08)}.profile-side{align-content:start}.profile-summary .avatar.xl{width:60px;height:60px;border-radius:20px;box-shadow:none}.profile-summary{padding:22px}.profile-summary h2{font-size:19px}.profile-side .side-list>button{min-height:52px}.security-tabs{margin-bottom:20px}.security-method{padding:16px 0!important}.security-method strong{font-size:13px}.security-method-copy small{font-size:12px;line-height:1.55}.security-method .security-state{font-size:11px}.security-method-actions .btn{min-height:36px}.security-state{line-height:1.5}.notifications-layout{display:block;max-width:960px}.notifications-layout>[hidden],.privacy-layout>[hidden],.profile-pane[hidden]{display:none!important}.notification-item,.session-item,.linked-account-row{padding:16px 0}.notification-item strong,.session-item strong{font-size:13px}.notification-item small,.session-item small{font-size:11px;line-height:1.6}.preference-row{min-height:72px}.privacy-layout{display:block;max-width:960px}.privacy-data{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.privacy-data .panel{height:100%}.privacy-data .btn{width:100%}.consent-row{padding:16px 0}.settings-layout.single{max-width:960px}.settings-main{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:start}.settings-main .panel{margin:0}.theme-cards{gap:8px}.theme-cards button{min-height:76px;padding:12px 8px;gap:8px}.theme-cards button .icon-box{width:28px;height:28px}.theme-cards strong{font-size:12px}.help-actions{display:flex;flex-direction:column;gap:10px}.help-actions .btn{justify-content:center}.keyboard-help{margin-top:20px}.keyboard-help dd{font-size:12px}.setting-row{gap:12px}.form-actions>[data-profile-message]{font-size:12px}.list-result-count{font-size:11px}
@media(max-width:1200px){.dashboard-grid{grid-template-columns:1fr}.summary-card{min-height:72px}.profile-layout{grid-template-columns:minmax(0,1fr) 250px}.settings-main{grid-template-columns:1fr}}
@media(max-width:900px){.profile-layout{grid-template-columns:1fr}.profile-side{grid-template-columns:1fr}.profile-summary{display:none}.profile-side .panel.compact{display:none}.profile-layout .profile-form{order:1}.profile-side{order:0}.profile-side .profile-summary{display:block;padding:18px}.profile-summary .avatar.xl,.profile-summary>h2,.profile-summary>.btn{display:none}.profile-summary .verified-email{margin:0}.profile-email-action{margin-top:8px}.privacy-data{grid-template-columns:1fr}.profile-form .form-actions{bottom:80px}.page-head h1{font-size:25px}}
@media(max-width:540px){.page-head{gap:12px;align-items:flex-start}.page-head .btn.small-btn{padding:8px 10px;min-height:36px;font-size:11px}.page-heading .section-description{font-size:12px;line-height:1.5}.page-head h1{font-size:23px}.panel,.profile-form{padding:18px}.summary-card{min-height:78px;padding:12px;gap:8px}.summary-card>div{flex:1;min-width:0}.summary-card strong{font-size:11px}.summary-card b{font-size:10px;line-height:1.45}.summary-card .icon-box{width:27px;height:27px}.service-icons{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 4px}.service-shortcut{min-height:96px;padding:10px 2px}.service-name{font-size:11px}.service-icon{width:46px;height:46px;border-radius:13px}.service-directory .list-toolbar{flex-wrap:wrap}.service-directory .list-search{flex:1 1 100%;max-width:none}.service-directory .compact-select{margin-left:auto}.account-tabs{gap:0;padding:3px;max-width:100%;margin-bottom:18px}.account-tabs button{font-size:11px;min-height:38px;padding:8px 10px}.profile-form>.account-tabs{margin-bottom:20px}.security-tabs{flex-wrap:nowrap;overflow-x:auto}.security-tabs button{flex:1 0 auto;font-size:11px;min-height:38px;padding:8px 10px}.security-tabs button svg{width:15px}.profile-optional{font-size:10px}.setup-nudge{padding:12px;gap:12px}.setup-actions{flex-wrap:wrap}.service-directory .list-result-count{margin-bottom:14px}.page-actions{gap:6px}.topbar .hub-site-link{display:none}.topbar .command-trigger{max-width:none;flex:1}.profile-form .form-actions.has-changes{padding:10px}.profile-form .form-actions{gap:8px}.form-actions>.btn{flex:1;padding:10px}.profile-side .profile-summary{display:block}.profile-side{display:block}.content{padding-top:20px}}
@media(max-width:760px){.topbar .lang-picker{display:flex!important}.topbar .profile-chip{display:none}.topbar .lang-picker button{min-width:28px;padding:0 5px}.topbar .top-actions{gap:6px}.topbar .command-trigger{min-width:0}.topbar .command-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
