/* assets/css/app.css — CSS editable con reglas separadas. */

:root {
  --primary: #1767E8;
  --accent: #02BFA7;
  --sidebar: #101C31;
  --canvas: #F3F6FB;
  --ink: #19243B;
  --muted: #718096;
  --stroke: #E4EAF2;
  --white: #fff;
  --red: #CE454C;
  --amber: #A66A18;
  --radius: 17px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  font-family: 'Segoe UI',Arial,sans-serif;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}
button,input,select,textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  flex-shrink: 0;
}
h1,h2,h3,p {
  margin-top: 0;
}
h1,h2,h3 {
  font-family: 'Segoe UI',Arial,sans-serif;
  letter-spacing: -.037em;
}
small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 256px;
  min-width: 256px;
  background: var(--sidebar);
  color: #D3DDEE;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 20;
  overflow: auto;
}
.sidebar-top {
  padding: 28px 22px 32px;
  border-bottom: 1px solid #ffffff12;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 100%;
  font-size: 22px;
  color: #fff;
  font-family: Manrope,sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  background: linear-gradient(135deg,var(--primary),var(--accent));
  color: #fff;
  border-radius: 13px;
  font-weight: 800;
  font-size: 23px;
}
.brand-title {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-logo {
  max-width: 190px;
  max-height: 46px;
  object-fit: contain;
  object-position: left;
}
.brand-caption {
  display: block;
  padding-left: 52px;
  margin-top: 0;
  color: #8192AF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.sidebar-group-title {
  font-size: 10px;
  color: #7186A6;
  letter-spacing: .15em;
  font-weight: 800;
  padding: 30px 25px 10px;
}
.sidebar-nav {
  display: grid;
  gap: 5px;
  padding: 0 11px;
}
.nav-link {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 14px;
  color: #9CACBF;
  font-weight: 600;
  border-radius: 10px;
  position: relative;
  transition: .2s;
}
.nav-link:hover {
  background: #ffffff0e;
  color: #fff;
}
.nav-link.active {
  background: #ffffff16;
  color: #fff;
}
.nav-link.active:before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 4px;
  background: var(--accent);
}
.nav-link.active .nav-icon {
  color: #6EEEDE;
}
.nav-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}
.nav-dot {
  margin-left: auto;
  background: var(--accent);
  height: 6px;
  width: 6px;
  border-radius: 50%;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 22px;
}
.system-indicator {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #ffffff0b;
  border: 1px solid #ffffff12;
  color: #B7C9DB;
  padding: 11px;
  border-radius: 10px;
  font-size: 12px;
}
.pulse-dot,.live-mini i,.live-pill i {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #32D8A4;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #26d5a21c;
}
.sidebar-footnote {
  color: #667891;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: .12em;
  margin-top: 17px;
}
.main-area {
  min-width: 0;
  flex: 1;
}
.topbar {
  height: 77px;
  border-bottom: 1px solid var(--stroke);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 37px;
}
.topbar-left,.topbar-right {
  display: flex;
  align-items: center;
  gap: 17px;
}
.breadcrumb {
  font-size: 13px;
  color: #8F9AAF;
}
.breadcrumb span {
  margin: 0 10px;
  color: #CCD4E0;
}
.breadcrumb strong {
  color: #34415C;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #E2EDFF;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
}
.avatar.small {
  width: 39px;
  height: 39px;
}
.profile-name {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.profile-name b {
  font-size: 12px;
}
.profile-name small {
  color: #8C99AA;
  margin-top: 4px;
}
.live-pill {
  border-radius: 100px;
  background: #EAF9F3;
  color: #198963;
  padding: 7px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
}
.icon-button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  display: inline-grid;
  place-items: center;
  color: #758299;
}
.icon-button:hover {
  background: #EDF2F9;
  color: var(--ink);
}
.menu-toggle {
  display: none;
}
.content {
  padding: 32px 37px 54px;
  max-width: 1680px;
  margin: auto;
}
.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 25px;
}
.page-intro h1 {
  font-size: 27px;
  letter-spacing: -.045em;
  margin: 4px 0 0;
  color: #17243B;
  font-weight: 800;
}
.eyebrow {
  letter-spacing: .16em;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
}
.today-date {
  font-size: 12px;
  color: #8896AA;
  font-weight: 600;
}
.panel {
  background: #fff;
  border: 1px solid var(--stroke);
  box-shadow: 0 5px 30px rgba(22,48,80,.028);
  border-radius: var(--radius);
  padding: 22px;
}
.panel h3 {
  font-size: 16px;
  margin: 0;
  font-weight: 800;
}
.panel p {
  margin: 3px 0 0;
  color: #8B98A8;
  font-size: 12px;
}
.page-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
}
.subheading {
  color: #758297;
  max-width: 800px;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  padding: 11px 17px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 12px;
  min-height: 42px;
  white-space: nowrap;
  transition: .18s;
}
.btn svg {
  width: 17px;
  height: 17px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 17px rgba(23,103,232,.18);
}
.btn-primary:hover {
  filter: brightness(.93);
}
.btn-outline {
  background: #fff;
  border-color: #DDE5EE;
  color: #506078;
}
.btn-outline:hover {
  background: #F5F7FB;
  border-color: #BAC8D8;
}
.btn-outline-light {
  color: #fff;
  border-color: #ffffff55;
  background: #ffffff12;
}
.btn-white {
  background: #fff;
  color: #284E8B;
}
.btn-small {
  padding: 6px 11px;
  min-height: 32px;
  font-size: 11px;
  border-radius: 8px;
}
.btn-lg {
  padding: 14px 22px;
  min-height: 50px;
}
.btn-block {
  width: 100%;
}
.pill {
  font-weight: 700;
  font-size: 10px;
  padding: 5px 9px;
  border-radius: 100px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pill svg {
  height: 13px;
  width: 13px;
}
.pill-blue {
  background: #E9F1FF;
  color: #2D69C9;
}
.pill-green {
  background: #E6F8F1;
  color: #16825E;
}
.pill-amber {
  background: #FFF1D8;
  color: #A46711;
}
.pill-muted {
  background: #F0F3F7;
  color: #8C98AA;
}
.pill-violet {
  background: #F0EBFF;
  color: #7551B7;
}
.alert {
  padding: 13px 17px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 20px;
}
.alert-success {
  color: #177251;
  background: #E6F8EF;
  border: 1px solid #BBE9D1;
}
.alert-error {
  color: #B83444;
  background: #FFF0F0;
  border: 1px solid #F3C9CE;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 10px;
  padding: 12px 13px;
  font-size: 12px;
  line-height: 1.5;
}
.notice svg {
  height: 18px;
  width: 18px;
  margin-top: 1px;
}
.notice.subtle,.hint-box {
  background: #F2F6FC;
  color: #61718B;
  border: 1px solid #E3EAF3;
}
.notice.warning {
  background: #FFF6E5;
  border: 1px solid #F4E2B5;
  color: #946216;
}
.hint-box {
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 12px;
  line-height: 1.5;
}
.text-link {
  font-size: 12px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  font-weight: 800;
}
.text-link svg {
  width: 14px;
  height: 14px;
}
.hero-banner {
  background: linear-gradient(108deg,var(--sidebar),var(--primary));
  border-radius: 19px;
  color: #fff;
  padding: 35px 38px;
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(220px,.8fr);
  position: relative;
  overflow: hidden;
  min-height: 243px;
  margin-bottom: 23px;
}
.hero-banner:before {
  content: "";
  position: absolute;
  right: -90px;
  top: -170px;
  width: 480px;
  height: 480px;
  border: 1px solid #ffffff1b;
  border-radius: 50%;
  box-shadow: 0 0 0 62px #ffffff07,0 0 0 130px #ffffff05;
}
.hero-banner>div {
  position: relative;
}
.hero-kicker {
  font-size: 10px;
  letter-spacing: .13em;
  color: #9ED5FF;
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
}
.hero-banner h2 {
  font-size: 31px;
  margin: 11px 0 8px;
  letter-spacing: -.05em;
}
.hero-banner p {
  max-width: 470px;
  color: #C8D9F2;
  font-size: 13px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-screen {
  width: 244px;
  border: 1px solid #ffffff32;
  padding: 14px;
  background: #ffffff14;
  box-shadow: 0 20px 40px #0015394d;
  transform: rotate(-6deg);
  border-radius: 14px;
}
.hero-screen-top {
  display: flex;
  gap: 5px;
}
.hero-screen-top i {
  width: 6px;
  height: 6px;
  background: #ffffff59;
  border-radius: 100%;
}
.hero-faux-chart {
  display: flex;
  align-items: end;
  gap: 11px;
  height: 80px;
  margin: 23px 3px 15px;
  border-bottom: 1px solid #ffffff32;
  padding: 0 7px;
}
.hero-faux-chart div {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: #7BD9F8;
  height: 60%;
}
.hero-faux-chart div:nth-child(2) {
  height: 45%;
  background: #A4C9FC;
}
.hero-faux-chart div:nth-child(3) {
  height: 84%;
  background: #19D7BA;
}
.hero-faux-chart div:nth-child(4) {
  height: 66%;
}
.hero-faux-chart div:nth-child(5) {
  height: 94%;
  background: #19D7BA;
}
.hero-screen-foot {
  display: flex;
  gap: 8px;
}
.hero-screen-foot span {
  width: 45%;
  height: 7px;
  background: #ffffff33;
  border-radius: 10px;
}
.hero-screen-foot span:last-child {
  width: 26%;
}
.floating-ok {
  position: absolute;
  bottom: 25px;
  right: 3px;
  border-radius: 7px;
  background: #fff;
  color: #237A65;
  font-size: 10px;
  font-weight: 800;
  padding: 11px;
  box-shadow: 0 6px 24px #0002;
  transform: rotate(3deg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 15px;
  padding: 18px 19px;
}
.stat-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 8px;
  color: #7A899D;
  font-size: 12px;
  font-weight: 700;
}
.stat-ico {
  width: 37px;
  height: 37px;
  border-radius: 11px;
  display: grid;
  place-items: center;
}
.stat-ico.blue {
  color: #226BE7;
  background: #EAF1FF;
}
.stat-ico.purple {
  color: #8864D5;
  background: #F1EFFF;
}
.stat-ico.amber {
  color: #D08A25;
  background: #FFF5E4;
}
.stat-ico.green {
  color: #159B7C;
  background: #E7F9F2;
}
.stat-number {
  font-family: 'Segoe UI';
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -.06em;
  line-height: 1.2;
  margin-top: 8px;
}
.stat-number small {
  font-size: 14px;
  color: #9CA8B9;
  letter-spacing: 0;
}
.stat-foot {
  font-size: 11px;
  color: #9AA6B5;
  margin-top: 6px;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.panel-header h3 {
  font-size: 16px;
}
.panel-header p {
  margin-top: 3px;
}
.screen-list,.activity-list {
  display: grid;
}
.screen-line,.activity-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid #EFF2F7;
}
.screen-line:first-child,.activity-item:first-child {
  padding-top: 0;
}
.screen-line:last-child,.activity-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.screen-glyph {
  display: grid;
  place-items: center;
  min-width: 39px;
  height: 39px;
  background: #EAF0FA;
  border-radius: 10px;
  color: #4176C5;
}
.line-main {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.line-main b,.activity-item b {
  font-size: 12px;
}
.line-main small {
  color: #93A0B3;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.activity-mark {
  background: #F2F5FC;
  color: #8C9BB2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}
.activity-item>div {
  flex: 1;
}
.activity-item p {
  font-size: 11px;
}
.activity-item time {
  font-size: 10px;
  color: #A6B1C2;
  white-space: nowrap;
}
.empty {
  padding: 37px 12px;
  color: #91A0B0;
  text-align: center;
}
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 17px;
}
.table-scroll {
  width: 100%;
  overflow: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 760px;
}
.data-table th {
  padding: 13px 11px;
  background: #F7F9FC;
  color: #8996A8;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .07em;
}
.data-table th:first-child {
  border-radius: 9px 0 0 9px;
}
.data-table th:last-child {
  border-radius: 0 9px 9px 0;
}
.data-table td {
  padding: 17px 11px;
  border-bottom: 1px solid #F0F2F6;
  font-size: 12px;
  vertical-align: middle;
}
.data-table tbody tr:hover {
  background: #FBFCFF;
}
.data-table tbody tr:last-child td {
  border-bottom: 0;
}
.data-table td b {
  font-weight: 700;
}
.td-sub {
  display: block;
  color: #97A4B5;
  margin-top: 4px;
}
.doc-cell,.user-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}
.doc-cell>div,.user-cell>div:last-child {
  display: grid;
  gap: 3px;
}
.doc-cell small,.user-cell small {
  color: #9AA7B7;
}
.pdf-icon {
  background: #FFF0F0;
  color: #DD5454;
  border-radius: 8px;
  padding: 13px 8px;
  font-size: 10px;
  font-weight: 900;
}
.cell-actions {
  white-space: nowrap;
}
.inline-form {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 5px;
}
.segmented {
  display: flex;
  gap: 2px;
  background: #F2F5F9;
  padding: 4px;
  border-radius: 9px;
}
.segmented a {
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #8191A4;
  border-radius: 7px;
}
.segmented a.selected {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 8px #09244b17;
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid var(--stroke);
  border-radius: 9px;
  min-width: 250px;
  color: #97A4B5;
  background: #fff;
}
.search-wrap svg {
  height: 16px;
  width: 16px;
}
.search-wrap input {
  border: 0!important;
  outline: 0!important;
  padding: 0!important;
  width: 100%;
  min-width: 0;
  font-size: 12px!important;
}
.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(295px,.85fr);
  gap: 19px;
  align-items: start;
}
.compose-panel {
  padding: 27px;
}
.step-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}
.step-heading>span {
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: #E9F1FF;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
}
.step-heading h3 {
  font-size: 15px;
}
.step-heading p {
  font-size: 11px;
}
.step-separator {
  margin-top: 9px;
  padding-top: 22px;
  border-top: 1px solid #EEF2F7;
}
.stack-form {
  display: grid;
  gap: 17px;
}
.stack-form label,.settings-main label {
  display: grid;
  gap: 7px;
  color: #53647A;
  font-size: 12px;
  font-weight: 700;
}
.stack-form input,.stack-form select,.settings-main input:not([type="color"]),.settings-main select,.stack-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #DDE5EE;
  border-radius: 9px;
  color: #24344E;
  background: #fff;
  outline: none;
  transition: .15s;
  min-width: 0;
}
.stack-form input:focus,.stack-form select:focus,.settings-main input:focus,.settings-main select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--primary) 10%,transparent);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 15px;
}
.choose-actions {
  display: flex;
  justify-content: space-between;
  color: #77869B;
  font-size: 11px;
  font-weight: 700;
}
.screen-choice-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}
.screen-select-card {
  cursor: pointer;
  display: flex!important;
  align-items: center!important;
  justify-content: center;
  flex-direction: column;
  min-height: 133px;
  padding: 13px 8px;
  border: 1.5px solid #E3E9F1;
  border-radius: 12px;
  position: relative;
  gap: 5px!important;
  transition: .16s;
  text-align: center;
  background: #fff;
}
.screen-select-card:hover {
  border-color: #9DB9E8;
}
.screen-select-card:has(input:checked) {
  border-color: var(--primary);
  background: color-mix(in srgb,var(--primary) 5%,white);
  box-shadow: 0 0 0 1px var(--primary);
}
.screen-select-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.screen-checkbox {
  position: absolute;
  top: 11px;
  right: 11px;
  border: 1.5px solid #C9D4E4;
  width: 15px;
  height: 15px;
  border-radius: 5px;
}
.screen-select-card:has(input:checked) .screen-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}
.screen-select-card:has(input:checked) .screen-checkbox:after {
  content: "✓";
  color: #fff;
  position: absolute;
  inset: 0;
  text-align: center;
  font-size: 11px;
}
.screen-choice-icon {
  color: #668DB9;
  background: #F1F5FB;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}
.screen-select-card b {
  font-size: 12px;
  color: #2B3B55;
}
.screen-select-card small {
  font-size: 10px;
  color: #99A6B6;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.screen-mini-status {
  font-size: 9px;
  color: #718198;
}
.occupancy-panel {
  padding: 24px;
}
.live-mini {
  font-size: 9px;
  letter-spacing: .12em;
  color: #1A9F75;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
}
.live-screen-list {
  display: grid;
  gap: 10px;
}
.live-screen-row {
  padding: 13px;
  border: 1px solid #EDF1F6;
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.live-screen-row .screen-glyph {
  height: 35px;
  width: 35px;
  min-width: 35px;
}
.live-screen-row>div {
  flex: 1;
  display: grid;
  gap: 3px;
  min-width: 0;
}
.live-screen-row b {
  font-size: 12px;
}
.live-screen-row small {
  font-size: 10px;
  color: #909FB1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.live-screen-row .pill {
  font-size: 9px;
}
.occupancy-actions {
  display: flex;
  gap: 5px;
  margin-top: 7px;
  flex-wrap: wrap;
}
.occupancy-actions .btn {
  min-height: 27px;
  font-size: 10px;
  padding: 5px 9px;
}
.countdown {
  display: block;
  color: #B77A18;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.duration-buttons {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 7px;
}
.duration-buttons button {
  background: #F8FAFD;
  border: 1px solid #DFE6EF;
  padding: 11px 2px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  color: #6C7E99;
}
.duration-buttons button.selected {
  color: var(--primary);
  background: #EAF2FF;
  border-color: var(--primary);
}
.input-unit {
  display: flex;
  align-items: center;
  position: relative;
}
.input-unit span {
  position: absolute;
  right: 12px;
  font-size: 11px;
  color: #94A1B4;
}
.screens-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}
.device-card {
  min-width: 0;
}
.device-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.device-icon {
  background: #E9F1FF;
  color: var(--primary);
  width: 49px;
  height: 49px;
  border-radius: 13px;
  display: grid;
  place-items: center;
}
.device-card h3 {
  font-size: 16px;
  margin-top: 17px;
}
.device-card>p {
  color: #91A0B2;
  margin: 3px 0 13px;
}
.device-screen {
  border-radius: 10px;
  padding: 13px;
  background: #F4F7FB;
  display: grid;
  gap: 6px;
  min-height: 117px;
}
.device-screen-label {
  color: #93A0B2;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}
.device-screen strong {
  font-size: 12px;
}
.device-screen .pill {
  justify-self: start;
}
.device-metadata {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  margin-top: 13px;
  font-size: 11px;
}
.device-metadata span {
  color: #92A0B0;
}
.device-metadata strong {
  font-weight: 700;
  text-align: right;
}
.device-actions {
  display: flex;
  gap: 7px;
  border-top: 1px solid #EDF1F5;
  padding-top: 15px;
  margin-top: 15px;
}
.link-panel {
  margin-bottom: 22px;
  background: #F0F7FF;
  border-color: #BED7F6;
}
.link-panel h3 {
  margin: 6px 0;
}
.link-panel p {
  max-width: 900px;
}
.copy-row {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 13px;
}
.copy-row input {
  padding: 10px;
  border: 1px solid #CDDBEF;
  border-radius: 8px;
  min-width: 0;
  flex: 1;
  color: #566985;
}
.copy-row b {
  font-size: 12px;
  min-width: 90px;
}
.seed-links {
  display: grid;
  gap: 7px;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: #0C192D99;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 16px;
  overflow: auto;
}
.modal-overlay.open {
  display: grid;
}
.modal {
  background: white;
  width: min(560px,100%);
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 20px 80px #0003;
  max-height: 92vh;
  overflow: auto;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  margin-bottom: 22px;
}
.modal-header h2 {
  font-size: 21px;
  margin: 4px 0 0;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}
.user-cell .avatar {
  flex-shrink: 0;
}
.settings-layout {
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(300px,.85fr);
  gap: 20px;
  align-items: start;
}
.settings-main {
  display: grid;
  gap: 19px;
}
.settings-panel {
  padding: 26px;
  display: grid;
  gap: 20px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title p {
  margin: 2px 0 0;
}
.section-icon {
  display: grid;
  place-items: center;
  background: #EAF1FF;
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.upload-image-block {
  padding: 15px;
  border-radius: 11px;
  border: 1px dashed #CCD8E7;
}
.upload-image-block strong {
  font-size: 12px;
  color: #35465F;
}
.upload-image-block>span {
  font-size: 10px;
  color: #95A3B4;
}
.upload-preview {
  height: 87px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
  border-radius: 9px;
  background: #F6F8FC;
}
.upload-preview img {
  max-height: 70px;
  max-width: 90%;
  object-fit: contain;
}
.upload-preview.icon-preview img {
  max-width: 70px;
}
.preview-placeholder {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #A2B0C1;
}
.upload-image-block input {
  font-size: 11px!important;
  border: 0!important;
  padding: 0!important;
  background: transparent!important;
}
.colors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.color-control {
  border: 1px solid #E5EBF3;
  padding: 12px;
  border-radius: 10px;
  display: flex!important;
  align-items: center;
  flex-direction: row;
  gap: 11px!important;
}
.color-swatch {
  width: 43px;
  height: 43px;
  overflow: hidden;
  border-radius: 10px;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #CBD5E1;
  display: block;
}
.color-swatch input {
  border: 0;
  width: 65px;
  height: 65px;
  cursor: pointer;
  padding: 0;
  transform: translate(-10px,-10px);
}
.color-control>span:last-child {
  display: grid;
  gap: 0;
}
.color-control b {
  font-size: 12px;
  color: #3A4C66;
}
.color-control small {
  font-size: 10px;
  line-height: 1.3;
  color: #9BA7B7;
  font-weight: 400;
}
.color-control code {
  font-size: 10px;
  color: var(--primary);
  margin-top: 4px;
}
.preset-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8C98A9;
  font-size: 11px;
}
.preset {
  border: 1px solid #DBE4F0;
  background: #fff;
  border-radius: 9px;
  display: flex;
  gap: 2px;
  padding: 4px;
}
.preset i {
  height: 20px;
  width: 20px;
  border-radius: 5px;
}
.preview-sticky {
  position: sticky;
  top: 22px;
}
.mock-app {
  border: 1px solid #DFE6EE;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 35% 65%;
  margin-top: 22px;
  min-height: 235px;
}
.mock-side {
  background: var(--sidebar);
  padding: 14px 10px;
}
.mock-brand {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 10px;
  margin-bottom: 27px;
  overflow: hidden;
}
.mock-brand span {
  background: var(--primary);
  font-size: 11px;
  padding: 4px 7px;
  border-radius: 5px;
}
.mock-brand b {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.mock-menu-item {
  color: #8FA3BB;
  font-size: 8px;
  padding: 7px 5px;
}
.mock-menu-item.active {
  background: #ffffff19;
  color: #fff;
  border-radius: 5px;
}
.mock-content {
  background: var(--canvas);
  padding: 11px;
}
.mock-top {
  font-size: 9px;
  color: #495B74;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.mock-top i {
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 4px;
}
.mock-hero {
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(110deg,var(--sidebar),var(--primary));
  display: grid;
  gap: 5px;
  color: white;
}
.mock-hero span {
  font-size: 6px;
  letter-spacing: .08em;
  color: #DCEBFF;
}
.mock-hero strong {
  font-size: 12px;
}
.mock-pill {
  font-size: 7px;
  background: #ffffff25;
  padding: 4px;
  border-radius: 4px;
  justify-self: start;
}
.mock-two {
  display: flex;
  gap: 9px;
  margin: 10px 0;
}
.mock-two div {
  background: #fff;
  padding: 8px;
  flex: 1;
  display: grid;
  border-radius: 6px;
}
.mock-two b {
  font-size: 14px;
}
.mock-two span {
  font-size: 7px;
  color: #95A1AF;
}
.mock-line {
  width: 100%;
  background: #fff;
  height: 10px;
  border-radius: 4px;
  margin: 6px 0;
}
.mock-line.short {
  width: 65%;
}
.preview-caption {
  font-size: 11px!important;
  margin-top: 15px!important;
}
.settings-submit {
  display: flex;
  justify-content: flex-end;
}
.table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  color: #91A0B0;
  font-size: 11px;
}
.pagination {
  display: flex;
  gap: 15px;
}
.pagination a {
  color: var(--primary);
  font-weight: 700;
}
.log-detail {
  color: #8A98AC;
  max-width: 270px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.badge-hero {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #4776BB;
  background: #E9F1FE;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
}
.badge-hero svg {
  width: 18px;
}
.toast-root {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  display: grid;
  gap: 9px;
}
.toast {
  background: #152239;
  color: white;
  border-radius: 12px;
  box-shadow: 0 12px 40px #07132355;
  padding: 15px 20px;
  max-width: 420px;
  min-width: 250px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.error {
  background: #BC4350;
}
.toast.success:before {
  content: '✓';
  font-size: 18px;
  color: #83E6BF;
}
.mobile-backdrop {
  display: none;
}
.auth-page {
  background: #fff;
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-story {
  background: linear-gradient(140deg,var(--sidebar),var(--primary));
  color: #fff;
  padding: 42px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-story:after {
  content: "";
  width: 620px;
  height: 620px;
  border: 1px solid #ffffff15;
  border-radius: 50%;
  position: absolute;
  right: -270px;
  bottom: -260px;
  box-shadow: 0 0 0 80px #ffffff08,0 0 0 165px #ffffff06;
  pointer-events: none;
}
.auth-story-top {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Segoe UI';
  font-size: 22px;
  font-weight: 800;
}
.auth-symbol {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #ffffff22;
  border: 1px solid #ffffff33;
  border-radius: 13px;
}
.auth-story-center {
  max-width: 570px;
  position: relative;
  z-index: 1;
}
.auth-overline {
  font-size: 11px;
  letter-spacing: .2em;
  color: #9CCCFF;
  font-weight: 800;
  margin-bottom: 18px;
}
.auth-story-center h1 {
  font-size: clamp(38px,4vw,58px);
  line-height: 1.13;
  letter-spacing: -.05em;
  margin: 0 0 24px;
}
.auth-story-center em {
  color: #80E6D6;
  font-style: normal;
}
.auth-story-center p {
  color: #B6CDE9;
  font-size: 15px;
  line-height: 1.75;
  max-width: 490px;
}
.auth-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 27px;
  font-size: 11px;
  font-weight: 700;
  color: #CEE2FF;
}
.auth-story-foot {
  font-size: 10px;
  letter-spacing: .2em;
  color: #86AEDC;
}
.auth-form-side {
  display: grid;
  place-items: center;
  padding: 32px;
}
.auth-card {
  width: min(400px,100%);
}
.mini-brand {
  display: grid;
  place-items: center;
  background: #E9F2FF;
  color: var(--primary);
  border-radius: 15px;
  width: 61px;
  height: 61px;
  font-size: 29px;
  font-weight: 900;
  margin-bottom: 34px;
}
.mini-brand img {
  max-width: 45px;
  max-height: 45px;
  object-fit: contain;
}
.auth-card h2 {
  font-size: 31px;
  margin: 9px 0 5px;
}
.auth-card>p {
  color: #8795A8;
  font-size: 13px;
  margin-bottom: 28px;
}
.auth-disclaimer {
  margin-top: 26px;
  color: #A1ABBA;
  text-align: center;
  font-size: 11px;
}
.install-page {
  background: #F4F7FC;
}
.install-wrap {
  max-width: 800px;
  margin: 30px auto;
  padding: 15px;
}
.install-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}
.install-brand b {
  display: block;
  letter-spacing: -.025em;
}
.install-brand small {
  display: block;
  color: #98A7B7;
}
.install-card {
  padding: 34px;
}
.install-card h1 {
  font-size: 30px;
  margin: 8px 0;
}
.install-card p {
  color: #8491A5;
}
.install-card h3 {
  font-size: 15px;
  border-top: 1px solid var(--stroke);
  padding-top: 19px;
  margin: 3px 0;
}
.install-footer {
  text-align: center;
  color: #A0ACB9;
  font-size: 11px;
  padding: 23px 0;
}
@media (max-width:1260px) {
  .stats-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .screens-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .content {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .screen-choice-grid {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width:1040px) {
  .sidebar {
    position: fixed;
    left: -270px;
    transition: left .25s;
  }
  .app-shell.nav-open .sidebar {
    left: 0;
  }
  .mobile-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: #07142c90;
    z-index: 19;
  }
  .app-shell.nav-open~.mobile-backdrop {
    display: block;
  }
  .menu-toggle {
    display: grid;
  }
  .workflow-grid,.settings-layout {
    grid-template-columns: 1fr;
  }
  .preview-sticky {
    position: static;
  }
  .screens-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .split-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width:720px) {
  .topbar {
    height: 65px;
    padding: 0 15px;
  }
  .live-pill,.profile-name,.today-date,.logout {
    display: none;
  }
  .content {
    padding: 21px 15px 40px;
  }
  .page-intro h1 {
    font-size: 23px;
  }
  .page-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-actions>.btn {
    align-self: flex-start;
  }
  .hero-banner {
    grid-template-columns: 1fr;
    padding: 27px 24px;
  }
  .hero-graphic {
    display: none;
  }
  .hero-banner h2 {
    font-size: 27px;
  }
  .stats-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-head {
    font-size: 10px;
  }
  .stat-number {
    font-size: 26px;
  }
  .panel {
    padding: 18px;
  }
  .workflow-grid {
    gap: 13px;
  }
  .screen-choice-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .screens-grid {
    grid-template-columns: 1fr;
  }
  .form-grid,.colors-grid,.identity-grid {
    grid-template-columns: 1fr;
  }
  .table-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .search-wrap {
    min-width: 0;
  }
  .modal {
    padding: 19px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-story {
    min-height: 250px;
    padding: 25px;
  }
  .auth-story-center h1 {
    font-size: 30px;
  }
  .auth-story-center p,.auth-story-foot,.auth-features {
    display: none;
  }
  .auth-form-side {
    padding: 35px 25px;
  }
  .auth-card h2 {
    font-size: 25px;
  }
  .install-card {
    padding: 18px;
  }
  .copy-row {
    flex-wrap: wrap;
  }
  .copy-row input {
    flex-basis: 100%;
  }
  .live-screen-row {
    flex-wrap: wrap;
  }
  .panel-header h3 {
    font-size: 14px;
  }
}
.auth-logo {
  max-height: 57px;
  max-width: 260px;
  object-fit: contain;
  object-position: left;
}
/* v1.0.3 · Mejora responsive, buscador por modelo y administración de enlaces */
.logout-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 37px;
  padding: 0 10px;
  background: #F5F7FB;
  border: 1px solid #E2E9F1;
  border-radius: 10px;
  color: #435875;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}
.logout-action:hover,.sidebar-exit:hover {
  background: #E9F1FE;
  color: var(--primary);
}
.logout-action svg {
  width: 17px;
  height: 17px;
}
.sidebar-exit {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #BFD0E9;
  padding: 11px 9px;
  font-weight: 700;
  font-size: 12px;
  border-radius: 9px;
  margin-bottom: 13px;
}
.sidebar-exit svg {
  width: 18px;
  height: 18px;
}
.page-button-group {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.document-picker {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.document-picker>label {
  font-weight: 700;
  font-size: 12px;
  color: #53637B;
}
.model-search-box {
  width: 100%;
  min-width: 0;
  margin: 0!important;
  max-width: none;
}
.model-search-box input {
  width: 100%;
  min-width: 0;
}
.picker-count,.picker-help {
  color: #75879D;
  font-size: 11px;
  line-height: 1.5;
}
.picker-help {
  background: #F4F7FC;
  border-radius: 8px;
  padding: 9px 11px;
}
.links-warning {
  margin-bottom: 20px;
}
.link-cards-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 17px;
}
.access-card {
  display: grid;
  gap: 15px;
  min-width: 0;
}
.access-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.access-card-head>div:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.access-card-head h3 {
  overflow-wrap: anywhere;
}
.access-card>label {
  font-size: 12px;
  color: #63748D;
  font-weight: 700;
}
.link-access-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}
.link-access-row input {
  flex: 1 1 180px;
  min-width: 0;
  background: #F8FAFD;
}
.access-open {
  justify-self: start;
}
.access-rotate {
  border-top: 1px solid #E8EDF5;
  padding-top: 12px;
}
.data-table td {
  overflow-wrap: anywhere;
}
@media (max-width:1040px) {
  .link-cards-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width:720px) {
  html,body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .app-shell,.main-area,.content {
    min-width: 0;
    max-width: 100%;
  }
  .topbar {
    height: 60px;
    padding: 0 12px;
    gap: 8px;
  }
  .topbar-left,.topbar-right {
    gap: 8px;
    min-width: 0;
  }
  .topbar-left {
    flex: 1;
    overflow: hidden;
  }
  .breadcrumb {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
  }
  .breadcrumb span {
    margin: 0 4px;
  }
  .avatar {
    display: none;
  }
  .logout-action {
    display: inline-flex;
    padding: 0 9px;
    min-height: 35px;
    flex-shrink: 0;
    font-size: 12px;
  }
  .logout-action span {
    display: inline;
  }
  .content {
    padding: 16px 12px 32px;
  }
  .page-intro {
    margin-bottom: 14px;
  }
  .page-intro h1 {
    font-size: clamp(20px,5vw,25px);
    line-height: 1.2;
    margin: 5px 0 0;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: .095em;
    line-height: 1.5;
  }
  .page-actions {
    gap: 10px;
    margin-bottom: 15px;
  }
  .page-actions>.btn,.page-button-group,.page-button-group .btn {
    max-width: 100%;
    width: 100%;
  }
  .subheading,.page-actions p {
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
  }
  .badge-hero {
    font-size: 10px;
    padding: 7px 10px;
  }
  .panel {
    padding: 14px;
    border-radius: 14px;
  }
  .workflow-grid {
    gap: 11px;
  }
  .step-heading {
    gap: 10px;
  }
  .step-heading h3 {
    font-size: 15px;
  }
  .step-heading p {
    font-size: 11px;
    line-height: 1.35;
  }
  .screen-choice-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }
  .screen-select-card {
    padding: 12px 7px;
    min-width: 0;
    overflow: hidden;
  }
  .screen-select-card small,.screen-select-card b {
    overflow-wrap: anywhere;
  }
  .table-scroll {
    overflow: visible;
  }
  .data-table {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .data-table thead {
    display: none;
  }
  .data-table tbody {
    display: grid;
    gap: 12px;
    min-width: 0;
  }
  .data-table tbody tr {
    display: grid;
    min-width: 0;
    border: 1px solid #E1E8F2;
    border-radius: 14px;
    padding: 13px 14px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(21,43,79,.025);
  }
  .data-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 8px 0!important;
    border: 0!important;
    text-align: right!important;
    font-size: 12px;
    overflow-wrap: anywhere;
    white-space: normal!important;
  }
  .data-table tbody td:before {
    content: attr(data-label);
    display: block;
    color: #8492A6;
    font-size: 10px;
    letter-spacing: .045em;
    font-weight: 800;
    text-transform: uppercase;
    flex: 0 0 85px;
    text-align: left;
    line-height: 1.35;
  }
  .data-table tbody td.cell-primary {
    display: block;
    text-align: left!important;
    padding: 3px 0 12px!important;
    margin-bottom: 4px;
    border-bottom: 1px solid #EDF1F6!important;
  }
  .data-table tbody td.cell-primary:before {
    content: none;
  }
  .data-table tbody td.cell-primary b {
    font-size: 13px;
  }
  .data-table tbody td .doc-cell,.data-table tbody td .user-cell {
    align-items: center;
    min-width: 0;
  }
  .data-table tbody td .doc-cell>div,.data-table tbody td .user-cell>div:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .data-table tbody td .doc-cell b,.data-table tbody td .user-cell b {
    display: block;
    overflow-wrap: anywhere;
  }
  .data-table tbody td .td-sub {
    display: block;
    text-align: right;
    overflow-wrap: anywhere;
  }
  .data-table tbody td.cell-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px!important;
    border-top: 1px solid #EDF1F6!important;
    margin-top: 4px;
    text-align: left!important;
  }
  .data-table tbody td.cell-actions:before {
    flex: 1 0 100%;
    content: 'ACCIONES';
  }
  .data-table tbody td.cell-actions .btn {
    flex: 1 1 auto;
  }
  .data-table tbody td .log-detail {
    white-space: normal;
    max-width: none;
  }
  .log-detail {
    white-space: normal;
    max-width: none;
  }
  .table-toolbar {
    margin-bottom: 12px;
    gap: 10px;
  }
  .segmented {
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .segmented a {
    font-size: 11px;
    padding: 9px 7px;
    flex: 1;
    text-align: center;
  }
  .search-wrap {
    width: 100%;
  }
  .search-wrap input {
    min-width: 0;
    width: 100%;
  }
  .link-cards-grid {
    grid-template-columns: 1fr;
  }
  .access-card-head {
    flex-wrap: wrap;
  }
  .access-card-head .pill {
    margin-left: auto;
  }
  .link-access-row input {
    flex-basis: 100%;
  }
  .link-access-row .btn {
    flex: 1;
  }
  .table-footer {
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .hero-actions .btn {
    flex: 1 1 155px;
  }
}
@media (max-width:360px) {
  .breadcrumb {
    font-size: 11px;
  }
  .logout-action span {
    display: none;
  }
  .screen-choice-grid {
    grid-template-columns: 1fr;
  }
}
/* Elementos PDF legibles en tarjetas estrechas */
.pdf-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 51px;
  min-width: 51px;
  min-height: 51px;
  white-space: nowrap;
}
@media (max-width:720px) {
  .data-table .doc-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }
  .data-table .doc-cell>div {
    min-width: 0;
    flex: 1;
  }
}
