/* Shared console theme controls and color tokens. Loaded after portal.css. */
:root {
  --warm: var(--accent);
  --warm-soft: var(--accent-soft);
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: 2px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--accent);
  font-size: 17px;
  line-height: 1;
}

.theme-toggle:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e7eef7;
  --muted: #9aacc0;
  --muted-2: #71849a;
  --line: #2b4056;
  --line-soft: #223449;
  --surface: #162536;
  --surface-soft: #1c3046;
  --accent: #69a9ff;
  --accent-soft: #1c3d68;
  --teal: #4bc9ae;
  --teal-soft: #173f3d;
  --warm: #69a9ff;
  --warm-soft: #1c3d68;
  --danger: #ff8c96;
  --danger-soft: #48252c;
  --shadow: 0 10px 28px rgba(0, 0, 0, .22);
  background: #0d1826;
  color: var(--ink);
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  background: #0d1826;
  color: var(--ink);
}

html[data-theme="dark"] .app-topbar {
  background: rgba(13, 24, 38, .94);
}

html[data-theme="dark"] .brand-mark {
  background: #e7eef7;
  color: #0d1826;
}

html[data-theme="dark"] .nav-link {
  color: #a4b4c7;
}

html[data-theme="dark"] .nav-icon {
  color: #8297ad;
}

.topbar-user {
  color: var(--muted);
}

html[data-theme="dark"] .avatar {
  border-color: #375574;
}

html[data-theme="dark"] .logout-button {
  background: var(--surface);
  color: var(--muted);
}

html[data-theme="dark"] .logout-button:hover {
  border-color: #52769b;
  color: var(--ink);
}

html[data-theme="dark"] .entry-card.entry-primary,
html[data-theme="dark"] .roadmap-row:hover {
  background: #1b3149;
}

html[data-theme="dark"] .entry-card.is-reserved {
  background: #192c41;
}

html[data-theme="dark"] .status-overview {
  background: #152738;
}

html[data-theme="dark"] .status-ring {
  background: #173f3d;
  border-color: #2b6a61;
}

html[data-theme="dark"] .activity {
  color: #a4b4c7;
}

html[data-theme="dark"] .secondary {
  border-color: #3d5872;
  color: #b6c7d9;
}

html[data-theme="dark"] .secondary:hover {
  border-color: #6793bf;
}

html[data-theme="dark"] .primary:hover {
  background: #4d91e9;
  border-color: #4d91e9;
}

html[data-theme="dark"] .danger:hover {
  background: #5a2b34;
}

html[data-theme="dark"] .editor input,
html[data-theme="dark"] .editor textarea,
html[data-theme="dark"] .wiki-title-field input,
html[data-theme="dark"] .wiki-textarea,
html[data-theme="dark"] .auth-panel input {
  border-color: #3d5872;
  background: #102033;
  color: var(--ink);
}

html[data-theme="dark"] .editor input:focus,
html[data-theme="dark"] .editor textarea:focus,
html[data-theme="dark"] .wiki-title-field input:focus,
html[data-theme="dark"] .wiki-textarea:focus,
html[data-theme="dark"] .auth-panel input:focus {
  border-color: var(--accent);
}

html[data-theme="dark"] .wiki-preview {
  background: #102033;
  color: #b8c9da;
}

html[data-theme="dark"] .wiki-title-field input:disabled {
  background: var(--surface-soft);
}

html[data-theme="dark"] .meter {
  background: #2a3d51;
}

html[data-theme="dark"] .readonly-banner span {
  background: #29445e;
}

html[data-theme="dark"] .auth-page {
  background: #0d1826;
}

html[data-theme="dark"] .placeholder-icon {
  background: var(--accent-soft);
  color: var(--accent);
}

html[data-theme="dark"] dialog::backdrop {
  background: rgba(2, 8, 16, .68);
}

.ticket-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ticket-filters select,
.editor select {
  min-height: 36px;
  padding: 7px 30px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
}

.editor select {
  width: 100%;
  border-color: #cbd8e6;
}

.ticket-row {
  align-items: start;
  border-color: var(--line);
  background: var(--surface);
  transition: background-color .16s ease, border-color .16s ease;
}

.ticket-row .row-title {
  flex-wrap: wrap;
}

.ticket-row .row-index {
  min-width: 76px;
  font-size: 12px;
  font-weight: 700;
}

.ticket-kind,
.ticket-status-label {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.ticket-description {
  max-width: 900px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.ticket-row.status-done {
  border-color: #98d9c9;
  background: #eaf8f3;
}

.ticket-row.status-done .ticket-status-label {
  border-color: #98d9c9;
  background: #d7f2e9;
  color: #08785e;
}

.ticket-row.status-pending {
  border-color: #e5cb75;
  background: #fff9e5;
}

.ticket-row.status-pending .ticket-status-label {
  border-color: #e5cb75;
  background: #fff0bd;
  color: #8b6610;
}

.ticket-row.status-rejected {
  border-color: #e2a0a5;
  background: #fff0f1;
}

.ticket-row.status-rejected .ticket-status-label {
  border-color: #e2a0a5;
  background: #ffe0e3;
  color: #a53742;
}

.ticket-row.status-active .ticket-status-label {
  border-color: #b9d3f5;
  background: var(--accent-soft);
  color: var(--accent);
}

.ticket-code {
  margin: 14px 0 8px;
  color: var(--accent);
  font: 12px Consolas, monospace;
}

.editor-actions .danger[hidden] {
  display: none;
}

html[data-theme="dark"] .ticket-filters select,
html[data-theme="dark"] .editor select {
  border-color: #3d5872;
  background: #102033;
  color: var(--ink);
}

html[data-theme="dark"] .ticket-row.status-done {
  border-color: #32695d;
  background: #17382f;
}

html[data-theme="dark"] .ticket-row.status-done .ticket-status-label {
  border-color: #32695d;
  background: #204e41;
  color: #78ddbf;
}

html[data-theme="dark"] .ticket-row.status-pending {
  border-color: #746235;
  background: #37311d;
}

html[data-theme="dark"] .ticket-row.status-pending .ticket-status-label {
  border-color: #746235;
  background: #50451f;
  color: #ecd477;
}

html[data-theme="dark"] .ticket-row.status-rejected {
  border-color: #75444a;
  background: #3c252b;
}

html[data-theme="dark"] .ticket-row.status-rejected .ticket-status-label {
  border-color: #75444a;
  background: #572d34;
  color: #ff9fa7;
}

/* Keep ticket states legible after the neutral wiki-style surface overrides. */
.ticket-row.status-done {
  border-color: #8bcdb6;
  background: #effaf5;
}

.ticket-row.status-done .ticket-status-label {
  border-color: #8bcdb6;
  background: #d9f2e6;
  color: #08785e;
}

.ticket-row.status-pending {
  border-color: #d7c458;
  background: #fffbea;
}

.ticket-row.status-pending .ticket-status-label {
  border-color: #d7c458;
  background: #fff2b8;
  color: #75600a;
}

.ticket-row.status-rejected {
  border-color: #d99aa1;
  background: #fff2f3;
}

.ticket-row.status-rejected .ticket-status-label {
  border-color: #d99aa1;
  background: #ffe1e4;
  color: #a53742;
}

.ticket-row.status-active .ticket-status-label {
  border-color: #9fc3ef;
  background: #eaf3ff;
  color: #2269b8;
}

html[data-theme="dark"] .ticket-row.status-done {
  border-color: #3d806d;
  background: #122d26;
}

html[data-theme="dark"] .ticket-row.status-done .ticket-status-label {
  border-color: #3d806d;
  background: #215343;
  color: #8ee3c8;
}

html[data-theme="dark"] .ticket-row.status-pending {
  border-color: #817331;
  background: #2b2815;
}

html[data-theme="dark"] .ticket-row.status-pending .ticket-status-label {
  border-color: #817331;
  background: #4c431b;
  color: #f0dc72;
}

html[data-theme="dark"] .ticket-row.status-rejected {
  border-color: #824650;
  background: #301c21;
}

html[data-theme="dark"] .ticket-row.status-rejected .ticket-status-label {
  border-color: #824650;
  background: #5e2b33;
  color: #ff9aa3;
}

html[data-theme="dark"] .ticket-row.status-active .ticket-status-label {
  border-color: #315a85;
  background: #172c47;
  color: #75b5ff;
}

/* Final console pass: these rules intentionally live at EOF so legacy
   dashboard rules cannot reintroduce blue controls or first-paint motion. */
body,
.app-shell,
.roadmap-row {
  animation: none !important;
  transition: none !important;
}

body {
  background: var(--surface) !important;
  color: var(--ink) !important;
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  background: #000 !important;
  color: #f5f5f7 !important;
}

.auth-page {
  background: var(--surface) !important;
  color: var(--ink) !important;
}

html[data-theme="dark"] .auth-page {
  background: #000 !important;
  color: #f5f5f7 !important;
}

.ticket-filters select,
.activity-toolbar select {
  appearance: none !important;
  min-height: 38px;
  padding: 8px 38px 8px 12px;
  border: 1px solid var(--line) !important;
  border-radius: 8px;
  background-color: var(--surface) !important;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%) !important;
  background-position: calc(100% - 17px) 16px, calc(100% - 12px) 16px !important;
  background-repeat: no-repeat !important;
  background-size: 5px 5px, 5px 5px !important;
  box-shadow: none !important;
  color: var(--ink) !important;
  outline: 0 !important;
}

.ticket-filters select:hover,
.activity-toolbar select:hover,
.ticket-filters select:focus,
.ticket-filters select:focus-visible,
.activity-toolbar select:focus,
.activity-toolbar select:focus-visible {
  border-color: var(--line) !important;
  background-color: var(--surface-soft) !important;
  box-shadow: 0 0 0 3px rgba(95, 99, 104, .13) !important;
  outline: 0 !important;
}

.ticket-filters select option,
.activity-toolbar select option {
  background: var(--surface) !important;
  color: var(--ink) !important;
}

html[data-theme="dark"] .ticket-filters select,
html[data-theme="dark"] .activity-toolbar select {
  border-color: rgba(255, 255, 255, .16) !important;
  background-color: #1c1c1e !important;
  color: #f5f5f7 !important;
}

html[data-theme="dark"] .ticket-filters select:hover,
html[data-theme="dark"] .activity-toolbar select:hover,
html[data-theme="dark"] .ticket-filters select:focus,
html[data-theme="dark"] .ticket-filters select:focus-visible,
html[data-theme="dark"] .activity-toolbar select:focus,
html[data-theme="dark"] .activity-toolbar select:focus-visible {
  border-color: rgba(255, 255, 255, .25) !important;
  background-color: #242426 !important;
}

html[data-theme="dark"] .ticket-filters select option,
html[data-theme="dark"] .activity-toolbar select option {
  background: #1c1c1e !important;
  color: #f5f5f7 !important;
}

.editor input:not([type="file"]),
.editor textarea,
.wiki-title-field input,
.wiki-textarea,
.auth-panel input,
.ticket-search input,
.activity-toolbar input {
  outline: 0 !important;
}

.editor input:not([type="file"]):focus,
.editor textarea:focus,
.wiki-title-field input:focus,
.wiki-textarea:focus,
.auth-panel input:focus,
.ticket-search input:focus,
.activity-toolbar input:focus {
  border-color: var(--line) !important;
  box-shadow: 0 0 0 3px rgba(95, 99, 104, .13) !important;
  outline: 0 !important;
}

html[data-theme="dark"] .editor input:not([type="file"]),
html[data-theme="dark"] .editor textarea,
html[data-theme="dark"] .wiki-title-field input,
html[data-theme="dark"] .wiki-textarea,
html[data-theme="dark"] .auth-panel input,
html[data-theme="dark"] .ticket-search input,
html[data-theme="dark"] .activity-toolbar input {
  border-color: var(--line) !important;
  background: #1c1c1e !important;
  color: #f5f5f7 !important;
}

html[data-theme="dark"] .editor input:not([type="file"]):focus,
html[data-theme="dark"] .editor textarea:focus,
html[data-theme="dark"] .wiki-title-field input:focus,
html[data-theme="dark"] .wiki-textarea:focus,
html[data-theme="dark"] .auth-panel input:focus,
html[data-theme="dark"] .ticket-search input:focus,
html[data-theme="dark"] .activity-toolbar input:focus {
  border-color: rgba(255, 255, 255, .25) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .08) !important;
}

html[data-theme="dark"] .game-switcher-trigger,
html[data-theme="dark"] .game-switcher-menu {
  border-color: rgba(255, 255, 255, .18);
  background: #1c1c1e;
  color: #f5f5f7;
}

html[data-theme="dark"] .game-switcher-trigger:hover,
html[data-theme="dark"] .game-switcher-option:hover,
html[data-theme="dark"] .game-switcher-option:focus-visible {
  background: #242426;
}

html[data-theme="dark"] .game-switcher-option.is-selected {
  background: #303033;
}

.wiki-item small {
  color: var(--muted-2);
}

body[data-role="member"] [data-nav="activity"] {
  display: none !important;
}

/* Ticket list toolbar: keep search and both filters on one desktop row. */
.roadmap-block .section-title {
  align-items: center;
}

.roadmap-block .ticket-filters {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.roadmap-block .ticket-search {
  flex: 1 1 260px;
  min-width: 0;
  max-width: 360px;
}

.roadmap-block .filter-select {
  flex: 0 0 132px;
  min-width: 132px;
}

@media (max-width: 900px) and (min-width: 761px) {
  .roadmap-block .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .roadmap-block .ticket-filters {
    width: 100%;
    justify-content: stretch;
  }

  .roadmap-block .ticket-search {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .roadmap-block .section-title {
    align-items: flex-start;
  }

  .roadmap-block .ticket-filters {
    width: 100%;
    flex-wrap: wrap;
    justify-content: stretch;
  }

  .roadmap-block .ticket-search {
    flex: 1 1 100%;
    max-width: none;
  }

  .roadmap-block .filter-select {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }
}

/* Release overrides: these rules intentionally remain last so earlier
   dashboard-era blue controls cannot leak back into the console. */
.auth-page {
  background: var(--surface);
  color: var(--ink);
}

html[data-theme="dark"] .auth-page {
  background: #000;
  color: #f5f5f7;
}

.ticket-filters select,
.activity-toolbar select {
  appearance: none;
  border-color: var(--line) !important;
  background-color: var(--surface) !important;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%) !important;
  background-position: calc(100% - 17px) 16px, calc(100% - 12px) 16px !important;
  background-repeat: no-repeat !important;
  background-size: 5px 5px, 5px 5px !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}

.ticket-filters select:hover,
.activity-toolbar select:hover {
  border-color: var(--line) !important;
  background-color: var(--surface-soft) !important;
}

.ticket-filters select:focus,
.ticket-filters select:focus-visible,
.activity-toolbar select:focus,
.activity-toolbar select:focus-visible {
  border-color: var(--line) !important;
  background-color: var(--surface) !important;
  box-shadow: 0 0 0 3px rgba(95, 99, 104, .13) !important;
  outline: 0;
}

html[data-theme="dark"] .ticket-filters select,
html[data-theme="dark"] .activity-toolbar select {
  border-color: rgba(255, 255, 255, .16) !important;
  background-color: #1c1c1e !important;
  color: #f5f5f7 !important;
}

html[data-theme="dark"] .ticket-filters select:hover,
html[data-theme="dark"] .activity-toolbar select:hover {
  border-color: rgba(255, 255, 255, .25) !important;
  background-color: #242426 !important;
}

html[data-theme="dark"] .ticket-filters select option,
html[data-theme="dark"] .activity-toolbar select option {
  background: #1c1c1e;
  color: #f5f5f7;
}

body,
.app-shell,
.roadmap-row {
  animation: none !important;
  transition: none !important;
}

/* Ticket search, activity controls, and attachments share the quiet Wiki
   surface. Keep the controls stable when the viewport becomes narrow. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ticket-search {
  display: block;
  min-width: min(260px, 100%);
  margin: 0;
}

.ticket-search input,
.activity-toolbar input {
  width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  outline: 0;
  box-shadow: none;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.ticket-search input::placeholder,
.activity-toolbar input::placeholder {
  color: var(--muted-2);
}

.ticket-search input:hover,
.activity-toolbar input:hover {
  border-color: rgba(0, 0, 0, .22);
  background: var(--surface-soft);
}

.ticket-search input:focus-visible,
.activity-toolbar input:focus-visible {
  border-color: var(--line);
  box-shadow: 0 0 0 3px rgba(95, 99, 104, .13);
}

.activity-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -2px 0 16px;
}

.activity-toolbar input {
  flex: 1 1 260px;
  min-width: 180px;
}

.activity-toolbar select {
  min-width: 150px;
  min-height: 38px;
  padding: 8px 38px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  appearance: none;
  background-color: var(--surface);
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 16px, calc(100% - 12px) 16px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  outline: 0;
  box-shadow: none;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.activity-toolbar select:hover {
  border-color: rgba(0, 0, 0, .22);
  background-color: var(--surface-soft);
}

.activity-toolbar select:focus-visible {
  border-color: var(--line);
  box-shadow: 0 0 0 3px rgba(95, 99, 104, .13);
}

.activity-toolbar select option {
  background: var(--surface);
  color: var(--ink);
}

.activity-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 11px;
}

.activity-footer > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.activity-footer .secondary {
  min-height: 31px;
  padding: 6px 10px;
  font-size: 11px;
}

.activity-footer .secondary:disabled {
  cursor: default;
  opacity: .45;
}

.activity-footer #activityPage {
  min-width: 76px;
  text-align: center;
  white-space: nowrap;
}

.attachment-field {
  display: grid;
  gap: 8px;
  margin-top: 17px;
}

.field-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.attachment-dropzone {
  display: grid !important;
  place-items: center;
  gap: 4px !important;
  min-height: 112px;
  margin: 0 !important;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--muted);
  text-align: center;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.attachment-dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.attachment-dropzone strong {
  color: var(--ink);
  font-size: 13px;
}

.attachment-dropzone span {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 400;
}

.attachment-dropzone:hover,
.attachment-dropzone.is-dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}

.attachment-list {
  display: grid;
  gap: 7px;
}

.attachment-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface);
}

.attachment-item img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface-soft);
}

.attachment-item > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.attachment-item strong,
.attachment-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-item strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.attachment-item small {
  color: var(--muted-2);
  font-size: 10px;
}

.attachment-remove {
  min-height: 29px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}

.attachment-remove:hover {
  border-color: var(--danger);
  color: var(--danger);
}

.attachment-empty {
  margin: 0;
  padding: 6px 2px;
  color: var(--muted-2);
  font-size: 11px;
}

/* Text fields retain a neutral, keyboard-visible focus state instead of a
   saturated blue halo. Select controls keep their own restrained arrow/focus. */
.editor input:not([type="file"]):focus,
.editor textarea:focus,
.wiki-title-field input:focus,
.wiki-textarea:focus,
.auth-panel input:focus,
.ticket-search input:focus,
.activity-toolbar input:focus {
  border-color: var(--line) !important;
  box-shadow: 0 0 0 3px rgba(95, 99, 104, .13) !important;
  outline: 0;
}

.editor select:focus,
.ticket-filters select:focus,
.activity-toolbar select:focus {
  border-color: var(--line) !important;
  box-shadow: 0 0 0 3px rgba(95, 99, 104, .13) !important;
  outline: 0;
}

.login-theme-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.login-theme-toggle:hover {
  border-color: var(--accent);
  background: var(--surface-soft);
}

html[data-theme="dark"] .login-theme-toggle,
html[data-theme="dark"] .activity-toolbar select,
html[data-theme="dark"] .ticket-search input,
html[data-theme="dark"] .activity-toolbar input {
  background-color: #1c1c1e;
  color: #f5f5f7;
}

html[data-theme="dark"] .activity-toolbar select option {
  background: #1c1c1e;
  color: #f5f5f7;
}

html[data-theme="dark"] .ticket-search input:hover,
html[data-theme="dark"] .activity-toolbar input:hover,
html[data-theme="dark"] .activity-toolbar select:hover {
  border-color: rgba(255, 255, 255, .25);
  background-color: #242426;
}

html[data-theme="dark"] .attachment-dropzone {
  background: #1c1c1e;
}

html[data-theme="dark"] .attachment-item {
  background: #1c1c1e;
  border-color: var(--line);
}

@media (max-width: 760px) {
  .ticket-search {
    width: 100%;
  }

  .activity-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .activity-toolbar input,
  .activity-toolbar select {
    width: 100%;
  }

  .activity-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .attachment-item {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .attachment-item img {
    width: 38px;
    height: 38px;
  }

  .login-theme-toggle {
    right: 16px;
    bottom: 16px;
  }
}

/* Avoid a blank frame when the protected console changes pages or refreshes. */
body {
  transition: none !important;
}

.app-shell,
.roadmap-row {
  animation: none !important;
}

/* Ticket filters use the same quiet control treatment as the Wiki surface.
   Keep blue for interaction feedback only; the closed controls stay neutral. */
.ticket-filters select {
  appearance: none;
  min-width: 132px;
  min-height: 38px;
  padding: 8px 38px 8px 12px;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 8px;
  background-color: var(--surface);
  background-image: none;
  background-repeat: no-repeat;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  outline: 0;
  box-shadow: none;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.filter-select {
  position: relative;
  display: block;
}

.filter-select::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  content: "";
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.filter-select select {
  width: 100%;
}

.ticket-filters select:hover {
  border-color: rgba(0, 0, 0, .26);
  background-color: var(--surface-soft);
}

.ticket-filters select:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.ticket-filters select option {
  background: var(--surface);
  color: var(--ink);
}

html[data-theme="dark"] .ticket-filters select {
  border-color: rgba(255, 255, 255, .16);
  background-color: #1c1c1e;
}

html[data-theme="dark"] .ticket-filters select:hover {
  border-color: rgba(255, 255, 255, .28);
  background-color: #242426;
}

html[data-theme="dark"] .ticket-filters select option {
  background: #1c1c1e;
  color: #f5f5f7;
}

@media (max-width: 760px) {
  .ticket-filters .filter-select {
    flex: 1;
    min-width: 0;
  }
}

/* External Wiki planning surface. It documents the release boundary without
   exposing the internal Wiki or turning the reserved route into a public site. */
.plan-status {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.external-plan-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 16px;
}

.external-plan-hero h2 {
  margin: 5px 0 8px;
  font-size: 23px;
}

.external-plan-hero p:not(.section-kicker) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.external-plan-hero code,
.external-plan-footer code {
  color: var(--ink);
  font: 12px Consolas, monospace;
}

.external-plan-meta {
  display: grid;
  flex: none;
  min-width: 170px;
  gap: 10px;
  padding: 13px 15px;
  border-left: 1px solid var(--line);
}

.external-plan-meta span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
}

.external-plan-meta b {
  color: var(--ink);
  font-weight: 700;
}

.external-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.plan-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.plan-list > div {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.plan-list b {
  color: var(--ink);
  font-size: 13px;
}

.plan-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.release-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.release-flow > div {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 115px;
  padding: 16px 15px 4px 0;
  border-right: 1px solid var(--line-soft);
}

.release-flow > div:not(:first-child) {
  padding-left: 15px;
}

.release-flow > div:last-child {
  border-right: 0;
}

.release-flow i {
  color: var(--accent);
  font: 11px Consolas, monospace;
  font-style: normal;
}

.release-flow strong {
  color: var(--ink);
  font-size: 14px;
}

.release-flow span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.external-plan-scope {
  margin-top: 16px;
}

.scope-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.scope-columns h3 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 14px;
}

.scope-columns ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.external-plan-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
}

.external-plan-footer .muted {
  margin: 0;
  font-size: 12px;
}

@media (max-width: 760px) {
  .external-plan-hero,
  .external-plan-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .external-plan-meta {
    width: 100%;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 13px 0 0;
  }

  .external-plan-grid,
  .scope-columns {
    grid-template-columns: 1fr;
  }

  .release-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-flow > div:nth-child(2) {
    border-right: 0;
  }

  .release-flow > div:nth-child(3),
  .release-flow > div:nth-child(4) {
    border-top: 1px solid var(--line-soft);
  }
}

/* Shared runtime state colors: online/success, pending/waiting, error/stopped. */
.status-dot {
  background: #20a568;
  box-shadow: 0 0 0 4px rgba(32, 165, 104, .14);
}

.service-card strong,
.status-summary-head strong,
.server-state h2 {
  color: #168653;
}

.status-dot.status-online {
  background: #20a568;
  box-shadow: 0 0 0 4px rgba(32, 165, 104, .14);
}

.status-dot.status-pending {
  background: #c5a400;
  box-shadow: 0 0 0 4px rgba(197, 164, 0, .15);
}

.status-dot.status-error {
  background: #d64550;
  box-shadow: 0 0 0 4px rgba(214, 69, 80, .14);
}

.service-card.state-online strong,
.status-summary-head.state-online strong,
.server-state.state-online h2 {
  color: #168653;
}

.service-card.state-pending strong,
.status-summary-head.state-pending strong,
.server-state.state-pending h2 {
  color: #9a7e00;
}

.service-card.state-error strong,
.status-summary-head.state-error strong,
.server-state.state-error h2 {
  color: #c3313d;
}

html[data-theme="dark"] .service-card.state-online strong,
html[data-theme="dark"] .status-summary-head.state-online strong,
html[data-theme="dark"] .server-state.state-online h2 {
  color: #5ed69b;
}

html[data-theme="dark"] .service-card.state-pending strong,
html[data-theme="dark"] .status-summary-head.state-pending strong,
html[data-theme="dark"] .server-state.state-pending h2 {
  color: #ead45d;
}

html[data-theme="dark"] .service-card.state-error strong,
html[data-theme="dark"] .status-summary-head.state-error strong,
html[data-theme="dark"] .server-state.state-error h2 {
  color: #ff858b;
}

html[data-theme="dark"] .service-card strong,
html[data-theme="dark"] .status-summary-head strong,
html[data-theme="dark"] .server-state h2 {
  color: #5ed69b;
}

@media (max-width: 760px) {
  .ticket-filters {
    width: 100%;
  }
  .ticket-filters select {
    flex: 1;
    min-width: 0;
  }
  .ticket-row .row-actions {
    justify-content: flex-start;
  }
}

/* Small interaction cues keep the control plane responsive without adding visual noise. */
body {
  transition: background-color .18s ease, color .18s ease;
}

.app-shell {
  animation: console-enter .26s ease both;
}

.primary,
.secondary,
.danger,
.theme-toggle,
.logout-button,
.icon-button {
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.primary:active,
.secondary:active,
.danger:active,
.theme-toggle:active,
.logout-button:active {
  transform: translateY(1px);
}

.roadmap-row {
  animation: ticket-enter .24s ease both;
  animation-delay: var(--row-delay, 0ms);
}

.toast-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.toast {
  min-width: 180px;
  max-width: min(360px, calc(100vw - 44px));
  padding: 11px 14px;
  border: 1px solid #bfe5dc;
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(16, 38, 66, .16);
  color: var(--teal);
  font-size: 12px;
  animation: toast-in .18s ease both;
}

.toast.is-error {
  border-color: #e2a0a5;
  color: var(--danger);
}

.toast.is-leaving {
  animation: toast-out .18s ease both;
}

@keyframes console-enter {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ticket-enter {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(4px); }
}

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

/* The protected console follows the internal Wiki visual language: neutral
   surfaces, near-black night mode, and blue reserved for interaction focus. */
:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --line: rgba(0, 0, 0, .10);
  --line-soft: rgba(0, 0, 0, .055);
  --surface: #ffffff;
  --surface-soft: #f5f5f7;
  --accent: #0071e3;
  --accent-soft: rgba(0, 113, 227, .08);
  --teal: #5f6368;
  --teal-soft: #f5f5f7;
  --warm: #0071e3;
  --warm-soft: rgba(0, 113, 227, .08);
  --danger: #b42318;
  --danger-soft: #fff1f0;
  --shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 10px 28px rgba(0, 0, 0, .06);
}

html,
body {
  background: var(--surface);
  color: var(--ink);
}

.sidebar,
.app-topbar,
.metric-card,
.section-block,
.entry-card,
.editor,
.auth-panel {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.sidebar {
  box-shadow: none;
}

.app-topbar {
  background: rgba(255, 255, 255, .84);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}

.brand-mark {
  background: #1d1d1f;
  color: #fff;
  border-radius: 10px;
}

.sidebar-brand b,
.sidebar-brand small,
.nav-icon,
.service-card > span,
.service-card > small {
  color: var(--muted);
}

.service-card {
  background: var(--surface-soft);
  border-color: var(--line);
}

.service-card strong,
.status-summary-head strong,
.server-state h2 {
  color: var(--ink);
}

.status-dot {
  background: #5f6368;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .08);
}

.status-ring {
  background: var(--surface-soft);
  border-color: var(--line);
}

.nav-link {
  border-radius: 10px;
  color: var(--muted);
}

.nav-link:hover,
.nav-link.active {
  background: var(--surface-soft);
  color: var(--ink);
}

.nav-link.active {
  box-shadow: inset 3px 0 0 var(--accent);
}

.entry-card,
.section-block,
.metric-card,
.editor,
.auth-panel {
  border-radius: 14px;
}

.entry-card:hover {
  border-color: var(--line-strong, rgba(0, 0, 0, .18));
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06), 0 18px 44px rgba(0, 0, 0, .10);
  transform: translateY(-2px);
}

.entry-card.entry-primary,
.entry-card.is-reserved,
.status-overview {
  background: var(--surface-soft);
}

.entry-icon,
.metric-symbol,
.placeholder-icon {
  background: var(--surface-soft);
  color: var(--ink);
}

.activity {
  color: var(--muted);
}

.roadmap-row,
.ticket-row {
  border-radius: 12px;
  background: var(--surface-soft);
}

.ticket-row.status-done,
.ticket-row.status-pending,
.ticket-row.status-rejected {
  border-color: var(--line);
  background: var(--surface-soft);
}

.ticket-row.status-done .ticket-status-label,
.ticket-row.status-pending .ticket-status-label,
.ticket-row.status-rejected .ticket-status-label,
.ticket-row.status-active .ticket-status-label {
  border-color: var(--line);
  background: var(--surface-2, #ececf0);
  color: var(--muted);
}

.editor input,
.editor textarea,
.editor select,
.wiki-title-field input,
.wiki-textarea,
.auth-panel input {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--ink);
}

html[data-theme="dark"] {
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --muted-2: #8e8e93;
  --line: rgba(255, 255, 255, .13);
  --line-soft: rgba(255, 255, 255, .075);
  --surface: #161617;
  --surface-soft: #1c1c1e;
  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, .14);
  --teal: #c7c7cc;
  --teal-soft: #2c2c2e;
  --warm: #0a84ff;
  --warm-soft: rgba(10, 132, 255, .14);
  --danger: #ff6961;
  --danger-soft: #3a1e1c;
  --shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 12px 30px rgba(0, 0, 0, .45);
  background: #000;
  color: var(--ink);
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  background: #000;
  color: var(--ink);
}

html[data-theme="dark"] .sidebar,
html[data-theme="dark"] .metric-card,
html[data-theme="dark"] .section-block,
html[data-theme="dark"] .entry-card,
html[data-theme="dark"] .editor,
html[data-theme="dark"] .auth-panel {
  background: #161617;
  border-color: var(--line);
}

html[data-theme="dark"] .app-topbar {
  background: rgba(0, 0, 0, .82);
  border-color: var(--line);
}

html[data-theme="dark"] .brand-mark {
  background: #1c1c1e;
  color: #f5f5f7;
  border: 1px solid var(--line);
}

html[data-theme="dark"] .service-card,
html[data-theme="dark"] .entry-card.entry-primary,
html[data-theme="dark"] .entry-card.is-reserved,
html[data-theme="dark"] .status-overview,
html[data-theme="dark"] .roadmap-row,
html[data-theme="dark"] .ticket-row,
html[data-theme="dark"] .editor input,
html[data-theme="dark"] .editor textarea,
html[data-theme="dark"] .editor select,
html[data-theme="dark"] .wiki-title-field input,
html[data-theme="dark"] .wiki-textarea,
html[data-theme="dark"] .auth-panel input {
  background: #1c1c1e;
  border-color: var(--line);
  color: var(--ink);
}

html[data-theme="dark"] .status-ring {
  background: #2c2c2e;
  border-color: var(--line);
}

html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link.active,
html[data-theme="dark"] .entry-icon,
html[data-theme="dark"] .metric-symbol,
html[data-theme="dark"] .placeholder-icon {
  background: #2c2c2e;
  color: var(--ink);
}

html[data-theme="dark"] .ticket-row.status-done,
html[data-theme="dark"] .ticket-row.status-pending,
html[data-theme="dark"] .ticket-row.status-rejected,
html[data-theme="dark"] .ticket-row.status-active .ticket-status-label,
html[data-theme="dark"] .ticket-row.status-done .ticket-status-label,
html[data-theme="dark"] .ticket-row.status-pending .ticket-status-label,
html[data-theme="dark"] .ticket-row.status-rejected .ticket-status-label {
  background: #1c1c1e;
  border-color: var(--line);
  color: var(--muted);
}

html[data-theme="dark"] .wiki-preview {
  background: #000;
  border-color: var(--line);
  color: var(--muted);
}

html[data-theme="dark"] .secondary,
html[data-theme="dark"] .logout-button,
html[data-theme="dark"] .theme-toggle {
  background: #1c1c1e;
  border-color: var(--line);
  color: var(--muted);
}

html[data-theme="dark"] dialog::backdrop {
  background: rgba(0, 0, 0, .72);
}

/* Final state accents: keep these after the neutral dark-surface rules. */
/* Keep every workspace entry on the same surface in both color modes. */
.entry-card,
.entry-card.entry-primary,
.entry-card.is-reserved {
  background: var(--surface);
  border-color: var(--line);
}

.entry-card:hover,
.entry-card.entry-primary:hover,
.entry-card.is-reserved:hover {
  background: var(--surface-soft);
}

html[data-theme="dark"] .entry-card,
html[data-theme="dark"] .entry-card.entry-primary,
html[data-theme="dark"] .entry-card.is-reserved {
  background: #161617;
  border-color: var(--line);
}

html[data-theme="dark"] .entry-card:hover,
html[data-theme="dark"] .entry-card.entry-primary:hover,
html[data-theme="dark"] .entry-card.is-reserved:hover {
  background: #1c1c1e;
}

.ticket-row.status-done {
  border-color: #8bcdb6;
  background: #effaf5;
}

.ticket-row.status-done .ticket-status-label {
  border-color: #8bcdb6;
  background: #d9f2e6;
  color: #08785e;
}

.ticket-row.status-pending {
  border-color: #d7c458;
  background: #fffbea;
}

.ticket-row.status-pending .ticket-status-label {
  border-color: #d7c458;
  background: #fff2b8;
  color: #75600a;
}

.ticket-row.status-rejected {
  border-color: #d99aa1;
  background: #fff2f3;
}

.ticket-row.status-rejected .ticket-status-label {
  border-color: #d99aa1;
  background: #ffe1e4;
  color: #a53742;
}

.ticket-row.status-active .ticket-status-label {
  border-color: #9fc3ef;
  background: #eaf3ff;
  color: #2269b8;
}

html[data-theme="dark"] .ticket-row.status-done {
  border-color: #3d806d;
  background: #122d26;
}

html[data-theme="dark"] .ticket-row.status-done .ticket-status-label {
  border-color: #3d806d;
  background: #215343;
  color: #8ee3c8;
}

html[data-theme="dark"] .ticket-row.status-pending {
  border-color: #817331;
  background: #2b2815;
}

html[data-theme="dark"] .ticket-row.status-pending .ticket-status-label {
  border-color: #817331;
  background: #4c431b;
  color: #f0dc72;
}

html[data-theme="dark"] .ticket-row.status-rejected {
  border-color: #824650;
  background: #301c21;
}

html[data-theme="dark"] .ticket-row.status-rejected .ticket-status-label {
  border-color: #824650;
  background: #5e2b33;
  color: #ff9aa3;
}

html[data-theme="dark"] .ticket-row.status-active .ticket-status-label {
  border-color: #315a85;
  background: #172c47;
  color: #75b5ff;
}

/* Absolute final console overrides. Keep this block at EOF. */
body,
.app-shell,
.roadmap-row {
  animation: none !important;
  transition: none !important;
}

body {
  background: var(--surface) !important;
  color: var(--ink) !important;
}

html[data-theme="dark"],
html[data-theme="dark"] body,
html[data-theme="dark"] .auth-page {
  background: #000 !important;
  color: #f5f5f7 !important;
}

.auth-page {
  background: var(--surface) !important;
  color: var(--ink) !important;
}

.ticket-filters select,
.activity-toolbar select {
  appearance: none !important;
  min-height: 38px;
  padding: 8px 38px 8px 12px;
  border: 1px solid var(--line) !important;
  border-radius: 8px;
  background-color: var(--surface) !important;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%) !important;
  background-position: calc(100% - 17px) 16px, calc(100% - 12px) 16px !important;
  background-repeat: no-repeat !important;
  background-size: 5px 5px, 5px 5px !important;
  box-shadow: none !important;
  color: var(--ink) !important;
  outline: 0 !important;
}

.ticket-filters select:hover,
.activity-toolbar select:hover,
.ticket-filters select:focus,
.ticket-filters select:focus-visible,
.activity-toolbar select:focus,
.activity-toolbar select:focus-visible {
  border-color: var(--line) !important;
  background-color: var(--surface-soft) !important;
  box-shadow: 0 0 0 3px rgba(95, 99, 104, .13) !important;
  outline: 0 !important;
}

.ticket-filters select option,
.activity-toolbar select option {
  background: var(--surface) !important;
  color: var(--ink) !important;
}

html[data-theme="dark"] .ticket-filters select,
html[data-theme="dark"] .activity-toolbar select {
  border-color: rgba(255, 255, 255, .16) !important;
  background-color: #1c1c1e !important;
  color: #f5f5f7 !important;
}

html[data-theme="dark"] .ticket-filters select:hover,
html[data-theme="dark"] .activity-toolbar select:hover,
html[data-theme="dark"] .ticket-filters select:focus,
html[data-theme="dark"] .ticket-filters select:focus-visible,
html[data-theme="dark"] .activity-toolbar select:focus,
html[data-theme="dark"] .activity-toolbar select:focus-visible {
  border-color: rgba(255, 255, 255, .25) !important;
  background-color: #242426 !important;
}

html[data-theme="dark"] .ticket-filters select option,
html[data-theme="dark"] .activity-toolbar select option {
  background: #1c1c1e !important;
  color: #f5f5f7 !important;
}

.editor input:not([type="file"]):focus,
.editor textarea:focus,
.wiki-title-field input:focus,
.wiki-textarea:focus,
.auth-panel input:focus,
.ticket-search input:focus,
.activity-toolbar input:focus {
  border-color: var(--line) !important;
  box-shadow: 0 0 0 3px rgba(95, 99, 104, .13) !important;
  outline: 0 !important;
}

html[data-theme="dark"] .editor input:not([type="file"]):focus,
html[data-theme="dark"] .editor textarea:focus,
html[data-theme="dark"] .wiki-title-field input:focus,
html[data-theme="dark"] .wiki-textarea:focus,
html[data-theme="dark"] .auth-panel input:focus,
html[data-theme="dark"] .ticket-search input:focus,
html[data-theme="dark"] .activity-toolbar input:focus {
  border-color: rgba(255, 255, 255, .25) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .08) !important;
}
