
/* ==========================================================================
   HOMA UI KIT v1.0
   Unified RTL enterprise UI foundation for HOMA.
   This file is loaded AFTER legacy app.css and is the only place new
   cross-screen visual rules should be added.
   ========================================================================== */

:root{
  --homa-primary:#7366ff;
  --homa-primary-hover:#6559ee;
  --homa-primary-soft:#f0eeff;
  --homa-primary-contrast:#fff;

  --homa-success:#1fbe8a;
  --homa-success-soft:#e8f9f3;
  --homa-warning:#e9a62d;
  --homa-warning-soft:#fff6df;
  --homa-danger:#e85b6a;
  --homa-danger-soft:#fdebed;
  --homa-info:#4f8cff;
  --homa-info-soft:#ebf2ff;

  --homa-bg:#f7f8fc;
  --homa-surface:#fff;
  --homa-surface-subtle:#fbfbfe;
  --homa-text:#20233b;
  --homa-muted:#7d8299;
  --homa-border:#e2e5ef;
  --homa-border-strong:#cfd5e3;

  --homa-space-1:4px;
  --homa-space-2:8px;
  --homa-space-3:12px;
  --homa-space-4:16px;
  --homa-space-5:20px;
  --homa-space-6:24px;
  --homa-space-8:32px;

  --homa-control-h:44px;
  --homa-control-compact-h:36px;
  --homa-radius-sm:8px;
  --homa-radius:10px;
  --homa-radius-card:12px;
  --homa-radius-modal:14px;
  --homa-shadow-card:0 5px 18px rgba(28,35,74,.055);
  --homa-shadow-pop:0 18px 56px rgba(28,35,74,.16);

  --homa-fs-xs:13px;
  --homa-fs-sm:14px;
  --homa-fs-md:15px;
  --homa-fs-section:17px;
  --homa-fs-page:22px;

  --homa-content-gap:18px;
  --homa-max-form:1160px;
}

:root[data-theme="dark"]{
  --homa-bg:#171821;
  --homa-surface:#20212b;
  --homa-surface-subtle:#252631;
  --homa-text:#f0f1f7;
  --homa-muted:#a0a4b7;
  --homa-border:#343643;
  --homa-border-strong:#454858;
  --homa-primary-soft:#2b2945;
  --homa-success-soft:#18362e;
  --homa-warning-soft:#3a3120;
  --homa-danger-soft:#3b2229;
  --homa-info-soft:#202d47;
}

/* Foundation bridge: legacy tokens now resolve through the kit. */
:root{
  --primary:var(--homa-primary);
  --primary-soft:var(--homa-primary-soft);
  --bg:var(--homa-bg);
  --surface:var(--homa-surface);
  --surface-2:var(--homa-surface-subtle);
  --text:var(--homa-text);
  --muted:var(--homa-muted);
  --border:var(--homa-border);
  --success:var(--homa-success);
  --success-soft:var(--homa-success-soft);
  --warning:var(--homa-warning);
  --warning-soft:var(--homa-warning-soft);
  --danger:var(--homa-danger);
  --danger-soft:var(--homa-danger-soft);
  --info:var(--homa-info);
  --info-soft:var(--homa-info-soft);
  --radius:var(--homa-radius-card);
  --radius-sm:var(--homa-radius-sm);
}

/* --------------------------------------------------------------------------
   Typography & page shell
   -------------------------------------------------------------------------- */
html,body{font-size:var(--homa-fs-sm);}
.content{
  display:flex;
  flex-direction:column;
  gap:var(--homa-content-gap);
}
.page-heading{
  min-height:auto!important;
  margin:0 0 var(--homa-space-4)!important;
  padding:0!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:var(--homa-space-4)!important;
}
.page-heading h1{
  margin:0!important;
  font-size:var(--homa-fs-page)!important;
  line-height:1.55!important;
}
.page-subtitle{
  margin:4px 0 0!important;
  color:var(--homa-muted)!important;
  font-size:var(--homa-fs-xs)!important;
  line-height:1.8!important;
}
.page-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.header-breadcrumb{font-size:13px!important;}

/* --------------------------------------------------------------------------
   Sidebar brand
   -------------------------------------------------------------------------- */
.brand.homa-brand{
  min-height:72px;
  padding:10px 14px!important;
  display:flex!important;
  align-items:center;
}
.homa-brand-link{
  display:flex!important;
  align-items:center;
  gap:10px;
  min-width:0;
  flex:1;
}
.homa-brand-link .brand-full,
.homa-brand-link .brand-folded{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  object-fit:contain;
  border-radius:12px;
}
.homa-brand-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
  line-height:1.35;
}
.homa-brand-copy strong{
  font-size:16px;
  color:var(--homa-text);
}
.homa-brand-copy small{
  margin-top:2px;
  max-width:165px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-family:"ShabnamHoma",Tahoma,sans-serif;
  font-size:13px;
  font-weight:400;
  color:var(--homa-muted);
}
html.sidebar-prefold .homa-brand-copy,
body.sidebar-folded .homa-brand-copy{display:none!important;}
html.sidebar-prefold .homa-brand-link,
body.sidebar-folded .homa-brand-link{justify-content:center;}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card{
  border:1px solid var(--homa-border)!important;
  border-radius:var(--homa-radius-card)!important;
  background:var(--homa-surface)!important;
  box-shadow:var(--homa-shadow-card)!important;
  overflow:hidden;
}
.card:hover{transform:none!important;}
.card-head{
  min-height:58px;
  padding:14px 18px!important;
  border-bottom:1px solid var(--homa-border)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px;
}
.card-head h2{
  margin:0!important;
  font-size:var(--homa-fs-section)!important;
  line-height:1.6;
}
.card-body{padding:18px!important;}
.card-actions,.actions,.inline-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.soft-sep{
  border:0;
  border-top:1px solid var(--homa-border);
  margin:22px 0;
}

/* --------------------------------------------------------------------------
   Controls & forms
   -------------------------------------------------------------------------- */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea{
  width:100%;
  min-height:var(--homa-control-h);
  border:1px solid var(--homa-border-strong)!important;
  border-radius:var(--homa-radius)!important;
  background:var(--homa-surface)!important;
  color:var(--homa-text)!important;
  padding:9px 12px!important;
  box-shadow:none!important;
}
textarea{min-height:112px;}
input:focus,select:focus,textarea:focus{
  border-color:var(--homa-primary)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--homa-primary) 12%,transparent)!important;
}
input::placeholder,textarea::placeholder{color:#989db0;}
input[disabled],select[disabled],textarea[disabled],
input[readonly],textarea[readonly]{
  background:var(--homa-surface-subtle)!important;
  color:var(--homa-muted)!important;
}
.form-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px 18px!important;
}
.form-grid.one{grid-template-columns:1fr!important;}
.form-group{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  min-width:0;
  margin:0!important;
}
.form-group.full,.full{grid-column:1/-1;}
.form-group>label,.form-group label.required{
  margin:0!important;
  font-size:var(--homa-fs-xs)!important;
  line-height:1.7!important;
  font-weight:700!important;
  color:var(--homa-text)!important;
}
.help{
  display:block;
  font-size:var(--homa-fs-xs)!important;
  line-height:1.8;
  color:var(--homa-muted)!important;
}
.form-actions,
.ui-form-actions,
.drawer-actions{
  grid-column:1/-1;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  padding-top:2px;
  margin-top:2px;
}
.ui-form-footer{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  padding:14px 18px;
  border-top:1px solid var(--homa-border);
  background:var(--homa-surface-subtle);
}

/* Check / radio / switch */
.check-line{
  min-height:44px;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  padding:8px 0;
  font-size:var(--homa-fs-sm)!important;
}
.check-line input[type="checkbox"],
.check-line input[type="radio"]{
  width:18px!important;
  height:18px!important;
  min-width:18px;
  margin:0!important;
}
.ui-switch{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:8px 0;
}
.ui-switch-copy{display:flex;flex-direction:column;gap:2px;}
.ui-switch-copy b{font-size:14px;}
.ui-switch-copy small{font-size:13px;color:var(--homa-muted);}
.ui-switch-control{
  position:relative;
  width:42px;
  height:24px;
  min-width:42px;
}
.ui-switch-control input{position:absolute;opacity:0;pointer-events:none;}
.ui-switch-control span{
  position:absolute;inset:0;
  border-radius:999px;
  background:#c9cedb;
  transition:.18s;
}
.ui-switch-control span:after{
  content:"";
  position:absolute;
  width:18px;height:18px;top:3px;right:3px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 4px rgba(0,0,0,.16);
  transition:.18s;
}
.ui-switch-control input:checked+span{background:var(--homa-primary);}
.ui-switch-control input:checked+span:after{transform:translateX(-18px);}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn{
  min-height:40px!important;
  width:auto!important;
  padding:8px 15px!important;
  border-radius:var(--homa-radius)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  font-size:var(--homa-fs-sm)!important;
  line-height:1.25!important;
  white-space:nowrap;
  cursor:pointer;
}
.btn-sm{
  min-height:var(--homa-control-compact-h)!important;
  padding:6px 11px!important;
  font-size:13px!important;
}
.btn-primary{
  color:var(--homa-primary-contrast)!important;
  background:var(--homa-primary)!important;
  border-color:var(--homa-primary)!important;
}
.btn-primary:hover{background:var(--homa-primary-hover)!important;}
.btn-outline{
  background:var(--homa-surface)!important;
  border-color:var(--homa-border-strong)!important;
  color:var(--homa-text)!important;
}
.btn-ghost{
  background:transparent!important;
  border-color:transparent!important;
  color:var(--homa-muted)!important;
}
.btn-danger{
  background:var(--homa-danger)!important;
  border-color:var(--homa-danger)!important;
  color:#fff!important;
}
.btn-block,.auth-submit{width:100%!important;}

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
.table-wrap{
  width:100%;
  overflow:auto;
  border:0!important;
}
table,.orchid-table{
  width:100%;
  border-collapse:collapse!important;
  font-size:14px;
}
table thead th,.orchid-table thead th{
  height:44px;
  padding:10px 12px!important;
  background:var(--homa-surface-subtle)!important;
  color:#70758e!important;
  font-size:13px!important;
  font-weight:700!important;
  border-bottom:1px solid var(--homa-border)!important;
  white-space:nowrap;
}
table tbody td,.orchid-table tbody td{
  min-height:52px;
  padding:11px 12px!important;
  vertical-align:middle!important;
  border-bottom:1px solid var(--homa-border)!important;
}
table tbody tr:last-child td{border-bottom:0!important;}
table tbody tr:hover td{background:color-mix(in srgb,var(--homa-primary) 2.5%,var(--homa-surface));}

/* Persian primary / technical secondary */
.ui-label-stack{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}
.ui-label-stack>b{
  font-family:"VazirHoma","ShabnamHoma",Tahoma,sans-serif;
  font-size:14px;
}
.ui-tech-code{
  display:block;
  direction:ltr;
  text-align:right;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:13px;
  line-height:1.45;
  color:var(--homa-muted);
  font-weight:500;
  unicode-bidi:isolate;
}

/* --------------------------------------------------------------------------
   Unified filter/search bar
   -------------------------------------------------------------------------- */
.toolbar-card,
.orchid-toolbar,
.ui-filterbar,
.task-toolbar,
.faq-toolbar{
  width:100%;
  min-height:58px;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid var(--homa-border)!important;
  border-radius:var(--homa-radius-card)!important;
  background:var(--homa-surface)!important;
  box-shadow:var(--homa-shadow-card)!important;
}
.filter-row,
.inline-filter,
.ui-filterbar form,
.toolbar-card>form{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin:0!important;
}
.filter-row .search-field,
.inline-filter .search-field,
.ui-filter-search,
.filter-search-compact,
.search-field{
  flex:0 1 300px!important;
  min-width:220px!important;
  max-width:340px!important;
  height:var(--homa-control-h)!important;
  position:relative;
}
.search-field input,.ui-filter-search input{
  height:var(--homa-control-h)!important;
  padding-inline-start:38px!important;
}
.search-field>i,.ui-filter-search>i{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  z-index:1;
  color:var(--homa-muted);
}
.filter-row>select,
.inline-filter>select,
.ui-filterbar select,
.filter-input-compact{
  flex:0 1 190px!important;
  width:auto!important;
  min-width:150px!important;
  max-width:240px!important;
  height:var(--homa-control-h)!important;
}
.filter-row>.btn,
.inline-filter>.btn,
.ui-filterbar .btn{
  min-height:var(--homa-control-h)!important;
}
.toolbar-hint{
  margin-inline-start:auto;
  font-size:13px;
  color:var(--homa-muted);
}

/* Requests filter was previously a full card. Make every filter operationally compact. */
.request-filter-card .card-body{padding:10px 12px!important;}
.request-filter-card .card-head{display:none!important;}
.request-filter-card form{display:flex!important;align-items:flex-end!important;gap:8px!important;flex-wrap:wrap!important;}
.request-filter-card .form-group{flex:0 1 230px!important;min-width:170px!important;}
.request-filter-card .form-group:first-of-type{flex-basis:300px!important;}
.request-filter-card .form-group label{display:none!important;}

/* --------------------------------------------------------------------------
   Settings: one shell, one rhythm, no full-width submit bars
   -------------------------------------------------------------------------- */
.settings-shell{
  display:grid!important;
  grid-template-columns:220px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:start;
}
.settings-nav{
  position:sticky!important;
  top:88px!important;
  width:auto!important;
  padding:8px!important;
  border:1px solid var(--homa-border)!important;
  border-radius:var(--homa-radius-card)!important;
  background:var(--homa-surface)!important;
  box-shadow:var(--homa-shadow-card)!important;
}
.settings-nav a{
  min-height:42px;
  padding:9px 11px!important;
  border-radius:9px!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  font-size:14px!important;
}
.settings-nav a.active{
  background:var(--homa-primary-soft)!important;
  color:var(--homa-primary)!important;
}
.settings-content{
  min-width:0;
  max-width:none!important;
}
.settings-content .card-body{padding:22px!important;}
.settings-content h2{
  margin:0 0 4px!important;
  font-size:17px!important;
}
.settings-content .settings-form{
  max-width:var(--homa-max-form);
  margin-top:18px;
}
.settings-content .settings-form>.btn{
  width:auto!important;
  min-width:130px!important;
}
.settings-content .settings-form>.full:last-child{
  width:auto!important;
}
.settings-content .settings-form>.full:last-child .btn{width:auto!important;}
.setting-summary{
  display:grid!important;
  grid-template-columns:180px minmax(0,1fr)!important;
  gap:12px 16px!important;
}

/* --------------------------------------------------------------------------
   Admin/system navigation
   -------------------------------------------------------------------------- */
.admin-tabs{display:none!important;} /* Sidebar is the one navigation authority. */

/* --------------------------------------------------------------------------
   Legal representation editor is a full page, never a drawer.
   -------------------------------------------------------------------------- */
.legal-entity-editor{max-width:1180px;margin-inline:auto;}
.legal-entity-editor .card-body{padding:22px!important;}
.legal-entity-editor .legal-editor-section{
  padding:0 0 22px;
  margin:0 0 22px;
  border-bottom:1px solid var(--homa-border);
}
.legal-entity-editor .legal-editor-section:last-of-type{border-bottom:0;margin-bottom:0;}
.legal-entity-editor h3{font-size:16px;margin:0 0 14px;}

/* --------------------------------------------------------------------------
   Auth: completely independent light-only layout.
   -------------------------------------------------------------------------- */
.auth-page{
  --homa-bg:#f6f7fb;
  --homa-surface:#fff;
  --homa-text:#252737;
  --homa-muted:#7e8397;
  --homa-border:#dfe3ee;
  color-scheme:light!important;
  background:var(--homa-bg)!important;
}
.auth-page .cuba-auth-shell{
  min-height:100vh!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:28px 16px!important;
  background:
    radial-gradient(circle at 18% 16%,rgba(115,102,255,.10),transparent 30%),
    radial-gradient(circle at 82% 82%,rgba(232,185,88,.07),transparent 27%),
    var(--homa-bg)!important;
}
.auth-page .cuba-auth-main{
  width:min(480px,100%)!important;
  min-height:auto!important;
  padding:0!important;
  margin:0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
}
.auth-page .auth-brandmark{
  width:88px!important;
  height:88px!important;
  margin:0 auto 18px!important;
}
.auth-page .auth-brandmark img{
  width:88px!important;
  height:88px!important;
  border-radius:20px!important;
  object-fit:contain!important;
  box-shadow:0 10px 28px rgba(48,35,104,.10)!important;
}
.auth-page .auth-card-slot{
  width:100%!important;
  display:block!important;
}
.auth-page .cuba-login-card,
.auth-page .login-card{
  width:100%!important;
  max-width:450px!important;
  margin:0 auto!important;
  padding:0!important;
  border:1px solid rgba(220,224,235,.85)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 14px 44px rgba(30,37,70,.075)!important;
}
.auth-page .cuba-login-card .login-main,
.auth-page .login-card .login-main{padding:34px 34px 30px!important;}
.auth-page .cuba-login-card .login-logo{text-align:right!important;margin:0 0 22px!important;}
.auth-page .cuba-login-card .login-logo h2{
  margin:0 0 5px!important;
  font-size:21px!important;
  color:#2c2e3d!important;
}
.auth-page .cuba-login-card .login-logo p{
  margin:0!important;
  color:#8b8fa0!important;
  font-size:13px!important;
}
.auth-page .cuba-login-card form{display:grid!important;gap:15px!important;}
.auth-page .cuba-login-card input,
.auth-page .cuba-login-card select{
  height:46px!important;
  min-height:46px!important;
  background:#f5f6fb!important;
  border:1px solid #e2e5ef!important;
}
.auth-page .auth-login-card input[name="identity"],
.auth-page .auth-login-card input[name="password"],
.auth-page .cuba-login-card input[name="mobile"]{
  direction:ltr!important;
  text-align:left!important;
}
.auth-page .cuba-login-card .password-eye-wrap{position:relative!important;}
.auth-page .cuba-login-card .password-eye-wrap>input{
  padding-right:46px!important;
  padding-left:12px!important;
}
.auth-page .cuba-login-card .password-eye-btn{
  right:7px!important;
  left:auto!important;
  top:50%!important;
  transform:translateY(-50%)!important;
}
.auth-page .auth-footer{
  width:100%!important;
  max-width:600px!important;
  margin:16px auto 0!important;
  padding:0 8px!important;
  border:0!important;
  text-align:center!important;
  color:#8a8fa2!important;
  font-size:13px!important;
  line-height:1.9!important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media(max-width:1024px){
  .settings-shell{grid-template-columns:1fr!important;}
  .settings-nav{position:static!important;display:flex!important;overflow:auto!important;gap:6px!important;}
  .settings-nav a{white-space:nowrap;}
}
@media(max-width:760px){
  .form-grid{grid-template-columns:1fr!important;}
  .full,.form-group.full{grid-column:1!important;}
  .filter-row,.inline-filter,.ui-filterbar form,.toolbar-card>form{align-items:stretch!important;}
  .filter-row .search-field,.inline-filter .search-field,.ui-filter-search,.filter-search-compact,.search-field,
  .filter-row>select,.inline-filter>select,.ui-filterbar select,.filter-input-compact{
    flex:1 1 100%!important;
    min-width:0!important;
    max-width:none!important;
    width:100%!important;
  }
  .filter-row>.btn,.inline-filter>.btn,.ui-filterbar .btn{flex:1 1 auto;}
  .request-filter-card form{align-items:stretch!important;}
  .request-filter-card .form-group{flex:1 1 100%!important;}
  .page-heading{align-items:stretch!important;flex-direction:column!important;}
  .page-actions{width:100%;}
  .page-actions>.btn{flex:1 1 auto;}
  .auth-page .cuba-auth-shell{padding:20px 12px!important;}
  .auth-page .cuba-login-card .login-main,.auth-page .login-card .login-main{padding:26px 20px 24px!important;}
}

/* --------------------------------------------------------------------------
   Modal normalization
   Legacy pages still emit orchid-drawer markup; HOMA UI Kit renders those
   create/edit surfaces as centered modals so feature pages cannot invent a
   side-editor pattern. Large entity editors (legal entities/BPMN/forms) are
   full pages and do not use this markup.
   -------------------------------------------------------------------------- */
.drawer-backdrop.open{
  position:fixed!important;
  inset:0!important;
  z-index:2100!important;
  display:grid!important;
  place-items:center!important;
  padding:20px!important;
  background:rgba(24,27,45,.34)!important;
  backdrop-filter:blur(2px);
}
.drawer-backdrop .drawer-dismiss{
  position:absolute!important;
  inset:0!important;
  display:block!important;
}
.drawer-backdrop .orchid-drawer{
  position:relative!important;
  inset:auto!important;
  width:min(620px,calc(100vw - 32px))!important;
  max-width:620px!important;
  max-height:calc(100vh - 40px)!important;
  transform:none!important;
  border:1px solid var(--homa-border)!important;
  border-radius:var(--homa-radius-modal)!important;
  background:var(--homa-surface)!important;
  box-shadow:var(--homa-shadow-pop)!important;
  overflow:hidden!important;
  z-index:1!important;
}
.drawer-backdrop .orchid-drawer.wide{
  width:min(900px,calc(100vw - 32px))!important;
  max-width:900px!important;
}
.drawer-backdrop .drawer-head{
  min-height:62px!important;
  padding:14px 18px!important;
  border-bottom:1px solid var(--homa-border)!important;
  background:var(--homa-surface)!important;
}
.drawer-backdrop .drawer-body{
  max-height:calc(100vh - 104px)!important;
  overflow:auto!important;
  padding:18px!important;
}
.drawer-backdrop .drawer-actions{
  position:sticky!important;
  bottom:-18px!important;
  margin:18px -18px -18px!important;
  padding:12px 18px!important;
  border-top:1px solid var(--homa-border)!important;
  background:var(--homa-surface)!important;
}

/* No page-level primary action should silently stretch to a full-width bar. */
.content .btn.btn-primary:not(.btn-block):not(.auth-submit){max-width:max-content!important;}

@media(max-width:760px){
  .drawer-backdrop.open{padding:10px!important;align-items:end!important;}
  .drawer-backdrop .orchid-drawer,.drawer-backdrop .orchid-drawer.wide{
    width:100%!important;max-width:none!important;max-height:92vh!important;
    border-radius:16px 16px 10px 10px!important;
  }
}

/* Search components that predate FilterBar markup inherit the same contract. */
.faq-search{
  flex:0 1 300px!important;
  width:300px!important;
  max-width:340px!important;
  min-width:220px!important;
  height:var(--homa-control-h)!important;
  position:relative!important;
}
.faq-search input{height:var(--homa-control-h)!important;padding-inline-start:38px!important;}
.faq-search>i{position:absolute!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important;color:var(--homa-muted)!important;z-index:1;}
.task-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;}
.task-toolbar .search-field{margin-inline-start:auto!important;}
@media(max-width:760px){.faq-search{width:100%!important;max-width:none!important;min-width:0!important;}.task-toolbar .search-field{margin-inline-start:0!important;}}

/* ========================================================================== 
   HOMA UI KIT v1.1 — V3.4.5 consistency corrections
   ========================================================================== */

/* Page frame: titles/actions/content always share the same safe gutter. */
.app-page .page-heading{
  padding:16px 28px 8px!important;
  margin:0!important;
}
.app-page .content{
  padding:8px 28px 28px!important;
}

/* Global header search is a distinct component and must not inherit form/filter chrome. */
.topbar .global-search{
  width:min(520px,100%)!important;
  height:40px!important;
  min-height:40px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:0 11px!important;
  border:1px solid var(--homa-border)!important;
  border-radius:10px!important;
  background:var(--homa-surface-subtle)!important;
  box-shadow:none!important;
}
.topbar .global-search>i{
  position:static!important;
  flex:0 0 auto;
  color:var(--homa-muted)!important;
  font-size:18px!important;
}
.topbar .global-search>input{
  min-width:0!important;
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.topbar .global-search>input:focus{box-shadow:none!important;border:0!important;}
.topbar .global-search>kbd{margin-inline-start:auto;}

/* Filter search is RTL-friendly: text starts at right, icon lives at left. */
.ui-filterbar .search-field>i,
.toolbar-card .search-field>i,
.filter-row .search-field>i,
.inline-filter .search-field>i,
.ui-filter-search>i,
.filter-search-compact>i{
  right:auto!important;
  left:12px!important;
}
.ui-filterbar .search-field input,
.toolbar-card .search-field input,
.filter-row .search-field input,
.inline-filter .search-field input,
.ui-filter-search input,
.filter-search-compact input{
  padding-right:12px!important;
  padding-left:38px!important;
}

/* Program/service management cards. */
.program-type-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.program-type-card{
  min-height:166px;
  border:1px solid var(--homa-border);
  border-radius:var(--homa-radius-card);
  background:var(--homa-surface);
  box-shadow:var(--homa-shadow-card);
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.program-type-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.program-type-card-icon{
  width:48px;height:48px;border-radius:12px;background:var(--homa-primary-soft);color:var(--homa-primary);
  display:grid;place-items:center;font-size:24px;flex:0 0 auto;
}
.program-type-card-main{min-width:0;flex:1;}
.program-type-card-main .ui-label-stack>b{font-size:16px;}
.program-type-card-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--homa-muted);font-size:13px;}
.program-type-card-actions{margin-top:auto;display:flex;justify-content:flex-end;gap:8px;}

/* Technical labels always stay on their own line in dense tables. */
td .ui-label-stack{display:grid!important;grid-template-columns:1fr!important;gap:4px!important;align-items:start!important;}
td .ui-label-stack .ui-tech-code{display:block!important;margin:0!important;}

/* Legal entity editor is a large modal, not a side form/full replacement page. */
.legal-entity-modal .orchid-drawer{width:min(1040px,calc(100vw - 32px))!important;max-width:1040px!important;}
.legal-entity-modal .drawer-body{max-height:calc(100vh - 118px)!important;padding:18px!important;overflow:auto!important;}
.legal-entity-modal .legal-modal-sections{display:grid;gap:18px;}
.legal-entity-modal .legal-modal-section{border-top:1px solid var(--homa-border);padding-top:16px;}
.legal-entity-modal .legal-modal-section:first-child{border-top:0;padding-top:0;}

/* System log levels: remove legacy 10px dot dimensions. */
.log-table .log-level{
  width:auto!important;
  height:auto!important;
  min-height:28px!important;
  min-width:72px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:5px 10px!important;
  border-radius:999px!important;
  font-family:"ShabnamHoma",Tahoma,sans-serif!important;
  line-height:1.25!important;
}
.log-level.debug{background:var(--homa-surface-subtle)!important;color:var(--homa-muted)!important;border:1px solid var(--homa-border)!important;}

/* Program settings policy form. */
.program-policy-card{max-width:980px;}
.program-policy-card .policy-note{margin:0 0 18px;color:var(--homa-muted);font-size:13px;line-height:1.9;}

@media(max-width:1100px){.program-type-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px){
  .app-page .page-heading{padding:14px 16px 6px!important;}
  .app-page .content{padding:8px 16px 20px!important;}
  .program-type-grid{grid-template-columns:1fr;}
  .legal-entity-modal .orchid-drawer{width:calc(100vw - 20px)!important;}
}

/* =========================================================
   HOMA V3.5.0 · Orchid-inspired operational pages
   ========================================================= */
.page-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.orchid-page-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 16px;padding:2px 2px 0}
.orchid-page-intro h2{margin:2px 0 4px;font-size:21px}.orchid-page-intro p{margin:0;color:var(--homa-muted);line-height:1.85}.orchid-page-intro small{color:var(--homa-primary);font-weight:700}
.orchid-count-chip,.save-indicator{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 12px;border-radius:999px;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:13px;font-weight:800;white-space:nowrap}.save-indicator[data-state="error"]{background:#fff1f2;color:#b42335}.save-indicator[data-state="saving"]{background:#fff7e5;color:#9a6700}

/* roles */
.orchid-role-grid-v35{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.orchid-role-card{background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:16px;box-shadow:var(--homa-shadow-card);padding:16px;display:flex;flex-direction:column;gap:14px;min-height:238px}.orchid-role-card:hover,.orchid-role-card.active{border-color:color-mix(in srgb,var(--homa-primary) 45%,var(--homa-border));box-shadow:0 10px 28px rgba(65,58,160,.08)}.orchid-role-card-head{display:flex;justify-content:space-between;align-items:center}.orchid-role-card .role-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:22px}.orchid-role-card-body{display:grid;gap:4px}.orchid-role-card-body h3{margin:0;font-size:16px}.orchid-role-card-body p{margin:6px 0 0;color:var(--homa-muted);font-size:13px;line-height:1.8;min-height:44px}.role-code{color:var(--homa-muted)}.orchid-role-card-stats{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--homa-border);border-radius:12px;overflow:hidden;margin-top:auto}.orchid-role-card-stats span{padding:9px 12px;display:flex;align-items:baseline;gap:6px}.orchid-role-card-stats span+span{border-inline-start:1px solid var(--homa-border)}.orchid-role-card-stats b{font-size:17px}.orchid-role-card-stats small{color:var(--homa-muted)}.orchid-role-card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.orchid-role-card-actions a,.orchid-role-card-actions button,.system-role-mark{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;padding:0;color:var(--homa-primary);font:inherit;cursor:pointer}.orchid-role-card-actions .link-danger{color:#d64555}.system-role-mark{color:var(--homa-muted);cursor:default}

/* permissions */
.permission-matrix-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.permission-matrix-toolbar .search-field{min-width:260px;flex:1}.permission-matrix-toolbar select{min-width:150px}.matrix-selection{display:flex;gap:5px;align-items:center;color:var(--homa-muted);font-size:13px}.permission-legend{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.permission-matrix-wrap{overflow:auto;border:1px solid var(--homa-border);border-radius:14px;background:var(--homa-surface);box-shadow:var(--homa-shadow-card);max-height:calc(100vh - 280px)}.permission-matrix{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}.permission-matrix th,.permission-matrix td{padding:10px;border-bottom:1px solid var(--homa-border);border-inline-start:1px solid var(--homa-border);text-align:center;background:var(--homa-surface)}.permission-matrix thead th{position:sticky;top:0;z-index:4;background:var(--homa-surface-subtle);min-width:145px}.permission-matrix .resource-col,.permission-matrix tbody th{position:sticky;right:0;z-index:5;text-align:right;min-width:210px;max-width:250px}.permission-matrix tbody th{background:var(--homa-surface)}.permission-matrix th small{display:block;margin-top:3px;color:var(--homa-muted);font-weight:400}.permission-cell{display:flex;align-items:center;justify-content:center;gap:7px;min-width:132px}.matrix-select input{width:14px;height:14px}.pm-state{display:inline-flex;align-items:center;justify-content:center;min-width:86px;min-height:30px;border-radius:8px;padding:5px 8px;border:1px solid transparent;font-size:13px;font-weight:800;cursor:pointer}.pm-state.s0{background:var(--homa-surface-subtle);border-color:var(--homa-border);color:var(--homa-muted)}.pm-state.s1{background:#eef5ff;color:#2463a9}.pm-state.s2{background:#f3efff;color:#6553c7}.pm-state.s3{background:#eaf9f2;color:#18815d}

/* to-do / cartable */
.orchid-todo-shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;align-items:start}.todo-sidebar,.todo-main{background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:16px;box-shadow:var(--homa-shadow-card)}.todo-sidebar{padding:14px;position:sticky;top:82px}.todo-sidebar-title{display:flex;align-items:center;gap:10px;padding:6px 6px 14px;border-bottom:1px solid var(--homa-border)}.todo-sidebar-title>i{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:20px}.todo-sidebar-title div{display:grid}.todo-sidebar-title small{color:var(--homa-muted)}.todo-sidebar nav{display:grid;gap:4px;padding:12px 0}.todo-sidebar nav a{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:9px;color:var(--homa-text)}.todo-sidebar nav a em{margin-inline-start:auto;font-style:normal;color:var(--homa-muted);font-size:13px}.todo-sidebar nav a.active{background:var(--homa-primary-soft);color:var(--homa-primary);font-weight:800}.todo-sidebar-hint{display:flex;gap:7px;padding:10px;border-radius:10px;background:var(--homa-surface-subtle);color:var(--homa-muted);font-size:13px;line-height:1.7}.todo-sidebar-hint p{margin:0}.todo-main{overflow:hidden}.todo-topbar{padding:12px;border-bottom:1px solid var(--homa-border)}.todo-search{display:flex;gap:8px;align-items:center}.todo-search input{flex:1}.todo-list{display:grid}.todo-task{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:12px;align-items:center;padding:15px 16px;border-bottom:1px solid var(--homa-border);transition:.18s}.todo-task:last-child{border-bottom:0}.todo-task:hover{background:var(--homa-surface-subtle)}.todo-task.unread{box-shadow:inset -3px 0 var(--homa-primary)}.todo-check{font-size:20px;color:var(--homa-muted)}.todo-task-body{min-width:0}.todo-task-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.todo-task-title h3{font-size:14px;margin:0}.todo-task-body>p{margin:5px 0;color:var(--homa-muted);font-size:13px}.todo-meta{display:flex;gap:16px;flex-wrap:wrap;color:var(--homa-muted);font-size:13px}.todo-meta span{display:inline-flex;align-items:center;gap:4px}.todo-priority{padding:3px 7px;border-radius:999px;font-size:13px;font-weight:800}.todo-priority.p1{background:#fff0f1;color:#c63847}.todo-priority.p2{background:#fff6dd;color:#966600}.todo-priority.p3{background:#edf5ff;color:#2c69a8}.danger-text{color:#c63847!important}

/* governance / leave-management */
.governance-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.governance-list{display:grid;gap:9px}.governance-request-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:13px;align-items:center;background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:14px;padding:13px 15px}.gov-type-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:20px}.gov-title{display:flex;align-items:center;gap:8px}.gov-title h3{margin:0;font-size:14px}.gov-main p{margin:5px 0;color:var(--homa-muted);font-size:13px}.gov-meta{display:flex;gap:15px;color:var(--homa-muted);font-size:13px}.gov-meta span{display:flex;align-items:center;gap:4px}.leave-request-summary,.report-run-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.leave-request-summary>div,.report-run-summary>div{border:1px solid var(--homa-border);border-radius:12px;padding:12px;display:grid;gap:4px}.leave-request-summary small,.report-run-summary small{color:var(--homa-muted)}.governance-payload{display:grid;gap:7px;margin:14px 0}.governance-payload>span{font-weight:800}.governance-payload pre{max-height:300px;overflow:auto;direction:ltr;text-align:left;background:var(--homa-surface-subtle);border:1px solid var(--homa-border);border-radius:12px;padding:12px;white-space:pre-wrap}.governance-decision-form{margin-top:16px}

/* recruitment-like requests pipeline */
.requests-view-head{display:flex;justify-content:flex-end;margin-bottom:10px}.request-view-toggle{width:max-content}.recruitment-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.recruitment-kpis>div{background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:13px;padding:12px;display:flex;align-items:baseline;gap:8px}.recruitment-kpis small{color:var(--homa-muted)}.recruitment-kpis b{font-size:20px;margin-inline-start:auto}.request-pipeline{display:flex;gap:12px;overflow-x:auto;padding-bottom:8px;align-items:flex-start}.pipeline-column{flex:0 0 285px;background:var(--homa-surface-subtle);border:1px solid var(--homa-border);border-radius:14px;overflow:hidden}.pipeline-column>header{display:flex;align-items:center;justify-content:space-between;padding:11px 12px;border-bottom:1px solid var(--homa-border);background:var(--homa-surface)}.pipeline-column>header span{display:flex;align-items:center;gap:7px;font-weight:800}.pipeline-column>header em{font-style:normal;padding:2px 7px;border-radius:999px;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:13px}.pipeline-cards{display:grid;gap:9px;padding:9px;max-height:calc(100vh - 290px);overflow:auto}.candidate-card{background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:12px;padding:11px}.candidate-card-top{display:flex;align-items:center;justify-content:space-between;gap:7px}.candidate-card h3{font-size:13px;margin:9px 0 3px}.candidate-card p{margin:0;color:var(--homa-muted);font-size:13px}.candidate-meta{display:grid;gap:5px;margin-top:10px;color:var(--homa-muted);font-size:13px}.candidate-meta span{display:flex;align-items:center;gap:5px}.pipeline-due{display:flex;align-items:center;gap:5px;margin-top:9px;padding:6px 8px;border-radius:8px;background:var(--homa-surface-subtle);font-size:13px}.pipeline-due.overdue{background:#fff0f1;color:#c63847}.candidate-open{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding-top:9px;border-top:1px solid var(--homa-border);font-size:13px;font-weight:800;color:var(--homa-primary)}.pipeline-empty{padding:20px 10px;text-align:center;color:var(--homa-muted);font-size:13px}

/* report library */
.reports-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px}.report-library-sidebar{background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:15px;padding:13px;height:max-content;position:sticky;top:82px}.report-library-sidebar h3{font-size:13px;color:var(--homa-muted);margin:7px 8px}.report-library-sidebar>a{display:flex;justify-content:space-between;align-items:center;padding:9px 10px;border-radius:9px;color:var(--homa-text);font-size:13px}.report-library-sidebar>a.active{background:var(--homa-primary-soft);color:var(--homa-primary);font-weight:800}.report-library-sidebar em{font-style:normal;color:var(--homa-muted)}.saved-view-chips{display:flex;gap:5px;flex-wrap:wrap;padding:5px 7px}.saved-view-chips span{padding:5px 7px;border-radius:7px;background:var(--homa-surface-subtle);color:var(--homa-muted);font-size:13px}.report-search{display:flex;gap:8px}.report-search .search-field{flex:1}.report-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-library-card{display:grid;grid-template-columns:44px minmax(0,1fr) 32px;gap:10px;align-items:center;background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:13px;padding:12px}.report-card-icon{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:19px}.report-card-title{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.report-card-title h3{margin:0;font-size:13px}.report-library-card p{margin:4px 0;color:var(--homa-muted);font-size:13px}.report-library-card small{color:var(--homa-muted);font-size:13px}.report-wizard-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-bottom:18px}.report-wizard-steps button{border:0;background:var(--homa-surface-subtle);border-radius:9px;padding:8px 5px;color:var(--homa-muted);font-size:13px}.report-wizard-steps button b{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--homa-border);margin-inline-end:3px}.report-wizard-steps button.active{background:var(--homa-primary-soft);color:var(--homa-primary);font-weight:800}.report-wizard-steps button.active b{background:var(--homa-primary);color:#fff}.report-wizard-actions{margin-top:20px}

/* notifications */
.notification-glance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}.notification-glance>div{background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:13px;padding:12px;display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:2px 8px}.notification-glance small{color:var(--homa-muted)}.notification-glance b{font-size:20px}.notification-glance span{grid-column:1/-1;color:var(--homa-muted);font-size:13px}.notification-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap}.notification-sort{display:flex;align-items:center;gap:7px;color:var(--homa-muted);font-size:13px}.notification-bulkbar{display:flex;align-items:center;gap:8px;background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:12px;padding:9px 11px;margin-bottom:8px}.notification-bulkbar select{min-width:160px}.orchid-notification-list{background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:14px;overflow:hidden}.orchid-notification-item{display:grid;grid-template-columns:24px 42px minmax(0,1fr) 34px;gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--homa-border)}.orchid-notification-item:last-child{border-bottom:0}.orchid-notification-item.unread{background:color-mix(in srgb,var(--homa-primary-soft) 38%,var(--homa-surface))}.notification-select input{width:15px;height:15px}.orchid-notification-item .notification-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:var(--homa-surface-subtle);color:var(--homa-primary);font-size:18px}.notification-title-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.notification-content p{margin:4px 0;color:var(--homa-muted);font-size:13px}.notification-content small{color:var(--homa-muted);font-size:13px}.notification-preference-list{display:grid;gap:6px}.notification-preference-list>label{display:flex;justify-content:space-between;align-items:center;padding:10px;border:1px solid var(--homa-border);border-radius:10px}.notification-preference-list label span{display:grid}.notification-preference-list label small{color:var(--homa-muted)}.notification-preference-list .always-on{background:var(--homa-surface-subtle)}

@media(max-width:1100px){.orchid-role-grid-v35{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-layout,.orchid-todo-shell{grid-template-columns:190px minmax(0,1fr)}.report-card-grid{grid-template-columns:1fr}}
@media(max-width:760px){.orchid-role-grid-v35{grid-template-columns:1fr}.orchid-todo-shell,.reports-layout{grid-template-columns:1fr}.todo-sidebar,.report-library-sidebar{position:static}.todo-sidebar nav{grid-template-columns:repeat(2,1fr)}.todo-task{grid-template-columns:24px minmax(0,1fr)}.todo-task>.btn{grid-column:2}.governance-request-card{grid-template-columns:42px minmax(0,1fr)}.governance-request-card>.btn{grid-column:2}.recruitment-kpis,.notification-glance,.governance-kpis{grid-template-columns:1fr 1fr}.report-wizard-steps{grid-template-columns:1fr}.report-wizard-steps button{display:none}.report-wizard-steps button.active{display:block}.orchid-notification-item{grid-template-columns:22px 36px minmax(0,1fr)}.orchid-notification-item>.icon-btn{grid-column:3}.notification-controls{align-items:stretch}.permission-matrix-toolbar>*{width:100%}.permission-matrix-toolbar .search-field{min-width:0}.leave-request-summary,.report-run-summary{grid-template-columns:1fr}}

/* HOMA V3.5.0 · Orchid activity stream controls */
.activity-toolbar-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.activity-toolbar-head>div{display:flex;flex-direction:column;gap:3px}.activity-toolbar-head small{color:var(--muted,#7b8499)}.auto-refresh-toggle{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--muted,#6f7890);cursor:pointer}.quick-periods{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.quick-periods a{padding:7px 13px;border:1px solid var(--border,#e4e8f1);border-radius:9px;color:var(--muted,#6f7890);background:#fff;text-decoration:none;font-size:13px}.quick-periods a.active,.quick-periods a:hover{border-color:#6c5ce7;color:#5849df;background:#f4f1ff}@media(max-width:720px){.activity-toolbar-head{align-items:flex-start;flex-direction:column}}

/* =========================================================
   HOMA V3.5.1.1 · Orchid fidelity pass: Roles + Permissions
   ========================================================= */
/* All ordinary checkboxes stay white when unchecked. */
input[type="checkbox"]{
  -webkit-appearance:none!important;appearance:none!important;
  inline-size:17px!important;block-size:17px!important;min-inline-size:17px!important;
  margin:0!important;border:1px solid #cbd3e1!important;border-radius:4px!important;
  background:#fff!important;box-shadow:none!important;display:inline-grid!important;place-content:center!important;
  vertical-align:middle;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
input[type="checkbox"]::before{
  content:"";inline-size:9px;block-size:9px;transform:scale(0);transform-origin:center;
  clip-path:polygon(14% 44%,0 59%,40% 100%,100% 24%,84% 9%,39% 70%);
  background:#fff;transition:transform .12s ease-in-out;
}
input[type="checkbox"]:checked{background:var(--homa-primary)!important;border-color:var(--homa-primary)!important;}
input[type="checkbox"]:checked::before{transform:scale(1)}
input[type="checkbox"]:focus-visible{outline:0;box-shadow:0 0 0 3px color-mix(in srgb,var(--homa-primary) 18%,transparent)!important}
input[type="checkbox"]:disabled{background:#f1f3f7!important;border-color:#dfe4ec!important;cursor:not-allowed;opacity:.7}

/* Roles: Orchid master-detail layout. Right list, left detail in RTL. */
.orchid-roles-shell{display:grid;grid-template-columns:minmax(0,1fr) 330px;grid-template-areas:"detail list";gap:18px;align-items:start}
.orchid-role-list-panel{grid-area:list;background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:16px;box-shadow:var(--homa-shadow-card);overflow:hidden;position:sticky;top:82px}
.orchid-role-detail-panel{grid-area:detail;background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:16px;box-shadow:var(--homa-shadow-card);padding:20px;min-width:0}
.orchid-role-list-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 11px;border-bottom:1px solid var(--homa-border)}
.orchid-role-list-head>div{display:flex;align-items:center;gap:8px}.orchid-role-list-head b{font-size:14px}.orchid-role-list-head small{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;padding:0 7px;border-radius:7px;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:13px;font-weight:800}
.orchid-role-list{display:grid;padding:10px;gap:7px;max-height:calc(100vh - 210px);overflow:auto}
.orchid-role-list-item{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) auto 18px;gap:10px;align-items:center;padding:11px 12px;border:1px solid var(--homa-border);border-radius:12px;color:var(--homa-text);background:var(--homa-surface);text-decoration:none;transition:.16s}
.orchid-role-list-item::before{content:"";position:absolute;right:-1px;top:8px;bottom:8px;width:3px;border-radius:3px;background:transparent}
.orchid-role-list-item:hover{border-color:color-mix(in srgb,var(--homa-primary) 35%,var(--homa-border));background:var(--homa-surface-subtle)}
.orchid-role-list-item.active{border-color:color-mix(in srgb,var(--homa-primary) 55%,var(--homa-border));background:color-mix(in srgb,var(--homa-primary-soft) 56%,var(--homa-surface))}
.orchid-role-list-item.active::before{background:var(--homa-primary)}
.role-list-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:18px}
.role-list-copy{min-width:0;display:grid;gap:3px}.role-list-title{display:flex;align-items:center;gap:6px;min-width:0}.role-list-title b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.role-list-title em{font-style:normal;font-size:13px;font-weight:800;letter-spacing:.02em;padding:2px 6px;border-radius:5px;background:#eef0f4;color:#747d91;white-space:nowrap}.role-list-copy small{font-size:13px;color:var(--homa-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.role-list-count{display:flex;align-items:center;gap:4px;color:var(--homa-muted);font-size:13px;white-space:nowrap}.role-list-arrow{color:var(--homa-muted)}
.role-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid var(--homa-border);margin-bottom:16px}.role-detail-title h2{margin:0 0 7px;font-size:20px}.role-detail-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--homa-muted);font-size:13px}.role-detail-meta span{display:flex;align-items:center;gap:5px}.role-detail-meta a{text-decoration:underline;color:var(--homa-muted)}.role-system-badge{padding:3px 7px;border-radius:6px;background:#eef0f4;color:#747d91;font-weight:800;text-transform:uppercase;font-size:13px}.role-detail-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.role-detail-actions form{margin:0}.btn-danger-outline{border:1px solid #f1a3ab!important;color:#d84a58!important;background:#fff!important}.btn-danger-outline:hover{background:#fff2f3!important}
.role-permission-accordions{display:grid;gap:10px}.role-permission-group{border:1px solid var(--homa-border);border-radius:13px;overflow:hidden;background:var(--homa-surface)}.role-permission-group-head{width:100%;border:0;background:var(--homa-surface);min-height:54px;padding:11px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--homa-text);cursor:pointer;text-align:right}.role-permission-group.open .role-permission-group-head{background:var(--homa-surface-subtle)}.role-permission-group-label{display:flex;align-items:center;gap:10px}.role-permission-group-label>i{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:17px}.role-permission-group-label b{font-size:13px}.role-permission-group-count{display:flex;align-items:center;gap:5px;color:var(--homa-muted);font-size:13px}.role-permission-group-count>i{font-size:18px;transition:transform .16s}.role-permission-group.open .role-permission-group-count>i{transform:rotate(180deg)}.role-permission-group-body{display:none;border-top:1px solid var(--homa-border)}.role-permission-group.open .role-permission-group-body{display:block}.role-permission-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 14px;border-bottom:1px dashed color-mix(in srgb,var(--homa-border) 72%,transparent);cursor:pointer}.role-permission-row:last-child{border-bottom:0}.role-permission-row:hover{background:var(--homa-surface-subtle)}.role-permission-row>span{display:grid;gap:2px;min-width:0}.role-permission-row b{font-size:13px;font-weight:700}.role-permission-row small{font-size:13px;color:var(--homa-muted);direction:ltr;text-align:left}.role-permission-row input{flex:0 0 auto}.role-users-footer{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;margin-top:16px;padding-top:16px;border-top:1px solid var(--homa-border)}.role-users-footer>div:first-child{display:grid;gap:3px}.role-users-footer b{font-size:13px}.role-users-footer small{font-size:13px;color:var(--homa-muted)}.role-user-stack{display:flex;direction:ltr}.role-user-stack span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:13px;font-weight:800;border:2px solid var(--homa-surface);margin-left:-7px}.role-users-footer>a{font-size:13px;text-decoration:underline;color:var(--homa-text)}

/* Permissions: Orchid matrix fidelity. */
.permission-matrix-toolbar{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin-bottom:12px!important;padding:10px 12px!important}
.permission-matrix-toolbar .search-field{flex:1 1 280px!important;min-width:240px!important;max-width:none!important}.permission-matrix-toolbar .matrix-filter-select{height:var(--homa-control-h)!important;min-width:180px!important;max-width:240px!important;width:auto!important;flex:0 1 210px!important;padding:0 12px!important;background:var(--homa-surface)!important;color:var(--homa-text)!important;line-height:1.3!important}.permission-matrix-toolbar .matrix-filter-select option{background:#fff!important;color:#1f2738!important}.matrix-selection{display:flex;align-items:center;gap:5px;min-height:var(--homa-control-h);padding:0 10px;color:var(--homa-muted);font-size:13px;white-space:nowrap}.matrix-selection b{color:var(--homa-text)}.matrix-bulk-control{display:flex;align-items:center;gap:7px}.permission-matrix-toolbar .save-indicator{margin-inline-start:auto;min-height:34px}
.permission-matrix-wrap{position:relative;overflow:auto;border:1px solid var(--homa-border);border-radius:14px;background:var(--homa-surface);box-shadow:var(--homa-shadow-card);max-height:calc(100vh - 245px);margin-bottom:12px;direction:rtl;scrollbar-gutter:stable}
.permission-matrix{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;direction:rtl}.permission-matrix th,.permission-matrix td{padding:8px 9px;border-bottom:1px solid var(--homa-border);border-left:1px solid var(--homa-border);text-align:center;background:var(--homa-surface);height:50px}.permission-matrix thead th{position:sticky;top:0;z-index:12;background:var(--homa-surface-subtle);min-width:132px;text-align:right}.permission-matrix thead th:not(.resource-col){text-align:right}.permission-matrix thead th span{display:block;font-size:13px;white-space:nowrap}.permission-matrix thead th small{display:block;margin-top:3px;color:var(--homa-muted);font-weight:400;font-size:13px;direction:ltr;text-align:right;white-space:nowrap}
.permission-matrix .resource-col{position:sticky!important;right:0!important;z-index:18!important;min-width:230px!important;max-width:260px!important;text-align:right!important;background:var(--homa-surface-subtle)!important}.permission-matrix .resource-cell{position:sticky;right:0;z-index:8;min-width:230px;max-width:260px;text-align:right!important;background:var(--homa-surface)!important}.resource-cell-inner{display:flex;align-items:center;gap:9px}.resource-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:var(--homa-primary-soft);color:var(--homa-primary);flex:0 0 auto}.resource-copy{min-width:0;display:grid;gap:2px}.resource-copy b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}.resource-copy small{font-size:13px;color:var(--homa-muted);direction:ltr;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.permission-group-row th{position:relative!important;right:auto!important;z-index:7!important;height:auto!important;padding:0!important;background:var(--homa-surface-subtle)!important;border-left:0!important}.permission-group-toggle{width:100%;border:0;background:transparent;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--homa-text);cursor:pointer;text-align:right}.permission-group-title{display:flex;align-items:center;gap:8px}.permission-group-title>i{color:var(--homa-primary);font-size:16px}.permission-group-title b{font-size:13px}.permission-group-title em{font-style:normal;min-width:22px;height:20px;padding:0 6px;border-radius:999px;display:grid;place-items:center;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:13px;font-weight:800}.permission-group-chevron{font-size:17px;transition:transform .16s}.permission-group-row.is-collapsed .permission-group-chevron{transform:rotate(180deg)}
.permission-cell{display:flex;align-items:center;justify-content:center;gap:7px;min-width:105px}.matrix-select{display:inline-flex;align-items:center;justify-content:center;opacity:.35;transition:opacity .15s}.permission-cell:hover .matrix-select,.matrix-select:has(input:checked){opacity:1}.matrix-select input{width:15px!important;height:15px!important;min-width:15px!important}.pm-state{width:31px!important;height:31px!important;min-width:31px!important;min-height:31px!important;padding:0!important;border-radius:8px!important;border:1px solid var(--homa-border)!important;display:inline-grid!important;place-items:center!important;background:var(--homa-surface)!important;font-size:16px!important;cursor:pointer!important;transition:.14s}.pm-state.s0{color:#8b94a7!important;background:#f8f9fb!important}.pm-state.s1{color:#2463a9!important;background:#eef5ff!important;border-color:#d6e8ff!important}.pm-state.s2{color:#6553c7!important;background:#f3efff!important;border-color:#e1d9ff!important}.pm-state.s3{color:#16805b!important;background:#eaf9f2!important;border-color:#caefdf!important}.pm-state:hover{transform:translateY(-1px);box-shadow:0 4px 10px rgba(30,40,70,.08)}
.permission-legend-sticky{position:sticky;bottom:10px;z-index:30;margin-top:8px;margin-inline:auto;width:max-content;max-width:calc(100% - 16px);display:flex;align-items:center;gap:14px;padding:8px 12px;border:1px solid var(--homa-border);border-radius:12px;background:color-mix(in srgb,var(--homa-surface) 95%,transparent);box-shadow:0 8px 24px rgba(31,39,56,.12);backdrop-filter:blur(8px)}.permission-legend-title{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--homa-muted);padding-left:10px;border-left:1px solid var(--homa-border)}.permission-legend-items{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.permission-legend-items>span{display:flex;align-items:center;gap:5px;font-size:13px;color:var(--homa-muted);white-space:nowrap}.permission-legend-items .pm-state{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;font-size:13px!important;cursor:default!important}

@media(max-width:1050px){.orchid-roles-shell{grid-template-columns:280px minmax(0,1fr)}.role-detail-head{flex-direction:column}.role-detail-actions{width:100%}.permission-matrix-toolbar .save-indicator{margin-inline-start:0}}
@media(max-width:760px){.orchid-roles-shell{grid-template-columns:1fr;grid-template-areas:"list" "detail"}.orchid-role-list-panel{position:static}.orchid-role-list{max-height:310px}.role-users-footer{grid-template-columns:1fr}.role-detail-actions .btn{font-size:13px}.permission-matrix-toolbar>*{width:100%!important;max-width:none!important}.matrix-bulk-control{width:100%}.matrix-bulk-control select{flex:1!important}.permission-legend-sticky{width:100%;bottom:4px;justify-content:center}.permission-legend-title{display:none}.permission-legend-items{justify-content:center;gap:7px}}

/* =========================================================
   HOMA V3.5.1.2 · Roles orientation + Orchid activity pages
   ========================================================= */
.orchid-roles-shell{
  direction:ltr;
  grid-template-columns:minmax(0,1fr) clamp(390px,34vw,520px)!important;
  grid-template-areas:"detail list"!important;
}
.orchid-role-list-panel,.orchid-role-detail-panel{direction:rtl}
.orchid-role-list-item{grid-template-columns:46px minmax(0,1fr) auto 20px!important;padding:12px 13px!important}
.orchid-role-list-panel{min-width:0}
@media(max-width:1050px){.orchid-roles-shell{grid-template-columns:minmax(0,1fr) 360px!important}}
@media(max-width:760px){.orchid-roles-shell{direction:rtl;grid-template-columns:1fr!important;grid-template-areas:"list" "detail"!important}}

.activity-header-toggle{min-height:var(--homa-control-h);padding:0 8px;color:var(--homa-text)!important}
.activity-glance-block{margin-bottom:14px}.activity-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.activity-section-title h2{margin:0;font-size:15px}.activity-section-title p{margin:4px 0 0;color:var(--homa-muted);font-size:13px}.activity-result-count{color:var(--homa-muted);font-size:13px;white-space:nowrap}
.activity-glance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.activity-glance-grid article{display:flex;align-items:center;gap:12px;background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:14px;padding:14px 15px;box-shadow:var(--homa-shadow-card)}.activity-glance-grid article>div{display:grid;gap:2px}.activity-glance-grid b{font-size:22px;line-height:1.1}.activity-glance-grid small{color:var(--homa-muted);font-size:13px}.activity-stat-icon{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;font-size:19px;flex:0 0 auto}.activity-stat-icon.violet{background:#f2efff;color:#6d5ce7}.activity-stat-icon.blue{background:#edf5ff;color:#2f70bc}.activity-stat-icon.amber{background:#fff7e5;color:#b77910}.activity-stat-icon.green{background:#eaf9f2;color:#16805b}.activity-stat-icon.red{background:#fff0f1;color:#c83c4b}
.orchid-activity-filter-card{padding:16px!important;margin-bottom:16px}.activity-filter-form{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.6fr);gap:16px 18px}.activity-filter-group{display:grid;gap:8px}.activity-filter-group>label{font-size:13px;font-weight:800;color:var(--homa-text)}.activity-filter-group.full{grid-column:1/-1}.activity-user-filter select{width:100%;height:var(--homa-control-h)}
.activity-segmented{display:flex;gap:6px;flex-wrap:wrap}.activity-segmented button{height:38px;padding:0 14px;border:1px solid var(--homa-border);border-radius:9px;background:var(--homa-surface);color:var(--homa-muted);cursor:pointer;font:inherit}.activity-segmented button:hover,.activity-segmented button.active{border-color:color-mix(in srgb,var(--homa-primary) 52%,var(--homa-border));background:var(--homa-primary-soft);color:var(--homa-primary);font-weight:800}
.activity-custom-dates{display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:2px}.activity-custom-dates.show{display:grid}.activity-custom-dates>div{display:grid;gap:4px}.activity-custom-dates small{color:var(--homa-muted);font-size:13px}.activity-custom-dates input{height:38px}
.activity-check-chips{display:flex;gap:7px;flex-wrap:wrap}.activity-check-chips label{cursor:pointer}.activity-check-chips label>input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}.activity-check-chips label>span{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 11px;border:1px solid var(--homa-border);border-radius:9px;background:var(--homa-surface);color:var(--homa-muted);font-size:13px;transition:.15s}.activity-check-chips label>input:checked+span{border-color:color-mix(in srgb,var(--homa-primary) 52%,var(--homa-border));background:var(--homa-primary-soft);color:var(--homa-primary);font-weight:800}.activity-check-chips label>span:hover{border-color:color-mix(in srgb,var(--homa-primary) 35%,var(--homa-border))}.resource-chips label>span{min-width:92px;justify-content:center}
.activity-filter-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px solid var(--homa-border)}.activity-filter-footer>div{display:flex;align-items:center;gap:7px}.activity-suspicious-only{display:flex;align-items:center;gap:8px;color:var(--homa-muted);font-size:13px;cursor:pointer}
.activity-feed-section{margin-top:4px}.orchid-activity-feed{background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:14px;overflow:hidden;box-shadow:var(--homa-shadow-card)}.activity-feed-item{display:grid;grid-template-columns:42px minmax(0,1fr) 36px 32px;align-items:center;gap:11px;padding:13px 15px;border-bottom:1px solid var(--homa-border);background:var(--homa-surface)}.activity-feed-item:hover{background:var(--homa-surface-subtle)}.activity-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--homa-primary-soft);color:var(--homa-primary);font-weight:900;font-size:14px}.activity-feed-main{min-width:0;display:grid;gap:6px}.activity-feed-title{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}.activity-feed-title b{font-size:13px}.activity-feed-title>span:not(.activity-resource-pill):not(.activity-level-pill){color:var(--homa-text);font-size:13px}.activity-resource-pill,.activity-level-pill{display:inline-flex;align-items:center;min-height:23px;padding:0 7px;border-radius:999px;background:var(--homa-surface-subtle);color:var(--homa-muted);font-size:13px;white-space:nowrap}.activity-level-pill.info{background:#edf5ff;color:#2f70bc}.activity-level-pill.warning{background:#fff7e5;color:#a96b07}.activity-level-pill.error,.activity-level-pill.critical{background:#fff0f1;color:#c83c4b}.activity-level-pill.debug{background:#f0f2f6;color:#687288}.activity-feed-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--homa-muted);font-size:13px}.activity-feed-meta span{display:inline-flex;align-items:center;gap:4px}.activity-event-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;font-size:17px}.activity-event-icon.violet{background:#f2efff;color:#6d5ce7}.activity-event-icon.blue{background:#edf5ff;color:#2f70bc}.activity-event-icon.amber{background:#fff7e5;color:#b77910}.activity-event-icon.green{background:#eaf9f2;color:#16805b}.activity-event-icon.red{background:#fff0f1;color:#c83c4b}.activity-event-icon.slate{background:#f0f2f6;color:#687288}.activity-detail-btn{width:30px!important;height:30px!important}.activity-feed-detail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;padding:12px 66px 14px 15px;background:var(--homa-surface-subtle);border-bottom:1px solid var(--homa-border)}.activity-feed-detail>div{display:grid;gap:5px;min-width:0}.activity-feed-detail>div.full{grid-column:1/-1}.activity-feed-detail span{color:var(--homa-muted);font-size:13px}.activity-feed-detail b{font-size:13px;overflow-wrap:anywhere}.activity-feed-detail pre{margin:0;padding:10px;border:1px solid var(--homa-border);border-radius:9px;background:var(--homa-surface);font:13px/1.8 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;direction:ltr;text-align:left;white-space:pre-wrap;max-height:220px;overflow:auto}.activity-empty{display:grid;place-items:center;text-align:center;gap:6px;padding:42px 20px;color:var(--homa-muted)}.activity-empty i{font-size:28px;color:var(--homa-primary)}.activity-empty b{color:var(--homa-text)}.activity-empty span{font-size:13px}
@media(max-width:980px){.activity-glance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-filter-form{grid-template-columns:1fr}.activity-filter-group.full,.activity-filter-footer{grid-column:1}.activity-feed-detail{grid-template-columns:1fr;padding-inline:15px}.activity-feed-detail>div.full{grid-column:1}}
@media(max-width:620px){.activity-glance-grid{grid-template-columns:1fr}.activity-filter-footer{align-items:stretch;flex-direction:column}.activity-filter-footer>div{justify-content:flex-end}.activity-feed-item{grid-template-columns:38px minmax(0,1fr) 30px}.activity-event-icon{display:none}.activity-custom-dates{grid-template-columns:1fr}.activity-feed-meta{gap:7px}}

/* =========================================================
   HOMA V3.5.1.2.1 · Orchid fidelity: System Logs / Audit Logs
   ========================================================= */
.orchid-system-logs,.orchid-audit-logs{display:grid;gap:18px}.orchid-live-tail{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 12px;border:1px solid var(--homa-border);border-radius:9px;background:var(--homa-surface);font-size:13px;font-weight:800;cursor:pointer}.orchid-live-tail input{margin:0}
.system-log-toolbar{padding:16px;display:grid;gap:14px}.system-log-search,.audit-search-wide{position:relative;display:flex;align-items:center}.system-log-search>i,.audit-search-wide>i{position:absolute;right:13px;color:var(--homa-muted);font-size:18px;pointer-events:none}.system-log-search input,.audit-search-wide input{width:100%;height:44px;padding:0 42px 0 48px;border:1px solid var(--homa-border);border-radius:9px;background:var(--homa-surface);color:var(--homa-text);font:inherit}.system-log-search input:focus,.audit-search-wide input:focus{border-color:var(--homa-primary);box-shadow:0 0 0 3px var(--homa-primary-soft);outline:0}.system-log-search kbd{position:absolute;left:12px;border:0;border-radius:6px;background:var(--homa-surface-subtle);color:var(--homa-muted);font:700 13px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;padding:6px 7px}
.system-log-levels{display:flex;align-items:center;gap:8px;flex-wrap:wrap;direction:rtl}.log-level-filter{position:relative}.log-level-filter input{position:absolute;opacity:0;pointer-events:none}.log-level-filter span{display:inline-flex;align-items:center;justify-content:center;min-width:72px;height:34px;padding:0 12px;border:1px solid var(--homa-border);border-radius:8px;background:var(--homa-surface);font-size:13px;font-weight:900;cursor:pointer;transition:.16s ease}.log-level-filter input:checked+span{box-shadow:0 0 0 2px color-mix(in srgb,var(--homa-primary) 13%,transparent)}.log-level-filter.error input:checked+span{border-color:#dc3545;background:#fff2f3;color:#b42332}.log-level-filter.warn input:checked+span{border-color:#e2a325;background:#fff8e9;color:#9a6500}.log-level-filter.info input:checked+span{border-color:#3d7fe8;background:#eff6ff;color:#2768c4}.log-level-filter.debug input:checked+span{border-color:#7d8798;background:#f3f5f8;color:#5e6878}
.system-log-services{display:grid;gap:10px;padding-top:2px}.system-log-services-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.system-log-services-head b{font-size:13px}.system-log-service-list{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.system-log-service-list label{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 9px;border:1px solid var(--homa-border);border-radius:8px;background:var(--homa-surface);font-size:13px;cursor:pointer}.system-log-service-list label:has(input:checked){border-color:var(--homa-primary);background:var(--homa-primary-soft);color:var(--homa-primary)}.system-log-service-list small{display:inline-grid;place-items:center;min-width:21px;height:20px;padding:0 5px;border-radius:999px;background:var(--homa-surface-subtle);color:var(--homa-muted);font-size:13px}.system-log-filter-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:11px;border-top:1px solid var(--homa-border);color:var(--homa-muted);font-size:13px}.system-log-filter-footer>div{display:flex;align-items:center;gap:8px}
.system-log-terminal{overflow:hidden;background:#10131a!important;border-color:#262b36!important;box-shadow:0 12px 34px rgba(18,23,34,.13)}.system-log-terminal>header{min-height:48px;padding:0 15px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;border-bottom:1px solid #2a303c;background:#171b24;color:#d9e0ec;direction:ltr}.system-log-terminal>header code{font:600 12px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.terminal-dots{display:flex;gap:6px}.terminal-dots i{width:9px;height:9px;border-radius:50%;background:#fd5f56}.terminal-dots i:nth-child(2){background:#f7bd2e}.terminal-dots i:nth-child(3){background:#29c940}.terminal-timezone{font:600 11px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#8892a4}.terminal-stream{max-height:580px;overflow:auto;direction:ltr}.terminal-entry{border-bottom:1px solid #202631}.terminal-entry:last-child{border-bottom:0}.terminal-line{appearance:none;border:0;width:100%;display:grid;grid-template-columns:74px 66px minmax(120px,180px) minmax(0,1fr) 24px;align-items:center;gap:10px;padding:10px 14px;background:transparent;color:#cdd5e1;text-align:left;cursor:pointer;font:500 12px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.terminal-line:hover{background:#171d27}.terminal-line time{color:#8e99aa}.terminal-level{display:inline-flex;align-items:center;justify-content:center;width:58px;height:23px;border-radius:5px;font-weight:900;font-size:13px}.terminal-level.error{background:#3b1d24;color:#ff7885}.terminal-level.warn{background:#392d17;color:#f7c457}.terminal-level.info{background:#172f4a;color:#78b7ff}.terminal-level.debug{background:#292c33;color:#b0b7c4}.terminal-service{color:#a78bfa;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.terminal-message{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.terminal-chevron{color:#707b8d;font-size:18px;transition:transform .15s ease}.terminal-entry.is-open .terminal-chevron{transform:rotate(180deg)}.terminal-detail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px 16px 16px 164px;background:#0c0f15;color:#b8c1cf;direction:rtl;border-top:1px dashed #2b3240}.terminal-detail[hidden]{display:none!important}.terminal-detail>div{display:grid;gap:5px;min-width:0}.terminal-detail>div.full{grid-column:1/-1}.terminal-detail span{font-size:13px;color:#788497}.terminal-detail b{font-size:13px;color:#d5dce7;overflow-wrap:anywhere}.terminal-detail pre{margin:0;padding:12px;border:1px solid #29313e;border-radius:7px;background:#090c11;color:#aeb9c8;direction:ltr;text-align:left;white-space:pre-wrap;max-height:240px;overflow:auto;font:11px/1.7 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.terminal-empty{min-height:160px;display:grid;place-items:center;align-content:center;gap:8px;color:#758094;direction:rtl}.terminal-empty i{font-size:28px}.terminal-empty b{font-size:13px}
.system-log-insights{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:14px}.system-log-insights>.card{padding:15px;min-width:0}.system-log-insights h3{margin:0 0 13px;font-size:13px}.insight-list{display:grid;gap:2px}.insight-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--homa-border);font-size:13px}.insight-list>div:last-child{border-bottom:0}.insight-list span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.insight-list b{font-size:13px}.insight-list.alerts>div>span{display:grid;gap:3px}.insight-list.alerts>div>span b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.insight-list.alerts small{color:var(--homa-muted)}.insight-list em{font-style:normal;font-size:13px;font-weight:900;color:#a45b06;background:#fff6df;border-radius:999px;padding:4px 7px}.empty-small{padding:12px!important;color:var(--homa-muted);font-size:13px!important;justify-content:center!important}.log-volume-bars{height:124px;display:flex;align-items:flex-end;gap:5px;padding-top:8px;border-bottom:1px solid var(--homa-border)}.log-volume-bars>span{flex:1;height:100%;display:flex;align-items:flex-end;min-width:4px}.log-volume-bars>span i{display:block;width:100%;height:var(--bar-h);min-height:5px;border-radius:3px 3px 0 0;background:linear-gradient(180deg,var(--homa-primary),color-mix(in srgb,var(--homa-primary) 45%,#94a3b8));opacity:.88}

.audit-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.audit-kpi{padding:16px;display:grid;gap:5px;position:relative;overflow:hidden}.audit-kpi:before{content:"";position:absolute;right:0;top:0;bottom:0;width:3px;background:var(--homa-primary)}.audit-kpi.critical:before{background:#dc3545}.audit-kpi.failed:before{background:#e2a325}.audit-kpi>span{color:var(--homa-muted);font-size:13px;font-weight:800}.audit-kpi>b{font-size:25px;line-height:1.2}.audit-kpi>small{color:var(--homa-muted);font-size:13px}.audit-log-filters{padding:15px;display:grid;gap:13px}.audit-filter-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.audit-filter-grid label{display:grid;gap:6px;min-width:0}.audit-filter-grid label>span{font-size:13px;color:var(--homa-muted);font-weight:800}.audit-filter-grid select,.audit-filter-grid input{width:100%;height:39px;border:1px solid var(--homa-border);border-radius:8px;background:var(--homa-surface);color:var(--homa-text);padding:0 10px;font:inherit;font-size:13px}.audit-filter-grid select:focus,.audit-filter-grid input:focus{border-color:var(--homa-primary);outline:0;box-shadow:0 0 0 3px var(--homa-primary-soft)}.audit-filter-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:11px;border-top:1px solid var(--homa-border);font-size:13px;color:var(--homa-muted)}
.audit-events-card{overflow:hidden}.audit-events-head{padding:15px 16px;border-bottom:1px solid var(--homa-border);display:flex;align-items:center;justify-content:space-between}.audit-events-head h2{margin:0;font-size:14px}.audit-events-head h2 span{color:var(--homa-muted);font-weight:700}.audit-events-head p{margin:4px 0 0;color:var(--homa-muted);font-size:13px}.audit-events-table-wrap{overflow:auto}.audit-events-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1020px;font-size:13px}.audit-events-table thead th{position:sticky;top:0;z-index:2;background:var(--homa-surface-subtle);color:var(--homa-muted);text-align:right;font-weight:800;padding:10px 12px;border-bottom:1px solid var(--homa-border);white-space:nowrap}.audit-events-table tbody td{padding:11px 12px;border-bottom:1px solid var(--homa-border);vertical-align:middle}.audit-event-row{cursor:pointer;transition:background .15s ease}.audit-event-row:hover,.audit-event-row.is-open{background:var(--homa-surface-subtle)}.audit-event-row td:first-child{white-space:nowrap}.audit-event-row td:first-child b,.audit-event-row td:first-child small{display:block}.audit-event-row td:first-child small{margin-top:3px;color:var(--homa-muted);font-size:13px}.audit-event-row td:nth-child(2)>span:not(.audit-actor-avatar){display:inline-grid;gap:2px;vertical-align:middle}.audit-event-row td:nth-child(2) small{color:var(--homa-muted);font-size:13px}.audit-actor-avatar{display:inline-grid;place-items:center;width:29px;height:29px;margin-left:7px;border-radius:50%;background:var(--homa-primary-soft);color:var(--homa-primary);font-weight:900}.audit-event-row code{display:block;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--homa-text);direction:ltr;text-align:left}.audit-event-row td:nth-child(3) small{display:block;max-width:310px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--homa-muted)}.audit-event-row td:nth-child(6){max-width:240px;text-align:left}.audit-event-row td:nth-child(6) b,.audit-event-row td:nth-child(6) small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-event-row td:nth-child(6) small{margin-top:3px;color:var(--homa-muted);font-size:13px}.audit-severity{display:inline-flex;align-items:center;gap:5px;min-height:25px;padding:0 8px;border-radius:999px;font-size:13px;font-weight:900}.audit-severity.info{background:#edf5ff;color:#2d6fbd}.audit-severity.warning{background:#fff7e5;color:#9f690b}.audit-severity.error,.audit-severity.critical{background:#fff0f1;color:#bd3343}.audit-severity.debug{background:#f0f2f6;color:#647086}.audit-log-detail-row[hidden]{display:none!important}.audit-log-detail-row>td{padding:0!important;background:var(--homa-surface-subtle)}.audit-log-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px 18px 17px 52px;border-bottom:1px solid var(--homa-border)}.audit-log-detail-grid>div{display:grid;gap:5px;min-width:0}.audit-log-detail-grid>div.full{grid-column:1/-1}.audit-log-detail-grid span{font-size:13px;color:var(--homa-muted)}.audit-log-detail-grid b{font-size:13px;overflow-wrap:anywhere}.audit-log-detail-grid pre{margin:0;padding:12px;border:1px solid var(--homa-border);border-radius:8px;background:var(--homa-surface);max-height:270px;overflow:auto;direction:ltr;text-align:left;white-space:pre-wrap;font:11px/1.7 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.audit-empty{min-height:180px;display:grid;place-items:center;align-content:center;gap:8px;color:var(--homa-muted)}.audit-empty i{font-size:28px}

@media(max-width:1180px){.audit-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.system-log-insights{grid-template-columns:1fr 1fr}.log-volume-card{grid-column:1/-1}.audit-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.system-log-filter-footer,.audit-filter-actions{align-items:stretch;flex-direction:column}.system-log-filter-footer>div{justify-content:flex-end;width:100%}.terminal-line{grid-template-columns:60px 55px minmax(90px,120px) minmax(0,1fr) 20px;padding-inline:10px;gap:7px;font-size:13px}.terminal-detail{grid-template-columns:1fr;padding:12px}.terminal-detail>div.full{grid-column:1}.system-log-insights{grid-template-columns:1fr}.log-volume-card{grid-column:auto}.audit-filter-grid{grid-template-columns:1fr 1fr}.audit-log-detail-grid{grid-template-columns:1fr;padding:12px}.audit-log-detail-grid>div.full{grid-column:1}}
@media(max-width:520px){.audit-kpi-grid,.audit-filter-grid{grid-template-columns:1fr}.system-log-services-head{align-items:flex-start;flex-direction:column}.terminal-line{grid-template-columns:54px 52px minmax(0,1fr) 20px}.terminal-service{display:none}.audit-search-wide input,.system-log-search input{font-size:13px}}

/* =========================================================
   HOMA UI KIT v1.1 · compact operational surfaces
   Shared by logs, reports, notifications and dense admin pages.
   ========================================================= */
.ui-page-density-compact{--homa-content-gap:12px;display:grid;gap:12px}
.ui-compact-card{border-radius:10px!important;box-shadow:0 2px 10px rgba(28,35,74,.04)!important}
.ui-compact-card.card{overflow:hidden}
.ui-filterbar{padding:12px!important;display:grid;gap:10px!important}
.ui-filterbar-stack{grid-template-columns:1fr}
.ui-filterbar-row{display:grid;gap:8px;align-items:end;min-width:0}
.ui-filterbar-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:9px;border-top:1px solid var(--homa-border);font-size:13px;color:var(--homa-muted)}
.ui-filter-search{position:relative;display:flex;align-items:center;min-width:0}
.ui-filter-search>i{position:absolute!important;right:12px!important;left:auto!important;color:var(--homa-muted);pointer-events:none;z-index:1}
.ui-filter-search>input{height:40px!important;min-height:40px!important;padding:0 38px 0 12px!important;border-radius:8px!important;font-size:13px!important}
.ui-filter-control{display:grid;gap:5px;min-width:0}
.ui-filter-control>span{font-size:13px;color:var(--homa-muted);font-weight:800;white-space:nowrap}
.ui-filter-control>select,.ui-filter-control>input{height:38px!important;min-height:38px!important;padding:0 9px!important;border-radius:8px!important;font-size:13px!important;line-height:38px!important;min-width:0!important}
.ui-filter-control>select{padding-inline-end:28px!important}
.ui-filter-chips-block{display:grid;gap:8px}
.ui-filter-chips{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ui-filter-chips label{position:relative}
.ui-filter-chips input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
.ui-filter-chips label>span{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid var(--homa-border);border-radius:7px;background:var(--homa-surface);font-size:13px;cursor:pointer}
.ui-filter-chips input:checked+span{border-color:color-mix(in srgb,var(--homa-primary) 45%,var(--homa-border));background:var(--homa-primary-soft);color:var(--homa-primary);font-weight:800}
.ui-filter-chips small{color:inherit;opacity:.72}
.ui-table-compact th{padding:9px 11px!important}
.ui-table-compact td{padding:9px 11px!important}
.ui-table-stack{display:grid!important;gap:2px!important;align-content:center!important;min-width:0!important;text-align:right!important;direction:rtl!important}
.ui-table-stack>b,.ui-table-stack>code,.ui-table-stack>small{display:block!important;margin:0!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ui-table-stack>small{font-size:13px!important;color:var(--homa-muted)!important}
.ui-operation-stack code{direction:ltr!important;unicode-bidi:plaintext;text-align:right!important;color:var(--homa-text)!important;font-size:13px!important;font-weight:700}
.ui-origin-stack .ui-tech-value{display:block}
.ui-text-rtl{direction:rtl!important;text-align:right!important;unicode-bidi:plaintext}
.ui-text-ltr,.ui-tech-value{direction:ltr!important;unicode-bidi:plaintext;text-align:right!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"ShabnamHoma",Tahoma,sans-serif}
.ui-code-block{direction:ltr!important;text-align:left!important;unicode-bidi:plaintext;white-space:pre-wrap;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important}
.ui-detail-panel{background:#f5f6fa;border-top:1px solid #e4e7ef}
.ui-meta-list{margin:0;display:grid;gap:0}
.ui-meta-list>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;align-items:start;padding:8px 0;border-bottom:1px dashed #dfe3eb}
.ui-meta-list>div:last-child{border-bottom:0}
.ui-meta-list dt{margin:0;color:#747c8f;font-size:13px;font-weight:700;text-align:right}
.ui-meta-list dd{margin:0;color:var(--homa-text);font-size:13px;overflow-wrap:anywhere;text-align:right;direction:rtl}
.ui-status-badge{white-space:nowrap}
.ui-summary-grid{gap:10px!important}
.ui-summary-card{box-shadow:0 2px 9px rgba(28,35,74,.035)!important}

/* HOMA-wide white unchecked checkbox baseline. */
input[type="checkbox"]{background-color:#fff!important;border-color:var(--homa-border-strong)!important}
input[type="checkbox"]:checked{background-color:var(--homa-primary)!important;border-color:var(--homa-primary)!important}

/* =========================================================
   HOMA V3.5.1.2.2 · Orchid fidelity refinement
   ========================================================= */
.orchid-system-logs,.orchid-audit-logs{gap:12px!important}

/* Change audit / System Logs: light console with left insight rail. */
.system-log-toolbar{padding:12px!important;gap:10px!important}
.system-log-filter-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.system-log-filter-summary{font-size:13px;color:var(--homa-muted);white-space:nowrap}
.system-log-services{padding-top:2px}
.system-log-services-head{min-height:28px}
.system-log-services-head b{font-size:13px}
.system-log-service-list{gap:6px!important}
.system-log-service-list label{border:0!important;background:transparent!important;padding:0!important;min-height:0!important}
.system-log-service-list label>span{min-height:31px}
.system-log-filter-footer{padding-top:8px!important}
.system-log-workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:10px;align-items:start;direction:rtl}
.system-log-terminal{min-width:0;direction:rtl;background:#fff!important;border-color:#e2e5ed!important}
.system-log-terminal>header{height:42px!important;padding:0 12px!important;background:#f5f6f9!important;border-bottom:1px solid #e1e4eb!important;color:#3f4654!important;direction:ltr}
.system-log-terminal>header code{color:#424957!important;font-size:13px!important}
.terminal-timezone{color:#7b8495!important}
.terminal-stream{max-height:610px!important;background:#fff!important;direction:ltr!important}
.terminal-entry{border-bottom:1px solid #eceef3!important}
.terminal-line{grid-template-columns:72px 62px minmax(105px,145px) minmax(0,1fr) 22px!important;padding:9px 12px!important;background:#fff!important;color:#394252!important;font-size:13px!important;line-height:1.55!important}
.terminal-line:hover,.terminal-entry.is-open .terminal-line{background:#f8f9fb!important}
.terminal-line time{color:#798294!important}
.terminal-service{color:#6756ca!important}
.terminal-message{color:#394252!important}
.terminal-level{width:54px!important;height:22px!important;font-size:13px!important;border-radius:4px!important}
.terminal-level.error{background:#fdecee!important;color:#bd3343!important}
.terminal-level.warn{background:#fff5df!important;color:#9f690b!important}
.terminal-level.info{background:#eaf3ff!important;color:#2d6fbd!important}
.terminal-level.debug{background:#eef0f4!important;color:#657083!important}
.terminal-chevron{color:#818999!important}
.terminal-detail{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px 12px!important;padding:12px 14px!important;background:#f5f6fa!important;color:#303747!important;direction:rtl!important;border-top:1px solid #e4e7ef!important}
.terminal-detail span{color:#7a8292!important;font-size:13px!important;text-align:right!important}
.terminal-detail b{color:#303747!important;font-size:13px!important;text-align:right!important}
.terminal-detail pre{background:#fff!important;color:#333b49!important;border-color:#dfe3eb!important;font-size:13px!important}
.terminal-empty{color:#7b8495!important;background:#fff!important}
.system-log-insights{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;direction:rtl}
.system-log-side-card{padding:12px!important;border-radius:10px!important}
.system-log-side-card h3{font-size:13px!important;margin:0 0 8px!important}
.insight-list>div{padding:7px 0!important;font-size:13px!important}
.insight-list b,.insight-list small{font-size:13px!important}
.insight-list em{font-size:13px!important;padding:3px 6px!important}

/* System events / Audit Logs: compact Orchid table and one-row filters. */
.audit-kpi-grid{gap:10px!important}
.audit-kpi{padding:12px 14px!important;gap:3px!important}
.audit-kpi>b{font-size:22px!important}.audit-kpi>span,.audit-kpi>small{font-size:13px!important}
.audit-log-filters{padding:12px!important;gap:10px!important}
.audit-search-wide input{height:40px!important;min-height:40px!important}
.audit-filter-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:7px!important;align-items:end!important}
.audit-filter-grid label{gap:4px!important}
.audit-filter-grid label>span{font-size:13px!important}
.audit-filter-actions{padding-top:8px!important;font-size:13px!important}
.audit-events-head{padding:11px 13px!important}
.audit-events-head h2{font-size:13px!important}.audit-events-head p{font-size:13px!important;margin-top:2px!important}
.audit-events-table{font-size:13px!important;min-width:980px!important}
.audit-events-table thead th{padding:9px 11px!important;font-size:13px!important;text-align:right!important;direction:rtl!important}
.audit-events-table tbody td{padding:9px 11px!important;text-align:right!important;direction:rtl!important}
.audit-actor{display:flex;align-items:center;gap:7px;min-width:0;direction:rtl}
.audit-actor-avatar{margin:0!important;flex:0 0 auto;width:28px!important;height:28px!important}
.audit-event-row code{display:block!important;max-width:230px!important;direction:ltr!important;unicode-bidi:plaintext;text-align:right!important}
.audit-event-row td:nth-child(3) small{max-width:310px!important;margin-top:0!important;text-align:right!important;direction:rtl!important}
.audit-event-row td:nth-child(6){max-width:240px!important;text-align:right!important;direction:rtl!important}
.audit-detail-orchid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:16px;padding:14px 16px!important;background:#f2f3f7!important;direction:ltr!important;border-bottom:1px solid #e0e3eb}
.audit-detail-code,.audit-detail-meta{min-width:0}
.audit-detail-code h4,.audit-detail-meta h4{margin:0 0 9px;color:#737b8d;font-size:13px;font-weight:800;text-transform:none;letter-spacing:.01em}
.audit-detail-code h4{text-align:left;direction:ltr}.audit-detail-meta h4{text-align:right;direction:rtl}
.audit-detail-code pre{margin:0;padding:12px;border:1px solid #dfe3ea;border-radius:7px;background:#fff;color:#2f3745;max-height:260px;font-size:13px;line-height:1.7}
.audit-detail-meta{direction:rtl}
.audit-detail-meta .ui-meta-list>div{grid-template-columns:105px minmax(0,1fr);padding:7px 0}
.audit-detail-meta .ui-meta-list dt,.audit-detail-meta .ui-meta-list dd{font-size:13px}
.audit-log-detail-row>td{background:#f2f3f7!important;padding:0!important}

@media(max-width:1280px){
  .system-log-workspace{grid-template-columns:minmax(0,1fr) 270px}
  .audit-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:980px){
  .system-log-workspace{grid-template-columns:1fr}
  .system-log-insights{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-row:auto}
  .audit-detail-orchid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .ui-filterbar-actions{align-items:stretch;flex-direction:column}
  .system-log-filter-row{grid-template-columns:1fr}
  .system-log-insights{grid-template-columns:1fr!important}
  .audit-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .terminal-line{grid-template-columns:56px 50px minmax(0,1fr) 20px!important}
  .terminal-service{display:none}
}
@media(max-width:520px){.audit-filter-grid{grid-template-columns:1fr!important}}

/* ========================================================================
   HOMA V3.5.1.2.4 · Orchid log layouts — dedicated, non-generic variants
   ======================================================================== */

/* Change Audit -> Orchid System Logs */
.system-logs-v35123{display:grid;gap:10px}
.system-log-filterbar{
  margin:0!important;
  padding:12px!important;
  border:1px solid var(--homa-border)!important;
  border-radius:12px!important;
  background:var(--homa-surface)!important;
  box-shadow:var(--homa-shadow-card)!important;
  display:grid!important;
  gap:9px!important;
  min-height:0!important;
}
.system-log-query-row{display:block;min-width:0}
.system-log-searchbox{
  width:100%;min-width:0;height:40px;display:flex;align-items:center;gap:8px;direction:rtl;
  border:1px solid var(--homa-border);border-radius:8px;background:#fff;padding:0 10px;box-sizing:border-box;cursor:text
}
.system-log-searchbox:focus-within{border-color:var(--homa-primary);box-shadow:0 0 0 3px var(--homa-primary-soft)}
.system-log-searchbox>i{position:static!important;flex:0 0 auto;color:var(--homa-muted);font-size:17px;line-height:1}
.system-log-searchbox>input{
  flex:1 1 auto;width:auto!important;min-width:0!important;height:38px!important;min-height:38px!important;margin:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;color:var(--homa-text)!important;padding:0!important;
  font:inherit!important;box-shadow:none!important;outline:0!important;direction:rtl!important;text-align:right!important
}
.system-log-searchbox>input:focus{outline:0!important;border:0!important;box-shadow:none!important}
.system-log-searchbox>input::-webkit-search-decoration,.system-log-searchbox>input::-webkit-search-cancel-button,.system-log-searchbox>input::-webkit-search-results-button,.system-log-searchbox>input::-webkit-search-results-decoration{display:none}
.system-log-searchbox>kbd{position:static!important;flex:0 0 auto;transform:none!important;padding:4px 6px;border:0;border-radius:5px;background:#f1f3f7;color:#778095;font:700 13px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;direction:ltr}
.system-log-result-count{margin-inline-start:auto;flex:0 0 auto;color:var(--homa-muted);font-size:13px;white-space:nowrap}
.system-log-level-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:1px}
.system-log-levels{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.system-log-levels .log-level-filter{position:relative;cursor:pointer;margin:0}
.system-log-levels .log-level-filter>input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}
.system-log-levels .log-level-filter>span{
  display:inline-flex;align-items:center;justify-content:center;height:32px;min-width:66px;padding:0 12px;
  border:1px solid var(--homa-border);border-radius:7px;background:#fff;color:#454d5d;font-size:13px;font-weight:800;transition:.15s
}
.system-log-levels .log-level-filter:hover>span{background:#f8f9fb}
.system-log-levels .log-level-filter.error>input:checked+span{border-color:#e7a2aa;background:#fff2f3;color:#c23a49}
.system-log-levels .log-level-filter.warn>input:checked+span{border-color:#eccb8d;background:#fff7e8;color:#9b6507}
.system-log-levels .log-level-filter.info>input:checked+span{border-color:#a8c7ed;background:#eef6ff;color:#2f6fb8}
.system-log-levels .log-level-filter.debug>input:checked+span{border-color:#cfd4df;background:#f2f3f6;color:#606a7c}
.system-log-filter-actions-inline{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.system-log-services-row{display:flex;align-items:center;gap:8px;min-width:0;padding-top:8px;border-top:1px solid #eceef3;direction:rtl;flex-wrap:nowrap}
.system-log-services-heading{display:flex;align-items:center;gap:7px;flex:0 0 auto;white-space:nowrap}
.system-log-services-heading>b{font-size:13px;color:#50586a}
.system-log-services-toggle{border:0;background:transparent;color:var(--homa-muted);font:inherit;font-size:13px;padding:3px 0;cursor:pointer;white-space:nowrap}
.system-log-services-toggle:hover{color:var(--homa-primary)}
.system-log-service-list{display:flex!important;align-items:center!important;gap:6px!important;flex:1 1 auto!important;flex-wrap:nowrap!important;min-width:0;overflow-x:auto;scrollbar-width:thin;padding-bottom:1px}
.system-log-service-list>label{position:relative!important;margin:0!important;cursor:pointer!important}
.system-log-service-list>label>input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}
.system-log-service-list>label>span{
  display:inline-flex!important;align-items:center!important;gap:5px!important;height:29px!important;min-height:29px!important;padding:0 9px!important;
  border:1px solid var(--homa-border)!important;border-radius:7px!important;background:#fff!important;color:#5b6476!important;font-size:13px!important;font-weight:700!important
}
.system-log-service-list>label>span small{color:#8a92a2;font-size:13px}
.system-log-service-list>label>input:checked+span{border-color:#b7aefb!important;background:#f4f2ff!important;color:#6555d9!important}

.system-log-workspace-v35123{
  display:grid;grid-template-columns:280px minmax(0,1fr);grid-template-areas:"side log";gap:10px;align-items:start;direction:ltr
}
.system-log-insights-v35123{grid-area:side;display:grid;gap:10px;direction:rtl}
.system-log-console-v35123{grid-area:log;min-width:0;overflow:hidden;border-radius:10px!important;border:1px solid #dfe3ea!important;background:#fff!important;box-shadow:none!important;direction:rtl}
.system-log-side-card-v35123{margin:0!important;padding:0!important;border-radius:10px!important;border:1px solid #dfe3ea!important;box-shadow:none!important;overflow:hidden;background:#fff!important}
.system-log-side-card-v35123>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 11px;border-bottom:1px solid #eceef3;background:#fafbfc}
.system-log-side-card-v35123>header h3{margin:0;font-size:13px;color:#303747}
.system-log-side-card-v35123>header span{font-size:13px;color:#8a92a2}
.system-log-side-list,.system-log-alert-list{display:grid;padding:2px 10px 5px}
.system-log-side-list>div,.system-log-alert-list>div{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;padding:7px 0;border-bottom:1px solid #eff1f5;font-size:13px}
.system-log-side-list>div:last-child,.system-log-alert-list>div:last-child{border-bottom:0}
.system-log-side-list>div>span{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#444c5d}
.system-log-side-list>div>b{flex:0 0 auto;min-width:24px;text-align:center;color:#303747;font-size:13px}
.system-log-alert-list>div>span{display:grid;gap:2px;min-width:0}
.system-log-alert-list>div>span>b{max-width:195px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#424b5b}
.system-log-alert-list>div>span>small{font-size:13px;color:#8a92a2}
.system-log-alert-list>div>em{font-style:normal;font-size:13px;font-weight:900;color:#b23a48;background:#fff0f1;border-radius:4px;padding:3px 5px}
.system-log-side-card-v35123 .empty-small{margin:0;padding:12px 2px;color:#8a92a2;font-size:13px}

.system-log-console-head{height:40px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 11px;background:#f5f6f8;border-bottom:1px solid #dde1e8;direction:ltr;color:#60697a}
.system-log-console-head code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#424a5a;font:600 13px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.system-log-console-head>span:last-child{font-size:13px;color:#8991a1}
.system-log-console-head .terminal-dots{display:flex;gap:4px}
.system-log-console-head .terminal-dots i{display:block;width:7px;height:7px;border-radius:50%;background:#c6cbd5}
.system-log-console-stream{max-height:600px;overflow:auto;background:#fff;direction:ltr}
.system-log-entry{border-bottom:1px solid #eceef3}
.system-log-entry:last-child{border-bottom:0}
.system-log-line{
  width:100%;border:0;background:#fff;color:#3f4756;display:grid;grid-template-columns:66px 58px minmax(90px,135px) minmax(0,1fr) 20px;
  align-items:center;gap:8px;padding:8px 10px;text-align:left;cursor:pointer;font:inherit;font-size:13px;line-height:1.45;direction:ltr
}
.system-log-line:hover,.system-log-entry.is-open>.system-log-line{background:#f8f9fb}
.system-log-line time{color:#7b8495;font:500 13px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.system-log-level{display:inline-flex;align-items:center;justify-content:center;width:50px;height:20px;border-radius:4px;font-size:13px;font-weight:900}
.system-log-level.error{background:#fdecee;color:#bd3343}.system-log-level.warn{background:#fff5df;color:#9f690b}.system-log-level.info{background:#eaf3ff;color:#2d6fbd}.system-log-level.debug{background:#eef0f4;color:#657083}
.system-log-source{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6756ca;font:600 13px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.system-log-message{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#424a58;text-align:left}
.system-log-message .ui-tech-value{display:inline!important;direction:ltr!important;text-align:left!important}
.system-log-chevron{justify-self:end;color:#8b93a1;transition:transform .15s}
.system-log-entry.is-open .system-log-chevron{transform:rotate(180deg)}
.system-log-entry-detail[hidden]{display:none!important}
.system-log-entry-detail{padding:12px 13px;background:#f3f4f7;border-top:1px solid #e1e4ea;direction:rtl}
.system-log-meta-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:10px}
.system-log-meta-strip>div{display:grid;gap:3px;min-width:0}
.system-log-meta-strip span{font-size:13px;color:#858d9c;text-align:right}
.system-log-meta-strip b{font-size:13px;color:#343c4b;text-align:right;overflow-wrap:anywhere}
.system-log-meta-strip .ui-tech-value{direction:ltr!important;text-align:left!important;unicode-bidi:plaintext}
.system-log-diff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;direction:ltr}
.system-log-diff-grid>section{min-width:0}
.system-log-diff-grid h4{margin:0 0 5px;color:#70798a;font-size:13px;font-weight:800;text-align:right;direction:rtl}
.system-log-diff-grid pre{margin:0;min-height:54px;max-height:220px;overflow:auto;padding:10px;border:1px solid #dfe3ea;border-radius:6px;background:#fff;color:#333b49;white-space:pre-wrap;direction:ltr;text-align:left;font:13px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.system-log-empty{min-height:150px;display:grid;place-items:center;align-content:center;gap:6px;color:#8a92a2;direction:rtl}
.system-log-empty i{font-size:24px}

/* System Events -> Orchid Audit Logs */
.audit-logs-v35123{display:grid;gap:10px}
.audit-kpi-grid-v35123{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.audit-kpi-v35123{position:relative;margin:0!important;padding:12px 14px!important;display:grid;gap:3px;overflow:hidden;border-radius:10px!important;box-shadow:none!important}
.audit-kpi-v35123:before{content:"";position:absolute;right:0;top:0;bottom:0;width:3px;background:var(--homa-primary)}
.audit-kpi-v35123.critical:before{background:#d84a59}.audit-kpi-v35123.failed:before{background:#d9a028}
.audit-kpi-v35123>span{font-size:13px;font-weight:800;color:#7b8494}.audit-kpi-v35123>b{font-size:21px;line-height:1.15;color:#252d3d}.audit-kpi-v35123>small{font-size:13px;color:#8a92a2}

.audit-filterbar-v35123{
  margin:0!important;padding:10px!important;border:1px solid var(--homa-border)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;
  display:grid!important;grid-template-columns:minmax(240px,1.7fr) repeat(4,minmax(105px,.8fr)) repeat(2,minmax(125px,.85fr)) auto;gap:7px;align-items:center;min-height:0!important
}
.audit-filterbar-v35123>select,.audit-filterbar-v35123>input{
  width:100%!important;min-width:0!important;max-width:none!important;height:38px!important;min-height:38px!important;margin:0!important;padding:0 10px!important;
  border:1px solid #d8dde7!important;border-radius:7px!important;background:#fff!important;color:#3f4757!important;font:inherit!important;font-size:13px!important;box-shadow:none!important
}
.audit-filterbar-v35123>select:focus,.audit-filterbar-v35123>input:focus{outline:0!important;border-color:var(--homa-primary)!important;box-shadow:0 0 0 2px var(--homa-primary-soft)!important}
.audit-filter-search-v35123{
  min-width:0;height:38px;display:flex;align-items:center;gap:7px;direction:rtl;
  border:1px solid #d8dde7;border-radius:7px;background:#fff;padding:0 10px;box-sizing:border-box;cursor:text
}
.audit-filter-search-v35123:focus-within{border-color:var(--homa-primary);box-shadow:0 0 0 2px var(--homa-primary-soft)}
.audit-filter-search-v35123>i{position:static!important;flex:0 0 auto;color:#8a92a2;font-size:16px;line-height:1}
.audit-filter-search-v35123>input{
  flex:1 1 auto;width:auto!important;min-width:0!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;direction:rtl!important;text-align:right!important
}
.audit-filter-search-v35123>input:focus{border:0!important;box-shadow:none!important;outline:0!important}
.audit-filter-search-v35123>input::-webkit-search-decoration,.audit-filter-search-v35123>input::-webkit-search-cancel-button,.audit-filter-search-v35123>input::-webkit-search-results-button,.audit-filter-search-v35123>input::-webkit-search-results-decoration{display:none}
.audit-date-v35123{direction:ltr!important;text-align:left!important;unicode-bidi:isolate}
.audit-filter-submit-v35123{height:38px!important;min-height:38px!important;padding:0 12px!important;white-space:nowrap!important;font-size:13px!important;display:inline-flex!important;align-items:center!important;gap:5px!important}

.audit-events-card-v35123{margin:0!important;padding:0!important;overflow:hidden;border-radius:10px!important;box-shadow:none!important}
.audit-events-head-v35123{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border-bottom:1px solid #e4e7ed;background:#fff}
.audit-events-head-v35123 h2{margin:0;font-size:13px;color:#2e3645}.audit-events-head-v35123 h2 span{color:#8a92a2;font-weight:700}.audit-events-head-v35123 p{margin:3px 0 0;font-size:13px;color:#838c9d}
.audit-result-count-v35123{font-size:13px;color:#8a92a2;white-space:nowrap}
.audit-events-table-wrap-v35123{overflow:auto}
.audit-events-table-v35123{width:100%;min-width:980px;border-collapse:separate;border-spacing:0;font-size:13px;direction:rtl}
.audit-events-table-v35123 thead th{position:sticky;top:0;z-index:2;padding:9px 11px;background:#f2f3f7;color:#6f788a;border-bottom:1px solid #dfe3ea;text-align:right;direction:rtl;font-size:13px;font-weight:800;white-space:nowrap}
.audit-events-table-v35123 tbody td{padding:9px 11px;border-bottom:1px solid #e7eaf0;background:#fff;vertical-align:middle;text-align:right;direction:rtl;color:#333b49}
.audit-event-row-v35123{cursor:pointer}.audit-event-row-v35123:hover td,.audit-event-row-v35123.is-open td{background:#fafbfc}
.audit-time-cell-v35123,.audit-action-cell-v35123,.audit-origin-cell-v35123{display:grid;gap:2px;min-width:0;align-items:start;justify-items:start;width:100%}
.audit-time-cell-v35123{justify-items:end}.audit-time-cell-v35123>b{font-size:13px}.audit-time-cell-v35123>small{font-size:13px;color:#8790a0}
.audit-actor-v35123{display:flex;align-items:center;gap:7px;min-width:0}.audit-avatar-v35123{display:grid;place-items:center;flex:0 0 auto;width:28px;height:28px;border-radius:50%;background:#ece9ff;color:#6756d8;font-size:13px;font-weight:900}.audit-actor-v35123>span:last-child{display:grid;gap:2px;min-width:0}.audit-actor-v35123 b{font-size:13px;white-space:nowrap}.audit-actor-v35123 small{font-size:13px;color:#8790a0}
.audit-action-cell-v35123{justify-items:end}.audit-action-cell-v35123 code{display:block;width:100%;font:600 13px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;direction:ltr;unicode-bidi:plaintext;text-align:right;color:#252d3b}.audit-action-cell-v35123 small{display:block;width:100%;font-size:13px;color:#858e9e;text-align:right;direction:rtl;line-height:1.45;white-space:normal}
.audit-origin-cell-v35123{justify-items:end;max-width:250px}.audit-origin-cell-v35123 b,.audit-origin-cell-v35123 small{display:block;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.audit-origin-cell-v35123 small{color:#8790a0}
.audit-severity-v35123{display:inline-flex;align-items:center;gap:4px;height:23px;padding:0 7px;border-radius:999px;font-size:13px;font-weight:800}.audit-severity-v35123.info{background:#edf5ff;color:#2d6fbd}.audit-severity-v35123.warning{background:#fff7e5;color:#9f690b}.audit-severity-v35123.error,.audit-severity-v35123.critical{background:#fff0f1;color:#bd3343}.audit-severity-v35123.debug{background:#f0f2f6;color:#647086}
.audit-expand-button-v35123{width:28px!important;height:28px!important;min-height:28px!important}.audit-event-row-v35123.is-open .audit-expand-button-v35123 i{transform:rotate(180deg)}
.audit-detail-row-v35123[hidden]{display:none!important}.audit-detail-row-v35123>td{padding:0!important;background:#f0f1f5!important;border-bottom:1px solid #dce0e8!important}
.audit-detail-panel-v35123{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);grid-template-areas:"diff meta";gap:15px;padding:14px 20px;background:#f0f1f5;direction:ltr}
.audit-detail-diff-v35123{grid-area:diff;min-width:0}.audit-detail-metadata-v35123{grid-area:meta;min-width:0;direction:rtl}
.audit-detail-panel-v35123 h4{margin:0 0 8px;font-size:13px;font-weight:900;color:#747d8e;letter-spacing:.01em}.audit-detail-diff-v35123 h4{text-align:left;direction:ltr}.audit-detail-metadata-v35123 h4{text-align:right;direction:rtl}
.audit-detail-diff-v35123 pre{margin:0;padding:11px;border:1px solid #dce1e8;border-radius:7px;background:#fff;color:#2f3745;min-height:100px;max-height:260px;overflow:auto;white-space:pre-wrap;direction:ltr;text-align:left;font:13px/1.7 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.audit-detail-metadata-v35123 dl{margin:0;display:grid}.audit-detail-metadata-v35123 dl>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;align-items:start;padding:7px 0;border-bottom:1px dashed #d9dde6}.audit-detail-metadata-v35123 dl>div:last-child{border-bottom:0}.audit-detail-metadata-v35123 dt{font-size:13px;color:#7b8495;text-align:right}.audit-detail-metadata-v35123 dd{margin:0;font-size:13px;color:#313947;text-align:right;overflow-wrap:anywhere}.audit-detail-metadata-v35123 dd.ui-tech-value{direction:ltr!important;text-align:left!important;unicode-bidi:plaintext}
.audit-empty-v35123{min-height:160px;display:grid;place-items:center;align-content:center;gap:6px;color:#8a92a2}.audit-empty-v35123 i{font-size:24px}

@media(max-width:1100px){
  .system-log-workspace-v35123{grid-template-columns:240px minmax(0,1fr)}
  .audit-kpi-grid-v35123{grid-template-columns:repeat(2,minmax(0,1fr))}
  .audit-filterbar-v35123{grid-template-columns:repeat(4,minmax(0,1fr));}.audit-filter-search-v35123{grid-column:1/-1}.audit-filter-submit-v35123{justify-content:center}
}
@media(max-width:850px){
  .system-log-workspace-v35123{grid-template-columns:1fr;grid-template-areas:"log" "side"}.system-log-insights-v35123{grid-template-columns:repeat(2,minmax(0,1fr))}.system-log-services-row{flex-wrap:wrap}.system-log-services-heading{width:100%;justify-content:space-between}.system-log-result-count{margin-inline-start:0}.system-log-query-row{align-items:stretch;flex-direction:column}.system-log-result-count{align-self:flex-end}.system-log-meta-strip{grid-template-columns:1fr 1fr}.system-log-diff-grid{grid-template-columns:1fr}
  .audit-filterbar-v35123{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-filter-search-v35123{grid-column:1/-1}.audit-detail-panel-v35123{grid-template-columns:1fr;grid-template-areas:"meta" "diff"}
}
@media(max-width:560px){
  .system-log-level-row{align-items:stretch;flex-direction:column}.system-log-filter-actions-inline{justify-content:flex-end}.system-log-insights-v35123{grid-template-columns:1fr}.system-log-line{grid-template-columns:54px 50px minmax(0,1fr) 18px}.system-log-source{display:none}.system-log-meta-strip{grid-template-columns:1fr}
  .audit-kpi-grid-v35123,.audit-filterbar-v35123{grid-template-columns:1fr}.audit-filter-search-v35123{grid-column:auto}.audit-filter-submit-v35123{justify-content:center}.audit-events-head-v35123{align-items:flex-start;flex-direction:column}
}

/* ========================================================================
   HOMA V3.5.1.2.5 · Orchid System Logs / Audit Logs fidelity hotfix
   ======================================================================== */

/* System Logs (ممیزی تغییرات): one true desktop toolbar, like Orchid. */
form.system-log-toolbar-v35125{
  margin:0!important;
  padding:10px 12px!important;
  min-height:0!important;
  border:1px solid var(--homa-border)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:8px!important;
  direction:rtl!important;
  overflow:visible!important;
}
.system-log-search-v35125{
  flex:1 1 420px!important;
  min-width:280px!important;
  height:40px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  direction:rtl!important;
  border:1px solid #d8dde7!important;
  border-radius:7px!important;
  background:#fff!important;
  padding:0 10px!important;
  box-sizing:border-box!important;
}
.system-log-search-v35125:focus-within{border-color:var(--homa-primary)!important;box-shadow:0 0 0 2px var(--homa-primary-soft)!important}
.system-log-search-v35125>i{position:static!important;inset:auto!important;transform:none!important;flex:0 0 auto!important;color:#81899a!important;font-size:16px!important;line-height:1!important}
.system-log-search-v35125>input{
  flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;
  height:38px!important;min-height:38px!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;
  color:#303747!important;font:inherit!important;font-size:13px!important;direction:rtl!important;text-align:right!important
}
.system-log-search-v35125>input:focus{border:0!important;box-shadow:none!important;outline:0!important}
.system-log-search-v35125>input::-webkit-search-decoration,.system-log-search-v35125>input::-webkit-search-cancel-button,.system-log-search-v35125>input::-webkit-search-results-button,.system-log-search-v35125>input::-webkit-search-results-decoration{display:none!important}
.system-log-search-v35125>kbd{
  position:static!important;flex:0 0 auto!important;margin:0!important;padding:4px 6px!important;border:0!important;border-radius:5px!important;
  background:#f0f2f6!important;color:#6f788a!important;font:700 13px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;direction:ltr!important
}
.system-log-levels-v35125{display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important;white-space:nowrap!important}
.system-log-level-filter-v35125{position:relative!important;margin:0!important;cursor:pointer!important}
.system-log-level-filter-v35125>input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}
.system-log-level-filter-v35125>span{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  height:36px!important;min-width:54px!important;padding:0 10px!important;border:1px solid!important;border-radius:7px!important;
  font-size:13px!important;font-weight:900!important;line-height:1!important;transition:.12s ease!important
}
/* Orchid keeps the four severity buttons visibly colored even before selection. */
.system-log-level-filter-v35125.error>span{background:#fff0f1!important;border-color:#efadb4!important;color:#c73a49!important}
.system-log-level-filter-v35125.warn>span{background:#fff4df!important;border-color:#efc87c!important;color:#a56a06!important}
.system-log-level-filter-v35125.info>span{background:#eaf3ff!important;border-color:#a8c7ee!important;color:#2e70bd!important}
.system-log-level-filter-v35125.debug>span{background:#eef1f5!important;border-color:#cfd5df!important;color:#626d80!important}
.system-log-level-filter-v35125>input:checked+span{box-shadow:inset 0 0 0 2px currentColor!important;filter:saturate(1.08)!important}
.system-log-level-filter-v35125:hover>span{filter:brightness(.98)!important}

.system-log-services-v35125{position:relative!important;flex:0 0 auto!important;margin:0!important;padding:0!important}
.system-log-services-v35125>summary{
  list-style:none!important;display:inline-flex!important;align-items:center!important;gap:6px!important;height:36px!important;padding:0 10px!important;
  border:1px solid #cfd5df!important;border-radius:7px!important;background:#fff!important;color:#4c5567!important;
  font-size:13px!important;font-weight:800!important;cursor:pointer!important;white-space:nowrap!important
}
.system-log-services-v35125>summary::-webkit-details-marker{display:none!important}
.system-log-services-v35125[open]>summary{border-color:var(--homa-primary)!important;box-shadow:0 0 0 2px var(--homa-primary-soft)!important}
.system-log-services-popover-v35125{
  position:absolute!important;z-index:50!important;top:calc(100% + 6px)!important;right:0!important;width:280px!important;max-height:350px!important;overflow:auto!important;
  padding:8px!important;border:1px solid #d9dee7!important;border-radius:9px!important;background:#fff!important;box-shadow:0 12px 28px rgba(31,38,53,.14)!important;direction:rtl!important
}
.system-log-services-popover-head-v35125{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:2px 2px 7px!important;border-bottom:1px solid #eceff4!important}
.system-log-services-popover-head-v35125 b{font-size:13px!important;color:#303747!important}
.system-log-services-popover-head-v35125 button{border:0!important;background:transparent!important;color:var(--homa-primary)!important;font:inherit!important;font-size:13px!important;cursor:pointer!important;padding:3px!important}
.system-log-services-list-v35125{display:grid!important;padding-top:5px!important}
.system-log-services-list-v35125>label{display:grid!important;grid-template-columns:20px minmax(0,1fr) auto!important;align-items:center!important;gap:7px!important;min-height:34px!important;padding:4px 3px!important;cursor:pointer!important}
.system-log-services-list-v35125>label:hover{background:#f8f9fb!important;border-radius:6px!important}
.system-log-services-list-v35125>label>input{width:16px!important;height:16px!important;margin:0!important;accent-color:var(--homa-primary)!important}
.system-log-services-list-v35125>label>span{font-size:13px!important;color:#465063!important}
.system-log-services-list-v35125>label>small{font-size:13px!important;color:#8a92a2!important}
.system-log-result-v35125{flex:0 0 auto!important;margin-inline-start:auto!important;color:#7c8596!important;font-size:13px!important;white-space:nowrap!important;padding-inline:4px!important}

/* System Events (رویدادهای سامانه): exactly one compact desktop filter row. */
form.audit-filterbar-v35125{
  margin:0!important;padding:9px 10px!important;min-height:0!important;border:1px solid var(--homa-border)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;
  display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:7px!important;direction:rtl!important;overflow-x:auto!important;overflow-y:hidden!important
}
form.audit-filterbar-v35125>.audit-filter-search-v35125{
  flex:1 1 300px!important;min-width:240px!important;max-width:none!important;height:38px!important;display:flex!important;align-items:center!important;gap:7px!important;
  padding:0 10px!important;margin:0!important;border:1px solid #d8dde7!important;border-radius:7px!important;background:#fff!important;box-sizing:border-box!important;direction:rtl!important
}
form.audit-filterbar-v35125>.audit-filter-search-v35125:focus-within{border-color:var(--homa-primary)!important;box-shadow:0 0 0 2px var(--homa-primary-soft)!important}
form.audit-filterbar-v35125>.audit-filter-search-v35125>i{position:static!important;inset:auto!important;transform:none!important;flex:0 0 auto!important;color:#858e9e!important;font-size:16px!important;line-height:1!important}
form.audit-filterbar-v35125>.audit-filter-search-v35125>input{
  flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;height:36px!important;min-height:36px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;
  color:#313947!important;font:inherit!important;font-size:13px!important;direction:rtl!important;text-align:right!important
}
form.audit-filterbar-v35125>.audit-filter-search-v35125>input:focus{border:0!important;box-shadow:none!important;outline:0!important}
form.audit-filterbar-v35125>.audit-filter-search-v35125>input::-webkit-search-decoration,form.audit-filterbar-v35125>.audit-filter-search-v35125>input::-webkit-search-cancel-button,form.audit-filterbar-v35125>.audit-filter-search-v35125>input::-webkit-search-results-button,form.audit-filterbar-v35125>.audit-filter-search-v35125>input::-webkit-search-results-decoration{display:none!important}
form.audit-filterbar-v35125>select,
form.audit-filterbar-v35125>input.audit-date-v35125{
  flex:0 1 142px!important;width:142px!important;min-width:125px!important;max-width:155px!important;height:38px!important;min-height:38px!important;margin:0!important;padding:0 10px!important;
  border:1px solid #d8dde7!important;border-radius:7px!important;background-color:#fff!important;color:#3f4757!important;font:inherit!important;font-size:13px!important;box-shadow:none!important
}
form.audit-filterbar-v35125>select{direction:rtl!important;text-align:right!important}
form.audit-filterbar-v35125>input.audit-date-v35125{direction:rtl!important;text-align:right!important;unicode-bidi:plaintext!important;cursor:pointer!important}
form.audit-filterbar-v35125>select:focus,form.audit-filterbar-v35125>input.audit-date-v35125:focus{outline:0!important;border-color:var(--homa-primary)!important;box-shadow:0 0 0 2px var(--homa-primary-soft)!important}
form.audit-filterbar-v35125>.audit-filter-submit-v35125{flex:0 0 auto!important;height:38px!important;min-height:38px!important;margin:0!important;padding:0 12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;white-space:nowrap!important;font-size:13px!important}

/* Keep technical operation code and Persian description vertically aligned in the same cell. */
.audit-events-table-v35123 td .audit-action-cell-v35123{display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:center!important;gap:2px!important;text-align:right!important;direction:rtl!important}
.audit-events-table-v35123 td .audit-action-cell-v35123 code{display:block!important;width:100%!important;margin:0!important;text-align:right!important;direction:ltr!important;unicode-bidi:isolate!important;line-height:1.35!important}
.audit-events-table-v35123 td .audit-action-cell-v35123 small{display:block!important;width:100%!important;margin:0!important;text-align:right!important;direction:rtl!important;line-height:1.35!important}

@media(max-width:1180px){
  form.system-log-toolbar-v35125,form.audit-filterbar-v35125{overflow-x:auto!important;scrollbar-width:thin!important}
  .system-log-search-v35125{flex-basis:340px!important;min-width:260px!important}
  form.audit-filterbar-v35125>.audit-filter-search-v35125{min-width:260px!important}
}
@media(max-width:760px){
  form.system-log-toolbar-v35125{flex-wrap:wrap!important;overflow:visible!important}
  .system-log-search-v35125{flex:1 1 100%!important;min-width:100%!important}
  .system-log-result-v35125{margin-inline-start:0!important}
  form.audit-filterbar-v35125{overflow-x:auto!important}
}

/* =========================================================
   HOMA V3.5.1.3 · Orchid notifications workspace
   ========================================================= */
.notification-orchid-v3513{display:grid;gap:12px;direction:rtl}
.notification-page-lead-v3513{margin:-5px 0 2px;color:var(--homa-muted);font-size:13px}
.notification-workspace-v3513{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:14px;align-items:start}
.notification-main-column-v3513{min-width:0;display:grid;gap:10px}
.notification-main-form-v3513{display:grid;gap:10px;min-width:0}
.notification-toolbar-v3513{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.notification-tabs-v3513{display:flex;align-items:center;gap:4px;min-width:0;overflow-x:auto;scrollbar-width:thin;padding:2px}
.notification-tabs-v3513 a{height:36px;display:inline-flex;align-items:center;gap:6px;padding:0 11px;border:1px solid transparent;border-radius:8px;color:var(--homa-muted);font-size:13px;font-weight:700;white-space:nowrap;text-decoration:none;background:transparent}
.notification-tabs-v3513 a:hover{background:var(--homa-surface-subtle);color:var(--homa-text)}
.notification-tabs-v3513 a.active{background:var(--homa-primary);border-color:var(--homa-primary);color:#fff;box-shadow:0 5px 14px color-mix(in srgb,var(--homa-primary) 18%,transparent)}
.notification-tabs-v3513 a em{font-style:normal;min-width:20px;height:20px;padding:0 5px;display:inline-grid;place-items:center;border-radius:999px;background:color-mix(in srgb,currentColor 13%,transparent);font-size:13px;font-weight:900}
.notification-tabs-v3513 a.active em{background:rgba(255,255,255,.2);color:#fff}
.notification-toolbar-actions-v3513{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.notification-sort-v3513{height:38px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid var(--homa-border);border-radius:9px;background:var(--homa-surface);color:var(--homa-muted);font-size:13px;white-space:nowrap}
.notification-sort-v3513 select{height:30px!important;min-height:30px!important;border:0!important;background:transparent!important;padding:0 5px!important;box-shadow:none!important;color:var(--homa-text)!important;font-size:13px!important;min-width:100px}
.notification-sort-v3513 select:focus{outline:0!important;box-shadow:none!important}
.notification-bulk-menu-v3513{position:relative}
.notification-bulk-menu-v3513>summary{list-style:none;height:38px;display:inline-flex;align-items:center;gap:6px;padding:0 11px;border:1px solid var(--homa-border);border-radius:9px;background:var(--homa-surface);color:var(--homa-text);font-size:13px;font-weight:800;cursor:pointer;white-space:nowrap}
.notification-bulk-menu-v3513>summary::-webkit-details-marker{display:none}
.notification-bulk-menu-v3513[open]>summary{border-color:var(--homa-primary);box-shadow:0 0 0 2px var(--homa-primary-soft)}
.notification-bulk-menu-v3513>summary span{min-width:20px;height:20px;padding:0 5px;display:inline-grid;place-items:center;border-radius:999px;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:13px}
.notification-bulk-popover-v3513{position:absolute;top:calc(100% + 6px);left:0;z-index:40;width:215px;padding:6px;background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:10px;box-shadow:0 14px 36px rgba(34,39,53,.14);display:grid;gap:2px}
.notification-bulk-popover-v3513 button,.notification-row-menu-v3513>div button{width:100%;min-height:34px;border:0;border-radius:7px;background:transparent;display:flex;align-items:center;gap:8px;text-align:right;padding:6px 8px;color:var(--homa-text);font:inherit;font-size:13px;cursor:pointer}
.notification-bulk-popover-v3513 button:hover,.notification-row-menu-v3513>div button:hover{background:var(--homa-surface-subtle)}
.notification-bulk-popover-v3513 button.danger,.notification-row-menu-v3513>div button.danger{color:#d04452}

.notification-list-card-v3513{background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:13px;overflow:hidden;box-shadow:var(--homa-shadow-card);min-width:0}
.notification-list-head-v3513{min-height:46px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--homa-border);background:var(--homa-surface)}
.notification-list-head-v3513>span{color:var(--homa-muted);font-size:13px}
.notification-select-all-v3513{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--homa-text);cursor:pointer}
.notification-list-v3513{display:grid}
.notification-row-v3513{position:relative;display:grid;grid-template-columns:20px 40px minmax(0,1fr) 12px 34px;gap:10px;align-items:center;min-height:78px;padding:11px 13px;border-bottom:1px solid var(--homa-border);background:var(--homa-surface);transition:background .14s ease}
.notification-row-v3513:last-child{border-bottom:0}
.notification-row-v3513:hover{background:#fafbfe}
.notification-row-v3513.unread{background:color-mix(in srgb,var(--homa-primary-soft) 24%,#fff)}
.notification-row-v3513.unread:hover{background:color-mix(in srgb,var(--homa-primary-soft) 34%,#fff)}
.notification-row-check-v3513{display:grid;place-items:center;cursor:pointer}
.notification-row-icon-v3513{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#f0edff;color:var(--homa-primary);font-size:18px}
.notification-row-icon-v3513.type-request{background:#eef4ff;color:#386fd6}
.notification-row-icon-v3513.type-task{background:#f3efff;color:#6a52de}
.notification-row-icon-v3513.type-payment{background:#eaf8f0;color:#23875a}
.notification-row-icon-v3513.type-contract{background:#fff5e8;color:#b36d16}
.notification-row-icon-v3513.type-ticket{background:#eef8fb;color:#26819b}
.notification-row-icon-v3513.type-system{background:#fff0f2;color:#c74758}
.notification-row-content-v3513{display:grid;gap:3px;min-width:0;text-decoration:none;color:inherit}
.notification-row-title-v3513{display:flex;align-items:center;gap:7px;min-width:0}
.notification-row-title-v3513 b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notification-row-content-v3513 p{margin:0;color:var(--homa-muted);font-size:13px;line-height:1.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notification-row-content-v3513 small{display:flex;align-items:center;gap:6px;color:#8a92a3;font-size:13px;white-space:nowrap}
.notification-row-content-v3513 small i{width:3px;height:3px;border-radius:50%;background:#b6bdca}
.notification-priority-v3513{font-style:normal;padding:2px 7px;border-radius:999px;font-size:13px;font-weight:800;white-space:nowrap}
.notification-priority-v3513.priority-high{background:#fff4df;color:#a56a06}
.notification-priority-v3513.priority-urgent{background:#fff0f1;color:#c73a49}
.notification-unread-dot-v3513{width:8px;height:8px;border-radius:50%;background:var(--homa-primary);box-shadow:0 0 0 3px var(--homa-primary-soft)}
.notification-row-menu-v3513{position:relative}
.notification-row-menu-v3513>summary{list-style:none;width:32px;height:32px;display:grid;place-items:center;border-radius:8px;color:var(--homa-muted);cursor:pointer;font-size:18px}
.notification-row-menu-v3513>summary::-webkit-details-marker{display:none}
.notification-row-menu-v3513>summary:hover,.notification-row-menu-v3513[open]>summary{background:var(--homa-surface-subtle);color:var(--homa-text)}
.notification-row-menu-v3513>div{position:absolute;top:calc(100% + 4px);left:0;z-index:35;width:190px;padding:5px;background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:9px;box-shadow:0 12px 30px rgba(34,39,53,.14);display:grid;gap:2px}

.notification-side-v3513{display:grid;gap:10px;position:sticky;top:82px;min-width:0}
.notification-glance-card-v3513,.notification-preferences-card-v3513{background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:13px;box-shadow:var(--homa-shadow-card);padding:14px}
.notification-side-heading-v3513{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.notification-side-heading-v3513>div{display:grid;gap:2px}
.notification-side-heading-v3513 h2{margin:0;font-size:14px;color:var(--homa-text)}
.notification-side-heading-v3513 small{font-size:13px;color:var(--homa-muted)}
.notification-side-heading-v3513>i{width:32px;height:32px;border-radius:9px;background:var(--homa-primary-soft);color:var(--homa-primary);display:grid;place-items:center;font-size:16px}
.notification-glance-stats-v3513{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid var(--homa-border);border-radius:10px;overflow:hidden}
.notification-glance-stats-v3513>div{display:grid;gap:2px;text-align:center;padding:10px 5px;background:#fff;border-left:1px solid var(--homa-border)}
.notification-glance-stats-v3513>div:last-child{border-left:0}
.notification-glance-stats-v3513 b{font-size:19px;color:var(--homa-text)}
.notification-glance-stats-v3513 span{font-size:13px;color:var(--homa-muted)}
.notification-glance-card-v3513>p{margin:10px 0 0;display:flex;align-items:flex-start;gap:6px;color:var(--homa-muted);font-size:13px;line-height:1.7}
.notification-glance-card-v3513>p i{color:#3b9a68;margin-top:3px}
.notification-preference-head-v3513{display:grid;grid-template-columns:minmax(0,1fr) 62px 48px;gap:8px;align-items:center;padding:0 4px 6px;color:var(--homa-muted);font-size:13px;border-bottom:1px solid var(--homa-border)}
.notification-preference-head-v3513 b{text-align:center;font-size:13px;font-weight:700}
.notification-preference-rows-v3513{display:grid}
.notification-preference-row-v3513{display:grid;grid-template-columns:minmax(0,1fr) 62px 48px;gap:8px;align-items:center;min-height:56px;padding:7px 4px;border-bottom:1px solid var(--homa-border)}
.notification-preference-row-v3513>span{display:grid;gap:2px;min-width:0}
.notification-preference-row-v3513>span b{font-size:13px;color:var(--homa-text)}
.notification-preference-row-v3513>span small{font-size:13px;color:var(--homa-muted);line-height:1.55}
.notification-preference-row-v3513>.ui-switch-control{justify-self:center;transform:scale(.86)}
.notification-preference-row-v3513.locked{background:#fafbfc;margin-inline:-4px;padding-inline:8px}
.notification-preference-row-v3513.locked>span b:after{content:" · همیشه فعال";color:var(--homa-muted);font-weight:500}
.notification-quiet-v3513{padding-top:12px}
.notification-quiet-title-v3513{display:flex;align-items:center;justify-content:space-between;gap:12px}
.notification-quiet-title-v3513>span{display:grid;gap:2px}
.notification-quiet-title-v3513 b{font-size:13px}
.notification-quiet-title-v3513 small{font-size:13px;color:var(--homa-muted);line-height:1.55}
.notification-quiet-time-v3513{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.notification-quiet-time-v3513[hidden]{display:none!important}
.notification-quiet-time-v3513 label{display:grid;gap:5px;color:var(--homa-muted);font-size:13px}
.notification-quiet-time-v3513 input{height:36px!important;min-height:36px!important;padding:0 8px!important;direction:ltr;text-align:center;font-variant-numeric:tabular-nums}
.notification-pref-save-v3513{width:100%;margin-top:12px;justify-content:center}

@media(max-width:1180px){
  .notification-workspace-v3513{grid-template-columns:minmax(0,1fr) 315px}
  .notification-toolbar-v3513{align-items:stretch;flex-direction:column}
  .notification-toolbar-actions-v3513{justify-content:flex-start}
}
@media(max-width:900px){
  .notification-workspace-v3513{grid-template-columns:1fr}
  .notification-side-v3513{position:static;grid-template-columns:1fr 1fr}
  .notification-preferences-card-v3513{grid-column:1/-1}
}
@media(max-width:680px){
  .notification-side-v3513{grid-template-columns:1fr}
  .notification-toolbar-actions-v3513{width:100%;flex-wrap:wrap}
  .notification-sort-v3513{flex:1}
  .notification-bulk-menu-v3513>summary{width:100%}
  .notification-row-v3513{grid-template-columns:20px 36px minmax(0,1fr) 8px 32px;padding:10px 9px;gap:8px}
  .notification-row-icon-v3513{width:34px;height:34px}
  .notification-row-content-v3513 p{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .notification-glance-stats-v3513{grid-template-columns:1fr}
  .notification-glance-stats-v3513>div{border-left:0;border-bottom:1px solid var(--homa-border)}
  .notification-glance-stats-v3513>div:last-child{border-bottom:0}
  .notification-preference-head-v3513,.notification-preference-row-v3513{grid-template-columns:minmax(0,1fr) 54px 46px}
}
.notification-list-card-v3513,.notification-list-v3513{overflow:visible}


/* =========================================================
   HOMA V3.5.1.4 · Orchid fidelity consolidation
   Visual-only pass: Roles, Permission Matrix, System/Audit logs, Notifications.
   ========================================================= */
:root{
  --orchid-line:#e2e6ee;
  --orchid-soft:#f7f8fb;
  --orchid-muted:#788196;
  --orchid-radius:10px;
  --orchid-shadow:0 1px 3px rgba(31,39,56,.035);
}

/* Master/detail roles: preserve approved RTL orientation, tighten the visual rhythm. */
.orchid-roles-shell{gap:14px!important}
.orchid-role-list-panel,.orchid-role-detail-panel{
  border-radius:12px!important;border-color:var(--orchid-line)!important;box-shadow:var(--orchid-shadow)!important
}
.orchid-role-list-head{min-height:50px;padding:11px 14px!important}
.orchid-role-list{padding:8px!important;gap:6px!important}
.orchid-role-list-item{padding:10px 11px!important;border-radius:10px!important}
.orchid-role-detail-panel{padding:18px!important}
.role-detail-head{margin-bottom:14px!important;padding-bottom:14px!important}
.role-permission-accordions{gap:8px!important}
.role-permission-group{border-radius:10px!important;border-color:var(--orchid-line)!important}
.role-permission-group-head{min-height:50px!important;padding:9px 12px!important}
.role-permission-row{padding:9px 12px!important}

/* Permissions matrix: Orchid toolbar/table density and stable sticky affordances. */
.permission-matrix-toolbar{
  border:1px solid var(--orchid-line)!important;border-radius:10px!important;background:#fff!important;
  box-shadow:none!important;margin-bottom:8px!important;padding:8px 10px!important;min-height:54px!important
}
.permission-matrix-wrap{border-radius:10px!important;border-color:var(--orchid-line)!important;box-shadow:none!important;margin-bottom:8px!important}
.permission-matrix th,.permission-matrix td{border-color:#e7eaf0!important}
.permission-matrix thead th,.permission-matrix .resource-col{background:#f4f5f8!important}
.permission-group-row th{background:#f8f9fb!important}
.permission-group-toggle{padding:8px 11px!important}
.permission-legend-sticky{
  bottom:8px!important;border-radius:10px!important;border-color:var(--orchid-line)!important;
  box-shadow:0 6px 18px rgba(31,39,56,.10)!important;padding:7px 11px!important
}
@media(min-width:1200px){
  .permission-matrix-toolbar{flex-wrap:nowrap!important}
  .permission-matrix-toolbar .search-field{flex:1 1 320px!important;min-width:260px!important}
  .permission-matrix-toolbar .matrix-filter-select{flex:0 0 190px!important;max-width:210px!important}
  .matrix-selection{flex:0 0 auto!important}
  .matrix-bulk-control{flex:0 0 auto!important}
}

/* Log pages: common light surface and denser card rhythm. */
.system-logs-v35123,.audit-logs-v35123{gap:10px!important}
.system-log-workspace-v35123{gap:10px!important}
.system-log-console-v35123,.system-log-side-card-v35123,.audit-events-card-v35123,
.audit-kpi-v35123,form.system-log-toolbar-v35125,form.audit-filterbar-v35125{
  border-color:var(--orchid-line)!important;box-shadow:none!important
}
.system-log-side-card-v35123>header,.system-log-console-head{background:#f7f8fa!important}
.system-log-entry-detail,.audit-detail-panel-v35123{background:#f1f2f5!important}
.audit-detail-panel-v35123{gap:12px!important;padding:13px 16px!important}
.audit-detail-diff-v35123 pre{border-color:#dfe3ea!important;border-radius:7px!important}
.audit-detail-metadata-v35123 dl>div{padding:6px 0!important}
.audit-events-head-v35123{min-height:56px!important;padding:10px 13px!important}
.audit-events-table-v35123 thead th{background:#f1f2f6!important}
.audit-events-table-v35123 tbody td{padding-block:8px!important}
.audit-kpi-grid-v35123{gap:8px!important}
.audit-kpi-v35123{padding:11px 13px!important}

/* Notifications: remove the second lead line and align the workspace with Orchid density. */
.notification-page-lead-v3513{display:none!important}
.notification-orchid-v3513{gap:10px!important}
.notification-workspace-v3513{grid-template-columns:minmax(0,1fr) 330px!important;gap:12px!important}
.notification-main-column-v3513,.notification-main-form-v3513{gap:8px!important}
.notification-toolbar-v3513{min-height:40px!important;gap:8px!important}
.notification-tabs-v3513{gap:3px!important;padding:0!important}
.notification-tabs-v3513 a{height:34px!important;padding:0 10px!important;border-radius:7px!important}
.notification-sort-v3513,.notification-bulk-menu-v3513>summary{height:36px!important;border-radius:8px!important}
.notification-list-card-v3513,.notification-glance-card-v3513,.notification-preferences-card-v3513{
  border-radius:10px!important;border-color:var(--orchid-line)!important;box-shadow:none!important
}
.notification-list-head-v3513{min-height:42px!important;padding-inline:12px!important;background:#fafbfc!important}
.notification-row-v3513{min-height:72px!important;padding:9px 12px!important;gap:9px!important}
.notification-row-icon-v3513{width:36px!important;height:36px!important;border-radius:9px!important}
.notification-side-v3513{gap:9px!important}
.notification-glance-card-v3513,.notification-preferences-card-v3513{padding:12px!important}
.notification-side-heading-v3513{margin-bottom:10px!important}
.notification-preference-row-v3513{min-height:52px!important;padding-block:6px!important}
.notification-quiet-v3513{padding-top:10px!important}

@media(max-width:1180px){
  .notification-workspace-v3513{grid-template-columns:minmax(0,1fr) 300px!important}
}
@media(max-width:980px){
  .notification-workspace-v3513{grid-template-columns:1fr!important}
  .notification-side-v3513{position:static!important;grid-template-columns:1fr 1fr!important}
  .notification-preferences-card-v3513{grid-column:1/-1!important}
}
@media(max-width:760px){
  .notification-side-v3513{grid-template-columns:1fr!important}
  .notification-toolbar-v3513{align-items:stretch!important}
}

/* =========================================================
   HOMA V3.5.1.5 · Orchid To-Do fidelity for Workflow Cartable
   ========================================================= */
.orchid-todo-v3515{
  display:grid;
  grid-template-columns:clamp(285px,24vw,360px) minmax(0,1fr);
  gap:14px;
  align-items:start;
}
.todo-lists-v3515,
.todo-workspace-v3515{
  background:var(--homa-surface);
  border:1px solid var(--homa-border);
  border-radius:14px;
  box-shadow:var(--homa-shadow-card);
  overflow:hidden;
}
.todo-lists-v3515{
  grid-column:1;
  grid-row:1;
  position:sticky;
  top:82px;
}
.todo-workspace-v3515{grid-column:2;grid-row:1;min-width:0}
.todo-lists-head-v3515{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 16px 13px;
  border-bottom:1px solid var(--homa-border);
}
.todo-lists-head-v3515>div{display:grid;gap:3px}
.todo-lists-head-v3515 strong{font-size:15px}
.todo-lists-head-v3515 small{color:var(--homa-muted)}
.todo-total-badge-v3515{
  min-width:28px;
  height:24px;
  padding:0 8px;
  border-radius:8px;
  display:inline-grid;
  place-items:center;
  background:var(--homa-primary-soft);
  color:var(--homa-primary);
  font-weight:800;
}
.todo-list-nav-v3515{display:grid;padding:8px}
.todo-list-nav-v3515>a{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto 18px;
  gap:9px;
  align-items:center;
  min-height:58px;
  padding:8px 10px;
  border:1px solid transparent;
  border-radius:10px;
  color:var(--homa-text);
  transition:.16s ease;
}
.todo-list-nav-v3515>a:hover{background:var(--homa-surface-subtle)}
.todo-list-nav-v3515>a.active{
  background:color-mix(in srgb,var(--homa-primary) 7%,var(--homa-surface));
  border-color:color-mix(in srgb,var(--homa-primary) 35%,var(--homa-border));
  box-shadow:inset -3px 0 var(--homa-primary);
}
.todo-list-icon-v3515{
  width:36px;height:36px;border-radius:9px;
  display:grid;place-items:center;
  color:var(--homa-primary);background:var(--homa-primary-soft);font-size:18px
}
.todo-list-copy-v3515{display:grid;gap:2px;min-width:0}
.todo-list-copy-v3515 b{font-size:14px}
.todo-list-copy-v3515 small{color:var(--homa-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.todo-list-nav-v3515 em{font-style:normal;color:var(--homa-muted);font-weight:800}
.todo-list-arrow-v3515{color:var(--homa-muted)}
.todo-workflow-note-v3515{
  margin:4px 12px 12px;
  padding:10px 11px;
  display:flex;gap:8px;align-items:flex-start;
  color:var(--homa-muted);
  background:var(--homa-surface-subtle);
  border:1px solid var(--homa-border);
  border-radius:10px;
  line-height:1.75
}
.todo-workflow-note-v3515 i{color:var(--homa-primary);font-size:18px;margin-top:2px}
.todo-workflow-note-v3515 p{margin:0}
.todo-quickbar-v3515{
  padding:12px;
  display:flex;
  gap:8px;
  align-items:center;
  border-bottom:1px solid var(--homa-border);
  background:var(--homa-surface);
}
.todo-search-v3515{
  min-width:0;flex:1;
  height:42px;
  display:flex;align-items:center;gap:8px;
  padding:0 11px;
  border:1px solid var(--homa-border-strong,var(--homa-border));
  border-radius:9px;
  background:var(--homa-surface)
}
.todo-search-v3515:focus-within{border-color:var(--homa-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--homa-primary) 10%,transparent)}
.todo-search-v3515>i{color:var(--homa-muted);font-size:18px;flex:none}
.todo-search-v3515 input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;min-width:0;flex:1;height:auto!important;padding:0!important}
.todo-quickbar-v3515 select{width:190px;height:42px}
.todo-workspace-head-v3515{
  display:flex;justify-content:space-between;align-items:flex-end;gap:12px;
  padding:14px 16px 11px;
  background:var(--homa-surface-subtle);
  border-bottom:1px solid var(--homa-border)
}
.todo-workspace-head-v3515>div{display:grid;gap:3px}
.todo-workspace-head-v3515 h2{margin:0;font-size:16px}
.todo-workspace-head-v3515 p{margin:0;color:var(--homa-muted)}
.todo-workspace-head-v3515>span{color:var(--homa-muted);white-space:nowrap}
.todo-items-v3515{display:grid}
.todo-item-v3515{
  position:relative;
  display:grid;
  grid-template-columns:24px minmax(0,1fr) minmax(145px,auto) 34px;
  gap:12px;
  align-items:center;
  padding:14px 16px;
  min-height:88px;
  border-bottom:1px solid var(--homa-border);
  transition:.16s ease;
}
.todo-item-v3515:last-child{border-bottom:0}
.todo-item-v3515:hover{background:var(--homa-surface-subtle)}
.todo-item-v3515.unread{box-shadow:inset -3px 0 var(--homa-primary)}
.todo-check-v3515{font-size:20px;color:var(--homa-muted);display:grid;place-items:center}
.todo-item-main-v3515{min-width:0;display:grid;gap:5px}
.todo-item-title-v3515{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.todo-item-title-v3515 h3{margin:0;font-size:14px}
.todo-new-v3515{
  padding:2px 7px;border-radius:999px;background:#eef4ff;color:#306bb1;font-weight:800
}
.todo-priority-v3515{padding:2px 7px;border-radius:999px;font-weight:800}
.todo-priority-v3515.p1{background:#fff0f1;color:#c63847}
.todo-priority-v3515.p2{background:#fff6dd;color:#966600}
.todo-priority-v3515.p3{background:#eef4ff;color:#3f6f9d}
.todo-item-summary-v3515{margin:0;color:var(--homa-muted);display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.todo-item-summary-v3515 a{font-weight:800;color:var(--homa-primary)}
.todo-tags-v3515{display:flex;gap:7px;align-items:center;flex-wrap:wrap;color:var(--homa-muted)}
.todo-tags-v3515>span{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;border-radius:6px;background:var(--homa-surface-subtle)}
.todo-due-v3515{display:grid;gap:3px;text-align:right}
.todo-due-v3515 small{color:var(--homa-muted)}
.todo-due-v3515 b{display:flex;align-items:center;gap:5px;white-space:nowrap;font-weight:700}
.todo-due-v3515.overdue b{color:#c63847}
.todo-open-v3515{
  width:34px;height:34px;border:1px solid var(--homa-border);border-radius:8px;
  display:grid;place-items:center;color:var(--homa-text);background:var(--homa-surface)
}
.todo-open-v3515:hover{border-color:var(--homa-primary);color:var(--homa-primary);background:var(--homa-primary-soft)}
@media(max-width:1050px){
  .orchid-todo-v3515{grid-template-columns:1fr}
  .todo-lists-v3515,.todo-workspace-v3515{grid-column:1;grid-row:auto}
  .todo-lists-v3515{position:static}
  .todo-list-nav-v3515{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
}
@media(max-width:760px){
  .todo-list-nav-v3515{grid-template-columns:1fr}
  .todo-quickbar-v3515{align-items:stretch;flex-wrap:wrap}
  .todo-search-v3515{flex-basis:100%}
  .todo-quickbar-v3515 select{width:100%;flex:1 1 180px}
  .todo-item-v3515{grid-template-columns:24px minmax(0,1fr) 34px}
  .todo-due-v3515{grid-column:2;grid-row:2;text-align:right}
  .todo-open-v3515{grid-column:3;grid-row:1 / span 2}
  .todo-workspace-head-v3515{align-items:flex-start;flex-direction:column}
}

/* =========================================================
   HOMA V3.5.1.6 · Orchid Leave Management fidelity
   Sensitive-change approvals keep HOMA Maker/Checker semantics.
   ========================================================= */
.orchid-leave-v3516{display:grid;gap:14px}
.leave-toolbar-v3516,
.leave-requests-v3516,
.leave-side-card-v3516{
  background:var(--homa-surface);
  border:1px solid var(--homa-border);
  border-radius:14px;
  box-shadow:var(--homa-shadow-card)
}
.leave-toolbar-v3516{padding:12px;display:grid;gap:12px}
.leave-filter-v3516{display:flex;align-items:center;gap:8px;min-width:0}
.leave-search-v3516{
  min-width:260px;flex:1;height:42px;display:flex;align-items:center;gap:8px;
  padding:0 11px;border:1px solid var(--homa-border-strong,var(--homa-border));
  border-radius:9px;background:var(--homa-surface)
}
.leave-search-v3516:focus-within{border-color:var(--homa-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--homa-primary) 10%,transparent)}
.leave-search-v3516>i{font-size:18px;color:var(--homa-muted);flex:none}
.leave-search-v3516 input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;min-width:0;flex:1;height:auto!important;padding:0!important}
.leave-filter-v3516 select{height:42px;min-width:170px}
.leave-status-strip-v3516{
  display:flex;align-items:center;gap:10px;padding-top:10px;border-top:1px solid var(--homa-border)
}
.leave-status-strip-v3516>a{
  min-width:150px;display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:9px 12px;border:1px solid var(--homa-border);border-radius:9px;color:var(--homa-text);background:var(--homa-surface)
}
.leave-status-strip-v3516>a b{min-width:26px;text-align:center;padding:2px 7px;border-radius:999px;background:var(--homa-surface-subtle)}
.leave-status-strip-v3516>a.pending.active{border-color:#e5b84c;background:#fff9ea}.leave-status-strip-v3516>a.pending.active b{background:#ffeab6;color:#8f6500}
.leave-status-strip-v3516>a.approved.active{border-color:#6bc59b;background:#effaf5}.leave-status-strip-v3516>a.approved.active b{background:#d7f3e6;color:#187a50}
.leave-status-strip-v3516>a.rejected.active{border-color:#e58c96;background:#fff3f4}.leave-status-strip-v3516>a.rejected.active b{background:#ffe0e3;color:#b83443}
.leave-layout-v3516{display:grid;grid-template-columns:minmax(0,1fr) clamp(270px,25vw,350px);gap:14px;align-items:start}
.leave-requests-v3516{min-width:0;overflow:hidden}
.leave-section-head-v3516{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid var(--homa-border)}
.leave-section-head-v3516>div{display:grid;gap:3px}.leave-section-head-v3516 h2{margin:0;font-size:16px}.leave-section-head-v3516 p{margin:0;color:var(--homa-muted)}
.leave-table-wrap-v3516{overflow:auto}
.leave-table-v3516{width:100%;border-collapse:collapse;min-width:900px}
.leave-table-v3516 th{padding:10px 12px;text-align:right;color:var(--homa-muted);font-weight:700;background:var(--homa-surface-subtle);border-bottom:1px solid var(--homa-border);white-space:nowrap}
.leave-table-v3516 td{padding:11px 12px;border-bottom:1px solid var(--homa-border);vertical-align:middle}.leave-table-v3516 tbody tr:last-child td{border-bottom:0}.leave-table-v3516 tbody tr:hover{background:var(--homa-surface-subtle)}
.leave-user-v3516{display:flex;align-items:center;gap:9px;min-width:170px}.leave-avatar-v3516{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--homa-primary-soft);color:var(--homa-primary);font-weight:800;flex:none}.leave-user-v3516>div,.leave-request-cell-v3516{display:grid;gap:2px}.leave-user-v3516 small,.leave-request-cell-v3516 small{color:var(--homa-muted)}
.leave-target-v3516{display:inline-flex;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leave-date-v3516{white-space:nowrap}
.leave-side-v3516{display:grid;gap:12px}
.leave-side-card-v3516{padding:14px}
.leave-side-title-v3516{display:flex;align-items:center;gap:10px;margin-bottom:12px}.leave-side-title-v3516>i{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:18px}.leave-side-title-v3516>div{display:grid;gap:2px}.leave-side-title-v3516 h3{margin:0;font-size:14px}.leave-side-title-v3516 p{margin:0;color:var(--homa-muted)}
.leave-week-glance-v3516{display:grid;grid-template-columns:1fr 1fr;gap:8px}.leave-week-glance-v3516>div{padding:10px;border:1px solid var(--homa-border);border-radius:9px;display:grid;gap:2px}.leave-week-glance-v3516 b{font-size:18px}.leave-week-glance-v3516 small{color:var(--homa-muted)}
.leave-type-list-v3516{display:grid}.leave-type-list-v3516>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px dashed var(--homa-border)}.leave-type-list-v3516>div:last-child{border-bottom:0}.leave-type-list-v3516 b{min-width:28px;height:24px;display:grid;place-items:center;border-radius:999px;background:var(--homa-surface-subtle)}
.leave-policy-v3516{margin:0;padding:0 20px 0 0;display:grid;gap:8px;color:var(--homa-muted);line-height:1.8}.leave-policy-v3516 li::marker{color:var(--homa-primary)}
.leave-review-summary-v3516{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px}.leave-review-summary-v3516>div{padding:11px;border:1px solid var(--homa-border);border-radius:10px;display:grid;gap:4px}.leave-review-summary-v3516 small{color:var(--homa-muted)}
.leave-review-reason-v3516{padding:12px;border:1px solid var(--homa-border);border-radius:10px;margin-bottom:14px}.leave-review-reason-v3516 small{color:var(--homa-muted)}.leave-review-reason-v3516 p{margin:5px 0 0;line-height:1.8}
.leave-review-payload-v3516{display:grid;gap:7px}.leave-payload-head-v3516{display:flex;align-items:end;justify-content:space-between;gap:8px}.leave-payload-head-v3516>span{font-weight:800}.leave-payload-head-v3516>small{color:var(--homa-muted)}.leave-review-payload-v3516 pre{margin:0;max-height:320px;overflow:auto;direction:ltr;text-align:left;background:var(--homa-surface-subtle);border:1px solid var(--homa-border);border-radius:10px;padding:12px;white-space:pre-wrap}
.leave-decision-form-v3516{margin-top:16px}.leave-review-actions-v3516{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:12px}.leave-decision-result-v3516{display:flex;gap:9px;padding:12px;margin-top:14px;border:1px solid var(--homa-border);border-radius:10px;background:var(--homa-surface-subtle)}.leave-decision-result-v3516>i{color:var(--homa-primary);font-size:19px}.leave-decision-result-v3516 p{margin:4px 0 0;color:var(--homa-muted)}
@media(max-width:1150px){.leave-layout-v3516{grid-template-columns:1fr}.leave-side-v3516{grid-template-columns:repeat(3,minmax(0,1fr))}.leave-filter-v3516{flex-wrap:wrap}.leave-search-v3516{flex-basis:100%}}
@media(max-width:820px){.leave-side-v3516{grid-template-columns:1fr}.leave-status-strip-v3516{overflow:auto}.leave-status-strip-v3516>a{min-width:145px;flex:none}.leave-filter-v3516 select{flex:1 1 180px}.leave-review-summary-v3516{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.leave-filter-v3516>*{width:100%}.leave-search-v3516{min-width:0}.leave-review-summary-v3516{grid-template-columns:1fr}.leave-review-actions-v3516{align-items:stretch;flex-direction:column}.leave-review-actions-v3516>*{width:100%}}


/* =========================================================
   HOMA V3.5.1.7 · Requests / Recruitment fidelity + layout fixes
   - Cartable stays in a single grid row on desktop.
   - Requests filters never create a desktop horizontal scrollbar.
   - Board view follows Orchid Recruitment density and hierarchy.
   ========================================================= */
.requests-view-head-v3517{display:flex;justify-content:flex-start;margin-bottom:10px}
.request-view-toggle-v3517{width:max-content}
.requests-filter-v3517{
  width:100%;
  margin:0 0 14px;
  padding:10px;
  border:1px solid var(--homa-border);
  border-radius:12px;
  background:var(--homa-surface);
  box-shadow:var(--homa-shadow-card);
  overflow:visible;
}
.requests-filter-row-v3517{
  display:grid;
  grid-template-columns:minmax(280px,1fr) minmax(160px,190px) minmax(160px,190px) auto auto;
  align-items:center;
  gap:8px;
  min-width:0;
}
.requests-filter-row-v3517>*{min-width:0}
.requests-search-v3517{
  height:42px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 11px;
  border:1px solid var(--homa-border-strong,var(--homa-border));
  border-radius:9px;
  background:var(--homa-surface);
}
.requests-search-v3517:focus-within{border-color:var(--homa-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--homa-primary) 10%,transparent)}
.requests-search-v3517>i{font-size:18px;color:var(--homa-muted);flex:none;order:2}
.requests-search-v3517 input{order:1;min-width:0;flex:1;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;height:auto!important;padding:0!important;text-align:right}
.requests-filter-row-v3517 select{width:100%;height:42px}
.requests-filter-row-v3517 .btn{height:42px;white-space:nowrap}

.recruitment-kpis-v3517{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.recruitment-kpis-v3517>div{position:relative;overflow:hidden;background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:12px;padding:12px 14px;display:grid;gap:4px;min-height:78px}
.recruitment-kpis-v3517>div::after{content:"";position:absolute;inset-block:0;inset-inline-end:0;width:3px;background:var(--homa-primary)}
.recruitment-kpis-v3517 small{color:var(--homa-muted)}
.recruitment-kpis-v3517 b{font-size:22px;line-height:1}
.request-pipeline-v3517{display:flex;gap:10px;overflow-x:auto;padding:2px 0 8px;align-items:flex-start;scrollbar-width:thin}
.pipeline-column-v3517{flex:0 0 292px;background:var(--homa-surface-subtle);border:1px solid var(--homa-border);border-radius:12px;overflow:hidden}
.pipeline-column-v3517>header{display:flex;align-items:center;justify-content:space-between;padding:10px 11px;border-bottom:1px solid var(--homa-border);background:var(--homa-surface);position:sticky;top:0;z-index:1}
.pipeline-column-v3517>header span{display:flex;align-items:center;gap:7px;font-weight:800}
.pipeline-column-v3517>header span>i{width:28px;height:28px;border-radius:8px;background:var(--homa-primary-soft);color:var(--homa-primary);display:grid;place-items:center}
.pipeline-column-v3517>header em{font-style:normal;min-width:25px;height:24px;padding:0 7px;border-radius:999px;background:var(--homa-surface-subtle);color:var(--homa-muted);display:grid;place-items:center;font-weight:800}
.pipeline-cards-v3517{display:grid;gap:8px;padding:8px;max-height:calc(100vh - 330px);overflow:auto}
.candidate-card-v3517{background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:10px;padding:10px;box-shadow:0 1px 2px rgba(19,33,68,.03)}
.candidate-card-v3517:hover{border-color:color-mix(in srgb,var(--homa-primary) 24%,var(--homa-border));box-shadow:0 5px 14px rgba(28,45,85,.06)}
.candidate-card-top-v3517{display:flex;align-items:center;justify-content:space-between;gap:7px}
.candidate-card-v3517 h3{font-size:13px;margin:8px 0 3px}.candidate-card-v3517 p{margin:0;color:var(--homa-muted);font-size:13px}
.candidate-meta-v3517{display:grid;gap:5px;margin-top:9px;color:var(--homa-muted);font-size:13px}
.candidate-meta-v3517 span{display:flex;align-items:center;gap:5px;min-width:0}
.pipeline-due-v3517{display:flex;align-items:center;gap:5px;margin-top:8px;padding:6px 8px;border-radius:8px;background:var(--homa-surface-subtle);font-size:13px}
.pipeline-due-v3517.overdue{background:#fff0f1;color:#c63847}
.candidate-open-v3517{display:flex;align-items:center;justify-content:space-between;margin-top:9px;padding-top:8px;border-top:1px solid var(--homa-border);font-size:13px;font-weight:800;color:var(--homa-primary)}
.pipeline-empty-v3517{padding:20px 10px;text-align:center;color:var(--homa-muted);font-size:13px}

@media(max-width:1100px){
  .requests-filter-row-v3517{grid-template-columns:minmax(250px,1fr) 1fr 1fr auto}
  .requests-filter-row-v3517>.btn-ghost{grid-column:1/-1;justify-self:start;height:auto}
  .recruitment-kpis-v3517{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .requests-filter-row-v3517{grid-template-columns:1fr}
  .requests-filter-row-v3517>.btn-ghost{grid-column:auto;justify-self:stretch}
  .requests-filter-row-v3517 .btn{width:100%}
  .requests-view-head-v3517{justify-content:stretch}.request-view-toggle-v3517{width:100%}
  .recruitment-kpis-v3517{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){.recruitment-kpis-v3517{grid-template-columns:1fr}}

/* =========================================================
   HOMA V3.5.1.8 · Orchid Reports / Report Builder fidelity
   ========================================================= */
.badge.neutral{background:var(--homa-surface-subtle);color:var(--homa-muted);border:1px solid var(--homa-border)}
.orchid-reports-v3518{display:grid;grid-template-columns:minmax(0,1fr) 250px;grid-template-areas:"main side";gap:16px;align-items:start}
.report-library-sidebar-v3518{grid-area:side;background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:14px;box-shadow:var(--homa-shadow-card);padding:12px;position:sticky;top:82px}
.report-library-main-v3518{grid-area:main;min-width:0;display:grid;gap:12px}
.report-side-title{padding:5px 8px 9px;color:var(--homa-text);font-size:13px}.report-side-title.saved{border-top:1px solid var(--homa-border);margin-top:10px;padding-top:13px}
.report-library-sidebar-v3518 nav{display:grid;gap:4px}.report-library-sidebar-v3518 nav a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border-radius:9px;color:var(--homa-text);text-decoration:none;font-size:13px}.report-library-sidebar-v3518 nav a:hover{background:var(--homa-surface-subtle)}.report-library-sidebar-v3518 nav a.active{background:var(--homa-primary-soft);color:var(--homa-primary);font-weight:800}.report-library-sidebar-v3518 nav em{font-style:normal;min-width:25px;text-align:center;color:var(--homa-muted)}
.report-saved-views-v3518{display:grid;gap:4px}.report-saved-views-v3518 a{display:grid;grid-template-columns:24px minmax(0,1fr);gap:7px;align-items:center;padding:8px 9px;border-radius:9px;color:var(--homa-muted);text-decoration:none;font-size:13px}.report-saved-views-v3518 a:hover{background:var(--homa-surface-subtle);color:var(--homa-text)}.report-saved-views-v3518 i{color:var(--homa-primary);font-size:16px}
.report-toolbar-v3518{background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:14px;padding:10px;display:grid;grid-template-columns:minmax(260px,1fr) auto 180px;gap:8px;align-items:center;box-shadow:var(--homa-shadow-card)}
.report-search-v3518{height:40px;border:1px solid var(--homa-border);border-radius:10px;background:var(--homa-surface);display:flex;align-items:center;gap:8px;padding:0 11px;min-width:0}.report-search-v3518:focus-within{border-color:color-mix(in srgb,var(--homa-primary) 60%,var(--homa-border));box-shadow:0 0 0 3px color-mix(in srgb,var(--homa-primary) 11%,transparent)}.report-search-v3518 i{color:var(--homa-muted);font-size:17px;flex:0 0 auto}.report-search-v3518 input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;height:auto!important;width:100%;min-width:0;color:var(--homa-text)}.report-toolbar-v3518>select{height:40px}
.report-list-v3518{background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:14px;box-shadow:var(--homa-shadow-card);overflow:hidden}
.report-list-head-v3518,.report-row-v3518{display:grid;grid-template-columns:minmax(280px,2.1fr) minmax(150px,1fr) minmax(130px,.85fr) minmax(130px,.85fr) 120px 110px;gap:10px;align-items:center}
.report-list-head-v3518{padding:10px 14px;background:var(--homa-surface-subtle);border-bottom:1px solid var(--homa-border);color:var(--homa-muted);font-size:13px;font-weight:700}
.report-row-v3518{padding:12px 14px;border-bottom:1px solid var(--homa-border);min-height:70px}.report-row-v3518:last-child{border-bottom:0}.report-row-v3518:hover{background:color-mix(in srgb,var(--homa-surface-subtle) 65%,transparent)}
.report-main-v3518{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center;min-width:0}.report-icon-v3518{width:38px;height:38px;border-radius:10px;background:var(--homa-primary-soft);color:var(--homa-primary);display:grid;place-items:center;font-size:18px}.report-main-v3518>div{min-width:0;display:grid;gap:3px}.report-main-v3518 b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-main-v3518 small,.report-source-v3518 small{font-size:13px;color:var(--homa-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-source-v3518{display:grid;gap:3px;min-width:0}.report-owner-v3518,.report-last-run-v3518{font-size:13px;color:var(--homa-muted)}.report-status-v3518{display:flex;align-items:center}.report-actions-v3518{display:flex;align-items:center;justify-content:flex-end;gap:5px}
.report-empty-v3518{min-height:250px;display:grid;place-items:center;align-content:center;gap:8px;color:var(--homa-muted);padding:30px}.report-empty-v3518 i{font-size:30px;color:var(--homa-border-strong)}.report-empty-v3518 b{color:var(--homa-text);font-size:14px}.report-empty-v3518 span{font-size:13px}
.report-builder-v3518{width:min(900px,calc(100vw - 36px))!important}.report-builder-v3518 .drawer-body{padding-top:12px}
.report-wizard-steps-v3518{display:grid;grid-template-columns:repeat(5,1fr);gap:0;border-bottom:1px solid var(--homa-border);margin:0 0 22px}.report-wizard-steps-v3518 button{position:relative;border:0;background:transparent;color:var(--homa-muted);padding:10px 6px 14px;display:flex;align-items:center;justify-content:center;gap:7px;font:inherit;font-size:13px;cursor:pointer}.report-wizard-steps-v3518 button::after{content:"";position:absolute;right:0;left:0;bottom:-1px;height:2px;background:transparent}.report-wizard-steps-v3518 button b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--homa-surface-subtle);border:1px solid var(--homa-border);font-size:13px}.report-wizard-steps-v3518 button.active{color:var(--homa-primary);font-weight:800}.report-wizard-steps-v3518 button.active::after{background:var(--homa-primary)}.report-wizard-steps-v3518 button.active b{background:var(--homa-primary);border-color:var(--homa-primary);color:#fff}
.report-builder-step-v3518>h3{margin:0 0 5px;font-size:17px}.report-builder-step-v3518>p{margin:0 0 18px;color:var(--homa-muted);font-size:13px;line-height:1.9}
.report-source-grid-v3518{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-source-card-v3518{cursor:pointer}.report-source-card-v3518>input{position:absolute;opacity:0;pointer-events:none}.report-source-card-v3518>span{min-height:92px;border:1px solid var(--homa-border);border-radius:12px;padding:13px;display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-items:center;background:var(--homa-surface)}.report-source-card-v3518>span>i{grid-row:1/3;width:36px;height:36px;border-radius:9px;background:var(--homa-primary-soft);color:var(--homa-primary);display:grid;place-items:center;font-size:18px}.report-source-card-v3518 b{font-size:13px}.report-source-card-v3518 small{font-size:13px;color:var(--homa-muted);line-height:1.7}.report-source-card-v3518>input:checked+span{border-color:var(--homa-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--homa-primary) 10%,transparent);background:color-mix(in srgb,var(--homa-primary-soft) 35%,var(--homa-surface))}
.report-type-grid-v3518{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.report-type-grid-v3518 label{cursor:pointer}.report-type-grid-v3518 input{position:absolute;opacity:0;pointer-events:none}.report-type-grid-v3518 span{border:1px solid var(--homa-border);border-radius:12px;padding:18px 12px;display:grid;justify-items:center;gap:7px;text-align:center;background:var(--homa-surface)}.report-type-grid-v3518 i{font-size:25px;color:var(--homa-primary)}.report-type-grid-v3518 b{font-size:13px}.report-type-grid-v3518 small{font-size:13px;color:var(--homa-muted)}.report-type-grid-v3518 input:checked+span{border-color:var(--homa-primary);background:var(--homa-primary-soft)}
.report-metrics-v3518{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.report-metrics-v3518 label{cursor:pointer}.report-metrics-v3518 label[hidden]{display:none!important}.report-metrics-v3518 span{display:flex;align-items:center;gap:8px;border:1px solid var(--homa-border);border-radius:10px;padding:11px 12px;background:var(--homa-surface)}.report-metrics-v3518 label>input:checked+span{border-color:var(--homa-primary);background:var(--homa-primary-soft);color:var(--homa-primary)}.report-metrics-v3518 b{font-size:13px}.report-filter-grid-v3518{grid-template-columns:1fr 1fr}.report-wizard-actions-v3518{display:flex;align-items:center;border-top:1px solid var(--homa-border);padding-top:14px;margin-top:22px}.wizard-spacer-v3518{flex:1}
.report-result-drawer-v3518{width:min(930px,calc(100vw - 36px))!important}.report-result-actions-v3518{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.report-result-actions-v3518>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.report-summary-v3518{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;margin-bottom:14px}.report-summary-v3518>div{border:1px solid var(--homa-border);border-radius:11px;padding:12px;background:var(--homa-surface-subtle);display:grid;gap:5px}.report-summary-v3518 small{font-size:13px;color:var(--homa-muted)}.report-summary-v3518 b{font-size:18px;color:var(--homa-text)}
.report-chart-v3518{border:1px solid var(--homa-border);border-radius:12px;padding:14px;margin-bottom:14px;display:grid;gap:9px}.report-chart-row-v3518{display:grid;grid-template-columns:150px minmax(0,1fr) 130px;gap:10px;align-items:center;font-size:13px}.report-chart-row-v3518>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-chart-row-v3518>div{height:10px;background:var(--homa-surface-subtle);border-radius:999px;overflow:hidden}.report-chart-row-v3518>div>i{display:block;height:100%;width:var(--report-bar);background:var(--homa-primary);border-radius:inherit}.report-chart-row-v3518>b{text-align:left;font-size:13px}.report-result-table-v3518{border:1px solid var(--homa-border);border-radius:12px;margin-top:4px}.report-danger-zone-v3518{display:flex;gap:8px;justify-content:flex-end;border-top:1px solid var(--homa-border);padding-top:14px;margin-top:18px}.report-danger-zone-v3518 form{margin:0}
@media(max-width:1180px){.report-list-head-v3518,.report-row-v3518{grid-template-columns:minmax(260px,2fr) minmax(140px,1fr) 120px 110px}.report-list-head-v3518>*:nth-child(3),.report-row-v3518>*:nth-child(3),.report-list-head-v3518>*:nth-child(4),.report-row-v3518>*:nth-child(4){display:none}}
@media(max-width:900px){.orchid-reports-v3518{grid-template-columns:1fr;grid-template-areas:"side" "main"}.report-library-sidebar-v3518{position:static}.report-library-sidebar-v3518 nav{grid-template-columns:repeat(2,minmax(0,1fr))}.report-saved-views-v3518{grid-template-columns:repeat(2,minmax(0,1fr))}.report-toolbar-v3518{grid-template-columns:1fr auto}.report-toolbar-v3518>select{grid-column:1/-1}.report-list-head-v3518{display:none}.report-row-v3518{grid-template-columns:minmax(0,1fr) auto;gap:8px}.report-row-v3518>*{display:none!important}.report-row-v3518>.report-main-v3518,.report-row-v3518>.report-actions-v3518{display:grid!important}.report-row-v3518>.report-actions-v3518{display:flex!important}.report-source-grid-v3518{grid-template-columns:1fr}}
@media(max-width:700px){.report-library-sidebar-v3518 nav,.report-saved-views-v3518{grid-template-columns:1fr}.report-toolbar-v3518{grid-template-columns:1fr}.report-toolbar-v3518>.btn,.report-toolbar-v3518>select{width:100%;grid-column:auto}.report-wizard-steps-v3518{grid-template-columns:1fr}.report-wizard-steps-v3518 button{display:none}.report-wizard-steps-v3518 button.active{display:flex}.report-type-grid-v3518,.report-metrics-v3518,.report-filter-grid-v3518{grid-template-columns:1fr}.report-chart-row-v3518{grid-template-columns:1fr}.report-chart-row-v3518>b{text-align:right}.report-result-actions-v3518{align-items:flex-start;flex-direction:column}.report-result-actions-v3518 .page-actions{width:100%}}


/* V3.6.0.2 — hall schedule periods / exceptions */
.hall-card-actions{display:flex;align-items:center;gap:6px;margin-inline-start:auto}.hall-schedule-drawer{width:min(720px,94vw)}
.hall-schedule-tabs{display:flex;gap:8px;padding:10px 0 18px;border-bottom:1px solid var(--border,#e6e8ef);margin-bottom:18px}.hall-schedule-tabs span{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:10px;background:var(--surface-soft,#f7f7fb);color:var(--muted,#697386);font-weight:700}.hall-schedule-tabs span.active{background:rgba(111,91,255,.10);color:var(--primary,#6f5bff)}
.hall-schedule-section{display:grid;gap:14px}.section-head-inline h3{margin:0 0 4px}.section-head-inline p{margin:0;color:var(--muted,#7c8498);font-size:.9rem}.schedule-period-list{display:grid;gap:8px}.schedule-period-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--border,#e5e8f0);border-radius:12px;padding:11px 12px;background:var(--surface,#fff)}.schedule-period-row>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.schedule-period-row b{font-size:.9rem}.schedule-period-row span{color:var(--primary,#6f5bff);font-weight:800;direction:ltr}.schedule-period-row small{color:var(--muted,#7c8498)}.empty-inline{padding:16px;border:1px dashed var(--border,#d9deea);border-radius:12px;text-align:center;color:var(--muted,#7c8498)}.hall-schedule-form{padding:14px;border:1px solid var(--border,#e5e8f0);border-radius:14px;background:var(--surface-soft,#fafbff)}
.drawer-inline-note{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--border,#e4e8f2);border-radius:12px;background:var(--surface-soft,#f8f9fd);margin-top:18px}.drawer-inline-note>i{font-size:1.25rem;color:var(--primary,#6f5bff)}.drawer-inline-note>div{display:grid;gap:2px;flex:1}.drawer-inline-note span{font-size:.84rem;color:var(--muted,#7c8498)}
@media(max-width:720px){.schedule-period-row{align-items:flex-start}.schedule-period-row>div{display:grid;gap:3px}.hall-schedule-tabs{overflow:auto;white-space:nowrap}.drawer-inline-note{align-items:flex-start;flex-wrap:wrap}}
.schedule-row-actions{display:flex;align-items:center;gap:4px}.schedule-row-actions form{margin:0}

/* V3.6.0.3 — hall-card actions / scheduling polish */
.orchid-product-grid .hall-product{grid-template-columns:54px minmax(0,1fr) 46px}
.hall-card-actions{display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:stretch;gap:7px;margin-inline-start:0;padding-inline-start:9px;border-inline-start:1px solid var(--homa-border,var(--border,#e5e8f0))}
.hall-card-actions .icon-btn{width:34px;height:34px;flex:0 0 34px}
@media(max-width:720px){.orchid-product-grid .hall-product{grid-template-columns:50px minmax(0,1fr) 42px}.hall-card-actions{padding-inline-start:6px}}

/* =========================================================
   HOMA V3.6.0.4 · UI consistency / request operations
   ========================================================= */
/* Native select menus must keep legible text on hover/open in both themes. */
select option,
select optgroup{background:#fff!important;color:#1f2738!important;}
select option:checked{background:#eceaff!important;color:#332c76!important;}

/* Sidebar groups use a real transition instead of display:none/display:block. */
.sidebar .nav-children{
  display:block!important;
  max-height:0;
  opacity:0;
  overflow:hidden;
  padding-top:0;
  padding-bottom:0;
  transition:max-height .26s ease,opacity .18s ease,padding .26s ease;
}
.sidebar .nav-group.open>.nav-children{
  max-height:720px;
  opacity:1;
  padding-top:3px;
  padding-bottom:3px;
}
html.sidebar-prefold .sidebar .nav-children,
body.sidebar-folded .sidebar .nav-children{max-height:0!important;opacity:0!important;padding-top:0!important;padding-bottom:0!important;}

.requests-view-head-v3604{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.request-view-toggle-v3604{width:max-content}
.requests-result-count-v3604{display:inline-flex;align-items:baseline;gap:5px;color:var(--homa-muted);font-size:13px;white-space:nowrap}
.requests-result-count-v3604 b{font-size:18px;color:var(--homa-text)}
.requests-filter-v3604{margin-bottom:12px}
.requests-filter-row-v3604{display:grid;grid-template-columns:minmax(260px,1.4fr) minmax(150px,.65fr) minmax(160px,.65fr) auto auto auto;gap:8px;align-items:center}
.requests-filter-row-v3604 .search-field{max-width:none!important;width:100%!important}
.requests-filter-row-v3604 select,.requests-filter-row-v3604 .btn{height:42px}
.requests-attention-filter-v3604{position:relative;cursor:pointer;margin:0}
.requests-attention-filter-v3604>input{position:absolute;opacity:0;pointer-events:none}
.requests-attention-filter-v3604>span{height:42px;padding:0 12px;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--homa-border);border-radius:9px;background:var(--homa-surface);color:var(--homa-muted);white-space:nowrap;font-size:13px;font-weight:700;transition:.16s ease}
.requests-attention-filter-v3604>input:checked+span{border-color:#e0a23b;background:#fff7e8;color:#9a6409;box-shadow:0 0 0 2px color-mix(in srgb,#e0a23b 10%,transparent)}

.request-list-card-v3604{background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:14px;box-shadow:var(--homa-shadow-card);overflow:hidden;min-width:0}
.request-list-head-v3604,.request-row-v3604{display:grid;grid-template-columns:minmax(250px,1.5fr) minmax(145px,.8fr) minmax(210px,1fr) minmax(190px,.9fr) minmax(120px,.58fr) minmax(125px,.62fr) 76px;gap:12px;align-items:center}
.request-list-head-v3604{min-height:43px;padding:0 14px;background:var(--homa-surface-subtle);border-bottom:1px solid var(--homa-border);font-size:13px;font-weight:800;color:var(--homa-muted)}
.request-row-v3604{min-height:82px;padding:11px 14px;border-bottom:1px solid var(--homa-border);transition:background .14s ease,box-shadow .14s ease}
.request-row-v3604:last-child{border-bottom:0}
.request-row-v3604:hover{background:color-mix(in srgb,var(--homa-surface-subtle) 55%,transparent)}
.request-row-v3604.needs-attention{box-shadow:inset -3px 0 #d99b2b}
.request-list-head-v3604.applicant,.request-row-v3604.applicant{grid-template-columns:minmax(260px,1.7fr) minmax(230px,1fr) minmax(120px,.65fr) minmax(125px,.65fr) 76px}
.request-main-v3604{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center;min-width:0}
.request-type-icon-v3604{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:18px}
.request-main-v3604>div:last-child,.request-applicant-v3604,.request-schedule-v3604,.request-workflow-v3604{min-width:0;display:grid;gap:4px}
.request-main-v3604 b,.request-applicant-v3604 b,.request-schedule-v3604 b,.request-workflow-v3604 b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--homa-text)}
.request-main-v3604 small,.request-applicant-v3604 small,.request-schedule-v3604 small,.request-workflow-v3604 small{font-size:13px;color:var(--homa-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.request-schedule-v3604 b,.request-schedule-v3604 small,.request-workflow-v3604 small{display:flex;align-items:center;gap:4px}
.request-workflow-v3604 .overdue{color:#c63847;font-weight:800}
.request-status-v3604{display:flex;align-items:center}.request-updated-v3604{font-size:13px;color:var(--homa-muted)}
.request-actions-v3604{display:flex;align-items:center;justify-content:flex-end;gap:4px}.request-actions-v3604 .icon-btn{width:34px;height:34px;min-width:34px}
.request-list-empty-v3604{padding:24px}

.ui-modal-backdrop-v3604{position:fixed;inset:0;z-index:5200;display:flex;align-items:center;justify-content:center;padding:22px;background:rgba(20,24,48,.46);backdrop-filter:blur(3px)}
.ui-modal-backdrop-v3604[hidden]{display:none!important}.ui-modal-dismiss-v3604{position:absolute;inset:0;border:0;background:transparent;cursor:default}
.ui-modal-v3604{position:relative;z-index:2;width:min(720px,calc(100vw - 36px));max-height:calc(100vh - 44px);display:flex;flex-direction:column;background:var(--homa-surface);border:1px solid var(--homa-border);border-radius:16px;box-shadow:0 28px 90px rgba(15,22,55,.28);overflow:hidden;animation:homaModalInV3604 .18s ease both}
@keyframes homaModalInV3604{from{opacity:0;transform:translateY(10px) scale(.988)}to{opacity:1;transform:none}}
.ui-modal-head-v3604{min-height:66px;padding:12px 16px;border-bottom:1px solid var(--homa-border);display:flex;align-items:center;justify-content:space-between;gap:12px}
.ui-modal-head-v3604 h2{font-size:16px;margin:2px 0 0}.ui-modal-head-v3604 small{color:var(--homa-muted);font-size:13px}
.ui-modal-body-v3604{padding:16px;overflow:auto}.ui-modal-actions-v3604{padding:11px 16px;border-top:1px solid var(--homa-border);display:flex;justify-content:flex-end;gap:8px;background:var(--homa-surface-subtle)}
body.ui-modal-open-v3604{overflow:hidden}
.request-quick-grid-v3604{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.request-quick-grid-v3604>div{min-width:0;padding:11px 12px;border:1px solid var(--homa-border);border-radius:10px;background:var(--homa-surface-subtle);display:grid;gap:4px}
.request-quick-grid-v3604 span{font-size:13px;color:var(--homa-muted)}.request-quick-grid-v3604 b{font-size:13px;color:var(--homa-text);font-weight:800}.request-quick-grid-v3604 b small{font-weight:500;color:var(--homa-muted)}

/* CRUD forms use the same centered modal contract even when older pages still emit orchid-drawer markup. */
.drawer-backdrop.open{align-items:center!important;justify-content:center!important}
.drawer-backdrop .orchid-drawer{border-radius:16px!important;border:1px solid var(--homa-border)!important}
.drawer-backdrop .drawer-head{min-height:66px!important;padding:12px 16px!important}
.drawer-backdrop .drawer-actions{background:var(--homa-surface-subtle);border-top:1px solid var(--homa-border);margin:16px -18px -18px!important;padding:11px 18px!important}

@media(max-width:1180px){
  .requests-filter-row-v3604{grid-template-columns:minmax(240px,1fr) minmax(150px,.6fr) minmax(160px,.6fr) auto auto}.requests-filter-row-v3604>.btn-ghost{grid-column:1/-1;justify-self:start;height:auto}
  .request-list-head-v3604,.request-row-v3604{grid-template-columns:minmax(240px,1.4fr) minmax(140px,.7fr) minmax(190px,.9fr) minmax(180px,.8fr) minmax(115px,.55fr) 70px}.request-list-head-v3604>span:nth-child(6),.request-updated-v3604{display:none}
  .request-list-head-v3604.applicant,.request-row-v3604.applicant{grid-template-columns:minmax(250px,1.5fr) minmax(220px,1fr) minmax(115px,.6fr) 70px}.request-list-head-v3604.applicant>span:nth-child(4),.request-row-v3604.applicant .request-updated-v3604{display:none}
}
@media(max-width:820px){
  .requests-view-head-v3604{align-items:stretch;flex-direction:column}.request-view-toggle-v3604{width:100%}.requests-result-count-v3604{align-self:flex-end}
  .requests-filter-row-v3604{grid-template-columns:1fr 1fr}.requests-filter-row-v3604 .requests-search-v3604{grid-column:1/-1}.requests-filter-row-v3604>.btn-ghost{grid-column:auto;justify-self:stretch;height:42px}.requests-attention-filter-v3604>span{width:100%;justify-content:center}
  .request-list-head-v3604{display:none}.request-row-v3604,.request-row-v3604.applicant{grid-template-columns:1fr auto;gap:10px;padding:13px}.request-main-v3604{grid-column:1/2}.request-status-v3604{grid-column:2/3;grid-row:1}.request-applicant-v3604,.request-schedule-v3604,.request-workflow-v3604{grid-column:1/-1;padding-top:8px;border-top:1px dashed var(--homa-border)}.request-updated-v3604{display:block!important;grid-column:1/2}.request-actions-v3604{grid-column:2/3}.request-row-v3604.applicant .request-updated-v3604{display:block!important}
}
@media(max-width:560px){
  .requests-filter-row-v3604{grid-template-columns:1fr}.requests-filter-row-v3604 .requests-search-v3604{grid-column:auto}.requests-filter-row-v3604 .btn{width:100%}
  .request-quick-grid-v3604{grid-template-columns:1fr}.ui-modal-backdrop-v3604{padding:10px}.ui-modal-v3604{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}
}

/* HOMA V3.6.0.4 · Planner operational dashboard */
.planner-title-v3604{align-items:center}.planner-title-meta-v3604{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.planner-title-meta-v3604>span{height:34px;padding:0 10px;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--homa-border);border-radius:9px;background:var(--homa-surface);color:var(--homa-muted);font-size:13px}.planner-title-meta-v3604 i{color:var(--homa-primary)}
.planner-kpis-v3604 .kpi-card:first-child{border-color:color-mix(in srgb,#d99b2b 45%,var(--homa-border))}.planner-kpis-v3604 .kpi-card:first-child .kpi-top i{color:#a96f0d;background:#fff5df}
.planner-dashboard-grid-v3604{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);gap:14px;align-items:start;margin-bottom:14px}.planner-dashboard-grid-v3604 .card{margin:0;min-width:0}.planner-dashboard-grid-v3604 .card-head>div{display:grid;gap:3px}.planner-dashboard-grid-v3604 .card-head small{font-size:13px;color:var(--homa-muted);font-weight:400}
.planner-action-list-v3604{display:grid}.planner-action-row-v3604{display:grid;grid-template-columns:38px minmax(0,1fr) 105px 125px;gap:10px;align-items:center;min-height:66px;padding:9px 12px;border-bottom:1px solid var(--homa-border);color:var(--homa-text);transition:.14s ease}.planner-action-row-v3604:last-child{border-bottom:0}.planner-action-row-v3604:hover{background:var(--homa-surface-subtle)}.planner-action-row-v3604.overdue{box-shadow:inset -3px 0 #d34b59}.planner-action-row-v3604.due-soon{box-shadow:inset -3px 0 #d99b2b}.planner-action-icon-v3604{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:17px}.planner-action-row-v3604.overdue .planner-action-icon-v3604{background:#fff0f1;color:#c63847}.planner-action-row-v3604.due-soon .planner-action-icon-v3604{background:#fff6e4;color:#a66b08}.planner-action-row-v3604>div{min-width:0;display:grid;gap:3px}.planner-action-row-v3604 b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.planner-action-row-v3604 small{font-size:13px;color:var(--homa-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.planner-action-code-v3604{font-size:13px;color:var(--homa-muted)}.planner-action-due-v3604{text-align:left}.planner-action-row-v3604.overdue .planner-action-due-v3604{color:#c63847;font-weight:800}
.planner-timeline-v3604{display:grid;padding:0 12px}.planner-timeline-v3604>a{position:relative;display:grid;grid-template-columns:50px 16px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:66px;color:var(--homa-text)}.planner-timeline-v3604>a:not(:last-child){border-bottom:1px solid var(--homa-border)}.planner-timeline-v3604 time{font-size:13px;color:var(--homa-muted);font-weight:800}.planner-timeline-dot-v3604{position:relative;width:10px;height:10px;border:2px solid var(--homa-primary);border-radius:50%;background:var(--homa-surface)}.planner-timeline-dot-v3604::after{content:"";position:absolute;top:9px;right:2px;width:2px;height:56px;background:var(--homa-border)}.planner-timeline-v3604>a:last-of-type .planner-timeline-dot-v3604::after{display:none}.planner-timeline-v3604>a>div{min-width:0;display:grid;gap:3px}.planner-timeline-v3604 b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.planner-timeline-v3604 small{font-size:13px;color:var(--homa-muted)}
.planner-upcoming-card-v3604{margin-top:0}.planner-upcoming-list-v3604>a{grid-template-columns:minmax(0,1fr) 130px 150px}
@media(max-width:1050px){.planner-dashboard-grid-v3604{grid-template-columns:1fr}.planner-today-card-v3604{order:-1}}
@media(max-width:700px){.planner-title-v3604{align-items:flex-start}.planner-title-meta-v3604{width:100%}.planner-action-row-v3604{grid-template-columns:34px minmax(0,1fr) auto}.planner-action-code-v3604{display:none}.planner-action-due-v3604{grid-column:2/4;text-align:right}.planner-timeline-v3604>a{grid-template-columns:46px 14px minmax(0,1fr)}.planner-timeline-v3604>a>.badge{grid-column:3}.planner-upcoming-list-v3604>a{grid-template-columns:1fr}.planner-upcoming-list-v3604>a>span,.planner-upcoming-list-v3604>a>small{justify-self:start}}

/* HOMA V3.6.0.4 · settings modal editors */
.settings-editor-launch-v3604{display:flex;justify-content:flex-start;margin:12px 0 22px}
.settings-modal-panel-v3604{width:min(920px,calc(100vw - 32px));max-height:min(86vh,900px)}
.settings-modal-body-v3604{overflow:auto;padding:20px 22px 24px}
.settings-form-modal-v3604{margin:0}
.settings-form-modal-v3604 .ui-form-actions{position:sticky;bottom:-24px;margin:18px -22px -24px;padding:14px 22px;background:var(--homa-surface,#fff);border-top:1px solid var(--homa-border,#e5e7eb);z-index:2}
@media(max-width:700px){.settings-modal-panel-v3604{width:calc(100vw - 18px);max-height:92vh}.settings-modal-body-v3604{padding:16px}.settings-form-modal-v3604 .ui-form-actions{bottom:-16px;margin:16px -16px -16px;padding:12px 16px}}

/* =========================================================
   HOMA V3.6.0.5 · calendar / cards / matrix / native combos
   ========================================================= */
/* Chromium/Windows may inherit dark popup palette from the page even when the
   select itself is light. Force native popup controls to use a light palette. */
html select,
html select option,
html select optgroup{
  color-scheme:light!important;
}
html select option,
html select optgroup{
  background-color:#fff!important;
  color:#1f2738!important;
  -webkit-text-fill-color:#1f2738!important;
}
html select option:hover,
html select option:focus,
html select option:active,
html select option:checked{
  background:#e9e7ff!important;
  color:#27214f!important;
  -webkit-text-fill-color:#27214f!important;
}

/* Program cards share the hall-card visual grammar and use their own SVG. */
.orchid-product-grid .program-product-v3605{grid-template-columns:54px minmax(0,1fr) 46px}
.program-thumb-v3605{position:relative;overflow:visible!important;background:var(--homa-primary-soft)!important}
.program-thumb-v3605 img{width:30px;height:30px;display:block;object-fit:contain}
.program-card-actions-v3605{display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:stretch;gap:7px;padding-inline-start:9px;border-inline-start:1px solid var(--homa-border)}
.program-card-actions-v3605 .icon-btn{width:34px;height:34px;flex:0 0 34px}
.program-product-v3605 .product-info>small{color:var(--homa-muted);font-size:13px}
@media(max-width:720px){.orchid-product-grid .program-product-v3605{grid-template-columns:50px minmax(0,1fr) 42px}.program-card-actions-v3605{padding-inline-start:6px}}

/* Program day calendar: denser hall columns, sticky header and sticky time axis. */
.resource-calendar{overflow:hidden!important}
.resource-scroll{
  width:100%!important;
  overflow:auto!important;
  overflow-anchor:none;
  max-height:calc(100vh - 245px)!important;
  min-height:420px;
  height:auto!important;
  border-radius:inherit;
  position:relative;
}
.resource-header{
  grid-template-columns:60px repeat(var(--hall-count,6),minmax(128px,1fr))!important;
  position:sticky!important;
  top:0!important;
  z-index:30!important;
  background:var(--homa-surface)!important;
}
.resource-body{grid-template-columns:60px repeat(var(--hall-count,6),minmax(128px,1fr))!important;align-items:start}
.time-head{
  min-width:60px!important;
  width:60px!important;
  height:54px!important;
  padding:7px!important;
  position:sticky!important;
  right:0!important;
  z-index:34!important;
  background:var(--homa-surface-subtle)!important;
  box-shadow:-1px 0 0 var(--homa-border);
}
.hall-head{min-width:128px!important;height:54px!important;padding:7px 8px!important;background:var(--homa-surface-subtle)!important}
.hall-head b{font-size:13px;line-height:1.45}.hall-head small{font-size:13px}
.time-axis{
  min-width:60px!important;
  width:60px!important;
  position:sticky!important;
  right:0!important;
  z-index:22!important;
  background:var(--homa-surface)!important;
  box-shadow:-1px 0 0 var(--homa-border),-7px 0 14px rgba(31,39,56,.035);
}
.time-axis span{right:7px!important;font-size:13px!important}
.hall-track{min-width:128px!important}
.calendar-event{inset-inline:5px!important;padding:5px 6px!important}
.calendar-event b{font-size:13px!important}.calendar-event small,.calendar-event em{font-size:13px!important}
@media(max-width:900px){.resource-scroll{max-height:calc(100vh - 215px)!important}.resource-header,.resource-body{grid-template-columns:58px repeat(var(--hall-count,6),minmax(122px,1fr))!important}.hall-head,.hall-track{min-width:122px!important}.time-head,.time-axis{width:58px!important;min-width:58px!important}}

/* Permission group fold/unfold affordance must remain obvious on dense tables. */
.permission-group-chevron{
  width:28px!important;height:28px!important;min-width:28px!important;
  display:grid!important;place-items:center!important;
  border:1px solid #d8ddec!important;border-radius:8px!important;
  background:#fff!important;color:#6658e8!important;
  font-size:20px!important;font-weight:900!important;
  box-shadow:0 1px 2px rgba(31,39,56,.08)!important;
  transition:transform .18s ease,background .16s ease,border-color .16s ease!important;
}
.permission-group-toggle:hover .permission-group-chevron{background:#f0eeff!important;border-color:#bdb6ff!important}
.permission-group-row.is-collapsed .permission-group-chevron{transform:rotate(180deg)!important}

/* Full admin business calendar. */
.admin-calendar-card-v3605 .card-head>div{display:grid;gap:3px}.admin-calendar-card-v3605 .card-head .help{margin:0}
.admin-calendar-toolbar-v3605{display:flex;align-items:center;justify-content:center;gap:9px;margin-bottom:14px}
.admin-calendar-toolbar-v3605>div{min-width:170px;text-align:center;display:grid;gap:2px}.admin-calendar-toolbar-v3605 b{font-size:17px}.admin-calendar-toolbar-v3605 small{font-size:13px;color:var(--homa-muted)}
.working-month-v3605{border:1px solid var(--homa-border);border-radius:13px;overflow:hidden;background:var(--homa-surface)}
.working-month-weekdays-v3605,.working-month-grid-v3605{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.working-month-weekdays-v3605 span{min-height:38px;display:grid;place-items:center;background:var(--homa-surface-subtle);border-left:1px solid var(--homa-border);font-size:13px;font-weight:800;color:var(--homa-muted)}
.working-day-v3605{min-height:102px;padding:9px;border-left:1px solid var(--homa-border);border-top:1px solid var(--homa-border);display:grid;align-content:start;gap:7px;color:var(--homa-text);background:var(--homa-surface);transition:.14s ease;min-width:0}
.working-day-v3605:hover{background:color-mix(in srgb,var(--homa-primary-soft) 52%,var(--homa-surface));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--homa-primary) 25%,transparent)}
.working-day-v3605.empty{background:var(--homa-surface-subtle);pointer-events:none}
.working-day-v3605.holiday{background:#fff5f5}.working-day-v3605.off{background:#f7f8fb}.working-day-v3605.today{box-shadow:inset 0 0 0 2px var(--homa-primary)}
.working-day-head-v3605{display:flex;align-items:center;justify-content:space-between;gap:5px}.working-day-head-v3605>b{font-size:15px}.working-day-head-v3605 em{font-style:normal;font-size:13px;color:var(--homa-primary);font-weight:800}
.working-day-v3605>strong{display:flex;align-items:center;gap:5px;font-size:13px;min-width:0}.working-day-v3605.holiday>strong{color:#bd3c49}.working-day-v3605.working>strong{color:#2d7b62}.working-day-v3605>strong i{font-size:14px}.working-day-v3605>small{font-size:13px;color:var(--homa-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.working-hours-editor-v3605{display:grid;gap:7px}.working-hours-row-v3605{display:grid;grid-template-columns:150px minmax(280px,420px);align-items:center;gap:14px;padding:8px 10px;border-bottom:1px dashed var(--homa-border)}.working-hours-day-v3605{display:flex;align-items:center;gap:8px}.working-hours-time-v3605{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}.working-hours-time-v3605 input{direction:ltr;text-align:center}
.selected-holidays-v3605{display:grid;gap:8px}.selected-holidays-v3605>b{font-size:13px}.selected-holidays-v3605>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid var(--homa-border);border-radius:9px}.selected-holidays-v3605>div>span{display:grid;gap:2px}.selected-holidays-v3605 small{font-size:13px;color:var(--homa-muted)}.selected-holidays-v3605 form{margin:0}
@media(max-width:760px){.admin-calendar-card-v3605 .card-head{align-items:flex-start;flex-direction:column}.working-day-v3605{min-height:82px;padding:6px}.working-day-v3605>small{display:none}.working-day-v3605>strong{font-size:13px}.working-hours-row-v3605{grid-template-columns:1fr}.admin-calendar-toolbar-v3605{flex-wrap:wrap}.admin-calendar-toolbar-v3605>div{order:-1;width:100%}}


/* =========================================================
   HOMA V3.6.0.6 · header IA / venue calendars / grid stability
   ========================================================= */
/* Header: operational sidebar + compact permission-aware admin navigation. */
.topbar{padding-inline:16px!important;gap:12px!important}
.topbar-start{min-width:0!important;gap:5px!important;flex:1 1 auto!important;overflow:visible}
.topbar-actions{gap:4px!important;flex:0 0 auto!important}
.header-nav-dropdown{position:relative}
.header-nav-trigger{height:38px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:var(--homa-text,var(--text));display:inline-flex;align-items:center;gap:6px;font:inherit;font-weight:700;font-size:13px;cursor:pointer;white-space:nowrap;text-decoration:none}
.header-nav-trigger:hover,.header-nav-dropdown:has(.header-nav-menu.open)>.header-nav-trigger{background:var(--homa-primary-soft,var(--primary-soft));color:var(--homa-primary,var(--primary))}
.header-nav-trigger>i:first-child{font-size:17px}.header-nav-trigger>i:last-child{font-size:15px;color:var(--homa-muted)}
.header-nav-menu{right:0!important;left:auto!important;top:46px!important;width:260px!important;padding:6px!important;overflow:visible!important}
.header-nav-menu .dropdown-head{padding:8px 10px 7px}.header-nav-menu>a{min-height:39px;padding:8px 10px;border-radius:8px;display:flex;align-items:center;gap:9px;color:var(--homa-text);font-size:13px;font-weight:650}.header-nav-menu>a:hover{background:var(--homa-primary-soft);color:var(--homa-primary)}.header-nav-menu>a i{font-size:17px;color:var(--homa-primary)}
.compact-global-search-v3606{width:190px!important;min-width:160px!important;max-width:190px!important;height:38px!important;transition:width .18s ease,max-width .18s ease!important;background:var(--homa-surface)!important}
.compact-global-search-v3606:focus-within{width:240px!important;max-width:240px!important}.compact-global-search-v3606 kbd{display:none!important}
.page-breadcrumb-v3606{margin-bottom:5px!important;font-size:13px!important;font-weight:600!important;opacity:.9}.page-heading-copy h1{margin-top:0!important}
@media(max-width:1180px){.header-nav-trigger span{display:none}.header-nav-trigger{width:38px;padding:0;justify-content:center}.header-nav-trigger>i:last-child{display:none}.compact-global-search-v3606{width:180px!important}}
.mobile-admin-nav-v3606{display:none}.mobile-admin-menu-v3606{width:min(320px,calc(100vw - 24px))!important;max-height:min(70vh,560px);overflow:auto!important;padding:7px!important}.mobile-admin-group-v3606{display:grid;gap:2px;padding:6px 0;border-bottom:1px solid var(--homa-border)}.mobile-admin-group-v3606:last-child{border-bottom:0}.mobile-admin-group-v3606>strong{display:flex;align-items:center;gap:7px;padding:6px 8px;color:var(--homa-muted);font-size:13px}.mobile-admin-group-v3606>a{display:flex;align-items:center;gap:8px;min-height:38px;padding:7px 10px;border-radius:8px;color:var(--homa-text);font-size:13px;font-weight:650}.mobile-admin-group-v3606>a:hover{background:var(--homa-primary-soft);color:var(--homa-primary)}
@media(max-width:820px){.header-nav-dropdown,.topbar-start>.header-nav-trigger{display:none!important}.compact-global-search-v3606{display:none!important}.mobile-admin-nav-v3606{display:block!important}.desktop-fold{display:none!important}}

/* Program calendar: exact shared grid geometry; sticky header + RTL time axis. */
.resource-calendar{overflow:hidden!important;--time-col:54px;--hall-col:112px}
.resource-scroll{width:100%!important;overflow:auto!important;max-height:calc(100vh - 235px)!important;min-height:430px!important;overscroll-behavior:contain;scrollbar-gutter:stable both-edges;position:relative}
.resource-header,.resource-body{grid-template-columns:var(--time-col) repeat(var(--hall-count,6),minmax(var(--hall-col),1fr))!important;width:max(100%,var(--calendar-min-width))!important;min-width:var(--calendar-min-width)!important}
.resource-header{position:sticky!important;top:0!important;z-index:40!important;background:var(--homa-surface)!important}
.time-head{width:var(--time-col)!important;min-width:var(--time-col)!important;height:52px!important;padding:6px!important;position:sticky!important;right:0!important;z-index:46!important;background:var(--homa-surface-subtle)!important;box-shadow:-1px 0 0 var(--homa-border)}
.hall-head{min-width:0!important;height:52px!important;padding:6px 7px!important;overflow:hidden!important;background:var(--homa-surface-subtle)!important}.hall-head b,.hall-head small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hall-head b{font-size:13px!important;line-height:1.35}.hall-head small{font-size:13px!important;margin-top:1px!important}
.time-axis{width:var(--time-col)!important;min-width:var(--time-col)!important;position:sticky!important;right:0!important;z-index:26!important;background:var(--homa-surface)!important;box-shadow:-1px 0 0 var(--homa-border),-5px 0 10px rgba(31,39,56,.035)}.time-axis span{right:6px!important;font-size:13px!important}.hall-track{min-width:0!important}
.calendar-event{inset-inline:4px!important;padding:4px 5px!important;border-radius:7px!important}.calendar-event b{font-size:13px!important}.calendar-event small,.calendar-event em{font-size:13px!important}
@media(max-width:900px){.resource-calendar{--time-col:50px;--hall-col:108px}.resource-scroll{max-height:calc(100vh - 205px)!important}}

/* Matrix fold control stays inside the group label, never outside the table border. */
.permission-group-toggle{justify-content:flex-start!important;overflow:hidden!important;padding:8px 12px!important}
.permission-group-title{max-width:100%;min-width:0;display:inline-flex!important;align-items:center!important;gap:8px!important}.permission-group-chevron{margin-inline-start:4px!important;flex:0 0 28px!important;position:static!important;transform-origin:center!important}

/* Facility cards use hall-card action rail. */
.facility-card-actions-v3606{min-width:42px}


/* Program type cards intentionally reuse hall-card geometry and action rail. */
.orchid-product-grid .program-product-v3606{grid-template-columns:54px minmax(0,1fr) 46px!important}
.program-thumb-v3606{position:relative;overflow:visible!important;background:var(--homa-primary-soft)!important}.program-thumb-v3606 img{width:30px;height:30px;display:block;object-fit:contain}
.program-card-actions-v3606{min-width:42px}
@media(max-width:720px){.orchid-product-grid .program-product-v3606{grid-template-columns:50px minmax(0,1fr) 42px!important}}

/* Navigation manager surfaces. */
.navigation-surface-tabs-v3606{display:flex;align-items:center;gap:6px;margin-bottom:14px;padding:4px;border:1px solid var(--homa-border);border-radius:11px;background:var(--homa-surface-subtle);width:max-content;max-width:100%;overflow:auto}.navigation-surface-tabs-v3606 a{height:38px;padding:0 12px;border-radius:8px;display:flex;align-items:center;gap:7px;color:var(--homa-muted);font-weight:750;font-size:13px;white-space:nowrap}.navigation-surface-tabs-v3606 a.active{background:var(--homa-surface);color:var(--homa-primary);box-shadow:0 1px 3px rgba(31,39,56,.08)}

/* Calendar scope selector: SLA remains separate from venue operating calendars. */
.calendar-scope-tabs-v3606{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.calendar-scope-tabs-v3606 a{height:38px;padding:0 11px;border:1px solid var(--homa-border);border-radius:9px;display:flex;align-items:center;gap:7px;background:var(--homa-surface);color:var(--homa-muted);font-size:13px;font-weight:750}.calendar-scope-tabs-v3606 a.active{border-color:color-mix(in srgb,var(--homa-primary) 45%,var(--homa-border));background:var(--homa-primary-soft);color:var(--homa-primary)}

/* Legal entity filter: fixed explicit controls without overlap. */
.legal-filter-v3606{display:grid!important;grid-template-columns:minmax(280px,1fr) 190px auto auto!important;align-items:center!important;gap:8px!important;width:100%}.legal-filter-v3606 .search-field{width:100%!important;max-width:none!important}.legal-filter-v3606 select{width:100%!important;min-width:0!important}
@media(max-width:820px){.legal-filter-v3606{grid-template-columns:1fr!important}.legal-filter-v3606 .btn{width:100%!important}}

/* =========================================================
   HOMA V3.6.0.7 · UI consistency / search / heading cleanup
   ========================================================= */
/* One canonical page title: repeated first-card titles are intentionally absent. */
.page-primary-card>.card-body{padding-top:16px!important}
.card-head-actions-only{justify-content:flex-end!important;min-height:auto!important;padding-block:12px!important}
.card-head-actions-only .card-actions{margin-inline-start:auto!important}
.page-card-intro{margin:0 0 16px;color:var(--homa-muted);font-size:13px;line-height:1.9}

/* Header navigation borrows the lighter visual weight of the operational sidebar. */
.header-nav-trigger{
  color:var(--homa-muted)!important;
  font-family:"ShabnamHoma",sans-serif!important;
  font-weight:400!important;
  letter-spacing:0!important;
}
.header-nav-trigger>span{font-weight:400!important}
.header-nav-trigger:hover,
.header-nav-dropdown:has(.header-nav-menu.open)>.header-nav-trigger{color:var(--homa-primary)!important}
.header-nav-menu{
  display:block!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-7px);
  transform-origin:top center;
  transition:opacity .16s ease,transform .20s cubic-bezier(.2,.72,.24,1),visibility 0s linear .20s!important;
}
.header-nav-menu.open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
  transition-delay:0s!important;
}
.header-nav-menu .dropdown-head strong{font-family:"ShabnamHoma",sans-serif;font-weight:500!important;color:var(--homa-text)}
.header-nav-menu>a{
  color:var(--homa-muted)!important;
  font-family:"ShabnamHoma",sans-serif!important;
  font-weight:400!important;
  transition:background .15s ease,color .15s ease,transform .15s ease;
}
.header-nav-menu>a span{font-weight:400!important}
.header-nav-menu>a:hover{color:var(--homa-primary)!important;transform:translateX(-1px)}
.mobile-admin-group-v3606>strong{font-weight:500!important}.mobile-admin-group-v3606>a{font-weight:400!important;color:var(--homa-muted)!important}
.mobile-admin-group-v3606>a:hover{color:var(--homa-primary)!important}

/* A single, quiet search field language for header and page filters. */
.search-field,
.topbar .global-search{
  border:1px solid var(--homa-border)!important;
  border-radius:8px!important;
  background:var(--homa-surface)!important;
  box-shadow:none!important;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease!important;
}
.search-field:focus-within,
.topbar .global-search:focus-within{
  border-color:color-mix(in srgb,var(--homa-primary) 48%,var(--homa-border))!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--homa-primary) 9%,transparent)!important;
  background:var(--homa-surface)!important;
}
.search-field input,
.ui-filter-search input,
.topbar .global-search>input{
  width:100%!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
}
.search-field input:focus,
.ui-filter-search input:focus,
.topbar .global-search>input:focus{border:0!important;outline:0!important;box-shadow:none!important}
.search-field>i,.ui-filter-search>i,.topbar .global-search>i{color:var(--homa-muted)!important}
.compact-global-search-v3606{width:176px!important;min-width:150px!important;max-width:176px!important;background:var(--homa-surface)!important}
.compact-global-search-v3606:focus-within{width:224px!important;max-width:224px!important}

/* Legal-entity filter wraps naturally; horizontal scrolling is never a filter behavior. */
.toolbar-card.orchid-toolbar.ui-filterbar{overflow:visible!important;min-width:0!important}
.legal-filter-v3606{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  overflow:visible!important;
}
.legal-filter-v3606 .search-field{flex:1 1 300px!important;min-width:220px!important;max-width:none!important}
.legal-filter-v3606 select{flex:0 1 190px!important;width:190px!important;min-width:150px!important;max-width:100%!important}
.legal-filter-v3606 .btn{flex:0 0 auto!important;white-space:nowrap}
@media(max-width:900px){
  .legal-filter-v3606 .search-field{flex:1 1 100%!important;min-width:0!important}
  .legal-filter-v3606 select{flex:1 1 180px!important;width:auto!important}
}
@media(max-width:620px){
  .legal-filter-v3606>*{flex:1 1 100%!important;width:100%!important;min-width:0!important}
  .legal-filter-v3606 .btn{justify-content:center}
}

/* =========================================================
   HOMA V3.6.0.8 · shell / search / calendar / inline settings
   ========================================================= */
/* Page header: one compact row. Page descriptions are intentionally absent. */
.page-heading-v3608{
  min-height:54px!important;padding:10px 24px!important;display:flex!important;align-items:center!important;
  justify-content:space-between!important;gap:18px!important;border-bottom:1px solid var(--homa-border)!important;
}
.page-heading-title-v3608{display:flex;align-items:center;gap:12px;min-width:0;flex:1 1 auto}
.page-heading-title-v3608 h1{margin:0!important;font-size:22px!important;line-height:1.2!important;white-space:nowrap}
.page-heading-title-v3608 .page-actions{margin-inline-start:8px}
.page-breadcrumb-v3608{margin:0!important;display:flex!important;align-items:center!important;gap:3px!important;white-space:nowrap!important;flex:0 1 auto!important;max-width:48vw;overflow:hidden;color:var(--homa-muted)!important;font-size:13px!important;font-weight:400!important}
.page-breadcrumb-v3608 a,.page-breadcrumb-v3608 span{font-weight:400!important;color:var(--homa-muted)!important;overflow:hidden;text-overflow:ellipsis}
.page-breadcrumb-v3608 i{flex:0 0 auto;color:var(--homa-muted)!important}
.page-subtitle{display:none!important}
@media(max-width:760px){.page-heading-v3608{align-items:flex-start!important;flex-direction:column!important;padding:10px 14px!important;gap:5px!important}.page-breadcrumb-v3608{max-width:100%;order:-1}.page-heading-title-v3608{width:100%;justify-content:space-between}.page-heading-title-v3608 h1{font-size:19px!important}}

/* Search is always one field with the magnifier inside the LEFT edge. */
.search-field,.global-search,.homa-search-v3608,.faq-search,.report-search-v3518,.todo-search-v3515,.system-log-search-v35125,.audit-filter-search-v35125,.leave-search-v3516{
  position:relative!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important;
}
.search-field input,.global-search>input,.homa-search-v3608 input,.faq-search input,.report-search-v3518 input,.todo-search-v3515 input,.system-log-search-v35125 input,.audit-filter-search-v35125 input,.leave-search-v3516 input{
  height:38px!important;width:100%!important;border:1px solid var(--homa-border)!important;border-radius:8px!important;background:var(--homa-surface)!important;box-shadow:none!important;outline:0!important;
  padding:0 12px 0 38px!important;color:var(--homa-text)!important;transition:border-color .15s ease,box-shadow .15s ease!important;
}
.search-field input:focus,.global-search>input:focus,.homa-search-v3608 input:focus,.faq-search input:focus,.report-search-v3518 input:focus,.todo-search-v3515 input:focus,.system-log-search-v35125 input:focus,.audit-filter-search-v35125 input:focus,.leave-search-v3516 input:focus{
  border-color:color-mix(in srgb,var(--homa-primary) 48%,var(--homa-border))!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--homa-primary) 8%,transparent)!important;
}
.search-field>i,.global-search>i,.homa-search-v3608>i,.faq-search>i,.report-search-v3518>i,.todo-search-v3515>i,.system-log-search-v35125>i,.audit-filter-search-v35125>i,.leave-search-v3516>i{
  position:absolute!important;left:12px!important;right:auto!important;top:50%!important;transform:translateY(-50%)!important;z-index:2;color:var(--homa-muted)!important;pointer-events:none!important;font-size:17px!important;
}
.global-search>kbd,.system-log-search-v35125>kbd{display:none!important}
.compact-global-search-v3606{width:170px!important;min-width:150px!important;max-width:170px!important;height:38px!important;transition:width .18s ease,max-width .18s ease!important}
.compact-global-search-v3606:focus-within{width:220px!important;max-width:220px!important}

/* Program calendar: one venue at a time, stable shared grid geometry. */
.calendar-venue-tabs-v3608{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 10px;padding:4px;width:max-content;max-width:100%;border:1px solid var(--homa-border);border-radius:10px;background:var(--homa-surface-subtle)}
.calendar-venue-tabs-v3608 a{height:36px;padding:0 11px;display:inline-flex;align-items:center;gap:6px;border-radius:7px;color:var(--homa-muted);font-size:13px;font-weight:500;white-space:nowrap}
.calendar-venue-tabs-v3608 a.active{background:var(--homa-surface);color:var(--homa-primary);box-shadow:0 1px 4px rgba(31,39,56,.08)}
.calendar-toolbar-v3608{margin-bottom:10px!important}
.resource-calendar-v3608{--time-col:58px;--hall-col:118px;overflow:hidden!important}
.resource-calendar-v3608 .resource-scroll{width:100%!important;max-height:calc(100vh - 230px)!important;min-height:420px!important;overflow:auto!important;position:relative!important;scrollbar-gutter:stable}
.resource-calendar-v3608 .resource-header,.resource-calendar-v3608 .resource-body{display:grid!important;grid-template-columns:var(--time-col) repeat(var(--hall-count,1),minmax(var(--hall-col),1fr))!important;width:max(100%,var(--calendar-min-width))!important;min-width:var(--calendar-min-width)!important;direction:rtl!important}
.resource-calendar-v3608 .resource-header{position:sticky!important;top:0!important;z-index:50!important;border-bottom:1px solid var(--homa-border)!important}
.resource-calendar-v3608 .time-head{position:sticky!important;right:0!important;z-index:60!important;width:var(--time-col)!important;min-width:var(--time-col)!important;height:54px!important;background:var(--homa-surface-subtle)!important;border-left:1px solid var(--homa-border)!important}
.resource-calendar-v3608 .hall-head{height:54px!important;min-width:0!important;padding:7px 8px!important;text-align:center!important;align-items:center!important;background:var(--homa-surface-subtle)!important;border-left:1px solid var(--homa-border)!important}
.resource-calendar-v3608 .hall-head b{font-size:13px!important;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource-calendar-v3608 .hall-head small{display:none!important}
.resource-calendar-v3608 .time-axis{position:sticky!important;right:0!important;z-index:30!important;width:var(--time-col)!important;min-width:var(--time-col)!important;background:var(--homa-surface)!important;border-left:1px solid var(--homa-border)!important;box-shadow:-5px 0 10px rgba(31,39,56,.035)}
.resource-calendar-v3608 .time-axis span{right:8px!important;font-size:13px!important}
.resource-calendar-v3608 .hall-track{min-width:0!important;border-left:1px solid var(--homa-border)!important;background-color:var(--homa-surface)!important;background-image:none!important}
.resource-calendar-v3608 .hour-line{background:var(--homa-border)!important;opacity:.7!important}
.month-day.venue-closed,.week-day.venue-closed{background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--homa-muted) 6%,var(--homa-surface)),color-mix(in srgb,var(--homa-muted) 6%,var(--homa-surface)) 8px,color-mix(in srgb,var(--homa-muted) 11%,var(--homa-surface)) 8px,color-mix(in srgb,var(--homa-muted) 11%,var(--homa-surface)) 16px)!important}
.month-day-head>span,.week-day-head>span{display:flex;align-items:center;gap:5px}.venue-closed-label{color:var(--homa-danger,#b83848)!important}
@media(max-width:900px){.resource-calendar-v3608{--time-col:54px;--hall-col:116px}.resource-calendar-v3608 .resource-scroll{max-height:calc(100vh - 200px)!important}}

/* Selection summary: visible corner radius and real horizontal breathing room. */
.request-choice-summary{border-radius:14px!important;padding:20px!important;overflow:hidden!important}
.request-choice-summary .choice-summary-item{margin-top:8px!important;padding:10px 12px!important;border:1px solid var(--homa-border)!important;border-radius:10px!important;gap:10px!important;background:var(--homa-surface)!important}
.request-choice-summary .choice-summary-item:last-of-type{border-bottom:1px solid var(--homa-border)!important}
.request-choice-summary .choice-summary-note{margin-top:10px!important;padding:11px 12px!important;border-radius:10px!important}

/* Settings forms stay directly on the page. Theme is a per-user preference, not system configuration. */
.settings-inline-v3608 .card-body{padding:22px!important}.settings-form-inline-v3608{margin-top:14px!important}.settings-inline-v3608 h2{margin:0 0 12px!important}.settings-inline-v3608 .soft-sep{margin:24px 0!important}
.settings-editor-launch-v3604,.settings-modal-v3604{display:none!important}

/* =========================================================
   HOMA V3.6.0.9 · final shell and calendar polish
   ========================================================= */
/* Header search: the FORM has no chrome. Only the input is visible. */
.topbar form.global-search.global-search-v3609{
  position:relative!important;display:block!important;width:164px!important;min-width:164px!important;max-width:164px!important;height:38px!important;min-height:38px!important;
  padding:0!important;margin:0!important;gap:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
  transition:width .18s ease,max-width .18s ease!important;
}
.topbar form.global-search.global-search-v3609:focus-within{width:214px!important;max-width:214px!important;border:0!important;background:transparent!important;box-shadow:none!important}
.topbar form.global-search.global-search-v3609>input{
  display:block!important;width:100%!important;height:38px!important;min-height:38px!important;margin:0!important;
  padding:0 12px 0 36px!important;border:1px solid var(--homa-border)!important;border-radius:8px!important;background:var(--homa-surface)!important;
  color:var(--homa-text)!important;outline:0!important;box-shadow:none!important;
}
.topbar form.global-search.global-search-v3609>input:focus{border:1px solid color-mix(in srgb,var(--homa-primary) 48%,var(--homa-border))!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--homa-primary) 8%,transparent)!important;background:var(--homa-surface)!important}
.topbar form.global-search.global-search-v3609>i{
  position:absolute!important;left:11px!important;right:auto!important;top:50%!important;transform:translateY(-50%)!important;z-index:2!important;
  width:auto!important;height:auto!important;margin:0!important;color:var(--homa-muted)!important;font-size:17px!important;pointer-events:none!important;
}
/* All page/filter search widgets follow the exact same flat input rule. */
.search-field,.ui-filter-search,.homa-search-v3608,.faq-search,.report-search-v3518,.todo-search-v3515,.system-log-search-v35125,.audit-filter-search-v35125,.leave-search-v3516{
  position:relative!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
}
.search-field input,.ui-filter-search input,.homa-search-v3608 input,.faq-search input,.report-search-v3518 input,.todo-search-v3515 input,.system-log-search-v35125 input,.audit-filter-search-v35125 input,.leave-search-v3516 input{
  width:100%!important;height:38px!important;min-height:38px!important;padding:0 12px 0 36px!important;border:1px solid var(--homa-border)!important;border-radius:8px!important;background:var(--homa-surface)!important;box-shadow:none!important;outline:0!important;
}
.search-field input:focus,.ui-filter-search input:focus,.homa-search-v3608 input:focus,.faq-search input:focus,.report-search-v3518 input:focus,.todo-search-v3515 input:focus,.system-log-search-v35125 input:focus,.audit-filter-search-v35125 input:focus,.leave-search-v3516 input:focus{
  border-color:color-mix(in srgb,var(--homa-primary) 48%,var(--homa-border))!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--homa-primary) 8%,transparent)!important;
}
.search-field>i,.ui-filter-search>i,.homa-search-v3608>i,.faq-search>i,.report-search-v3518>i,.todo-search-v3515>i,.system-log-search-v35125>i,.audit-filter-search-v35125>i,.leave-search-v3516>i{
  position:absolute!important;left:11px!important;right:auto!important;top:50%!important;transform:translateY(-50%)!important;z-index:2!important;color:var(--homa-muted)!important;font-size:17px!important;pointer-events:none!important;
}
.quick-add,.quick-menu{display:none!important}

/* Calendar controls: venue is a filter in the same toolbar, not a separate visual tier. */
.calendar-toolbar-v3609{
  display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;padding:10px 12px!important;margin-bottom:10px!important;position:relative!important;z-index:5!important;
}
.calendar-venue-tabs-v3608{display:none!important}
.calendar-venue-switch-v3609{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--homa-border);border-radius:9px;background:var(--homa-surface-subtle);flex:0 0 auto}
.calendar-venue-switch-v3609 a{height:34px;padding:0 10px;display:inline-flex;align-items:center;gap:6px;border-radius:7px;color:var(--homa-muted);font-size:13px;font-weight:500;white-space:nowrap}
.calendar-venue-switch-v3609 a:hover{color:var(--homa-text);background:var(--homa-surface)}
.calendar-venue-switch-v3609 a.active{background:var(--homa-surface);color:var(--homa-primary);box-shadow:0 1px 4px rgba(31,39,56,.08)}
.calendar-toolbar-v3609 .calendar-nav{flex:0 0 auto}
.calendar-toolbar-v3609 .calendar-filter-v3609{display:flex!important;align-items:center!important;gap:7px!important;flex:1 1 330px!important;min-width:260px!important}
.calendar-toolbar-v3609 .calendar-filter-v3609>input{min-width:132px;flex:1 1 150px}
.calendar-toolbar-v3609 .calendar-filter-v3609>select{min-width:145px;flex:1 1 160px}
.calendar-toolbar-v3609 .calendar-filter-v3609>.btn{flex:0 0 auto}
.calendar-toolbar-v3609 .calendar-view-tabs{flex:0 0 auto}

/* Calendar grid has one scrolling owner and never outranks the global header. */
.resource-calendar-v3609{--time-col:58px;--hall-col:116px;overflow:hidden!important;isolation:isolate}
.resource-calendar-v3609 .resource-scroll{width:100%!important;max-height:calc(100vh - 238px)!important;min-height:420px!important;overflow:auto!important;position:relative!important;scrollbar-gutter:stable!important}
.resource-calendar-v3609 .resource-header,.resource-calendar-v3609 .resource-body{display:grid!important;grid-template-columns:var(--time-col) repeat(var(--hall-count,1),minmax(var(--hall-col),1fr))!important;width:max(100%,var(--calendar-min-width))!important;min-width:var(--calendar-min-width)!important;direction:rtl!important}
.resource-calendar-v3609 .resource-header{position:sticky!important;top:0!important;z-index:12!important;background:var(--homa-surface-subtle)!important;border-bottom:1px solid var(--homa-border)!important}
.resource-calendar-v3609 .time-head{position:sticky!important;right:0!important;z-index:16!important;width:var(--time-col)!important;min-width:var(--time-col)!important;height:52px!important;padding:6px!important;background:var(--homa-surface-subtle)!important;border-left:1px solid var(--homa-border)!important;box-shadow:none!important}
.resource-calendar-v3609 .hall-head{height:52px!important;min-width:0!important;padding:6px 8px!important;background:var(--homa-surface-subtle)!important;border-left:1px solid var(--homa-border)!important;text-align:center!important;align-items:center!important}
.resource-calendar-v3609 .hall-head b{font-size:13px!important;line-height:1.45!important;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.resource-calendar-v3609 .hall-head small{display:none!important}
.resource-calendar-v3609 .time-axis{position:sticky!important;right:0!important;z-index:10!important;width:var(--time-col)!important;min-width:var(--time-col)!important;background:var(--homa-surface)!important;border-left:1px solid var(--homa-border)!important;box-shadow:-4px 0 9px rgba(31,39,56,.03)!important}
.resource-calendar-v3609 .hall-track{min-width:0!important;border-left:1px solid var(--homa-border)!important;background-color:var(--homa-surface)!important;background-image:none!important}
.resource-calendar-v3609 .hour-line{background:var(--homa-border)!important;opacity:.72!important}

/* Sticky status legend, visually aligned with the access-matrix legend. */
.calendar-legend-sticky-v3609{
  position:sticky!important;bottom:10px!important;z-index:20!important;margin:10px auto 0!important;width:max-content!important;max-width:calc(100% - 16px)!important;
  display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;padding:8px 12px!important;border:1px solid var(--homa-border)!important;border-radius:12px!important;
  background:color-mix(in srgb,var(--homa-surface) 95%,transparent)!important;box-shadow:0 8px 24px rgba(31,39,56,.12)!important;backdrop-filter:blur(8px)!important;color:var(--homa-muted)!important;
}
.calendar-legend-sticky-v3609 .calendar-legend-title-v3609{padding-left:10px;border-left:1px solid var(--homa-border);color:var(--homa-muted);font-size:13px}
.calendar-legend-sticky-v3609 span{display:inline-flex!important;align-items:center!important;gap:6px!important;white-space:nowrap!important;font-size:13px!important}

/* The global header owns a higher stacking layer than every table/calendar sticky header. */
.topbar{z-index:30!important;isolation:isolate}
.topbar .dropdown-panel{z-index:70!important}
.permission-matrix thead th,.audit-events-table thead th,.audit-events-table-v35123 thead th{z-index:12!important}

/* Final overflow guard for filter/tool bars: wrap instead of scrolling the page. */
.toolbar-card,.orchid-toolbar,.filter-row,.inline-filter{max-width:100%;min-width:0}
.toolbar-card .filter-row,.orchid-toolbar .filter-row{min-width:0}

@media(max-width:1080px){
  .calendar-toolbar-v3609 .calendar-filter-v3609{order:4;flex-basis:100%!important}
}
@media(max-width:760px){
  .calendar-toolbar-v3609{align-items:stretch!important}
  .calendar-venue-switch-v3609{width:100%;overflow:auto;scrollbar-width:none}.calendar-venue-switch-v3609::-webkit-scrollbar{display:none}
  .calendar-toolbar-v3609 .calendar-nav{flex:1 1 auto}.calendar-toolbar-v3609 .calendar-view-tabs{margin-inline-start:auto}
  .calendar-toolbar-v3609 .calendar-filter-v3609{display:grid!important;grid-template-columns:1fr 1fr auto!important;min-width:0!important}
  .resource-calendar-v3609{--time-col:54px;--hall-col:112px}.resource-calendar-v3609 .resource-scroll{max-height:calc(100vh - 220px)!important;min-height:360px!important}
  .calendar-legend-sticky-v3609{bottom:4px!important;justify-content:center!important;gap:7px!important}.calendar-legend-sticky-v3609 .calendar-legend-title-v3609{display:none!important}
}
@media(max-width:560px){
  .calendar-toolbar-v3609 .calendar-filter-v3609{grid-template-columns:1fr!important}.calendar-toolbar-v3609 .calendar-filter-v3609>*{width:100%!important;min-width:0!important}
}

/* =========================================================
   HOMA V3.7.0 — Figma-aligned request experience
   ========================================================= */

/* Program/service cards: compact, icon-first, no descriptive copy. */
.request-choice-deep .choice-section{padding:16px 18px!important}
.request-choice-deep .choice-section-head{margin-bottom:12px!important;align-items:center!important}
.request-choice-deep .choice-section-head p{display:none!important}
.request-choice-deep .choice-section-head h2{font-size:16px!important;margin:0!important}
.request-choice-deep .choice-step{width:28px!important;height:28px!important;flex-basis:28px!important;font-size:13px!important;box-shadow:none!important}
.request-choice-deep .program-choice-grid{grid-template-columns:repeat(auto-fit,minmax(112px,1fr))!important;gap:9px!important}
.request-choice-deep .program-choice-card{min-height:96px!important;padding:11px 8px!important;border-radius:10px!important;gap:6px!important;box-shadow:none!important}
.request-choice-deep .program-choice-card:hover{transform:translateY(-1px)!important;box-shadow:0 5px 16px rgba(31,35,74,.055)!important}
.request-choice-deep .program-choice-icon{width:42px!important;height:42px!important;border-radius:10px!important;margin:0!important}
.request-choice-deep .program-choice-icon img{width:29px!important;height:29px!important}
.request-choice-deep .program-choice-card strong{font-size:13px!important;font-weight:600!important;line-height:1.45!important}
.request-choice-deep .program-choice-card small{display:none!important}
.request-choice-deep .choice-check{width:18px!important;height:18px!important;top:6px!important;left:6px!important;font-size:13px!important}

/* Request context strip — same role as the Figma selection bar. */
.request-figma-shell-v370 .request-context-bar-v370{
  position:relative!important;top:auto!important;z-index:auto!important;overflow:visible!important;
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr)) auto!important;align-items:stretch!important;
  padding:0!important;margin:0 0 10px!important;border-radius:12px!important;background:var(--homa-surface)!important;
  box-shadow:0 4px 16px rgba(29,32,66,.035)!important;backdrop-filter:none!important;
}
.request-context-bar-v370>span{
  min-width:0!important;padding:11px 14px!important;border-left:1px solid var(--homa-border)!important;
  display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;grid-template-rows:auto auto!important;
  column-gap:9px!important;row-gap:1px!important;align-items:center!important;white-space:normal!important;
}
.request-context-bar-v370>span>i{grid-row:1/3;width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:18px}
.request-context-bar-v370>span small{font-size:13px!important;color:var(--homa-muted)!important;line-height:1.35!important}
.request-context-bar-v370>span b{font-size:13px!important;font-weight:600!important;line-height:1.5!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.request-context-bar-v370>a{margin:0!important;width:auto!important;height:auto!important;min-width:82px!important;border-radius:0 12px 12px 0!important;background:transparent!important;color:var(--homa-text)!important;display:flex!important;gap:6px;align-items:center;justify-content:center;border-left:0!important}
.request-context-bar-v370>a:hover{background:var(--homa-surface-subtle)!important;color:var(--homa-primary)!important}
.request-context-bar-v370>a em{font-style:normal;font-size:13px;font-weight:600}

/* Full-width stretched stepper. */
.request-stepper-v370{width:100%!important;display:block!important;padding:7px 10px!important;border-radius:12px!important;background:var(--homa-surface)!important}
.request-stepper-v370 .wizard-steps{width:100%!important;display:grid!important;grid-template-columns:repeat(var(--request-step-count,1),minmax(0,1fr));gap:0!important;overflow:visible!important}
.request-stepper-v370 .wizard-steps button{position:relative!important;min-width:0!important;width:100%!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:6px!important;border-radius:8px!important;padding:7px 8px!important}
.request-stepper-v370 .wizard-steps button:not(:last-child)::after{content:"";position:absolute;left:-1px;top:50%;width:18px;height:1px;background:var(--homa-border);transform:translateY(-50%)}
.request-stepper-v370 .wizard-steps button span{margin:0!important;flex:0 0 23px!important}

/* Main request area: Figma-like form on the right, sticky request summary on the left. */
.request-form-layout-v370{display:grid;grid-template-areas:"summary main";grid-template-columns:270px minmax(0,1fr);gap:12px;align-items:start;direction:ltr}
.request-form-main-v370{grid-area:main;min-width:0;direction:rtl}
.request-sticky-summary-v370{grid-area:summary;direction:rtl;position:sticky;top:calc(var(--topbar) + 14px);border:1px solid var(--homa-border);border-radius:13px;background:var(--homa-surface);padding:13px;box-shadow:0 5px 18px rgba(29,32,66,.035)}
.request-sticky-summary-head-v370{display:flex;align-items:center;gap:9px;padding:2px 1px 11px;border-bottom:1px solid var(--homa-border)}
.request-sticky-program-icon-v370{width:38px;height:38px;flex:0 0 38px;border-radius:10px;display:grid;place-items:center;background:var(--homa-primary-soft)}
.request-sticky-program-icon-v370 img{width:27px;height:27px;object-fit:contain}
.request-sticky-summary-head-v370>div{min-width:0}.request-sticky-summary-head-v370 small{display:block;color:var(--homa-muted);font-size:13px;margin-bottom:2px}.request-sticky-summary-head-v370 b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.request-sticky-summary-list-v370{display:grid;margin-top:4px}
.request-sticky-summary-list-v370>div{display:grid;grid-template-columns:minmax(0,1fr) auto 20px;align-items:center;gap:6px;padding:9px 1px;border-bottom:1px solid color-mix(in srgb,var(--homa-border) 75%,transparent)}
.request-sticky-summary-list-v370>div:last-child{border-bottom:0}.request-sticky-summary-list-v370 span{font-size:13px;color:var(--homa-muted)}.request-sticky-summary-list-v370 b{font-size:13px;font-weight:600;max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.request-sticky-summary-list-v370 i{color:var(--homa-success,#19a66a);font-size:16px;text-align:left}.request-sticky-summary-list-v370 .pending i{color:var(--homa-warning,#e79a20)}.request-sticky-summary-list-v370 .pending b{color:var(--homa-warning,#b47710)}
.request-sticky-edit-v370{width:100%;justify-content:center;margin-top:9px!important;height:34px!important}

/* Form section cards align with the supplied Figma reference. */
.request-figma-shell-v370 .request-wizard-panel{border-radius:12px!important;border:1px solid var(--homa-border)!important;box-shadow:0 4px 14px rgba(29,32,66,.03)!important;margin-bottom:10px!important;overflow:hidden!important}
.request-figma-shell-v370 .request-wizard-panel>.card-head{min-height:48px!important;padding:10px 14px!important;background:color-mix(in srgb,var(--homa-surface-subtle) 38%,var(--homa-surface))!important;border-bottom:1px solid var(--homa-border)!important}
.request-section-head-v370{display:flex!important;align-items:flex-start!important;gap:9px!important}
.request-section-index-v370{width:24px;height:24px;flex:0 0 24px;border-radius:8px;background:var(--homa-primary-soft);color:var(--homa-primary);display:grid;place-items:center;font-size:13px;font-weight:700;margin-top:0}
.request-section-head-v370>div{min-width:0}.request-section-head-v370 h2{font-size:15px!important;line-height:1.55!important;margin:0!important}.request-section-head-v370 .help{margin:2px 0 0!important;font-size:13px!important;line-height:1.65!important;color:var(--homa-muted)!important}
.request-figma-shell-v370 .request-wizard-panel>.card-body{padding:14px 15px 15px!important}
.request-figma-shell-v370 .request-wizard-panel .form-grid{gap:12px 14px!important}

/* Bottom action bar like the Figma footer row. */
.request-figma-shell-v370 .wizard-actions-v370{position:sticky!important;bottom:8px!important;z-index:20!important;display:grid;grid-template-columns:auto minmax(180px,1fr) auto!important;align-items:center!important;gap:10px!important;margin:0!important;padding:8px 9px!important;border-radius:11px!important;background:color-mix(in srgb,var(--homa-surface) 96%,transparent)!important;box-shadow:0 9px 25px rgba(20,25,60,.085)!important}
.wizard-actions-v370 .wizard-exit-v370{justify-self:start!important}.wizard-actions-v370 .autosave-indicator{justify-self:center!important;font-size:13px!important}.wizard-action-buttons-v370{display:flex;align-items:center;justify-content:flex-end;gap:7px}.wizard-action-buttons-v370 .btn{min-width:112px!important}

/* Applicant dashboard guide: compact and operational, not a prose-heavy help page. */
.applicant-guide-v370{display:grid;grid-template-columns:190px minmax(0,1fr);gap:12px;align-items:stretch;border:1px solid var(--homa-border);border-radius:12px;background:var(--homa-surface);padding:10px;margin:-5px 0 14px;box-shadow:0 4px 14px rgba(29,32,66,.025)}
.applicant-guide-title-v370{display:flex;align-items:center;gap:9px;padding:4px 6px}.applicant-guide-title-v370>span{width:36px;height:36px;border-radius:10px;background:var(--homa-primary-soft);color:var(--homa-primary);display:grid;place-items:center;font-size:19px}.applicant-guide-title-v370 b{display:block;font-size:13px}.applicant-guide-title-v370 small{display:block;margin-top:2px;color:var(--homa-muted);font-size:13px}
.applicant-guide-steps-v370{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.applicant-guide-steps-v370 a{display:flex;align-items:center;gap:7px;border:1px solid var(--homa-border);border-radius:9px;padding:8px;color:var(--homa-text);background:var(--homa-surface)}.applicant-guide-steps-v370 a:hover{border-color:color-mix(in srgb,var(--homa-primary) 38%,var(--homa-border));background:var(--homa-primary-soft)}.applicant-guide-steps-v370 i{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:8px;background:var(--homa-surface-subtle);color:var(--homa-primary);font-size:16px}.applicant-guide-steps-v370 b{display:block;font-size:13px}.applicant-guide-steps-v370 small{display:block;font-size:13px;color:var(--homa-muted);margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

@media(max-width:1180px){
  .request-form-layout-v370{grid-template-areas:"summary" "main";grid-template-columns:1fr}
  .request-sticky-summary-v370{position:relative;top:auto;display:grid;grid-template-columns:190px minmax(0,1fr) auto;align-items:center;gap:10px}
  .request-sticky-summary-head-v370{border-bottom:0;padding:0}.request-sticky-summary-list-v370{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0}.request-sticky-summary-list-v370>div{border:1px solid var(--homa-border);border-radius:8px;padding:7px 8px}.request-sticky-edit-v370{width:auto;margin:0!important}
  .applicant-guide-v370{grid-template-columns:1fr}.applicant-guide-steps-v370{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .request-figma-shell-v370 .request-context-bar-v370{grid-template-columns:repeat(2,minmax(0,1fr))!important}.request-context-bar-v370>a{grid-column:1/-1;border-top:1px solid var(--homa-border);border-radius:0 0 12px 12px!important;min-height:36px!important}
  .request-stepper-v370 .wizard-steps{display:flex!important;overflow:auto!important}.request-stepper-v370 .wizard-steps button{min-width:145px!important;flex:0 0 145px!important}.request-stepper-v370 .wizard-steps button::after{display:none}
  .request-sticky-summary-v370{display:block}.request-sticky-summary-head-v370{border-bottom:1px solid var(--homa-border);padding-bottom:9px}.request-sticky-summary-list-v370{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:6px}.request-sticky-edit-v370{width:100%;margin-top:8px!important}
  .request-figma-shell-v370 .wizard-actions-v370{grid-template-columns:1fr auto!important}.wizard-actions-v370 .autosave-indicator{display:none!important}.wizard-actions-v370 .wizard-exit-v370{grid-row:1;grid-column:1;justify-self:start}.wizard-action-buttons-v370{grid-row:1;grid-column:2}
}
@media(max-width:620px){
  .request-choice-deep .program-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.request-choice-deep .program-choice-card{min-height:88px!important}.request-choice-deep .program-choice-icon{width:38px!important;height:38px!important}.request-choice-deep .program-choice-icon img{width:27px!important;height:27px!important}
  .request-sticky-summary-list-v370{grid-template-columns:1fr}.request-figma-shell-v370 .wizard-actions-v370{position:relative!important;bottom:auto!important;display:flex;flex-direction:column!important;align-items:stretch!important}.wizard-actions-v370 .wizard-exit-v370{width:100%;justify-content:center!important}.wizard-action-buttons-v370{width:100%;display:grid;grid-template-columns:1fr 1fr}.wizard-action-buttons-v370 .btn{width:100%;min-width:0!important}
  .applicant-guide-steps-v370{grid-template-columns:1fr}
}

/* =========================================================
   HOMA V3.7.1 — Figma-faithful request form alignment
   ========================================================= */

/* The left sticky summary is the single source of request context; no duplicate strip above the form. */
.request-figma-shell-v370 .request-context-bar-v370{display:none!important}

/* Figma-like stage bar: stretched stages + autosave timestamp in the same row. */
.request-stepper-v371{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  width:100%!important;
  margin:0 0 12px!important;
  padding:7px 13px!important;
  border:1px solid var(--homa-border)!important;
  border-radius:12px!important;
  background:var(--homa-surface)!important;
  box-shadow:0 4px 16px rgba(29,32,66,.03)!important;
}
.request-stepper-v371 .wizard-steps{
  display:grid!important;
  grid-template-columns:repeat(var(--request-step-count,1),minmax(0,1fr))!important;
  min-width:0!important;
  gap:0!important;
  direction:rtl!important;
}
.request-stepper-v371 .wizard-steps button{
  position:relative!important;
  min-width:0!important;
  width:100%!important;
  min-height:36px!important;
  padding:5px 8px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:var(--homa-muted)!important;
  font-size:13px!important;
  font-weight:500!important;
  box-shadow:none!important;
}
.request-stepper-v371 .wizard-steps button:not(:last-child)::after{
  content:""!important;
  position:absolute!important;
  top:50%!important;
  left:-1px!important;
  width:clamp(12px,1.3vw,26px)!important;
  height:1px!important;
  transform:translateY(-50%)!important;
  background:var(--homa-border)!important;
}
.request-stepper-v371 .wizard-steps button span{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  flex:0 0 24px!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:999px!important;
  background:var(--homa-surface-subtle)!important;
  color:var(--homa-muted)!important;
  font-size:13px!important;
  font-weight:700!important;
}
.request-stepper-v371 .wizard-steps button.active{color:var(--homa-primary)!important;font-weight:650!important}
.request-stepper-v371 .wizard-steps button.active span{background:var(--homa-primary)!important;color:#fff!important}
.request-stepper-v371 .wizard-steps button.completed{color:var(--homa-text)!important}
.request-stepper-v371 .wizard-steps button.completed span{background:#f0f2f8!important;color:#7c849b!important}
.request-step-save-v371{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:5px!important;
  min-width:max-content!important;
  color:var(--homa-success,#159b68)!important;
  font-size:13px!important;
  font-weight:500!important;
  white-space:nowrap!important;
}
.request-step-save-v371.saving{color:var(--homa-primary)!important}
.request-step-save-v371.error{color:var(--homa-danger,#dc2626)!important}
.request-step-save-v371 i{font-size:15px!important}

/* Figma two-column desktop frame. */
.request-form-layout-v371{
  grid-template-columns:252px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:start!important;
}
.request-form-main-v371{min-width:0!important}

/* Sticky summary — Figma hierarchy, without the selected image. */
.request-sticky-summary-v371{
  position:sticky!important;
  top:calc(var(--topbar) + 14px)!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid var(--homa-border)!important;
  border-radius:14px!important;
  background:var(--homa-surface)!important;
  box-shadow:0 5px 18px rgba(29,32,66,.035)!important;
}
.request-sticky-summary-head-v371{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:13px 14px!important;
  border-bottom:1px solid var(--homa-border)!important;
}
.request-sticky-summary-head-v371>div{min-width:0!important}
.request-sticky-summary-head-v371 b{display:block!important;font-size:14px!important;font-weight:700!important;line-height:1.5!important}
.request-sticky-summary-head-v371 small{display:block!important;margin-top:2px!important;color:var(--homa-muted)!important;font-size:13px!important}
.request-summary-edit-v371{
  width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;
  border:0;border-radius:9px;background:var(--homa-primary-soft);color:var(--homa-primary);
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.request-summary-edit-v371:hover{background:var(--homa-primary);color:#fff;transform:translateY(-1px)}
.request-summary-selected-v371{
  margin:12px 12px 6px!important;
  padding:11px 12px!important;
  display:grid!important;
  gap:3px!important;
  border:1px solid var(--homa-border)!important;
  border-radius:10px!important;
  background:color-mix(in srgb,var(--homa-surface-subtle) 55%,var(--homa-surface))!important;
}
.request-summary-selected-v371 b{font-size:13px!important;font-weight:650!important;line-height:1.6!important;overflow-wrap:anywhere!important}
.request-summary-selected-v371 small{font-size:13px!important;color:var(--homa-muted)!important;line-height:1.7!important}
.request-sticky-summary-list-v371{margin:4px 12px 11px!important}
.request-sticky-summary-list-v371>div{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto 18px!important;
  align-items:center!important;
  gap:6px!important;
  min-height:40px!important;
  padding:8px 0!important;
  border-bottom:1px solid color-mix(in srgb,var(--homa-border) 72%,transparent)!important;
}
.request-sticky-summary-list-v371>div:last-child{border-bottom:0!important}
.request-sticky-summary-list-v371 span{font-size:13px!important;color:var(--homa-muted)!important}
.request-sticky-summary-list-v371 b{max-width:105px!important;font-size:13px!important;font-weight:600!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.request-sticky-summary-list-v371 i{font-size:15px!important;color:var(--homa-success,#19a66a)!important}
.request-sticky-summary-list-v371 .pending b,.request-sticky-summary-list-v371 .pending i{color:var(--homa-warning,#c88310)!important}

/* Main stage card — white, quiet, and proportioned like the Figma reference. */
.request-figma-shell-v370 .request-wizard-panel{
  margin:0 0 12px!important;
  overflow:hidden!important;
  border:1px solid var(--homa-border)!important;
  border-radius:14px!important;
  background:var(--homa-surface)!important;
  box-shadow:0 5px 18px rgba(29,32,66,.035)!important;
}
.request-figma-shell-v370 .request-wizard-panel>.card-head.request-section-head-v371{
  min-height:76px!important;
  padding:14px 20px 13px!important;
  display:block!important;
  background:var(--homa-surface)!important;
  border-bottom:1px solid var(--homa-border)!important;
}
.request-section-head-v371>div{min-width:0!important}
.request-stage-kicker-v371{display:block!important;margin-bottom:2px!important;color:var(--homa-primary)!important;font-size:13px!important;font-weight:650!important;line-height:1.5!important}
.request-section-head-v371 h2{margin:0!important;font-size:18px!important;font-weight:750!important;line-height:1.55!important;color:var(--homa-text)!important}
.request-section-head-v371 .help{margin:3px 0 0!important;font-size:13px!important;font-weight:400!important;color:var(--homa-muted)!important;line-height:1.7!important}
.request-section-head-v371 .request-section-index-v370{display:none!important}
.request-figma-shell-v370 .request-wizard-panel>.card-body{padding:16px 18px 18px!important}
.request-figma-shell-v370 .request-wizard-panel .form-grid{gap:13px 14px!important}
.request-figma-shell-v370 .request-wizard-panel .form-group>label{font-size:13px!important;font-weight:600!important;margin-bottom:6px!important}
.request-figma-shell-v370 .request-wizard-panel input:not([type=checkbox]):not([type=radio]):not([type=file]),
.request-figma-shell-v370 .request-wizard-panel select,
.request-figma-shell-v370 .request-wizard-panel textarea{
  border-radius:8px!important;
  box-shadow:none!important;
}
.request-figma-shell-v370 .request-wizard-panel input:not([type=checkbox]):not([type=radio]):not([type=file]),
.request-figma-shell-v370 .request-wizard-panel select{min-height:38px!important}
.request-figma-shell-v370 .request-wizard-panel textarea{min-height:86px!important}
.request-figma-shell-v370 .request-wizard-panel input:focus,
.request-figma-shell-v370 .request-wizard-panel select:focus,
.request-figma-shell-v370 .request-wizard-panel textarea:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--homa-primary) 9%,transparent)!important}

/* Internal form subsections (conference mirrors the supplied Figma form). */
.request-figma-section-stack-v371{display:grid!important;gap:0!important}
.request-figma-subsection-v371{padding:1px 0 16px!important}
.request-figma-subsection-v371+.request-figma-subsection-v371{padding-top:16px!important;border-top:1px solid var(--homa-border)!important}
.request-figma-subsection-head-v371{display:flex!important;align-items:center!important;gap:8px!important;margin:0 0 13px!important}
.request-figma-subsection-head-v371 span{width:23px;height:23px;flex:0 0 23px;display:grid;place-items:center;border-radius:7px;background:var(--homa-primary-soft);color:var(--homa-primary);font-size:13px;font-weight:700}
.request-figma-subsection-head-v371 h3{margin:0!important;font-size:13px!important;font-weight:700!important;color:var(--homa-text)!important}

/* Footer lives inside the active stage card exactly as a form footer, not as a floating toolbar. */
.request-figma-shell-v370 .wizard-actions-v371{
  position:static!important;
  bottom:auto!important;
  z-index:auto!important;
  width:100%!important;
  margin:0!important;
  padding:11px 16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  direction:rtl!important;
  border:0!important;
  border-top:1px solid var(--homa-border)!important;
  border-radius:0!important;
  background:var(--homa-surface)!important;
  box-shadow:none!important;
}
.wizard-exit-v371{min-width:108px!important;justify-content:center!important}
.wizard-action-buttons-v371{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;margin-inline-start:auto!important}
.wizard-action-buttons-v371 .wizard-next{min-width:126px!important}
.wizard-action-buttons-v371 .wizard-prev{min-width:108px!important}

/* Keep the Figma footer visually attached to the active stage. */
.request-figma-shell-v370 .request-wizard-panel>.wizard-actions-v371{border-radius:0 0 14px 14px!important}

@media(max-width:1180px){
  .request-form-layout-v371{grid-template-columns:1fr!important;grid-template-areas:"summary" "main"!important}
  .request-sticky-summary-v371{position:relative!important;top:auto!important}
  .request-sticky-summary-v371 .request-summary-selected-v371{margin-bottom:8px!important}
  .request-sticky-summary-list-v371{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  .request-sticky-summary-list-v371>div{padding:7px 9px!important;border:1px solid var(--homa-border)!important;border-radius:8px!important}
}
@media(max-width:920px){
  .request-stepper-v371{grid-template-columns:1fr!important;gap:6px!important}
  .request-stepper-v371 .wizard-steps{display:flex!important;overflow:auto!important;scrollbar-width:none!important}
  .request-stepper-v371 .wizard-steps::-webkit-scrollbar{display:none!important}
  .request-stepper-v371 .wizard-steps button{min-width:132px!important;flex:0 0 132px!important}
  .request-stepper-v371 .wizard-steps button::after{display:none!important}
  .request-step-save-v371{justify-self:start!important;padding-inline:5px!important}
  .request-sticky-summary-list-v371{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
  .request-stepper-v371{padding:7px 8px!important}
  .request-sticky-summary-list-v371{grid-template-columns:1fr!important}
  .request-figma-shell-v370 .request-wizard-panel>.card-head.request-section-head-v371{padding:13px 14px!important;min-height:68px!important}
  .request-figma-shell-v370 .request-wizard-panel>.card-body{padding:13px 13px 15px!important}
  .request-figma-shell-v370 .wizard-actions-v371{padding:10px 12px!important;flex-wrap:wrap!important}
  .wizard-action-buttons-v371{width:100%!important;order:-1!important;display:grid!important;grid-template-columns:1fr 1fr!important}
  .wizard-action-buttons-v371 .btn{width:100%!important;min-width:0!important}
  .wizard-exit-v371{width:100%!important}
}

/* V3.7.1 final review footer follows the same Figma action hierarchy. */
.request-figma-shell-v370 .review-actions-v371{
  margin:16px -18px -18px!important;
  padding:11px 16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  border-top:1px solid var(--homa-border)!important;
  background:var(--homa-surface)!important;
}
.review-actions-secondary-v371,.review-actions-primary-v371{display:flex;align-items:center;gap:8px}
.review-actions-primary-v371{margin-inline-start:auto}
@media(max-width:620px){
  .request-figma-shell-v370 .review-actions-v371{margin:14px -13px -15px!important;display:grid!important;grid-template-columns:1fr!important}
  .review-actions-secondary-v371,.review-actions-primary-v371{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}
  .review-actions-secondary-v371 .btn,.review-actions-primary-v371 .btn{width:100%!important;justify-content:center!important}
}

/* =========================================================
   HOMA V3.7.2 — Figma precision pass for request forms
   ========================================================= */

/* Stage bar: rounded-square numbers and longer connecting rails. */
.request-stepper-v371 .wizard-steps{
  --request-step-gap:clamp(22px,2.5vw,48px);
  gap:var(--request-step-gap)!important;
}
.request-stepper-v371 .wizard-steps button:not(:last-child)::after{
  left:calc(-1 * var(--request-step-gap))!important;
  width:var(--request-step-gap)!important;
}
.request-stepper-v371 .wizard-steps button span{
  width:23px!important;
  height:23px!important;
  min-width:23px!important;
  flex-basis:23px!important;
  border-radius:7px!important;
}
.request-step-save-v371{
  font-size:12px!important;
  font-weight:450!important;
  gap:4px!important;
}
.request-step-save-v371 i{font-size:14px!important}

/* Stage and subsection naming hierarchy follows the Figma reference more closely. */
.request-stage-kicker-v371{font-size:12px!important}
.request-section-head-v371 h2{font-size:19px!important}
.request-figma-subsection-head-v371 h3,
.request-figma-shell-v370 .form-layout-card-head h3,
.request-figma-shell-v370 .conditional-subform-head h3{
  font-size:15px!important;
  line-height:1.65!important;
  font-weight:700!important;
}

/* Dynamic program forms use native radio / checkbox choices, never segmented pills. */
.request-figma-shell-v370 .request-native-choice{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:11px 20px!important;
  width:100%!important;
  max-width:none!important;
  padding:4px 0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
}
.request-figma-shell-v370 .request-native-choice label{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:2px 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--homa-text)!important;
  font-size:13px!important;
  font-weight:400!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
.request-figma-shell-v370 .request-native-choice label:has(input:checked){
  border:0!important;
  background:transparent!important;
  color:var(--homa-text)!important;
}
.request-figma-shell-v370 .request-native-choice input[type="radio"]{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1.5px solid #aeb4c4!important;
  border-radius:50%!important;
  background:var(--homa-surface)!important;
  box-shadow:none!important;
}
.request-figma-shell-v370 .request-native-choice input[type="radio"]::before{
  content:""!important;
  width:7px!important;
  height:7px!important;
  border-radius:50%!important;
  background:var(--homa-primary)!important;
  transform:scale(0)!important;
  transition:transform .12s ease!important;
}
.request-figma-shell-v370 .request-native-choice input[type="radio"]:checked{
  border-color:var(--homa-primary)!important;
}
.request-figma-shell-v370 .request-native-choice input[type="radio"]:checked::before{transform:scale(1)!important}
.request-figma-shell-v370 .request-native-choice input[type="checkbox"]{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1.5px solid #b5bac9!important;
  border-radius:4px!important;
  background:var(--homa-surface)!important;
  box-shadow:none!important;
}
.request-figma-shell-v370 .request-native-choice input[type="checkbox"]::after{
  content:"✓"!important;
  color:var(--homa-primary)!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  transform:scale(0)!important;
  transition:transform .12s ease!important;
}
.request-figma-shell-v370 .request-native-choice input[type="checkbox"]:checked{
  border-color:var(--homa-primary)!important;
  background:color-mix(in srgb,var(--homa-primary) 5%,var(--homa-surface))!important;
}
.request-figma-shell-v370 .request-native-choice input[type="checkbox"]:checked::after{transform:scale(1)!important}

/* Unit hints (minute / person / session / item) sit inside the left edge like Figma placeholders. */
.request-figma-shell-v370 .field-input-with-unit{
  position:relative!important;
  width:100%!important;
}
.request-figma-shell-v370 .field-input-with-unit>input{
  width:100%!important;
  padding-left:58px!important;
}
.request-figma-shell-v370 .field-input-unit{
  position:absolute!important;
  left:12px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  color:var(--homa-muted)!important;
  opacity:.72!important;
  font-size:12px!important;
  font-weight:400!important;
  pointer-events:none!important;
  white-space:nowrap!important;
}

/* Request summary: actual hall photo when available + always-visible program icon. */
.request-summary-visual-v372{
  position:relative!important;
  height:118px!important;
  margin:12px 12px 7px!important;
  overflow:hidden!important;
  border:1px solid var(--homa-border)!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--homa-primary-soft) 55%,var(--homa-surface)),var(--homa-surface-subtle))!important;
}
.request-summary-hall-photo-v372{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
}
.request-summary-photo-placeholder-v372{
  width:100%!important;
  height:100%!important;
  display:grid!important;
  place-items:center!important;
}
.request-summary-photo-placeholder-v372>img{
  width:50px!important;
  height:50px!important;
  object-fit:contain!important;
  opacity:.62!important;
}
.request-summary-program-icon-v372{
  position:absolute!important;
  left:9px!important;
  bottom:9px!important;
  width:36px!important;
  height:36px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid color-mix(in srgb,var(--homa-primary) 20%,var(--homa-border))!important;
  border-radius:9px!important;
  background:color-mix(in srgb,var(--homa-surface) 94%,transparent)!important;
  box-shadow:0 4px 12px rgba(29,32,66,.09)!important;
  backdrop-filter:blur(6px)!important;
}
.request-summary-program-icon-v372>img{width:25px!important;height:25px!important;object-fit:contain!important}
.request-sticky-summary-v371 .request-summary-selected-v371{margin-top:0!important}

/* Hall catalog media upload. */
.hall-image-upload-v372 .upload-preview{
  width:100%!important;
  max-width:360px!important;
  height:160px!important;
  margin-top:8px!important;
  border:1px solid var(--homa-border)!important;
  border-radius:10px!important;
  object-fit:cover!important;
  background:var(--homa-surface-subtle)!important;
}
.hall-image-upload-meta-v372{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;margin-top:5px!important}
.hall-image-upload-meta-v372 .help{font-size:12px!important}

/* The first form tab has no "previous" action at all. */
.request-figma-shell-v370 .wizard-prev[hidden]{display:none!important}

@media(max-width:920px){
  .request-stepper-v371 .wizard-steps{gap:0!important}
  .request-summary-visual-v372{height:104px!important}
}

/* =========================================================
   HOMA V3.7.3 — request-form regression repair / Figma fidelity
   ========================================================= */

/* Stage rail: rounded-square badges with long connectors between stage labels. */
.request-stepper-v371 .wizard-steps{
  gap:0!important;
}
.request-stepper-v371 .wizard-steps button{
  overflow:visible!important;
  z-index:1!important;
}
.request-stepper-v371 .wizard-steps button:not(:last-child)::after{
  content:""!important;
  position:absolute!important;
  top:50%!important;
  left:calc(-50% + 22px)!important;
  width:calc(100% - 44px)!important;
  height:1px!important;
  transform:translateY(-50%)!important;
  background:var(--homa-border)!important;
  z-index:-1!important;
}
.request-stepper-v371 .wizard-steps button span{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  flex:0 0 24px!important;
  border-radius:7px!important;
}
.request-step-save-v371{font-size:12px!important;font-weight:400!important;gap:4px!important}
.request-step-save-v371 i{font-size:14px!important}

/* Wider left summary, still sticky on desktop. */
.request-form-layout-v371{
  grid-template-columns:315px minmax(0,1fr)!important;
  gap:14px!important;
}
.request-sticky-summary-v373{top:calc(var(--topbar) + 14px)!important}
.request-sticky-summary-head-v371{padding:14px 15px!important}
.request-sticky-summary-head-v371 b{font-size:15px!important}

/* Hall media behaves like the Figma summary card; if no photo exists the hall icon is used. */
.request-summary-visual-v373{
  height:142px!important;
  margin:14px 14px 8px!important;
  border-radius:10px!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--homa-primary-soft) 55%,var(--homa-surface)),var(--homa-surface-subtle))!important;
}
.request-summary-hall-placeholder-v373{
  width:100%!important;
  height:100%!important;
  display:grid!important;
  place-items:center!important;
  color:color-mix(in srgb,var(--homa-primary) 72%,var(--homa-muted))!important;
  background:
    radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--homa-primary-soft) 90%,transparent),transparent 48%),
    linear-gradient(145deg,var(--homa-surface-subtle),var(--homa-surface))!important;
}
.request-summary-hall-placeholder-v373 i{font-size:46px!important;opacity:.72!important}
.request-summary-selected-v373{
  grid-template-columns:38px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:9px!important;
  padding:10px 11px!important;
}
.request-summary-program-icon-v373{
  width:36px!important;height:36px!important;border-radius:9px!important;
  display:grid!important;place-items:center!important;
  background:var(--homa-primary-soft)!important;
}
.request-summary-program-icon-v373 img{width:25px!important;height:25px!important;object-fit:contain!important}
.request-summary-selected-copy-v373{min-width:0!important;display:grid!important;gap:1px!important}
.request-summary-selected-copy-v373 b{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.request-summary-selected-copy-v373 small{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.request-summary-draft-v373{
  font-style:normal!important;font-size:12px!important;font-weight:600!important;
  color:#c47a12!important;background:#fff4df!important;border-radius:7px!important;padding:4px 7px!important;white-space:nowrap!important;
}
.request-sticky-summary-list-v371{margin:5px 14px 13px!important}
.request-sticky-summary-list-v371>div{min-height:42px!important;padding:8px 1px!important}
.request-sticky-summary-list-v371 b{max-width:135px!important}

/* Section hierarchy: same visual scale as the Figma form. */
.request-section-head-v371 h2{font-size:19px!important;font-weight:750!important}
.request-figma-subsection-head-v371{margin-bottom:14px!important}
.request-figma-subsection-head-v371 h3{font-size:16px!important;font-weight:700!important}
.request-figma-subsection-head-v371 span{width:24px!important;height:24px!important;flex-basis:24px!important;border-radius:7px!important}
.request-figma-shell-v370 .request-wizard-panel>.card-body{padding:18px 20px 20px!important}
.request-figma-shell-v370 .request-wizard-panel .form-group>label{font-size:13px!important;font-weight:650!important;margin-bottom:7px!important}
.figma-program-info-grid-v373{gap:15px 16px!important}

/* Figma choice controls. They intentionally do NOT reuse legacy .radio-row/.check-row styles. */
.request-figma-shell-v370 .figma-choice-list{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(112px,1fr))!important;
  gap:8px!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
}
.request-figma-shell-v370 .figma-choice-option{
  position:relative!important;
  min-width:0!important;
  min-height:36px!important;
  padding:7px 11px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  border:1px solid var(--homa-border)!important;
  border-radius:8px!important;
  background:var(--homa-surface)!important;
  color:var(--homa-text)!important;
  font-size:13px!important;
  font-weight:400!important;
  cursor:pointer!important;
  box-shadow:none!important;
  transition:border-color .15s ease,background-color .15s ease,color .15s ease,box-shadow .15s ease!important;
}
.request-figma-shell-v370 .figma-choice-option:hover{
  border-color:color-mix(in srgb,var(--homa-primary) 38%,var(--homa-border))!important;
  background:color-mix(in srgb,var(--homa-primary-soft) 25%,var(--homa-surface))!important;
}
.request-figma-shell-v370 .figma-choice-option:has(.figma-choice-input:checked){
  border-color:var(--homa-primary)!important;
  background:color-mix(in srgb,var(--homa-primary-soft) 70%,var(--homa-surface))!important;
  color:var(--homa-primary)!important;
}
.request-figma-shell-v370 .figma-choice-option:has(.figma-choice-input:focus-visible){
  box-shadow:0 0 0 3px color-mix(in srgb,var(--homa-primary) 11%,transparent)!important;
}
.request-figma-shell-v370 .figma-choice-input{
  position:absolute!important;
  inline-size:1px!important;
  block-size:1px!important;
  min-inline-size:1px!important;
  margin:0!important;
  padding:0!important;
  opacity:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
  clip-path:inset(50%)!important;
}
.request-figma-shell-v370 .figma-choice-indicator{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  flex:0 0 16px!important;
  display:grid!important;
  place-items:center!important;
  pointer-events:none!important;
}
.request-figma-shell-v370 .figma-radio-indicator{
  border:1.5px solid #aeb6c7!important;
  border-radius:50%!important;
  background:var(--homa-surface)!important;
}
.request-figma-shell-v370 .figma-radio-indicator::after{
  content:""!important;
  width:7px!important;height:7px!important;border-radius:50%!important;
  background:var(--homa-primary)!important;transform:scale(0)!important;
  transition:transform .12s ease!important;
}
.request-figma-shell-v370 .figma-choice-option:has(.figma-choice-input:checked) .figma-radio-indicator{
  border-color:var(--homa-primary)!important;
}
.request-figma-shell-v370 .figma-choice-option:has(.figma-choice-input:checked) .figma-radio-indicator::after{transform:scale(1)!important}
.request-figma-shell-v370 .figma-check-indicator{
  border:0!important;
  color:var(--homa-primary)!important;
  font-size:16px!important;
  background:transparent!important;
}
.request-figma-shell-v370 .figma-check-indicator i{opacity:0!important;transform:scale(.7)!important;transition:opacity .12s ease,transform .12s ease!important}
.request-figma-shell-v370 .figma-choice-option:has(.figma-choice-input:checked) .figma-check-indicator i{opacity:1!important;transform:scale(1)!important}
.request-figma-shell-v370 .figma-choice-label{min-width:0!important;line-height:1.5!important}

/* Number fields keep semantic type=number, but browser spinners never collide with the left-side unit hint. */
.request-figma-shell-v370 .field-input-with-unit{position:relative!important;width:100%!important}
.request-figma-shell-v370 .field-input-with-unit>input[type="number"]{
  -moz-appearance:textfield!important;
  appearance:textfield!important;
  padding-left:62px!important;
}
.request-figma-shell-v370 .field-input-with-unit>input[type="number"]::-webkit-outer-spin-button,
.request-figma-shell-v370 .field-input-with-unit>input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance:none!important;
  appearance:none!important;
  margin:0!important;
}
.request-figma-shell-v370 .field-input-unit{
  left:13px!important;
  right:auto!important;
  font-size:12px!important;
  font-weight:400!important;
  opacity:.68!important;
}

/* Footer follows the Figma placement: primary actions left, exit right. */
.request-figma-shell-v370 .wizard-actions-v371{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  direction:ltr!important;
  padding:11px 16px!important;
}
.request-figma-shell-v370 .wizard-exit-v371{grid-column:3!important;justify-self:end!important;direction:rtl!important}
.request-figma-shell-v370 .wizard-action-buttons-v371{grid-column:1!important;justify-self:start!important;margin:0!important;direction:rtl!important}
.request-figma-shell-v370 .wizard-action-buttons-v371 .wizard-next{order:2!important}
.request-figma-shell-v370 .wizard-action-buttons-v371 .wizard-prev{order:1!important}

@media(max-width:1180px){
  .request-form-layout-v371{grid-template-columns:1fr!important}
  .request-summary-visual-v373{height:128px!important}
}
@media(max-width:920px){
  .request-stepper-v371 .wizard-steps button:not(:last-child)::after{display:none!important}
  .request-figma-shell-v370 .figma-choice-list{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))!important}
}
@media(max-width:620px){
  .request-figma-shell-v370 .figma-choice-list{grid-template-columns:1fr 1fr!important}
  .request-figma-shell-v370 .wizard-actions-v371{grid-template-columns:1fr!important;gap:8px!important}
  .request-figma-shell-v370 .wizard-exit-v371,.request-figma-shell-v370 .wizard-action-buttons-v371{grid-column:1!important;width:100%!important;justify-self:stretch!important}
  .request-figma-shell-v370 .wizard-action-buttons-v371{display:grid!important;grid-template-columns:1fr 1fr!important}
}

/* =========================================================
   HOMA V3.7.4 — request-form final visual polish
   ========================================================= */

/* Choice controls: optically centered Figma radio/check indicators. */
.request-figma-shell-v370 .figma-choice-option{
  min-height:38px!important;
  padding:8px 11px!important;
  gap:8px!important;
}
.request-figma-shell-v370 .figma-choice-indicator{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  flex:0 0 18px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  line-height:1!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
}
.request-figma-shell-v370 .figma-radio-indicator{
  position:relative!important;
  border:1.5px solid #aeb6c7!important;
  border-radius:50%!important;
  background:var(--homa-surface)!important;
}
.request-figma-shell-v370 .figma-radio-indicator::before{content:none!important}
.request-figma-shell-v370 .figma-radio-indicator::after{
  content:""!important;
  position:static!important;
  width:7px!important;
  height:7px!important;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  background:var(--homa-primary)!important;
  opacity:0!important;
  transform:none!important;
  transition:opacity .12s ease!important;
}
.request-figma-shell-v370 .figma-choice-option:has(.figma-choice-input:checked) .figma-radio-indicator::after{opacity:1!important}
.request-figma-shell-v370 .figma-check-indicator{
  position:relative!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--homa-primary)!important;
  font-size:0!important;
}
.request-figma-shell-v370 .figma-check-indicator::before{content:none!important}
.request-figma-shell-v370 .figma-check-indicator::after{
  content:"✓"!important;
  display:block!important;
  width:18px!important;
  height:18px!important;
  line-height:18px!important;
  text-align:center!important;
  font-family:Arial,"Shabnam",sans-serif!important;
  font-size:16px!important;
  font-weight:700!important;
  color:var(--homa-primary)!important;
  opacity:0!important;
  transform:none!important;
  transition:opacity .12s ease!important;
}
.request-figma-shell-v370 .figma-choice-option:has(.figma-choice-input:checked) .figma-check-indicator::after{opacity:1!important}
.request-figma-shell-v370 .figma-choice-label{display:block!important;line-height:1.55!important}

/* Autosave is supporting metadata, not a primary navigation element. */
.request-step-save-v371{
  font-size:12px!important;
  font-weight:400!important;
  gap:4px!important;
  color:var(--homa-muted)!important;
}
.request-step-save-v371.saved{color:var(--homa-success,#159b68)!important}
.request-step-save-v371.saving{color:var(--homa-primary)!important}
.request-step-save-v371.error{color:var(--homa-danger,#dc2626)!important}
.request-step-save-v371 i{font-size:12px!important;line-height:1!important}

/* Wider sticky summary for a calmer Figma-like left rail. */
.request-form-layout-v371{grid-template-columns:330px minmax(0,1fr)!important;gap:15px!important}

/* Form footer: one quiet row, with a very light surface and equal control alignment. */
.request-figma-shell-v370 .wizard-actions-v371{
  min-height:62px!important;
  margin:0!important;
  margin-bottom:0!important;
  padding:11px 16px!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  direction:rtl!important;
  border:0!important;
  border-top:1px solid var(--homa-border)!important;
  border-radius:0 0 14px 14px!important;
  background:color-mix(in srgb,var(--homa-surface-subtle) 88%,var(--homa-surface))!important;
  box-shadow:none!important;
}
.request-figma-shell-v370 .wizard-exit-v371{
  grid-column:auto!important;
  justify-self:auto!important;
  min-width:104px!important;
  height:38px!important;
  padding-inline:12px!important;
  border-color:color-mix(in srgb,var(--homa-border) 72%,transparent)!important;
  background:transparent!important;
  color:var(--homa-muted)!important;
  font-weight:500!important;
  box-shadow:none!important;
}
.request-figma-shell-v370 .wizard-exit-v371:hover{
  border-color:var(--homa-border)!important;
  background:var(--homa-surface)!important;
  color:var(--homa-text)!important;
}
.request-figma-shell-v370 .wizard-action-buttons-v371{
  grid-column:auto!important;
  justify-self:auto!important;
  margin:0!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:8px!important;
  direction:rtl!important;
}
.request-figma-shell-v370 .wizard-action-buttons-v371 .btn{
  height:38px!important;
  min-height:38px!important;
  align-items:center!important;
  justify-content:center!important;
}
.request-figma-shell-v370 .wizard-action-buttons-v371 .wizard-prev{order:initial!important;min-width:104px!important}
.request-figma-shell-v370 .wizard-action-buttons-v371 .wizard-next{order:initial!important;min-width:132px!important}

/* Review footer obeys the same single-row hierarchy. */
.request-figma-shell-v370 .review-actions-v371{
  min-height:62px!important;
  margin:16px -18px -18px!important;
  padding:11px 16px!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  border-top:1px solid var(--homa-border)!important;
  background:color-mix(in srgb,var(--homa-surface-subtle) 88%,var(--homa-surface))!important;
}
.request-figma-shell-v370 .review-actions-secondary-v371,
.request-figma-shell-v370 .review-actions-primary-v371{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
}
.request-figma-shell-v370 .review-actions-primary-v371{margin-inline-start:0!important}
.request-figma-shell-v370 .review-actions-v371 .btn{height:38px!important;min-height:38px!important;justify-content:center!important}
.request-figma-shell-v370 .review-exit-v374{
  min-width:104px!important;
  border-color:color-mix(in srgb,var(--homa-border) 72%,transparent)!important;
  background:transparent!important;
  color:var(--homa-muted)!important;
  font-weight:500!important;
  box-shadow:none!important;
}
.request-figma-shell-v370 .review-exit-v374:hover{background:var(--homa-surface)!important;color:var(--homa-text)!important}

/* Request-selection screen: slightly taller program cards and photo-first hall cards. */
.request-choice-shell.request-choice-deep{grid-template-columns:minmax(0,1fr) 320px!important;gap:18px!important}
.request-choice-deep .choice-section{padding:18px 20px!important}
.request-choice-deep .program-choice-grid{gap:10px!important}
.request-choice-deep .program-choice-card{
  min-height:112px!important;
  padding:14px 9px!important;
  gap:8px!important;
}
.request-choice-deep .program-choice-icon{width:44px!important;height:44px!important;border-radius:11px!important}
.request-choice-deep .program-choice-icon img{width:31px!important;height:31px!important}
.request-choice-deep .program-choice-card strong{font-size:13px!important;font-weight:650!important}

.request-choice-deep .hall-choice-grid{
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;
  gap:10px!important;
}
.request-choice-deep .hall-choice-card-v374{
  min-height:112px!important;
  padding:8px!important;
  display:grid!important;
  grid-template-columns:104px minmax(0,1fr) 24px!important;
  align-items:center!important;
  gap:11px!important;
  overflow:hidden!important;
}
.request-choice-deep .hall-choice-media-v374{
  width:104px!important;
  height:94px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  border:1px solid color-mix(in srgb,var(--homa-border) 82%,transparent)!important;
  border-radius:10px!important;
  background:linear-gradient(145deg,var(--homa-surface-subtle),var(--homa-surface))!important;
  color:var(--homa-primary)!important;
}
.request-choice-deep .hall-choice-media-v374 img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
}
.request-choice-deep .hall-choice-media-v374.no-photo i{font-size:32px!important;opacity:.72!important}
.request-choice-deep .hall-choice-card-v374 .hall-choice-copy b{font-size:14px!important;font-weight:650!important;line-height:1.55!important}
.request-choice-deep .hall-choice-card-v374 .hall-choice-copy small{font-size:12px!important;margin-top:5px!important;line-height:1.6!important}
.request-choice-deep .hall-choice-card-v374 .hall-choice-radio{justify-self:end!important}

@media(max-width:1180px){
  .request-form-layout-v371{grid-template-columns:1fr!important}
}
@media(max-width:920px){
  .request-choice-shell.request-choice-deep{grid-template-columns:1fr!important}
  .request-choice-summary{position:relative!important;top:auto!important}
}
@media(max-width:620px){
  .request-choice-deep .program-choice-card{min-height:100px!important;padding:12px 7px!important}
  .request-choice-deep .hall-choice-card-v374{grid-template-columns:84px minmax(0,1fr) 22px!important;min-height:96px!important}
  .request-choice-deep .hall-choice-media-v374{width:84px!important;height:78px!important}
  .request-figma-shell-v370 .wizard-actions-v371{flex-wrap:wrap!important;gap:8px!important}
  .request-figma-shell-v370 .wizard-action-buttons-v371{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;order:-1!important}
  .request-figma-shell-v370 .wizard-action-buttons-v371 .btn{width:100%!important;min-width:0!important}
  .request-figma-shell-v370 .wizard-exit-v371{width:100%!important}
  .request-figma-shell-v370 .review-actions-v371{display:grid!important;grid-template-columns:1fr!important}
  .request-figma-shell-v370 .review-actions-secondary-v371,
  .request-figma-shell-v370 .review-actions-primary-v371{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}
}

/* =========================================================
   HOMA V3.7.5 — progressive request-choice UX
   Prototype logic adapted to HOMA components/design tokens.
   ========================================================= */
.request-choice-flow-v375{
  --choice-gap:16px;
  margin-bottom:14px;
}
.choice-progress-v375{
  width:min(760px,100%);
  margin:0 auto 16px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  direction:rtl;
}
.choice-progress-step-v375{
  position:relative;
  flex:1 1 0;
  min-width:0;
  display:grid;
  justify-items:center;
  gap:6px;
  color:var(--homa-muted);
  text-decoration:none;
  font-size:12px;
  font-weight:500;
}
.choice-progress-step-v375:not(:last-child)::after{
  content:"";
  position:absolute;
  top:15px;
  right:calc(50% + 22px);
  width:calc(100% - 44px);
  height:2px;
  border-radius:999px;
  background:var(--homa-border);
  z-index:0;
}
.choice-progress-step-v375 > span{
  position:relative;
  z-index:1;
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border:1px solid var(--homa-border);
  border-radius:8px;
  background:var(--homa-surface-subtle);
  color:var(--homa-muted);
  font-size:12px;
  font-weight:650;
}
.choice-progress-step-v375 > b{
  font-weight:500;
  white-space:nowrap;
}
.choice-progress-step-v375.done{color:var(--homa-text-soft,var(--homa-text));}
.choice-progress-step-v375.done > span{
  border-color:color-mix(in srgb,var(--homa-primary) 25%,var(--homa-border));
  background:var(--homa-primary-soft);
  color:var(--homa-primary);
}
.choice-progress-step-v375.done:not(:last-child)::after{
  background:color-mix(in srgb,var(--homa-primary) 30%,var(--homa-border));
}
.choice-progress-step-v375.active{color:var(--homa-primary);}
.choice-progress-step-v375.active > span{
  border-color:var(--homa-primary);
  background:var(--homa-primary);
  color:#fff;
}

.request-choice-shell-v375{
  grid-template-columns:minmax(0,1fr) 330px!important;
  gap:var(--choice-gap)!important;
  align-items:start!important;
}
.request-choice-main-v375{
  min-width:0;
  display:grid;
  gap:12px;
}
.choice-progress-panel-v375{
  overflow:hidden;
  scroll-margin-top:calc(var(--topbar) + 18px);
  margin:0!important;
}
.choice-panel-head-v375{
  width:100%;
  min-height:58px;
  border:0;
  background:transparent;
  padding:13px 16px;
  display:grid;
  grid-template-columns:30px minmax(0,1fr) auto 20px;
  align-items:center;
  gap:10px;
  text-align:right;
  color:var(--homa-text);
  cursor:pointer;
}
.choice-panel-head-v375:hover:not(:disabled){background:var(--homa-surface-subtle);}
.choice-panel-head-v375:disabled{cursor:default;color:var(--homa-muted);}
.choice-step-v375{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:var(--homa-primary);
  color:#fff;
  font-size:12px;
  font-weight:650;
}
.choice-panel-title-v375{
  min-width:0;
  font-size:16px;
  font-weight:650;
}
.choice-panel-result-v375{
  max-width:240px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  padding:6px 9px;
  border:1px solid color-mix(in srgb,var(--homa-primary) 18%,var(--homa-border));
  border-radius:9px;
  background:var(--homa-primary-soft);
  color:var(--homa-primary);
  font-size:12px;
  font-weight:550;
  opacity:0;
  visibility:hidden;
}
.choice-panel-head-v375 > i{
  font-size:18px;
  color:var(--homa-muted);
  transition:transform .18s ease;
}
.choice-panel-body-v375{
  padding:2px 16px 16px;
}
.choice-progress-panel-v375.is-collapsed:not(.is-user-expanded) .choice-panel-body-v375{display:none;}
.choice-progress-panel-v375.is-collapsed:not(.is-user-expanded) .choice-panel-result-v375{
  opacity:1;
  visibility:visible;
}
.choice-progress-panel-v375.is-collapsed:not(.is-user-expanded) .choice-panel-head-v375 > i{transform:rotate(90deg);}
.choice-progress-panel-v375.is-locked{
  box-shadow:none!important;
  background:color-mix(in srgb,var(--homa-surface-subtle) 75%,var(--homa-surface));
}
.choice-progress-panel-v375.is-locked .choice-step-v375{
  background:var(--homa-surface-subtle);
  border:1px solid var(--homa-border);
  color:var(--homa-muted);
}
.choice-progress-panel-v375.is-locked .choice-panel-result-v375{
  opacity:1;
  visibility:visible;
  border-color:transparent;
  background:transparent;
  color:var(--homa-muted);
  font-weight:400;
}

.request-choice-flow-v375 .program-choice-grid-v375{
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:9px!important;
}
.request-choice-flow-v375 .program-choice-card-v375{
  min-height:108px!important;
  padding:12px 8px!important;
  gap:7px!important;
  border-radius:13px!important;
  box-shadow:none!important;
}
.request-choice-flow-v375 .program-choice-card-v375:hover{
  transform:translateY(-1px)!important;
  background:color-mix(in srgb,var(--homa-primary) 2%,var(--homa-surface))!important;
}
.request-choice-flow-v375 .program-choice-card-v375.selected{
  background:var(--homa-primary-soft)!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--homa-primary) 5%,transparent)!important;
}
.request-choice-flow-v375 .program-choice-card-v375 .choice-check{
  width:19px!important;
  height:19px!important;
  top:8px!important;
  right:8px!important;
  left:auto!important;
  border-radius:7px!important;
  font-size:12px!important;
}
.request-choice-flow-v375 .program-choice-icon{
  width:43px!important;
  height:43px!important;
  border-radius:11px!important;
  background:var(--homa-primary-soft)!important;
}
.request-choice-flow-v375 .program-choice-icon img{width:30px!important;height:30px!important;}
.request-choice-flow-v375 .program-choice-card-v375 strong{
  font-size:12.5px!important;
  font-weight:600!important;
  line-height:1.55!important;
}

.request-choice-flow-v375 .venue-choice-grid-v375{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
.request-choice-flow-v375 .venue-choice-card-v375{
  min-height:140px!important;
  padding:10px!important;
  grid-template-columns:148px minmax(0,1fr)!important;
  gap:14px!important;
  border-radius:15px!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
.request-choice-flow-v375 .venue-choice-card-v375:hover{transform:translateY(-1px)!important;}
.request-choice-flow-v375 .venue-choice-card-v375 .venue-choice-image{
  width:148px!important;
  height:116px!important;
  border-radius:11px!important;
}
.request-choice-flow-v375 .venue-choice-card-v375 .venue-choice-copy h3{
  margin:0 0 9px!important;
  font-size:15px!important;
  font-weight:650!important;
}
.venue-choice-count-v375{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--homa-muted);
  font-size:12px;
  line-height:1.5;
}
.venue-choice-count-v375 i{font-size:15px;color:var(--homa-primary);}
.request-choice-flow-v375 .venue-choice-check{
  width:20px!important;
  height:20px!important;
  top:10px!important;
  right:10px!important;
  left:auto!important;
  border-radius:7px!important;
  z-index:4!important;
}

.choice-hall-tools-v375{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  flex-wrap:wrap;
}
.choice-hall-search-v375{
  position:relative;
  flex:1 1 260px;
  min-width:210px;
}
.choice-hall-search-v375 input{
  width:100%;
  height:40px;
  padding:0 12px 0 38px!important;
  border:1px solid var(--homa-border)!important;
  border-radius:10px!important;
  background:var(--homa-surface)!important;
  box-shadow:none!important;
}
.choice-hall-search-v375 i{
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  color:var(--homa-muted);
  font-size:17px;
  pointer-events:none;
}
.choice-hall-filters-v375{
  display:flex;
  align-items:center;
  gap:6px;
}
.choice-hall-filters-v375 button{
  min-height:36px;
  padding:0 12px;
  border:1px solid var(--homa-border);
  border-radius:9px;
  background:var(--homa-surface);
  color:var(--homa-muted);
  font-size:12px;
  font-weight:500;
}
.choice-hall-filters-v375 button:hover{border-color:color-mix(in srgb,var(--homa-primary) 35%,var(--homa-border));color:var(--homa-text);}
.choice-hall-filters-v375 button.active{
  border-color:var(--homa-primary);
  background:var(--homa-primary);
  color:#fff;
}
.request-choice-flow-v375 .hall-choice-grid-v375{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:11px!important;
}
.request-choice-flow-v375 .hall-choice-card-v375{
  min-height:112px!important;
  grid-template-columns:96px minmax(0,1fr) 20px!important;
  padding:9px!important;
  gap:11px!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
.request-choice-flow-v375 .hall-choice-card-v375:hover:not(.disabled){transform:translateY(-1px)!important;}
.request-choice-flow-v375 .hall-choice-card-v375.disabled{
  cursor:not-allowed!important;
  background:var(--homa-surface-subtle)!important;
  color:var(--homa-muted)!important;
  opacity:.72;
}
.request-choice-flow-v375 .hall-choice-card-v375 .hall-choice-media-v374{
  width:96px!important;
  height:90px!important;
}
.request-choice-flow-v375 .hall-choice-card-v375 .hall-choice-copy b{font-size:13.5px!important;}
.request-choice-flow-v375 .hall-choice-card-v375 .hall-choice-copy small{font-size:12px!important;}
.hall-choice-tag-v375{
  display:inline-flex!important;
  width:max-content;
  margin-top:6px;
  padding:2px 7px;
  border-radius:7px;
  background:var(--homa-primary-soft);
  color:var(--homa-primary);
  font-size:12px!important;
  font-style:normal;
}
.hall-choice-reason-v375{
  display:block!important;
  margin-top:6px;
  color:var(--homa-muted);
  font-size:12px!important;
  font-style:normal;
  line-height:1.55;
}
.hall-choice-radio-v375{
  width:19px;
  height:19px;
  display:grid;
  place-items:center;
  border:1.5px solid var(--homa-border-strong,var(--homa-border));
  border-radius:50%;
  background:var(--homa-surface);
}
.hall-choice-card-v375.selected .hall-choice-radio-v375{
  border:5px solid var(--homa-primary);
}
.choice-hall-empty-v375{
  padding:18px;
  text-align:center;
  color:var(--homa-muted);
  font-size:12px;
}

.choice-actions-v375{
  scroll-margin-top:calc(var(--topbar) + 18px);
  min-height:62px;
  padding:11px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid var(--homa-border);
  border-radius:14px;
  background:color-mix(in srgb,var(--homa-surface-subtle) 82%,var(--homa-surface));
}
.choice-actions-v375 .btn{min-height:40px;}
.choice-cancel-v375{
  border-color:transparent!important;
  background:transparent!important;
  color:var(--homa-muted)!important;
  box-shadow:none!important;
}
.choice-cancel-v375:hover{background:var(--homa-surface)!important;color:var(--homa-text)!important;}

.request-choice-summary-v375{
  position:sticky!important;
  top:calc(var(--topbar) + 14px)!important;
  width:100%;
  padding:16px!important;
  align-self:start;
}
.request-choice-summary-v375 > h3{
  margin:0 0 12px!important;
  font-size:15px!important;
  font-weight:650!important;
}
.choice-summary-row-v375{
  min-height:54px;
  display:grid;
  grid-template-columns:20px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  padding:10px 0;
  border-top:1px solid var(--homa-border);
}
.choice-summary-row-v375:first-of-type{border-top:0;}
.choice-summary-row-v375 > span:nth-child(2){min-width:0;}
.choice-summary-row-v375 em,
.choice-summary-row-v375 b{display:block;font-style:normal;}
.choice-summary-row-v375 em{margin-bottom:2px;color:var(--homa-muted);font-size:12px;}
.choice-summary-row-v375 b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--homa-text);font-size:13px;font-weight:600;}
.choice-summary-state-v375{
  width:19px;
  height:19px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--homa-surface-subtle);
  color:var(--homa-muted);
  font-size:12px;
}
.choice-summary-row-v375.complete .choice-summary-state-v375{
  background:color-mix(in srgb,var(--homa-success,#169b68) 12%,var(--homa-surface));
  color:var(--homa-success,#169b68);
}
.choice-summary-program-icon-v375{
  width:30px;
  height:30px;
  object-fit:contain;
  padding:4px;
  border-radius:8px;
  background:var(--homa-primary-soft);
}
.choice-summary-thumb-v375{
  margin-top:14px;
  overflow:hidden;
  border:1px solid var(--homa-border);
  border-radius:12px;
  background:var(--homa-surface);
}
.choice-summary-thumb-v375 > img,
.choice-summary-thumb-fallback-v375{
  width:100%;
  height:130px;
  display:grid;
  place-items:center;
  object-fit:cover;
  background:linear-gradient(145deg,var(--homa-surface-subtle),var(--homa-surface));
  color:var(--homa-primary);
}
.choice-summary-thumb-fallback-v375 i{font-size:42px;opacity:.72;}
.choice-summary-thumb-v375 > div:last-child{padding:9px 11px;}
.choice-summary-thumb-v375 > div:last-child b,
.choice-summary-thumb-v375 > div:last-child small{display:block;}
.choice-summary-thumb-v375 > div:last-child b{font-size:13px;font-weight:650;}
.choice-summary-thumb-v375 > div:last-child small{margin-top:2px;color:var(--homa-muted);font-size:12px;}

@media(max-width:1250px){
  .request-choice-flow-v375 .program-choice-grid-v375{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  .request-choice-flow-v375 .hall-choice-grid-v375{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:980px){
  .request-choice-shell-v375{grid-template-columns:1fr!important;}
  .request-choice-summary-v375{position:static!important;order:-1;}
  .request-choice-flow-v375 .venue-choice-card-v375{grid-template-columns:124px minmax(0,1fr)!important;}
  .request-choice-flow-v375 .venue-choice-card-v375 .venue-choice-image{width:124px!important;height:96px!important;}
}
@media(max-width:680px){
  .choice-progress-step-v375 > b{font-size:12px;white-space:normal;text-align:center;}
  .choice-panel-head-v375{grid-template-columns:28px minmax(0,1fr) 18px;padding:12px;}
  .choice-panel-result-v375{grid-column:2/4;grid-row:2;max-width:100%;justify-self:start;}
  .request-choice-flow-v375 .program-choice-grid-v375{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .request-choice-flow-v375 .venue-choice-grid-v375,
  .request-choice-flow-v375 .hall-choice-grid-v375{grid-template-columns:1fr!important;}
  .choice-actions-v375{flex-direction:column-reverse;align-items:stretch;}
  .choice-actions-v375 .btn{width:100%;justify-content:center;}
}


/* HOMA V3.7.6 — request-entry regression repair / runtime error correlation */
.homa-error-reference{display:block;margin:-2px 0 16px;color:var(--text-muted,#77819a);font-size:12px;direction:rtl}.homa-error-reference .ltr{direction:ltr;unicode-bidi:isolate;font-weight:700}

/* HOMA V3.7.7 — request choice accordion refinement */
.request-choice-flow-v377 .choice-panel-body-v375{
  display:block!important;
  max-height:2200px;
  opacity:1;
  overflow:hidden;
  padding:2px 16px 16px;
  transition:max-height .28s cubic-bezier(.22,.61,.36,1),opacity .18s ease,padding .24s ease;
}
.request-choice-flow-v377 .choice-progress-panel-v375.is-collapsed:not(.is-user-expanded) .choice-panel-body-v375,
.request-choice-flow-v377 .choice-progress-panel-v375.is-user-collapsed .choice-panel-body-v375{
  display:block!important;
  max-height:0;
  opacity:0;
  padding-top:0!important;
  padding-bottom:0!important;
  pointer-events:none;
}
.request-choice-flow-v377 .choice-progress-panel-v375.is-user-expanded .choice-panel-body-v375{
  max-height:2200px;
  opacity:1;
  padding-top:2px!important;
  padding-bottom:16px!important;
  pointer-events:auto;
}
.request-choice-flow-v377 .choice-progress-panel-v375.is-user-collapsed .choice-panel-result-v375,
.request-choice-flow-v377 .choice-progress-panel-v375.is-collapsed:not(.is-user-expanded) .choice-panel-result-v375{
  opacity:1;
  visibility:visible;
}
.request-choice-flow-v377 .choice-progress-panel-v375.is-user-collapsed .choice-panel-head-v375 > i,
.request-choice-flow-v377 .choice-progress-panel-v375.is-collapsed:not(.is-user-expanded) .choice-panel-head-v375 > i{
  transform:rotate(90deg);
}
.request-choice-flow-v377 .choice-progress-panel-v375.is-user-expanded .choice-panel-head-v375 > i{
  transform:none;
}
.request-choice-flow-v377 .choice-panel-head-v375 > i{transition:transform .22s ease,color .18s ease;}

/* Selected-state check always lives at the upper-left corner of program, venue and hall cards. */
.request-choice-flow-v377 .choice-card-check-v377{
  position:absolute!important;
  top:8px!important;
  left:8px!important;
  right:auto!important;
  width:20px!important;
  height:20px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:7px!important;
  background:var(--homa-primary)!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:1!important;
  z-index:6!important;
  box-shadow:0 2px 7px color-mix(in srgb,var(--homa-primary) 18%,transparent);
}
.request-choice-flow-v377 .choice-card-check-v377 i{display:block;line-height:1;}

/* Venue and hall media stay physically on the left in RTL. */
.request-choice-flow-v377 .venue-choice-card-v375{
  direction:ltr!important;
  grid-template-columns:148px minmax(0,1fr)!important;
}
.request-choice-flow-v377 .venue-choice-card-v375 .venue-choice-copy{
  direction:rtl!important;
  text-align:right!important;
  min-width:0;
}
.request-choice-flow-v377 .venue-choice-card-v375.selected{
  border-color:var(--homa-primary)!important;
  background:var(--homa-primary-soft)!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--homa-primary) 5%,transparent)!important;
}
.request-choice-flow-v377 .hall-choice-card-v375{
  direction:ltr!important;
  grid-template-columns:96px minmax(0,1fr)!important;
  position:relative!important;
}
.request-choice-flow-v377 .hall-choice-card-v375 .hall-choice-copy{
  direction:rtl!important;
  text-align:right!important;
  min-width:0;
}
.request-choice-flow-v377 .hall-choice-card-v375.selected{
  border-color:var(--homa-primary)!important;
  background:var(--homa-primary-soft)!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--homa-primary) 5%,transparent)!important;
}
.request-choice-flow-v377 .hall-choice-media-v374 img{
  width:100%;height:100%;object-fit:cover;display:block;
}

/* Restore HOMA's own summary visual: hall image with the program badge over it. */
.request-choice-summary-v377{padding:16px!important;}
.choice-summary-visual-v377{
  position:relative;
  width:100%;
  height:154px;
  margin:2px 0 12px;
  overflow:hidden;
  border:1px solid var(--homa-border);
  border-radius:13px;
  background:linear-gradient(145deg,var(--homa-surface-subtle),var(--homa-surface));
}
.choice-summary-visual-v377 > img{
  width:100%;height:100%;display:block;object-fit:cover;
}
.choice-summary-visual-fallback-v377{
  width:100%;height:100%;display:grid;place-items:center;
  color:var(--homa-primary);
  background:linear-gradient(145deg,var(--homa-surface-subtle),var(--homa-surface));
}
.choice-summary-visual-fallback-v377 i{font-size:46px;opacity:.68;}
.choice-summary-program-badge-v377{
  position:absolute;
  inset-inline-end:10px;
  bottom:10px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid color-mix(in srgb,var(--homa-primary) 18%,#fff);
  border-radius:11px;
  background:color-mix(in srgb,#fff 92%,var(--homa-primary-soft));
  box-shadow:0 5px 16px rgba(24,32,56,.12);
}
.choice-summary-program-badge-v377 img{width:29px;height:29px;object-fit:contain;}

@media(max-width:980px){
  .request-choice-flow-v377 .venue-choice-card-v375{grid-template-columns:124px minmax(0,1fr)!important;}
}
@media(max-width:680px){
  .request-choice-flow-v377 .venue-choice-card-v375,
  .request-choice-flow-v377 .hall-choice-card-v375{grid-template-columns:104px minmax(0,1fr)!important;}
  .request-choice-flow-v377 .venue-choice-card-v375 .venue-choice-image{width:104px!important;height:86px!important;}
  .request-choice-flow-v377 .hall-choice-card-v375 .hall-choice-media-v374{width:104px!important;height:86px!important;}
  .choice-summary-visual-v377{height:142px;}
}

/* =========================================================
   HOMA V3.7.8 — request UX refinement / early scheduling
   ========================================================= */

/* Hall administration cards now expose the actual hall media. */
.hall-admin-thumb-v378{overflow:hidden!important;position:relative!important;background:var(--homa-surface-subtle)!important}
.hall-admin-thumb-v378 img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important}
.hall-admin-thumb-v378.no-photo>i{font-size:30px!important;color:var(--homa-primary)!important}
.hall-admin-thumb-v378 .status-dot{position:absolute!important;right:7px!important;bottom:7px!important;border:2px solid #fff!important}

/* AJAX choice handoff: same server rules, no full-page flash. */
.request-choice-flow-v377{transition:opacity .16s ease,transform .18s ease}
.request-choice-flow-v377.is-loading-v378{opacity:.48;transform:translateY(3px);pointer-events:none}
.request-choice-flow-v377.choice-flow-enter-v378{opacity:0;transform:translateY(6px)}

/* Figma-like field proportions: 44px controls, calmer padding and metadata. */
.request-figma-shell-v370 .request-wizard-panel>.card-body{padding:22px 24px 24px!important}
.request-figma-shell-v370 .request-wizard-panel .form-grid{gap:18px 20px!important}
.request-figma-shell-v370 .form-group>label{margin-bottom:9px!important;font-size:13px!important;font-weight:650!important;line-height:1.65!important}
.request-figma-shell-v370 .form-group>input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.request-figma-shell-v370 .form-group>select,
.request-figma-shell-v370 .field-input-with-unit>input,
.request-figma-shell-v370 .inline-fields input,
.request-figma-shell-v370 .time-slot-input{
  min-height:44px!important;height:44px!important;padding-top:0!important;padding-bottom:0!important;border-radius:9px!important
}
.request-figma-shell-v370 .form-group>textarea{min-height:112px!important;padding:12px 13px!important;border-radius:9px!important;line-height:1.85!important;resize:vertical}
.request-figma-shell-v370 .form-group input::placeholder,
.request-figma-shell-v370 .form-group textarea::placeholder{color:#a1a9ba!important;opacity:1!important;font-size:12px!important}
.request-figma-shell-v370 .form-group>.help,
.request-figma-shell-v370 .form-group .help{display:block!important;margin-top:6px!important;color:var(--homa-muted)!important;font-size:12px!important;line-height:1.75!important}
.request-required-note-v378{display:block!important;margin-top:7px!important;color:var(--homa-muted)!important;font-size:12px!important;font-weight:400!important}
.request-required-note-v378 b{color:var(--homa-danger,#dc2626)!important;font-size:13px!important}

/* Give the stage title more breathing room before its fields. */
.request-figma-shell-v370 .request-wizard-panel>.card-head.request-section-head-v371{padding:16px 22px 18px!important;min-height:82px!important}
.request-section-head-v371 h2{font-size:19px!important;line-height:1.6!important}
.request-section-head-v371 .help{margin-top:5px!important}

/* Stage bar starts from the right. Connector participates after the title, so it never runs under copy. */
.request-stepper-v371{grid-template-columns:minmax(0,1fr) auto!important;padding:8px 14px!important}
.request-stepper-v371 .wizard-steps{
  display:flex!important;grid-template-columns:none!important;align-items:center!important;justify-content:flex-start!important;
  direction:rtl!important;gap:0!important;overflow:hidden!important
}
.request-stepper-v371 .wizard-steps button{
  width:auto!important;min-width:max-content!important;flex:0 1 auto!important;justify-content:flex-start!important;
  padding:5px 5px!important;gap:7px!important;white-space:nowrap!important
}
.request-stepper-v371 .wizard-steps button:not(:last-child)::after{
  position:static!important;display:block!important;content:""!important;flex:1 1 72px!important;
  width:clamp(40px,5vw,88px)!important;min-width:28px!important;height:1px!important;
  margin-inline:14px 7px!important;transform:none!important;background:var(--homa-border)!important
}
.request-stepper-v371 .wizard-steps button span{border-radius:7px!important;flex:0 0 24px!important}
.request-step-save-v371{font-size:12px!important;font-weight:400!important;color:var(--homa-muted)!important;gap:4px!important}
.request-step-save-v371 i{font-size:12px!important}

/* Choice controls: compact Figma radio/check cards with optically centered indicators. */
.request-figma-shell-v370 .figma-choice-list{gap:9px!important}
.request-figma-shell-v370 .figma-choice-option{
  min-height:44px!important;padding:9px 12px!important;border-radius:9px!important;gap:9px!important;
  color:var(--homa-text)!important;font-size:13px!important;font-weight:400!important
}
.request-figma-shell-v370 .figma-choice-option:has(.figma-choice-input:checked){
  background:color-mix(in srgb,var(--homa-primary-soft) 72%,var(--homa-surface))!important;
  border-color:var(--homa-primary)!important;color:var(--homa-primary)!important;box-shadow:none!important
}
.request-figma-shell-v370 .figma-radio-indicator{
  width:17px!important;height:17px!important;min-width:17px!important;flex-basis:17px!important;
  display:grid!important;place-items:center!important;border:1.5px solid #aeb6c7!important;border-radius:50%!important
}
.request-figma-shell-v370 .figma-radio-indicator::after{
  width:7px!important;height:7px!important;border-radius:50%!important;margin:0!important;position:static!important;
  background:var(--homa-primary)!important;opacity:0!important
}
.request-figma-shell-v370 .figma-choice-option:has(.figma-choice-input:checked) .figma-radio-indicator{border-color:var(--homa-primary)!important;background:#fff!important}
.request-figma-shell-v370 .figma-choice-option:has(.figma-choice-input:checked) .figma-radio-indicator::after{opacity:1!important}
.request-figma-shell-v370 .figma-check-indicator{width:17px!important;height:17px!important;min-width:17px!important;flex-basis:17px!important}

/* Summary: hall photo is the hero, program icon overlays it, scheduling guidance remains visible. */
.request-form-layout-v371{grid-template-columns:338px minmax(0,1fr)!important;gap:16px!important}
.request-summary-visual-v378{position:relative!important;height:176px!important;margin:13px 13px 10px!important;width:calc(100% - 26px)!important;border-radius:12px!important;overflow:hidden!important;border:1px solid var(--homa-border)!important}
.request-summary-visual-v378>img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.request-summary-program-badge-v378{
  position:absolute!important;left:10px!important;right:auto!important;bottom:10px!important;width:40px!important;height:40px!important;
  display:grid!important;place-items:center!important;border-radius:10px!important;background:rgba(255,255,255,.94)!important;
  border:1px solid color-mix(in srgb,var(--homa-primary) 20%,#fff)!important;box-shadow:0 4px 12px rgba(25,30,60,.12)!important
}
.request-summary-program-badge-v378 img{width:27px!important;height:27px!important;object-fit:contain!important}
.request-summary-schedule-note-v378{
  margin:4px 12px 13px!important;padding:10px 11px!important;display:flex!important;align-items:flex-start!important;gap:8px!important;
  border-radius:10px!important;background:var(--homa-primary-soft)!important;color:var(--homa-primary)!important;font-size:12px!important;line-height:1.8!important
}
.request-summary-schedule-note-v378 i{font-size:16px!important;margin-top:2px!important;flex:0 0 auto!important}
.request-summary-schedule-note-v378.ready{background:color-mix(in srgb,var(--homa-success,#159b68) 10%,var(--homa-surface))!important;color:var(--homa-success,#159b68)!important}

/* Keep Figma footer quiet and aligned after the early-scheduling reorder. */
.request-figma-shell-v370 .wizard-actions-v371{background:color-mix(in srgb,var(--homa-surface-subtle) 92%,var(--homa-surface))!important;border-top:1px solid var(--homa-border)!important}
.request-figma-shell-v370 .wizard-exit-v371{border-color:transparent!important;background:transparent!important;color:var(--homa-muted)!important;font-weight:500!important}

@media(max-width:1180px){
  .request-form-layout-v371{grid-template-columns:1fr!important}
  .request-summary-visual-v378{height:154px!important}
}
@media(max-width:920px){
  .request-stepper-v371 .wizard-steps{overflow:auto!important;scrollbar-width:none!important}
  .request-stepper-v371 .wizard-steps::-webkit-scrollbar{display:none!important}
  .request-stepper-v371 .wizard-steps button:not(:last-child)::after{width:36px!important;min-width:24px!important;margin-inline:10px 5px!important}
}
@media(max-width:620px){
  .request-figma-shell-v370 .request-wizard-panel>.card-body{padding:17px 15px 18px!important}
  .request-summary-visual-v378{margin-inline:12px!important;width:calc(100% - 24px)!important;height:145px!important}
}

/* =========================================================
   HOMA V3.7.9 — request form fidelity / final refinement
   ========================================================= */

/* Stepper: right-origin, equal breathing room, connector only after wrapped labels. */
.request-figma-shell-v379 .request-stepper-v371{
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  padding:8px 14px!important;
}
.request-figma-shell-v379 .request-stepper-v371 .wizard-steps{
  display:flex!important;
  direction:rtl!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
  min-width:0!important;
  overflow:hidden!important;
}
.request-figma-shell-v379 .request-stepper-v371 .wizard-steps button{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-width:0!important;
  width:auto!important;
  flex:1 1 0!important;
  padding:5px 4px!important;
  gap:7px!important;
  white-space:nowrap!important;
  color:var(--homa-muted)!important;
}
.request-figma-shell-v379 .request-stepper-v371 .wizard-steps button .request-step-number-v379{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  flex:0 0 24px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border-radius:7px!important;
}
.request-figma-shell-v379 .request-stepper-v371 .wizard-steps button .request-step-title-v379{
  flex:0 0 auto!important;
  min-width:max-content!important;
}
.request-figma-shell-v379 .request-stepper-v371 .wizard-steps button:not(:last-child)::after{
  content:""!important;
  position:static!important;
  display:block!important;
  flex:1 1 100%!important;
  width:auto!important;
  min-width:24px!important;
  height:1px!important;
  margin-inline:15px 9px!important;
  background:var(--homa-border)!important;
  transform:none!important;
}
.request-figma-shell-v379 .request-stepper-v371 .wizard-steps button.active{color:var(--homa-primary)!important}
.request-figma-shell-v379 .request-stepper-v371 .wizard-steps button.completed{color:var(--homa-text-soft,var(--homa-muted))!important}
.request-figma-shell-v379 .request-step-save-v371{
  font-size:12px!important;
  font-weight:400!important;
  line-height:1.4!important;
  white-space:nowrap!important;
}
.request-figma-shell-v379 .request-step-save-v371.saved{color:var(--homa-success,#159b68)!important}

/* Stage/section hierarchy: compact required legend, stronger subsection titles and more breathing room. */
.request-figma-shell-v379 .request-wizard-panel>.card-head.request-section-head-v371{
  padding:16px 22px 19px!important;
  min-height:78px!important;
}
.request-figma-shell-v379 .request-section-head-v371 h2{
  font-size:19px!important;
  font-weight:760!important;
}
.request-figma-shell-v379 .request-required-note-v379{
  margin-top:5px!important;
  font-size:12px!important;
  font-weight:400!important;
  color:var(--homa-muted)!important;
}
.request-figma-shell-v379 .request-required-note-v379 b{
  color:var(--homa-danger,#dc2626)!important;
  font-weight:700!important;
}
.request-figma-shell-v379 .request-wizard-panel>.card-body{
  padding:23px 24px 25px!important;
}
.request-figma-shell-v379 .request-figma-subsection-v371{
  padding-bottom:20px!important;
}
.request-figma-shell-v379 .request-figma-subsection-v371+.request-figma-subsection-v371{
  padding-top:20px!important;
}
.request-figma-shell-v379 .request-figma-subsection-head-v371{
  margin-bottom:18px!important;
  gap:9px!important;
}
.request-figma-shell-v379 .request-figma-subsection-head-v371 h3{
  font-size:14px!important;
  font-weight:760!important;
  line-height:1.65!important;
}
.request-figma-shell-v379 .request-figma-subsection-head-v371 span{
  width:24px!important;height:24px!important;flex-basis:24px!important;
}
.request-figma-shell-v379 .request-wizard-panel .form-grid{
  gap:19px 20px!important;
}

/* Figma-faithful choices: independent quiet cards, native visual semantics, centered controls. */
.request-figma-shell-v379 .figma-choice-list{
  gap:9px!important;
}
.request-figma-shell-v379 .figma-choice-option{
  min-height:44px!important;
  padding:9px 12px!important;
  gap:9px!important;
  border:1px solid color-mix(in srgb,var(--homa-border) 92%,#cfd5e2)!important;
  border-radius:8px!important;
  background:var(--homa-surface)!important;
  color:var(--homa-text)!important;
  font-size:13px!important;
  font-weight:450!important;
  box-shadow:none!important;
}
.request-figma-shell-v379 .figma-choice-option:hover{
  border-color:color-mix(in srgb,var(--homa-primary) 35%,var(--homa-border))!important;
  background:color-mix(in srgb,var(--homa-primary-soft) 24%,var(--homa-surface))!important;
}
.request-figma-shell-v379 .figma-choice-option:has(.figma-choice-input:checked){
  border-color:var(--homa-primary)!important;
  background:color-mix(in srgb,var(--homa-primary-soft) 58%,var(--homa-surface))!important;
  color:var(--homa-primary)!important;
}
.request-figma-shell-v379 .figma-choice-indicator{
  align-self:center!important;
  margin:0!important;
  transform:none!important;
}
.request-figma-shell-v379 .figma-radio-indicator{
  width:17px!important;height:17px!important;min-width:17px!important;flex:0 0 17px!important;
  display:grid!important;place-items:center!important;
  border:1.5px solid #b5bdcc!important;border-radius:50%!important;background:#fff!important;
}
.request-figma-shell-v379 .figma-radio-indicator::after{
  content:""!important;
  position:static!important;
  width:6px!important;height:6px!important;
  border-radius:50%!important;
  background:var(--homa-primary)!important;
  opacity:0!important;
  transform:none!important;
}
.request-figma-shell-v379 .figma-choice-option:has(.figma-choice-input:checked) .figma-radio-indicator{
  border-color:var(--homa-primary)!important;
}
.request-figma-shell-v379 .figma-choice-option:has(.figma-choice-input:checked) .figma-radio-indicator::after{
  opacity:1!important;
}
.request-figma-shell-v379 .figma-check-indicator{
  width:17px!important;height:17px!important;min-width:17px!important;flex:0 0 17px!important;
  display:grid!important;place-items:center!important;
  border:0!important;background:transparent!important;color:var(--homa-primary)!important;
}
.request-figma-shell-v379 .figma-check-indicator::after{
  content:"✓"!important;
  position:static!important;
  display:block!important;
  width:17px!important;height:17px!important;line-height:17px!important;text-align:center!important;
  font-family:Arial,"Shabnam",sans-serif!important;font-size:16px!important;font-weight:700!important;
  color:var(--homa-primary)!important;opacity:0!important;transform:none!important;
}
.request-figma-shell-v379 .figma-choice-option:has(.figma-choice-input:checked) .figma-check-indicator::after{
  opacity:1!important;
}

/* Sticky request summary: one program identity, real hall image, no repeated program/hall rows. */
.request-form-layout-v371{grid-template-columns:338px minmax(0,1fr)!important;gap:16px!important}
.request-sticky-summary-v379{
  overflow:hidden!important;
}
.request-sticky-summary-head-v379{
  min-height:64px!important;
  padding:12px 13px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}
.request-summary-heading-copy-v379{
  min-width:0!important;
  display:grid!important;
  gap:2px!important;
}
.request-summary-heading-copy-v379>b{
  font-size:15px!important;
  font-weight:760!important;
}
.request-summary-heading-copy-v379>small{
  color:var(--homa-muted)!important;
  font-size:12px!important;
  line-height:1.5!important;
}
.request-summary-head-actions-v379{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  flex:0 0 auto!important;
}
.request-summary-draft-v379{
  position:static!important;
  inset:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:23px!important;
  padding:2px 8px!important;
  border-radius:7px!important;
  background:color-mix(in srgb,#f59e0b 12%,var(--homa-surface))!important;
  color:#b87300!important;
  border:1px solid color-mix(in srgb,#f59e0b 22%,var(--homa-border))!important;
  font-style:normal!important;
  font-size:12px!important;
  font-weight:650!important;
  line-height:1!important;
}
.request-summary-head-actions-v379 .request-summary-edit-v371{
  position:static!important;
  inset:auto!important;
  width:34px!important;height:34px!important;min-width:34px!important;
  border-radius:9px!important;
}
.request-summary-visual-v379{
  height:176px!important;
  margin:13px 13px 9px!important;
  width:calc(100% - 26px)!important;
}
.request-summary-program-badge-v379{
  left:10px!important;
  right:auto!important;
  bottom:10px!important;
  top:auto!important;
}
.request-summary-selected-v379{
  margin:0 13px 10px!important;
  padding:11px 12px!important;
  display:block!important;
  border:1px solid var(--homa-border)!important;
  border-radius:10px!important;
  background:var(--homa-surface)!important;
}
.request-summary-selected-copy-v379{
  display:grid!important;
  gap:3px!important;
  min-width:0!important;
}
.request-summary-selected-copy-v379>b{
  font-size:14px!important;
  font-weight:760!important;
  color:var(--homa-text)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.request-summary-selected-copy-v379>small{
  font-size:12px!important;
  font-weight:400!important;
  color:var(--homa-muted)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.request-sticky-summary-list-v379{
  padding-inline:13px!important;
}
.request-sticky-summary-list-v379>div{
  min-height:48px!important;
  padding:9px 2px!important;
}
.request-summary-schedule-note-v379{
  margin-top:6px!important;
}

/* Footer: Figma hierarchy with quiet autosave copy alongside the primary actions. */
.request-figma-shell-v379 .wizard-actions-v371{
  min-height:64px!important;
  background:color-mix(in srgb,var(--homa-surface-subtle) 92%,var(--homa-surface))!important;
  border-top:1px solid var(--homa-border)!important;
  padding:11px 16px!important;
}
.request-figma-shell-v379 .wizard-action-tail-v379{
  margin-inline-start:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:11px!important;
  min-width:0!important;
}
.request-figma-shell-v379 .wizard-autosave-copy-v379{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  color:var(--homa-muted)!important;
  font-size:12px!important;
  font-weight:400!important;
  white-space:nowrap!important;
}
.request-figma-shell-v379 .wizard-autosave-copy-v379 i{
  color:var(--homa-success,#159b68)!important;
  font-size:14px!important;
}
.request-figma-shell-v379 .wizard-action-buttons-v371{
  margin:0!important;
  flex:0 0 auto!important;
}
.request-figma-shell-v379 .wizard-exit-v371{
  color:var(--homa-muted)!important;
  background:transparent!important;
  border-color:transparent!important;
  font-weight:500!important;
}

@media(max-width:1180px){
  .request-figma-shell-v379 .request-stepper-v371 .wizard-steps button{
    flex:0 0 auto!important;
  }
  .request-figma-shell-v379 .request-stepper-v371 .wizard-steps button:not(:last-child)::after{
    min-width:34px!important;
    width:46px!important;
    flex:0 0 46px!important;
  }
}
@media(max-width:920px){
  .request-figma-shell-v379 .request-stepper-v371{
    grid-template-columns:1fr!important;
    gap:6px!important;
  }
  .request-figma-shell-v379 .request-stepper-v371 .wizard-steps{
    overflow:auto!important;
    scrollbar-width:none!important;
  }
  .request-figma-shell-v379 .request-stepper-v371 .wizard-steps::-webkit-scrollbar{display:none!important}
  .request-figma-shell-v379 .request-stepper-v371 .wizard-steps button{
    min-width:132px!important;flex:0 0 132px!important;
  }
  .request-figma-shell-v379 .request-stepper-v371 .wizard-steps button:not(:last-child)::after{display:none!important}
}
@media(max-width:720px){
  .request-figma-shell-v379 .wizard-actions-v371{
    align-items:stretch!important;
    flex-direction:column-reverse!important;
  }
  .request-figma-shell-v379 .wizard-action-tail-v379{
    width:100%!important;
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .request-figma-shell-v379 .wizard-autosave-copy-v379{
    justify-content:flex-start!important;
    white-space:normal!important;
  }
  .request-figma-shell-v379 .wizard-action-buttons-v371{
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
  }
  .request-figma-shell-v379 .wizard-exit-v371{width:100%!important}
}

/* =========================================================
   HOMA V3.7.10 — Figma-locked request UI correction
   Scope: request stepper, autosave metadata, detailed summary.
   Choice-stage summary intentionally stays on the legacy Homa composition.
   ========================================================= */

/* Figma stepper: compact single row, discrete labels, connectors only in the gaps. */
.request-figma-shell-v3710 .request-stepper-v3710{
  min-height:40px!important;
  padding:5px 12px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  border-radius:12px!important;
  background:var(--homa-surface)!important;
}
.request-figma-shell-v3710 .request-stepper-v3710 .wizard-steps{
  min-width:0!important;
  width:100%!important;
  display:flex!important;
  flex-direction:row!important;
  direction:rtl!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
  overflow:visible!important;
}
.request-figma-shell-v3710 .request-stepper-v3710 .wizard-steps button{
  appearance:none!important;
  width:auto!important;
  min-width:0!important;
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  margin:0!important;
  padding:3px 2px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#7d8498!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.45!important;
  white-space:nowrap!important;
}
.request-figma-shell-v3710 .request-stepper-v3710 .wizard-steps button::after{
  content:none!important;
  display:none!important;
}
.request-figma-shell-v3710 .request-stepper-v3710 .request-step-number-v379{
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  flex:0 0 22px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  border-radius:7px!important;
  background:#f2f3f8!important;
  color:#8990a3!important;
  font-size:11px!important;
  font-weight:650!important;
  line-height:1!important;
}
.request-figma-shell-v3710 .request-stepper-v3710 .request-step-title-v379{
  min-width:0!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
  color:inherit!important;
  font-size:12px!important;
  font-weight:inherit!important;
  line-height:1.45!important;
}
.request-figma-shell-v3710 .request-stepper-v3710 .wizard-steps button.active{
  color:var(--homa-primary)!important;
  font-weight:650!important;
}
.request-figma-shell-v3710 .request-stepper-v3710 .wizard-steps button.active .request-step-number-v379{
  background:var(--homa-primary)!important;
  color:#fff!important;
}
.request-figma-shell-v3710 .request-stepper-v3710 .wizard-steps button.completed{
  color:#525a70!important;
}
.request-figma-shell-v3710 .request-stepper-v3710 .wizard-steps button.completed .request-step-number-v379{
  background:#f0f1f6!important;
  color:#7f879a!important;
}
.request-figma-shell-v3710 .request-step-connector-v3710{
  display:block!important;
  flex:1 1 44px!important;
  min-width:24px!important;
  max-width:none!important;
  height:1px!important;
  margin-inline:12px!important;
  background:#dfe3ed!important;
  align-self:center!important;
}

/* Autosave is metadata, not navigation. Match the small Figma treatment. */
.request-figma-shell-v3710 .request-step-save-v371{
  font-size:10px!important;
  font-weight:400!important;
  line-height:1.35!important;
  color:#8990a3!important;
  gap:4px!important;
  white-space:nowrap!important;
}
.request-figma-shell-v3710 .request-step-save-v371 i{
  font-size:11px!important;
  line-height:1!important;
}
.request-figma-shell-v3710 .request-step-save-v371.saved{
  color:var(--homa-success,#159b68)!important;
}

/* Detailed-form summary only: Figma composition with the agreed Homa content model. */
.request-figma-shell-v3710 .request-sticky-summary-v379{
  border-radius:14px!important;
  overflow:hidden!important;
}
.request-figma-shell-v3710 .request-sticky-summary-head-v379{
  min-height:62px!important;
  padding:12px 13px!important;
}
.request-figma-shell-v3710 .request-summary-heading-copy-v379{
  gap:2px!important;
}
.request-figma-shell-v3710 .request-summary-heading-copy-v379>b{
  font-size:15px!important;
  font-weight:760!important;
}
.request-figma-shell-v3710 .request-summary-heading-copy-v379>small{
  font-size:11px!important;
  font-weight:400!important;
  color:#9298aa!important;
}
.request-figma-shell-v3710 .request-summary-head-actions-v3710{
  direction:ltr!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
}
.request-figma-shell-v3710 .request-summary-head-actions-v3710 .request-summary-edit-v371{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  border-radius:9px!important;
  display:grid!important;
  place-items:center!important;
  background:var(--homa-primary-soft)!important;
  color:var(--homa-primary)!important;
  border:0!important;
}
.request-figma-shell-v3710 .request-summary-head-actions-v3710 .request-summary-edit-v371 i{
  font-size:16px!important;
}
.request-figma-shell-v3710 .request-summary-draft-v3710{
  min-height:19px!important;
  padding:2px 6px!important;
  border-radius:6px!important;
  font-size:10px!important;
  font-weight:600!important;
  line-height:1.2!important;
  direction:rtl!important;
}
.request-figma-shell-v3710 .request-summary-visual-v379{
  height:176px!important;
  margin:12px 13px 8px!important;
  width:calc(100% - 26px)!important;
  border-radius:12px!important;
  overflow:hidden!important;
}
.request-figma-shell-v3710 .request-summary-program-badge-v379{
  left:10px!important;
  right:auto!important;
  bottom:10px!important;
  top:auto!important;
  width:42px!important;
  height:42px!important;
  border-radius:10px!important;
  padding:7px!important;
  background:#fff!important;
  border:1px solid color-mix(in srgb,var(--homa-primary) 22%,var(--homa-border))!important;
  box-shadow:0 4px 12px rgba(46,41,93,.10)!important;
}
.request-figma-shell-v3710 .request-summary-program-badge-v379 img{
  width:26px!important;
  height:26px!important;
  object-fit:contain!important;
}
.request-figma-shell-v3710 .request-summary-selected-v379{
  margin:0 13px 10px!important;
  padding:10px 12px!important;
  min-height:58px!important;
  border:1px solid var(--homa-border)!important;
  border-radius:10px!important;
  background:var(--homa-surface)!important;
  display:flex!important;
  align-items:center!important;
}
.request-figma-shell-v3710 .request-summary-selected-copy-v379{
  width:100%!important;
  display:grid!important;
  gap:3px!important;
}
.request-figma-shell-v3710 .request-summary-selected-copy-v379>b{
  font-size:15px!important;
  font-weight:760!important;
  line-height:1.55!important;
  color:var(--homa-text)!important;
}
.request-figma-shell-v3710 .request-summary-selected-copy-v379>small{
  font-size:12px!important;
  font-weight:400!important;
  line-height:1.5!important;
  color:var(--homa-muted)!important;
}
.request-figma-shell-v3710 .request-sticky-summary-list-v379{
  padding:0 13px!important;
}
.request-figma-shell-v3710 .request-sticky-summary-list-v379>div{
  min-height:46px!important;
  padding:8px 2px!important;
}
.request-figma-shell-v3710 .request-summary-schedule-note-v379{
  margin:6px 13px 13px!important;
  padding:10px 11px!important;
  border-radius:9px!important;
  font-size:11px!important;
  line-height:1.8!important;
}

@media(max-width:1180px){
  .request-figma-shell-v3710 .request-stepper-v3710 .request-step-connector-v3710{
    min-width:16px!important;
    margin-inline:8px!important;
  }
  .request-figma-shell-v3710 .request-stepper-v3710 .wizard-steps button,
  .request-figma-shell-v3710 .request-stepper-v3710 .request-step-title-v379{
    font-size:11px!important;
  }
}
@media(max-width:920px){
  .request-figma-shell-v3710 .request-stepper-v3710{
    grid-template-columns:1fr!important;
    gap:5px!important;
    padding:6px 10px!important;
  }
  .request-figma-shell-v3710 .request-stepper-v3710 .wizard-steps{
    overflow:auto!important;
    scrollbar-width:none!important;
  }
  .request-figma-shell-v3710 .request-stepper-v3710 .wizard-steps::-webkit-scrollbar{display:none!important}
  .request-figma-shell-v3710 .request-stepper-v3710 .wizard-steps button{
    flex:0 0 auto!important;
  }
  .request-figma-shell-v3710 .request-stepper-v3710 .request-step-connector-v3710{
    flex:0 0 26px!important;
    min-width:26px!important;
    margin-inline:8px!important;
  }
  .request-figma-shell-v3710 .request-step-save-v371{
    justify-self:start!important;
  }
}

/* =========================================================
   HOMA V3.7.11 — Approved Homa + Figma request prototype
   Scope: request configurator accordion, shared summary, form stepper.
   Global Homa shell/typography remain authoritative.
   ========================================================= */

/* Initial configurator: same two-column composition as the request form.
   Summary is always the left column on desktop. */
.request-choice-flow-v3711 .request-choice-shell-v375{
  display:grid!important;
  grid-template-areas:"summary main"!important;
  grid-template-columns:338px minmax(0,1fr)!important;
  gap:16px!important;
  align-items:start!important;
  direction:ltr!important;
}
.request-choice-flow-v3711 .request-choice-main-v375{grid-area:main!important;direction:rtl!important;}
.request-choice-flow-v3711 .request-choice-summary-v3711{
  grid-area:summary!important;
  direction:rtl!important;
  position:sticky!important;
  top:calc(var(--topbar) + 14px)!important;
  width:100%!important;
  padding:0!important;
  overflow:hidden!important;
  align-self:start!important;
  border-radius:14px!important;
}
.request-choice-flow-v3711 .choice-summary-head-v3711{
  min-height:62px;
  padding:12px 13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-bottom:1px solid var(--homa-border);
}
.request-choice-flow-v3711 .choice-summary-heading-v3711{min-width:0;display:grid;gap:2px;}
.request-choice-flow-v3711 .choice-summary-heading-v3711>b{font-size:15px;font-weight:760;line-height:1.55;}
.request-choice-flow-v3711 .choice-summary-heading-v3711>small{font-size:12px;font-weight:400;color:var(--homa-muted);line-height:1.5;}
.request-choice-flow-v3711 .choice-summary-actions-v3711{direction:ltr;display:flex;align-items:center;gap:6px;flex:0 0 auto;}
.request-choice-flow-v3711 .choice-summary-draft-v3711{
  display:inline-flex;align-items:center;min-height:21px;padding:2px 7px;border-radius:6px;
  border:1px solid color-mix(in srgb,#f59e0b 22%,var(--homa-border));
  background:color-mix(in srgb,#f59e0b 11%,var(--homa-surface));color:#b87300;
  font-size:12px;font-style:normal;font-weight:600;line-height:1.2;direction:rtl;
}
.request-choice-flow-v3711 .choice-summary-edit-v3711{
  position:static!important;inset:auto!important;width:32px!important;height:32px!important;min-width:32px!important;
  display:grid!important;place-items:center!important;border:0!important;border-radius:9px!important;
  background:var(--homa-primary-soft)!important;color:var(--homa-primary)!important;
}
.request-choice-flow-v3711 .choice-summary-edit-v3711 i{font-size:16px!important;}
.request-choice-flow-v3711 .choice-summary-hero-v3711{
  position:relative;height:176px;margin:12px 13px 8px;width:calc(100% - 26px);
  overflow:hidden;border:1px solid var(--homa-border);border-radius:12px;background:var(--homa-surface-subtle);
}
.request-choice-flow-v3711 .choice-summary-hall-photo-v3711{width:100%;height:100%;display:block;object-fit:cover;}
.request-choice-flow-v3711 .choice-summary-hall-placeholder-v3711{width:100%;height:100%;display:grid;place-items:center;color:var(--homa-primary);font-size:34px;background:var(--homa-surface-subtle);}
.request-choice-flow-v3711 .choice-summary-program-badge-v3711{
  position:absolute;left:10px;bottom:10px;width:42px;height:42px;display:grid;place-items:center;
  padding:7px;border:1px solid color-mix(in srgb,var(--homa-primary) 22%,var(--homa-border));
  border-radius:10px;background:#fff;box-shadow:0 4px 12px rgba(46,41,93,.10);
}
.request-choice-flow-v3711 .choice-summary-program-badge-v3711 img{width:26px;height:26px;object-fit:contain;}
.request-choice-flow-v3711 .choice-summary-selected-v3711{
  margin:0 13px 10px;padding:10px 12px;min-height:58px;display:grid;align-content:center;gap:3px;
  border:1px solid var(--homa-border);border-radius:10px;background:var(--homa-surface);
}
.request-choice-flow-v3711 .choice-summary-selected-v3711>b{font-size:15px;font-weight:760;line-height:1.55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.request-choice-flow-v3711 .choice-summary-selected-v3711>small{font-size:12px;color:var(--homa-muted);line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.request-choice-flow-v3711 .choice-summary-list-v3711{padding:0 13px;}
.request-choice-flow-v3711 .choice-summary-row-v3711{
  min-height:46px;padding:8px 2px;display:grid;grid-template-columns:1fr auto 20px;align-items:center;gap:8px;
  border-bottom:1px solid var(--homa-border);
}
.request-choice-flow-v3711 .choice-summary-row-v3711>span{font-size:12px;color:var(--homa-muted);}
.request-choice-flow-v3711 .choice-summary-row-v3711>b{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:650;color:var(--homa-text);}
.request-choice-flow-v3711 .choice-summary-row-v3711>i{font-size:16px;text-align:center;color:#a2a8b8;}
.request-choice-flow-v3711 .choice-summary-row-v3711.complete>i{color:var(--homa-success,#159b68);}
.request-choice-flow-v3711 .choice-summary-row-v3711.pending:last-child>b,
.request-choice-flow-v3711 .choice-summary-row-v3711.pending:last-child>i{color:#b87300;}
.request-choice-flow-v3711 .choice-summary-note-v3711{
  margin:6px 13px 13px;padding:10px 11px;display:flex;align-items:flex-start;gap:8px;border-radius:9px;
  background:var(--homa-primary-faint,var(--homa-primary-soft));color:#625f78;font-size:12px;line-height:1.8;
}
.request-choice-flow-v3711 .choice-summary-note-v3711>i{flex:0 0 auto;color:var(--homa-primary);font-size:16px;margin-top:2px;}

/* Accordion motion: actual slide-up / slide-down with a small fade. */
.request-choice-flow-v3711 .choice-panel-body-v375{
  display:block!important;overflow:hidden!important;max-height:2200px;opacity:1;transform:translateY(0);
  padding:2px 16px 16px!important;
  transition:max-height .25s cubic-bezier(.22,.61,.36,1),opacity .18s ease,transform .22s ease,padding .22s ease!important;
  will-change:max-height,opacity,transform;
}
.request-choice-flow-v3711 .choice-progress-panel-v375.is-collapsed:not(.is-user-expanded) .choice-panel-body-v375,
.request-choice-flow-v3711 .choice-progress-panel-v375.is-user-collapsed .choice-panel-body-v375,
.request-choice-flow-v3711 .choice-progress-panel-v375.is-slide-collapsed-v3711 .choice-panel-body-v375{
  max-height:0!important;opacity:0!important;transform:translateY(-8px)!important;
  padding-top:0!important;padding-bottom:0!important;pointer-events:none!important;
}
.request-choice-flow-v3711 .choice-progress-panel-v375.is-user-expanded .choice-panel-body-v375,
.request-choice-flow-v3711 .choice-progress-panel-v375.is-slide-expanded-v3711 .choice-panel-body-v375{
  opacity:1!important;transform:translateY(0)!important;pointer-events:auto!important;
}
.request-choice-flow-v3711.is-loading-v378{opacity:1!important;transform:none!important;pointer-events:none;}
.request-choice-flow-v3711.choice-flow-enter-v378{opacity:1!important;transform:none!important;}

/* Detailed form: keep Homa shell and typography, use approved Figma geometry. */
.request-figma-shell-v3711 .request-form-layout-v371{
  grid-template-areas:"summary main"!important;
  grid-template-columns:338px minmax(0,1fr)!important;
  gap:16px!important;
  direction:ltr!important;
}
.request-figma-shell-v3711 .request-sticky-summary-v379{grid-area:summary!important;direction:rtl!important;}
.request-figma-shell-v3711 .request-form-main-v371{grid-area:main!important;direction:rtl!important;}
.request-figma-shell-v3711 .request-stepper-v3711{
  min-height:58px!important;padding:9px 14px!important;display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;
  border-radius:14px!important;
}
.request-figma-shell-v3711 .request-stepper-v3711 .wizard-steps{
  min-width:0!important;width:100%!important;display:flex!important;direction:rtl!important;align-items:center!important;
  justify-content:stretch!important;gap:0!important;overflow:visible!important;
}
.request-figma-shell-v3711 .request-stepper-v3711 .wizard-steps button{
  flex:0 0 auto!important;width:auto!important;min-width:0!important;display:inline-flex!important;align-items:center!important;
  gap:7px!important;padding:4px 1px!important;border:0!important;background:transparent!important;box-shadow:none!important;
  color:#7d8498!important;font-size:12px!important;font-weight:500!important;white-space:nowrap!important;
}
.request-figma-shell-v3711 .request-stepper-v3711 .request-step-number-v379{
  width:26px!important;height:26px!important;min-width:26px!important;flex:0 0 26px!important;display:grid!important;place-items:center!important;
  border-radius:8px!important;background:#f1f2f6!important;color:#8990a3!important;font-size:12px!important;font-weight:650!important;
}
.request-figma-shell-v3711 .request-stepper-v3711 .request-step-title-v379{font-size:12px!important;line-height:1.5!important;color:inherit!important;}
.request-figma-shell-v3711 .request-stepper-v3711 .wizard-steps button.active{color:var(--homa-primary)!important;font-weight:700!important;}
.request-figma-shell-v3711 .request-stepper-v3711 .wizard-steps button.active .request-step-number-v379{background:var(--homa-primary)!important;color:#fff!important;box-shadow:0 5px 12px color-mix(in srgb,var(--homa-primary) 23%,transparent)!important;}
.request-figma-shell-v3711 .request-stepper-v3711 .request-step-connector-v3710{
  display:block!important;flex:1 1 54px!important;min-width:28px!important;height:1px!important;margin-inline:10px!important;background:#dfe3ed!important;
}
.request-figma-shell-v3711 .request-step-save-v371{font-size:12px!important;font-weight:400!important;color:#9298aa!important;gap:4px!important;white-space:nowrap!important;}
.request-figma-shell-v3711 .request-step-save-v371 i{font-size:13px!important;}
.request-figma-shell-v3711 .request-step-save-v371.saved{color:var(--homa-success,#159b68)!important;}

/* Shared summary geometry between configurator and detailed form. */
.request-figma-shell-v3711 .request-sticky-summary-v379{border-radius:14px!important;overflow:hidden!important;}
.request-figma-shell-v3711 .request-sticky-summary-head-v379{min-height:62px!important;padding:12px 13px!important;}
.request-figma-shell-v3711 .request-summary-heading-copy-v379>b{font-size:15px!important;font-weight:760!important;}
.request-figma-shell-v3711 .request-summary-heading-copy-v379>small{font-size:12px!important;color:var(--homa-muted)!important;}
.request-figma-shell-v3711 .request-summary-draft-v3710{font-size:12px!important;min-height:21px!important;padding:2px 7px!important;}
.request-figma-shell-v3711 .request-summary-visual-v379{height:176px!important;margin:12px 13px 8px!important;width:calc(100% - 26px)!important;}
.request-figma-shell-v3711 .request-summary-selected-v379{margin:0 13px 10px!important;padding:10px 12px!important;min-height:58px!important;}
.request-figma-shell-v3711 .request-summary-selected-copy-v379>b{font-size:15px!important;}
.request-figma-shell-v3711 .request-summary-selected-copy-v379>small{font-size:12px!important;}
.request-figma-shell-v3711 .request-sticky-summary-list-v379>div{min-height:46px!important;padding:8px 2px!important;}
.request-figma-shell-v3711 .request-summary-schedule-note-v379{font-size:12px!important;}

@media(max-width:1180px){
  .request-choice-flow-v3711 .request-choice-shell-v375,
  .request-figma-shell-v3711 .request-form-layout-v371{grid-template-columns:300px minmax(0,1fr)!important;}
  .request-figma-shell-v3711 .request-stepper-v3711 .request-step-connector-v3710{min-width:18px!important;margin-inline:6px!important;}
}
@media(max-width:980px){
  .request-choice-flow-v3711 .request-choice-shell-v375,
  .request-figma-shell-v3711 .request-form-layout-v371{
    grid-template-areas:"summary" "main"!important;grid-template-columns:1fr!important;direction:rtl!important;
  }
  .request-choice-flow-v3711 .request-choice-summary-v3711,
  .request-figma-shell-v3711 .request-sticky-summary-v379{position:static!important;}
  .request-figma-shell-v3711 .request-stepper-v3711{grid-template-columns:1fr!important;gap:6px!important;}
  .request-figma-shell-v3711 .request-stepper-v3711 .wizard-steps{overflow:auto!important;scrollbar-width:none!important;justify-content:flex-start!important;}
  .request-figma-shell-v3711 .request-stepper-v3711 .wizard-steps::-webkit-scrollbar{display:none!important;}
  .request-figma-shell-v3711 .request-stepper-v3711 .wizard-steps button{min-width:138px!important;}
  .request-figma-shell-v3711 .request-stepper-v3711 .request-step-connector-v3710{display:none!important;}
}

/* =========================================================
   HOMA V3.7.12 — request UI fidelity correction
   Approved source: HOMA + Figma hybrid prototype v3.
   Scope: one shared summary component, prototype-faithful stepper,
   required legend placement and radio/check choice controls.
   ========================================================= */

/* One summary component throughout the whole request journey. */
.request-summary-unified-v3712{
  overflow:hidden!important;
  border-radius:14px!important;
}
.request-summary-unified-v3712 .request-summary-unified-head-v3712{
  min-height:64px!important;
  padding:14px 16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  border-bottom:1px solid var(--homa-border)!important;
}
.request-summary-unified-heading-v3712{
  min-width:0!important;
  display:grid!important;
  gap:2px!important;
}
.request-summary-unified-heading-v3712>b{
  font-size:17px!important;
  font-weight:760!important;
  line-height:1.55!important;
}
.request-summary-unified-heading-v3712>small{
  color:var(--homa-muted)!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.5!important;
}
.request-summary-unified-actions-v3712{
  direction:ltr!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  flex:0 0 auto!important;
}
.request-summary-unified-draft-v3712{
  min-height:auto!important;
  padding:3px 7px!important;
  display:inline-flex!important;
  align-items:center!important;
  border:0!important;
  border-radius:7px!important;
  background:color-mix(in srgb,#f59e0b 12%,var(--homa-surface))!important;
  color:#a66600!important;
  font-size:12px!important;
  font-style:normal!important;
  font-weight:600!important;
  line-height:1.3!important;
}
.request-summary-unified-edit-v3712{
  position:static!important;
  inset:auto!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:0!important;
  border-radius:9px!important;
  background:var(--homa-primary-soft)!important;
  color:var(--homa-primary)!important;
  box-shadow:none!important;
}
.request-summary-unified-edit-v3712 i{font-size:17px!important;}
.request-summary-unified-hero-v3712{
  height:auto!important;
  margin:14px 14px 0!important;
  overflow:hidden!important;
  border:1px solid var(--homa-border)!important;
  border-radius:12px!important;
  background:var(--homa-surface-subtle)!important;
}
.request-summary-unified-photo-v3712{
  position:relative!important;
  height:170px!important;
  overflow:hidden!important;
  background:#eef0f5!important;
}
.request-summary-unified-hall-photo-v3712{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center!important;
}
.request-summary-unified-hall-placeholder-v3712{
  width:100%!important;
  height:100%!important;
  display:grid!important;
  place-items:center!important;
  background:var(--homa-surface-subtle)!important;
  color:var(--homa-primary)!important;
  font-size:36px!important;
}
.request-summary-unified-program-badge-v3712{
  position:absolute!important;
  left:10px!important;
  right:auto!important;
  bottom:10px!important;
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  padding:7px!important;
  border:1px solid rgba(226,229,239,.9)!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(28,35,74,.15)!important;
}
.request-summary-unified-program-badge-v3712 img{
  width:27px!important;
  height:27px!important;
  object-fit:contain!important;
}
.request-summary-unified-copy-v3712{
  min-height:65px!important;
  padding:12px 13px 13px!important;
  display:block!important;
  background:var(--homa-surface)!important;
}
.request-summary-unified-copy-v3712>b{
  display:block!important;
  margin:0 0 4px!important;
  overflow:hidden!important;
  color:var(--homa-text)!important;
  font-size:15px!important;
  font-weight:760!important;
  line-height:1.55!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.request-summary-unified-copy-v3712>small{
  display:block!important;
  overflow:hidden!important;
  color:var(--homa-muted)!important;
  font-size:13px!important;
  line-height:1.55!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.request-summary-unified-list-v3712{
  padding:0 16px!important;
}
.request-summary-unified-row-v3712{
  min-height:56px!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:1fr auto 22px!important;
  align-items:center!important;
  gap:8px!important;
  border-bottom:1px solid var(--homa-border)!important;
}
.request-summary-unified-row-v3712>span{
  color:var(--homa-muted)!important;
  font-size:13px!important;
}
.request-summary-unified-row-v3712>b{
  max-width:160px!important;
  overflow:hidden!important;
  color:var(--homa-text)!important;
  font-size:14px!important;
  font-weight:650!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.request-summary-unified-row-v3712>i{
  color:#a2a8b8!important;
  font-size:16px!important;
  text-align:center!important;
}
.request-summary-unified-row-v3712.complete>i{color:var(--homa-success,#159b68)!important;}
.request-summary-unified-row-v3712.pending>b,
.request-summary-unified-row-v3712.pending>i{color:#bf7900!important;}
.request-summary-unified-note-v3712{
  margin:14px!important;
  padding:11px 12px!important;
  display:flex!important;
  align-items:flex-start!important;
  gap:8px!important;
  border-radius:10px!important;
  background:var(--homa-primary-faint,var(--homa-primary-soft))!important;
  color:#625f78!important;
  font-size:12px!important;
  line-height:1.8!important;
}
.request-summary-unified-note-v3712>i{
  flex:0 0 auto!important;
  margin-top:2px!important;
  color:var(--homa-primary)!important;
  font-size:16px!important;
}
.request-summary-unified-note-v3712.ready{
  background:color-mix(in srgb,var(--homa-success,#159b68) 10%,#fff)!important;
  color:#1c7858!important;
}
.request-summary-unified-note-v3712.ready>i{color:var(--homa-success,#159b68)!important;}

/* Prototype-faithful stepper. Legacy wizard paint is explicitly neutralized. */
.request-figma-shell-v3711 .request-stepper-v3712{
  min-height:58px!important;
  padding:10px 14px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  border-radius:14px!important;
  overflow:hidden!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-stepper-track-v3712{
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  display:grid!important;
  grid-template-columns:repeat(var(--request-step-count,1),minmax(0,1fr))!important;
  direction:rtl!important;
  gap:0!important;
  overflow:visible!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-v3712{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  min-height:36px!important;
  padding:4px 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--homa-muted)!important;
  font-size:13px!important;
  font-weight:400!important;
  white-space:nowrap!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712::before,
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712::after{
  content:none!important;
  display:none!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-number-v3712{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  flex:0 0 26px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:8px!important;
  background:#f1f2f6!important;
  color:#8a8fa1!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-title-v3712{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  flex:0 1 auto!important;
  margin:0!important;
  padding:0!important;
  display:inline!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:inherit!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:inherit!important;
  line-height:1.5!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712.active{
  background:transparent!important;
  color:var(--homa-primary)!important;
  font-weight:700!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712.active .request-step-number-v3712{
  background:var(--homa-primary)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712.active .request-step-title-v3712{
  background:transparent!important;
  color:var(--homa-primary)!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712.completed{
  background:transparent!important;
  color:var(--homa-muted)!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712.completed .request-step-number-v3712{
  background:#f1f2f6!important;
  color:#8a8fa1!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-connector-v3712{
  display:block!important;
  flex:1 1 auto!important;
  min-width:20px!important;
  width:auto!important;
  height:1px!important;
  margin:0 12px!important;
  background:var(--homa-border)!important;
  border:0!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-v3712:last-child .request-step-connector-v3712{
  display:none!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-save-v371,
.request-figma-shell-v3711 .request-stepper-v3712 [data-autosave-status]{
  flex:0 0 auto!important;
  min-width:max-content!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  color:var(--homa-muted)!important;
  font-size:12px!important;
  font-weight:400!important;
  line-height:1.4!important;
  white-space:nowrap!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 [data-autosave-status] i{
  color:var(--homa-success,#159b68)!important;
  font-size:13px!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 [data-autosave-status].saved{color:var(--homa-success,#159b68)!important;}
.request-figma-shell-v3711 .request-stepper-v3712 [data-autosave-status].saving{color:var(--homa-primary)!important;}
.request-figma-shell-v3711 .request-stepper-v3712 [data-autosave-status].error{color:var(--homa-danger,#dc2626)!important;}

/* Required legend is a separate left-side header item, never under the stage title. */
.request-figma-shell-v3711 .request-wizard-panel>.card-head.request-section-head-v3712{
  padding:18px 22px 17px!important;
  min-height:78px!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:18px!important;
}
.request-figma-shell-v3711 .request-section-heading-copy-v3712{
  min-width:0!important;
  flex:1 1 auto!important;
}
.request-figma-shell-v3711 .request-required-note-v3712{
  flex:0 0 auto!important;
  align-self:flex-end!important;
  margin:0 0 2px!important;
  color:var(--homa-muted)!important;
  font-size:12px!important;
  font-weight:400!important;
  line-height:1.5!important;
  white-space:nowrap!important;
}
.request-figma-shell-v3711 .request-required-note-v3712>b{
  color:var(--homa-danger,#dc2626)!important;
  font-weight:700!important;
}

/* Radio/check controls: exactly the approved prototype geometry, independent quiet cards. */
.request-figma-shell-v3711 .figma-choice-list{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(112px,1fr))!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
}
.request-figma-shell-v3711 .figma-choice-option{
  position:relative!important;
  min-width:0!important;
  min-height:44px!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  border:1px solid var(--homa-border-strong,var(--homa-border))!important;
  border-radius:10px!important;
  background:#fff!important;
  color:var(--homa-text)!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.5!important;
  cursor:pointer!important;
  transition:border-color .15s ease,background-color .15s ease,color .15s ease!important;
}
.request-figma-shell-v3711 .figma-choice-option:hover{
  border-color:#b9b2ff!important;
  background:var(--homa-primary-faint,var(--homa-primary-soft))!important;
}
.request-figma-shell-v3711 .figma-choice-option:has(.figma-choice-input:checked){
  border-color:var(--homa-primary)!important;
  background:var(--homa-primary-soft)!important;
  color:color-mix(in srgb,var(--homa-primary) 88%,#2e285e)!important;
  box-shadow:none!important;
}
.request-figma-shell-v3711 .figma-choice-input{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-width:1px!important;
  opacity:0!important;
  pointer-events:none!important;
  clip-path:inset(50%)!important;
}
.request-figma-shell-v3711 .figma-radio-indicator{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  flex:0 0 16px!important;
  padding:3px!important;
  display:grid!important;
  place-items:center!important;
  box-sizing:border-box!important;
  border:1px solid #bfc4d2!important;
  border-radius:50%!important;
  background:#fff!important;
}
.request-figma-shell-v3711 .figma-radio-indicator::before{content:none!important;}
.request-figma-shell-v3711 .figma-radio-indicator::after{
  content:""!important;
  position:static!important;
  width:8px!important;
  height:8px!important;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  background:var(--homa-primary)!important;
  opacity:0!important;
  transform:none!important;
}
.request-figma-shell-v3711 .figma-choice-option:has(.figma-choice-input:checked) .figma-radio-indicator{
  border-color:var(--homa-primary)!important;
}
.request-figma-shell-v3711 .figma-choice-option:has(.figma-choice-input:checked) .figma-radio-indicator::after{
  opacity:1!important;
}
.request-figma-shell-v3711 .figma-choice-label{
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  color:inherit!important;
  font:inherit!important;
  line-height:1.5!important;
}
.request-figma-shell-v3711 .figma-check-indicator{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  flex:0 0 16px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  background:transparent!important;
}
.request-figma-shell-v3711 .figma-check-indicator::before{content:none!important;}
.request-figma-shell-v3711 .figma-check-indicator::after{
  content:"✓"!important;
  position:static!important;
  width:16px!important;
  height:16px!important;
  line-height:16px!important;
  text-align:center!important;
  color:var(--homa-primary)!important;
  font-family:Arial,"Shabnam",sans-serif!important;
  font-size:15px!important;
  font-weight:700!important;
  opacity:0!important;
  transform:none!important;
}
.request-figma-shell-v3711 .figma-choice-option:has(.figma-choice-input:checked) .figma-check-indicator::after{opacity:1!important;}

@media(max-width:1180px){
  .request-figma-shell-v3711 .request-stepper-v3712 .request-step-title-v3712{font-size:12px!important;}
  .request-figma-shell-v3711 .request-stepper-v3712 .request-step-connector-v3712{margin-inline:7px!important;min-width:12px!important;}
}
@media(max-width:980px){
  .request-figma-shell-v3711 .request-stepper-v3712{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;}
  .request-figma-shell-v3711 .request-stepper-v3712 .request-stepper-track-v3712{display:flex!important;overflow:auto!important;scrollbar-width:none!important;}
  .request-figma-shell-v3711 .request-stepper-v3712 .request-stepper-track-v3712::-webkit-scrollbar{display:none!important;}
  .request-figma-shell-v3711 .request-stepper-v3712 .request-step-v3712{flex:0 0 auto!important;}
  .request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712{min-width:138px!important;}
  .request-figma-shell-v3711 .request-stepper-v3712 .request-step-connector-v3712{display:none!important;}
  .request-summary-unified-photo-v3712{height:150px!important;}
}
@media(max-width:620px){
  .request-figma-shell-v3711 .request-wizard-panel>.card-head.request-section-head-v3712{align-items:flex-start!important;}
  .request-figma-shell-v3711 .request-required-note-v3712{display:none!important;}
  .request-figma-shell-v3711 .figma-choice-list{grid-template-columns:1fr 1fr!important;}
}

/* =========================================================
   HOMA V3.7.13 — approved visual preview lock
   Source of truth: HOMA-V3712-Visual-Preview-FinalCandidate.
   Scope is intentionally visual only: stepper geometry/state paint.
   ========================================================= */
.request-figma-shell-v3711 .request-stepper-v3712{
  min-height:58px!important;
  padding:10px 14px!important;
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  overflow:hidden!important;
  direction:rtl!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-stepper-track-v3712{
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  display:flex!important;
  align-items:center!important;
  direction:rtl!important;
  gap:0!important;
  overflow:visible!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-v3712{
  flex:1 1 0!important;
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-v3712:last-child{
  flex:0 0 auto!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  min-height:36px!important;
  margin:0!important;
  padding:4px 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--homa-muted)!important;
  font-size:13px!important;
  font-weight:400!important;
  white-space:nowrap!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712::before,
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712::after{
  content:none!important;
  display:none!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-number-v3712{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  flex:0 0 26px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:8px!important;
  background:#f1f2f6!important;
  color:#8a8fa1!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-title-v3712{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  flex:0 1 auto!important;
  margin:0!important;
  padding:0!important;
  display:inline!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:inherit!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:inherit!important;
  line-height:1.5!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712.active{
  background:transparent!important;
  color:var(--homa-primary)!important;
  font-weight:700!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712.active .request-step-number-v3712{
  background:var(--homa-primary)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712.active .request-step-title-v3712{
  background:transparent!important;
  color:var(--homa-primary)!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712.completed{
  background:transparent!important;
  color:var(--homa-muted)!important;
  font-weight:400!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712.completed .request-step-number-v3712{
  background:transparent!important;
  color:#74798b!important;
  border:0!important;
  box-shadow:none!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712.completed .request-step-title-v3712{
  background:transparent!important;
  color:var(--homa-muted)!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-connector-v3712{
  display:block!important;
  flex:1 1 auto!important;
  min-width:18px!important;
  width:auto!important;
  height:1px!important;
  margin:0 14px!important;
  background:var(--homa-border)!important;
  border:0!important;
  box-shadow:none!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-v3712:last-child .request-step-connector-v3712{
  display:none!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 .request-step-save-v371,
.request-figma-shell-v3711 .request-stepper-v3712 [data-autosave-status]{
  flex:0 0 auto!important;
  min-width:max-content!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  color:var(--homa-muted)!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.4!important;
  white-space:nowrap!important;
}
.request-figma-shell-v3711 .request-stepper-v3712 [data-autosave-status] i{
  color:var(--homa-success,#159b68)!important;
  font-size:12px!important;
}
@media(max-width:1180px){
  .request-figma-shell-v3711 .request-stepper-v3712 .request-step-title-v3712{font-size:12px!important;}
  .request-figma-shell-v3711 .request-stepper-v3712 .request-step-connector-v3712{margin-inline:7px!important;min-width:12px!important;}
}
@media(max-width:980px){
  .request-figma-shell-v3711 .request-stepper-v3712{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;}
  .request-figma-shell-v3711 .request-stepper-v3712 .request-stepper-track-v3712{display:flex!important;overflow:auto!important;scrollbar-width:none!important;}
  .request-figma-shell-v3711 .request-stepper-v3712 .request-stepper-track-v3712::-webkit-scrollbar{display:none!important;}
  .request-figma-shell-v3711 .request-stepper-v3712 .request-step-v3712{flex:0 0 auto!important;}
  .request-figma-shell-v3711 .request-stepper-v3712 .request-step-item-v3712{min-width:138px!important;}
  .request-figma-shell-v3711 .request-stepper-v3712 .request-step-connector-v3712{display:none!important;}
}



/* HOMA V3.7.13-dev1 — stabilization fixes */
.request-figma-shell-v3711 .request-stepper-v3712 .wizard-steps button.request-step-item-v3712:not(:last-child)::before,
.request-figma-shell-v3711 .request-stepper-v3712 .wizard-steps button.request-step-item-v3712:not(:last-child)::after{content:none!important;display:none!important;width:0!important;margin:0!important}
.cancellation-status-card{display:flex;gap:12px;align-items:flex-start}.cancellation-status-card>i{font-size:22px}
.legal-entity-editor{max-width:1180px;margin-inline:auto}.legal-entity-editor .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.legal-entity-editor .legal-editor-section{padding:16px 0;border-bottom:1px solid var(--homa-border)}.legal-entity-editor .repeat-row{border:1px solid var(--homa-border);border-radius:12px;padding:14px;margin-bottom:10px;background:var(--homa-card)}
.field-error{display:block;color:var(--homa-danger,#c62828);min-height:16px;font-size:11px;margin-top:4px}
@media(max-width:760px){.legal-entity-editor .form-grid{grid-template-columns:1fr}}
.todo-item-v3515.unread{background:linear-gradient(90deg,rgba(76,110,245,.06),rgba(76,110,245,.015))!important;border-inline-start:4px solid var(--homa-primary,#625bf6)!important;box-shadow:0 5px 18px rgba(38,54,96,.08)!important}
.todo-item-v3515.unread .todo-item-title-v3515 h3{font-weight:800!important}.todo-new-v3515{box-shadow:0 0 0 3px rgba(98,91,246,.08)}

/* HOMA V3.7.13-dev2.1 — post-demo flow/form polish */
.request-policy-panel .request-policy-body{display:grid;gap:14px}
.request-policy-panel .request-policy-field{margin:0;padding:14px 16px;border:1px solid var(--homa-border);border-radius:12px;background:var(--homa-surface-subtle)}
.request-policy-panel .request-policy-field>label{margin-bottom:10px}
.request-policy-hint{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border-radius:10px;background:color-mix(in srgb,var(--homa-primary) 7%,var(--homa-surface));color:var(--homa-muted);font-size:12px;line-height:1.8}
.request-policy-hint i{font-size:16px;color:var(--homa-primary);margin-top:2px}

/* Compact in-page validation: visible, readable, but never dominates the form. */
.homa-error-summary{margin:0 0 12px!important;padding:9px 12px!important;border:1px solid color-mix(in srgb,var(--homa-danger,#dc2626) 34%,var(--homa-border))!important;border-radius:9px!important;background:color-mix(in srgb,var(--homa-danger,#dc2626) 5%,var(--homa-surface))!important;color:var(--homa-danger,#b91c1c)!important;box-shadow:none!important}
.homa-error-summary-head{align-items:center!important;gap:7px!important;margin:0 0 4px!important}.homa-error-summary-head>i{font-size:16px!important}.homa-error-summary-head>div{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap}.homa-error-summary-head b{font-size:12px!important}.homa-error-summary-head small{font-size:11px!important;color:var(--homa-muted)!important}
.homa-error-summary ul{margin:0!important;padding:0!important;list-style:none!important;display:flex!important;flex-wrap:wrap!important;gap:4px 10px!important}.homa-error-summary li{margin:0!important}.homa-error-summary li button{font-size:11px!important;line-height:1.6!important;padding:1px 0!important;color:var(--homa-danger,#b91c1c)!important}
.form-group>.error,.field-error{display:block!important;margin-top:3px!important;min-height:0!important;font-size:10.5px!important;line-height:1.55!important;color:var(--homa-danger,#b91c1c)!important}
.form-group.field-invalid input,.form-group.field-invalid select,.form-group.field-invalid textarea{border-color:color-mix(in srgb,var(--homa-danger,#dc2626) 58%,var(--homa-border))!important;box-shadow:none!important}

/* Full scheduling calendar: title/close in header, navigation below calendar. */
.jdp-popover.jdp-full .jdp-modal-head{display:grid!important;grid-template-columns:minmax(0,1fr) 40px!important;align-items:center!important;gap:8px!important;padding:12px 14px!important}
.jdp-popover.jdp-full .jdp-modal-head>div{grid-column:1!important;text-align:right!important;min-width:0!important}.jdp-popover.jdp-full .jdp-modal-head>.jdp-close{grid-column:2!important;justify-self:end!important}
.jdp-popover.jdp-full .jdp-footer{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding-top:10px!important}
.jdp-popover.jdp-full .jdp-footer-nav{display:grid!important;grid-template-columns:auto minmax(110px,1fr) auto!important;align-items:center!important;gap:8px!important;width:100%!important}
.jdp-popover.jdp-full .jdp-footer-nav .jdp-nav{min-width:82px!important;white-space:nowrap!important}
.jdp-popover.jdp-full .jdp-footer-nav .jdp-apply{justify-self:center!important;min-width:120px!important}
.homa-time-slot-range span{font-weight:700!important;direction:rtl!important}.homa-time-slot-range small{font-size:11px!important}
@media(max-width:700px){.jdp-popover.jdp-full .jdp-modal-head{grid-template-columns:minmax(0,1fr) 38px!important;padding:10px!important}.jdp-popover.jdp-full .jdp-footer-nav{grid-template-columns:1fr 1fr!important}.jdp-popover.jdp-full .jdp-footer-nav .jdp-apply{grid-column:1/-1;grid-row:1;justify-self:stretch!important}.jdp-popover.jdp-full .jdp-footer-nav .prev{grid-column:1;grid-row:2}.jdp-popover.jdp-full .jdp-footer-nav .next{grid-column:2;grid-row:2}}
