/* RIDO v0.48.4 — uniforme zakelijke klantomgeving.
   Visuele taal afgeleid van de RIDO Order command-center: rustige witte surfaces,
   zichtbare status, consistente navigatie, ruime typografie en toegankelijk contrast. */
html body.rido-portal-body.rido-ui-v0484{
  --portal-bg:#eef4f7;--portal-card:#fff;--portal-ink:#092b3d;--portal-text:#4a6372;
  --portal-muted:#657b89;--portal-line:#d7e3e9;--portal-line-strong:#bfd1da;
  --portal-blue:#087fab;--portal-blue-dark:#075f83;--portal-blue-soft:#eaf6fa;
  --portal-green:#0b6b46;--portal-green-soft:#edf9f3;--portal-warn:#8a6200;--portal-warn-soft:#fff8e6;
  background:var(--portal-bg)!important;color:var(--portal-text)!important;
}
html body.rido-portal-body.rido-ui-v0484:not(.rido-order-customer-app) main.page,
html body.rido-portal-body.rido-ui-v0484:not(.rido-order-customer-app) main.main{background:var(--portal-bg)!important}
html body.rido-portal-body.rido-ui-v0484:not(.rido-order-customer-app) .subhero{
  padding:30px 0 22px!important;background:linear-gradient(180deg,#fff 0%,#f8fbfc 100%)!important;border-bottom:1px solid var(--portal-line)!important
}
html body.rido-portal-body.rido-ui-v0484:not(.rido-order-customer-app) .subhero h1,
html body.rido-portal-body.rido-ui-v0484:not(.rido-order-customer-app) .customer-portal-hero h1{
  margin:7px 0 8px!important;font-size:clamp(30px,3.6vw,46px)!important;line-height:1.06!important;letter-spacing:-.035em!important;color:var(--portal-ink)!important
}
html body.rido-portal-body.rido-ui-v0484:not(.rido-order-customer-app) .subhero p,
html body.rido-portal-body.rido-ui-v0484:not(.rido-order-customer-app) .customer-portal-hero p{max-width:820px!important;margin:0!important;line-height:1.6!important;color:var(--portal-muted)!important}
html body.rido-portal-body.rido-ui-v0484:not(.rido-order-customer-app) .section{padding-top:24px;padding-bottom:34px}

/* Cards, panelen en formulieren: één consistente surface. */
html body.rido-portal-body.rido-ui-v0484:not(.rido-order-customer-app) :where(.card,.panel,.portal-card,.workspace-card,.signage-panel,.signage-device-card,.signage-upload-card,.signage-media-card-v2,.signage-module-card-v2,.menu-summary-grid article,.menu-category-card,.menu-settings-card,.menu-preview-card,.menu-screens-card,.menu-content-card,.customer-solution-card,.customer-dashboard-card,.customer-screen-launcher,.order-start-action){
  background:#fff!important;border:1px solid var(--portal-line)!important;border-radius:17px!important;box-shadow:0 10px 28px rgba(7,52,77,.055)!important
}
html body.rido-portal-body.rido-ui-v0484:not(.rido-order-customer-app) :where(.card,.panel,.portal-card,.workspace-card,.signage-panel,.menu-settings-card,.menu-preview-card,.menu-screens-card,.menu-content-card) :where(h2,h3,h4){color:var(--portal-ink)!important;letter-spacing:-.018em!important}
html body.rido-portal-body.rido-ui-v0484:not(.rido-order-customer-app) :where(.card,.panel,.portal-card,.workspace-card,.signage-panel) p{line-height:1.55!important}
html body.rido-portal-body.rido-ui-v0484:not(.rido-order-customer-app) :where(.eyebrow,.section-kicker,.pill){color:var(--portal-blue-dark)!important;background:var(--portal-blue-soft)!important;border-color:#cfe7ef!important}

/* Knoppen: dezelfde vorm/hiërarchie als RIDO Order. */
html body.rido-portal-body.rido-ui-v0484 :where(.btn,.mini-btn,button:not(.nav-toggle):not(.menu-toggle)){
  border-radius:11px!important;min-height:42px;font-weight:800!important;text-decoration:none!important;box-shadow:none!important
}
html body.rido-portal-body.rido-ui-v0484 :where(.mini-btn.primary,.btn:not(.secondary):not(.ghost):not(.danger)){background:var(--portal-blue)!important;border-color:var(--portal-blue)!important;color:#fff!important}
html body.rido-portal-body.rido-ui-v0484 :where(.mini-btn.primary,.btn:not(.secondary):not(.ghost):not(.danger)) :where(span,strong,b,small){color:#fff!important}
html body.rido-portal-body.rido-ui-v0484 :where(.btn.secondary,.btn.ghost,.mini-btn:not(.primary):not(.danger)){background:#fff!important;border:1px solid var(--portal-line-strong)!important;color:var(--portal-ink)!important}
html body.rido-portal-body.rido-ui-v0484 .mini-btn.danger{background:#fff!important;border:1px solid #e0b4b4!important;color:#9a3333!important}

/* Form controls. */
html body.rido-portal-body.rido-ui-v0484 :where(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:42px!important;border:1px solid #b9ccd6!important;border-radius:10px!important;background:#fff!important;color:var(--portal-ink)!important;box-shadow:none!important}
html body.rido-portal-body.rido-ui-v0484 :where(input:not([type=checkbox]):not([type=radio]),select,textarea):focus{border-color:#5caac5!important;box-shadow:0 0 0 3px rgba(8,127,171,.11)!important;outline:0!important}

/* Status en meldingen. */
html body.rido-portal-body.rido-ui-v0484 :where(.notice,.signage-notice-row,.order-linked-content-note,.menu-first-screen-note){border-radius:13px!important;line-height:1.5!important}
html body.rido-portal-body.rido-ui-v0484 .notice.success{background:var(--portal-green-soft)!important;border-color:#bcded0!important;color:#315e4d!important}
html body.rido-portal-body.rido-ui-v0484 .notice.error{background:#fff4f4!important;border-color:#e9c2c2!important;color:#7d3434!important}

/* Algemene klantnavigatie/tabs. */
html body.rido-portal-body.rido-ui-v0484 :where(.signage-workspace-nav,.customer-commerce-nav,.portal-subnav,.menu-tabs){
  gap:6px!important;padding:6px!important;background:#fff!important;border:1px solid var(--portal-line)!important;border-radius:14px!important;box-shadow:0 8px 24px rgba(7,52,77,.045)!important
}
html body.rido-portal-body.rido-ui-v0484 :where(.signage-workspace-nav,.customer-commerce-nav,.portal-subnav,.menu-tabs) a{
  min-height:40px!important;border-radius:10px!important;color:#315164!important;text-decoration:none!important
}
html body.rido-portal-body.rido-ui-v0484 :where(.signage-workspace-nav,.customer-commerce-nav,.portal-subnav,.menu-tabs) a.active{
  background:var(--portal-blue-soft)!important;color:var(--portal-blue-dark)!important;border-color:#cce5ee!important;box-shadow:none!important
}

/* RIDO Menu: dezelfde horizontale werkruimte-opbouw als RIDO Order. */
html body.rido-portal-body.rido-ui-v0484 .menu-customer-app>.wrap.section{max-width:1380px!important;padding-top:18px!important}
html body.rido-portal-body.rido-ui-v0484 .menu-customer-shell{display:block!important;margin-top:14px!important}
html body.rido-portal-body.rido-ui-v0484 .menu-customer-main{display:grid!important;gap:16px!important;margin-top:14px!important}
html body.rido-portal-body.rido-ui-v0484 .menu-customer-nav{
  position:sticky!important;top:70px!important;z-index:22!important;display:flex!important;gap:6px!important;overflow-x:auto!important;
  padding:7px!important;background:#fff!important;border:1px solid var(--portal-line)!important;border-radius:14px!important;box-shadow:0 8px 24px rgba(7,52,77,.05)!important
}
html body.rido-portal-body.rido-ui-v0484 .menu-customer-nav .menu-nav-brand{display:none!important}
html body.rido-portal-body.rido-ui-v0484 .menu-customer-nav>a{
  flex:0 0 auto!important;display:flex!important;gap:8px!important;align-items:center!important;min-height:42px!important;padding:7px 11px!important;border-radius:10px!important;color:#315164!important;font-size:13px!important
}
html body.rido-portal-body.rido-ui-v0484 .menu-customer-nav>a b{width:26px!important;height:26px!important;border-radius:8px!important;background:#edf6fa!important;color:#31738d!important}
html body.rido-portal-body.rido-ui-v0484 .menu-customer-nav>a.active{background:var(--portal-blue-soft)!important;color:var(--portal-blue-dark)!important;box-shadow:none!important}
html body.rido-portal-body.rido-ui-v0484 .menu-customer-nav>a.active b{background:#d6edf5!important;color:#075f83!important}
html body.rido-portal-body.rido-ui-v0484 .menu-workspace-head{padding:22px 24px!important;background:linear-gradient(180deg,#fff,#f9fcfd)!important}
html body.rido-portal-body.rido-ui-v0484 .menu-workspace-head h2{margin:6px 0 6px!important;font-size:clamp(24px,2.5vw,32px)!important;line-height:1.12!important}
html body.rido-portal-body.rido-ui-v0484 .menu-summary-grid{grid-template-columns:1.3fr repeat(3,1fr)!important;gap:10px!important;margin:0!important}
html body.rido-portal-body.rido-ui-v0484 .menu-summary-grid article{min-height:104px!important;padding:16px 17px!important}
html body.rido-portal-body.rido-ui-v0484 .menu-editor-grid{gap:16px!important}
html body.rido-portal-body.rido-ui-v0484 .menu-settings-card,
html body.rido-portal-body.rido-ui-v0484 .menu-preview-card,
html body.rido-portal-body.rido-ui-v0484 .menu-screens-card,
html body.rido-portal-body.rido-ui-v0484 .menu-content-card{padding:20px!important}
html body.rido-portal-body.rido-ui-v0484 .menu-style-source label{background:#fff!important;border:1px solid var(--portal-line)!important;border-radius:12px!important;color:var(--portal-text)!important}
html body.rido-portal-body.rido-ui-v0484 .menu-style-source label:has(input:checked){background:#f2f9fc!important;border-color:#74b7cf!important}
html body.rido-portal-body.rido-ui-v0484 .order-linked-content-note{background:#f3f9fb!important;border:1px solid #cfe3eb!important;color:#315164!important}

/* Signage modules sluiten visueel aan op dezelfde cards. */
html body.rido-portal-body.rido-ui-v0484 .signage-kpi-grid{gap:10px!important}
html body.rido-portal-body.rido-ui-v0484 .signage-kpi{border-radius:16px!important;box-shadow:0 7px 22px rgba(7,52,77,.04)!important}
html body.rido-portal-body.rido-ui-v0484 .signage-panel-head{padding:19px 20px!important;background:linear-gradient(180deg,#fff,#fbfdfe)!important}
html body.rido-portal-body.rido-ui-v0484 .signage-panel-body{padding:20px!important}
html body.rido-portal-body.rido-ui-v0484 .signage-module-card-v2:hover{transform:translateY(-1px)!important;border-color:#85bacd!important;box-shadow:0 10px 28px rgba(7,52,77,.08)!important}

/* Starter/onboarding in klantmodus: staptekst altijd leesbaar. */
html body.rido-portal-body.rido-ui-v0484 .order-start-visual{background:linear-gradient(145deg,#07475e,#0b7f88)!important;border-radius:20px!important;padding:16px!important}
html body.rido-portal-body.rido-ui-v0484 .order-start-visual>div{background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:13px!important}
html body.rido-portal-body.rido-ui-v0484 .order-start-visual>div span{color:#fff!important;opacity:1!important;font-weight:760!important}
html body.rido-portal-body.rido-ui-v0484 .order-start-visual>div strong{background:#fff!important;color:#092b3d!important}

/* Dichte tekst in kaarten voorkomen. */
html body.rido-portal-body.rido-ui-v0484 :where(.customer-solution-card,.software-product-card,.signage-module-card-v2,.menu-summary-grid article) :where(h2,h3,strong){line-height:1.25!important}
html body.rido-portal-body.rido-ui-v0484 :where(.customer-solution-card,.software-product-card,.signage-module-card-v2) p{margin-top:7px!important;line-height:1.55!important}

@media(max-width:1050px){
  html body.rido-portal-body.rido-ui-v0484 .menu-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:720px){
  html body.rido-portal-body.rido-ui-v0484 .menu-customer-nav{top:62px!important}
  html body.rido-portal-body.rido-ui-v0484 .menu-summary-grid{grid-template-columns:1fr!important}
  html body.rido-portal-body.rido-ui-v0484:not(.rido-order-customer-app) .subhero{padding:22px 0 16px!important}
}
html body.rido-portal-body.rido-ui-v0484 .btn.danger{background:#fff!important;border:1px solid #e0b4b4!important;color:#9a3333!important}
