@import "tailwindcss";
@import "leaflet/dist/leaflet.css";

:root {
  --navy: #020817;
  --navy-2: #06152d;
  --navy-3: #0a2446;
  --cyan: #21b8ff;
  --cyan-soft: #68d4ff;
  --blue: #077bea;
  --orange: #ff7a00;
  --orange-2: #ff4d00;
  --ink: #0b1830;
  --muted: #60708a;
  --line: #dce6f1;
  --paper: #ffffff;
  --soft: #f3f7fb;
}

/* Compatibilidad de la versión PHP/MySQL migrada a DonWeb. */
[hidden] { display: none !important; }
.official-list article button { margin-left: .45rem; }
.admin-login-card label,
.representative-login-card label { display: grid; gap: .45rem; margin: 1rem 0; text-align: left; }
.admin-login-card input,
.representative-login-card input { width: 100%; min-height: 48px; border: 1px solid #cad4e4; border-radius: 10px; padding: .75rem .9rem; }
.legal-content { width: min(920px, calc(100% - 2rem)); margin: 2rem auto 5rem; background: #fff; border: 1px solid #dce4ef; border-radius: 18px; padding: clamp(1.25rem, 4vw, 3rem); }
.legal-content section { scroll-margin-top: 1rem; margin-top: 2rem; }
.legal-content p,
.legal-content li { line-height: 1.75; color: #52627b; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.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;
}

.site-header {
  position: absolute; z-index: 20; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100% - 48px, 1360px); height: 108px; display: flex; align-items: center;
  justify-content: space-between; color: white;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-logo { display: block; width: 154px; height: auto; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(0, 95, 210, .18)); }
.site-footer .brand-logo { width: 146px; }
.registration-header .brand-logo, .rep-header .brand-logo { width: 136px; }
.rep-login-brand .brand-logo { width: 176px; }
.coming-soon-brand .brand-logo { width: 188px; }
.brand-mark {
  width: 54px; height: 44px; display: grid; place-items: center; position: relative;
  border-radius: 15px 8px 15px 8px; transform: skew(-9deg);
  background: linear-gradient(145deg, var(--cyan), #0955df 55%, var(--orange) 56%, #ffb000);
  box-shadow: 0 0 24px rgba(25, 179, 255, .26);
}
.brand-mark::after { content: ""; position: absolute; inset: 5px; border: 2px solid rgba(255,255,255,.7); border-radius: 11px 5px; }
.brand-mark i { position: relative; z-index: 1; font-size: 24px; font-style: normal; font-weight: 900; transform: skew(9deg); color: white; }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand strong { color: white; font-size: 27px; line-height: 1; letter-spacing: -.5px; }
.registered-mark { position: relative; top: -.55em; margin-left: 2px; font-size: .38em; line-height: 0; font-weight: 800; }
.brand small { margin-top: 5px; color: #8fafd2; font-size: 7px; letter-spacing: 2.3px; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 38px; font-weight: 700; }
.main-nav a { position: relative; color: #d7e2f0; padding: 15px 0; transition: color .2s ease; }
.main-nav a:hover, .main-nav .active { color: white; }
.main-nav .active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}

.button {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 25px; border: 1px solid transparent; border-radius: 11px; cursor: pointer;
  font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: white; background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 12px 30px rgba(255, 92, 0, .25);
}
.button-primary:hover { box-shadow: 0 16px 35px rgba(255, 92, 0, .35); }
.button-outline { color: white; border-color: var(--orange); background: rgba(2, 8, 23, .32); }
.button-outline:hover { background: rgba(255, 122, 0, .1); }

.hero {
  min-height: 690px; position: relative; overflow: hidden; color: white; padding: 172px max(28px, calc((100vw - 1180px) / 2)) 76px;
  background:
    radial-gradient(circle at 50% 18%, rgba(10, 121, 231, .2), transparent 32%),
    radial-gradient(circle at 12% 88%, rgba(0, 156, 255, .08), transparent 25%),
    linear-gradient(145deg, #020712 0%, #041226 55%, #061a32 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .34;
  background-image: radial-gradient(circle, rgba(71, 194, 255, .42) 0 1px, transparent 1.5px);
  background-size: 78px 78px;
  mask-image: linear-gradient(to bottom, transparent 3%, black 36%, transparent 95%);
}
.hero-copy { position: relative; z-index: 3; width: min(780px, 100%); margin: 0 auto; text-align: center; }
.eyebrow, .section-kicker { color: var(--cyan-soft); text-transform: uppercase; letter-spacing: 1.7px; font-size: 12px; font-weight: 900; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid rgba(63, 194, 255, .26); border-radius: 999px; background: rgba(13, 58, 102, .42); }
.eyebrow span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #00152b; background: var(--cyan); font-size: 12px; }
.hero h1 { margin: 22px auto 15px; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -2.3px; max-width: 760px; }
.hero h1 em { display: block; color: var(--cyan); font-style: normal; }
.hero-copy > p { max-width: 650px; margin: 0 auto; color: #aebfd4; line-height: 1.6; font-size: 16px; }
.hero-copy .eyebrow + p { margin-top: 22px; }

.directory-search {
  position: relative; z-index: 5; width: min(100%, 1080px); margin: 34px auto 0; padding: 14px;
  border: 1px solid rgba(76, 183, 245, .48); border-radius: 20px; background: rgba(3, 14, 32, .88);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .3), 0 0 32px rgba(0, 139, 235, .1); backdrop-filter: blur(12px);
}
.directory-query { min-height: 68px; display: flex; align-items: center; gap: 14px; padding: 0 20px; border-radius: 12px; background: white; }
.directory-field-icon { color: #087aca; font-size: 29px; line-height: 1; }
.directory-field-copy { min-width: 0; flex: 1; display: flex; align-items: center; gap: 15px; }
.directory-field-copy small { color: #30445c; font-size: 12px; font-weight: 900; white-space: nowrap; }
.directory-field-copy input { width: 100%; min-width: 0; padding: 0 0 0 15px; border: 0; border-left: 1px solid #dbe5ed; outline: 0; color: #13243a; background: transparent; font-size: 17px; }
.directory-location-row { display: grid; grid-template-columns: 1fr 1fr 1fr 185px; gap: 9px; margin-top: 9px; }
.directory-location-row label { min-width: 0; height: 61px; display: flex; justify-content: center; flex-direction: column; gap: 3px; padding: 8px 13px; border-radius: 10px; background: #f7fafc; }
.directory-location-row label > span { color: #697b8f; font-size: 9px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; }
.directory-location-row input, .directory-location-row select { width: 100%; min-width: 0; border: 0; outline: 0; color: #1a2a3d; background: transparent; font-size: 13px; }
.directory-search-button { min-height: 61px; padding-inline: 16px; border-radius: 10px; }
.hero-support { position: relative; z-index: 4; width: min(100%, 1040px); margin: 18px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; color: #9db1c8; font-size: 11px; }
.hero-support span, .hero-support a { display: inline-flex; align-items: center; gap: 7px; }
.hero-support b { color: #57ccff; }
.hero-support a { color: #dbeeff; font-weight: 800; }
.hero-support a:hover { color: white; }

.stats { width: min(100% - 48px, 1180px); margin: -32px auto 0; position: relative; z-index: 6; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 18px; background: white; box-shadow: 0 20px 65px rgba(14, 38, 70, .12); }
.stats div { padding: 25px 30px; text-align: center; border-right: 1px solid var(--line); }
.stats div:last-child { border: 0; }
.stats strong { display: block; color: var(--blue); font-size: 25px; }
.stats span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }

.section { width: min(100% - 48px, 1180px); margin: 0 auto; padding: 100px 0; }
.section-soft { width: 100%; max-width: none; padding-left: max(24px, calc((100vw - 1180px) / 2)); padding-right: max(24px, calc((100vw - 1180px) / 2)); background: var(--soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.section-kicker { display: block; margin-bottom: 11px; color: #057cc0; }
.section h2, .join-section h2 { margin: 0; color: var(--ink); font-size: clamp(31px, 3.4vw, 45px); line-height: 1.08; letter-spacing: -1.8px; }
.text-link { color: #0869c4; font-weight: 800; font-size: 14px; white-space: nowrap; }
.text-link span { margin-left: 8px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.category-card { min-height: 112px; display: flex; align-items: center; gap: 15px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 10px 35px rgba(23, 61, 101, .04); transition: transform .2s, border-color .2s, box-shadow .2s; }
.category-card:hover { transform: translateY(-4px); border-color: #91cff6; box-shadow: 0 14px 38px rgba(7, 104, 194, .1); }
.category-icon { width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; color: #0783d8; border-radius: 13px; background: #eaf7ff; font-size: 24px; font-weight: 700; }
.category-card > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 5px; }
.category-card strong { font-size: 14px; line-height: 1.2; }
.category-card small { color: var(--muted); font-size: 11px; }
.category-card b { color: #9bacc0; font-size: 24px; font-weight: 400; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.business-card { position: relative; overflow: hidden; border: 1px solid #dbe6f0; border-radius: 19px; background: white; box-shadow: 0 16px 45px rgba(11, 44, 80, .07); }
.business-avatar { height: 150px; display: grid; place-items: center; background: linear-gradient(135deg, #08375a, #069fd9); color: white; }
.business-avatar.orange { background: linear-gradient(135deg, #331400, #f17114); }
.business-avatar.blue { background: linear-gradient(135deg, #061b3c, #1864b6); }
.business-avatar span { width: 76px; height: 76px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 22px; background: rgba(255,255,255,.12); font-size: 24px; font-weight: 900; letter-spacing: 1px; }
.verified-badge { position: absolute; top: 124px; right: 22px; width: 47px; height: 47px; display: grid; place-items: center; border: 5px solid white; border-radius: 50%; color: white; background: var(--blue); font-weight: 900; }
.business-info { padding: 24px 24px 10px; }
.mini-label { color: #0575bd; font-size: 9px; letter-spacing: 1.6px; font-weight: 900; }
.business-info h3 { margin: 8px 0; font-size: 20px; }
.business-info p { margin: 0 0 14px; color: #4e6077; font-size: 13px; }
.business-info small { color: #718198; }
.card-link { display: flex; align-items: center; justify-content: space-between; margin: 0 24px; padding: 17px 0 21px; border-top: 1px solid #e5ecf3; color: #086bc5; font-size: 13px; font-weight: 800; }

.verification-section { display: grid; grid-template-columns: 1.2fr .8fr; gap: 85px; align-items: center; }
.verification-copy > p { max-width: 650px; color: var(--muted); line-height: 1.75; }
.steps-list { list-style: none; display: grid; gap: 20px; padding: 15px 0 0; margin: 0; }
.steps-list li { display: flex; align-items: center; gap: 16px; }
.steps-list li > span { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 40px; color: #0869c4; border-radius: 12px; background: #e9f5ff; font-weight: 900; }
.steps-list div { display: flex; flex-direction: column; gap: 4px; }
.steps-list small { color: var(--muted); }
.verification-card { position: relative; overflow: hidden; padding: 44px; border: 1px solid rgba(62, 176, 255, .34); border-radius: 25px; color: white; background: radial-gradient(circle at 80% 0, rgba(0, 146, 255, .28), transparent 40%), linear-gradient(145deg, #041023, #061e3e); box-shadow: 0 22px 60px rgba(8, 44, 82, .18); }
.verification-card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(92, 205, 255, .4) 0 1px, transparent 2px); background-size: 32px 32px; opacity: .18; }
.verification-card > * { position: relative; }
.big-shield { width: 80px; height: 90px; display: grid; place-items: center; color: white; clip-path: polygon(50% 0, 94% 16%, 88% 68%, 50% 100%, 12% 68%, 6% 16%); background: linear-gradient(145deg, #39cdff, #0062d9); font-size: 33px; font-weight: 900; filter: drop-shadow(0 0 22px rgba(43, 189, 255, .55)); }
.verification-card h3 { font-size: 27px; margin: 25px 0 11px; }
.verification-card p { color: #9eb3cc; line-height: 1.65; }
.verification-card .button { margin-top: 15px; width: 100%; }
.join-section { width: min(100% - 48px, 1180px); margin: 0 auto 100px; padding: 55px 62px; display: flex; align-items: center; justify-content: space-between; gap: 50px; border-radius: 27px; color: white; background: radial-gradient(circle at 82% 0, rgba(43, 176, 255, .25), transparent 32%), linear-gradient(120deg, #031126, #072e59); }
.join-section h2 { color: white; margin-top: 10px; max-width: 680px; }
.join-section p { max-width: 700px; color: #a4b6ca; line-height: 1.6; }
.join-section .button { min-width: 200px; }

.site-footer { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 55px; padding: 70px max(28px, calc((100vw - 1180px) / 2)) 30px; color: #8fa3bb; background: var(--navy); }
.footer-brand p { max-width: 330px; line-height: 1.6; font-size: 13px; }
.site-footer > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 13px; font-size: 13px; }
.site-footer > div > strong { color: white; margin-bottom: 5px; }
.site-footer a:hover { color: white; }
.public-visit-counter { width: max-content; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid #1c4266; border-radius: 999px; color: #a9bfd6; background: rgba(8, 31, 58, .78); font-size: 11px; }
.public-visit-counter i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #5bd4ff; background: rgba(32, 173, 239, .14); font-style: normal; font-weight: 900; }
.public-visit-counter b { color: white; font-size: 13px; }
.public-visit-counter.compact { gap: 5px; padding: 3px 7px; font-size: 9px; }
.public-visit-counter.compact i { width: 15px; height: 15px; font-size: 9px; }
.public-visit-counter.compact b { font-size: 10px; }
.copyright { grid-column: 1 / -1; margin: 25px 0 0; padding-top: 25px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; border-top: 1px solid #142743; text-align: center; font-size: 11px; }

.category-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.catalog-button { color: #076bb8; border-color: #9bcfee; background: #eef8ff; }
.category-filter { display: grid; gap: 7px; padding: 14px; border-bottom: 1px solid #dce6f1; }
.category-filter span { color: #53667d; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; }
.category-filter input { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid #ccd9e6; border-radius: 9px; color: var(--ink); background: white; outline: 0; }
.category-filter input:focus { border-color: #169ce4; box-shadow: 0 0 0 3px rgba(22, 156, 228, .12); }
.category-result-count { padding: 10px 14px; color: #718198; border-bottom: 1px solid #e4ebf2; font-size: 11px; }

@media (max-width: 1050px) {
  .main-nav { display: none; }
  .hero { padding-top: 155px; }
  .directory-location-row { grid-template-columns: 1fr 1fr; }
  .directory-search-button { grid-column: 1 / -1; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .verification-section { gap: 45px; }
}

@media (max-width: 760px) {
  .site-header { width: calc(100% - 30px); height: 86px; }
  .site-header .brand-logo { width: 108px; }
  .registration-header .brand-logo, .rep-header .brand-logo { width: 104px; }
  .brand-mark { width: 43px; height: 38px; }
  .brand strong { font-size: 22px; }
  .brand small { font-size: 5.5px; letter-spacing: 1.5px; }
  .header-cta { min-height: 42px; padding: 0 13px; font-size: 11px; }
  .hero { min-height: auto; padding: 125px 16px 55px; }
  .hero-copy { width: 100%; text-align: center; }
  .eyebrow { font-size: 9px; }
  .hero h1 { margin-top: 18px; font-size: clamp(31px, 9.5vw, 42px); line-height: 1.08; letter-spacing: -1.7px; }
  .hero-copy > p { margin-inline: auto; font-size: 14px; }
  .directory-search { margin-top: 25px; padding: 10px; border-radius: 16px; }
  .directory-query { min-height: 62px; padding: 0 15px; }
  .directory-field-copy { display: block; }
  .directory-field-copy small { display: block; margin-bottom: 4px; }
  .directory-field-copy input { padding: 0; border-left: 0; font-size: 14px; }
  .directory-location-row { grid-template-columns: 1fr; gap: 7px; margin-top: 7px; }
  .directory-location-row label { height: 56px; }
  .directory-search-button { grid-column: auto; min-height: 56px; }
  .hero-support { align-items: center; flex-direction: column; gap: 8px; }
  .stats { width: calc(100% - 30px); grid-template-columns: 1fr 1fr; margin-top: -22px; }
  .stats div { padding: 20px 10px; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { width: calc(100% - 36px); padding: 70px 0; }
  .section-soft { width: 100%; padding-inline: 18px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 25px; }
  .section h2, .join-section h2 { font-size: 34px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 90px; }
  .featured-grid { grid-template-columns: 1fr; }
  .verification-section { grid-template-columns: 1fr; }
  .verification-card { padding: 32px; }
  .join-section { width: calc(100% - 36px); margin-bottom: 70px; padding: 37px 28px; align-items: flex-start; flex-direction: column; }
  .join-section .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 38px 25px; padding-inline: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .category-actions { width: 100%; justify-content: stretch; }
  .category-actions .button { flex: 1 1 190px; }
}

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

/* Representative access, geofencing and traceable contracts */
.rep-page { min-height: 100vh; background: #eef4f9; }
.rep-header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 15px max(22px, calc((100vw - 1380px) / 2)); color: white; background: var(--navy); }
.rep-header > div { display: flex; align-items: center; gap: 18px; color: #bfd0e2; font-size: 12px; }
.rep-header > div a { padding: 10px 13px; border: 1px solid #26496d; border-radius: 8px; }
.rep-logout-button { padding: 10px 13px; border: 1px solid #26496d; border-radius: 8px; color: #d7e8f7; background: transparent; cursor: pointer; font: inherit; }
.rep-logout-button:hover { color: white; border-color: #3a6b96; background: rgba(255,255,255,.06); }
.rep-logout-button:disabled { opacity: .6; cursor: wait; }
.rep-shell { width: min(100% - 34px, 1380px); margin: 28px auto 70px; display: grid; grid-template-columns: 285px minmax(0, 1fr); gap: 22px; }
.rep-summary { align-self: start; position: sticky; top: 20px; overflow: hidden; border: 1px solid #d4e0ea; border-radius: 18px; background: white; box-shadow: 0 16px 44px rgba(20, 55, 87, .08); }
.rep-identity { display: flex; align-items: center; gap: 13px; padding: 22px; color: white; background: linear-gradient(145deg, #06152d, #0b3766); }
.rep-identity > span { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 46px; border-radius: 50%; color: #06223f; background: #55cbff; font-weight: 900; }
.rep-identity div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rep-identity small { color: #64cfff; font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.rep-identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rep-identity b { color: #aac1d9; font-size: 10px; }
.rep-zone-card { margin: 15px; padding: 17px; border: 1px solid #bde0f2; border-radius: 13px; background: #effaff; }
.rep-zone-card small { color: #0875b8; font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.rep-zone-card strong, .rep-zone-card p, .rep-zone-card span, .rep-zone-card em { display: block; }
.rep-zone-card strong { margin-top: 8px; font-size: 14px; }
.rep-zone-card p { margin: 5px 0; color: #5d7488; font-size: 11px; line-height: 1.4; }
.rep-zone-card span { color: #1874a6; font-size: 10px; font-weight: 800; }
.rep-zone-card em { margin-top: 10px; padding: 8px; border-radius: 7px; color: #7f5100; background: #fff0c9; font-size: 9px; font-style: normal; line-height: 1.4; }
.rep-summary nav { display: grid; gap: 4px; padding: 7px 15px 15px; }
.rep-summary nav button { min-height: 45px; display: flex; align-items: center; gap: 8px; padding: 0 13px; border: 0; border-radius: 9px; color: #4b6278; background: transparent; cursor: pointer; text-align: left; font-weight: 800; }
.rep-summary nav button.active { color: #086cad; background: #eaf6fc; }
.rep-summary nav button b { margin-left: auto; min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 999px; color: white; background: #0a80c8; font-size: 9px; }
.rep-safety-note { margin: 0; padding: 15px 20px 22px; color: #7b8d9e; border-top: 1px solid #e1e9ef; font-size: 9px; line-height: 1.55; }
.rep-workspace { min-width: 0; }
.rep-form-page > header, .rep-contract-list > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.rep-form-page > header small, .rep-contract-list > header small { color: #0877ba; font-size: 9px; font-weight: 900; letter-spacing: 1.2px; }
.rep-form-page > header h1, .rep-contract-list > header h1 { margin: 5px 0 6px; font-size: clamp(26px, 3vw, 39px); letter-spacing: -1.3px; }
.rep-form-page > header p, .rep-contract-list > header p { max-width: 670px; margin: 0; color: #6f8192; font-size: 12px; line-height: 1.55; }
.rep-form-page > header > span { padding: 9px 12px; border-radius: 999px; color: #0a689e; background: #dff3fd; font-size: 10px; font-weight: 900; }
.rep-trace-strip { min-height: 52px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px 15px; margin-bottom: 15px; padding: 10px 15px; border: 1px solid #d5e3ed; border-radius: 13px; color: #477087; background: white; font-size: 10px; font-weight: 800; }
.rep-trace-strip b { color: #9ab0c0; }
.rep-form-section { margin-bottom: 16px; overflow: hidden; border: 1px solid #d5e1eb; border-radius: 17px; background: white; box-shadow: 0 10px 32px rgba(24, 61, 94, .05); }
.rep-form-section > header { display: flex; align-items: center; gap: 14px; padding: 18px 21px; border-bottom: 1px solid #e0e8ef; background: #f9fbfd; }
.rep-form-section > header > span { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 35px; border-radius: 10px; color: white; background: linear-gradient(145deg, #0c8ad5, #0568ad); font-weight: 900; }
.rep-form-section h2 { margin: 0; font-size: 18px; }
.rep-form-section header p { margin: 4px 0 0; color: #738696; font-size: 10px; }
.rep-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 21px; }
.rep-field { min-width: 0; display: grid; gap: 6px; }
.rep-field.full, .rep-otp.full, .rep-location.full, .rep-signature.full, .rep-consents.full { grid-column: 1 / -1; }
.rep-field > span, .rep-otp label > span { color: #445c70; font-size: 9px; font-weight: 900; letter-spacing: .3px; }
.rep-field input, .rep-field select, .rep-field textarea, .rep-otp input { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #cddae5; border-radius: 9px; color: #142a40; background: white; outline: 0; font-size: 12px; }
.rep-field textarea { resize: vertical; }
.rep-field input:focus, .rep-field select:focus, .rep-field textarea:focus, .rep-otp input:focus { border-color: #1797d8; box-shadow: 0 0 0 3px rgba(23, 151, 216, .12); }
.rep-otp { display: grid; grid-template-columns: 1.4fr 150px 1fr auto; align-items: end; gap: 12px; padding: 17px; border: 1px solid #bfdcec; border-radius: 12px; background: #f1faff; }
.rep-otp > div:first-child { align-self: center; }
.rep-otp p { margin: 5px 0 0; color: #678399; font-size: 9px; line-height: 1.5; }
.rep-otp label { display: grid; gap: 6px; }
.rep-channel { align-self: center; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 9px; background: #ddecf5; }
.rep-channel button { min-height: 34px; border: 0; border-radius: 7px; color: #557086; background: transparent; cursor: pointer; font-size: 9px; font-weight: 900; }
.rep-channel button.active { color: #076aa7; background: white; box-shadow: 0 3px 10px rgba(35, 72, 103, .1); }
.rep-channel.email-only-channel { grid-template-columns: 1fr; }
.rep-channel.email-only-channel button { cursor: default; opacity: 1; }
.rep-verified { align-self: center; color: #12865c; font-size: 10px; }
.rep-location { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px; border: 1px solid #c9dbe6; border-radius: 11px; background: #f8fbfd; }
.rep-location p { margin: 5px 0 0; color: #657c8e; font-size: 10px; }
.rep-signature { padding: 17px; border: 1px solid #d4dee7; border-radius: 12px; }
.rep-signature > p { margin: 5px 0 12px; color: #778999; font-size: 10px; }
.signature-pad { position: relative; overflow: hidden; border: 1px dashed #9cb4c6; border-radius: 10px; background: linear-gradient(#fff, #fff) padding-box, repeating-linear-gradient(0deg, transparent 0 35px, #edf2f6 36px) border-box; }
.signature-pad canvas { width: 100%; height: 180px; display: block; touch-action: none; cursor: crosshair; }
.signature-pad > span { position: absolute; left: 15px; bottom: 9px; color: #9cabb7; font-size: 9px; pointer-events: none; }
.signature-pad button { position: absolute; right: 10px; top: 10px; padding: 7px 10px; border: 1px solid #ccd8e1; border-radius: 7px; color: #587184; background: rgba(255,255,255,.92); cursor: pointer; font-size: 9px; font-weight: 800; }
.rep-consents { display: grid; gap: 9px; }
.rep-consents label { display: flex; align-items: flex-start; gap: 10px; padding: 12px 13px; border: 1px solid #d6e0e8; border-radius: 9px; color: #435b6f; background: #fbfcfd; font-size: 10px; line-height: 1.45; }
.rep-consents input { width: 17px; height: 17px; margin: 0; flex: 0 0 17px; }
.rep-message { margin: 14px 0; padding: 13px 15px; border: 1px solid #efc494; border-radius: 10px; color: #8a581c; background: #fff8ed; font-size: 11px; font-weight: 800; }
.rep-message.success { border-color: #9ed8bf; color: #19774f; background: #effcf6; }
.rep-final-bar { position: sticky; z-index: 6; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 17px; border: 1px solid #9fcde7; border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 18px 50px rgba(16, 52, 82, .18); backdrop-filter: blur(10px); }
.rep-final-bar > div { display: flex; flex-direction: column; gap: 4px; }
.rep-final-bar span { color: #667d90; font-size: 9px; }
.rep-contract-list > div, .contract-admin-list { display: grid; gap: 11px; }
.rep-contract-list article, .contract-admin-list article { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 15px; padding: 17px; border: 1px solid #d5e1ea; border-radius: 13px; background: white; }
.rep-contract-list article > span, .contract-admin-list article > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; color: #0878b7; background: #eaf7fd; font-size: 19px; }
.rep-contract-list article p, .rep-contract-list article small, .contract-admin-list article p, .contract-admin-list article small { margin: 4px 0 0; color: #718496; font-size: 9px; }
.rep-contract-list article a { color: #0874b5; font-size: 10px; font-weight: 900; }
.rep-empty { min-height: 180px; display: grid; place-items: center; border: 1px dashed #b8cbd9; border-radius: 14px; color: #718697; background: white; }
.rep-access-page { min-height: 100vh; display: grid; place-items: center; padding: 28px 0; background: radial-gradient(circle at 50% 0, rgba(38, 172, 241, .16), transparent 34%), #eef4f9; }
.rep-activation, .rep-access-page section, .rep-contract-success { width: min(100% - 34px, 620px); margin: 70px auto; padding: 40px; border: 1px solid #d2e0ea; border-radius: 22px; background: white; box-shadow: 0 22px 70px rgba(13, 49, 79, .12); text-align: center; }
.rep-access-page .rep-activation { margin: 0 auto; }
.rep-login-brand { width: max-content; margin: 0 auto 28px; color: #092a4b; text-align: left; }
.rep-login-brand .brand-mark { color: white; }
.rep-login-brand small { color: #557086; }
.rep-activation > .big-shield { margin: 0 auto; }
.rep-activation > small, .rep-contract-success > small { display: block; margin-top: 20px; color: #0782c5; font-size: 9px; font-weight: 900; letter-spacing: 1.2px; }
.rep-activation h1, .rep-contract-success h1 { margin: 8px 0; font-size: 32px; }
.rep-activation > p, .rep-contract-success > p { color: #687d8f; line-height: 1.55; }
.rep-activation label { display: grid; gap: 7px; margin: 25px 0 13px; text-align: left; }
.rep-activation label span { color: #4f6678; font-size: 10px; font-weight: 900; }
.rep-activation input { min-height: 52px; padding: 0 14px; border: 1px solid #bdcfdd; border-radius: 10px; font-size: 17px; letter-spacing: 2px; text-align: center; }
.rep-activation .activation-fields { margin: 24px 0 15px; display: grid; gap: 13px; }
.rep-activation .activation-fields label { margin: 0; }
.rep-activation .activation-fields input[type="email"] { letter-spacing: 0; text-align: left; }
.rep-activation .activation-fields input:focus { outline: 0; border-color: #1497df; box-shadow: 0 0 0 3px rgba(20, 151, 223, .13); }
.rep-activation .button { width: 100%; }
.rep-legal-note { font-size: 9px !important; }
.rep-error { color: #b53c2f !important; }
.rep-back-link { display: inline-block; margin-top: 19px; color: #0871b9; font-size: 11px; font-weight: 800; }
.rep-contract-success > span { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto; border-radius: 50%; color: white; background: #12a66d; font-size: 30px; font-weight: 900; }
.rep-contract-success > div { display: grid; gap: 6px; margin: 22px 0; padding: 16px; border-radius: 11px; background: #f2f7fa; text-align: left; }
.rep-contract-success code { overflow-wrap: anywhere; color: #31506a; font-size: 8px; }
.rep-contract-success .button { width: 100%; margin-top: 8px; }
.rep-warning { padding: 11px; border-radius: 9px; color: #83500e !important; background: #fff2d8; font-size: 10px; }
.generated-key-notice { display: flex; align-items: center; gap: 12px; margin: 18px 0; padding: 17px; border: 2px solid #f0ad45; border-radius: 12px; color: #5f3d0d; background: #fff8e8; }
.generated-key-notice > div { flex: 1; }
.generated-key-notice code { display: block; margin: 7px 0; color: #132c43; font-size: 20px; font-weight: 900; letter-spacing: 2px; }
.generated-key-notice p { margin: 0; font-size: 9px; }
.generated-key-notice button { padding: 9px 11px; border: 1px solid #d9a658; border-radius: 8px; color: #714c18; background: white; cursor: pointer; font-size: 9px; font-weight: 900; }
.zone-admin-help { grid-column: 1 / -1; padding: 13px 15px; border: 1px solid #bbdcec; border-radius: 10px; color: #245f7e; background: #eff9fd; font-size: 10px; line-height: 1.5; }
.zone-admin-help strong { display: block; margin-bottom: 3px; }
.zone-map-editor { grid-column: 1 / -1; overflow: hidden; border: 1px solid #c9dce8; border-radius: 14px; background: white; }
.zone-map-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; border-bottom: 1px solid #dbe6ed; }
.zone-map-heading > div { min-width: 0; }
.zone-map-heading strong { color: #17354e; font-size: 13px; }
.zone-map-heading p { margin: 4px 0 0; color: #708699; font-size: 9px; line-height: 1.45; }
.zone-map-heading > span { flex: 0 0 auto; padding: 7px 9px; border-radius: 999px; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; }
.zone-map-heading > span.configured { color: #126e4d; background: #dcf6e9; }
.zone-map-heading > span.unconfigured { color: #875617; background: #fff1da; }
.zone-map-frame { position: relative; height: 430px; background: #e8eef2; }
.zone-map-frame.drawing .leaflet-container { cursor: crosshair; }
.zone-map-canvas { width: 100%; height: 100%; z-index: 1; font-family: Arial, Helvetica, sans-serif; }
.zone-map-loading { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; color: #526c80; background: #edf3f6; font-size: 11px; font-weight: 800; }
.zone-map-mode { position: absolute; z-index: 450; top: 12px; left: 50%; transform: translateX(-50%); padding: 9px 13px; border: 1px solid #d67d1a; border-radius: 999px; color: white; background: rgba(197, 88, 0, .92); box-shadow: 0 7px 22px rgba(56, 38, 9, .2); font-size: 9px; font-weight: 900; white-space: nowrap; }
.zone-map-mode.edit { border-color: #117ebd; background: rgba(5, 104, 168, .93); }
.zone-vertex-wrapper { background: transparent; border: 0; }
.zone-vertex { width: 24px; height: 24px; display: grid; place-items: center; border: 3px solid white; border-radius: 50%; color: white; background: #0876ca; box-shadow: 0 3px 9px rgba(2, 35, 61, .38); font-size: 8px; font-weight: 900; }
.zone-map-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 13px 15px; border-top: 1px solid #dbe6ed; }
.zone-action { min-height: 38px; padding: 0 12px; border: 1px solid #bdd0dd; border-radius: 8px; color: #315b75; background: white; cursor: pointer; font-size: 9px; font-weight: 900; }
.zone-action:hover { border-color: #168dcf; color: #0870b0; background: #f2faff; }
.zone-action:disabled { opacity: .45; cursor: not-allowed; }
.zone-action.primary { color: white; border-color: #0876ca; background: linear-gradient(135deg, #0876ca, #18a9df); }
.zone-action.danger { margin-left: auto; color: #a03c34; border-color: #e8bcb7; background: #fff4f2; }
.zone-map-summary { display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 1px; border-top: 1px solid #e1e9ef; background: #dfe8ee; }
.zone-map-summary span { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; color: #708397; background: #f7fafc; font-size: 8px; }
.zone-map-summary b { overflow: hidden; color: #183b55; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.zone-map-message { min-height: 36px; margin: 0; padding: 10px 15px; color: #6c8092; background: #f7fafc; font-size: 9px; line-height: 1.5; }
.zone-map-message.visible { color: #195f86; background: #ebf7fd; }
.contract-admin-list article { grid-template-columns: 42px minmax(200px, 1fr) minmax(150px, .8fr) auto; }
.contract-admin-list article code { overflow-wrap: anywhere; color: #5f7485; font-size: 8px; }
.contract-verification-page { width: min(100% - 34px, 850px); margin: -25px auto 90px; }
.contract-verification-page > form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; padding: 20px; border: 1px solid #d3e0ea; border-radius: 15px; background: white; box-shadow: 0 15px 45px rgba(17, 54, 86, .1); }
.contract-verification-page > form label { display: grid; gap: 7px; }
.contract-verification-page > form label span { color: #4c6478; font-size: 10px; font-weight: 900; }
.contract-verification-page > form input { min-height: 50px; padding: 0 14px; border: 1px solid #c5d5e1; border-radius: 9px; text-transform: uppercase; }
.contract-verification-result { display: grid; grid-template-columns: 70px 1fr; gap: 20px; margin-top: 17px; padding: 25px; border-radius: 16px; }
.contract-verification-result > span { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; color: white; font-size: 26px; font-weight: 900; }
.contract-verification-result.valid { border: 1px solid #9dd8bf; background: #effcf6; }
.contract-verification-result.valid > span { background: #16a46d; }
.contract-verification-result.invalid { border: 1px solid #efb9ae; background: #fff3f0; }
.contract-verification-result.invalid > span { background: #d65342; }
.contract-verification-result small { color: #147c55; font-size: 9px; font-weight: 900; letter-spacing: 1px; }
.contract-verification-result h2 { margin: 5px 0 9px; }
.contract-verification-result p { color: #536c7f; font-size: 11px; line-height: 1.55; }
.contract-verification-result dl { display: grid; gap: 8px; margin: 18px 0; }
.contract-verification-result dl div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(105, 145, 127, .2); }
.contract-verification-result dt { color: #617b6e; font-size: 9px; font-weight: 900; }
.contract-verification-result dd { margin: 0; overflow-wrap: anywhere; color: #263f34; font-size: 10px; }

@media (max-width: 960px) {
  .rep-shell { grid-template-columns: 1fr; }
  .rep-summary { position: static; }
  .rep-summary nav { grid-template-columns: 1fr 1fr; }
  .rep-fields { grid-template-columns: 1fr 1fr; }
  .rep-otp { grid-template-columns: 1fr 1fr; }
  .contract-admin-list article { grid-template-columns: 42px 1fr auto; }
  .contract-admin-list article code { grid-column: 2 / -1; }
}

@media (max-width: 640px) {
  .rep-header { min-height: 74px; }
  .rep-header > div > span { display: none; }
  .rep-header .brand small { display: none; }
  .rep-shell { width: calc(100% - 20px); margin-top: 12px; }
  .rep-fields { grid-template-columns: 1fr; padding: 15px; }
  .rep-field.full, .rep-otp.full, .rep-location.full, .rep-signature.full, .rep-consents.full { grid-column: auto; }
  .rep-form-page > header { padding: 6px; }
  .rep-form-page > header > span { display: none; }
  .rep-trace-strip { justify-content: flex-start; }
  .rep-form-section > header { padding: 15px; }
  .rep-otp { grid-template-columns: 1fr; }
  .rep-location { align-items: stretch; flex-direction: column; }
  .rep-location .button { width: 100%; }
  .rep-final-bar { align-items: stretch; flex-direction: column; bottom: 6px; }
  .rep-final-bar .button { width: 100%; }
  .rep-contract-list article { grid-template-columns: 42px 1fr; }
  .rep-contract-list article a { grid-column: 2; }
  .rep-activation, .rep-access-page section, .rep-contract-success { width: calc(100% - 20px); margin: 22px auto; padding: 28px 20px; }
  .generated-key-notice { align-items: stretch; flex-direction: column; }
  .generated-key-notice code { font-size: 15px; }
  .zone-map-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .zone-map-frame { height: 360px; }
  .zone-map-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .zone-action.danger { margin-left: 0; }
  .zone-map-summary { grid-template-columns: 1fr; }
  .contract-verification-page > form { grid-template-columns: 1fr; }
  .contract-verification-result { grid-template-columns: 1fr; }
  .contract-verification-result dl div { grid-template-columns: 1fr; gap: 4px; }
}

/* Live directory states */
.category-icon img { width: 28px; height: 28px; object-fit: contain; }
.business-avatar img, .result-avatar img, .profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.business-avatar img { border-radius: inherit; }
.result-avatar img { border-radius: 14px; }
.profile-avatar img { border-radius: 24px; }
.public-empty { grid-column: 1 / -1; min-height: 130px; display: grid; place-items: center; align-content: center; gap: 8px; padding: 30px; border: 1px dashed #b9cede; border-radius: 16px; color: var(--muted); background: white; text-align: center; }
.public-empty strong { color: var(--ink); }
.public-empty.wide { min-height: 220px; }
.promotion-box { padding: 20px; border: 1px solid #ffd3a7; border-radius: 13px; color: #7d4918; background: #fff6eb; white-space: pre-line; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.social-links a { padding: 8px 11px; border-radius: 8px; color: #0875c8; background: #eaf6fd; font-size: 11px; font-weight: 800; }
.representative-result { display: grid; grid-template-columns: 95px 1fr; gap: 22px; align-items: center; margin: 25px 0; padding: 25px; border-radius: 17px; }
.representative-result > img, .representative-result > span { width: 95px; height: 95px; display: grid; place-items: center; border-radius: 15px; object-fit: cover; color: white; background: #0a83d5; font-size: 28px; font-weight: 900; }
.representative-result.valid { border: 1px solid #9ad9bd; background: #edfff7; }
.representative-result.invalid { border: 1px solid #f2b5a9; background: #fff1ee; }
.representative-result small { color: #138b5a; font-weight: 900; letter-spacing: 1px; }
.representative-result h2 { margin: 6px 0; }
.representative-result p { margin: 6px 0; color: #536679; font-size: 13px; }
.public-academic-profile { margin-top: 17px; padding: 16px; border: 1px solid #b8d9ca; border-radius: 12px; background: rgba(255,255,255,.72); }
.public-academic-profile > span { display: block; width: auto; height: auto; color: #187a58; background: none; font-size: 10px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; }
.public-academic-profile > strong { display: block; margin-top: 7px; color: #133b31; font-size: 15px; }
.public-academic-profile > p { margin: 4px 0 10px; }
.public-academic-profile > div { display: flex; flex-wrap: wrap; gap: 7px; }
.public-academic-profile b { padding: 6px 9px; border-radius: 999px; color: #176f52; background: #ddf5e9; font-size: 10px; }
.public-academic-profile > small { display: block; margin-top: 11px; color: #668177; font-size: 9px; letter-spacing: 0; text-transform: none; }
.official-list { margin: 35px 0; }
.official-list > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.official-list article { display: grid; justify-items: center; gap: 7px; padding: 22px; border: 1px solid #dce6ef; border-radius: 15px; background: white; text-align: center; }
.official-list img, .official-list article > span { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; object-fit: cover; color: white; background: #0875c8; font-weight: 900; }
.official-list small { color: var(--muted); }
.official-academic { width: 100%; margin-top: 6px; padding-top: 12px; border-top: 1px solid #e7edf2; }
.official-academic b, .official-academic span { display: block; }
.official-academic b { color: #176f52; font-size: 11px; }
.official-academic span { margin-top: 4px; color: #718198; font-size: 9px; line-height: 1.4; }

/* Functional control panel */
.sidebar-placeholder { flex: 1; }
.admin-floating-nav { position: fixed; z-index: 4; top: 105px; left: 18px; width: 214px; display: grid; gap: 5px; }
.admin-floating-nav button { min-height: 43px; display: flex; align-items: center; gap: 11px; padding: 0 13px; border: 0; border-radius: 9px; color: #98acc3; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; text-align: left; }
.admin-floating-nav button:hover, .admin-floating-nav button.active { color: white; background: linear-gradient(90deg, rgba(0, 133, 226, .24), rgba(0, 133, 226, .05)); }
.admin-floating-nav button.active { box-shadow: inset 3px 0 #21b8ff; }
.admin-floating-nav button > span { width: 20px; color: #4ecaff; font-size: 17px; }
.admin-floating-nav button b { margin-left: auto; min-width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: white; background: #ef6d1b; font-size: 9px; }
.admin-mobile-nav { display: none; }
.panel-notice { position: sticky; z-index: 8; top: 12px; margin: 20px 0 -10px; padding: 13px 16px; border: 1px solid #92ccef; border-radius: 10px; color: #155c87; background: #eaf7ff; box-shadow: 0 12px 30px rgba(20, 70, 110, .12); font-size: 12px; font-weight: 800; }
.academic-form-help { grid-column: 1 / -1; padding: 15px 17px; border: 1px solid #b9dcec; border-radius: 11px; color: #1a5b7e; background: #edf8fd; }
.academic-form-help p { margin: 5px 0 0; color: #628298; font-size: 10px; line-height: 1.5; }
.panel-check { grid-column: span 1; display: flex; align-items: flex-start; gap: 10px; padding: 13px; border: 1px solid #d8e4ec; border-radius: 10px; background: #f7fafc; }
.panel-check input { width: 17px; height: 17px; margin: 2px 0 0; flex: 0 0 17px; }
.panel-check span { display: flex; flex-direction: column; gap: 4px; }
.panel-check strong { color: #344e65; font-size: 10px; }
.panel-check small { color: #7a8e9f; font-size: 9px; line-height: 1.45; }
.admin-cards button { appearance: none; width: 100%; display: flex; align-items: start; gap: 15px; min-height: 126px; padding: 21px; border: 1px solid #dce6ef; border-radius: 15px; color: var(--ink); background: white; box-shadow: 0 8px 27px rgba(21, 61, 96, .04); cursor: pointer; text-align: left; }
.admin-cards button:hover { border-color: #9dd8f9; transform: translateY(-2px); }
.admin-cards button > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; border-radius: 11px; color: #0879ca; background: #e8f5fe; font-size: 19px; }
.admin-cards button.orange > span { color: #de6a16; background: #fff0e4; }
.admin-cards button.violet > span { color: #7456ce; background: #f0edff; }
.admin-cards button > div { display: flex; flex-direction: column; }
.admin-cards button small { color: #788a9e; }
.admin-cards button strong { margin: 4px 0; font-size: 24px; }
.admin-cards button p { margin: 0; color: #8796a7; font-size: 9px; }
.admin-table.compact .table-head, .admin-table.compact .table-row { grid-template-columns: 1.1fr 1.4fr 1.5fr 1fr 1fr; }
.flow-cards { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 20px; }
.flow-cards span { padding: 9px 12px; border-radius: 9px; color: #196c9d; background: #e9f6fd; font-size: 10px; font-weight: 800; }
.flow-cards b { color: #8ea6b8; }
.panel-module { margin-top: 28px; }
.module-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 16px; }
.module-heading h2 { margin: 0; font-size: 25px; letter-spacing: -.7px; }
.module-heading p { margin: 6px 0 0; color: #71849a; font-size: 11px; }
.module-heading .button { min-height: 43px; padding-inline: 15px; font-size: 10px; }
.panel-split { min-height: 650px; display: grid; grid-template-columns: minmax(230px, .72fr) minmax(460px, 1.7fr); gap: 17px; }
.record-list, .record-editor { overflow: hidden; border: 1px solid #dce6ef; border-radius: 16px; background: white; }
.record-list { align-self: start; max-height: calc(100vh - 180px); overflow-y: auto; padding: 8px; }
.record-list > button { position: relative; width: 100%; min-height: 66px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 12px 35px 12px 13px; border: 0; border-bottom: 1px solid #ebf0f4; border-radius: 9px; color: var(--ink); background: white; cursor: pointer; text-align: left; }
.record-list > button:hover, .record-list > button.selected { background: #edf8ff; }
.record-list > button.selected { box-shadow: inset 3px 0 #159ee8; }
.record-list > button strong { font-size: 12px; }
.record-list > button small { color: #75889c; font-size: 9px; }
.record-list > button > span { position: absolute; right: 14px; color: #6c96b1; font-size: 20px; }
.record-editor { padding: 25px; }
.panel-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.panel-form-title { grid-column: 1 / -1; margin: 15px 0 0; padding: 0 0 10px; border-bottom: 1px solid #e4ebf1; color: #23415e; font-size: 14px; }
.panel-form-title:first-of-type { margin-top: 0; }
.panel-field { display: flex; flex-direction: column; gap: 6px; }
.panel-field.full { grid-column: 1 / -1; }
.panel-field > span { color: #50647a; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; }
.panel-field input, .panel-field select, .panel-field textarea { width: 100%; min-height: 43px; padding: 10px 11px; border: 1px solid #cddae5; border-radius: 8px; outline: 0; color: var(--ink); background: #fbfdff; font-size: 11px; }
.panel-field textarea { resize: vertical; }
.panel-field input:focus, .panel-field select:focus, .panel-field textarea:focus { border-color: #159ee8; box-shadow: 0 0 0 3px rgba(21,158,232,.09); }
.panel-form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-top: 18px; border-top: 1px solid #e7edf3; }
.panel-form-actions .button { min-height: 43px; padding-inline: 14px; font-size: 10px; }
.subtle-button { color: #36617c; border-color: #cad9e4; background: white; }
.contract-button { color: #80510f; border-color: #f3c17b; background: #fff6e9; }
.danger-button { color: #a43d35; border-color: #edc2be; background: #fff2f0; }
.panel-read-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 0; }
.panel-read-grid div { padding: 11px; border-radius: 9px; background: #f3f7fa; }
.panel-read-grid dt { color: #7e8fa0; font-size: 8px; text-transform: uppercase; }
.panel-read-grid dd { margin: 5px 0 0; overflow-wrap: anywhere; color: #20384f; font-size: 10px; font-weight: 800; }
.panel-empty { grid-column: 1 / -1; min-height: 180px; display: grid; place-items: center; align-content: center; gap: 8px; padding: 25px; color: #71849a; text-align: center; }
.panel-empty span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #e8f5fd; color: #1889ce; }
.panel-empty p { margin: 0; font-size: 11px; }
.permission-help { grid-column: 1 / -1; padding: 15px; border-radius: 10px; color: #46647d; background: #edf7fd; font-size: 11px; }
.permission-help p { margin: 6px 0 0; line-height: 1.55; }
.full-module { margin-top: 28px; }
.renewal-table .table-head, .renewal-table .table-row, .audit-table .table-head, .audit-table .table-row { grid-template-columns: 1.3fr 1.1fr .8fr .8fr 1.2fr; }
.row-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.row-actions button { padding: 6px 8px; border: 1px solid #b9d9eb; border-radius: 7px; color: #0874bf; background: white; cursor: pointer; font-size: 9px; font-weight: 800; }
.admin-access-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; color: white; background: radial-gradient(circle at 50% 0, rgba(0,145,255,.22), transparent 35%), var(--navy); }
.admin-access-page section { width: min(100%, 560px); padding: 45px; border: 1px solid #1b476d; border-radius: 22px; background: #071a32; text-align: center; }
.admin-access-page .big-shield { margin: auto; }
.admin-access-page h1 { font-size: 34px; }
.admin-access-page p { color: #a8bbcf; line-height: 1.7; }
.admin-access-page section > div:last-child { display: flex; justify-content: center; gap: 10px; margin-top: 25px; }

/* Audience reports */
.reports-module { margin-top: 28px; }
.reports-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.reports-heading h2 { margin: 6px 0; font-size: 27px; letter-spacing: -.8px; }
.reports-heading p { margin: 0; color: #71849a; font-size: 11px; }
.reports-actions { display: flex; gap: 8px; }
.reports-actions button { min-height: 41px; padding: 0 14px; border: 1px solid #b9d4e6; border-radius: 9px; color: #126da7; background: white; cursor: pointer; font-size: 10px; font-weight: 900; }
.reports-actions button:first-child { color: white; border-color: #0878c5; background: linear-gradient(135deg, #0874ca, #159fdf); }
.report-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 22px; }
.report-kpis article { min-height: 125px; display: flex; flex-direction: column; justify-content: center; padding: 21px; border: 1px solid #d7e4ed; border-radius: 15px; color: white; background: radial-gradient(circle at 100% 0, rgba(55, 205, 255, .24), transparent 45%), linear-gradient(140deg, #06162d, #0a3157); box-shadow: 0 12px 35px rgba(12, 42, 73, .1); }
.report-kpis span { color: #83caee; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; }
.report-kpis strong { margin: 6px 0 4px; font-size: 30px; }
.report-kpis small { color: #94a9bf; font-size: 9px; }
.report-engagement { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.report-engagement article { display: flex; flex-direction: column; padding: 17px; border: 1px solid #dce6ef; border-radius: 13px; background: white; }
.report-engagement span { color: #60758a; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.report-engagement strong { margin: 7px 0 3px; color: #0b6fae; font-size: 22px; }
.report-engagement small { color: #8998a8; font-size: 8px; }
.report-card { padding: 22px; border: 1px solid #dce6ef; border-radius: 15px; background: white; box-shadow: 0 8px 26px rgba(21, 61, 96, .035); }
.report-card h3 { margin: 0; font-size: 15px; }
.report-card > p, .report-card-heading p { margin: 5px 0 0; color: #7b8da1; font-size: 9px; line-height: 1.5; }
.report-trend { margin-top: 13px; }
.report-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.report-card-heading > span { color: #0876c8; font-size: 9px; font-weight: 900; }
.trend-chart { height: 230px; display: grid; grid-template-columns: repeat(30, minmax(5px, 1fr)); align-items: end; gap: 5px; margin-top: 23px; padding-top: 20px; border-bottom: 1px solid #d9e4ec; background-image: linear-gradient(to bottom, #e9eff4 1px, transparent 1px); background-size: 100% 25%; }
.trend-column { height: 100%; position: relative; display: flex; align-items: center; justify-content: flex-end; flex-direction: column; }
.trend-column i { width: min(100%, 18px); min-height: 2px; display: block; border-radius: 5px 5px 1px 1px; background: linear-gradient(180deg, #42c9fb, #0876ca); }
.trend-column b { height: 13px; color: #547187; font-size: 7px; }
.trend-column small { height: 18px; display: block; margin-top: 6px; color: #8b9aaa; font-size: 7px; white-space: nowrap; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 13px; }
.breakdown-card > div { display: grid; gap: 10px; margin-top: 18px; }
.breakdown-row { display: grid; grid-template-columns: minmax(85px, 1fr) 1.5fr 25px; gap: 10px; align-items: center; }
.breakdown-row > span { overflow: hidden; color: #52677b; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.breakdown-row > i { height: 7px; overflow: hidden; border-radius: 10px; background: #e9f0f5; }
.breakdown-row > i b { height: 100%; display: block; border-radius: 10px; background: linear-gradient(90deg, #0c7bd0, #42c5fa); }
.breakdown-row > strong { color: #173b58; font-size: 10px; text-align: right; }
.report-empty { min-height: 105px; display: grid; place-items: center; color: #8191a2; font-size: 10px; text-align: center; }
.methodology { color: #d8e7f4; background: radial-gradient(circle at 100% 0, rgba(37, 189, 250, .18), transparent 45%), #071a31; }
.methodology h3 { color: white; }
.methodology > p { color: #9fb2c7; font-size: 10px; line-height: 1.7; }
.methodology strong { display: block; margin-top: 18px; color: #54c8fa; font-size: 9px; text-transform: uppercase; letter-spacing: .5px; }

@media (max-width: 1000px) {
  .admin-floating-nav { width: 48px; left: 18px; }
  .admin-floating-nav button { justify-content: center; padding: 0; font-size: 0; }
  .admin-floating-nav button > span { width: auto; font-size: 19px; }
  .admin-floating-nav button b { position: absolute; margin: -25px 0 0 25px; font-size: 8px; }
  .panel-split { grid-template-columns: 230px 1fr; }
  .panel-read-grid { grid-template-columns: 1fr 1fr; }
  .report-engagement { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .admin-floating-nav { display: none; }
  .admin-mobile-nav { display: block; margin-top: 22px; }
  .admin-mobile-nav select { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #c8d8e4; border-radius: 10px; background: white; font-weight: 800; }
  .panel-split { display: block; min-height: 0; }
  .record-list { max-height: 260px; margin-bottom: 12px; }
  .record-editor { padding: 18px; }
  .panel-form { grid-template-columns: 1fr; }
  .panel-form-title, .panel-field.full, .panel-form-actions, .panel-read-grid, .permission-help { grid-column: 1; }
  .panel-read-grid { grid-template-columns: 1fr; }
  .module-heading { align-items: flex-start; flex-direction: column; }
  .module-heading .button { width: 100%; }
  .admin-table.renewal-table, .admin-table.audit-table { overflow-x: auto; }
  .renewal-table .table-head, .renewal-table .table-row, .audit-table .table-head, .audit-table .table-row { min-width: 720px; }
  .official-list > div { grid-template-columns: 1fr; }
  .representative-result { grid-template-columns: 1fr; text-align: center; }
  .representative-result > img, .representative-result > span { margin: auto; }
  .reports-heading { align-items: flex-start; flex-direction: column; }
  .reports-actions { width: 100%; }
  .reports-actions button { flex: 1; }
  .report-kpis, .report-engagement, .report-grid { grid-template-columns: 1fr 1fr; }
  .trend-chart { gap: 2px; }
}

@media (max-width: 480px) {
  .report-kpis, .report-engagement, .report-grid { grid-template-columns: 1fr; }
  .reports-actions { flex-direction: column; }
  .trend-chart { overflow-x: auto; grid-template-columns: repeat(30, 14px); }
}

@media print {
  .admin-sidebar, .admin-topbar, .admin-mobile-nav, .admin-floating-nav, .reports-actions { display: none !important; }
  .admin-page { display: block; background: white; }
  .admin-content { padding: 0; }
  .reports-module { margin: 0; }
  .report-kpis article { break-inside: avoid; color: #0b2038; background: #eef7fd; }
  .report-kpis small, .report-kpis span { color: #315d7a; }
  .report-card, .report-engagement article { break-inside: avoid; box-shadow: none; }
}

/* Shared internal pages */
.subpage { min-height: 100vh; background: #f6f9fc; }
.subpage-header {
  height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 35px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2)); color: white; background: var(--navy);
  border-bottom: 1px solid #142642;
}
.subpage-header nav { display: flex; gap: 30px; margin-left: auto; color: #b9c8da; font-size: 14px; font-weight: 700; }
.subpage-header nav a:hover { color: white; }
.panel-link { padding: 11px 16px; color: #9ddfff; border: 1px solid #165989; border-radius: 9px; font-size: 12px; font-weight: 800; }
.subpage-footer { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); color: #8092a9; background: var(--navy); font-size: 11px; }
.subpage-footer a { color: #9edfff; font-weight: 800; }

/* Legal information */
.legal-page { background: #f3f7fb; }
.legal-hero {
  padding: 68px max(24px, calc((100vw - 1180px) / 2)) 76px;
  color: white;
  background: radial-gradient(circle at 85% 10%, rgba(18, 168, 255, .24), transparent 30%), linear-gradient(128deg, #020817, #082d56);
}
.legal-hero > div { width: min(820px, 100%); }
.legal-hero h1 { margin: 12px 0 13px; font-size: clamp(40px, 5vw, 62px); line-height: 1.02; letter-spacing: -2.7px; }
.legal-hero > div > p { max-width: 710px; margin: 0; color: #adc0d5; font-size: 17px; line-height: 1.65; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.legal-meta span { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid rgba(108, 202, 255, .25); border-radius: 9px; color: #a9c2da; background: rgba(3, 16, 36, .45); font-size: 11px; }
.legal-meta strong { color: white; }
.legal-layout { width: min(100% - 48px, 1180px); display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 34px; align-items: start; margin: 0 auto; padding: 52px 0 90px; }
.legal-index { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; padding: 23px; border: 1px solid #dbe6ef; border-radius: 17px; background: white; box-shadow: 0 12px 35px rgba(25, 59, 93, .06); }
.legal-index > strong { display: block; margin-bottom: 15px; color: #20344d; font-size: 13px; }
.legal-index nav { display: grid; }
.legal-index nav a { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: start; padding: 9px 0; border-bottom: 1px solid #edf2f6; color: #627389; font-size: 11px; line-height: 1.35; }
.legal-index nav a:hover { color: #0876c8; }
.legal-index nav span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 6px; color: #0876c8; background: #eaf6ff; font-weight: 900; }
.legal-index .button { width: 100%; min-height: 44px; margin-top: 19px; padding-inline: 12px; font-size: 11px; }
.legal-document { min-width: 0; padding: 45px 50px; border: 1px solid #dbe6ef; border-radius: 20px; background: white; box-shadow: 0 17px 50px rgba(25, 59, 93, .07); }
.legal-intro { padding: 25px 28px; border-left: 4px solid var(--cyan); border-radius: 0 13px 13px 0; background: #f0f9ff; }
.legal-intro p { margin: 0; color: #354b63; font-size: 14px; line-height: 1.75; }
.legal-intro p + p { margin-top: 12px; }
.legal-clause { scroll-margin-top: 24px; padding-top: 37px; }
.legal-clause h2, .legal-sources h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 17px; color: #10233d; font-size: 21px; letter-spacing: -.4px; }
.legal-clause h2 span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 34px; border-radius: 10px; color: white; background: linear-gradient(145deg, #0789df, #0757ba); font-size: 13px; box-shadow: 0 8px 20px rgba(0, 116, 205, .2); }
.legal-clause p, .legal-sources p { margin: 0; color: #4d6076; font-size: 14px; line-height: 1.8; }
.legal-clause p + p { margin-top: 12px; }
.legal-clause ul { display: grid; gap: 9px; margin: 14px 0 0; padding-left: 22px; color: #4d6076; font-size: 14px; line-height: 1.65; }
.legal-sources { margin-top: 42px; padding: 28px; border: 1px solid #d8e8f3; border-radius: 15px; background: #f7fbfe; }
.legal-sources ul { display: grid; gap: 9px; margin: 17px 0 0; padding: 0; list-style: none; }
.legal-sources a { display: flex; justify-content: space-between; gap: 12px; color: #0872c3; font-size: 13px; font-weight: 800; }
.legal-contact { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 30px; padding: 27px 29px; border-radius: 16px; color: white; background: linear-gradient(130deg, #031228, #0b3967); }
.legal-contact > div { display: flex; flex-direction: column; gap: 6px; }
.legal-contact span { color: #afc1d4; font-size: 12px; line-height: 1.5; }
.legal-contact .button { min-width: 190px; }

.search-hero { padding: 58px max(24px, calc((100vw - 1180px) / 2)) 50px; color: white; background: radial-gradient(circle at 85% 0, rgba(0, 142, 255, .23), transparent 30%), linear-gradient(130deg, #031126, #092c53); }
.search-hero h1, .simple-hero h1 { margin: 9px 0 8px; font-size: clamp(35px, 4vw, 52px); letter-spacing: -2.2px; }
.search-hero p, .simple-hero p { margin: 0; color: #a9bbcf; line-height: 1.6; }
.compact-directory-search { width: 100%; margin-top: 26px; }
.compact-search { display: grid; grid-template-columns: 1.2fr 1fr 150px; gap: 12px; margin-top: 30px; }
.compact-search label { min-height: 58px; display: flex; align-items: center; gap: 11px; padding: 0 17px; border-radius: 10px; color: #5f6b7a; background: white; }
.compact-search label span { font-size: 23px; }
.compact-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }
.results-layout { width: min(100% - 48px, 1180px); min-height: 600px; display: grid; grid-template-columns: 250px 1fr; gap: 32px; margin: 0 auto; padding: 50px 0 90px; }
.filters { align-self: start; display: flex; flex-direction: column; padding: 25px; border: 1px solid #dce6f0; border-radius: 16px; background: white; }
.filters h2 { margin: 0; font-size: 18px; }
.filters p { margin: 8px 0 24px; color: var(--muted); line-height: 1.5; font-size: 12px; }
.filters > strong { margin-bottom: 9px; color: #41536a; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.filters > a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #edf1f5; color: #4f6074; font-size: 12px; }
.filters > a:hover { color: #0875ca; }
.filters .clear-filter { display: block; margin-top: 14px; border: 0; color: #0977c8; font-weight: 800; }
.results-column { min-width: 0; }
.results-heading { min-height: 56px; display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.results-heading > div { display: flex; flex-direction: column; gap: 4px; }
.results-heading strong { font-size: 20px; }
.results-heading span { color: var(--muted); font-size: 12px; }
.verified-pill { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 8px 11px; border-radius: 999px; color: #0875c8 !important; background: #e6f5ff; font-size: 10px !important; font-weight: 900; text-transform: uppercase; letter-spacing: .8px; }
.result-list { display: grid; gap: 14px; }
.result-card { display: grid; grid-template-columns: 105px 1fr auto; gap: 20px; align-items: center; padding: 18px; border: 1px solid #dce6ef; border-radius: 16px; background: white; transition: border .2s, transform .2s, box-shadow .2s; }
.result-card:hover { transform: translateY(-2px); border-color: #9dd8f9; box-shadow: 0 13px 35px rgba(20, 61, 102, .08); }
.result-avatar, .profile-avatar { display: grid; place-items: center; color: white; background: linear-gradient(145deg, #082144, #187ee0); font-weight: 900; letter-spacing: 1px; }
.result-avatar { width: 105px; height: 96px; border-radius: 14px; font-size: 25px; }
.result-avatar.cyan, .profile-avatar.cyan { background: linear-gradient(145deg, #05344d, #0ea9d9); }
.result-avatar.orange, .profile-avatar.orange { background: linear-gradient(145deg, #451b00, #ef791f); }
.result-main h2 { margin: 7px 0 6px; font-size: 20px; }
.result-main p { margin: 0 0 10px; color: #526278; font-size: 13px; }
.result-main small { color: #79889b; }
.result-actions { display: flex; flex-direction: column; gap: 8px; }
.result-actions .button { min-height: 42px; min-width: 125px; padding: 0 16px; font-size: 11px; }
.contact-button { color: #0875c8; border-color: #bcd9ec; background: white; }
.empty-state { padding: 90px 30px; border: 1px dashed #c8d6e3; border-radius: 18px; text-align: center; color: var(--muted); background: white; }
.empty-state > span { font-size: 44px; color: #7ba9c9; }
.empty-state h2 { color: var(--ink); }
.empty-state a { color: #0875c8; font-weight: 800; }

/* Business profile */
.profile-banner { padding: 36px max(24px, calc((100vw - 1180px) / 2)) 55px; color: white; background: radial-gradient(circle at 82% 0, rgba(0, 149, 255, .24), transparent 32%), linear-gradient(125deg, #041125, #092c53); }
.back-link { color: #98b0c9; font-size: 12px; }
.profile-identity { display: flex; align-items: center; gap: 24px; margin-top: 33px; }
.profile-avatar { width: 118px; height: 118px; flex: 0 0 118px; border: 1px solid rgba(255,255,255,.24); border-radius: 25px; box-shadow: 0 18px 45px rgba(0,0,0,.25); font-size: 31px; }
.profile-identity h1 { margin: 11px 0 6px; font-size: clamp(34px, 4vw, 50px); letter-spacing: -1.8px; }
.profile-identity p { margin: 0; color: #aabbd0; }
.profile-layout { width: min(100% - 48px, 1180px); display: grid; grid-template-columns: 1fr 350px; gap: 30px; margin: 0 auto; padding: 50px 0 90px; }
.profile-content { padding: 35px; border: 1px solid #dce6ef; border-radius: 18px; background: white; }
.profile-content h2 { margin: 0 0 12px; font-size: 22px; }
.profile-content h2:not(:first-child) { margin-top: 38px; }
.profile-content > p { color: var(--muted); line-height: 1.7; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag-list span { padding: 8px 11px; border-radius: 999px; color: #1d6ea7; background: #eaf6fd; font-size: 11px; font-weight: 700; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 0; }
.info-grid div { padding: 16px; border-radius: 12px; background: #f4f8fb; }
.info-grid dt { color: #8090a3; font-size: 10px; text-transform: uppercase; letter-spacing: .9px; }
.info-grid dd { margin: 7px 0 0; font-size: 13px; font-weight: 700; }
.profile-placeholder { height: 200px; display: grid; place-items: center; align-content: center; margin-top: 25px; border: 1px dashed #b9cedf; border-radius: 14px; color: #6f8396; background: linear-gradient(135deg, #f2f7fb, #e8f2f8); text-align: center; }
.profile-placeholder span { font-size: 38px; color: #4e92bc; }
.profile-placeholder p { max-width: 400px; margin: 10px; font-size: 12px; }
.contact-card { align-self: start; position: sticky; top: 20px; padding: 29px; border: 1px solid #dce6ef; border-radius: 18px; background: white; box-shadow: 0 18px 50px rgba(18, 50, 85, .09); }
.big-check { width: 59px; height: 59px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(145deg, #34c5ff, #0873df); font-size: 25px; font-weight: 900; }
.contact-card h2 { margin: 18px 0 8px; }
.contact-card > p { color: var(--muted); line-height: 1.55; font-size: 13px; }
.contact-card dl { margin: 23px 0; border-top: 1px solid #e5ecf2; border-bottom: 1px solid #e5ecf2; }
.contact-card dl div { display: flex; justify-content: space-between; padding: 13px 0; }
.contact-card dt { color: #76879b; font-size: 12px; }
.contact-card dd { margin: 0; font-size: 12px; font-weight: 800; }
.contact-card .button { width: 100%; margin-top: 9px; }
.whatsapp-button { color: white; background: #1ea85c; }
.contact-card > small { display: block; margin-top: 18px; color: #8a98aa; line-height: 1.45; text-align: center; }

/* Representatives */
.simple-hero { padding: 75px max(24px, calc((100vw - 950px) / 2)); color: white; text-align: center; background: radial-gradient(circle at 50% 0, rgba(0, 145, 255, .23), transparent 36%), var(--navy); }
.simple-hero p { max-width: 730px; margin-inline: auto; }
.representative-content { width: min(100% - 48px, 950px); margin: 0 auto; padding: 55px 0 90px; }
.student-mission { margin-bottom: 32px; padding: 34px; border: 1px solid #b8d9ee; border-radius: 22px; color: white; background: radial-gradient(circle at 92% 0, rgba(31,184,255,.23), transparent 34%), linear-gradient(135deg, #06162d, #092e54); box-shadow: 0 18px 55px rgba(8, 48, 87, .15); }
.student-mission h2 { max-width: 650px; margin: 10px 0 12px; font-size: clamp(28px, 4vw, 39px); line-height: 1.08; letter-spacing: -1.3px; }
.student-mission > div:first-child > p { max-width: 780px; margin: 0; color: #adc0d4; line-height: 1.7; font-size: 14px; }
.student-impact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-top: 25px; }
.student-impact article { padding: 18px; border: 1px solid rgba(94,197,248,.22); border-radius: 13px; background: rgba(8,44,79,.62); }
.student-impact strong, .student-impact span { display: block; }
.student-impact strong { color: #5bd4ff; font-size: 22px; }
.student-impact span { margin-top: 5px; color: #a9bfd2; font-size: 10px; line-height: 1.45; }
.verify-box { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 33px; border: 1px solid #b9d9ed; border-radius: 20px; background: white; box-shadow: 0 16px 45px rgba(18, 61, 96, .07); }
.verify-box h2 { margin: 0 0 6px; }
.verify-box p { margin: 0; color: var(--muted); font-size: 13px; }
.verify-box form { grid-column: 1 / -1; display: flex; gap: 10px; }
.verify-box label { flex: 1; }
.verify-box input { width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid #cbd9e5; border-radius: 10px; outline: none; }
.representative-email-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 28px 0; }
.email-contact-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 30px; border: 1px solid #b9d9ed; border-radius: 20px; background: white; box-shadow: 0 16px 45px rgba(18, 61, 96, .07); }
.email-contact-card h2 { margin: 8px 0 10px; font-size: 24px; }
.email-contact-card p { min-height: 66px; margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.email-contact-card .button { width: 100%; min-height: 50px; padding-inline: 18px; text-align: center; }
.contract-email-card { grid-column: 1 / -1; }
.contract-email-card p { min-height: 0; }
.contract-email-card .button { max-width: 380px; }
.email-contact-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; color: white; background: linear-gradient(145deg, #0b96e6, #075ca5); font-size: 26px; box-shadow: 0 10px 28px rgba(8, 117, 200, .22); }
.dark-outline { color: #086fb8; border-color: #8cc9ec; background: #f4fbff; }
.representative-notice a { color: inherit; font-weight: 900; text-decoration: underline; overflow-wrap: anywhere; }
.email-only-card { max-width: 620px; }
.email-only-card .button { height: auto; min-height: 52px; padding: 14px 20px; line-height: 1.35; overflow-wrap: anywhere; }
.email-only-card .back-link { display: block; margin-top: 20px; color: #8fb0d0; font-size: 12px; }
.email-only-actions { display: grid; gap: 10px; }
.official-sender-note { margin: -2px 0 4px; padding: 11px 13px; border: 1px solid rgba(70, 193, 255, .28); border-radius: 10px; color: #b7d5ed; background: rgba(14, 73, 113, .42); font-size: 11px; line-height: 1.5; }
.official-sender-note strong { color: white; overflow-wrap: anywhere; }
.contract-sender-notice { margin-top: 0; }
.representative-notice { display: flex; gap: 17px; margin: 28px 0; padding: 22px; border-radius: 14px; color: #1d5278; background: #e9f6ff; }
.representative-notice > span { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 32px; border-radius: 50%; color: white; background: #1288d1; font-weight: 900; }
.representative-notice p { margin: 6px 0 0; line-height: 1.55; font-size: 12px; }
.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.safety-grid article { padding: 25px; border: 1px solid #dce6ef; border-radius: 15px; background: white; }
.safety-grid article > span { color: #0a83d5; font-weight: 900; }
.safety-grid h3 { min-height: 42px; margin: 13px 0 8px; font-size: 16px; }
.safety-grid p { color: var(--muted); line-height: 1.55; font-size: 12px; }

/* Registration */
.registration-page { min-height: 100vh; color: white; background: radial-gradient(circle at 10% 25%, rgba(0, 143, 255, .18), transparent 30%), linear-gradient(130deg, #020713, #06162d); }
.registration-header { width: min(100% - 48px, 1240px); height: 92px; display: flex; align-items: center; justify-content: space-between; margin: 0 auto; border-bottom: 1px solid rgba(87, 154, 212, .18); }
.registration-header > a:last-child { color: #9fb2c8; font-size: 12px; }
.registration-layout { width: min(100% - 48px, 1180px); display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; margin: 0 auto; padding: 65px 0 95px; }
.registration-intro { padding-top: 25px; }
.registration-intro h1 { margin: 12px 0 20px; font-size: clamp(38px, 4.2vw, 56px); line-height: 1.03; letter-spacing: -2.7px; }
.registration-intro > p { color: #9db0c7; line-height: 1.72; }
.registration-intro ul { display: grid; gap: 13px; list-style: none; margin: 28px 0; padding: 0; color: #d5dfeb; font-size: 13px; }
.registration-intro li { display: flex; align-items: center; gap: 10px; }
.registration-intro li span { color: #4bd1ff; }
.privacy-box { padding: 20px; border: 1px solid rgba(62, 178, 255, .24); border-radius: 13px; background: rgba(9, 39, 72, .5); }
.privacy-box strong { color: #5dccff; font-size: 12px; }
.privacy-box p { margin: 8px 0 0; color: #90a7c0; line-height: 1.5; font-size: 11px; }
.registration-form { min-height: 630px; padding: 37px; border: 1px solid rgba(128, 183, 223, .22); border-radius: 22px; color: var(--ink); background: white; box-shadow: 0 28px 85px rgba(0,0,0,.28); }
.form-progress { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-progress > div { display: flex; flex-direction: column; gap: 5px; }
.form-progress span { color: #7890a6; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.form-progress strong { font-size: 18px; }
.progress-track { height: 5px; overflow: hidden; margin: 18px 0 30px; border-radius: 10px; background: #e9f0f6; }
.progress-track i { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, #008de8, #4acbff); transition: width .3s ease; }
.registration-form fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; padding: 0; border: 0; }
.registration-form legend { grid-column: 1 / -1; padding: 0; font-size: 23px; font-weight: 900; letter-spacing: -.7px; }
.registration-form fieldset > p { grid-column: 1 / -1; margin: -10px 0 5px; color: #76879b; font-size: 12px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field > span { color: #43536a; font-size: 11px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cbd8e4; border-radius: 9px; outline: none; color: var(--ink); background: #fbfdff; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #159ee8; box-shadow: 0 0 0 3px rgba(21, 158, 232, .1); }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #e5ecf2; }
.form-actions .button { min-width: 145px; }
.form-actions .button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.back-button { color: #50647a; border-color: #d0dce7; background: white; }
.review-block { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 18px; border: 1px solid #dce5ed; border-radius: 12px; }
.review-block > div { display: flex; flex-direction: column; gap: 5px; }
.review-block span { color: #708399; font-size: 10px; text-transform: uppercase; letter-spacing: .8px; }
.review-block small { color: #76879a; }
.review-block button { border: 0; color: #0876c8; background: none; cursor: pointer; font-weight: 800; }
.contract-preview { grid-column: 1 / -1; padding: 19px; border-radius: 12px; color: #39536c; background: #edf7fd; }
.contract-preview ol { margin: 10px 0 0; padding-left: 20px; font-size: 12px; line-height: 1.8; }
.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; color: #5f7084; line-height: 1.45; font-size: 11px; }
.consent input { margin-top: 2px; }
.consent a { color: #0876c8; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.form-error { padding: 12px; border-radius: 9px; color: #9b2c23; background: #fff0ed; font-size: 12px; }
.success-card { width: min(100% - 36px, 610px); margin: 70px auto; padding: 50px; border-radius: 24px; color: var(--ink); background: white; box-shadow: 0 30px 90px rgba(0,0,0,.3); text-align: center; }
.success-icon { width: 75px; height: 75px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; color: white; background: linear-gradient(145deg, #34c5ff, #0674dc); font-size: 32px; font-weight: 900; }
.success-card h1 { margin: 8px 0 12px; font-size: 40px; }
.success-card > p { color: var(--muted); line-height: 1.6; }
.success-card > div { display: flex; flex-direction: column; gap: 6px; margin: 25px 0; padding: 18px; border-radius: 12px; background: #edf7fd; }
.success-card > div strong { color: #0875c8; font-size: 23px; letter-spacing: 1px; }
.success-card .privacy-note { font-size: 11px; }

/* Administration */
.admin-page { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; background: #f2f6fa; }
.admin-sidebar { min-height: 100vh; max-height: 100vh; position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; overflow-y: auto; padding: 25px 18px 18px; color: white; background: linear-gradient(180deg, #020817, #06172d); }
.admin-sidebar .brand { padding: 0 9px 25px; border-bottom: 1px solid #132640; }
.admin-sidebar .brand-logo { width: 142px; }
.admin-sidebar .brand-mark { width: 43px; height: 36px; }
.admin-sidebar .brand strong { font-size: 21px; }
.admin-sidebar nav { display: grid; gap: 5px; margin-top: 26px; }
.admin-sidebar nav a { min-height: 43px; display: flex; align-items: center; gap: 11px; padding: 0 13px; border-radius: 9px; color: #98acc3; font-size: 12px; font-weight: 700; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { color: white; background: linear-gradient(90deg, rgba(0, 133, 226, .24), rgba(0, 133, 226, .05)); }
.admin-sidebar nav a.active { box-shadow: inset 3px 0 #21b8ff; }
.admin-sidebar nav a > span { width: 20px; color: #4ecaff; font-size: 17px; }
.admin-sidebar nav a b { margin-left: auto; min-width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: white; background: #ef6d1b; font-size: 9px; }
.admin-role { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 18px 10px 5px; border-top: 1px solid #132640; }
.admin-role > span { width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 37px; border-radius: 10px; color: white; background: linear-gradient(145deg, #158edc, #0752a8); font-weight: 900; }
.admin-role > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.admin-role strong { overflow: hidden; text-overflow: ellipsis; font-size: 11px; white-space: nowrap; }
.admin-role small { color: #7f97b2; font-size: 9px; }
.admin-content { min-width: 0; padding: 34px 40px 70px; }
.admin-module-selector { display: none; }
.admin-page .admin-content > .admin-panel-section:not(.admin-module-directory) { display: none; }
.admin-page[data-admin-module="rubros"] .admin-content > #rubros,
.admin-page[data-admin-module="vencimientos"] .admin-content > #vencimientos,
.admin-page[data-admin-module="comercios"] .admin-content > #comercios,
.admin-page[data-admin-module="representantes"] .admin-content > #representantes,
.admin-page[data-admin-module="solicitudes"] .admin-content > #solicitudes,
.admin-page[data-admin-module="visitas"] .admin-content > #visitas,
.admin-page[data-admin-module="dispositivos"] .admin-content > #dispositivos,
.admin-page[data-admin-module="contratos"] .admin-content > #contratos,
.admin-page[data-admin-module="usuarios"] .admin-content > #usuarios,
.admin-page[data-admin-module="auditoria"] .admin-content > #auditoria { display: block; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.admin-topbar h1 { margin: 6px 0 0; font-size: 30px; letter-spacing: -1px; }
.admin-topbar > div:last-child { display: flex; gap: 15px; color: #60758c; font-size: 11px; font-weight: 700; }
.access-warning { margin-top: 24px; padding: 16px 19px; border: 1px solid #f2c78a; border-radius: 11px; color: #845317; background: #fff6e9; }
.access-warning p { margin: 5px 0 0; font-size: 11px; }
.admin-error-warning { color: #8f312a; border-color: #efaaa4; background: #fff1f0; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 15px; margin-top: 28px; }
.admin-cards article { display: flex; align-items: start; gap: 15px; min-height: 126px; padding: 21px; border: 1px solid #dce6ef; border-radius: 15px; background: white; box-shadow: 0 8px 27px rgba(21, 61, 96, .04); }
.admin-cards article > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; border-radius: 11px; color: #0879ca; background: #e8f5fe; font-size: 19px; }
.admin-cards article.orange > span { color: #de6a16; background: #fff0e4; }
.admin-cards article.violet > span { color: #7456ce; background: #f0edff; }
.admin-cards article.warning-card > span { color: #a96708; background: #fff4d9; }
.admin-cards article.danger-card > span { color: #b13a31; background: #fff0ee; }
.admin-cards article > div { display: flex; flex-direction: column; }
.admin-cards small { color: #788a9e; }
.admin-cards strong { margin: 4px 0; font-size: 24px; }
.admin-cards p { margin: 0; color: #8796a7; font-size: 9px; }
.admin-panel-section { margin-top: 22px; padding: 24px; border: 1px solid #dce6ef; border-radius: 16px; background: white; }
.admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.admin-panel-section h2 { margin: 0; font-size: 18px; }
.admin-section-heading p { margin: 5px 0 0; color: #7b8da1; font-size: 10px; }
.admin-section-heading .button { min-height: 42px; padding: 0 15px; font-size: 10px; }
.admin-table { margin-top: 20px; }
.table-head, .table-row { display: grid; grid-template-columns: 1.1fr 1.4fr 1.6fr 1fr .6fr; gap: 14px; align-items: center; }
.table-head { padding: 0 13px 11px; color: #7d8fa2; font-size: 9px; text-transform: uppercase; letter-spacing: .8px; }
.table-row { min-height: 57px; padding: 9px 13px; border-top: 1px solid #e7edf3; color: #51647a; font-size: 10px; }
.table-row strong { color: var(--ink); font-size: 11px; }
.status-chip { width: max-content; padding: 6px 8px; border-radius: 999px; color: #0874bf; background: #e7f4fc; font-weight: 800; }
.table-row button { border: 0; color: #0874bf; background: none; cursor: pointer; font-size: 10px; font-weight: 800; }
.admin-lower-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.funnel-row { display: grid; grid-template-columns: 75px 1fr 25px; gap: 10px; align-items: center; margin-top: 15px; color: #617389; font-size: 10px; }
.funnel-row i { height: 7px; border-radius: 10px; background: linear-gradient(90deg, #0c7bd0, #42c5fa); }
.funnel-row b { color: var(--ink); }
.roles-list { display: grid; margin-top: 12px; }
.roles-list div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-top: 1px solid #e7edf3; font-size: 10px; }
.roles-list span { color: #78899c; text-align: right; }
.admin-logout { margin-top: 12px; padding: 10px; border: 1px solid #29405d; border-radius: 9px; color: #a9bdd2; background: transparent; cursor: pointer; font-weight: 800; }
.admin-logout:hover { color: white; border-color: #4cc9ff; }
.admin-editor { margin-top: 20px; border: 1px solid #dce6ef; border-radius: 14px; overflow: hidden; background: #f8fbfd; }
.admin-editor summary { display: flex; align-items: center; gap: 12px; padding: 17px 19px; cursor: pointer; list-style: none; }
.admin-editor summary::-webkit-details-marker { display: none; }
.admin-editor summary > span { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 35px; border-radius: 9px; color: white; background: #0879ca; font-size: 18px; font-weight: 900; }
.admin-editor summary > div { display: flex; flex-direction: column; gap: 3px; }
.admin-editor summary strong { color: var(--ink); font-size: 13px; }
.admin-editor summary small { color: #73869a; font-size: 10px; }
.admin-crud-form { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; padding: 22px; border-top: 1px solid #dce6ef; background: white; }
.admin-crud-form.compact { grid-template-columns: repeat(3,minmax(0,1fr)); }
.admin-crud-form h3 { grid-column: 1 / -1; margin: 12px 0 0; padding-bottom: 8px; border-bottom: 1px solid #e5edf4; color: #1a3859; font-size: 14px; }
.admin-crud-form h3:first-of-type { margin-top: 0; }
.admin-field { min-width: 0; display: grid; gap: 6px; }
.admin-field.full, .admin-security-note.full, .admin-form-error, .admin-form-actions { grid-column: 1 / -1; }
.admin-field > span { color: #556b82; font-size: 10px; font-weight: 800; }
.admin-field input, .admin-field select, .admin-field textarea { width: 100%; min-height: 43px; padding: 10px 11px; border: 1px solid #d4e0ea; border-radius: 9px; color: var(--ink); background: #fbfdff; font: inherit; font-size: 12px; }
.admin-field textarea { resize: vertical; }
.admin-field input:focus, .admin-field select:focus, .admin-field textarea:focus { outline: 2px solid rgba(0,145,225,.18); border-color: #1596dd; }
.admin-security-note { margin: 0; padding: 12px 14px; border-radius: 9px; color: #6a511d; background: #fff7e4; font-size: 10px; line-height: 1.5; }
.admin-check { display: flex; align-items: flex-start; gap: 9px; padding: 12px 14px; border: 1px solid #cfe1ed; border-radius: 9px; color: #41627d; background: #f3faff; font-size: 10px; line-height: 1.45; }
.admin-check.full { grid-column: 1 / -1; }
.admin-check input { width: 17px; height: 17px; flex: 0 0 17px; margin: 0; }
.admin-form-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 7px; }
.admin-record-list { display: grid; margin-top: 20px; border-top: 1px solid #e1e9f1; }
.admin-record-list article { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 4px; border-bottom: 1px solid #e7edf3; }
.admin-record-list article > div:first-child { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.admin-record-list strong { color: var(--ink); font-size: 12px; }
.admin-record-list small { color: #74879b; font-size: 10px; line-height: 1.4; }
.admin-record-list article > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.admin-record-list button, .admin-record-list a { min-height: 32px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid #cde0ef; border-radius: 8px; color: #0874bf; background: #f3faff; cursor: pointer; font-size: 9px; font-weight: 900; text-decoration: none; }
.admin-record-list .danger-link { color: #a84038; border-color: #f0cfcb; background: #fff6f5; }
.category-icon { margin-right: 8px; }
.expiry-chip, .publication-chip, .locked-chip { display: inline-flex; align-items: center; width: max-content; margin-left: 7px; padding: 4px 7px; border-radius: 999px; font-size: 8px; font-weight: 900; white-space: nowrap; }
.expiry-chip.success { color: #177a4d; background: #e7f7ee; }
.expiry-chip.warning { color: #8a5a0a; background: #fff3d6; }
.expiry-chip.danger { color: #a53b32; background: #ffeceb; }
.expiry-chip.neutral { color: #60758a; background: #edf2f6; }
.publication-chip.published { color: #086da9; background: #e6f4fc; }
.publication-chip.draft { color: #6c7280; background: #eef0f3; }
.locked-chip { margin: 0; color: #385873; background: #eaf2f8; }
.success-copy { color: #23734f; }
.panel-empty-copy { padding: 22px 0 5px; color: #7b8da1; font-size: 11px; }

@media (max-width: 1000px) {
  .results-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .profile-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .registration-layout { grid-template-columns: 1fr; gap: 35px; }
  .registration-intro { max-width: 700px; padding-top: 0; }
  .admin-page { grid-template-columns: 84px 1fr; }
  .admin-sidebar .brand > span:last-child, .admin-sidebar nav a:not(.active)::after, .admin-sidebar nav a { font-size: 0; }
  .admin-sidebar .brand-logo { width: 48px; }
  .admin-sidebar nav a { justify-content: center; }
  .admin-sidebar nav a > span { width: auto; font-size: 20px; }
  .admin-sidebar nav a b { position: absolute; margin: -25px 0 0 25px; font-size: 8px; }
  .admin-role > div { display: none; }
  .admin-role { justify-content: center; }
  .admin-cards { grid-template-columns: 1fr 1fr; }
  .admin-crud-form { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 235px minmax(0, 1fr); gap: 22px; }
  .legal-document { padding: 35px; }
}

@media (max-width: 700px) {
  .subpage-header { height: auto; min-height: 78px; padding: 14px 17px; }
  .subpage-header nav { display: none; }
  .subpage-header .brand small { display: none; }
  .panel-link { padding: 9px 11px; }
  .search-hero { padding-inline: 18px; }
  .compact-search { grid-template-columns: 1fr; }
  .results-layout { width: calc(100% - 30px); padding-top: 30px; }
  .result-card { grid-template-columns: 77px 1fr; gap: 13px; }
  .result-avatar { width: 77px; height: 77px; }
  .result-main h2 { font-size: 17px; }
  .result-actions { grid-column: 1 / -1; flex-direction: row; }
  .result-actions .button { flex: 1; }
  .profile-identity { align-items: flex-start; flex-direction: column; }
  .profile-layout { width: calc(100% - 30px); padding-top: 30px; }
  .profile-content { padding: 25px; }
  .info-grid { grid-template-columns: 1fr; }
  .representative-content { width: calc(100% - 30px); }
  .student-mission { padding: 26px 22px; }
  .student-impact { grid-template-columns: 1fr; }
  .verify-box { grid-template-columns: 1fr; text-align: center; }
  .verify-box .big-shield { margin: auto; }
  .verify-box form { grid-column: 1; flex-direction: column; }
  .representative-email-grid { grid-template-columns: 1fr; }
  .email-contact-card { grid-template-columns: 1fr; text-align: center; }
  .email-contact-card > span { margin: auto; }
  .email-contact-card p { min-height: 0; }
  .safety-grid { grid-template-columns: 1fr; }
  .official-list > div { grid-template-columns: 1fr; }
  .registration-header { width: calc(100% - 30px); }
  .registration-layout { width: calc(100% - 30px); padding-top: 35px; }
  .registration-intro h1 { font-size: 41px; }
  .registration-form { min-height: 0; padding: 25px 20px; }
  .registration-form fieldset { grid-template-columns: 1fr; }
  .field.full { grid-column: 1; }
  .registration-form legend, .registration-form fieldset > p, .review-block, .contract-preview, .consent { grid-column: 1; }
  .form-actions .button { flex: 1; min-width: 0; padding: 0 13px; }
  .success-card { margin-top: 40px; padding: 36px 24px; }
  .admin-page { display: block; }
  .admin-sidebar { min-height: auto; position: static; padding: 14px; flex-direction: row; align-items: center; }
  .admin-sidebar .brand { padding: 0; border: 0; }
  .admin-sidebar .brand-logo { width: 76px; }
  .admin-sidebar nav { display: none; }
  .admin-role { margin: 0 0 0 auto; padding: 0; border: 0; }
  .admin-content { padding: 25px 15px 50px; }
  .admin-module-selector { display: grid; gap: 7px; margin: 0 0 18px; }
  .admin-module-selector span { color: #52677c; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
  .admin-module-selector select { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #c8d8e4; border-radius: 10px; color: #07192d; background: white; font: inherit; font-weight: 800; }
  .admin-topbar { align-items: flex-start; }
  .admin-topbar > div:last-child { flex-direction: column; text-align: right; }
  .admin-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .admin-cards article { min-height: 110px; padding: 15px; }
  .admin-cards article > span { display: none; }
  .admin-table { overflow-x: auto; }
  .table-head, .table-row { min-width: 700px; }
  .admin-lower-grid { grid-template-columns: 1fr; }
  .admin-crud-form { grid-template-columns: 1fr; padding: 17px; }
  .admin-field.full, .admin-security-note.full, .admin-form-error, .admin-form-actions, .admin-crud-form h3 { grid-column: 1; }
  .admin-record-list article { align-items: flex-start; flex-direction: column; }
  .admin-record-list article > div:last-child { justify-content: flex-start; }
  .subpage-footer { align-items: flex-start; flex-direction: column; justify-content: center; }
  .legal-hero { padding-top: 50px; padding-bottom: 58px; }
  .legal-layout { width: calc(100% - 30px); display: block; padding: 30px 0 60px; }
  .legal-index { position: static; max-height: none; margin-bottom: 17px; }
  .legal-index nav { display: none; }
  .legal-document { padding: 26px 20px; border-radius: 15px; }
  .legal-intro { padding: 20px; }
  .legal-clause { padding-top: 31px; }
  .legal-clause h2 { align-items: flex-start; font-size: 19px; line-height: 1.25; }
  .legal-contact { align-items: stretch; flex-direction: column; }
  .legal-contact .button { width: 100%; }
}

.coming-soon-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
  padding: 42px 20px 28px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 187, 255, .18), transparent 28%),
    radial-gradient(circle at 82% 75%, rgba(255, 102, 0, .16), transparent 30%),
    linear-gradient(135deg, #00142f 0%, #082a50 55%, #103f70 100%);
}
.coming-soon-card {
  width: min(680px, 100%);
  padding: 48px 58px 44px;
  border: 1px solid rgba(112, 211, 255, .32);
  border-radius: 28px;
  background: rgba(0, 14, 35, .7);
  box-shadow: 0 32px 90px rgba(0, 0, 0, .32);
  backdrop-filter: blur(12px);
}
.coming-soon-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}
.coming-soon-brand .brand { color: #fff; }
.coming-soon-brand .brand small { color: #4dccff; }
.coming-soon-mark {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 25px;
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(145deg, #008cff, #00bce9);
  box-shadow: 0 14px 38px rgba(0, 153, 255, .32);
}
.coming-soon-kicker {
  color: #59d4ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}
.coming-soon-card h1 {
  margin: 12px 0 16px;
  font-size: clamp(48px, 9vw, 78px);
  line-height: .98;
  letter-spacing: -.045em;
}
.coming-soon-card > p {
  max-width: 555px;
  margin: 0 auto;
  color: #c8dcf2;
  font-size: 18px;
  line-height: 1.65;
}
.coming-soon-progress {
  height: 5px;
  margin: 32px auto 17px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}
.coming-soon-progress i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00b9f1, #ff7200);
}
.coming-soon-card > small {
  display: block;
  color: #8eabc8;
  font-size: 13px;
}
.coming-soon-card > a {
  display: inline-block;
  margin-top: 28px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.coming-soon-card > a:hover { color: #55d5ff; }
.coming-soon-page > footer {
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  letter-spacing: .08em;
}
@media (max-width: 620px) {
  .coming-soon-page { padding: 22px 14px; }
  .coming-soon-card { padding: 34px 22px 32px; border-radius: 22px; }
  .coming-soon-brand { margin-bottom: 26px; }
  .coming-soon-card > p { font-size: 16px; }
}
