/* 纳天航空 ERP 应用外壳：导航、快捷新建和业务工作台。 */
@media screen {
  :root {
    --natian-rail: 232px;
    --natian-rail-mini: 68px;
    --natian-rail-bg: #0f1f38;
    --natian-rail-text: #c9d4e4;
    --natian-rail-muted: #7f93b0;
    --natian-rail-active: rgb(59 130 246 / 18%);
    --natian-card-shadow: 0 1px 2px rgb(16 24 40 / 4%), 0 1px 3px rgb(16 24 40 / 6%);
    --natian-good: #16a34a;
    --natian-warn: #d97706;
    --natian-bad: #dc2626;
  }
  :root[data-theme="dark"] { --natian-rail-bg: #0b1626; --natian-card-shadow: none; }

  /* 全局导航栏 */
  .natian-rail { display: none; }
  @media (min-width: 992px) {
    body.natian-shell .natian-rail {
      display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: var(--natian-rail); z-index: 1030;
      background: var(--natian-rail-bg); color: var(--natian-rail-text); padding: 14px 10px; transition: width .18s ease;
    }
    body.natian-shell .main-section { padding-left: var(--natian-rail); transition: padding .18s ease; }
    body.natian-shell.natian-rail-collapsed .natian-rail { width: var(--natian-rail-mini); }
    body.natian-shell.natian-rail-collapsed .main-section { padding-left: var(--natian-rail-mini); }
    body.natian-shell.natian-rail-collapsed .natian-rail :is(.natian-rail-label, .natian-rail-group, .natian-rail-brand span) { display: none; }
    /* 全局导航已提供工作区入口，工作区页内重复的侧栏隐藏；编辑工作区时（show-hidden-workspaces）恢复显示。 */
    body.natian-shell[data-natian-route="Workspaces"] .layout-side-section:not(:has(.show-hidden-workspaces)) { display: none !important; }
    /* 表单侧栏（分配、附件、标签、共享）默认隐藏，由“附件与协作”按钮以右侧浮层打开。 */
    body.natian-shell[data-natian-route="Form"] .layout-side-section:has(> .form-sidebar) { display: none; }
    body.natian-shell.natian-form-panel[data-natian-route="Form"] .layout-side-section:has(> .form-sidebar) {
      display: block; position: fixed; top: 128px; right: 24px; width: 300px; max-width: none; max-height: calc(100vh - 152px); overflow: auto; z-index: 1040;
      background: var(--fg-color); border: 1px solid var(--border-color); border-radius: 12px; box-shadow: 0 20px 50px rgb(15 23 42 / 18%); padding: 16px;
    }
    body.natian-shell .navbar .navbar-home { display: none; }
  }
  /* 工作区页的“☰”只用于打开工作区侧栏，已由全局导航替代；列表页的“☰”（筛选栏）保留。 */
  body.natian-shell[data-natian-route="Workspaces"] .page-head .sidebar-toggle-btn { display: none; }
  .natian-rail-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; color: #fff; font-weight: 650; font-size: 15px; text-decoration: none !important; white-space: nowrap; }
  .natian-rail-brand img { width: 30px; height: 30px; flex: none; }
  .natian-rail-brand small { display: block; color: var(--natian-rail-muted); font-size: 11px; font-weight: 400; letter-spacing: 1px; }
  .natian-rail-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; }
  .natian-rail-group { margin: 14px 10px 6px; color: var(--natian-rail-muted); font-size: 11px; letter-spacing: 1.5px; }
  .natian-rail a.natian-rail-item {
    display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 12px; margin: 2px 0; border-radius: 8px;
    color: var(--natian-rail-text); font-size: 13.5px; text-decoration: none; white-space: nowrap; position: relative;
  }
  .natian-rail a.natian-rail-item:hover { background: rgb(255 255 255 / 6%); color: #fff; }
  .natian-rail a.natian-rail-item.active { background: var(--natian-rail-active); color: #fff; font-weight: 600; }
  .natian-rail a.natian-rail-item.active::before { content: ""; position: absolute; left: -10px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: #60a5fa; }
  .natian-rail a.natian-rail-item:focus-visible { outline: 2px solid #60a5fa; outline-offset: 1px; }
  .natian-rail-item .icon { --icon-stroke: currentColor; flex: none; margin: 0; }
  .natian-rail-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .natian-rail-foot button .icon { margin: 0; }
  .natian-rail-foot { border-top: 1px solid rgb(255 255 255 / 8%); padding-top: 8px; }
  .natian-rail-foot button { width: 100%; display: flex; align-items: center; gap: 11px; height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--natian-rail-muted); font-size: 12.5px; }
  .natian-rail-foot button:hover { background: rgb(255 255 255 / 6%); color: #fff; }
  .natian-panel-btn .natian-panel-label { margin-left: 6px; font-size: 13px; }
  .natian-panel-btn[aria-pressed="true"] { background: var(--natian-accent-bg); color: var(--natian-accent-text); }

  /* 手机与窄屏：导航以抽屉打开 */
  .natian-burger, .natian-rail-backdrop, .natian-rail-close { display: none; }
  @media (max-width: 991px) {
    .natian-burger { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 44px; flex: none; margin-right: 4px; border-radius: 8px; color: var(--text-color); }
    .natian-burger:focus-visible { outline: 2px solid var(--primary); }
    body.natian-shell .natian-rail {
      display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: min(280px, 84vw); z-index: 1060;
      background: var(--natian-rail-bg); color: var(--natian-rail-text); padding: 14px 10px; box-shadow: 0 20px 60px rgb(0 0 0 / 35%);
      transform: translateX(-100%); visibility: hidden; pointer-events: none;
    }
    body.natian-shell.natian-rail-open .natian-rail { transform: none; visibility: visible; pointer-events: auto; }
    .natian-rail-head { display: flex; align-items: start; justify-content: space-between; }
    .natian-rail-close {
      display: inline-grid; place-items: center; width: 44px; height: 44px;
      background: transparent; border: 0; border-radius: 8px; color: #fff; font-size: 25px;
    }
    .natian-rail a.natian-rail-item { min-height: 44px; }
    body.natian-shell .natian-rail-backdrop {
      display: block; position: fixed; inset: 0; background: rgb(8 15 30 / 45%); z-index: 1055;
      opacity: 0; visibility: hidden; pointer-events: none;
    }
    body.natian-shell.natian-rail-open .natian-rail-backdrop { opacity: 1; visibility: visible; pointer-events: auto; }
    body.natian-rail-open { overflow: hidden; }
    .natian-rail-foot { display: none; }
    .natian-quick-new > .btn span { display: none; }
    .natian-quick-new > .btn { padding: 0 9px; }
  }

  /* 顶栏：快捷新建 */
  .natian-desk .navbar { height: 56px; }
  .natian-quick-new { margin-right: 12px; display: flex; align-items: center; list-style: none; }
  .natian-quick-new > .btn { height: 32px; padding: 0 14px; border-radius: 8px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
  .natian-quick-new .dropdown-menu { min-width: 250px; padding: 6px; }
  .natian-quick-new .dropdown-item { border-radius: 6px; padding: 8px 10px; display: flex; flex-direction: column; gap: 1px; }
  .natian-quick-new .dropdown-item small { color: var(--text-muted); }
  .natian-quick-new .dropdown-header { font-size: 11px; letter-spacing: 1px; padding: 8px 10px 4px; }

  /* 页面标题区更紧凑 */
  .natian-desk .page-head .page-head-content { min-height: 64px; }
  .natian-desk .page-head .page-title .title-text { font-size: 21px; }

  /* 输入框：白底描边，替代灰底块 */
  .natian-desk .frappe-control:not(.checkbox) :is(input.form-control, select.form-control, textarea.form-control, .like-disabled-input),
  .natian-desk .form-control:not(.input-xs) { background: var(--fg-color); }
  .natian-desk .like-disabled-input, .natian-desk .control-value.like-disabled-input { background: var(--control-bg); border: 1px solid transparent; border-radius: 6px; }
  .natian-desk .frappe-control[data-fieldtype] .control-input-wrapper .form-control { box-shadow: 0 1px 1px rgb(16 24 40 / 3%); }

  /* 表单：分区卡片、侧栏轻量化、评论与活动收纳 */
  .natian-desk .form-layout .form-page { border-radius: 12px; }
  .natian-desk .form-layout .form-section { padding: 18px 20px; }
  .natian-desk .form-layout .form-section + .form-section { border-top: 1px solid var(--border-color); }
  .natian-desk .form-sidebar .sidebar-label, .natian-desk .form-sidebar .form-sidebar-items { font-size: 12.5px; }
  /* 点赞、评论数、关注在本企业不用，收起。 */
  .natian-desk .form-sidebar :is(.liked-by, .form-stats, .form-sidebar-stats) { display: none; }
  .natian-desk .form-footer { background: var(--fg-color); border: 1px solid var(--border-color); border-radius: 12px; padding: 16px 20px; margin-top: 16px; }
  .natian-desk .form-footer .timeline-item { font-size: 12.5px; }

  /* 列表：工具条与行 */
  .natian-desk .frappe-list .result { border-radius: 0 0 12px 12px; }
  .natian-desk .page-form.flex { background: var(--fg-color); border-bottom: 1px solid var(--border-color); padding: 10px 12px; }
  .natian-desk .list-row { min-height: 48px; }
  .natian-desk .list-row-head { font-size: 12px; letter-spacing: .3px; }
  .natian-desk .indicator-pill { border-radius: 999px; font-weight: 550; }
  .natian-desk .list-sidebar .list-group-by, .natian-desk .list-sidebar .sidebar-section { font-size: 12.5px; }

  /* 工作台 */
  .natian-desk .layout-main-section:has(.natian-home, .natian-project) { background: transparent; border: 0; box-shadow: none; }
  .natian-desk .layout-main-section:has(.natian-project) .page-form:not(:has(.frappe-control)) { display: none; }
  .natian-home { display: grid; gap: 18px; padding: 0 0 24px; }
  #page-natian-home .natian-page-help { display: none; }
  /* 工作台不需要面包屑；框架在页面显示后才写入，脚本清空会被覆盖，所以用样式隐藏（/app 首次进入时路由为空）。 */
  body.natian-shell:is([data-natian-route="natian-home"], [data-natian-route=""]) #navbar-breadcrumbs { visibility: hidden; }
  .natian-wide { grid-column: 1 / -1; }
  .natian-home-hero {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: clamp(16px, 3vw, 28px); border: 1px solid var(--border-color); border-radius: 14px;
    background: linear-gradient(110deg, var(--natian-accent-bg), var(--fg-color) 80%);
  }
  .natian-home-hero h2 { margin: 0; font-size: clamp(21px, 2.8vw, 29px); font-weight: 700; color: var(--heading-color); overflow-wrap: anywhere; }
  .natian-home-hero .natian-home-date { margin: 0 0 6px; color: var(--text-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
  .natian-home-actions { display: flex; gap: 8px; flex-wrap: wrap; }
  .natian-home-actions .btn { border-radius: 8px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding-inline: 16px; }
  .natian-home-actions:empty { display: none; }
  .natian-start { min-width: 0; }
  .natian-start h3 { color: var(--heading-color); font-size: 18px; margin: 0 0 5px; }
  .natian-start p { color: var(--text-muted); margin: 0 0 12px; }
  .natian-task-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
  .natian-task { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 4px 12px; padding: 15px 16px; color: var(--text-color); overflow-wrap: anywhere; }
  .natian-task strong { color: var(--heading-color); }
  .natian-task span { color: var(--text-muted); font-size: 13px; grid-column: 1; }
  .natian-task .natian-task-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--natian-accent-text); font-size: 19px; }
  .natian-task:hover { text-decoration: none; border-color: var(--primary); }
  .natian-task:hover strong { text-decoration: underline; }
  .natian-task:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
  .natian-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 14px; }
  .natian-card { background: var(--fg-color); border: 1px solid var(--border-color); border-radius: 12px; box-shadow: var(--natian-card-shadow); }
  .natian-kpi { padding: 18px 20px; display: grid; gap: 6px; text-decoration: none !important; color: inherit; transition: border-color .15s, transform .15s; }
  a.natian-kpi:hover { border-color: #93b4ef; transform: translateY(-1px); }
  .natian-kpi-label { font-size: 12.5px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
  .natian-kpi-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
  .natian-kpi-value { font-size: 28px; font-weight: 700; color: var(--heading-color); line-height: 1.2; font-variant-numeric: tabular-nums; }
  .natian-kpi-value small { font-size: 13px; font-weight: 500; color: var(--text-muted); margin-left: 4px; }
  .natian-kpi-note { font-size: 12px; color: var(--text-muted); }
  .natian-home-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
  .natian-home-grid:not(:has(#natian-steps)) { grid-template-columns: minmax(0, 1fr); }
  .natian-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 10px; }
  .natian-panel-head h3 { margin: 0; font-size: 15px; font-weight: 650; color: var(--heading-color); }
  .natian-panel-head a { font-size: 12.5px; }
  .natian-list { list-style: none; margin: 0; padding: 0 8px 10px; }
  .natian-list li a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: inherit; text-decoration: none; }
  .natian-list li a:hover { background: var(--fg-hover-color); }
  .natian-list .t { font-size: 13.5px; font-weight: 550; color: var(--heading-color); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .natian-list .s { font-size: 12px; color: var(--text-muted); }
  .natian-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 550; background: var(--natian-accent-bg); color: var(--natian-accent-text); white-space: nowrap; }
  .natian-badge.warn { background: #fef3c7; color: #92400e; } .natian-badge.good { background: #dcfce7; color: #166534; } .natian-badge.muted { background: var(--control-bg); color: var(--text-muted); }
  :root[data-theme="dark"] .natian-badge.warn { background: #3a2d17; color: #f3cf8f; } :root[data-theme="dark"] .natian-badge.good { background: #173a26; color: #9be3b5; }
  .natian-doc-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--natian-accent-bg); color: var(--natian-accent-text); font-size: 12px; font-weight: 700; }
  .natian-empty { padding: 26px 20px 30px; text-align: center; color: var(--text-muted); font-size: 13px; }
  .natian-steps { list-style: none; margin: 0; padding: 4px 20px 18px; display: grid; gap: 0; }
  .natian-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; position: relative; padding-bottom: 16px; }
  .natian-steps li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 28px; bottom: 2px; width: 2px; background: var(--border-color); }
  .natian-steps .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--control-bg); color: var(--text-muted); border: 1px solid var(--border-color); z-index: 1; }
  .natian-steps li.done .n { background: var(--natian-good); border-color: var(--natian-good); color: #fff; }
  .natian-steps li.now .n { background: var(--primary); border-color: var(--primary); color: #fff; }
  .natian-steps .t { font-size: 13.5px; font-weight: 600; color: var(--heading-color); }
  .natian-steps .s { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
  .natian-skeleton { height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--control-bg), var(--fg-hover-color), var(--control-bg)); background-size: 200% 100%; animation: natian-shimmer 1.2s infinite; }
  @keyframes natian-shimmer { to { background-position: -200% 0; } }
  @media (max-width: 1199px) { .natian-home-grid { grid-template-columns: 1fr; } }
  @media (max-width: 575px) {
    .natian-kpis { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .natian-kpi { padding: 14px; }
    .natian-kpi-value { font-size: 22px; }
    .natian-home-actions, .natian-home-actions .btn { width: 100%; }
    .natian-home-actions .btn { min-height: 44px; }
  }

  /* 项目材料与 BOM 共享表单、卡片和明细表格。 */
  .natian-project, .natian-project-layout { display: grid; gap: 16px; min-width: 0; padding-bottom: 2px; }
  .natian-project-panel { min-width: 0; padding: clamp(14px, 2.5vw, 24px); background: var(--fg-color); border: 1px solid var(--border-color); border-radius: 12px; }
  .natian-project-selection { border-top: 3px solid var(--primary); }
  .natian-project-result:empty { display: none; }
  .natian-project :is(h2, h3, h4) { color: var(--heading-color); overflow-wrap: anywhere; }
  .natian-project h2 { font-size: 18px; margin: 0 0 12px; }
  .natian-project h3 { font-size: 15px; margin: 0 0 8px; }
  .natian-project p { color: var(--text-muted); overflow-wrap: anywhere; margin: 0 0 10px; }
  .natian-project-controls { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
  .natian-project-controls .frappe-control { flex: 1 1 220px; max-width: 26rem; min-width: 0; margin-bottom: 0; }
  .natian-project-controls .form-group { margin-bottom: 0; }
  .natian-project-controls input[data-fieldname="project"] {
    min-height: 38px; border: 1px solid var(--dark-border-color); border-radius: 7px; background: var(--fg-color);
  }
  .natian-project-controls input[data-fieldname="project"]:focus { border-color: var(--primary); }
  .natian-project .btn { min-height: 38px; white-space: normal; }
  .natian-project-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .workbench-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
  .workbench-groups > div { padding: 14px; border: 1px solid var(--border-color); border-radius: 8px; }
  .inventory-card { border-inline-start: 3px solid var(--primary); }
  .natian-project-form { display: grid; justify-items: start; gap: 8px; }
  .natian-project-form :is(h2, p, label) { margin-bottom: 0; }
  .natian-project-form label { margin-top: 5px; font-weight: 600; }
  .natian-project-form input { max-width: 100%; min-height: 38px; }
  .natian-project-form input[inputmode="decimal"] { max-width: 18rem; }
  .natian-project .natian-project-status { margin: 0; overflow-wrap: anywhere; }
  .natian-project-status:not(:empty) { padding: 10px 12px; border-radius: 8px; background: var(--control-bg); color: var(--text-color); }
  .natian-project-status[data-state="loading"]:not(:empty) { background: var(--natian-accent-bg); color: var(--natian-accent-text); }
  .natian-project-status[data-state="success"]:not(:empty) { border-inline-start: 3px solid var(--natian-good); }
  .natian-project-status[data-state="warning"]:not(:empty) { border-inline-start: 3px solid var(--natian-warn); }
  .natian-project-status[data-state="error"]:not(:empty) { border-inline-start: 3px solid var(--natian-bad); }
  .natian-project-actions + .natian-project-status:not(:empty), .natian-project-form + .natian-project-status:not(:empty) { margin-top: 10px; }
  .natian-project-table { border: 1px solid var(--border-color); border-radius: 8px; margin-top: 12px; }
  .natian-project-table table { margin: 0; font-variant-numeric: tabular-nums; }
  .natian-project-table :is(th, td) { white-space: nowrap; }
  .natian-project-table thead th { background: var(--control-bg); }
  .natian-project-table caption { padding-inline: 12px; }
  .natian-project-table:focus-visible, .natian-project .btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
  .natian-bom-versions { padding: 0; margin: 0 0 14px; list-style: none; }
  .natian-bom-versions > li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--border-color); }
  .natian-bom-versions > li > span, .natian-bom-versions > li > div { flex: 1 0 100%; min-width: 0; overflow-wrap: anywhere; }
  @media (max-width: 575px) {
    body.natian-shell:is([data-natian-route="production-project-workbench"], [data-natian-route="project-bom"]) .page-title .title-text {
      max-width: none; white-space: normal; overflow: visible; text-overflow: clip;
    }
    .natian-project-controls { display: grid; grid-template-columns: minmax(0, 1fr); }
    .natian-project-controls .frappe-control { max-width: none; }
    .natian-project .btn, .natian-project input, .natian-project-controls input[data-fieldname="project"] { min-height: 44px; }
    .natian-project-table :is(thead th:first-child, tbody th[scope="row"]) {
      position: sticky; inset-inline-start: 0; background: var(--fg-color); box-shadow: 1px 0 var(--border-color);
      max-width: 9rem; white-space: normal; overflow-wrap: anywhere;
    }
  }
  @media (prefers-reduced-motion: no-preference) {
    @keyframes natian-appear { from { opacity: 0; } to { opacity: 1; } }
    .natian-task, .natian-project .btn { transition: border-color .14s ease, background-color .14s ease; }
    .natian-project-result:not(:empty), .natian-project-status:not(:empty), .natian-home-body > .natian-home-grid {
      animation: natian-appear .14s ease-out both;
    }
    @media (max-width: 991px) {
      body.natian-shell .natian-rail { transition: transform .18s ease-out, visibility 0s .18s; }
      body.natian-shell .natian-rail-backdrop { transition: opacity .18s ease-out, visibility 0s .18s; }
      body.natian-shell.natian-rail-open :is(.natian-rail, .natian-rail-backdrop) { transition-delay: 0s; }
    }
  }
  @media (prefers-reduced-motion: reduce) { .natian-rail, .main-section, .natian-kpi { transition: none !important; } .natian-skeleton { animation: none; } }
}
@media print { .natian-rail, .natian-quick-new { display: none !important; } body.natian-shell .main-section { padding-left: 0 !important; } }

/* 独立业务工作台：先显示操作范围，再显示步骤。 */
.enterprise-desk {max-width:1120px;margin:0 auto;padding:20px 8px 36px;}
.enterprise-heading h2 {margin:0 0 8px;}
.enterprise-selectors {display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0;}
.enterprise-selectors label {display:block;font-weight:600;}
.enterprise-selectors select {margin-top:8px;}
.enterprise-current {display:flex;align-items:center;flex-wrap:wrap;gap:12px;background:var(--control-bg);border-left:4px solid var(--primary);padding:18px;border-radius:8px;margin-bottom:20px;}
.enterprise-current span {flex:1;min-width:200px;}
.enterprise-desk h3 {font-size:16px;margin:24px 0 12px;}
.enterprise-actions {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.enterprise-action {display:block;text-align:left;padding:20px;border:1px solid var(--border-color);border-radius:10px;background:var(--card-bg);color:var(--text-color);font-weight:600;cursor:pointer;}
.enterprise-action:hover,.enterprise-action:focus-visible {border-color:var(--primary);background:var(--control-bg);}
.enterprise-empty {padding:30px 20px;border:1px dashed var(--border-color);border-radius:10px;}
.enterprise-empty h3 {margin-top:0;}
.enterprise-setup {margin-top:32px;padding-top:12px;border-top:1px solid var(--border-color);}
.enterprise-footnote {margin-top:22px;color:var(--text-muted);font-size:13px;}
@media(max-width:650px) {.enterprise-selectors,.enterprise-actions{grid-template-columns:1fr;}.enterprise-desk{padding:12px 0;}}
