:root { --bg: #f1f1f1; --surface: #fff; --surface-2: #f7f7f7; --border: #e3e3e3; --text: #303030; --text-2: #616161; --text-3: #8a8a8a; --accent: #2a78d6; --radius: 12px; --mono: ui-monospace, SFMono-Regular, Menlo, monospace; }
[hidden] { display: none !important; }
* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; color: var(--text); background: var(--bg); }
a { color: #005bd3; text-decoration: none; } a:hover { text-decoration: underline; }
h1 { font-size: 22px; margin: 0; } h2 { font-size: 15px; margin: 0 0 12px; }
.topbar { background: #1a1a1a; color: #fff; height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; position: sticky; top: 0; z-index: 10; }
.topbar a { color: #fff; } .brand { font-weight: 700; display: flex; gap: 10px; align-items: center; }
.brand i { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #2a78d6, #1baf7a); display: grid; place-items: center; font-style: normal; font-size: 13px; }
.shell { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 52px); }
.side { padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.side a { color: var(--text); padding: 7px 12px; border-radius: 8px; font-weight: 550; }
.side a.on, .side a:hover { background: #fff; text-decoration: none; }
.main { padding: 24px; max-width: 1180px; width: 100%; }
.head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.sub { color: var(--text-2); }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(0,0,0,.07), 0 0 0 1px rgba(0,0,0,.05); padding: 18px; margin-bottom: 16px; }
.card.flush { padding: 0; overflow: hidden; } .card.flush h2 { padding: 16px 18px 0; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; } .grid-3 { grid-template-columns: repeat(3, 1fr); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); } .kpi { padding: 16px 18px; border-right: 1px solid var(--border); } .kpi:last-child { border: 0; }
.kpi small { color: var(--text-2); font-weight: 550; } .kpi b { display: block; font-size: 22px; margin-top: 2px; }
table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 12.5px; color: var(--text-2); font-weight: 550; background: var(--surface-2); } tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr[data-href] { cursor: pointer; } tr[data-href]:hover td { background: #fafafa; }
.btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid #c9c9c9; background: #fff; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.btn:hover { text-decoration: none; background: #f6f6f6; } .btn-primary { background: #303030; border-color: #303030; color: #fff; } .btn-primary:hover { background: #1a1a1a; }
.btn-danger { color: #b42318; } .btn-sm { height: 28px; padding: 0 10px; font-size: 13px; } .btn-block { width: 100%; justify-content: center; }
form.inline { display: inline; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; } .field > span { font-weight: 550; }
.input, select, textarea { width: 100%; font: inherit; padding: 7px 10px; border: 1px solid #c9c9c9; border-radius: 8px; background: #fff; color: var(--text); }
.input:focus, select:focus, textarea:focus { outline: 2px solid #005bd3; outline-offset: -1px; }
.help { color: var(--text-2); font-size: 12.5px; } .check { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 1px 9px; border-radius: 8px; font-size: 12.5px; font-weight: 550; background: #e8e8e8; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.b-active { background: #cdfee1; color: #0c5132; } .b-trial { background: #e0f0ff; color: #00527c; } .b-past_due { background: #ffeb78; color: #4f4700; }
.b-suspended, .b-cancelled { background: #fedad9; color: #8e1f0b; }
.flash { padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; } .flash-success { background: #cdfee1; color: #0c5132; } .flash-error { background: #fedad9; color: #8e1f0b; }
.banner { padding: 10px 14px; border-radius: 10px; background: #e0f0ff; color: #00527c; margin-bottom: 14px; } .banner.warn { background: #fff1c2; color: #5e4200; } .banner.crit { background: #fedad9; color: #8e1f0b; }
code, .mono { font-family: var(--mono); font-size: 12.5px; } pre { background: #1a1a1a; color: #e9e9e9; padding: 14px; border-radius: 10px; overflow-x: auto; font-size: 12.5px; line-height: 1.6; white-space: pre; margin: 0; }
.copy-wrap { position: relative; } .copy-wrap .btn { position: absolute; top: 8px; right: 8px; height: 26px; font-size: 12px; }
.bar { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; margin: 6px 0 2px; } .bar span { display: block; height: 100%; background: #2a78d6; }
.bar.high span { background: #eda100; } .bar.full span { background: #d03b2f; }
dl.dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 12px; margin: 0; } dl.dl dt { color: var(--text-2); } dl.dl dd { margin: 0; }
.muted { color: var(--text-2); } .subtle { color: var(--text-3); font-size: 12.5px; } .strong { font-weight: 600; } .danger { color: #b42318; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.plan { border: 1px solid var(--border); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.plan.current { border-color: #2a78d6; box-shadow: 0 0 0 1px #2a78d6; } .plan .price { font-size: 26px; font-weight: 750; } .plan .price small { font-size: 13px; color: var(--text-2); font-weight: 500; }
.plan ul { margin: 0; padding-left: 18px; color: var(--text-2); } .plan form { margin-top: auto; }
.public { max-width: 920px; margin: 0 auto; padding: 32px 16px; } .public-head { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-weight: 700; font-size: 16px; }
.login { max-width: 380px; margin: 12vh auto; }
@media (max-width: 900px) { .shell { grid-template-columns: 1fr; } .side { flex-direction: row; overflow-x: auto; padding: 8px; } .grid, .grid-3 { grid-template-columns: 1fr; } .kpis { grid-template-columns: repeat(2, 1fr); } .main { padding: 16px; } dl.dl { grid-template-columns: 1fr; } }
/* Contratación online */
.su { max-width: 760px; margin: 0 auto; }
.su-hero { margin: 8px 0 26px; } .su-hero h1 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -.02em; line-height: 1.15; } .su-hero p { color: var(--text-2); font-size: 15.5px; margin: 10px 0 0; max-width: 60ch; }
.su-form { display: flex; flex-direction: column; gap: 16px; }
.su-step { background: var(--surface); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(0,0,0,.07), 0 0 0 1px rgba(0,0,0,.05); padding: 20px; }
.su-step h2 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 14px; }
.su-n { width: 24px; height: 24px; border-radius: 50%; background: #303030; color: #fff; display: grid; place-items: center; font-size: 12.5px; flex: none; }
.su-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.su-plan { position: relative; cursor: pointer; display: flex; }
.su-plan input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.su-plan-body { flex: 1; display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--border); border-radius: 12px; padding: 16px; transition: border-color .12s, box-shadow .12s; }
.su-plan:hover .su-plan-body { border-color: #b5b5b5; }
.su-plan input:checked + .su-plan-body { border-color: #303030; box-shadow: 0 0 0 1px #303030; }
.su-plan input:focus-visible + .su-plan-body { outline: 2px solid #005bd3; outline-offset: 2px; }
.su-plan-name { font-weight: 650; } .su-plan-price { font-size: 24px; font-weight: 750; letter-spacing: -.02em; } .su-plan-price small { font-size: 13px; font-weight: 500; color: var(--text-2); margin-left: 2px; }
.su-plan-desc { color: var(--text-2); font-size: 13px; }
.su-plan-list { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; font-size: 13px; color: var(--text-2); }
.su-plan-list span::before { content: "✓"; color: #1a8a50; margin-right: 6px; font-weight: 700; }
.su-plan-tag { align-self: flex-start; font-size: 12px; font-weight: 600; background: #303030; color: #fff; border-radius: 999px; padding: 2px 9px; margin-bottom: 4px; }
.su-plan.is-featured .su-plan-body { border-color: #8a8a8a; }
.su-plan-price { font-size: 22px; }
.su-seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 3px; margin-bottom: 14px; }
.su-seg label { position: relative; cursor: pointer; } .su-seg input { position: absolute; opacity: 0; }
.su-seg span { display: block; padding: 7px 14px; border-radius: 8px; font-weight: 600; color: var(--text-2); }
.su-seg input:checked + span { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.su-seg input:focus-visible + span { outline: 2px solid #005bd3; }
.su-domain { display: flex; align-items: stretch; } .su-domain > span { display: grid; place-items: center; padding: 0 10px; border: 1px solid #c9c9c9; border-right: 0; border-radius: 8px 0 0 8px; background: var(--surface-2); color: var(--text-2); }
.su-domain .input { border-radius: 0 8px 8px 0; }
.field-error { color: #b42318; font-size: 12.5px; font-weight: 550; } .input[aria-invalid="true"] { border-color: #d03b2f; }
.su-sum { background: var(--surface); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(0,0,0,.07), 0 0 0 1px rgba(0,0,0,.05); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.su-sum-row { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); }
.su-sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--border); padding-top: 10px; } .su-sum-total strong { font-size: 22px; }
.su-pay { height: 44px; font-size: 15px; } .su-pay:disabled { opacity: .7; cursor: progress; }
.su-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.su-thanks h1 { margin-bottom: 8px; } .su-ok { width: 46px; height: 46px; border-radius: 50%; background: #cdfee1; color: #0c5132; display: grid; place-items: center; margin-bottom: 14px; }
.side .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 10px; background: #303030; color: #fff; font-size: 11.5px; }
.b-pending { background: #e8e8e8; color: #4a4a4a; } .b-paid { background: #ffeb78; color: #4f4700; } .b-ready { background: #cdfee1; color: #0c5132; }
.b-quote { background: #e0ecff; color: #0b3b8a; }
.flash-info { background: #e0f0ff; color: #00527c; }
.cancel-box > summary { list-style: none; cursor: pointer; }
.cancel-box > summary::-webkit-details-marker { display: none; }
.cancel-box[open] > summary { display: none; }
.cancel-box .card { max-width: 520px; }
.b-overdue { background: #fedad9; color: #8e1f0b; } .b-suspended { background: #303030; color: #fff; } .b-cancel { background: #fff1c2; color: #5e4200; }
.pw { font-family: ui-monospace, Menlo, monospace; background: #f1f1f1; padding: 2px 8px; border-radius: 6px; }
/* Web y blog */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: -6px 0 18px; border-bottom: 1px solid var(--border); }
.tabs a { padding: 8px 12px; color: var(--text-2); font-weight: 550; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--text); border-color: #303030; } .tabs a:hover { text-decoration: none; color: var(--text); }
.ed { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.ed-side { position: sticky; top: 64px; display: grid; gap: 16px; max-height: calc(100vh - 76px); overflow-y: auto; padding-bottom: 8px; }
.ed-side .card { margin: 0; }
.ed .title-input { font-size: 22px; font-weight: 650; padding: 10px 12px; }
.serp { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font-family: Arial, sans-serif; background: #fff; }
.serp .u { color: #202124; font-size: 12px; } .serp .t { color: #1a0dab; font-size: 18px; line-height: 1.3; margin: 2px 0; } .serp .d { color: #4d5156; font-size: 13px; line-height: 1.5; }
.score { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .score b { font-size: 26px; }
.score .ring { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 13px; }
.checks li { padding-left: 20px; position: relative; } .checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 9px; height: 9px; border-radius: 50%; }
.checks .good::before { background: #1baf7a; } .checks .warn::before { background: #e6a700; } .checks .bad::before { background: #d03b2f; }
.linklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 13px; }
.linklist li { border-left: 3px solid #2a78d6; padding: 2px 0 2px 8px; } .linklist li.page { border-color: #1baf7a; } .linklist li.missed { border-color: #ccc; color: var(--text-3); }
.counter { font-size: 12px; color: var(--text-3); float: right; font-weight: 400; } .counter.bad { color: #d03b2f; }
.faq-row { display: grid; gap: 6px; padding: 10px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 8px; position: relative; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.media-grid figure { margin: 0; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.media-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: #eee; }
.media-grid figcaption { padding: 8px; font-size: 12px; display: grid; gap: 6px; }
.picker { width: min(860px, 94vw); border: 0; border-radius: 14px; padding: 18px; } .picker::backdrop { background: rgba(0,0,0,.45); }
.picker .media-grid button { all: unset; cursor: pointer; display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.picker .media-grid button:focus-visible, .picker .media-grid button:hover { box-shadow: 0 0 0 3px #2a78d6; }
.cover-prev { width: 100%; border-radius: 8px; display: block; margin-bottom: 8px; aspect-ratio: 16/9; object-fit: cover; background: #eee; }
.pill { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #eef2ff; color: #3949ab; font-size: 12px; margin: 2px 2px 0 0; }
@media (max-width: 1100px) { .ed { grid-template-columns: 1fr; } .ed-side { position: static; max-height: none; } }
