:root {
    --bg: #f4f6f9;
    --panel: #ffffff;
    --ink: #16233a;
    --muted: #6a7688;
    --line: #dde3ec;
    --line-soft: #eef1f6;
    --brand: #12305c;
    --brand-on: #1d4079;
    --ok: #1d7a4c;
    --warn: #9a6700;
    --bad: #b3261e;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 15px/1.5 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

body.admin { display: flex; height: 100vh; height: 100dvh; overflow: hidden; }

.side {
    width: 232px;
    flex-shrink: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--brand);
    color: #b9c9e0;
    padding: 22px 16px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.side-brand-lock { display: inline-flex; flex-direction: column; max-width: 100%; }
.side-brand-name { font-size: 15px; font-weight: 600; color: #fff; white-space: nowrap; letter-spacing: .005em; }
.side-brand-name b { font-weight: 800; letter-spacing: .04em; }
.side-brand-sub { margin-top: 4px; font-size: 9.5px; font-weight: 700; color: #8ea7c8; line-height: 1; }
.side-brand-ch { display: flex; justify-content: space-between; }
.side-brand-ch i { font-style: normal; }
.side-brand-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.side-nav { display: flex; flex-direction: column; gap: 3px; }

.side-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px;
    border-radius: 7px;
    font-size: 14px;
    color: #b9c9e0;
    text-decoration: none;
}
.side-link:hover { background: #17386b; color: #fff; }
.side-link.is-on { background: var(--brand-on); color: #fff; }

.side-pro { margin-left: auto; flex: none; font-size: 9.5px; font-weight: 900; letter-spacing: .09em; line-height: 1; color: #fff; padding: 4px 7px; border-radius: 6px; background: linear-gradient(135deg, #8b6dff, #5b3fe0); box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 3px 10px rgba(124,92,255,.45); }

.side-foot {
    margin-top: auto;
    padding: 12px 10px;
    border-top: 1px solid #2a4a7d;
    font-size: 12px;
    color: #8ea7c8;
    line-height: 1.6;
}
.side-out { display: block; margin-top: 8px; color: #9db8de; font-size: 12px; }

.main { flex-grow: 1; padding: 28px 32px; min-width: 0; position: relative;
         overflow-y: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 860px) {
    body.admin { height: auto; min-height: 100vh; overflow: visible; }
    .side, .main { overflow: visible; }
}

.page-head { display: flex; align-items: flex-start; justify-content: space-between;
             gap: 16px; margin-bottom: 14px; }
h1 { margin: 0 0 4px; font-size: 22px; font-weight: 600; }
.lead { margin: 0; font-size: 13px; color: var(--muted); }

.one-col { max-width: 760px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 14px; align-items: start; }

@media (max-width: 1150px) {
    .split { grid-template-columns: minmax(0, 1fr); }
}

.grid td:nth-child(3), .grid td:nth-child(4), .grid td:nth-child(5) { white-space: nowrap; }
@media (max-width: 1100px) { .split { grid-template-columns: minmax(0, 1fr); } }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.panel-pad { padding: 20px; }
.panel-foot { padding: 13px 16px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll > .grid { min-width: 900px; }

.grid { width: 100%; border-collapse: collapse; }
.grid th {
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: var(--muted);
    padding: 11px 13px;
    background: #f7f9fc;
    border-bottom: 1px solid var(--line);
}
.grid td { padding: 12px 13px; font-size: 14px; border-bottom: 1px solid var(--line-soft); }
.grid tr:last-child td { border-bottom: 0; }
.grid tr.is-sel td { background: #f2f6fc; }
.grid tr.is-off td { opacity: 0.6; }
.grid a { color: var(--ink); text-decoration: none; }
.grid a:hover { text-decoration: underline; }
.grid .empty { color: var(--muted); text-align: center; padding: 28px 16px; }
.w-code { width: 118px; } .w-pin { width: 136px; } .w-state { width: 132px; } .w-check { width: 42px; }
.w-eye { width: 46px; }

.eye-cell { text-align: right; }
.eye { display: inline-flex; align-items: center; justify-content: center;
       width: 30px; height: 30px; border-radius: 7px; color: #b4bdcb; }
.grid tr:hover .eye { color: var(--brand); background: #eef3fa; }
.eye:hover { color: #fff !important; background: var(--brand) !important; }

.chip { font-size: 12px; border-radius: 5px; padding: 3px 9px; display: inline-block;
        background: #eef1f5; color: var(--muted); }
.chip-ok { background: #eaf5ef; color: var(--ok); }
.chip-warn { background: #fbeedd; color: var(--warn); }
.chip-bad { background: #f7dedb; color: var(--bad); }

.alert { border-radius: 7px; padding: 11px 14px; font-size: 14px; margin-bottom: 16px; }
.alert-ok { background: #eaf5ef; color: var(--ok); border: 1px solid #bfe0cd; }
.alert-bad { background: #fdf2f1; color: var(--bad); border: 1px solid #e8bcb8; }
.alert-warn { background: #fdf6ea; color: var(--warn); border: 1px solid #ecd9b4; }

.alert-pin {
    background: #eef4fb;
    border: 1px solid #bcd3ee;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.alert-pin-label { font-size: 12px; letter-spacing: 0.4px; color: var(--brand); }
.alert-pin-code {
    font-size: 34px;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--brand);
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.alert-pin-note { font-size: 12px; color: var(--muted); }

.detail-head { margin-bottom: 16px; }
.detail-name { font-size: 17px; font-weight: 600; }
.kv { display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; gap: 20px; }
.kv-top { align-items: flex-start; }
.kv-top b { text-align: right; }

.branch-line { display: flex; justify-content: flex-end; gap: 10px; padding: 2px 0; font-weight: 400; }
.branch-aa {
    display: inline-block; min-width: 22px; text-align: center;
    background: #e4eaf3; color: var(--brand); border-radius: 4px;
    font-size: 12px; padding: 1px 6px; font-weight: 600;
}
.kv span { color: var(--muted); }
.kv b { font-weight: 500; }

.stack { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field span { font-size: 13px; color: var(--muted); }
.field input,
.field select {
    font: inherit;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
}
.field select:disabled { background: #f4f6f8; color: var(--muted); }
.field input:focus,
.field select:focus { outline: 2px solid #4b8ede; outline-offset: -1px; border-color: #4b8ede; }

.hint { font-size: 12px; color: var(--muted); line-height: 1.5; }

.btn {
    font: inherit;
    font-size: 14px;
    padding: 9px 15px;
    border-radius: 7px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}
.btn:hover { background: #f7f9fc; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: #0e264a; }
.btn-warn { background: #fbeedd; border-color: #e6c9a8; color: var(--warn); }
.btn-ghost { color: var(--bad); }
.btn-block { width: 100%; }

.row-actions { display: flex; gap: 9px; flex-wrap: wrap; }

body.bare {
    display: flex; align-items: center; justify-content: center; min-height: 100vh;
    background: #0d2247; overflow: hidden;
}

.aurora { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.au { position: absolute; display: block; border-radius: 50%; }
.au-1 {
    left: -160px; top: -140px; width: 700px; height: 700px;
    background: radial-gradient(circle at 40% 40%, rgba(94,145,222,.42), rgba(94,145,222,0) 66%);
    animation: au-1 34s ease-in-out infinite;
}
.au-2 {
    right: -200px; bottom: -220px; width: 820px; height: 820px;
    background: radial-gradient(circle at 55% 45%, rgba(45,176,124,.30), rgba(45,176,124,0) 64%);
    animation: au-2 44s ease-in-out infinite;
}
.au-3 {
    left: 44%; top: 30%; width: 520px; height: 520px;
    background: radial-gradient(circle at 50% 50%, rgba(140,110,220,.20), rgba(140,110,220,0) 66%);
    animation: au-3 38s ease-in-out infinite;
}
.au-sheen {
    position: absolute; left: 50%; top: 50%; width: 1700px; height: 1700px; margin: -850px 0 0 -850px;
    background: conic-gradient(from 0deg, rgba(255,255,255,.05), rgba(255,255,255,0) 28%,
                rgba(255,255,255,.04) 52%, rgba(255,255,255,0) 78%, rgba(255,255,255,.05));
    animation: au-spin 90s linear infinite;
}
@keyframes au-1 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(120px,-70px,0) scale(1.15); } }
@keyframes au-2 { 0%,100% { transform: translate3d(0,0,0) scale(1.05); } 50% { transform: translate3d(-110px,80px,0) scale(1); } }
@keyframes au-3 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(60px,90px,0) scale(1.1); } }
@keyframes au-spin { to { transform: rotate(360deg); } }

.login-wrap { position: relative; width: 100%; padding: 24px; z-index: 2; }

.login-card {
    position: relative;
    max-width: 384px;
    margin: 0 auto;
    background: var(--panel);
    border-radius: 16px;
    padding: 30px 32px 26px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    box-shadow: 0 28px 64px rgba(4,14,32,.42);
    animation: card-in .6s cubic-bezier(.16,1,.3,1) both;
}

.login-card::before {
    content: ''; position: absolute; left: 32px; right: 32px; top: 0; height: 6px;
    background: repeating-linear-gradient(90deg, #d5dfec 0 5px, transparent 5px 12px);
    border-radius: 0 0 3px 3px;
}

.login-mark { display: flex; align-items: center; gap: 9px; color: var(--brand); }
.login-mark span { font-size: 11.5px; letter-spacing: 2px; color: var(--muted); }
.login-head { margin-bottom: 2px; }
.login-title { font-size: 21px; font-weight: 700; color: var(--ink); }
.login-sub { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.login-foot { font-size: 11.5px; color: var(--muted); line-height: 1.5; text-align: center; }
.is-hidden { display: none; }

.login-card.sealed { animation: card-seal .5s ease-out both; }
.login-card.gone   { animation: card-out .72s cubic-bezier(.6,0,.9,.4) both; }
.login-card.jolt   { animation: card-jolt .34s ease-in-out both; }

@keyframes card-in   { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes card-seal { 0% { transform: none; } 30% { transform: translateY(4px) scale(.985); } 100% { transform: none; } }
@keyframes card-out  { 0% { opacity: 1; transform: none; filter: blur(0); }
                       100% { opacity: 0; transform: translateY(-26px) scale(1.05); filter: blur(7px); } }
@keyframes card-jolt { 0%,100% { transform: none; } 20% { transform: translateX(-7px); }
                       40% { transform: translateX(6px); } 60% { transform: translateX(-4px); }
                       80% { transform: translateX(3px); } }

.seal { position: absolute; left: 50%; top: 54%; pointer-events: none; display: none; }
.seal.is-on { display: block; }
.seal-wave {
    position: absolute; left: 0; top: 0; width: 230px; height: 230px; margin: -115px 0 0 -115px;
    border-radius: 50%; border: 3px solid rgba(29,122,76,.55);
    animation: seal-wave .85s ease-out both;
}
.seal-box {
    position: absolute; left: 0; top: 0; display: block; text-align: center;
    border: 3.5px solid var(--ok); color: var(--ok); border-radius: 10px;
    padding: 9px 18px; background: rgba(255,255,255,.92);
    animation: seal-in .55s cubic-bezier(.16,1,.3,1) both;
}
.seal-box b { display: block; font-size: 21px; font-weight: 800; letter-spacing: 2.2px; }
.seal-box i { display: block; font-size: 12px; font-weight: 600; font-style: normal; letter-spacing: 1.2px; margin-top: 1px; }

@keyframes seal-in {
    0%   { opacity: 0; transform: translate(-50%,-50%) rotate(-24deg) scale(2.1); }
    60%  { opacity: 1; transform: translate(-50%,-50%) rotate(-8deg) scale(.94); }
    80%  { transform: translate(-50%,-50%) rotate(-10deg) scale(1.03); }
    100% { opacity: 1; transform: translate(-50%,-50%) rotate(-9deg) scale(1); }
}
@keyframes seal-wave { from { opacity: .5; transform: translate(-50%,-50%) scale(.25); }
                       to   { opacity: 0; transform: translate(-50%,-50%) scale(2.4); } }

.handover {
    position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%);
    width: min(760px, 92vw); text-align: center; color: #fff; z-index: 1;
    opacity: 0; visibility: hidden;
}
.handover.is-on { visibility: visible; animation: peek-in .8s cubic-bezier(.16,1,.3,1) .2s both; }
.handover-day { font-size: 13px; letter-spacing: 2.4px; color: #9fb4d4; }
.handover-hi  { font-size: 42px; font-weight: 800; margin-top: 12px; }
.handover-sub { font-size: 17px; color: #c6d5ea; margin-top: 10px; }
@keyframes peek-in { from { opacity: 0; transform: translate(-50%,-50%) scale(.985); }
                     to   { opacity: 1; transform: translate(-50%,-50%) scale(1); } }

@media (prefers-reduced-motion: reduce) {
    .au-1, .au-2, .au-3, .au-sheen, .login-card, .seal-box, .seal-wave, .handover.is-on { animation: none; }
    .handover.is-on { opacity: 1; }
}

.wrap { max-width: 720px; margin: 0 auto; padding: 32px 16px; }
.status { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.status th, .status td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.status tr:last-child th, .status tr:last-child td { border-bottom: 0; }
.status th { width: 180px; font-weight: 600; color: var(--brand); }
.status td.ok { color: var(--ok); font-weight: 600; width: 90px; }
.status td.bad { color: var(--bad); font-weight: 600; width: 90px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1080px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

.col-left { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.prod-note {
    display: none;
    align-items: flex-start; gap: 12px;
    border-radius: 9px; padding: 14px 16px;
    font-size: 14px; line-height: 1.5;
}
.prod-note.is-on { display: flex; }
.prod-note-ic { flex-shrink: 0; margin-top: 1px; }
.prod-note-title { font-weight: 600; }
.prod-note-text { margin-top: 2px; }

.alert-flat { margin-bottom: 0; }

.prod-off  { background: #f4f6f9; border: 1px solid var(--line);  color: var(--muted); }
.prod-off .prod-note-title { color: var(--ink); }
.prod-live { background: #fdf2f1; border: 1px solid #e8bcb8; color: var(--bad); }

.hero {
    position: relative; overflow: hidden; border-radius: 12px; margin-bottom: 16px;
    background: linear-gradient(105deg, #12305c 0%, #1d4079 52%, #2a5697 100%);
    padding: 24px 26px; display: flex; align-items: center; gap: 22px; min-height: 142px;
}

.hero-pattern {
    position: absolute; inset: 0; opacity: 0.16; pointer-events: none;
    background-image:
        repeating-linear-gradient(115deg, rgba(255,255,255,0.55) 0 1px, transparent 1px 26px),
        repeating-linear-gradient(25deg, rgba(255,255,255,0.35) 0 1px, transparent 1px 40px);
}
.hero-glow {
    position: absolute; right: -90px; top: -120px; width: 340px; height: 340px;
    border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(255,255,255,0.14), rgba(255,255,255,0) 70%);
}
.hero-ic {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(255,255,255,0.14); color: #fff; flex-shrink: 0;
}
.hero-text { position: relative; flex-grow: 1; min-width: 0; color: #fff; }
.hero-title { font-size: 23px; font-weight: 600; letter-spacing: 0.3px; }
.hero-sub { font-size: 14px; color: #c3d4ea; margin-top: 3px; }

.hero-state {
    position: relative; background: var(--panel); border: 1px solid #bcd3ee;
    border-radius: 9px; padding: 15px 18px; min-width: 286px;
    box-shadow: 0 8px 24px rgba(8, 26, 54, 0.22);
}
.hero-state-row { display: flex; align-items: center; gap: 11px; }
.hero-state-name { font-size: 16px; font-weight: 600; }
.state-ok { color: var(--ok); } .state-warn { color: var(--warn); } .state-bad { color: var(--bad); }
.hero-state-env { font-size: 13px; color: var(--brand); font-weight: 500; }

.hero-state-env.is-prod { color: var(--bad); font-weight: 600; letter-spacing: 0.2px; }
.hero-state-foot {
    font-size: 12px; color: var(--muted);
    margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-soft);
}
.dot {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%; color: #fff; flex-shrink: 0;
}
.dot-ok { background: var(--ok); } .dot-warn { background: var(--warn); } .dot-bad { background: var(--bad); }

.dot-busy { background: var(--brand); }

.card-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.card-sub { font-size: 15px; font-weight: 600; margin: 18px 0 8px; }

.frow { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.frow-ic { color: #8a97ab; flex-shrink: 0; display: flex; }
.frow-k { font-size: 13px; color: var(--muted); width: 150px; flex-shrink: 0; }
.frow-v { font-size: 14px; font-weight: 500; flex-grow: 1; text-align: right; word-break: break-word; }

.branches { display: flex; flex-direction: column; gap: 6px; }
.branch {
    display: flex; align-items: center; gap: 12px; font-size: 14px;
    padding: 11px 13px; border: 1px solid #e6ebf3; border-radius: 8px; background: #f7f9fc;
}
.branch-name { flex-grow: 1; min-width: 0; }

.conn { display: flex; flex-direction: column; }
.conn-form { display: flex; flex-direction: column; flex-grow: 1; }
.conn-note { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.conn-actions { display: flex; gap: 10px; margin-top: 16px; }
.conn-actions .btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; }

.tabs { display: flex; gap: 4px; background: #f2f4f8; border-radius: 10px; padding: 4px; margin-bottom: 14px; }
.tab {
    flex: 1; font: inherit; font-size: 14px; padding: 9px 12px; cursor: pointer;
    border: 0; border-radius: 8px; background: transparent; color: var(--muted);
}
.tab.is-on { background: #2a5697; color: #fff; font-weight: 600; }

.tabpane { display: none; flex-direction: column; gap: 12px; }
.tabpane.is-on { display: flex; }

.pick-label { font-size: 13px; color: var(--muted); margin-bottom: 6px; }

.pick-state {
    font-size: 12px; color: var(--muted); line-height: 18px;
    height: 18px; margin: -8px 0 12px; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.pick-state.is-changed { color: var(--warn); font-weight: 600; }

.frm { display: flex; align-items: center; gap: 14px; }
.frm-k { font-size: 13px; color: var(--muted); width: 124px; flex-shrink: 0; line-height: 1.3; }
.frm input {
    font: inherit; flex-grow: 1; min-width: 0; padding: 10px 12px;
    border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
.frm input:focus { outline: 2px solid #4b8ede; outline-offset: -1px; border-color: #4b8ede; }

.live {
    background: #f7f9fc; border: 1px solid #e6ebf3; border-radius: 8px;
    padding: 14px 16px; margin-bottom: 18px; min-height: 52px;
}
.live-head {
    display: flex; align-items: center; gap: 7px; font-size: 12px;
    letter-spacing: .4px; color: var(--muted); margin-bottom: 10px;
}
.live-ok  { color: var(--muted); }
.live-off { color: var(--warn); margin-bottom: 0; }
.spinner-sm { width: 12px; height: 12px; border-width: 2px; }

.pin-field { position: relative; }
.pin-input {
    width: 100%; padding: 12px 48px 12px 48px; text-align: center;
    font-size: 22px; letter-spacing: .22em; font-weight: 600;
    border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
.pin-input::placeholder { font-size: 14px; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.pin-input.is-set { color: #8a95a8; }

.pin-input.is-new { color: var(--ink); border-color: #d8a441; background: #fffdf7; }
.pin-gen {
    position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: 7px; background: #eef2f8; color: var(--brand); cursor: pointer;
}
.pin-gen:hover { background: #e1e8f3; }
.pin-gen[disabled] { opacity: .5; pointer-events: none; }
.pin-hint { margin: -6px 0 14px; }
.warn-text { color: var(--warn); }
.bad-text  { color: var(--bad); }
.btn-wide  { width: 100%; justify-content: center; }

.ok-box {
    background: #eaf7ee; border: 1px solid #bfe3c9; border-radius: 9px;
    padding: 12px 14px; margin-bottom: 14px; text-align: center;
}
.ok-head { display: flex; align-items: center; justify-content: center; gap: 6px;
           color: var(--ok); font-weight: 600; font-size: 13px; }
.ok-pin  { font-size: 26px; font-weight: 700; letter-spacing: .2em; margin: 6px 0 2px; color: #14532d; }
.ok-sub  { font-size: 12px; color: #3d6b4b; }

.pin-danger { text-align: center; margin-top: 10px; }
.linkish {
    font: inherit; font-size: 13px; border: 0; background: none;
    color: var(--bad); text-decoration: underline; cursor: pointer; padding: 4px;
}

.row-link { cursor: pointer; }
.row-link:hover { background: #f4f7fb; }

.list-tools { display: flex; gap: 10px; align-items: center; padding: 14px 14px 0; }
.list-tools input[type="search"] {
    font: inherit; padding: 9px 12px; border: 1px solid var(--line);
    border-radius: 8px; min-width: 280px; background: #fff; color: var(--ink);
}
.list-tools input[type="search"]:focus {
    outline: 2px solid #4b8ede; outline-offset: -1px; border-color: #4b8ede;
}
.seg { display: inline-flex; background: #eef1f6; border-radius: 8px; padding: 3px; }
.seg button {
    font: inherit; border: 0; background: transparent; padding: 6px 14px;
    border-radius: 6px; cursor: pointer; color: var(--muted);
}
.seg button.is-on {
    background: #fff; color: var(--ink); font-weight: 600;
    box-shadow: 0 1px 3px rgba(16, 32, 64, .12);
}
.count { margin-left: auto; font-size: 13px; color: var(--muted); }

.seg-n { font-weight: 400; color: var(--muted); margin-left: 3px; }
.seg button.is-on .seg-n { color: var(--brand); }

.seg button.has-todo { color: var(--warn); font-weight: 600; }
.seg button.has-todo .seg-n {
    color: #fff; background: var(--warn); border-radius: 9px;
    padding: 1px 6px; margin-left: 5px; font-weight: 600;
}

.detail-where { font-size: 13px; color: var(--ink); margin-top: 2px; }

.chip-new { background: #e8f0fd; color: #1f4e9c; border: 1px solid #c6d9f5; margin-left: 6px; }

.grid th small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.w-afm { width: 110px; }

.head-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sync-state { font-size: 12px; color: var(--muted); line-height: 1.4; text-align: right; }
.sync-state strong { display: block; font-size: 13px; }
.sync-fresh strong { color: var(--ok); }
.sync-old   strong { color: var(--warn); }
.sync-err { color: var(--bad); max-width: 260px; }

@keyframes wk-spin  { to { transform: rotate(360deg); } }
@keyframes wk-sweep { 0% { left: -45%; } 100% { left: 100%; } }
@keyframes wk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.spinner {
    display: inline-block; flex-shrink: 0; width: 16px; height: 16px;
    border: 2px solid currentColor; border-top-color: transparent;
    border-radius: 50%; animation: wk-spin .7s linear infinite;
}
.btn.is-busy { pointer-events: none; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.hero-progress {
    position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    overflow: hidden; opacity: 0; transition: opacity .2s; pointer-events: none;
}
.hero.is-busy .hero-progress { opacity: 1; }
.hero-progress::before {
    content: ''; position: absolute; top: 0; bottom: 0; width: 45%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent);
    animation: wk-sweep 1.15s ease-in-out infinite;
}
.hero.is-busy .hero-state-name { animation: wk-pulse 1.15s ease-in-out infinite; }

.stack { display: flex; flex-direction: column; gap: 16px; }

.frm-group { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-soft); }
.frm-group-h { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 8px;
               text-transform: uppercase; letter-spacing: .04em; }

.toggle-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 2px; }
.switch { position: relative; flex-shrink: 0; display: inline-flex; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 42px; height: 24px; margin: 0; cursor: pointer; }
.switch-track {
    width: 42px; height: 24px; border-radius: 12px; background: #c7cedb;
    position: relative; transition: background 0.15s;
}
.switch-knob {
    position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
    border-radius: 50%; background: #fff; transition: left 0.15s;
}
.switch input:checked + .switch-track { background: var(--ok); }
.switch input:checked + .switch-track .switch-knob { left: 21px; }
.switch input:focus-visible + .switch-track { outline: 2px solid #4b8ede; outline-offset: 2px; }
.toggle-label { font-size: 14px; font-weight: 500; }

body.modal-open { overflow: hidden; }

.modal { position: fixed; inset: 0; z-index: 90; display: none; }
.modal.is-on, .modal.is-off, .modal.is-done { display: block; }

.modal-veil {
    position: absolute; inset: 0;
    background: rgba(15, 28, 51, 0.55);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.22s ease;
}
.modal.is-on .modal-veil { opacity: 1; }

.modal-box {
    position: absolute; top: 50%; left: 50%;
    width: min(560px, calc(100vw - 32px));
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(10, 22, 44, 0.35);

    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.18s ease;
}
.modal.is-on .modal-box { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.modal.is-off .modal-box,
.modal.is-done .modal-box { transform: translate(-50%, -50%) scale(0.7); opacity: 0; }
.modal.is-done .modal-veil { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .modal-box, .modal-veil { transition: none; }
}

.modal-head {
    display: flex; align-items: center; gap: 12px;
    background: var(--brand);
    color: #fff;
    padding: 16px 20px;
}
.modal-head b { font-size: 17px; font-weight: 600; flex: 1; }
.modal-tag { font-size: 11px; letter-spacing: 1.4px; color: #a9bcd8; }

.modal-mark {
    display: grid; place-items: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: #2f5b96; color: #fff;
    box-shadow: 0 0 0 4px rgba(47, 91, 150, 0.28);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.modal.is-risk .modal-mark {
    background: #c0392b;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.22);
}

.modal-body { padding: 20px; font-size: 14px; }
.modal-wait { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 10px 0; }

.modal-who { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; margin-bottom: 14px; }
.modal-who span { font-size: 12px; letter-spacing: 0.4px; color: var(--muted); }
.modal-who b { font-size: 15px; }
.modal-who i { font-size: 12px; color: var(--muted); font-style: normal; }

.modal-tally { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-bottom: 14px; }
.modal-cell {
    background: #f7f9fc; border: 1px solid #e6ebf3; border-radius: 8px;
    padding: 9px 8px; text-align: center;
}
.modal-cell b { display: block; font-size: 19px; line-height: 1.15; }
.modal-cell span { font-size: 10.5px; line-height: 1.3; color: var(--muted); display: block; }
.modal-cell.is-add b { color: var(--ok); }
.modal-cell.is-warn { background: #fdf6ec; border-color: #f0dcbb; }
.modal-cell.is-warn b { color: #9a6410; }

.modal-warn {
    background: #fdf6ec; border: 1px solid #f0dcbb; color: #7a4f08;
    border-radius: 8px; padding: 11px 13px; font-size: 13px; margin-bottom: 14px;
}
.leaving { display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0; }
.leaving-one {
    background: #fff; border: 1px solid #f0dcbb; border-radius: 20px;
    padding: 3px 11px; font-size: 13px;
}
.modal-bad { color: var(--bad); font-weight: 500; margin-bottom: 8px; }
.modal-note { font-size: 12.5px; color: var(--muted); }

.modal-foot {
    display: flex; justify-content: flex-end; gap: 10px;
    background: #f7f9fc; border-top: 1px solid #e6ebf3;
    padding: 14px 20px;
}
.btn-danger { background: #c0392b; border-color: #c0392b; color: #fff; }
.btn-danger:hover { background: #a83226; border-color: #a83226; }

@media (max-width: 560px) {
    .modal-tally { grid-template-columns: repeat(3, 1fr); }
}

.spinner-xs { width: 10px; height: 10px; border-width: 1.5px; vertical-align: -1px; }
#sched-state.is-busy { color: var(--brand); }

@keyframes just-in {
    from { background: #e8f1ff; }
    to   { background: transparent; }
}
.sched-cell.just-in { animation: just-in 1.1s ease-out; }
@media (prefers-reduced-motion: reduce) {
    .sched-cell.just-in { animation: none; }
}

.chip-off { background: #eef1f6; color: var(--muted); }

.toasts {
    position: fixed; top: 0; left: 50%; transform: translateX(-50%);
    padding-top: 14px; z-index: 120;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    pointer-events: none;
    width: max-content; max-width: calc(100vw - 32px);
}

.toast {
    pointer-events: auto;
    display: flex; align-items: flex-start; gap: 11px;
    background: #fff; border-radius: 13px;
    padding: 11px 14px 11px 13px;
    max-width: 560px; font-size: 14px; color: var(--ink);
    box-shadow: 0 10px 28px rgba(16,35,63,.16), 0 2px 6px rgba(16,35,63,.08);
    animation: toast-in .26s cubic-bezier(.16,1,.3,1) both;
}
.toast.out { animation: toast-out .2s ease-in both; }

@keyframes toast-in  { from { opacity: 0; transform: translateY(-22px) scale(.97); }
                       to   { opacity: 1; transform: none; } }
@keyframes toast-out { from { opacity: 1; transform: none; }
                       to   { opacity: 0; transform: translateY(-22px) scale(.97); } }

.toast-mark {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center; color: #fff; margin-top: 1px;
}
.toast-body { display: block; line-height: 1.35; }
.toast-body b { display: block; font-weight: 600; }
.toast-body i { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.toast-x {
    flex-shrink: 0; background: none; border: 0; cursor: pointer;
    font-size: 19px; line-height: 1; color: #9aa5b5; padding: 2px 2px 2px 8px;
}
.toast-x:hover { color: var(--ink); }

.toast-ok   .toast-mark { background: #1d7a4c; }
.toast-info .toast-mark { background: #2f5b96; }
.toast-warn .toast-mark { background: #b4820f; }
.toast-bad  .toast-mark { background: #b3261e; }

@media (prefers-reduced-motion: reduce) {
    .toast, .toast.out { animation: none; }
}

@media (max-width: 560px) {
    .toasts { left: 16px; right: 16px; transform: none; width: auto; }
    .toast { width: 100%; box-sizing: border-box; }
}

.sub-date { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.verdict { display: flex; align-items: center; gap: 18px; position: relative; }
.verdict-ic { width: 56px; height: 56px; border-radius: 50%; display: grid;
              place-items: center; flex: 0 0 auto; }
.verdict-ok   { background: rgba(126,226,171,.16); color: #7ee2ab; }
.verdict-warn { background: rgba(240,180,106,.18); color: #f0b46a; }
.verdict-bad  { background: rgba(255,138,128,.18); color: #ff8a80; }
.verdict-title { font-size: 26px; font-weight: 800; color: #fff; line-height: 1.15; }
.verdict-sub { font-size: 15px; color: #c6d5ea; margin-top: 6px; }
.verdict-sub b { color: #fff; font-weight: 600; }
.verdict-sub b.v-bad { color: #ff8a80; }

.exc { display: flex; align-items: center; gap: 13px; padding: 13px 2px;
       border-bottom: 1px solid #eef1f6; }
.exc:last-child { border-bottom: 0; }
.exc-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.exc-bad  { background: var(--bad); }
.exc-warn { background: var(--warn); }
.exc-info { background: #8ab4f0; }
.exc-ok   { background: var(--ok); }
.exc-txt { flex: 1 1 auto; font-size: 14px; color: var(--ink); }
.exc-txt small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.exc .btn { padding: 5px 12px; font-size: 12.5px; white-space: nowrap; }

.exc-acts { display: flex; gap: 6px; flex: 0 0 auto; }
.exc-acts form { margin: 0; }
.exc-acts .btn:not(.btn-ghost) { background: var(--brand); border-color: var(--brand); color: #fff; }

.exc:has(.exc-confirm) { flex-wrap: wrap; row-gap: 10px; }
.exc:has(.exc-confirm) .exc-txt { flex: 1 1 0; min-width: 0; }
.exc-confirm { flex: 1 0 100%; flex-wrap: wrap; justify-content: flex-start; margin: 0; padding-left: 22px; }

.now { display: flex; align-items: center; gap: 11px; padding: 9px 2px;
       border-bottom: 1px solid #f2f5f9; }
.now:last-child { border-bottom: 0; }
.now-in { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: 0 0 auto; }
.now-off { background: #d5dfec; }
.now-nm { flex: 1 1 auto; font-size: 13.5px; }
.now-at { font-size: 13px; color: var(--muted); }
.kv { display: flex; justify-content: space-between; align-items: baseline;
      padding: 9px 2px; font-size: 13.5px; border-bottom: 1px solid #f2f5f9; }
.kv:last-child { border-bottom: 0; }
.kv b.v-bad { color: var(--bad); }

.side-co { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--brand-on); }
.side-co-name { font-size: 12px; font-weight: 700; color: #fff; line-height: 1.35; }
.side-co-sub  { font-size: 11px; color: #8ea7c8; margin-top: 3px; }
.side-co-env  { display: inline-block; margin-left: 7px; font-size: 9.5px; font-weight: 700;
                letter-spacing: .6px; padding: 2px 7px; border-radius: 20px;
                background: #17386b; color: #b9c9e0; }

.side-co-env.is-prod { background: #7a201b; color: #ffd9d5; }

tr.is-late td { background: #fdf2f1; }
tr.is-late td.v-bad { font-weight: 700; }

.q-err { max-width: 420px; font-size: 12.5px; color: var(--muted);
         overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-err:hover { white-space: normal; overflow: visible; }

form.inline { display: inline; margin: 0; }

.day-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.day-pick input[type="date"], .day-pick input.d8 {
    font: inherit; font-size: 14px; color: var(--ink); background: #f7f9fc;
    border: 1.5px solid #e2e8f2; border-radius: 9px; padding: 7px 11px; outline: none;
}
.day-pick input.d8:focus, .day-pick input[type="date"]:focus { background: #fff; border-color: var(--brand); }
.day-warn { margin-left: auto; font-size: 13px; color: var(--warn); font-weight: 600; }

tr.is-odd td:first-child { box-shadow: inset 3px 0 0 var(--warn); }
tr.is-odd td { background: #fffaf3; }

.panel-head { padding: 16px 20px 14px; }
.panel-head h2 { margin: 0; font-size: 16px; font-weight: 600; }
.panel-head .muted { display: block; margin-top: 3px; font-size: 13px; }

.panel > .alert { margin: 0 20px 16px; }

.days { display: inline-flex; gap: 3px; }
.day {
    width: 21px; height: 21px; border-radius: 5px; font-size: 11px;
    display: flex; align-items: center; justify-content: center;
    background: #eef1f6; color: #9aa5b6;
}
.day.on { background: var(--brand); color: #fff; font-weight: 600; }

.net-form { display: flex; gap: 8px; flex-wrap: wrap; }
.net-form input {
    font: inherit; padding: 9px 12px; border: 1px solid var(--line);
    border-radius: 8px; background: #fff; color: var(--ink);
}
.net-form input[name="cidr"]  { flex: 2 1 220px; }
.net-form input[name="label"] { flex: 3 1 220px; }
.net-form input[name="branch_aa"] { width: 90px; }

.srcbar { display: flex; background: #f2f4f8; border-radius: 8px; padding: 3px; margin-bottom: 4px; }
.srcopt {
    flex: 1; text-align: center; font-size: 13px; padding: 8px 6px;
    border-radius: 6px; color: var(--muted); cursor: pointer;
}
.srcopt.on { background: #fff; color: var(--brand); font-weight: 600; box-shadow: 0 1px 3px rgba(18,48,92,.12); }
.srcopt input, .daybox input, .opt input { position: absolute; opacity: 0; pointer-events: none; }

.fl { display: block; font-size: 11px; letter-spacing: .5px; color: var(--muted);
      font-weight: 600; margin: 16px 0 8px; }
.fl:first-child { margin-top: 0; }
.hint { font-size: 12px; color: var(--muted); margin: 7px 0 0; line-height: 1.5; }

.daypick { display: flex; gap: 5px; }
.daybox {
    flex: 1; text-align: center; font-size: 12px; padding: 9px 0; border-radius: 7px;
    background: #eef1f6; color: #9aa5b6; cursor: pointer; position: relative;
}
.daybox.on { background: var(--brand); color: #fff; font-weight: 600; }

.timepair { display: flex; gap: 9px; align-items: center; }
.timepair input {
    font: inherit; padding: 8px 10px; border: 1px solid var(--line);
    border-radius: 7px; background: #fff; color: var(--ink);

    flex: 1 1 0; min-width: 0; width: 100%;
}

.opt { display: flex; gap: 10px; padding: 9px 0; align-items: flex-start;
       cursor: pointer; position: relative; border-bottom: 1px solid var(--line-soft); }
.opt:last-of-type { border-bottom: 0; }
.opt > span { font-size: 13.5px; }
.opt::before {
    content: ""; width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
    border: 2px solid #c3ccda; margin-top: 3px;
}
.opt.on::before { border-color: var(--brand); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 8px var(--brand); }

.ok-link { margin-top: 12px; padding-top: 12px; border-top: 1px solid #bfe3c9; }
.ok-link-lb { font-size: 11px; letter-spacing: .4px; color: #3d6b4b; margin-bottom: 6px; }
.ok-link-in {
    width: 100%; font: inherit; font-size: 12.5px; text-align: center;
    padding: 8px 10px; border: 1px solid #bfe3c9; border-radius: 7px;
    background: #fff; color: var(--ink); margin-bottom: 7px;
}
.ok-link .btn { width: 100%; justify-content: center; }
.ok-link-lb b { font-weight: 700; }
.ok-link-hint { font-size: 11.5px; color: #3d6b4b; margin-top: 7px; line-height: 1.4; }

.grid .chip { white-space: nowrap; }

.rules-table > .grid { min-width: 720px; }

.dev-panel { margin-top: 0; }
.pair-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.pair-form .pf { display: flex; flex-direction: column; gap: 5px; }
.pair-form .pf > span { font-size: 12px; color: var(--muted); }
.pair-form input[type="text"], .pair-form select {
  padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; font: inherit; font-size: 14px; background: #fff;
}
.pair-form .pf-code input { width: 150px; font-size: 20px; font-weight: 700; letter-spacing: 3px; text-align: center; padding: 6px 10px; }
.pair-form .pf-name input { width: 220px; }
.pair-form .btn { height: 40px; }
.pf-check { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.pair-form .pf-check { height: 40px; }
.dev-table > .grid, .table-scroll > .dev-table { min-width: 760px; }
.dev-net { margin: 0; }

.ptabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 0 0 18px; }
.ptab {
  appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 10px 14px 11px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted);
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.ptab:hover { color: var(--ink); }
.ptab.is-on { color: var(--brand); border-bottom-color: var(--brand); }
.ptab .cnt { font-size: 12px; font-weight: 600; background: #eef3fa; color: #1f4e9c; border-radius: 10px; padding: 1px 8px; }
.ptab .sdot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.ptab .sdot-ok { background: var(--ok); }
.ptab .sdot-warn { background: var(--warn); }
.ptab .sdot-bad { background: var(--bad); }
.ptab-pane { display: none; }
.ptab-pane.is-on { display: block; }

.pair-steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 16px; align-items: stretch; }
@media (max-width: 1180px) { .pair-steps { grid-template-columns: 1fr; } }
.pstep { border: 1px solid var(--line); border-radius: 9px; padding: 14px 16px 16px; background: #fbfcfe; min-width: 0; }
.pstep-h { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.pstep-n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
           background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; }
.klink { display: flex; gap: 14px; align-items: flex-start; }
.klqr { flex: 0 0 auto; width: 118px; height: 118px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.klqr svg { display: block; width: 100%; height: 100%; }
.klbody { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.klurl {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--brand); text-align: left;
  transition: border-color .15s ease, background .15s ease;
}
.klurl span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.klurl:hover { border-color: var(--brand); background: #f4f7fc; }
.klurl svg { flex: 0 0 auto; color: var(--muted); }
.klurl .ic-ok { display: none; color: var(--ok); }
.klurl.is-copied { border-color: #bfe0cd; background: #eaf5ef; }
.klurl.is-copied .ic-copy { display: none; }
.klurl.is-copied .ic-ok { display: block; }
.klnote { font-size: 12px; color: var(--muted); }
.klnote.is-ok { color: var(--ok); font-weight: 600; }
.pair-form .pf-branch select { max-width: 100%; }
.pair-form .pf-branch { min-width: 0; max-width: 100%; }

.mbar, .side-x, .side-scrim { display: none; }

@media (max-width: 860px) {
    body.admin { display: block; height: auto; min-height: 100vh; overflow: visible; }

    .mbar {
        display: flex; align-items: center; gap: 10px;
        position: sticky; top: 0; z-index: 40;
        min-height: 56px; padding: env(safe-area-inset-top) 12px 0 6px;
        background: var(--brand); color: #fff;
        box-shadow: 0 2px 10px rgba(10, 25, 50, .18);
    }
    .mbar-btn {
        width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center;
        border: 0; border-radius: 8px; background: none; color: #fff; cursor: pointer;
    }
    .mbar-btn:active { background: #17386b; }
    .mbar-title { min-width: 0; flex: 1; line-height: 1.2; }
    .mbar-title b { display: block; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mbar-title small { display: block; font-size: 11px; color: #9db8de; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mbar-env { flex: 0 0 auto; font-size: 10px; font-weight: 700; letter-spacing: .6px; padding: 3px 8px;
                border-radius: 4px; background: #2a4a7d; color: #cfe0fa; }
    .mbar-env.is-prod { background: #b3261e; color: #fff; }

    .side {
        position: fixed; top: 0; bottom: 0; left: 0; z-index: 60;
        width: min(290px, 84vw); height: 100vh; height: 100dvh;
        overflow-y: auto; padding-top: calc(18px + env(safe-area-inset-top));
        transform: translateX(-104%); transition: transform .25s ease;
    }
    body.nav-open .side { transform: none; box-shadow: 0 0 40px rgba(0, 0, 0, .35); }
    .side-brand { position: relative; padding-right: 44px; }
    .side-x {
        display: grid; place-items: center; position: absolute; top: -8px; right: -6px;
        width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: #b9c9e0; cursor: pointer;
    }
    .side-link { padding: 12px 14px; font-size: 15px; }
    .side-scrim {
        display: block; position: fixed; inset: 0; z-index: 55;
        background: rgba(8, 18, 34, .45); opacity: 0; pointer-events: none; transition: opacity .25s;
    }
    body.nav-open .side-scrim { opacity: 1; pointer-events: auto; }
    body.nav-open { overflow: hidden; }

    .main { padding: 18px 14px 32px; overflow: visible; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
    .side, .side-scrim { transition: none; }
}

@media (max-width: 600px) {
    h1 { font-size: 20px; }
    .page-head { flex-wrap: wrap; gap: 12px; }
    .page-head > div:first-child { flex: 1 1 100%; }
    .head-actions { flex: 1 1 100%; justify-content: space-between; }
    .sync-state { text-align: left; }
    .panel-pad { padding: 16px 14px; }

    .grid th { padding-left: 9px; padding-right: 9px; }
    .grid td { padding: 10px 9px; }

    .list-tools { flex-wrap: wrap; }
    .list-tools input[type="search"] { flex: 1 1 100%; width: 100%; }
    .seg { max-width: 100%; overflow-x: auto; }
    .seg button { white-space: nowrap; }

    .hero { flex-wrap: wrap; padding: 18px 16px; gap: 14px; min-height: 0; }
    .hero-ic { width: 46px; height: 46px; }
    .hero-text { flex: 1 1 calc(100% - 64px); }
    .hero-title { font-size: 19px; }
    .hero-state { min-width: 0; width: 100%; }

    .frow { align-items: flex-start; }
    .frow-k { width: 96px; }
    .frow-v { word-break: normal; overflow-wrap: anywhere; }

    .conn-actions { flex-direction: column-reverse; }

    .ptabs { overflow-x: auto; gap: 0; }
    .ptab { white-space: nowrap; padding: 10px 10px 11px; font-size: 13.5px; }

    .klink { flex-direction: column; align-items: stretch; }
    .klqr { align-self: center; width: 150px; height: 150px; }
    .pair-form .pf { flex: 1 1 100%; }
    .pair-form .pf-code input, .pair-form .pf-name input, .pair-form select { width: 100%; }
    .pair-form .btn { width: 100%; }

    .day-bar { gap: 8px; }
    .day-bar .btn { flex: 1 1 auto; text-align: center; }
    .day-pick { flex: 1 1 100%; order: -1; }
    .day-pick input[type="date"], .day-pick .d8-wrap, .day-pick input.d8 { width: 100%; }

    .status th { width: 1%; white-space: nowrap; }
    .status th, .status td { padding: 9px 10px; }
    .status td { overflow-wrap: anywhere; }
}

.table-fit { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 860px) {

    .split > * { scroll-margin-top: 70px; }
}

.early-form { margin: 0; }
.early { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 6px;
         font-size: 12.5px; color: var(--muted); cursor: pointer; white-space: nowrap; border: 1px solid transparent; }
.early:hover { background: #f2f4f8; }
.early.is-on { background: #fbeedd; color: var(--warn); border-color: #ecd9b4; font-weight: 600; }

.now-exit { margin: 0; }
.btn-sm { padding: 4px 10px; font-size: 12.5px; }

.badge-box { margin-top: 18px; padding: 14px 14px 12px; border: 1px solid var(--line, #e3e8f0); border-radius: 12px; }
.badge-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.badge-head .chip { margin-left: auto; }
.badge-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.badge-actions form { margin: 0; }
.badge-actions .linkish { margin-left: auto; }

.qr-mini { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
           width: 28px; height: 28px; margin-left: 6px; border-radius: 7px; border: 1px solid #cfe0f5;
           background: #eef5ff; color: var(--brand); cursor: pointer; padding: 0; }
.qr-mini:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.grid td:has(.qr-mini) { white-space: nowrap; }
.qr-mini.is-static { cursor: default; }
.qr-mini.is-static:hover { background: #eef5ff; border-color: #cfe0f5; color: var(--brand); }

.badge-modal-box { width: min(640px, calc(100vw - 24px)); }
.badge-frame-wrap { background: #eef2f8; }

.badge-frame-wrap iframe { display: block; width: 100%; border: 0;
    height: min(380px, 56vh, calc(min(640px, 100vw - 24px) * 0.63 + 28px)); }
.badge-box a.btn, .badge-modal-box a.btn { text-decoration: none; }
@media (max-width: 600px) {
    .badge-modal-box .modal-tag { display: none; }
    .badge-modal-box .modal-head b { font-size: 15px; }
    .badge-modal-box .modal-foot { padding: 12px 14px; }
    .badge-modal-box .modal-foot .btn { flex: 1 1 auto; text-align: center; }
    .badge-modal-box .modal-foot #badge-card-link { flex-basis: 100%; margin-right: 0; order: 3; }
}
.badge-modal-box .modal-foot { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--line); }
.badge-modal-box .modal-foot #badge-card-link { margin-right: auto; }

.chip-var { background: #eef5ff; color: var(--brand); border: 1px solid #cfe0f5; margin-left: 6px; }
.var-box { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.var-box.is-on { border-color: #cfe0f5; background: #f6f9ff; }
.var-check { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.var-check input { width: 18px; height: 18px; accent-color: var(--brand); }
.var-box .hint { margin-top: 6px; }
.var-warn { margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: #fff7e6; color: #8a5a00;
            font-size: 12.5px; line-height: 1.45; border: 1px solid #f3dfb2; }

.off-panel { margin-top: 18px; }
.off-panel .off-sub { border-top: 1px solid var(--line); }
.off-box { width: min(680px, calc(100vw - 24px)); }
.off-box textarea { width: 100%; font: inherit; font-size: 13.5px; line-height: 1.5; resize: vertical;
                    border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.off-foot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid var(--line); }
.off-foot form { margin: 0; }
.off-foot #off-mail { margin-right: auto; text-decoration: none; }

.tip { display: inline-flex; align-items: center; justify-content: center; vertical-align: -2px;
  margin-left: 3px; color: #9aa8bc; cursor: help; border-radius: 50%; outline: none;
  -webkit-tap-highlight-color: transparent; }
.tip:hover, .tip:focus-visible, .tip.is-open { color: var(--brand); }
.tip:focus-visible { box-shadow: 0 0 0 2px rgba(47,111,228,.35); }
.tip svg { display: block; }
.tip-bubble { position: fixed; z-index: 1000; left: 0; top: 0; width: max-content; max-width: min(300px, calc(100vw - 16px));
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .12s ease; }

.tip .tip-bubble { display: block; padding: 11px 14px; border-radius: 12px;
  background: #fff8e1; color: #1f1a0e; border: 1px solid #f0d78a;
  font: 400 13px/1.5 "Manrope", system-ui, sans-serif; text-transform: none; letter-spacing: 0;
  text-align: left; white-space: normal; box-shadow: 0 14px 34px rgba(60,40,0,.16), 0 2px 6px rgba(60,40,0,.06); }
.tip.is-open .tip-bubble { opacity: 1; visibility: visible; }

.tip .tip-bubble::after { content: ""; position: absolute; left: var(--tip-ax, 50%); top: 100%; transform: translateX(-50%);
  border: 7px solid transparent; border-top-color: #fff8e1; filter: drop-shadow(0 1px 0 #f0d78a); }
.tip .tip-bubble.is-below::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #fff8e1;
  filter: drop-shadow(0 -1px 0 #f0d78a); }
th .tip { color: #aab6c8; }

.erg-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 0 0 18px;
    padding: 12px 16px; background: #fff; border: 1px solid var(--line, #dde3ec); border-radius: 12px; }
.erg-links-k { font-weight: 700; color: var(--brand); margin-right: 4px; }
.erg-link { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px;
    border: 1px solid #d5ddeb; border-radius: 10px; background: #f6f8fc; }
.erg-link b { font-size: 14px; color: var(--brand); }
.erg-link a { display: inline-block; padding: 6px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600;
    text-decoration: none; color: #fff; background: var(--brand); }
.erg-link a:hover { filter: brightness(1.15); }
.erg-link.is-prod { background: #fdf2f1; border-color: #e8bcb8; }
.erg-link.is-prod b { color: var(--bad); }
.erg-link.is-prod a { background: var(--bad); }
.erg-link.is-active { box-shadow: 0 0 0 2px var(--brand) inset; }
.erg-link.is-prod.is-active { box-shadow: 0 0 0 2px var(--bad) inset; }
.erg-now { margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.erg-now { background: var(--brand); }
.erg-link.is-prod .erg-now { background: var(--bad); }
@media (max-width: 640px) {
    .erg-links { padding: 12px; justify-content: flex-start; }
    .erg-link { width: 100%; flex-wrap: wrap; padding: 8px; }
    .erg-link b { flex-basis: 100%; padding: 0 4px; }
    .erg-link a { flex: 1; text-align: center; white-space: nowrap; padding: 6px 8px; font-size: 13px; }
}

.wkc { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.wkc[hidden] { display: none; }
body.wkc-open { overflow: hidden; }
.wkc-veil { position: absolute; inset: 0; background: rgba(10, 22, 44, .55);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; }
.wkc-box { position: relative; width: min(460px, 100%); padding: 30px 28px 24px; border-radius: 22px; text-align: center;
    background: #fff; box-shadow: 0 30px 80px rgba(8, 20, 45, .45), 0 0 0 1px rgba(255,255,255,.6) inset;
    opacity: 0; transform: scale(.55); will-change: transform, opacity; }
.wkc.is-in .wkc-veil { opacity: 1; }
.wkc.is-in .wkc-box { opacity: 1; transform: scale(1);
    transition: transform .36s cubic-bezier(.2, 1.35, .45, 1), opacity .22s ease-out; }
.wkc.is-out .wkc-veil { opacity: 0; transition: opacity .22s ease-in; }
.wkc.is-out .wkc-box { opacity: 0; transform: scale(.55); transition: transform .22s cubic-bezier(.5, 0, .9, .4), opacity .2s ease-in; }
.wkc-ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
    color: var(--brand); background: #e7eefb; box-shadow: 0 0 0 8px #f2f6fd; }
.wkc-ic svg { width: 32px; height: 32px; }
.wkc.is-danger .wkc-ic { color: var(--bad); background: #fdecea; box-shadow: 0 0 0 8px #fdf5f4; }
.wkc.is-warn .wkc-ic { color: var(--warn); background: #fbf0dc; box-shadow: 0 0 0 8px #fdf8ee; }
.wkc.is-in .wkc-ic { animation: wkc-pop .5s .12s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes wkc-pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.wkc-title { margin: 0; font-size: 21px; font-weight: 800; color: var(--ink); }
.wkc-em { margin-top: 10px; font-size: 17px; font-weight: 700; color: var(--brand); }
.wkc-em[hidden] { display: none; }
.wkc-text { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); white-space: pre-line; }
.wkc-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.wkc-acts button { min-height: 50px; padding: 0 16px; border-radius: 14px; font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer;
    transition: transform .08s, filter .15s; }
.wkc-acts button:active { transform: scale(.97); }
.wkc-no { background: #eef2f8; color: var(--ink); border: 1px solid #dde3ec; }
.wkc-no:hover { background: #e4eaf3; }
.wkc-ok { color: #fff; border: 0; background: linear-gradient(180deg, #1f4c8f, var(--brand)); box-shadow: 0 8px 20px rgba(18, 48, 92, .35); }
.wkc.is-danger .wkc-ok { background: linear-gradient(180deg, #d23a30, var(--bad)); box-shadow: 0 8px 20px rgba(179, 38, 30, .35); }
.wkc.is-warn .wkc-ok { background: linear-gradient(180deg, #c58a12, #9a6700); box-shadow: 0 8px 20px rgba(154, 103, 0, .35); }
.wkc-ok:hover { filter: brightness(1.08); }
.wkc-acts button:focus-visible { outline: 3px solid rgba(29, 64, 121, .35); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    .wkc .wkc-box, .wkc .wkc-veil, .wkc .wkc-ic { transition: none !important; animation: none !important; }
}
@media (max-width: 420px) { .wkc-acts { grid-template-columns: 1fr; } .wkc-ok { order: -1; } }

.omc { display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: 20px; font-size: 11.5px; font-weight: 700;
       background: #eef2f8; color: #3c4a63; vertical-align: 1px; white-space: nowrap; }
.omc.bad { background: #fdecea; color: var(--bad); }
.exc-alert { color: var(--bad); font-weight: 700; }
.exc-acts .btn.btn-plain { background: #fff; color: var(--ink); border-color: var(--line); }
.fg-note { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fdf6e8; border: 1px solid #f1dcae;
           font-size: 13px; color: #6b4e12; line-height: 1.45; }
.fg-note b { color: #4a3406; }
.fg-list { margin-top: 8px; font-size: 13px; color: var(--ink); }
.fg-list div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px dashed #ead9b4; }

.omx .omx-box { width: min(600px, 100%); text-align: left; max-height: calc(100vh - 32px); overflow-y: auto; }
.omx .wkc-ic { margin: 0 0 12px; }
.omx .wkc-em { margin-top: 6px; }
.omx-sub { margin-top: 6px; font-size: 14px; color: var(--muted); }
.omx-info { margin-top: 14px; padding: 11px 13px; border-radius: 12px; background: #eef4ff; border: 1px solid #d3e2fb;
            font-size: 13.5px; color: #26446f; line-height: 1.45; }
.omx-opts { margin-top: 16px; display: grid; gap: 8px; }
.omx-opt { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; padding: 11px 13px; border: 1.5px solid #dfe5ee;
           border-radius: 12px; font-size: 14.5px; color: var(--ink); background: #fff; cursor: pointer; }
.omx-opt.on { border-color: var(--brand); background: #f3f7ff; }
.omx-opt > input[type=radio], .omx-chk > input { position: absolute; opacity: 0; pointer-events: none; }
.omx-opt > i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #b7c2d3; flex: none; }
.omx-opt.on > i { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.omx-time { width: 100px; padding: 6px 8px; border: 1px solid #cfd8e5; border-radius: 8px; font: inherit; font-weight: 700; text-align: center; }
.omx-time:disabled { opacity: .45; }
.omx-chk { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; color: var(--ink); cursor: pointer; }
.omx-chk > i { width: 18px; height: 18px; border-radius: 5px; border: 2px solid #b7c2d3; display: grid; place-items: center; flex: none; }
.omx-chk > input:checked + i { background: var(--brand); border-color: var(--brand); }
.omx-chk > input:checked + i::after { content: '✓'; color: #fff; font-size: 12px; font-weight: 800; }
.omx-chk > input:focus-visible + i, .omx-opt > input:focus-visible + i { outline: 3px solid rgba(29, 64, 121, .35); outline-offset: 2px; }
.omx-ta { margin-top: 12px; width: 100%; min-height: 64px; padding: 10px 12px; border: 1px solid #cfd8e5; border-radius: 12px;
          font: inherit; font-size: 14px; color: var(--ink); resize: vertical; box-sizing: border-box; }
.omx-cnt { margin-top: 14px; font-size: 13px; color: var(--muted); }
.omx-bar { display: flex; gap: 4px; margin-top: 6px; }
.omx-bar span { flex: 1; height: 7px; border-radius: 4px; background: #e4e9f1; }
.omx-bar span.f { background: #e7a93b; }
.omx-bar span.x { background: #d64534; }
.omx-err { min-height: 18px; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--bad); }
.omx .wkc-acts { margin-top: 10px; }

a.ptab { text-decoration: none; }
.hx-tabs { margin-top: 2px; }
.hx-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hx-bar select { font: inherit; font-size: 14px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px;
                 background: #fff; color: var(--ink); min-width: 240px; max-width: 100%; }
.hx-month { display: inline-flex; align-items: center; gap: 6px; }
.hx-month b { min-width: 150px; text-align: center; font-size: 15px; }
.hx-month .btn.is-off { pointer-events: none; opacity: .4; }
.hx-sp { flex: 1; }
.hx-seg a { padding: 6px 14px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: 14px; }
.hx-seg a.is-on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(16, 32, 64, .12); }
.hx-seg a.is-on .seg-n { color: var(--brand); }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.tile small { display: block; font-size: 12px; color: var(--muted); }
.tile b { display: block; font-size: 22px; margin-top: 4px; color: var(--ink); }
.tile b.warn { color: var(--warn); }
.tile b.bad { color: var(--bad); }
.tile b.ok { color: var(--ok); }
.tile .bar { display: flex; gap: 3px; margin-top: 6px; }
.tile .bar span { flex: 1; height: 5px; border-radius: 3px; background: #e4e9f1; }
.tile .bar span.f { background: #e7a93b; }
.tile .bar span.x { background: #d64534; }
.table-scroll > .grid.hx-tab { min-width: 860px; }
.hx-tab td:first-child { white-space: nowrap; }
.hx-tab tr.hx-empty td { color: #9aa4b2; }
.hx-tab tr.hx-om td { background: #fff8ec; }
.hx-tab tr.hx-cont td:first-child a { color: var(--muted); font-size: 12.5px; }
.hx-tab tr.hx-sum td { font-weight: 700; border-top: 2px solid var(--line); }
.hx-tab tr.hx-sum td.muted { font-weight: 600; }
.hx-note { font-size: 12.5px; line-height: 1.45; }
.hx-note .muted { font-size: 12.5px; }
.chip-om { background: #fdf0dc; color: #8a5a00; }
.chip-omh { background: #e7f5ec; color: #1d6b3d; }
.hx-note .btn.btn-h { background: var(--brand); border-color: var(--brand); color: #fff; padding: 3px 10px; font-size: 12px; margin-left: 4px; }
.who-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.who-chips a { padding: 5px 12px; border-radius: 20px; background: #eef2f8; font-size: 13px; color: var(--ink); text-decoration: none; }
.who-chips a b { margin-left: 6px; }
.who-chips a.bad { background: #fdecea; color: var(--bad); }
.hx-print-title { display: none; }

@media (max-width: 700px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .hx-bar select { min-width: 0; width: 100%; }
  .hx-month { width: 100%; justify-content: space-between; }
  .hx-sp { display: none; }
  .table-scroll > .grid.hx-tab { min-width: 0; }
  .hx-tab thead { display: none; }
  .hx-tab, .hx-tab tbody { display: block; }
  .hx-tab tr { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px 10px; padding: 12px 4px; border-bottom: 1px solid var(--line-soft); }
  .hx-tab td { display: block; padding: 0; border: 0; font-size: 13.5px; }
  .hx-tab td:empty { display: none; }
  .hx-tab td[data-l]::before { content: attr(data-l); display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
  .hx-tab td:first-child { grid-column: 1 / -1; font-weight: 700; }
  .hx-tab td:first-child::before { display: none; }
  .hx-tab td[data-l="Πηγή"], .hx-tab td[data-l="ΕΡΓΑΝΗ"] { grid-column: span 1; }
  .hx-tab td.hx-note { grid-column: 1 / -1; }
  .hx-tab tr.hx-empty { grid-template-columns: 1fr; }
  .hx-tab tr.hx-empty td:not(:first-child):not(.hx-note) { display: none; }
  .hx-tab tr.hx-sum td:nth-child(2), .hx-tab tr.hx-sum td:nth-child(3) { display: none; }
  .hx-omt tr td[data-l="Του μήνα"], .hx-omt tr td[data-l="Τι λείπει"], .hx-omt tr td[data-l="Ημέρα"] { grid-column: span 1; }
}

@media print {
  .side, .side-scrim, .mbar, .hx-tabs, .hx-bar, .toasts, .tip, .btn-h, .hint { display: none !important; }
  .main { margin: 0 !important; padding: 0 !important; }
  .hx-print-title { display: block; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
  .panel { border: 0 !important; box-shadow: none !important; }
  .table-scroll { overflow: visible !important; }
  .table-scroll > .grid.hx-tab { min-width: 0; }
  .hx-tab td, .hx-tab th { padding: 5px 8px !important; font-size: 11.5px !important; }
  .tile { padding: 6px 10px; }
  .tile b { font-size: 16px; }
}
.hx-bar a.btn, .hx-month a.btn { text-decoration: none; }
@media (max-width: 700px) {
  .hx-tab td.hx-note:not(:has(span))::before { display: none; }
}

input.t24 { font-variant-numeric: tabular-nums; text-align: center; letter-spacing: .5px; }
.timepair input.t24 { width: 96px; }
input.t24.t24-bad { border-color: var(--bad) !important; background: #fff5f4; outline-color: var(--bad); }

.d8-wrap { position: relative; display: inline-flex; align-items: center; }
input.d8 { font-variant-numeric: tabular-nums; width: 136px; padding-right: 38px !important; letter-spacing: .3px; }
input.d8.d8-bad { border-color: var(--bad) !important; background: #fff5f4 !important; }
.d8-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 30px; border: 0; border-radius: 7px;
          background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.d8-btn:hover { background: #eef2f8; color: var(--brand); }
.d8-cal { position: absolute; top: calc(100% + 6px); left: 0; z-index: 120; width: 280px; padding: 12px; background: #fff;
          border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(16, 32, 64, .18); }
.d8-cal[hidden] { display: none; }
.d8-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.d8-hd b { font-size: 14.5px; color: var(--ink); }
.d8-hd button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-size: 16px; color: var(--ink); }
.d8-hd button:disabled { opacity: .35; cursor: default; }
.d8-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.d8-grid span { font-size: 11px; color: var(--muted); text-align: center; padding: 4px 0; font-weight: 600; }
.d8-grid button { height: 34px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.d8-grid button:hover { background: #eef2f8; }
.d8-grid button.we { color: #8a94a6; }
.d8-grid button.today { box-shadow: inset 0 0 0 1.5px var(--brand); font-weight: 700; }
.d8-grid button.sel { background: var(--brand); color: #fff; font-weight: 700; }
.d8-grid button:disabled { opacity: .3; cursor: default; background: transparent; }
.d8-ft { display: flex; justify-content: space-between; margin-top: 8px; }
.d8-ft button { border: 0; background: none; color: var(--brand); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 4px 6px; }
.day-bar { overflow: visible !important; position: relative; z-index: 5; }

.nt-rcpt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.nt-f { display: flex; flex-direction: column; gap: 5px; }
.nt-f > span { font-size: 12px; color: var(--muted); }
.nt-f input { width: 100%; box-sizing: border-box; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; font: inherit; font-size: 14px; background: #fff; }
.nt-ev td { vertical-align: top; padding-top: 12px; padding-bottom: 12px; }
.nt-ev td.c { width: 44px; }
.nt-ev .t { font-weight: 600; }
.nt-ev .d { font-size: 12.5px; color: var(--muted); margin-top: 3px; max-width: 560px; }
.nt-ev .p { white-space: nowrap; font-size: 13.5px; }
.nt-ev .p input { width: 58px; text-align: center; padding: 6px; font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.nt-ev tr.off td, .nt-ev tr.off .t { color: #9aa4b2; }
.nt-soon { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: #eef2f8; color: #5b6678; margin-left: 6px; }

.nt-sw { position: relative; display: inline-block; width: 36px; height: 20px; cursor: pointer; margin-top: 1px; }
.nt-sw input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.nt-sw span { position: absolute; inset: 0; border-radius: 12px; background: #cfd6e1; transition: background .15s; pointer-events: none; }
.nt-sw span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: left .15s; }
.nt-sw input:checked + span { background: var(--ok); }
.nt-sw input:checked + span::after { left: 18px; }
.nt-sw input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.nt-sw.is-dis { cursor: default; }
.nt-sw.is-dis span { background: #e6eaf0; }
.nt-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line-soft); }
.nt-log td { font-size: 13.5px; }
.nt-err { margin-left: 6px; font-size: 12.5px; }
@media (max-width: 700px) {
  .nt-rcpt { grid-template-columns: 1fr; }

  .grid.nt-ev, .nt-ev tbody { display: block; min-width: 0; width: 100%; }
  .nt-ev tr { display: grid; grid-template-columns: 64px 1fr; border-bottom: 1px solid var(--line-soft); }
  .nt-ev td { display: block; border: 0; padding: 12px 14px 0 0; }
  .nt-ev td.c { width: auto; padding-left: 14px; padding-right: 0; }
  .nt-ev td.p { grid-column: 2; white-space: normal; padding: 8px 14px 12px 0; line-height: 2.2; }
}

.sc-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sc-nav { display: inline-flex; align-items: center; gap: 6px; }
.sc-nav b { min-width: 210px; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.sc-nav .is-dis { opacity: .35; pointer-events: none; }
.sc-sp { flex: 1; }
.sc-inl { display: inline; margin: 0; }
.sc-state { margin-top: 12px; padding: 10px 14px; border-radius: 8px; background: #fff8ec; border: 1px solid #f1dcb4; color: #7a5200; font-size: 13.5px; }
.sc-grid { width: 100%; min-width: 1080px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.sc-grid th { font-size: 12px; color: var(--muted); font-weight: 600; text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); background: #f7f9fc; }
.sc-grid th small { display: block; font-weight: 500; font-size: 11.5px; }
.sc-grid th.sc-today { color: var(--brand); background: #eaf0fa; }
.sc-grid .sc-nmh { width: 210px; padding-left: 12px; }
.sc-grid .sc-toth { width: 92px; text-align: right; padding-right: 12px; }
.sc-grid td { padding: 6px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.sc-grid td.sc-today { background: #f5f8fd; }
.sc-nm { font-weight: 600; font-size: 13.5px; padding: 12px 10px 12px 12px !important; }
.sc-nm small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 2px; }
.sc-tot { text-align: right; font-variant-numeric: tabular-nums; padding: 12px 12px 12px 6px !important; }
.sc-tot b { display: block; font-size: 15px; }
.sc-tot small { display: block; color: var(--muted); font-size: 11.5px; }
.sc-tot.bad b, .sc-tt.bad b { color: var(--bad); }
.sc-cell { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.sc-c { display: block; border-radius: 7px; padding: 7px 8px; font-size: 13px; line-height: 1.3; min-height: 40px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.sc-cell:hover .sc-c, .sc-cell:focus-visible .sc-c { border-color: var(--brand); }
.sc-c b { display: block; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.sc-c small { display: block; color: var(--muted); font-size: 11.5px; }
.sc-work { border-left: 4px solid #2c5aa0; }
.sc-remote { background: #eef5ff; border-color: #cfe0f5; border-left: 4px solid #3a7bd5; }
.sc-off, .sc-nonwork { background: #f1f3f6; color: #5b6678; border-style: dashed; }
.sc-leave { background: #fdf3e2; border-color: #f0d6a8; color: #7a5200; }
.sc-none { border-style: dashed; color: #9aa4b2; text-align: center; background: transparent; line-height: 26px; }
.sc-chg { box-shadow: 0 0 0 2px #e7a93b inset; }
.sc-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted); }
.sc-legend span::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; border: 1px solid var(--line); }
.sc-legend .l1::before { border-left: 4px solid #2c5aa0; }
.sc-legend .l2::before { background: #eef5ff; border-left: 4px solid #3a7bd5; }
.sc-legend .l3::before { background: #f1f3f6; border-style: dashed; }
.sc-legend .l4::before { background: #fdf3e2; }
.sc-legend .l5::before { box-shadow: 0 0 0 2px #e7a93b inset; }
.sc-legend .l6::before { box-shadow: 0 0 0 2px #8b6fd6 inset; }

.sc-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding: 60px 12px 20px; overflow-y: auto; }
.sc-modal[hidden] { display: none; }
.sc-veil { position: fixed; inset: 0; background: rgba(18, 32, 58, .45); }
.sc-box { position: relative; background: #fff; border-radius: 12px; width: 580px; max-width: 100%; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.sc-box.sc-wide { width: 760px; }
.sc-h { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.sc-h b { font-size: 17px; }
.sc-h small { display: block; color: var(--muted); margin-top: 3px; }
.sc-b { padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.sc-f { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sc-seg { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.sc-seg label { flex: 1 1 auto; position: relative; }
.sc-seg input { position: absolute; opacity: 0; }
.sc-seg span { display: block; padding: 9px 12px; font-size: 13.5px; text-align: center; border-right: 1px solid var(--line); cursor: pointer; background: #fff; }
.sc-seg label:last-child span { border-right: 0; }
.sc-seg label.on span { background: var(--brand); color: #fff; }
.sc-seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: -3px; }
.sc-times { display: flex; flex-direction: column; gap: 12px; }
.sc-times[hidden] { display: none; }
.sc-tr { display: flex; align-items: center; gap: 8px; font-size: 14px; flex-wrap: wrap; }
.sc-tr input, .sc-pt input, .sc-pt select, .sc-tolf input { width: 70px; text-align: center; padding: 7px; font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.sc-tr input.sc-from { width: 120px; }
.sc-lb { width: 110px; color: var(--muted); font-size: 13px; }
.sc-small { font-size: 12.5px; }
.sc-ck { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.sc-note { width: 100%; box-sizing: border-box; padding: 8px 10px; font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 7px; }
.sc-warn { background: #fff8ec; border: 1px solid #f1dcb4; color: #7a5200; border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.sc-warn[hidden] { display: none; }
.sc-warn.sc-info { background: #f4f7fb; border-color: var(--line); color: var(--muted); }
.sc-pt { border-collapse: collapse; width: 100%; }
.sc-pt th { font-size: 12px; color: var(--muted); text-align: left; padding: 4px 6px; font-weight: 600; }
.sc-pt td { padding: 4px 6px; white-space: nowrap; font-size: 13.5px; }
.sc-pt select { width: 128px; text-align: left; }
.sc-pt .sc-brk { width: 52px; }
.sc-ptd { font-weight: 600; width: 92px; }
.sc-offrow input { background: #f4f6f9; color: #b3bac6; }

.sc-tp { min-width: 1240px; }
.sc-tp td { vertical-align: middle; }
.sc-tpn { font-weight: 600; white-space: nowrap; }
.sc-tpn small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.sc-tpd { white-space: nowrap; }
.sc-dy { display: inline-block; vertical-align: top; min-width: 100px; text-align: center; padding: 5px 6px; border-radius: 6px; border: 1px solid var(--line); font-variant-numeric: tabular-nums; font-size: 12.5px; margin: 2px; line-height: 1.35; }
.sc-dy small { display: block; color: var(--muted); font-size: 11px; }
.sc-dy.off { background: #f1f3f6; color: #5b6678; border-style: dashed; }
.sc-dy.rem { background: #eef5ff; border-color: #cfe0f5; }
.sc-r { text-align: right; }
.sc-tt { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sc-tt b { display: block; font-size: 15px; }
.sc-tt small { display: block; color: var(--muted); font-size: 11.5px; }

.sc-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
.sc-tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.sc-tile small { display: block; font-size: 12px; color: var(--muted); }
.sc-tile b { display: block; font-size: 22px; margin-top: 4px; }
.sc-tile b.ok { color: var(--ok); } .sc-tile b.warn { color: var(--warn); } .sc-tile b.bad { color: var(--bad); }
.sc-dv { min-width: 900px; }
.sc-dv td { font-size: 13.5px; vertical-align: top; }
.sc-dv td:nth-child(-n+4) { white-space: nowrap; }
.sc-dv .sc-b1 { font-weight: 600; }
.sc-dv .sc-why { color: var(--muted); font-size: 12.5px; min-width: 300px; }
.d-ok { color: var(--ok); } .d-late { color: var(--warn); font-weight: 600; } .d-bad { color: var(--bad); font-weight: 600; }
.sc-tolf { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 13.5px; }
.sc-tolf input { width: 54px; }
.sc-tolt { font-weight: 600; }
@media (max-width: 700px) {
  .sc-tiles { grid-template-columns: repeat(2, 1fr); }
  .sc-nav b { min-width: 0; font-size: 14px; }
  .sc-lb { width: auto; }
  .sc-modal { padding-top: 20px; }
}
@media print {
  .sc-bar form, .sc-bar .btn, .sc-legend, .sc-modal { display: none !important; }
  .sc-grid { min-width: 0; }
}

.sc-days { display: none; }
@media (max-width: 700px) {
  .sc-days { display: flex; gap: 6px; margin-top: 12px; }
  .sc-days button { flex: 1; padding: 7px 0; border-radius: 8px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 12px; color: var(--ink); }
  .sc-days button b { display: block; font-size: 15px; }
  .sc-days button.is-today { border-color: var(--brand); }
  .sc-days button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
  .sc-grid { min-width: 0; table-layout: auto; }
  .sc-grid .sc-nmh { width: auto; }
  .sc-grid [data-c] { display: none; }
  .sc-grid[data-day="0"] [data-c="0"], .sc-grid[data-day="1"] [data-c="1"], .sc-grid[data-day="2"] [data-c="2"],
  .sc-grid[data-day="3"] [data-c="3"], .sc-grid[data-day="4"] [data-c="4"], .sc-grid[data-day="5"] [data-c="5"],
  .sc-grid[data-day="6"] [data-c="6"] { display: table-cell; }
  .sc-grid td[data-c] { width: 46%; }
  .sc-tot small { display: none; }
}

.now-why { font-size: 12px; margin-left: 4px; white-space: nowrap; }
.now-st-absent .now-in { background: var(--bad); }
.now-st-absent .now-why { color: var(--bad); font-weight: 600; }
.now-st-not_yet .now-in { background: #e7a93b; }
.now-st-not_yet .now-why { color: var(--warn); font-weight: 600; }
.now-st-pending .now-why, .now-st-nosched .now-why { color: var(--muted); }
.now-st-off .now-nm, .now-st-off .now-at { color: var(--muted); }

.wrap.wrap-wide { max-width: none; padding: 0; }
.pv-page { min-height: 100vh; }
.pv-hero { background: linear-gradient(135deg, #12305c 0%, #1d4079 60%, #2b5597 100%); color: #fff; }
.pv-hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end;
    max-width: 1680px; margin: 0 auto; padding: 40px 48px 36px; }
.pv-hero h1 { margin: 6px 0 8px; font-size: 34px; letter-spacing: -.01em; color: #fff; }
.pv-hero .pv-kicker { color: #b9cbe8; }
.pv-hero .pv-lead { color: #e3ebf7; font-size: 17px; margin: 0 0 8px; max-width: 60ch; }
.pv-hero .pv-date { color: #b9cbe8; }
.pv-hero .pv-who { margin: 0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-left: 4px solid #8fb2ea;
    color: #fff; border-radius: 10px; padding: 16px 18px; line-height: 1.55; }
.pv-hero .pv-who b { color: #fff; }
.pv-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pv-date { font-size: 13px; color: var(--muted); }
.pv-who div + div { margin-top: 8px; }
.pv-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; max-width: 1680px; margin: 0 auto; padding: 28px 48px 48px; align-items: start; }
.pv-toc { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.pv-toc b { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 8px 10px; }
.pv-toc a { color: var(--ink); text-decoration: none; padding: 6px 10px; border-radius: 7px; line-height: 1.35; }
.pv-toc a:hover { background: #e8eef8; color: var(--brand); }
.pv-toc .pv-toc-mail { margin-top: 12px; color: var(--brand-on); font-size: 13px; }
.pv { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 8px 36px 26px; line-height: 1.62; }
.pv h2 { margin: 30px 0 10px; font-size: 19px; color: var(--brand); scroll-margin-top: 16px; }
.pv p { margin: 0 0 10px; max-width: 95ch; }
.pv a { color: var(--brand-on); }
.pv section + section { border-top: 1px solid var(--line-soft); }
.pv-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pv-role { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: #fbfcfe; }
.pv-role p { margin: 0; font-size: 14px; }
.pv-role-h { font-weight: 700; margin-bottom: 6px; color: var(--brand); }
.pv-role-h span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.pv-id { color: var(--ink); }
.pv-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 6px 0 12px; font-size: 14px; }
.pv-tr { display: grid; grid-template-columns: 1.1fr 2fr .9fr; gap: 12px; padding: 9px 14px; border-top: 1px solid var(--line-soft); }
.pv-tr:first-child { border-top: 0; }
.pv-t2 .pv-tr { grid-template-columns: 1.7fr 1fr; }
.pv-th { background: #f6f8fb; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pv-foot { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }
.login-foot a { color: inherit; }
@media (max-width: 1280px) { .pv-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
    .pv-hero-in { grid-template-columns: 1fr; padding: 28px 20px 24px; gap: 18px; }
    .pv-body { grid-template-columns: 1fr; padding: 18px 12px 32px; }
    .pv-toc { display: none; }
}
@media (max-width: 640px) {
    .pv { padding: 4px 18px 16px; border-radius: 12px; }
    .pv-hero h1 { font-size: 27px; }
    .pv-roles { grid-template-columns: 1fr; }
    .pv-tr, .pv-t2 .pv-tr { grid-template-columns: 1fr; gap: 2px; }
    .pv-tr span:first-child { font-weight: 600; }
    .pv-th { display: none; }
}
@media print {
    .pv-hero { background: none; color: var(--ink); } .pv-hero h1, .pv-hero .pv-who, .pv-hero .pv-who b { color: var(--ink); }
    .pv-toc { display: none; } .pv-body { display: block; padding: 0; } .pv { border: 0; padding: 0; }
}

.py-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.py-sp { flex: 1; }
.py-bar a.btn { text-decoration: none; }
.py-who { font-size: 16px; }
.py-state { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 10px 14px; border-radius: 8px;
    background: #fff8ec; border: 1px solid #f1dcb4; color: #7a5200; font-size: 13.5px; }
.py-state a { color: #7a5200; font-weight: 600; }
.py-state.py-info { background: #eef3fa; border-color: #c9d6ee; color: var(--brand); }
.py-grid { width: 100%; min-width: 1180px; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.py-grid th { font-size: 11.5px; color: var(--muted); font-weight: 600; text-align: right; padding: 9px 8px; border-bottom: 1px solid var(--line);
    background: #f7f9fc; line-height: 1.25; vertical-align: bottom; }
.py-grid th.py-nmh { text-align: left; width: 250px; }
.py-grid th.grp { text-align: center; border-bottom: 1px solid var(--line-soft); background: #eef3fa; color: var(--brand); }
.py-grid td { padding: 10px 8px; border-bottom: 1px solid var(--line-soft); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.py-grid td:first-child { text-align: left; white-space: normal; }
.py-grid td.nm a { color: var(--ink); text-decoration: none; }
.py-grid td.nm a:hover b { text-decoration: underline; }
.py-grid td.nm b { display: block; font-size: 13.5px; }
.py-grid td.nm small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.py-grid td.z { color: #b6bfcc; }
.py-grid td.hi { font-weight: 700; color: var(--brand); }
.py-grid td.w { color: var(--warn); font-weight: 700; }
.py-grid td.bad { color: var(--bad); font-weight: 700; }
.py-grid tr.tot td { font-weight: 700; background: #f7f9fc; border-top: 2px solid var(--line); }
.py-grid .sep { border-left: 1px solid var(--line); }
.py-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; line-height: 1.55; }
.py-note b { color: var(--ink); }
.py-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.py-chip { display: inline-flex; gap: 6px; align-items: baseline; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; background: #fff; }
.py-chip b { font-variant-numeric: tabular-nums; }
.py-chip.p { border-color: #c9d6ee; background: #eef3fa; color: var(--brand); }
.py-chip.o { border-color: #f1dcb4; background: #fff8ec; color: #7a5200; }
.py-chip.r { border-color: #f3c9c9; background: #fdf1f1; color: var(--bad); }
.py-wk { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 12px; }
.py-wk:first-child { margin-top: 0; }
.py-wk-h { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; align-items: center; padding: 10px 14px;
    background: #f7f9fc; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.py-wk-h b { color: var(--brand); }
.py-wk table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.py-wk th:nth-child(1) { width: 27%; } .py-wk th:nth-child(2) { width: 21%; } .py-wk th:nth-child(3) { width: 27%; }
.py-wk td, .py-wk th { padding: 8px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; font-variant-numeric: tabular-nums; vertical-align: top; }
.py-wk tr:last-child td { border-bottom: 0; }
.py-wk th { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.py-wk td.r, .py-wk th.r { text-align: right; }
.py-wk tr.hol td { background: #fff5f5; }
.py-wk tr.is-out td { opacity: .5; }
.py-tag { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 10px; background: #fde8e8; color: var(--bad); font-weight: 600; margin-left: 6px; white-space: nowrap; }
.py-tag.n { background: #eef0fb; color: #4a4fb3; }
.py-tag.g { background: #eef1f5; color: var(--muted); }
.py-tag.o { background: #fff3df; color: #7a5200; }
.py-mut { color: var(--muted); font-size: 12px; margin-left: 4px; }
.py-rg { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.py-box { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.py-box.py-wide { grid-column: 1 / -1; }
.py-box h3, .py-h3 { margin: 0 0 8px; font-size: 14.5px; color: var(--brand); display: flex; align-items: center; gap: 8px; }
.py-box p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.py-sub { margin-top: 14px; font-size: 13px; font-weight: 600; }
.py-ex { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; font-size: 13.5px; }
.py-tr { display: flex; align-items: center; gap: 8px; font-size: 14px; flex-wrap: wrap; margin-top: 8px; }
.py-tr input[type=number] { width: 76px; text-align: center; }
.py-ld { width: 120px; }
.py-ln { width: 240px; max-width: 100%; }
.py-hlg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 30px; }
.py-hl { display: grid; grid-template-columns: 22px 52px 1fr auto; gap: 6px 8px; align-items: center; font-size: 13.5px; padding: 3px 0; cursor: pointer; }
.py-hl small, .py-loc small { color: var(--muted); font-size: 12px; }
.py-hl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); margin-left: 3px; }
.py-locs { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.py-loc { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 10px; align-items: center; font-size: 13.5px; }
@media (max-width: 760px) {
    .py-rg, .py-hlg { grid-template-columns: 1fr; }
    .py-grid th.py-nmh, .py-grid td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; min-width: 170px; max-width: 170px; box-shadow: 1px 0 0 var(--line); }
    .py-grid th.py-nmh { background: #f7f9fc; }
    .py-grid tr.tot td:first-child { background: #f7f9fc; }
}
@media print {
    .py-bar .btn, .ptabs { display: none !important; }
    .py-grid { min-width: 0; font-size: 10.5px; }
    .py-wk table { min-width: 0; }
}
.py-box select, .py-tr input { padding: 8px 10px; font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.py-box select:focus, .py-tr input:focus { outline: none; border-color: var(--brand); }
.py-box h3 a.btn { text-decoration: none; padding: 2px 10px; }
.py-hlg { grid-auto-flow: column; }
@media (max-width: 760px) { .py-hlg { grid-auto-flow: row; grid-template-rows: none !important; } }

.sc-segw { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sc-notew { display: flex; align-items: center; gap: 8px; }
.sc-notew .sc-note { flex: 1; min-width: 0; }
.sc-bar > .tip, .py-bar > .tip { margin-left: -4px; }
#scReset[hidden] + .tip { display: none; }
.sc-bar a.btn { text-decoration: none; }
#scSug[hidden] ~ .tip { display: none; }

.sc-hx { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.sc-ht { flex: 1; min-width: 180px; }
.sc-ht b { display: block; }
.sc-same { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.sc-same[hidden] { display: none; }
.sc-same > span { font-size: 12px; color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.sc-same select { width: 380px; max-width: 100%; padding: 8px 10px; font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.sc-same select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18,48,92,.12); }
.sc-ok { background: #eaf5ef; border: 1px solid #bfe0cd; color: #1d6b3d; border-radius: 8px; padding: 8px 12px; font-size: 13px; }
.sc-ok[hidden] { display: none; }
@media (max-width: 640px) { .sc-same { align-items: stretch; width: 100%; } .sc-same select { width: 100%; } }

.sc-okf { padding: 7px 12px; font-size: 12.5px; line-height: 1.35; }

#scPat .sc-f { flex-wrap: nowrap; }
#scPat .sc-f .btn { flex-shrink: 0; }
#scPat .sc-f .sc-sp { flex: 1 1 0; }
.sc-okf { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
    #scPat .sc-f { flex-wrap: wrap; }
    .sc-okf { flex-basis: 100%; white-space: normal; }
}

.sc-notyet { color: #9a5b00 !important; font-weight: 600; }
.sc-cpy { box-shadow: 0 0 0 2px #8b6fd6 inset; }
.sc-vw { position: relative; display: inline-flex; align-items: center; gap: 4px; }
.sc-vw[hidden] { display: none; }
.sc-vbadge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #c9d6ea; background: #eef3fa; color: var(--brand);
    border-radius: 999px; padding: 5px 11px 5px 5px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.sc-vbadge:hover, .sc-vbadge[aria-expanded="true"] { border-color: var(--brand); }
.sc-vbadge i { font-style: normal; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
    background: var(--brand); color: #fff; font-size: 12px; }
.sc-vpop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 130; width: 340px; max-width: 86vw; display: block;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.18); padding: 8px; }
.sc-vpop[hidden] { display: none; }
.sc-vph { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 4px 6px 6px; }
.sc-vrow { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: transparent; border-radius: 8px;
    padding: 8px 6px; font: inherit; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.sc-vrow:hover { background: #eef3fa; }
.sc-vrow b { font-variant-numeric: tabular-nums; min-width: 84px; }
.sc-vrow small { color: var(--muted); font-size: 12.5px; }
.sc-vdot, .d8-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px; }
.sc-v-now, .d8-dot.d8-m-now { background: #1f8a4c; }
.sc-v-fut, .d8-dot.d8-m-fut { background: #2f6fe4; }
.sc-v-old, .d8-dot.d8-m-old { background: #b5bfcc; }
.d8-grid button.d8-m { position: relative; font-weight: 700; }
.d8-grid button.d8-m::after { content: ""; position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%); width: 6px; height: 6px; border-radius: 50%; }
.d8-grid button.d8-m-now::after { background: #1f8a4c; }
.d8-grid button.d8-m-fut::after { background: #2f6fe4; }
.d8-grid button.d8-m-old::after { background: #b5bfcc; }
.d8-grid button.sel.d8-m::after { background: #fff; }
.d8-leg { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11.5px; color: var(--muted); padding: 8px 2px 0; margin-top: 8px; border-top: 1px solid var(--line-soft); }
.d8-leg span { display: inline-flex; align-items: center; gap: 5px; }
.sc-plan { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; background: #f7f9fc; padding: 10px 14px; font-size: 13.5px; line-height: 1.5; }
.sc-plan[hidden] { display: none; }
.sc-plh { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 4px; }
.sc-pl { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; }
.sc-pl > i { font-style: normal; flex: 0 0 18px; text-align: center; font-weight: 700; color: #7a8aa0; }
.sc-pl.ok > i, .sc-pl.ed > i { color: #1d6b3d; }
.sc-pl small, .sc-pck small { color: var(--muted); }
.sc-pck { display: flex; gap: 10px; align-items: flex-start; margin-top: 4px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.sc-pck input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 16px; }
.sc-pck.diff { background: #fff8ec; border-color: #f1dcb4; }
.sc-pdiff { color: #9a5b00; }
.sc-pkeep { margin: 4px 0 0 28px; color: #7a5200; font-size: 13px; }
.sc-pkeep[hidden] { display: none; }
.sc-pnote { margin-top: 6px; color: var(--muted); font-size: 12.5px; }

.sc-sugw { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
@media (max-width: 640px) { .sc-vpop { width: calc(100vw - 48px); } }

.grid tr.row-link.is-sel td, .grid tr.row-link.is-sel:hover td { background: #dce8f8; }
.grid tr.row-link.is-sel td:first-child { box-shadow: inset 4px 0 0 var(--brand); }
.rl-sel { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--brand); color: #fff;
    font-size: 11.5px; font-weight: 600; vertical-align: 2px; white-space: nowrap; }

.rl-win b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rl-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #fff3c4; border: 1px solid #f0d78a;
    color: #7a5200; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.rl-note { color: var(--muted); font-size: 11.5px; margin-top: 2px; white-space: normal; }
.rl-note.rl-late { color: #9a5b00; }
.grid tr.rl-pre td { background: #fffbea; }
.grid tr.rl-pre td:first-child { box-shadow: inset 4px 0 0 #e7a93b; }
.rl-box { border-radius: 10px; padding: 10px 12px; font-size: 13px; line-height: 1.5; margin: 8px 0 4px; }
.rl-box.y { background: #fff8e1; border: 1px solid #f0d78a; color: #5c4300; }
.rl-box.a { background: #fff4e5; border: 1px solid #f1d2a6; color: #7a4a00; }
.rl-box.g { background: #f4f7fb; border: 1px solid var(--line); color: var(--muted); }

.rl-otag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #ffe9cc; border: 1px solid #f1c27d;
    color: #8a4b00; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.grid tr.rl-warn td { background: #fff6ea; }
.grid tr.rl-warn td:first-child { box-shadow: inset 4px 0 0 #e08a1e; }
.rl-note.rl-late b { color: inherit; }
.rl-wcap { font-size: 12px; color: var(--muted); margin-top: 8px; }
.rl-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 6px 0 4px; }
.rl-week span { border: 1px solid var(--line); border-radius: 7px; padding: 5px 2px; text-align: center; font-size: 12px; line-height: 1.25; background: #fff; }
.rl-week span small { display: block; color: var(--muted); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.rl-week span.d { background: #fff6ea; border-color: #f1c27d; }
.rl-week span.y { background: #fff8e1; border-color: #f0d78a; }
.rl-week span.off { color: var(--muted); background: #f4f6f9; }
.rl-week span.t { box-shadow: 0 0 0 2px var(--brand); }

.rl-split { display: table; margin-bottom: 4px; padding: 1px 8px; border-radius: 6px; background: #e8eef8; color: var(--brand);
    font-size: 10.5px; font-weight: 700; letter-spacing: .08em; }
.rl-n { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 6px; border-radius: 50%; background: var(--brand);
    color: #fff; font-size: 10.5px; font-weight: 700; vertical-align: 1px; font-variant-numeric: tabular-nums; }
.rl-seg2 { margin-top: 6px; }
.rl-seglbl { display: flex; align-items: center; margin: 8px 0 6px; font-size: 12.5px; font-weight: 600; color: var(--ink); }

.grid th.w-chk, .grid td.w-chk { width: 34px; padding-right: 0; text-align: center; }
.grid td.w-chk input, .grid th.w-chk input { width: 16px; height: 16px; cursor: pointer; accent-color: var(--brand); }
.grid tr.is-picked td { background: #f2f6ff; }

.panel-clip { overflow: clip; }
#bp-open svg { vertical-align: -3px; margin-right: 4px; }

.bp-bar {
    position: sticky; bottom: 0; z-index: 3;
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 11px 16px; background: var(--brand); color: #fff; font-size: 14px;
}
.bp-bar[hidden] { display: none; }
.bp-bar-sub { opacity: .75; }
.bp-bar-sp { flex: 1; }
.bp-bar .bp-bar-go { background: #fff; color: var(--brand); border-color: #fff; }
.bp-bar .bp-bar-clear { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }

.bp-box { width: min(660px, calc(100vw - 24px)); }
.bp-box .modal-body { max-height: calc(100vh - 150px); overflow: auto; }
.bp-lead { margin: 0 0 12px; color: var(--muted); font-size: 13.5px; }
.bp-h { font-weight: 700; font-size: 13px; margin: 12px 0 2px; }
.bp-opt, .bp-issue {
    display: flex; gap: 10px; align-items: flex-start; cursor: pointer;
    border: 1.5px solid #d6dce6; background: #fff; border-radius: 10px; padding: 8px 11px; margin-top: 6px;
}
.bp-opt:has(input:checked) { border-color: #3a6fd8; background: #f2f6ff; }
.bp-opt input, .bp-issue input { margin-top: 3px; accent-color: var(--brand); }
.bp-opt b, .bp-issue b { display: block; font-size: 14px; font-weight: 600; }
.bp-opt b i, .bp-issue b i { font-style: normal; }
.bp-opt small, .bp-issue small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 1px; }
.bp-issue { margin-top: 10px; background: #fff8e8; border-color: #f1c27d; }
.bp-issue small { color: #8a5a00; }
.bp-issue.is-zero { opacity: .55; }
.bp-date { width: 108px; padding: 2px 6px; font: inherit; font-size: 12.5px; border: 1px solid #c9d4e5; border-radius: 6px; }
.bp-cols { display: grid; grid-template-columns: 1fr 170px; gap: 18px; align-items: start; }
.bp-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 6px; padding: 8px; border: 1px solid #d6dce6; border-radius: 10px; }
.bp-slots label { cursor: pointer; position: relative; }
.bp-slots input { position: absolute; opacity: 0; pointer-events: none; }
.bp-slots span {
    display: flex; align-items: center; justify-content: center; height: 28px; border-radius: 6px;
    font-size: 12.5px; font-weight: 700; border: 1px solid #c9d4e5; color: var(--muted); background: #fff;
}
.bp-slots label.is-used span { background: #eef0f4; border-color: #eef0f4; color: #a3adbb; text-decoration: line-through; }
.bp-slots input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.bp-slots input:focus-visible + span { outline: 2px solid #3a6fd8; outline-offset: 2px; }
.bp-slot-note { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; margin-top: 6px; }
.bp-sum { margin-top: 14px; padding: 10px 13px; background: #f4f6fa; border-radius: 10px; color: var(--brand); font-size: 14px; line-height: 1.5; }
.bp-sum-warn { color: #8a5a00; font-size: 13px; }
.bp-sum-bad { color: var(--bad); font-weight: 600; }
@media (max-width: 560px) {
    .bp-cols { grid-template-columns: 1fr; }
    #bp-open { padding-left: 10px; padding-right: 10px; }
}

.rl-all { padding: 14px 20px 18px; border-top: 1px dashed var(--line); background: #fbfcfe; }
.rl-all-h { font-weight: 700; font-size: 13.5px; }
.rl-all .hint { margin: 4px 0 10px; }
.rl-all-early { display: flex; align-items: center; gap: 10px; font-size: 13.5px; margin-bottom: 10px; flex-wrap: wrap; }
.rl-all-early select { flex: 1; min-width: 200px; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.rl-all-go { background: #fff8e8; border-color: #f1c27d; color: #7a4f08; }

.tm-text ol.tm-list { list-style-type: lower-greek; margin: 0 0 10px; padding-left: 26px; max-width: 95ch; }
.tm-text ol.tm-list li { margin: 2px 0; }
.tm-agree { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid #3a6fd8; background: #f2f6ff;
            border-radius: 10px; padding: 11px 13px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.tm-agree input { margin-top: 4px; width: 16px; height: 16px; flex: none; accent-color: var(--brand); }
.tm-agree small { display: block; color: var(--muted); margin-top: 2px; }

.tm-wrap { display: grid; grid-template-columns: 230px minmax(0, 1fr) 330px; gap: 20px;
           height: max(520px, calc(100dvh - 130px)); }
.tm-wrap > * { min-height: 0; }
.tm-toc { margin: 0; padding: 16px 10px 16px 16px; overflow: auto; }
.tm-toc ol { list-style: none; margin: 10px 0 0; padding: 0; counter-reset: tc; }
.tm-toc li { counter-increment: tc; }
.tm-toc a { display: grid; grid-template-columns: 24px 1fr; padding: 5px 8px 5px 4px; border-radius: 7px;
            font-size: 13px; line-height: 1.35; color: var(--ink, #1c2533); text-decoration: none; border-left: 3px solid transparent; }
.tm-toc a::before { content: counter(tc) "."; color: var(--muted); font-variant-numeric: tabular-nums; }
.tm-toc a:hover { background: var(--line-soft); }
.tm-toc a.on { background: #eaf0fb; border-left-color: var(--brand); color: var(--brand); font-weight: 600; }
.tm-doc { margin: 0; display: flex; flex-direction: column; overflow: hidden; }
.tm-bar { display: flex; gap: 14px; align-items: center; padding: 12px 22px; background: #f4f6fa; border-bottom: 1px solid var(--line); font-size: 13.5px; flex-wrap: wrap; }
.tm-ver { background: var(--brand); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 700; }
.tm-sp { flex: 1; }
.tm-prog { height: 3px; background: var(--line-soft); flex: none; }
.tm-prog i { display: block; height: 100%; width: 0; background: #3a6fd8; transition: width .15s; }
.tm-scroll { flex: 1; min-height: 0; overflow: auto; position: relative; border: 0; border-radius: 0; padding: 4px 34px 26px; }
.tm-scroll h2 { font-size: 16.5px; margin-top: 22px; }
.tm-scroll > section { max-width: 860px; margin: 0 auto; }
.tm-scroll p, .tm-scroll ol.tm-list { max-width: none; }
.tm-side { display: flex; flex-direction: column; gap: 14px; min-height: 0; }

.tm-side > .tm-sum { flex: 1 1 auto; min-height: 150px; overflow: auto; display: flex; flex-direction: column; }
.tm-side > .tm-foot { flex: none; }
.tm-card { margin: 0; padding: 16px 18px; }
.tm-keys { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.tm-keys a { display: block; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: inherit; border: 1px solid transparent; }
.tm-keys a:hover { background: #f2f6ff; border-color: #d5e1f7; }
.tm-keys b { display: block; font-size: 13.5px; color: var(--brand); }
.tm-keys span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 1px; }
.tm-note { margin: 8px 0 0; font-size: 11.5px; color: var(--muted); }
.tm-foot { display: grid; gap: 11px; background: #fbfcfe; }
.tm-read { font-size: 12.5px; color: var(--muted); }
.tm-read b { color: var(--ink, #1c2533); }
.tm-read.done b { color: #1e7a46; }
.tm-read.done b::after { content: " ✓"; }
.tm-go, .tm-out { width: 100%; justify-content: center; text-align: center; text-decoration: none; }
.tm-go { padding-top: 11px; padding-bottom: 11px; font-size: 15px; }
.tm-co { margin: auto 0 0; padding-top: 12px; font-size: 11.5px; color: var(--muted); }

@media (max-width: 1280px) {
    .tm-wrap { grid-template-columns: minmax(0, 1fr) 310px; }
    .tm-toc { display: none; }
    .tm-scroll { padding: 4px 26px 22px; }
}

@media (max-width: 900px) {
    .tm-wrap { display: block; height: auto; }
    .tm-side { margin-top: 14px; }
    .tm-side > .tm-sum { overflow: visible; min-height: 0; }
    .tm-doc { overflow: visible; scroll-margin-top: 66px; }
    .tm-scroll { flex: none; height: 55vh; padding: 4px 16px 16px; }
    .tm-bar { padding: 10px 14px; }
}

.hp-home, .hp-ch, .hp-crumb { max-width: 2200px; }
.hp-hero { position: relative; overflow: visible; border-radius: 18px; padding: 30px 32px 26px 36px; color: #fff; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 30%); gap: 32px; align-items: center;
  background: radial-gradient(1200px 300px at 85% -40%, rgba(143,178,234,.45), transparent 60%), linear-gradient(135deg, #12305c 0%, #1d4079 55%, #2b5597 100%); }
.hp-kick { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #b9cbe8; text-transform: uppercase; }
.hp-hero h1 { color: #fff; font-size: 31px; margin: 6px 0 6px; letter-spacing: -.01em; font-weight: 700; }
.hp-hero p { color: #dbe6f6; margin: 0 0 18px; font-size: 15.5px; max-width: 70ch; }
.hp-ver { margin-top: 14px; font-size: 12.5px; color: #b9cbe8; }
.hp-ver b { color: #fff; }
.hp-pop { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 14px 10px 8px; align-self: stretch; }
.hp-pop-t { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b9cbe8; padding: 0 8px 8px; }
.hp-pop a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 9px; color: #fff; text-decoration: none; font-size: 14px; }
.hp-pop a + a { border-top: 1px solid rgba(255,255,255,.08); }
.hp-pop a:hover { background: rgba(255,255,255,.12); }
.hp-pop a span { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.14); display: grid; place-items: center; flex: none; }
.hp-pop a i { margin-left: auto; font-style: normal; color: #b9cbe8; transition: transform .15s; }
.hp-pop a:hover i { transform: translateX(3px); color: #fff; }

.hp-ready { margin-top: 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--panel); border: 1px solid #c5e5d2;
  border-left: 5px solid var(--ok); border-radius: 14px; padding: 14px 18px; }
.hp-ready-ic { width: 40px; height: 40px; border-radius: 50%; background: #e3f4ea; color: var(--ok); display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.hp-ready-t b { display: block; font-size: 15.5px; color: var(--ink); }
.hp-ready-t small { color: var(--muted); font-size: 13px; }
.hp-ready-s { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.hp-ready-s a { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--ok); background: #eef8f2;
  border: 1px solid #d3ecdd; border-radius: 999px; padding: 4px 11px; text-decoration: none; }
.hp-ready-s a:hover { background: #e3f4ea; }
.hp-ready-s i { font-style: normal; }

.hp-sup { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 8px; }
.hp-sup b { font-size: 15px; color: var(--ink); }
.hp-sup p { margin: 0 0 4px; font-size: 13.5px; color: #3b4a60; line-height: 1.5; }
.hp-sup a { display: flex; align-items: center; gap: 10px; color: var(--brand-on); font-weight: 600; text-decoration: none; font-size: 14.5px; }
.hp-sup a span { width: 30px; height: 30px; border-radius: 8px; background: #eaf0fb; display: grid; place-items: center; }

.hp-search { position: relative; max-width: 980px; }
.hp-search input { width: 100%; font: inherit; font-size: 16px; padding: 15px 52px 15px 48px; border-radius: 12px; border: 0; color: var(--ink);
  box-shadow: 0 10px 30px rgba(6,20,45,.35); outline: 3px solid rgba(143,178,234,.35); -webkit-appearance: none; }
.hp-search input:focus { outline-color: rgba(143,178,234,.8); }
.hp-search > svg { position: absolute; left: 16px; top: 26px; transform: translateY(-50%); color: var(--muted); }
.hp-search kbd { position: absolute; right: 14px; top: 26px; transform: translateY(-50%); font: 12px/1 inherit; color: var(--muted);
  border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; background: #f4f6fa; }
.hp-res { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 12px; z-index: 30;
  box-shadow: 0 18px 40px rgba(6,20,45,.28); overflow: hidden; max-height: 60vh; overflow-y: auto; }
.hp-res a { display: block; padding: 11px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; }
.hp-res a:hover, .hp-res a:focus { background: #f2f6ff; }
.hp-res small { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.hp-res b { display: block; font-size: 14.5px; color: var(--brand); }
.hp-res span { display: block; font-size: 13px; color: #3b4a60; line-height: 1.45; margin-top: 2px; }
.hp-none { padding: 14px 16px; color: var(--muted); font-size: 14px; }
.hp-sec { margin: 26px 0 12px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hp-sec h2 { margin: 0; font-size: 19px; color: var(--ink); }
.hp-sec span { color: var(--muted); font-size: 13.5px; }

.hp-steps { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.hp-step { padding: 16px 16px 14px; border-right: 1px solid var(--line-soft); text-decoration: none; color: inherit; display: block; }
.hp-step:last-child { border-right: 0; }
.hp-step:hover { background: #f8fafd; }
.hp-step i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-style: normal; font-weight: 700; font-size: 14px;
  background: #eef1f6; color: var(--muted); margin-bottom: 10px; }
.hp-step.ok i { background: #e3f4ea; color: var(--ok); }
.hp-step.warn i { background: #fff2dc; color: #a35c00; }
.hp-step.cur { background: linear-gradient(180deg, #f2f6ff, #fff); }
.hp-step.cur i { background: var(--brand); color: #fff; box-shadow: 0 0 0 4px #dce6f8; }
.hp-step b { display: block; font-size: 14px; color: var(--ink); }
.hp-step small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; line-height: 1.4; }
.hp-step em { display: inline-block; margin-top: 8px; font-style: normal; font-size: 12px; font-weight: 600; border-radius: 6px; padding: 2px 8px; background: #eef1f6; color: #3b4a60; }
.hp-step.ok em { background: #e3f4ea; color: var(--ok); }
.hp-step.warn em { background: #fff2dc; color: #a35c00; }
.hp-bar { height: 4px; background: #eef1f6; border-radius: 0 0 4px 4px; margin: 0 14px; }
.hp-bar b { display: block; height: 100%; background: linear-gradient(90deg, var(--ok), #3a6fd8); border-radius: 4px; }

.hp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (min-width: 1820px) { .hp-grid { grid-template-columns: repeat(6, 1fr); } }
.hp-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.hp-card:hover { border-color: #9db8e8; box-shadow: 0 8px 22px rgba(18,48,92,.10); transform: translateY(-2px); }
.hp-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #eaf0fb; color: var(--brand); flex: none; }
.hp-card .hp-ico { margin-bottom: 4px; }
.hp-card b { font-size: 15px; color: var(--ink); }
.hp-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; flex: 1; }
.hp-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.hp-meta span { font-size: 11.5px; background: #f4f6fa; border: 1px solid var(--line-soft); color: #3b4a60; border-radius: 6px; padding: 1px 7px; }

.hp-three { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .85fr); gap: 18px; align-items: stretch; }

.hp-three > div { display: flex; flex-direction: column; min-width: 0; }
.hp-three > div > .hp-faq, .hp-three > div > .hp-glos, .hp-three > .hp-side > .hp-emp { flex: 1; }
.hp-three .hp-sec { flex-wrap: nowrap; min-width: 0; }
.hp-three .hp-sec h2 { white-space: nowrap; }
.hp-three .hp-sec span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hp-faq { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.hp-faq details { border-bottom: 1px solid var(--line-soft); }
.hp-faq details:last-child { border-bottom: 0; }
.hp-faq summary { display: flex; gap: 12px; align-items: center; padding: 12px 18px; cursor: pointer; list-style: none; font-size: 14.5px; }
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after { content: "›"; margin-left: auto; color: var(--muted); font-size: 18px; transition: transform .15s; }
.hp-faq details[open] summary::after { transform: rotate(90deg); }
.hp-faq details[open] summary { background: #f8fafd; font-weight: 600; }
.hp-faq summary i { font-style: normal; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; flex: none; }
.hp-ans { padding: 2px 18px 14px 56px; font-size: 14px; line-height: 1.55; color: #2c3a52; }
.hp-ans p { margin: 0 0 8px; }
.hp-ans a { color: var(--brand-on); font-weight: 600; font-size: 13.5px; }
.i-red { background: #fde8e8; color: var(--bad); } .i-amb { background: #fff2dc; color: #a35c00; }
.i-blu { background: #eaf0fb; color: var(--brand-on); } .i-grn { background: #e3f4ea; color: var(--ok); }
.hp-side { gap: 14px; }
.hp-glos { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.hp-glos dl { margin: 2px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 13.5px; }
.hp-glos dt { font-weight: 700; color: var(--brand); }
.hp-glos dd { margin: 0; color: #3b4a60; }
.hp-emp { border-radius: 14px; padding: 18px; color: #fff; background: linear-gradient(135deg, #1e7a46, #2f9a62); display: grid; gap: 12px; }
.hp-emp b { font-size: 16px; }
.hp-emp p { margin: 4px 0 0; font-size: 13px; color: #e2f5ea; }
.hp-emp-a { display: flex; gap: 8px; flex-wrap: wrap; }
.hp-emp-a a { display: inline-flex; gap: 6px; align-items: center; background: #fff; color: #1e7a46; border-radius: 9px; padding: 8px 12px;
  font-weight: 700; font-size: 13px; text-decoration: none; }
.hp-emp-a a + a { background: rgba(255,255,255,.15); color: #fff; }

.hp-crumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.hp-crumb a { color: var(--brand-on); }
.hp-ch { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 1559px) { .hp-rail { display: none; } }
.hp-toc { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; position: sticky; top: 0; }
.hp-toc .pv-kicker { padding: 0 10px 6px; }
.hp-toc a { display: block; padding: 6px 10px; border-radius: 7px; font-size: 13.5px; color: var(--ink); text-decoration: none; border-left: 3px solid transparent; }
.hp-toc a:hover { background: var(--line-soft); }
.hp-toc a.on { background: #eaf0fb; color: var(--brand); font-weight: 600; border-left-color: var(--brand); }
.hp-toc a.hp-toc-all { margin-top: 8px; border-top: 1px solid var(--line-soft); border-radius: 0; padding-top: 10px; color: var(--muted); }
.hp-art { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px 36px 30px; line-height: 1.62; font-size: 15px; color: #26344b; max-width: 980px; }
.hp-art-h { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 10px; }
.hp-art-h .hp-ico { width: 46px; height: 46px; border-radius: 12px; }
.hp-art h1 { font-size: 25px; color: var(--ink); margin: 0 0 6px; font-weight: 700; }
.hp-art h2 { margin: 30px 0 10px; font-size: 20px; color: var(--brand); scroll-margin-top: 12px; }
.hp-art section { border-top: 1px solid var(--line-soft); }
.hp-art p { margin: 0 0 10px; }
.hp-lede { font-size: 16.5px; color: #3b4a60; }
.hp-who { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hp-who span { font-size: 12.5px; border-radius: 999px; padding: 2px 11px; background: #eaf0fb; color: var(--brand); font-weight: 600; }
.hp-who span.g { background: #e3f4ea; color: var(--ok); }
.hp-who a { font-size: 13px; color: var(--brand-on); font-weight: 600; margin-left: 4px; }
.hp-tl { position: relative; margin: 8px 0 6px; padding: 0; list-style: none; }
.hp-tl > li { position: relative; padding: 0 0 18px 50px; }
.hp-tl > li::before { content: ""; position: absolute; left: 16px; top: 36px; bottom: 0; width: 2px; background: #dbe4f3; }
.hp-tl > li:last-child::before { display: none; }
.hp-tl .n { position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.hp-tl h3 { margin: 5px 0 3px; font-size: 16px; color: var(--ink); }
.hp-tl p { margin: 0 0 6px; }
.hp-shot { margin: 10px 0 6px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 26px rgba(18,48,92,.10); }
.hp-shot img { display: block; width: 100%; height: auto; }
.hp-legend { list-style: none; counter-reset: lg; margin: 8px 0 14px; padding: 0; display: grid; gap: 5px; font-size: 14px; }
.hp-legend li { counter-increment: lg; display: grid; grid-template-columns: 26px 1fr; gap: 6px; align-items: start; }
.hp-legend li::before { content: counter(lg); width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: #e2462f; color: #fff;
  font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }
.hp-call { border-radius: 10px; padding: 11px 13px; font-size: 14px; margin: 12px 0; display: grid; grid-template-columns: 22px 1fr; gap: 8px; line-height: 1.5; }
.hp-call > span { font-weight: 800; }
.hp-call.warn { background: #fff7e8; border: 1px solid #f3d8a6; color: #6b4500; }
.hp-call.tip { background: #eef6f1; border: 1px solid #c5e5d2; color: #1d5537; }
.hp-call.info { background: #f0f5fd; border: 1px solid #d3e0f5; color: #1d3a66; }
.hp-bts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0 12px; }
.hp-bts > div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.hp-bts b { display: block; color: var(--ink); margin-bottom: 2px; }
.hp-tbl { width: 100%; border-collapse: collapse; margin: 10px 0 14px; font-size: 14px; line-height: 1.45; }
.hp-tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 7px 10px; border-bottom: 1px solid var(--line); background: #f8fafd; }
.hp-tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }

.hp-tbl-x { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 10px 0 14px; }
.hp-tbl-x .hp-tbl { margin: 0; min-width: 520px; }
.hp-art .ui, .hp-dr .ui { display: inline-block; font-size: .92em; font-weight: 600; color: var(--brand); background: #f0f4fb; border: 1px solid #d6e0f1;
  border-radius: 6px; padding: 0 6px; line-height: 1.5; white-space: nowrap; }
.hp-art .pill { display: inline-block; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 1px 9px; background: #eef1f6; color: #3b4a60; margin: 1px 0; }
.hp-art .pill.p-grn { background: #e3f4ea; color: var(--ok); }
.hp-art .pill.p-amb { background: #fff2dc; color: #a35c00; }
.hp-art .pill.p-red { background: #fde8e8; color: var(--bad); }
.hp-art .dot { position: static; display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: middle; margin: 0 2px; }
.hp-art .d-red { background: var(--bad); } .hp-art .d-amb { background: #d99a1e; } .hp-art .d-grn { background: var(--ok); }
.hp-next { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 14px; }
.hp-next a { color: var(--brand-on); font-weight: 600; text-decoration: none; }

.hp-ol { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 10px; }
.hp-ol li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.hp-ol li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.hp-ol b { color: var(--ink); }

.hp-q { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #9db8e8; color: var(--brand);
  font: 800 15px/1 inherit; background: #f2f6ff; margin-left: 10px; vertical-align: 3px; cursor: pointer; padding: 0; transition: box-shadow .15s; }
.hp-q:hover, .hp-q:focus-visible { box-shadow: 0 0 0 5px rgba(58,111,216,.15); outline: 0; }
.hp-scrim { position: fixed; inset: 0; background: rgba(10,22,42,.35); z-index: 300; opacity: 0; transition: opacity .2s; }
.hp-dr { position: fixed; top: 0; right: 0; bottom: 0; width: min(470px, 100vw); background: #fff; z-index: 301; display: flex; flex-direction: column;
  box-shadow: -18px 0 50px rgba(6,20,45,.25); transform: translateX(104%); transition: transform .22s ease; }
.hp-open .hp-scrim { opacity: 1; }
.hp-open .hp-dr { transform: none; }
.hp-dr-x { position: absolute; right: 16px; top: 16px; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #fff;
  color: #3b4a60; cursor: pointer; display: grid; place-items: center; z-index: 1; }
.hp-dr-in { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.hp-dr-h { padding: 20px 60px 14px 24px; background: linear-gradient(180deg, #f2f6ff, #fff); border-bottom: 1px solid var(--line); }
.hp-dr-h .hp-kick { color: var(--muted); }
.hp-dr-h h3 { margin: 4px 0 2px; font-size: 21px; color: var(--ink); }
.hp-dr-h p { margin: 0; color: var(--muted); font-size: 13.5px; }
.hp-dr-b { flex: 1; min-height: 0; overflow: auto; padding: 18px 24px 20px; font-size: 14px; line-height: 1.55; color: #26344b; }
.hp-dr-b h4 { margin: 18px 0 8px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.hp-dr-links { display: grid; gap: 2px; }
.hp-dr-links a { padding: 6px 10px; border-radius: 7px; color: var(--brand-on); text-decoration: none; font-size: 14px; }
.hp-dr-links a:hover { background: #f2f6ff; }
.hp-dr-f { border-top: 1px solid var(--line); padding: 12px 24px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); background: #fbfcfe; }
.hp-dr-f a { margin-left: auto; color: var(--brand-on); font-weight: 700; text-decoration: none; }
.hp-dr-wait { padding: 40px 24px; color: var(--muted); }
.side-link.side-help { margin-top: 12px; position: relative; }
.side-link.side-help::before { content: ""; position: absolute; left: 10px; right: 10px; top: -7px; border-top: 1px solid rgba(255,255,255,.12); }

@media (max-width: 1600px) {
  .hp-three { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .hp-three > .hp-side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .hp-side .hp-sec { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .hp-hero { grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; }
}
@media (max-width: 1200px) {
  .hp-steps { grid-template-columns: repeat(3, 1fr); }
  .hp-step:nth-child(3) { border-right: 0; }
  .hp-step:nth-child(-n+3) { border-bottom: 1px solid var(--line-soft); }
  .hp-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {

  .hp-three, .hp-ch { grid-template-columns: minmax(0, 1fr); }
  .hp-three > .hp-side { grid-template-columns: 1fr; }
  .hp-hero { grid-template-columns: 1fr; gap: 18px; }
  .hp-toc { position: static; }
  .hp-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-art { padding: 20px 18px 24px; }
}
@media (max-width: 560px) {
  .hp-hero { padding: 22px 18px 20px; border-radius: 14px; }
  .hp-hero h1 { font-size: 24px; }
  .hp-ready-s { margin-left: 0; }
  .hp-search kbd { display: none; }
  .hp-search input { padding-right: 16px; }
  .hp-steps { grid-template-columns: 1fr 1fr; }
  .hp-step { border-right: 1px solid var(--line-soft) !important; border-bottom: 1px solid var(--line-soft); }
  .hp-step:nth-child(2n) { border-right: 0 !important; }
  .hp-grid { grid-template-columns: 1fr; }
  .hp-bts { grid-template-columns: 1fr; }
  .hp-tl > li { padding-left: 44px; }
  .hp-tbl { font-size: 13px; }
  .hp-tbl th, .hp-tbl td { padding: 7px 6px; }
  .hp-glos dl { grid-template-columns: 1fr; gap: 2px; }
  .hp-glos dd { margin-bottom: 8px; }
  .hp-ans { padding-left: 18px; }
}

body.od-page { background: #eef2f8; }
.od-top { background: linear-gradient(135deg, #12305c, #2b5597); color: #fff; padding: 26px 20px 70px; position: relative; overflow: hidden; }
.od-top::after { content: ""; position: absolute; right: -50px; top: -40px; width: 200px; height: 200px; border-radius: 50%; border: 34px solid rgba(255,255,255,.06); }
.od-co { font-size: 12.5px; color: #b9cbe8; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.od-top h1 { margin: 8px 0 6px; font-size: 28px; line-height: 1.15; color: #fff; }
.od-top p { margin: 0; color: #dbe6f6; font-size: 15.5px; line-height: 1.45; max-width: 560px; }
.od-wrap { padding: 0 14px 26px; margin: -50px auto 0; position: relative; display: grid; gap: 14px; max-width: 600px; }
.od-c { background: #fff; border-radius: 18px; box-shadow: 0 8px 24px rgba(18,48,92,.10); padding: 18px 18px 14px; }
.od-tag { display: inline-flex; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-on); background: #eaf0fb; border-radius: 999px; padding: 4px 11px; }
.od-c h2 { margin: 10px 0 6px; font-size: 20px; color: var(--ink); }
.od-c p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.5; color: #2c3a52; }
.od-art { display: grid; place-items: center; margin: 12px 0 10px; background: linear-gradient(180deg, #f4f7fc, #fff); border-radius: 14px; padding: 16px 0; }
.od-done { border: 2px solid #c5e5d2; }
.od-done .od-tag { background: #e3f4ea; color: var(--ok); }
.od-never { background: #fff6f5; border: 2px solid #f1b8b2; }
.od-never h2 { color: var(--bad); margin-top: 0; }
.od-keys-w { display: grid; gap: 12px; justify-items: center; }
.od-dots { display: flex; gap: 9px; }
.od-dots i { width: 13px; height: 13px; border-radius: 50%; background: var(--brand); }
.od-dots i.e { background: #dde3ec; }
.od-keys { display: grid; grid-template-columns: repeat(3, 52px); gap: 8px; }
.od-keys span { height: 44px; border-radius: 12px; background: #fff; border: 1px solid #dde3ec; display: grid; place-items: center; font-size: 19px; font-weight: 700; color: var(--brand); box-shadow: 0 2px 0 #dde3ec; }
.od-qr { width: 84px; height: 84px; display: block; }
.od-cardi { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; background: #fff; border: 1px solid #dde3ec; border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 10px 22px rgba(15,27,45,.16); transform: rotate(-3deg); width: 250px; }
.od-cardi .od-qr { width: 64px; height: 64px; }
.od-cardi b { display: block; color: var(--brand); font-size: 14px; }
.od-cardi small { color: var(--muted); font-size: 12px; }
.od-tab { width: 260px; border-radius: 18px; background: #1b2536; padding: 12px; box-shadow: 0 10px 24px rgba(15,27,45,.25); }
.od-scr { background: linear-gradient(180deg, #e9f6ee, #fff); border-radius: 8px; padding: 16px 12px; text-align: center; }
.od-scr b { display: block; font-size: 20px; color: var(--ok); }
.od-scr small { display: block; font-size: 12px; color: #3b4a60; margin-top: 2px; }
.od-scr small.ok { color: var(--ok); font-weight: 600; margin-top: 6px; }
.od-ph { width: 150px; height: 250px; border-radius: 24px; background: #1b2536; padding: 9px; }
.od-ph > div { background: #fff; border-radius: 17px; height: 100%; display: grid; align-content: center; gap: 10px; padding: 12px; text-align: center; }
.od-ph b { font-size: 13px; color: var(--brand); }
.od-ph small { font-size: 10.5px; color: var(--muted); }
.od-bt { border-radius: 10px; padding: 12px 0; font-weight: 800; font-size: 14px; color: #fff; background: var(--ok); }
.od-faq { display: grid; gap: 10px; margin-top: 12px; }
.od-q { border: 1px solid #e3e8f0; border-radius: 14px; padding: 13px 14px; }
.od-q b { display: flex; gap: 10px; align-items: center; font-size: 16px; color: var(--ink); }
.od-q b i { font-style: normal; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.od-q p { margin: 7px 0 0 40px; font-size: 14.5px; }
.od-q .a { background: #fff2dc; color: #a35c00; } .od-q .bl { background: #eaf0fb; color: var(--brand-on); } .od-q .rd { background: #fde8e8; color: var(--bad); }
.od-foot { text-align: center; font-size: 12.5px; color: var(--muted); margin: 4px 0 10px; }
.od-foot a { color: var(--muted); }

body.od-a4body { background: #e9edf3; }
.od-a4bar { max-width: 794px; margin: 16px auto 10px; display: flex; gap: 12px; align-items: center; justify-content: space-between; font-size: 14px; color: #3b4a60; padding: 0 8px; }
.a4 { width: 794px; min-height: 1123px; margin: 0 auto 30px; background: #fff; padding: 40px 48px 30px; display: grid; grid-template-rows: auto 1fr auto; gap: 20px; box-shadow: 0 10px 40px rgba(0,0,0,.12); }
.a4-h { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 4px solid var(--brand); padding-bottom: 14px; gap: 16px; }
.a4-h h1 { margin: 0; font-size: 46px; letter-spacing: -.02em; color: var(--brand); line-height: 1; font-weight: 800; white-space: nowrap; }
.a4-h p { margin: 8px 0 0; font-size: 19px; color: #3b4a60; }
.a4-h .co { text-align: right; font-size: 15px; color: #3b4a60; font-weight: 700; }
.a4-h .co span { font-weight: 400; color: var(--muted); }
.a4-steps { display: grid; gap: 12px; align-content: space-between; }
.a4-s { display: grid; grid-template-columns: 64px 1fr 150px; gap: 16px; align-items: center; border: 2px solid #dde3ec; border-radius: 18px; padding: 12px 18px; }
.a4-s.a4-ok, .a4-s.a4-no { grid-template-columns: 64px 1fr; }
.a4-n { width: 58px; height: 58px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 30px; font-weight: 900; }
.a4-s h2 { margin: 0 0 4px; font-size: 24px; color: var(--brand); }
.a4-s p { margin: 0; font-size: 16.5px; line-height: 1.4; color: #2c3a52; }
.a4-ill { display: grid; place-items: center; }
.a4-ill .od-qr { width: 96px; height: 96px; }
.a4-k { transform: scale(.62); margin: -46px -20px; }
.a4-btn { background: var(--ok); color: #fff; font-weight: 900; font-size: 20px; border-radius: 12px; padding: 14px 18px; }
.a4-or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-weight: 800; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.a4-or::before, .a4-or::after { content: ""; flex: 1; height: 2px; background: #dde3ec; }
.a4-ok { background: #eef6f1; border-color: #c5e5d2; }
.a4-ok .a4-n { background: var(--ok); } .a4-ok h2 { color: var(--ok); }
.a4-no { background: #fff6f5; border-color: #f1b8b2; }
.a4-no .a4-n { background: var(--bad); } .a4-no h2 { color: var(--bad); }
.a4-big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.a4-big div { border-radius: 16px; padding: 14px 18px; font-size: 16px; line-height: 1.4; }
.a4-big b { display: block; font-size: 19px; margin-bottom: 4px; }
.a4-y { background: #fff7e8; border: 2px solid #f3d8a6; color: #6b4500; }
.a4-g { background: #eef6f1; border: 2px solid #c5e5d2; color: #1d5537; }
.a4-f { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted); border-top: 1px solid #dde3ec; padding-top: 10px; }
@media print {
  @page { size: A4 portrait; margin: 0; }
  body.od-a4body { background: #fff; }
  .od-a4bar { display: none; }
  .a4 { margin: 0; box-shadow: none; height: 297mm; width: 210mm; min-height: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media screen and (max-width: 820px) {
  .a4 { width: auto; min-height: 0; padding: 20px 16px; }
  .a4-h { flex-wrap: wrap; } .a4-h h1 { font-size: 32px; white-space: normal; }
  .a4-s { grid-template-columns: 50px 1fr; } .a4-ill { display: none; }
  .a4-n { width: 46px; height: 46px; font-size: 22px; }
  .a4-big { grid-template-columns: 1fr; }
}
.hp-q[hidden] { display: none; }
.hp-shot.hp-narrow { max-width: 460px; }
.hp-sup { align-content: start; }
.hp-emp { align-content: space-between; }
.hp-emp-a { align-items: center; }
.hp-emp-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hp-emp-ways span { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 12.5px; font-weight: 600; color: #e2f5ea;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 12px 6px; }
.hp-emp-ways i { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; }

@media (min-width: 1560px) {
  .hp-ch { grid-template-columns: 240px minmax(0, 980px) minmax(280px, 1fr); }
  .hp-rail { display: grid; gap: 14px; position: sticky; top: 0; align-content: start; }
  .hp-rail-c { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 14px; line-height: 1.5; }
  .hp-rail-c .pv-kicker { margin-bottom: 10px; }
  .hp-rail-c .hp-call { font-size: 13.5px; }
  .hp-rail-q { display: block; padding: 7px 0; border-top: 1px solid var(--line-soft); color: var(--brand-on); text-decoration: none; font-size: 14px; }
  .hp-rail-q:first-of-type { border-top: 0; }
}

.cx { margin-top: 16px; }
.cx-env { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; border-radius: 12px; padding: 14px 16px;
  margin-bottom: 16px; background: linear-gradient(135deg, #12305c, #2b5597); color: #fff; }
.cx-env.is-prod { background: linear-gradient(135deg, #5e1410, #a3271d); }
.cx-env b { display: block; font-size: 15px; }
.cx-env small { color: #dbe6f6; font-size: 13px; }
.cx-env small i { font-style: normal; color: #fff; font-weight: 700; }
.cx-env small em { font-style: normal; color: #ffd68a; font-weight: 700; }
.cx-env .tip { color: #cddaf0; }
.cx-seg { display: inline-flex; background: rgba(255,255,255,.14); border-radius: 11px; padding: 4px; }
.cx-seg button { font: inherit; border: 0; background: transparent; padding: 9px 18px; border-radius: 8px; font-size: 14.5px; color: #dbe6f6; font-weight: 600; cursor: pointer; }
.cx-seg button:hover { background: rgba(255,255,255,.1); }
.cx-seg button.is-on { background: #fff; color: var(--brand); }
.cx-seg button.is-on.is-p { color: var(--bad); }
.cx-seg button.is-lock { opacity: .45; cursor: not-allowed; }
.cx-seg button.is-lock:hover { background: transparent; }
.cx-env .cx-demo { display: block; margin-top: 4px; color: #ffd9a8; font-size: 12.5px; }
.side-co-plan.is-exp { background: #b3261e; color: #fff; }
.cx-rows { display: grid; gap: 12px; }
.cx-row { display: grid; grid-template-columns: 270px minmax(0, 1fr) minmax(0, 1fr) 190px; gap: 6px 14px; align-items: start; position: relative;
  border: 1.5px solid #e1e7ef; border-radius: 12px; padding: 14px 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.cx-row.is-send { border-color: #2a5697; box-shadow: 0 0 0 4px rgba(42,86,151,.10); }
.cx-row.is-idle { background: #fbfcfe; }
.cx-send { position: absolute; right: 14px; top: -10px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; border-radius: 999px; padding: 3px 10px;
  background: #2a5697; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.cx-who b { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); }
.cx-who small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 6px; line-height: 1.45; }
.cx-how { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--brand-on); text-decoration: none; }
.cx-how:hover { text-decoration: underline; }
.cx-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.cx-dot-efka { background: var(--ok); } .cx-dot-trial { background: #2a5697; } .cx-dot-production { background: var(--bad); }
.cx-tag { display: inline-block; margin-top: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; border-radius: 999px; padding: 2px 8px; background: #eef1f6; color: var(--muted); }
.cx-tag.is-req { background: var(--ink); color: #fff; }
.cx-f span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.cx-f input { width: 100%; font: inherit; font-size: 14px; border: 1px solid #d6dde8; border-radius: 8px; padding: 9px 11px; background: #fff; color: var(--ink); }
.cx-f input:focus { outline: 2px solid rgba(42,86,151,.35); border-color: #2a5697; }
.cx-ck { display: grid; gap: 6px; padding-top: 17px; }
.cx-btn { display: flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; font-size: 13.5px; color: var(--brand-on);
  background: #f5f8fd; border: 1px solid #c9d4e5; border-radius: 9px; padding: 9px 10px; cursor: pointer; }
.cx-btn:hover:not(:disabled) { background: #eaf0fb; }
.cx-btn:disabled { color: #9aa5b5; background: #f6f7f9; border-color: #e3e7ee; cursor: default; }
.cx-btn.is-busy { color: var(--muted); }
.cx-res { font-size: 12px; line-height: 1.4; text-align: center; color: #8a95a6; }
.cx-res.cx-ok { color: var(--ok); } .cx-res.cx-warn { color: var(--warn); } .cx-res.cx-bad { color: var(--bad); }
.cx-res.cx-stale { color: #8a95a6; font-style: italic; }

.cx-f span.cx-fl { display: flex; align-items: center; gap: 8px; }
.cx-pw { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.cx-pw[hidden] { display: none; }
.cx-pw.is-set { background: #e5f4ea; color: #1d7a3e; }
.cx-pw.is-new { background: #fff4dc; color: #8a5a00; }
.cx-pw.is-del { background: #fde8e8; color: #b42318; }
.cx-f input.is-set::placeholder { color: #3a4a63; letter-spacing: .25em; }

.cx-f input.is-set:focus::placeholder { color: transparent; }

.cx-f span.cx-pwrap { display: block; position: relative; margin: 0; font-size: inherit; color: inherit; }
.cx-pwrap .cx-p { padding-right: 40px; }
.cx-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: inline-flex;
    padding: 5px; border: 0; border-radius: 6px; background: none; color: var(--muted); cursor: pointer; }
.cx-eye[hidden] { display: none; }
.cx-eye:hover { color: var(--brand); background: #eef2f8; }
.cx-eye svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cx-eye .cx-eye-off { display: none; }
.cx-eye.is-on { color: var(--brand); }
.cx-eye.is-on .cx-eye-on { display: none; }
.cx-eye.is-on .cx-eye-off { display: block; }
.cx-f input.is-del { background: #fbf3f3; border-color: #e9b4b4; }
.cx-f input.is-del::placeholder { color: #c7a6a6; letter-spacing: .25em; text-decoration: line-through; }
.cx-f input:disabled { cursor: not-allowed; }
.cx-f input:disabled:not(.is-del) { background: #f6f8fb; }
.cx-warn { grid-column: 1 / -1; font-size: 13px; color: var(--bad); background: #fdf2f1; border: 1px solid #f1c9c4; border-radius: 8px; padding: 8px 11px; }
.cx-foot { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.cx-foot p { margin: 0; font-size: 12.5px; color: var(--muted); flex: 1; line-height: 1.5; }
.cx-foot .btn { flex: none; display: flex; align-items: center; gap: 8px; padding: 11px 20px; }

.cx-dlg { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; }
.cx-dlg[hidden] { display: none; }
.cx-dlg-veil { position: absolute; inset: 0; background: rgba(10,22,42,.45); }
.cx-dlg-box { position: relative; max-width: 480px; width: 100%; background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(6,20,45,.3); padding: 22px 24px; text-align: center; }
.cx-dlg-ic { width: 52px; height: 52px; border-radius: 50%; background: #eaf0fb; color: var(--brand); display: grid; place-items: center; font-weight: 900; font-size: 24px; margin: 0 auto 10px; }
.cx-dlg.is-prod .cx-dlg-ic { background: #fde8e8; color: var(--bad); }
.cx-dlg-box h3 { margin: 0 0 6px; font-size: 18px; }
.cx-dlg-box p { margin: 0 0 6px; font-size: 14px; color: #3b4a60; line-height: 1.5; }
.cx-dlg-box ul { text-align: left; font-size: 13.5px; color: #3b4a60; margin: 10px 0 16px; padding-left: 18px; line-height: 1.65; }
.cx-dlg-b { display: flex; gap: 10px; }
.cx-dlg-b .btn { flex: 1; justify-content: center; padding: 11px; }
.cx-dlg:not(.is-prod) .btn-danger { background: var(--brand); border-color: var(--brand); }

.emp-panel { margin-top: 16px; }
.emp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 32px; }
.emp-br .card-sub:first-child { margin-top: 0; }
@media (max-width: 1100px) {
  .cx-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cx-who { grid-column: 1 / -1; }
  .cx-ck { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; padding-top: 4px; }
  .cx-res { text-align: left; }
  .emp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cx-env { grid-template-columns: 1fr; }
  .cx-row { grid-template-columns: 1fr; }
  .cx-foot { flex-direction: column; align-items: stretch; }
  .cx-foot .btn { justify-content: center; }
}

.pz-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pz-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); margin-right: 6px; }
.pz-live i { width: 7px; height: 7px; border-radius: 50%; background: #2fbf7a; animation: pz-pulse 2s ease-in-out infinite; }
@keyframes pz-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47,191,122,.45); } 50% { box-shadow: 0 0 0 5px rgba(47,191,122,0); } }
.pz-co { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 9px 18px 9px 9px; box-shadow: 0 4px 14px rgba(16,35,58,.06); min-width: 0; max-width: 100%; }
.pz-mono { width: 48px; height: 48px; flex: none; border-radius: 13px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(135deg, #12305c, #2a5697); box-shadow: inset 0 -3px 0 rgba(0,0,0,.15); }
.pz-co-tx { min-width: 0; }
.pz-co-tx > b { display: block; font-size: 17px; letter-spacing: .2px; color: var(--brand); line-height: 1.2; overflow-wrap: anywhere; }
.pz-co-tx > span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.pz-env { font-style: normal; font-weight: 800; font-size: 10.5px; letter-spacing: .06em; color: #1d4079; background: #eaf0fb; padding: 2px 7px; border-radius: 999px; }
.pz-env.is-prod, .pz-env.is-bad { color: var(--bad); background: #fde8e8; }

.pz-hero { position: relative; overflow: hidden; border-radius: 18px; padding: 24px 28px; color: #fff; margin-bottom: 18px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) 210px minmax(0, 1.1fr); gap: 26px; align-items: center;
  background: radial-gradient(1200px 400px at 85% -20%, rgba(94,224,160,.22), transparent 60%), radial-gradient(800px 300px at 0% 120%, rgba(80,140,255,.22), transparent 60%), linear-gradient(135deg, #0d2347, #163a73);
  box-shadow: 0 18px 40px rgba(13,35,71,.22); }
.pz-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 34px 34px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent); }
.pz-hero > * { position: relative; min-width: 0; }
.pz-clock { font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -2px; }
.pz-clock small { font-size: 21px; opacity: .6; margin-left: 4px; letter-spacing: 0; }
.pz-date { opacity: .8; margin-top: 6px; font-size: 15px; }
.pz-verdict { display: flex; gap: 12px; align-items: center; margin-top: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 12px 14px; border-radius: 14px; }
.pz-verdict b { display: block; font-size: 17px; }
.pz-verdict span { opacity: .78; font-size: 13px; }
.pz-vic { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.pz-verdict.is-ok .pz-vic { background: #2fbf7a; box-shadow: 0 0 0 6px rgba(47,191,122,.2); }
.pz-verdict.is-warn .pz-vic { background: #e0a133; box-shadow: 0 0 0 6px rgba(240,180,106,.22); }
.pz-verdict.is-bad .pz-vic { background: #e0523f; box-shadow: 0 0 0 6px rgba(255,138,128,.22); }
.pz-verdict.is-bad { border-color: rgba(255,138,128,.45); background: rgba(224,82,63,.14); }
.pz-ringw { display: grid; place-items: center; }
.pz-ring { width: 210px; height: 210px; filter: drop-shadow(0 8px 20px rgba(0,0,0,.25)); }
.pz-big { font-size: 52px; font-weight: 800; fill: #fff; }
.pz-of { font-size: 24px; fill: rgba(255,255,255,.55); }
.pz-cap { font-size: 13px; font-weight: 600; fill: rgba(255,255,255,.72); }
.pz-leg { display: grid; gap: 9px; }
.pz-leg > div { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.07); border-radius: 12px; padding: 9px 14px; min-width: 0; }
.pz-leg > div i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.pz-leg > div b { font-size: 21px; min-width: 24px; }
.pz-leg > div span { opacity: .82; font-size: 14px; white-space: nowrap; }
.pz-leg > div em { margin-left: auto; font-style: normal; font-size: 12px; opacity: .65; text-align: right; }
.pz-erg { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.18); transition: transform .15s; }
.pz-erg:hover { transform: translateY(-1px); color: #fff; }
.pz-erg b { display: block; font-size: 15px; }
.pz-erg span { font-size: 12.5px; opacity: .8; }
.pz-sh { width: 28px; height: 32px; flex: none; }
.pz-sh .ck { stroke: #fff; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pz-erg.is-ok { background: linear-gradient(90deg, rgba(47,191,122,.24), rgba(47,191,122,.05)); border-color: rgba(94,224,160,.38); }
.pz-erg.is-ok .pz-sh path:first-child, .pz-erg.is-idle .pz-sh path:first-child { fill: #2fbf7a; }
.pz-erg.is-idle { background: rgba(255,255,255,.06); }
.pz-erg.is-warn { background: linear-gradient(90deg, rgba(245,181,70,.26), rgba(245,181,70,.06)); border-color: rgba(245,181,70,.45); }
.pz-erg.is-warn .pz-sh path:first-child { fill: #e0a133; }
.pz-erg.is-bad { background: linear-gradient(90deg, rgba(224,82,63,.35), rgba(224,82,63,.08)); border-color: rgba(255,138,128,.55); }
.pz-erg.is-bad .pz-sh path:first-child { fill: #e0523f; }

.pz-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 31%); gap: 18px; align-items: start; }
.pz-col { display: grid; gap: 18px; min-width: 0; }
.pz-p { padding: 18px 20px; border-radius: 16px; }
.pz-h { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.pz-h em { margin-left: auto; font-style: normal; font-weight: 500; font-size: 13px; color: var(--muted); }
.pz-sub { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 16px 0 4px; padding-top: 12px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; gap: 6px; }
.pz-up { display: flex; gap: 12px; align-items: center; padding: 6px 0; font-size: 13.5px; }
.pz-up time { font-weight: 800; width: 46px; color: var(--brand); }

.pz-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pz-t { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: start; border: 1px solid var(--line-soft); border-radius: 14px; padding: 12px 14px; background: linear-gradient(180deg, #fff, #fafbfd); }
.pz-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px; background: linear-gradient(135deg, #2fbf7a, #1d7a4c); box-shadow: 0 0 0 3px #fff, 0 0 0 5px #bfe9d3; }
.pz-t.is-warn .pz-av { background: linear-gradient(135deg, #f5b546, #c98400); box-shadow: 0 0 0 3px #fff, 0 0 0 5px #f7dfae; }
.pz-t.is-bad .pz-av { background: linear-gradient(135deg, #f0776a, #b3261e); box-shadow: 0 0 0 3px #fff, 0 0 0 5px #f6c9c3; }
.pz-t.is-bad { border-color: #f3d2cd; background: linear-gradient(180deg, #fff, #fdf6f5); }
.pz-t.is-exp .pz-av { background: #d9dfe8; color: #5b6a80; box-shadow: none; }
.pz-tx { min-width: 0; }
.pz-tx > b { font-size: 13.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pz-tx > span { font-size: 12.5px; color: var(--muted); }
.pz-tx > span b { color: var(--ink); }
.pz-nw { font-style: normal; white-space: nowrap; }
.pz-tx small { display: block; font-size: 11px; color: #8a95a6; margin-top: 2px; }
.pz-bar { height: 6px; border-radius: 6px; background: #edf1f6; margin: 8px 0 4px; overflow: hidden; }
.pz-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #2fbf7a, #5ee0a0); }
.pz-t.is-warn .pz-bar i { background: linear-gradient(90deg, #e0a133, #f5c46a); }
.pz-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.pz-side .now-exit { margin: 0; }
.pz-ch { font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pz-ch.ok { background: #e5f4ea; color: #1d7a3e; }
.pz-ch.warn { background: #fff1d6; color: #8a5a00; }
.pz-ch.bad { background: #fde8e8; color: #b42318; }
.pz-ch.mute { background: #eef1f6; color: #5b6a80; }
.pz-offs { display: flex; gap: 8px; align-items: center; margin-top: 14px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.pz-offs .pz-ch { font-weight: 600; }

.pz-act .exc { display: grid; grid-template-columns: 9px minmax(0, 1fr); column-gap: 12px; row-gap: 8px; align-items: start; }
.pz-act .exc-dot { margin-top: 6px; }
.pz-act .exc > .btn, .pz-act .exc > .exc-acts { grid-column: 2; justify-self: start; flex-wrap: wrap; }

.pz-kvs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); column-gap: 26px; }
.pz-ergp .pz-h { margin-bottom: 10px; }
.pz-kvs .kv:nth-child(5) { grid-column: 1 / -1; }
.pz-calm { text-align: center; padding: 6px 6px 2px; }
.pz-calm svg { width: 112px; height: 112px; }
.pz-calm b { display: block; font-size: 16px; margin-top: 4px; }
.pz-calm p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.pz-sla { margin-bottom: 10px; }
.pz-sla-bar { position: relative; height: 10px; border-radius: 6px; margin: 2px 0 7px; background: linear-gradient(90deg, #e5f4ea 0 70%, #fff1d6 70% 90%, #fde8e8 90%); }
.pz-sla-bar i { position: absolute; top: -3px; width: 8px; height: 16px; margin-left: -4px; border-radius: 4px; background: #1d7a4c; box-shadow: 0 0 0 2px #fff; }
.pz-sla span { font-size: 12.5px; color: var(--muted); }
.pz-sla span b { color: var(--ink); font-size: 14px; }

@media (max-width: 1280px) {
  .pz-hero { grid-template-columns: minmax(0, 1fr) 190px; }
  .pz-leg { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pz-ring { width: 190px; height: 190px; }
}
@media (max-width: 1080px) {
  .pz-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pz-hero { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
  .pz-ringw { order: -1; }
  .pz-clock { font-size: 46px; }
  .pz-co { width: 100%; }
  .pz-tiles { grid-template-columns: 1fr; }
  .pz-leg { grid-template-columns: 1fr; }
  .pz-leg > div span { white-space: normal; }
  .pz-tx > b { white-space: normal; }
  .pz-h { flex-wrap: wrap; }
  .pz-h em { flex-basis: 100%; margin-left: 0; }
}

.gl-msg { border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; display: grid; gap: 4px; font-size: 13.5px; }
.gl-msg b { font-size: 15px; }
.gl-msg.is-ok { background: #eef9f2; border: 1px solid #cdebd9; color: #1d5e3c; }
.gl-msg.is-bad { background: #fdf2f1; border: 1px solid #f1c9c4; color: var(--bad); }
.gl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 18px; }
.gl-card { display: grid; gap: 6px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 18px; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; position: relative; }
.gl-card:hover { border-color: #9fb3d1; transform: translateY(-1px); color: var(--ink); }
.gl-card.is-sel { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18,48,92,.12); }
.gl-top { display: flex; align-items: center; gap: 10px; }
.gl-top b { font-size: 16px; }
.gl-card small { color: var(--muted); font-size: 12px; }
.gl-co { font-size: 13px; font-weight: 600; color: var(--brand); }
.gl-nums { display: flex; gap: 14px; margin: 4px 0; }
.gl-nums span { font-size: 11.5px; color: var(--muted); display: grid; }
.gl-nums b { font-size: 19px; color: var(--ink); }
.gl-st { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; justify-self: start; }
.gl-card.is-ready .gl-st { background: #fff1d6; color: #8a5a00; }
.gl-card.is-done .gl-st { background: #e5f4ea; color: #1d7a3e; }
.gl-card.is-live .gl-st { background: #eaf0fb; color: #1d4079; }
.gl-card.is-block .gl-st, .gl-card.is-err .gl-st { background: #fde8e8; color: #b42318; }
.gl-env { margin-left: auto; font-style: normal; font-weight: 800; font-size: 10.5px; letter-spacing: .06em; color: #1d4079; background: #eaf0fb; padding: 2px 8px; border-radius: 999px; }
.gl-env.is-prod { color: var(--bad); background: #fde8e8; }
.gl-sel { padding: 20px 22px; border-radius: 16px; margin-bottom: 18px; scroll-margin-top: 16px; }
.gl-sel-h { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.gl-sel-h h2 { margin: 0; font-size: 20px; }
.gl-sel-h small { color: var(--muted); font-size: 13px; }
.gl-block { display: grid; gap: 4px; background: #fdf2f1; border: 1px solid #f1c9c4; color: var(--bad); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-size: 13.5px; }
.gl-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.gl-sub { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 6px 0 6px; }
.gl-sub.is-bad { color: var(--bad); }
.gl-sub.is-ok { color: var(--ok); }
.gl-two .gl-sub:not(:first-child) { margin-top: 16px; }
.gl-warn { display: grid; gap: 3px; margin-top: 14px; font-size: 13px; color: #8a5a00; background: #fff8e9; border: 1px solid #f6dca6; border-radius: 10px; padding: 10px 12px; }
.gl-act { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px 16px; align-items: end; }
.gl-act p { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.gl-act label span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.gl-act input { width: 100%; font: inherit; font-size: 14px; border: 1px solid #d6dde8; border-radius: 8px; padding: 9px 11px; }
.gl-act .btn { padding: 10px 18px; align-self: start; margin-top: 21px; }
.gl-hint { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; min-height: 16px; }
.gl-hint.is-ok { color: var(--ok); font-weight: 600; }
.gl-hint.is-bad { color: var(--bad); font-weight: 600; }
.gl-act input::placeholder { color: #c3ccd8; }
.gl-bk .kv a { color: var(--brand); }
@media (max-width: 760px) {
  .gl-two, .gl-act { grid-template-columns: 1fr; }
}

.pl-tabs { display: flex; gap: 6px; margin: 0 0 16px; }
.pl-tabs a { padding: 8px 14px; border-radius: 10px; font-weight: 700; font-size: 14px; color: #5b6a80; text-decoration: none; }
.pl-tabs a:hover { background: #eef1f6; color: var(--ink); }
.pl-tabs a.is-on { background: var(--brand); color: #fff; }
.pl-note { font-size: 13px; color: var(--muted); margin: -4px 0 14px; }
.pl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-bottom: 18px; }
.pl-c { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; gap: 12px; align-content: start; scroll-margin-top: 16px; }
.pl-c.is-pro { border-color: #7c5cff; box-shadow: 0 0 0 3px rgba(124,92,255,.10); }

.pl-c.is-demo { border-color: #e0a21b; box-shadow: 0 0 0 3px rgba(224,162,27,.12); background: repeating-linear-gradient(135deg, #fff, #fff 14px, #fffaf0 14px, #fffaf0 28px); }
.pl-c.is-exp { border-color: #e5a5a0; box-shadow: 0 0 0 3px rgba(180,35,24,.10); }
.pl-h { display: flex; align-items: flex-start; gap: 10px; }
.pl-h b { font-size: 16px; display: block; }
.pl-h small { color: var(--muted); font-size: 12px; }
.pl-env { margin-left: auto; flex: none; font-weight: 800; font-size: 10.5px; letter-spacing: .06em; color: #1d4079; background: #eaf0fb; padding: 2px 8px; border-radius: 999px; }
.pl-env.is-prod { color: var(--bad); background: #fde8e8; }
.pl-seg { display: grid; grid-template-columns: 1fr 1fr 1fr; background: #eef1f6; border-radius: 12px; padding: 4px; }
.pl-seg button { font: inherit; border: 0; background: transparent; padding: 9px 0; border-radius: 9px; font-weight: 800; font-size: 14px; color: #5b6a80; cursor: pointer; }
.pl-seg button:hover:not(.is-on) { color: var(--ink); }
.pl-seg button.is-on.b { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.pl-seg button.is-on.p { background: linear-gradient(135deg, #7c5cff, #5b3fe0); color: #fff; box-shadow: 0 4px 10px rgba(91,63,224,.35); }
.pl-seg button.is-on.d { background: linear-gradient(135deg, #f2b53a, #d68a0c); color: #fff; box-shadow: 0 4px 10px rgba(214,138,12,.35); }
.pl-f { display: grid; gap: 6px; font-size: 12.5px; }
.pl-f > div { display: flex; gap: 8px; align-items: flex-start; }
.pl-f > div.is-off { color: #9aa5b4; }
.pl-f i { font-style: normal; flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; }
.pl-f .y { background: #e5f4ea; color: #1d7a3e; }
.pl-f .n { background: #eef1f6; color: #a3adbb; }
.pl-f .x { background: #fdecec; color: #b42318; }
.pl-soon { margin-left: auto; flex: none; font-size: 10px; font-weight: 800; color: #7c5cff; background: #f0ecff; padding: 1px 6px; border-radius: 999px; }
.pl-more { border-top: 1px solid var(--line-soft); padding-top: 8px; font-size: 13px; }
.pl-more summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.pl-more label { display: block; margin-top: 8px; }
.pl-more label span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.pl-more input { width: 100%; font: inherit; font-size: 13.5px; border: 1px solid #d6dde8; border-radius: 8px; padding: 7px 10px; }
.pl-more .btn { margin-top: 10px; }
.pl-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 10px; }
.pl-exp { color: var(--bad); }
.side-co-plan { margin-left: 6px; font-size: 9.5px; font-weight: 900; letter-spacing: .08em; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.12); color: #c3d4ea; vertical-align: middle; }
.side-co-plan.is-pro { background: linear-gradient(135deg, #7c5cff, #5b3fe0); color: #fff; }
.side-co-plan.is-demo { background: linear-gradient(135deg, #f2b53a, #d68a0c); color: #fff; }

.pl-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.pl-sum > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.pl-sum b { font-size: 24px; display: block; line-height: 1.15; }
.pl-sum small { color: var(--muted); font-size: 12px; }
.pl-sum .is-warn b { color: #b06d00; }
.pl-sum .is-bad b { color: var(--bad); }
.pl-sub { display: flex; align-items: center; gap: 10px; border-radius: 12px; padding: 10px 12px; background: #f5f7fb; }
.pl-sub > div { min-width: 0; }
.pl-sub b { display: block; font-size: 13.5px; }
.pl-sub small { color: var(--muted); font-size: 12px; }
.pl-sub-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; font-weight: 900; background: #e5f4ea; color: #1d7a3e; }
.pl-pill { margin-left: auto; flex: none; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: #e5f4ea; color: #1d7a3e; }
.pl-sub.is-soon { background: #fff6e5; }
.pl-sub.is-soon .pl-sub-ic, .pl-sub.is-soon .pl-pill { background: #ffe7b8; color: #8a5a00; }
.pl-sub.is-dm { background: #fdecec; }
.pl-sub.is-dm .pl-sub-ic { background: #f9caca; }
.pl-sub.is-dm .pl-pill { background: var(--bad); color: #fff; }
.pl-renew { display: flex; gap: 6px; flex-wrap: wrap; }
.pl-renew button { font: inherit; font-size: 12.5px; font-weight: 700; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; color: var(--brand); background: #fff; cursor: pointer; }
.pl-renew button:hover { border-color: var(--brand); }
.pl-renew button.is-soft { border-style: dashed; color: #5b6a80; }
.pl-date { display: flex; align-items: flex-end; gap: 8px; }
.pl-date label { flex: 1; min-width: 0; }
.pl-date label span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.pl-date input { width: 100%; font: inherit; font-size: 13.5px; border: 1px solid #d6dde8; border-radius: 8px; padding: 6px 10px; }
.pl-lock { display: flex; gap: 10px; align-items: center; background: #fff3d6; border: 1px solid #f2c96b; border-radius: 12px; padding: 9px 12px; font-size: 12.5px; color: #6b4700; }
.pl-lock > span { font-size: 18px; flex: none; }
.pl-lock b { color: #4d3300; }
@media (max-width: 700px) { .pl-sum { grid-template-columns: 1fr 1fr; } }

.plan-bar { display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 12px 16px; margin: 0 0 16px; font-size: 13.5px; line-height: 1.45; background: #fff6e5; border: 1px solid #f2c96b; color: #5c3d00; }
.plan-bar > span { font-size: 18px; flex: none; line-height: 1.2; }
.plan-bar b { color: #3d2900; }
.plan-bar.is-demo { background: #fdecec; border-color: #f0b4ae; color: #7a1d14; }
.plan-bar.is-demo b { color: #5c120b; }

.acs { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 18px; margin: 0 0 18px; align-items: stretch; }

.acs-card { --c1: #12305c; --c2: #1f5fa8; --gx: 30%; --gy: 20%; position: relative; overflow: hidden; border-radius: 22px; padding: 22px 24px; aspect-ratio: 1.586 / 1; align-self: center; color: #fff;
  display: flex; flex-direction: column; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 22px 50px -18px var(--c2), 0 0 0 1px rgba(255,255,255,.08) inset;
  transition: transform .18s ease-out; transform-style: preserve-3d; animation: acsIn .7s cubic-bezier(.2,.8,.2,1) both; }
.acs-card.is-pro { --c1: #241460; --c2: #6a46f0; }
.acs-card.is-demo { --c1: #5c3a00; --c2: #d68a0c; }
.acs-card.is-exp { --c1: #4a0f0a; --c2: #b42318; }
.acs-glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255,255,255,.22), rgba(255,255,255,0) 55%); }
.acs-card::after { content: ""; position: absolute; top: -60%; left: -40%; width: 40%; height: 220%; transform: rotate(22deg); pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.16), rgba(255,255,255,0)); animation: acsShine 6s ease-in-out 1.2s infinite; }
.acs-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; pointer-events: none; }
.acs-waves path { fill: none; stroke: rgba(255,255,255,.10); stroke-width: 1.4; }
.acs-top { display: flex; align-items: center; justify-content: space-between; position: relative; }
.acs-lbl { font-size: 10.5px; font-weight: 800; letter-spacing: .2em; opacity: .75; }
.acs-state { font-size: 10.5px; font-weight: 900; letter-spacing: .1em; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.16); box-shadow: 0 0 0 1px rgba(255,255,255,.22) inset; }
.acs.is-soon .acs-state { background: #f5b546; color: #3d2900; box-shadow: none; }
.acs.is-exp .acs-state { background: #fff; color: #b42318; box-shadow: none; }
.acs-plan { position: relative; margin: 14px 0 4px; font-size: 46px; line-height: 1; font-weight: 900; letter-spacing: .06em;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.62)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.acs-plan i { font-style: normal; font-size: 30px; vertical-align: 8px; margin-right: 8px; color: #d9cdff; -webkit-text-fill-color: #d9cdff; text-shadow: 0 0 18px rgba(200,180,255,.9); }
.acs-co { position: relative; display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.acs-co b { font-size: 14px; font-weight: 700; }
.acs-co span { font-size: 12px; opacity: .72; letter-spacing: .04em; }
.acs-bot { position: relative; margin-top: auto; padding-top: 16px; display: flex; align-items: flex-end; gap: 26px; }
.acs-bot small { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .16em; opacity: .65; margin-bottom: 3px; }
.acs-bot b { font-size: 17px; font-weight: 700; letter-spacing: .06em; }
.acs-mark { margin-left: auto; width: 42px; height: 42px; flex: none; }
.acs-mark circle { fill: rgba(255,255,255,.22); }
.acs-mark circle + circle { fill: rgba(255,255,255,.12); }

.acs-info { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; border-radius: 18px; }
.acs-head { display: flex; align-items: center; gap: 20px; }
.acs-ring { position: relative; width: 116px; height: 116px; flex: none; }
.acs-ring svg { width: 100%; height: 100%; }
.acs-ring .trk { fill: none; stroke: #eef1f6; stroke-width: 11; }
.acs-ring .val { fill: none; stroke-width: 11; stroke-linecap: round; stroke: #2f8f5b; stroke-dashoffset: var(--off); animation: acsRing 1.4s cubic-bezier(.2,.8,.2,1) .2s both; }
.acs.is-soon .acs-ring .val { stroke: #e0a133; }
.acs.is-exp .acs-ring .val { stroke: #d65745; }
.acs.is-demo .acs-ring .val { stroke: #e0a133; }
.acs:not(.is-soon):not(.is-exp):not(.is-demo) .acs-card.is-pro ~ .acs-info .acs-ring .val { stroke: #6a46f0; }
.acs-ring-tx { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.acs-ring-tx b { font-size: 32px; font-weight: 900; line-height: 1; color: var(--ink, #12305c); }
.acs-ring-tx small { font-size: 11.5px; color: var(--muted); }
.acs-say { min-width: 0; flex: 1; }
.acs-say h2 { margin: 0 0 3px; font-size: 20px; }
.acs-say p { margin: 0; color: var(--muted); font-size: 13.5px; }
.acs-track { position: relative; margin-top: 14px; padding-bottom: 18px; }
.acs-track-bar { display: block; height: 6px; border-radius: 99px; background: #eef1f6; overflow: hidden; }
.acs-track-bar i { display: block; height: 100%; width: var(--p); border-radius: 99px; background: linear-gradient(90deg, #9fb3cf, #12305c); animation: acsBar 1.2s cubic-bezier(.2,.8,.2,1) .3s both; }
.acs-track-l, .acs-track-r, .acs-track-now { position: absolute; bottom: 0; font-size: 11px; color: var(--muted); white-space: nowrap; }
.acs-track-l { left: 0; } .acs-track-r { right: 0; }
.acs-track-now { left: var(--p); transform: translateX(-50%); color: var(--brand); font-weight: 700; }
.acs-track-now::before { content: ""; position: absolute; left: 50%; top: -15px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--brand); }
.acs-sub { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line-soft, #eef1f6); padding-top: 12px; }
.acs-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; font-size: 13px; }
.acs-feats li { display: flex; align-items: flex-start; gap: 8px; }
.acs-feats li > i { font-style: normal; flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 900; background: #e5f4ea; color: #1d7a3e; margin-top: 1px; }
.acs-feats li.is-off { color: #9aa5b4; }
.acs-feats li.is-off > i { background: #f0ecff; color: #7c5cff; }
.acs-feats .side-pro { margin-left: auto; font-style: normal; }
.acs-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line-soft, #eef1f6); padding-top: 12px; }
.acs-foot a { color: var(--brand); font-weight: 700; text-decoration: none; }
.acs-foot a:hover { text-decoration: underline; }

@keyframes acsIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes acsShine { 0%, 70% { left: -40%; } 100% { left: 130%; } }
@keyframes acsRing { from { stroke-dashoffset: var(--full); } to { stroke-dashoffset: var(--off); } }
@keyframes acsBar { from { width: 0; } }
@media (prefers-reduced-motion: reduce) { .acs-card, .acs-card::after, .acs-ring .val, .acs-track-bar i { animation: none; } }
@media (max-width: 1200px) { .acs { grid-template-columns: 1fr; } .acs-card { max-width: 460px; width: 100%; } }
@media (max-width: 560px) { .acs-feats { grid-template-columns: 1fr; } .acs-head { flex-direction: column; align-items: flex-start; } .acs-plan { font-size: 40px; } }

.pl-tabs a.pl-tab-new:not(.is-on) { color: #5b3fe0; }
.nt { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.nt-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.nt-card h2 { margin: 0 0 4px; font-size: 19px; }
.nt-card > p, .nt-f > div > p { margin: 0 0 6px; color: var(--muted); font-size: 13.5px; }
.nt-f { display: grid; gap: 14px; }
.nt-l > span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; font-weight: 600; }
.nt-l > span small { font-weight: 400; }
.nt-l > input { width: 100%; font: inherit; font-size: 14.5px; border: 1.5px solid #cfd8e6; border-radius: 12px; padding: 10px 12px; }
.nt-l > input:focus, .nt-in:focus-within { outline: none; border-color: #7c5cff; box-shadow: 0 0 0 4px rgba(124,92,255,.12); }
.nt-in { display: flex !important; align-items: center; border: 1.5px solid #cfd8e6; border-radius: 12px; overflow: hidden; font-size: 15px; margin: 0 !important; color: inherit !important; font-weight: 400 !important; }
.nt-in i, .nt-in em { font-style: normal; color: #8a97ab; padding: 10px 0; flex: none; }
.nt-in i { padding-left: 12px; } .nt-in em { padding-right: 12px; }
.nt-in input { flex: 1; min-width: 40px; border: 0; outline: none; font: inherit; font-weight: 800; color: #12305c; padding: 10px 2px; background: transparent; }
.nt-prev { display: grid; gap: 6px; background: #f6f8fc; border-radius: 12px; padding: 12px 14px; font-size: 13px; }
.nt-prev > div { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.nt-prev span { width: 90px; flex: none; color: var(--muted); }
.nt-prev code { font-weight: 700; color: #12305c; font-family: inherit; }
.nt-prev em { font-style: normal; }
.nt-ok { color: #1d7a3e; font-weight: 700; } .nt-bad { color: #b42318; font-weight: 700; } .nt-mute { color: var(--muted); } .nt-small { font-size: 12.5px; margin: 0; }
.nt-seg { display: grid; grid-template-columns: 1fr 1fr 1fr; background: #eef1f6; border-radius: 12px; padding: 4px; }
.nt-seg label { position: relative; cursor: pointer; }
.nt-seg input { position: absolute; opacity: 0; pointer-events: none; }
.nt-seg span { display: block; text-align: center; padding: 8px 0; border-radius: 9px; font-weight: 800; font-size: 13.5px; color: #5b6a80; }
.nt-seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(124,92,255,.35); }
.nt-seg .is-demo input:checked + span { background: linear-gradient(135deg, #f2b53a, #d68a0c); color: #fff; }
.nt-seg .is-basic input:checked + span { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.nt-seg .is-pro input:checked + span { background: linear-gradient(135deg, #7c5cff, #5b3fe0); color: #fff; }
.nt-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nt-btn { font: inherit; border: 0; cursor: pointer; background: linear-gradient(135deg, #1f5fa8, #12305c); color: #fff; font-weight: 800; font-size: 15px; padding: 13px 18px; border-radius: 12px; box-shadow: 0 10px 24px -8px rgba(18,48,92,.6); }
.nt-btn:disabled { opacity: .6; cursor: default; }
.nt-ph { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nt-badge { font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: #eef1f6; color: #5b6a80; white-space: nowrap; }
.nt-badge.is-running { background: #f0ecff; color: #5b3fe0; } .nt-badge.is-done { background: #e5f4ea; color: #1d7a3e; } .nt-badge.is-failed { background: #fdecec; color: #b42318; }
.nt-ph .nt-badge { margin-left: auto; }
.nt-steps { list-style: none; margin: 10px 0 0; padding: 0; }
.nt-steps li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid #eef1f6; font-size: 14px; }
.nt-steps li > i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 13px; background: #eef1f6; color: #a3adbb; }
.nt-steps li.is-ok > i { background: #e5f4ea; color: #1d7a3e; }
.nt-steps li.is-bad > i { background: #fdecec; color: #b42318; }
.nt-steps li.is-run > i { background: #fff; border: 3px solid #dde3ec; border-top-color: #7c5cff; animation: ntSpin .9s linear infinite; }
.nt-steps small { color: var(--muted); font-size: 12px; display: block; }
.nt-steps em { font-style: normal; font-size: 12px; color: var(--muted); }
.nt-done { margin-top: 16px; border-radius: 16px; padding: 18px; background: linear-gradient(135deg, #12305c, #1f5fa8); color: #fff; display: grid; gap: 8px; justify-items: start; }
.nt-done b { font-size: 15px; }
.nt-pw code { font-size: 22px; letter-spacing: .1em; background: rgba(255,255,255,.14); padding: 8px 14px; border-radius: 10px; font-weight: 800; }
.nt-done small { opacity: .85; font-size: 12.5px; line-height: 1.5; }
.nt-ack button { font: inherit; font-size: 12.5px; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 8px; padding: 5px 10px; cursor: pointer; }
.nt-go { display: inline-block; background: #fff; color: #12305c; font-weight: 800; padding: 9px 14px; border-radius: 10px; text-decoration: none; }
.nt-list { list-style: none; margin: 10px 0 0; padding: 0; }
.nt-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eef1f6; }
.nt-list a { text-decoration: none; color: inherit; flex: 1; min-width: 0; }
.nt-list a b { display: block; color: var(--brand); }
.nt-list small { color: var(--muted); font-size: 12px; }
@keyframes ntSpin { to { transform: rotate(360deg); } }
@media (max-width: 980px) { .nt { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .nt-two { grid-template-columns: 1fr; } .nt-steps li { grid-template-columns: 34px 1fr; } .nt-steps li > em { grid-column: 2; } }
.nt-in input::placeholder { font-weight: 400; color: #a3adbb; }

.ga-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.ga-row:first-of-type { border-top: 0; }
.ga-who { min-width: 0; }
.ga-who b { display: block; font-size: 13.5px; }
.ga-who small { color: var(--muted); font-size: 12px; }
.ga-row input[type=password] { width: 100%; font: inherit; font-size: 13px; border: 1px solid #d6dde8; border-radius: 8px; padding: 6px 9px; }
.pl-adm .ga-row:first-of-type { margin-top: 6px; }
.nt-adm { margin-top: 14px; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.nt-adm .nt-sub { font-size: 12.5px; font-weight: 700; color: var(--muted); }
@media (max-width: 560px) { .ga-row { grid-template-columns: 1fr auto; } .ga-who { grid-column: 1 / -1; } }

.ga-new { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.ga-new .nt-sub { grid-column: 1 / -1; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.ga-new input, .ga-new select { width: 100%; font: inherit; font-size: 13px; border: 1px solid #d6dde8; border-radius: 8px; padding: 6px 9px; background: #fff; }
.ga-new .btn { justify-self: start; }

.sr { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 14px 16px; }
.sr-h { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: #e9f6ef; border: 1px solid #bfe3cd; margin-bottom: 6px; }
.sr-h.is-bad { background: #fdecea; border-color: #f2c1bc; }
.sr-big { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 17px; }
.sr-h.is-bad .sr-big { background: var(--bad); }
.sr-h b { font-size: 15.5px; color: var(--ink); }
.sr-h small { display: block; color: var(--muted); font-size: 12.5px; }
.sr-row { display: grid; grid-template-columns: 26px 200px 1fr; gap: 10px; align-items: start; padding: 9px 4px; border-top: 1px solid var(--line-soft); font-size: 14px; }
.sr-h + .sr-row { border-top: 0; }
.sr-ic { width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #fff; background: var(--ok); margin-top: 1px; }
.sr-ic.is-bad { background: var(--bad); }
.sr-ic.is-warn { background: #d79a1a; }
.sr-k { font-weight: 700; }
.sr-v { min-width: 0; overflow-wrap: anywhere; }
.sr-v small { display: block; color: var(--muted); font-size: 12.5px; }
.sr-chip { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #eef2f8; color: var(--brand); vertical-align: 1px; letter-spacing: .03em; }
.sr-chip.is-prod { background: #fdecea; color: var(--bad); }
.sr-fix { display: block; margin-top: 5px; font-size: 13px; color: var(--bad); font-weight: 600; }
@media (max-width: 640px) {
    .sr { padding: 12px; }
    .sr-row { grid-template-columns: 24px 1fr; }
    .sr-row .sr-v { grid-column: 2; }
}

.st-rules { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin: -2px 0 14px; }
.st-rules .ok { color: var(--ok); }

.page-head .cx-new { white-space: nowrap; margin-left: 16px; text-decoration: none; }
.side-cnt { background: #1f4e9c; }
.cx-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.cx-st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.cx-wait { background: #fff4e0; color: #9a5b00; } .cx-ok { background: #eaf5ef; color: var(--ok); }
.cx-rev { background: #e8f0fd; color: #1f4e9c; } .cx-off { background: #eef1f6; color: #5d6b82; }
.cx-req { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin: 0 0 16px; overflow: hidden; }
.cx-req h3 { margin: 0; padding: 13px 16px; font-size: 15px; border-bottom: 1px solid var(--line-soft); display: flex; gap: 8px; align-items: center; }
.cx-req .cx-sub { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.cx-rq { display: flex; gap: 10px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line-soft); }
.cx-rq:last-child { border-bottom: 0; }
.cx-rq > div { flex: 1; min-width: 0; } .cx-rq > div > b { display: block; } .cx-rq small { color: var(--muted); font-size: 12.5px; }
.cx-rq .btn { white-space: nowrap; text-decoration: none; } .cx-rq form { margin: 0; }
.cx-inl { display: inline !important; }
.cx-pt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin: -4px 0 10px; }
.cx-pt label { display: flex; align-items: center; gap: 8px; }
.cx-pt select { font: inherit; font-size: 12.5px; padding: 3px 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); max-width: 220px; }
.cx-act { border: 1px solid #f0d9a8; background: #fffaf0; border-radius: 10px; padding: 12px 14px; margin: 0 0 12px; font-size: 13px; color: #5c4300; }
.cx-act p { margin: 8px 0; }
.cx-act label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: #7a5a1a; margin: 8px 0 0; }
.cx-act input { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; border: 1px solid #e7d4a8; border-radius: 7px; padding: 7px 9px; font: inherit; font-size: 13px; background: #fff; }
.cx-act .btn { margin-top: 10px; width: 100%; justify-content: center; display: flex; }
.pl-c.is-wait { border-color: #e9c27a; }
.cx-plan { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: #eef1f6; color: #34445e; vertical-align: 2px; margin-left: 4px; }
.cx-plan.is-pro { background: #ece9ff; color: #4b3fd1; } .cx-plan.is-demo { background: #fdf0d5; color: #9a6200; }
.cx-form { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr 1.4fr; gap: 10px; padding: 14px 16px 6px; }
.cx-form label { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.cx-form input { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; font: inherit; font-size: 13.5px; color: var(--ink); font-weight: 400; }
.cx-form .wide { grid-column: 1 / 5; } .cx-form .go { grid-column: 5; align-self: end; }
.cx-hint { margin: 0; padding: 4px 16px 14px; font-size: 12.5px; color: var(--muted); }
.cx-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.cx-h { display: block; font-size: 16px; margin-bottom: 4px; }
.cx-acts { white-space: nowrap; text-align: right; } .cx-acts form { display: inline; margin: 0; }
.cx-acts .btn { text-decoration: none; }
.cx-dd { display: inline-block; position: relative; text-align: left; }
.cx-dd summary { list-style: none; cursor: pointer; } .cx-dd summary::-webkit-details-marker { display: none; }
.cx-dd[open] > form { display: flex; flex-direction: column; gap: 6px; padding: 10px; margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; min-width: 230px; }
.cx-dd input[type=password] { border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; font: inherit; font-size: 13px; }
.cx-chk { font-size: 12.5px; color: var(--muted); }
.cs-f { display: block; margin: 10px 0 0; } .cs-f > span { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; font-weight: 700; letter-spacing: .03em; }
.cs-f input, .cs-f select { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 14px; background: #fff; }
.cs-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cs-host { color: var(--muted); font-size: 12px; }
.cs-note { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }
.tf-qr { width: 196px; height: 196px; margin: 4px auto 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
.tf-qr svg { width: 100%; height: 100%; display: block; }
.tf-sec { font-size: 12.5px; color: var(--muted); text-align: center; margin-bottom: 14px; }
.tf-sec code { display: block; font-size: 14px; letter-spacing: .08em; color: var(--ink); margin-top: 4px; word-break: break-all; }
.tf-code { font-size: 22px !important; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .cx-cols { grid-template-columns: 1fr; } .cx-form { grid-template-columns: 1fr 1fr; } .cx-form .wide, .cx-form .go { grid-column: auto; } }
.pl-sum.is-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .pl-sum.is-5 { grid-template-columns: repeat(2, 1fr); } }

.cv { max-width: 1240px; }
.cv-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 2px 0 10px; flex-wrap: wrap; }
.cv-crumb a { color: var(--muted); text-decoration: none; } .cv-crumb a:hover { color: var(--brand); text-decoration: underline; }
.cv-crumb b { color: var(--ink); font-weight: 600; } .cv-crumb .sep { opacity: .5; }
.cv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.cv-head h1 { margin: 0; font-size: 26px; letter-spacing: -.01em; } .cv-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; max-width: 820px; }
.cv-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; white-space: nowrap; cursor: pointer; font-family: inherit; }
.cv-btn:hover { border-color: #b9c6da; }
.cv-btn.pri { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(18, 48, 92, .22); }
.cv-btn.pri:hover { background: var(--brand-on); }
.cv-btn.ghost { background: transparent; } .cv-btn.warn { color: var(--bad); border-color: #f0c9c6; } .cv-btn.sm { padding: 7px 12px; font-size: 13px; }
.cv-btn[disabled] { opacity: .45; cursor: not-allowed; }
.cv-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.cv-kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; position: relative; overflow: hidden; }
.cv-kpi b { display: block; font-size: 28px; letter-spacing: -.02em; } .cv-kpi span { color: var(--muted); font-size: 13px; }
.cv-kpi i { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-size: 16px; }
.cv-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.cv-tools { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.cv-search { flex: 1; max-width: 360px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; color: var(--muted); background: #fafbfd; margin: 0; }
.cv-search input { border: 0; background: transparent; padding: 9px 0; font: inherit; font-size: 14px; flex: 1; outline: none; color: var(--ink); }
.cv-chip { padding: 6px 12px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line); color: var(--muted); background: #fff; text-decoration: none; }
.cv-chip.on { background: #e8eef8; border-color: #c8d6ee; color: var(--brand); font-weight: 600; }
.cv-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.cv-tbl th { text-align: left; font-size: 11.5px; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 10px 16px; background: #fafbfd; border-bottom: 1px solid var(--line-soft); }
.cv-tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.cv-tbl tr:last-child td { border-bottom: none; }
.cv-tbl tr[data-href] { cursor: pointer; } .cv-tbl tr[data-href]:hover td { background: #f5f8fd; }
.cv-tbl tr.off td { opacity: .55; }
.cv-tbl .go { color: #9aa6b8; font-size: 18px; text-align: right; width: 30px; }
.cv-tbl small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.cv-tbl a.cv-name { color: var(--ink); text-decoration: none; font-weight: 700; }
.cv-empty { padding: 34px 16px; text-align: center; color: var(--muted); }
.cv-av { width: 38px; height: 38px; border-radius: 11px; display: inline-grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; flex: none; }
.cv-who { display: flex; align-items: center; gap: 12px; }
.cv-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.cv-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cv-pill.ok { background: #e7f5ee; color: var(--ok); } .cv-pill.off { background: #eef1f6; color: #5d6b82; }
.cv-pill.rev { background: #e8f0fd; color: #1f4e9c; } .cv-pill.wait { background: #fff4e0; color: #9a5b00; } .cv-pill.bad { background: #fde8e7; color: var(--bad); }
.cv-mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.cv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.cv-sec { padding: 20px 22px; border-bottom: 1px solid var(--line-soft); } .cv-sec:last-of-type { border-bottom: none; }
.cv-sec h3 { margin: 0 0 4px; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.cv-sec h3 em { font-style: normal; width: 24px; height: 24px; border-radius: 7px; background: #e8eef8; color: var(--brand); display: grid; place-items: center; font-size: 12px; }
.cv-sec p.d { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.cv-f { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; } .cv-f .w { grid-column: 1 / -1; }
.cv-f label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; color: var(--muted); margin: 0; }
.cv-f input, .cv-f textarea, .cv-f select { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14px; font-weight: 400; color: var(--ink); background: #fff; letter-spacing: 0; }
.cv-f input:focus, .cv-f textarea:focus { outline: none; border-color: #7fa0d6; box-shadow: 0 0 0 3px rgba(31, 78, 156, .12); }
.cv-f input[readonly] { background: #f6f8fb; color: var(--muted); }
.cv-f .cv-in { position: relative; } .cv-f .cv-in { display: block; } .cv-f .cv-in small { position: absolute; right: 12px; top: calc(50% + 3px); transform: translateY(-50%); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.cv-ok { color: var(--ok); } .cv-no { color: var(--bad); }
.cv-hint { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.cv-err { display: flex; gap: 10px; background: #fdecea; border: 1px solid #f3c3bf; color: #8a1f17; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }
.cv-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 22px; background: #fafbfd; border-top: 1px solid var(--line-soft); border-radius: 0 0 16px 16px; flex-wrap: wrap; }
.cv-side { position: sticky; top: 20px; display: grid; gap: 14px; }
.cv-side .cv-card { padding: 18px 20px; } .cv-side h4 { margin: 0 0 10px; font-size: 14px; }
.cv-step { display: flex; gap: 10px; margin: 10px 0; font-size: 13px; color: var(--ink); }
.cv-step b { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 11px; flex: none; }
.cv-step span { color: var(--muted); }
.cv-note { display: flex; gap: 10px; align-items: flex-start; background: #f3f7fd; border: 1px solid #d9e4f5; border-radius: 12px; padding: 12px 14px; font-size: 13px; color: #2b4a7a; }
.cv-act { border-top: 1px solid var(--line-soft); padding-top: 12px; margin-top: 12px; }
.cv-act form { display: grid; gap: 8px; margin: 0; }
.cv-act input[type=password] { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 13px; }
.cv-act label.chk { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.cv-hero { display: flex; align-items: center; gap: 18px; padding: 22px; flex-wrap: wrap; }
.cv-hero .cv-av { width: 62px; height: 62px; border-radius: 16px; font-size: 22px; }
.cv-hero h2 { margin: 0; font-size: 22px; } .cv-hero .meta { color: var(--muted); font-size: 13.5px; margin-top: 4px; display: flex; gap: 14px; flex-wrap: wrap; }
.cv-hero form { display: inline; margin: 0; }
.cv-tabs { display: flex; gap: 4px; padding: 0 18px; border-top: 1px solid var(--line-soft); overflow-x: auto; }
.cv-tabs a { padding: 13px 14px; font-size: 14px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; font-weight: 500; white-space: nowrap; }
.cv-tabs a.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 700; }
.cv-tabs a em { font-style: normal; background: #eef1f6; border-radius: 999px; padding: 1px 8px; font-size: 12px; margin-left: 6px; }
.cv-mini { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-soft); }
.cv-mini div { padding: 14px 22px; border-right: 1px solid var(--line-soft); } .cv-mini div:last-child { border-right: none; }
.cv-mini b { font-size: 20px; display: block; } .cv-mini span { font-size: 12.5px; color: var(--muted); }
.cv-dl { display: grid; grid-template-columns: 170px 1fr; gap: 10px 18px; font-size: 14px; margin: 0; padding: 20px 22px; }
.cv-dl dt { color: var(--muted); } .cv-dl dd { margin: 0; }
.cv-dl h4 { grid-column: 1 / -1; margin: 6px 0 0; font-size: 13px; letter-spacing: .05em; color: var(--muted); }
@media (max-width: 1100px) { .cv-grid { grid-template-columns: 1fr; } .cv-side { position: static; } .cv-kpis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cv-f { grid-template-columns: 1fr; } .cv-head { flex-direction: column; align-items: stretch; } .cv-mini { grid-template-columns: 1fr; } .cv-dl { grid-template-columns: 1fr; } }

.cv-card { overflow-x: auto; }
@media (max-width: 640px) {
  .cv-tbl th, .cv-tbl td { white-space: nowrap; }
  .cx-rq { flex-wrap: wrap; } .cx-rq > div { flex-basis: 100%; }
  .cx-rej { display: flex; gap: 8px; flex: 1; } .cx-rej input { flex: 1; min-width: 0; }
}

.cv { max-width: none; }
.cv-lay { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 22vw, 400px); gap: 20px; align-items: start; }
.cv-lay > * { min-width: 0; }
.cv-rail { display: grid; gap: 16px; }
.cv-rail .cv-card { padding: 18px 20px; overflow: visible; }
.cv-rail h4 { margin: 0 0 12px; font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cv-rail h4 a { font-size: 12.5px; font-weight: 600; color: var(--brand); text-decoration: none; white-space: nowrap; }
.cv-it { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 13.5px; }
.cv-it:first-of-type { border-top: 0; padding-top: 2px; }
.cv-it > div:not(.r) { min-width: 0; overflow-wrap: anywhere; }
.cv-it small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.cv-it .r { margin-left: auto; flex: none; }
.cv-it a.cv-name { color: var(--ink); text-decoration: none; font-weight: 700; } .cv-it a.cv-name:hover { color: var(--brand); text-decoration: underline; }
.cv-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex: none; }
.cv-quiet { margin: 0; color: var(--muted); font-size: 13px; }
.cv-sub { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.cv-bar { height: 8px; border-radius: 99px; background: #eef1f6; overflow: hidden; margin-top: 8px; }
.cv-bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.cv-barrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; font-size: 13px; margin-top: 12px; }
.cv-barrow:first-of-type { margin-top: 0; } .cv-barrow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-barrow .cv-bar { grid-column: 1 / -1; }
.cv-big { display: flex; gap: 16px; align-items: center; } .cv-big b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.cv-big span { font-size: 13px; color: var(--muted); }
.cv-dl.cv-dl-s { padding: 0; grid-template-columns: 96px minmax(0, 1fr); gap: 8px 12px; font-size: 13.5px; }
.cv-dl.cv-dl-s dd { overflow-wrap: anywhere; }

.cv-grid { grid-template-columns: minmax(0, 1fr) clamp(300px, 22vw, 400px); }

.cv-note { display: block; }
@media (max-width: 1280px) {
  .cv-lay { grid-template-columns: minmax(0, 1fr); }
  .cv-rail { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); align-items: start; }
}
@media (max-width: 1100px) { .cv-grid { grid-template-columns: 1fr; } }

.sc-erg { box-shadow: 0 0 0 2px #1d9a8a inset; }
.sc-legend .l7::before { box-shadow: 0 0 0 2px #1d9a8a inset; }
.ei-h { margin: 0 0 4px; font-size: 18px; } .ei-h3 { margin: 0 0 8px; font-size: 15px; }

.ei-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 10px; counter-reset: none; }
.ei-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line-soft, #e6ebf3); border-radius: 12px; background: #fff; font-size: 13.5px; line-height: 1.55; }
.ei-n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.ei-link { font-weight: 700; color: var(--brand); text-decoration: none; border-bottom: 1px solid #b9c8e2; white-space: nowrap; }
.ei-link:hover { border-bottom-color: var(--brand); background: #eef3fa; }

.ei-up { position: relative; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 16px 0 0; padding: 18px 20px; border: 2px dashed #c8d6ee; border-radius: 14px; background: #f7faff; transition: border-color .15s, background .15s; }
.ei-up.is-drag { border-color: var(--brand); background: #e9f0fb; }
.ei-up.is-ok { border-style: solid; border-color: #9fd3b8; background: #f1faf5; }
.ei-up.is-bad { border-style: solid; border-color: #f0b4ae; background: #fdf3f2; }
.ei-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.ei-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #e3f2ea; color: #1d7a4c; display: inline-flex; align-items: center; justify-content: center; }
.ei-up.is-bad .ei-ico { background: #fde8e7; color: #b3261e; }
.ei-pick { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 2px; }
.ei-name { font-size: 14.5px; color: #1b2a41; overflow-wrap: anywhere; }
.ei-meta { font-size: 12.5px; color: var(--muted); } .ei-up.is-bad .ei-meta { color: #b3261e; } .ei-up.is-ok .ei-meta { color: #1d7a4c; }
.ei-btn { cursor: pointer; background: #fff; border: 1px solid #c8d6ee; color: var(--brand); font-weight: 700; }
.ei-btn:hover { background: #eef3fa; }
.ei-file:focus-visible + .ei-ico + .ei-pick + .ei-btn { outline: 3px solid #9cb8e6; outline-offset: 2px; }
.ei-up .btn[disabled] { opacity: .5; cursor: not-allowed; }
.ei-tbl { table-layout: fixed; width: 100%; } table.grid.ei-tbl td, table.grid.ei-tbl th { vertical-align: top; white-space: normal; overflow-wrap: anywhere; }
.ei-sub { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.ei-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.ei-pill.ok { background: #e7f5ee; color: #1d7a4c; } .ei-pill.new { background: #e8f0fd; color: #1f4e9c; }
.ei-pill.diff { background: #fff4e0; color: #9a5b00; } .ei-pill.bad { background: #fde8e7; color: #b3261e; } .ei-pill.off { background: #eef1f6; color: #5d6b82; }
.ei-d { font-size: 12.5px; color: #6b4a00; margin-top: 6px; line-height: 1.55; } .ei-d s { color: #9aa6b8; }
.ei-dn { color: #2b4a7a; } .ei-db { color: #8a1f17; }
.ei-unk { margin-top: 12px; background: #fff7e6; border: 1px solid #f2d8a6; border-radius: 10px; padding: 10px 14px; font-size: 13.5px; color: #6b4a00; }
.sc-tile b.ei-warn { color: #9a5b00; } .sc-tile b.ei-bad { color: #b3261e; }
.ei-foot { display: flex; gap: 10px; align-items: center; justify-content: flex-end; flex-wrap: wrap; padding: 14px 16px; border-top: 1px solid var(--line-soft, #eef1f6); background: #fafbfd; }
.ei-foot .hint { margin-right: auto; }
@media (max-width: 760px) { .ei-tbl { table-layout: auto; min-width: 720px; } }

.wr-card { --wr-info: #1f4e9c; --wr-info-bg: #e8f0fd; --wr-warn: #9a5b00; --wr-warn-bg: #fff4e0; --wr-bad: #b3261e; --wr-bad-bg: #fde8e7; }
.wr-hd { display: flex; gap: 14px; align-items: flex-start; }
.wr-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff4e0; color: #9a5b00; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; }
.wr-t { margin: 0 0 3px; font-size: 16px; } .wr-s { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.wr-rows { display: grid; gap: 8px; margin-top: 14px; }
.wr-r { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 11px 14px; border: 1px solid #eef1f6; border-radius: 10px; background: #fafbfd; font-size: 13.5px; }
.wr-r b { display: block; } .wr-r small { display: block; color: #5d6b82; font-size: 12.5px; line-height: 1.5; margin-top: 3px; }
.wr-r small.wr-n { color: #1b2a41; } .wr-r small.wr-ref { color: #8a96aa; font-size: 11.5px; }
.wr-dot { width: 10px; height: 10px; border-radius: 50%; margin: 5px 0 0 4px; background: #1f4e9c; }
.wr-tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: #e8f0fd; color: #1f4e9c; }
.wr-r.wr-warn .wr-dot { background: #9a5b00; } .wr-r.wr-warn .wr-tag { background: #fff4e0; color: #9a5b00; }
.wr-r.wr-bad .wr-dot { background: #b3261e; } .wr-r.wr-bad .wr-tag { background: #fde8e7; color: #b3261e; }
.wr-ft { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: #8a96aa; }

.wr-chip { display: block; width: max-content; max-width: 100%; margin: 4px 0 0 auto; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; white-space: normal; text-align: right; line-height: 1.35; background: #e8f0fd; color: #1f4e9c; }
.wr-chip.wr-warn { background: #fff4e0; color: #9a5b00; } .wr-chip.wr-bad { background: #fde8e7; color: #b3261e; }
.sc-tot.wr-warn b, .sc-tt.wr-warn b { color: #9a5b00; } .sc-tot.wr-bad b, .sc-tt.wr-bad b { color: var(--bad); }
@media (max-width: 760px) { .wr-r { grid-template-columns: 14px minmax(0, 1fr); } .wr-tag { grid-column: 2; justify-self: start; } }
@media print { .wr-card, .wr-chip { display: none; } }

.wto-eb { display: flex; gap: 16px; align-items: center; margin-top: 12px; padding: 14px 16px; border: 1.5px solid #c9a227; border-radius: 12px;
  background: repeating-linear-gradient(135deg, #fffaf0 0 14px, #fff6e0 14px 28px); }
.wto-ebm { flex: 1; min-width: 0; }
.wto-env, .wto-envs { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: #7a5600; background: #ffe9a8; border: 1px solid #e3c25a; border-radius: 6px; padding: 1px 8px; }
.wto-env { margin-bottom: 6px; }
.wto-t { font-weight: 700; font-size: 15.5px; color: #12305c; }
.wto-s { font-size: 13.5px; color: #3b4a60; margin-top: 4px; line-height: 1.5; }
.wto-n { font-size: 12px; color: #7a6a40; margin-top: 6px; }
.wto-go { white-space: nowrap; }
.wto-ok { color: #14563a; font-weight: 600; }
.wto-wa { color: #8a5a00; }
.wto-bad { color: #b3261e; }
.wto-in { color: #3b4a60; }
.wto-chgT { color: #8a5a00; }
.wto-hist { margin-top: 12px; font-size: 13px; }
.wto-hist > b { display: block; color: #12305c; margin-bottom: 6px; font-size: 14.5px; }
.sc-c.wto-chgC { box-shadow: 0 0 0 2px #c98a00 inset !important; background: #fff7e6 !important; }
.sc-c.wto-chgC small { color: #8a5a00 !important; font-weight: 700; }

.wto-ov { position: fixed; inset: 0; background: rgba(15, 25, 45, .55); z-index: 900; }
.wto-md { position: fixed; z-index: 901; top: 3vh; left: 50%; transform: translateX(-50%); width: min(1160px, 96vw); max-height: 94vh; overflow: auto;
  background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); font-size: 13.5px; }
.wto-strip { position: sticky; top: 0; z-index: 2; text-align: center; padding: 7px; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: #5a3f00;
  background: repeating-linear-gradient(135deg, #ffe9a8 0 16px, #ffe08a 16px 32px); }
.wto-mh { padding: 16px 22px 4px; }
.wto-mh h2 { margin: 0; font-size: 19px; color: #12305c; }
.wto-kv { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 8px 22px 4px; color: #3b4a60; }
.wto-kv b { color: #12305c; }
.wto-tb { border-collapse: collapse; width: calc(100% - 44px); margin: 10px 22px; }
.wto-tb th { font-size: 12px; color: #6a7688; text-align: left; font-weight: 600; padding: 6px 4px; border-bottom: 1px solid #dde3ec; white-space: nowrap; }
.wto-tb td { padding: 6px 4px; border-bottom: 1px solid #eef1f6; vertical-align: top; font-size: 12.5px; }
.wto-nm { font-weight: 600; color: #1b2a41; white-space: nowrap; }
.wto-nm small { display: block; font-weight: 400; color: #8a96aa; }
.wto-ch { display: inline-block; border-radius: 6px; padding: 2px 6px; margin: 1px 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wto-ch b { margin-right: 4px; }
.wto-erg { background: #e8eef8; color: #12305c; }
.wto-an { background: #eef0f3; color: #5d6b82; }
.wto-no { color: #9aa5b8; font-size: 11.5px; }
.wto-ck { margin: 6px 22px 0; border: 1px solid #e3e8f0; border-radius: 10px; padding: 10px 14px; }
.wto-ck div { margin: 4px 0; line-height: 1.45; }
.wto-js { margin: 10px 22px 0; }
.wto-js summary { cursor: pointer; color: #3b4a60; font-weight: 600; margin-bottom: 6px; }
.wto-js pre { background: #0f1b2d; color: #cfe0ff; border-radius: 10px; padding: 10px 14px; font-size: 12px; line-height: 1.45; max-height: 320px; overflow: auto; margin: 0; }
.wto-f { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 22px; margin-top: 12px; border-top: 1px solid #e3e8f0; background: #fafbfd; }
.wto-send { background: #8a5a00; color: #fff; border-color: #8a5a00; font-weight: 700; }

.wto-send:hover, .wto-send:focus-visible { background: #6b4600; border-color: #6b4600; color: #fff; }
.wto-send:active { background: #553800; }
.wto-go:hover, .wto-go:focus-visible { background: #0e264a; color: #fff; }
@media (max-width: 700px) { .wto-eb { flex-direction: column; align-items: stretch; } }

.wto-eb.wto-prod { border-color: #b3261e; background: #fff5f4; }
.wto-prod .wto-env, .wto-envs.wto-envp { color: #fff; background: #b3261e; border-color: #b3261e; }
.wto-prod .wto-n { color: #7a1d17; }
.wto-strip.wto-stripp { background: #b3261e; color: #fff; }
.wto-send.wto-sendp { background: #b3261e; border-color: #b3261e; }
.wto-send.wto-sendp:hover, .wto-send.wto-sendp:focus-visible { background: #8f1d17; border-color: #8f1d17; color: #fff; }

.ap [hidden] { display: none !important; }
.ap { position: relative; z-index: 2; width: 100%; max-width: 460px; height: 100vh; height: 100dvh; overflow-y: auto; box-sizing: border-box;
      display: flex; flex-direction: column; padding: max(30px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom)); color: #fff; }
.ap-home { flex: 1; display: flex; flex-direction: column; }
.ap-brand { display: flex; align-items: center; gap: 11px; }
.ap-brand img { border-radius: 9px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.ap-brand b { font-weight: 800; letter-spacing: .05em; font-size: 17px; }
.ap-brand small { display: block; font-size: 9.5px; letter-spacing: .16em; color: #9fb4d3; font-weight: 700; }
.ap-hero { margin-top: 44px; }
.ap-hero h1 { font-size: 27px; line-height: 1.18; margin: 0 0 10px; font-weight: 800; }
.ap-hero p { margin: 0; color: #c3d2e8; font-size: 14.5px; line-height: 1.5; }
.ap-grow { flex: 1; min-height: 24px; }
.ap-big { display: flex; align-items: center; gap: 14px; width: 100%; box-sizing: border-box; border: 0; border-radius: 16px; padding: 17px 18px;
          background: #fff; color: var(--brand); font: inherit; font-weight: 800; font-size: 16px; text-align: left; text-decoration: none;
          box-shadow: 0 12px 30px rgba(0,0,0,.25); cursor: pointer; }
.ap-big small { display: block; font-weight: 600; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.ap-big-sm { justify-content: center; margin-top: 26px; width: auto; padding: 14px 26px; }
.ap-ic { width: 44px; height: 44px; border-radius: 12px; background: #e8eef8; display: grid; place-items: center; flex: none; }
.ap-ghost { margin-top: 12px; display: flex; align-items: center; gap: 14px; width: 100%; box-sizing: border-box; border-radius: 16px; padding: 14px 18px;
            color: #fff; font: inherit; font-weight: 700; font-size: 15px; text-align: left; background: rgba(255,255,255,.09);
            border: 1px solid rgba(255,255,255,.16); cursor: pointer; }
.ap-ghost small { display: block; font-weight: 500; font-size: 12px; color: #b9c9e0; }
.ap-link { align-self: center; margin-top: 16px; background: none; border: 0; color: #c3d2e8; font: inherit; font-size: 13.5px; cursor: pointer; }
.ap-link u { text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.ap-legal { margin-top: 14px; text-align: center; font-size: 10.5px; letter-spacing: .14em; color: #7f98bb; }

a.ap-ghost { text-decoration: none; }
.ap-ghost .ap-ic { width: auto; height: auto; background: none; }
.ap-ghost.is-off { opacity: .55; cursor: default; }
.ap-soon { margin-bottom: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
           padding: 12px 14px; font-size: 13.5px; color: #c3d2e8; line-height: 1.45; }
.ap-soon b { display: block; color: #fff; font-size: 14.5px; margin-bottom: 2px; }

.ap-scan { position: fixed; inset: 0; z-index: 5; background: #000; }
.ap-scan video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-frame { position: absolute; left: 50%; top: 46%; width: 230px; height: 230px; margin: -115px 0 0 -115px; }
.ap-frame i { position: absolute; width: 42px; height: 42px; border: 5px solid #fff; }
.ap-frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 16px 0 0 0; }
.ap-frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 16px 0 0; }
.ap-frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 16px; }
.ap-frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 16px 0; }
.ap-line { position: absolute; left: 14px; right: 14px; top: 50%; height: 2px; background: #5fd3a0; box-shadow: 0 0 12px #5fd3a0; animation: ap-line 2.2s ease-in-out infinite; }
@keyframes ap-line { 0%,100% { top: 18%; } 50% { top: 82%; } }
.ap-scan-top { position: absolute; top: max(28px, env(safe-area-inset-top)); left: 16px; right: 16px; text-align: center; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.ap-scan-top b { font-size: 17px; }
.ap-scan-top div { font-size: 13px; color: #e1e7f0; margin-top: 4px; }
.ap-scan-bot { position: absolute; bottom: max(26px, env(safe-area-inset-bottom)); left: 22px; right: 22px; display: flex; flex-direction: column; gap: 10px; }
.ap-pill { align-self: center; max-width: 100%; box-sizing: border-box; text-align: center; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; padding: 9px 16px; border-radius: 20px; }
.ap-cancel { border: 0; color: #fff; font: inherit; font-weight: 700; font-size: 15px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.16); cursor: pointer; }

.ap-sheet-wrap { position: fixed; inset: 0; z-index: 4; background: var(--brand); display: flex; flex-direction: column; }
.ap-light { padding: 0; background: var(--brand); max-width: none; }
.ap-back { align-self: flex-start; background: none; border: 0; color: #fff; font: inherit; font-weight: 700; font-size: 15px;
           padding: max(20px, env(safe-area-inset-top)) 20px 16px; text-decoration: none; cursor: pointer; }
.ap-sheet { flex: 1; background: var(--bg); color: var(--ink); border-radius: 22px 22px 0 0; padding: 26px 22px max(26px, env(safe-area-inset-bottom));
            display: flex; flex-direction: column; gap: 14px; overflow-y: auto; width: 100%; max-width: 520px; margin: 0 auto; box-sizing: border-box; }
.ap-sheet h2 { margin: 0; font-size: 21px; font-weight: 800; }
.ap-sheet .alert { margin: 0; }
.ap-s { margin: -6px 0 2px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.ap-go { padding: 14px; font-weight: 800; font-size: 16px; border-radius: 12px; }
.ap-co { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; color: var(--ink); }
.login-card .ap-co { background: var(--bg); border-color: var(--line-soft); }
.ap-co span { color: var(--muted); font-size: 12.5px; }
.ap-co b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-co a { color: var(--brand); font-weight: 700; font-size: 13px; }
.ap-digits { font-size: 26px !important; letter-spacing: .28em; text-align: center; font-weight: 800; }
.ap-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 14px; }
.login-card .ap-note { background: var(--bg); }
.ap-alt { text-align: center; color: var(--brand); font-size: 13.5px; font-weight: 700; }

.ap-msg { margin: auto 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 6px; }
.ap-msg h1 { font-size: 25px; margin: 30px 0 6px; font-weight: 800; }
.ap-msg p { color: #c3d2e8; font-size: 14px; line-height: 1.5; margin: 18px 0 0; }
.ap-msg-co { font-size: 15px; color: #c3d2e8; }
.ap-tick { width: 84px; height: 84px; border-radius: 50%; background: #1d7a4c; display: grid; place-items: center; font-size: 40px; font-weight: 800;
           box-shadow: 0 0 0 10px rgba(45,176,124,.18), 0 0 0 22px rgba(45,176,124,.08); }
.ap-tick.is-warn { background: #b07a12; box-shadow: 0 0 0 10px rgba(214,160,60,.2), 0 0 0 22px rgba(214,160,60,.08); }

.kn { margin: 0 0 14px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; }
.kn-l { padding: 22px 24px; border-right: 1px solid var(--line-soft); }
.kn-h { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: var(--ink); }
.kn-ic { width: 34px; height: 34px; border-radius: 9px; background: #eef2f8; display: grid; place-items: center; color: var(--brand); flex: none; }
.kn-p { color: var(--muted); font-size: 13.5px; margin: 10px 0 16px; line-height: 1.5; max-width: 520px; }
.kn [hidden] { display: none !important; }
.kn-go { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.kn-go .hint { margin: 0; }
.kn-live { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; margin-top: 4px; }
.kn-qr { width: 196px; flex: none; text-align: center; }
.kn-qr .q { width: 180px; height: 180px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin: 0 auto; }
.kn-qr .q svg { width: 100%; height: 100%; display: block; }
.kn-timer { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--warn); background: #fbf3e4; border-radius: 20px; padding: 6px 12px; }
.kn-steps { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.kn-step { display: flex; gap: 10px; align-items: flex-start; }
.kn-n { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #e8eef8; color: var(--brand); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.kn-alt { background: var(--bg); border-radius: 10px; padding: 10px 14px; }
.kn-alt .l { font-size: 12px; color: var(--muted); }
.kn-alt .c { font-size: 22px; font-weight: 800; letter-spacing: .05em; }
.kn-alt .c span { color: var(--muted); font-size: 17px; font-weight: 700; letter-spacing: 0; }
.kn-alt .c b { font-weight: 800; }
.kn-msg { margin-top: 12px; font-size: 13px; color: var(--warn); }
.kn-done { display: flex; align-items: center; gap: 14px; background: #eaf5ef; border: 1px solid #bfe0cd; border-radius: 12px; padding: 14px 16px; color: var(--ok); }
.kn-done .t { width: 38px; height: 38px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; flex: none; }
.kn-done b { display: block; color: #14532d; }
.kn-done span { font-size: 13px; }
.kn-lh { display: flex; align-items: center; gap: 8px; padding: 16px 18px 10px; }
.kn-lh b { font-size: 14.5px; }
.kn-lh span { color: var(--muted); font-size: 12.5px; }
.kn-none { padding: 4px 18px 14px; color: var(--muted); font-size: 13px; }
.kn-dev { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-top: 1px solid var(--line-soft); }
.kn-dev form { margin: 0; }
.kn-dev .nm { flex: 1; min-width: 0; font-size: 13.5px; }
.kn-dev .nm small { display: block; color: var(--muted); font-size: 12px; }
.kn-new { background: #f3faf6; }
.kn-f { padding: 12px 18px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line-soft); }
@media (max-width: 900px) {
    .kn { grid-template-columns: 1fr; }
    .kn-l { border-right: 0; border-bottom: 1px solid var(--line-soft); }
}

.mb-list { margin-top: 18px; }
.mb-list-h { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.mb-list-h b { font-size: 15px; }
.mb-list-h span { color: var(--muted); font-size: 13px; }
.mb-list-h .btn { margin-left: auto; }
.mb-list-f { margin: 0; padding: 12px 18px; border-top: 1px solid var(--line-soft); }
.ad-empty { padding: 18px; color: var(--muted); font-size: 13.5px; }
.ad-dev { display: flex; align-items: center; gap: 10px; }
.ad-ic { width: 32px; height: 32px; border-radius: 9px; background: #eef2f8; display: grid; place-items: center; color: var(--brand); flex: none; }
.ad-sub { display: block; color: var(--muted); font-size: 12px; }
.ad-tag { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 6px; padding: 3px 8px; background: #eef1f6; color: var(--muted); white-space: nowrap; }
.ad-tag.is-on { background: #e5f4ec; color: var(--ok); }
.ad-act { text-align: right; }
.ad-act form { margin: 0; }
.ad-rev { color: var(--bad); border-color: #efc9c6; }

.me { margin: 0 0 14px; }
.me-top { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 1px solid var(--line-soft); }
.me-av { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; letter-spacing: .03em; flex: none; }
.me-id { min-width: 0; }
.me-id b { display: block; font-size: 17px; color: var(--ink); }
.me-id span { color: var(--muted); font-size: 13px; }
.me-facts { margin-left: auto; display: flex; gap: 22px; }
.me-facts div { text-align: right; }
.me-facts small { display: block; color: var(--muted); font-size: 11.5px; }
.me-facts b { font-size: 13px; font-weight: 600; }
.me-body { display: grid; grid-template-columns: 360px minmax(0, 1fr); }
.me-col { padding: 20px 24px; min-width: 0; }
.me-col + .me-col { border-left: 1px solid var(--line-soft); }
.me-t { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.me-s { color: var(--muted); font-size: 12.5px; margin: 0 0 14px; line-height: 1.45; }
.me form { margin: 0; }
.me .field { min-width: 0; margin: 0; }
.me .field input { width: 100%; min-width: 0; max-width: none; box-sizing: border-box; }
.me-row { display: flex; gap: 10px; align-items: flex-end; }
.me-row .field { flex: 1; }
.me-row .btn { flex: none; }
.me-pw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.me-act { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; }
.me-act .hint { margin: 0; }
.me-agree { margin-top: 14px; }
.me-un { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.me-un b { color: var(--ink); font-weight: 600; }

.me-req { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 7px; background: #fdecea; color: var(--bad); vertical-align: 1px; }
.me.is-must .me-pwc { background: #fbfcfe; }
@media (max-width: 1100px) {
    .me-body { grid-template-columns: 1fr; }
    .me-col + .me-col { border-left: 0; border-top: 1px solid var(--line-soft); }
}
@media (max-width: 700px) {
    .me-top { flex-wrap: wrap; padding: 16px 18px; }
    .me-facts { margin-left: 0; width: 100%; justify-content: space-between; }
    .me-facts div { text-align: left; }
    .me-col { padding: 18px; }
    .me-pw { grid-template-columns: 1fr; }
}

.pf-out { margin: 4px 0 0 16px; flex: none; }
.pf-out-b { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.pf-out-b:hover { color: var(--bad); border-color: #efc9c6; }
@media (max-width: 700px) { .pf-out { margin: 0; } }

.side-co-sub > .side-co-env:first-child { margin-left: 0; }

.us-split { grid-template-rows: auto 1fr; }
.us-split > .us-list { grid-column: 1; grid-row: 1; }
.us-split > .us-side { grid-column: 2; grid-row: 1 / span 2; }
.us-split > .us-dev  { grid-column: 1; grid-row: 2; margin-top: 0; align-self: start; }
@media (max-width: 1150px) {
    .us-split { grid-template-rows: none; }
    .us-split > .us-list, .us-split > .us-side, .us-split > .us-dev { grid-column: auto; grid-row: auto; }
}

.pz-erg.is-static:hover { transform: none; }
.sc-tolf.is-ro input { background: #f4f6f9; color: var(--muted); border-color: var(--line-soft); pointer-events: none; }

@media (max-width: 860px), (pointer: coarse) {
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]), select, textarea { font-size: 16px !important; }
}

.side-appnote { display: flex; gap: 9px; align-items: flex-start; margin: 14px 14px 0; padding: 11px 12px; border-radius: 10px; background: rgba(255,255,255,.06); color: #9fb3d1; font-size: 12px; line-height: 1.45; }
.side-appnote svg { flex: none; margin-top: 1px; }

.wl { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: rgba(18, 32, 58, .28); }
.wl[hidden] { display: none; }
.wl-c { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 240px; padding: 22px 26px 16px; border-radius: 22px; background: #fff; box-shadow: 0 18px 50px rgba(10, 25, 50, .28); text-align: center; }
.wl-c svg { width: 68px; height: 68px; display: block; }
.wl-c path { stroke-dasharray: 90; stroke-dashoffset: 90; animation: wlDraw 1.6s ease-in-out infinite; }
.wl-c b { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; line-height: 1.35; }
.wl.is-slow .wl-c b { color: var(--ink); }
.wl.is-slow .wl-c { cursor: pointer; }
@keyframes wlDraw { 0% { stroke-dashoffset: 90; opacity: 1; } 55% { stroke-dashoffset: 0; opacity: 1; } 82% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wl-c path { animation: none; stroke-dashoffset: 0; } }

.stm { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.stm-f { display: flex; flex-direction: column; gap: 10px; }
.stm-h { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; color: var(--ink); margin-top: 6px; }
.stm-row { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 12px; }
.stm-opts { display: flex; flex-direction: column; gap: 8px; }
.stm-o { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: #fff; }
.stm-o.is-on { border-color: var(--brand-on); background: #f3f6fc; }
.stm-o b.num { font-size: 16px; }
.stm-o span { flex: 1; min-width: 0; font-size: 13.5px; }
.stm-o .t24 { width: 90px; }
.stm-why { margin: 2px 0 0; }
.stm-go { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.stm-go .hint { margin: 0; }
.stm-side { font-size: 13px; color: var(--muted); line-height: 1.5; }
.stm-side b { display: block; color: var(--ink); font-size: 13.5px; margin-top: 10px; }
.stm-side b:first-child { margin-top: 0; }
.stm-side p { margin: 3px 0 0; }
@media (max-width: 900px) { .stm { grid-template-columns: 1fr; } .stm-row { grid-template-columns: 1fr; } }

.st-body { background: #e9edf3; margin: 0; }
.st-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 18px;
          background: #fff; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); position: sticky; top: 0; }
.st-a4 { width: 210mm; min-height: 297mm; box-sizing: border-box; margin: 18px auto; padding: 22mm 20mm 18mm; background: #fff;
         box-shadow: 0 6px 24px rgba(18,32,58,.12); color: #111; font-size: 11.5pt; line-height: 1.55; position: relative; }
.st-a4 h1 { font-size: 18pt; margin: 0; letter-spacing: .01em; }
.st-sub { color: #444; margin: 2px 0 18px; font-size: 11pt; }
.st-kv { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
.st-kv th { text-align: left; font-weight: 600; color: #333; width: 42%; padding: 7px 10px 7px 0; vertical-align: top; }
.st-kv td { padding: 7px 0; border-bottom: 1px solid #cfd5df; }
.st-a4 p { margin: 0 0 12px; text-align: justify; }
.st-bl { color: #666; letter-spacing: .04em; white-space: nowrap; }
.st-when { margin-top: 22px !important; text-align: left !important; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.st-sig { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 30px; }
.st-sig div { display: flex; flex-direction: column; }
.st-sig span { font-weight: 600; font-size: 10.5pt; }
.st-sig i { display: block; height: 70px; border-bottom: 1px solid #333; }
.st-sig small { margin-top: 4px; color: #555; font-size: 9.5pt; }
.st-foot { position: absolute; left: 20mm; right: 20mm; bottom: 12mm; font-size: 8.5pt; color: #777; border-top: 1px solid #ddd; padding-top: 6px; }
@media screen and (max-width: 820px) { .st-a4 { width: auto; min-height: 0; margin: 12px; padding: 22px 18px 60px; } }
@media print {
    @page { size: A4; margin: 0; }
    .st-body { background: #fff; }
    .st-bar { display: none; }
    .st-a4 { margin: 0; box-shadow: none; }
}
