/* Hostarna – design systém. Bez frameworku, bez build kroku. Světlý i tmavý režim. */
:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --bg: #F6F5F0; --surface: #FFFFFF; --surface-2: #EFEDE6; --border: #E2DFD6; --border-strong: #C9C5BA;
  --text: #1B1A17; --text-2: #5B5953; --text-3: #74716A;
  --primary: #0E7C66; --primary-hover: #0B6553; --primary-soft: #E1F2ED; --on-primary: #FFFFFF; --primary-ring: rgba(14,124,102,.28);
  --accent: #C2650A; --accent-soft: #FCEEDC;
  --ok: #15803D; --ok-soft: #DCF5E3; --warn: #A15A05; --warn-soft: #FDF0D5; --bad: #B42323; --bad-soft: #FCE3E3; --info: #1E52C4; --info-soft: #E0E9FB;
  --shadow: 0 1px 2px rgba(27,26,23,.05), 0 4px 16px rgba(27,26,23,.05);
  --shadow-lg: 0 8px 32px rgba(27,26,23,.12);
  --r: 12px; --r-sm: 8px;
  --sidebar: 236px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #111412; --surface: #191D1A; --surface-2: #212622; --border: #2C322E; --border-strong: #3E463F;
  --text: #ECEAE3; --text-2: #B4B1A8; --text-3: #8F8C84; --primary: #3FCDA8; --primary-hover: #63DAB9; --primary-soft: #16352D; --on-primary: #0B1F1A; --primary-ring: rgba(63,205,168,.35);
  --accent: #F0A24B; --accent-soft: #3A2A12; --ok: #4ADE80; --ok-soft: #14301F; --warn: #FBBF24; --warn-soft: #3A2C0C; --bad: #F87171; --bad-soft: #3B1616; --info: #7FA6F5; --info-soft: #17233F;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.3); --shadow-lg: 0 8px 32px rgba(0,0,0,.5); color-scheme: dark; } }
:root[data-theme="dark"] { --bg: #111412; --surface: #191D1A; --surface-2: #212622; --border: #2C322E; --border-strong: #3E463F;
  --text: #ECEAE3; --text-2: #B4B1A8; --text-3: #8F8C84; --primary: #3FCDA8; --primary-hover: #63DAB9; --primary-soft: #16352D; --on-primary: #0B1F1A; --primary-ring: rgba(63,205,168,.35);
  --accent: #F0A24B; --accent-soft: #3A2A12; --ok: #4ADE80; --ok-soft: #14301F; --warn: #FBBF24; --warn-soft: #3A2C0C; --bad: #F87171; --bad-soft: #3B1616; --info: #7FA6F5; --info-soft: #17233F;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.3); --shadow-lg: 0 8px 32px rgba(0,0,0,.5); color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .35em; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); } h2 { font-size: 1.35rem; } h3 { font-size: 1.1rem; } h4 { font-size: 1rem; }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
small, .muted { color: var(--text-2); } .small { font-size: .875rem; } .xs { font-size: .8rem; } .faint { color: var(--text-3); }
code, .mono { font-family: var(--mono); font-size: .92em; }
code { background: var(--surface-2); padding: .1em .4em; border-radius: 4px; word-break: break-all; }
hr { border: 0; border-top: 1px solid var(--border); margin: 1.25rem 0; }
:focus-visible { outline: 3px solid var(--primary-ring); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: .5rem 1rem; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
svg[aria-hidden="true"] { width: 1em; height: 1em; vertical-align: -.15em; flex: none; }
.card { container-type: inline-size; }
@container (max-width: 480px) { .kv { grid-template-columns: 1fr; gap: .1rem; } .kv dd { margin-bottom: .6rem; } }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout: veřejný web ---------- */
.pub-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.pub-header .wrap { display: flex; align-items: center; gap: 1.25rem; height: 64px; }
.pub-header nav { display: flex; gap: 1.25rem; margin-left: auto; align-items: center; }
.pub-header nav a:not(.btn) { color: var(--text-2); font-weight: 500; } .pub-header nav a:not(.btn):hover { color: var(--text); text-decoration: none; }
.wrap { width: min(1100px, 100% - 2rem); margin: 0 auto; }
.pub-footer { border-top: 1px solid var(--border); padding: 2.5rem 0; margin-top: 4rem; color: var(--text-2); font-size: .9rem; }
.pub-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.pub-footer a { color: var(--text-2); }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--text); }
.brand:hover { text-decoration: none; } .brand svg { width: 30px; height: 30px; flex: none; }

.hero { padding: clamp(3rem, 8vw, 6rem) 0 2rem; text-align: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 22ch; margin: 0 auto .75rem; letter-spacing: -.03em; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-2); max-width: 46ch; margin: 0 auto 1.75rem; }
.hero .cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: .75rem; }
.section { padding: 3.5rem 0; } .section h2 { text-align: center; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .5rem; }
.section .sub { text-align: center; color: var(--text-2); max-width: 52ch; margin: 0 auto 2.25rem; }
.grid { display: grid; gap: 1.25rem; } .grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } .grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.feature { padding: 1.5rem; } .feature .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 1rem; }
.feature .ic svg { width: 22px; height: 22px; }
.plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.75rem; }
.plan.hl { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg); }
.plan .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--on-primary); font-size: .75rem; font-weight: 700; padding: .25rem .75rem; border-radius: 999px; white-space: nowrap; }
.plan .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; margin: .5rem 0 0; } .plan .price small { font-size: 1rem; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .5rem; flex: 1; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; } .plan li svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: .2rem; }
.toggle { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 4px; gap: 4px; margin: 0 auto 2rem; }
.toggle label { padding: .45rem 1.1rem; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--text-2); font-size: .95rem; }
.toggle input { position: absolute; opacity: 0; } .toggle input:checked + label { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.faq details { border-top: 1px solid var(--border); padding: 1rem 0; } .faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--text-3); font-weight: 400; } .faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); margin-top: .6rem; }

/* ---------- layout: aplikace ---------- */
.shell { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100dvh; }
.side { position: sticky; top: 0; height: 100dvh; padding: 1.25rem 1rem; border-right: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; gap: 1.5rem; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side nav a, .side nav .group { display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; border-radius: var(--r-sm); color: var(--text-2); font-weight: 500; }
.side nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.side nav a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.side nav a svg { width: 20px; height: 20px; flex: none; }
.side .group { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-top: .75rem; padding-bottom: .25rem; }
.side .bottom { margin-top: auto; display: grid; gap: .5rem; }
.user-chip { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: var(--r-sm); background: var(--surface-2); font-size: .85rem; min-width: 0; }
.user-chip .av { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-weight: 700; flex: none; }
.user-chip .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main { min-width: 0; padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 5rem; }
.main > .inner { max-width: 1040px; margin: 0 auto; }
.topbar { display: none; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.page-head h1 { margin: 0; } .page-head .actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.crumbs { font-size: .875rem; color: var(--text-2); margin-bottom: .35rem; } .crumbs a { color: var(--text-2); }
.tabbar { display: none; }
@media (max-width: 959px) {
  .shell { grid-template-columns: 1fr; } .side { display: none; }
  .topbar { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; border-bottom: 1px solid var(--border); background: var(--surface); position: sticky; top: 0; z-index: 20; }
  .main { padding: 1rem 1rem 6rem; }
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border); z-index: 20; padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .55rem 0 .5rem; font-size: .7rem; color: var(--text-2); font-weight: 500; }
  .tabbar a svg { width: 22px; height: 22px; } .tabbar a[aria-current="page"] { color: var(--primary); }
  .tabbar a:hover { text-decoration: none; }
}

/* ---------- komponenty ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); }
.card.pad { padding: 1.25rem; } .card.pad-lg { padding: 1.75rem; }
.card + .card, .stack > * + * { margin-top: 1.25rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
.card-body { padding: 1.25rem; }
.card-foot { padding: .9rem 1.25rem; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 var(--r) var(--r); font-size: .9rem; color: var(--text-2); }
.soft { background: var(--surface-2); border-color: transparent; box-shadow: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .6rem 1.05rem; border-radius: var(--r-sm); border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; line-height: 1.2; text-decoration: none !important; transition: background .15s, border-color .15s, transform .05s; white-space: nowrap; }
.btn:active { transform: translateY(1px); } .btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: var(--on-primary); } .btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); } .btn-secondary:hover { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--text-2); } .btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-danger { background: transparent; color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, transparent); } .btn-danger:hover { background: var(--bad-soft); }
.btn-danger.solid { background: var(--bad); color: #fff; }
.btn-lg { padding: .85rem 1.5rem; font-size: 1.05rem; border-radius: 10px; } .btn-sm { padding: .38rem .7rem; font-size: .85rem; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); } .icon-btn svg { width: 17px; height: 17px; }
.icon-btn.ok { color: var(--ok); border-color: var(--ok); }

.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label, .label { font-weight: 600; font-size: .9rem; }
.field .hint { font-size: .82rem; color: var(--text-2); }
.field .err { font-size: .85rem; color: var(--bad); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=tel], input[type=date], input[type=search], select, textarea {
  width: 100%; font: inherit; padding: .65rem .8rem; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--text); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }
input[aria-invalid="true"] { border-color: var(--bad); }
textarea { min-height: 120px; resize: vertical; }
.input-group { display: flex; } .input-group input { border-radius: var(--r-sm) 0 0 var(--r-sm); } .input-group .addon { display: flex; align-items: center; padding: 0 .8rem; border: 1px solid var(--border-strong); border-left: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--surface-2); color: var(--text-2); white-space: nowrap; font-size: .95rem; }
.input-group select { width: auto; border-radius: 0 var(--r-sm) var(--r-sm) 0; border-left: 0; }
.row { display: flex; gap: 1rem; flex-wrap: wrap; } .row > * { flex: 1 1 200px; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; } .check input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--primary); }
.radio-cards { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.radio-cards label { display: block; padding: .9rem 1rem; border: 1px solid var(--border-strong); border-radius: var(--r-sm); cursor: pointer; background: var(--surface); }
.radio-cards input { position: absolute; opacity: 0; } .radio-cards input:checked + label, .radio-cards label:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); background: var(--primary-soft); }
.radio-cards input:focus-visible + label { outline: 3px solid var(--primary-ring); }
.radio-cards .t { font-weight: 700; } .radio-cards .d { font-size: .85rem; color: var(--text-2); }
.form-actions { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-top: 1.25rem; }

.badge { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.badge.ok { background: var(--ok-soft); color: var(--ok); } .badge.warn { background: var(--warn-soft); color: var(--warn); } .badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.wait { background: var(--info-soft); color: var(--info); } .badge.wait::before { animation: pulse 1.2s infinite; } .badge.muted { color: var(--text-3); }
@keyframes pulse { 50% { opacity: .3; } }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--text-3); vertical-align: middle; }
.dot.ok { background: var(--ok); } .dot.warn { background: var(--warn); } .dot.bad { background: var(--bad); } .dot.wait { background: var(--info); animation: pulse 1.2s infinite; }

.flash { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: var(--r-sm); margin-bottom: 1.25rem; border: 1px solid transparent; font-size: .95rem; }
.flash svg { width: 20px; height: 20px; flex: none; margin-top: .1rem; }
.flash.success { background: var(--ok-soft); color: var(--ok); } .flash.error { background: var(--bad-soft); color: var(--bad); } .flash.info { background: var(--info-soft); color: var(--info); } .flash.warn { background: var(--warn-soft); color: var(--warn); }
.flash .x { margin-left: auto; background: none; border: 0; color: inherit; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.notice { padding: .9rem 1.1rem; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--surface-2); font-size: .93rem; }
.notice.warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); } .notice.info { background: var(--info-soft); border-color: transparent; color: var(--info); }
.notice.bad { background: var(--bad-soft); border-color: transparent; color: var(--bad); } .notice.ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.notice a { color: inherit; text-decoration: underline; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; } tbody tr:hover td { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td .sub { display: block; font-size: .82rem; color: var(--text-2); }
.td-actions { text-align: right; white-space: nowrap; }
@media (max-width: 640px) { .table-stack thead { display: none; } .table-stack tr { display: block; padding: .75rem 1rem; border-bottom: 1px solid var(--border); } .table-stack td { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; border: 0; text-align: left !important; }
  .table-stack td::before { content: attr(data-l); color: var(--text-3); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; flex: none; } .table-stack td.td-actions { justify-content: flex-start; margin-top: .4rem; } .table-stack td.td-actions::before { display: none; } }

.list { display: grid; } .list > .item { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.25rem; border-bottom: 1px solid var(--border); }
.list > .item:last-child { border-bottom: 0; } .item .grow { flex: 1; min-width: 0; } .item .t { font-weight: 600; overflow-wrap: anywhere; } .item .d { font-size: .85rem; color: var(--text-2); }
.item .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); flex: none; } .item .ic svg { width: 19px; height: 19px; }
.item .ic.ok { background: var(--ok-soft); color: var(--ok); } .item .ic.warn { background: var(--warn-soft); color: var(--warn); } .item .ic.bad { background: var(--bad-soft); color: var(--bad); } .item .ic.pri { background: var(--primary-soft); color: var(--primary); }
a.item:hover { background: var(--surface-2); text-decoration: none; } a.item { color: inherit; }

.kpis { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.kpi { padding: 1rem 1.25rem; } .kpi .l { font-size: .8rem; color: var(--text-2); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; } .kpi .v { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin: .2rem 0; font-variant-numeric: tabular-nums; } .kpi .s { font-size: .82rem; color: var(--text-2); }
.progress { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: .5rem; } .progress span { display: block; height: 100%; background: var(--primary); border-radius: 999px; transition: width .4s; }
.progress.warn span { background: var(--warn); } .progress.bad span { background: var(--bad); }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; font-size: .95rem; } .kv dt { color: var(--text-2); } .kv dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; gap: .1rem; } .kv dd { margin-bottom: .6rem; } }
.copy-row { display: flex; align-items: center; gap: .5rem; background: var(--surface-2); border-radius: var(--r-sm); padding: .5rem .5rem .5rem .8rem; font-family: var(--mono); font-size: .9rem; word-break: break-all; }
.copy-row .val { flex: 1; min-width: 0; }
.copy-row.secret .val { letter-spacing: .05em; }
.dns-table td:first-child { font-weight: 600; white-space: nowrap; } .dns-table .mono { overflow-wrap: anywhere; }
.dns-table td .copy-row { margin: 0; }
@media (max-width: 720px) { .dns-table thead { display: none; } .dns-table tr { display: block; padding: .6rem 0 .8rem; border-bottom: 1px solid var(--border); } .dns-table tr:last-child { border-bottom: 0; } .dns-table td { display: block; padding: .2rem 0; border: 0; white-space: normal; } .dns-table td:first-child { color: var(--primary); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; } .dns-table td:first-child .sub { display: inline; margin-left: .4rem; text-transform: none; letter-spacing: 0; } .dns-table td:nth-child(2)::before { content: "Název"; } .dns-table td:nth-child(3)::before { content: "Hodnota"; } .dns-table td:nth-child(n+2)::before { display: block; font-size: .72rem; color: var(--text-3); margin: .25rem 0 .15rem; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: 1.75rem; counter-reset: s; }
.steps li { list-style: none; position: relative; padding-top: .6rem; font-size: .85rem; color: var(--text-3); border-top: 3px solid var(--border); }
.steps li.done { border-color: var(--ok); color: var(--text-2); } .steps li.now { border-color: var(--primary); color: var(--text); font-weight: 600; }
@media (max-width: 560px) { .steps li span { display: none; } .steps li.now span { display: inline; } }
.spinner { width: 22px; height: 22px; border: 3px solid var(--border-strong); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; } .checklist li { display: flex; gap: .7rem; align-items: flex-start; } .checklist svg { width: 20px; height: 20px; flex: none; margin-top: .15rem; }
.checklist .ok svg { color: var(--ok); } .checklist .bad svg { color: var(--bad); } .checklist .wait svg { color: var(--text-3); }
.checklist .d { font-size: .85rem; color: var(--text-2); display: block; }

.empty { text-align: center; padding: 3rem 1.5rem; color: var(--text-2); } .empty svg { width: 44px; height: 44px; color: var(--text-3); margin-bottom: .75rem; } .empty h3 { color: var(--text); } .empty p { max-width: 40ch; margin: 0 auto 1.25rem; }

dialog { border: 0; border-radius: var(--r); padding: 0; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); width: min(520px, calc(100% - 2rem)); }
dialog::backdrop { background: rgba(10,12,11,.55); backdrop-filter: blur(2px); }
dialog .dlg-head { padding: 1.1rem 1.25rem .5rem; display: flex; justify-content: space-between; gap: 1rem; } dialog .dlg-head h3 { margin: 0; }
dialog .dlg-body { padding: .5rem 1.25rem 1.25rem; } dialog .dlg-body .field:last-child { margin-bottom: 0; }
dialog .dlg-foot { padding: .9rem 1.25rem; border-top: 1px solid var(--border); display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; }
dialog .x { background: none; border: 0; font-size: 1.4rem; line-height: 1; color: var(--text-3); cursor: pointer; padding: 0 .2rem; }

.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; overflow-x: auto; }
.tabs a { padding: .6rem .9rem; color: var(--text-2); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; } .tabs a:hover { text-decoration: none; color: var(--text); }
.tabs a[aria-current="page"] { color: var(--primary); border-color: var(--primary); }
.pill-nav { display: flex; gap: .4rem; flex-wrap: wrap; } .pill-nav a { padding: .35rem .8rem; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-size: .88rem; font-weight: 600; } .pill-nav a[aria-current="page"] { background: var(--primary); color: var(--on-primary); } .pill-nav a:hover { text-decoration: none; }

.timeline { list-style: none; padding: 0; margin: 0; } .timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; } .timeline li:last-child { border: 0; } .timeline time { color: var(--text-3); font-size: .82rem; }
.msg { padding: 1rem 1.15rem; border-radius: var(--r); background: var(--surface-2); margin-bottom: .75rem; white-space: pre-wrap; overflow-wrap: anywhere; } .msg.admin { background: var(--primary-soft); } .msg .who { font-size: .8rem; color: var(--text-2); margin-bottom: .3rem; font-weight: 600; }
.pre { white-space: pre-wrap; font-family: var(--mono); font-size: .85rem; background: var(--surface-2); padding: 1rem; border-radius: var(--r-sm); overflow-x: auto; }
.two { display: grid; gap: 1.25rem; grid-template-columns: 1fr; } @media (min-width: 1180px) { .two { grid-template-columns: 1.5fr 1fr; } .two.even { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) and (max-width: 1179px) { .two.even { grid-template-columns: 1fr 1fr; } }
.auth-wrap { min-height: 100dvh; display: grid; place-items: center; padding: 2rem 1rem; } .auth-card { width: min(440px, 100%); }
.auth-card .brand { justify-content: center; display: flex; margin-bottom: 1.5rem; }
.big-check { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 1rem; } .big-check svg { width: 32px; height: 32px; }
.center { text-align: center; }
.mt { margin-top: 1rem; } .mt-lg { margin-top: 2rem; } .mb-0 { margin-bottom: 0; } .mb { margin-bottom: 1rem; }
.flex { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; } .between { justify-content: space-between; } .right { margin-left: auto; }
.theme-btn { background: none; border: 0; color: var(--text-2); cursor: pointer; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-sm); } .theme-btn:hover { background: var(--surface-2); } .theme-btn svg { width: 18px; height: 18px; }
.impersonate-bar { background: var(--warn-soft); color: var(--warn); padding: .5rem 1rem; text-align: center; font-size: .9rem; font-weight: 600; } .impersonate-bar a { color: inherit; text-decoration: underline; }
.print-only { display: none; }
@media print { body { background: #fff; color: #000; } .side, .topbar, .tabbar, .no-print, .flash { display: none !important; } .shell { display: block; } .main { padding: 0; } .card { box-shadow: none; border-color: #ddd; } .print-only { display: block; } }
