:root {
  --ink: #071522;
  --ink-2: #0b2033;
  --panel: #20364d;
  --line: rgba(255, 255, 255, .12);
  --text: #eef6ff;
  --muted: #b9c8d8;
  --accent: #ff8a00;
  --accent-2: #1fbf8f;
  --accent-3: #e74861;
  --paper: #f6f8fb;
  --body: #e9edf2;
  --site-header-start: #071522;
  --site-header-end: #10283b;
  --site-hero-start: #071522;
  --site-hero-end: #253b2f;
  --site-footer: #071522;
  --site-text: #122033;
  --site-nav-text: #d8e4ef;
  --site-nav-active: #ffffff;
  --site-menu-bg: #061421;
  --site-menu-hover: #12304a;
  --site-footer-panel: #22364c;
  --site-footer-bottom: #77828a;
  --site-footer-link: #ffc107;
  --site-card: #ffffff;
  --site-card-border: #dbe4ed;
  --accent-2-hover: #169f78;
  --admin-body: #edf1f5;
  --admin-sidebar: #071522;
  --admin-panel: #ffffff;
  --admin-text: #112033;
  --admin-muted: #697a8d;
  --admin-management-body: #1f2428;
  --admin-management-panel: #13191f;
  --admin-management-form: #747e86;
  --status-active: #198754;
  --status-inactive: #78828c;
  --danger: #ef3f5f;
  --info: #00d2ff;
  --warning: #ffc107;
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--site-text);
  background: var(--body);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
a { text-decoration: none; }
code { color: #d63384; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 1030; background: var(--site-header-start); box-shadow: 0 14px 30px rgba(0, 0, 0, .22); backdrop-filter: blur(12px); }
.site-nav { min-height: 76px; background: linear-gradient(90deg, var(--site-header-start), var(--site-header-end)); border-bottom: 1px solid rgba(255,255,255,.1); }
.site-main { padding-top: 76px; }
.brand-lockup { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { width: min(170px, 38vw); height: 45px; padding: 5px 16px; border-radius: 7px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-text { display: grid; line-height: 1.1; color: var(--text); min-width: 0; }
.brand-text strong { font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { color: var(--muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navbar-dark .navbar-nav .nav-link { color: var(--site-nav-text); font-weight: 650; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 9px 13px; transition: color .18s ease, background .18s ease, transform .18s ease; }
.navbar-dark .navbar-nav .nav-link .bi { font-size: 1.04rem; line-height: 1; }
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover { color: var(--site-nav-active); background: rgba(255, 255, 255, .1); transform: translateY(-1px); }
.navbar-dark .navbar-nav .nav-link.active { background: rgba(255, 138, 0, .18); box-shadow: inset 0 0 0 1px rgba(255, 138, 0, .3); }
.dropdown-menu { border-radius: 7px; border: 1px solid rgba(255,255,255,.12); background: var(--site-menu-bg); padding: 10px; min-width: 230px; }
.dropdown-menu.show { animation: menuFadeIn .16s ease-out; }
.dropdown-item { color: #d8e4ef; border-radius: 6px; padding: 10px 14px; }
.dropdown-item:hover,
.dropdown-item.active { background: var(--site-menu-hover); color: #fff; }
.site-menu-dropdown { background: var(--site-menu-bg); min-width: 210px; box-shadow: 0 16px 32px rgba(0,0,0,.28); }
.site-menu-dropdown .dropdown-item { display: flex; align-items: center; gap: 12px; color: #d7dadd; font-weight: 750; white-space: nowrap; }
.site-menu-dropdown .dropdown-item i { width: 16px; flex: 0 0 16px; text-align: center; color: var(--accent); }
.site-menu-dropdown li:nth-child(2n) .dropdown-item i { color: #20c7d9; }
.site-menu-dropdown li:nth-child(3n) .dropdown-item i { color: #4f9dff; }
.site-menu-dropdown li:nth-child(4n) .dropdown-item i { color: var(--accent-2); }
.site-menu-dropdown li:nth-child(5n) .dropdown-item i { color: #dfe5eb; }

.home-hero { background: linear-gradient(120deg, var(--site-hero-start) 0%, var(--site-header-end) 58%, var(--site-hero-end) 100%); color: var(--text); }
.home-hero-grid { min-height: 440px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); align-items: center; gap: 36px; }
.home-hero h1 { max-width: 760px; margin: 0; font-size: clamp(2rem, 4vw, 4.2rem); line-height: 1.03; font-weight: 800; }
.home-hero p { max-width: 690px; margin: 20px 0 0; color: #d7e1eb; font-size: 1.08rem; }
.section-kicker { display: inline-block; margin-bottom: 10px; color: var(--accent); font-weight: 850; text-transform: uppercase; letter-spacing: 0; font-size: .78rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { border-radius: 7px; font-weight: 750; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary { background: var(--accent-2); border-color: var(--accent-2); }
.btn-primary:hover { background: var(--accent-2-hover); border-color: var(--accent-2-hover); }
.hero-visual { justify-self: center; width: min(320px, 76vw); aspect-ratio: 1; border-radius: 8px; background: rgba(255,255,255,.08); display: grid; place-items: center; border: 1px solid var(--line); overflow: hidden; }
.hero-visual img { width: 92%; height: 92%; object-fit: contain; animation: assistantFloat 4s ease-in-out infinite; }

.content-section { background: var(--paper); }
.centered-page-main { min-height: calc(100vh - 76px); background: linear-gradient(180deg, #dfe5eb 0%, var(--paper) 38%, #eef2f6 100%); }
.central-page-card { width: min(100%, 980px); margin: 0 auto; padding: clamp(24px, 4vw, 42px); border-radius: 8px; background: var(--site-card); border: 1px solid var(--site-card-border); box-shadow: 0 18px 44px rgba(18, 32, 48, .12); }
.central-page-card > .content-section { background: transparent; }
.central-page-card > .content-section > .container { max-width: none; width: 100%; padding: 0 !important; }
.central-page-card .page-heading { text-align: center; }
.central-page-card .page-copy { margin-inline: auto; text-align: center; }
.page-heading h1 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); font-weight: 850; color: #112033; }
.page-copy { max-width: 860px; font-size: 1.08rem; line-height: 1.7; color: #35475a; }
.fixed-page .page-heading { text-align: left; }
.contact-grid { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr); gap: 22px; align-items: stretch; }
.contact-info-panel,
.contact-form-panel { border: 1px solid var(--site-card-border); border-radius: 8px; background: #fff; padding: clamp(20px, 3vw, 30px); box-shadow: 0 12px 28px rgba(18, 32, 48, .08); }
.contact-info-panel h2,
.contact-form-panel h2 { margin: 0 0 12px; color: #112033; font-size: 1.25rem; font-weight: 850; }
.contact-info-panel p { margin: 0 0 22px; color: #46596e; line-height: 1.65; }
.contact-list { display: grid; gap: 16px; margin: 0; }
.contact-list div { border-top: 1px solid #e2e8f0; padding-top: 14px; }
.contact-list dt { display: flex; align-items: center; gap: 8px; color: #10283b; font-weight: 850; }
.contact-list dd { margin: 5px 0 0; color: #3f5165; }
.contact-list a { color: #0b6c8f; font-weight: 800; overflow-wrap: anywhere; }
.inline-link-button { border: 0; padding: 0; background: transparent; color: #0b6c8f; font-weight: 800; }
.assistant-static-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 280px); gap: 30px; align-items: center; }
.assistant-static-copy h1 { margin: 0; color: #112033; font-size: clamp(2rem, 3vw, 3rem); font-weight: 850; }
.assistant-static-copy p { margin: 18px 0 0; color: #40536a; line-height: 1.7; font-size: 1.04rem; }
.assistant-static-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.assistant-static-avatar { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; background: #eef4f8; border: 1px solid #d8e2eb; overflow: hidden; }
.assistant-static-avatar img { width: 86%; height: 86%; object-fit: contain; }
.feature-card { height: 100%; padding: 24px; border-radius: 8px; background: var(--site-card); border: 1px solid var(--site-card-border); box-shadow: 0 12px 28px rgba(16, 32, 48, .08); }
.feature-card i { color: var(--accent-2); font-size: 1.8rem; }
.feature-card h2 { margin: 14px 0 8px; font-size: 1.2rem; font-weight: 800; }
.feature-card p { margin: 0; color: #506277; }

.site-footer { background: var(--site-footer); color: var(--text); padding: 46px 0 0; }
.footer-grid { display: grid; grid-template-columns: 350px minmax(220px, 1fr) minmax(300px, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.social-panel { text-align: center; padding: 6px 0; }
.social-panel h2,
.footer-about h2 { margin: 0 0 18px; color: #fff; text-transform: uppercase; font-size: 1.25rem; font-weight: 900; text-shadow: 0 1px 1px rgba(0,0,0,.5); }
.social-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.social-link { width: 52px; height: 52px; border-radius: 50%; background: var(--social-color); color: #fff; display: grid; place-items: center; font-size: 1.65rem; transition: transform .18s ease, filter .18s ease; }
.social-link:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }
.status-card { border-radius: 8px; background: var(--site-footer-panel); border: 1px solid rgba(255,255,255,.09); padding: 14px 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 16px 34px rgba(0,0,0,.16); }
.status-card h2 { margin: 0 0 12px; color: var(--warning); text-transform: uppercase; font-size: 1.18rem; font-weight: 900; }
.status-card dl { margin: 0; }
.status-card dl div { display: grid; grid-template-columns: 1fr auto; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.1); padding: 3px 0; }
.status-card dt { color: #ffad00; text-transform: uppercase; font-size: .76rem; }
.status-card dd { margin: 0; color: #fff; font-weight: 850; }
.status-chart { width: 144px; height: 86px; margin-top: 18px; border-radius: 8px; background: #102033; padding: 6px; display: block; border: 1px solid rgba(255, 138, 0, .18); box-shadow: 0 0 0 1px rgba(255,255,255,.03), 0 7px 18px rgba(255, 138, 0, .22); }
.status-chart polyline { stroke: var(--accent); }
.status-chart circle { fill: var(--accent); }
.footer-about p { margin: 0; color: #fff; font-size: .9rem; font-weight: 700; line-height: 1.65; }
.footer-about a,
.footer-bottom a { color: var(--site-footer-link); font-weight: 850; }
.footer-about a:hover,
.footer-bottom a:hover { color: #ffd95a; }
.footer-bottom { margin-top: 16px; padding: 10px 16px; background: var(--site-footer-bottom); color: #fff; text-align: center; }
.footer-bottom small { font-size: .86rem; }

.assistant-widget { position: fixed; right: 22px; bottom: 22px; z-index: 99999; }
.assistant-button { width: 72px; height: 72px; border: 0; padding: 0; border-radius: 50%; background: #fff; box-shadow: 0 16px 34px rgba(0,0,0,.32); position: relative; display: grid; place-items: center; cursor: pointer; animation: assistantFloat 3.8s ease-in-out infinite; }
.assistant-button img { width: 86%; height: 86%; object-fit: cover; border-radius: 50%; }
.assistant-button:hover { transform: translateY(-2px); }
.assistant-pulse { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent-2); opacity: .55; animation: assistantPulse 1.9s ease-out infinite; }
.assistant-button.is-thinking img { animation: assistantNod .6s ease-in-out infinite; }
.assistant-panel { position: fixed; right: 24px; bottom: 104px; width: min(390px, calc(100vw - 24px)); max-height: min(650px, 82vh); display: grid; grid-template-rows: auto minmax(180px, 1fr) auto auto auto; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); border: 1px solid #dce4ee; opacity: 0; transform: translateY(8px) scale(.98); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.assistant-widget.is-open .assistant-panel { opacity: 1; transform: translateY(0); pointer-events: auto; }
.assistant-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--site-header-end); color: #fff; }
.assistant-head div { display: grid; line-height: 1.15; }
.assistant-head span { color: #aee8d6; font-size: .8rem; }
.assistant-close { width: 34px; height: 34px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; }
.assistant-messages { padding: 14px; overflow-y: auto; background: #f4f7fa; display: flex; flex-direction: column; gap: 10px; }
.assistant-msg { max-width: 88%; padding: 10px 12px; border-radius: 8px; font-size: .94rem; line-height: 1.4; }
.assistant-msg-bot { align-self: flex-start; background: #fff; color: #172638; border: 1px solid #dfe7ef; }
.assistant-msg-user { align-self: flex-end; background: var(--accent-2); color: #fff; }
.assistant-form { display: grid; grid-template-columns: 1fr 46px; gap: 8px; padding: 12px; border-top: 1px solid #dde6ef; background: #fff; }
.assistant-form input { min-width: 0; border: 1px solid #ccd8e4; border-radius: 7px; padding: 10px 12px; }
.assistant-form button { border: 0; border-radius: 7px; background: var(--accent-3); color: #fff; }

.install-body, .admin-login-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(135deg, #071522, #1d3b4c 55%, #2a4636); }
.install-shell { width: min(1120px, 100%); }
.install-panel, .login-card { border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: 0 24px 70px rgba(0,0,0,.28); padding: clamp(22px, 4vw, 42px); }
.install-heading h1, .login-card h1 { margin: 0 0 22px; font-weight: 850; }
.form-section-title { margin: 10px 0 0; font-size: 1rem; color: #10283b; font-weight: 850; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: #1b5f80; font-weight: 750; }

.admin-body { min-height: 100vh; background: var(--admin-body); display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.admin-sidebar { background: var(--admin-sidebar); color: #fff; padding: 22px; min-height: 100vh; position: sticky; top: 0; }
.admin-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 850; margin-bottom: 24px; }
.admin-sidebar nav { display: grid; gap: 6px; }
.admin-sidebar nav a { color: #cddbe8; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 7px; }
.admin-sidebar nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.admin-main { padding: clamp(18px, 3vw, 34px); min-width: 0; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.admin-topbar h1 { margin: 0; font-weight: 850; color: var(--admin-text); }
.admin-user { display: grid; text-align: right; color: var(--admin-text); }
.admin-user span { color: var(--admin-muted); font-size: .86rem; }
.admin-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.admin-metrics div, .admin-panel, .admin-table-panel { border-radius: 8px; background: var(--admin-panel); border: 1px solid #dce4ec; box-shadow: 0 10px 24px rgba(18, 32, 48, .07); }
.admin-metrics div { padding: 18px; display: grid; gap: 6px; }
.admin-metrics span { color: #66798c; font-weight: 700; }
.admin-metrics strong { color: #10283b; font-size: 1.8rem; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
.admin-panel, .admin-table-panel { padding: 18px; }
.admin-panel h2, .admin-table-panel h2 { margin: 0 0 14px; font-size: 1.1rem; font-weight: 850; color: var(--admin-text); }
.admin-panel-copy { color: var(--admin-muted); margin: 0 0 14px; }
.admin-grid-lists { align-items: start; }
.table-dark { --bs-table-bg: #102033; --bs-table-striped-bg: #182b3d; }
.social-list-admin { justify-content: flex-start; }
.theme-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.theme-form label { display: grid; gap: 6px; color: #52667a; font-weight: 750; font-size: .86rem; }
.theme-form input[type="color"] { width: 100%; height: 42px; padding: 4px; border: 1px solid #cfd9e4; border-radius: 7px; background: #fff; }
.theme-submit { grid-column: 1 / -1; justify-content: center; }
.page-editor-list, .user-editor-list, .assistant-admin-list { display: grid; gap: 14px; }
.page-edit-item, .user-edit-item { border: 1px solid #d9e2eb; border-radius: 8px; padding: 14px; background: #f8fafc; }
.page-edit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: end; margin-bottom: 10px; }
.page-edit-grid label { display: grid; gap: 6px; color: #53677b; font-weight: 750; font-size: .86rem; }
.page-toggle, .user-active { display: flex !important; align-items: center; gap: 8px !important; min-height: 38px; color: #31445a !important; }
.page-route { margin: 4px 0 10px; color: #64778b; font-size: .88rem; }
.page-route a { color: #1d6e92; font-weight: 750; }
.page-edit-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.user-edit-item { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(180px, 1fr) 128px minmax(130px, .8fr) 88px auto; gap: 10px; align-items: center; }
.assistant-admin-item { border-bottom: 1px solid #dfe7ef; padding-bottom: 10px; }
.assistant-admin-item:last-child { border-bottom: 0; padding-bottom: 0; }
.assistant-admin-item strong { display: block; color: #10283b; }
.assistant-admin-item span { display: block; color: #728398; font-size: .82rem; margin-top: 2px; }
.assistant-admin-item p { margin: 6px 0 0; color: #33475d; }
.empty-state { color: #6a7d8f; background: #f4f7fa; border-radius: 8px; padding: 14px; }

.admin-management-body {
  min-height: 100vh;
  color: #f6f8fb;
  background: var(--admin-management-body);
}
.management-shell {
  width: min(1284px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 28px 0 48px;
}
.management-heading { text-align: center; margin-bottom: 48px; }
.management-kicker { display: inline-flex; align-items: center; gap: 24px; }
.management-kicker h1,
.form-heading h1 {
  margin: 0;
  color: #ffc107;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  font-weight: 900;
  line-height: 1.1;
}
.management-kicker span { display: inline-flex; gap: 12px; color: #ffc107; font-size: 1.8rem; }
.management-heading p {
  margin: 24px 0 0;
  color: #f4f6f8;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 850;
}
.management-alert { max-width: 980px; margin: 0 auto 18px; border-radius: 7px; }
.users-management-grid {
  display: grid;
  grid-template-columns: 408px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.profile-card,
.management-card {
  background: var(--admin-management-panel);
  border: 1px solid rgba(70, 94, 118, .38);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .18);
}
.profile-card {
  min-height: 320px;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
.profile-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00c9f4;
  box-shadow: 0 0 28px rgba(0, 201, 244, .45);
}
.profile-card h2 { margin: 4px 0 0; color: #f5f7fa; font-size: 1.45rem; font-weight: 850; }
.profile-card strong { color: #00d2ff; }
.profile-card span { display: inline-flex; align-items: center; gap: 10px; color: #aeb8c4; font-size: .95rem; overflow-wrap: anywhere; }
.profile-card .btn { margin-top: 12px; }
.management-card { padding: 30px; min-width: 0; }
.management-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}
.management-card-title h2,
.downloads-heading h1 {
  margin: 0;
  color: #f4f6f8;
  font-size: 1.25rem;
  font-weight: 850;
  text-align: center;
}
.management-card-title h2 { flex: 1; }
.management-table {
  width: 100%;
  color: #fff;
  border-collapse: collapse;
  table-layout: fixed;
}
.management-table th,
.management-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(220, 228, 236, .2);
  vertical-align: middle;
}
.management-table th { color: #fff; font-weight: 850; }
.management-table tbody tr:nth-child(odd) { background: rgba(255, 255, 255, .07); }
.management-table tbody tr:nth-child(even) { background: rgba(10, 18, 24, .32); }
.management-table .is-inactive { opacity: .68; }
.users-table th:nth-child(1), .users-table td:nth-child(1) { width: 82px; text-align: center; }
.users-table th:nth-child(2), .users-table td:nth-child(2) { width: 22%; text-align: center; }
.users-table th:nth-child(3), .users-table td:nth-child(3) { width: 34%; }
.users-table th:nth-child(4), .users-table td:nth-child(4) { width: 112px; text-align: center; }
.users-table th:nth-child(5), .users-table td:nth-child(5) { width: 96px; text-align: center; }
.users-table th:nth-child(6), .users-table td:nth-child(6) { width: 78px; text-align: center; }
.table-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.role-badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 7px;
  color: #fff;
  font-size: .72rem;
  font-weight: 850;
  white-space: nowrap;
}
.role-user { background: var(--info); color: #08202a; }
.role-admin { background: var(--warning); color: #172033; }
.role-supervisor { background: #ef476f; }
.role-master { background: #0d6efd; }
.action-buttons { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.action-buttons form { margin: 0; }
.icon-action {
  width: 36px;
  height: 26px;
  border-radius: 5px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #f5f7fa;
  color: #fff;
  background: transparent;
  line-height: 1;
}
.icon-action:hover { color: #fff; filter: brightness(1.08); }
.delete-action { background: var(--danger); border-color: var(--danger); }
.icon-action:disabled { opacity: .45; cursor: not-allowed; }
.downloads-management { width: min(1248px, calc(100vw - 48px)); padding-top: 24px; }
.downloads-heading { text-align: center; margin-bottom: 28px; }
.downloads-heading h1 { display: inline-flex; align-items: center; gap: 10px; }
.downloads-heading p { margin: 12px 0 0; color: #f8f9fa; font-size: .95rem; }
.management-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; }
.downloads-card { background: transparent; border-color: rgba(0, 201, 244, .35); padding: 18px 24px 40px; }
.downloads-table th:nth-child(1), .downloads-table td:nth-child(1) { width: 70px; text-align: center; }
.downloads-table th:nth-child(2), .downloads-table td:nth-child(2) { width: 34%; }
.downloads-table th:nth-child(3), .downloads-table td:nth-child(3) { width: 20%; text-align: center; }
.downloads-table th:nth-child(4), .downloads-table td:nth-child(4) { width: 140px; text-align: center; }
.downloads-table th:nth-child(5), .downloads-table td:nth-child(5) { width: 190px; text-align: center; }
.downloads-table th:nth-child(6), .downloads-table td:nth-child(6) { width: 120px; text-align: center; }
.download-file-link { color: #00d2ff; font-size: 1rem; }
.download-file-link:hover { color: #68e6ff; }
.download-file-link.is-empty { color: #7d8995; }
.clients-management,
.team-management,
.portfolio-management { width: min(1248px, calc(100vw - 48px)); padding-top: 24px; }
.clients-card,
.team-card,
.portfolio-card { background: transparent; border-color: rgba(0, 201, 244, .35); padding: 18px 24px 40px; }
.management-image-thumb {
  width: 72px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  background: #0f171e;
  border: 1px solid rgba(255,255,255,.2);
}
.management-avatar-thumb {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00d2ff;
}
.content-link { color: #00d2ff; font-size: 1rem; }
.content-link:hover { color: #68e6ff; }
.content-link.is-empty { color: #7d8995; }
.social-mini-list { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.social-mini-list a { color: #00d2ff; font-size: 1.05rem; }
.social-mini-list a:nth-child(2) { color: #4f9dff; }
.social-mini-list a:nth-child(3) { color: #ef476f; }
.social-mini-list a:nth-child(4) { color: #ffc107; }
.clients-table th:nth-child(1), .clients-table td:nth-child(1),
.team-table th:nth-child(1), .team-table td:nth-child(1),
.portfolio-table th:nth-child(1), .portfolio-table td:nth-child(1) { width: 70px; text-align: center; }
.clients-table th:nth-child(2), .clients-table td:nth-child(2),
.portfolio-table th:nth-child(2), .portfolio-table td:nth-child(2) { width: 112px; text-align: center; }
.team-table th:nth-child(2), .team-table td:nth-child(2) { width: 90px; text-align: center; }
.clients-table th:nth-child(3), .clients-table td:nth-child(3),
.portfolio-table th:nth-child(3), .portfolio-table td:nth-child(3) { width: 32%; }
.team-table th:nth-child(3), .team-table td:nth-child(3),
.team-table th:nth-child(4), .team-table td:nth-child(4) { width: 22%; }
.clients-table th:nth-child(4), .clients-table td:nth-child(4),
.team-table th:nth-child(5), .team-table td:nth-child(5),
.portfolio-table th:nth-child(4), .portfolio-table td:nth-child(4) { width: 96px; text-align: center; }
.clients-table th:nth-child(5), .clients-table td:nth-child(5),
.team-table th:nth-child(6), .team-table td:nth-child(6),
.portfolio-table th:nth-child(5), .portfolio-table td:nth-child(5) { width: 122px; text-align: center; }
.clients-table th:nth-child(6), .clients-table td:nth-child(6),
.portfolio-table th:nth-child(6), .portfolio-table td:nth-child(6) { width: 164px; text-align: center; }
.clients-table th:nth-child(7), .clients-table td:nth-child(7),
.team-table th:nth-child(7), .team-table td:nth-child(7),
.portfolio-table th:nth-child(7), .portfolio-table td:nth-child(7) { width: 120px; text-align: center; }
.clients-table strong,
.clients-table small,
.portfolio-table strong,
.portfolio-table small { display: block; }
.clients-table small,
.portfolio-table small { color: #aeb8c4; font-size: .78rem; margin-top: 2px; overflow-wrap: anywhere; }
.pages-management { width: min(1248px, calc(100vw - 48px)); padding-top: 24px; }
.pages-toolbar > div { display: inline-flex; gap: 10px; }
.pages-card,
.icons-card { background: transparent; border-color: rgba(0, 201, 244, .35); padding: 18px 24px 34px; }
.pages-table th:nth-child(1), .pages-table td:nth-child(1) { width: 70px; text-align: center; }
.pages-table th:nth-child(2), .pages-table td:nth-child(2) { width: 27%; }
.pages-table th:nth-child(3), .pages-table td:nth-child(3) { width: 22%; }
.pages-table th:nth-child(4), .pages-table td:nth-child(4) { width: 130px; text-align: center; }
.pages-table th:nth-child(5), .pages-table td:nth-child(5) { width: 112px; text-align: center; }
.pages-table th:nth-child(6), .pages-table td:nth-child(6) { width: 156px; text-align: center; }
.pages-table th:nth-child(7), .pages-table td:nth-child(7) { width: 120px; text-align: center; }
.pages-table strong,
.page-public-link,
.page-menu-label,
.pages-table small { display: block; }
.page-public-link { color: #00d2ff; font-size: .82rem; margin-top: 2px; overflow-wrap: anywhere; }
.page-public-link:hover { color: #68e6ff; }
.page-menu-label { color: #fff; overflow-wrap: anywhere; }
.page-menu-label i { color: #ffc107; margin-right: 8px; }
.pages-table small { color: #aeb8c4; font-size: .75rem; margin-top: 2px; }
.page-form-shell { width: min(1180px, calc(100vw - 24px)); }
.page-management-form textarea { min-height: 220px; }
.icons-management { width: min(1180px, calc(100vw - 48px)); padding-top: 24px; }
.icons-management .icons-card { margin-bottom: 18px; }
.icons-toolbar { align-items: stretch; }
.icons-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.icons-controls label {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 750;
}
.icons-controls input[type="color"] { width: 48px; height: 32px; padding: 2px; border-radius: 6px; border: 1px solid rgba(255,255,255,.58); background: #1f2428; }
.icons-controls input[type="search"] { width: min(250px, 100%); min-height: 32px; }
.icons-controls select { width: min(230px, 100%); min-height: 32px; }
.icon-reference-catalog { display: grid; gap: 24px; }
.icon-category-section { display: grid; gap: 12px; }
.icon-category-section h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 850;
}
.icon-category-section h2 small { color: #aeb8c4; font-size: .78rem; font-weight: 750; white-space: nowrap; }
.icon-reference-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.icon-reference-item {
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #f6f8fb;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 14px 10px;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.icon-reference-item:hover,
.icon-reference-item.is-copied { border-color: #00d2ff; background: rgba(0, 210, 255, .14); transform: translateY(-1px); }
.icon-reference-item i { color: var(--icon-reference-color, #ffc107); font-size: 1.8rem; line-height: 1; }
.icon-reference-item span { color: #dce5ef; font-size: .82rem; font-weight: 750; overflow-wrap: anywhere; }
.status-active { background: var(--status-active); }
.status-inactive { background: var(--status-inactive); }
.empty-management-row { text-align: center; color: #b8c4cf; padding: 26px !important; }
.form-shell { width: min(1272px, calc(100vw - 24px)); padding-top: 32px; }
.form-heading { margin-bottom: 24px; }
.centered-form-heading { text-align: center; }
.form-heading p { margin: 10px 0 0; color: #fff; font-size: 1.5rem; font-weight: 850; }
.management-form {
  background: var(--admin-management-form);
  border-radius: 6px;
  padding: 24px;
  color: #fff;
}
.management-form label { display: grid; gap: 8px; margin-bottom: 16px; color: #fff; font-weight: 500; }
.form-grid.two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
.management-form .form-control,
.management-form .form-select {
  border-radius: 6px;
  min-height: 38px;
}
.management-check { display: flex !important; align-items: center; gap: 10px !important; min-height: 38px; margin: 4px 0 0; }
.management-form small { color: #eef3f7; }
.form-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.centered-actions { justify-content: center; }
.download-form-shell .form-heading h1 { text-align: left; }
.download-management-form { display: grid; gap: 0; }
.dark-control { background: #1f2428 !important; color: #fff !important; border-color: rgba(255,255,255,.76) !important; }
.color-control { min-height: 38px; padding: 4px !important; }
.dark-control:focus { box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .2); }
.light-link { color: #fff; text-decoration: none; }
.light-link:hover { color: #e9eef5; }

.register-card { width: min(520px, 100%); }
.has-dashboard-dock .management-shell { padding-left: 92px; }
.dashboard-dock {
  position: fixed;
  inset: 18px auto 18px 18px;
  width: 74px;
  z-index: 1040;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  padding: 10px;
  border-radius: 8px;
  background: var(--admin-sidebar);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}
.dashboard-dock-brand,
.dashboard-dock nav a {
  min-height: 48px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #dce8f4;
}
.dashboard-dock-brand:hover,
.dashboard-dock nav a:hover,
.dashboard-dock nav a.is-active { color: #fff; background: rgba(255,255,255,.1); }
.dashboard-dock nav { display: grid; align-content: start; gap: 6px; }
.dashboard-dock i { font-size: 1.22rem; line-height: 1; }
.dashboard-dock span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.dashboard-chat { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 12px; min-height: 430px; }
.dashboard-chat-contacts,
.dashboard-chat-conversation { border: 1px solid #dfe7ef; border-radius: 8px; background: #f8fafc; min-width: 0; }
.dashboard-chat-contacts { display: grid; align-content: start; gap: 8px; padding: 10px; overflow: auto; }
.dashboard-chat-contact { border: 0; border-radius: 7px; background: #fff; color: var(--admin-text); text-align: left; padding: 10px; display: grid; gap: 3px; box-shadow: inset 0 0 0 1px #e2e9f1; }
.dashboard-chat-contact:hover,
.dashboard-chat-contact.is-active { box-shadow: inset 0 0 0 2px var(--accent-2); }
.dashboard-chat-contact strong { font-size: .92rem; }
.dashboard-chat-contact span,
.dashboard-chat-contact small { color: var(--admin-muted); font-size: .78rem; overflow-wrap: anywhere; }
.dashboard-chat-conversation { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; }
.dashboard-chat-head { padding: 12px 14px; border-bottom: 1px solid #dfe7ef; color: var(--admin-text); font-weight: 850; }
.dashboard-chat-messages { padding: 14px; overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.dashboard-chat-msg { max-width: 82%; border-radius: 8px; padding: 10px 12px; font-size: .92rem; line-height: 1.4; }
.dashboard-chat-msg.is-me { align-self: flex-end; background: var(--accent-2); color: #fff; }
.dashboard-chat-msg.is-them { align-self: flex-start; background: #fff; color: var(--site-text); border: 1px solid #dfe7ef; }
.dashboard-chat-form { display: grid; grid-template-columns: 1fr 46px; gap: 8px; padding: 12px; border-top: 1px solid #dfe7ef; background: #fff; }
.dashboard-chat-form input { min-width: 0; border: 1px solid #ccd8e4; border-radius: 7px; padding: 10px 12px; }
.dashboard-chat-form button { border: 0; border-radius: 7px; background: var(--accent-3); color: #fff; }
.assistant-profile-fields { display: grid; gap: 8px; padding: 12px; border-top: 1px solid #dde6ef; background: #fff; }
.assistant-profile-fields input { border: 1px solid #ccd8e4; border-radius: 7px; padding: 9px 10px; }
.assistant-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 12px; background: #fff; }
.assistant-quick button { border: 1px solid #d5e0eb; border-radius: 7px; background: #f8fafc; color: var(--site-text); padding: 7px 9px; font-size: .82rem; font-weight: 750; }
.assistant-msg small,
.dashboard-chat-msg small { display: block; margin-top: 4px; opacity: .68; font-size: .72rem; }

.public-showcase-page { display: grid; gap: 22px; }
.public-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.public-info-card,
.public-empty-panel {
  border: 1px solid var(--site-card-border);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  min-width: 0;
  box-shadow: 0 12px 28px rgba(18, 32, 48, .08);
}
.public-info-card { display: grid; align-content: start; gap: 12px; }
.public-info-card h2,
.public-empty-panel h2 { margin: 0; color: #112033; font-size: 1.16rem; font-weight: 850; }
.public-info-card p,
.public-empty-panel p { margin: 0; color: #4c5f73; line-height: 1.58; }
.public-info-card strong { color: #1a6f92; font-size: .9rem; }
.public-card-icon { width: 48px; height: 48px; border-radius: 8px; display: grid; place-items: center; background: #edf5f7; color: var(--accent-2); font-size: 1.45rem; }
.public-logo-box,
.public-image-box,
.public-avatar-box { border-radius: 8px; background: #edf3f7; border: 1px solid #d8e2eb; display: grid; place-items: center; overflow: hidden; color: #7890a6; }
.public-logo-box { height: 118px; padding: 14px; }
.public-image-box { aspect-ratio: 16 / 10; }
.public-avatar-box { width: 112px; height: 112px; border-radius: 50%; justify-self: center; }
.public-logo-box img,
.public-image-box img { width: 100%; height: 100%; object-fit: contain; }
.public-image-box img { object-fit: cover; }
.public-avatar-box img { width: 100%; height: 100%; object-fit: cover; }
.public-logo-box i,
.public-image-box i,
.public-avatar-box i,
.public-empty-panel i { font-size: 2rem; color: var(--accent-2); }
.public-client-card,
.public-team-card { text-align: center; }
.public-text-link { display: inline-flex; align-items: center; gap: 7px; color: #0b6c8f; font-weight: 850; overflow-wrap: anywhere; }
.public-muted-pill { display: inline-flex; width: fit-content; border-radius: 999px; background: #eef2f6; color: #65798d; padding: 6px 10px; font-size: .82rem; font-weight: 800; }
.public-social-mini { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.public-social-mini a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #10283b; color: #fff; }

.user-area-body { min-height: 100vh; background: var(--admin-body); color: var(--admin-text); display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.user-area-sidebar { min-height: 100vh; background: var(--admin-sidebar); color: #fff; padding: 22px; position: sticky; top: 0; align-self: start; }
.user-area-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 850; margin-bottom: 24px; }
.user-area-sidebar nav { display: grid; gap: 6px; }
.user-area-sidebar nav a { display: flex; align-items: center; gap: 10px; color: #cddbe8; border-radius: 7px; padding: 10px 12px; font-weight: 750; }
.user-area-sidebar nav a:hover,
.user-area-sidebar nav a.is-active { color: #fff; background: rgba(255,255,255,.1); }
.user-area-main { min-width: 0; padding: clamp(18px, 3vw, 34px); }
.user-area-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.user-area-topbar h1 { margin: 0; font-weight: 850; color: var(--admin-text); }
.user-area-profile-chip { display: flex; align-items: center; gap: 10px; border: 1px solid #d8e2eb; border-radius: 8px; background: #fff; padding: 8px 10px; min-width: 0; }
.user-area-profile-chip img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #eef4f8; }
.user-area-profile-chip span { display: grid; line-height: 1.15; min-width: 0; }
.user-area-profile-chip strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.user-area-profile-chip small { color: var(--admin-muted); }
.user-hero-panel,
.user-panel,
.user-profile-card,
.user-action-card,
.user-list-card {
  border: 1px solid #d9e2eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 32, 48, .08);
}
.user-hero-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(20px, 3vw, 30px); margin-bottom: 18px; }
.user-hero-panel h2 { margin: 0; color: #112033; font-size: clamp(1.45rem, 2.4vw, 2.4rem); font-weight: 850; }
.user-hero-panel p { max-width: 720px; margin: 12px 0 0; color: #506277; line-height: 1.62; }
.user-action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.user-action-card { min-height: 158px; padding: 20px; display: grid; align-content: start; gap: 10px; color: var(--admin-text); }
.user-action-card:hover { color: var(--admin-text); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(18, 32, 48, .12); }
.user-action-card i { width: 46px; height: 46px; border-radius: 8px; display: grid; place-items: center; background: #edf5f7; color: var(--accent-2); font-size: 1.35rem; }
.user-action-card strong { font-size: 1.05rem; }
.user-action-card span { color: #586c80; line-height: 1.45; }
.user-panel { padding: clamp(18px, 3vw, 28px); }
.user-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.user-panel-heading h2,
.user-profile-form h2 { margin: 0; color: #112033; font-size: 1.22rem; font-weight: 850; }
.user-list-grid { display: grid; gap: 12px; }
.user-list-card { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px; box-shadow: none; }
.user-list-card > i { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; background: #edf5f7; color: var(--accent-2); font-size: 1.24rem; }
.user-list-card strong { color: #10283b; }
.user-list-card p,
.user-empty-text { margin: 3px 0 0; color: #5c7084; }
.user-empty-state { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 34px 16px; color: #52667a; }
.user-empty-state i { color: var(--accent-2); font-size: 2.4rem; }
.user-empty-state h3 { margin: 0; color: #112033; font-size: 1.25rem; font-weight: 850; }
.user-profile-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; align-items: start; }
.user-profile-card { padding: 22px; text-align: center; }
.user-profile-card img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; background: #edf3f7; border: 1px solid #d8e2eb; }
.user-profile-card h2 { margin: 14px 0 4px; color: #112033; font-size: 1.2rem; font-weight: 850; overflow-wrap: anywhere; }
.user-profile-card span { color: var(--admin-muted); font-weight: 750; }
.user-profile-form label { display: grid; gap: 8px; margin-bottom: 16px; color: #24384b; font-weight: 750; }

@keyframes assistantFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes assistantPulse {
  0% { transform: scale(.94); opacity: .7; }
  100% { transform: scale(1.22); opacity: 0; }
}
@keyframes assistantNod {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(4deg); }
}
@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
  .brand-text { max-width: 42vw; }
  .home-hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { order: -1; width: min(220px, 62vw); }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid,
  .assistant-static-grid { grid-template-columns: 1fr; }
  .assistant-static-avatar { width: min(220px, 70vw); justify-self: center; order: -1; }
  .status-card { max-width: 360px; margin: 0 auto; width: 100%; }
  .admin-body { grid-template-columns: 1fr; }
  .admin-sidebar { min-height: auto; position: static; }
  .user-area-body { grid-template-columns: 1fr; }
  .user-area-sidebar { min-height: auto; position: static; }
  .user-area-profile-chip strong { max-width: 52vw; }
  .user-profile-grid { grid-template-columns: 1fr; }
  .admin-metrics, .admin-grid { grid-template-columns: 1fr; }
  .has-dashboard-dock .management-shell { padding-left: 0; padding-bottom: 96px; }
  .dashboard-dock { inset: auto 10px 10px; width: auto; grid-template-rows: 1fr; grid-template-columns: auto 1fr; }
  .dashboard-dock nav { grid-auto-flow: column; overflow-x: auto; align-content: center; }
  .dashboard-dock-brand,
  .dashboard-dock nav a { width: 48px; }
  .dashboard-chat { grid-template-columns: 1fr; }
  .dashboard-chat-contacts { max-height: 170px; }
  .page-edit-grid, .user-edit-item { grid-template-columns: 1fr; }
  .management-shell,
  .downloads-management,
  .clients-management,
  .team-management,
  .portfolio-management,
  .form-shell { width: min(100% - 20px, 760px); }
  .management-heading { margin-bottom: 28px; }
  .management-kicker { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .users-management-grid { grid-template-columns: 1fr; }
  .profile-card { min-height: auto; }
  .management-card { padding: 18px; }
  .management-card-title { align-items: stretch; flex-direction: column; }
  .management-card-title h2 { text-align: left; }
  .management-table { min-width: 760px; }
  .form-grid.two-columns { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .brand-logo { width: 118px; padding-inline: 10px; }
  .brand-text strong { font-size: .86rem; }
  .brand-text small { font-size: .68rem; }
  .home-hero h1 { font-size: 2rem; }
  .social-link { width: 48px; height: 48px; }
  .assistant-widget { right: 14px; bottom: 14px; }
  .assistant-button { width: 64px; height: 64px; }
  .assistant-panel { right: 10px; bottom: 86px; width: calc(100vw - 20px); max-height: min(620px, 78vh); }
  .contact-info-panel,
  .contact-form-panel { padding: 18px; }
  .user-area-topbar,
  .user-hero-panel,
  .user-panel-heading { align-items: stretch; flex-direction: column; }
  .user-area-profile-chip { width: 100%; }
  .user-list-card { grid-template-columns: 44px minmax(0, 1fr); }
  .user-list-card .btn { grid-column: 1 / -1; justify-content: center; }
  .admin-topbar { align-items: flex-start; flex-direction: column; }
  .admin-user { text-align: left; }
  .management-kicker h1,
  .form-heading h1 { font-size: 1.75rem; }
  .management-kicker span { font-size: 1.35rem; }
  .management-heading p { font-size: 1.15rem; }
  .management-toolbar { align-items: stretch; flex-direction: column; }
  .management-toolbar .btn { justify-content: center; }
  .pages-toolbar > div { display: grid; gap: 10px; }
  .icons-controls { display: grid; grid-template-columns: 1fr; }
  .icons-controls label,
  .icons-controls .btn { justify-content: center; }
  .icons-controls input[type="search"] { width: 100%; }
  .management-form { padding: 18px; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .btn { justify-content: center; }
}
