body.ui-page--installer{
  min-height:100vh;
}

body.ui-page--installer .ui-btn{
  min-height:46px;
  height:auto;
  padding:11px 16px;
}

.installer-global-header{
  position:relative;
  z-index:2;
  padding:14px 16px 0;
}

.installer-global-nav{
  width:min(100%, 1180px);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
}

.installer-global-nav__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  padding:0 13px;
  border-radius:0;
  border:none;
  background:transparent;
  color:var(--ui-text);
  text-decoration:none;
  font-size:12px;
  font-weight:900;
}

.installer-global-nav__link:hover,
.installer-global-nav__link.is-active{
  color:var(--ui-primary);
  text-decoration:underline;
  text-underline-offset:4px;
}

.installer-page-link{
  display:flex;
  justify-content:center;
  margin:0 0 16px;
}

.installer-page-link__anchor{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:var(--ui-sub);
  text-decoration:none;
  font-size:12px;
  font-weight:500;
  opacity:.7;
  word-break:break-all;
}

.installer-page-link__anchor:hover{
  color:var(--ui-text);
  opacity:1;
  text-decoration:underline;
  text-underline-offset:3px;
}

.installer-view-switch{
  display:flex;
  justify-content:center;
  gap:8px;
  margin:0 0 16px;
}

.installer-view-switch__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:34px;
  padding:0 12px;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--ui-sub);
  font:inherit;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}

.installer-view-switch__button.is-active,
.installer-view-switch__button:hover{
  color:var(--ui-primary);
  text-decoration:underline;
  text-underline-offset:4px;
}

.project-map-panel .ui-card__body{
  padding:0;
}

.project-map-panel{
  width:calc(100vw - 32px);
  margin-left:calc(50% - 50vw + 16px);
  margin-right:calc(50% - 50vw + 16px);
}

.project-mindmap{
  position:relative;
  width:100%;
  min-height:620px;
  height:calc(100vh - 190px);
  overflow:hidden;
  cursor:grab;
  isolation:isolate;
}

.project-mindmap:active{
  cursor:grabbing;
}

.project-mindmap canvas,
.project-mindmap jmlink,
.project-mindmap jmline,
.project-mindmap jmexpander{
  display:none !important;
  pointer-events:none !important;
}

.project-mindmap-lines{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:visible;
  pointer-events:none;
}

.project-mindmap-line{
  fill:none;
  stroke-width:3;
  stroke-linecap:round;
  opacity:.82;
}

.project-mindmap-line--category{
  stroke:#4f7cff;
  stroke-width:4;
}

.project-mindmap-line--project{
  stroke:#21a97a;
}

.project-mindmap-line--memo{
  stroke:#d28721;
  stroke-width:2.5;
  opacity:.74;
}

jmnodes{
  z-index:1 !important;
}

.project-map-node{
  display:grid;
  gap:3px;
  min-width:150px;
  line-height:1.25;
}

.project-map-node strong{
  font-size:13px;
}

.project-map-node span,
.project-map-node em{
  font-size:10px;
  font-style:normal;
  opacity:.72;
}

.project-map-node--memo{
  min-width:130px;
}

.project-map-node--memo strong{
  font-size:12px;
  font-weight:800;
}

.project-map-category{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:0 9px;
  border-radius:6px;
  background:color-mix(in srgb, var(--category-color, var(--ui-sub)) 78%, rgba(0,0,0,.18));
  color:#fff;
  font-size:12px;
  font-weight:900;
}

jmnode{
  z-index:1 !important;
  border-radius:6px !important;
  box-shadow:none !important;
  border:1px solid rgba(255,255,255,.2) !important;
  cursor:pointer !important;
  overflow:visible !important;
  transform:translateZ(0);
  backface-visibility:hidden;
}

jmnode.root{
  background:#2f56d6 !important;
  color:#fff !important;
  font-weight:900 !important;
}

jmnode.project-map-shell--category{
  background:transparent !important;
  border:none !important;
}

jmnode.project-map-shell--project{
  background:color-mix(in srgb, var(--category-color, #136f55) 82%, rgba(0,0,0,.22)) !important;
  border-color:color-mix(in srgb, var(--category-color, #82ffcd) 72%, rgba(255,255,255,.28)) !important;
  color:#fff !important;
}

jmnode.project-map-shell--muted.project-map-shell--category .project-map-category{
  background:rgba(148, 163, 184, .34);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.62);
}

jmnode.project-map-shell--muted.project-map-shell--project{
  background:rgba(71, 85, 105, .38) !important;
  border-color:rgba(148, 163, 184, .22) !important;
  color:rgba(255,255,255,.66) !important;
}

jmnode.project-map-shell--memo{
  background:#7c4f11 !important;
  border-color:rgba(255, 213, 128, .36) !important;
  color:#fff !important;
}

jmnode.project-map-shell--muted.project-map-shell--memo{
  background:rgba(92, 72, 43, .34) !important;
  border-color:rgba(255, 213, 128, .16) !important;
  color:rgba(255,255,255,.54) !important;
}

jmnode.project-map-shell--next-action::before{
  content:"";
  position:absolute;
  top:-7px;
  left:-7px;
  z-index:4;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#e53935;
  border:2px solid rgba(255,255,255,.86);
  box-shadow:0 0 0 2px rgba(229,57,53,.22);
  pointer-events:none;
}

jmnode.project-map-shell--project span,
jmnode.project-map-shell--project em,
jmnode.project-map-shell--memo span,
jmnode.project-map-shell--memo em{
  color:rgba(255,255,255,.76);
}

jmexpander{
  display:none !important;
  pointer-events:none !important;
  border-color:rgba(255,255,255,.42) !important;
  color:var(--ui-text) !important;
}

.project-map-handle{
  position:absolute;
  top:-12px;
  right:-12px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  padding:0;
  border:1px solid rgba(255,255,255,.42);
  border-radius:50%;
  background:var(--ui-primary);
  color:#fff;
  font-size:13px;
  line-height:1;
  cursor:move;
  opacity:.82;
}

.project-map-handle:hover,
jmnode.is-moving .project-map-handle{
  opacity:1;
}

jmnode.is-moving{
  outline:2px solid color-mix(in srgb, var(--ui-primary) 70%, #fff);
  outline-offset:2px;
  will-change:left, top;
}

.installer-shell{
  padding-top:24px;
}

.installer-shell--auth{
  min-height:100vh;
  display:grid;
  place-items:center;
  max-width:1120px;
}

.installer-auth-card{
  width:min(100%, 460px);
}

.installer-status-card{
  width:min(100%, 520px);
}

.installer-status-backdrop{
  position:fixed;
  inset:0;
  z-index:30;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(0,0,0,.42);
}

.installer-status-modal{
  width:min(100%, 480px);
}

.installer-auth-card__body{
  padding:28px;
}

.installer-status-card__body{
  padding:32px 28px;
  display:grid;
  justify-items:center;
  text-align:center;
}

.installer-auth-title{
  font-size:34px;
  margin-bottom:0;
}

.installer-status-title{
  font-size:30px;
  margin-bottom:0;
}

.installer-auth-subtitle{
  margin-bottom:22px;
}

.installer-status-subtitle{
  margin:12px 0 0;
}

.installer-status-note{
  margin:12px 0 0;
  font-size:12px;
  color:var(--ui-sub);
}

.installer-status-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:72px;
  height:72px;
  margin:0 auto 16px;
  border-radius:50%;
  background:var(--ui-surface-strong);
  border:1px solid var(--ui-border);
  font-size:34px;
  color:var(--ui-primary);
}

.installer-eyebrow,
.installer-card-kicker{
  margin:0 0 8px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--ui-sub);
}

.installer-alert{
  margin-bottom:16px;
  padding:12px 14px;
  border-radius:6px;
  border:1px solid var(--ui-border);
  background:var(--ui-surface-strong);
  font-size:13px;
  font-weight:700;
}

.installer-alert--error{
  border-color:rgba(255,99,99,.35);
  color:#ffd8d8;
}

.installer-alert--notice{
  border-color:rgba(126,211,166,.35);
  color:#d9ffe9;
}

.ui-skin-normal .installer-alert--error{
  color:#9d2f2f;
}

.ui-skin-normal .installer-alert--notice{
  color:#1d6b44;
}

.installer-auth-actions,
.installer-card-actions{
  display:flex;
  gap:12px;
  margin-top:8px;
}

.installer-form-switch-center{
  display:flex;
  justify-content:center;
  padding:20px 0;
}

.installer-run-switch{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  color:var(--ui-text);
}

.installer-run-switch input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.installer-run-switch__track{
  position:relative;
  width:52px;
  height:28px;
  border-radius:999px;
  background:var(--ui-surface-strong);
  border:1px solid var(--ui-border);
}

.installer-run-switch__track::after{
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:var(--ui-sub);
  transition:transform var(--ui-speed-fast) ease, background var(--ui-speed-fast) ease;
}

.installer-run-switch input:checked + .installer-run-switch__track::after{
  transform:translateX(24px);
  background:var(--ui-primary);
}

.installer-run-switch__text{
  display:flex;
  gap:8px;
  font-size:12px;
  font-weight:700;
}

.installer-run-switch input:not(:checked) ~ .installer-run-switch__text span:first-child,
.installer-run-switch input:checked ~ .installer-run-switch__text span:last-child{
  color:var(--ui-sub);
  opacity:.55;
}

.installer-run-switch--compact{
  white-space:nowrap;
}

.installer-next-action-row{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:14px;
  align-items:center;
}

.installer-entity-card .installer-card-actions{
  justify-content:center;
  margin-top:24px;
}

.installer-form-card .installer-card-actions,
.installer-panel .installer-card-actions,
.installer-hub-card .installer-card-actions{
  justify-content:center;
  margin-top:24px;
}

.installer-status-card .installer-card-actions{
  justify-content:center;
  width:100%;
  margin-top:20px;
}

.installer-btn-wide{
  width:100%;
}

.installer-note{
  margin-top:16px;
  font-size:12px;
  color:var(--ui-sub);
}

.installer-note code{
  font-family:ui-monospace, SFMono-Regular, Menlo, monospace;
}

.installer-topbar-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:wrap;
}

.installer-dashboard-grid,
.installer-hub-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

.installer-hub-grid{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  margin-top:16px;
}

.installer-hub-card{
  min-height:100%;
}

.installer-hub-map-panel{
  margin-bottom:16px;
}

.installer-hub-map-panel .project-mindmap{
  height:calc(100vh - 170px);
}

.installer-hub-next-panel{
  margin-top:16px;
}

.installer-hub-links-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
  align-items:start;
}

.installer-panel__header,
.installer-entity-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.installer-list-item{
  grid-template-columns:1fr auto;
}

.installer-inline-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}

.installer-compact-panel{
  margin-top:16px;
}

.ui-skin-black .installer-compact-panel{
  background:transparent;
  border-color:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

.ui-skin-black .installer-compact-panel > .ui-card__body{
  padding-left:0;
  padding-right:0;
}

.installer-compact-row{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:16px;
  align-items:center;
}

.installer-compact-row--inactive{
  opacity:.42;
}

.installer-compact-row--inactive:hover{
  opacity:.72;
}

.installer-compact-row.is-dragging{
  opacity:.36;
}

[data-sortable-item]{
  cursor:grab;
}

[data-sortable-item]:active{
  cursor:grabbing;
}

[data-sortable-item] a,
[data-sortable-item] button{
  cursor:pointer;
}

.installer-compact-main{
  min-width:0;
  display:grid;
  gap:8px;
}

.installer-compact-head{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  flex-wrap:wrap;
}

.installer-compact-title{
  margin:0;
  min-width:0;
  font-size:18px;
  font-weight:800;
}

.installer-compact-kicker{
  margin:0;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--ui-sub);
}

.installer-compact-summary{
  margin:0;
  font-size:12px;
  line-height:1.6;
  color:var(--ui-text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.installer-compact-meta{
  display:flex;
  align-items:center;
  gap:10px 14px;
  flex-wrap:wrap;
}

.installer-compact-meta .ui-item__meta{
  white-space:nowrap;
}

.installer-compact-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}

.installer-compact-actions .ui-btn{
  height:36px;
  padding:0 12px;
  font-size:12px;
}

.installer-list-head{
  display:grid;
  gap:8px;
  min-width:0;
}

.installer-category-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  justify-self:start;
  min-height:22px;
  padding:0 8px;
  border-radius:6px;
  background:color-mix(in srgb, var(--category-color, var(--ui-sub)) 74%, rgba(0,0,0,.18));
  border:1px solid color-mix(in srgb, var(--category-color, var(--ui-border)) 82%, transparent);
  color:#fff;
  font-size:10px;
  line-height:1;
  font-weight:500;
  letter-spacing:.04em;
  opacity:.9;
}

.ui-skin-normal .installer-category-badge{
  background:color-mix(in srgb, var(--category-color, var(--ui-sub)) 78%, #111827);
  color:#fff;
}

.installer-category-badge--cat-0{--category-color:#6aa4ff}
.installer-category-badge--cat-1{--category-color:#68d391}
.installer-category-badge--cat-2{--category-color:#f6ad55}
.installer-category-badge--cat-3{--category-color:#fc8181}
.installer-category-badge--cat-4{--category-color:#b794f4}
.installer-category-badge--cat-5{--category-color:#4fd1c5}
.installer-category-badge--cat-6{--category-color:#f687b3}
.installer-category-badge--cat-7{--category-color:#a0aec0}
.installer-category-badge--cat-8{--category-color:#ecc94b}
.installer-category-badge--cat-9{--category-color:#63b3ed}

.installer-list-title{
  display:flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
  line-height:1.35;
}

.installer-list-date{
  color:var(--ui-sub);
  font-size:12px;
  font-weight:500;
  white-space:nowrap;
  opacity:.58;
}

.dev-notes-board .ui-card__body{
  display:grid;
  gap:14px;
}

.dev-notes-tools{
  display:grid;
  grid-template-columns:minmax(240px, 360px) minmax(0, 1fr);
  gap:12px;
  align-items:start;
}

.dev-notes-search{
  position:relative;
}

.dev-notes-search i{
  position:absolute;
  top:50%;
  left:14px;
  transform:translateY(-50%);
  color:var(--ui-sub);
  pointer-events:none;
}

.dev-notes-search__input{
  width:100%;
  padding-left:40px;
}

.dev-notes-category-list{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.installer-filter-tags{
  margin-bottom:14px;
}

.dev-notes-category{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 12px;
  border:1px solid var(--ui-border);
  border-radius:6px;
  background:var(--ui-surface-strong);
  color:var(--ui-text);
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  text-decoration:none;
  white-space:nowrap;
}

.dev-notes-category:not(.is-active){
  background:color-mix(in srgb, var(--category-color, var(--ui-sub)) 70%, rgba(0,0,0,.12));
  border-color:color-mix(in srgb, var(--category-color, var(--ui-border)) 82%, transparent);
  color:#fff;
}

.dev-notes-category.is-active,
.dev-notes-category:hover{
  border-color:color-mix(in srgb, var(--category-color, var(--ui-primary)) 64%, rgba(255,255,255,.32));
  background:color-mix(in srgb, var(--category-color, var(--ui-surface)) 76%, rgba(0,0,0,.18));
  color:#fff;
  text-decoration:none;
}

.ui-skin-normal .dev-notes-category.is-active,
.ui-skin-normal .dev-notes-category:hover{
  border-color:rgba(21,32,55,.22);
}

.dev-notes-count{
  font-size:12px;
  font-weight:800;
  color:var(--ui-sub);
}

.dev-notes-list{
  gap:10px;
}

.dev-note-item{
  align-items:flex-start;
}

.dev-note-item[hidden]{
  display:none;
}

.dev-note-title-link{
  color:inherit;
  text-decoration:none;
}

.dev-note-title-link:hover,
.installer-title-link:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

.installer-title-link{
  color:inherit;
  text-decoration:none;
}

.dev-notes-empty{
  padding:16px;
  border:1px dashed var(--ui-border);
  border-radius:6px;
  color:var(--ui-sub);
  font-size:13px;
  font-weight:800;
}

.dev-note-detail-card .ui-card__body{
  display:grid;
  gap:18px;
}

.dev-note-detail-head{
  display:grid;
  gap:8px;
}

.dev-note-detail-title{
  margin:0;
  font-size:28px;
  line-height:1.35;
  font-weight:900;
  word-break:break-word;
}

.dev-note-detail-body{
  padding:18px;
  border:1px solid var(--ui-border);
  border-radius:6px;
  background:var(--ui-surface-strong);
  font-size:14px;
  line-height:1.85;
  word-break:break-word;
}

.installer-upload-entry{
  display:flex;
  justify-content:center;
}

.installer-upload-entry__button{
  min-width:220px;
}

.installer-dialog{
  width:min(100%, 720px);
  max-height:calc(100vh - 48px);
  padding:0;
  border:none;
  background:transparent;
  color:inherit;
}

.installer-dialog::backdrop{
  background:rgba(0, 0, 0, .72);
}

.installer-dialog__body{
  overflow:auto;
  padding:24px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background:#232428;
  box-shadow:0 32px 96px rgba(0, 0, 0, .48);
}

.installer-dialog__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}

.installer-upload-choice{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  margin-bottom:18px;
}

.installer-upload-choice__card{
  appearance:none;
  width:100%;
  text-align:left;
  padding:18px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  background:#2c2d33;
  color:#f3f4f6;
  cursor:pointer;
}

.installer-upload-choice__card.is-active{
  border-color:rgba(255,255,255,.4);
  box-shadow:0 0 0 1px rgba(255,255,255,.18) inset;
}

.installer-upload-choice__title{
  display:block;
  font-size:16px;
  font-weight:800;
}

.installer-upload-choice__text{
  display:block;
  margin-top:8px;
  font-size:12px;
  color:rgba(255,255,255,.72);
  line-height:1.6;
}

.installer-upload-panels{
  display:grid;
}

.installer-upload-panel{
  padding:18px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  background:#2a2b30;
}

.installer-upload-panel[hidden]{
  display:none;
}

.installer-archive-row{
  align-items:flex-start;
}

.installer-download-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.installer-download-card{
  padding:14px;
  border:1px solid var(--ui-border);
  border-radius:6px;
  background:var(--ui-surface-strong);
}

.installer-download-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.installer-download-card__name{
  margin:10px 0 6px;
  font-size:13px;
  font-weight:800;
  word-break:break-word;
}

.installer-download-card__meta{
  margin:0;
  font-size:12px;
  color:var(--ui-sub);
}

.installer-download-card__btn{
  margin-top:12px;
}

.installer-archive-groups{
  display:grid;
  gap:18px;
}

.installer-archive-group__title{
  margin:0;
  font-size:15px;
}

.installer-workspace-tabs{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 18px;
}

.installer-workspace-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 14px;
  border:1px solid var(--ui-border);
  border-radius:999px;
  background:var(--ui-surface-strong);
  color:var(--ui-sub);
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  transition:background .18s ease, border-color .18s ease, color .18s ease;
}

.installer-workspace-tab:hover,
.installer-workspace-tab.is-active{
  background:var(--ui-surface);
  border-color:rgba(255,255,255,.32);
  color:var(--ui-text);
}

.installer-workspace-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:14px;
}

.installer-workspace-section-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  width:100%;
}

.installer-workspace-section-title{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.installer-workspace-rule-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:28px;
  padding:0 9px;
  border:1px solid var(--ui-border);
  border-radius:6px;
  background:var(--ui-surface-strong);
  color:var(--ui-sub);
  font:inherit;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
  transition:background .18s ease, border-color .18s ease, color .18s ease;
}

.installer-workspace-rule-button:hover{
  background:var(--ui-surface);
  border-color:rgba(255,255,255,.28);
  color:var(--ui-text);
}

.installer-workspace-rules{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:120;
}

html.is-modal-open{
  overflow:hidden;
}

.installer-workspace-rules.is-open{
  display:flex;
}

.installer-workspace-rules__overlay{
  position:absolute;
  inset:0;
  background:rgba(8,13,24,.44);
}

.installer-workspace-rules__dialog{
  position:relative;
  width:min(920px, 100%);
  max-height:min(82vh, 760px);
  overflow:auto;
  padding:24px;
  border:1px solid var(--ui-border);
  border-radius:8px;
  background:color-mix(in srgb, var(--ui-surface-strong) 86%, #f4f7fb);
  color:var(--ui-text);
  box-shadow:0 24px 70px rgba(0,0,0,.38);
}

.installer-workspace-rules__close{
  position:absolute;
  top:14px;
  right:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border:1px solid var(--ui-border);
  border-radius:6px;
  background:var(--ui-surface);
  color:var(--ui-sub);
  font-size:18px;
  cursor:pointer;
}

.installer-workspace-rules__close:hover{
  color:var(--ui-text);
}

.installer-workspace-rules__title{
  margin:4px 44px 8px 0;
  font-size:24px;
  line-height:1.35;
}

.installer-workspace-rules__lead{
  margin:0;
  max-width:760px;
  color:var(--ui-sub);
  font-size:13px;
  line-height:1.8;
}

.installer-workspace-rules__actions{
  display:flex;
  justify-content:flex-start;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.installer-workspace-rules__copy{
  margin-top:16px;
  padding:16px;
  border:1px solid var(--ui-border);
  border-radius:6px;
  background:color-mix(in srgb, var(--ui-surface) 78%, #f7fafc);
}

.installer-workspace-rules__copy-label{
  margin:0 0 8px;
  font-size:11px;
  font-weight:900;
  color:var(--ui-sub);
}

.installer-workspace-rules__copy-box{
  margin:0;
  white-space:pre-wrap;
  word-break:break-word;
  font:12px/1.7 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color:var(--ui-text);
}

.installer-workspace-rules__copy-status{
  min-height:18px;
  margin:10px 0 0;
  font-size:11px;
  color:var(--ui-sub);
}

.installer-workspace-rules__sections{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  margin-top:18px;
}

.installer-workspace-rules__section{
  min-width:0;
  padding:16px;
  border:1px solid var(--ui-border);
  border-radius:6px;
  background:var(--ui-surface);
}

.installer-workspace-rules__section h3{
  margin:0 0 10px;
  font-size:15px;
  line-height:1.4;
}

.installer-workspace-rules__section ul{
  display:grid;
  gap:8px;
  margin:0;
  padding-left:18px;
  color:var(--ui-sub);
  font-size:12px;
  line-height:1.65;
}

.installer-workspace-card{
  display:grid;
  grid-template-rows:auto 1fr;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--ui-border);
  border-radius:6px;
  background:var(--ui-surface-strong);
}

.installer-workspace-card__preview{
  position:relative;
  display:block;
  aspect-ratio:16 / 10;
  overflow:hidden;
  background:rgba(255,255,255,.04);
  border-bottom:1px solid var(--ui-border);
}

.installer-workspace-card__preview iframe{
  position:absolute;
  top:0;
  left:0;
  width:1600px;
  height:1000px;
  border:0;
  transform:scale(.1625);
  transform-origin:top left;
  pointer-events:none;
  background:#fff;
}

.installer-workspace-card__body{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:12px;
}

.installer-workspace-card__head{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:8px;
  align-items:center;
}

.installer-workspace-card__title{
  margin:0;
  min-width:0;
  font-size:15px;
  line-height:1.35;
  font-weight:900;
  word-break:break-word;
}

.installer-workspace-card__comment{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border-radius:6px;
  color:var(--ui-sub);
  text-decoration:none;
}

.installer-workspace-card__comment:hover{
  color:var(--ui-text);
  background:var(--ui-surface);
}

.installer-workspace-card__meta{
  margin:0;
  font-size:11px;
  color:var(--ui-sub);
}

.installer-workspace-card__description{
  margin:0;
  color:var(--ui-text);
  font-size:12px;
  line-height:1.6;
  opacity:.76;
}

.installer-workspace-card__actions{
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:auto;
}

.installer-workspace-card__actions .ui-btn{
  min-height:30px;
  height:30px;
  padding:0 10px;
  font-size:11px;
}

@media (max-width: 760px){
  .installer-workspace-section-header{
    flex-direction:column;
    align-items:flex-start;
  }

  .installer-workspace-rules{
    align-items:flex-end;
    padding:12px;
  }

  .installer-workspace-rules__dialog{
    max-height:86vh;
    padding:20px;
  }

  .installer-workspace-rules__sections{
    grid-template-columns:1fr;
  }
}

.installer-history-link{
  grid-template-columns:minmax(0, 1fr) auto;
  align-items:center;
}

.installer-hub-memo-link{
  grid-template-columns:minmax(140px, 220px) minmax(0, 1fr) auto;
  align-items:center;
  text-decoration:none;
  padding:14px 18px;
}

.installer-hub-memo-link:hover{
  background:var(--ui-surface);
}

.installer-hub-memo-link__title{
  font-size:16px;
  font-weight:900;
  line-height:1.35;
  padding-right:14px;
}

.installer-hub-memo-link__summary{
  display:grid;
  gap:4px;
  min-width:0;
}

.installer-hub-memo-link__summary-line{
  min-width:0;
  font-size:12px;
  line-height:1.35;
  color:var(--ui-text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.installer-hub-memo-link__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:center;
  font-size:18px;
  color:var(--ui-sub);
}

.installer-hub-subsection{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--ui-border);
}

.installer-hub-links-grid .installer-hub-subsection{
  margin-top:0;
  padding-top:22px;
  border-top:1px solid var(--ui-border);
}

.installer-hub-subsection__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.installer-hub-subsection__title{
  margin:4px 0 0;
  font-size:18px;
  line-height:1.35;
}

.installer-hub-memo-link--dev{
  grid-template-columns:minmax(180px, 320px) minmax(0, 1fr) auto;
}

.installer-entity-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.installer-entity-card,
.installer-form-card,
.installer-panel{
  min-height:100%;
}

.installer-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:auto;
  height:auto;
  padding:0;
  border:none;
  background:transparent;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  color:var(--ui-sub);
}

.installer-meta-list{
  display:grid;
  gap:10px;
  margin:14px 0 0;
}

.installer-meta-list > div{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:10px;
  padding:12px 14px;
  border-radius:6px;
  border:1px solid var(--ui-border);
  background:var(--ui-surface-strong);
}

.installer-meta-list strong{
  font-size:12px;
  color:var(--ui-sub);
}

.installer-meta-list span{
  word-break:break-word;
  font-size:13px;
}

.installer-card-text{
  margin:14px 0 0;
  font-size:13px;
  line-height:1.8;
  color:var(--ui-text);
}

.installer-textarea--dev-note{
  min-height:640px;
  line-height:1.7;
}

.installer-project-memos{
  margin-top:16px;
}

.installer-project-memos--boxed{
  padding:14px;
  border-radius:6px;
  border:1px dashed var(--ui-border);
  background:rgba(255,255,255,.05);
}

body.ui-page--installer .ui-item,
body.ui-page--installer .installer-rule-card,
body.ui-page--installer .ui-switch-row{
  border-radius:6px;
}

.ui-skin-normal .installer-project-memos--boxed{
  background:rgba(21,32,55,.03);
}

.installer-project-memos__head{
  margin-bottom:10px;
}

.installer-project-memos__eyebrow{
  margin:0 0 6px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--ui-sub);
}

.installer-project-memos__title{
  margin:0 0 10px;
  font-size:13px;
  font-weight:800;
}

.installer-project-memo-item{
  grid-template-columns:1fr auto;
}

.installer-project-memo-item .ui-btn{
  justify-self:center;
}

.installer-file-link{
  text-decoration:none;
}

.installer-prompt-box{
  min-height:220px;
  font-size:12px;
  line-height:1.65;
  white-space:pre-wrap;
}

.installer-rule-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.installer-rule-card{
  padding:14px;
  border-radius:14px;
  border:1px solid var(--ui-border);
  background:var(--ui-surface-strong);
}

.installer-rule-card__title{
  margin:0 0 10px;
  font-size:13px;
  font-weight:800;
}

.installer-rule-card__body{
  font-size:13px;
  line-height:1.7;
  color:var(--ui-text);
  white-space:pre-wrap;
}

.installer-rules-section{
  margin-top:10px;
}

.installer-field-error{
  font-size:12px;
  color:#ffd8d8;
  font-weight:700;
}

.installer-field-hint{
  font-size:10px;
  line-height:1.5;
  color:var(--ui-sub);
}

.installer-label-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.installer-label-row .ui-label{
  margin:0;
}

.installer-label-row .installer-field-hint{
  text-align:right;
}

.ui-skin-normal .installer-field-error{
  color:#9d2f2f;
}

.installer-form-card .ui-card__body,
.installer-panel .ui-card__body,
.installer-entity-card .ui-card__body{
  padding:22px;
}

.installer-shortcuts-panel{
  margin-top:16px;
}

.installer-footer-links{
  margin-top:18px;
  text-align:center;
  font-size:12px;
}

.installer-footer-links__sep{
  display:inline-block;
  margin:0 8px;
  color:var(--ui-sub);
}

.installer-footer-links a{
  color:var(--ui-sub);
  text-decoration:none;
}

.installer-footer-links a:hover{
  color:var(--ui-text);
  text-decoration:underline;
}

.installer-footer-skins{
  margin-top:12px;
  display:flex;
  justify-content:center;
  width:100%;
  text-align:center;
}

.installer-footer-skins .ui-skin-switch{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  width:100%;
  margin:0 auto;
}

.installer-footer-skins .ui-chip{
  min-height:auto;
  padding:0 6px;
  font-size:10px;
  line-height:1;
  background:transparent;
  border:none;
  border-radius:0;
  box-shadow:none;
}

.installer-footer-skins .ui-chip:hover{
  transform:none;
  background:transparent;
  text-decoration:underline;
}

.installer-shortcuts-group + .installer-shortcuts-group{
  margin-top:18px;
}

.installer-shortcuts-title{
  margin:0 0 10px;
  font-size:13px;
  font-weight:800;
}

.installer-shortcuts{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.installer-shortcut-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 12px;
  font-size:11px;
  line-height:1;
  vertical-align:middle;
}

@media (max-width: 860px){
  .installer-dashboard-grid,
  .installer-hub-grid{
    grid-template-columns:1fr;
  }

  .installer-hub-links-grid{
    grid-template-columns:1fr;
  }

  .installer-entity-grid{
    grid-template-columns:1fr;
  }

  .installer-rule-grid{
    grid-template-columns:1fr;
  }

  .installer-shell{
    padding-top:20px;
  }

  .installer-auth-card__body{
    padding:22px;
  }

  .installer-auth-title{
    font-size:28px;
  }

  .installer-meta-list > div{
    grid-template-columns:1fr;
  }

  .installer-panel__header,
  .installer-entity-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .installer-list-item{
    grid-template-columns:1fr;
  }

  .installer-compact-row{
    grid-template-columns:1fr;
  }

  .installer-compact-actions{
    justify-content:flex-start;
  }

  .installer-next-action-row{
    grid-template-columns:1fr;
    justify-items:start;
  }

  .dev-notes-tools{
    grid-template-columns:1fr;
  }

  .installer-download-grid{
    grid-template-columns:1fr;
  }

  .installer-upload-choice{
    grid-template-columns:1fr;
  }

  .installer-dialog{
    width:min(100%, calc(100vw - 24px));
    max-height:calc(100vh - 24px);
  }

  .installer-dialog__body{
    padding:18px;
  }

  .installer-dialog__head{
    flex-direction:column;
    align-items:flex-start;
  }

  .installer-hub-memo-link{
    grid-template-columns:1fr;
  }

  .installer-hub-memo-link--dev{
    grid-template-columns:1fr;
  }

  .installer-hub-memo-link__title{
    padding-right:0;
  }

  .installer-hub-memo-link__icon{
    justify-content:flex-start;
  }

  .installer-hub-subsection__head{
    flex-direction:column;
    align-items:flex-start;
  }

  .installer-project-memo-item{
    grid-template-columns:1fr;
  }
}
