/* Isolar a estação do CSS do escritório (gnr.css / Inter) — tablet Expo = Roboto */
html:has(.stn), html:has(.stn-page),
body:has(.stn), body:has(.stn-page) {
    background: #FFFFFF !important;
    color: #004030 !important;
    font-family: Roboto, "Noto Sans", system-ui, sans-serif !important;
    font-size: 16px !important;
}
html:has(.stn.dark), body:has(.stn.dark) {
    background: #0f1412 !important;
    color: #f8fafc !important;
}
body:has(.stn) .sidebar,
body:has(.stn) .tab-bar,
body:has(.stn) .app-layout { display: none !important; }

/* Tokens iguais ao tablet Expo (tablet/src/theme/colors.ts) */
.stn {
    --bg: #FFFFFF;
    --surface: #F5F7F6;
    --surface-light: #FFFFFF;
    --primary: #004030;
    --primary-dark: #002818;
    --primary-bright: #006B52;
    --accent: #C5A028;
    --accent-light: #D4AF37;
    --secondary: #64748B;
    --success: #059669;
    --error: #DC2626;
    --warning: #d97706;
    --text: #004030;
    --text-secondary: #3D4F48;
    --text-muted: #64748B;
    --border: #D0DDD8;
    --border-light: #E8F0ED;
    --overlay: rgba(0, 64, 48, 0.45);
    --shadow: 0 2px 6px rgba(0, 64, 48, 0.08);
    --font: Roboto, "Noto Sans", system-ui, sans-serif;
}

.device-root { min-height: 100vh; background: var(--bg, #fff); }

.stn, .stn * { box-sizing: border-box; }
.stn {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    -webkit-font-smoothing: auto;
    font-synthesis: none;
}
.stn h1, .stn h2, .stn h3, .stn h4 { letter-spacing: 0; line-height: 1.25; color: var(--text); margin: 0; }
.stn button {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    margin: 0;
    line-height: 1.2;
    background: none;
    border: 0;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.stn button:focus,
.stn button:focus-visible,
.stn button:active {
    outline: none;
    box-shadow: none;
}
.stn input, .stn textarea {
    font-family: inherit;
    color: var(--text);
}
.stn input::placeholder, .stn textarea::placeholder { color: var(--text-muted); }

/* Header — Header.tsx */
.stn-header {
    height: 48px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface-light);
    border-bottom: 1px solid var(--border);
    position: relative;
    flex-shrink: 0;
}
.stn-header img { width: 120px; height: 28px; object-fit: contain; flex-shrink: 0; z-index: 2; }
.stn-logo-dark { display: none; }
.stn.dark .stn-logo-light { display: none; }
.stn.dark .stn-logo-dark { display: block; }
.stn-status {
    position: absolute; left: 130px; right: 260px; top: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    pointer-events: none;
}
.stn-pill {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 8px; border-radius: 6px; border: 1px solid;
    font-size: 10px; font-weight: 800; letter-spacing: 1px; white-space: nowrap;
}
.stn-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.stn-user {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-shrink: 0;
    max-width: 48%;
}
.stn-id {
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: var(--border-light);
    padding: 3px 6px;
    border-radius: 4px;
    white-space: nowrap;
}
.stn-obadge { display: flex; align-items: center; gap: 10px; min-width: 0; }
.stn-obadge-av {
    width: 36px; height: 36px; border-radius: 18px;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800; flex-shrink: 0;
}
.stn-obadge-meta { display: flex; flex-direction: column; align-items: flex-end; min-width: 0; }
.stn-obadge-meta b { font-size: 13px; font-weight: 800; color: var(--text); max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stn-obadge-meta small { font-size: 9px; font-weight: 800; letter-spacing: 1.5px; color: var(--text-secondary); margin-top: 1px; }
.stn-theme, .stn-debug {
    background: var(--surface) !important;
    border: 1px solid var(--primary) !important;
    color: var(--text) !important;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
}
.stn-theme:disabled { opacity: 1; cursor: default; }
.stn-debug.on { background: var(--primary) !important; color: #fff !important; border-color: var(--primary) !important; }

/* Content — App.tsx content */
.stn-content {
    flex: 1;
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: auto;
}

.stn-title {
    color: var(--text);
    font-size: 28px;
    font-weight: 800;
    text-align: left;
    margin: 4px 0;
}
.stn-sub {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: left;
    margin: 0 0 12px;
    font-weight: 400;
}

.stn-list {
    flex: 1;
    min-height: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    overflow: auto;
}
.stn-empty {
    color: var(--text-secondary);
    text-align: center;
    padding: 40px 24px;
    font-size: 14px;
}
.stn-empty b { display: block; font-size: 15px; font-weight: 700; color: var(--text-secondary); }
.stn-empty small, .stn-empty span { display: block; font-size: 12px; color: var(--text-muted); font-weight: 400; }

.stn-session {
    display: flex;
    align-items: center;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 8px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    box-shadow: var(--shadow);
}
.stn-session.mine { border-color: var(--primary); border-left-width: 3px; }
.stn-session strong { display: block; font-size: 17px; font-weight: 800; color: var(--text); }
.stn-session small { display: block; font-size: 13px; color: var(--text-secondary); margin-top: 3px; font-weight: 400; }
.stn-session-go { margin-left: auto; color: var(--primary); font-weight: 800; font-size: 13px; flex-shrink: 0; display: inline-flex; align-items: center; gap: 2px; }
.stn-session-go b { font-weight: 300; font-size: 22px; line-height: 1; }

.stn-leave {
    margin-top: 4px;
    padding: 22px 16px;
    border-radius: 16px;
    border: 0 !important;
    width: 100%;
    background: var(--error) !important;
    color: #fff !important;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
}
.stn-cta {
    margin-top: 12px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--primary) !important;
    width: 100%;
    background: var(--primary) !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-align: center;
}

.stn-back {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: none !important;
    border: 0 !important;
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 14px;
    padding: 4px 0;
    margin-bottom: 6px;
    cursor: pointer;
    text-align: left;
}

/* Mode switcher — App.tsx modeRow */
.stn-modes {
    display: flex;
    gap: 2px;
    padding: 3px;
    margin: 4px 0 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.stn-modes button {
    flex: 1;
    padding: 10px;
    min-height: 40px;
    border: 0 !important;
    border-radius: 8px;
    background: transparent !important;
    color: var(--text-secondary) !important;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.stn-modes button.on {
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: 800;
}

.stn-err {
    margin: 4px 0;
    background: rgba(220, 38, 38, 0.1);
    color: var(--error);
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--error);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

/* NFC strip — OperatorValidationPanel nfcStrip */
.stn-prep { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.stn-prep-confirm {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.stn-prep-confirm .stn-list { flex: 1; }
.stn-confirm-foot { flex-shrink: 0; padding-top: 4px; }
.stn-confirm-foot .stn-ok {
    border-radius: 10px;
    padding: 14px;
    font-size: 15px;
    letter-spacing: 0.5px;
    font-weight: 900;
}
.stn-nfc {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 6px;
    background: var(--primary-dark) !important;
    color: #fff !important;
    border: 0 !important;
    width: 100%;
    cursor: pointer;
}
.stn-nfc-ico {
    width: 18px; height: 18px; flex-shrink: 0;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='2' y='5' width='20' height='14' rx='2'/><path d='M2 10h20'/></svg>") center / contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='2' y='5' width='20' height='14' rx='2'/><path d='M2 10h20'/></svg>") center / contain no-repeat;
}
.stn-nfc > span:first-of-type { flex: 1; text-align: left; color: #fff; font-size: 14px; font-weight: 700; }
.stn-nfc-btn {
    background: #fff !important;
    color: var(--primary) !important;
    border: 0 !important;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    cursor: pointer;
}
.stn-nfc-busy { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-left: auto; }
.stn-nfc-x {
    margin-left: 4px;
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent !important;
    border: 0 !important;
    color: #fff !important;
    font-size: 20px;
    cursor: pointer;
}

.stn-ops-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 4px;
}
.stn-ops-head span { color: var(--text); font-size: 13px; font-weight: 800; }
.stn-ops-head small { color: var(--text-muted); font-size: 11px; font-weight: 600; }

.stn-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
}
.stn-search.kit {
    background: var(--border-light);
    border: 0;
    border-radius: 10px;
    height: 44px;
    padding: 0 12px;
    margin-bottom: 10px;
}
.stn-search.kit input { font-weight: 600; }
.stn-search-x {
    width: 24px; height: 24px;
    display: inline-flex; align-items: center; justify-content: center;
    background: none !important;
    border: 0 !important;
    color: var(--text-muted) !important;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    padding: 0;
}
.stn-search-ico {
    width: 16px; height: 16px; flex-shrink: 0; opacity: 0.55;
    background: var(--text-muted);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3-3'/></svg>") center / contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3-3'/></svg>") center / contain no-repeat;
}
.stn-search input {
    flex: 1;
    border: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    outline: none;
    min-width: 0;
    padding: 2px 0;
}

/* Operator grid — OperatorValidationPanel cell */
.stn-ops {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 6px;
    flex: 1;
    min-height: 0;
    overflow: auto;
    align-content: start;
}
.stn-op {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    min-height: 56px;
    border: 1px solid var(--border-light) !important;
    border-radius: 10px;
    background: #FFFFFF !important;
    cursor: pointer;
    text-align: left;
    box-shadow: var(--shadow);
}
.stn.dark .stn-op {
    background: var(--surface) !important;
    border-color: var(--border) !important;
    box-shadow: none;
}
.stn-op:disabled { opacity: 0.4; cursor: default; box-shadow: none; }
.stn-av {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background: var(--primary-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    flex-shrink: 0;
}
.stn-av.dark { background: var(--primary-dark); color: #fff; }
.stn-av.lg { width: 48px; height: 48px; border-radius: 24px; font-size: 22px; }
.stn-op-info { flex: 1; min-width: 0; }
.stn-op-info b { display: block; font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stn-op-info span { display: block; font-size: 12px; color: var(--text-secondary); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stn-warn { color: var(--accent) !important; font-size: 9px !important; font-weight: 700 !important; margin-top: 1px !important; }
.stn-pin-act {
    margin-left: auto;
    color: var(--primary);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    padding-left: 6px;
}
.stn.dark .stn-pin-act {
    color: var(--accent);
}

/* Modais — PrepStartPanel Duplicate + Alert.alert + OperatorValidationPanel */
.stn-sheet {
    position: fixed;
    inset: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 40;
    pointer-events: none;
}
.stn-sheet-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    cursor: default;
    pointer-events: auto;
}
.stn-sheet.stn-sheet-stock {
    align-items: flex-start;
    padding-top: 24px;
}
.stn-sheet-card, .stn-sheet-card.center {
    width: 400px;
    max-width: 90%;
    background: var(--surface);
    border-radius: 12px;
    border: 0;
    padding: 24px;
    margin: 0;
    align-self: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    position: relative;
    z-index: 1;
    pointer-events: auto;
}
.stn-sheet-card > h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0;
    line-height: 1.25;
}
.stn-sheet-card > .stn-picker-hint,
.stn-sheet-card > .stn-sub {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 24px;
    text-align: left;
}
.stn-sheet-card > .stn-search { margin-bottom: 24px; }
.stn-sheet-card > .stn-err { margin: 0 0 16px; }
.stn-sheet-card.stn-pin {
    width: 100%;
    max-width: 480px;
    padding: 14px;
    border: 1px solid var(--border);
    box-shadow: none;
}
.stn-sheet-card.stn-pin > .stn-sub,
.stn-sheet-card.stn-pin > .stn-picker-hint { margin: 0 0 10px; }
.stn-sheet-card.stn-pin > .stn-search { margin-bottom: 8px; }
.stn-sheet-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.stn-who-inline { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.stn-who-inline b { font-size: 15px; font-weight: 800; color: var(--text); }
.stn-who {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
}
.stn-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 8px 0;
    margin: 0;
    letter-spacing: 0;
    font-size: 0;
}
.stn-dot-pin {
    width: 14px; height: 14px; border-radius: 7px;
    border: 2px solid var(--text-muted);
    background: transparent;
}
.stn-dot-pin.on { background: var(--primary); border-color: var(--primary-bright); }
.stn-pad-hint {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 8px;
}
.stn-keys {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
}
.stn-keys button {
    width: 30%;
    min-width: 88px;
    max-width: 120px;
    height: 52px;
    border-radius: 12px;
    border: 1px solid var(--border) !important;
    background: var(--surface-light) !important;
    font-size: 24px;
    font-weight: 800;
    color: var(--text) !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    box-shadow: none;
}
.stn-keys button:focus,
.stn-keys button:focus-visible,
.stn-keys button:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}
.stn-keys button:active { opacity: 0.6; }
.stn-keys button.ok {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.5px;
}
.stn-keys button.ok:active { opacity: 0.8; }
.stn-keys button.ok:disabled { opacity: 0.45; }
.stn-keys button:disabled { opacity: 0.45; }

.stn-hint { color: var(--accent); font-size: 12px; font-weight: 600; margin: -4px 0 10px; }
.stn-swap {
    background: none !important;
    border: 0 !important;
    color: var(--text-muted) !important;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

/* Prep start — PrepStartPanel */
.stn-prep-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.stn-step { color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.stn-chip {
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 12px;
    color: var(--success);
    font-size: 14px;
    font-weight: 800;
}
.stn-list-title { color: var(--text); font-size: 14px; font-weight: 800; margin: 0 0 8px; }
.stn-kits { flex: 1; min-height: 0; overflow: auto; padding-bottom: 8px; display: flex; flex-direction: column; gap: 6px; }
.stn-kits .stn-kit { margin-bottom: 0; }
.stn-field-label {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}
.stn-field {
    background: var(--surface);
    color: var(--text);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 16px;
    margin-bottom: 10px;
    width: 100%;
}
.stn-field.warn { border-color: var(--accent); border-width: 1.5px; }

.stn-kit {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    background: var(--surface) !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    border-radius: 10px;
    padding: 8px 4px 8px 12px;
    margin-bottom: 6px;
}
.stn-kit.faded { opacity: 0.85; }
.stn-kit-main {
    flex: 1;
    min-width: 0;
    background: none !important;
    border: 0 !important;
    text-align: left;
    padding: 0;
    cursor: pointer;
    color: inherit;
}
.stn-kit-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.stn-kit-head b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stn-kit b { display: block; color: var(--text); font-size: 15px; font-weight: 700; }
.stn-kit-act {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    background: none !important; border: 0 !important;
    color: var(--text-muted) !important;
    cursor: pointer; flex-shrink: 0;
}
.stn-kit-act.restore { color: var(--success) !important; }
.stn-arch-toggle {
    display: inline-flex; align-items: center; gap: 4px;
    background: none !important; border: 0 !important;
    color: var(--text-muted) !important;
    font-size: 12px; font-weight: 700; cursor: pointer;
}
.stn-arch-toggle.on { color: var(--primary) !important; }
.stn-prep-split { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.stn-prep-split.open { flex-direction: row; gap: 16px; }
.stn-prep-main { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.stn-prep-split.open .stn-prep-main { flex: 0.65; }
.stn-arch { flex: 0.35; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.stn-ok { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.stn-ok.danger { background: var(--error) !important; border-color: var(--error) !important; }
.stn-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: 8px;
    vertical-align: middle;
}
.stn-badge.draft { background: rgba(251, 191, 36, 0.15); color: var(--accent); }
.stn-badge.ready { background: rgba(52, 211, 153, 0.15); color: var(--success); }

.stn-dir {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 8px;
    border-radius: 6px;
}
.stn-dir.out { color: var(--error); background: rgba(220, 38, 38, 0.08); }
.stn-dir.in { color: var(--success); background: rgba(5, 150, 105, 0.1); }
.stn-hrow { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.stn-hrow.spread { justify-content: space-between; }
.stn-hrow.spread .stn-back { margin-bottom: 0; }
.stn-gate-scroll { flex: 1; min-height: 0; overflow: auto; padding-bottom: 8px; }
.stn-hint { color: var(--text-muted); font-size: 12px; text-align: center; padding: 10px 0; margin: 0; }
.stn-hrow h2 { margin: 0; font-size: 18px; font-weight: 800; color: var(--text); }
.stn-refresh {
    margin-left: auto;
    background: none !important;
    border: 0 !important;
    color: var(--primary) !important;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
}
.stn-list-head { margin-bottom: 8px; }
.stn-list-head .stn-dir { margin-bottom: 4px; }
.stn-list-head h2 { margin: 0; font-size: 18px; font-weight: 800; color: var(--text); }
.stn-kitrow {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    background: var(--surface-light) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px;
    padding: 12px;
    margin: 0;
    cursor: pointer;
}
.stn-kitrow > div { flex: 1; min-width: 0; }
.stn-kit-holder {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.stn-kit-name {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.stn-kit-sub {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.stn-kit-meta { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.stn-partial {
    display: inline-block;
    align-self: flex-start;
    background: rgba(234, 179, 8, 0.15);
    color: var(--warning);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    margin-top: 4px;
    margin-bottom: 2px;
}
.stn-kit-arrow {
    color: var(--primary);
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
}
.stn-list-foot {
    flex-shrink: 0;
    display: flex;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.stn-refresh-foot {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--primary) !important;
    background: var(--surface-light) !important;
    color: var(--primary) !important;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.stn-refresh-foot::before {
    content: "";
    width: 16px; height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M21 12a9 9 0 1 1-3-6.7'/><path d='M21 3v6h-6'/></svg>") center / contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M21 12a9 9 0 1 1-3-6.7'/><path d='M21 3v6h-6'/></svg>") center / contain no-repeat;
}

.stn-ok {
    background: var(--primary) !important;
    color: #fff !important;
    border: 1px solid var(--primary) !important;
    border-radius: 14px;
    padding: 18px;
    width: 100%;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
}
.stn-ok:disabled { opacity: 0.4; cursor: default; }
.stn-ghost {
    background: var(--surface-light) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    border-radius: 8px;
    padding: 7px 10px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}
.stn-link { background: none; border: 0; color: var(--primary); font-weight: 700; cursor: pointer; }

.stn-kithead {
    background: var(--surface);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
}
.stn-kithead.split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.stn-kithead b { display: block; font-size: 16px; font-weight: 800; color: var(--text); }
.stn-kithead small { display: block; color: var(--text-muted); font-size: 12px; font-weight: 400; margin-top: 2px; }
.stn-toolbar { display: flex; gap: 8px; margin-bottom: 8px; }
.stn-tool {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    border: 0 !important;
    border-radius: 10px;
    padding: 10px 8px;
    font-size: 13px;
    font-weight: 800;
    color: #fff !important;
    cursor: pointer;
}
.stn-tool.go { background: var(--success) !important; }
.stn-tool.stop { background: var(--error) !important; }
.stn-tool.add {
    background: var(--surface) !important;
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
}
.stn-tool.close { background: var(--primary) !important; }
.stn-tool:disabled { opacity: 0.45; cursor: default; }
.stn-ico {
    width: 16px; height: 16px; flex-shrink: 0;
    background: currentColor;
    -webkit-mask: var(--ico) center / contain no-repeat;
            mask: var(--ico) center / contain no-repeat;
}
.stn-ico.play { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><polygon points='6 3 20 12 6 21 6 3'/></svg>"); }
.stn-ico.sq { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><rect x='6' y='6' width='12' height='12' rx='1'/></svg>"); }
.stn-ico.plus { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'><path d='M12 5v14M5 12h14'/></svg>"); }
.stn-ico.check { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='10'/><path d='m9 12 2 2 4-4'/></svg>"); }
.stn-ico.chev { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'><path d='m15 18-6-6 6-6'/></svg>"); }
.stn-ico.copy { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='9' y='9' width='13' height='13' rx='2'/><path d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/></svg>"); }
.stn-ico.archive { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='2' y='3' width='20' height='5' rx='1'/><path d='M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8M10 12h4'/></svg>"); }
.stn-ico.restore { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='2' y='3' width='20' height='5' rx='1'/><path d='M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8M9 13l3-3 3 3M12 10v7'/></svg>"); }
.stn-ico.pack { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='m16.5 9.4-9-5.19M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/><path d='M3.27 6.96 12 12.01l8.73-5.05M12 22.08V12'/></svg>"); }
.stn-ico.tick { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'><path d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/><polyline points='22 4 12 14.01 9 11.01'/></svg>"); }
.stn-ico.alert { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'><circle cx='12' cy='12' r='10'/><line x1='12' y1='8' x2='12' y2='12'/><line x1='12' y1='16' x2='12.01' y2='16'/></svg>"); }
.stn-ico.card { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='2' y='5' width='20' height='14' rx='2'/><path d='M2 10h20'/></svg>"); }
.stn-ico.key { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='8' cy='15' r='4'/><path d='m10.8 12.2 6.6-6.6a1.5 1.5 0 0 1 2.1 2.1l-1.4 1.4 1.8 1.8-2.1 1.1-1.8-1.8-1.2 1.2'/></svg>"); }
.stn-sign-acts { display: flex; gap: 6px; flex-shrink: 0; }
.stn-sign-act {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid var(--border) !important;
    background: var(--surface-light) !important;
    color: var(--text) !important;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
.stn-pin-act { display: inline-flex; align-items: center; gap: 4px; color: var(--primary); font-size: 12px; font-weight: 800; }
.stn-theme { display: inline-flex; align-items: center; gap: 6px; }
.stn-theme-ico {
    width: 14px; height: 14px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='13.5' cy='6.5' r='.5'/><circle cx='17.5' cy='10.5' r='.5'/><circle cx='8.5' cy='7.5' r='.5'/><circle cx='6.5' cy='12.5' r='.5'/><path d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z'/></svg>") center / contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='13.5' cy='6.5' r='.5'/><circle cx='17.5' cy='10.5' r='.5'/><circle cx='8.5' cy='7.5' r='.5'/><circle cx='6.5' cy='12.5' r='.5'/><path d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z'/></svg>") center / contain no-repeat;
}
.stn-theme-sheet { display: flex; flex-direction: column; gap: 8px; min-width: 260px; }
.stn-theme-sheet h3 { margin-bottom: 4px; }
.stn-theme-opt {
    display: flex; align-items: center; gap: 10px;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border) !important;
    background: var(--surface-light) !important;
    color: var(--text) !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
.stn-theme-opt.on { background: var(--primary) !important; color: #fff !important; border-color: var(--primary) !important; }
.stn-theme-tick { margin-left: auto; font-weight: 800; }
.stn-theme-kind {
    width: 18px; height: 18px; background: currentColor;
    -webkit-mask: center / contain no-repeat;
            mask: center / contain no-repeat;
}
.stn-theme-kind.sistema { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='5' y='2' width='14' height='20' rx='2'/><path d='M12 18h.01'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='5' y='2' width='14' height='20' rx='2'/><path d='M12 18h.01'/></svg>"); }
.stn-theme-kind.claro { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='4'/><path d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='4'/><path d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/></svg>"); }
.stn-theme-kind.escuro { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/></svg>"); }
.stn-conf-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
}
.stn-conf-card.ok { border-color: var(--success); background: #f3faf6; }
.stn-conf-title { font-size: 14px; font-weight: 900; margin: 0 0 8px; }
.stn-conf-title.miss { color: var(--error); }
.stn-conf-title.ok { color: var(--success); }
.stn-conf-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
}
.stn-conf-row span { flex: 1; min-width: 0; }
.stn-conf-row b { display: block; font-size: 12px; font-weight: 600; }
.stn-conf-row small { display: block; font-size: 11px; font-weight: 600; margin-top: 1px; }
.stn-conf-row.miss { color: var(--error); }
.stn-conf-row.ok { color: var(--success); }
.stn-conf-row.warn { color: var(--warning); }
.stn-conf-row .stn-ico { width: 14px; height: 14px; }
.stn-reads { flex: 1; min-height: 0; overflow: auto; }
.stn-reads-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 32px 12px;
    text-align: center;
}
.stn-reads-empty b { color: var(--text-muted); font-size: 15px; font-weight: 700; }
.stn-reads-empty span { color: var(--text-muted); font-size: 12px; font-weight: 400; }
.stn-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 6px;
    background: var(--surface-light);
    border-radius: 8px;
}
.stn-item-badge {
    width: 28px; height: 28px; border-radius: 6px;
    background: var(--text-muted); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 900; flex-shrink: 0;
}
.stn-item.warn { border: 1px solid var(--error); }
.stn-item-badge.err { background: var(--error); }
.stn-item-info { min-width: 0; flex: 1; }
.stn-item-info b { display: block; color: var(--text); font-size: 14px; font-weight: 700; }
.stn-item-info small { display: block; color: var(--text-muted); font-size: 11px; margin-top: 1px; }
.stn-item-info small.err { color: var(--error); }
.stn-item-del {
    background: none !important; border: 0 !important;
    color: var(--error) !important; padding: 8px; cursor: pointer; flex-shrink: 0;
}
.stn-ico.trash { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M3 6h18M8 6V4h8v2M19 6l-1 14H6L5 6'/><path d='M10 11v6M14 11v6'/></svg>"); }
.stn-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.stn-picker-head h3 { margin: 0; font-size: 20px; font-weight: 700; color: var(--text); }
.stn-picker-x {
    width: 32px; height: 32px;
    background: none !important; border: 0 !important;
    color: var(--text-muted) !important; font-size: 28px; line-height: 1; cursor: pointer;
}
.stn-picker-hint { color: var(--text-muted); font-size: 14px; font-weight: 400; margin: 0 0 24px; }
.stn-picker-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}
.stn-picker-actions .stn-swap {
    min-width: 100px;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}
.stn-picker-actions .stn-ok {
    width: auto !important;
    flex: 0 0 auto;
    min-width: 100px;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
}
.stn-cons {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    width: 100%; text-align: left;
    background: var(--surface) !important;
    border: 1px solid rgba(148, 163, 184, 0.12) !important;
    border-radius: 8px; padding: 10px 12px; margin-bottom: 6px; cursor: pointer;
}
.stn-cons b { font-size: 14px; font-weight: 700; color: var(--text); }
.stn-cons small { color: var(--text-muted); font-size: 12px; font-weight: 700; }
.stn-cons-name { margin: 4px 0 2px; font-size: 16px; font-weight: 800; color: var(--text); }

.stn-check {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    background: var(--surface-light) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 8px;
    min-height: 58px;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 64, 48, 0.06);
}
.stn-check.on { border-color: var(--success) !important; background: rgba(5, 150, 105, 0.06) !important; }
.stn-check.off, .stn-check:disabled { opacity: 0.65; cursor: default; }
.stn-check b { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.stn-check small { display: block; font-size: 11px; color: var(--text-muted); font-weight: 400; margin-top: 2px; }
.stn-box {
    width: 28px; height: 28px; border-radius: 14px;
    border: 2px solid var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 900; color: var(--surface-light); background: var(--surface-light); flex-shrink: 0;
}
.stn-check.on .stn-box { background: var(--primary); border-color: var(--primary); }

.stn-obs { display: block; margin: 8px 0; }
.stn-obs > span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.stn-obs textarea {
    display: block; width: 100%; min-height: 72px; max-height: 120px;
    border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px;
    font: inherit; font-size: 14px; line-height: 20px; color: var(--text); background: var(--surface-light);
}
.stn-obs textarea:disabled { opacity: 0.55; }

.stn-sign-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    margin-top: 8px;
}
.stn-sign-title {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin: 0 0 8px;
    text-transform: uppercase;
}
.stn-signer { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; min-height: 44px; margin: 4px 0; }
.stn-signer strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.stn-ok-line { color: var(--success); font-size: 13px; font-weight: 700; margin: 2px 0 0; }
.stn-sign-div { height: 1px; background: var(--border); margin: 8px 0; }
.stn-sign-hint { color: var(--accent); font-size: 12px; font-weight: 700; text-align: center; margin: 4px 0 0; }
.stn-fields { display: flex; gap: 6px; overflow: auto; padding-top: 6px; }
.stn-fields span {
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.stn-fields small { display: block; font-size: 9px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.stn-picker {
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    overflow: auto;
    background: var(--surface);
    border-radius: 12px;
    border: 0;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    position: relative;
    z-index: 1;
    pointer-events: auto;
}
.stn-picker .stn-sheet-head {
    justify-content: space-between;
    margin-bottom: 16px;
}
.stn-picker .stn-sheet-head b {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}
.stn-picker > .stn-picker-hint { margin-bottom: 12px; }
.stn-sheet-stock .stn-picker {
    max-width: 720px;
}
.stn-picker-list { display: flex; flex-direction: column; max-height: 360px; overflow: auto; }
.stn-muted { color: var(--text-muted); font-size: 12px; }

.stn-fs {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg);
}
.stn-fs-ok {
    width: 72px; height: 72px;
    border-radius: 50%;
    border: 5px solid var(--success);
    position: relative;
    flex-shrink: 0;
}
.stn-fs-ok::after {
    content: "";
    position: absolute;
    left: 20px; top: 12px;
    width: 22px; height: 36px;
    border-right: 5px solid var(--success);
    border-bottom: 5px solid var(--success);
    transform: rotate(45deg);
}
.stn-fs-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--success) !important;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 4px;
    margin: 16px 0 0;
    line-height: 1;
}
.stn-fs-arrow {
    width: 34px; height: 34px;
    flex-shrink: 0;
    background: var(--success);
}
.stn-fs-arrow.down {
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M12 5v14'/><path d='m19 12-7 7-7-7'/><path d='M19 21H5'/></svg>") center / contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M12 5v14'/><path d='m19 12-7 7-7-7'/><path d='M19 21H5'/></svg>") center / contain no-repeat;
}
.stn-fs-arrow.up {
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M12 19V5'/><path d='m5 12 7-7 7 7'/><path d='M5 3h14'/></svg>") center / contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M12 19V5'/><path d='m5 12 7-7 7 7'/><path d='M5 3h14'/></svg>") center / contain no-repeat;
}
.stn-fs-sub { color: var(--text-secondary); font-size: 16px; margin: 8px 0 0; font-weight: 400; }

.stn.dark {
    --bg: #0f1412;
    --surface: #1a2420;
    --surface-light: #232e2a;
    --primary: #2d8a6e;
    --primary-dark: #004030;
    --primary-bright: #3da882;
    --accent: #C5A028;
    --accent-light: #D4AF37;
    --secondary: #94a3b8;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --text: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border: #2d3834;
    --border-light: #232e2a;
    --overlay: rgba(0, 0, 0, 0.55);
}
@media (prefers-color-scheme: dark) {
    .stn.system {
        --bg: #0f1412;
        --surface: #1a2420;
        --surface-light: #232e2a;
        --primary: #2d8a6e;
        --primary-dark: #004030;
        --primary-bright: #3da882;
        --accent: #C5A028;
        --accent-light: #D4AF37;
        --secondary: #94a3b8;
        --success: #10b981;
        --error: #ef4444;
        --warning: #f59e0b;
        --text: #f8fafc;
        --text-secondary: #cbd5e1;
        --text-muted: #94a3b8;
        --border: #2d3834;
        --border-light: #232e2a;
        --overlay: rgba(0, 0, 0, 0.55);
    }
    .stn.system .stn-logo-light { display: none; }
    .stn.system .stn-logo-dark { display: block; }
    .stn.system .stn-op {
        background: var(--surface) !important;
        border-color: var(--border) !important;
        box-shadow: none;
    }
    .stn.system .stn-pin-act { color: var(--accent); }
}

.stn-sec {
    margin: 12px 0 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Login PDA = React Native. Isolar do Inter (WebView Android desenha letras a dobrar). */
html:has(.pda-frame),
html:has(.pda-frame) body,
.pda-frame,
.pda-frame *:not(input):not(textarea) {
    font-family: system-ui, "Roboto", sans-serif !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    font-variation-settings: normal !important;
}
.pda-frame { background: #f5f7f6 !important; }
.pda-frame .dev-body:has(.pda-hero),
.pda-frame .dev-body:has(.pda-login) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 24px 40px !important;
}
.pda-login { width: 100%; }
.pda-hero { display: flex; justify-content: center; margin: 0 0 28px; }
.pda-hero img { height: 48px; width: auto; max-width: 100%; object-fit: contain; }
.pda-frame .dev-card,
.pda-card {
    background: #fff !important;
    border: 1px solid #d0ddd8 !important;
    border-radius: 16px !important;
    padding: 24px 22px !important;
    box-shadow: 0 6px 16px rgba(0,0,0,.08) !important;
}
.pda-frame .eyebrow,
.pda-eyebrow {
    color: #004030 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin: 0 0 4px !important;
}
.pda-frame .dev-card h2,
.pda-card-title {
    color: #0a0a0a !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    margin: 0 0 16px !important;
}
.pda-frame .nfc-pill,
.pda-nfc {
    display: block;
    margin: 0 0 20px !important;
    padding: 10px 12px !important;
    border: 1px solid #d0ddd8 !important;
    border-radius: 10px !important;
    background: #e8f0ed !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    white-space: pre-wrap !important;
    word-spacing: 0.2em !important;
}
.pda-frame .stn-field-label,
.pda-label {
    display: block;
    color: #0a0a0a !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0 0 6px !important;
}
.pda-frame .dev-card input,
.pda-frame .pda-card input {
    display: block;
    width: 100% !important;
    height: 48px;
    margin: 0 0 14px;
    padding: 0 14px;
    border: 1px solid #d0ddd8 !important;
    border-radius: 10px !important;
    background: #f0f4f2 !important;
    color: #0a0a0a !important;
    font-size: 15px !important;
    font-weight: 400 !important;
}
.pda-pass { position: relative; margin: 0 0 18px; }
.pda-pass input { margin-bottom: 0 !important; padding-right: 56px !important; }
.pda-frame .pda-pass > .stn-link,
.pda-frame .pda-pass > .pda-eye {
    position: absolute !important;
    right: 12px;
    top: 12px;
    width: auto !important;
    background: transparent !important;
    color: #64748b !important;
    border: 0 !important;
    padding: 4px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
.pda-frame button.btn-station,
.pda-frame button.pda-primary {
    display: block;
    width: 100% !important;
    margin: 0 0 14px;
    padding: 15px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #004030 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}
.pda-frame .dev-card > .stn-link,
.pda-frame button.pda-forgot {
    display: block;
    width: 100%;
    background: transparent !important;
    color: #004030 !important;
    border: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center;
    padding: 4px 0 0 !important;
}
.pda-frame .pda-uid,
.pda-frame .dev-card > .dev-row {
    display: none !important;
}
