[hidden] { display: none !important; }
/* My sites: every site a customer owns. Built on the signup page's look (../style.css). */
.wide { width: min(1120px, 100% - 32px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.who { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #D7DBF2; }
.btn-quiet { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); padding: 6px 14px; min-height: 0; font-size: 14px; }
.loading { color: var(--ink-2); padding: 40px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--soft); padding: 28px; }
.signin { max-width: 520px; margin: 20px auto; display: flex; flex-direction: column; gap: 10px; }
.signin h1 { font-size: 32px; }
.signin form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.signin label .opt { display: inline; font-weight: 400; color: var(--ink-2); margin-left: 4px; }
.signin input { font: 17px var(--body); padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; }
.opt { font-weight: 400; color: var(--ink-2); }
.muted { color: var(--ink-2); margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.my-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.my-head h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; }
.my-head p { margin-top: 6px; font-size: 18px; }
.deal { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: #EEF7F1; border: 1px solid #BFE3CC; color: #0F5132; font-weight: 600; margin: 0 0 22px; }
.deal::before { content: '10%'; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--mint); color: #fff; font: 800 14px var(--display); }
.sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 18px; }
.site { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--soft); padding: 22px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.site::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--acc, var(--zap)); }
.site:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(14,20,48,.08), 0 26px 50px -22px rgba(14,20,48,.35); }
.site-top { display: flex; align-items: center; gap: 14px; }
.site-logo { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--acc, var(--zap)); color: #fff; font: 800 18px var(--display); overflow: hidden; }
.site-logo img { width: 100%; height: 100%; object-fit: cover; }
.site-name { display: flex; flex-direction: column; min-width: 0; }
.site-name b { font: 700 20px var(--display); letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-name a { font-size: 14px; color: var(--ink-2); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-name a:hover { text-decoration: underline; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column; gap: 2px; }
.facts dt { font-size: 13px; color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 600; font-size: 15px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #EEF0F6; color: var(--ink-2); }
.pill.ok { background: #E6F4EC; color: var(--mint); }
.pill.warn { background: #FFF4D6; color: #8A5A00; }
.pill.bad { background: #FBE7E2; color: var(--red); }
.pill.off { background: #E8F0FF; color: #2F4AA8; }
.site-acts { display: flex; gap: 10px; margin-top: auto; }
.site-acts .btn { flex: 1; }
.empty { text-align: center; padding: 50px 20px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 40px); opacity: 0; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; transition: transform .25s, opacity .25s; z-index: 50; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }
.building { display: flex; align-items: center; gap: 12px; }
.building .spin { width: 22px; height: 22px; border-width: 3px; flex: none; }
@media (max-width: 560px) { .my-head .row { width: 100%; } .my-head .row .btn { flex: 1; } }
