:root {
  --ink: #091829;
  --ink-2: #102944;
  --navy: #0b2138;
  --blue: #1679e8;
  --blue-bright: #2994ff;
  --cyan: #4ec5e6;
  --ice: #f4f8fc;
  --paper: #ffffff;
  --line: #dfe8f1;
  --muted: #718096;
  --text: #1d2b3a;
  --green: #17b77b;
  --amber: #efaa2e;
  --red: #e65d6b;
  --font: 'Manrope', Arial, sans-serif;
  --mono: 'DM Mono', monospace;
  font-family: var(--font);
  color: var(--text);
  background: var(--ice);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { min-height: 100%; overflow-x: clip; background: var(--ice); color-scheme: light; }
body { margin: 0; min-width: 320px; min-height: 100vh; overflow-x: clip; font-family: var(--font); color: var(--text); background: var(--ice); color-scheme: light; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(22, 121, 232, .32); outline-offset: 2px; }
[hidden] { display: none !important; }

.ambient-grid { position: fixed; inset: 0; z-index: -1; opacity: .35; pointer-events: none; background-image: linear-gradient(rgba(120,145,172,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(120,145,172,.06) 1px, transparent 1px); background-size: 44px 44px; }
.pwa-splash { position: fixed; z-index: 100; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 32px 20px; color: #9ec8ef; opacity: 1; pointer-events: none; background: radial-gradient(circle at 50% 55%, rgba(27,125,214,.3), transparent 36%), linear-gradient(140deg, #071427, #0c2845); transition: opacity .32s ease, visibility .32s ease; }.pwa-splash img { width: min(88vw, 450px); height: min(58vh, 360px); max-width: 100%; object-fit: contain; object-position: center; }.pwa-splash span { color: #9fc4e7; font: 500 9px var(--mono); letter-spacing: .2em; }.pwa-splash.is-hidden { opacity: 0; visibility: hidden; }
.access-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.06fr) minmax(480px, .94fr); background: #f8fbfe; }
.access-brief { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 100vh; padding: 44px clamp(44px, 7.4vw, 128px) 33px; color: #edf7ff; background: radial-gradient(circle at 77% 68%, rgba(24, 126, 233, .31), transparent 31%), linear-gradient(133deg, #071427 0%, #0a1d34 57%, #0e2b49 100%); }
.access-brief::after { content: ''; position: absolute; width: 610px; height: 610px; right: -290px; bottom: -290px; border: 1px solid rgba(126,199,255,.14); border-radius: 50%; box-shadow: 0 0 0 76px rgba(126,199,255,.035), 0 0 0 151px rgba(126,199,255,.025); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; letter-spacing: .15em; line-height: 1; }
.brand b { display: block; font-size: 15px; letter-spacing: .2em; }
.brand small { display: block; margin-top: 5px; color: #7e91a6; font: 500 7px var(--mono); letter-spacing: .25em; }
.brand-wordmark { display: block; max-width: 180px; max-height: 48px; width: auto; height: auto; object-fit: contain; }
.provided-logo { display: block; max-width: 220px; max-height: 90px; width: auto; height: auto; object-fit: contain; }
.brand-on-dark { color: white; }
.brand-on-dark small { color: #9cb1c8; }
.brand-shield { display: grid; place-items: center; width: 31px; height: 34px; color: white; font: 800 17px/1 var(--font); letter-spacing: -1px; background: linear-gradient(145deg, #2ea5ff, #1566cd); clip-path: polygon(50% 0, 91% 16%, 91% 65%, 50% 100%, 9% 65%, 9% 16%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.access-copy { position: relative; z-index: 1; margin: clamp(62px, 10vh, 96px) 0 37px; max-width: 560px; }
.eyebrow, .kicker { margin: 0; color: #8fb9e5; font: 500 11px var(--mono); letter-spacing: .13em; }
.eyebrow span { display: inline-block; width: 26px; height: 1px; margin: 0 9px 4px 0; background: #3fafff; }
.access-copy h1 { margin: 16px 0 20px; font-size: clamp(44px, 4.2vw, 68px); line-height: 1.06; letter-spacing: -.06em; }
.access-copy h1 em { color: #58b7ff; font-style: normal; }
.access-description { max-width: 484px; margin: 0; color: #a7b9cb; font-size: 15px; line-height: 1.8; }
.signal-panel { position: relative; z-index: 1; width: min(100%, 472px); padding: 16px 18px 12px; border: 1px solid rgba(145,194,239,.16); border-radius: 9px; background: rgba(0,0,0,.13); backdrop-filter: blur(4px); }
.signal-top, .signal-caption { display: flex; align-items: center; justify-content: space-between; color: #8ba4bd; font: 500 9px var(--mono); letter-spacing: .08em; }
.signal-top time { color: #c8e6ff; font-size: 10px; }
.status-dot { width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #3ce29e; box-shadow: 0 0 0 4px rgba(60,226,158,.1); }
.signal-top .status-dot { margin-left: 0; }
.signal-wave { display: flex; align-items: center; gap: 4px; height: 33px; margin: 9px 0 6px; overflow: hidden; }
.signal-wave i { width: 2px; flex: 1; min-width: 2px; border-radius: 3px; background: linear-gradient(#3ea7f6, #195eaf); animation: ping 1.4s ease-in-out infinite alternate; }
.signal-wave i:nth-child(1), .signal-wave i:nth-child(11) { height: 7px; }.signal-wave i:nth-child(2), .signal-wave i:nth-child(10) { height: 13px; }.signal-wave i:nth-child(3), .signal-wave i:nth-child(9) { height: 22px; }.signal-wave i:nth-child(4), .signal-wave i:nth-child(8) { height: 11px; }.signal-wave i:nth-child(5), .signal-wave i:nth-child(7) { height: 27px; }.signal-wave i:nth-child(6) { height: 17px; }
.signal-wave i:nth-child(even) { animation-delay: .45s; }
@keyframes ping { to { transform: scaleY(.55); opacity: .55; } }
.access-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; margin-top: 24px; color: #647a91; font: 10px var(--mono); letter-spacing: .09em; }

.access-card-wrap { position: relative; display: grid; place-items: center; padding: 48px 32px; overflow: hidden; background: rgba(255,255,255,.92); }
.provided-logo { position: absolute; top: 25px; right: 29px; width: clamp(72px, 9vw, 128px); height: clamp(52px, 6.5vw, 92px); max-width: calc(100% - 58px); object-fit: contain; object-position: center; }
.access-card { width: min(100%, 430px); }
.mobile-brand { display: none; margin-bottom: 36px; }.mobile-brand .brand-wordmark { width: 151px; filter: invert(1); }
.access-card-heading h2 { margin: 10px 0 7px; color: #11253a; font-size: 29px; letter-spacing: -.045em; }
.access-card-heading p:not(.kicker) { margin: 0; color: var(--muted); font-size: 13px; }
.access-card-heading .kicker { color: var(--blue); }
.role-switcher { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin: 27px 0 13px; padding: 5px; border: 1px solid #e5edf4; border-radius: 10px; background: #f5f8fb; }
.role-choice { display: grid; place-items: center; gap: 4px; min-height: 62px; padding: 7px 3px; border: 1px solid transparent; border-radius: 7px; color: #8290a1; font-size: 10px; font-weight: 700; background: transparent; transition: .18s ease; }
.role-choice:hover { color: var(--blue); }
.role-choice.is-active { border-color: #d6eaff; color: #1679e8; background: white; box-shadow: 0 4px 12px rgba(33,79,120,.08); }
.role-icon { font-size: 16px; font-weight: 400; }
.role-hint { min-height: 52px; padding: 11px 13px; border-left: 2px solid #3f9ce9; border-radius: 3px; color: #718093; font-size: 11px; line-height: 1.55; background: #f5faff; }.role-hint b { color: #334a63; }
.login-form { margin-top: 22px; }.field-label { display: block; margin: 0 0 7px; color: #5e6f83; font-size: 11px; font-weight: 700; }.field-label:not(:first-child) { margin-top: 16px; }
.field-control { display: flex; align-items: center; height: 46px; border: 1px solid #dce5ed; border-radius: 7px; color: #9baaba; background: white; transition: border .18s, box-shadow .18s; }.field-control:focus-within { border-color: #54a7ed; box-shadow: 0 0 0 3px rgba(84,167,237,.1); }.field-control > span { width: 40px; text-align: center; color: #8ea1b3; font: 12px var(--mono); }.field-control input { width: 100%; min-width: 0; height: 100%; padding: 0 8px 0 0; border: 0; outline: 0; color: #26374a; font-size: 12px; }.field-control input::placeholder { color: #adbac7; }.password-toggle { width: 36px; height: 100%; border: 0; color: #8ea1b3; background: transparent; }.password-toggle:hover { color: var(--blue); }
.form-row { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 21px; }.remember { display: flex; align-items: center; gap: 6px; color: #7d8b9b; font-size: 10px; }.remember input { width: 13px; height: 13px; accent-color: var(--blue); }.text-button { padding: 0; border: 0; color: #1979d8; font-size: 10px; font-weight: 700; background: transparent; }.text-button:hover { color: #005ebc; text-decoration: underline; }
.auth-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }.primary-button { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 49px; padding: 0 15px 0 19px; border: 0; border-radius: 7px; color: white; font-size: 12px; font-weight: 800; background: linear-gradient(115deg, #116bcf, #2498ec); box-shadow: 0 10px 20px rgba(20,110,197,.2); transition: transform .18s, box-shadow .18s; }.primary-button:hover { transform: translateY(-1px); box-shadow: 0 13px 25px rgba(20,110,197,.29); }.primary-button b { font-size: 20px; font-weight: 400; }.first-access-button { min-width: 112px; height: 49px; padding: 0 12px; border: 1px solid #9fc8eb; border-radius: 7px; color: #116bcf; font-size: 10px; font-weight: 800; background: #f4faff; transition: border .18s, background .18s, color .18s; }.first-access-button:hover { border-color: #2186df; color: #075fae; background: #e7f4ff; }
.or-divider { display: flex; align-items: center; gap: 10px; margin: 21px 0 15px; color: #a0adba; font-size: 9px; text-align: center; }.or-divider::before, .or-divider::after { content: ''; height: 1px; flex: 1; background: #e7edf2; }
.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.social-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 41px; border: 1px solid #dce5ed; border-radius: 7px; color: #45596e; font-size: 11px; font-weight: 700; background: white; }.social-button:hover { border-color: #a9c7df; background: #fafdff; }.social-button svg { width: 15px; height: 15px; }.demo-button { display: block; width: fit-content; margin: 15px auto 0; padding: 3px; border: 0; color: #788da3; font-size: 10px; font-weight: 700; background: transparent; }.demo-button:hover { color: #1578d7; }.demo-button span { padding-left: 5px; color: var(--blue); font-size: 14px; }.login-status { min-height: 18px; margin: 10px 0 0; color: var(--red); font-size: 10px; text-align: center; }.login-status.is-success { color: var(--green); }.signup-note { margin: 6px 0 0; color: #8a98a8; font-size: 10px; text-align: center; }.terms-note { margin: 21px 0 0; color: #a2adba; font-size: 8px; line-height: 1.5; text-align: center; }
.install-button { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; height: 36px; margin: 12px auto 0; border: 1px solid #b8d8f1; border-radius: 7px; color: #1b79cd; font-size: 10px; font-weight: 800; background: #f3faff; }.install-button:hover { border-color: #62aeea; color: #0865bc; background: #e8f6ff; }.install-button span { font-size: 15px; transform: rotate(180deg); }

/* Application shell */
.app-shell { min-height: 100vh; background: var(--ice); }.sidebar { position: fixed; z-index: 10; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; width: 246px; padding: 25px 15px 17px; color: #c3d0dd; background: #0b1f34; }.sidebar-brand { display: flex; align-items: center; min-height: 45px; padding: 0 9px 25px; color: white; letter-spacing: .15em; }.sidebar-brand .brand-wordmark { width: 151px; }.sidebar-close { display: none; margin-left: auto; border: 0; color: #b6c7d7; font-size: 22px; background: transparent; }
.company-select { display: flex; align-items: center; gap: 9px; margin: 0 1px 21px; padding: 11px 10px; border: 1px solid rgba(176,209,237,.14); border-radius: 7px; color: #d7e6f3; font-size: 10px; font-weight: 700; background: rgba(255,255,255,.035); }.company-select b { margin-left: auto; color: #7995af; }.company-dot { width: 8px; height: 8px; border-radius: 50%; background: #42d9a0; box-shadow: 0 0 0 3px rgba(66,217,160,.08); }
.main-nav { display: grid; gap: 3px; }.nav-label { margin: 11px 11px 7px; color: #63809a; font: 500 8px var(--mono); letter-spacing: .13em; }.nav-item { display: flex; align-items: center; gap: 11px; min-height: 39px; padding: 0 10px; border: 0; border-left: 2px solid transparent; border-radius: 4px; color: #91a8bd; font-size: 11px; text-align: left; background: transparent; }.nav-item:hover { color: white; background: rgba(255,255,255,.045); }.nav-item.is-active { border-left-color: #2d9bf3; color: white; background: linear-gradient(90deg, rgba(26,138,230,.22), rgba(26,138,230,.02)); }.nav-item .nav-item-icon { display: grid; place-items: center; width: 16px; color: #85a6c1; font: 15px/1 Arial; }.nav-item.is-active .nav-item-icon { color: #63b7fa; }.nav-item .nav-badge { margin-left: auto; padding: 2px 6px; border-radius: 9px; color: #7bc7ff; font: 9px var(--mono); background: rgba(60,159,242,.16); }
.sidebar-bottom { margin-top: auto; }.help-card { display: flex; align-items: center; gap: 9px; width: 100%; margin-bottom: 16px; padding: 11px 9px; border: 1px solid rgba(121,182,231,.13); border-radius: 7px; color: #bbcfdf; text-align: left; background: rgba(51,117,168,.11); }.help-card:hover { background: rgba(51,117,168,.21); }.help-icon { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid rgba(146,202,244,.4); border-radius: 50%; color: #7ac6fb; font-size: 13px; }.help-card b, .help-card small { display: block; }.help-card b { font-size: 9px; }.help-card small { margin-top: 3px; color: #7894ad; font-size: 8px; }.help-card em { margin-left: auto; color: #81a5c3; font-size: 19px; font-style: normal; }.signed-user { display: flex; align-items: center; gap: 8px; padding: 13px 6px 0; border-top: 1px solid rgba(150,189,220,.12); }.avatar, .top-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 31px; height: 31px; border-radius: 50%; color: #d9f1ff; font-size: 9px; font-weight: 800; background: linear-gradient(145deg, #416e8e, #223f58); }.signed-user b, .signed-user small { display: block; max-width: 133px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.signed-user b { color: #dce8f1; font-size: 9px; }.signed-user small { margin-top: 3px; color: #7996ae; font-size: 8px; }.signed-user button { margin-left: auto; border: 0; color: #7998b0; font-size: 16px; background: transparent; }.signed-user button:hover { color: white; }
.workspace { min-height: 100vh; margin-left: 246px; }.topbar { display: flex; align-items: center; justify-content: space-between; height: 67px; padding: 0 34px; border-bottom: 1px solid #e1e9f1; background: rgba(255,255,255,.85); }.crumb { display: flex; align-items: center; gap: 9px; color: #9aa8b6; font: 10px var(--mono); letter-spacing: .06em; }.crumb b { color: #c3ced8; font-weight: 400; }.crumb strong { color: #4a627a; font-weight: 500; }.topbar-actions { display: flex; align-items: center; gap: 13px; }.live-pill { display: flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 4px; color: #20a874; font: 8px var(--mono); letter-spacing: .05em; background: #edfbf5; }.live-pill i { width: 5px; height: 5px; border-radius: 50%; background: #20b77e; }.icon-button { position: relative; width: 28px; height: 28px; padding: 0; border: 0; color: #628099; font-size: 20px; background: transparent; }.icon-button:hover { color: var(--blue); }.icon-button sup { position: absolute; top: 0; right: -2px; display: grid; place-items: center; width: 13px; height: 13px; border: 2px solid white; border-radius: 50%; color: white; font: 7px var(--mono); background: #e85667; }.top-avatar { width: 30px; height: 30px; border: 0; cursor: pointer; }.menu-button { display: none; border: 0; color: #37546d; background: transparent; font-size: 22px; }
.workspace-content { max-width: 1510px; margin: 0 auto; padding: 29px 35px 44px; }.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 25px; }.page-head h1 { margin: 2px 0 7px; color: #1a3045; font-size: 24px; letter-spacing: -.045em; }.page-head p { margin: 0; color: #8190a0; font-size: 11px; }.page-head .date-line { display: block; margin-bottom: 4px; color: #7690a9; font: 9px var(--mono); letter-spacing: .07em; }.page-action { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 0; border-radius: 6px; color: white; font-size: 10px; font-weight: 800; white-space: nowrap; background: #1679e8; box-shadow: 0 6px 14px rgba(22,121,232,.18); }.page-action:hover { background: #066bd7; }.page-action .plus { font-size: 17px; font-weight: 400; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; margin-bottom: 18px; }.metric-card { position: relative; min-height: 122px; padding: 17px; overflow: hidden; border: 1px solid #e3ebf2; border-radius: 9px; background: white; box-shadow: 0 2px 5px rgba(38,66,96,.015); }.metric-card::after { content: ''; position: absolute; width: 82px; height: 82px; top: -35px; right: -26px; border-radius: 50%; background: var(--tint, #eff7ff); }.metric-card .metric-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }.metric-card .metric-label { color: #7d8d9e; font-size: 9px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }.metric-card .metric-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; color: var(--tone, #187cde); font-size: 14px; background: var(--tint, #eff7ff); }.metric-card strong { position: relative; z-index: 1; display: block; margin: 11px 0 3px; color: #21384e; font-size: 23px; letter-spacing: -.05em; }.metric-card small { position: relative; z-index: 1; color: #8f9dab; font-size: 9px; }.metric-card small.positive { color: #1aa977; }.metric-card small.warning { color: #d18b14; }.metric-card small b { font-weight: 800; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(290px,.75fr); gap: 18px; }.panel { border: 1px solid #e3ebf2; border-radius: 9px; background: white; }.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 18px 13px; }.panel-head h2 { margin: 0; color: #2b4055; font-size: 12px; letter-spacing: -.01em; }.panel-head p { margin: 2px 0 0; color: #9aa8b7; font-size: 9px; }.panel-link { padding: 0; border: 0; color: #1c82e9; font-size: 9px; font-weight: 800; background: transparent; }.panel-link:hover { text-decoration: underline; }.chart-area { height: 202px; padding: 3px 17px 17px; }.chart-legend { display: flex; justify-content: flex-end; gap: 13px; color: #8998a8; font-size: 8px; }.chart-legend i { display: inline-block; width: 7px; height: 7px; margin-right: 3px; border-radius: 2px; background: #278ceb; }.chart-legend .legend-line { background: #b8c8d7; }.chart { position: relative; display: flex; align-items: flex-end; gap: 8px; height: 151px; margin-top: 10px; padding: 12px 3px 0 29px; border-bottom: 1px solid #edf1f5; background: repeating-linear-gradient(to bottom, transparent 0, transparent 36px, #eef3f6 37px); }.chart-y { position: absolute; left: 0; top: 7px; bottom: 9px; display: flex; flex-direction: column; justify-content: space-between; color: #aab5c0; font: 8px var(--mono); }.bar-group { display: grid; grid-template-columns: 8px 8px; align-items: end; gap: 3px; flex: 1; height: 100%; min-width: 13px; }.bar { min-height: 4px; border-radius: 2px 2px 0 0; background: #2890ec; }.bar.muted { background: #c5d2de; }.chart-labels { display: grid; grid-template-columns: repeat(7,1fr); margin: 5px 0 0 30px; color: #99a8b6; font: 8px var(--mono); text-align: center; }
.agenda-list, .event-list, .payment-list, .table-list { padding: 0 17px 12px; }.agenda-row, .event-row, .payment-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #edf1f4; }.agenda-row:first-child, .event-row:first-child, .payment-row:first-child { border-top: 0; }.agenda-time { width: 40px; color: #277ed1; font: 9px var(--mono); }.agenda-row b, .event-row b, .payment-row b { display: block; color: #42576a; font-size: 10px; }.agenda-row small, .event-row small, .payment-row small { display: block; margin-top: 2px; color: #9aa7b4; font-size: 8px; }.agenda-indicator { width: 7px; height: 7px; border-radius: 50%; background: #f4b13d; }.agenda-indicator.blue { background: #3298ee; }.agenda-indicator.green { background: #2cc18a; }.event-mark { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 6px; color: #257cc9; font-size: 13px; background: #eff8ff; }.event-mark.red { color: #dd6470; background: #fff1f3; }.event-mark.green { color: #17a576; background: #eefbf6; }.event-row > div:nth-child(2) { flex: 1; }.row-status { padding: 3px 6px; border-radius: 4px; color: #158965; font: 8px var(--mono); background: #eafaf3; }.row-status.warn { color: #c17e13; background: #fff7e8; }.row-status.alert { color: #ce5463; background: #fff0f2; }
.section-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 18px; }.module-card { padding: 21px; }.module-card h2 { margin: 0 0 6px; color: #2b4055; font-size: 15px; }.module-card > p { margin: 0 0 20px; color: #8595a4; font-size: 10px; }.quick-actions { display: grid; gap: 8px; }.quick-action { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid #e5edf3; border-radius: 7px; color: #3d566d; text-align: left; background: #fff; }.quick-action:hover { border-color: #8cc7f4; background: #fafeff; }.quick-action .quick-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 6px; color: #1679e8; background: #edf7ff; }.quick-action b { display: block; font-size: 10px; }.quick-action small { display: block; margin-top: 2px; color: #99a8b5; font-size: 8px; }.quick-action em { margin-left: auto; color: #77a5c7; font-size: 17px; font-style: normal; }
.data-table { width: 100%; border-collapse: collapse; }.data-table th { padding: 10px 12px; border-bottom: 1px solid #e8eef3; color: #8fa0af; font: 8px var(--mono); letter-spacing: .05em; text-align: left; text-transform: uppercase; }.data-table td { padding: 13px 12px; border-bottom: 1px solid #eef2f5; color: #53697d; font-size: 10px; }.data-table tr:last-child td { border-bottom: 0; }.data-table strong { color: #2d445b; font-size: 10px; }.data-table small { display: block; margin-top: 3px; color: #a0adba; font-size: 8px; }.table-avatar { display: inline-grid; place-items: center; width: 25px; height: 25px; margin-right: 7px; border-radius: 50%; color: #2479c8; font-size: 8px; font-weight: 800; vertical-align: middle; background: #edf7ff; }.tag { display: inline-block; padding: 3px 6px; border-radius: 4px; color: #3f759e; font: 8px var(--mono); background: #edf6fc; }.tag.success { color: #168c68; background: #ebfaf3; }.tag.warning { color: #bf7d11; background: #fff6e4; }.tag.danger { color: #cb5967; background: #fff0f2; }
.empty-panel { display: grid; place-items: center; min-height: 210px; padding: 25px; color: #8b9bab; text-align: center; }.empty-panel .empty-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 11px; border-radius: 50%; color: #2685e2; font-size: 21px; background: #edf7ff; }.empty-panel b { color: #425971; font-size: 12px; }.empty-panel p { max-width: 330px; margin: 6px 0 0; font-size: 10px; line-height: 1.6; }
.notice-strip { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 19px; padding: 12px 14px; border: 1px solid #d7eafa; border-radius: 7px; color: #53718c; font-size: 10px; line-height: 1.55; background: #f2f9ff; }.notice-strip b { color: #2479c4; }.notice-strip .notice-icon { color: #2388e7; font-size: 16px; }

.modal-form select {
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 2 !important;
  background-color: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.modal { width: min(94vw, 510px); padding: 0; overflow: hidden; border: 0; border-radius: 11px; box-shadow: 0 24px 65px rgba(6,23,42,.27); }.modal::backdrop { background: rgba(6,22,39,.48); backdrop-filter: blur(2px); }.modal-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 21px 22px 16px; border-bottom: 1px solid #e8eef3; }.modal-header .kicker { color: var(--blue); font-size: 9px; }.modal-header h2 { margin: 5px 0 0; color: #21394f; font-size: 18px; letter-spacing: -.04em; }.modal-close { width: 27px; height: 27px; border: 0; border-radius: 5px; color: #8295a7; font-size: 21px; line-height: 1; background: #f2f6f9; }.modal-close:hover { color: #de5666; }.modal-form { display: grid; gap: 13px; padding: 19px 22px 22px; }.modal-form label { display: grid; gap: 6px; color: #607387; font-size: 10px; font-weight: 800; }.modal-form input, .modal-form select, .modal-form textarea { width: 100%; padding: 10px; border: 1px solid #dce6ee; border-radius: 6px; outline: none; color: #314a61; font-size: 11px; background: white; }.modal-form textarea { min-height: 76px; resize: vertical; }.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus { border-color: #57a7ea; box-shadow: 0 0 0 3px rgba(87,167,234,.1); }.modal-form .form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }.photo-zone { display: grid; place-items: center; min-height: 74px; border: 1px dashed #9cc7ea; border-radius: 7px; color: #3989d2; font-size: 10px; background: #f6fbff; }.photo-zone input { display: none; }.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 3px; }.secondary-action { padding: 9px 11px; border: 1px solid #d8e3ec; border-radius: 6px; color: #63788c; font-size: 10px; font-weight: 800; background: white; }.submit-action { padding: 9px 13px; border: 0; border-radius: 6px; color: white; font-size: 10px; font-weight: 800; background: #1679e8; }.submit-action:hover { background: #096acf; }
.toast { position: fixed; z-index: 30; right: 25px; bottom: 24px; max-width: min(360px, calc(100vw - 40px)); padding: 12px 14px; border-radius: 7px; color: white; font-size: 11px; font-weight: 700; pointer-events: none; opacity: 0; transform: translateY(10px); transition: .2s ease; background: #193c5d; box-shadow: 0 10px 25px rgba(8,32,55,.21); }.toast.is-visible { opacity: 1; transform: translateY(0); }.toast.is-success { background: #147d5b; }.toast.is-error { background: #c55161; }

@media (max-width: 1080px) { .access-shell { grid-template-columns: minmax(380px,.92fr) minmax(450px,1.08fr); }.access-brief { padding-left: 52px; padding-right: 52px; }.metric-grid { grid-template-columns: repeat(2,1fr); }.dashboard-grid { grid-template-columns: 1fr; }.section-layout { grid-template-columns: 1fr; }.quick-actions { grid-template-columns: repeat(3,1fr); } }
.internal-notification-list { display: grid; gap: 9px; max-height: min(56vh, 480px); overflow: auto; padding-right: 3px; }.internal-notification { display: flex; align-items: flex-start; justify-content: space-between; gap: 13px; padding: 13px; border: 1px solid #e0eaf1; border-radius: 8px; background: #fbfdff; }.internal-notification.is-unread { border-color: #b8d9f5; background: #f1f8ff; box-shadow: inset 3px 0 0 #1984e8; }.internal-notification div { min-width: 0; }.internal-notification span { display: block; margin-bottom: 4px; color: #3583c8; font-size: 9px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }.internal-notification h3 { margin: 0; color: #21394f; font-size: 13px; line-height: 1.25; }.internal-notification p { margin: 5px 0; color: #647b90; font-size: 11px; line-height: 1.45; }.internal-notification small { color: #8495a6; font-size: 10px; }.internal-notification .secondary-action { flex: 0 0 auto; white-space: nowrap; }.notification-read { flex: 0 0 auto; color: #3d9876; font-size: 10px; }
@media (max-width: 780px) { .access-shell { display: block; }.access-brief { display: none; }.access-card-wrap { min-height: 100vh; padding: 30px 20px; }.provided-logo { display: none; }.mobile-brand { display: inline-flex; }.sidebar { left: -260px; transition: left .2s ease; }.app-shell.is-menu-open .sidebar { left: 0; box-shadow: 14px 0 32px rgba(1,16,29,.24); }.sidebar-close, .menu-button { display: block; }.workspace { margin-left: 0; }.topbar { height: 61px; padding: 0 18px; }.crumb { display: none; }.topbar-actions { margin-left: auto; }.live-pill { display: none; }.workspace-content { padding: 23px 18px 35px; }.page-head { margin-bottom: 18px; }.page-head h1 { font-size: 21px; }.metric-grid { gap: 10px; }.metric-card { min-height: 110px; padding: 13px; }.metric-card strong { font-size: 19px; }.quick-actions { grid-template-columns: 1fr; }.data-table { min-width: 640px; }.panel.table-panel { overflow-x: auto; }.modal-form .form-columns { grid-template-columns: 1fr; }.internal-notification { display: grid; }.internal-notification .secondary-action { justify-self: start; } }
@media (max-width: 780px) { .pwa-splash { display: flex; } }
@media (prefers-color-scheme: dark) { :root, html, body { color: #1d2b3a; background: #f4f8fc; color-scheme: light; } input, select, textarea { color: #26374a; background-color: #fff; } }
@media (max-width: 470px) { .access-card-wrap { padding: 24px 17px; }.access-card-heading h2 { font-size: 25px; }.role-choice { font-size: 9px; }.metric-grid { grid-template-columns: 1fr 1fr; }.topbar-actions { gap: 7px; }.page-head { align-items: flex-start; }.page-action { padding: 9px 10px; font-size: 9px; }.page-action span:not(.plus) { display: none; }.workspace-content { padding: 19px 13px 30px; }.panel-head { padding-left: 14px; padding-right: 14px; }.chart-area { padding-left: 12px; padding-right: 12px; } }

/* Tipografia ampliada em toda a central para leitura confortável. */
.brand small { font-size:8px; }.eyebrow,.kicker { font-size:12px; }.access-description { font-size:17px; }.signal-top,.signal-caption { font-size:10px; }.signal-top time { font-size:11px; }.access-footer { font-size:11px; }
.access-card-heading h2 { font-size:33px; }.access-card-heading p:not(.kicker) { font-size:15px; }.role-choice { font-size:12px; }.role-hint { font-size:13px; }.field-label { font-size:13px; }.field-control { height:50px; }.field-control > span { font-size:13px; }.field-control input { font-size:14px; }.remember,.text-button { font-size:12px; }.form-security { color:#7d8b9b; font-size:12px; }.primary-button { height:52px; font-size:14px; }.first-access-button { height:52px; font-size:12px; }.or-divider { font-size:11px; }.social-button { height:44px; font-size:13px; }.demo-button,.install-button,.login-status,.signup-note { font-size:12px; }.terms-note { font-size:10px; }
.company-select { font-size:12px; }.nav-label { font-size:9px; }.nav-item { min-height:43px; font-size:13px; }.nav-item .nav-item-icon { font-size:17px; }.nav-item .nav-badge { font-size:10px; }.help-card b { font-size:11px; }.help-card small { font-size:10px; }.signed-user b { font-size:11px; }.signed-user small { font-size:10px; }.avatar,.top-avatar { font-size:10px; }
.crumb { font-size:11px; }.live-pill { font-size:9px; }.workspace-content { padding-top:34px; }.page-head h1 { font-size:29px; }.page-head p { font-size:13px; }.page-head .date-line { font-size:10px; }.page-action { font-size:12px; }.metric-card .metric-label { font-size:10px; }.metric-card strong { font-size:27px; }.metric-card small { font-size:11px; }.panel-head h2 { font-size:14px; }.panel-head p { font-size:11px; }.panel-link { font-size:11px; }.chart-legend,.chart-y,.chart-labels { font-size:9px; }
.agenda-time { font-size:10px; }.agenda-row b,.event-row b,.payment-row b { font-size:12px; }.agenda-row small,.event-row small,.payment-row small { font-size:10px; }.row-status { font-size:9px; }.module-card h2 { font-size:18px; }.module-card > p { font-size:12px; }.quick-action b { font-size:12px; }.quick-action small { font-size:10px; }.data-table th { font-size:9px; }.data-table td,.data-table strong { font-size:12px; }.data-table small { font-size:10px; }.table-avatar,.tag { font-size:9px; }.empty-panel b { font-size:14px; }.empty-panel p,.notice-strip { font-size:12px; }
.modal-header .kicker { font-size:10px; }.modal-header h2 { font-size:21px; }.modal-form label { font-size:12px; }.modal-form input,.modal-form select,.modal-form textarea { font-size:13px; }.photo-zone,.secondary-action,.submit-action { font-size:12px; }.toast { font-size:12px; }
@media (max-width: 780px) { .access-card-heading h2 { font-size:29px; }.access-card-heading p:not(.kicker),.access-description { font-size:14px; }.page-head h1 { font-size:25px; }.page-head p { font-size:12px; }.metric-card strong { font-size:23px; }.nav-item { font-size:12px; }.panel-head h2 { font-size:13px; }.data-table td,.data-table strong { font-size:11px; } }

/* Mantém a ação de saída acessível mesmo em janelas com pouca altura. */
.sidebar { overflow-y:auto; }

/* Painel corporativo Hummer: uma barra de comando própria substitui a navegação lateral. */
.corporate-shell { min-height:100vh; background:#f3f7fb; isolation:isolate; }
.corporate-shell::before { content:''; position:fixed; z-index:-1; inset:0; pointer-events:none; background:radial-gradient(760px 380px at 92% -10%,rgba(47,149,235,.12),transparent 68%),radial-gradient(640px 350px at -8% 100%,rgba(35,91,139,.075),transparent 70%),linear-gradient(120deg,#f7fafc 0%,#edf3f8 100%); }
.command-rail { position:relative; z-index:20; border-bottom:1px solid rgba(147,174,199,.25); color:#dcecf8; box-shadow:0 14px 36px rgba(3,24,45,.12); background:linear-gradient(108deg,#061a2e 0%,#08243e 57%,#0a2c4a 100%); }
.command-rail::after { content:''; position:absolute; right:0; bottom:-1px; left:0; height:2px; opacity:.72; background:linear-gradient(90deg,transparent 0%,#2ea2f3 23%,#5cd7b0 52%,#2ea2f3 77%,transparent 100%); }
.rail-primary,.rail-navigation { display:flex; align-items:center; width:min(1580px,100%); margin:0 auto; padding-right:clamp(18px,3vw,42px); padding-left:clamp(18px,3vw,42px); }
.rail-primary { min-height:70px; gap:23px; }
.rail-brand { display:flex; flex:0 0 185px; align-items:center; }
.rail-brand .brand-wordmark { display:block; width:164px; max-height:40px; object-fit:contain; object-position:left center; }
.rail-company { display:flex; flex:0 1 254px; align-items:center; min-width:0; margin:0; padding:9px 12px; border:1px solid rgba(161,207,242,.22); border-radius:7px; color:#e6f2fb; font-size:12px; background:rgba(255,255,255,.045); box-shadow:inset 0 1px rgba(255,255,255,.04); }
.rail-company select { width:100%; min-width:0; overflow:hidden; border:0; color:inherit; font:inherit; font-weight:700; text-overflow:ellipsis; white-space:nowrap; appearance:none; outline:0; background:transparent; cursor:pointer; }
.rail-company select option { color:#0b1f34; background:#fff; }
.rail-company:hover { border-color:rgba(103,190,249,.52); background:rgba(95,175,229,.12); }
.rail-company b { margin-left:auto; color:#86b6d9; }
.rail-status { display:flex; align-items:center; gap:8px; min-width:max-content; color:#87b6d8; font:10px var(--mono); letter-spacing:.11em; }
.rail-status i { width:7px; height:7px; border-radius:50%; background:#41d7a0; box-shadow:0 0 0 5px rgba(65,215,160,.09),0 0 13px rgba(65,215,160,.68); animation:hummer-signal 2.4s ease-in-out infinite; }
.rail-account { display:flex; align-items:center; gap:10px; margin-left:auto; }
.account-chip { display:flex; align-items:center; gap:9px; max-width:240px; padding:3px; border:0; color:#e8f3fb; text-align:left; background:transparent; }
.account-chip:hover .avatar { box-shadow:0 0 0 3px rgba(78,177,240,.2); transform:translateY(-1px); }
.avatar { width:34px; height:34px; color:#dff4ff; font-size:10px; background:linear-gradient(145deg,#4483ae,#1c3e5b); box-shadow:inset 0 1px rgba(255,255,255,.16); transition:.2s ease; }
.account-copy { min-width:0; }
.account-copy b,.account-copy small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account-copy b { color:#edf7ff; font-size:11px; }
.account-copy small { margin-top:3px; color:#85aeca; font-size:10px; }
.rail-logout { display:inline-flex; align-items:center; gap:6px; padding:8px 10px; border:1px solid rgba(171,209,238,.2); border-radius:6px; color:#b9d5e8; font-size:11px; font-weight:800; background:rgba(255,255,255,.035); transition:.2s ease; }
.rail-logout:hover { border-color:rgba(111,194,247,.62); color:#fff; background:rgba(76,165,224,.14); }
.rail-logout span { color:#6bc1f7; font-size:14px; }
.rail-account .account-notification { position:relative; display:grid; place-items:center; flex:0 0 auto; width:34px; height:34px; border:1px solid rgba(171,209,238,.2); border-radius:7px; color:#bfe4fa; font-size:16px; background:rgba(255,255,255,.035); transition:.2s ease; }.rail-account .account-notification:hover { border-color:rgba(111,194,247,.62); color:#fff; background:rgba(76,165,224,.14); }.rail-account .account-notification .notification-icon { width:20px; height:20px; object-fit:contain; filter:drop-shadow(0 2px 4px rgba(255,164,0,.28)); }.rail-account .account-notification sup { position:absolute; top:-5px; right:-5px; border-color:#08243e; }
.rail-navigation { gap:18px; min-height:51px; border-top:1px solid rgba(172,209,238,.1); }
.main-nav { display:flex; flex:1 1 auto; align-items:center; gap:4px; min-width:0; overflow-x:auto; scrollbar-width:none; }
.main-nav::-webkit-scrollbar { display:none; }
.main-nav .nav-label { display:none; }
.main-nav .nav-item { position:relative; display:inline-flex; flex:0 0 auto; align-items:center; gap:8px; min-height:33px; padding:0 10px; border:1px solid transparent; border-radius:5px; color:#9fb9cd; font-size:11px; line-height:1; white-space:nowrap; background:transparent; transition:color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease; }
.main-nav .nav-item::after { content:''; position:absolute; right:10px; bottom:-10px; left:10px; height:2px; border-radius:3px; opacity:0; transform:scaleX(.45); background:#5ec5ff; transition:.2s ease; }
.main-nav .nav-item:hover { border-color:rgba(144,204,241,.18); color:#eff8ff; background:rgba(255,255,255,.055); transform:translateY(-1px); }
.main-nav .nav-item.is-active { border:1px solid rgba(79,177,237,.38); color:#fff; background:linear-gradient(135deg,rgba(36,142,220,.31),rgba(71,186,239,.11)); box-shadow:inset 0 1px rgba(190,233,255,.14); }
.main-nav .nav-item.is-active::after { opacity:1; transform:scaleX(1); }
.main-nav .nav-item .nav-item-icon { width:auto; color:#7cbce7; font-size:14px; }
.main-nav .nav-item.is-active .nav-item-icon { color:#aee5ff; }
.main-nav .nav-badge { margin-left:1px; padding:3px 5px; color:#aee7ff; font-size:9px; background:rgba(45,159,235,.2); }
.rail-utilities { display:flex; flex:0 0 auto; align-items:center; gap:5px; padding-left:12px; border-left:1px solid rgba(168,208,235,.13); }
.support-button { padding:7px 8px; border:0; color:#a9c6da; font-size:10px; font-weight:800; background:transparent; }
.support-button:hover { color:#fff; }
.rail-utilities .icon-button { width:31px; height:31px; color:#b2d5eb; font-size:18px; }
.rail-utilities .icon-button:hover { color:#fff; }
.rail-utilities .icon-button sup { border-color:#0a2844; }
.workspace { min-height:calc(100vh - 121px); margin-left:0; }
.workspace-bar { display:flex; align-items:center; justify-content:space-between; min-height:54px; padding:0 clamp(18px,3vw,42px); border-bottom:1px solid rgba(197,212,225,.7); background:rgba(249,252,254,.78); backdrop-filter:blur(12px); }
.workspace-bar .crumb { font-size:10px; }
.workspace-presence { display:flex; align-items:center; gap:12px; }
.workspace-presence .live-pill { font-size:9px; background:#eafaf3; }
.workspace-sync { color:#8296a8; font-size:10px; }
.workspace-content { max-width:1580px; padding:34px clamp(18px,3vw,42px) 54px; }
.page-head { position:relative; align-items:center; margin-bottom:26px; padding:2px 0 17px; border-bottom:1px solid rgba(196,212,225,.68); }
.page-head::after { content:''; position:absolute; bottom:-1px; left:0; width:68px; height:2px; border-radius:4px; background:linear-gradient(90deg,#137ddb,#59c8fb); }
.page-head h1 { margin:4px 0 8px; color:#102d47; font-size:31px; letter-spacing:-.055em; }
.page-head p { max-width:720px; color:#6f8598; font-size:13px; line-height:1.55; }
.page-head .date-line { color:#6587a5; font-size:10px; letter-spacing:.1em; }
.page-action { min-height:42px; padding:0 15px; border-radius:7px; font-size:12px; background:linear-gradient(135deg,#187fde,#1ca0ee); box-shadow:0 10px 20px rgba(25,125,221,.19),inset 0 1px rgba(255,255,255,.18); transition:transform .2s ease,box-shadow .2s ease,filter .2s ease; }
.page-action:hover { transform:translateY(-2px); filter:brightness(1.04); box-shadow:0 14px 26px rgba(25,125,221,.25),inset 0 1px rgba(255,255,255,.18); background:linear-gradient(135deg,#187fde,#1ca0ee); }
.metric-grid { grid-template-columns:repeat(auto-fit,minmax(205px,1fr)); gap:14px; margin-bottom:18px; }
.metric-card { min-height:132px; padding:18px; border-color:rgba(195,213,228,.8); border-radius:10px; box-shadow:0 8px 22px rgba(23,55,84,.035),inset 0 1px rgba(255,255,255,.9); transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.metric-card::before { content:''; position:absolute; top:0; right:18px; left:18px; height:2px; border-radius:0 0 4px 4px; opacity:.65; background:var(--tone,#1686e8); }
.metric-card:hover { border-color:rgba(99,166,212,.55); box-shadow:0 14px 30px rgba(25,65,100,.09),inset 0 1px rgba(255,255,255,.92); transform:translateY(-3px); }
.metric-card .metric-label { font-size:10px; letter-spacing:.065em; }
.metric-card strong { margin-top:13px; color:#173953; font-size:27px; }
.metric-card small { font-size:11px; }
.dashboard-grid { grid-template-columns:minmax(0,1.32fr) minmax(315px,.68fr); gap:18px; }
.panel { overflow:hidden; border-color:rgba(195,213,228,.78); border-radius:10px; box-shadow:0 9px 26px rgba(20,55,86,.038),inset 0 1px rgba(255,255,255,.9); transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.panel:hover { border-color:rgba(127,178,216,.57); box-shadow:0 15px 34px rgba(20,55,86,.075),inset 0 1px rgba(255,255,255,.92); }
.panel-head { padding:19px 20px 14px; border-bottom:1px solid rgba(222,231,238,.82); }
.panel-head h2 { color:#203d55; font-size:15px; }
.panel-head p { margin-top:4px; color:#8195a6; font-size:11px; }
.panel-link { color:#167bd9; font-size:11px; }
.agenda-list,.event-list,.payment-list,.table-list { padding:0 20px 14px; }
.agenda-row,.event-row,.payment-row { padding:13px 0; }
.agenda-time { width:48px; font-size:10px; }
.agenda-row b,.event-row b,.payment-row b { color:#3a5369; font-size:12px; }
.agenda-row small,.event-row small,.payment-row small { margin-top:4px; font-size:10px; }
.event-mark { width:32px; height:32px; border-radius:8px; }
.row-status { padding:4px 7px; font-size:9px; }
.module-card { padding:22px; }
.module-card h2 { color:#203d55; font-size:18px; }
.module-card > p { color:#72899c; font-size:12px; line-height:1.55; }
.quick-action { padding:13px; border-radius:8px; }
.quick-action:hover { border-color:#94c6ea; background:#f7fbfe; transform:translateX(2px); }
.quick-action b { font-size:12px; }.quick-action small { font-size:10px; }
.data-table th { padding:12px 14px; font-size:9px; }.data-table td { padding:14px; font-size:12px; }.data-table strong { font-size:12px; }.data-table small { font-size:10px; }
.notice-strip { border-radius:8px; font-size:12px; background:linear-gradient(110deg,#f1f9ff,#f8fcff); }
.control-list { padding:0 20px 14px; }
.control-row { display:flex; align-items:center; gap:11px; padding:13px 0; border-top:1px solid #edf2f6; }
.control-row:first-child { border-top:0; }
.control-symbol { display:grid; place-items:center; flex:0 0 auto; width:33px; height:33px; border-radius:8px; color:#2a8ddb; font-size:15px; background:#edf8ff; }
.control-symbol.success { color:#15966b; background:#ebfaf3; }.control-symbol.warning { color:#c78a17; background:#fff7e8; }.control-symbol.danger { color:#d35c6a; background:#fff0f2; }.control-symbol.info { color:#2d85d7; background:#eef8ff; }
.control-row > div { min-width:0; flex:1; }.control-row b,.control-row small { display:block; }.control-row b { color:#3a5369; font-size:12px; }.control-row small { margin-top:4px; color:#8799a9; font-size:10px; line-height:1.4; }
.control-state { flex:0 0 auto; padding:4px 7px; border-radius:5px; color:#2877b8; font:9px var(--mono); background:#edf7ff; }.control-state.success { color:#168b66; background:#eafaf2; }.control-state.warning { color:#bd7c11; background:#fff6e4; }.control-state.danger { color:#c75564; background:#fff0f2; }.control-state.info { color:#277ec6; background:#edf7ff; }
.command-welcome { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(440px,.92fr); gap:28px; align-items:center; margin-bottom:18px; padding:25px 26px; overflow:hidden; border:1px solid rgba(153,195,224,.45); border-radius:11px; color:#d8ebf9; background:linear-gradient(118deg,#092946 0%,#0b385c 58%,#105376 100%); box-shadow:0 17px 33px rgba(10,53,84,.14); }
.command-welcome-copy { position:relative; z-index:1; }.command-welcome-kicker { display:flex; align-items:center; gap:8px; margin-bottom:11px; color:#83c8f7; font:10px var(--mono); letter-spacing:.13em; }.command-welcome-kicker i { width:7px; height:7px; border-radius:50%; background:#52dca7; box-shadow:0 0 0 4px rgba(82,220,167,.12); }.command-welcome h2 { max-width:570px; margin:0; color:#fff; font-size:23px; letter-spacing:-.045em; line-height:1.16; }.command-welcome p { max-width:600px; margin:10px 0 0; color:#b8d3e7; font-size:12px; line-height:1.6; }
.command-shortcuts { display:grid; grid-template-columns:1fr 1fr; gap:8px; }.command-shortcut { display:flex; align-items:center; gap:10px; min-height:65px; padding:10px 11px; border:1px solid rgba(164,213,242,.2); border-radius:8px; color:#e9f5ff; text-align:left; background:rgba(255,255,255,.055); transition:transform .2s ease,border-color .2s ease,background .2s ease; }.command-shortcut:hover { border-color:rgba(122,207,250,.58); background:rgba(79,176,230,.16); transform:translateY(-2px); }.command-shortcut > span { display:grid; place-items:center; flex:0 0 auto; width:30px; height:30px; border-radius:7px; color:#aee4ff; font-size:14px; background:rgba(79,184,239,.15); }.command-shortcut div { min-width:0; flex:1; }.command-shortcut b,.command-shortcut small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.command-shortcut b { font-size:11px; }.command-shortcut small { margin-top:3px; color:#a9c8dc; font-size:9px; }.command-shortcut em { color:#8bd5ff; font-size:19px; font-style:normal; }.command-entry-grid { margin-top:18px; }
.custody-action-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:12px; margin:0 0 18px; }
.custody-action { display:grid; grid-template-columns:32px minmax(0,1fr); column-gap:10px; align-items:center; min-height:88px; padding:14px; border:1px solid rgba(183,210,230,.92); border-radius:10px; color:#2a4860; text-align:left; background:linear-gradient(145deg,#fff,#f7fbfe); box-shadow:0 8px 20px rgba(22,58,88,.035); transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.custody-action:hover { border-color:#77b8e7; box-shadow:0 14px 28px rgba(24,98,151,.11); transform:translateY(-2px); }.custody-action > span { display:grid; grid-row:span 2; place-items:center; width:32px; height:32px; border-radius:8px; color:#167bd9; font-size:17px; background:#eaf6ff; }.custody-action b { align-self:end; color:#29455d; font-size:12px; }.custody-action small { align-self:start; margin-top:3px; color:#7690a3; font-size:10px; line-height:1.35; }
.custody-action.primary { border-color:#3d9be3; color:white; background:linear-gradient(135deg,#0d5d9d,#1689dd); box-shadow:0 12px 24px rgba(20,104,173,.2); }.custody-action.primary:hover { border-color:#8dd2ff; box-shadow:0 16px 30px rgba(20,104,173,.3); }.custody-action.primary > span { color:#d9f2ff; background:rgba(255,255,255,.13); }.custody-action.primary b { color:#fff; }.custody-action.primary small { color:#c4e6fb; }
.custody-row { display:grid; grid-template-columns:32px minmax(0,1fr) auto auto; gap:10px; align-items:center; }.custody-row > div { min-width:0; }.custody-row small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.custody-row .panel-link { padding:6px 8px; border:1px solid #c8dfef; border-radius:6px; background:#f8fcff; }.custody-row .tag { white-space:nowrap; }
.custody-row-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.evidence-preview { display:block; width:100%; max-height:56vh; object-fit:contain; border:1px solid #d8e7f1; border-radius:8px; background:#f4f9fc; }
.custody-client-card { position:relative; min-height:230px; overflow:hidden; background:linear-gradient(135deg,#fff,#f4faff); }.custody-client-card::after { content:'⌘'; position:absolute; right:-12px; bottom:-45px; color:rgba(26,136,222,.075); font-size:190px; line-height:1; }.custody-client-card > * { position:relative; z-index:1; }.custody-client-card h2 { margin:20px 0 4px; font-size:26px; letter-spacing:.035em; }.custody-client-card .notice-strip { margin-top:21px; }
.qr-scan-field { position:relative; display:grid; gap:9px; margin:16px 0; padding:14px; border:1px solid #a6d5f5; border-radius:9px; background:linear-gradient(135deg,#f1faff,#f8fcff); }.qr-scan-field b,.qr-scan-field small { display:block; }.qr-scan-field b { color:#24516f; font-size:12px; }.qr-scan-field small { margin-top:3px; color:#6e8da4; font-size:10px; line-height:1.45; }.qr-scan-field input { min-height:39px; border:1px solid #cae3f4; border-radius:6px; color:#1b5f91; font:600 11px var(--mono); background:#fff; }.qr-scan-button { min-height:39px; border:1px solid #288ee2; border-radius:6px; color:#fff; font-size:11px; font-weight:800; background:linear-gradient(135deg,#1678ce,#25a4ed); box-shadow:0 7px 16px rgba(26,125,209,.18); }.qr-scan-button:hover { filter:brightness(1.05); }.qr-scan-status { margin:0; color:#5f8199; font-size:10px; }.qr-camera-shell { position:relative; overflow:hidden; min-height:180px; border:2px solid #238de1; border-radius:8px; background:#09243a; }.qr-camera-shell::after { content:''; position:absolute; inset:22% 18%; border:2px solid #78d2ff; border-radius:7px; box-shadow:0 0 0 999px rgba(3,20,33,.23); pointer-events:none; }.qr-camera-preview { display:block; width:100%; min-height:180px; max-height:260px; object-fit:cover; }
.plantao-home { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(360px,.7fr); gap:20px; align-items:center; margin:0 0 20px; padding:24px 26px; overflow:hidden; border:1px solid rgba(64,162,222,.48); border-radius:11px; color:#d8edf9; background:linear-gradient(118deg,#062643 0%,#0b426d 58%,#0e6d93 100%); box-shadow:0 17px 33px rgba(10,53,84,.15); }.plantao-home.is-active { border-color:rgba(88,225,172,.5); background:linear-gradient(118deg,#073b4e 0%,#075b65 58%,#08736e 100%); }.plantao-home .command-welcome-kicker { margin-bottom:10px; }.plantao-home h2 { margin:0; color:white; font-size:24px; letter-spacing:-.045em; }.plantao-home p { max-width:650px; margin:9px 0 0; color:#bdd9e9; font-size:12px; line-height:1.55; }.plantao-home-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; align-items:center; }.plantao-home-summary > div { min-height:66px; padding:11px; border:1px solid rgba(191,230,250,.2); border-radius:8px; background:rgba(255,255,255,.07); }.plantao-home-summary b,.plantao-home-summary small { display:block; }.plantao-home-summary b { color:#fff; font-size:21px; }.plantao-home-summary small { margin-top:3px; color:#bad7e7; font-size:9px; }.plantao-home-summary .page-action { grid-column:1 / -1; width:100%; justify-content:center; color:white; background:linear-gradient(135deg,#177ede,#20a6ef); }
.shift-form-intro { margin:0 0 16px; padding:13px 14px; border-left:3px solid #2189df; border-radius:6px; background:#f2f9ff; }.shift-form-intro span { color:#1f80d3; font:10px var(--mono); letter-spacing:.1em; }.shift-form-intro p { margin:5px 0 0; color:#607d93; font-size:11px; line-height:1.5; }.modal-form label small { display:block; margin-top:5px; color:#7891a5; font-size:9px; line-height:1.4; }.shift-declaration { display:flex!important; gap:10px; align-items:flex-start; padding:13px!important; border:1px solid #b9daf2; border-radius:8px; background:#f7fbfe; }.shift-declaration input { width:17px!important; height:17px!important; min-height:0!important; margin:2px 0 0; accent-color:#1884dc; }.shift-declaration b,.shift-declaration small { display:block; }.shift-declaration b { color:#36566e; font-size:11px; line-height:1.4; }.shift-declaration small { margin-top:4px; color:#718ba0; font-size:9px; line-height:1.45; }
.shift-snapshot { margin:15px 0; overflow:hidden; border:1px solid #c9e0ef; border-radius:9px; background:#fbfdff; }.shift-snapshot-head { display:flex; justify-content:space-between; gap:12px; padding:14px; border-bottom:1px solid #dfedf6; background:linear-gradient(135deg,#f0f9ff,#f9fdff); }.shift-snapshot-head span { color:#2a83cb; font:9px var(--mono); letter-spacing:.1em; }.shift-snapshot-head h3 { margin:4px 0 3px; color:#284b65; font-size:14px; }.shift-snapshot-head p { margin:0; color:#6c879b; font-size:10px; }.shift-table-wrap { overflow-x:auto; }.shift-snapshot table { width:100%; border-collapse:collapse; }.shift-snapshot th,.shift-snapshot td { padding:9px 12px; border-bottom:1px solid #e7f0f6; color:#59748a; font-size:10px; text-align:left; }.shift-snapshot th { color:#7794aa; font:9px var(--mono); letter-spacing:.07em; background:#f8fcff; }.shift-snapshot td b,.shift-snapshot td small { display:block; }.shift-snapshot td b { color:#315269; }.shift-snapshot td small { margin-top:2px; color:#839aac; font-size:9px; }.shift-activity { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; border-bottom:1px solid #e4eff6; background:#dcecf6; }.shift-activity span { padding:9px 11px; color:#708ca0; font-size:9px; background:#f5fbff; }.shift-activity b { color:#1d7ec5; font-size:12px; }.shift-external-head { padding:12px 14px 7px; }.shift-external-head b,.shift-external-head small { display:block; }.shift-external-head b { color:#35556d; font-size:11px; }.shift-external-head small { margin-top:3px; color:#8199aa; font-size:9px; }.shift-external-list { display:grid; gap:1px; padding:0 14px 14px; }.shift-external-list > div { padding:9px; border-left:2px solid #e2a12c; background:#fffaf0; }.shift-external-list b,.shift-external-list span,.shift-external-list small { display:block; }.shift-external-list b { color:#5a4930; font-size:10px; }.shift-external-list span,.shift-external-list small { margin-top:2px; color:#856f4d; font-size:9px; }.shift-empty { margin:0; padding:0 14px 14px; color:#6a8d76; font-size:10px; }.shift-panel-evidence { margin:12px 0; padding:13px; border:1px solid #d6e5ef; border-radius:8px; background:#fcfeff; }.shift-panel-evidence > div:first-child span { color:#2783cf; font:9px var(--mono); letter-spacing:.1em; }.shift-panel-evidence > div:first-child h3 { margin:4px 0 11px; color:#315269; font-size:13px; }
@keyframes hummer-signal { 0%,100% { box-shadow:0 0 0 5px rgba(65,215,160,.09),0 0 11px rgba(65,215,160,.55); } 50% { box-shadow:0 0 0 8px rgba(65,215,160,.025),0 0 17px rgba(65,215,160,.78); } }
@media (max-width:1080px) { .rail-primary { gap:16px; }.rail-brand { flex-basis:150px; }.rail-brand .brand-wordmark { width:140px; }.rail-status { display:none; }.dashboard-grid { grid-template-columns:1fr; } }
@media (max-width:780px) { .command-rail { position:relative; }.rail-primary { min-height:60px; gap:10px; }.rail-brand { flex:0 0 auto; }.rail-brand .brand-wordmark { width:122px; max-height:32px; }.rail-company { flex:1; max-width:250px; padding:8px 9px; font-size:11px; }.account-copy { display:none; }.rail-logout { padding:7px 8px; font-size:10px; }.rail-navigation { min-height:47px; padding-right:14px; padding-left:14px; }.main-nav { gap:3px; }.main-nav .nav-item { min-height:31px; padding:0 9px; font-size:11px; }.main-nav .nav-item::after { bottom:-8px; }.rail-utilities { padding-left:7px; }.support-button { display:none; }.workspace { min-height:0; }.workspace-bar { min-height:47px; padding:0 18px; }.workspace-presence .live-pill { display:flex; }.workspace-sync { display:none; }.workspace-content { padding:25px 18px 40px; }.page-head { align-items:flex-start; gap:14px; }.page-head h1 { font-size:26px; }.page-head p { font-size:12px; }.metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.metric-card { min-height:116px; padding:14px; }.metric-card strong { font-size:23px; }.panel-head { padding:16px 16px 12px; }.agenda-list,.event-list,.payment-list,.table-list,.control-list { padding-right:16px; padding-left:16px; }.module-card { padding:18px; }.command-welcome { grid-template-columns:1fr; gap:18px; padding:21px; }.command-welcome h2 { font-size:21px; }.custody-action-grid { grid-template-columns:1fr; }.custody-action { min-height:70px; }.custody-row { grid-template-columns:32px minmax(0,1fr) auto; }.custody-row .panel-link { grid-column:2 / -1; justify-self:start; }.plantao-home { grid-template-columns:1fr; padding:19px; }.plantao-home h2 { font-size:21px; }.shift-activity { grid-template-columns:1fr; } }
@media (max-width:520px) { .rail-company { display:none; }.rail-primary { justify-content:space-between; }.rail-account { margin-left:auto; }.rail-logout span { display:none; }.rail-navigation { gap:6px; }.main-nav .nav-item { gap:6px; padding:0 8px; }.workspace-bar .crumb { overflow:hidden; max-width:calc(100vw - 142px); white-space:nowrap; }.workspace-presence .live-pill { padding:5px 6px; font-size:8px; }.page-head { margin-bottom:19px; }.page-head h1 { font-size:24px; }.page-action { min-height:39px; padding:0 11px; }.panel-head h2 { font-size:14px; }.control-row { align-items:flex-start; }.control-state { margin-top:3px; }.data-table { min-width:630px; }.command-welcome { padding:18px; }.command-welcome h2 { font-size:19px; }.command-welcome p { font-size:11px; }.command-shortcuts { grid-template-columns:1fr; }.command-shortcut { min-height:55px; } }
@media (prefers-reduced-motion:reduce) { .rail-status i,.metric-card,.panel,.quick-action,.page-action,.main-nav .nav-item,.avatar { animation:none!important; transition:none!important; } }

/* Navegação adaptativa: todo módulo permanece alcançável, sem itens cortados. */
.rail-navigation { align-items:flex-start; gap:10px; padding-top:6px; padding-bottom:6px; }
.main-nav { display:grid; flex:1 1 720px; grid-template-columns:repeat(auto-fit,minmax(90px,1fr)); align-items:stretch; gap:4px; min-width:0; overflow:visible; scrollbar-width:auto; }
.main-nav::-webkit-scrollbar { display:block; }
.main-nav .nav-item { min-width:0; justify-content:center; gap:7px; min-height:33px; padding:0 8px; }
.main-nav .nav-item-title { min-width:0; overflow:hidden; text-overflow:ellipsis; }

@media (max-width:780px) {
  .rail-navigation { align-items:flex-start; gap:7px; padding:6px 14px; }
  .main-nav { flex-basis:0; grid-template-columns:repeat(auto-fit,minmax(86px,1fr)); gap:3px; }
  .main-nav .nav-item { min-height:34px; padding:0 7px; }
  .rail-utilities { align-self:stretch; padding-left:7px; }
  .support-button { display:block; padding:7px 5px; font-size:10px; }
}

@media (max-width:520px) {
  .rail-navigation { gap:5px; padding-right:8px; padding-left:8px; }
  .main-nav { grid-template-columns:repeat(auto-fit,minmax(48px,1fr)); gap:3px; }
  .main-nav .nav-item { gap:0; min-height:37px; padding:0 4px; }
  .main-nav .nav-item-title { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
  .main-nav .nav-item .nav-item-icon { font-size:16px; }
  .rail-utilities { gap:1px; padding-left:4px; }
  .support-button { width:30px; overflow:hidden; padding:0; color:transparent; font-size:0; }
  .support-button::after { content:'🎧'; color:#a9c6da; font-size:15px; }
}

/* Central de Impressão de QR Codes de Custódia */
.qr-print-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-top: 16px; max-height: 450px; overflow-y: auto; padding: 8px; }
.qr-print-card { border: 1px solid #dcdfe4; border-radius: 8px; padding: 12px; text-align: center; background: #ffffff; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.qr-print-card h3 { font-size: 13px; margin-bottom: 8px; color: #1a202c; word-break: break-word; }
.qr-print-card img { width: 110px; height: 110px; margin: 0 auto 8px auto; display: block; }
.qr-print-card p { font-size: 11px; margin-bottom: 4px; color: #4a5568; word-break: break-word; }
.qr-print-card span { font-size: 9px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em; color: #718096; }
@media print {
  body * { visibility: hidden; }
  .qr-print-grid, .qr-print-grid * { visibility: visible; }
  .qr-print-grid { position: absolute; left: 0; top: 0; width: 100%; max-height: none; overflow: visible; grid-template-columns: repeat(3, 1fr); }
}

/* Modal & Dialog Fix for 100% Scrollability */
dialog.modal:not([open]), .modal:not([open]) {
  display: none !important;
}
dialog.modal[open], .modal[open] {
  border: none !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
  padding: 0 !important;
  max-width: 640px !important;
  width: 92vw !important;
  max-height: 85vh !important;
  margin: auto !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}
dialog.modal::backdrop {
  background: rgba(8, 23, 41, 0.8) !important;
  backdrop-filter: blur(4px) !important;
}
.modal-header {
  padding: 18px 24px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  background: #f8fafc !important;
}
.modal-form {
  padding: 22px !important;
  overflow-y: auto !important;
  flex: 1 1 auto !important;
  max-height: calc(85vh - 75px) !important;
  -webkit-overflow-scrolling: touch !important;
}
.modal-close {
  background: #e2e8f0 !important;
  border: none !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  font-size: 18px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: grid !important;
  place-items: center !important;
  color: #475569 !important;
}
.modal-close:hover {
  background: #cbd5e1 !important;
}

/* Balcão de Controle de Chaves - Modern Dark Design (Images 2, 3, 4) */
.balcao-section {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  color: #f8fafc;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}
.balcao-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}
.balcao-header h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.balcao-header h2 i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.balcao-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.balcao-kpi-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.balcao-kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}
.balcao-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.balcao-kpi-icon.blue { background: #2563eb; color: #ffffff; }
.balcao-kpi-icon.green { background: #059669; color: #ffffff; }
.balcao-kpi-icon.orange { background: #d97706; color: #ffffff; }
.balcao-kpi-icon.purple { background: #7c3aed; color: #ffffff; }

.balcao-kpi-info {
  display: flex;
  flex-direction: column;
}
.balcao-kpi-info span.label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-transform: uppercase;
}
.balcao-kpi-info strong.val {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 2px 0;
}
.balcao-kpi-info small.sub {
  font-size: 11px;
  color: #64748b;
}

.balcao-main-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(400px, 1.4fr);
  gap: 20px;
}

.balcao-block-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #94a3b8;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.balcao-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.balcao-btn-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.balcao-btn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  color: #f8fafc;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.balcao-btn-row:hover {
  background: #1e293b;
  border-color: #38bdf8;
}
.balcao-btn-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.balcao-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.balcao-btn-text b {
  display: block;
  font-size: 13px;
  color: #ffffff;
}
.balcao-btn-text small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
}
.balcao-btn-arrow {
  color: #64748b;
  font-size: 14px;
}

.balcao-notice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.balcao-notice-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: #0f172a;
  border-left: 4px solid #38bdf8;
  border-radius: 8px;
}
.balcao-notice-item.warning { border-left-color: #f59e0b; }
.balcao-notice-item.info { border-left-color: #3b82f6; }
.balcao-notice-item.success { border-left-color: #10b981; }

.balcao-notice-icon {
  font-size: 16px;
  margin-top: 2px;
}
.balcao-notice-content b {
  display: block;
  font-size: 12px;
  color: #ffffff;
}
.balcao-notice-content small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.balcao-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.balcao-quick-tile {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  color: #f8fafc;
}
.balcao-quick-tile:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
}
.balcao-quick-tile span.icon {
  font-size: 20px;
  display: block;
  margin-bottom: 6px;
  color: #38bdf8;
}
.balcao-quick-tile small.title {
  font-size: 11px;
  font-weight: 700;
  color: #e2e8f0;
  display: block;
}

.balcao-table-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.balcao-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.balcao-table-header h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
}
.balcao-table-header button {
  background: transparent;
  border: none;
  color: #38bdf8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.balcao-dark-table {
  width: 100%;
  border-collapse: collapse;
}
.balcao-dark-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
  padding: 8px 10px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.balcao-dark-table td {
  padding: 12px 10px;
  font-size: 12px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.balcao-dark-table td b {
  color: #ffffff;
  display: block;
}
.balcao-dark-table td small {
  color: #64748b;
  display: block;
  font-size: 10px;
}

.balcao-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.balcao-badge.blue { background: rgba(37, 99, 235, 0.2); color: #60a5fa; border: 1px solid rgba(37, 99, 235, 0.4); }
.balcao-badge.green { background: rgba(5, 150, 105, 0.2); color: #34d399; border: 1px solid rgba(5, 150, 105, 0.4); }
.balcao-badge.orange { background: rgba(217, 119, 6, 0.2); color: #fbbf24; border: 1px solid rgba(217, 119, 6, 0.4); }
.balcao-badge.red { background: rgba(225, 29, 72, 0.2); color: #f87171; border: 1px solid rgba(225, 29, 72, 0.4); }

@media (max-width: 900px) {
  .balcao-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .balcao-main-grid { grid-template-columns: 1fr; }
}

/* Grid Simétrico e Organizado das 3 Empresas */
.company-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.company-card-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.company-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
  border-color: #cbd5e1;
}

.company-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.company-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 22px;
  background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
  border: 1px solid #bae6fd;
}

.company-card-title h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.company-type-tag {
  display: inline-block;
  margin-top: 3px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.company-type-tag.success {
  background: #dcfce7;
  color: #15803d;
}

.company-type-tag.info {
  background: #e0f2fe;
  color: #0369a1;
}

.company-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px #dcfce7;
  flex-shrink: 0;
}

.company-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  text-align: center;
}

.company-metrics-strip small {
  display: block;
  font-size: 8px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.05em;
}

.company-metrics-strip b {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.company-card-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.company-detail-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-label {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail-val {
  font-size: 11px;
  color: #334155;
  font-weight: 600;
  word-break: break-word;
}

.detail-val.mono {
  font-family: var(--mono);
}

.company-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

@media (max-width: 1080px) {
  .company-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .company-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Central expansível: superfície translúcida e grade que desloca o conteúdo. */
.command-rail { overflow:visible; background:linear-gradient(118deg,rgba(3,19,35,.96),rgba(7,38,64,.9) 52%,rgba(10,59,87,.86)); backdrop-filter:blur(18px) saturate(125%); }
.command-rail::before { content:''; position:absolute; inset:0; pointer-events:none; opacity:.9; background:radial-gradient(420px 120px at 18% 0%,rgba(53,179,246,.2),transparent 73%),radial-gradient(300px 130px at 76% 100%,rgba(62,211,166,.12),transparent 76%),linear-gradient(90deg,rgba(255,255,255,.035),transparent 24%,rgba(116,206,255,.035) 70%,transparent); }
.rail-primary,.rail-navigation { position:relative; }
.rail-brand { position:relative; isolation:isolate; }.rail-brand::before { content:''; position:absolute; z-index:-1; top:50%; left:-18px; width:210px; height:70px; border-radius:50%; opacity:.9; pointer-events:none; background:radial-gradient(ellipse at center,rgba(36,160,244,.42) 0%,rgba(16,108,193,.2) 37%,transparent 72%); filter:blur(12px); transform:translateY(-50%); }.rail-brand .brand-wordmark { position:relative; filter:drop-shadow(0 0 9px rgba(82,190,255,.72)) drop-shadow(0 7px 14px rgba(0,18,39,.38)); }
.rail-navigation { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:16px; min-height:58px; padding-top:10px; padding-bottom:10px; }
.module-menu { display:grid; width:100%; min-width:0; }
.module-menu-trigger { position:relative; isolation:isolate; display:inline-grid; grid-template-columns:30px auto 14px; align-items:center; justify-self:start; gap:10px; min-height:42px; padding:4px 13px 4px 5px; overflow:hidden; border:1px solid rgba(121,213,255,.42); border-radius:10px; color:#effaff; background:linear-gradient(135deg,rgba(44,157,228,.42),rgba(17,95,155,.2) 52%,rgba(65,205,173,.14)); box-shadow:0 10px 25px rgba(0,10,25,.22),inset 0 1px rgba(255,255,255,.18); transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease; }
.module-menu-trigger::before { content:''; position:absolute; z-index:-1; inset:1px; border-radius:9px; opacity:.82; background:linear-gradient(108deg,rgba(7,35,60,.54),rgba(11,66,103,.17)); }
.module-menu-trigger::after { content:''; position:absolute; top:-26px; right:14px; width:74px; height:74px; border-radius:50%; pointer-events:none; background:radial-gradient(circle,rgba(136,230,255,.25),transparent 66%); filter:blur(2px); }
.module-menu-trigger:hover,.module-menu:focus-within .module-menu-trigger,.module-menu.is-open .module-menu-trigger { border-color:rgba(157,229,255,.9); box-shadow:0 15px 31px rgba(2,18,34,.33),0 0 0 4px rgba(49,174,232,.09),inset 0 1px rgba(255,255,255,.24); transform:translateY(-1px); }
.module-menu-mark { display:grid; place-items:center; width:30px; height:30px; border:1px solid rgba(164,237,255,.38); border-radius:8px; color:#9ce6ff; font-size:15px; background:linear-gradient(135deg,rgba(100,203,249,.35),rgba(41,130,193,.2)); box-shadow:inset 0 1px rgba(255,255,255,.16); }
.module-menu-copy { display:grid; gap:1px; text-align:left; }.module-menu-copy small { color:#98cae7; font:8px var(--mono); letter-spacing:.14em; }.module-menu-copy strong { color:#f4fbff; font-size:12px; letter-spacing:.01em; }.module-menu-trigger b { margin-left:2px; color:#a9dcf6; font-size:14px; transition:transform .26s ease; }.module-menu.is-open .module-menu-trigger b,.module-menu:hover .module-menu-trigger b { transform:rotate(180deg); }
.module-menu .main-nav { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); max-height:0; margin-top:0; padding:0 10px; overflow:hidden; border:1px solid transparent; border-radius:12px; opacity:0; background:linear-gradient(135deg,rgba(8,42,70,.76),rgba(13,81,113,.57) 58%,rgba(18,110,131,.42)); box-shadow:0 20px 42px rgba(1,16,31,.14),inset 0 1px rgba(255,255,255,.15); backdrop-filter:blur(20px) saturate(135%); transform:translateY(-7px); transition:max-height .38s cubic-bezier(.2,.8,.2,1),margin-top .3s ease,padding .3s ease,opacity .2s ease,transform .3s ease,border-color .3s ease; }
.module-menu:hover .main-nav,.module-menu:focus-within .main-nav,.module-menu.is-open .main-nav { max-height:250px; margin-top:10px; padding:10px; border-color:rgba(145,215,247,.24); opacity:1; transform:translateY(0); }
.module-menu .main-nav .nav-item { position:relative; display:flex; min-width:0; min-height:46px; justify-content:flex-start; gap:9px; overflow:hidden; padding:0 12px; border:1px solid rgba(177,225,247,.1); border-radius:8px; color:#cbe4f3; background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.035)); box-shadow:inset 0 1px rgba(255,255,255,.08); }
.module-menu .main-nav .nav-item::before { content:''; position:absolute; inset:0 auto 0 0; width:2px; opacity:0; background:linear-gradient(#63d1ff,#4adeb4); transition:opacity .2s ease; }.module-menu .main-nav .nav-item::after { display:none; }
.module-menu .main-nav .nav-item:hover { border-color:rgba(133,215,255,.5); color:#fff; background:linear-gradient(135deg,rgba(50,162,221,.3),rgba(67,194,182,.12)); transform:translateY(-1px); }.module-menu .main-nav .nav-item:hover::before,.module-menu .main-nav .nav-item.is-active::before { opacity:1; }
.module-menu .main-nav .nav-item.is-active { border-color:rgba(118,211,250,.6); color:#fff; background:linear-gradient(135deg,rgba(33,146,220,.42),rgba(63,197,184,.16)); }.module-menu .main-nav .nav-item-title { position:static; width:auto; height:auto; min-width:0; overflow:hidden; clip:auto; clip-path:none; text-overflow:ellipsis; white-space:nowrap; }
.module-menu .main-nav .module-support-item { border-color:rgba(86,218,177,.28); color:#d8fff1; background:linear-gradient(135deg,rgba(30,164,134,.27),rgba(40,143,203,.18)); }.module-menu .main-nav .module-support-item small { display:block; margin-left:auto; color:#91e9ca; font:8px var(--mono); letter-spacing:.05em; }.module-menu .main-nav .module-support-item:hover { border-color:rgba(105,237,193,.63); background:linear-gradient(135deg,rgba(34,183,147,.42),rgba(46,153,212,.25)); }
.rail-utilities { align-self:center; margin-left:0; padding-left:14px; border-left-color:rgba(188,225,245,.16); }

@media (max-width:780px) {
  .rail-navigation { gap:9px; min-height:54px; padding:7px 14px; }
  .module-menu .main-nav { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .module-menu:hover .main-nav,.module-menu:focus-within .main-nav,.module-menu.is-open .main-nav { max-height:310px; }
  .rail-utilities { padding-left:8px; }
}

@media (max-width:520px) {
  .rail-brand::before { left:-14px; width:154px; height:56px; filter:blur(10px); }
  .rail-navigation { gap:5px; min-height:52px; padding:7px 9px; }
  .module-menu-trigger { grid-template-columns:28px auto 12px; gap:7px; min-height:38px; padding-right:10px; }.module-menu-mark { width:28px; height:28px; }.module-menu-copy small { font-size:7px; }.module-menu-copy strong { font-size:11px; }
  .module-menu .main-nav { grid-template-columns:repeat(2,minmax(0,1fr)); padding-right:8px; padding-left:8px; }
  .module-menu:hover .main-nav,.module-menu:focus-within .main-nav,.module-menu.is-open .main-nav { max-height:430px; margin-top:8px; padding-top:8px; padding-bottom:8px; }
  .module-menu .main-nav .nav-item { min-height:42px; padding:0 9px; font-size:10px; }.module-menu .main-nav .nav-item-title { position:static; width:auto; height:auto; overflow:hidden; clip:auto; clip-path:none; text-overflow:ellipsis; white-space:nowrap; }
  .rail-utilities { gap:1px; padding-left:4px; }.module-menu .main-nav .module-support-item small { display:none; }
  .rail-account .account-notification { width:32px; height:32px; }
}

/* Família visual exclusiva de ícones das três dashboards. */
.dashboard-icon { display:block; width:100%; height:100%; object-fit:contain; }
.main-nav .nav-item .nav-item-icon { width:25px; height:25px; color:inherit; font-size:0; }
.main-nav .nav-item .nav-dashboard-icon { width:24px; height:24px; border-radius:7px; box-shadow:0 3px 8px rgba(1,25,47,.18); }
.module-menu .main-nav .nav-item .nav-item-icon { width:27px; height:27px; }
.module-menu .main-nav .nav-item .nav-dashboard-icon { width:27px; height:27px; border-radius:7px; }
.module-menu-mark { overflow:hidden; padding:0; border:0; background:transparent; }
.module-menu-mark img { display:block; width:30px; height:30px; border-radius:8px; box-shadow:0 3px 10px rgba(0,17,37,.25); }
.metric-card .metric-icon { overflow:hidden; padding:0; background:transparent; }
.metric-card .metric-dashboard-icon { width:26px; height:26px; border-radius:7px; box-shadow:0 3px 9px rgba(10,54,84,.12); }
.quick-action .quick-icon { overflow:hidden; padding:0; background:transparent; }
.quick-action .embedded-dashboard-icon { width:29px; height:29px; border-radius:7px; box-shadow:0 3px 9px rgba(10,54,84,.13); }
.event-mark { overflow:hidden; padding:0; background:transparent; }
.event-mark .embedded-dashboard-icon { width:29px; height:29px; border-radius:7px; box-shadow:0 3px 9px rgba(10,54,84,.13); }
.notice-strip .notice-icon { display:grid; place-items:center; width:22px; height:22px; flex:0 0 22px; overflow:hidden; color:inherit; font-size:0; }
.notice-strip .notice-icon .embedded-dashboard-icon { width:22px; height:22px; border-radius:6px; box-shadow:0 2px 7px rgba(10,54,84,.12); }
.command-shortcut > span:first-child { display:grid; place-items:center; width:31px; height:31px; overflow:hidden; font-size:0; }
.command-shortcut > span:first-child .embedded-dashboard-icon { width:31px; height:31px; border-radius:8px; box-shadow:0 3px 10px rgba(10,54,84,.16); }
.page-action .page-action-icon { width:19px; height:19px; flex:0 0 19px; border-radius:6px; box-shadow:0 2px 7px rgba(0,38,84,.2); }

@media (max-width:520px) {
  .module-menu .main-nav .nav-item .nav-item-icon,
  .module-menu .main-nav .nav-item .nav-dashboard-icon { width:23px; height:23px; }
  .page-action .page-action-icon { width:18px; height:18px; }
}

/*
  Hummer Matrix — identidade de comando noturno.
  Esta camada finaliza a superfície corporativa sem alterar o logo nem os
  ícones proprietários: apenas muda a luz, a profundidade e as cores do UI.
*/
:root {
  --ink: #e8f5ff;
  --ink-2: #c4dcf5;
  --navy: #071426;
  --blue: #20a7ff;
  --blue-bright: #66d3ff;
  --cyan: #2fe1de;
  --ice: #020813;
  --paper: #091629;
  --line: rgba(112, 195, 255, .2);
  --muted: #88a6c2;
  --text: #e2f0ff;
  --green: #38e2ae;
  --amber: #ffc34e;
  --red: #ff6b94;
  color-scheme: dark;
}

html, body { color-scheme: dark; background: #020813; }
body { color: var(--text); background: #020813; }

/* Entrada: a mesma linguagem visual sem perder a legibilidade do escudo enviado. */
.access-shell { background: #020813; }
.access-card-wrap { background: radial-gradient(900px 500px at 100% 0%, rgba(21, 89, 170, .19), transparent 62%), linear-gradient(135deg, #061225, #020813 72%); }
.access-card-wrap::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .36; background-image: linear-gradient(rgba(86, 181, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(86, 181, 255, .07) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom, black, transparent 72%); }
.access-card { position: relative; z-index: 1; }
.provided-logo { padding: 7px; border: 1px solid rgba(114, 203, 255, .24); border-radius: 11px; background: rgba(255,255,255,.92); box-shadow: 0 0 22px rgba(37, 168, 255, .2); }
.access-card-heading h2, .field-control input { color: #eff8ff; }
.access-card-heading p:not(.kicker), .field-label, .remember, .signup-note, .terms-note, .form-security { color: #8eabc5; }
.role-switcher { border-color: rgba(108, 190, 252, .17); background: rgba(9, 27, 49, .78); }
.role-choice { color: #829cb6; }
.role-choice.is-active { border-color: rgba(76, 197, 255, .62); color: #dff6ff; background: linear-gradient(135deg, rgba(17, 134, 221, .36), rgba(56, 40, 142, .28)); box-shadow: inset 0 1px rgba(255,255,255,.16), 0 0 20px rgba(32, 160, 255, .12); }
.role-hint { border-left-color: #39c5ff; color: #a6c6df; background: rgba(24, 108, 172, .14); }.role-hint b { color: #e2f4ff; }
.field-control { border-color: rgba(121, 194, 245, .24); color: #86a5be; background: rgba(4, 18, 37, .78); }.field-control:focus-within { border-color: #42c8ff; box-shadow: 0 0 0 3px rgba(66, 200, 255, .13), 0 0 25px rgba(54, 143, 255, .1); }.field-control input::placeholder { color: #66829b; }
.first-access-button, .install-button { border-color: rgba(91, 188, 255, .4); color: #ccefff; background: rgba(22, 101, 169, .16); }.first-access-button:hover, .install-button:hover { color: white; background: rgba(25, 142, 219, .28); }
.or-divider { color: #68839b; }.or-divider::before, .or-divider::after { background: rgba(112, 177, 226, .17); }.social-button { border-color: rgba(120, 193, 242, .22); color: #d0e9fc; background: rgba(5, 21, 40, .66); }

/* Base das três dashboards e do painel administrativo. */
.corporate-shell { position: relative; min-height: 100vh; background: #020813; }
.corporate-shell::before { z-index: -1; opacity: 1; background: radial-gradient(840px 520px at 96% -5%, rgba(19, 94, 188, .25), transparent 66%), radial-gradient(700px 560px at -10% 78%, rgba(68, 17, 151, .18), transparent 69%), linear-gradient(145deg, #051126 0%, #020813 47%, #06172b 100%); }
.corporate-shell::after { content: ''; position: fixed; z-index: -1; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(101, 189, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(101, 189, 255, .08) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, black, transparent 82%); }

/* Barra de comando inspirada no painel Matrix: camadas, feixes e neon contido.
   Ela permanece aberta, mas pertence ao fluxo normal da página ao rolar. */
.command-rail { position: relative; z-index: 20; isolation: isolate; overflow: visible; border-bottom: 1px solid rgba(83, 180, 255, .31); background: linear-gradient(104deg, rgba(2, 9, 23, .98) 0%, rgba(4, 23, 49, .97) 49%, rgba(10, 44, 76, .95) 100%); box-shadow: 0 18px 42px rgba(0, 0, 0, .42), inset 0 -1px rgba(130, 217, 255, .08); backdrop-filter: blur(22px) saturate(145%); }
.command-rail::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: 1; background: radial-gradient(300px 145px at 7% 2%, rgba(24, 168, 255, .42), transparent 69%), radial-gradient(500px 210px at 68% 0%, rgba(70, 45, 208, .2), transparent 76%), linear-gradient(124deg, transparent 0 36%, rgba(25, 111, 255, .15) 36.1% 36.5%, transparent 36.6% 67%, rgba(142, 41, 255, .17) 67.1% 67.5%, transparent 67.6%); }
.command-rail::after { height: 2px; opacity: 1; background: linear-gradient(90deg, transparent, #12c5ff 15%, #4d5cff 45%, #9e3cff 65%, #2be3d0 86%, transparent); box-shadow: 0 0 14px rgba(43, 191, 255, .78); }
.rail-primary, .rail-navigation { position: relative; z-index: 1; width: min(1720px, 100%); }
.rail-primary { display: grid; grid-template-columns: minmax(190px, 270px) minmax(210px, 320px) minmax(180px, 1fr) auto; gap: clamp(16px, 2vw, 34px); min-height: 106px; padding-top: 16px; padding-bottom: 18px; }
.rail-brand { flex: initial; min-width: 0; }.rail-brand::before { left: -28px; width: 258px; height: 92px; opacity: .95; background: radial-gradient(ellipse at center, rgba(0, 179, 255, .56), rgba(31, 78, 231, .2) 42%, transparent 74%); filter: blur(15px); }.rail-brand .brand-wordmark { width: min(100%, 205px); max-height: 62px; filter: drop-shadow(0 0 8px rgba(89, 217, 255, .9)) drop-shadow(0 8px 18px rgba(0, 0, 0, .7)); }
.rail-company { flex: initial; min-height: 58px; margin: 0; padding: 12px 15px; border-color: rgba(95, 190, 255, .35); border-radius: 12px; color: #e7f5ff; background: linear-gradient(135deg, rgba(17, 59, 101, .84), rgba(4, 17, 38, .76)); box-shadow: inset 0 1px rgba(255,255,255,.13), 0 0 0 1px rgba(29, 108, 180, .13), 0 13px 24px rgba(0,0,0,.14); }
.rail-company:hover { border-color: #4cd2ff; background: linear-gradient(135deg, rgba(22, 86, 139, .9), rgba(8, 27, 54, .82)); box-shadow: 0 0 0 3px rgba(50, 184, 255, .09), 0 0 23px rgba(34, 148, 255, .15); }
.rail-company b { color: #8edcff; }.company-dot { width: 9px; height: 9px; background: #38e2ae; box-shadow: 0 0 0 4px rgba(56, 226, 174, .09), 0 0 14px rgba(56, 226, 174, .8); }
.rail-status { align-self: center; color: #9fc9ed; font-size: 11px; letter-spacing: .19em; }.rail-status::after { content: 'SISTEMA ONLINE E OPERACIONAL'; display: block; margin-top: 21px; margin-left: -154px; color: #6b9dc8; font-size: 9px; letter-spacing: .12em; white-space: nowrap; }.rail-status i { background: #19e5b0; box-shadow: 0 0 0 5px rgba(25, 229, 176, .08), 0 0 16px rgba(25, 229, 176, .84); }
.rail-account { gap: 11px; margin-left: 0; padding: 7px 8px; border: 1px solid rgba(97, 185, 250, .22); border-radius: 14px; background: linear-gradient(135deg, rgba(14, 55, 95, .72), rgba(2, 15, 34, .7)); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 12px 27px rgba(0,0,0,.16); }
.account-chip { color: #eff9ff; }.account-chip .account-copy b { font-size: 12px; }.account-chip .account-copy small { color: #86b3d8; font-size: 10px; }.avatar { width: 42px; height: 42px; color: #e6f8ff; background: radial-gradient(circle at 30% 25%, #5cc6ff, #16568d 58%, #0a274a); box-shadow: inset 0 1px rgba(255,255,255,.28), 0 0 18px rgba(38, 165, 255, .25); }
.rail-account .account-notification, .rail-logout { min-height: 42px; border-color: rgba(107, 194, 252, .25); border-radius: 10px; background: rgba(6, 28, 57, .72); }.rail-account .account-notification:hover, .rail-logout:hover { border-color: rgba(111, 221, 255, .72); background: rgba(22, 104, 169, .38); box-shadow: 0 0 20px rgba(42, 175, 255, .14); }
.rail-account .account-notification sup { border-color: #07182e; }.rail-logout { color: #d7ecfc; }

.rail-navigation { display: block; min-height: 0; padding-top: 0; padding-bottom: 18px; border-top: 1px solid rgba(118, 200, 255, .1); }
.module-menu { display: grid; width: 100%; padding-top: 12px; }
.module-menu-trigger { grid-template-columns: 38px auto 16px; gap: 11px; min-height: 51px; padding: 5px 16px 5px 6px; border-color: rgba(105, 222, 255, .6); border-radius: 13px; background: linear-gradient(125deg, rgba(18, 105, 172, .95), rgba(8, 38, 79, .94) 57%, rgba(62, 30, 143, .64)); box-shadow: 0 0 0 1px rgba(4, 14, 35, .7), 0 0 0 3px rgba(35, 191, 255, .08), 0 11px 23px rgba(0, 0, 0, .26), inset 0 1px rgba(255,255,255,.27); }
.module-menu-trigger::before { background: linear-gradient(110deg, rgba(51, 182, 255, .13), transparent 45%, rgba(169, 54, 255, .16)); }.module-menu-trigger::after { top: -22px; right: -4px; width: 96px; height: 96px; background: radial-gradient(circle, rgba(122, 226, 255, .36), transparent 66%); }
.module-menu-trigger:hover, .module-menu:focus-within .module-menu-trigger, .module-menu.is-open .module-menu-trigger { border-color: #9cecff; box-shadow: 0 0 0 1px rgba(4, 14, 35, .7), 0 0 0 4px rgba(35, 191, 255, .11), 0 0 31px rgba(40, 165, 255, .32), inset 0 1px rgba(255,255,255,.3); }
.module-menu-mark, .module-menu-mark img { width: 38px; height: 38px; border-radius: 10px; }.module-menu-mark img { box-shadow: 0 0 0 1px rgba(168, 239, 255, .36), 0 4px 13px rgba(0,0,0,.35); }.module-menu-copy small { color: #a5dfff; font-size: 9px; letter-spacing: .16em; }.module-menu-copy strong { font-size: 14px; }.module-menu-trigger b { color: #c6efff; }
.module-menu .main-nav { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; max-height: 0; margin-top: 0; padding: 0 12px; border-color: transparent; border-radius: 17px; opacity: 0; background: linear-gradient(122deg, rgba(4, 22, 50, .91), rgba(10, 51, 89, .81) 51%, rgba(20, 33, 101, .72)); box-shadow: 0 23px 46px rgba(0,0,0,.32), inset 0 1px rgba(168,225,255,.14); backdrop-filter: blur(22px) saturate(142%); }
.module-menu:hover .main-nav, .module-menu:focus-within .main-nav, .module-menu.is-open .main-nav { max-height:280px; margin-top:12px; padding:12px; border-color:rgba(85, 194, 255, .34); opacity:1; }
.module-menu .main-nav .nav-item { min-height:74px; gap:12px; padding:10px 11px; border-color: rgba(102, 194, 255, .2); border-radius: 13px; color: #d7edff; background: linear-gradient(120deg, rgba(14, 63, 107, .72), rgba(5, 23, 49, .68)); box-shadow: inset 0 1px rgba(255,255,255,.09), 0 7px 15px rgba(0,0,0,.12); }
.module-menu .main-nav .nav-item::before { width: 3px; opacity: .5; background: linear-gradient(#1cd1ff, #614cff); }.module-menu .main-nav .nav-item::after { content: '›'; display: block; position: static; width: auto; height: auto; margin-left: auto; color: #a9dfff; font-size: 27px; line-height: 1; opacity: .78; transform: none; background: none; }
.module-menu .main-nav .nav-item:hover { border-color: rgba(76, 217, 255, .78); background: linear-gradient(120deg, rgba(19, 128, 198, .68), rgba(27, 37, 123, .63)); box-shadow: 0 0 24px rgba(26, 171, 255, .17), inset 0 1px rgba(255,255,255,.17); }
.module-menu .main-nav .nav-item.is-active { border-color: #47dbff; background: linear-gradient(120deg, rgba(9, 170, 224, .73), rgba(42, 49, 165, .66)); box-shadow: 0 0 0 1px rgba(48, 230, 255, .12), 0 0 28px rgba(29, 184, 255, .25), inset 0 1px rgba(255,255,255,.2); }.module-menu .main-nav .nav-item.is-active::before { opacity: 1; }
.module-menu .main-nav .nav-item:nth-child(3n+2) { border-color: rgba(151, 89, 255, .32); }.module-menu .main-nav .nav-item:nth-child(3n+2)::before { background: linear-gradient(#c35bff, #4a67ff); }.module-menu .main-nav .nav-item:nth-child(3n) { border-color: rgba(50, 231, 210, .3); }.module-menu .main-nav .nav-item:nth-child(3n)::before { background: linear-gradient(#38ead5, #0a9ecf); }
.module-menu .main-nav .module-support-item { border-color: rgba(41, 236, 186, .55); background: linear-gradient(120deg, rgba(8, 131, 117, .58), rgba(10, 54, 85, .74)); }.module-menu .main-nav .module-support-item small { color: #8effda; }
.main-nav .nav-item .nav-dashboard-icon { width: 37px; height: 37px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,.32); }.module-menu .main-nav .nav-item .nav-item-icon, .module-menu .main-nav .nav-item .nav-dashboard-icon { width: 37px; height: 37px; border-radius: 10px; }

/* Conteúdo: placas escuras translúcidas, sem perder a hierarquia de dados. */
.workspace { min-height: calc(100vh - 1px); background: transparent; }.workspace-bar { border-bottom-color: rgba(91, 184, 246, .2); background: rgba(3, 14, 31, .7); box-shadow: inset 0 -1px rgba(136, 212, 255, .05); }.crumb { color: #719ac0; }.crumb b { color: #42709b; }.crumb strong { color: #d2e8fa; }.workspace-presence .live-pill { color: #5ff0bd; background: rgba(24, 192, 133, .13); }.workspace-sync { color: #789abe; }
.page-head { border-bottom-color: rgba(101, 193, 252, .21); }.page-head::after { background: linear-gradient(90deg, #18d2ff, #5d54ff, #ba4fff); box-shadow: 0 0 14px rgba(40, 192, 255, .68); }.page-head h1 { color: #edf7ff; text-shadow: 0 5px 19px rgba(0, 92, 180, .17); }.page-head p { color: #9cb8d2; }.page-head .date-line { color: #83b5df; }.page-action { border: 1px solid rgba(122, 221, 255, .48); background: linear-gradient(135deg, #1097e7, #3863e6 58%, #7441c5); box-shadow: 0 10px 23px rgba(18, 124, 255, .2), 0 0 22px rgba(69, 83, 255, .16), inset 0 1px rgba(255,255,255,.23); }.page-action:hover { background: linear-gradient(135deg, #19b6f5, #536dff 58%, #9255e8); box-shadow: 0 14px 29px rgba(20, 137, 255, .3), 0 0 28px rgba(96, 75, 255, .23), inset 0 1px rgba(255,255,255,.25); }
.metric-card, .panel, .company-card-item, .custody-action:not(.primary), .custody-client-card, .qr-print-card { border-color: rgba(102, 190, 248, .22); color: #dbeeff; background: linear-gradient(135deg, rgba(10, 29, 56, .9), rgba(5, 17, 36, .89)); box-shadow: inset 0 1px rgba(211, 241, 255, .08), 0 15px 31px rgba(0,0,0,.16); }
.metric-card::after { opacity: .25; }.metric-card:hover, .panel:hover, .company-card-item:hover, .custody-action:not(.primary):hover { border-color: rgba(89, 211, 255, .6); box-shadow: inset 0 1px rgba(211, 241, 255, .13), 0 19px 39px rgba(0,0,0,.27), 0 0 24px rgba(24, 147, 255, .09); }.metric-card strong { color: #f3faff; }.metric-card .metric-label { color: #8daac4; }.metric-card small { color: #89a8c1; }
.panel-head { border-bottom-color: rgba(103, 190, 248, .15); }.panel-head h2, .module-card h2, .company-card-title h3 { color: #e4f3ff; }.panel-head p, .module-card > p { color: #87a8c5; }.panel-link { color: #57caff; }.panel-link:hover { color: #b5f3ff; }
.agenda-row, .event-row, .payment-row, .control-row, .data-table th, .data-table td { border-color: rgba(117, 190, 239, .13); }.agenda-row b, .event-row b, .payment-row b, .data-table strong, .control-row b { color: #d8edff; }.agenda-row small, .event-row small, .payment-row small, .data-table small, .control-row small { color: #87a6c0; }.data-table { color: #c9e2f7; }.data-table th { color: #7fa5c6; background: rgba(8, 31, 58, .36); }.data-table td { color: #b7d2e8; }.table-avatar { color: #9be2ff; background: rgba(19, 135, 213, .18); }.tag { color: #9dcdf2; background: rgba(30, 105, 164, .2); }.tag.success, .row-status, .control-state.success { color: #62efbd; background: rgba(24, 181, 129, .13); }.tag.warning, .row-status.warn, .control-state.warning { color: #ffcb65; background: rgba(231, 157, 39, .14); }.tag.danger, .row-status.alert, .control-state.danger { color: #ff94ae; background: rgba(231, 68, 112, .14); }
.quick-action { border-color: rgba(102, 190, 248, .19); color: #d9eeff; background: linear-gradient(135deg, rgba(12, 42, 75, .72), rgba(5, 21, 44, .74)); }.quick-action:hover { border-color: #55d5ff; background: linear-gradient(135deg, rgba(20, 106, 168, .54), rgba(37, 42, 123, .45)); }.quick-action b { color: #e5f4ff; }.quick-action small { color: #8baac4; }.quick-action em { color: #7ae0ff; }
.notice-strip, .qr-scan-field { border-color: rgba(64, 193, 255, .3); color: #b9dcf4; background: linear-gradient(135deg, rgba(13, 76, 126, .35), rgba(11, 39, 74, .42)); }.notice-strip b, .qr-scan-field b { color: #8edfff; }.control-symbol, .event-mark, .event-mark.red, .event-mark.green { color: #9bdfff; background: rgba(23, 128, 204, .16); }.control-row .control-state { color: #93d7ff; background: rgba(25, 125, 199, .15); }
.company-card-header, .company-card-footer { border-color: rgba(113, 194, 244, .15); }.company-metrics-strip { border-color: rgba(111, 194, 246, .13); background: rgba(4, 20, 42, .55); }.company-metrics-strip small, .detail-label { color: #789bb9; }.company-metrics-strip b, .detail-val { color: #e2f2ff; }.company-type-tag.success { color: #72f0c0; background: rgba(26, 182, 130, .14); }.company-type-tag.info { color: #8edbff; background: rgba(38, 137, 215, .16); }.company-status-dot { box-shadow: 0 0 0 3px rgba(34, 197, 94, .12), 0 0 13px rgba(34, 197, 94, .67); }
.custody-action b, .custody-client-card h2, .qr-scan-field b { color: #e3f4ff; }.custody-action small, .qr-scan-field small, .qr-scan-status { color: #91b4d1; }.custody-action > span { color: #8bdfff; background: rgba(20, 130, 208, .16); }.custody-row .panel-link { border-color: rgba(94, 197, 250, .3); color: #92ddff; background: rgba(13, 52, 85, .75); }.evidence-preview { border-color: rgba(93, 190, 247, .25); background: #051225; }

/* Formulários e diálogos que pertencem a todas as versões do produto. */
dialog.modal[open], .modal[open] { border: 1px solid rgba(88, 203, 255, .38) !important; color: #e3f2ff; background: linear-gradient(145deg, #0b213f, #051226 72%) !important; box-shadow: 0 28px 74px rgba(0,0,0,.57), 0 0 42px rgba(41, 147, 255, .14) !important; }
dialog.modal::backdrop { background: rgba(0, 5, 14, .79) !important; backdrop-filter: blur(7px) saturate(120%) !important; }.modal-header { border-bottom-color: rgba(101, 190, 248, .2) !important; background: linear-gradient(135deg, rgba(13, 50, 88, .9), rgba(4, 18, 40, .93)) !important; }.modal-header h2 { color: #eaf6ff; }.modal-close { color: #aed2f0 !important; background: rgba(96, 147, 194, .18) !important; }.modal-close:hover { color: white !important; background: rgba(52, 137, 204, .37) !important; }
.modal-form label { color: #aac6df; }.modal-form input, .modal-form select, .modal-form textarea, .qr-scan-field input { border-color: rgba(103, 188, 242, .27); color: #e2f2ff; background: rgba(2, 14, 31, .72); }.modal-form input::placeholder, .modal-form textarea::placeholder { color: #6688a6; }.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus { border-color: #48d0ff; box-shadow: 0 0 0 3px rgba(63, 191, 255, .12), 0 0 20px rgba(36, 138, 255, .11); }.secondary-action { border-color: rgba(107, 190, 244, .32); color: #c2def4; background: rgba(15, 48, 82, .7); }.secondary-action:hover { border-color: #67d8ff; color: white; background: rgba(20, 109, 176, .46); }.submit-action, .qr-scan-button { border: 1px solid rgba(111, 219, 255, .38); background: linear-gradient(135deg, #129ce8, #4858df 64%, #7a44cf); }.photo-zone { border-color: rgba(90, 198, 255, .5); color: #93dcff; background: rgba(13, 69, 114, .23); }

@media (max-width: 1180px) {
  .rail-primary { grid-template-columns: minmax(160px, 220px) minmax(205px, 1fr) auto; gap: 16px; }
  .rail-status { display: none; }
  .module-menu .main-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .module-menu:hover .main-nav, .module-menu:focus-within .main-nav, .module-menu.is-open .main-nav { max-height: 360px; }
}

@media (max-width: 780px) {
  .command-rail { position: relative; }
  .rail-primary { grid-template-columns: minmax(120px, 1fr) minmax(172px, 1.25fr) auto; min-height: 78px; padding-top: 11px; padding-bottom: 12px; }
  .rail-brand .brand-wordmark { width: 145px; max-height: 46px; }
  .rail-brand::before { left: -20px; width: 178px; height: 70px; }
  .rail-company { min-height: 46px; padding: 9px 11px; border-radius: 10px; font-size: 11px; }
  .rail-account { padding: 4px; border-radius: 10px; }.rail-account .account-notification, .rail-logout { min-height: 35px; }.rail-account .account-notification { width:35px; height:35px; }
  .rail-navigation { padding-bottom: 12px; }.module-menu { padding-top: 9px; }.module-menu .main-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }.module-menu .main-nav .nav-item { min-height: 63px; padding: 8px; gap: 8px; font-size: 11px; }.module-menu .main-nav .nav-item::after { font-size: 22px; }.module-menu:hover .main-nav, .module-menu:focus-within .main-nav, .module-menu.is-open .main-nav { max-height: 410px; }
}

@media (max-width: 520px) {
  .rail-primary { grid-template-columns: minmax(108px, 1fr) auto; gap: 8px; }.rail-brand .brand-wordmark { width: 120px; max-height: 37px; }.rail-company { display: none; }.rail-account { margin-left: auto; }.rail-logout { width:35px; padding:0; font-size:0; justify-content:center; }.rail-logout span { display:block; margin:0; font-size:17px; }.module-menu-trigger { min-height: 45px; }.module-menu .main-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }.module-menu .main-nav .nav-item { min-height: 58px; font-size: 10px; }.module-menu .main-nav .nav-item .nav-item-icon, .module-menu .main-nav .nav-item .nav-dashboard-icon { width: 31px; height: 31px; }.module-menu:hover .main-nav, .module-menu:focus-within .main-nav, .module-menu.is-open .main-nav { max-height: 500px; padding: 8px; }
  .workspace-content { padding-right: 14px; padding-left: 14px; }.metric-card, .panel { border-radius: 12px; }.page-head h1 { font-size: 27px; }
}

/* Contraste operacional: dados extensos ganham uma placa clara para leitura rápida. */
.panel.table-panel,
.panel.company-card-item,
.metric-card:nth-child(even) {
  color: #233f59;
  border-color: rgba(135, 188, 228, .72);
  background: linear-gradient(145deg, rgba(252, 254, 255, .99), rgba(232, 243, 252, .98));
  box-shadow: inset 0 1px rgba(255,255,255,.92), 0 15px 32px rgba(0, 0, 0, .18), 0 0 20px rgba(26, 145, 234, .06);
}
.panel.table-panel:hover,
.panel.company-card-item:hover,
.metric-card:nth-child(even):hover {
  border-color: #61c9fb;
  box-shadow: inset 0 1px white, 0 19px 38px rgba(0, 0, 0, .22), 0 0 26px rgba(25, 172, 255, .15);
}
.panel.table-panel .panel-head,
.panel.company-card-item .company-card-header {
  border-color: rgba(126, 174, 209, .48);
  background: linear-gradient(105deg, rgba(237, 248, 255, .98), rgba(250, 253, 255, .84));
}
.panel.table-panel .panel-head h2,
.panel.company-card-item .company-card-title h3 { color: #173c5d; }
.panel.table-panel .panel-head p,
.panel.company-card-item .detail-label,
.panel.company-card-item .company-metrics-strip small { color: #6686a2; }
.panel.table-panel .data-table th { color: #6386a3; border-color: #cfe1ee; background: rgba(226, 240, 250, .72); }
.panel.table-panel .data-table td { color: #38566f; border-color: #dbe9f3; background: transparent; }
.panel.table-panel .data-table strong,
.panel.table-panel .data-table td > span:not(.tag) { color: #1d3955; }
.panel.table-panel .data-table small { color: #66829a; }
.panel.table-panel .panel-link { color: #087bd1; }
.panel.table-panel .tag { color: #2872a5; background: #e7f4fc; }
.panel.table-panel .tag.success { color: #07835d; background: #e5f8ef; }
.panel.table-panel .tag.warning { color: #a96708; background: #fff2d9; }
.panel.table-panel .tag.danger { color: #c43e5c; background: #ffebf0; }
.panel.table-panel input,
.panel.table-panel select {
  color: #25425e;
  background: #ffffff;
  color-scheme: light;
}
.panel.company-card-item .company-metrics-strip { border-color: #d9e8f2; background: rgba(239, 247, 253, .91); }
.panel.company-card-item .company-metrics-strip b,
.panel.company-card-item .detail-val { color: #25425f; }
.panel.company-card-item .company-card-footer { border-color: #dbe9f2; }
.metric-card:nth-child(even) .metric-label { color: #69849a; }.metric-card:nth-child(even) strong { color: #173954; }.metric-card:nth-child(even) small { color: #718a9f; }

/* A grade de comando é permanente: os módulos ficam sempre visíveis. */
.module-menu .main-nav,
.module-menu:hover .main-nav,
.module-menu:focus-within .main-nav,
.module-menu.is-open .main-nav {
  max-height: none !important;
  margin-top: 12px !important;
  padding: 12px !important;
  overflow: visible;
  border-color: rgba(85, 194, 255, .34);
  opacity: 1;
  transform: none;
  transition: none;
}
.module-menu-trigger { cursor: default; user-select: none; }.module-menu-trigger b { transform: none !important; }

/* Cadastro de chave: o vínculo físico e comercial é apresentado como uma única ficha. */
.custody-panel-overview { display:grid; grid-template-columns:minmax(240px,.75fr) minmax(0,1.65fr); gap:18px; align-items:center; margin-bottom:18px; padding:19px 21px; border:1px solid rgba(77, 197, 255, .31); border-radius:13px; color:#d9efff; background:linear-gradient(125deg,rgba(8,48,86,.85),rgba(10,31,70,.82) 53%,rgba(57,28,113,.62)); box-shadow:inset 0 1px rgba(222,246,255,.13),0 16px 31px rgba(0,0,0,.16); }
.custody-panel-overview > div > span,.custody-key-registration-head > span { color:#81d9ff; font:10px var(--mono); letter-spacing:.14em; }.custody-panel-overview h2 { margin:6px 0 5px; color:#f1faff; font-size:19px; letter-spacing:-.035em; }.custody-panel-overview p { margin:0; color:#aacbe5; font-size:11px; line-height:1.5; }
.custody-panel-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }.custody-panel-card { display:flex; align-items:center; gap:9px; min-width:0; padding:11px; border:1px solid rgba(115,207,255,.22); border-radius:10px; background:rgba(3,19,43,.48); }.custody-panel-card > span { display:grid; place-items:center; flex:0 0 31px; width:31px; height:31px; padding:3px; border-radius:8px; background:rgba(19,148,223,.16); }.custody-panel-card > div { min-width:0; }.custody-panel-card small,.custody-panel-card b,.custody-panel-card em { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.custody-panel-card small { color:#7faacb; font-size:8px; letter-spacing:.05em; }.custody-panel-card b { margin:3px 0; color:#e8f6ff; font-size:11px; }.custody-panel-card em { color:#8bdffc; font-size:9px; font-style:normal; }.custody-panel-card.is-pending { border-style:dashed; opacity:.82; }.custody-panel-overview .secondary-action { justify-self:start; }
.custody-key-row { width:100%; border-right:0; border-bottom:0; border-left:0; color:inherit; text-align:left; background:transparent; cursor:pointer; }.custody-key-row:hover { border-radius:8px; background:rgba(33,137,207,.11); }.custody-key-row .tag { margin-left:auto; }
.custody-key-registration-card { display:grid; gap:14px; padding:3px 1px; }.custody-key-registration-head { padding:14px; border:1px solid rgba(69,194,255,.29); border-radius:10px; background:linear-gradient(130deg,rgba(16,90,145,.32),rgba(14,36,78,.45)); }.custody-key-registration-head h3 { margin:5px 0 4px; color:#eff9ff; font-size:18px; letter-spacing:-.035em; }.custody-key-registration-head p { margin:0; color:#a9c9e2; font-size:11px; line-height:1.45; }.custody-key-link-card { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; overflow:hidden; border:1px solid rgba(102,196,249,.22); border-radius:10px; background:rgba(107,192,243,.15); }.custody-key-link-card > div { min-width:0; padding:11px; background:rgba(3,18,40,.68); }.custody-key-link-card small,.custody-key-link-card b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.custody-key-link-card small { color:#78a9cc; font:8px var(--mono); letter-spacing:.09em; }.custody-key-link-card b { margin-top:5px; color:#e5f5ff; font-size:11px; }.modal-form .submit-action:disabled { cursor:not-allowed; opacity:.46; filter:saturate(.35); box-shadow:none; }

@media (max-width: 980px) { .custody-panel-overview { grid-template-columns:1fr; }.custody-panel-card-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width: 640px) { .module-menu .main-nav,.module-menu:hover .main-nav,.module-menu:focus-within .main-nav,.module-menu.is-open .main-nav { margin-top:8px !important; padding:8px !important; }.custody-panel-overview { padding:16px; }.custody-panel-card-grid,.custody-key-link-card { grid-template-columns:1fr; }.custody-key-link-card { gap:1px; }.custody-key-row { align-items:flex-start; }.custody-key-row .tag { margin-top:3px; } }
