/* Practice org: a look-alike of Lightning Experience Setup.
   The Setup screens use the Salesforce Lightning Design System (../assets/slds.min.css).
   The guide panel, practice bar and teaching panels use the Clay design system (guide.css). Light only. */

:root {
  --tangerine: #FF8A3D; --aqua: #22C3C9; --lemon: #FFD84D; --peri: #8E9BFF; --berry: #E2457E;
  --c-bg: #F4F9FF; --c-card: #FFFFFF; --c-line: #CFE2F5; --c-muted: #4A5D80; --c-text: #10234A; --c-navy: #10234A;
  --c-good: #0f8a5f; --c-good-bg: #e6f7ef; --c-bad: #c23934; --c-bad-bg: #fdecea; --c-tip-bg: #fff6e0;
  --guide-w: 408px;
  --sf-bg: #f3f3f3; --sf-line: #e5e5e5; --sf-line2: #c9c9c9; --sf-text: #181818; --sf-weak: #444444; --sf-brand: #0176d3;
}
html { background: var(--sf-bg); }
html, body { margin: 0; height: 100%; overflow-x: clip; }
body { font-size: .8125rem; color: var(--sf-text); background: var(--sf-bg); }
#app { min-height: 100%; display: flex; flex-direction: column; }
.ico { width: 1rem; height: 1rem; fill: currentColor; flex: none; }
.ico-sm { width: .875rem; height: .875rem; }
.ico-xs { width: .75rem; height: .75rem; }

/* ---------- Global header (look-alike) ---------- */
.gh { height: 50px; background: #fff; display: flex; align-items: center; padding: 0 12px; gap: 12px;
  border-bottom: 1px solid var(--sf-line); position: relative; z-index: 5; }
.gh-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #032d60; white-space: nowrap; }
.gh-logo .mark { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--aqua), #0b5cab);
  display: grid; place-items: center; color: #fff; }
.gh-search { flex: 1; max-width: 560px; margin: 0 auto; position: relative; }
.gh-search input { width: 100%; height: 32px; border: 1px solid var(--sf-line2); border-radius: 4px; padding: 0 12px 0 32px;
  background: #fff; font: inherit; color: var(--sf-weak); }
.gh-search > .ico { position: absolute; left: 10px; top: 8px; fill: #747474; }
.gh-tools { display: flex; align-items: center; gap: 4px; }
.gh-tools button { width: 32px; height: 32px; border: 0; background: transparent; border-radius: 4px; display: grid; place-items: center;
  color: #747474; cursor: pointer; position: relative; }
.gh-tools button:hover { background: #f3f3f3; }
.gh-avatar { width: 28px; height: 28px; border-radius: 50%; background: #8c6bdf; color: #fff; font-weight: 700; font-size: 12px;
  display: grid; place-items: center; }
.gh-menu { position: absolute; right: 50px; top: 46px; z-index: 20; min-width: 220px; }
.ctx { height: 40px; background: #fff; display: flex; align-items: center; padding: 0 12px; gap: 16px;
  border-bottom: 3px solid var(--sf-brand); box-shadow: 0 2px 2px rgba(0,0,0,.06); }
.ctx-app { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; padding-right: 16px; }
.ctx-tab { height: 40px; display: flex; align-items: center; padding: 0 12px; color: var(--sf-text); position: relative; gap: 4px; }
.ctx-tab.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: #014486; }

/* ---------- Layout ---------- */
.frame { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) var(--guide-w); min-height: 0; }
.setup { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 12px; padding: 12px;
  background: linear-gradient(180deg, #b0c4df 0, #dbe6f3 140px, var(--sf-bg) 300px); min-width: 0; align-items: start; }
.tree { background: #fff; border-radius: 4px; border: 1px solid var(--sf-line); padding: 12px 0; position: sticky; top: 12px; }
.tree .qf { padding: 0 12px 10px; }
.tree h4 { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--sf-weak); padding: 10px 16px 4px; margin: 0; }
.tree .grp { display: flex; align-items: center; gap: 4px; padding: 4px 12px; color: var(--sf-text); cursor: pointer; user-select: none; }
.tree .grp:hover { background: #f3f3f3; }
.tree .leaf { display: block; padding: 4px 12px 4px 36px; color: var(--sf-text); cursor: pointer; text-decoration: none; border-radius: 0; }
.tree .leaf:hover { background: #f3f3f3; text-decoration: none; }
.tree .leaf.on { background: #eef4ff; font-weight: 600; box-shadow: inset 3px 0 0 var(--sf-brand); }
.tree mark { background: #fbe8b1; color: inherit; padding: 0; font-weight: 700; }
.tree .none { padding: 8px 16px; color: var(--sf-weak); }
main.page { min-width: 0; position: relative; min-height: 240px; }
main.page.is-loading > *:not(.page-spinner) { opacity: .35; transition: opacity .15s; }
.page-spinner { position: absolute; inset: 0; background: rgba(255,255,255,.55); z-index: 4; border-radius: 4px; }
.tree .tops { padding: 0 0 6px; margin-bottom: 4px; border-bottom: 1px solid var(--sf-line); }
.tree .leaf.top { padding-left: 16px; }

/* ---------- Header panels, search results ---------- */
.gh-tools .menu-wrap { position: relative; }
.gh-tools button.on { background: #eef4ff; color: var(--sf-brand); }
.gh-fav { display: flex; align-items: center; border: 1px solid var(--sf-line2); border-radius: 4px; height: 32px; padding-right: 4px; }
.gh-fav button { height: 30px; }
.gh-fav-dd { display: grid; place-items: center; fill: #747474; padding-left: 2px; border-left: 1px solid var(--sf-line2); height: 20px; }
.gh-panel { position: absolute; top: 40px; right: 0; left: auto; width: 300px; max-width: calc(100vw - 24px); z-index: 9600;
  margin: 0; padding: 0 0 6px; text-align: left; }
.hp-title { font-weight: 700; font-size: .9375rem; padding: 12px 16px; border-bottom: 1px solid var(--sf-line); color: var(--sf-text); }
.hp-h { font-size: .75rem; font-weight: 700; color: var(--sf-weak); text-transform: uppercase; letter-spacing: .05em; padding: 10px 16px 4px; }
.hp-body { padding: 0 0 6px; }
.hp-body p { padding: 0 16px 6px; margin: 0; color: var(--sf-text); }
.hp-body a { display: block; padding: 0 16px; }
.hp-empty { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; padding: 22px 16px; color: var(--sf-weak); }
.hp-empty b { color: var(--sf-text); }
.hp-user { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--sf-line); }
.hp-user div { display: flex; flex-direction: column; min-width: 0; }
.hp-user div span { color: var(--sf-weak); font-size: .8125rem; overflow-wrap: anywhere; }
.gh-avatar.big { width: 44px; height: 44px; font-size: 16px; flex: none; }
.gh-search.menu-wrap .gh-results { position: absolute; top: 36px; left: 0; right: 0; width: auto; max-width: none; min-width: 0; transform: none; z-index: 9600; margin: 0; padding: 0 0 6px; }
.gh-results .slds-dropdown__item > a { display: flex; align-items: center; gap: 10px; padding: 6px 16px; }
.gr-ic { width: 24px; height: 24px; border-radius: 4px; background: #7f8de1; display: grid; place-items: center; fill: #fff; flex: none; }
.gr-ic .ico { fill: #fff; color: #fff; position: static; }
.gr-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.gr-t b { font-weight: 600; color: var(--sf-text); }
.gr-t span { font-size: .75rem; color: var(--sf-weak); }

/* ---------- Setup Home tiles ---------- */
.home-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.home-tile { padding: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin: 0; }
.home-tile h3 { font-size: 1rem; font-weight: 700; margin: 4px 0 0; }
.home-tile p { color: var(--sf-weak); margin: 0; flex: 1; }
.ht-ic { width: 40px; height: 40px; border-radius: 6px; display: grid; place-items: center; }
.ht-ic .ico { fill: #fff; width: 22px; height: 22px; }
@media (max-width: 1100px) { .home-tiles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Setup page header ---------- */
.sph { background: #fff; border: 1px solid var(--sf-line); border-radius: 4px; padding: 16px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; box-shadow: 0 2px 2px rgba(0,0,0,.05); }
.sph .tile { width: 36px; height: 36px; border-radius: 4px; display: grid; place-items: center; background: #7f8de1; color: #fff; }
.sph .tile .ico { width: 22px; height: 22px; }
.sph .eyebrow { font-size: .75rem; color: var(--sf-weak); text-transform: uppercase; letter-spacing: .04em; }
.sph h1 { font-size: 1.25rem; font-weight: 700; line-height: 1.2; margin: 0; }
.sph .grow { flex: 1; min-width: 160px; }

/* ---------- Classic-style Setup pages (Auth. Providers, Permission Sets) ---------- */
.cx { background: #fff; border: 1px solid var(--sf-line); border-radius: 4px; padding: 16px; margin-bottom: 12px; }
.cx p.intro { color: var(--sf-weak); margin: 0 0 12px; max-width: 70ch; }
.cx-help { float: right; font-size: .75rem; }
.cx-bar { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 0; flex-wrap: wrap; }
.cx-bar.l { justify-content: space-between; }
.cx-title { font-weight: 700; font-size: .9rem; }
.cx table.list { width: 100%; border-collapse: collapse; }
.cx table.list th { background: #f3f3f3; text-align: left; font-weight: 700; font-size: .75rem; color: var(--sf-weak);
  border: 1px solid var(--sf-line); padding: 6px 8px; }
.cx table.list td { border: 1px solid var(--sf-line); padding: 6px 8px; vertical-align: top; }
.cx table.list td.empty { color: var(--sf-weak); font-style: italic; }
.cx-sub { background: #f3f2f2; font-weight: 700; padding: 6px 10px; margin: 16px 0 8px; border-radius: 2px; font-size: .85rem;
  display: flex; justify-content: space-between; }
.cx-sub small { font-weight: 400; color: var(--sf-weak); }
.cx-req-legend { font-weight: 400; font-size: .75rem; color: var(--sf-weak); display: inline-flex; align-items: center; gap: 4px; }
.cx-req-legend i { width: 3px; height: 14px; background: #c23934; display: inline-block; }
.cx-form { display: grid; grid-template-columns: minmax(150px, 30%) minmax(0, 1fr); gap: 8px 16px; align-items: center; padding: 4px 8px; }
.cx-form > label, .cx-form > .lab { text-align: right; color: var(--sf-weak); font-weight: 700; font-size: .75rem; }
.cx-form .fld { display: flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap; }
.cx-form .fld input[type=text], .cx-form .fld select, .cx-form .fld textarea { height: 28px; border: 1px solid var(--sf-line2); border-radius: 4px;
  padding: 0 8px; font: inherit; width: 100%; max-width: 420px; background: #fff; color: var(--sf-text); }
.cx-form .fld textarea { height: 56px; padding: 6px 8px; }
.cx-form .fld input:focus, .cx-form .fld select:focus { outline: 0; border-color: #1b96ff; box-shadow: 0 0 3px #0176d3; }
.cx-form .req { border-left: 3px solid #c23934; padding-left: 3px; display: flex; flex: 1; max-width: 424px; min-width: 0; }
.cx-form .note { font-size: .75rem; color: var(--sf-weak); }
.cx-form .err { flex-basis: 100%; color: #ba0517; font-size: .75rem; }
.cx-dl { display: grid; grid-template-columns: minmax(150px, 30%) minmax(0, 1fr); gap: 0; }
.cx-dl > div { padding: 6px 8px; border-bottom: 1px solid #f0f0f0; min-width: 0; overflow-wrap: anywhere; }
.cx-dl > .k { text-align: right; color: var(--sf-weak); font-weight: 700; font-size: .75rem; }
.cx-dl .copyrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cx-links { columns: 2; column-gap: 32px; padding: 4px 8px; }
.cx-links a { display: block; padding: 3px 0; break-inside: avoid; }
.cx-links .d { display: block; color: var(--sf-weak); font-size: .75rem; margin: -2px 0 6px; }

/* Dueling list */
.duel { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px; }
.duel .col { display: flex; flex-direction: column; gap: 4px; }
.duel .col b { font-size: .75rem; color: var(--sf-weak); }
.duel .box { width: 280px; max-width: 100%; height: 140px; border: 1px solid var(--sf-line2); border-radius: 4px; overflow: auto; background: #fff; }
.duel .opt { padding: 4px 8px; cursor: pointer; }
.duel .opt.sel { background: #0176d3; color: #fff; }
.duel .mid { display: flex; flex-direction: column; gap: 6px; align-items: center; font-size: .75rem; color: var(--sf-weak); }

/* ---------- Lightning cards (Named Credentials pages) ---------- */
.lx-card { background: #fff; border: 1px solid var(--sf-line); border-radius: 4px; margin-bottom: 12px; }
.lx-card > header { display: flex; align-items: center; gap: 8px; padding: 12px 16px; flex-wrap: wrap; }
.lx-card > header h2 { font-size: .875rem; font-weight: 700; margin: 0; flex: 1; }
.lx-card .body { padding: 0 16px 16px; }
.lx-table { width: 100%; border-collapse: collapse; }
.lx-table th { text-align: left; font-weight: 700; font-size: .75rem; color: var(--sf-weak); background: #f3f3f3; padding: 8px; border-top: 1px solid var(--sf-line); border-bottom: 1px solid var(--sf-line); white-space: nowrap; }
.lx-table td { padding: 8px; border-bottom: 1px solid var(--sf-line); vertical-align: middle; }
.lx-table td.empty { color: var(--sf-weak); text-align: center; padding: 20px; }
.tblwrap { overflow-x: auto; }
.lx-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; padding: 0 16px 12px; }
.lx-fields > div { border-bottom: 1px solid var(--sf-line); padding: 6px 0; min-width: 0; overflow-wrap: anywhere; }
.lx-fields .k { display: block; font-size: .75rem; color: var(--sf-weak); }
.badge-ok { color: #2e844a; font-weight: 700; display: inline-flex; gap: 4px; align-items: center; }
.badge-no { color: #8c4b02; font-weight: 700; }
.lx-tabs { background: #fff; border: 1px solid var(--sf-line); border-radius: 4px; margin-bottom: 12px; }
.lx-tabs .slds-tabs_default__nav { padding: 0 16px; }
.lx-tabs .tabbody { padding: 12px 16px 16px; }
.lx-tabs .tabtools { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.menu-wrap { position: relative; display: inline-block; }
.menu-wrap .slds-dropdown { right: 0; left: auto; transform: none; min-width: 10rem; }

/* Modal tweaks */
.slds-modal__container { max-width: 720px; width: calc(100% - 32px); margin: 0 auto; padding: 3rem 0; }
.slds-modal__content { max-height: calc(100vh - 220px); overflow-y: auto; }
.mod-sec { font-size: .875rem; font-weight: 700; background: #f3f3f3; padding: 6px 12px; border-radius: 4px; margin: 16px 0 8px; }
.mod-sec:first-child { margin-top: 0; }
.slds-form-element { margin-bottom: 12px; }
.req-star { color: #ba0517; margin-right: 2px; }
.help-ic { color: #747474; display: inline-flex; vertical-align: middle; margin-left: 4px; }

/* Toast */
.toast-wrap { position: fixed; top: 96px; left: 50%; transform: translateX(-50%); z-index: 9000; width: min(560px, calc(100% - 32px)); }
.toast-wrap .slds-notify_toast { min-width: 0; width: 100%; margin: 0; animation: toastIn .35s cubic-bezier(.2,1.4,.4,1); }
@keyframes toastIn { from { transform: translateY(-16px); opacity: 0; } }

.flash-fill { animation: fillFlash .9s ease-out; }
@keyframes fillFlash { 0% { background: #fff1c2; } 100% { background: #fff; } }

/* ---------- Developer Console (look-alike window) ---------- */
.dc-veil { position: fixed; inset: 0; background: rgba(8,20,40,.45); z-index: 8000; display: grid; place-items: center; padding: 16px; }
.dc { width: min(920px, 100%); max-height: calc(100vh - 32px); background: #f4f4f4; border: 1px solid #8a8a8a; border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column; font-family: Arial, Helvetica, sans-serif; font-size: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.dc-title { background: linear-gradient(#e9e9e9, #d4d4d4); padding: 6px 10px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #a5a5a5; font-weight: 700; }
.dc-title .x { margin-left: auto; cursor: pointer; border: 0; background: none; font-size: 16px; line-height: 1; }
.dc-menu { background: #ececec; border-bottom: 1px solid #c4c4c4; padding: 3px 8px; display: flex; gap: 14px; color: #222; flex-wrap: wrap; }
.dc-body { padding: 10px; overflow: auto; display: grid; gap: 10px; }
.dc-dialog { background: #fff; border: 1px solid #9c9c9c; border-radius: 4px; }
.dc-dialog .hd { background: linear-gradient(#f6f6f6, #e3e3e3); padding: 5px 8px; font-weight: 700; border-bottom: 1px solid #c4c4c4; }
.dc-code { font: 12.5px/1.6 "Geist Mono", Consolas, monospace; margin: 0; padding: 8px 10px; background: #fff; color: #1e1e1e; white-space: pre; overflow-x: auto; counter-reset: ln; }
.dc-code .ln { display: block; padding-left: 2.6em; position: relative; }
.dc-code .ln::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; width: 2em; text-align: right; color: #9a9a9a; }
.dc-code .kw { color: #7f0055; font-weight: 700; }
.dc-code .str { color: #2a00ff; }
.dc-code .cmt { color: #3f7f5f; font-style: italic; }
.dc-code .hi { background: #fff5c2; }
.dc-dialog .ft { padding: 6px 8px; display: flex; gap: 8px; justify-content: flex-end; align-items: center; border-top: 1px solid #ddd; flex-wrap: wrap; }
.dc-btn { font: 12px Arial, sans-serif; border: 1px solid #8f8f8f; border-radius: 3px; background: linear-gradient(#fff, #e1e1e1); padding: 3px 12px; cursor: pointer; }
.dc-log { width: 100%; border-collapse: collapse; font: 11.5px/1.45 "Geist Mono", Consolas, monospace; background: #fff; }
.dc-log th { background: #e9e9e9; text-align: left; padding: 3px 6px; border: 1px solid #d0d0d0; font-family: Arial, sans-serif; }
.dc-log td { padding: 3px 6px; border: 1px solid #ececec; vertical-align: top; overflow-wrap: anywhere; }
.dc-log tr.err td { color: #b00020; font-weight: 700; }
.dc-log tr.dbg td { background: #f3f8ff; }
.dc-err { background: #fff; border: 1px solid #c00; color: #222; padding: 8px 10px; border-radius: 4px; }
.dc-err b { color: #c00; }

/* OAuth consent window (fictional SkyShip) */
.consent { width: min(460px, 100%); background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); font-family: Geist, system-ui, sans-serif; color: #10234A; }
.consent .chrome { background: #e8eaed; padding: 8px 10px; display: flex; gap: 8px; align-items: center; }
.consent .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #c7c9cc; display: inline-block; }
.consent .addr { flex: 1; background: #fff; border-radius: 99px; padding: 3px 10px; font: 11.5px "Geist Mono", monospace; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.consent .in { padding: 22px; }
.consent .brand { display: flex; align-items: center; gap: 10px; font: 800 20px Geist, sans-serif; margin-bottom: 14px; }
.consent .brand .dot { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--aqua), var(--peri)); }
.consent ul { padding-left: 18px; margin: 8px 0 16px; }
.consent .who { background: #f1f6ff; border-radius: 10px; padding: 8px 12px; margin-bottom: 14px; font-size: 14px; }
.consent .acts { display: flex; gap: 10px; justify-content: flex-end; }
.consent .acts button { font: 600 15px Geist, sans-serif; border-radius: 999px; padding: 8px 18px; cursor: pointer; border: 2px solid #10234A; }
.consent .allow { background: var(--aqua); color: #10234A; }
.consent .deny { background: #fff; color: #10234A; }
.consent .oops { background: #fdecea; border: 1px solid #c23934; border-radius: 10px; padding: 12px; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Phone and tablet ---------- */
@media (max-width: 1100px) {
  .frame { grid-template-columns: minmax(0, 1fr); }
  #app { padding-bottom: 48vh; }
}
@media (max-width: 760px) {
  .setup { grid-template-columns: minmax(0, 1fr); padding: 8px; }
  .tree { position: static; }
  .tree .tree-list { max-height: 180px; overflow-y: auto; }
  .gh-logo span { display: none; }
  .gh-search { display: none; }
  .ctx .ctx-tab:not(.on) { display: none; }
  .cx-form, .cx-dl { grid-template-columns: minmax(0, 1fr); }
  .cx-form > label, .cx-form > .lab, .cx-dl > .k { text-align: left; }
  .cx-dl > .k { border-bottom: 0; padding-bottom: 0; }
  .cx-links { columns: 1; }
  .lx-fields { grid-template-columns: minmax(0, 1fr); }
  .slds-modal__container { padding: 1rem 0; }
}

@media (min-width: 1101px) {
  .slds-modal, .slds-backdrop, .dc-veil { right: var(--guide-w) !important; }
  .toast-wrap { left: calc(50% - var(--guide-w) / 2); }
}
.gh.menu-open { z-index: 9600; }
[data-coach] { scroll-margin-top: 90px; }
@media (max-width: 1100px) {
  /* On phones the guide is a bottom sheet, so windows sit above it */
  .slds-modal, .slds-backdrop, .dc-veil { bottom: 48vh !important; }
  .coach.min ~ * .slds-modal { bottom: 0 !important; }
  .slds-modal__container { padding: .5rem 0; height: 100%; }
  .slds-modal__content { max-height: none; flex: 1 1 auto; }
  .dc-veil { place-items: start center; padding: 8px; }
  .dc { max-height: 100%; }
  .toast-wrap { top: 8px; }
}
.dc-body > * { min-width: 0; }

/* Mascot logo (Skye, original) */
.gh-logo .mascot { display: inline-flex; width: 36px; height: 36px; }
.gh-logo .mascot svg { width: 36px; height: 36px; display: block; transition: transform .35s cubic-bezier(.2,1.6,.4,1); }
.gh-logo:hover .mascot svg { transform: rotate(-8deg) translateY(-2px); }

/* App Launcher (look-alike) */
.ctx { position: relative; }
.waffle { width: 32px; height: 32px; border: 0; background: transparent; border-radius: 4px; display: grid; place-items: center; cursor: pointer; padding: 0; }
.waffle:hover { background: #f3f3f3; }
.waffle-dots { display: grid; grid-template-columns: repeat(3, 4px); gap: 3px; }
.waffle-dots i { width: 4px; height: 4px; border-radius: 50%; background: #747474; display: block; }
.waffle[aria-expanded="true"] .waffle-dots i { background: var(--sf-brand); }
.al-pop { position: absolute; top: 42px; left: 8px; transform: none; width: 320px; max-width: calc(100vw - 16px); z-index: 9600; padding: 0; animation: alIn .18s ease-out; }
@keyframes alIn { from { opacity: 0; transform: translateY(-6px); } }
.al-head { padding: 10px 12px 4px; font-size: .875rem; }
.al-search { padding: 4px 12px 8px; }
.al-search .slds-input__icon_left { left: 1.25rem; }
.al-list { max-height: 300px; overflow-y: auto; padding-bottom: 4px; }
.al-h { font-size: .75rem; color: var(--sf-weak); text-transform: uppercase; letter-spacing: .04em; padding: 8px 12px 4px; }
.al-row { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: transparent; padding: 6px 12px; text-align: left; cursor: pointer; font: inherit; color: var(--sf-text); }
.al-row:hover, .al-row:focus-visible { background: #f3f3f3; outline: 0; }
.al-tile { width: 28px; height: 28px; border-radius: 4px; color: #fff; font-weight: 700; font-size: 12px; display: inline-grid; place-items: center; flex: none; }
.al-tile.big { width: 48px; height: 48px; font-size: 18px; border-radius: 6px; }
.al-item-ic { width: 28px; height: 28px; display: grid; place-items: center; color: #747474; }
.al-empty { padding: 8px 12px 12px; color: var(--sf-weak); }
.al-foot { border-top: 1px solid var(--sf-line); padding: 6px 12px; }
.al-mhead { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.al-msearch { width: min(420px, 100%); }
.al-sec { font-size: 1rem; font-weight: 700; margin: 4px 0 10px; }
.al-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-bottom: 18px; }
.al-card { display: flex; gap: 12px; align-items: flex-start; text-align: left; border: 1px solid var(--sf-line); border-radius: 6px; background: #fff; padding: 12px; cursor: pointer; font: inherit; color: var(--sf-text); min-width: 0; }
.al-card:hover { border-color: var(--sf-brand); box-shadow: 0 2px 6px rgba(1,118,211,.15); }
.al-ct { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.al-ct span { color: var(--sf-weak); font-size: .75rem; }
.al-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px 16px; }
.setup.app-mode { grid-template-columns: minmax(0, 1fr); }
.setup.app-mode .sph .al-tile { margin-right: 4px; }
@media (min-width: 1101px) { .slds-modal_large .slds-modal__container { max-width: 960px; } }
