/* fpanel.hbaemlak.com */
.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.side { background: #0b2235; color: #c3d0db; padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.side .brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; color: #fff; font-weight: 800; }
.side .brand img { width: 30px; height: 30px; }
.side .brand small { display: block; font-weight: 600; color: #8aa0b3; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.side a.nv { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 8px; color: #c3d0db; font-weight: 600; font-size: .93rem; }
.side a.nv:hover { background: rgba(255, 255, 255, .06); text-decoration: none; color: #fff; }
.side a.nv.on { background: rgba(255, 255, 255, .1); color: #fff; }
.side .cnt { background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800; padding: 1px 7px; }
.side .grow { flex: 1; }
.side .me { padding: 12px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.side .me button { background: none; border: 0; color: #8aa0b3; padding: 0; cursor: pointer; font: inherit; margin-top: 4px; }
.side .me button:hover { color: #fff; }
.side .me a { color: #8aa0b3; }
.content { padding: 24px 28px 48px; min-width: 0; }
.ph-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.ph-head h1 { margin: 0; font-size: 1.45rem; }
.topbar-m { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; position: fixed; inset: 0 30% 0 0; z-index: 60; height: auto; }
  .shell.menu .side { display: flex; }
  .topbar-m { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: #0b2235; color: #fff; position: sticky; top: 0; z-index: 50; }
  .topbar-m button { background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }
  .content { padding: 18px 16px 40px; }
}

.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { padding: 16px 18px; display: block; color: inherit; }
.stat:hover { text-decoration: none; border-color: #c5ccd4; }
.stat .n { font-size: 1.8rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.stat .l { font-size: .85rem; color: var(--muted); font-weight: 600; }
.stat.hot .n { color: var(--accent); }
.subtabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.subtabs a { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; font-size: .87rem; }
.subtabs a.on { background: var(--brand); border-color: var(--brand); color: #fff; text-decoration: none; }
.subtabs a .c { opacity: .7; margin-left: 4px; }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar input { max-width: 320px; }
.tthumb { width: 64px; height: 48px; border-radius: 6px; overflow: hidden; background: var(--bg); display: flex; align-items: center; justify-content: center; color: #b5c2ce; }
.tthumb img { width: 100%; height: 100%; object-fit: cover; }
.tthumb svg { width: 28px; height: 28px; }
.ttitle { font-weight: 600; max-width: 340px; }
.owner-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 20px; }
.owner-card div span { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.action-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 6px 14px; font-size: .93rem; margin-bottom: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.switch { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; cursor: pointer; }
.switch input { margin-top: 4px; width: 18px; height: 18px; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; background: linear-gradient(135deg, #0b2235, #155a8a); }
.login-wrap .card { width: min(400px, 100%); padding: 30px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
@media (max-width: 1100px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
