/* Hosmere Pro panel. Plus Jakarta Sans, navy #262F3E. Buttons #C2501F, orange text #A84418, logo #DF6029. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("assets/fonts/plus-jakarta-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("assets/fonts/plus-jakarta-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --navy: #262F3E; --navy-2: #1C2430; --ink: #1A212C; --muted: #5B6573; --muted-2: #8A93A0;
  --line: rgba(38, 47, 62, 0.12); --line-strong: rgba(38, 47, 62, 0.2);
  --cream: #F6F3EE; --paper: #FFFCF8; --orange: #DF6029; --accent-text: #A84418; --btn: #C2501F; --btn-hover: #A84418;
  --red: #B42318; --red-bg: #FDECEA; --amber: #8A5A00; --amber-bg: #FFF4D6; --green: #1E7A46; --green-bg: #E6F4EC;
  --radius: 18px; --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--cream); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
.top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 5; }
.top-in { max-width: 1240px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: #fff; }
.brand .word { height: 26px; width: auto; }
.pro-chip { font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; background: var(--orange); color: #fff; padding: 3px 9px; border-radius: 999px; }
.top-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lang { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; color: #D9DEE6; font-weight: 700; font-size: 13px; padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.who { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #D9DEE6; flex-wrap: wrap; }
.who button { background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; padding: 5px 12px; cursor: pointer; font-weight: 600; font-size: 13px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 22px 20px 60px; }
h1 { font-size: 28px; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.sub { color: var(--muted); margin: 6px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; cursor: pointer; text-decoration: none; background: var(--btn); color: #fff; }
.btn:hover { background: var(--btn-hover); }
.btn.line { background: #fff; color: var(--navy); border: 1px solid var(--line-strong); }
.btn.line:hover { border-color: var(--navy); }
.btn.small { padding: 7px 13px; font-size: 13px; }
.btn:disabled { opacity: .55; cursor: default; }
.notice { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 12px; padding: 11px 14px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.notice b { color: var(--ink); }
.notice.warn { border-left-color: var(--red); }
.totals { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
@media (max-width: 980px) { .totals { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .totals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tot { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.tot .n { font-size: 26px; font-weight: 800; line-height: 1.1; }
.tot .l { color: var(--muted); font-size: 13px; margin-top: 2px; }
.tot.bad .n { color: var(--red); } .tot.mid .n { color: var(--amber); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.chip { border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 6px 13px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.updated { color: var(--muted-2); font-size: 13px; margin-left: auto; }
.sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
@media (max-width: 400px) { .sites { grid-template-columns: 1fr; } }
.site { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.site.red { border-top: 4px solid var(--red); } .site.amber { border-top: 4px solid #E0A100; } .site.green { border-top: 4px solid var(--green); }
.site-h { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.site-h h2 { font-size: 18px; margin: 0; line-height: 1.25; }
.site-h .meta { color: var(--muted); font-size: 13px; margin-top: 2px; }
.pill { display: inline-block; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.pill.red { background: var(--red-bg); color: var(--red); } .pill.amber { background: var(--amber-bg); color: var(--amber); } .pill.green { background: var(--green-bg); color: var(--green); } .pill.grey { background: var(--cream); color: var(--muted); }
.blk { border-top: 1px solid var(--line); padding-top: 9px; display: grid; grid-template-columns: 26px 1fr; gap: 0 9px; }
.blk img { width: 22px; height: 22px; margin-top: 1px; }
.blk .t { font-weight: 800; font-size: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.blk .t a { margin-left: auto; color: var(--accent-text); font-size: 13px; font-weight: 700; text-decoration: none; }
.blk .t a:hover { color: #8E3913; text-decoration: underline; }
.kv { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 3px; font-size: 14px; }
.kv span b { font-weight: 800; }
.kv .bad { color: var(--red); } .kv .mid { color: var(--amber); }
.list { margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.list li { padding: 1px 0; }
.list li.bad { color: var(--red); font-weight: 600; }
.site-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 9px; font-size: 12px; color: var(--muted-2); flex-wrap: wrap; }
.linkbtn { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 12px; text-decoration: underline; padding: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 460px; margin: 40px auto; }
.card h1 { font-size: 24px; } .card p { color: var(--muted); }
label { display: block; font-weight: 700; font-size: 13px; margin: 14px 0 5px; }
input[type=email], input[type=password], input[type=text] { width: 100%; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper); }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(194, 80, 31, .45); outline-offset: 2px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.err { color: var(--red); font-size: 14px; margin-top: 10px; }
.muted { color: var(--muted); font-size: 13px; }
.sheet-back { position: fixed; inset: 0; background: rgba(26, 33, 44, .45); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 20; }
.sheet-back[hidden] { display: none; }
.sheet { background: #fff; border-radius: var(--radius); padding: 22px; max-width: 520px; width: 100%; max-height: 90vh; overflow: auto; }
.sheet h2 { margin: 0 0 6px; font-size: 20px; }
.sheet h3 { margin: 18px 0 4px; font-size: 15px; }
.code { font-size: 28px; font-weight: 800; letter-spacing: .12em; background: var(--cream); border-radius: 12px; padding: 10px 14px; display: inline-block; margin-top: 8px; }
.pro-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 22px; }
.pro-feats div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.pro-feats b { display: block; color: var(--ink); margin-bottom: 2px; }
.soon { font-size: 11px; font-weight: 800; color: var(--accent-text); text-transform: uppercase; letter-spacing: .04em; }

/* 1.0.0: site switcher, period chips, members, plan */
.sel { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; }
.sel span { color: var(--muted); font-weight: 700; }
.sel select { font: inherit; font-weight: 700; padding: 6px 30px 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--navy); max-width: 260px; }
.linkbtn.h { font-size: inherit; font-weight: inherit; color: inherit; text-decoration: none; text-align: left; }
.linkbtn.h:hover { text-decoration: underline; }
.tot small { color: var(--muted-2); }
.tot { min-width: 0; } .tot .n { overflow-wrap: anywhere; font-size: 22px; }
.totals { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 1100px) { .totals { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px) { .totals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sites.single { grid-template-columns: 1fr; }
.kv small { color: var(--muted-2); }
.members { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-top: 16px; }
.members h2 { margin: 0 0 4px; font-size: 18px; }
.mems { list-style: none; margin: 10px 0 0; padding: 0; }
.mem { display: flex; justify-content: space-between; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding: 10px 0; flex-wrap: wrap; }
.jc { letter-spacing: .06em; color: var(--ink); }
input[type=number] { width: 100%; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper); }
@media print { .top, .filters, .site-f, .row, .pro-feats { display: none !important; } body { background: #fff; } }
