.huweiTXBSM-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }

/* Resource sub-views are exclusive: selecting products or orders must not
   leave the management list from the parent page above the selected view. */
main[data-huwei-txbsm-view="products"] .huweiTXBSM-panel { display: none !important; }
main[data-huwei-txbsm-view="products"] .huweiTXBSM-host-products-panel,
main[data-huwei-txbsm-view="products"] .huweiTXBSM-mail-products-panel,
main[data-huwei-txbsm-view="products"] #huweiTXBSM-cloud-products,
main[data-huwei-txbsm-view="products"] #huweiTXBSM-mssql-products { display: block !important; }
main[data-huwei-txbsm-view="orders"] .huweiTXBSM-panel { display: none !important; }
main[data-huwei-txbsm-view="orders"] #huweiTXBSM-business-orders { display: block !important; }

.huweiTXBSM-search input { min-width: 0; height: 46px; font-size: 15px; }
.huweiTXBSM-suffixes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.huweiTXBSM-suffix-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 12px; color: var(--huweiTXBSM-muted); font-size: 12px; }
.huweiTXBSM-link-button { border: 0; background: transparent; color: var(--huweiTXBSM-primary); padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.huweiTXBSM-suffix { border: 1px solid var(--huweiTXBSM-border); border-radius: 6px; background: var(--huweiTXBSM-surface); color: var(--huweiTXBSM-muted); padding: 6px 11px; font-size: 13px; cursor: pointer; }
.huweiTXBSM-suffix.is-active { border-color: var(--huweiTXBSM-primary); background: var(--huweiTXBSM-primary-soft); color: var(--huweiTXBSM-primary); }

.huweiTXBSM-list { display: grid; gap: 9px; }
.huweiTXBSM-domain-row { display: grid; grid-template-columns: minmax(180px, 1fr) auto auto; align-items: center; gap: 14px; border: 1px solid var(--huweiTXBSM-border); border-radius: 7px; padding: 14px 16px; }
.huweiTXBSM-domain-name { color: var(--huweiTXBSM-text-key); font-weight: 700; word-break: break-all; }
.huweiTXBSM-domain-meta { margin-top: 3px; color: var(--huweiTXBSM-muted); font-size: 12px; }
.huweiTXBSM-price { color: #d25225; font-size: 17px; font-weight: 700; white-space: nowrap; }
.huweiTXBSM-cart-row { display: grid; grid-template-columns: minmax(160px, 1fr) 110px auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--huweiTXBSM-border); padding: 11px 0; }
.huweiTXBSM-cart-row:last-child { border-bottom: 0; }

.huweiTXBSM-template-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.huweiTXBSM-template-card,
.huweiTXBSM-order { border: 1px solid var(--huweiTXBSM-border); border-radius: 7px; background: var(--huweiTXBSM-surface); padding: 16px; }
.huweiTXBSM-template-card h3,
.huweiTXBSM-order h3 { margin: 0; color: var(--huweiTXBSM-text-key); font-size: 15px; }
.huweiTXBSM-template-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; color: var(--huweiTXBSM-muted); font-size: 12px; }
.huweiTXBSM-template-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.huweiTXBSM-certificate-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--huweiTXBSM-border); border-radius: 6px; background: var(--huweiTXBSM-surface-softer); padding: 11px; }
.huweiTXBSM-certificate-action span,
.huweiTXBSM-certificate-action small { display: block; }
.huweiTXBSM-certificate-action strong { color: var(--huweiTXBSM-text-key); font-size: 13px; }
.huweiTXBSM-certificate-action small { margin-top: 3px; color: var(--huweiTXBSM-muted); font-size: 11px; line-height: 1.45; }

.huweiTXBSM-secret-row,
.huweiTXBSM-preset-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.huweiTXBSM-preset-preview { padding-top: 14px; }
.huweiTXBSM-preset-table { min-width: 620px; }
.huweiTXBSM-order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.huweiTXBSM-order-summary { color: var(--huweiTXBSM-muted); font-size: 12px; line-height: 1.7; }
.huweiTXBSM-order-items { margin-top: 12px; border-top: 1px solid var(--huweiTXBSM-border); }
.huweiTXBSM-order-item { display: grid; grid-template-columns: minmax(150px, 1fr) 80px 90px; align-items: center; gap: 10px; border-bottom: 1px solid var(--huweiTXBSM-border); padding: 10px 0; font-size: 13px; }
.huweiTXBSM-order-item:last-child { border-bottom: 0; }
.huweiTXBSM-payment-box { margin-top: 16px; border-top: 1px solid var(--huweiTXBSM-border); padding-top: 16px; }
.huweiTXBSM-payment-total { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.huweiTXBSM-payment-total strong { color: #d25225; font-size: 22px; }
.huweiTXBSM-test-notice { border-left: 3px solid var(--huweiTXBSM-warning); margin-bottom: 14px; background: rgba(173, 104, 0, .07); color: var(--huweiTXBSM-warning); padding: 9px 12px; font-size: 12px; }

/* Three-product console */
.huweiTXBSM-overview-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; border: 1px solid var(--huweiTXBSM-border); border-radius: 7px; background: linear-gradient(110deg, var(--huweiTXBSM-primary-soft), var(--huweiTXBSM-surface)); padding: 26px 28px; }
.huweiTXBSM-overview-eyebrow { color: var(--huweiTXBSM-primary); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.huweiTXBSM-overview-hero h2 { margin: 7px 0 5px; color: var(--huweiTXBSM-text-key); font-size: 24px; }
.huweiTXBSM-overview-hero p { margin: 0; color: var(--huweiTXBSM-muted); font-size: 13px; }
.huweiTXBSM-overview-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.huweiTXBSM-overview-stat { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 12px; border: 1px solid var(--huweiTXBSM-border); border-radius: 7px; background: var(--huweiTXBSM-surface); color: var(--huweiTXBSM-text); padding: 16px; text-decoration: none; }
.huweiTXBSM-overview-stat:hover { border-color: var(--huweiTXBSM-primary); box-shadow: 0 6px 18px rgba(20, 40, 80, .08); }
.huweiTXBSM-overview-stat > .dashicons:first-child { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; color: #fff; font-size: 21px; }
.huweiTXBSM-overview-stat.is-domain > .dashicons:first-child { background: #1769e0; }
.huweiTXBSM-overview-stat.is-host > .dashicons:first-child { background: #16855b; }
.huweiTXBSM-overview-stat.is-mail > .dashicons:first-child { background: #b05c10; }
.huweiTXBSM-overview-stat small, .huweiTXBSM-overview-stat strong, .huweiTXBSM-overview-stat em { display: block; }
.huweiTXBSM-overview-stat small { color: var(--huweiTXBSM-muted); font-size: 12px; }
.huweiTXBSM-overview-stat strong { margin-top: 2px; color: var(--huweiTXBSM-text-key); font-size: 25px; line-height: 1.15; }
.huweiTXBSM-overview-stat em { margin-top: 3px; color: var(--huweiTXBSM-muted); font-size: 11px; font-style: normal; }
.huweiTXBSM-overview-stat > .dashicons:last-child { color: var(--huweiTXBSM-muted); }
.huweiTXBSM-overview-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 16px; margin-top: 16px; }
.huweiTXBSM-overview-attention { display: grid; gap: 8px; }
.huweiTXBSM-overview-attention a, .huweiTXBSM-overview-expiring-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--huweiTXBSM-border); padding: 10px 0; color: var(--huweiTXBSM-text); text-decoration: none; }
.huweiTXBSM-overview-attention a:last-child, .huweiTXBSM-overview-expiring-list a:last-child { border-bottom: 0; }
.huweiTXBSM-overview-attention strong, .huweiTXBSM-overview-expiring-list strong { color: var(--huweiTXBSM-text-key); font-size: 13px; overflow-wrap: anywhere; }
.huweiTXBSM-overview-attention small, .huweiTXBSM-overview-expiring-list small { color: var(--huweiTXBSM-muted); font-size: 11px; }
.huweiTXBSM-overview-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.huweiTXBSM-overview-actions a { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 9px; border: 1px solid var(--huweiTXBSM-border); border-radius: 6px; padding: 11px; color: var(--huweiTXBSM-text); text-decoration: none; }
.huweiTXBSM-overview-actions a:hover { border-color: var(--huweiTXBSM-primary); background: var(--huweiTXBSM-primary-soft); }
.huweiTXBSM-overview-actions .dashicons { color: var(--huweiTXBSM-primary); }
.huweiTXBSM-overview-actions strong, .huweiTXBSM-overview-actions small { display: block; }
.huweiTXBSM-overview-actions strong { color: var(--huweiTXBSM-text-key); font-size: 12px; }
.huweiTXBSM-overview-actions small { margin-top: 3px; color: var(--huweiTXBSM-muted); font-size: 11px; line-height: 1.45; }
.huweiTXBSM-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.huweiTXBSM-product-grid article { border: 1px solid var(--huweiTXBSM-border); border-radius: 7px; background: var(--huweiTXBSM-surface-softer); padding: 15px; }
.huweiTXBSM-product-grid article > .dashicons { color: var(--huweiTXBSM-primary); font-size: 22px; }
.huweiTXBSM-product-grid h3 { margin: 9px 0 5px; color: var(--huweiTXBSM-text-key); font-size: 15px; }
.huweiTXBSM-product-grid p { margin: 0; color: var(--huweiTXBSM-muted); font-size: 12px; line-height: 1.6; }
.huweiTXBSM-product-grid-live { align-items: stretch; }
.huweiTXBSM-product-card { display: flex; flex-direction: column; min-height: 205px; }
.huweiTXBSM-product-card-head, .huweiTXBSM-product-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.huweiTXBSM-product-card h3 { font-size: 18px; margin-top: 14px; }
.huweiTXBSM-product-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; color: var(--huweiTXBSM-muted); font-size: 12px; }
.huweiTXBSM-product-specs span { padding: 4px 7px; border: 1px solid var(--huweiTXBSM-border); border-radius: 4px; background: var(--huweiTXBSM-surface); }
.huweiTXBSM-product-price { margin-top: auto; padding: 11px 0; color: var(--huweiTXBSM-primary); }
.huweiTXBSM-product-price strong { font-size: 24px; }
.huweiTXBSM-product-price small { margin-left: 4px; color: var(--huweiTXBSM-muted); }
.huweiTXBSM-resource-quote-form { display: grid; gap: 10px; }
.huweiTXBSM-resource-quote-form .huweiTXBSM-label { margin: 0; }
.huweiTXBSM-resource-quote-form .huweiTXBSM-input { margin-top: 5px; }
.huweiTXBSM-resource-quote-form .huweiTXBSM-help { margin: 0 0 4px; }
.huweiTXBSM-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.huweiTXBSM-detail-grid > div { border-bottom: 1px solid var(--huweiTXBSM-border); padding-bottom: 10px; }
.huweiTXBSM-detail-grid small, .huweiTXBSM-detail-grid strong { display: block; }
.huweiTXBSM-detail-grid small { color: var(--huweiTXBSM-muted); font-size: 11px; }
.huweiTXBSM-detail-grid strong { margin-top: 4px; color: var(--huweiTXBSM-text-key); font-size: 13px; overflow-wrap: anywhere; }
.huweiTXBSM-detail-section + .huweiTXBSM-detail-section { margin-top: 20px; }
.huweiTXBSM-detail-section h4 { margin: 0 0 10px; border-bottom: 1px solid var(--huweiTXBSM-border); padding-bottom: 7px; color: var(--huweiTXBSM-text-key); font-size: 14px; }
.huweiTXBSM-host-products-panel, .huweiTXBSM-mail-products-panel { margin-top: 16px; }
.huweiTXBSM-inline-form { display: flex; flex-wrap: wrap; align-items: end; gap: 9px; margin: 12px 0; }
.huweiTXBSM-inline-form .huweiTXBSM-label { width: 100%; margin: 0; }
.huweiTXBSM-inline-form .huweiTXBSM-input { flex: 1 1 240px; min-width: 0; }
.huweiTXBSM-filing-notice { display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #b9d6ef; border-radius: 7px; background: #f2f8fd; padding: 17px 20px; }
.huweiTXBSM-filing-notice > div { display: flex; min-width: 0; align-items: flex-start; gap: 12px; }
.huweiTXBSM-filing-notice > div > .dashicons { flex: 0 0 auto; color: #1769e0; font-size: 23px; }
.huweiTXBSM-filing-notice strong, .huweiTXBSM-filing-notice p { display: block; }
.huweiTXBSM-filing-notice strong { color: var(--huweiTXBSM-text-key); font-size: 14px; }
.huweiTXBSM-filing-notice p { margin: 4px 0 0; color: var(--huweiTXBSM-muted); font-size: 12px; line-height: 1.6; }
.huweiTXBSM-filing-notice .huweiTXBSM-btn { flex: 0 0 auto; }
.huweiTXBSM-filing-result { margin-top: 16px; border-top: 1px solid var(--huweiTXBSM-border); }
.huweiTXBSM-filing-result:empty { display: none; }
.huweiTXBSM-filing-result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 10px; }
.huweiTXBSM-filing-result-head strong, .huweiTXBSM-filing-result-head small { display: block; }
.huweiTXBSM-filing-result-head strong { color: var(--huweiTXBSM-text-key); font-size: 14px; }
.huweiTXBSM-filing-result-head small { margin-top: 3px; color: var(--huweiTXBSM-muted); font-size: 11px; }
.huweiTXBSM-filing-code-list { display: grid; gap: 8px; }
.huweiTXBSM-filing-code { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; border: 1px solid var(--huweiTXBSM-border); border-radius: 6px; background: var(--huweiTXBSM-surface-softer); padding: 9px 11px; }
.huweiTXBSM-filing-code code { min-width: 0; color: var(--huweiTXBSM-text-key); font-size: 13px; overflow-wrap: anywhere; }
.huweiTXBSM-filing-result-empty { display: flex; align-items: center; gap: 12px; padding: 16px 0 2px; color: var(--huweiTXBSM-muted); font-size: 12px; }
.huweiTXBSM-filing-result-empty strong { color: var(--huweiTXBSM-text-key); }
.huweiTXBSM-filing-result-empty span { flex: 1 1 auto; }
.huweiTXBSM-filing-boundary { color: var(--huweiTXBSM-muted); }
.huweiTXBSM-filing-boundary h2 { margin: 0 0 6px; color: var(--huweiTXBSM-text-key); font-size: 15px; }
.huweiTXBSM-filing-boundary p { margin: 0; font-size: 12px; line-height: 1.7; }

@media (max-width: 760px) {
    .huweiTXBSM-search { grid-template-columns: minmax(0, 1fr); }
    .huweiTXBSM-template-list { grid-template-columns: minmax(0, 1fr); }
    .huweiTXBSM-overview-hero { align-items: flex-start; flex-direction: column; padding: 20px; }
    .huweiTXBSM-overview-stat-grid, .huweiTXBSM-overview-grid { grid-template-columns: minmax(0, 1fr); }
    .huweiTXBSM-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .huweiTXBSM-domain-row { grid-template-columns: minmax(0, 1fr) auto; }
    .huweiTXBSM-domain-row .huweiTXBSM-domain-actions { grid-column: 1 / -1; }
    .huweiTXBSM-cart-row { grid-template-columns: minmax(0, 1fr) 100px auto; }
    .huweiTXBSM-order-item { grid-template-columns: minmax(0, 1fr) 70px; }
    .huweiTXBSM-order-item > :last-child { grid-column: 1 / -1; }
    .huweiTXBSM-certificate-action { align-items: flex-start; flex-direction: column; }
    .huweiTXBSM-secret-row,
    .huweiTXBSM-preset-controls { grid-template-columns: minmax(0, 1fr); }
    .huweiTXBSM-filing-notice { align-items: flex-start; flex-direction: column; }
    .huweiTXBSM-filing-notice .huweiTXBSM-btn { width: 100%; justify-content: center; }
    .huweiTXBSM-filing-result-empty { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 440px) {
    .huweiTXBSM-cart-row { grid-template-columns: minmax(0, 1fr) 92px; }
    .huweiTXBSM-overview-stat-grid, .huweiTXBSM-overview-actions, .huweiTXBSM-product-grid, .huweiTXBSM-detail-grid { grid-template-columns: minmax(0, 1fr); }
    .huweiTXBSM-cart-row > :last-child { grid-column: 1 / -1; justify-self: start; }
    .huweiTXBSM-filing-code { grid-template-columns: minmax(0, 1fr) auto; }
    .huweiTXBSM-filing-code .huweiTXBSM-btn { grid-column: 1 / -1; justify-self: start; }
}

/* DNS management */
.huweiTXBSM-dns-panel-head { margin-bottom: 12px; }
.huweiTXBSM-dns-domain-tools { flex-wrap: nowrap; }
.huweiTXBSM-dns-domain-tools .huweiTXBSM-select { width: min(300px, 42vw); }
.huweiTXBSM-dns-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--huweiTXBSM-border); border-bottom: 1px solid var(--huweiTXBSM-border); margin: 0 -22px 14px; padding: 10px 22px; }
.huweiTXBSM-dns-toolbar .huweiTXBSM-btn .dashicons { width: 18px; height: 18px; margin-right: 6px; font-size: 18px; }
.huweiTXBSM-dns-toolbar .huweiTXBSM-domain-meta { margin-top: 0; text-align: right; }
.huweiTXBSM-action-menu { position: relative; }
.huweiTXBSM-action-menu-list { position: absolute; z-index: 30; top: calc(100% + 7px); left: 0; width: 300px; border: 1px solid var(--huweiTXBSM-border); border-radius: 7px; background: var(--huweiTXBSM-surface); box-shadow: 0 14px 34px rgba(16, 27, 45, .16); padding: 6px; }
.huweiTXBSM-action-menu-list::before { position: absolute; top: -6px; left: 15px; width: 10px; height: 10px; border-top: 1px solid var(--huweiTXBSM-border); border-left: 1px solid var(--huweiTXBSM-border); background: var(--huweiTXBSM-surface); content: ''; transform: rotate(45deg); }
.huweiTXBSM-action-menu-list button { position: relative; display: grid; width: 100%; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 9px; border: 0; border-radius: 5px; background: transparent; color: var(--huweiTXBSM-text); padding: 10px; text-align: left; cursor: pointer; }
.huweiTXBSM-action-menu-list button:hover { background: var(--huweiTXBSM-surface-soft); }
.huweiTXBSM-action-menu-list .dashicons { color: var(--huweiTXBSM-primary); }
.huweiTXBSM-action-menu-list strong,
.huweiTXBSM-action-menu-list small { display: block; letter-spacing: 0; }
.huweiTXBSM-action-menu-list strong { color: var(--huweiTXBSM-text-key); font-size: 13px; }
.huweiTXBSM-action-menu-list small { margin-top: 3px; color: var(--huweiTXBSM-muted); font-size: 11px; line-height: 1.45; }

.huweiTXBSM-drawer { position: fixed; z-index: 100006; inset: 0; display: none; justify-content: flex-end; }
.huweiTXBSM-drawer.is-open { display: flex; }
.huweiTXBSM-drawer-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(9, 16, 28, .58); padding: 0; cursor: default; }
.huweiTXBSM-drawer-dialog { position: relative; display: flex; width: min(680px, 100%); height: 100%; flex-direction: column; overflow: hidden; border-left: 1px solid var(--huweiTXBSM-border); background: var(--huweiTXBSM-surface); box-shadow: -16px 0 36px rgba(16, 27, 45, .18); }
.huweiTXBSM-drawer-head { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 14px; min-height: 70px; border-bottom: 1px solid var(--huweiTXBSM-border); padding: 14px 24px; }
.huweiTXBSM-drawer-head h3 { margin: 0; color: var(--huweiTXBSM-text-key); font-size: 18px; }
.huweiTXBSM-dns-form { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; overflow-y: auto; padding: 22px 24px 92px; }
.huweiTXBSM-field + .huweiTXBSM-field { margin-top: 18px; }
.huweiTXBSM-input-suffix { display: flex; min-width: 0; align-items: stretch; }
.huweiTXBSM-input-suffix .huweiTXBSM-input { border-radius: 6px 0 0 6px; }
.huweiTXBSM-input-suffix span { display: flex; max-width: 46%; align-items: center; overflow: hidden; border: 1px solid var(--huweiTXBSM-border); border-left: 0; border-radius: 0 6px 6px 0; background: var(--huweiTXBSM-surface-soft); color: var(--huweiTXBSM-muted); padding: 8px 11px; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.huweiTXBSM-drawer-actions { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; border-top: 1px solid var(--huweiTXBSM-border); background: var(--huweiTXBSM-surface); padding: 14px 24px; }

.huweiTXBSM-dns-modal .huweiTXBSM-modal-dialog { width: min(820px, 100%); }
.huweiTXBSM-dns-modal .huweiTXBSM-actions { position: sticky; z-index: 3; bottom: -22px; border-top: 1px solid var(--huweiTXBSM-border); margin: 18px -22px -22px; background: var(--huweiTXBSM-surface); padding: 14px 22px; }
.huweiTXBSM-dns-intro { margin: -4px 0 18px; color: var(--huweiTXBSM-muted); font-size: 13px; line-height: 1.7; }
.huweiTXBSM-provider-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.huweiTXBSM-provider-option { position: relative; min-width: 0; }
.huweiTXBSM-app .huweiTXBSM-provider-option > input[type="radio"] { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; border: 0 !important; margin: -1px !important; padding: 0 !important; opacity: 0 !important; appearance: none !important; -webkit-appearance: none !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; pointer-events: none !important; white-space: nowrap !important; }
.huweiTXBSM-provider-option > span { display: grid; min-height: 66px; grid-template-columns: 38px minmax(0, 1fr) 18px; align-items: center; gap: 11px; border: 1px solid var(--huweiTXBSM-border); border-radius: 7px; background: var(--huweiTXBSM-surface); padding: 11px 13px; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.huweiTXBSM-provider-option > span::after { content: ''; box-sizing: border-box; width: 17px; height: 17px; border: 1px solid var(--huweiTXBSM-muted); border-radius: 50%; background: var(--huweiTXBSM-surface); }
.huweiTXBSM-provider-option:hover > span { border-color: var(--huweiTXBSM-primary); box-shadow: 0 4px 12px rgba(16, 27, 45, .07); transform: translateY(-1px); }
.huweiTXBSM-provider-option > input:checked + span { border-color: var(--huweiTXBSM-primary); background: var(--huweiTXBSM-primary-soft); box-shadow: 0 0 0 1px var(--huweiTXBSM-primary); }
.huweiTXBSM-provider-option > input:checked + span::after { border: 5px solid var(--huweiTXBSM-primary); }
.huweiTXBSM-provider-option > input:focus-visible + span { outline: 0; box-shadow: 0 0 0 3px rgba(23, 105, 224, .16); }
.huweiTXBSM-provider-mark { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; overflow: hidden; border-radius: 7px; background: #1769e0; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; line-height: 1; white-space: nowrap; }
.huweiTXBSM-provider-option:nth-child(2) .huweiTXBSM-provider-mark { background: #e34a32; }
.huweiTXBSM-provider-option:nth-child(3) .huweiTXBSM-provider-mark { background: #1677d2; }
.huweiTXBSM-provider-option:nth-child(4) .huweiTXBSM-provider-mark,
.huweiTXBSM-provider-option:nth-child(5) .huweiTXBSM-provider-mark { background: #d94739; }
.huweiTXBSM-provider-option:nth-child(6) .huweiTXBSM-provider-mark { background: #1494c8; }
.huweiTXBSM-provider-option:nth-child(7) .huweiTXBSM-provider-mark { background: #c9363c; }
.huweiTXBSM-provider-option strong { min-width: 0; color: var(--huweiTXBSM-text-key); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.huweiTXBSM-preset-preview { margin-top: 16px; }
.huweiTXBSM-preset-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; border: 1px solid var(--huweiTXBSM-border); border-bottom: 0; background: var(--huweiTXBSM-surface-softer); padding: 11px 12px; }
.huweiTXBSM-preset-summary strong,
.huweiTXBSM-preset-summary small { display: block; }
.huweiTXBSM-preset-summary small { margin-top: 3px; color: var(--huweiTXBSM-muted); font-size: 11px; line-height: 1.5; }
.huweiTXBSM-preset-table { min-width: 620px; }

.huweiTXBSM-choice-group { min-width: 0; border: 0; margin: 0 0 22px; padding: 0; }
.huweiTXBSM-choice-group legend { width: 100%; margin: 0 0 10px; color: var(--huweiTXBSM-text-key); font-size: 13px; font-weight: 700; }
.huweiTXBSM-choice-row,
.huweiTXBSM-site-host { display: flex; min-width: 0; align-items: flex-start; gap: 10px; border-radius: 5px; padding: 8px 6px; cursor: pointer; }
.huweiTXBSM-choice-row:hover,
.huweiTXBSM-site-host:hover { background: var(--huweiTXBSM-surface-soft); }
.huweiTXBSM-choice-row input,
.huweiTXBSM-site-host > input { flex: 0 0 auto; margin: 3px 0 0; accent-color: var(--huweiTXBSM-primary); }
.huweiTXBSM-choice-row span,
.huweiTXBSM-site-host span { min-width: 0; }
.huweiTXBSM-choice-row strong,
.huweiTXBSM-choice-row small,
.huweiTXBSM-site-host strong,
.huweiTXBSM-site-host small { display: block; }
.huweiTXBSM-choice-row strong,
.huweiTXBSM-site-host strong { color: var(--huweiTXBSM-text-key); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.huweiTXBSM-choice-row small,
.huweiTXBSM-site-host small { margin-top: 2px; color: var(--huweiTXBSM-muted); font-size: 11px; line-height: 1.5; }
.huweiTXBSM-site-host-custom { align-items: flex-start; }
.huweiTXBSM-custom-host-input { display: grid; width: 100%; grid-template-columns: minmax(110px, 200px) minmax(0, 1fr); align-items: center; }
.huweiTXBSM-custom-host-input .huweiTXBSM-input { border-radius: 6px 0 0 6px; }
.huweiTXBSM-custom-host-input b { align-self: stretch; display: flex; min-width: 0; align-items: center; overflow: hidden; border: 1px solid var(--huweiTXBSM-border); border-left: 0; border-radius: 0 6px 6px 0; background: var(--huweiTXBSM-surface-soft); color: var(--huweiTXBSM-muted); padding: 8px 10px; font-size: 12px; font-weight: 400; white-space: nowrap; text-overflow: ellipsis; }
.huweiTXBSM-custom-host-input small { grid-column: 1 / -1; }
.huweiTXBSM-textarea-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 5px; color: var(--huweiTXBSM-muted); font-size: 11px; line-height: 1.5; }
.huweiTXBSM-textarea-meta span:last-child { flex: 0 0 auto; white-space: nowrap; }

@media (max-width: 760px) {
    .huweiTXBSM-dns-toolbar { align-items: flex-start; flex-direction: column; margin-right: -16px; margin-left: -16px; padding-right: 16px; padding-left: 16px; }
    .huweiTXBSM-dns-toolbar .huweiTXBSM-domain-meta { text-align: left; }
    .huweiTXBSM-dns-domain-tools { width: 100%; }
    .huweiTXBSM-dns-domain-tools .huweiTXBSM-select { width: 100%; }
    .huweiTXBSM-drawer-dialog { width: min(620px, 100%); }
    .huweiTXBSM-provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .huweiTXBSM-action-menu-list { width: min(300px, calc(100vw - 42px)); }
    .huweiTXBSM-drawer-head { min-height: 60px; padding: 10px 16px; }
    .huweiTXBSM-dns-form { padding: 16px 16px 146px; }
    .huweiTXBSM-drawer-actions { padding: 12px 16px; }
    .huweiTXBSM-drawer-actions .huweiTXBSM-btn { flex: 1 1 calc(50% - 5px); }
    .huweiTXBSM-drawer-actions .huweiTXBSM-btn:last-child { flex-basis: 100%; }
    .huweiTXBSM-provider-grid { grid-template-columns: minmax(0, 1fr); }
    .huweiTXBSM-provider-option > span { min-height: 58px; grid-template-columns: 34px minmax(0, 1fr) 18px; padding: 10px 12px; }
    .huweiTXBSM-provider-mark { width: 34px; height: 34px; }
    .huweiTXBSM-custom-host-input { grid-template-columns: minmax(90px, 42%) minmax(0, 1fr); }
    .huweiTXBSM-dns-modal .huweiTXBSM-actions { bottom: -16px; margin-right: -16px; margin-bottom: -16px; margin-left: -16px; padding-right: 16px; padding-left: 16px; }
}
