/*
 * Shapeways Hub screens.
 * Every colour and font comes from Elementor Site Settings (Global Colors / Global Fonts)
 * through the --e-global-* variables, so the Hub rebrands with the rest of the site.
 */
.swh {
	--swh-yellow: var(--e-global-color-primary, #FFE43B);
	--swh-ink: var(--e-global-color-secondary, #000);
	--swh-text: var(--e-global-color-text, #000);
	--swh-graphite: var(--e-global-color-accent, #33332F);
	--swh-surface: var(--e-global-color-swpaper, #fff);
	--swh-fog: var(--e-global-color-swfog, #F3F3EF);
	--swh-muted: var(--e-global-color-swmuted, #6A6A62);
	--swh-line: var(--e-global-color-swline, #E1E1DA);
	--swh-ysoft: var(--e-global-color-swysoft, #FFF3A6);
	--swh-good: var(--e-global-color-swgood, #16794A);
	--swh-warn: var(--e-global-color-swwarn, #A65800);
	--swh-bad: var(--e-global-color-swbad, #BE3434);
	--swh-head: var(--e-global-typography-secondary-font-family, "Bricolage Grotesque"), system-ui, sans-serif;
	--swh-body: var(--e-global-typography-text-font-family, "Instrument Sans"), system-ui, sans-serif;
	--swh-mono: var(--e-global-typography-swmono-font-family, "JetBrains Mono"), ui-monospace, Consolas, monospace;
	--swh-radius: 14px;
	font-family: var(--swh-body);
	font-size: 15px;
	line-height: 1.5;
	color: var(--swh-text);
	width: 100%;
}
.swh *, .swh *::before, .swh *::after { box-sizing: border-box; }
.swh p { margin: 0; }
.swh a { color: inherit; }
.swh .swh-ic { width: 18px; height: 18px; flex: none; }
.swh-muted { color: var(--swh-muted); }
.swh-ink { color: var(--swh-ink); }
.swh-small { font-size: 13px; }
.swh-mono { font-family: var(--swh-mono); font-size: 12.5px; }
.swh-num, .swh .is-num { font-variant-numeric: tabular-nums; }
.swh .is-nowrap { white-space: nowrap; }
.swh-eyebrow { font-size: 11.5px; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; color: var(--swh-muted); }
.swh-h { font-family: var(--swh-head); font-weight: 700; font-size: 1.15rem; line-height: 1.15; letter-spacing: -.01em; margin: 0; color: var(--swh-ink); text-wrap: balance; }

/* layout */
.swh-grid { display: grid; gap: 16px; }
.swh-grid.is-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.swh-grid.is-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.swh-grid.is-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.swh-grid.is-wide { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.swh-grid.is-main { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.swh-grid.is-tight { gap: 10px; }
.swh-stack { display: flex; flex-direction: column; gap: 16px; }
.swh-stack.is-tight { gap: 12px; }
.swh-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.swh-spread { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.swh-grow { flex: 1; min-width: 0; }
.swh-gap-top { margin-top: 16px; }
.swh-divider { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--swh-line); }

/* cards */
.swh-card { background: var(--swh-surface); border: 1px solid var(--swh-line); border-radius: var(--swh-radius); padding: 18px 20px; min-width: 0; }
.swh-card > .swh-h + *, .swh-card > .swh-spread + * { margin-top: 14px; }
.swh-card.is-callout { background: var(--swh-ysoft); border-color: transparent; }
.swh-card.is-alert { border-color: var(--swh-bad); box-shadow: inset 4px 0 0 var(--swh-bad); }
.swh-card.is-callout, .swh-card.is-alert, .swh-card { display: flex; flex-direction: column; gap: 8px; }
.swh-kpi { font-family: var(--swh-head); font-weight: 800; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -.025em; line-height: 1.05; color: var(--swh-ink); font-variant-numeric: tabular-nums; margin-top: 4px !important; }
.swh-kpi.is-md { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); }
.swh-kpi.is-sm { font-size: 1.25rem; }
.swh-kpi.is-xs { font-size: 1.05rem; margin: 0 !important; }
.swh-kpi small { font-family: var(--swh-body); font-size: .9rem; font-weight: 500; color: var(--swh-muted); letter-spacing: 0; }
.swh-sep { color: var(--swh-muted); font-weight: 500; padding: 0 .2em; }
.swh-note { font-size: 13.5px; color: var(--swh-muted); }

/* buttons */
.swh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; border-radius: 9px; border: 1px solid var(--swh-line); background: var(--swh-surface); color: var(--swh-ink) !important; font-family: var(--swh-body); font-weight: 600; font-size: 14px; line-height: 1.1; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background-color .2s ease, border-color .2s ease, filter .2s ease, box-shadow .2s ease; }
.swh-btn:hover { border-color: var(--swh-ink); }
.swh-btn:active { transform: translateY(1px); }
.swh-btn.is-primary { background: var(--swh-yellow); border-color: var(--swh-yellow); }
.swh-btn.is-primary:hover { filter: brightness(.95); border-color: var(--swh-yellow); }
.swh-btn.is-ink { background: var(--swh-ink); border-color: var(--swh-ink); color: var(--swh-surface) !important; }
.swh-btn.is-ink:hover { background: var(--swh-graphite); border-color: var(--swh-graphite); }
.swh-btn.is-outline { background: transparent; border-color: var(--swh-ink); }
.swh-btn.is-outline:hover { background: var(--swh-ink); color: var(--swh-surface) !important; }
.swh-btn.is-ghost { background: transparent; border-color: transparent; text-decoration: underline !important; text-underline-offset: 3px; }
.swh-btn.is-ghost:hover { transform: none; border-color: transparent; }
.swh-btn.is-ghost-ink { background: transparent; border-color: var(--e-global-color-swlinedk, rgba(255,255,255,.16)); color: var(--e-global-color-swpaper, #fff) !important; }
.swh-btn.is-ghost-ink:hover { border-color: var(--swh-yellow); color: var(--swh-yellow) !important; }
.swh-btn.is-sm { padding: 6px 10px; font-size: 13px; border-radius: 8px; }
.swh-btn.is-block { width: 100%; }
.swh-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.swh-btn.is-busy { opacity: .6; pointer-events: none; }
.swh-link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--swh-ink); font-size: 14px; }
.swh :focus-visible { outline: 3px solid var(--swh-ink); outline-offset: 2px; }

/* reminder actions */
.swh-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.swh-btn.is-wa .swh-ic { color: var(--e-global-color-swwa, #25D366); }
.swh-btn.is-wa:hover { border-color: var(--e-global-color-swwa, #25D366); }

/* chips, tags, bars */
.swh-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 650; white-space: nowrap; background: var(--swh-fog); color: var(--swh-muted); border: 1px solid var(--swh-line); line-height: 1.3; }
.swh-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.swh-chip.is-good { color: var(--swh-good); background: color-mix(in srgb, var(--swh-good) 11%, var(--swh-surface)); border-color: transparent; }
.swh-chip.is-warn { color: var(--swh-warn); background: color-mix(in srgb, var(--swh-warn) 12%, var(--swh-surface)); border-color: transparent; }
.swh-chip.is-bad { color: var(--swh-bad); background: color-mix(in srgb, var(--swh-bad) 11%, var(--swh-surface)); border-color: transparent; }
.swh-chip.is-info { color: var(--swh-ink); background: var(--swh-ysoft); border-color: transparent; }
.swh-tag { display: inline-block; font-family: var(--swh-mono); font-size: 11px; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--swh-line); color: var(--swh-muted); letter-spacing: .02em; vertical-align: middle; }
.swh-tag.is-strong { border-color: var(--swh-ink); color: var(--swh-ink); }
.swh-bar { height: 8px; background: var(--swh-line); border-radius: 99px; overflow: hidden; min-width: 60px; }
.swh-bar > i { display: block; height: 100%; background: var(--swh-ink); border-radius: 99px; transition: width .4s ease; }
.swh-bar.is-over > i { background: var(--swh-bad); }
.swh-prog { display: grid; grid-template-columns: minmax(60px, 1fr) 42px; gap: 10px; align-items: center; }
.swh-prog span { font-size: 13px; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.swh-av { width: 34px; height: 34px; border-radius: 50%; background: var(--swh-yellow); color: var(--swh-ink); display: inline-grid; place-items: center; font-weight: 700; font-size: 12px; flex: none; letter-spacing: .02em; }
.swh-av.is-sm { width: 28px; height: 28px; font-size: 10.5px; border: 2px solid var(--swh-surface); }
.swh-avs { display: flex; }
.swh-avs .swh-av + .swh-av { margin-left: -8px; }
.swh-person { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.swh-t { font-weight: 650; color: var(--swh-ink); }
.swh-s { font-size: 13px; color: var(--swh-muted); }

/* lists */
.swh-list { display: flex; flex-direction: column; }
.swh-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--swh-line); }
.swh-item:first-child { padding-top: 0; }
.swh-item:last-child { border-bottom: 0; padding-bottom: 0; }
.swh-item[hidden] { display: none; }
.swh-ftype { width: 46px; height: 46px; border-radius: 12px; background: var(--swh-fog); border: 1px solid var(--swh-line); display: grid; place-items: center; font-family: var(--swh-mono); font-size: 10.5px; flex: none; color: var(--swh-ink); }
.swh-empty { padding: 22px; text-align: center; color: var(--swh-muted); font-size: 14px; }

/* tables */
.swh-table-wrap { overflow-x: auto; border: 1px solid var(--swh-line); border-radius: var(--swh-radius); background: var(--swh-surface); }
.swh-card .swh-table-wrap { border-radius: 12px; }
.swh-table-wrap.is-scroll { max-height: 560px; overflow-y: auto; }
.swh-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; border: 0; }
.swh-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--swh-muted); font-weight: 700; padding: 10px 14px; background: var(--swh-fog); border: 0; border-bottom: 1px solid var(--swh-line); white-space: nowrap; position: sticky; top: 0; }
.swh-table td { padding: 11px 14px; border: 0; border-bottom: 1px solid var(--swh-line); vertical-align: middle; background: transparent; }
.swh-table tbody tr:last-child td { border-bottom: 0; }
.swh-table tbody tr:hover td { background: color-mix(in srgb, var(--swh-fog) 55%, transparent); }
.swh-table .is-num { text-align: right; white-space: nowrap; }
.swh-table .is-wide { min-width: 160px; }
.swh-table tr[hidden] { display: none; }

/* forms */
.swh-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.swh-field.is-full { grid-column: 1 / -1; }
.swh-field.is-end { justify-content: flex-end; }
.swh-field label { font-size: 13px; font-weight: 650; color: var(--swh-ink); }
.swh-hint { font-size: 12.5px; color: var(--swh-muted); }
.swh input[type=text], .swh input[type=email], .swh input[type=password], .swh input[type=number], .swh input[type=url], .swh input[type=tel], .swh input[type=date], .swh input[type=search], .swh input[type=file], .swh select, .swh textarea,
.swh-modal input, .swh-modal select {
	width: 100%; padding: 9px 11px; border: 1px solid var(--swh-line); border-radius: 9px; background: var(--swh-surface); color: var(--swh-ink); font-family: var(--swh-body); font-size: 14.5px; line-height: 1.3; box-shadow: none; min-height: 40px; transition: border-color .2s ease;
}
.swh input:focus, .swh select:focus, .swh textarea:focus, .swh-modal input:focus { outline: none; border-color: var(--swh-ink); box-shadow: 0 0 0 2px var(--swh-ysoft); }
.swh textarea { min-height: 96px; resize: vertical; }
.swh input.swh-mini { width: 78px; min-height: 36px; padding: 6px 8px; text-align: right; font-size: 14px; }
.swh input.swh-mini.is-saved { border-color: var(--swh-good); }
.swh-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.swh-check { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--swh-ink); }
.swh input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--swh-ink); flex: none; margin: 0; cursor: pointer; }
.swh-error { color: var(--swh-bad); font-size: 14px; font-weight: 600; }
.swh-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; border: 1px solid var(--swh-line); border-radius: 10px; padding: 3px; background: var(--swh-surface); margin-bottom: 14px; }
.swh-seg button { border: 0; background: transparent; padding: 5px 12px; border-radius: 7px; cursor: pointer; font-family: var(--swh-body); font-size: 13.5px; font-weight: 650; color: var(--swh-muted); transition: background-color .2s ease, color .2s ease; }
.swh-seg button:hover { color: var(--swh-ink); background: var(--swh-fog); }
.swh-seg button[aria-pressed=true] { background: var(--swh-ink); color: var(--swh-surface); }
.swh-filters { margin-bottom: 4px; }
.swh-filters .swh-seg { margin-bottom: 0; }
.swh-search { max-width: 260px; }

/* manage: the office's front-end admin */
.swh-mbar { margin-bottom: 16px; }
.swh-mbar .swh-seg { margin-bottom: 0; }
.swh-mbar .swh-search { width: 240px; }
.swh select.swh-mselect { width: auto; min-width: 200px; }
.swh-mform { margin-bottom: 18px; gap: 16px; border-color: var(--swh-ink); box-shadow: 0 18px 50px rgba(0,0,0,.08); }
.swh-mform[hidden], .swh [data-only][hidden], .swh [data-new][hidden] { display: none; }
.swh-mform .swh-row { padding-top: 4px; }
.swh fieldset.swh-field { border: 0; padding: 0; margin: 0; }
.swh fieldset.swh-field legend { font-size: 13px; font-weight: 650; color: var(--swh-ink); padding: 0; margin-bottom: 8px; }
.swh-checks { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.swh-btn.is-danger { color: var(--swh-bad) !important; }
.swh-btn.is-danger:hover { border-color: var(--swh-bad); }
.swh-btn.is-danger.is-armed { background: var(--swh-bad); border-color: var(--swh-bad); color: var(--swh-surface) !important; }
.swh-clip { max-width: 46ch; }
.swh .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.swh-mrow-hl td { background: var(--swh-ysoft) !important; }

/* sign-in, account, view-as */
.swh-signin-name { font-family: var(--swh-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--swh-ink); line-height: 1.2; }

/* =========================================================
 * Sign-in page: split screen, "who are you" switch, slick form.
 * Role content is native Elementor (#signin-role-*, #signin-hint-*).
 * ========================================================= */
.swh-signin { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.swh-signin > .swh-eyebrow { margin-bottom: -8px; }
.swh-signin-who .swh-eyebrow { margin-bottom: 4px; }
.swh-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--swh-surface); border: 1px solid var(--swh-line); border-radius: 14px; }
.swh-roles button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 74px; padding: 12px 4px 10px; border: 0; background: transparent; border-radius: 10px; font-family: var(--swh-body); font-size: 13px; font-weight: 650; line-height: 1.15; text-align: center; color: var(--swh-muted); cursor: pointer; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease; }
.swh-roles button:hover { color: var(--swh-ink); background: var(--swh-fog); }
.swh-roles button[aria-checked=true] { background: var(--e-global-color-swrail, #121211); color: var(--swh-surface); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.swh-roles button[aria-checked=true] .swh-ic { color: var(--swh-yellow); }
.swh-roles .swh-ic { width: 21px; height: 21px; transition: color .25s ease; }
.swh-signin .swh-field label { font-size: 13.5px; }
.swh-signin input[type=text], .swh-signin input[type=password] { min-height: 50px; padding: 12px 14px; border-radius: 11px; font-size: 15.5px; background: var(--swh-surface); }
.swh-signin input:focus { box-shadow: 0 0 0 3px var(--swh-ysoft); }
.swh-signin .swh-spread { font-size: 14px; }
.swh-signin .swh-link { font-size: 14px; }
.swh-btn.is-lg { min-height: 52px; font-size: 15.5px; border-radius: 11px; gap: 10px; }
.swh-btn.is-lg .swh-ic { transition: transform .25s ease; }
.swh-btn.is-lg:hover .swh-ic { transform: translateX(3px); }
.swh-signin.is-in { gap: 16px; }
.swh-signin-who { display: flex; gap: 14px; align-items: center; padding: 16px; background: var(--swh-surface); border: 1px solid var(--swh-line); border-radius: 14px; }
.swh-signin-who .swh-av { width: 46px; height: 46px; font-size: 15px; }

/* role content: one shows at a time (the editor shows all of them) */
body:not(.elementor-editor-active) #signin-role-teacher, body:not(.elementor-editor-active) #signin-role-staff, body:not(.elementor-editor-active) #signin-role-office,
body:not(.elementor-editor-active) #signin-hint-teacher, body:not(.elementor-editor-active) #signin-hint-staff, body:not(.elementor-editor-active) #signin-hint-office { display: none; }
#signin-roles > .swh-role-on { display: flex !important; }
.elementor-widget.swh-role-on { display: block !important; }
.swh-role-off { display: none !important; }
.swh-role-in { animation: swh-role-in .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes swh-role-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
#signin-brand .swh-clocks { color: var(--e-global-color-swonink, rgba(255,255,255,.75)); }
#signin-brand .swh-clocks b { color: var(--e-global-color-swpaper, #fff); }
@media (min-width: 1025px) { #signin-brand { flex: 0 0 56% !important; max-width: 56%; } #signin-panel { flex: 1 1 0% !important; width: auto !important; min-width: 0; } }
@media (max-width: 1024px) { #sign-in, #signin-brand { min-height: 0 !important; } #signin-panel { width: 100% !important; } }
/* enquiry page: the brand panel stays in view while the form steps change height */
@media (min-width: 1025px) { #enquire > #signin-brand { position: sticky; top: 0; align-self: flex-start; height: 100vh; } }
@media (max-width: 1024px) { #enquire { min-height: 0 !important; } }
@media (max-width: 420px) { .swh-roles button { min-height: 66px; font-size: 12px; } .swh-roles .swh-ic { width: 19px; height: 19px; } }
.swh-account { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.swh-account-txt { display: flex; flex-direction: column; line-height: 1.2; color: var(--e-global-color-swpaper, #fff); }
.swh-account-txt b { font-weight: 650; font-size: 14px; }
.swh-account-txt small { font-size: 12px; color: var(--e-global-color-swonink, rgba(255,255,255,.75)); }
.swh-account .swh-btn span { display: inline; }
.swh-viewas { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--swh-ysoft); color: var(--swh-ink); border-radius: 10px; padding: 5px 6px 5px 12px; font-size: 13.5px; font-weight: 600; }
.swh-viewas select { width: auto !important; min-height: 34px !important; padding: 4px 30px 4px 10px !important; border-radius: 8px !important; font-size: 14px !important; }

/* courses */
.swh-mods { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 4px; counter-reset: m; }
.swh-mods li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 10px; counter-increment: m; font-size: 14px; }
.swh-mods li::before { content: counter(m); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; border: 1.5px solid var(--swh-line); color: var(--swh-muted); }
.swh-mods li.is-done::before { content: "✓"; background: var(--swh-ink); border-color: var(--swh-ink); color: var(--swh-surface); }
.swh-mods li.is-done span { color: var(--swh-muted); }
.swh-mods li.is-now { background: var(--swh-ysoft); }
.swh-mods li.is-now::before { border-color: var(--swh-ink); color: var(--swh-ink); }

/* projects */
.swh-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.swh-step { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.swh-step i { height: 6px; border-radius: 3px; background: var(--swh-line); }
.swh-step.is-done i { background: var(--swh-ink); }
.swh-step.is-now i { background: var(--swh-yellow); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--swh-ink) 25%, transparent); }
.swh-step span { font-size: 11px; color: var(--swh-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swh-step.is-now span { color: var(--swh-ink); font-weight: 700; }
.swh-pcard { gap: 16px !important; text-decoration: none !important; color: inherit; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.swh-pcard:hover { transform: translateY(-4px); border-color: var(--swh-ink); box-shadow: 0 18px 40px color-mix(in srgb, var(--swh-ink) 12%, transparent); }
.swh-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: 13px; }
.swh-facts.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.swh-facts span { color: var(--swh-muted); display: block; }
.swh-facts b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--swh-ink); }
.swh-facts small { color: var(--swh-muted); font-weight: 500; }
.swh-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none !important; margin-bottom: 14px; color: var(--swh-ink); }
.swh-back:hover { text-decoration: underline !important; }
.swh-phead { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; }
.swh h1.swh-ptitle, .swh-ptitle { font-family: var(--swh-head); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); letter-spacing: -.025em; line-height: 1.05; margin: 4px 0 0; color: var(--swh-ink); }
.swh-tasks { display: flex; flex-direction: column; gap: 2px; }
.swh-task { display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; border-radius: 10px; transition: background-color .2s ease; }
.swh-task:hover { background: var(--swh-fog); }
.swh-task label { flex: 1; min-width: 0; cursor: pointer; display: flex; flex-direction: column; }
.swh-tt { color: var(--swh-ink); }
.swh-task.is-done .swh-tt { text-decoration: line-through; color: var(--swh-muted); }
.swh-stage-h { display: flex; align-items: center; gap: 8px; margin: 14px 0 4px !important; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--swh-muted); }
.swh-stage-h:first-child { margin-top: 0 !important; }
.swh-feed { display: flex; flex-direction: column; gap: 16px; }
.swh-post { display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.swh-blocker { margin-top: 6px !important; font-size: 13.5px; background: color-mix(in srgb, var(--swh-warn) 12%, var(--swh-surface)); border-radius: 8px; padding: 7px 10px; }
.swh-blocker b { color: var(--swh-warn); }

/* clock */
.swh-clock { font-family: var(--swh-mono); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; color: var(--swh-ink); font-variant-numeric: tabular-nums; }
.swh-live { display: flex; gap: 12px; align-items: center; background: var(--swh-ysoft); border-radius: 12px; padding: 12px 14px; }
.swh-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--swh-bad); flex: none; animation: swh-pulse 1.4s ease-in-out infinite; }
@keyframes swh-pulse { 50% { opacity: .3; } }

/* payment dialog and toast (rendered outside .swh, so tokens repeat here) */
.swh-modal-wrap { --swh-yellow: var(--e-global-color-primary, #FFE43B); --swh-ink: var(--e-global-color-secondary, #000); --swh-surface: var(--e-global-color-swpaper, #fff); --swh-line: var(--e-global-color-swline, #E1E1DA); --swh-muted: var(--e-global-color-swmuted, #6A6A62); --swh-ysoft: var(--e-global-color-swysoft, #FFF3A6); --swh-fog: var(--e-global-color-swfog, #F3F3EF); --swh-body: var(--e-global-typography-text-font-family, "Instrument Sans"), system-ui, sans-serif; --swh-head: var(--e-global-typography-secondary-font-family, "Bricolage Grotesque"), system-ui, sans-serif; --swh-radius: 14px;
	position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.55); display: grid; place-items: center; padding: 16px; font-family: var(--swh-body); color: var(--swh-ink); }
.swh-modal-wrap[hidden] { display: none; }
.swh-modal { background: var(--swh-surface); border-radius: 16px; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 26px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.swh-modal h3 { font-family: var(--swh-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.swh-modal p { margin: 0; }
.swh-modal .swh-field label { font-size: 13px; font-weight: 650; }
.swh-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.swh-method { border: 1.5px solid var(--swh-line); border-radius: 12px; padding: 11px 12px; text-align: left; background: var(--swh-surface); cursor: pointer; font-family: inherit; color: var(--swh-ink); transition: border-color .2s ease, background-color .2s ease; }
.swh-method:hover { border-color: var(--swh-ink); }
.swh-method b { display: block; font-size: 14.5px; }
.swh-method span { font-size: 12px; color: var(--swh-muted); }
.swh-method[aria-pressed=true] { border-color: var(--swh-ink); background: var(--swh-ysoft); box-shadow: inset 0 0 0 1px var(--swh-ink); }
.swh-modal .swh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--swh-yellow); background: var(--swh-yellow); color: var(--swh-ink); font-weight: 650; font-size: 15px; cursor: pointer; font-family: inherit; }
.swh-modal .swh-btn.is-quiet { background: transparent; border-color: transparent; padding: 6px; }
.swh-modal .swh-note { font-size: 12.5px; color: var(--swh-muted); text-align: center; }
.swh-bankbox { background: var(--swh-fog); border-radius: 12px; padding: 12px 14px; font-size: 14px; white-space: pre-line; }
.swh-spinner { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--swh-line); border-top-color: var(--swh-ink); animation: swh-spin .8s linear infinite; margin: 0 auto; }
@keyframes swh-spin { to { transform: rotate(360deg); } }
.swh-done-mark { width: 54px; height: 54px; border-radius: 50%; background: var(--swh-yellow); display: grid; place-items: center; font-size: 26px; margin: 0 auto; }
.swh-toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--e-global-color-secondary, #000); color: var(--e-global-color-swpaper, #fff); padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; z-index: 100000; box-shadow: 0 18px 40px rgba(0,0,0,.3); max-width: calc(100% - 32px); font-family: var(--e-global-typography-text-font-family, "Instrument Sans"), system-ui, sans-serif; }
.swh-toast.is-error { background: var(--e-global-color-swbad, #BE3434); }

/* =========================================================
 * App shell for Hub pages: black side rail + working canvas,
 * as in the prototype. The rail and main area are Elementor
 * containers, targeted by their element IDs.
 * ========================================================= */
body.swh-app { background: var(--e-global-color-swfog, #F3F3EF); }
#hub-shell { min-height: 100vh; }
body.admin-bar #hub-shell { min-height: calc(100vh - 32px); }
#hub-rail { position: sticky; top: 0; height: 100vh; overflow-y: auto; align-self: flex-start; z-index: 30; scrollbar-width: thin; }
body.admin-bar #hub-rail { top: 32px; height: calc(100vh - 32px); }
#hub-main { min-width: 0; }
@media (min-width: 1025px) { #hub-rail { flex: 0 0 260px !important; } #hub-main { flex: 1 1 0% !important; width: auto !important; } }
.swh-table .swh-actions { flex-wrap: nowrap; }
#hub-rail-foot { margin-top: auto; }
.swh-view-off { display: none !important; }

/* page sections in the rail (native Icon List) */
#hub-sections .elementor-icon-list-items { display: flex; flex-direction: column; gap: 2px; }
#hub-sections .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
#hub-sections .elementor-icon-list-item > a { display: flex; align-items: center; width: 100%; padding: 9px 12px; border-radius: 8px; transition: background-color .2s ease; }
#hub-sections .elementor-icon-list-item > a:hover { background: var(--e-global-color-swrailln, #2A2A26); }
#hub-sections .elementor-icon-list-item > a[aria-current] { background: var(--e-global-color-primary, #FFE43B); }
#hub-sections a[aria-current] .elementor-icon-list-text { color: var(--e-global-color-secondary, #000) !important; font-weight: 700; }
#hub-sections a[aria-current] .elementor-icon-list-icon i { color: var(--e-global-color-secondary, #000) !important; }
#hub-sections a[aria-current] .elementor-icon-list-icon svg { fill: var(--e-global-color-secondary, #000) !important; }

/* other Hub pages (plugin widget, follows the Hub menu) */
.swh-hub-nav { position: relative; }
.swh-pnav { display: flex; flex-direction: column; gap: 2px; }
.swh-pnav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 8px; color: var(--e-global-color-swonink, rgba(255,255,255,.78)) !important; text-decoration: none !important; font-family: var(--e-global-typography-swnav-font-family, var(--swh-body)); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.swh-pnav a:hover { background: var(--e-global-color-swrailln, #2A2A26); color: var(--e-global-color-swpaper, #fff) !important; }
.swh-pnav a[aria-current] { color: var(--e-global-color-swpaper, #fff) !important; box-shadow: inset 3px 0 0 var(--e-global-color-primary, #FFE43B); font-weight: 650; }
.swh-pnav .swh-ic { width: 17px; height: 17px; }
.swh-pnav-btn { display: none; }

/* account at the foot of the rail */
#hub-rail .swh-account { justify-content: flex-start; width: 100%; }
#hub-rail .swh-account .swh-btn { margin-left: auto; padding: 7px 8px; }
#hub-rail .swh-account .swh-btn span { display: none; }

/* top of the working area */
.swh-clocks { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--swh-mono); font-size: 12.5px; color: var(--swh-muted); white-space: nowrap; }
.swh-clocks b { color: var(--swh-ink); font-weight: 500; }

@media (max-width: 1024px) {
	#hub-rail { position: sticky; top: 0; height: auto; overflow: visible; flex-direction: row !important; flex-wrap: wrap !important; align-items: center !important; }
	body.admin-bar #hub-rail { top: 32px; height: auto; }
	#hub-rail-brand { order: 1; width: auto !important; flex: 0 0 auto !important; }
	#hub-pages { order: 2; margin-left: auto !important; width: auto !important; }
	#hub-rail-foot { order: 3; margin: 0 !important; width: auto !important; padding: 0 !important; border: 0 !important; }
	#hub-sections { order: 4; width: 100% !important; margin: 6px 0 0 !important; }
	#hub-page-name, #hub-pages-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0 !important; }
	#hub-sections .elementor-icon-list-items { flex-direction: row; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
	#hub-sections .elementor-icon-list-items::-webkit-scrollbar { display: none; }
	#hub-sections .elementor-icon-list-item > a { padding: 7px 11px; white-space: nowrap; }
	#hub-sections .elementor-icon-list-icon { display: none !important; }
	#hub-rail .swh-account-txt { display: none; }
	.swh-pnav-btn { display: inline-flex; align-items: center; gap: 7px; background: transparent; border: 1px solid var(--e-global-color-swrailln, #2A2A26); color: var(--e-global-color-swpaper, #fff); border-radius: 8px; padding: 7px 10px; font: 600 13.5px/1 var(--swh-body); cursor: pointer; }
	.swh-pnav-btn .swh-ic { width: 16px; height: 16px; }
	.swh-pnav-btn:hover, .swh-pnav-btn[aria-expanded=true] { border-color: var(--e-global-color-primary, #FFE43B); color: var(--e-global-color-primary, #FFE43B); }
	.swh-pnav { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--e-global-color-swrail, #121211); border: 1px solid var(--e-global-color-swrailln, #2A2A26); border-radius: 12px; padding: 6px; box-shadow: 0 18px 48px rgba(0,0,0,.35); z-index: 40; }
	.swh-hub-nav.is-open .swh-pnav { display: flex; }
}
@media (max-width: 782px) { body.admin-bar #hub-rail { top: 46px; } }
@media (max-width: 600px) { body.admin-bar #hub-rail { top: 0; } }

/* =========================================================
 * Course enquiry form (public landing page from ads)
 * ========================================================= */
.swh-eq { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.swh-eq-progress { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; font-weight: 650; color: var(--swh-muted); text-transform: uppercase; letter-spacing: .08em; }
.swh [hidden], .swh-eq [hidden], .swh-drawer [hidden] { display: none !important; }
.swh-eq-progress[hidden] { display: none; }
.swh-eq-bar { height: 6px; border-radius: 99px; background: var(--swh-line); overflow: hidden; }
.swh-eq-bar > i { display: block; height: 100%; width: 33.333%; background: var(--swh-ink); border-radius: 99px; transition: width .45s cubic-bezier(.2,.7,.2,1); }
.swh-eq-step { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; animation: swh-role-in .45s cubic-bezier(.2,.7,.2,1) both; }
.swh-eq-step[hidden] { display: none; }
.swh-eq-title { font-family: var(--swh-head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.15; color: var(--swh-ink); margin: 0; padding: 0; }
.swh-eq fieldset.swh-field, .swh-eq .swh-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.swh-eq legend:not(.swh-eq-title) { font-size: 13.5px; font-weight: 650; color: var(--swh-ink); padding: 0; margin-bottom: 8px; }
.swh-eq .swh-field label { font-size: 13.5px; }
.swh-eq input[type=text], .swh-eq input:not([type]), .swh-eq input[type=tel], .swh-eq input[type=email], .swh-eq select, .swh-eq textarea { min-height: 50px; padding: 12px 14px; border-radius: 11px; font-size: 15.5px; background: var(--swh-surface); }
.swh-eq textarea { min-height: 90px; }
.swh-opt-tag { font-weight: 500; color: var(--swh-muted); font-size: 12px; }
.swh-eq-note { font-size: 14px; color: var(--swh-muted); padding: 12px 14px; background: var(--swh-surface); border: 1px dashed var(--swh-line); border-radius: 11px; }
.swh-opts { display: grid; gap: 8px; }
.swh-opts.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.swh-opts.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.swh-opt { position: relative; display: block; cursor: pointer; }
.swh-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swh-opt > span { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 52px; padding: 11px 14px; background: var(--swh-surface); border: 1.5px solid var(--swh-line); border-radius: 11px; font-size: 14.5px; color: var(--swh-ink); line-height: 1.3; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.swh-opt > span b { font-weight: 650; }
.swh-opt > span small { font-size: 12.5px; color: var(--swh-muted); }
.swh-opt.is-icon > span { align-items: center; text-align: center; gap: 6px; padding: 12px 6px; }
.swh-opt.is-icon .swh-ic { width: 20px; height: 20px; }
.swh-opt:hover > span { border-color: var(--swh-ink); }
.swh-opt input:focus-visible + span { outline: 3px solid var(--swh-ysoft); outline-offset: 1px; }
.swh-opt input:checked + span { border-color: var(--swh-ink); background: var(--swh-ysoft); box-shadow: inset 0 0 0 1px var(--swh-ink); }
.swh-opt input:checked + span small { color: var(--swh-ink); }
.swh-opts.is-list .swh-opt > span { min-height: 46px; padding-left: 42px; position: relative; }
.swh-opts.is-list .swh-opt > span::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 1.5px solid var(--swh-line); background: var(--swh-surface); }
.swh-opts.is-list .swh-opt input:checked + span::before { border: 5px solid var(--swh-ink); }
.swh-eq .is-invalid input, .swh-eq .is-invalid select, .swh-eq .is-invalid .swh-opt > span { border-color: var(--swh-bad) !important; }
.swh-eq .is-invalid > legend, .swh-eq .is-invalid > label, .swh-consent.is-invalid { color: var(--swh-bad) !important; }
.swh-consent { align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--swh-muted); }
.swh-consent input { margin-top: 2px !important; }
.swh-consent a { color: var(--swh-ink); }
.swh-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.swh-eq-nav { display: flex; gap: 10px; align-items: center; padding-top: 4px; }
.swh-eq-nav .swh-btn.is-ghost { text-decoration: none !important; padding-left: 4px; padding-right: 12px; }
.swh-eq-done { display: flex; flex-direction: column; gap: 14px; text-align: center; padding: 28px 8px; outline: none; }
.swh-eq-done[hidden] { display: none; }
.swh-eq-done .swh-done-mark { display: grid; place-items: center; }
.swh-eq-done .swh-done-mark .swh-ic { width: 28px; height: 28px; }
.swh-eq-done p { color: var(--swh-muted); font-size: 15.5px; }
.swh-btn.is-wa-solid { background: var(--e-global-color-swwa, #25D366); border-color: var(--e-global-color-swwa, #25D366); color: #062b16 !important; }
.swh-btn.is-wa-solid:hover { filter: brightness(.95); border-color: var(--e-global-color-swwa, #25D366); }
@media (max-width: 420px) { .swh-opts.is-3 .swh-opt > span { font-size: 13px; } }

/* =========================================================
 * Enquiries (office): list, side panel, history
 * ========================================================= */
.swh-chip.is-ink { background: var(--swh-ink); color: var(--swh-surface); border-color: transparent; }
.swh-chip.is-ink::before { background: var(--swh-yellow); }
.swh-table.is-click tbody tr[data-swh-lead] { cursor: pointer; }
.swh-late { color: var(--swh-bad); font-weight: 650; }
.swh-warn-text { color: var(--swh-warn); font-weight: 600; }
.swh-lead-line { cursor: pointer; border-radius: 10px; margin: 0 -8px; padding-left: 8px !important; padding-right: 8px !important; transition: background-color .2s ease; }
.swh-lead-line:hover, .swh-lead-line:focus-visible { background: var(--swh-fog); }
.swh-code { display: inline-block; font-family: var(--swh-mono); font-size: 12.5px; background: var(--swh-fog); border: 1px solid var(--swh-line); border-radius: 7px; padding: 4px 8px; word-break: break-all; color: var(--swh-ink); }
.swh-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.swh-drawer-wrap { position: fixed; inset: 0; z-index: 99990; background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.swh-drawer-wrap.is-open { opacity: 1; visibility: visible; }
.swh-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(580px, 100%); background: var(--swh-fog); overflow-y: auto; transform: translateX(100%); transition: transform .32s cubic-bezier(.2,.7,.2,1); box-shadow: -20px 0 60px rgba(0,0,0,.25); overscroll-behavior: contain; }
.swh-drawer-wrap.is-open .swh-drawer { transform: none; }
body.admin-bar .swh-drawer { top: 32px; }
@media (max-width: 782px) { body.admin-bar .swh-drawer { top: 46px; } }
.swh-drawer-head { position: sticky; top: 0; z-index: 2; display: flex; gap: 12px; align-items: center; padding: 18px 20px; background: var(--swh-surface); border-bottom: 1px solid var(--swh-line); }
.swh-drawer-head .swh-av { width: 44px; height: 44px; font-size: 14px; }
.swh-drawer-title { font-family: var(--swh-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 4px; color: var(--swh-ink); }
.swh-drawer-head .swh-s { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.swh-drawer .swh-btn.is-quiet { border-color: transparent; background: transparent; }
.swh-drawer-body { display: flex; flex-direction: column; gap: 14px; padding: 16px 20px 32px; }
.swh-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.swh-quick .swh-btn { flex: 1 1 120px; min-height: 44px; }
.swh-drawer-sec { background: var(--swh-surface); border: 1px solid var(--swh-line); border-radius: var(--swh-radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.swh-dl { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 8px 14px; margin: 0; font-size: 14px; }
.swh-dl dt { color: var(--swh-muted); }
.swh-dl dd { margin: 0; color: var(--swh-ink); font-weight: 550; word-break: break-word; }
.swh-quote { margin: 4px 0 0; padding: 10px 14px; border-left: 3px solid var(--swh-yellow); background: var(--swh-fog); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--swh-ink); }
.swh-answers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.swh-answers li { display: flex; flex-direction: column; gap: 1px; }
.swh-answers span { color: var(--swh-muted); }
.swh-answers b { color: var(--swh-ink); font-weight: 600; }
.swh-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.swh-timeline li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; position: relative; font-size: 14px; }
.swh-timeline li::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: -14px; width: 2px; background: var(--swh-line); }
.swh-timeline li:last-child::before { display: none; }
.swh-tl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--swh-surface); border: 3px solid var(--swh-muted); margin-top: 3px; position: relative; z-index: 1; }
.swh-tl-dot.is-whatsapp { border-color: var(--e-global-color-swwa, #25D366); }
.swh-tl-dot.is-call, .swh-tl-dot.is-meeting { border-color: var(--swh-ink); }
.swh-tl-dot.is-email { border-color: var(--swh-warn); }
.swh-tl-dot.is-form { border-color: var(--swh-yellow); }
.swh-timeline p + p { margin-top: 3px; }
.swh-drawer-foot { display: flex; justify-content: flex-end; }
@media (max-width: 600px) { .swh-drawer-body { padding: 14px 14px 28px; } .swh-dl { grid-template-columns: 1fr; gap: 2px 0; } .swh-dl dd { margin-bottom: 6px; } }

@media (max-width: 1024px) { .swh-grid.is-main { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
	.swh-card { padding: 18px; }
	.swh-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.swh-methods { grid-template-columns: minmax(0, 1fr); }
	.swh-account-txt, .swh-account .swh-btn span { display: none; }
	.swh-search { max-width: none; }
	.swh-mbar .swh-search, .swh select.swh-mselect { width: 100%; }
	.swh-mbar > .swh-row { width: 100%; }
	.swh-step span { display: none; }
	.swh-step.is-now span { display: block; position: static; }
}
@media (prefers-reduced-motion: reduce) { .swh *, .swh-modal-wrap * { animation: none !important; transition: none !important; } }

/* =========================================================
 * Phone app: install offer, iPhone guide, installed-app tweaks
 * ========================================================= */
.swh-install { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px; padding: 12px 14px; background: transparent; border: 1.5px dashed var(--swh-line); border-radius: 12px; color: var(--swh-ink); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.swh-install[hidden] { display: none; }
.swh-install:hover, .swh-install:focus-visible { border-color: var(--swh-ink); background: var(--swh-ysoft); }
.swh-install .swh-ic { width: 18px; height: 18px; }
.swh-appbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 99980; display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--swh-surface); border: 1px solid var(--swh-line); border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.28); transform: translateY(calc(100% + 40px)); opacity: 0; transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .3s ease; }
.swh-appbar.is-open { transform: none; opacity: 1; }
.swh-appbar img { width: 44px; height: 44px; border-radius: 11px; flex: 0 0 auto; }
.swh-appbar .swh-t { font-weight: 700; font-size: 14.5px; line-height: 1.25; margin: 0; color: var(--swh-ink); }
.swh-appbar .swh-s { font-size: 12.5px; line-height: 1.35; margin: 2px 0 0; color: var(--swh-muted); }
.swh-appbar-btns { display: flex; flex-direction: column; gap: 4px; flex: 0 0 auto; }
.swh-appbar .swh-btn.is-quiet { border-color: transparent; background: transparent; color: var(--swh-muted); }
.swh-appsheet-wrap { position: fixed; inset: 0; z-index: 99995; background: rgba(0,0,0,.5); display: flex; align-items: flex-end; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.swh-appsheet-wrap.is-open { opacity: 1; visibility: visible; }
.swh-appsheet { width: min(480px, 100%); background: var(--swh-surface); border-radius: 22px 22px 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 18px; transform: translateY(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.swh-appsheet-wrap.is-open .swh-appsheet { transform: none; }
.swh-appsheet-head { display: flex; gap: 12px; align-items: center; }
.swh-appsheet-head img { border-radius: 12px; }
.swh-appsheet-head .swh-t { font-family: var(--swh-head); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; margin: 0; color: var(--swh-ink); }
.swh-appsheet-head .swh-s { margin: 2px 0 0; color: var(--swh-muted); font-size: 14px; }
.swh-appsteps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.swh-appsteps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--swh-ink); }
.swh-appsteps li > span { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--swh-yellow); color: #111; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.swh-appsteps p { margin: 3px 0 0; }
.swh-appsteps svg { vertical-align: -3px; color: #0a84ff; }
/* inside the installed app the browser's own "add to home screen" bits are not needed */
html.swh-is-app .swh-install, html.swh-is-app .swh-appbar { display: none !important; }
html.swh-is-app body { overscroll-behavior-y: none; }
