/* Dot Den v2.7.2 responsive blue-brand correction layer.
   Presentation and interaction refinements only. No schema/provider/payment activation. */
:root{
  --v272-blue:#063fc7;
  --v272-blue-bright:#0757e6;
  --v272-blue-deep:#032a93;
  --v272-navy:#031c67;
  --v272-ink:#0c1b3d;
  --v272-muted:#62708c;
  --v272-line:#d9e3f1;
  --v272-line-strong:#c7d5e9;
  --v272-canvas:#f4f7fc;
  --v272-paper:#fff;
  --v272-blue-soft:#edf3ff;
  --v272-green:#11845c;
  --v272-green-soft:#e8f8f1;
  --v272-amber:#a45b00;
  --v272-amber-soft:#fff2e4;
  --v272-red:#bd3747;
  --v272-red-soft:#fdecef;
  --v272-purple:#7656db;
  --v272-purple-soft:#f1edff;
  --v272-radius:14px;
  --v272-radius-lg:20px;
  --v272-shadow:0 1px 2px rgba(3,28,103,.04),0 12px 30px rgba(3,28,103,.07);
  --v272-shadow-strong:0 22px 60px rgba(3,28,103,.18);
  --v272-sidebar:228px;
  --v272-topbar:78px;
  --v272-content:1800px;
}

/* Brand reset: keep optional-service purple, but move the product shell to Dot Den blue. */
.app-body{
  --v271-purple-950:var(--v272-navy);
  --v271-purple-900:var(--v272-navy);
  --v271-purple-800:var(--v272-blue);
  --v271-purple-700:var(--v272-blue-bright);
  --v271-purple-100:var(--v272-blue-soft);
  --v271-purple-50:#f7faff;
  --v271-ink:var(--v272-ink);
  --v271-muted:var(--v272-muted);
  --v271-line:var(--v272-line);
  --v271-canvas:var(--v272-canvas);
  --v271-paper:var(--v272-paper);
  --v271-radius:var(--v272-radius);
  --v271-radius-lg:var(--v272-radius-lg);
  --v271-shadow:var(--v272-shadow);
  --v271-sidebar:var(--v272-sidebar);
  --v271-topbar:var(--v272-topbar);
  min-width:320px;
  background:var(--v272-canvas)!important;
  color:var(--v272-ink)!important;
  overflow-x:hidden!important;
}
.app-body *{min-width:0}
.app-body img,.app-body svg{max-width:100%}

/* Blue shell with a light-blue operational band and white work surfaces. */
.app-sidebar{
  width:var(--v272-sidebar)!important;
  background:linear-gradient(180deg,var(--v272-navy) 0%,#02164e 100%)!important;
  box-shadow:14px 0 38px rgba(3,28,103,.14)!important;
}
.app-sidebar nav a.active{
  color:var(--v272-blue-deep)!important;
  background:#fff!important;
  box-shadow:0 10px 24px rgba(0,12,60,.24)!important;
}
.app-sidebar nav a.active .nav-icon{background:var(--v272-blue-soft)!important;color:var(--v272-blue)!important}
.app-main{
  margin-left:var(--v272-sidebar)!important;
  width:auto!important;
  max-width:none!important;
  min-height:100vh;
  padding:0!important;
  overflow:visible!important;
  background:
    linear-gradient(180deg,var(--v272-blue-bright) 0,var(--v272-blue) 156px,var(--v272-canvas) 156px,var(--v272-canvas) 100%)!important;
}
.app-top{
  position:sticky!important;
  top:0!important;
  z-index:40!important;
  display:grid!important;
  grid-template-columns:minmax(180px,auto) minmax(0,1fr) auto!important;
  align-items:center!important;
  width:100%!important;
  max-width:none!important;
  min-height:var(--v272-topbar)!important;
  margin:0!important;
  padding:13px clamp(18px,2.2vw,34px)!important;
  color:#fff!important;
  border:0!important;
  border-bottom:1px solid rgba(255,255,255,.18)!important;
  background:linear-gradient(115deg,var(--v272-blue-bright),var(--v272-blue) 55%,var(--v272-blue-deep))!important;
  box-shadow:0 12px 30px rgba(3,28,103,.15)!important;
}
.app-title-block{overflow:hidden}
.app-title-block .eyebrow{display:none!important}
.app-title-block h1{
  margin:0!important;
  color:#fff!important;
  font-size:clamp(20px,1.7vw,29px)!important;
  line-height:1.05!important;
  letter-spacing:-.7px!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.portal-client-context{
  justify-self:start;
  max-width:min(440px,38vw);
  margin:0 0 0 clamp(10px,1.4vw,22px)!important;
  padding:0 0 0 clamp(10px,1.4vw,22px)!important;
  border-left:1px solid rgba(255,255,255,.3)!important;
}
.portal-client-logo{border-color:rgba(255,255,255,.5)!important;background:#fff!important;color:var(--v272-blue)!important}
.portal-client-context strong{color:#fff!important}
.portal-client-context small{color:#dbe7ff!important}
.app-utility-bar{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
  max-width:100%;
}
.top-global-search{
  display:flex!important;
  align-items:center!important;
  flex:1 1 420px!important;
  min-width:220px!important;
  max-width:520px!important;
  padding:4px!important;
  border:1px solid rgba(255,255,255,.38)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 8px 22px rgba(0,22,92,.12)!important;
}
.top-global-search input{
  min-width:0!important;
  min-height:38px!important;
  padding:8px 11px!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  box-shadow:none!important;
}
.top-global-search .button{min-height:38px!important;padding:8px 12px!important}
.utility-icon{border-color:rgba(255,255,255,.4)!important;background:rgba(255,255,255,.12)!important;color:#fff!important}
.utility-icon:hover{background:#fff!important;color:var(--v272-blue)!important}
.app-top .button.primary{background:#fff!important;color:var(--v272-blue)!important;border-color:#fff!important;box-shadow:0 8px 20px rgba(0,22,92,.17)!important}
.app-top .button.secondary{background:rgba(255,255,255,.12)!important;color:#fff!important;border-color:rgba(255,255,255,.42)!important}

.app-content{
  width:100%!important;
  max-width:var(--v272-content)!important;
  margin:0 auto!important;
  padding:24px clamp(14px,2.2vw,34px) 82px!important;
}
.app-content>*{max-width:100%}
.admin-page-intro,.v26-page-intro{margin:0 0 18px!important;color:#e8f0ff!important}
.admin-page-intro a,.v26-page-intro a{color:#fff}

/* Work surfaces: stronger hierarchy, less bland, but still operational. */
.admin-section,.workspace-card,.admin-record-surface,.v26-panel,.v26-metric-strip article,.detail-card,.plain-card,.provider-card,
.package-admin-card,.integration-card,.design-system-card,.customer-command-header,.feature-control-group,.feature-control-intro{
  border-color:var(--v272-line)!important;
  border-radius:var(--v272-radius)!important;
  background:#fff!important;
  box-shadow:var(--v272-shadow)!important;
}
.admin-section,.workspace-card{overflow:hidden}
.admin-section.compact-section,.workspace-card{padding:clamp(15px,1.6vw,22px)!important}
.section-row{flex-wrap:wrap!important}
.section-row h2,.compact-section h2{color:var(--v272-ink)!important}
.eyebrow{color:var(--v272-blue)!important}
.button{min-height:42px!important;padding:10px 15px!important;border-radius:11px!important;font-weight:800!important}
.button.tiny{min-height:36px!important;padding:8px 11px!important}
.button.primary{background:var(--v272-blue)!important;border-color:var(--v272-blue)!important;color:#fff!important}
.button.primary:hover{background:var(--v272-blue-deep)!important;border-color:var(--v272-blue-deep)!important}
.button.secondary{background:#fff!important;border-color:var(--v272-line-strong)!important;color:var(--v272-ink)!important}
.button.secondary:hover{border-color:#8eaddf!important;color:var(--v272-blue)!important;background:#f8fbff!important}
.button.danger{background:var(--v272-red-soft)!important;color:var(--v272-red)!important;border-color:#f3cbd1!important}
.status.green{background:var(--v272-green-soft)!important;color:var(--v272-green)!important}
.status.orange{background:var(--v272-amber-soft)!important;color:var(--v272-amber)!important}
.status.red{background:var(--v272-red-soft)!important;color:var(--v272-red)!important}
.status.blue{background:var(--v272-blue-soft)!important;color:var(--v272-blue)!important}
.status.purple{background:var(--v272-purple-soft)!important;color:var(--v272-purple)!important}

/* One global, softer form language. */
.app-body input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]),
.app-body select,
.app-body textarea,
.security-auth-body input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]),
.security-auth-body select,
.security-auth-body textarea{
  width:100%;
  max-width:100%;
  min-height:46px;
  padding:11px 14px!important;
  color:var(--v272-ink)!important;
  border:1px solid var(--v272-line-strong)!important;
  border-radius:12px!important;
  outline:0!important;
  background:#fff!important;
  box-shadow:inset 0 1px 2px rgba(3,28,103,.025)!important;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.app-body textarea,.security-auth-body textarea{min-height:112px;line-height:1.5;resize:vertical}
.app-body input::placeholder,.app-body textarea::placeholder,.security-auth-body input::placeholder{color:#98a5b9;opacity:1}
.app-body input:focus,.app-body select:focus,.app-body textarea:focus,
.security-auth-body input:focus,.security-auth-body select:focus,.security-auth-body textarea:focus{
  border-color:var(--v272-blue-bright)!important;
  box-shadow:0 0 0 4px rgba(7,87,230,.14)!important;
  background:#fff!important;
}
.app-body input:disabled,.app-body select:disabled,.app-body textarea:disabled{background:#eef2f8!important;color:#7b879a!important;cursor:not-allowed}
.app-body label,.security-auth-body label{line-height:1.35}
.app-body label>small,.security-auth-body label>small{display:block;margin-top:4px;color:var(--v272-muted)}
.app-body input[type="checkbox"],.app-body input[type="radio"]{accent-color:var(--v272-blue);width:18px;height:18px}
.switch i{border-color:var(--v272-line-strong)!important;background:#dbe3ef!important}
.switch input:checked+i{background:var(--v272-blue)!important}

/* Tables stay within their surface and never force page-level overflow. */
.table-wrap,.admin-table-scroll,.feature-table-scroll,.module-table-scroll{
  width:100%;
  max-width:100%;
  overflow-x:auto!important;
  overscroll-behavior-inline:contain;
  scrollbar-gutter:stable;
  -webkit-overflow-scrolling:touch;
}
.admin-record-surface,.admin-section,.workspace-card,.v26-panel{min-width:0!important;max-width:100%!important}
.admin-data-table,.dense-table,.module-catalogue-table{width:100%!important;max-width:100%;border-collapse:separate!important;border-spacing:0!important}
.admin-data-table th,.dense-table th,.module-catalogue-table th{background:#f7f9fd!important;color:var(--v272-muted)!important}
.admin-data-table tbody tr:hover,.dense-table tbody tr:hover,.module-catalogue-table tbody tr:hover{background:#f7faff!important}
.admin-data-table td,.admin-data-table th,.dense-table td,.dense-table th,.module-catalogue-table td,.module-catalogue-table th{overflow-wrap:anywhere}
.admin-row-actions{white-space:normal!important}
.admin-record-toolbar{align-items:center!important;flex-wrap:wrap!important;gap:12px!important}
.admin-record-controls{flex:1 1 540px!important;justify-content:flex-end!important;min-width:0!important}
.admin-record-controls label{flex:1 1 150px!important;min-width:130px!important;max-width:270px}
.admin-record-controls label:first-child{flex-basis:240px!important;max-width:420px}
.admin-table-footer{flex-wrap:wrap!important}

/* Responsive grids use available space instead of fixed desktop-only columns. */
.metric-grid,.v26-metric-strip,.admin-command-summary,.customer-command-metrics,.portal-status-grid{
  grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr))!important;
}
.dashboard-grid,.v26-dashboard-grid,.horizon-dashboard-grid,.customer-workspace-grid,.detail-grid,.two-panel,.split-admin,
.ticket-layout,.compact-split,.studio-layout,.addon-workspace{
  min-width:0!important;
}
.card-grid,.provider-grid,.integration-grid,.design-system-grid,.package-admin-grid,.gallery-admin-grid,
.v26-tool-grid,.entitlement-list{
  grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))!important;
}
.package-admin-card p{min-height:0!important}

/* Feature/module catalogue table. */
.module-catalogue-surface{overflow:hidden}
.module-catalogue-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:15px 16px;border-bottom:1px solid var(--v272-line);background:#fff}
.module-catalogue-toolbar .module-search{flex:1 1 280px;max-width:520px}
.module-catalogue-toolbar select{width:auto;min-width:170px}
.module-catalogue-table{min-width:1120px}
.module-catalogue-table th,.module-catalogue-table td{padding:12px 11px;border-bottom:1px solid var(--v272-line);vertical-align:middle;text-align:left}
.module-catalogue-table th{font-size:10px;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}
.module-name{display:flex;gap:10px;align-items:flex-start;min-width:260px}
.module-icon{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border-radius:11px;background:var(--v272-blue-soft);color:var(--v272-blue);font-size:10px;font-weight:900}
.module-name strong,.module-name small{display:block}.module-name small{margin-top:3px;color:var(--v272-muted);line-height:1.4}
.module-kind{display:inline-flex;padding:5px 8px;border-radius:999px;background:var(--v272-blue-soft);color:var(--v272-blue);font-size:9px;font-weight:850;white-space:nowrap}
.module-kind.platform{background:#eef2f8;color:#536179}.module-kind.addon{background:var(--v272-purple-soft);color:var(--v272-purple)}
.module-usage{display:flex;gap:5px;flex-wrap:wrap}.module-usage span{padding:4px 7px;border-radius:999px;background:#f1f4f8;color:var(--v272-muted);font-size:9px;white-space:nowrap}
.module-switch-cell{text-align:center!important}.module-switch-cell .switch{justify-content:center}.module-limit{width:88px!important;min-height:38px!important;padding:7px 9px!important}

/* Package builder presentation: module-led rather than abstract entitlement cards. */
.v272-package-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;margin-bottom:16px;padding:22px 24px;border-radius:var(--v272-radius-lg);background:linear-gradient(125deg,var(--v272-blue-bright),var(--v272-blue-deep));color:#fff;box-shadow:var(--v272-shadow-strong)}
.v272-package-hero .eyebrow{color:#d8e5ff!important}.v272-package-hero h2{margin:5px 0 7px;color:#fff;font-size:clamp(24px,2vw,34px)}.v272-package-hero p{max-width:760px;margin:0;color:#dbe7ff;line-height:1.55}.v272-package-hero .button{background:#fff!important;color:var(--v272-blue)!important;border-color:#fff!important}
.v272-package-models{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}
.v272-package-model{position:relative;padding:20px;border:1px solid var(--v272-line);border-radius:var(--v272-radius);background:#fff;box-shadow:var(--v272-shadow)}
.v272-package-model.featured{border:2px solid var(--v272-blue)}.v272-package-model h2{margin:8px 0 7px;font-size:21px}.v272-package-model p{color:var(--v272-muted);line-height:1.5}.v272-package-model ul{display:grid;gap:7px;margin:15px 0 0;padding:0;list-style:none}.v272-package-model li{font-size:11px}.v272-package-model li:before{content:'✓';margin-right:7px;color:var(--v272-blue);font-weight:900}
.v272-industry-presets{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:16px;padding:13px 15px;border:1px solid #cddcf4;border-radius:14px;background:#edf4ff}.v272-industry-presets strong{margin-right:3px;font-size:11px}.v272-industry-presets span{padding:6px 9px;border-radius:999px;background:#fff;color:var(--v272-blue);font-size:10px;font-weight:850}.v272-industry-presets small{margin-left:auto;color:var(--v272-muted)}
.package-module-table{display:grid;gap:8px}.package-module-row{display:grid;grid-template-columns:minmax(240px,1.5fr) minmax(150px,.55fr) minmax(95px,.35fr) minmax(120px,.4fr) auto;gap:10px;align-items:center;padding:12px;border:1px solid var(--v272-line);border-radius:12px;background:#fff}.package-module-row:hover{border-color:#aac1e8;background:#f9fbff}.package-module-copy strong,.package-module-copy small{display:block}.package-module-copy small{margin-top:3px;color:var(--v272-muted)}

/* Builder: more usable at every width and less technical. */
.visual-builder{width:100%!important;max-width:100%!important;grid-template-columns:minmax(220px,255px) minmax(0,1fr) minmax(280px,320px)!important;height:calc(100vh - 132px)!important;min-height:650px!important;border-color:var(--v272-line)!important;border-radius:16px!important;overflow:hidden!important;box-shadow:var(--v272-shadow-strong)!important}
.builder-pages-panel,.builder-inspector{min-width:0!important;background:#f8faff!important}.builder-canvas-panel{min-width:0!important;background:#dfe8f7!important}.builder-canvas-panel>header{height:auto!important;min-height:62px!important;flex-wrap:wrap!important;gap:8px!important;padding:10px 12px!important}.builder-canvas-panel>header>div{min-width:0}.builder-frame{max-width:100%!important}.builder-frame iframe{max-width:100%;background:#fff}.builder-panel-head{padding:14px!important}.builder-section-row{grid-template-columns:auto minmax(0,1fr) auto!important}.section-select-main{min-width:0!important}.section-select-main span{min-width:0!important}.section-select-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.builder-add-page{grid-template-columns:minmax(0,1fr) auto!important}.builder-add-page input{min-width:0!important}.builder-inspector-form{padding:0 12px 12px!important}.builder-inspector-form label{font-size:11px!important}.builder-module-option.planned{display:none!important}.area-admin .builder-module-option.planned{display:grid!important}.area-portal .builder-module-group:has(.builder-module-option.planned){display:none!important}.builder-module-group>p{display:none!important}.area-admin .builder-module-group>p{display:block!important}
.builder-module-option{border-color:var(--v272-line)!important;border-radius:11px!important}.builder-module-option:hover:not(:disabled){border-color:#9eb9e5!important;background:#f4f8ff!important}.module-tier.premium{background:var(--v272-blue-soft)!important;color:var(--v272-blue)!important}.module-tier.add-on{background:var(--v272-purple-soft)!important;color:var(--v272-purple)!important}
.builder-colour-grid input[type="color"]{height:42px!important;border-radius:11px!important}.builder-completion-dialog,.builder-confirm-dialog{border:1px solid var(--v272-line);box-shadow:0 32px 90px rgba(3,28,103,.28)!important}.builder-dialog-backdrop{background:rgba(3,18,68,.55)!important}.builder-dialog-mark{background:var(--v272-green-soft)!important;color:var(--v272-green)!important}
.builder-repeaters{display:grid;gap:9px;margin:10px 0}.builder-repeater-row{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr) auto;gap:7px;padding:9px;border:1px solid var(--v272-line);border-radius:11px;background:#f8faff}.builder-repeater-row.faq-row{grid-template-columns:minmax(0,1fr) auto}.builder-repeater-row.faq-row textarea{grid-column:1/-1}.builder-repeater-row .button{align-self:end}.builder-repeater-actions{display:flex;gap:7px;flex-wrap:wrap}.builder-gallery-link{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:10px 0;padding:11px;border:1px solid #cddcf4;border-radius:12px;background:var(--v272-blue-soft)}.builder-gallery-link strong,.builder-gallery-link small{display:block}.builder-gallery-link small{margin-top:3px;color:var(--v272-muted)}

/* Authentication uses the same public blue and significantly improved fields. */
.security-auth-body{background:#f4f7fc!important}
.security-auth-brand-panel{background:linear-gradient(145deg,var(--v272-navy),var(--v272-blue-bright))!important}
.security-auth-message .eyebrow{color:#c8d9ff!important}
.security-auth-card{border-color:var(--v272-line)!important;border-radius:22px!important;box-shadow:var(--v272-shadow-strong)!important}
.security-auth-card form{display:grid;gap:14px}.security-auth-card form label{display:grid;gap:7px;font-size:12px;font-weight:800}.security-auth-card form .button{width:100%;margin-top:3px}
.security-auth-card input[name="token"]{font-size:24px!important;font-weight:850!important;letter-spacing:.3em!important;text-align:center!important;padding-left:calc(14px + .3em)!important}

/* Dot Den modal used by destructive actions outside the builder. */
.dd-modal-backdrop{position:fixed;inset:0;z-index:250;display:grid;place-items:center;padding:18px;background:rgba(3,18,68,.56);backdrop-filter:blur(4px)}
.dd-modal{width:min(480px,100%);padding:24px;border:1px solid var(--v272-line);border-radius:22px;background:#fff;box-shadow:0 34px 100px rgba(3,28,103,.3)}
.dd-modal h2{margin:0 0 7px;font-size:23px}.dd-modal p{margin:0;color:var(--v272-muted);line-height:1.55}.dd-modal-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:18px}

/* Client websites: persistent but tasteful Dot Den credit. */
.site-footer .dotden-credit,.builder-site-footer .dotden-credit{display:inline-flex;align-items:center;gap:5px;color:inherit;font-size:11px;opacity:.8}.site-footer .dotden-credit a,.builder-site-footer .dotden-credit a{color:inherit;font-weight:850;text-decoration:none}.site-footer .dotden-credit a:hover,.builder-site-footer .dotden-credit a:hover{text-decoration:underline}

/* Earlier rail and drawer breakpoints prevent half-window desktop overflow. */
@media(max-width:1480px){
  :root{--v272-sidebar:78px}
  .app-sidebar .sidebar-logo{justify-content:center!important}.app-sidebar .sidebar-logo .brand-wordmark{font-size:0!important}.app-sidebar .sidebar-logo .brand-wordmark:after{content:'DD';width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#fff;color:var(--v272-blue);font-size:11px;font-weight:950}.app-sidebar .sidebar-logo>span:last-child,.sidebar-nav-group .sidebar-section-label,.app-sidebar nav a>span:last-child,.sidebar-help,.sidebar-user-copy,.sidebar-signout span{display:none!important}.app-sidebar nav a{grid-template-columns:1fr!important;justify-items:center!important;padding:7px!important}.sidebar-user,.sidebar-signout{justify-content:center!important}.app-main{margin-left:78px!important}
  .app-top{grid-template-columns:minmax(150px,auto) minmax(0,1fr) auto!important}.portal-client-context{max-width:330px}.top-global-search{max-width:430px!important}
  .v272-package-models{grid-template-columns:1fr 1fr}.v272-package-model:last-child{grid-column:1/-1}
  .visual-builder{grid-template-columns:220px minmax(0,1fr)!important}.builder-inspector{position:fixed!important;right:16px!important;top:94px!important;width:min(320px,calc(100vw - 32px))!important;max-height:calc(100vh - 112px)!important;z-index:46!important;border:1px solid var(--v272-line)!important;border-radius:16px!important;box-shadow:var(--v272-shadow-strong)!important;overflow:auto!important}
}

@media(max-width:1120px){
  :root{--v272-sidebar:286px}
  .app-sidebar{width:min(286px,86vw)!important;transform:translateX(-105%)!important;transition:transform .2s ease!important}.app-nav-open .app-sidebar{transform:translateX(0)!important}.app-sidebar .sidebar-logo{justify-content:flex-start!important}.app-sidebar .sidebar-logo .brand-wordmark{font-size:29px!important}.app-sidebar .sidebar-logo .brand-wordmark:after{display:none!important}.app-sidebar .sidebar-logo>span:last-child,.sidebar-nav-group .sidebar-section-label,.app-sidebar nav a>span:last-child,.sidebar-help,.sidebar-user-copy,.sidebar-signout span{display:block!important}.app-sidebar nav a{grid-template-columns:28px minmax(0,1fr)!important;justify-items:stretch!important}.sidebar-user,.sidebar-signout{justify-content:flex-start!important}.app-main{margin-left:0!important}.app-mobile-bar{display:flex!important}.app-top{position:relative!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;padding:12px 15px!important}.app-title-block h1{white-space:normal}.portal-client-context{grid-column:1/-1;max-width:none!important;width:100%;margin:0!important;padding:10px 0 0!important;border-left:0!important;border-top:1px solid rgba(255,255,255,.28)!important}.app-utility-bar{grid-column:1/-1;width:100%;justify-content:flex-start!important;flex-wrap:wrap!important}.top-global-search{order:3;flex:1 1 100%!important;max-width:none!important}.app-content{padding:20px 15px 88px!important}.visual-builder{display:block!important;height:auto!important;min-height:0!important}.builder-pages-panel{display:block!important}.builder-canvas-panel{height:720px}.builder-inspector{position:static!important;width:auto!important;max-height:none!important;border-radius:0!important;box-shadow:none!important}.two-panel,.split-admin,.compact-split,.ticket-layout,.studio-layout,.v26-dashboard-grid,.horizon-dashboard-grid,.customer-workspace-grid{grid-template-columns:1fr!important}.v272-package-models{grid-template-columns:1fr}.v272-package-model:last-child{grid-column:auto}.v272-package-hero{grid-template-columns:1fr}.v272-package-hero .button{justify-self:start}.v272-industry-presets small{width:100%;margin-left:0}.package-module-row{grid-template-columns:minmax(0,1fr) minmax(130px,.45fr) minmax(90px,.3fr) auto}.package-module-row label:nth-of-type(3){grid-column:2/4}
  .security-auth-shell{grid-template-columns:1fr!important}.security-auth-brand-panel{min-height:260px!important;padding:28px!important}.security-auth-message{margin:42px 0 0!important}.security-auth-message h1{font-size:35px!important}.security-auth-benefits{display:none!important}.security-auth-form-panel{padding:20px!important}
}

@media(max-width:760px){
  .app-top{grid-template-columns:minmax(0,1fr) auto!important}.app-utility-bar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}.top-global-search{display:none!important}.app-top .button span{display:none}.app-top .button{width:42px!important;padding:9px!important}.app-content{padding:16px 12px 86px!important}.admin-page-intro,.v26-page-intro{font-size:12px}.admin-record-toolbar{align-items:stretch!important;flex-direction:column!important}.admin-record-controls{display:grid!important;grid-template-columns:1fr!important;width:100%!important}.admin-record-controls label{max-width:none!important}.admin-table-scroll,.table-wrap{overflow-x:auto!important}.admin-data-table,.dense-table{min-width:680px}.module-catalogue-table{min-width:0!important}.module-catalogue-table,.module-catalogue-table tbody,.module-catalogue-table tr,.module-catalogue-table td{display:block;width:100%}.module-catalogue-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.module-catalogue-table tr{padding:10px 12px;border-bottom:2px solid var(--v272-line)}.module-catalogue-table td{display:grid;grid-template-columns:minmax(96px,34%) minmax(0,1fr);gap:10px;padding:7px 0;border:0}.module-catalogue-table td:before{content:attr(data-label);color:var(--v272-muted);font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.module-catalogue-table td:first-child{display:block}.module-catalogue-table td:first-child:before{display:none}.module-switch-cell{text-align:left!important}.module-switch-cell .switch{justify-content:flex-start}.module-limit{width:100%!important}.module-catalogue-toolbar{align-items:stretch}.module-catalogue-toolbar>*{width:100%!important;max-width:none!important}.v272-package-models{grid-template-columns:1fr}.package-module-row{grid-template-columns:1fr!important}.package-module-row label,.package-module-row button{width:100%}.package-module-row label:nth-of-type(3){grid-column:auto}.builder-canvas-panel{height:640px}.builder-pages-panel{max-height:none!important}.builder-device-switch{order:3;width:100%;justify-content:center}.builder-canvas-panel>header>div:last-child{display:flex;gap:6px;flex-wrap:wrap}.builder-repeater-row,.builder-repeater-row.faq-row{grid-template-columns:1fr}.builder-repeater-row.faq-row textarea{grid-column:auto}.builder-repeater-row .button{width:100%}.builder-completion-dialog,.builder-confirm-dialog{padding:22px!important}.security-auth-message h1{font-size:30px!important}.security-auth-card{padding:21px!important}.security-auth-card input[name="token"]{font-size:21px!important;letter-spacing:.22em!important}.dd-modal-actions{flex-direction:column-reverse}.dd-modal-actions .button{width:100%}
}

@media(max-width:480px){
  .app-title-block h1{font-size:19px!important}.portal-client-context small{white-space:normal}.app-top{padding:11px 12px!important}.app-content{padding-inline:10px!important}.v272-package-hero{padding:18px}.module-name{min-width:0}.visual-builder{border-radius:0!important;margin-inline:-10px;width:calc(100% + 20px)!important}.builder-canvas-panel{height:590px}.security-auth-brand-panel{min-height:220px!important}.security-auth-message{margin:28px 0 0!important}.security-auth-message p{font-size:12px!important}
}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* Admin header uses all available width rather than reserving an empty column. */
.area-admin .app-top{grid-template-columns:minmax(170px,auto) minmax(0,1fr)!important}
.area-admin .app-utility-bar{justify-self:end;width:min(760px,100%)}

/* Gallery manager with direct upload and friendly empty state. */
.gallery-manager-layout{display:grid;grid-template-columns:minmax(280px,.42fr) minmax(0,1.58fr);gap:16px;align-items:start}
.gallery-upload-panel{position:sticky;top:102px}
.gallery-upload-panel input[type=file]{display:block;width:100%;min-height:52px;padding:10px;border:1px dashed #9cb5dc;border-radius:12px;background:#f8fbff;color:var(--v272-ink)}
.gallery-existing-media{margin-top:18px;padding-top:18px;border-top:1px solid var(--v272-line)}
.v272-friendly-empty{padding:36px 20px;border:1px dashed #a9bddc;border-radius:14px;background:#f8fbff;text-align:center}.v272-friendly-empty strong{display:block;font-size:17px}.v272-friendly-empty p{margin:6px auto 0;max-width:420px;color:var(--v272-muted)}
.builder-repeater-row.service-row{grid-template-columns:minmax(0,1fr) auto}.builder-repeater-row.service-row label:last-child{grid-column:1/-1}.builder-repeater-row.service-row textarea{min-height:82px!important}
@media(max-width:1120px){.gallery-manager-layout{grid-template-columns:1fr}.gallery-upload-panel{position:static}.area-admin .app-top{grid-template-columns:minmax(0,1fr) auto!important}.area-admin .app-utility-bar{justify-self:stretch;width:100%}}

/* Final overflow containment: the page never grows beyond the viewport; wide records scroll inside their own surface. */
.app-content{overflow-x:clip!important}
.admin-record-surface,.admin-section,.workspace-card,.v26-panel,.package-admin-grid,.compact-stack{max-width:100%!important;min-width:0!important}
.admin-record-surface>*,.admin-section>*,.workspace-card>*,.v26-panel>*{min-width:0}
.module-create-section{scroll-margin-top:96px}
