/* Soporte interior: terminal contemporáneo. El acceso conserva su identidad. */
body.signed-in {
  --accent: #fff;
  --ink: #f5f5f5;
  --muted: #b1b1b1;
  --line: #ffffff36;
  --panel: #00000070;
  color-scheme: dark;
  color: var(--ink);
  background: #101010;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  isolation: isolate;
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
}
.signed-in::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(#ffffff07 1px, transparent 1px), linear-gradient(90deg, #ffffff07 1px, transparent 1px), radial-gradient(ellipse at 75% 0, #ffffff09, transparent 65%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
}
.signed-in ::selection { background: #fff; color: #000; }
.signed-in > header {
  padding: 18px max(28px, calc((100vw - 1444px) / 2));
  min-height: 77px;
  background: #00000050;
  border-bottom: 1px solid #fff;
  gap: 24px;
}
.signed-in .brand img { filter: brightness(0) invert(1); width: 126px; }
.signed-in .brand span { color: #fff; border-color: #fff; letter-spacing: .1em; }
.signed-in #identity { gap: 20px; font-size: 11px; }
.signed-in #identity span { color: var(--muted); }
.signed-in #identity button { color: #fff; padding: 8px 14px; min-height: 38px; }
.signed-in main { max-width: 1500px; margin: 32px auto; }
.signed-in .workspace-heading { position: relative; padding-left: 21px; border-left: 2px solid #fff; }
.signed-in .eyebrow { font-size: 10px; font-weight: 500; letter-spacing: .14em; color: var(--muted); }
.signed-in .workspace-heading .eyebrow { margin: 0 0 10px; text-transform: uppercase; }
.signed-in h1 { font-size: clamp(27px, 3.1vw, 43px); line-height: 1.15; letter-spacing: -.07em; font-weight: 500; margin: 0; }
.signed-in .terminal-cursor { display: inline-block; width: .48em; height: .85em; margin-left: .3em; vertical-align: -.07em; background: #fff; }
.signed-in .intro { max-width: none; margin: 12px 0 0; font-size: 12px; color: var(--muted); line-height: 1.65; }
.signed-in button, .signed-in .primary {
  font-family: inherit;
  font-size: 12px;
  border: 1px solid #fff;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  min-height: 42px;
  padding: 10px 15px;
  box-shadow: none;
  transition: background-color .15s, border-color .15s;
}
.signed-in button:hover:not(:disabled), .signed-in .primary:hover:not(:disabled) { background: #ffffff12; }
.signed-in .primary { font-weight: 600; background: #ffffff0d; }
.signed-in :is(button, a, input, select, textarea, summary, .drop-zone):focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.signed-in button:disabled { cursor: progress; opacity: .45; }
.signed-in label { font-size: 11px; font-weight: 400; color: var(--muted); gap: 8px; }
.signed-in input, .signed-in select, .signed-in textarea {
  font: inherit;
  font-size: 12px;
  color: #fff;
  background: #00000060;
  border: 1px solid #ffffff66;
  border-radius: 4px;
  min-height: 42px;
  padding: 11px 12px;
  line-height: 1.6;
  min-width: 0;
  max-width: 100%;
}
.signed-in select { padding-right: 25px; }
.signed-in option { background: #141414; color: #fff; }
.signed-in textarea { min-height: 92px; }
.signed-in input::placeholder, .signed-in textarea::placeholder { color: #929292; opacity: 1; }
.signed-in input:hover, .signed-in select:hover, .signed-in textarea:hover { border-color: #fff; }
.signed-in input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.signed-in .system-cards { gap: 16px; margin: 26px 0 30px; }
.signed-in .system-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: #00000040;
  border: 1px solid #fff;
  border-radius: 12px;
}
.signed-in .system-card:hover { background: #ffffff0c; }
.signed-in .system-mark, .signed-in .system-mark.bsuite {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #fff;
  border-radius: 3px;
  color: #fff;
  background: transparent;
  font-weight: 400;
  font-size: 23px;
}
.signed-in .system-card strong { font-size: 16px; font-weight: 500; letter-spacing: .06em; }
.signed-in .system-card small { color: var(--muted); font-size: 11px; margin-top: 4px; }
.signed-in .system-card > span:last-child { font-size: 21px; }
.signed-in .list-heading { margin-bottom: 16px; }
.signed-in .list-heading .eyebrow { margin: 0 0 5px; }
.signed-in .list-heading h2 { font-size: 19px; letter-spacing: -.04em; font-weight: 500; margin: 0; }
.signed-in #refresh { border-color: #ffffff66; }
.signed-in .filters { padding: 16px; border: 1px solid var(--line); background: var(--panel); border-radius: 10px; gap: 12px; }
.signed-in .filters label { min-width: 105px; }
.signed-in .filters .search { min-width: 215px; }
.signed-in .filters input, .signed-in .filters select { background: transparent; }
.signed-in #result-count { display: flex; align-items: center; gap: 9px; margin: 17px 0; letter-spacing: .04em; }
.signed-in #result-count::before { content: ""; width: 6px; height: 6px; border: 1px solid #fff; }
.signed-in .meta { color: var(--muted); font-size: 11px; line-height: 1.7; }
.signed-in .columns { grid-template-columns: minmax(280px, 350px) minmax(0, 1fr); gap: 20px; }
.signed-in .columns > section { min-width: 0; }
.signed-in #tickets { gap: 10px; }
.signed-in .ticket {
  padding: 18px 20px;
  border: 1px solid #ffffff50;
  border-radius: 8px;
  background: #00000050;
  position: relative;
}
.signed-in .ticket.selected { padding: 18px 20px; border: 1px solid #fff; background: #ffffff0c; box-shadow: inset 3px 0 #fff; }
.signed-in .ticket > .meta:first-child { color: #e5e5e5; font-size: 10px; letter-spacing: .05em; }
.signed-in .ticket strong { margin: 10px 0 13px; font-size: 13px; line-height: 1.6; font-weight: 500; }
.signed-in .ticket p { margin: 10px 0 0; font-size: 10px; }
.signed-in .badge { padding: 4px 7px; color: #e4e4e4; background: transparent; border: 1px solid #ffffff55; border-radius: 3px; font-size: 10px; font-weight: 400; letter-spacing: 0; }
.signed-in .badge[class*="state-"]::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border: 1px solid currentColor; }
.signed-in .state-reviewing::before { background: linear-gradient(90deg, #fff 50%, transparent 50%); }
.signed-in .state-in_progress::before { background: #fff; }
.signed-in .state-resolved { border-style: dashed; }
.signed-in .state-closed { color: #aaa; border-style: dotted; }
.signed-in .priority-high { border-color: #fff; }
.signed-in .priority-urgent { background: #fff; color: #000; border-color: #fff; font-weight: 600; }
.signed-in .card, .signed-in .empty { background: var(--panel); border: 1px solid #fff; border-radius: 12px; padding: 28px; }
.signed-in .empty { min-height: 210px; display: grid; place-content: center; text-align: center; line-height: 1.9; font-size: 12px; color: var(--muted); border-style: dashed; }
.signed-in .card { scroll-margin-top: 18px; }
.signed-in .card > .eyebrow { margin: -5px 0 23px; padding: 0 0 16px; border-bottom: 1px solid var(--line); color: #fff; }
.signed-in .card > h2 { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -.04em; line-height: 1.45; margin: 0 0 17px; }
.signed-in .card > .meta { margin: 9px 0; }
.signed-in .card .body { font-size: 13px; line-height: 1.9; color: #e5e5e5; margin: 24px 0; }
.signed-in .section { border-color: var(--line); margin-top: 26px; padding-top: 22px; }
.signed-in .section h3 { margin: 0 0 19px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.signed-in .section h3::before { content: "/ "; color: #aaa; }
.signed-in summary { font-size: 11px; color: #ddd; line-height: 1.7; }
.signed-in summary:hover { color: #fff; }
.signed-in .comment { border: 1px solid var(--line); border-radius: 6px; background: #00000038; padding: 16px 18px; }
.signed-in .comment.own { background: #ffffff07; border-left: 2px solid #fff; }
.signed-in .comment small { color: var(--muted); font-size: 10px; }
.signed-in .comment p { font-size: 12px; line-height: 1.85; color: #e5e5e5; margin: 10px 0 0; }
.signed-in .comment .capture-grid:empty { display: none; }
.signed-in .conversation form { margin-top: 24px; }
.signed-in .conversation form > .primary { justify-self: start; }
.signed-in .drop-zone { background: #ffffff03; border: 1px dashed #ffffff70; border-radius: 6px; padding: 18px; }
.signed-in .drop-zone.dragging { outline: 2px solid #fff; outline-offset: 3px; background: #ffffff12; }
.signed-in .drop-zone strong { font-size: 12px; font-weight: 500; }
.signed-in .drop-zone input { padding: 6px; margin-top: 1px; border-color: var(--line); font-size: 11px; }
.signed-in input::file-selector-button { font: inherit; border: 1px solid #fff; border-radius: 3px; padding: 7px 10px; background: transparent; color: #fff; margin-right: 12px; cursor: pointer; }
.signed-in .capture-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.signed-in .capture-tile, .signed-in .saved-capture { border: 1px solid #ffffff55; border-radius: 5px; background: #00000040; padding: 8px; color: #e5e5e5; }
.signed-in .saved-capture:hover { border-color: #fff; }
.signed-in .capture-grid img { background: #161616; border-radius: 2px; }
.signed-in .capture-grid small { color: var(--muted); }
.signed-in .remove-capture { min-height: 32px; padding: 5px; font-size: 10px; border-color: var(--line); }
.signed-in .context-form { border: 1px solid var(--line); border-radius: 6px; background: #ffffff03; }
.signed-in .context-details dt { color: var(--muted); }
.signed-in .context-details dd { color: #e5e5e5; }
.signed-in .context-details dl { line-height: 1.8; }
.signed-in .manage { background: #ffffff04; border: 1px solid #ffffff80; border-radius: 8px; padding: 22px; }
.signed-in .manage h3 { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.signed-in .manage .primary { min-width: 180px; }
.signed-in .event { color: var(--muted); border-color: var(--line); font-size: 10px; line-height: 1.8; padding: 12px 0; }
.signed-in .event:first-of-type { margin-top: 14px; }
.signed-in .form-message { color: #fff; font-size: 12px; }
.signed-in .form-message:empty { display: none; }
.signed-in #error, .signed-in #create-error:not(:empty) { color: #fff; background: #252525; border: 1px solid #fff; border-left: 4px solid #fff; padding: 12px 16px; border-radius: 4px; font-size: 12px; }
.signed-in #create-error:empty { display: none; }
.signed-in dialog { color: #fff; background: #111111f7; border: 1px solid #fff; border-radius: 14px; padding: 28px; width: min(690px, calc(100% - 32px)); }
.signed-in dialog::backdrop { background: #000000b3; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.signed-in .dialog-heading { border-bottom: 1px solid var(--line); padding-bottom: 20px; gap: 14px; }
.signed-in .dialog-heading h2 { font-size: 20px; font-weight: 500; letter-spacing: -.05em; }
.signed-in #create-submit { justify-self: stretch; }
.signed-in .privacy { font-size: 11px; color: var(--muted); }
.signed-in footer { color: var(--muted); margin: 38px auto 0; padding-top: 22px; padding-bottom: 22px; font-size: 10px; border-top: 1px solid var(--line); letter-spacing: .04em; }
.signed-in .preview-label { color: var(--muted); }
@media (min-width: 1100px) {
  .signed-in .columns > section:first-child { position: sticky; top: 20px; max-height: calc(100svh - 40px); overflow: auto; scrollbar-width: thin; scrollbar-color: #666 transparent; padding-right: 3px; padding-bottom: 3px; }
}
@media (max-width: 1000px) {
  .signed-in .filters .search { flex-basis: 100%; }
}
@media (max-width: 900px) {
  .signed-in .columns { grid-template-columns: 1fr; }
  .signed-in #tickets { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .signed-in .system-card { padding: 17px; }
}
@media (max-width: 600px) {
  .signed-in > header { padding: 17px 18px; gap: 12px; }
  .signed-in .brand { gap: 10px; }
  .signed-in .brand img { width: 92px; }
  .signed-in .brand span { padding-left: 10px; font-size: 10px; }
  .signed-in #identity { gap: 8px; max-width: 142px; justify-content: flex-end; font-size: 9px; }
  .signed-in #identity button { font-size: 10px; min-height: 32px; padding: 5px 12px; }
  .signed-in main { margin: 27px auto; padding: 0 18px; }
  .signed-in .workspace-heading { padding-left: 14px; }
  .signed-in .workspace-heading .eyebrow { font-size: 9px; }
  .signed-in h1 { font-size: 27px; }
  .signed-in .intro { font-size: 11px; }
  .signed-in .system-cards { grid-template-columns: 1fr; gap: 10px; margin: 23px 0 28px; }
  .signed-in .system-card { padding: 15px; }
  .signed-in .list-heading > div { flex-basis: 100%; margin-bottom: 5px; }
  .signed-in .list-heading button { flex: 1; }
  .signed-in .filters { padding: 14px; gap: 14px 10px; }
  .signed-in .filters label { flex-basis: calc(50% - 10px); min-width: 0; }
  .signed-in .filters .search { min-width: 100%; }
  .signed-in .card { padding: 22px 19px; }
  .signed-in .card > h2 { font-size: 21px; }
  .signed-in .manage { padding: 17px; }
  .signed-in .form-row { grid-template-columns: 1fr; }
  .signed-in .context-details dl { grid-template-columns: 1fr; }
  .signed-in .context-details dd { margin-bottom: 10px; }
  .signed-in dialog { padding: 21px; }
  .signed-in .dialog-heading h2 { font-size: 18px; }
  .signed-in .capture-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .signed-in input, .signed-in textarea, .signed-in select { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .signed-in * { transition: none !important; scroll-behavior: auto !important; }
}
