:root {
  --reference-bg: #05070e;
  --reference-panel: #070a12;
  --reference-card: rgba(7, 10, 18, .86);
  --reference-line: rgba(123, 149, 191, .24);
  --reference-purple: #9c3cff;
  --reference-purple-bright: #b34dff;
  --reference-text: #f3f3fb;
  --reference-muted: #8f9bbd;
}

html, body { min-height: 100%; background: var(--reference-bg); }
body { color: var(--reference-text); background: radial-gradient(circle at 65% 30%, rgba(34, 45, 77, .17), transparent 36%), #05070e; }
body::before { opacity: .22; background: linear-gradient(180deg, rgba(2, 4, 9, .56), rgba(2, 4, 9, .94)), url('/assets/legacy/background.png') center / cover no-repeat; }

.app-view {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: linear-gradient(110deg, rgba(3, 5, 12, .98), rgba(5, 8, 16, .94));
  box-shadow: 0 0 100px rgba(0, 0, 0, .55);
}

.sidebar {
  min-height: 100vh;
  padding: 22px 12px 19px;
  border-right: 1px solid rgba(107, 128, 165, .18);
  background: rgba(3, 5, 12, .96);
}
.sidebar-brand { display: none; }
.guild-switcher { display: flex; justify-content: center; padding: 0 0 24px; }
.guild-switcher .label, #guildSetup { display: none !important; }
.guild-switcher select { width: 44px; height: 44px; padding: 0; overflow: hidden; border: 1px solid rgba(166, 63, 255, .55); border-radius: 7px; color: transparent; font-size: 0; background: linear-gradient(145deg, #771ee6, #26094f); box-shadow: 0 0 18px rgba(131, 42, 255, .24); }
.main-nav { display: flex; flex-direction: column; align-items: center; gap: 17px; }
.nav-label { display: none; }
.nav-item { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 7px; color: #7b88a9; font-size: 0; }
.nav-item span { width: auto; color: inherit; font-size: 22px; line-height: 1; }
.nav-item:hover { color: #d1d9ef; background: rgba(106, 118, 158, .12); }
.nav-item.is-active { color: #f9efff; background: linear-gradient(140deg, rgba(139, 35, 255, .72), rgba(74, 20, 147, .48)); box-shadow: 0 0 19px rgba(127, 42, 255, .26); }
.nav-item.is-active::before { position: absolute; top: 0; right: -12px; width: 3px; height: 100%; border-radius: 4px 0 0 4px; background: var(--reference-purple-bright); box-shadow: 0 0 12px var(--reference-purple); content: ""; }
.nav-label-lower { display: none; }
.sidebar-bottom { margin-top: auto; padding: 18px 0 0; border-top: 1px solid rgba(107, 128, 165, .14); }
.secure-note { display: none; }
.logout-button { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto; padding: 0; border: 0; border-radius: 7px; color: #7b88a9; font-size: 0; }
.logout-button span { font-size: 20px; }

.main-panel { min-width: 0; background: linear-gradient(180deg, rgba(5, 8, 16, .82), rgba(4, 6, 13, .98)); }
.app-header { display: flex; align-items: center; min-height: 142px; padding: 24px 38px 23px 46px; gap: 26px; border: 1px solid rgba(99, 128, 171, .23); border-top: 0; border-radius: 0 0 17px 17px; background: rgba(4, 7, 14, .84); }
.app-brand { display: flex; align-items: center; gap: 15px; min-width: 0; }
.app-logo { color: #a63dff; font-size: 61px; font-weight: 1000; font-style: italic; letter-spacing: -11px; line-height: .75; text-shadow: 0 0 19px rgba(158, 51, 255, .46); }
.app-brand strong { display: block; color: #f6f4ff; font-family: "Arial Narrow", "Segoe UI", sans-serif; font-size: 42px; letter-spacing: 1.3px; line-height: .9; text-transform: uppercase; }
.app-brand small { display: block; margin-top: 10px; color: #91a0c5; font-size: 8px; font-weight: 700; letter-spacing: 1.9px; white-space: nowrap; }
.header-divider { width: 1px; height: 66px; margin-left: 22px; background: rgba(154, 173, 210, .37); }
.header-tagline { color: #abb8d7; font-size: 9px; font-weight: 700; letter-spacing: 2.7px; line-height: 1.65; }
.header-tagline::after { display: block; width: 51px; height: 2px; margin-top: 7px; background: var(--reference-purple-bright); content: ""; box-shadow: 0 0 12px var(--reference-purple); }
.header-context { display: none; }
.header-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.server-badge, .user-menu { display: none; }
.header-exit { display: inline-flex; align-items: center; gap: 13px; min-height: 51px; padding: 0 27px; border: 1px solid var(--reference-purple); border-radius: 28px; color: var(--reference-purple-bright); background: transparent; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; white-space: nowrap; box-shadow: inset 0 0 17px rgba(142, 37, 255, .04); }
.header-exit:hover { color: #fff; background: rgba(143, 45, 255, .14); box-shadow: 0 0 22px rgba(143, 45, 255, .2); }
.header-exit span { font-size: 20px; line-height: 1; }

.content { max-width: 1260px; margin: 0 auto; padding: 30px 44px 45px; }
.menu-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.menu-card { position: relative; display: flex; min-width: 0; min-height: 308px; grid-column: span 2; overflow: hidden; padding: 29px 31px 22px; border: 1px solid var(--reference-line); border-radius: 11px; color: var(--reference-text); text-align: left; background: linear-gradient(145deg, rgba(8, 12, 21, .94), rgba(4, 7, 14, .98)); box-shadow: inset 0 0 35px rgba(82, 104, 153, .025); transition: .18s ease; }
.menu-card:nth-child(7), .menu-card:nth-child(8) { grid-column: span 3; min-height: 224px; }
.menu-card::before { position: absolute; inset: 0; background: radial-gradient(circle at 78% 44%, rgba(86, 37, 174, .08), transparent 27%); content: ""; pointer-events: none; }
.menu-card:hover, .menu-card.is-featured { border-color: var(--reference-purple); box-shadow: 0 0 25px rgba(117, 30, 255, .25), inset 0 0 39px rgba(96, 31, 185, .11); transform: translateY(-2px); }
.menu-card-number { position: absolute; top: 22px; right: 27px; color: #8491b5; font-size: 12px; letter-spacing: 1px; }
.menu-card-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; color: #d9d6ef; font-size: 38px; line-height: 1; text-shadow: 0 0 13px rgba(204, 197, 255, .3); }
.menu-card.is-featured .menu-card-icon, .menu-card:hover .menu-card-icon { color: var(--reference-purple-bright); text-shadow: 0 0 18px rgba(160, 57, 255, .66); }
.menu-card-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; margin-top: auto; }
.menu-card-content strong { display: block; max-width: 360px; color: #f7f5ff; font-family: "Arial Narrow", "Segoe UI", sans-serif; font-size: 26px; letter-spacing: .7px; line-height: 1.02; text-transform: uppercase; }
.menu-card:nth-child(4) .menu-card-content strong { max-width: 290px; }
.menu-card-content small { margin-top: 8px; color: #a4aed0; font-size: 9px; letter-spacing: 2.4px; }
.menu-card-content i { display: block; width: 47px; height: 3px; margin: 17px 0 11px; border-radius: 3px; background: var(--reference-purple-bright); box-shadow: 0 0 12px var(--reference-purple); }
.menu-card-content p { max-width: 310px; min-height: 32px; margin: 0 0 20px; color: #91a0c5; font-size: 11px; line-height: 1.42; }
.menu-card-content b { display: inline-flex; align-items: center; justify-content: space-between; min-width: 190px; padding: 10px 16px; border: 1px solid rgba(111, 143, 198, .45); border-radius: 20px; color: #e8e4f3; font-size: 9px; letter-spacing: 1.5px; }
.menu-card-content b span { margin-left: 22px; color: var(--reference-purple-bright); font-size: 18px; line-height: .6; }
.menu-card:hover .menu-card-content b, .menu-card.is-featured .menu-card-content b { border-color: var(--reference-purple-bright); color: #fff; }
.menu-watermark { position: absolute; right: 34px; bottom: 20px; color: rgba(42, 51, 83, .2); font-size: 140px; line-height: .8; transform: rotate(-8deg); }

.panel-card, .formation-card, .rank-card, .custom-bot-card { border-color: rgba(105, 133, 179, .22); border-radius: 11px; background: linear-gradient(145deg, rgba(8, 12, 21, .95), rgba(4, 7, 14, .99)); }
.panel-header, .section-title { border-bottom-color: rgba(114, 140, 184, .16); }
.button { border-color: rgba(138, 57, 255, .65); border-radius: 20px; color: #eee9ff; background: transparent; }
.button:hover { border-color: var(--reference-purple-bright); background: rgba(139, 45, 255, .13); }
.button.primary { color: var(--reference-purple-bright); }
.formation-hero { border-color: rgba(105, 133, 179, .23); border-radius: 11px; background: linear-gradient(145deg, rgba(12, 16, 29, .98), rgba(4, 7, 14, .99)); }
.formation-hero h1, .overview-hero h1 { font-family: "Arial Narrow", "Segoe UI", sans-serif; letter-spacing: .7px; }
.formation-form input, .formation-form select, .inline-form input, .stack-form input, .stack-form select, .stack-form textarea, .search-field { border-color: rgba(100, 131, 183, .27); border-radius: 7px; background: rgba(4, 7, 14, .9); }
.formation-form input:focus, .formation-form select:focus, .stack-form input:focus, .stack-form textarea:focus { border-color: var(--reference-purple-bright); }
.table-wrap th, td { border-color: rgba(105, 133, 179, .14); }
.toast { border-color: rgba(154, 61, 255, .5); border-radius: 8px; background: rgba(6, 8, 17, .97); }

@media (max-width: 1050px) {
  .app-view { grid-template-columns: 64px minmax(0, 1fr); }
  .app-header { padding-left: 26px; gap: 17px; }
  .app-brand strong { font-size: 32px; }
  .header-tagline { display: none; }
  .header-divider { margin-left: 8px; }
  .content { padding: 25px 26px 35px; }
}
@media (max-width: 760px) {
  .app-view { display: block; }
  .sidebar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; min-height: 62px; padding: 9px 12px; border-right: 0; border-bottom: 1px solid rgba(105, 133, 179, .18); }
  .guild-switcher { padding: 0; }
  .guild-switcher select { width: 38px; height: 38px; }
  .main-nav { flex: 1; flex-direction: row; justify-content: center; gap: 5px; }
  .nav-item { width: 38px; height: 38px; }
  .nav-item.is-active::before { top: auto; right: auto; bottom: -9px; left: 0; width: 100%; height: 2px; }
  .sidebar-bottom { margin: 0; padding: 0; border: 0; }
  .logout-button { width: 38px; height: 38px; }
  .app-header { min-height: 104px; padding: 17px 16px; border-radius: 0; }
  .app-logo { font-size: 46px; }
  .app-brand strong { font-size: 25px; }
  .app-brand small { font-size: 6px; letter-spacing: 1.2px; }
  .header-exit { min-height: 40px; padding: 0 14px; font-size: 0; }
  .header-exit span { font-size: 19px; }
  .content { padding: 15px 13px 28px; }
  .menu-grid { grid-template-columns: 1fr; gap: 12px; }
  .menu-card, .menu-card:nth-child(7), .menu-card:nth-child(8) { grid-column: auto; min-height: 245px; padding: 24px; }
  .menu-card-content strong { font-size: 23px; }
}

:root {
  --reference-bg: #111416;
  --reference-panel: #171b1d;
  --reference-card: rgba(27, 32, 34, .96);
  --reference-line: rgba(185, 196, 190, .16);
  --reference-purple: #55d98a;
  --reference-purple-bright: #79eca6;
  --reference-text: #f1f4f2;
  --reference-muted: #a4aeaa;
  --good: #65df96;
  --bg: #111416;
  --surface: #171b1d;
  --surface-2: #1d2320;
  --surface-3: #242b27;
  --line: rgba(185, 196, 190, .16);
  --line-strong: rgba(185, 196, 190, .26);
  --text: #f1f4f2;
  --muted: #a4aeaa;
  --muted-2: #838e87;
  --accent: #69dc94;
  --accent-2: #46a86c;
  --warning: #ddbd69;
  --danger: #e88989;
}

[hidden] { display: none !important; }
*, *::before, *::after { letter-spacing: 0 !important; }
html, body { width: 100%; height: 100%; min-height: 0; overflow: hidden; background: #111416; }
body { color: var(--reference-text); background: #111416; }
body::before { display: none; }
.app-view { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; height: 100dvh; min-height: 0; margin: 0; overflow: hidden; border: 0; border-radius: 0; background: #111416; box-shadow: none; }
.sidebar { display: none !important; }
.main-panel { display: grid; grid-template-rows: 126px auto minmax(0, 1fr); min-width: 0; min-height: 0; height: 100dvh; background: #111416; }
.app-header { min-height: 0; height: 106px; margin: 20px 3.2vw 0; padding: 15px 26px; gap: 22px; border: 1px solid rgba(194, 205, 198, .17); border-radius: 9px; background: #171b1d; }
.app-logo { color: #69e69a; font-size: 53px; letter-spacing: -9px; text-shadow: none; }
.app-brand { gap: 15px; }
.app-brand strong { color: #f3f5f4; font-size: 35px; font-weight: 850; letter-spacing: 0; }
.app-brand small { margin-top: 8px; color: #9ea9a3; font-size: 8px; letter-spacing: 1.8px; }
.header-divider { height: 53px; margin-left: auto; background: rgba(190, 202, 194, .22); }
.header-tagline { color: #9ea9a3; font-size: 9px; letter-spacing: 2px; }
.header-tagline::after { background: #62dc91; box-shadow: none; }
.header-context { display: none; align-items: center; min-width: 0; gap: 14px; }
.header-context:not([hidden]) { display: flex; }
.header-context h2 { margin: 4px 0 0; color: #f2f5f3; font-size: 19px; font-weight: 750; letter-spacing: 0; }
.back-menu { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(189, 202, 194, .2); border-radius: 7px; color: #e8efea; background: #202527; font-size: 22px; cursor: pointer; }
.back-menu:hover { border-color: #63dc92; color: #70e89e; }
.header-right { display: flex; align-items: center; gap: 15px; margin-left: auto; }
.active-guild-select { max-width: 240px; min-width: 170px; height: 40px; padding: 0 30px 0 12px; border: 1px solid rgba(181, 196, 185, .2); border-radius: 6px; color: #eff3f0; background: #202527; font-size: 12px; }
.active-guild-select:disabled { opacity: 1; }
.server-badge { display: inline-flex; align-items: center; gap: 8px; color: #75e7a0; font-size: 9px; letter-spacing: 1px; }
.server-badge i { width: 7px; height: 7px; border-radius: 50%; background: #65df96; box-shadow: 0 0 9px rgba(101, 223, 150, .4); }
.server-badge.is-offline { color: #df9696; }
.server-badge.is-offline i { background: #df7777; box-shadow: none; }
.user-menu { display: flex; align-items: center; gap: 9px; }
.user-menu strong { color: #e9eeeb; font-size: 10px; letter-spacing: .5px; }
.user-menu small { color: #929e97; }
.user-avatar { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(103, 226, 151, .5); border-radius: 50%; color: #74e6a0; background: rgba(75, 180, 112, .08); }
.header-exit { min-height: 40px; padding: 0 17px; border-color: rgba(117, 228, 157, .5); border-radius: 6px; color: #72e39c; background: #1c2220; font-size: 9px; box-shadow: none; }
.header-exit:hover { color: #f4fff7; background: rgba(77, 175, 111, .18); box-shadow: none; }
.content { width: 100%; max-width: none; height: auto; min-height: 0; margin: 0; padding: 18px 3.2vw 24px; overflow-x: hidden; overflow-y: auto; scrollbar-color: #454d49 #171b1d; }
.app-view[data-view="overview"] .content { overflow: hidden; }
.menu-grid { width: 100%; height: 100%; min-height: 0; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 16px; }
.menu-card, .menu-card:nth-child(7), .menu-card:nth-child(8) { display: flex; flex-direction: column; min-width: 0; min-height: 0; grid-column: span 2; padding: 19px 22px 17px; border-color: rgba(182, 195, 187, .17); border-radius: 8px; background: #191e20; box-shadow: inset 0 1px rgba(255,255,255,.015); transform: none; }
.menu-card:nth-child(7), .menu-card:nth-child(8) { grid-column: span 3; }
.menu-card::before { display: none; }
.menu-card:hover, .menu-card.is-featured { border-color: #69dc94; background: #1b2420; box-shadow: inset 0 0 0 1px rgba(99, 216, 143, .19), 0 0 20px rgba(52, 159, 93, .1); transform: translateY(-1px); }
.menu-card-number { top: 17px; right: 19px; color: #87938b; font-size: 11px; }
.menu-card-icon { width: 42px; height: 42px; color: #d9e2dc; font-size: 34px; text-shadow: none; }
.menu-card-icon svg { width: 34px; height: 34px; }
.menu-card.is-featured .menu-card-icon, .menu-card:hover .menu-card-icon { color: #72e6a0; text-shadow: none; }
.menu-card-content { width: 100%; margin-top: auto; }
.menu-card-content strong { max-width: 100%; color: #f1f4f2; font-size: 20px; letter-spacing: 0; line-height: 1.08; }
.menu-card:nth-child(4) .menu-card-content strong { max-width: 100%; }
.menu-card-content small { margin-top: 6px; color: #9ba69f; font-size: 8px; letter-spacing: 1.7px; }
.menu-card-content i { width: 36px; height: 2px; margin: 10px 0 7px; background: #63dc92; box-shadow: none; }
.menu-card-content p { max-width: 420px; min-height: 27px; margin-bottom: 11px; color: #a6b0aa; font-size: 11px; line-height: 1.35; }
.menu-card-content b { min-width: 165px; padding: 8px 12px; border-color: rgba(183, 198, 188, .23); border-radius: 5px; color: #e5ece7; font-size: 8px; letter-spacing: 1.2px; }
.menu-card-content b span { color: #72e6a0; }
.menu-card-content b span svg { width: 14px; height: 14px; }
.menu-card:hover .menu-card-content b, .menu-card.is-featured .menu-card-content b { border-color: rgba(112, 229, 155, .75); color: #fff; }
.menu-watermark { right: 24px; bottom: 13px; color: rgba(142, 156, 147, .055); }
.menu-watermark svg { width: 112px; height: 112px; stroke-width: 1.2; }

.view-stack { gap: 14px; }
.panel-card, .formation-card, .rank-card, .custom-bot-card, .formation-hero { border-color: rgba(183, 196, 188, .15); border-radius: 7px; background: #191e20; box-shadow: none; }
.panel-header, .section-title { border-bottom-color: rgba(183, 196, 188, .13); }
.panel-kicker, .eyebrow { color: #87a391; }
.button { border-color: rgba(129, 190, 151, .42); border-radius: 5px; color: #e5ece7; background: #202625; }
.button:hover { border-color: #70e29b; background: rgba(78, 173, 112, .13); }
.button.primary { border-color: #55c980; color: #86edaa; background: rgba(55, 138, 84, .13); }
.formation-hero { background: #191e20; }
.formation-hero em, .overview-hero em { color: #72e29c; }
.formation-form input, .formation-form select, .formation-form textarea, .inline-form input, .inline-form select, .stack-form input, .stack-form select, .stack-form textarea, .search-field { border-color: rgba(184, 197, 188, .18); border-radius: 5px; color: #edf2ee; background: #15191a; }
.formation-form input:focus, .formation-form select:focus, .stack-form input:focus, .stack-form textarea:focus { border-color: #67d990; }
.table-wrap th, td { border-color: rgba(183, 196, 188, .1); }
.toast { border-color: rgba(96, 211, 139, .38); border-radius: 6px; background: #1a201d; }
.metric, .inventory-card, .event-card, .transaction-row { border-color: rgba(183, 196, 188, .14); background: #191e20; }
.data-chip.good, .status.online, .amount.income, .type-pill.income { color: #78e4a0; }
.progress i, .quick-actions span, .activity-dot { background: #69dc94; }
.item-image { border-color: rgba(183, 196, 188, .15); background: #222827; }
.item-image span { color: #f4f6f4; background: rgba(24, 30, 27, .92); }
.item-actions button svg { width: 15px; height: 15px; vertical-align: middle; }
.type-pill, .data-chip, .status { border-color: rgba(183, 196, 188, .2); border-radius: 4px; }
.danger, .status.offline, .amount.expense, .type-pill.expense { color: #e88989; }

.discord-members-view, .discord-ranks-view, .live-formations-view, .guild-settings-view { padding-bottom: 5px; }
.toolbar-row, .formation-toolbar, .rank-overview { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.toolbar-row { min-height: 43px; }
.search-field { display: flex; align-items: center; gap: 9px; width: min(440px, 100%); min-height: 40px; padding: 0 12px; }
.search-field svg { width: 18px; height: 18px; color: #a6b0aa; }
.search-field input { width: 100%; border: 0; outline: 0; color: #f0f4f1; background: transparent; }
.toolbar-count { color: #99a59d; font-size: 9px; letter-spacing: 1px; }
.discord-member-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.discord-member-card { min-width: 0; padding: 14px; border: 1px solid rgba(183, 196, 188, .14); border-radius: 6px; background: #191e20; }
.discord-member-top { display: flex; align-items: center; min-width: 0; gap: 10px; }
.discord-avatar-wrap { position: relative; display: grid; flex: 0 0 46px; place-items: center; width: 46px; height: 46px; overflow: visible; border-radius: 50%; color: #dce5df; background: #343c37; font-size: 13px; font-weight: 700; }
.discord-avatar-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.presence-dot { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border: 2px solid #191e20; border-radius: 50%; background: #656e68; }
.presence-dot.online { background: #61dc8d; }.presence-dot.idle { background: #e5b951; }.presence-dot.dnd { background: #df6969; }
.discord-member-name { display: grid; min-width: 0; gap: 4px; }
.discord-member-name strong { overflow: hidden; color: #f1f4f2; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.discord-member-name span { overflow: hidden; color: #99a59d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.presence-label { margin-left: auto; color: #919c95; font-size: 8px; letter-spacing: .5px; white-space: nowrap; }
.presence-label.online { color: #75dfa0; }.presence-label.idle { color: #e1bd67; }.presence-label.dnd { color: #e18181; }
.discord-member-roles { display: flex; flex-wrap: wrap; min-height: 27px; align-items: center; gap: 5px; margin-top: 10px; }
.discord-role-chip { padding: 4px 7px; border: 1px solid color-mix(in srgb, var(--role-color), transparent 58%); border-radius: 4px; color: color-mix(in srgb, var(--role-color), white 45%); background: color-mix(in srgb, var(--role-color), transparent 90%); font-size: 9px; }
.discord-role-empty { color: #79847d; font-size: 9px; }
.discord-member-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: 1px solid rgba(183, 196, 188, .1); }
.discord-member-foot > span { color: #7f8a83; font-size: 8px; letter-spacing: .4px; }
.discord-member-foot select, .custom-bot-card select { max-width: 145px; min-width: 105px; height: 30px; padding: 0 7px; border: 1px solid rgba(183, 196, 188, .2); border-radius: 4px; color: #e5ece7; background: #202625; font-size: 10px; }
.discord-member-foot select:disabled { opacity: .7; }
.rank-overview, .formation-toolbar { min-height: 55px; }
.rank-overview h3, .formation-toolbar h3 { margin: 4px 0; color: #f0f4f1; font-size: 20px; }
.rank-overview p { margin: 4px 0 0; color: #9ba69f; font-size: 12px; }
.discord-role-list { display: grid; gap: 7px; }
.discord-role-row { display: flex; align-items: center; min-height: 57px; gap: 12px; padding: 9px 14px; border: 1px solid rgba(183, 196, 188, .13); border-radius: 5px; background: #191e20; }
.role-color-swatch { width: 11px; height: 30px; border-radius: 3px; background: var(--role-color, #89938d); }
.discord-role-info { display: grid; flex: 1; gap: 4px; }
.discord-role-info strong { color: #edf2ee; font-size: 12px; }
.discord-role-info small, .role-member-count { color: #909c94; font-size: 10px; }
.role-toggle { position: relative; display: inline-flex; width: 36px; height: 20px; }
.role-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.role-toggle span { width: 36px; height: 20px; border: 1px solid #59635c; border-radius: 12px; background: #2a302d; cursor: pointer; }
.role-toggle span::after { display: block; width: 14px; height: 14px; margin: 2px; border-radius: 50%; background: #a5afa8; content: ''; transition: transform .15s ease; }
.role-toggle input:checked + span { border-color: #4fbc78; background: #28563a; }
.role-toggle input:checked + span::after { background: #7be7a2; transform: translateX(16px); }
.role-toggle input:disabled + span { cursor: not-allowed; opacity: .5; }
.formation-toolbar { border-bottom: 1px solid rgba(183, 196, 188, .12); }
.formation-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.formation-form input, .formation-form select, .formation-form .absence-self { min-width: 0; height: 39px; padding: 0 10px; border: 1px solid rgba(184, 197, 188, .18); border-radius: 4px; color: #edf2ee; background: #15191a; font-size: 11px; }
.field-label { display: grid; gap: 5px; color: #8f9c93; font-size: 9px; }
.field-label input, .field-label select { width: 100%; }
.formation-live-list { display: grid; gap: 11px; }
.formation-live-card { overflow: hidden; border: 1px solid rgba(183, 196, 188, .14); border-radius: 6px; background: #191e20; }
.formation-live-head { display: flex; justify-content: space-between; gap: 16px; padding: 15px 16px 10px; }
.formation-live-head h3 { margin: 5px 0; color: #f0f4f1; font-size: 17px; }
.formation-live-head p { margin: 0; color: #99a59d; font-size: 11px; }
.formation-live-head time { color: #d4ddd7; font-size: 11px; white-space: nowrap; }
.formation-counts { display: flex; gap: 7px; padding: 8px 15px; }
.formation-counts > span { flex: 1; padding: 7px 9px; border-radius: 4px; color: #eff3f0; background: #232927; font-size: 14px; font-weight: 700; }
.formation-counts small { display: block; margin-top: 4px; color: #8f9b93; font-size: 8px; font-weight: 500; letter-spacing: .7px; }
.formation-counts .going { color: #75e09d; }.formation-counts .late { color: #e0c16c; }.formation-counts .excused { color: #8eb9a0; }.formation-counts .not-going { color: #dc8888; }
.formation-roster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; max-height: 175px; overflow: auto; padding: 8px 15px; }
.roster-person { display: flex; align-items: center; min-width: 0; gap: 7px; padding: 5px 7px; border-radius: 4px; background: #15191a; }
.roster-person > span { display: grid; flex: 0 0 25px; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #dce5df; background: #303832; font-size: 8px; }
.roster-person strong { overflow: hidden; flex: 1; color: #dfe6e1; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.roster-person i { color: #9ba69f; font-size: 7px; font-style: normal; white-space: nowrap; }
.response-going { color: #78e4a0 !important; }.response-late { color: #dec270 !important; }.response-excused { color: #9ac4a9 !important; }.response-not_going { color: #df8c8c !important; }
.formation-card-foot { display: flex; justify-content: space-between; padding: 9px 15px; border-top: 1px solid rgba(183, 196, 188, .1); color: #8f9a93; font-size: 9px; }
.formation-self-response { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 15px; border-top: 1px solid rgba(183, 196, 188, .1); }
.formation-self-response > span { flex: 1 1 170px; color: #aab7ad; font-size: 9px; letter-spacing: .06em; }
.formation-self-response .button { min-height: 32px; padding: 0 12px; font-size: 9px; }
.formation-self-response .button[aria-pressed="true"] { border-color: rgba(111, 215, 151, .4); color: #9de2b4; background: rgba(61, 115, 76, .2); }
.formation-self-response .button:disabled { cursor: default; opacity: .55; }
.absence-panel .formation-form { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; }
.absence-self { display: flex; align-items: center; }
.absence-list { display: grid; gap: 5px; margin-top: 13px; }
.absence-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(183, 196, 188, .1); }
.absence-row div { display: grid; gap: 4px; }
.absence-row strong { color: #e5ece7; font-size: 11px; }
.absence-row small { color: #939f97; font-size: 9px; }
.icon-button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(183, 196, 188, .2); border-radius: 4px; color: #d7e0da; background: #202625; cursor: pointer; }
.icon-button svg { width: 16px; height: 16px; }
.guild-settings-view .form-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guild-settings-view .feature-toggles { margin: 10px 0; }
.custom-bot-form { grid-template-columns: 1fr 2fr auto; margin-bottom: 12px; }
.custom-bot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.custom-bot-card { padding: 12px; }
.custom-bot-card h3 { margin: 5px 0; font-size: 13px; }
.custom-bot-card p { color: #99a59d; font-size: 10px; }
.discord-role-chip { border-color: rgba(183, 196, 188, .18); color: #c8d1cb; background: rgba(183, 196, 188, .06); }
.discord-role-chip.is-rank { border-color: rgba(98, 220, 145, .35); color: #7de5a3; background: rgba(75, 175, 111, .1); }
.discord-role-more { color: #9aa69e; font-size: 9px; }

/* Stable controls and the fixed 1920x1080 workspace overview. */
.menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 12px; }
.menu-grid .menu-card, .menu-grid .menu-card:nth-child(7), .menu-grid .menu-card:nth-child(8) { grid-column: span 1; padding: 15px 18px 13px; }
.menu-card-content strong { font-size: 17px; }
.menu-card-content small { font-size: 8px; }
.menu-card-content p { min-height: 28px; margin: 6px 0 8px; font-size: 10px; }
.menu-card-content b { min-width: 154px; padding: 7px 10px; }
.menu-card-number { top: 13px; right: 15px; }
.menu-watermark { right: 16px; bottom: 10px; }
.menu-watermark svg { width: 82px; height: 82px; }
.user-menu { border: 0; padding: 0 4px; background: transparent; text-align: left; cursor: pointer; }
.user-menu:hover .user-avatar { border-color: #70e29b; }
.padded-form { padding: 16px 18px; }
.formation-form textarea, .stack-form textarea { min-height: 78px; resize: vertical; border: 1px solid rgba(184, 197, 188, .18); border-radius: 5px; padding: 10px; color: #edf2ee; background: #15191a; font: inherit; }
.formation-form textarea:focus, .stack-form textarea:focus { outline: 2px solid rgba(103, 217, 144, .24); border-color: #67d990; }
.radio-current { display: flex; align-items: baseline; gap: 16px; padding: 15px 18px 3px; }
.radio-current strong { color: #75e29e; font-size: 32px; }
.radio-current span { color: #9ba69f; font-size: 11px; }
.vehicle-grid, .route-grid, .community-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; }
.vehicle-card, .route-card { display: grid; min-width: 0; gap: 9px; padding: 13px; border: 1px solid rgba(183, 196, 188, .14); border-radius: 6px; background: #151a18; }
.vehicle-card h4, .route-card h3 { margin: 4px 0; color: #f1f4f2; font-size: 14px; }
.vehicle-card small, .route-card p { color: #9ba69f; font-size: 10px; }
.vehicle-card input, .route-card input, .route-card textarea { min-width: 0; border: 1px solid rgba(184, 197, 188, .18); border-radius: 4px; padding: 9px; color: #edf2ee; background: #15191a; font: inherit; }
.segmented-control { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid rgba(183, 196, 188, .14); border-radius: 5px; background: #141917; }
.segmented-control button { min-width: 72px; border: 0; border-radius: 3px; padding: 7px 10px; color: #9ba69f; background: transparent; font-size: 10px; cursor: pointer; }
.segmented-control button.is-active { color: #09120c; background: #69dc94; }
.operation-list, .community-list { display: grid; gap: 0; padding: 0 18px 10px; }
.operation-row, .community-post { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(183, 196, 188, .1); }
.operation-row strong, .community-post strong { display: block; margin: 4px 0; color: #edf2ee; font-size: 12px; }
.operation-row p, .community-post p { margin: 4px 0; color: #9ba69f; font-size: 10px; line-height: 1.45; }
.operation-row small, .community-post a { color: #7c8b81; font-size: 9px; }
.button-pair { display: flex; gap: 6px; }
.route-stages { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 7px; padding: 12px 0; border-block: 1px solid rgba(183, 196, 188, .1); }
.route-stages div { display: grid; min-width: 0; gap: 5px; }
.route-stages small { color: #70d995; font-size: 8px; }
.route-stages strong, .route-stages span { overflow-wrap: anywhere; color: #e2e9e4; font-size: 10px; }
.route-stages span { color: #9ba69f; }
.route-stages i { color: #70d995; font-style: normal; }
.community-columns { align-items: start; padding: 0; }
.community-columns > .panel-card { min-width: 0; }
.vote-count { flex: 0 0 auto; color: #75e29e; font-size: 11px; white-space: nowrap; }
.vote-count i { margin-left: 7px; color: #db9797; font-style: normal; }
.community-vote { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.community-vote button { min-width: 62px; padding: 7px 10px; border: 1px solid rgba(183, 196, 188, .18); border-radius: 8px; background: #202729; color: #cbd5ce; font: inherit; cursor: pointer; }
.community-vote button[aria-pressed="true"] { border-color: rgba(117, 226, 158, .55); background: rgba(55, 130, 82, .2); color: #8df0b0; }
.community-vote button:disabled { cursor: not-allowed; opacity: .52; }
.community-vote .data-chip { font-size: 8px; }
.event-card details { margin-top: 10px; }
.event-card details form { margin-top: 10px; }
.member-admin-details { margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(183, 196, 188, .1); }
.member-admin-details summary, .event-card details summary { color: #a8b4ab; cursor: pointer; font-size: 9px; letter-spacing: .08em; }
.member-admin-details form { margin-top: 10px; }
.formation-sync-error { display: block; margin: 10px 0; color: #ff9a9a; overflow-wrap: anywhere; }
.vehicle-card article, .vehicle-card p { color: #9ba69f; }
.formation-edit, .uniform-edit, .community-edit, .absence-edit, .custom-bot-edit { flex: 1 0 100%; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(183, 196, 188, .1); }
.formation-edit summary, .uniform-edit summary, .community-edit summary, .absence-edit summary, .custom-bot-edit summary { color: #a8b4ab; cursor: pointer; font-size: 9px; letter-spacing: .08em; }
.formation-edit form, .uniform-edit form, .community-edit form, .absence-edit form, .custom-bot-edit form { margin-top: 10px; }
.formation-live-card > details, .formation-live-card > button, .formation-live-card > small { width: 100%; }
.community-post { flex-wrap: wrap; }
.community-edit { min-width: 100%; }
.access-table-wrap { max-width: 100%; overflow: auto; }
.access-table { min-width: 980px; }
.access-table th, .access-table td { padding: 8px; text-align: center; }
.access-table th:first-child, .access-table td:first-child { position: sticky; left: 0; min-width: 150px; background: #191e20; text-align: left; }
.access-table input { width: 16px; height: 16px; accent-color: #65d98f; cursor: pointer; }
.access-save { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid rgba(183, 196, 188, .1); color: #9ba69f; font-size: 10px; }
.access-role-choice { display: inline-flex; align-items: center; gap: 6px; margin: 6px 9px 0 0; color: #c7d0ca; font-size: 10px; }
.access-role-choice input { accent-color: #65d98f; }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(4, 7, 6, .82); }
.profile-modal { width: min(460px, 100%); border: 1px solid rgba(111, 224, 151, .35); border-radius: 7px; background: #191e20; box-shadow: 0 22px 80px rgba(0, 0, 0, .5); }
.profile-modal .stack-form { padding: 18px; }
.profile-modal .section-title { border-bottom-color: rgba(183, 196, 188, .14); }
.profile-prompt { margin: 0; color: #a4aeaa; font-size: 11px; line-height: 1.5; }
.profile-button, .user-menu { cursor: pointer; }
.modal-backdrop[hidden] { display: none; }
.route-edit { margin-top: 10px; border-top: 1px solid rgba(183, 196, 188, .1); padding-top: 8px; }
.route-edit summary { color: #70d995; font-size: 9px; cursor: pointer; }
.route-edit-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 10px; }
.route-edit-form textarea, .route-edit-form > input:first-child, .route-edit-form > .button-pair { grid-column: 1 / -1; }
.route-edit-form input, .route-edit-form textarea { min-width: 0; border: 1px solid rgba(184, 197, 188, .18); border-radius: 4px; padding: 9px; color: #edf2ee; background: #15191a; font: inherit; }
.route-edit-form textarea { min-height: 68px; resize: vertical; }

.nav-item[hidden] { display: none !important; }
.main-nav { min-height: 0; flex: 1 1 auto; align-content: start; overflow-y: auto; overscroll-behavior: contain; }
.storage-view { gap: 16px; }
.storage-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 25px 28px; overflow: hidden; border: 1px solid rgba(106, 214, 144, .18); border-radius: 9px; background: radial-gradient(ellipse at 82% 45%, rgba(75, 183, 110, .13), transparent 43%), linear-gradient(115deg, #1b2220, #151a19); }
.storage-hero h1 { margin: 6px 0; color: #edf5ef; font-size: clamp(25px, 4vw, 38px); letter-spacing: -.04em; }
.storage-hero h1 em { color: #82e6a2; font-style: normal; }
.storage-hero p { margin: 0; color: #9ba9a0; font-size: 11px; }
.storage-hero-status, .storage-live-tag { display: inline-flex; align-items: center; gap: 8px; color: #9ae8ae; font-size: 8px; font-weight: 850; letter-spacing: .08em; white-space: nowrap; }
.storage-hero-status { padding: 10px 12px; border: 1px solid rgba(110, 220, 145, .18); border-radius: 5px; background: rgba(57, 146, 84, .1); }
.storage-hero-status i, .storage-live-tag i { width: 7px; height: 7px; border-radius: 50%; background: #69dc94; box-shadow: 0 0 9px rgba(105, 220, 148, .46); }
.storage-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.storage-kpis > article { display: grid; gap: 6px; min-width: 0; padding: 15px 17px; border: 1px solid rgba(183, 196, 188, .12); border-radius: 7px; background: linear-gradient(145deg, #1b211e, #171b1a); }
.storage-kpis > article > span { color: #91a096; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.storage-kpis > article > strong { color: #edf4ee; font-size: 24px; line-height: 1.1; }
.storage-kpis > article > small { color: #738078; font-size: 9px; }
.storage-kpis > article.is-warning > strong { color: #f0c273; }
.storage-kpi-track { height: 4px; margin-top: 3px; overflow: hidden; border-radius: 5px; background: #2d3430; }
.storage-kpi-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #51bd78, #9be9ad); }
.storage-layout { grid-template-columns: minmax(0, 1.55fr) minmax(285px, .72fr); gap: 14px; }
.storage-view .inventory-panel { overflow: hidden; border: 1px solid rgba(183, 196, 188, .13); background: linear-gradient(150deg, #191f1c, #171b1a); }
.storage-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 18px 18px 13px; }
.storage-toolbar > div:first-child { display: grid; gap: 4px; }
.storage-toolbar .panel-kicker { color: #88cc9d; font-size: 8px; font-weight: 850; letter-spacing: .13em; }
.storage-toolbar h3, .storage-section-heading h3 { margin: 0; color: #edf4ee; font-size: 15px; }
.storage-toolbar-actions { display: flex; align-items: center; justify-content: flex-end; flex: 1 1 340px; gap: 8px; }
.storage-toolbar-actions .search-field { flex: 1 1 180px; min-width: 125px; min-height: 36px; }
.storage-toolbar-actions .search-field input { min-width: 0; }
.storage-toolbar-actions .button { min-height: 36px; white-space: nowrap; }
.storage-category-filters { display: flex; gap: 6px; overflow-x: auto; padding: 0 18px 12px; border-bottom: 1px solid rgba(183, 196, 188, .1); }
.storage-filter { display: inline-flex; align-items: center; gap: 7px; min-height: 29px; flex: 0 0 auto; padding: 0 9px; border: 1px solid rgba(183, 196, 188, .12); border-radius: 4px; color: #9ca9a0; background: #171c19; font-size: 8px; font-weight: 800; }
.storage-filter span { color: #75837a; }
.storage-filter.is-active { border-color: rgba(104, 222, 145, .36); color: #a2e9b2; background: rgba(64, 153, 90, .13); }
.storage-view .inventory-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 185px), 1fr)); gap: 9px; padding: 13px; }
.storage-view .inventory-card { gap: 10px; padding: 11px; border-color: rgba(183, 196, 188, .11); border-radius: 7px; background: #1a201d; }
.storage-view .inventory-card.is-selected { border-color: rgba(113, 222, 146, .45); box-shadow: inset 0 0 0 1px rgba(113, 222, 146, .08), 0 8px 24px rgba(0, 0, 0, .13); }
.storage-view .inventory-card.is-low { border-color: rgba(227, 183, 98, .38); background: linear-gradient(145deg, rgba(91, 68, 30, .18), #191e1c 70%); }
.inventory-select { display: flex; align-items: center; width: 100%; gap: 11px; padding: 0; border: 0; color: inherit; text-align: left; background: transparent; cursor: pointer; }
.storage-view .inventory-select .item-image { flex: 0 0 62px; width: 62px; aspect-ratio: 1; border: 1px solid rgba(183, 196, 188, .1); border-radius: 6px; background: radial-gradient(circle, rgba(82, 150, 101, .13), #171d1a 72%); }
.storage-view .inventory-select .item-image img { width: 72%; height: 72%; }
.storage-view .item-image > span { right: 4px; bottom: 4px; padding: 3px 5px; border-radius: 3px; font-size: 8px; }
.storage-view .item-copy { display: grid; gap: 5px; }
.storage-view .item-copy small { overflow: hidden; color: #85bd93; font-size: 7px; font-weight: 800; letter-spacing: .08em; text-overflow: ellipsis; white-space: nowrap; }
.storage-view .item-copy strong { overflow: hidden; color: #edf3ee; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.storage-view .item-copy > span { overflow: hidden; color: #808d84; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.inventory-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding-top: 8px; border-top: 1px solid rgba(183, 196, 188, .08); }
.inventory-card-foot > span { overflow: hidden; color: #78867d; font-size: 7px; font-weight: 800; letter-spacing: .04em; text-overflow: ellipsis; white-space: nowrap; }
.inventory-card-foot > span.is-low { color: #e7bd70; }
.storage-view .item-actions { gap: 4px; }
.storage-view .item-actions button { display: grid; place-items: center; width: 23px; height: 22px; border-radius: 4px; color: #a8b5ac; background: #222a25; }
.storage-view .item-actions button:hover { color: #8ee2a2; }
.storage-view .item-actions strong { color: #e4ece6; font-size: 9px; }
.storage-view .inventory-admin-actions { padding-top: 7px; }
.storage-side { gap: 12px; }
.storage-side > .panel-card { padding: 15px; border-color: rgba(183, 196, 188, .12); border-radius: 7px; background: linear-gradient(145deg, #1a201d, #171b19); }
.storage-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.storage-section-heading > div { display: grid; gap: 5px; }
.storage-section-heading .panel-kicker { color: #82978a; font-size: 7px; font-weight: 850; letter-spacing: .11em; }
.storage-selected-card .storage-selected-item { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid rgba(183, 196, 188, .1); border-radius: 5px; background: rgba(8, 14, 10, .24); }
.storage-selected-item .item-image { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 5px; }
.storage-selected-item .item-image img { width: 76%; height: 76%; object-fit: contain; }
.storage-selected-item > div { display: grid; gap: 5px; min-width: 0; }
.storage-selected-item > div > span { color: #86c794; font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.storage-selected-item > div > strong { overflow: hidden; color: #edf4ee; font-size: 13px; text-overflow: ellipsis; }
.storage-selected-quantity { display: grid; gap: 4px; padding: 15px 2px 10px; }
.storage-selected-quantity > span { color: #819087; font-size: 7px; font-weight: 850; letter-spacing: .1em; }
.storage-selected-quantity > strong { color: #94e0a8; font-size: 30px; }
.storage-selected-quantity > strong small { color: #89968d; font-size: 9px; }
.storage-detail-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(183, 196, 188, .08); color: #8e9b92; font-size: 9px; }
.storage-detail-row strong { overflow: hidden; color: #d6e0d9; font-weight: 700; text-align: right; text-overflow: ellipsis; }
.storage-selected-card .storage-health-track { margin: 8px 0; }
.storage-selected-actions { display: flex; gap: 7px; margin-top: 9px; }
.storage-selected-actions .button { flex: 1; min-height: 32px; font-size: 8px; }
.storage-category-chart { display: grid; gap: 12px; }
.storage-category-row { display: grid; grid-template-columns: minmax(80px, .8fr) minmax(50px, 1fr) auto; align-items: center; gap: 9px; color: #a8b4ab; font-size: 8px; }
.storage-category-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.storage-category-row > div { height: 5px; overflow: hidden; border-radius: 5px; background: #2b322d; }
.storage-category-row > div i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #43a967, #8de1a2); }
.storage-category-row strong { color: #e1e9e3; font-size: 9px; }
.storage-log-list { display: grid; gap: 2px; }
.storage-log-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid rgba(183, 196, 188, .08); }
.storage-log-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #9ce6ae; background: rgba(75, 165, 98, .13); font-size: 12px; }
.storage-log-row > div { display: grid; min-width: 0; gap: 3px; }
.storage-log-row strong { overflow: hidden; color: #dce6df; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.storage-log-row small, .storage-log-row time { overflow: hidden; color: #758279; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.storage-form-panel .panel-header { margin-bottom: 13px; }
.spotify-playlist-embed { display: block; width: 100%; height: 152px; border: 0; border-radius: 8px; background: #121714; }
.welcome-playlist-card .spotify-playlist-embed { flex: 0 0 auto; margin-bottom: 9px; }
.overview-spotify-embed { margin: 0 0 12px; }
.settings-spotify-preview { max-width: 480px; height: 352px; margin: 0; }
.welcome-mp3-upload { display: grid; gap: 10px; padding: 14px; border: 1px solid rgba(183, 196, 188, .12); border-radius: 6px; background: rgba(12, 17, 14, .32); }
.welcome-mp3-upload > strong { color: #dfe9e1; font-size: 11px; }
.welcome-mp3-upload > small { color: #78877d; font-size: 8px; }
.welcome-upload-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 9px; }
.welcome-upload-form .field-label:last-of-type { grid-column: 1 / -1; }
.welcome-upload-form .button { justify-self: start; min-height: 34px; }
.welcome-upload-form input[type="file"] { font-size: 9px; }

@media (max-width: 900px) {
  .main-nav { flex: 0 0 auto; overflow-y: hidden; }
  .storage-layout { grid-template-columns: minmax(0, 1fr); }
  .storage-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storage-log-panel { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .storage-hero { align-items: flex-start; flex-direction: column; padding: 19px; }
  .storage-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storage-side { grid-template-columns: minmax(0, 1fr); }
  .storage-log-panel { grid-column: auto; }
  .storage-toolbar { align-items: stretch; }
  .storage-toolbar-actions { justify-content: stretch; flex-wrap: wrap; }
  .storage-toolbar-actions .button { flex: 1; }
  .welcome-upload-form { grid-template-columns: minmax(0, 1fr); }
  .welcome-upload-form .field-label:last-of-type { grid-column: auto; }
}

/* Polished live workspace controls and responsive member/rank cards. */
.app-view { min-height: 100dvh; }
.content { width: 100%; max-width: 1580px; padding: clamp(16px, 2.4vw, 36px); }
.nav-item, .button, .icon-button, .inventory-card, .discord-member-card, .discord-role-row { transition: border-color .16s ease, background-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.nav-item:focus-visible, .button:focus-visible, .icon-button:focus-visible { outline-color: #79e7a2; }
.discord-member-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px; }
.discord-member-card { display: flex; flex-direction: column; gap: 11px; min-height: 235px; padding: 15px; border-radius: 8px; }
.discord-member-card:hover, .inventory-card:hover, .discord-role-row:hover { border-color: rgba(112, 229, 155, .43); box-shadow: 0 8px 25px rgba(0, 0, 0, .16); transform: translateY(-1px); }
.discord-member-top { gap: 11px; }
.member-identifiers { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 8px; border: 1px solid rgba(183, 196, 188, .1); border-radius: 4px; background: rgba(10, 14, 12, .32); }
.member-identifiers > span { display: grid; gap: 3px; min-width: 0; color: #839087; font-size: 7px; font-weight: 800; letter-spacing: .8px; }
.member-identifiers code { overflow: hidden; color: #d0dbd3; font-family: ui-monospace, Consolas, monospace; font-size: 9px; letter-spacing: .1px; text-overflow: ellipsis; }
.member-identifiers button { flex: 0 0 auto; border: 0; padding: 5px 7px; border-radius: 3px; color: #82e4a4; background: rgba(73, 166, 105, .12); font-size: 7px; font-weight: 800; letter-spacing: .5px; }
.member-identifiers button:hover { background: rgba(73, 166, 105, .24); }
.member-live-activity { display: flex; align-items: center; min-height: 56px; gap: 10px; padding: 8px 10px; border: 1px solid rgba(183, 196, 188, .12); border-radius: 5px; background: rgba(33, 41, 36, .55); }
.member-live-activity > span { display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #a7b9ac; background: rgba(183, 196, 188, .09); font-size: 13px; }
.member-live-activity > div { display: grid; min-width: 0; gap: 3px; }
.member-live-activity small { color: #84a18d; font-size: 7px; font-weight: 800; letter-spacing: .8px; }
.member-live-activity strong, .member-live-activity div > span { overflow: hidden; color: #e1e9e3; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.member-live-activity div > span { color: #9aa69e; font-size: 9px; }
.member-live-activity.is-spotify { border-color: rgba(82, 193, 117, .3); background: linear-gradient(105deg, rgba(28, 77, 46, .32), rgba(33, 41, 36, .5)); }
.member-live-activity.is-spotify > span { color: #82e4a4; background: rgba(41, 148, 73, .22); font-size: 16px; }
.member-live-activity.is-spotify small { color: #8de6a6; }
.member-live-activity.is-idle { background: rgba(20, 25, 22, .5); }
.discord-member-roles { min-height: 25px; margin-top: auto; }
.discord-member-foot { flex-wrap: wrap; align-items: center; }
.discord-member-foot > span:first-child { display: grid; gap: 4px; }
.discord-member-foot > span small { color: #738178; font-size: 7px; }
.steam-profile-link, .steam-profile-empty { color: #8bc8ed; font-size: 8px; font-weight: 800; letter-spacing: .5px; white-space: nowrap; }
.steam-profile-empty { color: #768178; }
.steam-profile-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 17px; border-radius: 7px; }
.steam-profile-card > div { display: grid; gap: 5px; }
.steam-profile-card > div > strong { color: #edf2ee; font-size: 12px; }
.steam-profile-card > div > small { color: #9aa69e; font-size: 9px; }
.steam-id-form { display: flex; flex: 0 1 440px; gap: 8px; }
.steam-id-form input { min-width: 0; flex: 1; border: 1px solid rgba(184, 197, 188, .18); border-radius: 5px; padding: 9px 11px; color: #edf2ee; background: #15191a; font-family: ui-monospace, Consolas, monospace; font-size: 11px; }
.sync-indicator { display: inline-flex; align-items: center; gap: 7px; color: #86dca0; font-size: 8px; font-weight: 800; letter-spacing: .65px; white-space: nowrap; }
.sync-indicator i { width: 7px; height: 7px; border-radius: 50%; background: #69dc94; box-shadow: 0 0 8px rgba(105, 220, 148, .4); }
.sync-indicator.is-error { color: #ed9292; }
.sync-indicator.is-error i { background: #df6969; box-shadow: 0 0 8px rgba(223, 105, 105, .4); }
.sync-indicator.is-pending i { background: #e5b951; animation: sync-pulse 1s ease-in-out infinite alternate; }
.sync-button { padding: 8px 10px; border-radius: 5px; white-space: nowrap; }
.sync-button:disabled, .button:disabled { cursor: wait; opacity: .55; }
@keyframes sync-pulse { to { opacity: .35; transform: scale(.75); } }
.rank-overview { flex-wrap: wrap; padding: 14px 16px; border: 1px solid rgba(183, 196, 188, .13); border-radius: 7px; background: #191e20; }
.rank-overview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rank-role-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); gap: 8px; }
.discord-role-row { min-width: 0; border-radius: 6px; }
.discord-role-row.is-rank-role { border-color: rgba(98, 220, 145, .24); background: linear-gradient(100deg, rgba(29, 58, 39, .33), #191e20 46%); }
.role-member-count { white-space: nowrap; }
.role-member-count small { color: #78847c; font-size: 8px; }
.inventory-card { border-radius: 7px; }
.inventory-card.is-low { background: linear-gradient(145deg, rgba(83, 64, 28, .28), #191e20 70%); }
.item-copy small { line-height: 1.4; }
.inventory-admin-actions { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(183, 196, 188, .1); padding-top: 7px; }
.inventory-admin-actions button { border: 0; padding: 3px 0; color: #91a89a; background: transparent; font-size: 7px; font-weight: 800; letter-spacing: .7px; }
.inventory-admin-actions button:hover { color: #80e7a3; }
.inventory-admin-actions button:last-child { color: #c98a8a; }
.inventory-updated { color: #708078; font-size: 7px; }
.inventory-summary-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 0 18px 15px; }
.inventory-summary-stats > span { display: grid; gap: 4px; padding: 9px; border: 1px solid rgba(183, 196, 188, .1); border-radius: 4px; }
.inventory-summary-stats small { color: #839087; font-size: 7px; letter-spacing: .55px; }
.inventory-summary-stats strong { color: #e8efe9; font-size: 14px; }
.inventory-edit-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.item-actions button:disabled { cursor: not-allowed; opacity: .35; }
.field-label { color: #94a299; font-size: 9px; }
.field-label input, .field-label select { display: block; width: 100%; margin-top: 6px; }
.button.primary:hover { border-color: #80e7a3; color: #a2f4bd; background: rgba(55, 138, 84, .24); }
.panel-card { border-radius: 7px; }
.toast { box-shadow: 0 14px 40px rgba(0, 0, 0, .26); }
::selection { color: #08120b; background: #82e4a4; }

@media (max-width: 1250px) {
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); }
  .menu-card-content strong { font-size: 15px; }
  .menu-card-content p { font-size: 9px; }
}
@media (max-width: 850px) {
  .app-view { grid-template-columns: 58px minmax(0, 1fr); }
  .sidebar { padding-inline: 7px; }
  .nav-item { width: 40px; height: 40px; }
  .nav-item.is-active::before { right: -7px; }
  .content { padding: 14px; }
  .menu-grid { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .menu-grid .menu-card, .menu-grid .menu-card:nth-child(7), .menu-grid .menu-card:nth-child(8) { min-height: 190px; }
  .community-columns, .vehicle-grid, .route-grid { grid-template-columns: 1fr; }
  .user-menu { display: flex; }
  .user-menu strong { max-width: 80px; }
  .profile-modal { max-height: calc(100dvh - 32px); overflow: auto; }
}

.login-view { min-height: 100dvh; padding: 20px; background: #111416; }
.login-view::before { display: none; }
.login-gridline { display: none; }
.login-panel { min-height: min(620px, calc(100vh - 40px)); border: 1px solid rgba(185, 196, 190, .17); border-radius: 8px; background: #191e20; box-shadow: none; }
.login-panel::after { display: none; }
.brand-symbol, .login-panel h1 em, .discord-login span:last-child { color: #75e29e; text-shadow: none; }
.brand-lockup small, .login-copy, .login-panel .eyebrow, .login-aside p { color: #a4aeaa; }
.login-panel h1 { font-size: 66px; }
.discord-login { border-color: rgba(112, 224, 153, .43); border-radius: 5px; color: #ecf3ee; background: #202725; box-shadow: none; }
.discord-login:hover { border-color: #72e29c; background: #26342c; box-shadow: none; }
.login-aside { border-color: rgba(185, 196, 190, .2); }
.status-line i { background: #69dc94; box-shadow: none; }
.login-meta { border-color: rgba(185, 196, 190, .13); }

@media (max-width: 1280px) {
  .app-header { margin-right: 20px; margin-left: 20px; padding-right: 16px; padding-left: 18px; gap: 14px; }
  .app-brand strong { font-size: 28px; }
  .header-tagline, .header-divider { display: none; }
  .content { padding-right: 20px; padding-left: 20px; }
  .discord-member-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .main-panel { grid-template-rows: 100px auto minmax(0, 1fr); }
  .app-header { height: 86px; margin: 14px 12px 0; padding: 10px 12px; }
  .app-logo { font-size: 38px; letter-spacing: -6px; }
  .app-brand { gap: 9px; }
  .app-brand strong { font-size: 20px; }
  .app-brand small { display: none; }
  .header-context h2 { font-size: 14px; }
  .active-guild-select { min-width: 110px; max-width: 140px; font-size: 10px; }
  .server-badge, .user-menu { display: none; }
  .header-exit { width: 38px; padding: 0; justify-content: center; font-size: 0; }
  .content { padding: 12px; }
  .app-view[data-view="overview"] .content { overflow-y: auto; }
  .menu-grid { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .menu-card, .menu-card:nth-child(7), .menu-card:nth-child(8) { grid-column: span 1; min-height: 220px; padding: 15px; }
  .menu-card-content strong { font-size: 16px; }
  .menu-card-content p { font-size: 10px; }
  .discord-member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formation-form, .absence-panel .formation-form, .guild-settings-view .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formation-roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar-row { flex-wrap: wrap; }
  .toolbar-row .search-field { flex: 1 1 100%; }
  .steam-profile-card { align-items: stretch; flex-direction: column; }
  .steam-id-form { flex-basis: auto; }
  .rank-overview-actions { width: 100%; }
}
@media (max-width: 520px) {
  .app-header { gap: 8px; }
  .app-brand strong { font-size: 16px; }
  .app-logo { font-size: 30px; }
  .active-guild-select { min-width: 80px; max-width: 100px; }
  .back-menu { width: 34px; height: 34px; }
  .discord-member-grid, .formation-form, .absence-panel .formation-form, .guild-settings-view .form-row, .formation-roster, .custom-bot-grid { grid-template-columns: 1fr; }
  .app-view { grid-template-columns: 48px minmax(0, 1fr); }
  .sidebar { padding-inline: 4px; }
  .nav-item { width: 36px; height: 38px; }
  .nav-item span { font-size: 19px; }
  .nav-item.is-active::before { right: -4px; }
  .header-right { min-width: 0; }
  .active-guild-select { min-width: 60px; max-width: 78px; padding: 6px 2px; }
  .toolbar-count { font-size: 7px; }
  .sync-indicator { font-size: 7px; }
  .steam-id-form { flex-direction: column; }
  .rank-overview-actions { gap: 7px; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card, .menu-card:nth-child(7), .menu-card:nth-child(8) { min-height: 200px; }
  .formation-counts { flex-wrap: wrap; }
  .formation-counts > span { min-width: 28%; }
  .toolbar-row { flex-wrap: wrap; }
.login-panel h1 { font-size: 40px; }
}

@media (max-width: 850px) {
  .server-badge { display: none; }
  .user-menu { display: flex; }
  .header-right { gap: 7px; }
}

@media (max-width: 850px) {
  .discord-member-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
}

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

.cash-account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cash-account { display: grid; gap: 10px; padding: 22px; border: 1px solid rgba(165, 186, 171, .16); border-radius: 16px; background: linear-gradient(135deg, rgba(28, 43, 34, .92), rgba(13, 18, 15, .96)); }
.cash-account > span { color: #aeb8b0; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.cash-account > strong { color: #8ce2a2; font-size: clamp(24px, 4vw, 38px); font-variant-numeric: tabular-nums; }
.cash-account > small { color: #9da69f; font-size: 11px; }
.black-cash { background: linear-gradient(135deg, rgba(45, 32, 30, .94), rgba(17, 16, 16, .96)); border-color: rgba(208, 121, 102, .22); }
.black-cash > strong { color: #e69a86; }
.cash-chart-panel { overflow: hidden; }
.cash-chart-legend { display: flex; gap: 18px; color: #adb6ae; font-size: 11px; }
.cash-chart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cash-chart-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; }
.cash-chart { display: block; width: 100%; min-height: 170px; margin-top: 12px; overflow: visible; }
.cash-chart text { fill: #929c94; font: 11px system-ui, sans-serif; }
.cash-chart-zero { stroke: rgba(183, 196, 188, .22); stroke-dasharray: 4 5; }
.cash-bar-green { fill: #6ac98a; }
.cash-bar-black { fill: #d77b69; }
.black-cash-chip { color: #f0ad9d; background: rgba(144, 62, 48, .18); }
.event-rsvp-counts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 10px 0; color: #b9c2ba; font-size: 11px; }
.event-rsvp-counts small { margin-left: auto; color: #8c978f; }
.embed-banner-settings { padding: 12px; border: 1px solid rgba(183, 196, 188, .12); border-radius: 12px; }
.embed-banner-settings summary { color: #c8d1ca; cursor: pointer; font-size: 12px; font-weight: 700; }
.embed-banner-settings .form-row { margin-top: 12px; }
.embed-banner-settings > small { display: block; margin-top: 8px; color: #8f9a92; }
@media (max-width: 650px) {
  .cash-account-grid { grid-template-columns: 1fr; }
  .event-rsvp-counts small { flex-basis: 100%; margin-left: 0; }
}

.welcome-screen { position: fixed; z-index: 2000; inset: 0; overflow: auto; color: #eef4ef; background: #0c110e; }
.welcome-screen[hidden] { display: none; }
.welcome-backdrop { position: fixed; inset: 0 0 0 40%; background: radial-gradient(ellipse at 72% 38%, rgba(47, 91, 60, .62), transparent 55%), linear-gradient(135deg, #16231a, #0b100d); background-size: cover; background-position: center; }
.welcome-shell { position: relative; display: grid; grid-template-columns: minmax(380px, .82fr) minmax(0, 1.18fr); min-height: 100vh; }
.welcome-personal { display: flex; flex-direction: column; padding: clamp(26px, 4vw, 58px); background: linear-gradient(155deg, rgba(15, 21, 17, .99), rgba(12, 17, 14, .98)); border-right: 1px solid rgba(191, 225, 200, .12); }
.welcome-brand { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(38px, 7vh, 76px); }
.welcome-brand > span:last-child { display: grid; gap: 3px; }
.welcome-brand strong { font-size: 13px; letter-spacing: .13em; }
.welcome-brand small, .welcome-track small { color: #86968b; font-size: 9px; letter-spacing: .13em; }
.welcome-personal > .eyebrow { color: #88c999; }
.welcome-personal h1 { margin: 12px 0 8px; font-size: clamp(27px, 3.1vw, 44px); line-height: 1.07; letter-spacing: -.045em; }
.welcome-subtitle { margin: 0 0 28px; color: #9ba89f; font-size: 13px; line-height: 1.6; }
.welcome-personal-section { margin: 10px 0 12px; }
.welcome-section-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid rgba(196, 216, 201, .12); color: #a6b2a9; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.welcome-section-heading b { display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 8px; color: #9be0ae; background: rgba(80, 152, 100, .16); font-size: 11px; }
.welcome-personal-section ul { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; }
.welcome-personal-section li:not(.welcome-empty) { display: flex; align-items: center; gap: 11px; padding: 7px 0; }
.welcome-item-icon { display: grid; flex: 0 0 29px; height: 29px; place-items: center; border: 1px solid rgba(134, 200, 151, .16); border-radius: 9px; color: #93d4a4; background: rgba(60, 116, 75, .12); }
.welcome-personal-section li div { display: grid; min-width: 0; gap: 4px; }
.welcome-personal-section li strong { overflow: hidden; color: #e4ebe5; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.welcome-personal-section li small { color: #86938a; font-size: 10px; }
.welcome-empty { padding: 12px 0; color: #7f8d83; font-size: 11px; }
.welcome-audio { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding: 14px; border: 1px solid rgba(181, 213, 187, .14); border-radius: 14px; background: rgba(30, 42, 33, .56); }
.welcome-track { display: flex; align-items: center; gap: 11px; min-width: 0; }
.welcome-track > div { display: grid; gap: 5px; min-width: 0; }
.welcome-track strong { overflow: hidden; max-width: 210px; color: #e8efe9; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.welcome-audio-icon { display: grid; flex: 0 0 35px; height: 35px; place-items: center; border-radius: 11px; color: #a4e3b3; background: rgba(82, 156, 102, .18); font-size: 18px; }
.welcome-audio-controls { display: flex; align-items: center; gap: 6px; }

.discord-members-view { gap: 16px; }
.members-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.members-summary article { display: flex; align-items: center; min-height: 78px; gap: 12px; padding: 13px 15px; border: 1px solid rgba(172, 195, 180, .12); border-radius: 8px; background: linear-gradient(140deg, rgba(27, 36, 30, .92), rgba(19, 25, 22, .92)); }
.members-summary article > span { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(129, 190, 145, .18); border-radius: 10px; color: #a3ddb0; background: rgba(77, 132, 88, .14); font-size: 16px; }
.members-summary article > div { display: grid; gap: 5px; }
.members-summary small, .member-card-meta small, .member-card-controls label > span { color: #809087; font-size: 8px; font-weight: 750; letter-spacing: .09em; }
.members-summary strong { color: #eef5ef; font-size: 20px; line-height: 1; }
.members-summary .members-online-icon { color: #7ce4a0; }
.members-summary .members-warning-icon { color: #e1b86d; background: rgba(153, 112, 40, .14); }
.members-summary .members-new-icon { color: #91c5ef; background: rgba(76, 119, 153, .15); }
.members-toolbar { align-items: flex-end; min-height: auto; gap: 16px; padding: 4px 1px 12px; border-bottom: 1px solid rgba(183, 196, 188, .12); }
.members-toolbar-heading { flex: 0 0 auto; }
.members-toolbar-heading h3 { margin: 4px 0 0; color: #f0f4f1; font-size: 21px; letter-spacing: -.02em; }
.members-toolbar-actions { display: flex; align-items: center; justify-content: flex-end; flex: 1; flex-wrap: wrap; gap: 8px; }
.members-toolbar-actions .search-field { width: min(285px, 100%); min-height: 36px; border: 1px solid rgba(183, 196, 188, .15); border-radius: 6px; background: rgba(16, 21, 18, .76); }
.members-toolbar-actions > select { min-width: 125px; height: 36px; padding: 0 9px; border: 1px solid rgba(183, 196, 188, .15); border-radius: 6px; color: #dce6de; background: #151b17; font-size: 10px; }
.members-toolbar-actions .toolbar-count { white-space: nowrap; }
.members-toolbar-actions .sync-indicator { font-size: 8px; }
.members-toolbar-actions .sync-button { min-height: 34px; padding: 0 11px; font-size: 9px; }
.discord-member-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr)); gap: 12px; }
.discord-member-card { display: flex; flex-direction: column; gap: 0; min-height: 230px; padding: 13px; border-color: rgba(142, 173, 151, .14); border-radius: 8px; background: linear-gradient(155deg, rgba(27, 33, 29, .98), rgba(20, 25, 22, .98)); transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.discord-member-card:hover { transform: translateY(-2px); border-color: rgba(119, 204, 142, .36); background: linear-gradient(155deg, rgba(30, 39, 32, .99), rgba(20, 26, 22, .99)); }
.discord-member-card[hidden] { display: none; }
.discord-member-top { gap: 9px; }
.discord-avatar-wrap { flex-basis: 42px; width: 42px; height: 42px; border: 1px solid rgba(207, 226, 211, .13); background: #28322b; }
.presence-dot { border-color: #1b211d; }
.discord-member-name { gap: 3px; }
.discord-member-name strong { font-size: 12px; }
.discord-member-name span { font-size: 9px; }
.presence-label { display: inline-flex; align-items: center; gap: 5px; padding: 5px 6px; border-radius: 20px; background: rgba(145, 158, 149, .08); font-size: 7px; }
.presence-label i { width: 5px; height: 5px; border-radius: 50%; background: #78837c; }
.presence-label.online { color: #89e3a3; background: rgba(70, 157, 94, .12); }
.presence-label.online i { background: #72df92; box-shadow: 0 0 7px rgba(114, 223, 146, .5); }
.presence-label.idle { color: #e1c16d; }.presence-label.idle i { background: #e1c16d; }
.presence-label.dnd { color: #e48d8d; }.presence-label.dnd i { background: #df7373; }
.member-identifiers { min-height: 37px; margin-top: 11px; padding: 7px 8px; border: 1px solid rgba(157, 177, 162, .1); border-radius: 5px; background: rgba(10, 14, 12, .4); }
.member-identifiers > span { display: grid; min-width: 0; gap: 3px; }
.member-identifiers small { color: #738178; font-size: 7px; font-weight: 750; letter-spacing: .1em; }
.member-identifiers code { overflow: hidden; color: #c1ccc4; font-size: 9px; text-overflow: ellipsis; }
.member-identifiers button { padding: 2px 5px; color: #8bd9a1; background: transparent; font-size: 15px; }
.member-badges { display: flex; min-height: 26px; flex-wrap: wrap; align-items: center; gap: 5px; margin: 8px 0 2px; }
.member-rank-badge, .member-role-badge { overflow: hidden; max-width: 100%; padding: 4px 7px; border: 1px solid color-mix(in srgb, var(--role-color), transparent 65%); border-radius: 4px; color: color-mix(in srgb, var(--role-color), white 38%); background: color-mix(in srgb, var(--role-color), transparent 91%); font-size: 7px; font-weight: 750; letter-spacing: .04em; text-overflow: ellipsis; white-space: nowrap; }
.member-rank-badge { color: #a3e2b0; border-color: rgba(115, 198, 137, .22); background: rgba(70, 145, 88, .13); }
.member-rank-badge.is-unranked, .member-role-more { color: #849188; border-color: rgba(154, 169, 158, .14); background: rgba(130, 145, 134, .07); }
.member-card-activity-row { min-width: 0; margin: 4px 0 2px; }
.member-card-activity { display: block; overflow: hidden; padding: 6px 8px; border: 1px solid rgba(143, 174, 151, .13); border-radius: 5px; color: #c5d0c8; background: rgba(45, 56, 47, .28); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.member-card-activity.is-spotify { color: #91dfa4; border-color: rgba(79, 181, 105, .22); background: rgba(32, 93, 47, .17); }
.member-card-meta { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 8px; margin-top: auto; padding: 9px 0 8px; }
.member-card-meta > span { display: grid; min-width: 0; align-content: start; gap: 4px; }
.member-card-meta strong, .member-card-meta a { overflow: hidden; color: #c0cbc3; font-size: 9px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.member-card-meta a { color: #8fc9e9; text-decoration: none; }
.member-card-meta .member-no-steam { color: #758279; }
.member-card-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding-top: 8px; border-top: 1px solid rgba(183, 196, 188, .1); }
.member-card-controls label { display: grid; min-width: 0; gap: 5px; }
.member-card-controls label > span { font-size: 7px; }
.member-card-controls select { width: 100%; min-width: 0; max-width: none; height: 31px; padding: 0 7px; border-radius: 5px; background: #171d19; font-size: 9px; }
.member-card-controls select:disabled { color: #9ba79e; }
.member-admin-details { margin-top: 8px; padding-top: 7px; border-top: 1px solid rgba(183, 196, 188, .08); }
.member-admin-details summary { color: #819086; font-size: 7px; }
.member-admin-details textarea { min-height: 54px; }
@media (max-width: 1100px) {
  .members-toolbar { align-items: flex-start; flex-direction: column; }
  .members-toolbar-actions { justify-content: flex-start; width: 100%; }
}
@media (max-width: 720px) {
  .members-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .members-toolbar-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .members-toolbar-actions .search-field { grid-column: 1 / -1; width: 100%; }
  .members-toolbar-actions .toolbar-count { grid-column: 1 / -1; }
  .members-toolbar-actions .sync-indicator { justify-self: start; }
  .members-toolbar-actions .sync-button { justify-self: end; }
  .discord-member-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr)); }
}
@media (max-width: 420px) {
  .members-summary article { min-height: 68px; gap: 8px; padding: 10px; }
  .members-summary article > span { flex-basis: 30px; width: 30px; height: 30px; }
  .members-summary small { font-size: 7px; }
  .members-toolbar-actions { grid-template-columns: 1fr; }
  .members-toolbar-actions .search-field, .members-toolbar-actions .toolbar-count { grid-column: auto; }
  .members-toolbar-actions .sync-button { justify-self: start; }
}
.welcome-audio-controls button { width: 34px; height: 34px; border: 1px solid rgba(177, 204, 182, .16); border-radius: 10px; color: #e9f2eb; background: rgba(255, 255, 255, .04); cursor: pointer; }
.welcome-audio-controls button:hover { color: #9fe0ad; background: rgba(89, 157, 104, .16); }
.welcome-audio-controls span { display: none; }
.welcome-footer { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.welcome-footer > div:first-child { display: grid; min-width: 52px; gap: 3px; }
.welcome-footer span { color: #c5d1c8; font-size: 13px; font-variant-numeric: tabular-nums; }
.welcome-footer small { color: #758279; font-size: 8px; letter-spacing: .1em; white-space: nowrap; }
.welcome-progress { height: 3px; flex: 1; overflow: hidden; border-radius: 99px; background: rgba(192, 215, 197, .12); }
.welcome-progress i { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6cc687, #a0e3af); transition: width 1s linear; }
.welcome-visual { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 100vh; padding: clamp(30px, 6vw, 84px); background: linear-gradient(0deg, rgba(8, 13, 10, .79), transparent 60%); }
.welcome-visual-caption { display: grid; gap: 10px; margin-bottom: 22px; }
.welcome-visual-caption .eyebrow { color: #a8dbb3; }
.welcome-visual-caption strong { font-size: clamp(30px, 5vw, 64px); line-height: 1; letter-spacing: -.04em; text-shadow: 0 5px 30px rgba(0, 0, 0, .32); }
.welcome-visual-caption small { color: rgba(233, 241, 235, .76); font-size: 13px; }
.welcome-settings-panel .section-title p { max-width: 720px; color: #929d95; font-size: 12px; line-height: 1.6; }
.welcome-track-heading { margin-top: 8px; }
.welcome-track-heading h3 { margin: 4px 0; }
.welcome-track-heading p { margin: 4px 0; }
.welcome-track-editors { display: grid; gap: 10px; }
.welcome-track-editor { display: grid; grid-template-columns: minmax(140px, .7fr) minmax(220px, 1.3fr) auto; align-items: end; gap: 12px; padding: 13px; border: 1px solid rgba(165, 186, 171, .13); border-radius: 12px; background: rgba(255, 255, 255, .018); }
.welcome-track-editor .icon-button { margin-bottom: 3px; }
@media (max-width: 800px) {
  .welcome-shell { grid-template-columns: minmax(0, 1fr); }
  .welcome-backdrop { inset: 0; opacity: .45; }
  .welcome-personal { min-height: 100vh; border-right: 0; background: linear-gradient(155deg, rgba(15, 21, 17, .97), rgba(12, 17, 14, .91)); }
  .welcome-visual { position: absolute; inset: 0; z-index: -1; min-height: 100vh; }
}
@media (max-width: 560px) {
  .welcome-personal { padding: 23px 19px; }
  .welcome-brand { margin-bottom: 34px; }
  .welcome-audio { align-items: flex-start; flex-direction: column; }
  .welcome-track-editor { grid-template-columns: 1fr auto; }
  .welcome-track-editor label:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .welcome-track-editor .icon-button { grid-column: 2; grid-row: 1; }
  .welcome-track-heading { align-items: flex-start; gap: 12px; }
}

.welcome-screen { isolation: isolate; overflow: auto; color: #e5f8f1; background: #03100f; font-family: Inter, "Segoe UI", sans-serif; }
.welcome-backdrop { position: fixed; z-index: -3; inset: 0; background-color: #041310; background-image: linear-gradient(90deg, rgba(1, 11, 10, .7), rgba(1, 11, 10, .35)), url("/135.png"); background-position: center; background-size: cover; filter: saturate(.82); transform: scale(1.035); animation: welcome-city-drift 26s ease-in-out infinite alternate; }
.welcome-city-glow { position: fixed; z-index: -2; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 50% 6%, rgba(16, 224, 162, .12), transparent 34%), linear-gradient(180deg, rgba(1, 11, 11, .12), rgba(1, 10, 10, .77)); }
.welcome-city-glow::before { position: absolute; inset: -20%; background-image: radial-gradient(circle, rgba(124, 255, 215, .65) 0 1px, transparent 2px), radial-gradient(circle, rgba(109, 211, 255, .38) 0 1px, transparent 2px); background-position: 0 0, 30px 45px; background-size: 137px 113px, 191px 167px; opacity: .19; content: ""; animation: welcome-particles 34s linear infinite; }
.welcome-city-glow::after { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(88, 234, 194, .018) 4px); content: ""; }
.welcome-layout { position: relative; display: grid; grid-template-columns: minmax(250px, .84fr) minmax(390px, 1.24fr) minmax(250px, .84fr); align-items: start; gap: 18px; width: min(1760px, 100%); min-height: 100vh; margin: 0 auto; padding: 15px 19px 44px; }
.welcome-topbar { position: relative; display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; height: 38px; margin: 0 4px 1px; }
.welcome-top-logo { position: absolute; left: 50%; display: flex; align-items: center; gap: 20px; transform: translateX(-50%); }
.welcome-top-logo i { width: 42px; height: 1px; background: linear-gradient(90deg, transparent, #35ffbc); box-shadow: 0 0 12px #28e8ab; }
.welcome-top-logo i:last-child { transform: rotate(180deg); }
.welcome-top-logo strong { color: #55ffbd; font-size: 33px; font-style: italic; font-weight: 1000; letter-spacing: -.09em; text-shadow: 0 0 20px rgba(40, 255, 181, .32); }
.welcome-session { display: flex; align-items: center; gap: 8px; color: #b1c9c0; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.welcome-session-copy { display: grid; min-width: 0; gap: 3px; }
.welcome-session-copy > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.welcome-session small { color: #8ca69a; font-size: 7px; }
.welcome-session small b { color: #b2ffdb; font-variant-numeric: tabular-nums; }
.welcome-live-dot, .welcome-sync-label i { width: 7px; height: 7px; border-radius: 50%; background: #34ffc0; box-shadow: 0 0 10px #34ffc0; animation: welcome-live-pulse 1.8s ease-in-out infinite; }
.welcome-loading-status { display: flex; align-items: center; gap: 8px; max-width: min(38%, 330px); padding: 6px 10px; border: 1px solid rgba(74, 255, 194, .2); border-radius: 5px; background: rgba(2, 19, 17, .62); }
.welcome-loading-status > i { width: 9px; height: 9px; flex: 0 0 9px; border: 1px solid rgba(74, 255, 194, .35); border-top-color: #4affc0; border-radius: 50%; animation: welcome-loading-spin .8s linear infinite; }
.welcome-loading-status > span { display: grid; min-width: 0; gap: 3px; }
.welcome-loading-status strong { color: #9bf8c9; font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.welcome-loading-status small { overflow: hidden; color: #91a99d; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
@keyframes welcome-loading-spin { to { transform: rotate(360deg); } }
.welcome-left, .welcome-right, .welcome-center { display: flex; min-width: 0; flex-direction: column; gap: 14px; }
.welcome-left, .welcome-right { padding-top: 34px; }
.welcome-center { align-items: center; }
.welcome-frame { position: relative; overflow: hidden; border: 1px solid rgba(53, 255, 189, .38); border-radius: 10px; background: linear-gradient(140deg, rgba(3, 24, 22, .89), rgba(2, 15, 15, .82)); box-shadow: 0 13px 35px rgba(0, 0, 0, .21), inset 0 0 24px rgba(25, 255, 181, .035); backdrop-filter: blur(11px); }
.welcome-frame::before { position: absolute; z-index: 1; top: -1px; left: 17px; width: 50px; height: 3px; border-radius: 0 0 5px 5px; background: #4cffc0; box-shadow: 0 0 13px rgba(76, 255, 192, .82); content: ""; }
.welcome-frame::after { position: absolute; right: 0; bottom: 0; width: 13px; height: 13px; border-right: 2px solid #36ffb6; border-bottom: 2px solid #36ffb6; border-radius: 0 0 8px; content: ""; }
.welcome-panel-heading { position: relative; display: flex; min-height: 39px; align-items: center; gap: 9px; padding: 10px 12px 8px; border-bottom: 1px solid rgba(91, 255, 203, .13); }
.welcome-panel-icon { color: #49ffc0; font-size: 17px; line-height: 1; text-shadow: 0 0 12px rgba(73, 255, 192, .48); }
.welcome-panel-heading strong { color: #d9e9e3; font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.welcome-panel-heading > small { margin-left: auto; color: #819990; font-size: 8px; font-variant-numeric: tabular-nums; }
.welcome-online-card { min-height: 286px; }
.welcome-online-list { max-height: 315px; overflow: auto; padding: 2px 11px 8px; scrollbar-color: rgba(57, 255, 189, .34) transparent; scrollbar-width: thin; }
.welcome-online-member { display: flex; min-height: 43px; align-items: center; gap: 9px; border-bottom: 1px solid rgba(147, 203, 183, .08); animation: welcome-rise .35s both; animation-delay: calc(var(--member-index, 0) * 40ms); }
.welcome-online-member:last-child { border-bottom: 0; }
.welcome-online-member > img { width: 29px; height: 29px; flex: 0 0 29px; border: 1px solid rgba(67, 255, 191, .77); border-radius: 50%; object-fit: cover; box-shadow: 0 0 8px rgba(39, 255, 183, .14); }
.welcome-online-info { display: grid; min-width: 0; gap: 3px; }
.welcome-online-info strong { overflow: hidden; color: #d9e4df; font-size: 10px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.welcome-online-info small { display: flex; align-items: center; gap: 5px; color: #45e9ac; font-size: 8px; }
.welcome-online-info small i { width: 5px; height: 5px; border-radius: 50%; background: #37ffad; box-shadow: 0 0 7px #37ffad; }
.welcome-role-chip { max-width: 78px; overflow: hidden; margin-left: auto; padding: 4px 6px; border: 1px solid rgba(57, 255, 189, .27); border-radius: 10px; color: #66e4b9; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.welcome-task-card { min-height: 185px; }
.welcome-task-list { display: grid; padding: 2px 12px 7px; }
.welcome-task-row { display: flex; min-height: 39px; align-items: center; gap: 9px; border-bottom: 1px solid rgba(147, 203, 183, .08); animation: welcome-rise .4s both; animation-delay: calc(var(--member-index, 0) * 55ms); }
.welcome-task-row:last-child { border-bottom: 0; }
.welcome-task-check { color: #5dffd0; font-size: 15px; }
.welcome-task-copy { display: grid; min-width: 0; flex: 1; gap: 3px; }
.welcome-task-copy strong { overflow: hidden; color: #c9d8d1; font-size: 9px; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.welcome-task-copy small { color: #7d958a; font-size: 8px; }
.welcome-task-state { color: #55eab4; font-size: 7px; font-weight: 750; letter-spacing: .04em; }
.welcome-panel-empty { padding: 19px 12px; color: #81938b; font-size: 9px; text-align: center; }
.welcome-heading { position: relative; width: 100%; padding: 4px 0 9px; text-align: center; }
.welcome-heading-mark { display: block; color: #58ffc1; font-size: 15px; text-shadow: 0 0 12px rgba(61, 255, 191, .56); animation: welcome-live-pulse 2.2s infinite; }
.welcome-heading h1 { margin: -1px 0 -1px; color: #dcfff1; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(44px, 6vw, 79px); font-style: italic; font-weight: 1000; line-height: .98; letter-spacing: -.035em; text-transform: uppercase; text-shadow: 0 2px 0 rgba(65, 255, 193, .22), 0 0 25px rgba(30, 255, 177, .2); -webkit-text-stroke: .4px #7effd1; }
.welcome-heading-to { display: flex; align-items: center; justify-content: center; gap: 9px; color: #7efbd0; font-size: 9px; font-weight: 900; letter-spacing: .42em; }
.welcome-heading-to::before, .welcome-heading-to::after { width: 27px; height: 1px; background: #3effb9; content: ""; box-shadow: 0 0 8px #3effb9; }
.welcome-heading-to b { font-weight: 900; }
.welcome-heading p { margin: 8px 0 7px; color: #a5bdb3; font-size: 9px; }
.welcome-soundwave { display: flex; height: 18px; align-items: center; justify-content: center; gap: 3px; }
.welcome-soundwave i { width: 2px; height: 6px; border-radius: 4px; background: #4affc0; box-shadow: 0 0 7px rgba(74, 255, 192, .8); animation: welcome-wave .68s ease-in-out infinite alternate; }
.welcome-soundwave i:nth-child(3n) { animation-delay: -.4s; }.welcome-soundwave i:nth-child(2n) { animation-delay: -.2s; }.welcome-soundwave i:nth-child(4n) { animation-duration: .9s; }
.welcome-player-frame { position: relative; display: flex; width: min(100%, 480px); flex-direction: column; align-items: center; padding: 16px 18px 13px; border: 1px solid rgba(63, 255, 191, .72); border-radius: 11px; background: linear-gradient(145deg, rgba(1, 17, 16, .96), rgba(2, 25, 21, .94)); box-shadow: 0 0 27px rgba(20, 255, 173, .08), inset 0 0 30px rgba(24, 255, 174, .045); }
.welcome-player-frame::before, .welcome-player-frame::after { position: absolute; width: 14px; height: 14px; border-color: #45ffc0; border-style: solid; content: ""; }
.welcome-player-frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-radius: 9px 0 0; }.welcome-player-frame::after { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; border-radius: 0 0 9px; }
.welcome-player-art { position: relative; display: grid; width: min(72%, 292px); aspect-ratio: 1 / .76; overflow: hidden; place-items: center; border: 1px solid rgba(168, 215, 198, .35); border-radius: 8px; background-color: #091a17; background-image: radial-gradient(ellipse at 45% 88%, rgba(33, 87, 76, .7), transparent 40%), linear-gradient(165deg, #10211e, #07100f 58%, #0a2520); background-position: center; background-size: cover; box-shadow: 0 6px 22px rgba(0, 0, 0, .34); transition: background-image .35s ease, transform .45s ease; }
.welcome-player-art::before { position: absolute; inset: 0; background: linear-gradient(125deg, transparent 35%, rgba(173, 255, 220, .08) 50%, transparent 65%); content: ""; animation: welcome-art-sheen 5s ease-in-out infinite; }
.welcome-player-art:hover { transform: scale(1.012); }
.welcome-playing-label { position: absolute; top: 9px; left: 9px; z-index: 1; color: #5bffd0; font-size: 7px; font-weight: 900; letter-spacing: .2em; writing-mode: vertical-rl; transform: rotate(180deg); }
.welcome-artwork-placeholder { display: grid; width: 41%; aspect-ratio: 1; place-items: center; border: 1px solid rgba(130, 220, 190, .32); border-radius: 8px; color: rgba(178, 228, 207, .63); background: rgba(1, 14, 13, .67); backdrop-filter: blur(4px); }
.welcome-artwork-placeholder span { font-size: 48px; line-height: .9; text-shadow: 0 0 15px rgba(59, 255, 197, .28); }
.welcome-artwork-placeholder small { color: rgba(198, 227, 214, .62); font-size: 6px; letter-spacing: .15em; }
.welcome-art-corner { position: absolute; inset: 8px; border: 1px solid rgba(192, 230, 211, .1); border-radius: 5px; pointer-events: none; }
.welcome-player-progress { display: grid; width: 100%; grid-template-columns: 33px minmax(0, 1fr) 33px; align-items: center; gap: 8px; margin-top: 13px; color: #a0b7ac; font-size: 8px; font-variant-numeric: tabular-nums; }
.welcome-player-progress > span:last-child { text-align: right; }
.welcome-player-progress input { width: 100%; height: 4px; appearance: none; border-radius: 5px; outline: none; background: linear-gradient(90deg, #43ffc0 var(--welcome-audio-progress, 0%), rgba(131, 171, 155, .27) var(--welcome-audio-progress, 0%)); cursor: pointer; }
.welcome-player-progress input::-webkit-slider-thumb { width: 8px; height: 8px; appearance: none; border: 0; border-radius: 50%; background: #78ffd2; box-shadow: 0 0 8px #40ffc0; }
.welcome-player-progress input::-moz-range-thumb { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #78ffd2; box-shadow: 0 0 8px #40ffc0; }
.welcome-player-track { display: grid; justify-items: center; gap: 4px; margin-top: 8px; text-align: center; }
.welcome-player-track strong { max-width: 100%; overflow: hidden; color: #e3f2eb; font-size: 11px; font-weight: 850; letter-spacing: .07em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.welcome-player-track small { max-width: 100%; overflow: hidden; color: #9bb5a9; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.welcome-player-controls { display: flex; width: 80%; align-items: center; justify-content: space-between; gap: 9px; margin-top: 11px; }
.welcome-player-controls button { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border: 0; border-radius: 50%; color: #b4d7c8; background: transparent; font-size: 13px; cursor: pointer; transition: color .18s, background .18s, transform .18s; }
.welcome-player-controls button:hover, .welcome-player-controls button.is-active { color: #50ffc2; background: rgba(61, 255, 191, .11); transform: translateY(-1px); }
.welcome-player-controls .welcome-play-button { width: 43px; height: 43px; flex-basis: 43px; border: 1px solid #43ffc0; color: #53ffc2; background: rgba(32, 255, 179, .07); box-shadow: 0 0 15px rgba(58, 255, 191, .2), inset 0 0 10px rgba(58, 255, 191, .09); font-size: 16px; }
.audio-volume-control { display: flex; width: min(80%, 280px); align-items: center; gap: 9px; margin-top: 9px; color: #88c6a8; }
.audio-volume-control > span { flex: 0 0 auto; font-size: 12px; }
.audio-volume-control input { width: 100%; min-width: 0; height: 4px; appearance: none; border-radius: 6px; outline: none; background: linear-gradient(90deg, #43ffc0, #43ffc0 var(--app-volume-progress, 50%), rgba(131, 171, 155, .27) var(--app-volume-progress, 50%)); cursor: pointer; }
.audio-volume-control input::-webkit-slider-thumb { width: 11px; height: 11px; appearance: none; border: 1px solid #a4ffcb; border-radius: 50%; background: #4affc0; box-shadow: 0 0 8px rgba(64, 255, 192, .65); }
.audio-volume-control input::-moz-range-thumb { width: 10px; height: 10px; border: 1px solid #a4ffcb; border-radius: 50%; background: #4affc0; box-shadow: 0 0 8px rgba(64, 255, 192, .65); }
.audio-volume-control output { flex: 0 0 32px; color: #b7d9c7; font-size: 8px; font-variant-numeric: tabular-nums; text-align: right; }
.welcome-formation-card { width: 100%; margin-top: 2px; }
.welcome-sync-label { display: flex; align-items: center; gap: 5px; color: #5bf3bc !important; font-size: 7px !important; letter-spacing: .08em; }
.welcome-sync-label i { width: 5px; height: 5px; }
.welcome-formation-list { min-height: 48px; padding: 1px 11px; }
.welcome-formation-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 43px; border-bottom: 1px solid rgba(147, 203, 183, .08); }
.welcome-formation-date { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(53, 255, 189, .26); border-radius: 7px; color: #71f8c4; font-size: 9px; font-weight: 800; }
.welcome-formation-copy { display: grid; min-width: 0; gap: 3px; }
.welcome-formation-copy strong { overflow: hidden; color: #d6e5dd; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.welcome-formation-copy small { overflow: hidden; color: #819990; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.welcome-response { padding: 4px 6px; border: 1px solid rgba(142, 175, 157, .2); border-radius: 9px; color: #9db3a6; font-size: 6px; font-weight: 800; white-space: nowrap; }
.welcome-response-going { border-color: rgba(53, 255, 170, .29); color: #55f4b1; }.welcome-response-not_going { border-color: rgba(255, 112, 105, .3); color: #ff9c91; }.welcome-response-late { color: #ffda82; }
.welcome-formation-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 9px 4px 8px; }
.welcome-formation-stats > span { display: grid; justify-items: center; gap: 3px; border-right: 1px solid rgba(147, 203, 183, .1); }
.welcome-formation-stats > span:last-child { border: 0; }
.welcome-formation-stats b { color: #dcf5e9; font-size: 11px; font-variant-numeric: tabular-nums; }
.welcome-formation-stats small { color: #82998e; font-size: 6px; letter-spacing: .09em; }
.welcome-playlist-card { min-height: 284px; }
.welcome-playlist-list { max-height: 322px; overflow: auto; padding: 4px 8px 8px; scrollbar-color: rgba(57, 255, 189, .34) transparent; scrollbar-width: thin; }
.welcome-playlist-track { display: flex; width: 100%; min-height: 48px; align-items: center; gap: 8px; padding: 5px; border: 1px solid transparent; border-bottom-color: rgba(147, 203, 183, .08); border-radius: 6px; color: inherit; background: transparent; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.welcome-playlist-track:hover, .welcome-playlist-track.is-current { border-color: rgba(56, 255, 191, .45); background: rgba(27, 109, 83, .16); }
.welcome-track-cover { display: grid; width: 34px; height: 34px; flex: 0 0 34px; overflow: hidden; place-items: center; border: 1px solid rgba(73, 255, 192, .32); border-radius: 6px; color: #53ffc4; background: rgba(19, 70, 56, .45); }
.welcome-track-cover img { width: 100%; height: 100%; object-fit: cover; }.welcome-track-cover i { font-size: 15px; font-style: normal; }
.welcome-track-meta { display: grid; min-width: 0; flex: 1; gap: 4px; }
.welcome-track-meta strong, .welcome-track-meta small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.welcome-track-meta strong { color: #d7e8e0; font-size: 8px; font-weight: 650; }.welcome-track-meta small { color: #879e92; font-size: 7px; }
.welcome-track-marker { color: #45ffc0; font-size: 9px; }
.welcome-og-card { display: flex; min-height: 104px; align-items: center; padding: 13px; }
.welcome-og-card > div { display: flex; width: 100%; align-items: center; gap: 10px; }
.welcome-og-avatar { width: 51px; height: 51px; flex: 0 0 51px; border: 2px solid #36edb0; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px rgba(34, 223, 158, .07), 0 0 18px rgba(27, 255, 179, .22); }
.welcome-og-meta { display: grid; min-width: 0; gap: 5px; }.welcome-og-meta strong { overflow: hidden; color: #e5f3ec; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.welcome-og-meta small { color: #93aaa0; font-size: 7px; }.welcome-og-meta span { width: fit-content; padding: 3px 8px; border: 1px solid rgba(65, 255, 191, .45); border-radius: 10px; color: #64edba; font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.welcome-og-crown { margin-left: auto; color: #50ffc3; font-size: 17px; }
.welcome-narco-banner { position: relative; display: grid; min-height: 96px; align-content: center; justify-items: center; overflow: hidden; border: 1px solid rgba(61, 255, 191, .45); border-radius: 9px; background: linear-gradient(rgba(1, 16, 14, .6), rgba(1, 16, 14, .6)), url("/135.png"); background-size: cover; background-position: center; box-shadow: inset 0 0 25px rgba(29, 255, 179, .06); }
.welcome-narco-banner::before, .welcome-narco-banner::after { position: absolute; top: 50%; width: 24%; height: 1px; background: linear-gradient(90deg, transparent, #32e5a9); content: ""; }.welcome-narco-banner::before { left: 8%; }.welcome-narco-banner::after { right: 8%; transform: rotate(180deg); }
.welcome-narco-banner span { color: #51ffd0; font-family: Impact, Haettenschweiler, sans-serif; font-size: clamp(21px, 2.3vw, 31px); font-style: italic; font-weight: 900; letter-spacing: -.05em; text-shadow: 0 0 18px rgba(43, 255, 189, .3); transform: skew(-8deg); }
.welcome-narco-banner small { margin-top: 7px; color: #90b4a3; font-size: 6px; letter-spacing: .38em; }
.welcome-narco-banner i { position: absolute; right: 12px; bottom: 10px; left: 12px; height: 1px; background: linear-gradient(90deg, transparent, rgba(43, 255, 183, .44), transparent); }
.welcome-right-foot { display: flex; align-items: center; justify-content: flex-end; gap: 7px; padding: 4px 6px; color: #63ffc4; }.welcome-right-foot small { color: #78958a; font-size: 6px; letter-spacing: .16em; }
.welcome-bottom-brand { position: absolute; bottom: 12px; left: 20px; display: flex; align-items: center; gap: 8px; color: #91ada0; }
.welcome-bottom-brand strong { color: #4dffc0; font-size: 21px; font-style: italic; font-weight: 950; }.welcome-bottom-brand span { width: 1px; height: 23px; background: rgba(103, 255, 201, .45); }.welcome-bottom-brand small { font-size: 6px; line-height: 1.6; letter-spacing: .12em; }
.welcome-track-editor { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-right: 48px; }
.welcome-track-editor .field-label:nth-child(3), .welcome-track-editor .field-label:nth-child(4) { grid-column: span 1; }
.welcome-track-editor .icon-button { position: absolute; top: 12px; right: 12px; }
@keyframes welcome-live-pulse { 0%, 100% { opacity: .65; } 50% { opacity: 1; filter: brightness(1.28); } }
@keyframes welcome-wave { from { height: 4px; } to { height: 16px; } }
@keyframes welcome-rise { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes welcome-city-drift { from { transform: scale(1.035) translate3d(0, 0, 0); } to { transform: scale(1.07) translate3d(-.4%, -.3%, 0); } }
@keyframes welcome-particles { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(5%, -3%, 0); } }
@keyframes welcome-art-sheen { 0%, 40% { transform: translateX(-120%); } 80%, 100% { transform: translateX(140%); } }
@media (min-width: 1500px) {
  .welcome-layout { gap: 22px; padding: 19px 28px 50px; }
  .welcome-left, .welcome-right { padding-top: 45px; }
  .welcome-online-member { min-height: 48px; }
  .welcome-player-frame { width: min(100%, 540px); padding: 20px 23px 16px; }
  .welcome-player-art { width: min(73%, 330px); }
  .welcome-playlist-track { min-height: 54px; }
}
@media (min-width: 681px) and (max-height: 820px) {
  .welcome-layout { gap: 12px; padding-top: 8px; }
  .welcome-left, .welcome-right { padding-top: 22px; }
  .welcome-heading { padding: 0 0 3px; }
  .welcome-heading h1 { font-size: clamp(42px, 5vw, 62px); }
  .welcome-heading p { margin: 5px 0 2px; }
  .welcome-player-frame { padding: 11px 15px 9px; }
  .welcome-player-art { width: min(64%, 242px); }
  .welcome-player-progress { margin-top: 9px; }
  .welcome-player-controls { margin-top: 6px; }
  .welcome-player-controls .welcome-play-button { width: 38px; height: 38px; flex-basis: 38px; }
  .welcome-formation-row { min-height: 37px; }
  .welcome-formation-stats { padding-top: 6px; padding-bottom: 5px; }
}
@media (max-width: 1050px) {
  .welcome-layout { grid-template-columns: minmax(210px, .8fr) minmax(320px, 1.2fr); }
  .welcome-right { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: stretch; padding-top: 0; }
  .welcome-playlist-card { grid-row: span 2; }
  .welcome-playlist-list { max-height: 200px; }
  .welcome-og-card, .welcome-narco-banner { min-height: 90px; }
  .welcome-right-foot { display: none; }
}
@media (max-width: 680px) {
  .welcome-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 10px 12px 55px; }
  .welcome-topbar { height: 35px; margin: 0; }
  .welcome-top-logo { gap: 8px; }.welcome-top-logo i { width: 20px; }.welcome-top-logo strong { font-size: 26px; }
  .welcome-session { max-width: 34%; overflow: hidden; font-size: 7px; white-space: nowrap; }.welcome-session small { display: none; }
  .welcome-loading-status { max-width: 38%; padding: 5px 6px; gap: 5px; }
  .welcome-loading-status small { display: none; }
  .welcome-loading-status strong { font-size: 6px; }
  .welcome-left, .welcome-right { display: contents; }
  .welcome-center { grid-row: 2; }
  .welcome-online-card { grid-row: 3; }.welcome-task-card { grid-row: 4; }
  .welcome-formation-card { grid-row: 5; }.welcome-playlist-card { grid-row: 6; }.welcome-og-card { grid-row: 7; }.welcome-narco-banner { grid-row: 8; }
  .welcome-online-card { min-height: 0; }.welcome-online-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 240px; }
  .welcome-online-member { gap: 6px; }.welcome-online-member > img { width: 25px; height: 25px; flex-basis: 25px; }.welcome-role-chip { display: none; }
  .welcome-heading h1 { font-size: clamp(42px, 12vw, 66px); }
  .welcome-player-frame { width: 100%; }
  .welcome-player-art { width: min(66%, 270px); }
  .welcome-formation-row { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .welcome-playlist-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 300px; }
  .welcome-playlist-track { min-width: 0; gap: 6px; }.welcome-track-cover { width: 28px; height: 28px; flex-basis: 28px; }
  .welcome-bottom-brand { bottom: 10px; left: 14px; }
  .welcome-track-editor { grid-template-columns: minmax(0, 1fr) auto; }
  .welcome-track-editor .field-label:nth-child(3), .welcome-track-editor .field-label:nth-child(4) { grid-column: 1 / -1; }
  .welcome-track-editor .icon-button { grid-column: 2; grid-row: 1; }
}
@media (max-width: 390px) {
  .welcome-playlist-list { grid-template-columns: 1fr; }
  .welcome-online-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .welcome-screen *, .welcome-screen *::before, .welcome-screen *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.overview-dashboard { display: grid; gap: 14px; width: 100%; }
.overview-welcome-banner { position: relative; display: flex; min-height: 122px; align-items: center; justify-content: space-between; overflow: hidden; padding: 18px clamp(20px, 3vw, 42px); border: 1px solid rgba(54, 255, 190, .34); border-radius: 12px; background-color: #071713; background-image: linear-gradient(90deg, rgba(3, 15, 13, .9), rgba(4, 21, 17, .63) 47%, rgba(3, 15, 13, .28)), url("/135.png"); background-position: center 56%; background-size: cover; box-shadow: inset 0 0 30px rgba(27, 255, 174, .05), 0 10px 30px rgba(0, 0, 0, .18); }
.overview-welcome-banner::before { position: absolute; top: 0; left: 0; width: 29px; height: 29px; border-top: 2px solid #48ffc1; border-left: 2px solid #48ffc1; border-radius: 11px 0 0; content: ""; }
.overview-welcome-banner::after { position: absolute; right: 0; bottom: 0; width: 30px; height: 30px; border-right: 2px solid #48ffc1; border-bottom: 2px solid #48ffc1; border-radius: 0 0 11px; content: ""; }
.overview-welcome-copy { position: relative; z-index: 1; }
.overview-welcome-copy > span { color: #bcdbcf; font-size: 9px; font-weight: 850; letter-spacing: .38em; }
.overview-welcome-copy h1 { margin: 3px 0 4px; color: #eafff4; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(30px, 4vw, 46px); font-style: italic; letter-spacing: -.035em; line-height: .98; text-shadow: 0 0 20px rgba(51, 255, 185, .24); }
.overview-welcome-copy p { margin: 5px 0 0; color: #b4cfc2; font-size: 10px; }
.overview-welcome-copy i { display: block; width: 48px; height: 2px; margin-top: 10px; background: #4affbf; box-shadow: 0 0 10px #44ffbc; }
.overview-welcome-logo { display: grid; position: relative; z-index: 1; justify-items: center; margin-right: 7%; color: #57ffcc; transform: rotate(-5deg); }
.overview-welcome-logo b { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(29px, 4vw, 47px); font-style: italic; letter-spacing: -.07em; line-height: .9; text-shadow: 0 2px rgba(220, 255, 236, .54), 0 0 21px rgba(54, 255, 191, .3); }
.overview-welcome-logo span { margin-top: 6px; color: #9ac8b3; font-size: 6px; font-weight: 850; letter-spacing: .34em; }
.overview-edit-welcome { position: absolute; z-index: 2; top: 10px; right: 11px; display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(73, 255, 193, .28); border-radius: 7px; color: #8fffd6; background: rgba(2, 15, 13, .55); opacity: 0; transition: opacity .2s; cursor: pointer; }
.overview-welcome-banner:hover .overview-edit-welcome, .overview-edit-welcome:focus-visible { opacity: 1; }
.overview-dashboard-grid { display: grid; grid-template-columns: minmax(205px, .92fr) minmax(260px, 1.14fr) minmax(225px, .98fr); align-items: stretch; gap: 13px; }
.overview-panel, .overview-profile-panel { position: relative; min-width: 0; overflow: hidden; border: 1px solid rgba(64, 207, 163, .24); border-radius: 10px; background: linear-gradient(145deg, rgba(5, 23, 20, .94), rgba(3, 15, 14, .96)); box-shadow: 0 8px 20px rgba(0, 0, 0, .12), inset 0 0 20px rgba(32, 255, 176, .018); }
.overview-panel { display: flex; min-height: 302px; flex-direction: column; padding: 10px 11px 9px; }
.overview-panel-head { display: flex; min-height: 26px; align-items: center; gap: 7px; padding-bottom: 8px; border-bottom: 1px solid rgba(152, 218, 185, .1); }
.overview-panel-head > span { color: #4cffc0; font-size: 15px; }
.overview-panel-head strong { color: #dcece3; font-size: 9px; font-weight: 850; letter-spacing: .07em; }
.overview-panel-head small { margin-left: auto; color: #9ab2a4; font-size: 8px; white-space: nowrap; }
.overview-online-list { display: grid; flex: 1; align-content: start; }
.overview-online-member { display: flex; min-height: 36px; align-items: center; gap: 7px; border-bottom: 1px solid rgba(151, 210, 181, .075); }
.overview-online-member > img { width: 27px; height: 27px; flex: 0 0 27px; border: 1px solid rgba(69, 255, 190, .52); border-radius: 50%; object-fit: cover; }
.overview-online-member > span { display: grid; min-width: 0; gap: 3px; }
.overview-online-member > span strong { overflow: hidden; color: #d8e6dd; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.overview-online-member > span small { display: flex; align-items: center; gap: 4px; color: #54e8ad; font-size: 7px; }
.overview-online-member > span small i { width: 4px; height: 4px; border-radius: 50%; background: #42ffac; box-shadow: 0 0 6px #42ffac; }
.overview-online-member > b { max-width: 56px; overflow: hidden; margin-left: auto; padding: 4px 6px; border: 1px solid rgba(60, 255, 186, .31); border-radius: 10px; color: #66e8b8; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.overview-panel-action { display: flex; min-height: 29px; align-items: center; justify-content: space-between; margin-top: auto; padding: 0 9px; border: 1px solid rgba(55, 255, 189, .24); border-radius: 6px; color: #a4e4c9; background: rgba(19, 91, 68, .1); font-size: 7px; font-weight: 850; letter-spacing: .055em; cursor: pointer; }
.overview-panel-action b { color: #45ffbc; font-size: 13px; }
.overview-panel-action:hover { border-color: rgba(55, 255, 189, .65); color: #e5fff3; background: rgba(19, 115, 81, .2); }
.overview-music-panel { min-height: 302px; }
.overview-music-now { display: grid; grid-template-columns: 77px minmax(0, 1fr) 27px; align-items: center; gap: 9px; padding: 9px 0 8px; border-bottom: 1px solid rgba(151, 210, 181, .1); }
.overview-cover { display: grid; width: 77px; height: 67px; overflow: hidden; place-items: center; border: 1px solid rgba(64, 255, 191, .25); border-radius: 7px; color: #c6f4df; background: linear-gradient(145deg, rgba(31, 95, 72, .44), rgba(5, 22, 19, .95)), url("/assets/narco-city-night.svg") center / cover; }
.overview-cover img { width: 100%; height: 100%; object-fit: cover; }
.overview-cover span { font-family: Impact, sans-serif; font-size: 19px; font-style: italic; text-shadow: 0 0 13px rgba(49, 255, 182, .3); }
.overview-track-info { display: grid; min-width: 0; gap: 4px; }
.overview-track-info > strong { overflow: hidden; color: #e3eee7; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.overview-track-info > small { overflow: hidden; color: #9ab1a4; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.overview-music-progress { height: 3px; overflow: hidden; margin-top: 7px; border-radius: 4px; background: rgba(165, 206, 183, .17); }
.overview-music-progress i { display: block; width: 58%; height: 100%; background: #44ffc0; box-shadow: 0 0 8px #44ffc0; }
.overview-music-timing { display: flex; justify-content: space-between; color: #82988c; font-size: 6px; }
.overview-music-timing small { font-size: inherit; }
.overview-music-now > button { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #42ffc0; border-radius: 50%; color: #58ffd0; background: rgba(48, 255, 182, .1); cursor: pointer; }
.overview-mini-controls { display: flex; align-items: center; gap: 2px; }
.overview-mini-controls button { display: grid; width: 22px; height: 24px; place-items: center; border: 0; border-radius: 50%; color: #72dcb5; background: transparent; font-size: 8px; cursor: pointer; }
.overview-mini-controls button:nth-child(2) { width: 27px; height: 27px; border: 1px solid #42ffc0; color: #58ffd0; background: rgba(48, 255, 182, .1); font-size: 10px; }
.overview-mini-controls button:hover { color: #effff6; background-color: rgba(48, 255, 182, .11); }
.overview-volume-control { width: 100%; margin: 6px 0 4px; }
.overview-volume-control > span { font-size: 10px; }
.overview-volume-control output { color: #9cbeaa; }
.overview-playlist-title { display: flex; align-items: center; gap: 5px; padding: 7px 0 4px; color: #9bbcaf; font-size: 7px; font-weight: 850; letter-spacing: .1em; }
.overview-playlist-title span { color: #4cffc0; font-size: 13px; }.overview-playlist-title small { margin-left: auto; color: #718c7e; font-size: 6px; }
.overview-playlist { display: grid; flex: 1; align-content: start; }
.overview-playlist-row { display: grid; min-height: 31px; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; gap: 6px; padding: 3px 5px; border: 1px solid transparent; border-radius: 5px; color: #d1e1d6; background: transparent; text-align: left; cursor: pointer; }
.overview-playlist-row:hover, .overview-playlist-row.is-current { border-color: rgba(51, 255, 184, .38); background: rgba(21, 134, 89, .15); }
.overview-playlist-row > span { display: grid; width: 24px; height: 24px; overflow: hidden; place-items: center; border-radius: 4px; color: #65f6bc; background: rgba(61, 143, 103, .22); font-size: 11px; }
.overview-playlist-row > span img { width: 100%; height: 100%; object-fit: cover; }
.overview-playlist-row > strong { overflow: hidden; font-size: 7px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.overview-playlist-row > strong small { display: block; overflow: hidden; margin-top: 2px; color: #869f91; font-size: 6px; font-weight: 500; text-overflow: ellipsis; }
.overview-playlist-row > small { color: #53ffc2; font-size: 9px; }
.overview-right-column { display: grid; min-width: 0; grid-template-rows: minmax(133px, auto) 1fr; gap: 13px; }
.overview-profile-panel { min-height: 133px; }
.overview-profile-banner { display: flex; min-height: 54px; align-items: center; justify-content: center; background-color: #081d18; background-image: linear-gradient(rgba(1, 12, 11, .36), rgba(1, 12, 11, .36)), url("/assets/narco-city-night.svg"); background-position: center 51%; background-size: cover; }
.overview-profile-banner span { padding: 5px 8px; border: 1px solid rgba(109, 255, 205, .24); border-radius: 4px; color: #d4f1e2; background: rgba(1, 13, 11, .5); font-size: 6px; font-weight: 850; letter-spacing: .2em; }
.overview-profile { display: flex; align-items: center; gap: 9px; padding: 9px 11px 6px; }
.overview-profile-avatar { display: grid; width: 43px; height: 43px; flex: 0 0 43px; overflow: hidden; place-items: center; border: 1px solid #4affbe; border-radius: 50%; color: #5bffd0; background: rgba(26, 102, 76, .32); font-weight: 900; }
.overview-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.overview-profile > div:nth-child(2) { display: grid; min-width: 0; gap: 4px; }
.overview-profile > div:nth-child(2) strong { overflow: hidden; color: #e3eee8; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.overview-profile > div:nth-child(2) small { overflow: hidden; color: #9ab1a5; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.overview-profile > div:nth-child(2) span { display: flex; align-items: center; gap: 5px; color: #5af2b3; font-size: 7px; }.overview-profile > div:nth-child(2) span i { width: 5px; height: 5px; border-radius: 50%; background: #38ffac; box-shadow: 0 0 7px #38ffac; }
.overview-profile > b { margin-left: auto; color: #53ffc0; font-size: 16px; }
.overview-profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 9px; padding: 6px 0 8px; border-top: 1px solid rgba(151, 210, 181, .1); }
.overview-profile-stats span { display: grid; justify-items: center; gap: 3px; border-right: 1px solid rgba(151, 210, 181, .1); }.overview-profile-stats span:last-child { border: 0; }
.overview-profile-stats b { color: #deeee5; font-size: 8px; }.overview-profile-stats small { color: #7f9c8d; font-size: 5px; letter-spacing: .08em; }
.overview-tasks-panel { min-height: 155px; }
.overview-task-list { display: grid; flex: 1; align-content: start; }
.overview-task-row { display: grid; min-height: 34px; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 5px; border-bottom: 1px solid rgba(151, 210, 181, .08); }
.overview-task-row > span { color: #83978b; font-size: 13px; }.overview-task-row > span.is-progress { color: #50ffc2; }
.overview-task-row > strong { overflow: hidden; color: #ccded3; font-size: 7px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.overview-task-row > strong small { display: block; margin-top: 3px; color: #81998b; font-size: 6px; font-weight: 500; }
.overview-task-row > b { color: #5be3ae; font-size: 6px; }
.overview-bottom-bar { display: grid; grid-template-columns: minmax(140px, 1.3fr) repeat(3, minmax(75px, .75fr)) minmax(150px, 1.4fr) minmax(105px, .8fr); align-items: center; gap: 9px; min-height: 61px; padding: 8px 12px; border: 1px solid rgba(64, 207, 163, .24); border-radius: 9px; background: linear-gradient(115deg, rgba(3, 22, 18, .94), rgba(3, 14, 14, .94)); }
.overview-bottom-bar > button { display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 8px; border: 1px solid rgba(60, 255, 186, .32); border-radius: 5px; color: #cde6d8; background: rgba(11, 74, 53, .16); font-size: 7px; font-weight: 850; letter-spacing: .04em; white-space: nowrap; cursor: pointer; }.overview-bottom-bar > button span { color: #51ffc2; font-size: 14px; }.overview-bottom-bar > button b { margin-left: auto; color: #52ffc2; }
.overview-bottom-bar > div:not(.overview-bottom-formations):not(.overview-bottom-logo) { display: grid; justify-items: center; gap: 3px; border-right: 1px solid rgba(151, 210, 181, .12); }.overview-bottom-bar > div strong { color: #e1eee6; font-size: 9px; }.overview-bottom-bar > div small { color: #829c8e; font-size: 6px; letter-spacing: .08em; }
.overview-bottom-formations { display: grid; gap: 3px; overflow: hidden; }.overview-formation-row { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 5px; }.overview-formation-row > span { color: #60efb7; font-size: 7px; font-weight: 800; }.overview-formation-row > strong { overflow: hidden; color: #cbded1; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }.overview-formation-row > strong small { display: block; margin-top: 2px; color: #839a8c; font-size: 6px; font-weight: 500; }
.overview-bottom-formations > span { color: #829a8b; font-size: 7px; }
.overview-bottom-logo { display: grid; justify-items: center; color: #53ffc2; font-family: Impact, sans-serif; font-size: 19px; font-style: italic; text-shadow: 0 0 12px rgba(45, 255, 185, .21); }.overview-bottom-logo small { color: #82ab98 !important; font-family: Inter, sans-serif; font-size: 5px !important; letter-spacing: .18em !important; }
.overview-empty { display: grid; min-height: 70px; place-items: center; padding: 10px; color: #849b8e; font-size: 8px; text-align: center; }
@media (min-width: 1450px) {
  .overview-dashboard { gap: 17px; }
  .overview-dashboard-grid { gap: 16px; }
  .overview-panel { min-height: 355px; padding: 13px 14px 11px; }
  .overview-online-member { min-height: 42px; }
  .overview-music-now { grid-template-columns: 90px minmax(0, 1fr) 30px; }
  .overview-cover { width: 90px; height: 80px; }
  .overview-playlist-row { min-height: 36px; }
  .overview-right-column { gap: 16px; }
  .overview-tasks-panel { min-height: 170px; }
}
@media (max-width: 1050px) {
  .overview-dashboard-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .overview-right-column { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .overview-bottom-bar { grid-template-columns: minmax(130px, 1fr) repeat(3, minmax(68px, .6fr)) minmax(115px, 1fr); }
  .overview-bottom-logo { display: none; }
}
@media (max-width: 650px) {
  .overview-dashboard { gap: 10px; }
  .overview-welcome-banner { min-height: 112px; padding: 15px; }
  .overview-welcome-logo { margin-right: 4%; }.overview-welcome-logo b { font-size: 27px; }.overview-welcome-logo span { font-size: 5px; }
  .overview-welcome-copy h1 { font-size: clamp(27px, 8vw, 37px); }.overview-welcome-copy p { max-width: 210px; font-size: 8px; }
  .overview-dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .overview-panel { min-height: 0; }
  .overview-online-member { min-height: 38px; }
  .overview-right-column { grid-column: auto; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .overview-bottom-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 9px; }
  .overview-bottom-bar > button { grid-column: 1 / -1; }.overview-bottom-formations { grid-column: 1 / -1; padding-top: 5px; border-top: 1px solid rgba(151, 210, 181, .1); }
}

.dues-hero { margin-bottom: 18px; }
.dues-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dues-metrics .metric-card { min-width: 0; padding: 18px; }
.dues-metrics .metric-card > span, .dues-metrics .metric-card > small { display: block; color: #929c94; font-size: 10px; letter-spacing: .08em; }
.dues-metrics .metric-card > strong { display: block; margin: 9px 0 5px; color: #e8eee9; font-size: 24px; }
.dues-content-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.dues-chart-legend { display: flex; justify-content: flex-end; gap: 14px; color: #aeb9b0; font-size: 11px; }
.dues-chart-legend span { display: flex; align-items: center; gap: 6px; }
.dues-chart-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 3px; background: #d0ae62; }
.dues-chart-legend span + span i { background: #63c986; }
.dues-chart { display: flex; height: 160px; align-items: stretch; gap: 9px; padding: 13px 3px 0; overflow-x: auto; }
.dues-chart-column { display: flex; min-width: 32px; flex: 1; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; }
.dues-bars { display: flex; width: min(26px, 80%); height: 125px; align-items: flex-end; gap: 3px; border-bottom: 1px solid rgba(183, 196, 188, .16); }
.dues-bars i, .dues-bars b { display: block; min-height: 2px; flex: 1; border-radius: 4px 4px 0 0; background: #d0ae62; }
.dues-bars b { background: #63c986; }
.dues-chart-column small { color: #929c94; font-size: 9px; }
.dues-period-list { display: grid; gap: 7px; }
.dues-period-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(183, 196, 188, .1); }
.dues-period-row > div:last-child { text-align: right; }
.dues-period-row strong, .dues-period-row small { display: block; }
.dues-period-row strong { color: #dce4dd; font-size: 12px; }
.dues-period-row small { margin-top: 4px; color: #929c94; font-size: 10px; }
.dues-roster { display: grid; }
.dues-member-row { display: grid; grid-template-columns: 34px minmax(120px, 1fr) auto minmax(105px, auto) auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(183, 196, 188, .1); }
.dues-member-avatar { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(183, 196, 188, .16); border-radius: 50%; color: #a9d8b3; font-size: 10px; }
.dues-member-info strong, .dues-member-info small, .dues-member-payment strong, .dues-member-payment > small { display: block; }
.dues-member-info strong, .dues-member-payment strong { color: #e0e7e1; font-size: 12px; }
.dues-member-info small, .dues-member-payment > small { margin-top: 4px; color: #929c94; font-size: 10px; }
.dues-member-payment { text-align: right; }
.dues-member-payment strong small { color: #929c94; font-weight: 500; }
.dues-status { padding: 5px 8px; border-radius: 20px; font-size: 9px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.dues-paid { color: #8ce6a7; background: rgba(65, 161, 96, .16); }
.dues-partial { color: #e8ca78; background: rgba(196, 154, 57, .14); }
.dues-open { color: #e79b90; background: rgba(177, 68, 55, .15); }
.dues-toggle { align-self: end; min-height: 40px; }
.button.compact { padding: 8px 10px; font-size: 9px; white-space: nowrap; }
@media (max-width: 950px) {
  .dues-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dues-content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .dues-member-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px; }
  .dues-status { grid-column: 2; justify-self: start; }
  .dues-member-payment { grid-column: 3; grid-row: 1 / span 2; }
  .dues-member-row .button { grid-column: 2 / -1; justify-self: start; }
  .dues-metrics .metric-card { padding: 14px; }
  .dues-metrics .metric-card > strong { font-size: 19px; }
}

.weekly-dues-view { gap: 18px; min-width: 0; }
.dues-hero { min-height: 190px; padding: clamp(20px, 3vw, 34px); overflow: hidden; background: radial-gradient(ellipse at 90% 0%, rgba(87, 201, 128, .1), transparent 42%), #191e20; }
.dues-hero h1 { margin: 10px 0; font-size: clamp(32px, 4vw, 48px); line-height: .98; }
.dues-hero p { max-width: 520px; margin: 10px 0 0; color: #aab5ad; font-size: 13px; line-height: 1.6; }
.dues-config-panel, .dues-chart-panel, .dues-period-panel, .dues-members-panel { min-width: 0; padding: clamp(16px, 2vw, 24px); }
.dues-config-panel .form-row { align-items: end; gap: 14px; }
.dues-config-panel .field-label { flex: 1 1 180px; }
.dues-metrics { gap: 14px; }
.dues-metrics .metric-card { min-height: 122px; border: 1px solid rgba(183, 196, 188, .14); border-radius: 8px; background: linear-gradient(145deg, rgba(27, 34, 31, .98), rgba(20, 25, 25, .98)); }
.dues-metrics .metric-card > span { color: #a9b7ad; font-size: 9px; font-weight: 800; line-height: 1.4; }
.dues-metrics .metric-card > strong { font-size: clamp(20px, 2.3vw, 28px); line-height: 1.1; overflow-wrap: anywhere; }
.dues-metrics .metric-card > small { font-size: 10px; letter-spacing: 0; }
.dues-cash-card { display: flex; flex-direction: column; justify-content: center; }
.dues-wallet-balances { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 10px 0 8px; }
.dues-wallet-balances > div { min-width: 0; padding: 8px 9px; border: 1px solid rgba(183, 196, 188, .1); border-radius: 6px; background: rgba(7, 10, 9, .28); }
.dues-wallet-balances small, .dues-wallet-balances strong { display: block; }
.dues-wallet-balances small { color: #8f9b92; font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.dues-wallet-balances strong { margin-top: 4px; color: #e4ece6; font-size: clamp(12px, 1.35vw, 17px); line-height: 1.2; overflow-wrap: anywhere; }
.dues-wallet-balances > div:first-child strong { color: #8de2a6; }
.dues-wallet-balances > div:last-child strong { color: #edaa9d; }
.dues-content-grid { align-items: stretch; gap: 16px; }
.dues-chart-panel, .dues-period-panel { min-height: 246px; }
.dues-chart { height: 175px; gap: 12px; padding: 13px 8px 0; }
.dues-bars { width: min(34px, 85%); height: 132px; }
.dues-chart-column small { font-size: 10px; font-weight: 700; }
.dues-period-list { gap: 0; }
.dues-period-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(145px, auto); align-items: center; gap: 16px; min-width: 0; padding: 15px 2px; }
.dues-period-row > div { min-width: 0; }
.dues-period-row > div:last-child { text-align: right; }
.dues-period-row strong { font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.dues-period-row strong small { display: inline; margin-left: 2px; font-size: 10px; white-space: nowrap; }
.dues-period-row small { font-size: 10px; line-height: 1.45; }
.dues-roster { width: 100%; }
.dues-member-row { grid-template-columns: 38px minmax(160px, 1fr) minmax(90px, auto) minmax(150px, auto) auto; gap: 14px; min-width: 0; padding: 14px 4px; }
.dues-member-row:hover { background: rgba(102, 183, 124, .035); }
.dues-member-avatar { width: 36px; height: 36px; font-size: 11px; }
.dues-member-info { min-width: 0; }
.dues-member-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dues-member-payment strong { white-space: nowrap; }
.dues-member-row .button { min-width: 78px; }
@media (max-width: 1050px) {
  .dues-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dues-content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .weekly-dues-view { gap: 12px; }
  .dues-hero { min-height: 0; padding: 20px; }
  .dues-hero .bot-online-state { margin-top: 12px; }
  .dues-config-panel .form-row { display: grid; grid-template-columns: 1fr; }
  .dues-period-row { grid-template-columns: minmax(0, 1fr) minmax(115px, auto); gap: 8px; padding: 12px 0; }
  .dues-member-row { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; padding: 12px 0; }
  .dues-member-info strong { max-width: 100%; font-size: 11px; }
  .dues-member-info small, .dues-member-payment > small { font-size: 9px; }
  .dues-member-payment { grid-column: 3; grid-row: 1 / span 2; }
  .dues-member-payment strong { font-size: 10px; }
  .dues-status { grid-column: 2; grid-row: 2; }
  .dues-member-row .button { grid-column: 2 / -1; grid-row: 3; }
  .dues-wallet-balances { gap: 5px; }
}

.newspaper-view { width: min(1120px, 100%); margin: 0 auto; color: #392719; }
.newspaper-cover { perspective: 1600px; }
.newspaper-controls, .newspaper-bottom-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; color: #aeb8ae; }
.newspaper-bottom-controls { margin: 12px 0 0; }
.newspaper-page-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 9px; padding: 0 14px; border: 1px solid rgba(131, 175, 143, .32); border-radius: 6px; color: #dce7dd; background: #171d19; font-size: 10px; font-weight: 800; letter-spacing: .08em; cursor: pointer; }
.newspaper-page-button:hover:not(:disabled) { border-color: #79c98f; color: #a4edb8; background: #202923; }
.newspaper-page-button:disabled { cursor: default; opacity: .42; }
.newspaper-page-count { color: #aab8ad; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.newspaper-bottom-controls > span { color: #89968d; font-size: 10px; text-align: center; }
.newspaper-sheet { position: relative; min-height: 650px; overflow: hidden; padding: clamp(18px, 3.4vw, 42px); border: 1px solid #a9926f; color: #392719; background-color: #e9ddbd; background-image: radial-gradient(ellipse at 14% 9%, rgba(255, 255, 240, .62), transparent 44%), radial-gradient(ellipse at 87% 84%, rgba(149, 117, 70, .14), transparent 42%), repeating-linear-gradient(2deg, rgba(106, 77, 39, .025) 0, rgba(106, 77, 39, .025) 1px, transparent 1px, transparent 5px); box-shadow: 0 18px 55px rgba(0, 0, 0, .38), inset 0 0 0 5px rgba(111, 79, 41, .05); transform-origin: left center; touch-action: pan-y pinch-zoom; }
.newspaper-sheet::before { position: absolute; inset: 9px; border: 1px solid rgba(75, 49, 27, .55); content: ""; pointer-events: none; }
.newspaper-sheet::after { position: absolute; top: 0; bottom: 0; left: 23px; width: 1px; background: rgba(137, 74, 46, .28); content: ""; pointer-events: none; }
.newspaper-sheet.is-turning-forward { animation: newspaper-turn-forward .42s ease-in both; }
.newspaper-sheet.is-turning-back { transform-origin: right center; animation: newspaper-turn-back .42s ease-in both; }
@keyframes newspaper-turn-forward { 0% { transform: rotateY(0); opacity: 1; } 48% { opacity: .6; } 100% { transform: rotateY(-14deg) translateX(-12px); opacity: .16; } }
@keyframes newspaper-turn-back { 0% { transform: rotateY(0); opacity: 1; } 48% { opacity: .6; } 100% { transform: rotateY(14deg) translateX(12px); opacity: .16; } }
.newspaper-masthead, .newspaper-page-content, .newspaper-footer { position: relative; z-index: 1; }
.newspaper-edition-line, .newspaper-tagline { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #65482e; font: 700 .65rem/1.35 Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.newspaper-masthead h1 { margin: 9px 0 5px; padding: 7px 0 9px; border-top: 3px double #583b27; border-bottom: 3px double #583b27; color: #422917; font: 900 clamp(2rem, 6.4vw, 4.3rem)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.045em; text-align: center; text-transform: uppercase; overflow-wrap: anywhere; }
.newspaper-tagline { padding: 6px 0; border-bottom: 2px dotted #715435; }
.newspaper-page-content { padding: 16px 0 20px; }
.newspaper-section-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 0 9px; border-bottom: 1px solid rgba(70, 45, 26, .52); color: #744f2f; font: 700 .65rem/1.4 Arial, sans-serif; letter-spacing: .12em; }
.newspaper-section-title strong { color: #53361f; font-size: .75rem; }
.newspaper-page-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.newspaper-section-title { grid-column: 1 / -1; }
.newspaper-story { min-width: 0; padding: 15px 0; border-bottom: 1px dotted rgba(70, 45, 26, .55); }
.newspaper-story.is-lead-story { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 20px; align-items: start; }
.newspaper-story-copy { min-width: 0; }
.newspaper-kicker { color: #795735; font: 700 .59rem/1.35 Arial, sans-serif; letter-spacing: .12em; }
.newspaper-story h2 { margin: 5px 0 7px; color: #3f2918; font: 800 clamp(1.25rem, 3.3vw, 2.3rem)/1.02 Georgia, "Times New Roman", serif; letter-spacing: -.02em; text-transform: uppercase; }
.newspaper-story:not(.is-lead-story) h2 { font-size: clamp(1.1rem, 2.2vw, 1.65rem); }
.newspaper-story h3 { margin: 0 0 10px; color: #65462c; font: italic 500 1rem/1.35 Georgia, "Times New Roman", serif; }
.newspaper-story p { margin: 9px 0 0; color: #392719; font: 400 .96rem/1.56 Georgia, "Times New Roman", serif; text-align: justify; overflow-wrap: anywhere; }
.newspaper-story.is-lead-story p { column-count: 2; column-gap: 17px; font-size: .88rem; }
.newspaper-photo { min-width: 0; margin: 0; padding: 4px; border: 1px solid rgba(78, 52, 31, .48); background: rgba(255, 249, 229, .42); }
.newspaper-photo img { display: block; width: 100%; max-height: 390px; object-fit: cover; filter: sepia(.58) saturate(.74) contrast(1.04); }
.newspaper-photo figcaption { padding: 5px 2px 1px; color: #765838; font: italic .65rem/1.35 Georgia, "Times New Roman", serif; }
.newspaper-empty { grid-column: 1 / -1; padding: 50px 18px; color: #765a3d; font: italic 1.1rem/1.6 Georgia, "Times New Roman", serif; text-align: center; }
.newspaper-footer { display: flex; justify-content: space-between; gap: 10px; padding-top: 9px; border-top: 2px dotted #715435; color: #6c4d2f; font: 700 .6rem/1.4 Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.newspaper-settings-panel { padding: clamp(16px, 2vw, 24px); }
.newspaper-settings-intro { max-width: 760px; margin: 0 0 18px; color: #aebbb1; font-size: 12px; line-height: 1.65; }
.newspaper-editor-pages { display: grid; gap: 14px; }
.newspaper-editor-page { display: grid; gap: 12px; min-width: 0; padding: 16px; border: 1px solid rgba(183, 196, 188, .15); border-radius: 7px; background: rgba(9, 13, 11, .28); }
.newspaper-editor-page > header, .newspaper-editor-story-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.newspaper-editor-page > header > span, .newspaper-editor-story-title strong { color: #94dba7; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.newspaper-editor-story { display: grid; gap: 10px; padding: 14px; border-left: 2px solid rgba(109, 202, 134, .5); background: rgba(22, 28, 24, .75); }
.newspaper-editor-story-title .button, .newspaper-editor-page > header .button { padding: 7px 9px; font-size: 8px; }
.newspaper-editor-story textarea { width: 100%; resize: vertical; }
.newspaper-add-story { justify-self: start; }
.newspaper-editor-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 4px; }
@media (max-width: 700px) {
  .newspaper-sheet { min-height: 0; padding: 23px 20px 20px; }
  .newspaper-sheet::after { left: 13px; }
  .newspaper-page-content { grid-template-columns: minmax(0, 1fr); }
  .newspaper-story.is-lead-story { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .newspaper-story.is-lead-story p { column-count: 1; }
  .newspaper-story p { font-size: .95rem; }
  .newspaper-controls .newspaper-page-button span, .newspaper-bottom-controls > span { display: none; }
  .newspaper-bottom-controls { justify-content: space-between; }
  .newspaper-bottom-controls .newspaper-page-button { flex: 1; padding: 0 8px; font-size: 9px; }
  .newspaper-masthead h1 { font-size: clamp(1.6rem, 9vw, 3rem); }
  .newspaper-edition-line, .newspaper-tagline { font-size: .52rem; }
  .newspaper-footer { font-size: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .newspaper-sheet.is-turning-forward, .newspaper-sheet.is-turning-back { animation-duration: .01ms; }
}

.newspaper-control-actions { display: flex; align-items: center; gap: 8px; }
.storage-health { display: grid; gap: 10px; margin: 14px 0; }
.storage-health > div:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.storage-health > div:first-child span { color: #8f9c94; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.storage-health > div:first-child strong { color: #a5e6b3; font-size: 25px; font-weight: 800; }
.storage-health-track { height: 9px; overflow: hidden; border-radius: 20px; background: #292e2b; box-shadow: inset 0 1px 3px rgba(0,0,0,.35); }
.storage-health-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #c27d39, #6fd38c); transition: width .35s ease; }
.storage-health p { margin: 0; color: #a3ada6; font-size: 11px; line-height: 1.55; }
.storage-category-list { display: grid; gap: 7px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.storage-category-list > div { display: flex; justify-content: space-between; gap: 8px; color: #adb8b0; font-size: 11px; }
.storage-category-list strong { color: #e2e9e3; }
.inventory-icon-preview { display: flex; align-items: center; gap: 10px; padding: 9px; border: 1px solid rgba(183,196,188,.14); border-radius: 6px; color: #8e9c92; font-size: 9px; letter-spacing: .12em; }
.inventory-icon-preview img { width: 42px; height: 42px; object-fit: contain; }
.rank-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.rank-actions.is-single { grid-template-columns: minmax(0,1fr); }
.rank-description-form { display: flex; grid-column: 1 / -1; align-items: end; gap: 10px; padding: 10px 15px 16px 38px; border-bottom: 1px solid rgba(255,255,255,.06); }
.rank-description-form .field-label { flex: 1; }
.rank-description-form textarea { min-height: 58px; resize: vertical; }
.rank-manager-settings .section-title p { max-width: 620px; margin: 7px 0 0; color: #9ba89f; font-size: 11px; line-height: 1.55; }
.rank-manager-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; padding: 14px 16px; }
.rank-manager-choice { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border: 1px solid rgba(183,196,188,.13); border-radius: 6px; background: rgba(9,14,11,.28); cursor: pointer; }
.rank-manager-choice:has(input:checked) { border-color: rgba(111,217,143,.45); background: rgba(65,139,82,.12); }
.rank-manager-choice input { width: 16px; height: 16px; flex: 0 0 auto; accent-color: #65d98f; }
.rank-manager-choice span { display: grid; min-width: 0; gap: 3px; }
.rank-manager-choice strong { overflow: hidden; color: #dbe5dd; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.rank-manager-choice small { color: #87958b; font-size: 9px; }
.task-hero { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 22px; align-items: center; padding: clamp(22px,4vw,40px); border: 1px solid rgba(117,194,137,.24); border-radius: 9px; background: radial-gradient(ellipse at 90% 40%, rgba(61,135,79,.2), transparent 42%), linear-gradient(135deg,#1b2420,#141917 70%); }
.task-hero .eyebrow { color: #83c994; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.task-hero h1 { margin: 11px 0; color: #eef4ee; font-size: clamp(29px,5vw,48px); line-height: .95; }
.task-hero h1 em { color: #8ddd9e; font-style: normal; }
.task-hero p { max-width: 650px; margin: 0; color: #aab8ae; font-size: 12px; line-height: 1.65; }
.task-hero-count { display: grid; min-width: 116px; justify-items: center; gap: 3px; padding: 16px; border: 1px solid rgba(127,207,147,.24); border-radius: 8px; background: rgba(6,11,8,.28); }
.task-hero-count strong { color: #a8e9b5; font-size: 34px; }
.task-hero-count span, .task-hero-count small { color: #a4b4a8; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.task-form { display: grid; gap: 12px; padding: 14px 0; }
.task-list { display: grid; gap: 10px; }
.task-card { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 12px; padding: 16px; border: 1px solid rgba(176,192,181,.12); border-radius: 7px; background: linear-gradient(120deg,rgba(22,28,24,.95),rgba(17,21,19,.95)); }
.task-card.task-done { opacity: .72; }
.task-status-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(124,207,145,.35); border-radius: 50%; color: #9be2aa; font-size: 18px; }
.task-done .task-status-mark { color: #d7e9db; background: rgba(81,164,100,.22); }
.task-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.task-card-heading time { color: #93a097; font-size: 10px; }
.task-card h3 { margin: 10px 0 6px; color: #e7eee8; font-size: 16px; }
.task-card p { margin: 0 0 10px; color: #aeb9b1; font-size: 12px; line-height: 1.6; white-space: pre-wrap; }
.task-assignee { display: flex; align-items: center; gap: 8px; color: #91d2a1; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.task-assignee svg { width: 14px; }
.task-actions { display: flex; justify-content: end; margin-top: 12px; }
.sanction-member-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px 18px; }
.sanction-member-row { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.sanction-member-row .person-avatar { flex: 0 0 30px; width: 30px; height: 30px; }
.sanction-member-row > strong { flex: 1; overflow: hidden; color: #dce6de; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.sanction-member-state { color: #85d29a; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-align: right; }
.sanction-member-state.has-sanction { color: #e2ab69; }
.clip-archive-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.clip-archive-card { overflow: hidden; border: 1px solid rgba(183,196,188,.13); border-radius: 7px; background: #171c19; }
.clip-archive-preview { position: relative; display: grid; min-height: 135px; place-items: center; color: #9ce1aa; background: radial-gradient(circle at center,rgba(75,138,88,.24),transparent 55%),linear-gradient(135deg,#222b25,#111513); font-size: 28px; }
.clip-archive-preview span { position: absolute; right: 10px; bottom: 9px; color: #b7c5ba; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.clip-archive-content { display: grid; gap: 7px; padding: 14px; }
.clip-archive-content h3, .clip-archive-content p { margin: 0; }
.clip-archive-content h3 { color: #e3ebe4; font-size: 15px; }
.clip-archive-content p, .clip-archive-content small { color: #a5b0a8; font-size: 10px; line-height: 1.5; }
.clip-archive-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.clip-archive-actions .button { min-height: 34px; }
.newspaper-print-pages { display: none; }
.vehicle-model-preview { position: relative; display: grid; min-height: 156px; place-items: center; overflow: hidden; padding: 8px 12px 18px; border: 1px solid rgba(182,195,184,.13); border-radius: 7px; background: radial-gradient(ellipse at 50% 86%,rgba(90,130,97,.15),transparent 55%),linear-gradient(150deg,#1b2420,#111614); }
.vehicle-model-preview svg { width: min(100%,370px); filter: drop-shadow(0 12px 10px rgba(0,0,0,.35)); }
.vehicle-model-preview > span { position: absolute; right: 9px; bottom: 7px; color: #849289; font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.vehicle-card-title h4 { margin: 5px 0 10px; color: #e3ece4; font-size: 16px; }
.vehicle-card input[type="color"] { width: 100%; min-height: 38px; padding: 4px; }
.operation-intro { margin: -6px 0 16px; color: #a7b2aa; font-size: 11px; line-height: 1.6; }
.uniform-editor { display: grid; gap: 12px; padding: 12px 0 18px; }
.uniform-variants { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.uniform-variant-list { display: grid; gap: 10px; }
.uniform-variant-card { padding: 15px; border: 1px solid rgba(183,196,188,.14); border-radius: 7px; background: #171d19; }
.uniform-variant-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.uniform-variant-title h4 { margin: 4px 0 0; color: #e2ebe3; }
.uniform-variant-card > p { color: #adb8b0; font-size: 11px; white-space: pre-wrap; }
.uniform-variant-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.uniform-variant-grid > div { display: grid; gap: 8px; align-content: start; padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; }
.uniform-variant-grid strong { color: #93d6a2; font-size: 9px; letter-spacing: .1em; }
.uniform-variant-grid img { width: 100%; max-height: 220px; object-fit: contain; border-radius: 4px; background: rgba(0,0,0,.2); }
.uniform-variant-grid code { color: #d5ded7; font-size: 11px; overflow-wrap: anywhere; }
.route-create-form { display: grid; gap: 12px; margin: 15px 0 20px; }
.route-stage-editor { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.route-publish-row { display: flex; gap: 8px; margin-top: 12px; }
.route-publish-row select { flex: 1; min-width: 0; }
.app-view { grid-template-columns: 224px minmax(0,1fr); }
.sidebar { display: flex !important; width: auto; overflow-y: auto; padding: 22px 14px 18px; background: #141918; }
.sidebar-brand { display: flex; padding: 0 8px 20px; border-bottom: 1px solid rgba(183,196,188,.13); }
.sidebar-brand .brand-symbol { color: #75e29e; font-size: 25px; }
.guild-switcher { display: grid; justify-content: stretch; gap: 8px; padding: 18px 6px 16px; }
.guild-switcher .label { display: block !important; color: #87968c; }
.guild-switcher select { width: 100%; height: 40px; padding: 0 10px; overflow: hidden; border: 1px solid rgba(181,196,185,.2); border-radius: 5px; color: #edf2ee; font-size: 11px; background: #202725; box-shadow: none; }
.main-nav { align-items: stretch; gap: 3px; }
.nav-label { display: block; padding: 15px 9px 7px; color: #849188; font-size: 8px; }
.nav-item { display: flex; justify-content: flex-start; width: auto; height: 40px; padding: 0 10px; gap: 10px; border: 1px solid transparent; border-radius: 5px; color: #a4afa7; font-size: 10px; font-weight: 750; text-align: left; }
.nav-item span { width: 18px; color: #85928a; font-size: 16px; text-align: center; }
.nav-item:hover { color: #eef4ef; background: #202725; }
.nav-item.is-active { border-color: rgba(104,220,147,.22); color: #eff5f0; background: rgba(67,145,91,.15); box-shadow: none; }
.nav-item.is-active span { color: #75e29e; }
.nav-item.is-active::before { top: 6px; right: auto; bottom: 6px; left: -14px; width: 3px; height: auto; border-radius: 0 3px 3px 0; background: #68dc93; box-shadow: none; }
.nav-label-lower { display: block; }
.sidebar-bottom { display: grid; gap: 13px; margin-top: auto; padding: 15px 4px 0; border-top: 1px solid rgba(183,196,188,.13); }
.secure-note { display: flex; align-items: center; }
.logout-button { display: flex; justify-content: space-between; width: 100%; height: 36px; padding: 0 10px; color: #a4afa7; font-size: 9px; }
.logout-button span { color: #75e29e; font-size: 16px; }
.task-card { grid-template-columns: 42px minmax(0,1fr); gap: 14px; padding: 18px; }
.task-card h3 { font-size: 17px; }
.task-card-heading .data-chip, .task-card-heading time { min-height: 28px; display: inline-flex; align-items: center; }
.task-actions .button, .rank-action-panel .button, .route-publish-row .button { min-height: 38px; }
.rank-action-panel .stack-form { gap: 14px; }
.rank-action-panel .field-label select, .task-form .field-label select, .task-form .field-label input { min-height: 40px; }
.rank-description-form textarea, .uniform-edit textarea { min-height: 82px; }
.uniform-edit { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(183,196,188,.12); }
.uniform-edit > summary, .route-edit > summary { width: fit-content; color: #8ed5a0; cursor: pointer; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.uniform-edit .stack-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.uniform-edit .feature-toggle, .uniform-edit button { grid-column: 1 / -1; }
.uniform-variant-card .uniform-edit { padding-top: 12px; }
.route-card, .clip-archive-card, .sanction-member-row { transition: border-color .16s ease, background-color .16s ease; }
.route-card:hover, .clip-archive-card:hover { border-color: rgba(105,220,148,.34); }
.clip-archive-preview { min-height: 170px; }
.clip-archive-content { gap: 9px; padding: 17px; }
.clip-archive-content h3 { font-size: 17px; }
.clip-archive-content p, .clip-archive-content small { font-size: 11px; }
.clip-archive-actions .button { min-height: 38px; }
.storage-health-track { height: 10px; }
.inventory-admin-actions button { min-height: 30px; padding-inline: 6px; font-size: 9px; }
.search-field { min-height: 42px; }
.button, .icon-button { transition: border-color .16s ease, background .16s ease, color .16s ease; }
.button:focus-visible, .icon-button:focus-visible, .nav-item:focus-visible, .menu-card:focus-visible { outline: 2px solid #75e29e; outline-offset: 2px; }
@media (max-width: 700px) {
  .uniform-variants, .uniform-variant-grid, .route-stage-editor { grid-template-columns: minmax(0,1fr); }
  .route-publish-row { align-items: stretch; flex-direction: column; }
  .uniform-edit .stack-form { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 700px) {
  .rank-actions, .sanction-member-list, .clip-archive-grid { grid-template-columns: minmax(0,1fr); }
  .rank-description-form { align-items: stretch; flex-direction: column; padding-left: 15px; }
  .task-hero { grid-template-columns: minmax(0,1fr) auto; }
  .task-hero-count { min-width: 83px; padding: 10px; }
}
@media (max-width: 850px) {
  .app-view { grid-template-columns: 58px minmax(0,1fr); }
  .sidebar { width: auto; padding: 14px 7px; }
  .sidebar-brand, .guild-switcher .label, #guildSetup, .nav-label, .secure-note { display: none !important; }
  .guild-switcher { display: flex; justify-content: center; padding: 0 0 14px; }
  .guild-switcher select { width: 40px; height: 40px; padding: 0; color: transparent; font-size: 0; }
  .main-nav { align-items: center; }
  .nav-item { justify-content: center; width: 40px; height: 40px; padding: 0; font-size: 0; }
  .nav-item span { font-size: 19px; }
  .nav-item.is-active::before { top: 5px; right: auto; bottom: 5px; left: -7px; width: 3px; height: auto; }
  .sidebar-bottom { padding: 12px 0 0; }
  .logout-button { justify-content: center; width: 40px; margin: 0 auto; padding: 0; font-size: 0; }
  .logout-button span { font-size: 19px; }
  .task-card { padding: 14px; }
}
@media (max-width: 520px) {
  .app-view { grid-template-columns: 48px minmax(0,1fr); }
  .sidebar { padding-inline: 4px; }
  .nav-item { width: 36px; height: 38px; }
  .nav-item.is-active::before { left: -4px; }
  .task-card { grid-template-columns: 32px minmax(0,1fr); gap: 9px; padding: 12px; }
  .task-status-mark { width: 30px; height: 30px; }
  .task-card-heading { align-items: flex-start; flex-direction: column; }
  .task-card-heading time { min-height: auto; }
  .task-actions .button { width: 100%; }
  .rank-manager-grid { grid-template-columns: 1fr; padding: 10px; }
  .rank-overview-actions .sync-indicator { white-space: normal; }
  .clip-archive-actions { display: grid; grid-template-columns: 1fr; }
  .uniform-edit .feature-toggle, .uniform-edit button { grid-column: auto; }
}
@media print {
  body, #appView, #content { overflow: visible !important; color: #000 !important; background: #fff !important; }
  body * { visibility: hidden !important; }
  .newspaper-cover { display: none !important; }
  .newspaper-print-pages, .newspaper-print-pages * { visibility: visible !important; }
  .newspaper-print-pages { display: block !important; }
  .newspaper-print-pages .newspaper-print-sheet { position: relative; width: 100%; min-height: 0; overflow: visible; padding: 14mm; border: none; color: #222; background: #f4ebd5 !important; box-shadow: none; break-after: page; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .newspaper-story, .newspaper-photo { break-inside: avoid; }
  .newspaper-story p { color: #222; }
  @page { size: A4 portrait; margin: 10mm; }
}

.tasks-view { gap: 12px; }
.task-hero-dashboard { min-height: 132px; padding: 20px 24px; border-color: rgba(146, 173, 151, .17); border-radius: 7px; background: radial-gradient(ellipse at 84% 32%, rgba(77, 122, 84, .12), transparent 36%), linear-gradient(110deg, #17221c, #111815 74%); }
.task-hero-dashboard h1 { margin: 6px 0 5px; font-size: clamp(25px, 3vw, 34px); line-height: .92; letter-spacing: .01em; }
.task-hero-dashboard h1 em { color: #8fdaa0; }
.task-hero-dashboard p { font-size: 10px; }
.task-hero-stats { display: grid; grid-template-columns: repeat(3, minmax(66px, 1fr)); gap: 7px; }
.task-hero-stats article { display: grid; min-height: 64px; min-width: 68px; align-content: center; justify-items: center; gap: 4px; padding: 8px; border: 1px solid rgba(150, 173, 155, .16); border-radius: 6px; background: rgba(8, 14, 10, .34); }
.task-hero-stats strong { color: #e8bd70; font-size: 22px; line-height: 1; }
.task-hero-stats article:nth-child(2) strong { color: #e8cb77; }
.task-hero-stats article:nth-child(3) strong { color: #85d69a; }
.task-hero-stats span { color: #a1afa4; font-size: 7px; font-weight: 800; letter-spacing: .06em; }
.tasks-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, 285px); align-items: start; gap: 12px; }
.tasks-board, .task-create-panel { min-width: 0; border: 1px solid rgba(148, 172, 153, .14); border-radius: 7px; background: rgba(8, 16, 13, .78); }
.tasks-board { padding: 13px; }
.tasks-board-header { display: grid; gap: 11px; margin-bottom: 11px; }
.tasks-board-header > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tasks-board-header > div:first-child strong { color: #aab7ae; font-size: 9px; font-weight: 550; }
.tasks-toolbar { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.tasks-toolbar label { display: flex; align-items: center; gap: 6px; color: #a8b3aa; font-size: 8px; white-space: nowrap; }
.tasks-toolbar select, .tasks-search { height: 32px; border: 1px solid rgba(159, 182, 164, .16); border-radius: 5px; color: #dce5dd; background: #111915; font-size: 9px; }
.tasks-toolbar select { min-width: 100px; padding: 0 8px; }
.tasks-search { display: flex; width: min(290px, 100%); align-items: center; gap: 7px; padding: 0 9px; }
.tasks-search svg { width: 14px; height: 14px; flex: 0 0 auto; color: #84938a; }
.tasks-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: #e4ece6; background: transparent; font-size: 9px; }
.tasks-search input::placeholder { color: #75837a; }
.task-list { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 9px; }
.task-card { display: flex; min-width: 0; min-height: 196px; flex-direction: column; gap: 0; padding: 11px; border-color: rgba(144, 169, 149, .17); border-radius: 6px; background: linear-gradient(145deg, rgba(17, 27, 22, .98), rgba(11, 19, 15, .98)); }
.task-card:hover { border-color: rgba(123, 198, 139, .35); }
.task-card.task-done { opacity: .82; }
.task-card[hidden] { display: none; }
.task-card-heading { display: flex; min-height: 20px; align-items: center; justify-content: space-between; flex-direction: row; gap: 8px; }
.task-card-tools { position: relative; }
.task-status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; border: 1px solid rgba(100, 178, 121, .19); border-radius: 4px; color: #92dba5; background: rgba(54, 126, 75, .19); font-size: 7px; font-weight: 800; }
.task-status-badge i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.task-status-badge.is-open { color: #82bde8; border-color: rgba(98, 167, 220, .24); background: rgba(55, 113, 155, .19); }
.task-status-badge.is-progress { color: #e3bd71; border-color: rgba(205, 162, 69, .25); background: rgba(145, 104, 31, .18); }
.task-status-badge.is-done { color: #89d89d; }
.task-edit-menu > summary { display: grid; width: 25px; height: 23px; place-items: center; border: 1px solid rgba(151, 172, 156, .15); border-radius: 4px; color: #a8b4aa; cursor: pointer; font-size: 15px; line-height: 1; list-style: none; }
.task-edit-menu > summary::-webkit-details-marker { display: none; }
.task-edit-menu > div { position: absolute; z-index: 5; top: 27px; right: 0; width: min(285px, calc(100vw - 42px)); max-height: min(65vh, 480px); overflow: auto; padding: 10px; border: 1px solid rgba(154, 180, 159, .2); border-radius: 6px; background: #141d17; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.task-edit-details > summary { color: #c3d0c6; cursor: pointer; font-size: 10px; }
.task-edit-details .task-form { padding-bottom: 2px; }
.task-edit-details .task-form textarea { min-height: 66px; }
.task-edit-details .button-pair { display: grid; grid-template-columns: 1fr; gap: 6px; }
.task-card h3 { overflow: hidden; margin: 9px 0 5px; color: #e6ede7; font-size: 12px; line-height: 1.35; text-overflow: ellipsis; }
.task-card > p { display: -webkit-box; overflow: hidden; min-height: 29px; margin: 0 0 9px; color: #a1ada4; font-size: 9px; line-height: 1.5; white-space: pre-wrap; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.task-card > p.task-no-description { color: #75837a; font-style: italic; }
.task-card-meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(74px, .8fr); align-items: center; gap: 7px; margin-top: auto; padding: 8px 0; border-top: 1px solid rgba(159, 182, 164, .1); }
.task-assignee-avatar { position: relative; display: grid; grid-row: span 2; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; overflow: hidden; border-radius: 50%; color: #d7e1d9; background: #35443a; font-size: 12px; }
.task-assignee-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.task-assignee-copy, .task-due { display: grid; min-width: 0; gap: 3px; }
.task-assignee-copy { grid-column: 1; grid-row: 1; margin-left: 35px; }
.task-assignee-copy small, .task-due small { color: #738278; font-size: 6px; font-weight: 800; letter-spacing: .07em; }
.task-assignee-copy strong, .task-due strong { overflow: hidden; color: #cad5cd; font-size: 8px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.task-due { grid-column: 2; grid-row: 1 / span 2; }
.task-due.is-overdue strong { color: #e18a7d; }
.task-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-top: 7px; border-top: 1px solid rgba(159, 182, 164, .1); }
.task-rank-chip { overflow: hidden; color: #84d49a; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.task-status-action { min-height: 27px; padding: 0 7px; border: 1px solid rgba(121, 196, 139, .2); border-radius: 4px; color: #bfe7c7; background: rgba(60, 127, 75, .12); font-size: 7px; white-space: nowrap; }
.task-status-action span { padding-left: 4px; color: #88d89d; }
.task-status-action.is-reopen { color: #a4b0a7; border-color: rgba(151, 169, 155, .17); background: transparent; }
.task-create-panel { padding: 13px; }
.task-create-heading { padding-bottom: 10px; border-bottom: 1px solid rgba(159, 182, 164, .1); }
.task-create-heading h3 { margin: 3px 0 0; color: #edf3ee; font-size: 13px; }
.task-create-panel .task-form { gap: 10px; padding: 10px 0 0; }
.task-form .field-label { gap: 5px; color: #91a097; font-size: 8px; }
.task-form input, .task-form textarea, .task-form select { width: 100%; min-width: 0; border: 1px solid rgba(155, 177, 160, .19); border-radius: 4px; color: #e1e9e2; background: #111814; font-size: 9px; }
.task-form input, .task-form select { min-height: 33px; padding: 0 8px; }
.task-form textarea { min-height: 68px; padding: 8px; resize: vertical; }
.task-assignment-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.task-form select:disabled { opacity: .52; }
.task-create-panel .button { width: 100%; min-height: 34px; font-size: 8px; }
.tasks-view .empty-inline { grid-column: 1 / -1; padding: 24px; text-align: center; }
@media (max-width: 1180px) {
  .tasks-workspace { grid-template-columns: minmax(0, 1fr) 255px; }
  .task-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tasks-toolbar { justify-content: flex-start; }
}
@media (max-width: 850px) {
  .tasks-workspace { grid-template-columns: 1fr; }
  .task-create-panel { grid-row: 1; }
  .task-create-panel .task-form { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
  .task-create-panel .task-form > label:nth-child(2) { grid-column: 1 / -1; }
  .task-create-panel .task-assignment-fields { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .task-hero-dashboard { grid-template-columns: 1fr; gap: 12px; padding: 17px; }
  .task-hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .task-hero-stats article { min-width: 0; min-height: 55px; }
  .task-hero-stats strong { font-size: 19px; }
  .tasks-board { padding: 10px; }
  .tasks-board-header > div:first-child { align-items: flex-start; flex-direction: column; gap: 4px; }
  .tasks-toolbar { display: grid; grid-template-columns: 1fr 1fr; }
  .tasks-search { grid-column: 1 / -1; width: 100%; }
  .tasks-toolbar label:not(.tasks-search) { justify-content: space-between; }
  .tasks-toolbar select { min-width: 0; flex: 1; }
  .task-list { grid-template-columns: 1fr; }
  .task-card { min-height: auto; }
}
@media (max-width: 430px) {
  .task-create-panel .task-form { grid-template-columns: 1fr; }
  .task-create-panel .task-form > label:nth-child(2), .task-create-panel .task-assignment-fields { grid-column: auto; }
}

.sanctions-view { gap: 16px; }
.sanctions-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; min-height: 142px; padding: 23px 28px; border: 1px solid rgba(149, 171, 153, .2); border-radius: 9px; background: radial-gradient(ellipse at 90% 38%, rgba(67, 100, 78, .13), transparent 37%), linear-gradient(110deg, #17201c, #111714 75%); }
.sanctions-hero .eyebrow { color: #92c99d; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.sanctions-hero h1 { margin: 9px 0 7px; color: #edf3ee; font-size: clamp(30px, 3.6vw, 42px); line-height: .98; }
.sanctions-hero h1 span { margin-left: 7px; color: #a8d7ad; }
.sanctions-hero p { margin: 0; color: #9eaaa1; font-size: 13px; line-height: 1.5; }
.sanctions-hero-stats { display: flex; flex-wrap: wrap; gap: 9px; }
.sanctions-hero-stats article { display: grid; min-width: 98px; min-height: 70px; align-content: center; justify-items: center; gap: 5px; padding: 9px 12px; border: 1px solid rgba(156, 178, 160, .18); border-radius: 7px; background: rgba(7, 13, 10, .31); }
.sanctions-hero-stats strong { color: #e9c473; font-size: 25px; line-height: 1; }
.sanctions-hero-stats article:nth-child(2) strong { color: #e2a477; }
.sanctions-hero-stats article:nth-child(3) strong { color: #d8a86e; }
.sanctions-hero-stats article:nth-child(4) strong { color: #90c9a0; }
.sanctions-hero-stats span { color: #9ba89e; font-size: 8px; font-weight: 800; letter-spacing: .07em; text-align: center; }
.sanctions-member-panel { min-width: 0; padding: 17px; border: 1px solid rgba(148, 172, 153, .17); border-radius: 9px; background: rgba(8, 16, 13, .78); }
.sanctions-member-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; padding: 0 2px 12px; border-bottom: 1px solid rgba(159, 182, 164, .1); }
.sanctions-member-toolbar > div:first-child { display: grid; gap: 4px; }
.sanctions-member-toolbar > div:first-child strong { color: #e4ece5; font-size: 16px; }
.sanctions-progression-note { margin: 2px 0 0; color: #899a8e; font-size: 10px; line-height: 1.4; }
.sanctions-filter-controls { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.sanctions-filter-controls select, .sanctions-search { height: 40px; border: 1px solid rgba(159, 182, 164, .18); border-radius: 6px; color: #dce5dd; background: #111915; font-size: 11px; }
.sanctions-filter-controls select { min-width: 155px; padding: 0 10px; }
.sanctions-search { display: flex; width: min(270px, 30vw); align-items: center; gap: 8px; padding: 0 11px; }
.sanctions-search svg { width: 16px; height: 16px; color: #84938a; }
.sanctions-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: #e4ece6; background: transparent; font-size: 11px; }
.sanctions-search input::placeholder { color: #75837a; }
.sanctions-member-count { color: #9ca9a0; font-size: 9px; white-space: nowrap; }
.sanction-member-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 10px; }
.sanction-member-card { min-width: 0; overflow: hidden; border: 1px solid rgba(154, 174, 158, .17); border-radius: 8px; background: linear-gradient(145deg, rgba(25, 31, 28, .98), rgba(19, 24, 22, .98)); transition: border-color .16s ease, transform .16s ease, background .16s ease; }
.sanction-member-card:hover { transform: translateY(-1px); border-color: rgba(120, 191, 136, .33); }
.sanction-member-card[hidden] { display: none; }
.sanction-member-card-main { display: flex; min-width: 0; align-items: center; gap: 12px; min-height: 66px; padding: 12px 12px 9px; }
.sanction-member-avatar { position: relative; display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; overflow: hidden; border: 1px solid rgba(192, 210, 196, .17); border-radius: 50%; color: #dce5df; background: #354039; font-size: 11px; font-weight: 700; }
.sanction-member-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sanction-member-avatar i { font-style: normal; }
.sanction-member-identity { display: grid; min-width: 0; gap: 4px; }
.sanction-member-identity > strong { overflow: hidden; color: #e7eee8; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.sanction-member-identity > small { overflow: hidden; color: #89968d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.sanction-member-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sanction-member-state { display: inline-flex; width: fit-content; align-items: center; gap: 5px; padding: 4px 7px; border: 1px solid rgba(103, 186, 125, .2); border-radius: 10px; color: #91dba2; background: rgba(49, 115, 65, .14); font-size: 8px; font-weight: 800; line-height: 1.1; }
.sanction-member-state i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.sanction-member-state.has-sanction { color: #e6bb77; border-color: rgba(196, 148, 65, .25); background: rgba(123, 83, 26, .16); }
.sanction-member-state.has-overdue { color: #e6bb77; border-color: rgba(196, 148, 65, .25); background: rgba(123, 83, 26, .16); }
.sanction-stage-badge { display: inline-flex; align-items: center; min-height: 22px; padding: 3px 7px; border: 1px solid rgba(147, 164, 151, .16); border-radius: 12px; color: #aab8ae; background: rgba(255, 255, 255, .025); font-size: 8px; font-weight: 750; }
.sanction-stage-badge.stage-1 { color: #e6bb77; border-color: rgba(196, 148, 65, .24); background: rgba(123, 83, 26, .14); }
.sanction-stage-badge.stage-2, .sanction-stage-badge.stage-3 { color: #ffb39b; border-color: rgba(209, 110, 82, .3); background: rgba(146, 55, 35, .17); }
.sanction-member-summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 34px; padding: 5px 12px; border-top: 1px solid rgba(159, 182, 164, .08); color: #9aa89f; background: rgba(255, 255, 255, .015); font-size: 9px; }
.sanction-member-summary strong { color: #b8d7be; font-size: 10px; white-space: nowrap; }
.sanction-member-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 37px; padding: 6px 10px; border-top: 1px solid rgba(159, 182, 164, .08); background: rgba(255, 255, 255, .015); }
.sanction-details-toggle { min-height: 26px; padding: 0 9px; border: 1px solid rgba(132, 186, 164, .16); border-radius: 5px; color: #b6d1c1; background: rgba(73, 127, 99, .12); cursor: pointer; font-size: 8px; font-weight: 800; letter-spacing: .03em; }
.sanction-details-toggle:hover { border-color: rgba(128, 211, 155, .34); background: rgba(73, 145, 98, .2); }
.sanction-member-card-foot > small { overflow: hidden; color: #8d9991; font-size: 8px; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.sanction-member-details { padding: 11px; border-top: 1px solid rgba(159, 182, 164, .08); background: rgba(8, 13, 10, .28); }
.sanction-member-details[hidden] { display: none; }
.sanction-member-record { display: grid; gap: 7px; padding: 9px 0; border-bottom: 1px solid rgba(159, 182, 164, .08); }
.sanction-member-record:last-child { border-bottom: 0; }
.sanction-member-record > div:first-child { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px; }
.sanction-record-type { color: #dfba78; font-size: 10px; font-weight: 800; }
.sanction-member-record small { color: #849087; font-size: 9px; }
.sanction-member-record p { margin: 0; color: #b5c0b7; font-size: 11px; line-height: 1.5; white-space: pre-wrap; }
.sanction-member-record .button-pair { gap: 5px; }
.sanction-member-record .button { min-height: 29px; padding: 0 9px; font-size: 9px; }
.sanction-edit-panel { padding-top: 5px; }
.sanction-edit-panel > summary { width: fit-content; color: #aeb9b0; cursor: pointer; font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.sanction-edit-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 9px; }
.sanction-edit-form .field-label { display: grid; min-width: 0; gap: 5px; color: #a5b1a8; font-size: 10px; }
.sanction-edit-form input, .sanction-edit-form select, .sanction-edit-form textarea { width: 100%; min-width: 0; min-height: 36px; padding: 7px 8px; border: 1px solid rgba(155, 177, 160, .19); border-radius: 5px; color: #e1e9e2; background: #111814; font-size: 11px; }
.sanction-edit-form .sanction-edit-reason, .sanction-edit-form > .button { grid-column: 1 / -1; }
.sanction-edit-form textarea { min-height: 68px; resize: vertical; }
.sanction-edit-form > .button { min-height: 36px; font-size: 9px; }
.sanction-paid-toggle { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 9px; border: 1px solid rgba(122, 173, 134, .2); border-radius: 5px; background: rgba(74, 133, 88, .08); }
.sanction-paid-toggle input { width: 17px; min-height: 17px; height: 17px; flex: 0 0 17px; margin: 0; accent-color: #65bd7a; }
.sanction-paid-toggle span { display: grid; gap: 3px; }
.sanction-paid-toggle strong { color: #d7e3d9; font-size: 10px; }
.sanction-paid-toggle small, .sanction-record-tracking { color: #839187; font-size: 9px; }
.sanction-member-record .sanction-paid-inline { width: fit-content; padding: 5px 8px; cursor: pointer; }
.sanction-paid-inline input:disabled { cursor: not-allowed; }
.sanction-record-tracking { display: block; margin-top: 5px; }
.sanction-no-records { margin: 0; padding: 7px 0; color: #829087; font-size: 10px; }
.sanctions-create-panel, .sanctions-history-panel { padding: 18px; }
.sanctions-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.sanctions-section-heading h3 { margin: 5px 0 0; color: #e7eee8; font-size: 18px; }
.sanctions-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 13px; }
.sanctions-form .field-label { gap: 7px; color: #a5b1a8; font-size: 11px; }
.sanctions-form input, .sanctions-form select, .sanctions-form textarea { width: 100%; min-width: 0; min-height: 42px; padding: 9px 10px; border: 1px solid rgba(155, 177, 160, .19); border-radius: 5px; color: #e1e9e2; background: #111814; font-size: 12px; }
.sanctions-form .sanctions-member-select-field { grid-column: span 2; }
.sanctions-form select[multiple] { min-height: 138px; padding: 5px; }
.sanctions-member-select-field small { color: #7f8e84; font-size: 9px; line-height: 1.5; }
.sanctions-form .sanctions-reason-field { grid-column: 1 / -1; }
.sanctions-form textarea { min-height: 82px; resize: vertical; }
.sanctions-form > .button { grid-column: 1 / -1; min-height: 44px; font-size: 11px; }
.sanctions-history-panel .operation-row { padding-block: 10px; }
.sanction-history-actions { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.sanctions-history-panel .sanction-paid-inline { padding: 5px 8px; }
.sanctions-view .sanction-filter-empty { grid-column: 1 / -1; }
@media (max-width: 1080px) {
  .sanction-member-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .sanctions-hero { grid-template-columns: 1fr; gap: 12px; }
  .sanctions-hero-stats { justify-content: flex-start; }
  .sanctions-member-toolbar { align-items: flex-start; flex-direction: column; }
  .sanctions-filter-controls { justify-content: flex-start; width: 100%; flex-wrap: wrap; }
  .sanctions-search { width: min(100%, 270px); }
  .sanction-member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sanctions-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sanctions-form > .button { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .sanctions-hero { padding: 15px; }
  .sanctions-hero-stats article { flex: 1; min-width: 0; padding-inline: 5px; }
  .sanctions-hero-stats span { font-size: 7px; }
  .sanctions-filter-controls select { flex: 1; }
  .sanctions-search { width: 100%; }
  .sanctions-member-count { margin-left: auto; }
  .sanction-member-grid { grid-template-columns: 1fr; }
  .sanctions-form { grid-template-columns: 1fr; }
  .sanctions-form .sanctions-member-select-field { grid-column: auto; }
  .sanctions-form .sanctions-reason-field, .sanctions-form > .button { grid-column: auto; }
  .sanction-edit-form { grid-template-columns: 1fr; }
  .sanction-edit-form .sanction-edit-reason, .sanction-edit-form > .button { grid-column: auto; }
}

.welcome-clips-card { animation: welcome-highlight-enter .65s cubic-bezier(.2, .75, .25, 1) both; animation-delay: .18s; }
.welcome-clips-content { padding: 9px; }
.welcome-highlight-player { position: relative; overflow: hidden; border: 1px solid rgba(54, 255, 190, .2); border-radius: 7px; background: #030807; box-shadow: 0 0 24px rgba(29, 241, 174, .09); }
.welcome-highlight-player::before { position: absolute; z-index: 2; top: 31px; right: 0; left: 0; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(70, 255, 191, .55), transparent); content: ""; animation: welcome-highlight-scan 5s ease-in-out infinite; }
.welcome-highlight-tag { position: absolute; z-index: 3; top: 7px; left: 7px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; border: 1px solid rgba(59, 255, 193, .24); border-radius: 10px; color: #a6f8d1; background: rgba(2, 16, 13, .8); font-size: 6px; font-weight: 900; letter-spacing: .1em; }
.welcome-highlight-tag i { width: 5px; height: 5px; border-radius: 50%; background: #41ffb7; box-shadow: 0 0 8px #41ffb7; animation: welcome-live-pulse 1.6s ease-in-out infinite; }
.welcome-highlight-player video { display: block; width: 100%; max-height: 190px; aspect-ratio: 16 / 9; object-fit: contain; background: #020403; }
.welcome-highlight-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 8px 5px; }
.welcome-highlight-caption strong { overflow: hidden; color: #e1f0e6; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.welcome-highlight-caption span { color: #7e9c8a; font-size: 7px; white-space: nowrap; }
.welcome-highlight-controls { display: flex; align-items: center; justify-content: space-between; padding: 0 7px 7px; }
.welcome-highlight-controls button { display: grid; width: 24px; height: 22px; place-items: center; border: 1px solid rgba(148, 201, 165, .16); border-radius: 4px; color: #abdfbd; background: rgba(76, 144, 94, .12); cursor: pointer; }
.welcome-highlight-controls button:disabled { opacity: .35; cursor: default; }
.welcome-highlight-controls > span { color: #6f8a79; font-size: 6px; font-weight: 850; letter-spacing: .16em; }
.welcome-highlight-list { display: grid; max-height: 102px; gap: 4px; overflow: auto; margin-top: 6px; scrollbar-color: rgba(57, 255, 189, .3) transparent; scrollbar-width: thin; }
.welcome-highlight-item { display: flex; min-width: 0; align-items: center; gap: 7px; padding: 6px 7px; border: 1px solid transparent; border-radius: 4px; color: #98aca0; background: rgba(255, 255, 255, .025); cursor: pointer; text-align: left; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.welcome-highlight-item:hover { transform: translateX(2px); border-color: rgba(58, 255, 190, .13); background: rgba(36, 105, 74, .16); }
.welcome-highlight-item.is-current { border-color: rgba(60, 255, 192, .2); color: #b4f3cb; background: rgba(33, 113, 75, .17); }
.welcome-highlight-item > span { color: #5f8270; font-size: 7px; font-variant-numeric: tabular-nums; }
.welcome-highlight-item strong { overflow: hidden; flex: 1; font-size: 8px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.welcome-highlight-item i { color: #71d9a1; font-size: 6px; font-style: normal; font-weight: 850; }
.welcome-clips-empty { display: grid; min-height: 102px; justify-items: center; align-content: center; gap: 5px; }
.welcome-clips-empty > span { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(64, 255, 191, .19); border-radius: 50%; color: #66e4b0; background: rgba(44, 137, 91, .12); animation: welcome-highlight-float 3s ease-in-out infinite; }
.welcome-clips-empty strong { color: #aac5b4; font-size: 7px; letter-spacing: .12em; }
.welcome-clips-empty small { color: #71877a; font-size: 7px; text-align: center; }
@keyframes welcome-highlight-scan { 0%, 100% { opacity: .15; transform: translateY(0); } 50% { opacity: .7; transform: translateY(110px); } }
@keyframes welcome-highlight-enter { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes welcome-highlight-float { 0%, 100% { transform: translateY(0); box-shadow: 0 0 0 rgba(64, 255, 191, 0); } 50% { transform: translateY(-4px); box-shadow: 0 0 16px rgba(64, 255, 191, .16); } }
.welcome-clip-heading { margin-top: 10px; }
.welcome-clip-editors { display: grid; gap: 7px; }
.welcome-clip-editor { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: 9px; padding: 9px; border: 1px solid rgba(183, 196, 188, .12); border-radius: 6px; background: rgba(18, 25, 21, .6); }
.welcome-clip-editor .field-label { min-width: 0; }
.welcome-clip-editor input { width: 100%; }
.welcome-clip-file { align-self: center; color: #81d99c; font-size: 7px; font-weight: 800; white-space: nowrap; }
.welcome-mp4-upload { margin-top: 12px; padding: 12px; border: 1px solid rgba(71, 202, 138, .16); border-radius: 7px; background: rgba(19, 33, 25, .35); }
.welcome-mp4-upload > strong { display: block; margin-bottom: 9px; color: #d8e6dc; font-size: 11px; }
.welcome-mp4-upload > small { display: block; margin-top: 8px; color: #8e9f93; font-size: 9px; }
.welcome-mp4-upload .welcome-upload-form { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(150px, 1.2fr) auto; align-items: end; gap: 8px; }
.welcome-mp4-upload .welcome-upload-form > .button { min-height: 36px; }
@media (max-width: 680px) {
  .welcome-clips-card { grid-row: 7; }
  .welcome-og-card { grid-row: 8; }
  .welcome-narco-banner { grid-row: 9; }
}
@media (max-width: 580px) {
  .welcome-highlight-player video { max-height: 260px; }
  .welcome-mp4-upload .welcome-upload-form { grid-template-columns: 1fr; }
  .welcome-clip-editor { grid-template-columns: minmax(0, 1fr) auto; }
  .welcome-clip-file { grid-column: 1; grid-row: 2; }
  .welcome-clip-editor .icon-button { grid-column: 2; grid-row: 1 / span 2; }
}

.discord-ranks-view { gap: 12px; }
.discord-ranks-view .rank-overview { min-height: 106px; padding: 18px 22px; border-color: rgba(142, 170, 148, .16); border-radius: 7px; background: radial-gradient(ellipse at 86% 30%, rgba(68, 121, 79, .14), transparent 37%), linear-gradient(110deg, #17211b, #111714 75%); }
.discord-ranks-view .rank-overview h3 { margin: 5px 0; color: #edf4ee; font-size: 20px; }
.discord-ranks-view .rank-overview p { color: #9eaaa1; font-size: 10px; }
.discord-ranks-view .rank-overview-actions { justify-content: flex-end; }
.discord-ranks-view .rank-role-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 8px; }
.discord-ranks-view .discord-role-row { gap: 11px; min-height: 67px; padding: 11px 13px; border-color: rgba(145, 169, 150, .14); border-radius: 6px; background: linear-gradient(145deg, #1a211d, #151a17); }
.discord-ranks-view .discord-role-row.is-rank-role { border-color: rgba(110, 201, 134, .23); background: linear-gradient(105deg, rgba(37, 90, 51, .22), #171e19 58%); }
.discord-ranks-view .role-color-swatch { flex: 0 0 4px; width: 4px; height: 35px; border-radius: 4px; background: var(--role-color, #859189); box-shadow: 0 0 10px color-mix(in srgb, var(--role-color, #859189), transparent 65%); }
.discord-ranks-view .discord-role-info { gap: 5px; }
.discord-ranks-view .discord-role-info strong { color: #e5eee7; font-size: 11px; }
.discord-ranks-view .discord-role-info small { overflow: hidden; max-width: 100%; color: #8e9b92; font-size: 8px; text-overflow: ellipsis; }
.discord-ranks-view .role-member-count { color: #aab6ad; font-size: 9px; }
.discord-ranks-view .rank-description-form { align-items: end; gap: 9px; margin: -8px 0 0; padding: 10px 12px 12px 27px; border: 1px solid rgba(145, 169, 150, .1); border-top: 0; border-radius: 0 0 6px 6px; background: rgba(12, 18, 14, .8); }
.discord-ranks-view .rank-description-form .field-label { color: #94a198; font-size: 8px; }
.discord-ranks-view .rank-description-form textarea { min-height: 48px; padding: 8px; border: 1px solid rgba(154, 177, 160, .17); border-radius: 5px; color: #e0e8e1; background: #111713; font-size: 9px; }
.discord-ranks-view .rank-description-form .button { min-height: 34px; }
.rank-actions { gap: 10px; }
.rank-action-panel { overflow: hidden; border-color: rgba(145, 169, 150, .16); border-radius: 7px; background: linear-gradient(145deg, #18211b, #121814); }
.rank-action-panel .section-title { padding: 12px 14px; border-bottom: 1px solid rgba(157, 179, 161, .1); }
.rank-action-panel .section-title h3 { color: #e6eee7; font-size: 13px; }
.rank-action-panel .stack-form { padding: 12px 14px 14px; }
.rank-action-panel .field-label { color: #91a097; font-size: 8px; }
.rank-action-panel select, .rank-action-panel input, .discord-ranks-view select, .discord-ranks-view textarea { color-scheme: dark; }
.rank-action-panel .notice { margin: 0; padding: 9px 10px; border: 1px solid rgba(147, 170, 151, .1); border-radius: 5px; color: #99a69d; background: rgba(7, 13, 9, .35); font-size: 9px; line-height: 1.5; }
.discord-ranks-view > .notice { margin: 0; padding: 10px 12px; border: 1px solid rgba(145, 169, 150, .12); border-radius: 6px; color: #94a198; background: rgba(13, 19, 15, .72); font-size: 9px; }

.operations-view { gap: 12px; }
.operations-view > .panel-card { overflow: hidden; padding: 0; border-color: rgba(145, 169, 150, .15); border-radius: 7px; background: linear-gradient(145deg, rgba(24, 31, 27, .98), rgba(17, 22, 19, .98)); }
.operations-view > .panel-card > .section-title { min-height: 56px; margin: 0; padding: 12px 16px; border-bottom: 1px solid rgba(154, 176, 159, .1); }
.operations-view > .panel-card > .section-title h3 { margin: 4px 0 0; color: #e9f0ea; font-size: 15px; }
.operations-view .radio-current { display: flex; min-height: 80px; align-items: center; gap: 13px; margin: 12px 14px 0; padding: 12px 15px; border: 1px solid rgba(99, 196, 127, .17); border-radius: 6px; background: radial-gradient(ellipse at 20% 50%, rgba(46, 119, 69, .15), transparent 55%), #111814; }
.operations-view .radio-current strong { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 1px solid rgba(103, 210, 136, .26); border-radius: 12px; color: #93e1a7; background: rgba(45, 116, 65, .18); font-size: 17px; }
.operations-view .radio-current span { color: #a8b5ab; font-size: 10px; }
.operations-view #radioForm { margin: 0; padding: 12px 14px 14px; }
.operations-view #radioForm input, .operations-view #radioForm select { color-scheme: dark; }
.operations-view .vehicle-grid { padding: 12px 14px 14px; }
.operations-view .operation-intro { margin: 0; padding: 0 16px; color: #919f95; font-size: 9px; }
.operations-view .vehicle-card { gap: 9px; border-color: rgba(147, 171, 152, .14); border-radius: 6px; background: linear-gradient(150deg, #1c2420, #121815); }
.operations-view .vehicle-card input:not([type="color"]) { color-scheme: dark; border-color: rgba(158, 179, 162, .17); background: #111713; }
.operations-view .vehicle-card input[type="color"] { height: 38px; min-height: 38px; border: 1px solid rgba(158, 179, 162, .17); border-radius: 5px; background: #111713; }
.operations-view .vehicle-card .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.operations-view .vehicle-card .button { min-height: 34px; }
.operations-view .uniform-editor { margin: 12px 14px; padding: 13px; border: 1px solid rgba(145, 169, 150, .12); border-radius: 6px; background: rgba(11, 16, 13, .58); }
.operations-view .uniform-editor input, .operations-view .uniform-editor select, .operations-view .uniform-editor textarea { color-scheme: dark; border-color: rgba(154, 176, 159, .17); border-radius: 5px; color: #e1e9e2; background: #111713; }
.operations-view .uniform-editor .field-label { color: #94a198; font-size: 8px; }
.operations-view .uniform-editor .feature-toggle { min-height: 34px; }
.operations-view .uniform-variant-list { padding: 0 14px 14px; }
.operations-view .uniform-variant-card { border-color: rgba(145, 169, 150, .15); border-radius: 6px; background: linear-gradient(145deg, #1b231e, #131916); }
.operations-view .uniform-variant-title h4 { color: #e3ece5; font-size: 13px; }
.operations-view .uniform-variant-grid > div { border-color: rgba(149, 171, 153, .13); border-radius: 5px; background: rgba(9, 14, 11, .42); }
.operations-view .uniform-variant-grid img { background: #0d120f; }
.operations-view .uniform-variant-grid code { color: #c5d2c8; }

.route-workspace { gap: 12px; }
.route-planner-panel { overflow: hidden; padding: 0; border-color: rgba(145, 169, 150, .15); border-radius: 7px; background: linear-gradient(145deg, rgba(24, 31, 27, .98), rgba(17, 22, 19, .98)); }
.route-planner-panel > .section-title { min-height: 58px; margin: 0; padding: 12px 16px; border-bottom: 1px solid rgba(154, 176, 159, .1); }
.route-planner-panel > .section-title h3 { margin: 4px 0 0; color: #e9f0ea; font-size: 15px; }
.route-create-form { margin: 12px 14px 4px; padding: 13px; border: 1px solid rgba(145, 169, 150, .13); border-radius: 6px; background: rgba(11, 16, 13, .58); }
.route-create-form > input, .route-create-form > textarea, .route-create-form .route-stage-editor input, .route-edit-form input, .route-edit-form textarea { min-width: 0; border: 1px solid rgba(154, 176, 159, .17); border-radius: 5px; color: #e1e9e2; background: #111713; font-size: 9px; }
.route-create-form input, .route-edit-form input { min-height: 34px; padding: 0 9px; }
.route-create-form textarea, .route-edit-form textarea { min-height: 64px; padding: 8px; resize: vertical; }
.route-create-form .field-label, .route-edit-form .field-label { color: #94a198; font-size: 8px; }
.route-stage-editor { padding: 10px; border: 1px solid rgba(147, 170, 151, .1); border-radius: 5px; background: rgba(20, 28, 23, .55); }
.route-stage-editor .field-label { display: grid; gap: 6px; }
.route-create-form > .button { min-height: 36px; }
.route-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); padding: 12px 14px 14px; }
.route-card { gap: 10px; border-color: rgba(145, 169, 150, .15); border-radius: 6px; background: linear-gradient(150deg, #1b231e, #131916); }
.route-card h3 { margin: 0; color: #e6eee7; font-size: 14px; }
.route-card > .panel-kicker { color: #8fbf98; }
.route-stages { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; padding: 10px; border: 1px solid rgba(149, 172, 153, .11); border-radius: 5px; background: rgba(9, 14, 11, .42); }
.route-stages > div { display: grid; min-width: 0; gap: 4px; }
.route-stages > div small { color: #82c994; font-size: 7px; font-weight: 850; letter-spacing: .06em; }
.route-stages > div strong { overflow: hidden; color: #dce6de; font-size: 9px; text-overflow: ellipsis; }
.route-stages > div span { overflow: hidden; color: #86948a; font-size: 7px; text-overflow: ellipsis; }
.route-stages > i { color: #6eb982; font-size: 11px; font-style: normal; }
.route-card > p { margin: 0; color: #9ca99f; font-size: 9px; line-height: 1.5; }
.route-publish-row { align-items: center; padding-top: 8px; border-top: 1px solid rgba(149, 172, 153, .1); }
.route-publish-row select { min-height: 34px; padding: 0 8px; border: 1px solid rgba(154, 176, 159, .17); border-radius: 5px; color: #e1e9e2; background: #111713; font-size: 9px; color-scheme: dark; }
.route-publish-row .button { min-height: 34px; font-size: 8px; }
.route-edit { padding-top: 8px; border-top: 1px solid rgba(149, 172, 153, .1); }
.route-edit-form { display: grid; gap: 8px; margin-top: 10px; }
.route-edit-form .button-pair { gap: 7px; }
@media (max-width: 760px) {
  .discord-ranks-view .rank-overview { align-items: flex-start; }
  .discord-ranks-view .rank-overview-actions { justify-content: flex-start; }
  .discord-ranks-view .rank-role-grid { grid-template-columns: 1fr; }
  .operations-view .vehicle-card .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .route-grid { grid-template-columns: 1fr; }
  .route-stages { grid-template-columns: minmax(0, 1fr); }
  .route-stages > i { transform: rotate(90deg); justify-self: center; }
  .operations-view > .panel-card > .section-title { align-items: flex-start; }
}

.welcome-layout { padding-bottom: 112px; }
.welcome-center > .welcome-clips-card { width: min(100%, 760px); }
.welcome-clips-content { padding: 11px; }
.welcome-highlight-player video { max-height: min(43vh, 460px); }
.welcome-highlight-list { display: flex; max-height: none; gap: 6px; overflow-x: auto; overflow-y: hidden; padding-bottom: 2px; }
.welcome-highlight-item { flex: 0 0 min(190px, 30%); }
.welcome-player-frame { position: fixed; z-index: 2010; right: 0; bottom: 0; left: 0; display: grid; width: 100%; min-height: 78px; grid-template-columns: minmax(190px, 1fr) minmax(320px, 1.35fr) minmax(140px, 1fr); align-items: center; gap: clamp(12px, 2.2vw, 34px); padding: 9px clamp(14px, 2.5vw, 42px); border: 0; border-top: 1px solid rgba(80, 255, 191, .24); border-radius: 0; background: rgba(3, 7, 6, .96); box-shadow: 0 -12px 36px rgba(0, 0, 0, .42); backdrop-filter: blur(18px); }
.welcome-player-frame::before, .welcome-player-frame::after { display: none; }
.welcome-player-frame audio { display: none; }
.welcome-footer-track { display: flex; min-width: 0; align-items: center; gap: 11px; }
.welcome-footer-track .welcome-player-art { width: 48px; height: 48px; flex: 0 0 48px; aspect-ratio: 1; border: 0; border-radius: 4px; box-shadow: none; }
.welcome-footer-track .welcome-playing-label, .welcome-footer-track .welcome-art-corner { display: none; }
.welcome-footer-track .welcome-artwork-placeholder { width: 100%; height: 100%; border: 0; border-radius: 4px; }
.welcome-footer-track .welcome-artwork-placeholder span { font-size: 25px; }
.welcome-footer-track .welcome-artwork-placeholder small { font-size: 4px; }
.welcome-footer-track .welcome-player-track { justify-items: start; min-width: 0; gap: 5px; margin: 0; text-align: left; }
.welcome-footer-track .welcome-player-track strong { font-size: 12px; letter-spacing: 0; text-transform: none; }
.welcome-footer-track .welcome-player-track small { font-size: 9px; }
.welcome-footer-center { display: grid; min-width: 0; gap: 2px; }
.welcome-footer-center .welcome-player-controls { width: min(100%, 230px); justify-content: center; gap: 9px; margin: 0 auto; }
.welcome-footer-center .welcome-player-controls button { width: 30px; height: 30px; flex-basis: 30px; color: #a7b7af; }
.welcome-footer-center .welcome-player-controls button:first-child, .welcome-footer-center .welcome-player-controls button:last-child { color: #55c98e; font-size: 12px; }
.welcome-footer-center .welcome-player-controls button:hover, .welcome-footer-center .welcome-player-controls button.is-active { color: #54e89d; background: rgba(82, 224, 149, .1); }
.welcome-footer-center .welcome-player-controls .welcome-play-button { width: 34px; height: 34px; flex-basis: 34px; border: 0; color: #09100c; background: #f2f7f3; box-shadow: none; font-size: 13px; }
.welcome-footer-center .welcome-player-controls .welcome-play-button:hover { color: #09100c; background: #c9f8dc; transform: scale(1.04); }
.welcome-footer-center .welcome-player-progress { grid-template-columns: 31px minmax(0, 1fr) 31px; gap: 7px; margin: 0; color: #9ca9a2; font-size: 8px; }
.welcome-footer-center .welcome-player-progress input { height: 4px; background: linear-gradient(90deg, #f0f4f1 var(--welcome-audio-progress, 0%), rgba(164, 178, 169, .28) var(--welcome-audio-progress, 0%)); }
.welcome-footer-center .welcome-player-progress input::-webkit-slider-thumb { width: 9px; height: 9px; background: #f4f7f5; box-shadow: none; }
.welcome-footer-center .welcome-player-progress input::-moz-range-thumb { width: 9px; height: 9px; background: #f4f7f5; box-shadow: none; }
.welcome-footer-volume { display: flex; justify-content: flex-end; }
.welcome-footer-volume .audio-volume-control { width: min(100%, 190px); gap: 8px; margin: 0; color: #9eaaa3; }
.welcome-footer-volume .audio-volume-control > span { font-size: 13px; }
.welcome-footer-volume .audio-volume-control input { height: 4px; }
.welcome-footer-volume .audio-volume-control input::-webkit-slider-thumb { width: 10px; height: 10px; border-color: #eef5ef; background: #eef5ef; box-shadow: none; }
.welcome-footer-volume .audio-volume-control input::-moz-range-thumb { width: 10px; height: 10px; border-color: #eef5ef; background: #eef5ef; box-shadow: none; }
.welcome-footer-volume .audio-volume-control output { flex-basis: 30px; color: #9daaa2; }
.welcome-bottom-brand { bottom: 92px; }
@media (max-width: 760px) {
  .welcome-layout { padding-bottom: 136px; }
  .welcome-player-frame { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; padding: 8px 12px; }
  .welcome-footer-track { gap: 8px; }
  .welcome-footer-track .welcome-player-art { width: 40px; height: 40px; flex-basis: 40px; }
  .welcome-footer-track .welcome-player-track strong { font-size: 10px; }
  .welcome-footer-track .welcome-player-track small { font-size: 8px; }
  .welcome-footer-center { grid-column: 1 / -1; grid-row: 2; }
  .welcome-footer-center .welcome-player-controls { gap: 5px; }
  .welcome-footer-volume { grid-column: 2; grid-row: 1; }
  .welcome-footer-volume .audio-volume-control { width: 110px; }
  .welcome-footer-volume .audio-volume-control output { display: none; }
  .welcome-bottom-brand { bottom: 145px; }
}
@media (max-width: 480px) {
  .welcome-player-frame { min-height: 112px; }
  .welcome-layout { padding-bottom: 150px; }
  .welcome-highlight-item { flex-basis: min(150px, 48%); }
  .welcome-footer-track .welcome-player-art { width: 34px; height: 34px; flex-basis: 34px; }
  .welcome-footer-track .welcome-player-track small { max-width: 38vw; }
  .welcome-footer-volume .audio-volume-control { width: 82px; gap: 5px; }
  .welcome-footer-volume .audio-volume-control > span { font-size: 11px; }
  .welcome-bottom-brand { bottom: 154px; }
}

.welcome-screen { width: 100%; height: 100dvh; overflow: hidden; overscroll-behavior: none; }
.welcome-screen:fullscreen { width: 100vw; height: 100dvh; }
.welcome-layout { height: 100dvh; min-height: 0; grid-template-areas: "top top top" "left center right"; grid-template-rows: auto minmax(0, 1fr); align-items: stretch; overflow: hidden; }
.welcome-topbar { grid-area: top; }
.welcome-left { grid-area: left; align-self: stretch; }
.welcome-center { grid-area: center; align-self: stretch; }
.welcome-right { grid-area: right; align-self: stretch; }
.welcome-left, .welcome-center, .welcome-right { min-height: 0; }
.welcome-left { padding-top: 18px; overflow: hidden; }
.welcome-right { padding-top: 18px; }
.welcome-center { overflow: hidden; }
.welcome-left > .welcome-frame, .welcome-right > .welcome-frame { min-height: 0; }
.welcome-left > .welcome-frame { display: flex; min-height: 0; flex-direction: column; }
.welcome-online-card { flex: 1.2 1 0; }
.welcome-task-card { flex: .8 1 0; }
.welcome-formation-card { flex: .9 1 0; }
.welcome-online-list, .welcome-task-list { flex: 1; overflow: auto; }
.welcome-playlist-card { display: flex; flex: 1 1 auto; flex-direction: column; }
.welcome-playlist-list { flex: 1; max-height: none; overflow: auto; }
.welcome-center > .welcome-clips-card { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; }
.welcome-center > .welcome-clips-card .welcome-clips-content { min-height: 0; overflow: auto; }
.welcome-online-list, .welcome-task-list, .welcome-formation-list, .welcome-playlist-list { min-height: 0; overscroll-behavior: contain; }
.welcome-formation-card { display: flex; min-height: 0; flex-direction: column; }
.welcome-formation-list { flex: 1; overflow: auto; }
.welcome-top-actions { display: flex; min-width: 0; align-items: center; gap: 8px; }
.welcome-fullscreen-button { padding: 7px 10px; border: 1px solid rgba(74, 255, 192, .3); border-radius: 4px; color: #b2f6d1; background: rgba(5, 32, 23, .8); font-size: 7px; font-weight: 850; letter-spacing: .08em; cursor: pointer; }
.welcome-fullscreen-button:hover { border-color: #4affc0; color: #e7fff2; background: rgba(19, 92, 63, .65); }
.welcome-fullscreen-button:disabled { cursor: not-allowed; opacity: .7; }
.welcome-screen[hidden] { display: none; }
@media (max-width: 1050px) and (min-width: 681px) {
  .welcome-layout { grid-template-areas: "top top" "left center" "right right"; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); grid-template-rows: auto minmax(0, 1fr) minmax(0, .42fr); gap: 10px; padding-inline: 12px; }
  .welcome-left, .welcome-right { padding-top: 12px; }
  .welcome-left, .welcome-right, .welcome-center { gap: 9px; }
  .welcome-center > .welcome-clips-card { width: 100%; }
  .welcome-highlight-player video { max-height: min(36dvh, 330px); }
}
@media (max-width: 680px) {
  .welcome-layout { grid-template-areas: "top top" "left center"; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-rows: auto minmax(0, 1fr); gap: 8px; padding: 8px 8px 150px; }
  .welcome-topbar { grid-area: top; }
  .welcome-top-logo { display: none; }
  .welcome-top-actions { gap: 4px; }
  .welcome-loading-status { max-width: none; padding: 4px 6px; }
  .welcome-fullscreen-button { padding: 6px; font-size: 6px; }
  .welcome-left { display: flex; grid-area: left; min-height: 0; flex-direction: column; gap: 6px; padding: 0; overflow: hidden; }
  .welcome-center { display: flex; grid-area: center; min-height: 0; flex-direction: column; gap: 6px; align-items: stretch; overflow: hidden; }
  .welcome-right { display: none; }
  .welcome-heading { flex: 0 0 auto; align-self: center; padding: 0; }
  .welcome-heading-mark, .welcome-soundwave { display: none; }
  .welcome-heading h1 { margin: 0; font-size: clamp(24px, 7vw, 38px); }
  .welcome-heading p { margin: 3px 0; font-size: 8px; }
  .welcome-heading-to { font-size: 7px; }
  .welcome-online-card { min-height: 0; flex: 1.2 1 0; }
  .welcome-task-card { min-height: 0; flex: .8 1 0; }
  .welcome-left > .welcome-formation-card { min-height: 0; flex: .9 1 0; }
  .welcome-center > .welcome-clips-card { width: 100%; flex: 1 1 0; }
  .welcome-bottom-brand { display: none; }
  .welcome-frame { border-radius: 6px; }
  .welcome-panel-heading { min-height: 29px; gap: 5px; padding: 6px; }
  .welcome-panel-heading strong { font-size: 7px; }
  .welcome-panel-heading > small { font-size: 6px; }
  .welcome-online-list { max-height: none; overflow: auto; padding-inline: 5px; }
  .welcome-online-member { min-height: 31px; gap: 4px; }
  .welcome-online-member > img { width: 21px; height: 21px; flex-basis: 21px; }
  .welcome-online-info strong { font-size: 7px; }
  .welcome-online-info small { font-size: 6px; }
  .welcome-task-list { overflow: auto; padding: 2px 5px; }
  .welcome-task-row { min-height: 29px; gap: 4px; }
  .welcome-task-copy strong { font-size: 7px; }
  .welcome-task-copy small { font-size: 6px; }
  .welcome-task-state { font-size: 5px; }
  .welcome-formation-card { overflow: hidden; }
  .welcome-formation-list { max-height: none; min-height: 0; overflow: auto; padding-inline: 5px; }
  .welcome-formation-row { grid-template-columns: 26px minmax(0, 1fr); gap: 4px; min-height: 31px; }
  .welcome-formation-date { width: 24px; height: 24px; font-size: 7px; }
  .welcome-formation-copy strong { font-size: 7px; }
  .welcome-formation-copy small { font-size: 6px; }
  .welcome-response { display: none; }
  .welcome-formation-stats { padding: 4px 2px; }
  .welcome-formation-stats b { font-size: 8px; }
  .welcome-formation-stats small { font-size: 5px; }
  .welcome-clips-card { display: flex; min-height: 0; flex-direction: column; }
  .welcome-clips-content { min-height: 0; flex: 1; overflow: auto; padding: 5px; }
  .welcome-highlight-player video { max-height: min(30dvh, 240px); }
  .welcome-highlight-caption { padding: 5px; }
  .welcome-highlight-caption strong { font-size: 7px; }
  .welcome-highlight-list { gap: 3px; }
  .welcome-highlight-item { flex-basis: 92%; padding: 4px; }
}
@media (max-height: 620px) {
  .welcome-layout { padding-top: 5px; }
  .welcome-left, .welcome-right { padding-top: 6px; }
  .welcome-heading { padding-bottom: 0; }
  .welcome-heading-mark, .welcome-soundwave { display: none; }
  .welcome-highlight-player video { max-height: 30dvh; }
}

.welcome-screen [hidden] { display: none !important; }
.welcome-layout { display: block; width: 100%; height: 100dvh; min-height: 0; padding: 0 18px 86px; overflow: hidden; }
.welcome-topbar { position: absolute; z-index: 2; top: 12px; right: 20px; left: 20px; height: 38px; margin: 0; }
.welcome-top-logo { left: 50%; }
.welcome-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 70px 80px 118px; overflow: visible; pointer-events: none; }
.welcome-center > * { pointer-events: auto; }
.welcome-heading { width: auto; max-width: min(720px, 90vw); }
.welcome-heading h1 { font-size: clamp(54px, 8vw, 112px); }
.welcome-left, .welcome-right { position: absolute; z-index: 2020; inset: 0; display: block; width: auto; height: auto; padding: 0; overflow: visible; transform: none; pointer-events: none; }
.welcome-icon-rail { position: fixed; top: 50%; display: grid; gap: 9px; transform: translateY(-50%); pointer-events: auto; }
.welcome-left .welcome-icon-rail { left: 18px; }
.welcome-right .welcome-icon-rail { right: 18px; }
.welcome-rail-button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(85, 255, 194, .43); border-radius: 10px; color: #8cf7c5; background: rgba(3, 19, 16, .72); box-shadow: 0 6px 22px rgba(0, 0, 0, .3), inset 0 0 15px rgba(38, 255, 184, .06); backdrop-filter: blur(12px); font-size: 17px; cursor: pointer; transition: color .18s, background .18s, border-color .18s, transform .18s; }
.welcome-rail-button:hover, .welcome-rail-button[aria-expanded="true"] { transform: scale(1.06); border-color: #51ffc0; color: #e5fff2; background: rgba(12, 71, 50, .88); }
.welcome-drawer-panel { position: absolute; z-index: 1; top: 50%; display: flex; width: clamp(270px, 25vw, 390px); max-height: min(72dvh, 620px); flex-direction: column; border-color: rgba(67, 255, 190, .5); border-radius: 9px; background: rgba(3, 17, 15, .95); box-shadow: 0 18px 60px rgba(0, 0, 0, .5), 0 0 22px rgba(40, 255, 181, .09); backdrop-filter: blur(22px); transform: translateY(-50%); }
.welcome-left > .welcome-drawer-panel { position: fixed; left: 72px; pointer-events: auto; }
.welcome-right > .welcome-drawer-panel { position: fixed; right: 72px; pointer-events: auto; }
.welcome-drawer-panel .welcome-panel-heading { flex: 0 0 auto; }
.welcome-panel-close { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; margin-left: 3px; border: 1px solid rgba(152, 185, 166, .22); border-radius: 50%; color: #b4c9bd; background: rgba(255, 255, 255, .04); font-size: 17px; line-height: 1; cursor: pointer; }
.welcome-panel-close:hover { border-color: rgba(85, 255, 194, .55); color: #fff; background: rgba(47, 140, 94, .23); }
.welcome-online-list, .welcome-task-list, .welcome-formation-list, .welcome-playlist-list { flex: 1; max-height: min(60dvh, 500px); overflow: auto; overscroll-behavior: contain; }
.welcome-formation-card .welcome-formation-list { min-height: 60px; }
.welcome-formation-stats { flex: 0 0 auto; }
.welcome-right .welcome-playlist-card { gap: 0; }
.welcome-og-card { position: fixed; z-index: 2010; top: 66px; left: 50%; display: flex; width: min(380px, 34vw); min-height: 76px; align-items: center; padding: 10px 16px; border: 1px solid rgba(69, 255, 190, .52); border-radius: 10px; background: linear-gradient(120deg, rgba(3, 24, 19, .9), rgba(3, 17, 15, .82)); box-shadow: 0 10px 32px rgba(0, 0, 0, .3), inset 0 0 22px rgba(35, 255, 176, .045); transform: translateX(-50%); }
.welcome-og-card > div { display: flex; width: 100%; align-items: center; gap: 13px; }
.welcome-og-card .welcome-og-avatar { width: 50px; height: 50px; flex-basis: 50px; }
.welcome-og-card .welcome-og-meta { gap: 4px; }
.welcome-og-card .welcome-og-meta strong { font-size: 12px; }
.welcome-og-card .welcome-og-meta small { font-size: 8px; }
.welcome-og-card .welcome-og-meta span { padding: 4px 9px; font-size: 7px; }
.welcome-og-card .welcome-og-crown { font-size: 17px; }
.welcome-clips-toggle { position: fixed; z-index: 2015; bottom: 94px; left: 50%; display: inline-flex; min-height: 34px; align-items: center; gap: 8px; padding: 0 13px; border: 1px solid rgba(80, 255, 191, .42); border-radius: 20px; color: #c9f9df; background: rgba(2, 19, 15, .82); box-shadow: 0 8px 30px rgba(0, 0, 0, .35); backdrop-filter: blur(12px); font-size: 8px; font-weight: 850; letter-spacing: .12em; cursor: pointer; transform: translateX(-50%); transition: border-color .18s, background .18s, transform .18s; }
.welcome-clips-toggle > span { color: #51ffc0; font-size: 11px; }
.welcome-clips-toggle small { color: #7b9a88; font-size: 7px; letter-spacing: .06em; }
.welcome-clips-toggle:hover, .welcome-clips-toggle[aria-expanded="true"] { border-color: #4affc0; color: #effff6; background: rgba(8, 70, 49, .92); transform: translate(-50%, -2px); }
.welcome-center > .welcome-clips-card { position: fixed; z-index: 2020; top: auto; right: auto; bottom: 137px; left: 50%; width: min(780px, calc(100vw - 150px)); max-height: min(66dvh, 620px); margin: 0; transform: translateX(-50%); }
.welcome-center > .welcome-clips-card .welcome-clips-content { flex: 1; overflow: auto; }
.welcome-highlight-player video { max-height: min(43dvh, 420px); }
.welcome-bottom-brand { bottom: 12px; }
@media (max-width: 680px) {
  .welcome-layout { padding: 0 8px 128px; }
  .welcome-topbar { top: 8px; right: 9px; left: 9px; }
  .welcome-center { padding: 55px 52px 106px; }
  .welcome-heading h1 { font-size: clamp(40px, 12vw, 72px); }
  .welcome-left { left: 8px; }
  .welcome-right { right: 8px; }
  .welcome-left .welcome-icon-rail { left: 8px; }
  .welcome-right .welcome-icon-rail { right: 8px; }
  .welcome-icon-rail { gap: 7px; }
  .welcome-rail-button { width: 36px; height: 36px; border-radius: 9px; font-size: 15px; }
  .welcome-drawer-panel { width: min(290px, calc(100vw - 82px)); max-height: 70dvh; }
  .welcome-left > .welcome-drawer-panel { left: 52px; }
  .welcome-right > .welcome-drawer-panel { right: 52px; }
  .welcome-og-card { top: 54px; width: min(310px, 58vw); min-height: 64px; padding: 8px 12px; }
  .welcome-og-card > div { gap: 10px; }
  .welcome-og-card .welcome-og-avatar { width: 42px; height: 42px; flex-basis: 42px; }
  .welcome-og-card .welcome-og-meta strong { font-size: 10px; }
  .welcome-og-card .welcome-og-meta small { font-size: 7px; }
  .welcome-clips-toggle { bottom: 119px; min-height: 31px; }
  .welcome-center > .welcome-clips-card { bottom: 158px; width: calc(100vw - 24px); max-height: min(60dvh, 520px); }
  .welcome-highlight-player video { max-height: min(36dvh, 300px); }
  .welcome-bottom-brand { display: none; }
}
@media (max-width: 400px) {
  .welcome-topbar { right: 7px; left: 7px; }
  .welcome-session { max-width: 38%; }
  .welcome-loading-status { max-width: 42%; }
  .welcome-drawer-panel { width: calc(100vw - 76px); }
  .welcome-left > .welcome-drawer-panel { left: 48px; }
  .welcome-right > .welcome-drawer-panel { right: 48px; }
  .welcome-center { padding-inline: 46px; }
}

.welcome-top-actions { width: min(320px, 32vw); flex-direction: column; align-items: stretch; gap: 5px; }
.welcome-loading-status { display: grid; width: 100%; max-width: none; gap: 6px; padding: 8px 11px; border-color: rgba(74, 255, 194, .28); background: rgba(2, 16, 14, .82); box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.welcome-loading-status > .welcome-loading-copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.welcome-loading-status strong { font-size: 8px; letter-spacing: .08em; }
.welcome-loading-status small { flex: 0 1 auto; font-size: 7px; }
.welcome-loading-track { height: 5px; overflow: hidden; border: 1px solid rgba(111, 168, 137, .23); border-radius: 5px; background: rgba(128, 157, 139, .15); }
.welcome-loading-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #21b879, #52ffc1); box-shadow: 0 0 10px rgba(74, 255, 192, .65); transition: width .35s linear; }
.welcome-og-card { width: min(520px, 42vw); min-height: 106px; flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; padding: 11px 17px; }
.welcome-og-card .welcome-og-kicker { color: #78e8b0; font-size: 8px; font-weight: 900; letter-spacing: .18em; }
.welcome-og-card .welcome-og-profile { display: flex; width: 100%; min-width: 0; align-items: center; gap: 15px; }
.welcome-og-card .welcome-og-avatar { width: 64px; height: 64px; flex: 0 0 64px; }
.welcome-og-card .welcome-og-meta { display: grid; min-width: 0; flex: 1; gap: 5px; }
.welcome-og-card .welcome-og-meta strong { overflow: visible; font-size: 15px; line-height: 1.2; overflow-wrap: anywhere; white-space: normal; }
.welcome-og-card .welcome-og-meta small { overflow: visible; font-size: 9px; line-height: 1.35; overflow-wrap: anywhere; white-space: normal; }
.welcome-og-card .welcome-og-meta span { padding: 5px 10px; font-size: 8px; }
.welcome-og-card .welcome-og-crown { flex: 0 0 auto; font-size: 22px; }
@media (max-width: 680px) {
  .welcome-top-actions { width: min(250px, 45vw); gap: 3px; }
  .welcome-loading-status { padding: 6px 8px; }
  .welcome-loading-status > .welcome-loading-copy { align-items: flex-start; flex-direction: column; gap: 2px; }
  .welcome-loading-status strong { font-size: 6px; }
  .welcome-loading-status small { font-size: 6px; }
  .welcome-loading-track { height: 4px; }
  .welcome-og-card { top: 60px; width: min(360px, 68vw); min-height: 88px; padding: 8px 12px; }
  .welcome-og-card .welcome-og-profile { gap: 10px; }
  .welcome-og-card .welcome-og-avatar { width: 52px; height: 52px; flex-basis: 52px; }
  .welcome-og-card .welcome-og-meta strong { font-size: 12px; }
  .welcome-og-card .welcome-og-meta small { font-size: 7px; }
  .welcome-og-card .welcome-og-meta span { padding: 4px 7px; font-size: 6px; }
}

.ledger-view { gap: 13px; }
.ledger-view .cash-account-grid { gap: 10px; }
.ledger-view .cash-account { position: relative; min-width: 0; gap: 8px; overflow: hidden; padding: 17px 19px; border-color: rgba(145, 169, 150, .15); border-radius: 7px; background: linear-gradient(130deg, #1a211d, #121714 78%); }
.ledger-view .cash-account::before { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: #6fcb8b; box-shadow: 0 0 13px rgba(91, 212, 132, .3); content: ""; }
.ledger-view .cash-account.black-cash::before { background: #d88470; box-shadow: 0 0 13px rgba(216, 132, 112, .24); }
.ledger-view .cash-account > span { color: #9eaaa1; font-size: 9px; letter-spacing: .13em; }
.ledger-view .cash-account > strong { font-size: clamp(24px, 3vw, 34px); font-weight: 750; letter-spacing: -.035em; }
.ledger-view .cash-account > small { color: #8e9a91; font-size: 9px; line-height: 1.5; }
.ledger-view .cash-chart-panel, .ledger-view > .panel-card { overflow: hidden; border-color: rgba(145, 169, 150, .14); border-radius: 7px; background: linear-gradient(150deg, #171e1a, #121714); }
.ledger-view .cash-chart-panel .section-title, .ledger-view > .panel-card > .section-title { min-height: 54px; padding: 11px 15px; border-bottom-color: rgba(145, 169, 150, .1); }
.ledger-view .cash-chart-panel .section-title h3, .ledger-view > .panel-card > .section-title h3 { color: #e6eee8; font-size: 13px; }
.ledger-view .cash-chart-legend { gap: 14px; padding: 10px 15px 0; color: #9fa9a1; font-size: 9px; }
.ledger-view .cash-chart-legend i { width: 7px; height: 7px; border-radius: 2px; }
.ledger-view .cash-chart { min-height: 145px; margin: 0; }
.ledger-view .cash-chart text { fill: #87948a; font-size: 10px; }
.ledger-view .cash-chart-zero { stroke: rgba(164, 183, 169, .2); }
.ledger-view .form-card { padding-bottom: 14px; }
.ledger-view .ledger-form { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 9px; padding: 13px 15px 0; }
.ledger-view .ledger-form > select, .ledger-view .ledger-form > input, .ledger-view .ledger-form > div select { width: 100%; min-width: 0; min-height: 37px; padding: 0 10px; border: 1px solid rgba(145, 169, 150, .19); border-radius: 5px; color: #e2e9e3; background: #111713; color-scheme: dark; font-size: 10px; }
.ledger-view .ledger-form > input::placeholder { color: #738077; }
.ledger-view .ledger-form > div:has(select[name="targetMoneyType"]) { min-width: 0; }
.ledger-view .ledger-form > div[hidden] { display: none; }
.ledger-view .ledger-form > button { min-height: 37px; grid-column: span 2; }
.ledger-view .table-wrap { overflow: auto; scrollbar-color: rgba(108, 151, 117, .34) transparent; scrollbar-width: thin; }
.ledger-view table { min-width: 920px; border-collapse: collapse; }
.ledger-view th { padding: 10px 12px; border-bottom: 1px solid rgba(145, 169, 150, .12); color: #87968b; background: rgba(9, 14, 11, .48); font-size: 8px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.ledger-view td { padding: 10px 12px; border-bottom: 1px solid rgba(145, 169, 150, .08); color: #c4cec6; font-size: 9px; line-height: 1.45; }
.ledger-view tbody tr:hover { background: rgba(72, 129, 82, .08); }
.ledger-view td small { color: #849188; }
.ledger-view .data-chip { border-color: rgba(145, 169, 150, .17); background: rgba(105, 145, 111, .1); font-size: 7px; }
.ledger-view .data-chip.good { color: #8ddd9e; }
.ledger-view .black-cash-chip { color: #eaa18f !important; background: rgba(144, 62, 48, .14) !important; }
.ledger-view .type-pill { padding: 4px 6px; border: 1px solid rgba(145, 169, 150, .15); border-radius: 4px; color: #a8b5aa; background: rgba(255, 255, 255, .025); font-size: 7px; }
.ledger-view .type-pill.income { border-color: rgba(94, 196, 119, .2); color: #8ddd9e; background: rgba(94, 196, 119, .08); }
.ledger-view .type-pill.expense { border-color: rgba(210, 125, 105, .2); color: #e89b88; background: rgba(210, 125, 105, .08); }
.ledger-view .type-pill.transfer { border-color: rgba(191, 164, 101, .2); color: #dbc58c; background: rgba(191, 164, 101, .08); }
.ledger-view td.amount { font-variant-numeric: tabular-nums; font-weight: 750; white-space: nowrap; }
.ledger-view td.amount.income { color: #8ddd9e; }
.ledger-view td.amount.expense { color: #e89b88; }
.ledger-view td.amount.transfer { color: #dbc58c; }
.ledger-view td .button { min-height: 27px; padding: 0 8px; border-color: rgba(210, 125, 105, .22); color: #e7a08f; background: rgba(210, 125, 105, .07); font-size: 7px; }
.ledger-view td [data-wallet-change-id] { border-color: rgba(103, 190, 122, .25); color: #9bddaa; background: rgba(103, 190, 122, .08); }
@media (max-width: 850px) {
  .ledger-view .ledger-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger-view .ledger-form > button { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ledger-view .cash-account-grid { grid-template-columns: 1fr; }
  .ledger-view .cash-account { padding: 14px 16px; }
  .ledger-view .cash-account > strong { font-size: 26px; }
  .ledger-view .ledger-form { grid-template-columns: 1fr; }
  .ledger-view .ledger-form > button { grid-column: auto; }
  .ledger-view .cash-chart-legend { flex-wrap: wrap; }
}

.live-formations-view .formation-absence-panel { overflow: hidden; border-color: rgba(145, 169, 150, .14); border-radius: 7px; background: linear-gradient(150deg, #171e1a, #121714); }
.live-formations-view .formation-absence-panel > .section-title { min-height: 56px; padding: 12px 16px; border-bottom-color: rgba(145, 169, 150, .1); }
.live-formations-view .formation-absence-panel > .section-title h3 { margin: 4px 0 0; color: #e8efe9; font-size: 14px; }
.live-formations-view .formation-absence-panel > .section-title .data-chip { padding: 5px 8px; border: 1px solid rgba(112, 188, 130, .2); border-radius: 4px; color: #a5dcb0; background: rgba(61, 118, 73, .1); font-size: 7px; }
.live-formations-view .formation-absence-panel .formation-form { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 10px; padding: 14px 16px; }
.live-formations-view .formation-absence-panel .field-label { display: grid; min-width: 0; gap: 6px; color: #9eaaa1; font-size: 9px; }
.live-formations-view .formation-absence-panel .formation-form input, .live-formations-view .formation-absence-panel .formation-form select, .live-formations-view .formation-absence-panel .absence-self { width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid rgba(145, 169, 150, .19); border-radius: 5px; color: #e2e9e3; background: #111713; color-scheme: dark; font-size: 10px; }
.live-formations-view .formation-absence-panel .absence-self { display: flex; align-items: center; }
.live-formations-view .formation-absence-panel .formation-absence-reason span { color: #718076; }
.live-formations-view .formation-absence-panel .formation-form > .button { min-height: 38px; grid-column: span 2; }
.live-formations-view .absence-list { display: grid; gap: 0; margin: 0 16px 14px; border: 1px solid rgba(145, 169, 150, .1); border-radius: 6px; background: rgba(8, 13, 10, .28); }
.live-formations-view .absence-row { min-width: 0; padding: 11px 12px; border-top: 1px solid rgba(145, 169, 150, .09); }
.live-formations-view .absence-row:first-child { border-top: 0; }
.live-formations-view .absence-row > div { min-width: 0; gap: 6px; }
.live-formations-view .absence-row strong { color: #e3ebe4; font-size: 10px; }
.live-formations-view .absence-row small { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: #8e9b91; font-size: 8px; }
.live-formations-view .absence-row small b { color: #617067; font-size: 7px; font-weight: 600; text-transform: uppercase; }
.live-formations-view .absence-row small em { flex-basis: 100%; color: #a4b0a6; font-size: 8px; font-style: normal; }
.live-formations-view .absence-row .icon-button { width: 29px; height: 29px; flex: 0 0 29px; border-color: rgba(211, 126, 108, .2); color: #d89584; background: rgba(211, 126, 108, .06); }
.live-formations-view .absence-row .icon-button:hover { border-color: rgba(220, 131, 110, .55); background: rgba(180, 74, 54, .15); }
.live-formations-view .absence-empty { display: grid; min-height: 88px; justify-items: center; align-content: center; gap: 5px; color: #839188; text-align: center; }
.live-formations-view .absence-empty > span { color: #75c78a; font-size: 17px; }
.live-formations-view .absence-empty strong { color: #bac7bc; font-size: 9px; }
.live-formations-view .absence-empty small { color: #78867c; font-size: 8px; }
.welcome-skip-button { align-self: flex-end; min-height: 25px; padding: 0 9px; border: 1px solid rgba(145, 169, 150, .19); border-radius: 4px; color: #aebbb1; background: rgba(3, 13, 10, .68); font-size: 7px; font-weight: 800; letter-spacing: .1em; cursor: pointer; }
.welcome-skip-button span { margin-left: 5px; color: #70dca1; }
.welcome-skip-button:hover { border-color: rgba(83, 236, 163, .48); color: #e6f3e9; background: rgba(20, 73, 45, .72); }
.welcome-formation-summary { position: fixed; z-index: 2010; top: 66px; left: 50%; display: flex; width: min(520px, calc(100vw - 120px)); min-height: 106px; flex-direction: column; align-items: stretch; justify-content: center; gap: 5px; padding: 12px 18px; transform: translateX(-50%); }
.welcome-formation-summary-kicker { color: #78e8b0; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.welcome-formation-summary-item { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(145, 169, 150, .1); }
.welcome-formation-summary-main { display: grid; min-width: 0; gap: 3px; }
.welcome-formation-summary-main strong { overflow-wrap: anywhere; color: #e4eee7; font-size: 14px; line-height: 1.3; }
.welcome-formation-summary-main small, .welcome-formation-summary-main > span { overflow-wrap: anywhere; color: #b0beb4; font-size: 11px; line-height: 1.4; }
.welcome-formation-summary-response { flex: 0 0 auto; padding: 5px 8px; border: 1px solid rgba(145, 169, 150, .17); border-radius: 10px; color: #aebbb1; font-size: 9px; font-weight: 800; }
.welcome-formation-summary-response.welcome-response-going { color: #76e2a0; }
.welcome-formation-summary-response.welcome-response-not_going { color: #e99a91; }
.welcome-formation-summary-response.welcome-response-late { color: #e4ca7d; }
.welcome-formation-summary-empty { margin: 3px 0; color: #a2b1a6; font-size: 9px; }
@media (max-width: 760px) {
  .live-formations-view .formation-absence-panel .formation-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-formations-view .formation-absence-panel .formation-form > .button { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .live-formations-view .formation-absence-panel .formation-form { grid-template-columns: 1fr; }
  .live-formations-view .formation-absence-panel .formation-form > .button { grid-column: auto; }
  .live-formations-view .absence-list { margin-inline: 10px; }
  .welcome-skip-button { min-height: 22px; padding-inline: 6px; font-size: 6px; }
  .welcome-formation-summary { top: 60px; width: min(460px, calc(100vw - 96px)); min-height: 86px; padding: 9px 12px; }
  .welcome-formation-summary-kicker { font-size: 8px; }
  .welcome-formation-summary-main strong { font-size: 12px; }
  .welcome-formation-summary-main small, .welcome-formation-summary-main > span { font-size: 10px; }
  .welcome-formation-summary-response { padding: 4px 6px; font-size: 8px; }
}

.welcome-screen .welcome-panel-heading { min-height: 48px; gap: 10px; padding: 10px 13px; }
.welcome-screen .welcome-panel-heading strong { font-size: 12px; line-height: 1.3; }
.welcome-screen .welcome-panel-heading > small { color: #a5b8ac; font-size: 10px; }
.welcome-screen .welcome-online-member, .welcome-screen .welcome-task-row { min-height: 52px; }
.welcome-screen .welcome-online-info strong, .welcome-screen .welcome-task-copy strong { font-size: 13px; line-height: 1.35; }
.welcome-screen .welcome-online-info small, .welcome-screen .welcome-task-copy small { color: #a5b8ac; font-size: 11px; line-height: 1.4; }
.welcome-screen .welcome-role-chip, .welcome-screen .welcome-task-state { max-width: 112px; font-size: 10px; }
.welcome-screen .welcome-panel-empty { color: #b0beb4; font-size: 12px; line-height: 1.5; }
.welcome-screen .welcome-formation-row { min-height: 54px; gap: 10px; }
.welcome-screen .welcome-formation-date { width: 38px; height: 38px; font-size: 11px; }
.welcome-screen .welcome-formation-copy { gap: 4px; }
.welcome-screen .welcome-formation-copy strong { font-size: 12px; line-height: 1.35; }
.welcome-screen .welcome-formation-copy small { color: #a5b8ac; font-size: 10px; line-height: 1.4; }
.welcome-screen .welcome-response { padding: 5px 7px; font-size: 9px; }
.welcome-screen .welcome-sync-label { font-size: 9px !important; }
.welcome-screen .welcome-formation-stats { padding: 11px 5px; }
.welcome-screen .welcome-formation-stats b { font-size: 13px; }
.welcome-screen .welcome-formation-stats small { color: #a5b8ac; font-size: 9px; letter-spacing: .05em; }
.welcome-screen .welcome-playlist-track { min-height: 58px; gap: 10px; padding: 7px; }
.welcome-screen .welcome-track-cover { width: 40px; height: 40px; flex-basis: 40px; }
.welcome-screen .welcome-track-meta { gap: 5px; }
.welcome-screen .welcome-track-meta strong { color: #e1eee6; font-size: 12px; line-height: 1.3; }
.welcome-screen .welcome-track-meta small { color: #a5b8ac; font-size: 10px; line-height: 1.3; }
.welcome-screen .welcome-clips-content { font-size: 12px; }
.welcome-screen .welcome-highlight-caption { gap: 10px; padding: 10px 12px; }
.welcome-screen .welcome-highlight-caption strong { font-size: 13px; }
.welcome-screen .welcome-highlight-caption span { color: #a5b8ac; font-size: 10px; }
.welcome-screen .welcome-highlight-item { min-height: 42px; gap: 9px; padding: 8px 10px; }
.welcome-screen .welcome-highlight-item > span, .welcome-screen .welcome-highlight-item i { font-size: 10px; }
.welcome-screen .welcome-highlight-item strong { font-size: 11px; }
.welcome-screen .welcome-og-card .welcome-og-kicker { font-size: 10px; }
.welcome-screen .welcome-og-card .welcome-og-meta span { font-size: 10px; }
.welcome-screen .welcome-loading-status strong { font-size: 10px; }
.welcome-screen .welcome-loading-status small { font-size: 9px; }
.welcome-screen .welcome-footer-track .welcome-player-track small { font-size: 10px; }
.welcome-screen .welcome-footer-center .welcome-player-progress { font-size: 10px; }

@media (max-width: 680px) {
  .welcome-screen .welcome-panel-heading { min-height: 42px; gap: 7px; padding: 8px 9px; }
  .welcome-screen .welcome-panel-heading strong { font-size: 10px; }
  .welcome-screen .welcome-panel-heading > small { font-size: 9px; }
  .welcome-screen .welcome-online-member, .welcome-screen .welcome-task-row { min-height: 46px; }
  .welcome-screen .welcome-online-info strong, .welcome-screen .welcome-task-copy strong { font-size: 11px; }
  .welcome-screen .welcome-online-info small, .welcome-screen .welcome-task-copy small { font-size: 10px; }
  .welcome-screen .welcome-role-chip, .welcome-screen .welcome-task-state { font-size: 9px; }
  .welcome-screen .welcome-formation-row { min-height: 48px; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 7px; }
  .welcome-screen .welcome-formation-date { width: 32px; height: 32px; font-size: 10px; }
  .welcome-screen .welcome-formation-copy strong { font-size: 10px; }
  .welcome-screen .welcome-formation-copy small { font-size: 9px; }
  .welcome-screen .welcome-formation-stats b { font-size: 11px; }
  .welcome-screen .welcome-formation-stats small { font-size: 8px; }
  .welcome-screen .welcome-track-cover { width: 34px; height: 34px; flex-basis: 34px; }
  .welcome-screen .welcome-track-meta strong { font-size: 11px; }
  .welcome-screen .welcome-track-meta small { font-size: 9px; }
  .welcome-screen .welcome-highlight-caption strong { font-size: 11px; }
  .welcome-screen .welcome-highlight-caption span { font-size: 9px; }
  .welcome-screen .welcome-highlight-item strong { font-size: 10px; }
  .welcome-screen .welcome-loading-status strong { font-size: 8px; }
  .welcome-screen .welcome-loading-status small { font-size: 8px; }
}

.dues-period-editor { min-width: 0; padding: clamp(16px, 2vw, 24px); }
.dues-period-editor .form-row { align-items: end; gap: 14px; }
.dues-period-editor .field-label { flex: 1 1 180px; }
.dues-period-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.dues-period-actions .button { min-height: 32px; padding-inline: 10px; font-size: 9px; }
.dues-period-actions .button:disabled { cursor: not-allowed; opacity: .48; }
.dues-manual-note { margin: 0 0 13px; color: #98a89d; font-size: 11px; line-height: 1.5; }
.dues-period-select { display: grid; min-width: 165px; gap: 4px; color: #98a89d; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.dues-period-select select { width: 100%; min-height: 34px; padding: 0 9px; border: 1px solid rgba(183, 196, 188, .15); border-radius: 5px; color: #dce6de; background: #151b17; font-size: 10px; }
.dues-member-row.is-excluded { opacity: .72; }
.dues-excluded { color: #a7b1aa; background: rgba(126, 140, 130, .14); }
.dues-member-info code { color: #9aa99f; font-size: 9px; }
.dues-member-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.dues-member-actions .button { min-width: 0; }
.dues-include-button { color: #c3d5c8; background: rgba(87, 112, 94, .14); }
.dues-payment-list { display: grid; gap: 4px; margin-top: 7px; }
.dues-payment-entry { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: #aeb9b0; font-size: 9px; }
.dues-payment-entry button { padding: 3px 5px; border: 1px solid rgba(183, 196, 188, .15); border-radius: 4px; color: #b9d8c1; background: rgba(80, 132, 92, .12); font-size: 8px; }
.dues-payment-entry button:last-child { color: #e1a49a; background: rgba(140, 65, 58, .12); }
@media (max-width: 650px) {
  .dues-period-editor .form-row { display: grid; grid-template-columns: 1fr; }
  .dues-member-actions { grid-column: 2 / -1; justify-content: flex-start; }
  .dues-payment-list { grid-column: 1 / -1; }
}

.formation-announcement-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(180px, auto) auto; align-items: center; gap: 12px; margin: 0 24px 14px; padding: 13px 16px; border: 1px solid rgba(255, 134, 127, .52); border-radius: 9px; color: #fff2ef; background: linear-gradient(105deg, #762b2c, #3e1b20 72%, #27191d); box-shadow: 0 8px 22px rgba(35, 8, 11, .2), inset 0 0 20px rgba(255, 140, 127, .08); }
.formation-announcement-label { color: #ffc0b9; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.formation-announcement-title { min-width: 0; overflow-wrap: anywhere; color: #fff7f5; font-size: clamp(12px, 1.15vw, 16px); font-weight: 850; }
.formation-announcement-time { min-width: 0; color: #f0c9c4; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.formation-announcement-bar button { min-height: 36px; padding: 0 12px; border: 1px solid rgba(255, 199, 190, .42); border-radius: 6px; color: #fff7f5; background: rgba(20, 4, 7, .22); font-size: 9px; font-weight: 850; white-space: nowrap; cursor: pointer; }
.formation-announcement-bar button:hover { background: rgba(255, 232, 227, .12); }
.formation-announcement-bar button span { margin-left: 8px; }
.formation-announcement-readonly { color: #f0c9c4; font-size: 9px; text-align: right; }

.overview-dashboard-grid { grid-template-columns: minmax(0, 1.48fr) minmax(270px, .82fr); }
.overview-right-column { display: grid; min-width: 0; align-content: start; gap: 13px; }
.overview-profile-panel { min-width: 0; padding-bottom: 10px; }
.overview-profile-panel > .overview-panel-action { width: calc(100% - 20px); margin: 8px 10px 0; font-size: 9px; }
.overview-attention-panel { min-width: 0; padding: clamp(16px, 2vw, 24px); border: 1px solid rgba(64, 207, 163, .24); border-radius: 10px; color: #e4eee7; background: linear-gradient(145deg, rgba(5, 23, 20, .96), rgba(3, 15, 14, .98)); box-shadow: 0 8px 20px rgba(0, 0, 0, .12), inset 0 0 20px rgba(32, 255, 176, .018); }
.overview-attention-head { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 13px; border-bottom: 1px solid rgba(152, 218, 185, .12); }
.overview-attention-head h2 { margin: 5px 0 0; color: #f0f8f2; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.2; }
.overview-attention-count { flex: 0 0 auto; padding: 7px 10px; border: 1px solid rgba(77, 217, 149, .35); border-radius: 20px; color: #9ee8bd; background: rgba(60, 185, 117, .1); font-size: 9px; font-weight: 850; letter-spacing: .04em; }
.overview-attention-count.has-alerts { border-color: rgba(255, 175, 94, .5); color: #ffd098; background: rgba(174, 93, 37, .17); }
.overview-attention-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 13px 0 17px; }
.overview-attention-summary article { display: grid; min-width: 0; gap: 5px; padding: 12px; border: 1px solid rgba(151, 210, 181, .12); border-radius: 8px; background: rgba(2, 12, 10, .35); }
.overview-attention-summary strong { color: #f1f8f3; font-size: 24px; line-height: 1; }
.overview-attention-summary span { color: #97b2a2; font-size: 8px; font-weight: 800; letter-spacing: .07em; }
.overview-attention-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.overview-attention-columns > section { display: flex; min-width: 0; flex-direction: column; }
.overview-attention-section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.overview-attention-section-head h3 { margin: 0; color: #dceae1; font-size: 12px; overflow-wrap: anywhere; }
.overview-attention-section-head > span { flex: 0 0 auto; color: #88a393; font-size: 10px; }
.overview-status-list { display: grid; min-width: 0; gap: 7px; align-content: start; }
.overview-status-row { display: grid; min-width: 0; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: start; gap: 8px; padding: 9px; border: 1px solid rgba(151, 210, 181, .1); border-radius: 7px; background: rgba(1, 9, 8, .26); }
.overview-status-icon { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 7px; font-size: 12px; font-weight: 900; }
.overview-status-icon.is-due { color: #ffd191; background: rgba(173, 112, 40, .18); }
.overview-status-icon.is-sanction { color: #ffaaa3; background: rgba(172, 58, 58, .19); }
.overview-status-row > div { display: grid; min-width: 0; gap: 4px; }
.overview-status-row > div strong { color: #dceae1; font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
.overview-status-row > div small { color: #9db0a4; font-size: 9px; line-height: 1.45; overflow-wrap: anywhere; }
.overview-status-row > b { padding-top: 3px; color: #ffc98a; font-size: 8px; letter-spacing: .04em; }
.overview-status-row.is-sanction-row > b { color: #ffaaa3; }
.overview-status-empty { margin: 0; padding: 12px 8px; color: #99aea1; font-size: 10px; line-height: 1.5; }
.overview-attention-panel .overview-panel-action { min-height: 36px; margin-top: 8px; font-size: 9px; }
.overview-private-note { margin: 14px 0 0; color: #82998b; font-size: 9px; line-height: 1.45; }
.overview-bottom-bar { grid-template-columns: minmax(0, 1fr) auto; min-height: 112px; gap: 18px; padding: 20px clamp(18px, 3vw, 30px); border-color: rgba(255, 134, 127, .48); background: linear-gradient(105deg, rgba(102, 34, 37, .94), rgba(44, 24, 27, .96)); }
.overview-bottom-bar > .overview-bottom-formation-copy { display: grid; min-width: 0; justify-items: start; gap: 6px; border: 0; }
.overview-bottom-formation-copy .panel-kicker { color: #ffbcb4; }
.overview-bottom-bar > .overview-bottom-formation-copy > strong { color: #fff6f3; font-size: clamp(16px, 2vw, 23px); line-height: 1.2; overflow-wrap: anywhere; }
.overview-bottom-bar > .overview-bottom-formation-copy > small { color: #efc7c2; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.overview-bottom-bar > button { min-height: 44px; padding: 0 15px; border-color: rgba(255, 201, 193, .45); color: #fff4f1; background: rgba(23, 5, 7, .22); font-size: 10px; }
.overview-bottom-bar > button b { color: #ffd3cd; }
.overview-formation-readonly { max-width: 190px; color: #edc8c3; font-size: 10px; line-height: 1.5; text-align: right; }

.overview-side-dock { position: fixed; z-index: 80; top: 50%; right: 12px; display: grid; gap: 9px; transform: translateY(-50%); }
.overview-side-dock button { position: relative; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(87, 255, 194, .48); border-radius: 14px 5px 5px 14px; color: #e6fff5; background: linear-gradient(145deg, rgba(10, 50, 39, .98), rgba(3, 18, 15, .98)); box-shadow: 0 7px 20px rgba(0, 0, 0, .32); font-size: 18px; cursor: pointer; }
.overview-side-dock button:hover, .overview-side-dock button[aria-expanded="true"] { border-color: #8affe0; color: #8affe0; background: #0a3428; }
.overview-side-dock button small { position: absolute; top: -5px; right: -5px; display: grid; min-width: 17px; height: 17px; place-items: center; padding: 0 4px; border-radius: 10px; color: #07130f; background: #74f6c5; font-size: 8px; font-weight: 900; }
.overview-side-drawer { position: fixed; z-index: 79; top: 50%; right: 66px; width: min(390px, calc(100vw - 88px)); max-height: min(78vh, 740px); opacity: 0; pointer-events: none; transform: translate(calc(100% + 80px), -50%); visibility: hidden; transition: transform .24s ease, opacity .2s ease, visibility .24s; }
.overview-side-drawer.is-open { opacity: 1; pointer-events: auto; transform: translate(0, -50%); visibility: visible; }
.overview-side-drawer-inner { position: relative; max-height: min(78vh, 740px); overflow: auto; padding: 0; border: 1px solid rgba(87, 255, 194, .34); border-radius: 12px; background: #061411; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.overview-side-drawer-inner > .overview-panel { min-height: 0; padding: 16px; overflow: visible; }
.overview-side-drawer-inner .overview-panel-action { font-size: 9px; }
.overview-side-drawer-inner .overview-online-list { max-height: 55vh; overflow-y: auto; }
.overview-side-drawer-inner .overview-music-panel { max-height: min(78vh, 740px); overflow-y: auto; padding-top: 22px; }
.overview-drawer-close { position: absolute; z-index: 2; top: 8px; right: 8px; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(185, 220, 200, .2); border-radius: 7px; color: #d9eee1; background: #13221d; font-size: 19px; cursor: pointer; }
.profile-role-consent { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 10px; padding: 11px; border: 1px solid rgba(184, 197, 188, .16); border-radius: 6px; background: rgba(5, 12, 9, .45); }
.profile-role-consent > input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: #67d990; }
.profile-role-consent > span { display: grid; gap: 5px; }
.profile-role-consent strong { color: #d9e6dd; font-size: 10px; line-height: 1.4; }
.profile-role-consent small { color: #9eaaa2; font-size: 9px; line-height: 1.5; }
.profile-role-sync-status { margin: 0; color: #91caaa; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.profile-role-sync-status.is-error { color: #ffaaa3; }
#formationAnnouncement[hidden] { display: none; }
.dashboard-guide-link { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 10px; padding: 0 10px; border: 1px solid rgba(103, 217, 144, .2); border-radius: 5px; color: #9ec9aa; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-decoration: none; }
.dashboard-guide-link:hover { border-color: rgba(103, 217, 144, .55); color: #dff6e5; background: rgba(70, 141, 84, .1); }
.sidebar-guide-link { margin-bottom: 10px; }
.login-guide-link { max-width: 340px; margin-top: 12px; }

@media (max-width: 1050px) {
  .overview-dashboard-grid { grid-template-columns: minmax(0, 1fr); }
  .overview-right-column { grid-column: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .formation-announcement-bar { grid-template-columns: auto minmax(0, 1fr); margin: 0 10px 10px; padding: 11px; gap: 7px 10px; }
  .formation-announcement-time { grid-column: 1 / -1; }
  .formation-announcement-bar button, .formation-announcement-readonly { grid-column: 1 / -1; justify-self: start; }
  .overview-dashboard-grid { grid-template-columns: minmax(0, 1fr); }
  .overview-attention-columns { grid-template-columns: minmax(0, 1fr); }
  .overview-right-column { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .overview-bottom-bar { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .overview-bottom-bar > button { grid-column: auto; justify-content: center; }
  .overview-formation-readonly { max-width: none; text-align: left; }
  .overview-side-dock { right: 7px; }
  .overview-side-dock button { width: 40px; height: 42px; }
  .overview-side-drawer { right: 55px; width: min(370px, calc(100vw - 68px)); }
  .overview-side-drawer-inner > .overview-panel { padding: 13px; }
  .overview-side-drawer-inner .overview-music-panel { padding-top: 22px; }
}

.dashboard-guide-layout { display: grid; min-width: 0; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr); align-items: start; gap: 22px; }
.dashboard-guide-config > .section-title { align-items: flex-start; }
.dashboard-guide-config > .section-title p { max-width: 720px; margin: 7px 0 0; color: #a6b2aa; font-size: 10px; line-height: 1.5; }
.dashboard-guide-layout > form { min-width: 0; }
.dashboard-guide-layout .field-label small { display: block; margin-top: 6px; color: #819087; font-size: 9px; line-height: 1.45; }
.dashboard-guide-layout select[multiple] { min-height: 132px; padding: 7px; }
.dashboard-guide-image-fields { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.dashboard-guide-image-fields > label:first-child { grid-column: 1 / -1; }
.dashboard-guide-image-fields > label:nth-child(2) { min-width: 0; }
.dashboard-guide-image-fields > small { grid-column: 1 / -1; color: #819087; font-size: 9px; }
.dashboard-guide-fields-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(183, 196, 188, .13); }
.dashboard-guide-fields-head > div { display: grid; gap: 5px; }
.dashboard-guide-fields-head > div > strong { color: #dce7df; font-size: 11px; }
.dashboard-guide-fields { display: grid; gap: 9px; }
.dashboard-guide-field { display: grid; min-width: 0; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) auto; align-items: start; gap: 9px; padding: 11px; border: 1px solid rgba(183, 196, 188, .12); border-radius: 6px; background: rgba(12, 17, 14, .48); }
.dashboard-guide-field > .icon-button { margin-top: 19px; }
.dashboard-guide-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.dashboard-guide-preview-wrap { position: sticky; top: 14px; display: grid; min-width: 0; gap: 9px; }
.dashboard-guide-preview-pings { display: flex; min-height: 0; flex-wrap: wrap; gap: 5px; }
.dashboard-guide-preview-pings:empty { display: none; }
.dashboard-guide-preview-pings span { padding: 4px 7px; border-radius: 4px; color: #d1d8ff; background: rgba(88, 101, 242, .25); font-size: 9px; }
.dashboard-guide-preview { min-width: 0; padding: 13px; border-left: 4px solid #62c884; border-radius: 5px; color: #dcddde; background: #232428; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.dashboard-guide-preview img, .dashboard-guide-preview-placeholder { display: block; width: 100%; max-height: 230px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.dashboard-guide-preview-placeholder { display: grid; place-items: center; padding: 12px; color: #93979c; background: #17181b; font-size: 10px; text-align: center; }
.dashboard-guide-preview h4 { margin: 12px 0 7px; color: #f2f3f5; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.dashboard-guide-preview > p { margin: 0 0 12px; color: #c4c6c9; font-size: 11px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.dashboard-guide-preview [data-guide-preview-fields] { display: grid; gap: 0; }
.dashboard-guide-preview [data-guide-preview-fields] > div { padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.dashboard-guide-preview [data-guide-preview-fields] strong { color: #eff0f2; font-size: 11px; }
.dashboard-guide-preview [data-guide-preview-fields] p { margin: 4px 0 0; color: #c4c6c9; font-size: 10px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.dashboard-guide-preview footer { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .1); color: #9ca1a7; font-size: 8px; letter-spacing: .08em; }

@media (max-width: 1050px) {
  .dashboard-guide-layout { grid-template-columns: minmax(0, 1fr); }
  .dashboard-guide-preview-wrap { position: static; }
}
@media (max-width: 650px) {
  .dashboard-guide-field { grid-template-columns: minmax(0, 1fr) auto; }
  .dashboard-guide-field > label:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .dashboard-guide-field > .icon-button { grid-column: 2; grid-row: 1; }
  .dashboard-guide-image-fields { grid-template-columns: minmax(0, 1fr); }
  .dashboard-guide-image-fields > label:first-child, .dashboard-guide-image-fields > small { grid-column: auto; }
  .dashboard-guide-actions > button { flex: 1 1 100%; }
}
