.v2-brand { color: #e6f7f7; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.v2-brand:hover { text-decoration: none; }
.v2-brand .logo { object-fit: contain; }
.v2-user { color: #e6f7f7; }
.v2-admin-mode { padding: .65rem .9rem; border: 1px solid #19c9c4; border-radius: .6rem; background: transparent; color: #19c9c4; font: inherit; cursor: pointer; }
.v2-admin-mode.active { background: #19c9c4; color: #091d23; }
.v2-layout { display: flex; flex: 1; min-height: 70vh; }
.v2-sidebar { box-sizing: border-box; flex: 0 0 24rem; width: 24rem; padding: 2rem 1rem; font-size: 88.89%; background: rgba(7, 23, 28, .96); border-right: 1px solid rgba(255,255,255,.12); }
@media (min-width: 721px) {
  html, body { height: 100%; }
  body { overflow: hidden; }
  .navbar, .v2-footer { flex-shrink: 0; }
  .v2-layout { min-height: 0; overflow: hidden; }
  .v2-sidebar, .v2-main {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #19c9c4 #0f2228;
  }
  .v2-sidebar::-webkit-scrollbar, .v2-main::-webkit-scrollbar { width: 9px; }
  .v2-sidebar::-webkit-scrollbar-track, .v2-main::-webkit-scrollbar-track { background: #0f2228; }
  .v2-sidebar::-webkit-scrollbar-thumb, .v2-main::-webkit-scrollbar-thumb {
    background: #19c9c4;
    border: 2px solid #0f2228;
    border-radius: 9px;
  }
  .v2-sidebar::-webkit-scrollbar-thumb:hover, .v2-main::-webkit-scrollbar-thumb:hover { background: #4dbf91; }
}
.v2-sidebar-title { margin: 0 0 .6rem; color: #9abbbe; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.v2-sidebar-section > summary.v2-sidebar-title { padding: .7rem .8rem; cursor: pointer; }
.v2-sidebar-user { display: grid; gap: .25rem; padding: .8rem; margin-bottom: 1rem; background: #0f2228; border-radius: .8rem; color: #9abbbe; }
.v2-sidebar .v2-sidebar-user-name { padding: 0; font-weight: 700; color: #e6f7f7; overflow-wrap: anywhere; }
.v2-sidebar .v2-sidebar-user-name:hover { color: #19c9c4; background: none; }
.v2-sidebar-user span { font-size: .8rem; }
.v2-sidebar-user a:last-child { padding: 0; color: #19c9c4; font-size: .8rem; }
.v2-sidebar .v2-form { padding: .8rem; margin-bottom: 1rem; }
.v2-sidebar input, .v2-sidebar select, .v2-sidebar button { font-size: inherit; }
.v2-client-context { position: relative; margin-bottom: 1rem; padding: .8rem; background: #0f2228; border-radius: .8rem; }
.v2-sidebar .v2-client-context .v2-form { margin: 0; padding: 0; background: transparent; }
.v2-client-context-status { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: .65rem; }
.v2-sidebar .v2-client-context .v2-client-context-filter { flex: 0 0 auto; }
.v2-client-context-toggle { position: relative; display: inline-flex; align-items: center; width: max-content; cursor: pointer; }
.v2-sidebar .v2-client-context .v2-client-context-toggle input { width: auto; margin: 0; padding: 0; accent-color: #19c9c4; }
.v2-client-context-tooltip { position: absolute; z-index: 30; bottom: calc(100% + .5rem); right: 0; width: max-content; max-width: 16rem; padding: .45rem .6rem; border-radius: .4rem; color: #e6f7f7; background: #17373e; box-shadow: 0 .4rem 1rem rgba(0,0,0,.35); visibility: hidden; opacity: 0; pointer-events: none; }
.v2-client-context-toggle:hover .v2-client-context-tooltip, .v2-client-context-toggle:focus-within .v2-client-context-tooltip { visibility: visible; opacity: 1; }
.v2-sidebar-search-label { display: block; margin: 0 .8rem .4rem; color: #9abbbe; font-size: .8rem; }
.v2-sidebar-search { box-sizing: border-box; width: calc(100% - 1.6rem); margin: 0 .8rem 1.2rem; padding: .65rem; color: #e6f7f7; background: #091d23; border: 1px solid #4b777d; border-radius: .4rem; font: inherit; }
.v2-client-picker { position: relative; }
.v2-client-picker > summary { padding: .7rem; color: #e6f7f7; background: #091d23; border: 1px solid #4b777d; border-radius: .4rem; cursor: pointer; }
.v2-client-picker-panel { position: absolute; z-index: 20; box-sizing: border-box; width: 100%; max-height: 20rem; overflow: auto; padding: .6rem; color: #e6f7f7; background: #091d23; border: 1px solid #4b777d; border-radius: .4rem; box-shadow: 0 .7rem 1.5rem rgba(0,0,0,.35); }
.v2-client-picker-panel input { box-sizing: border-box; width: 100%; margin: .35rem 0 .5rem; }
.v2-client-option { display: block; width: 100%; padding: .6rem; border: 0; border-radius: .3rem; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.v2-client-option:hover, .v2-client-option:focus-visible, .v2-client-option[aria-current="true"] { background: #17373e; outline: 1px solid #19c9c4; }
.v2-client-option.v2-client-tone-green { color: #4dbf91; }
.v2-client-option.v2-client-tone-blue { color: #58a6ff; }
.v2-client-option.v2-client-tone-yellow { color: #e6c46a; }
.v2-client-option.v2-client-tone-orange { color: #ffad4d; }
.v2-client-picker-empty { margin: .4rem 0; color: #9abbbe; }
.v2-sidebar-group { margin-bottom: 1.2rem; }
.v2-sidebar-empty { display: block; padding: .7rem .8rem; color: #9abbbe; font-size: .8rem; }
.v2-sidebar [hidden] { display: none !important; }
.v2-sidebar a { display: block; padding: .7rem .8rem; border-radius: .6rem; color: #e6f7f7; }
.v2-sidebar a:hover, .v2-sidebar a[aria-current="page"] { color: #091d23; background: #19c9c4; text-decoration: none; }
.v2-menu-badges { display: inline-flex; float: right; gap: .2rem; margin-left: .4rem; }
.v2-menu-badge { display: inline-grid; place-items: center; min-width: 1.15rem; height: 1.15rem; padding: 0 .15rem; border-radius: .25rem; font-size: .7rem; font-weight: 800; line-height: 1; }
.v2-menu-badge-admin { color: #fff; background: #aa3434; }
.v2-menu-badge-master { color: #082119; background: #4dbf91; }
.v2-menu-badge-reseller { color: #fff; background: #286db0; }
.v2-sidebar-branch { margin: .25rem 0; }
.v2-sidebar-branch summary { padding: .7rem .8rem; color: #c6d9da; cursor: pointer; }
.v2-sidebar details > summary { position: relative; padding-right: .8rem; list-style: none; }
.v2-sidebar details > summary::-webkit-details-marker { display: none; }
.v2-sidebar details > summary::after { content: '▸'; position: absolute; left: 0; }
.v2-sidebar details[open] > summary::after { content: '▾'; }
.v2-sidebar-section > .v2-sidebar-branch > summary::after { left: 1rem; }
.v2-sidebar-section > .v2-sidebar-branch > .v2-sidebar-branch > summary::after { left: 2rem; }
.v2-sidebar-section > a, .v2-sidebar-section > .v2-sidebar-disabled,
.v2-sidebar-section > .v2-sidebar-branch > summary { padding-left: 1.8rem; }
.v2-sidebar-section > .v2-sidebar-branch > a,
.v2-sidebar-section > .v2-sidebar-branch > .v2-sidebar-disabled,
.v2-sidebar-section > .v2-sidebar-branch > .v2-sidebar-branch > summary { padding-left: 2.8rem; }
.v2-sidebar-section > .v2-sidebar-branch > .v2-sidebar-branch > a,
.v2-sidebar-section > .v2-sidebar-branch > .v2-sidebar-branch > .v2-sidebar-disabled { padding-left: 3.8rem; }
.v2-sidebar-disabled { display: block; padding: .7rem .8rem; color: #708b8e; cursor: default; }
.v2-sidebar-filter { width: 100%; padding: .5rem; color: #19c9c4; background: transparent; border: 1px solid #4b777d; border-radius: .4rem; font: inherit; cursor: pointer; }
.v2-main { flex: 1 1 0; min-width: 0; }
.v2-main-content { width: 100%; max-width: 80rem; padding: 3rem; margin: 0 auto; }
.v2-main h1 { margin: 0 0 1rem; font-size: 2rem; }
.v2-main h2 { margin: 2rem 0 1rem; }
.v2-intro { color: #c6d9da; margin-bottom: 2rem; }
.v2-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }
.v2-card-grid .card { display: flex; flex-direction: column; gap: .6rem; text-align: left; }
.v2-card-grid .card strong { font-size: 1.25rem; }
.v2-card-grid .card span { color: #c6d9da; }
.v2-card-grid .card small { color: #4dbf91; }
.v2-welcome { max-width: 35rem; margin: 5rem auto; }
.v2-button { display: inline-block; background: #19c9c4; color: #091d23; border: 0; border-radius: .65rem; padding: .7rem 1.2rem; font: inherit; font-weight: 700; cursor: pointer; }
.v2-button:hover { background: #4dbf91; color: #091d23; text-decoration: none; }
.v2-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.v2-section-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.25rem; padding: .35rem; background: #0f2228; border: 1px solid rgba(255,255,255,.12); border-radius: .7rem; }
.v2-section-tabs a { display: inline-block; padding: .55rem .85rem; border: 1px solid transparent; border-radius: .45rem; color: #c6d9da; }
.v2-section-tabs a:hover, .v2-section-tabs a[aria-current="page"] { color: #061c21; background: #19c9c4; text-decoration: none; }
.v2-section-tabs a:focus-visible { outline: 2px solid #19c9c4; outline-offset: 2px; }
.v2-client-tools { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.v2-client-tools .v2-form { flex: 1 1 18rem; max-width: none; padding: 1rem; }
.v2-table-wrap { overflow-x: auto; background: #0f2228; border: 1px solid rgba(255,255,255,.12); border-radius: .8rem; }
.v2-table { width: 100%; border-collapse: collapse; }
.v2-table th, .v2-table td { text-align: left; padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.v2-table th { color: #9abbbe; }
.v2-state-positive, .v2-state-warning, .v2-state-negative { font-weight: 700; }
.v2-state-positive { color: #85e9b8; }
.v2-state-warning { color: #ffd787; }
.v2-state-negative { color: #ffacb3; }
.v2-lock-button, .v2-lock-state { display: inline-flex; align-items: center; justify-content: center; min-width: 2.4rem; min-height: 2.4rem; padding: .35rem .55rem; border: 1px solid; border-radius: .45rem; font-size: 1.15rem; line-height: 1; }
.v2-lock-button { cursor: pointer; }
.v2-lock-button.v2-lock-open, .v2-lock-state.v2-lock-open { color: #85e9b8; background: #174c36; border-color: #4dbf91; }
.v2-lock-button.v2-lock-closed, .v2-lock-state.v2-lock-closed { color: #ffacb3; background: #b4232e; border-color: #ff6b75; }
.v2-lock-button.v2-lock-open:hover { background: #1f684a; }
.v2-lock-button.v2-lock-closed:hover { background: #d64545; }
.v2-lock-button:hover, .v2-lock-button:focus-visible { outline: 2px solid #19c9c4; outline-offset: 2px; }
.v2-table tbody tr[hidden] { display: none; }
.v2-table-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin: .8rem 0 1.25rem; color: #9abbbe; }
.v2-table-controls label { display: flex; align-items: center; gap: .55rem; }
.v2-table-controls select { padding: .4rem .6rem; color: #e6f7f7; background: #091d23; border: 1px solid #4b777d; border-radius: .4rem; font: inherit; }
.v2-table-controls button { padding: .4rem .7rem; color: #19c9c4; background: #0f2228; border: 1px solid #4b777d; border-radius: .4rem; font: inherit; cursor: pointer; }
.v2-table-controls button:hover:not(:disabled) { color: #091d23; background: #19c9c4; }
.v2-table-controls button:disabled { opacity: .45; cursor: default; }
.v2-status { border-radius: 1rem; background: #624b1f; color: #ffd787; padding: .2rem .55rem; }
.v2-status.ok { background: #174c36; color: #85e9b8; }
.v2-status.rejected { background: #5b2830; color: #ffacb3; }
.v2-status.blocked, .v2-status.closed { background: #344248; color: #cfdddd; }
.v2-status.in-progress { background: #1e4057; color: #a5d9ff; }
.v2-status-button { border: 0; font: inherit; cursor: pointer; }
.v2-status-button:hover, .v2-status-button:focus-visible { outline: 2px solid #19c9c4; outline-offset: 2px; }
.v2-activation-section { margin-top: 2rem; }
.v2-client-tone { font-weight: 700; }
.v2-client-tone-green { color: #4dbf91; }
.v2-client-tone-blue { color: #58a6ff; }
.v2-client-tone-yellow { color: #e6c46a; }
.v2-client-tone-orange { color: #ffad4d; }
.v2-form { max-width: 36rem; display: grid; gap: .65rem; background: #0f2228; padding: 2rem; border-radius: .8rem; }
.v2-form input { width: 100%; padding: .7rem; color: #e6f7f7; background: #091d23; border: 1px solid #4b777d; border-radius: .4rem; }
.v2-form select, .v2-form textarea { width: 100%; padding: .7rem; color: #e6f7f7; background: #091d23; border: 1px solid #4b777d; border-radius: .4rem; font: inherit; }
.v2-form .v2-checkbox { display: flex; align-items: center; gap: .6rem; }
.v2-form .v2-checkbox input { width: auto; }
.v2-detail, .v2-comment { text-align: left; margin-bottom: 1rem; }
.v2-description { white-space: normal; }
.v2-domain-input { display: flex; align-items: center; gap: .5rem; }
.v2-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.v2-error { color: #ffd0d4; background: #64262d; padding: 1rem; border-radius: .5rem; }
.v2-success { color: #9ef0c9; background: #174c36; padding: 1rem; border-radius: .5rem; }
.v2-empty { text-align: left; }
.v2-footer { padding: 1.2rem; text-align: center; background: #07171c; color: #9abbbe; }
@media (max-width: 720px) {
  .navbar { gap: .75rem; flex-wrap: wrap; }
  .v2-layout { display: block; }
  .v2-sidebar { width: 100%; padding: 1rem; }
  .v2-main-content { padding: 1.4rem; }
  .v2-heading { display: block; }
}
