.hdv2-svc {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}

.hdv2-svc__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hdv2-svc__title {
    margin: 0 0 0.35rem;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--hdv2-cah-fg);
}

.hdv2-svc__subtitle {
    margin: 0;
    font-size: 0.92rem;
    color: var(--hdv2-cah-muted);
}

.hdv2-svc__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.05rem;
    border-radius: 0.55rem;
    border: 1px solid hsl(217.2 91.2% 59.8%);
    background: hsl(217.2 91.2% 59.8%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.hdv2-svc__cta:hover {
    background: hsl(217.2 91.2% 52%);
    border-color: hsl(217.2 91.2% 52%);
    color: #fff;
}

.hdv2-svc__cta svg {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hdv2-svc__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.hdv2-svc__stat {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--hdv2-cah-border);
    border-radius: 0.75rem;
    background: var(--hdv2-cah-card);
}

.hdv2-svc__stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hdv2-svc__stat-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hdv2-svc__stat-icon--blue {
    background: hsl(213 100% 95%);
    color: hsl(217 91% 50%);
}

.hdv2-svc__stat-icon--green {
    background: hsl(142 70% 92%);
    color: hsl(142 71% 38%);
}

.hdv2-svc__stat-icon--amber {
    background: hsl(43 96% 92%);
    color: hsl(32 95% 44%);
}

:root[data-hdv2-theme="dark"] .hdv2-svc__stat-icon--blue {
    background: hsl(217 71% 16%);
    color: hsl(213 94% 78%);
}

:root[data-hdv2-theme="dark"] .hdv2-svc__stat-icon--green {
    background: hsl(142 50% 16%);
    color: hsl(142 76% 70%);
}

:root[data-hdv2-theme="dark"] .hdv2-svc__stat-icon--amber {
    background: hsl(35 60% 18%);
    color: hsl(43 96% 70%);
}

.hdv2-svc__stat-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hdv2-svc__stat-label {
    font-size: 0.8rem;
    color: var(--hdv2-cah-muted);
    margin-bottom: 0.2rem;
}

.hdv2-svc__stat-value {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--hdv2-cah-fg);
    line-height: 1.1;
}

.hdv2-svc__toolbar {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--hdv2-cah-border);
    border-radius: 0.75rem;
    background: var(--hdv2-cah-card);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hdv2-svc__search {
    position: relative;
    flex: 1 1 280px;
    min-width: 220px;
}

.hdv2-svc__search-icon {
    position: absolute;
    top: 50%;
    left: 0.85rem;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    stroke: var(--hdv2-cah-muted);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.hdv2-svc__search-input {
    width: 100%;
    height: 2.4rem;
    padding: 0 0.85rem 0 2.4rem;
    border: 1px solid var(--hdv2-cah-border);
    border-radius: 0.55rem;
    background: var(--hdv2-cah-bg);
    color: var(--hdv2-cah-fg);
    font-size: 0.88rem;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hdv2-svc__search-input:focus {
    outline: 0;
    border-color: hsl(217.2 91.2% 59.8%);
    box-shadow: 0 0 0 3px hsl(217 91% 60% / 0.12);
}

.hdv2-svc__filters {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.hdv2-svc__filter {
    height: 2.1rem;
    padding: 0 0.8rem;
    border: 1px solid var(--hdv2-cah-border);
    border-radius: 0.55rem;
    background: var(--hdv2-cah-bg);
    color: var(--hdv2-cah-fg);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hdv2-svc__filter:hover {
    background: var(--hdv2-cah-accent);
}

.hdv2-svc__filter.is-active {
    background: var(--hdv2-cah-fg);
    border-color: var(--hdv2-cah-fg);
    color: var(--hdv2-cah-bg);
}

.hdv2-svc__toolbar-types {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    padding-top: 0.7rem;
    margin-top: 0.15rem;
    border-top: 1px solid var(--hdv2-cah-border);
}

.hdv2-svc__type-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--hdv2-cah-muted);
    flex-shrink: 0;
}

.hdv2-svc__filters--types {
    flex: 1 1 auto;
}

.hdv2-svc__table-wrap {
    border: 1px solid var(--hdv2-cah-border);
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--hdv2-cah-card);
}

.hdv2-svc__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.hdv2-svc__table thead th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hdv2-cah-muted);
    border-bottom: 1px solid var(--hdv2-cah-border);
    background: var(--hdv2-cah-accent);
    white-space: nowrap;
}

.hdv2-svc__table tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--hdv2-cah-border);
    font-size: 0.87rem;
    color: var(--hdv2-cah-fg);
    vertical-align: middle;
}

.hdv2-svc__table tbody tr:last-child td {
    border-bottom: 0;
}

.hdv2-svc__row.is-hidden {
    display: none;
}

.hdv2-svc__table tbody tr:hover {
    background: var(--hdv2-cah-app-bg);
}

.hdv2-svc__cell-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    max-width: 100%;
}

.hdv2-svc__cell-link > .hdv2-cah-list__icon {
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.5rem;
}

.hdv2-svc__cell-link > .hdv2-cah-list__icon img {
    width: 1.25rem;
    height: 1.25rem;
}

.hdv2-svc__cell-link > .hdv2-cah-list__icon--cpanel img,
.hdv2-svc__cell-link > .hdv2-cah-list__icon--whm img,
.hdv2-svc__cell-link > .hdv2-cah-list__icon--plesk img,
.hdv2-svc__cell-link > .hdv2-cah-list__icon--ip img,
.hdv2-svc__cell-link > .hdv2-cah-list__icon--backup img {
    width: 1.95rem;
    height: 1.95rem;
}

.hdv2-svc__cell-link > .hdv2-cah-list__icon--ip {
    padding-left: 0.2rem;
    padding-right: 0.08rem;
}

.hdv2-svc__cell-link > .hdv2-cah-list__icon--ip img {
    object-position: 56% center;
}

.hdv2-svc__cell-link > .hdv2-cah-list__icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.hdv2-svc__cell-link > .hdv2-cah-list__icon--license svg {
    width: 1.26rem;
    height: 1.26rem;
}

.hdv2-svc__product-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hdv2-svc__product-name {
    font-weight: 600;
    color: var(--hdv2-cah-fg);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}

.hdv2-svc__product-domain {
    font-size: 0.78rem;
    color: var(--hdv2-cah-muted);
    margin-top: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}

.hdv2-svc__th-alias,
.hdv2-svc__td-alias {
    width: 11.5rem;
    max-width: 11.5rem;
}

.hdv2-svc__alias {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
}

.hdv2-svc__alias-value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    color: var(--hdv2-cah-fg);
}

.hdv2-svc__alias-empty {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--hdv2-cah-muted);
    font-style: italic;
    font-size: 0.83rem;
}

.hdv2-svc__alias-edit {
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid var(--hdv2-cah-border);
    border-radius: 0.4rem;
    background: var(--hdv2-cah-bg);
    color: var(--hdv2-cah-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.hdv2-svc__alias-edit:hover {
    background: var(--hdv2-cah-accent);
    color: hsl(217.2 91.2% 59.8%);
}

.hdv2-svc__alias-edit--disabled,
.hdv2-svc__alias-edit--disabled:hover {
    cursor: not-allowed;
    opacity: 0.5;
    background: var(--hdv2-cah-bg);
    color: var(--hdv2-cah-muted);
    border-color: var(--hdv2-cah-border);
}

.hdv2-svc__alias-edit svg {
    width: 0.85rem;
    height: 0.85rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hdv2-svc__alias.is-saved .hdv2-svc__alias-value,
.hdv2-svc__alias.is-saved .hdv2-svc__alias-empty {
    flex: 0 1 auto;
    width: fit-content;
    max-width: calc(100% - 2.1rem);
    border-radius: 0.4rem;
    padding: 0.1rem 0.4rem;
    animation: hdv2-svc-alias-saved 0.72s ease, hdv2-svc-alias-text-in 0.42s ease;
}

@keyframes hdv2-svc-alias-saved {
    0% {
        background: transparent;
    }

    40% {
        background: hsl(142 62% 92% / 0.95);
    }

    100% {
        background: transparent;
    }
}

@keyframes hdv2-svc-alias-text-in {
    0% {
        opacity: 0.35;
        transform: translateY(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

:root[data-hdv2-theme="dark"] .hdv2-svc__alias.is-saved .hdv2-svc__alias-value,
:root[data-hdv2-theme="dark"] .hdv2-svc__alias.is-saved .hdv2-svc__alias-empty {
    animation-name: hdv2-svc-alias-saved-dark, hdv2-svc-alias-text-in;
}

@keyframes hdv2-svc-alias-saved-dark {
    0% {
        background: transparent;
    }

    40% {
        background: hsl(142 35% 22% / 0.85);
    }

    100% {
        background: transparent;
    }
}

.hdv2-svc__ip {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.83rem;
    color: var(--hdv2-cah-fg);
}

.hdv2-svc__ip-empty {
    color: var(--hdv2-cah-muted);
}

.hdv2-svc__ip-extra {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.35rem;
    margin-left: 0.4rem;
    border-radius: 999px;
    background: var(--hdv2-cah-accent);
    color: var(--hdv2-cah-muted);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: help;
}

.hdv2-svc__status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.6rem 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.hdv2-svc__status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: currentColor;
    flex-shrink: 0;
}

.hdv2-svc__status--active {
    background: hsl(142 70% 95%);
    color: hsl(142 71% 38%);
    border-color: hsl(142 50% 80%);
}

.hdv2-svc__status--suspended {
    background: hsl(0 84% 96%);
    color: hsl(0 72% 51%);
    border-color: hsl(0 80% 88%);
}

.hdv2-svc__status--pending {
    background: hsl(43 96% 95%);
    color: hsl(32 95% 44%);
    border-color: hsl(43 90% 85%);
}

.hdv2-svc__status--terminated,
.hdv2-svc__status--cancelled {
    background: var(--hdv2-cah-accent);
    color: var(--hdv2-cah-muted);
    border-color: var(--hdv2-cah-border);
}

:root[data-hdv2-theme="dark"] .hdv2-svc__status--active {
    background: hsl(142 50% 16%);
    color: hsl(142 76% 70%);
    border-color: hsl(142 40% 25%);
}

:root[data-hdv2-theme="dark"] .hdv2-svc__status--suspended {
    background: hsl(0 60% 18%);
    color: hsl(0 84% 78%);
    border-color: hsl(0 60% 28%);
}

:root[data-hdv2-theme="dark"] .hdv2-svc__status--pending {
    background: hsl(35 60% 18%);
    color: hsl(43 96% 70%);
    border-color: hsl(35 60% 28%);
}

.hdv2-svc__renewal-date {
    font-weight: 500;
    color: var(--hdv2-cah-fg);
    font-size: 0.86rem;
}

.hdv2-svc__renewal-price {
    font-size: 0.76rem;
    color: var(--hdv2-cah-muted);
    margin-top: 0.15rem;
}

.hdv2-svc__th-actions,
.hdv2-svc__td-actions {
    text-align: right;
    white-space: nowrap;
}

.hdv2-svc__action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.85rem;
    border-radius: 0.5rem;
    border: 1px solid hsl(217.2 91.2% 59.8%);
    color: hsl(217.2 91.2% 59.8%);
    background: transparent;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}

.hdv2-svc__action:hover {
    background: hsl(217.2 91.2% 59.8%);
    color: #fff;
}

.hdv2-svc__action svg {
    width: 0.95rem;
    height: 0.95rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hdv2-svc__empty {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--hdv2-cah-muted);
}

.hdv2-svc__empty svg {
    width: 1.65rem;
    height: 1.65rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 0.65rem;
}

.hdv2-svc__empty p {
    margin: 0;
    font-size: 0.95rem;
}

.hdv2-svc__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.hdv2-svc__page-btn {
    min-width: 2.2rem;
    height: 2.2rem;
    padding: 0 0.5rem;
    border: 1px solid var(--hdv2-cah-border);
    border-radius: 0.5rem;
    background: var(--hdv2-cah-bg);
    color: var(--hdv2-cah-fg);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hdv2-svc__page-btn:hover:not(:disabled) {
    background: var(--hdv2-cah-accent);
    border-color: var(--hdv2-cah-fg);
}

.hdv2-svc__page-btn.is-active {
    background: var(--hdv2-cah-fg);
    border-color: var(--hdv2-cah-fg);
    color: var(--hdv2-cah-bg);
}

.hdv2-svc__page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.hdv2-svc__page-btn svg {
    width: 0.95rem;
    height: 0.95rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hdv2-svc__page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.hdv2-svc__page-info {
    font-size: 0.82rem;
    color: var(--hdv2-cah-muted);
    margin-inline: 0.5rem;
}

.hdv2-svc__page-size select {
    height: 2.2rem;
    padding: 0 0.6rem;
    border: 1px solid var(--hdv2-cah-border);
    border-radius: 0.5rem;
    background: var(--hdv2-cah-bg);
    color: var(--hdv2-cah-fg);
    font-size: 0.82rem;
    font-family: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.hdv2-svc-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.hdv2-svc-modal[hidden] {
    display: none;
}

.hdv2-svc-modal__backdrop {
    position: absolute;
    inset: 0;
    background: hsl(0 0% 0% / 0.45);
    opacity: 1;
    transition: opacity 0.22s ease;
}

.hdv2-svc-modal__panel {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: var(--hdv2-cah-card);
    border: 1px solid var(--hdv2-cah-border);
    border-radius: 0.85rem;
    box-shadow: 0 20px 50px hsl(0 0% 0% / 0.2);
    overflow: hidden;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.hdv2-svc-modal.is-closing .hdv2-svc-modal__backdrop {
    opacity: 0;
}

.hdv2-svc-modal.is-closing .hdv2-svc-modal__panel {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
}

.hdv2-svc-modal.is-opening .hdv2-svc-modal__backdrop {
    opacity: 0;
}

.hdv2-svc-modal.is-opening .hdv2-svc-modal__panel {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
}

.hdv2-svc-modal.is-opening.is-open .hdv2-svc-modal__backdrop {
    opacity: 1;
}

.hdv2-svc-modal.is-opening.is-open .hdv2-svc-modal__panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hdv2-svc-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--hdv2-cah-border);
}

.hdv2-svc-modal__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.hdv2-svc-modal__close {
    width: 1.85rem;
    height: 1.85rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--hdv2-cah-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hdv2-svc-modal__close:hover {
    background: var(--hdv2-cah-accent);
    color: var(--hdv2-cah-fg);
}

.hdv2-svc-modal__close svg {
    width: 1.05rem;
    height: 1.05rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hdv2-svc-modal__body {
    padding: 1.15rem 1.15rem 0.4rem;
}

.hdv2-svc-modal__label {
    display: block;
    margin: 0 0 0.45rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--hdv2-cah-fg);
}

.hdv2-svc-modal__input {
    width: 100%;
    height: 2.4rem;
    padding: 0 0.85rem;
    border: 1px solid var(--hdv2-cah-border);
    border-radius: 0.55rem;
    background: var(--hdv2-cah-bg);
    color: var(--hdv2-cah-fg);
    font-size: 0.9rem;
    font-family: inherit;
}

.hdv2-svc-modal__input:focus {
    outline: 0;
    border-color: hsl(217.2 91.2% 59.8%);
    box-shadow: 0 0 0 3px hsl(217 91% 60% / 0.12);
}

.hdv2-svc-modal__success {
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 0.55rem;
    background: hsl(142 70% 95%);
    color: hsl(142 71% 28%);
    font-size: 0.88rem;
}

.hdv2-svc-modal__error {
    margin: 0.65rem 0 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: hsl(0 72% 46%);
}

.hdv2-svc-modal__error[hidden] {
    display: none;
}

.hdv2-svc-modal__btn[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

.hdv2-svc-modal__foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.85rem 1.15rem 1.15rem;
}

.hdv2-svc-modal__btn {
    height: 2.3rem;
    padding: 0 1rem;
    border-radius: 0.55rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
}

.hdv2-svc-modal__btn--ghost {
    background: var(--hdv2-cah-bg);
    border-color: var(--hdv2-cah-border);
    color: var(--hdv2-cah-fg);
}

.hdv2-svc-modal__btn--ghost:hover {
    background: var(--hdv2-cah-accent);
}

.hdv2-svc-modal__btn--primary {
    background: hsl(217.2 91.2% 59.8%);
    border-color: hsl(217.2 91.2% 59.8%);
    color: #fff;
}

.hdv2-svc-modal__btn--primary:hover {
    background: hsl(217.2 91.2% 52%);
    border-color: hsl(217.2 91.2% 52%);
}

@media (max-width: 1024px) {
    .hdv2-svc__stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hdv2-svc {
        max-width: none;
    }

    .hdv2-svc__header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .hdv2-svc__title {
        font-size: 1.35rem;
    }

    .hdv2-svc__cta {
        width: 100%;
        justify-content: center;
    }

    .hdv2-svc__stats {
        grid-template-columns: 1fr;
    }

    .hdv2-svc__toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        padding: 0.75rem;
    }

    .hdv2-svc__search {
        flex: none;
        width: 100%;
        min-width: 0;
    }

    .hdv2-svc__filters {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.1rem;
        margin-left: 0;
        padding-left: 0;
    }

    .hdv2-svc__filters::-webkit-scrollbar {
        display: none;
    }

    .hdv2-svc__filter {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .hdv2-svc__toolbar-types {
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
        padding-top: 0.55rem;
        margin-top: 0;
    }

    .hdv2-svc__filters--types {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .hdv2-svc__filters--types::-webkit-scrollbar {
        display: none;
    }

    .hdv2-svc__table-wrap {
        border: 0;
        background: transparent;
        overflow: visible;
    }

    .hdv2-svc__table thead {
        display: none;
    }

    .hdv2-svc__table,
    .hdv2-svc__table tbody {
        display: block;
        width: 100%;
    }

    .hdv2-svc__table tbody tr {
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
        padding: 0.95rem;
        margin-bottom: 0.65rem;
        border: 1px solid var(--hdv2-cah-border);
        border-radius: 0.75rem;
        background: var(--hdv2-cah-card);
    }

    .hdv2-svc__table tbody tr:last-child {
        margin-bottom: 0;
    }

    .hdv2-svc__table tbody tr:hover {
        background: var(--hdv2-cah-card);
    }

    .hdv2-svc__table tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        width: 100%;
        padding: 0;
        border: 0;
    }

    .hdv2-svc__td-service {
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 0.65rem;
        margin-bottom: 0.1rem;
        border-bottom: 1px solid var(--hdv2-cah-border);
    }

    .hdv2-svc__table tbody td[data-label]:not([data-label=""])::before {
        content: attr(data-label);
        font-size: 0.72rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--hdv2-cah-muted);
        flex-shrink: 0;
        min-width: 5.25rem;
    }

    .hdv2-svc__table tbody td[data-label] > .hdv2-svc__alias,
    .hdv2-svc__table tbody td[data-label] > .hdv2-svc__cell-value,
    .hdv2-svc__table tbody td[data-label] > .hdv2-svc__status {
        margin-left: auto;
        text-align: right;
    }

    .hdv2-svc__cell-value {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.15rem;
        min-width: 0;
    }

    .hdv2-svc__cell-value .hdv2-svc__ip-extra {
        margin-left: 0;
    }

    .hdv2-svc__cell-link {
        width: 100%;
    }

    .hdv2-svc__product-name,
    .hdv2-svc__product-domain {
        max-width: none;
        white-space: normal;
        word-break: break-word;
    }

    .hdv2-svc__td-alias {
        width: auto;
        max-width: none;
    }

    .hdv2-svc__alias {
        justify-content: flex-end;
        flex: 1;
        min-width: 0;
    }

    .hdv2-svc__alias-value,
    .hdv2-svc__alias-empty {
        max-width: none;
    }

    .hdv2-svc__renewal-date,
    .hdv2-svc__renewal-price {
        text-align: right;
    }

    .hdv2-svc__th-actions,
    .hdv2-svc__td-actions {
        text-align: left;
        flex-direction: column;
        align-items: stretch;
        border-top: 1px solid var(--hdv2-cah-border);
        padding-top: 0.65rem;
        margin-top: 0.1rem;
    }

    .hdv2-svc__td-actions::before {
        display: none;
    }

    .hdv2-svc__action {
        width: 100%;
        justify-content: center;
        margin-top: 0;
    }

    .hdv2-svc__pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.35rem;
    }

    .hdv2-svc__page-numbers {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 0.15rem;
    }

    .hdv2-svc__page-info {
        order: 4;
        width: 100%;
        text-align: center;
        margin: 0.15rem 0 0;
    }

    .hdv2-svc__page-size {
        order: 5;
        width: 100%;
        margin-top: 0.15rem;
    }

    .hdv2-svc__page-size select {
        width: 100%;
    }

    .hdv2-svc-modal {
        padding: 0.75rem;
        align-items: flex-end;
    }

    .hdv2-svc-modal__panel {
        max-width: none;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

@media (max-width: 480px) {
    .hdv2-svc__stat {
        padding: 0.85rem 0.95rem;
    }

    .hdv2-svc__stat-value {
        font-size: 1.25rem;
    }

    .hdv2-svc__filter {
        height: 2rem;
        padding: 0 0.65rem;
        font-size: 0.78rem;
    }

    .hdv2-svc__table tbody tr {
        padding: 0.85rem;
    }

    .hdv2-svc__table tbody td[data-label]:not([data-label=""])::before {
        min-width: 4.5rem;
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hdv2-svc-modal__backdrop,
    .hdv2-svc-modal__panel {
        transition: none;
    }

    .hdv2-svc__alias.is-saved,
    .hdv2-svc__alias.is-saved .hdv2-svc__alias-value,
    .hdv2-svc__alias.is-saved .hdv2-svc__alias-empty {
        animation: none;
    }
}
