.sopu,
.sopu *,
.sopu-fab,
.sopu-embed,
.sopu-embed * { box-sizing: border-box; }
:root {
--sopu-accent: #186a5e;
--sopu-accent-text: #ffffff;
--sopu-radius: 14px;
--sopu-bg: #ffffff;
--sopu-fg: #1d2125;
--sopu-muted: #5b6470;
--sopu-line: #e3e7ec;
--sopu-shadow: 0 24px 60px rgba(16, 24, 32, .22);
}
.sopu--theme-dark {
--sopu-bg: #191d21;
--sopu-fg: #f2f5f7;
--sopu-muted: #a8b2bd;
--sopu-line: #2e353c;
--sopu-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
@media (prefers-color-scheme: dark) {
.sopu--theme-auto {
--sopu-bg: #191d21;
--sopu-fg: #f2f5f7;
--sopu-muted: #a8b2bd;
--sopu-line: #2e353c;
--sopu-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
}
html.sopu-open { overflow: hidden; }
.sopu[hidden] { display: none !important; }
.sopu {
position: fixed;
inset: 0;
z-index: 2147483000;
display: flex;
pointer-events: none;
font-family: inherit;
line-height: 1.55;
}
.sopu__overlay {
position: absolute;
inset: 0;
background: rgba(12, 16, 20, .55);
backdrop-filter: blur(2px);
pointer-events: auto;
animation: sopu-fade .25s ease both;
}
.sopu__dialog {
position: relative;
pointer-events: auto;
background: var(--sopu-bg);
color: var(--sopu-fg);
border-radius: var(--sopu-radius);
box-shadow: var(--sopu-shadow);
width: min(var(--sopu-width, 460px), calc(100% - 32px));
max-height: calc(100vh - 32px);
overflow-y: auto;
padding: 28px;
margin: auto;
animation: sopu-in .3s cubic-bezier(.2, .8, .3, 1) both;
} .sopu--box.sopu--left  { align-items: flex-end; justify-content: flex-start; padding: 16px; }
.sopu--box.sopu--right { align-items: flex-end; justify-content: flex-end;  padding: 16px; }
.sopu--box.sopu--center,
.sopu--center           { align-items: center;   justify-content: center;    padding: 16px; }
.sopu--box .sopu__dialog { margin: 0; }
.sopu--center .sopu__dialog { margin: auto; }
.sopu--bar { align-items: flex-end; }
.sopu--bar .sopu__dialog {
width: 100%;
max-width: none;
margin: 0;
border-radius: var(--sopu-radius) var(--sopu-radius) 0 0;
padding: 24px clamp(16px, 5vw, 56px);
}
.sopu--bar .sopu__view { max-width: 1100px; margin: 0 auto; } .sopu__logo { max-height: 34px; width: auto; margin-bottom: 16px; display: block; }
.sopu__title {
margin: 0 0 10px;
font-size: 20px;
line-height: 1.25;
font-weight: 700;
color: var(--sopu-fg);
}
.sopu__body { margin: 0 0 20px; font-size: 14.5px; color: var(--sopu-muted); }
.sopu__body p { margin: 0 0 10px; }
.sopu__body p:last-child { margin-bottom: 0; }
.sopu__links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px !important; }
.sopu__links a {
color: var(--sopu-fg);
font-size: 13.5px;
text-decoration: underline;
text-underline-offset: 2px;
} .sopu__actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
align-items: center;
}
.sopu-btn {
appearance: none;
border: 1px solid transparent;
border-radius: calc(var(--sopu-radius) - 6px);
padding: 12px 20px;
font: inherit;
font-size: 14.5px;
font-weight: 600;
line-height: 1.2;
cursor: pointer;
transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.sopu-btn:focus-visible { outline: 2px solid var(--sopu-accent); outline-offset: 2px; }
.sopu-btn:active { transform: translateY(1px); }
.sopu-btn--primary {
background: var(--sopu-accent);
color: var(--sopu-accent-text);
flex: 1 1 auto;
min-width: 150px;
}
.sopu-btn--primary:hover { filter: brightness(.94); }
.sopu-btn--secondary {
background: transparent;
color: var(--sopu-fg);
border-color: var(--sopu-line);
flex: 1 1 auto;
min-width: 150px;
}
.sopu-btn--secondary:hover { border-color: var(--sopu-fg); }
.sopu-btn--ghost {
background: transparent;
color: var(--sopu-muted);
padding: 12px 6px;
text-decoration: underline;
text-underline-offset: 3px;
order: 3;
flex: 0 0 auto;
}
.sopu-btn--ghost:hover { color: var(--sopu-fg); } .sopu__cats { margin: 0 0 20px; border-top: 1px solid var(--sopu-line); }
.sopu-cat { border-bottom: 1px solid var(--sopu-line); padding: 14px 0; }
.sopu-cat__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
cursor: pointer;
}
.sopu-cat__label { font-weight: 650; font-size: 15px; color: var(--sopu-fg); }
.sopu-cat__desc { margin: 6px 0 0; font-size: 13.5px; color: var(--sopu-muted); } .sopu-switch { position: relative; flex: 0 0 auto; display: inline-flex; }
.sopu-switch input {
position: absolute;
inset: 0;
z-index: 2; opacity: 0;
margin: 0;
cursor: pointer;
width: 100%;
height: 100%;
}
.sopu-switch__track {
position: relative;
z-index: 1;
width: 46px;
height: 26px;
border-radius: 999px;
background: var(--sopu-line);
display: block;
transition: background .2s ease;
}
.sopu-switch__thumb {
position: absolute;
top: 3px;
left: 3px;
width: 20px;
height: 20px;
border-radius: 50%;
background: #fff;
box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
transition: transform .2s cubic-bezier(.3, .8, .3, 1);
}
.sopu-switch input:checked + .sopu-switch__track { background: var(--sopu-accent); }
.sopu-switch input:checked + .sopu-switch__track .sopu-switch__thumb { transform: translateX(20px); }
.sopu-switch input:focus-visible + .sopu-switch__track { outline: 2px solid var(--sopu-accent); outline-offset: 2px; }
.sopu-switch--locked { opacity: .55; }
.sopu-switch--locked input { cursor: not-allowed; } .sopu-fab {
position: fixed;
left: 18px;
bottom: 18px;
z-index: 2147482000;
width: 44px;
height: 44px;
border: 0;
border-radius: 50%;
background: var(--sopu-accent, #186a5e);
color: #fff;
display: grid;
place-items: center;
cursor: pointer;
box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
opacity: .75;
transition: opacity .2s ease, transform .2s ease;
}
.sopu-fab:hover { opacity: 1; transform: scale(1.06); }
.sopu-fab svg { width: 22px; height: 22px; fill: currentColor; }
.sopu-fab[hidden] { display: none !important; } .sopu-embed {
position: relative;
min-height: 220px;
display: grid;
place-items: center;
background: #f4f6f8;
border: 1px dashed #c9d1da;
border-radius: 10px;
padding: 28px 20px;
text-align: center;
color: #2a3038;
font-size: 14px;
}
.sopu-embed__inner { max-width: 440px; }
.sopu-embed__icon { width: 30px; height: 30px; fill: #98a3af; margin-bottom: 8px; }
.sopu-embed__title { margin: 0 0 6px; font-weight: 700; font-size: 15px; }
.sopu-embed__body { margin: 0 0 14px; color: #5b6470; font-size: 13.5px; }
.sopu-embed__svc { opacity: .75; }
.sopu-embed .sopu-btn--primary { min-width: 0; flex: 0 0 auto; }
@media (prefers-color-scheme: dark) {
.sopu-embed { background: #1e2328; border-color: #333c44; color: #e8edf2; }
.sopu-embed__body { color: #a8b2bd; }
} @media (max-width: 640px) {
.sopu { align-items: flex-end !important; justify-content: center !important; padding: 0 !important; }
.sopu__dialog {
width: 100%;
border-radius: var(--sopu-radius) var(--sopu-radius) 0 0;
padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
max-height: 88vh;
}
.sopu__title { font-size: 18px; }
.sopu__actions { flex-direction: column-reverse; align-items: stretch; }
.sopu-btn--primary,
.sopu-btn--secondary { width: 100%; min-width: 0; }
.sopu-btn--ghost { order: 4; }
.sopu-fab { left: 12px; bottom: 12px; width: 40px; height: 40px; }
}
@keyframes sopu-in {
from { opacity: 0; transform: translateY(14px) scale(.985); }
to   { opacity: 1; transform: none; }
}
@keyframes sopu-fade {
from { opacity: 0; }
to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
.sopu__dialog, .sopu__overlay { animation: none; }
.sopu-switch__thumb { transition: none; }
}  .sopu--band .sopu__brand { margin: -28px -28px 22px; }
.sopu--bar.sopu--band .sopu__brand { margin: -24px calc(-1 * clamp(16px, 5vw, 56px)) 20px; } .sopu__brand {
background: var(--sopu-band, #fff);
border-radius: var(--sopu-radius) var(--sopu-radius) 0 0;
padding: 18px 26px;
display: flex;
align-items: center;
justify-content: center;
border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.sopu__brand-logo { max-height: 34px; max-width: 70%; width: auto; display: block; }
.sopu--band .sopu__view { padding-top: 24px; } .sopu--btn-outline .sopu-btn--primary {
background: transparent;
color: var(--sopu-accent);
border: 2px solid var(--sopu-accent);
}
.sopu--btn-outline .sopu-btn--primary:hover { background: var(--sopu-accent); color: var(--sopu-accent-text); }
.sopu--btn-pill .sopu-btn { border-radius: 999px; }
.sopu--btn-square .sopu-btn { border-radius: 0; } .sopu--btn-equal .sopu__actions { display: flex; gap: 10px; flex-wrap: nowrap; }
.sopu--btn-equal .sopu__actions .sopu-btn {
flex: 1 1 0;
min-width: 0; justify-content: center;
text-align: center;
padding-left: 10px;
padding-right: 10px;
}
.sopu--btn-equal .sopu-btn--ghost { flex: 0 0 auto; } .sopu--cats-front .sopu__cats { margin-bottom: 18px; }
.sopu__cats--row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
gap: 0;
border: 1px solid var(--sopu-line);
border-radius: calc(var(--sopu-radius) - 6px);
overflow: hidden;
}
.sopu__cats--row .sopu-cat {
border-bottom: 0;
border-right: 1px solid var(--sopu-line);
padding: 12px 10px;
text-align: center;
}
.sopu__cats--row .sopu-cat:last-child { border-right: 0; }
.sopu__cats--row .sopu-cat__head {
flex-direction: column;
align-items: center;
gap: 8px;
}
.sopu__cats--row .sopu-cat__label { font-size: 13px; font-weight: 600; }
.sopu__cats--row .sopu-cat__desc { display: none; }
@media (max-width: 560px) {
.sopu__cats--row { grid-template-columns: repeat(2, 1fr); }
.sopu__cats--row .sopu-cat:nth-child(2n) { border-right: 0; }
.sopu__cats--row .sopu-cat { border-bottom: 1px solid var(--sopu-line); }
.sopu--btn-equal .sopu__actions { flex-wrap: wrap; }
.sopu--btn-equal .sopu__actions .sopu-btn { flex: 1 1 100%; }
} .sopu--tabs .sopu__dialog { padding: 0; overflow: hidden; } .sopu--tabs.sopu--band .sopu__brand { margin: 0; }
.sopu--tabs .sopu__brand { padding: 20px 28px; }
.sopu__brand--left { justify-content: space-between; }
.sopu__brand--left .sopu__brand-logo { max-width: 55%; }
.sopu__brand-note {
font-size: 11px;
letter-spacing: .06em;
text-transform: uppercase;
color: var(--sopu-muted);
opacity: .75;
white-space: nowrap;
} .sopu__tabs {
position: relative;
display: flex;
gap: 4px;
padding: 0 28px;
border-bottom: 1px solid var(--sopu-line);
}
.sopu__tab {
appearance: none;
background: none;
border: 0;
padding: 15px 10px 14px;
margin: 0;
font: inherit;
font-size: 14px;
font-weight: 600;
color: var(--sopu-muted);
cursor: pointer;
flex: 1 1 0;
min-width: 0;
text-align: center;
transition: color .18s ease;
}
.sopu__tab:hover { color: var(--sopu-fg); }
.sopu__tab.is-active { color: var(--sopu-accent); }
.sopu__tab:focus-visible { outline: 2px solid var(--sopu-accent); outline-offset: -4px; border-radius: 6px; } .sopu__tabs-ink {
position: absolute;
left: 0;
bottom: -1px;
height: 2px;
width: 0;
background: var(--sopu-accent);
border-radius: 2px 2px 0 0;
transition: transform .28s cubic-bezier(.4, 0, .2, 1), width .28s cubic-bezier(.4, 0, .2, 1);
pointer-events: none;
} .sopu__panel { padding: 24px 28px 4px; }
.sopu__panel[hidden] { display: none; }
.sopu--tabs .sopu__title { font-size: 17px; margin-bottom: 8px; }
.sopu--tabs .sopu__body { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.sopu--tabs .sopu__cats { margin: 0 0 4px; border-top: 0; }
.sopu--tabs .sopu__cats .sopu-cat:first-child { padding-top: 0; }
.sopu--tabs .sopu__cats .sopu-cat:last-child { border-bottom: 0; }
.sopu__cid { font-size: 12px; color: var(--sopu-muted); margin: 14px 0 0; word-break: break-all; } .sopu--tabs .sopu__panel[data-sopu-view="details"] { max-height: min(46vh, 380px); overflow-y: auto; } .sopu--tabs .sopu__actions {
display: flex;
gap: 10px;
padding: 18px 28px 22px;
margin: 0;
border-top: 1px solid var(--sopu-line);
background: var(--sopu-bg);
}
.sopu--tabs .sopu__actions .sopu-btn {
flex: 1 1 0;
min-width: 0;
justify-content: center;
text-align: center;
padding: 13px 14px;
font-size: 14px;
}
.sopu--tabs .sopu-btn--primary { box-shadow: 0 1px 2px rgba(16, 24, 32, .16); }
.sopu--tabs .sopu-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16, 24, 32, .18); }
.sopu--tabs .sopu-btn { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease; }
@media (max-width: 560px) {
.sopu--tabs .sopu__brand,
.sopu__tabs,
.sopu__panel,
.sopu--tabs .sopu__actions { padding-left: 18px; padding-right: 18px; }
.sopu__tab { font-size: 13px; padding: 13px 4px 12px; }
.sopu--tabs .sopu__actions { flex-wrap: wrap; }
.sopu--tabs .sopu__actions .sopu-btn { flex: 1 1 100%; }
.sopu--tabs .sopu__actions .sopu-btn--primary { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
.sopu__tabs-ink { transition: none; }
.sopu--tabs .sopu-btn:hover { transform: none; }
}