@font-face { font-family: Inter; src: url('/marca/inter.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Poppins; src: url('/marca/poppins-semibold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url('/marca/poppins-bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root { --navy: #1a2851; --green: #7fdf3a; --white: #fff; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--navy); color: var(--white); font: 15px/1.55 Inter, system-ui, sans-serif; }
.entry-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100dvh; }
.identity, .entry-panel { position: relative; display: grid; place-items: center; }
.identity { padding: 64px; background: #f5f7fb; color: var(--navy); }
.brand-block { width: min(100%, 460px); text-align: center; }
.brand-block img { display: block; width: 100%; height: auto; }
.brand-rule { width: 48px; height: 4px; margin: 40px auto 22px; border-radius: 4px; background: var(--green); }
.brand-caption { margin: 0; font: 600 16px/1.4 Poppins, system-ui, sans-serif; }
.entry-panel {
    padding: 56px 42px;
    background: radial-gradient(ellipse at 100% 0%, #7fdf3a12, transparent 60%),
                radial-gradient(circle at 80% 82%, #ffffff0a 1px, transparent 2px);
    background-size: auto, 34px 34px;
}
.entry-panel::before {
    content: ""; position: absolute; left: 0; top: 20%; height: 60%; width: 1px;
    background: linear-gradient(transparent, #7fdf3a70, transparent);
}
.card { width: min(100%, 390px); }
h1 { margin: 0 0 12px; font: 700 34px/1.18 Poppins, system-ui, sans-serif; letter-spacing: -.035em; }
.intro { margin: 0 0 24px; color: #d0daef; font-size: 14px; }
label { display: block; margin: 18px 0 0; color: #e8edf7; font-size: 13px; font-weight: 600; }
input, button { width: 100%; min-height: 52px; border-radius: 9px; font: inherit; }
input { display: block; margin-top: 7px; padding: 14px 16px; border: 1px solid #8493b4; background: #ffffff08; color: var(--white); font-size: 16px; }
input:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 1000px #24345d inset; }
button { margin-top: 24px; padding: 12px 16px; border: 0; background: var(--green); color: var(--navy); font-weight: 700; cursor: pointer; }
button:hover { background: #94ec53; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
nav { display: flex; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; }
a { color: #e4edff; text-underline-offset: 4px; }
a:hover { color: var(--green); }
[role="status"] { border-left: 3px solid var(--green); padding: 10px 12px; background: #ffffff0b; }
@media (max-width: 760px) {
    .entry-layout { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .identity { padding: 30px 24px; }
    .brand-block { width: min(100%, 240px); }
    .brand-rule { display: none; }
    .brand-caption { margin-top: 18px; font-size: 14px; }
    .entry-panel { padding: 36px 24px 48px; align-items: start; }
    .entry-panel::before { display: none; }
    h1 { font-size: 29px; }
}

.registration-layout { grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr); }
.registration-layout .identity { align-items: start; }
.registration-layout .brand-block { position: sticky; top: 64px; }
.registration-layout .entry-panel { padding-block: 44px; }
.registration-layout .card { width: min(100%, 680px); }
.registration-layout fieldset { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.registration-layout legend { width: 100%; border-bottom: 1px solid #ffffff30; padding-bottom: 8px; font: 600 16px Poppins, sans-serif; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.registration-layout select { display: block; width: 100%; min-height: 52px; margin-top: 7px; padding: 10px 12px; border: 1px solid #8493b4; border-radius: 9px; background: #24345d; color: white; font: inherit; }
.field-help { color: #d0daef; font-size: 13px; }
@media (max-width: 900px) {
    .registration-layout { grid-template-columns: 1fr; }
    .registration-layout .identity { padding: 30px 24px; }
    .registration-layout .brand-block { position: static; width: min(100%, 240px); }
    .registration-layout .brand-rule { display: none; }
    .registration-layout .brand-caption { margin-top: 18px; }
}
@media (max-width: 520px) { .field-grid { grid-template-columns: 1fr; } }

.customer-area { background: #f5f7fb; color: var(--navy); min-height: 100vh; }
.customer-container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.customer-header { background: white; border-bottom: 1px solid #dce3ef; }
.customer-header-content { min-height: 80px; display: flex; align-items: center; gap: 20px; }
.customer-brand img { width: 180px; height: auto; display: block; }
.customer-header-content > span { font: 600 15px Poppins, sans-serif; }
.customer-header-content form { margin-left: auto; }
.customer-signout { width: auto; min-height: 40px; margin: 0; background: #eef2f8; }
.customer-main { padding: 32px 0 48px; }
.customer-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0 0 36px; gap: 12px; }
.customer-nav a { display: grid; gap: 4px; padding: 16px; border: 1px solid #dce3ef; border-radius: 12px; color: var(--navy); background: white; text-decoration: none; }
.customer-nav a[aria-current] { background: var(--navy); color: white; border-bottom: 4px solid var(--green); }
.customer-nav strong { font: 600 16px Poppins, sans-serif; }
.customer-nav span { font-size: 12px; }
.customer-intro,.customer-label,.customer-tools p { color: #475777; }
.customer-label { font-size: 13px; margin: 0 0 5px; }
.customer-box { background: white; border: 1px solid #dce3ef; border-radius: 12px; padding: 22px; margin-bottom: 14px; }
.service-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.customer-box h2,.customer-box h3 { font: 600 18px Poppins, sans-serif; margin: 0 0 10px; overflow-wrap: anywhere; }
.customer-status { display: inline-block; border-radius: 6px; padding: 4px 8px; background: #edf2fa; color: #324566; font-size: 12px; }
.customer-action { display: inline-block; background: var(--green); color: var(--navy); font-weight: 700; padding: 10px 15px; border-radius: 8px; text-decoration: none; }
.customer-action:hover { color: var(--navy); background: #94ec53; }
.customer-back { display: inline-block; color: var(--navy); margin-bottom: 16px; }
.customer-tools { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.customer-area :focus-visible { outline-color: var(--navy); }
@media (max-width: 720px) {
  .customer-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .customer-tools { grid-template-columns: 1fr; }
  .customer-header-content { gap: 10px; }
  .customer-brand img { width: 120px; }
  .customer-header-content > span { font-size: 12px; }
}

.mailbox-list { margin: 10px 0 0; padding: 0; list-style: none; }
.mailbox-list li { padding: 12px 0; border-top: 1px solid #dce3ef; overflow-wrap: anywhere; }
.mailbox-table-wrap { overflow-x: auto; }
.mailbox-table { width: 100%; border-collapse: collapse; min-width: 630px; font-size: 14px; }
.mailbox-table th,.mailbox-table td { padding: 13px 12px; text-align: left; border-bottom: 1px solid #dce3ef; vertical-align: top; }
.mailbox-table thead { background: #edf2fa; }
.mailbox-table small { display: block; }
.mailbox-table progress { display: block; width: 140px; max-width: 100%; margin-top: 5px; accent-color: var(--green); }
.mailbox-actions { display: flex; flex-wrap: wrap; align-items: start; gap: 8px; }
.mailbox-actions summary { padding: 9px; cursor: pointer; color: var(--navy); }
.mailbox-actions dd { margin: 0 0 6px; }
.mailbox-actions dt { font-weight: 650; }

.mailbox-search { display:flex; align-items:end; flex-wrap:wrap; gap:12px; margin:14px 0 22px; }
.mailbox-search label { margin:0; color:var(--navy); flex:0 1 300px; }
.mailbox-search input { min-height:42px; background:white; color:var(--navy); }
.mailbox-search button { width:auto; min-height:42px; margin:0; padding:8px 15px; }
.mailbox-search a,.mailbox-detail-link { color:var(--navy); }
.mailbox-detail-link { padding:9px 6px; }
.mailbox-detail dd { margin:0 0 9px; overflow-wrap:anywhere; }
.mailbox-detail dt { font-weight:650; }
.mailbox-detail progress { accent-color:var(--green); }

.pilot-form { max-width: 410px; }
.pilot-form label { color: var(--navy); }
.pilot-form input { color: var(--navy); background: white; }
.pilot-form button { margin: 12px 0; }

.mailbox-actions { flex-wrap: nowrap; gap: 6px; align-items: center; white-space: nowrap; }
.mailbox-actions a { display: inline-flex; align-items: center; gap: 4px; padding: 7px 9px; border-radius: 6px; font-size: 13px; }
.mailbox-actions .mailbox-manage { border: 1px solid #8493b4; color: var(--navy); text-decoration: none; }
.mailbox-actions .mailbox-manage:hover { background: #edf2fa; }

.mail-manage-title { font-size: clamp(23px, 3vw, 28px); margin-bottom: 6px; }
.mail-manage-card { width: min(100%, 420px); padding: 18px 20px; }
.mail-manage-card > p { font-size: 13px; margin: 0 0 10px; }
.mail-manage-card .pilot-form label { margin-top: 12px; }
.mail-manage-card .pilot-form input:not([type="hidden"]) { min-height: 40px; padding: 7px 10px; }
.mail-manage-card .pilot-form button { width: auto; min-height: 40px; padding: 8px 16px; margin: 14px 0 0; font-size: 14px; }
.mail-manage-card .pilot-form + .pilot-form { border-top: 1px solid #dce3ef; margin-top: 16px; }

.dashboard-grid { display:grid; grid-template-columns:230px minmax(0,1fr); gap:24px; }
.dashboard-side { min-width:0; }
.dashboard-profile { padding:16px; overflow-wrap:anywhere; }
.dashboard-profile p { margin:6px 0 0; font-size:13px; color:#475777; }
.dashboard-welcome { margin-bottom:20px; }
.dashboard-welcome h1 { margin:0 0 6px; font-size:clamp(25px,3vw,34px); }
.dashboard-welcome p,.dashboard-panels p { margin:0; color:#475777; }
.dashboard-links { list-style:none; padding:0; margin:0; }
.dashboard-links li + li { margin-top:8px; }
.dashboard-links a,.dashboard-section-head a { color:var(--navy); }
.dashboard-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:20px; }
.dashboard-metrics a { display:flex; flex-direction:column; min-height:100px; justify-content:center; padding:12px 14px; border:1px solid #dce3ef; border-bottom:3px solid var(--green); border-radius:10px; background:white; color:var(--navy); text-decoration:none; }
.dashboard-metrics a:hover { background:#edf2fa; color:var(--navy); }
.dashboard-metrics strong { font:700 26px/1.1 Poppins,sans-serif; }
.dashboard-metrics span { font-weight:650; }
.dashboard-metrics small { color:#475777; font-size:11px; }
.dashboard-section-head,.dashboard-service-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.dashboard-section-head h2,.dashboard-service-row h3 { margin:0; }
.dashboard-service-row { border-top:1px solid #dce3ef; margin-top:12px; padding-top:14px; }
.dashboard-service-row .customer-status { margin-top:6px; }
.dashboard-panels { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
@media(max-width:820px) {
  .dashboard-grid { grid-template-columns:1fr; }
  .dashboard-side { grid-row:2; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
}
@media(max-width:520px) {
  .dashboard-side,.dashboard-panels { grid-template-columns:1fr; }
  .dashboard-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.dashboard-metrics a { position: relative; }
.dashboard-icon {
  position: absolute; top: 11px; right: 11px; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 9px; background: #edf2fa; color: var(--navy);
}
.dashboard-icon span { position: relative; display: block; }
.icon-services span { width: 19px; height: 17px; border: 2px solid; border-radius: 3px; }
.icon-services span::before { content: ""; position: absolute; inset: 4px 0 auto; border-top: 2px solid; }
.icon-services span::after { content: ""; position: absolute; width: 6px; left: 5px; top: 9px; border-top: 2px solid; }
.icon-domains span { width: 19px; height: 19px; border: 2px solid; border-radius: 50%; }
.icon-domains span::before { content: ""; position: absolute; inset: -2px 3px; border: 1.5px solid; border-radius: 50%; }
.icon-domains span::after { content: ""; position: absolute; inset: 6.5px 0 auto; border-top: 2px solid; }
.icon-tickets span { width: 19px; height: 15px; border: 2px solid; border-radius: 4px; }
.icon-tickets span::before { content: ""; position: absolute; bottom: -4px; left: 2px; width: 5px; height: 5px; border-left: 2px solid; border-bottom: 2px solid; transform: skewY(-35deg); background: #edf2fa; }
.icon-tickets span::after { content: ""; position: absolute; width: 8px; left: 3px; top: 4px; border-top: 2px solid; }
.icon-invoices span { width: 15px; height: 20px; border: 2px solid; border-radius: 3px; }
.icon-invoices span::before { content: ""; position: absolute; inset: 4px 2px auto; border-top: 2px solid; }
.icon-invoices span::after { content: ""; position: absolute; inset: 9px 2px auto; border-top: 2px solid; }

.account-header-actions { margin:0 0 0 auto; display:flex; align-items:center; gap:8px; }
.account-header-actions a { color:var(--navy); padding:8px; border-radius:6px; text-decoration:none; white-space:nowrap; }
.account-header-actions a:hover { background:#edf2fa; }
.customer-header-content .account-header-actions + form { margin-left:0; }
.account-badge { background:var(--green); border-radius:10px; padding:2px 6px; font-size:12px; }
.account-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(0,1fr); align-items:start; gap:16px; }
.account-card label { color:var(--navy); margin-top:10px; }
.account-card input:not([type=hidden]),.account-card select {
  min-height:40px; margin-top:5px; padding:7px 10px; background:white; color:var(--navy);
  border:1px solid #8493b4; border-radius:8px; width:100%; font:inherit;
}
.account-card select { display:block; }
.account-card button { width:auto; min-height:40px; margin-top:14px; padding:8px 15px; }
.account-events { list-style:none; padding:0; }
.account-events li { padding:12px 0; border-bottom:1px solid #dce3ef; }
.account-events small { display:block; color:#475777; }
@media (max-width:820px) { .account-grid { grid-template-columns:1fr; } }
@media (max-width:620px) {
  .customer-header-content { flex-wrap:wrap; padding-block:10px; }
  .customer-header-content > span { display:none; }
  .account-header-actions { font-size:12px; gap:0; }
  .account-header-actions a { padding:5px; }
}

.account-gear { display:inline-block; font-size:23px; line-height:1; vertical-align:-.12em; margin-right:3px; }

.operator-layout { display:grid; grid-template-columns:224px minmax(0,1fr); gap:28px; padding-block:28px 48px; }
.operator-sidebar { align-self:start; padding:14px; border-radius:12px; background:var(--navy); color:white; }
.operator-person { padding:8px 10px 14px; margin:0; border-bottom:1px solid #ffffff35; overflow-wrap:anywhere; }
.operator-person span { display:block; color:#d0daef; font-size:13px; }
.operator-sidebar nav { display:grid; gap:4px; margin:12px 0 0; }
.operator-sidebar nav a { display:block; padding:8px 10px; color:white; border-radius:6px; text-decoration:none; }
.operator-sidebar nav a[aria-current],.operator-sidebar nav a:hover { background:#ffffff1b; }
.operator-sidebar nav a[aria-current] { border-left:3px solid var(--green); padding-left:7px; }
.operator-sidebar nav a:focus-visible { outline-color:var(--green); }
.operator-main { min-width:0; }
.operator-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.operator-metrics article { border-bottom:3px solid var(--green); }
.operator-metrics strong { display:block; font:700 28px Poppins,sans-serif; }
.operator-next a { color:var(--navy); }
@media(max-width:760px) {
  .operator-layout { grid-template-columns:1fr; gap:16px; }
  .operator-sidebar nav { grid-template-columns:repeat(auto-fit,minmax(110px,1fr)); }
}
@media(max-width:480px) { .operator-metrics { grid-template-columns:1fr; } }

.operator-metrics article { position:relative; }
.operator-menu-icon { display:inline-block; width:24px; color:#bceca5; }
.operator-forms { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:start; }
.operator-form-single { max-width:480px; }
.operator-row { border-top:1px solid #dce3ef; padding:10px 0; }
.operator-row p { margin:3px 0; color:#475777; font-size:14px; overflow-wrap:anywhere; }
@media(max-width:650px) { .operator-forms { grid-template-columns:1fr; } }
