.site-domains-workspace{min-width:0;color:var(--admin-ink,#263244)}
.site-domains-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 15px}
.site-domains-heading h2{margin:0 0 5px;font-size:20px;line-height:1.4;font-weight:600;color:var(--admin-ink,#263244)}
.site-domains-heading p{margin:0;font-size:13px;line-height:1.65;color:var(--admin-muted,#536175)}
.site-domains-heading>button{flex:none}
.site-domains-workspace .site-domain-panel{padding:0 18px 14px;border-radius:12px;margin:0;overflow:hidden}
.site-domain-tabs{display:flex;align-items:center;gap:24px;min-height:55px;border-bottom:1px solid var(--admin-border,#d2dbe6);overflow-x:auto}
.site-domain-tabs .site-domain-tab{position:relative;flex:none;min-height:55px;padding:15px 4px;border:0;border-radius:0;background:transparent;color:var(--admin-muted,#536175);font-size:14px;font-weight:500;white-space:nowrap}
.site-domain-tabs .site-domain-tab[aria-selected=true]{color:var(--admin-accent,#7e35b2);font-weight:600;background:transparent}
.site-domain-tabs .site-domain-tab[aria-selected=true]::after{content:"";position:absolute;bottom:0;left:4px;right:4px;height:2px;border-radius:2px;background:var(--admin-accent,#7e35b2)}
.site-domain-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 18px;padding:17px 0 15px}
.site-domain-filters>label{display:flex;align-items:center;gap:9px;margin:0;font-size:13px;color:var(--admin-muted,#536175)}
.site-domain-filters input,.site-domain-filters select{width:210px;min-height:37px;padding:7px 11px;border:1px solid #bfcbd9;border-radius:7px;background:#fff;color:var(--admin-ink,#263244);font-size:13px;line-height:1.5}
.site-domain-filters select{width:165px}
.site-domain-filter-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;flex:1}
.site-domain-filter-actions button,.site-domains-heading>button{min-height:37px;padding:8px 16px;border-radius:7px;font-size:13px;line-height:1.5}
.site-domain-filter-actions button:nth-last-child(2){margin-left:auto}
.site-domains-workspace .site-domain-notice,.site-domain-dialog .site-domain-notice{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 12px;margin:0 0 10px;padding:10px 12px;border:1px solid #d7e1ee;border-radius:7px;background:#f3f6fb;color:#4b607e;font-size:12px;line-height:1.7}
.site-domain-notice strong{font-weight:600;color:#334c70}
.site-domain-feedback{min-height:19px;margin:7px 0 10px;color:var(--admin-muted,#536175);font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.site-domain-feedback.is-error,.site-domain-dialog-feedback.is-error{color:var(--admin-danger,#b42318)}
.site-domain-table-wrap{width:100%;overflow:auto;border:1px solid var(--admin-border,#d2dbe6);border-radius:7px;scrollbar-width:thin}
.site-domain-table{width:100%;min-width:1210px;border-collapse:collapse;font-size:13px;line-height:1.6;text-align:left;white-space:normal;color:var(--admin-text,#3e4c60)}
.site-domain-table :is(th,td){padding:13px 12px;border-right:1px solid var(--admin-rule,#e0e6ee);border-bottom:1px solid var(--admin-rule,#e0e6ee);text-align:left;vertical-align:middle;letter-spacing:0}
.site-domain-table th{padding-block:12px;background:#f3f6fa;color:#384960;font-weight:600;white-space:nowrap}
.site-domain-table tbody tr:nth-child(even){background:#f9fafc}
.site-domain-table tbody tr:hover{background:#f5f7fb}
.site-domain-table :is(th,td):last-child{border-right:0}
.site-domain-table tbody tr:last-child td{border-bottom:0}
.site-domain-table :is(th,td):nth-child(1){width:120px}
.site-domain-table :is(th,td):nth-child(2){min-width:165px;max-width:340px}
.site-domain-table :is(th,td):nth-child(3){min-width:155px;max-width:290px}
.site-domain-table :is(th,td):nth-child(4){min-width:112px}
.site-domain-table :is(th,td):nth-child(5){min-width:125px;max-width:215px}
.site-domain-table :is(th,td):nth-child(6){min-width:225px}
.site-domain-table :is(th,td):nth-child(7){min-width:110px;font-variant-numeric:tabular-nums;font-size:12px}
.site-domain-table :is(th,td):nth-child(8){min-width:90px;max-width:155px;overflow-wrap:anywhere}
.site-domain-nameserver{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}
.site-domain-nameserver+.site-domain-nameserver{margin-top:5px}
.site-domain-nameserver-group:not(:first-child){margin-top:8px;padding-top:8px;border-top:1px solid var(--admin-rule,#e0e6ee)}
.site-domain-table small{display:block;margin-top:4px;color:var(--admin-hint,#64748b);font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.site-domain-table .site-domain-nameserver-label{margin:0 0 4px;font-weight:600}
.site-domain-table :is(.site-domain-row-note,.site-domain-check-note){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:3.2em;overflow:hidden}
.site-domain-provider{font-size:13px;font-weight:600}
.site-domain-host-line{display:flex;align-items:center;gap:9px}
.site-domain-host{font-weight:600;color:#315ea8;font-size:13px;overflow-wrap:anywhere;word-break:break-word}
.site-domain-selectable{user-select:text;overflow-wrap:anywhere;word-break:break-word}
.site-domains-workspace .site-domain-copy{flex:none;padding:3px 6px;min-height:28px;border:1px solid #d8e1ee;border-radius:5px;background:#f7f9fc;color:#42648d;font-size:11px}
.site-domain-record-type{display:inline-block;padding:1px 6px;margin-bottom:4px;border:1px solid #d6e0ec;border-radius:4px;background:#f1f5fa;color:#526b8b;font-size:10px;font-weight:600;line-height:1.5}
.site-domain-target{display:block;font-size:12px;color:var(--admin-ink,#263244)}
.site-domain-badge{display:inline-flex;align-items:center;gap:6px;padding:3px 8px;border:1px solid transparent;border-radius:5px;font-size:11px;line-height:1.5;white-space:nowrap;color:#566375;background:#edf1f5}
.site-domain-badge.is-success{color:#176442;background:#eaf5ee;border-color:#c9e6d4}
.site-domain-badge.is-info{color:#315ea8;background:#edf3fd;border-color:#cbdaee}
.site-domain-badge.is-warning{color:#85580d;background:#fff5dc;border-color:#edd8a8}
.site-domain-badge.is-danger{color:#ab3028;background:#fff0ef;border-color:#efcac7}
.site-domains-workspace .site-domain-dns-button{display:inline-flex;flex-direction:row-reverse;align-items:center;gap:6px;min-height:31px;padding:3px 0;background:transparent;color:#566375;font-size:12px;white-space:nowrap}
.site-domains-workspace .site-domain-dns-button.is-success{color:#176442}
.site-domains-workspace .site-domain-dns-button.is-info{color:#315ea8}
.site-domains-workspace .site-domain-dns-button.is-warning{color:#85580d}
.site-domains-workspace .site-domain-dns-button.is-danger{color:#ab3028}
.site-domain-status-dot{width:6px;height:6px;flex:none;border-radius:50%;background:currentColor}
.site-domain-actions{min-width:180px}
.site-domain-table thead th:last-child{position:sticky;right:0;z-index:2;background:#f3f6fa;box-shadow:-5px 0 8px #2632440b}
.site-domain-table td.site-domain-actions{position:sticky;right:0;z-index:1;background:#fff;box-shadow:-5px 0 8px #2632440b}
.site-domain-table tbody tr:nth-child(even) .site-domain-actions{background:#f9fafc}
.site-domain-table tbody tr:hover .site-domain-actions{background:#f5f7fb}
.site-domains-workspace .site-domain-action,.site-domain-dialog .site-domain-action{min-height:30px;margin:2px 8px 2px 0;padding:3px 0;border:0;background:transparent;color:var(--admin-blue,#315ea8);font-size:12px;font-weight:500;line-height:1.6;white-space:nowrap}
.site-domains-workspace .site-domain-action.is-danger{color:#b7463e}
.site-domain-action:hover,.site-domain-copy:hover,.site-domain-dns-button:hover{text-decoration:underline;text-underline-offset:3px}
.site-domain-table .site-domain-empty{height:160px;text-align:center;color:var(--admin-muted,#536175);font-size:13px}
.site-domain-table-foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:12px;color:var(--admin-hint,#64748b);font-size:12px;line-height:1.6}

.site-domains-workspace button:disabled,.site-domain-dialog button:disabled{cursor:wait;opacity:.6;box-shadow:none}
.site-domains-workspace :is(button,input,select):focus-visible,.site-domain-dialog :is(button,input,select,textarea):focus-visible{outline:2px solid var(--admin-accent,#7e35b2);outline-offset:3px}

dialog.site-domain-dialog{width:min(94vw,760px);max-height:91dvh;padding:0;border:1px solid var(--admin-border,#d2dbe6);border-radius:13px;background:#fff;color:var(--admin-ink,#263244);box-shadow:0 25px 70px #17253a30;font-family:inherit}
dialog.site-domain-dialog::backdrop{background:#1f2b3e66;backdrop-filter:none}
.site-domain-dialog-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;border-bottom:1px solid var(--admin-rule,#e0e6ee);background:#f6f8fb}
.site-domain-dialog .site-domain-dialog-head h2{margin:0;font-size:18px;font-weight:600;line-height:1.5;color:var(--admin-ink,#263244)}
.site-domain-dialog .site-domain-dialog-close{display:grid;place-items:center;flex:none;width:32px;min-height:32px;padding:0;border-radius:7px;background:transparent;color:var(--admin-muted,#536175);font-size:25px;font-weight:400;line-height:1}
.site-domain-dialog-body{padding:21px 22px 23px}
.site-domain-dialog .site-domain-note{margin:0 0 16px;color:var(--admin-muted,#536175);font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.site-domain-dialog .site-domain-dialog-host{display:block;margin:0 0 12px;color:var(--admin-ink,#263244);font-size:15px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.site-domain-dialog .site-domain-editor{margin:0}
.site-domain-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px}
.site-domain-dialog .site-domain-field{display:flex;flex-direction:column;gap:7px;margin:0;color:var(--admin-text,#3e4c60);font-size:13px;line-height:1.5}
.site-domain-dialog :is(input,select,textarea){width:100%;min-width:0;min-height:39px;padding:9px 10px;border:1px solid #bfcbd9;border-radius:7px;background:#fff;color:var(--admin-ink,#263244);font-family:inherit;font-size:13px;line-height:1.5;box-sizing:border-box}
.site-domain-dialog textarea{resize:vertical;min-height:74px}
.site-domain-field small{font-size:11px;line-height:1.6;color:var(--admin-hint,#64748b)}
.site-domain-dialog .site-domain-enable{display:flex;align-items:center;gap:8px;margin:18px 0;color:var(--admin-text,#3e4c60);font-size:13px}
.site-domain-dialog .site-domain-enable input{width:17px;height:17px;min-height:17px;padding:0;accent-color:var(--admin-accent,#7e35b2)}
.site-domain-dialog .site-domain-field-wide{margin-bottom:17px}
.site-domain-editor-preview{margin:14px 0 16px;padding:12px 14px;border:1px solid var(--admin-rule,#e0e6ee);border-radius:7px;background:#f7f9fc;font-size:12px;line-height:1.7}
.site-domain-editor-preview strong{color:#40566f;font-weight:600}
.site-domain-dialog .site-domain-editor-preview p{margin:4px 0 0;font-size:12px;color:var(--admin-muted,#536175)}
.site-domain-dialog .site-domain-notice{margin:0 0 14px;font-size:12px}
.site-domain-dialog .site-domain-dialog-feedback{min-height:18px;margin:11px 0;color:var(--admin-muted,#536175);font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.site-domain-dialog .site-domain-dialog-feedback.is-error{color:var(--admin-danger,#b42318)}
.site-domain-dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding-top:13px;margin-top:8px;border-top:1px solid var(--admin-rule,#e0e6ee)}
.site-domain-dialog .site-domain-dialog-actions button{width:auto;min-width:80px;min-height:38px;margin:0;padding:9px 18px;border-radius:7px;font-size:13px;font-weight:500;line-height:1.5}
.site-domain-dialog .primary{background:var(--admin-accent,#7e35b2);color:white}
.site-domain-dialog .secondary{background:#e8edf3;color:var(--admin-text,#3e4c60)}
.site-domain-instruction-select{margin-bottom:15px}
.site-domain-record-grid{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px 14px;margin:16px 0;padding:15px 16px;border:1px solid var(--admin-rule,#e0e6ee);border-radius:7px;background:#f7f9fc;font-size:13px;line-height:1.65}
.site-domain-record-grid dt{margin:0;color:var(--admin-muted,#536175);overflow-wrap:anywhere}
.site-domain-record-grid dd{margin:0;color:var(--admin-ink,#263244);font-variant-numeric:tabular-nums;white-space:pre-line}
.site-domain-dialog .site-domain-steps{padding-left:20px;margin:20px 0;color:var(--admin-text,#3e4c60);font-size:13px;line-height:1.85}
.site-domain-steps li+li{margin-top:8px}
.site-domain-dialog .site-domain-details-subtitle{font-size:13px;margin:19px 0 7px;color:var(--admin-text,#3e4c60);font-weight:600}
.site-domain-check-list{padding-left:19px;margin:0 0 17px;color:var(--admin-muted,#536175);font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.site-domain-dialog [hidden]{display:none!important}
@media(max-width:1000px){.site-domain-filter-actions{flex-basis:100%}.site-domain-filter-actions button:nth-last-child(2){margin-left:0}}
@media(max-width:600px){.site-domains-heading{align-items:flex-start}.site-domains-heading h2{font-size:18px}.site-domains-workspace .site-domain-panel{padding:0 12px 13px}.site-domain-tabs{gap:16px}.site-domain-tabs .site-domain-tab{font-size:13px}.site-domain-filters{gap:12px}.site-domain-filters>label{width:100%}.site-domain-filters>label>span{flex:0 0 60px}.site-domain-filters input,.site-domain-filters select{flex:1;width:100%}.site-domain-filter-actions{gap:8px}.site-domain-filter-actions button{padding:8px 13px}.site-domain-table-foot{font-size:11px}.site-domain-dialog-head{padding:14px 16px}.site-domain-dialog-body{padding:17px 16px 20px}.site-domain-editor-grid{grid-template-columns:1fr;gap:15px}.site-domain-record-grid{grid-template-columns:78px minmax(0,1fr);padding:12px;gap:9px 10px;font-size:12px}}
