/* Hosting workspace and shared navigation. */
.hosting-icon{display:inline-block;flex-shrink:0;vertical-align:middle}.panel-navigation .nav-label{margin:25px 12px 9px;font-size:10px;letter-spacing:1.4px;font-weight:650}.panel-navigation a{gap:12px;font-size:13px;margin:3px 0;min-height:43px;border-radius:8px}.panel-navigation a:after{display:none}.panel-navigation a.active{background:color-mix(in srgb,var(--accent) 10%,var(--surface));color:var(--accent);font-weight:600}.sidebar{overflow-y:auto;padding-top:28px}.sidebar .brand{margin-bottom:14px}.sidebar-bottom{padding-top:30px}.header-location{display:flex;align-items:center;gap:14px}.mobile-nav-toggle,.mobile-nav-close,.nav-backdrop{display:none}.topbar .breadcrumb{font-size:12px}.hosting-workspace{max-width:1440px;margin:0 auto;padding:3px 0 30px;--h-muted:color-mix(in srgb,var(--text) 67%,var(--surface));--h-radius:14px}.hosting-workspace .button{font-size:12px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:8px;padding:9px 15px;white-space:nowrap;font-weight:550}.hosting-workspace .button.primary{background:var(--accent);color:var(--surface);border-color:var(--accent)}:root[data-theme=dark] .hosting-workspace .button.primary{color:var(--accent-text)}.hosting-workspace .button:hover{filter:brightness(.96);transform:translateY(-1px)}.hosting-workspace a,.hosting-workspace button{transition:background .15s,border-color .15s,transform .15s}.hosting-workspace .button:disabled{transform:none}.h-context{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px;min-height:36px}.h-eyebrow{font-size:10px;letter-spacing:1.65px;font-weight:650;color:var(--h-muted)}.h-customer-filter{display:flex;align-items:center;gap:10px}.h-customer-filter label{font-size:11px;color:var(--h-muted)}.h-customer-filter select{max-width:240px;border-radius:8px;background:var(--surface);padding:8px 32px 8px 12px;font-size:12px}.h-account-label{font-size:12px;color:var(--h-muted)}.h-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:32px}.h-heading h1{font-size:clamp(26px,2.7vw,36px);font-weight:600;letter-spacing:-1.2px;overflow-wrap:anywhere}.h-heading p{color:var(--h-muted);font-size:13px;line-height:1.7;margin-top:9px;max-width:650px}.h-back{display:block;font-size:12px;color:var(--h-muted);margin-bottom:18px}.h-card{border:1px solid var(--line);border-radius:var(--h-radius);background:var(--surface);box-shadow:0 3px 8px #12201802;min-width:0;overflow:hidden;margin-bottom:24px}.h-card-heading{padding:23px 26px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line)}.h-card-heading h2{font-size:16px;letter-spacing:-.4px;font-weight:600}.h-card-heading p{font-size:12px;color:var(--h-muted);margin-top:6px;max-width:580px}.h-card-heading .h-eyebrow{display:block;margin-bottom:7px;font-size:9px}.h-text-link{color:var(--accent);font-size:12px;font-weight:600;white-space:nowrap}.h-small-tag{font-size:9px;font-weight:600;letter-spacing:1px;background:var(--surface2);padding:5px 9px;border-radius:5px;color:var(--h-muted);white-space:nowrap}.h-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:26px}.h-stat{padding:22px;margin-bottom:0;display:flex;flex-direction:column;gap:14px}.h-stat:hover{border-color:color-mix(in srgb,var(--accent) 40%,var(--line))}.h-stat-label{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--h-muted)}.h-stat-label>span{margin-left:auto}.h-stat-label svg{width:17px;height:17px}.h-stat>strong{font-size:32px;font-weight:580;letter-spacing:-1.2px;line-height:1.2}.h-stat>span:last-child{font-size:11px;color:var(--h-muted)}.h-summary-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,1fr);gap:24px}.h-steps{padding:4px 26px}.h-steps>a{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}.h-steps>a:last-child{border:0}.h-steps>a:hover strong{color:var(--accent)}.h-steps>a>div{flex:1}.h-steps strong{font-weight:550;font-size:13px}.h-steps p{font-size:12px;color:var(--h-muted);margin-top:4px}.h-step{width:32px;height:32px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:12px;color:var(--h-muted);flex-shrink:0;background:var(--bg)}.h-step.done{border-color:transparent;background:var(--green-bg);color:var(--green)}.h-attention{padding:29px;display:flex;align-items:start;flex-direction:column;background:linear-gradient(140deg,color-mix(in srgb,var(--accent) 5%,var(--surface)),var(--surface) 70%)}.h-icon-tile{display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 9%,var(--surface));color:var(--accent);width:44px;height:44px;border-radius:12px;margin-bottom:21px}.h-icon-tile svg{width:24px;height:24px}.h-attention h2{font-size:20px;line-height:1.4;letter-spacing:-.6px;max-width:250px}.h-attention p{font-size:13px;color:var(--h-muted);line-height:1.8;margin:13px 0 22px}.h-attention-count{border-top:1px solid var(--line);margin-top:26px;padding-top:19px;width:100%;display:flex;align-items:center;gap:10px}.h-attention-count strong{font-size:25px;font-weight:550}.h-attention-count span{font-size:12px;color:var(--h-muted)}.h-inline-empty{padding:28px;color:var(--h-muted);font-size:13px}.h-event{display:flex;gap:16px;padding:20px 26px;align-items:center;border-bottom:1px solid var(--line)}.h-event:last-child{border:0}.h-event>div{flex:1;min-width:0}.h-event strong{font-weight:550;font-size:13px}.h-event small{display:block;font-size:11px;color:var(--h-muted);margin-top:4px}.h-event p{font-size:12px;color:var(--h-muted);margin-top:8px;overflow-wrap:anywhere}.h-event-dot{width:8px;height:8px;border-radius:50%;background:var(--line);flex-shrink:0}.h-status{display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:4px 8px;font-size:10px;font-weight:550;white-space:nowrap;line-height:1.6}.h-status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.h-status.good{background:var(--green-bg);color:var(--green)}.h-status.bad{background:var(--red-bg);color:var(--red)}.h-status.pending{background:var(--amber-bg);color:var(--amber)}.h-status.neutral{background:var(--surface2);color:var(--h-muted)}.h-service-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:23px}.h-tabs{display:flex;border-bottom:1px solid var(--line);gap:22px}.h-tabs a{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--h-muted);padding:12px 1px;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}.h-tabs a.active{color:var(--text);border-color:var(--accent);font-weight:600}.h-tabs a span{font-size:10px;padding:1px 6px;background:var(--surface2);border-radius:4px;color:var(--h-muted)}.h-list-toolbar{display:flex;gap:10px;align-items:center;padding:19px 22px;border-bottom:1px solid var(--line)}.h-search{flex:1;max-width:420px;margin-right:auto}.h-search input{margin:0!important;border-radius:8px!important;font-size:12px!important;padding:10px 13px!important;background:var(--bg)!important}.h-list-toolbar select{font-size:12px;max-width:165px;border-radius:8px;min-height:38px;background:var(--surface)}.h-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;table-layout:auto}.h-table thead{background:color-mix(in srgb,var(--bg) 65%,var(--surface))}.h-table th{font-weight:550;color:var(--h-muted);font-size:11px;padding:12px 22px;border-bottom:1px solid var(--line);white-space:nowrap;letter-spacing:0;text-transform:none}.h-table td{padding:20px 22px;border-bottom:1px solid var(--line);color:var(--h-muted);overflow-wrap:anywhere;max-width:320px}.h-table tr:last-child td{border-bottom:0}.h-table tbody tr:hover{background:color-mix(in srgb,var(--bg) 50%,var(--surface))}.h-table small{display:block;font-size:10px;color:var(--h-muted);margin-top:4px}.h-row-name{display:flex;gap:12px;align-items:center;color:var(--text)}.h-row-name strong{font-weight:550;font-size:12px;overflow-wrap:anywhere}.h-row-icon,.h-avatar{width:34px;height:34px;flex-shrink:0;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;color:var(--h-muted);background:var(--bg)}.h-row-icon svg{width:16px;height:16px}.h-avatar{color:var(--accent);background:color-mix(in srgb,var(--accent) 7%,var(--surface));border-color:transparent;font-weight:600}.h-pagination{display:flex;justify-content:space-between;align-items:center;padding:16px 22px;border-top:1px solid var(--line);font-size:11px;color:var(--h-muted);gap:12px}.h-pagination>div{display:flex;align-items:center;gap:12px}.h-pagination .button{font-size:11px;min-height:30px;padding:6px 10px}.h-empty{text-align:center;padding:60px 24px;display:flex;flex-direction:column;align-items:center}.h-empty-art{display:grid;place-items:center;width:66px;height:66px;border-radius:19px;background:var(--bg);border:1px solid var(--line);box-shadow:0 0 0 9px color-mix(in srgb,var(--bg) 45%,transparent);margin-bottom:28px;color:var(--accent)}.h-empty-art svg{width:28px;height:28px}.h-empty h2{font-size:20px;font-weight:550;letter-spacing:-.6px}.h-empty p{max-width:410px;margin:12px auto 24px;font-size:13px;color:var(--h-muted);line-height:1.8}.h-connection{padding:0 24px}.h-connection summary{display:flex;align-items:center;gap:13px;padding:21px 0;list-style:none;font-size:13px;font-weight:550}.h-connection summary::-webkit-details-marker{display:none}.h-connection summary>svg{color:var(--h-muted)}.h-connection summary small{display:block;font-size:11px;font-weight:400;color:var(--h-muted);margin-top:3px}.h-expand{margin-left:auto;color:var(--h-muted)}.h-connection[open] .h-expand{transform:rotate(45deg)}.h-connection-body{border-top:1px solid var(--line);padding:4px 0 18px}.h-connection p{font-size:12px;line-height:1.8;color:var(--h-muted);margin:16px 0}.h-copy-line{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:13px 16px;background:var(--bg);border:1px solid var(--line);border-radius:8px}.h-copy-line code{overflow-wrap:anywhere;white-space:pre-wrap;font-size:12px;min-width:0}.h-editor-layout{display:grid;grid-template-columns:minmax(0,660px) minmax(220px,300px);gap:50px;align-items:start}.h-editor{padding:30px;max-width:760px}.h-editor h2{font-size:19px;letter-spacing:-.5px}.h-form-intro{font-size:13px;line-height:1.8;color:var(--h-muted);margin:10px 0 28px}.h-form{display:grid;gap:23px}.h-form label{font-size:12px;font-weight:550}.h-form input:not([type=checkbox]),.h-form select,.h-form textarea{background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:12px 13px;font-size:13px;width:100%;margin-top:8px}.h-form label small{font-size:11px;line-height:1.7;margin-top:8px;color:var(--h-muted);font-weight:400}.h-form-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.h-checkbox{display:flex;align-items:center;gap:10px}.h-checkbox input{width:16px;height:16px}.h-form-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:22px;margin-top:6px}.h-form-feedback{font-size:12px;line-height:1.8;color:var(--red);background:var(--red-bg);padding:12px 15px;border-radius:8px}.h-form-feedback[hidden]{display:none}.h-field-error{display:block;color:var(--red);font-size:11px;margin-top:6px;font-weight:400}.h-form [aria-invalid=true]{border-color:var(--red)!important}.h-form-identity{border:1px solid var(--line);background:var(--bg);border-radius:8px;padding:15px;overflow-wrap:anywhere}.h-form-identity strong{font-size:13px}.h-form-identity span{display:block;font-size:11px;margin-top:5px;color:var(--h-muted)}.h-editor-aside{padding-top:20px}.h-editor-aside h2{font-size:19px;line-height:1.5;max-width:230px}.h-editor-aside p,.h-aside-note{font-size:13px;color:var(--h-muted);line-height:1.85;margin-top:15px}.h-aside-note{padding-top:23px;border-top:1px solid var(--line);margin-top:26px;font-size:12px}.h-aside-note a{color:var(--accent)}.h-choice-list{display:grid;gap:10px;margin-top:24px}.h-choice-list a{padding:14px;border:1px solid var(--line);border-radius:8px;display:flex;gap:14px;align-items:center}.h-choice-list a strong{flex:1;font-size:13px}.h-detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:24px}.h-resource-detail .h-detail-actions{padding:0 26px 24px;margin:0}.h-properties{display:grid;grid-template-columns:160px minmax(0,1fr);gap:18px;padding:26px;font-size:13px;margin:0}.h-properties dt{color:var(--h-muted)}.h-properties dd{margin:0;overflow-wrap:anywhere}.h-danger-link{color:var(--red);font-size:12px;margin-left:auto}.h-account-action{border-top:1px solid var(--line);padding-top:20px;margin-top:28px}.h-account-action summary{font-size:13px}.h-account-action form{margin-top:20px}.h-muted{color:var(--h-muted);font-size:12px;line-height:1.8}.h-dns-list article{padding:23px 26px;border-bottom:1px solid var(--line)}.h-dns-list article>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px;font-size:13px;overflow-wrap:anywhere}.h-dns-list article p{font-size:12px;color:var(--h-muted);margin-top:12px;overflow-wrap:anywhere}.h-card-foot{padding:16px 26px;color:var(--h-muted);font-size:11px}.h-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--text);color:var(--surface);padding:11px 18px;border-radius:8px;font-size:12px;z-index:30;box-shadow:0 6px 25px #0002}.hosting-workspace select:focus-visible,.hosting-workspace textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(min-width:1400px){.hosting-workspace{padding-top:10px}.h-heading{margin-bottom:36px}.h-stat{padding:25px}.h-stats{gap:22px}}
@media(max-width:1150px){.h-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.h-summary-grid{grid-template-columns:1fr}.h-attention{padding:24px}.h-table th,.h-table td{padding-left:15px;padding-right:15px}.h-editor-layout{gap:25px;grid-template-columns:minmax(0,1fr) 220px}.h-list-toolbar{flex-wrap:wrap}.h-search{min-width:200px}}
@media(max-width:800px){.sidebar{width:250px;padding:24px 20px;transform:translateX(-100%);transition:transform .2s;z-index:25}.sidebar .brand>span:last-child,.sidebar .nav-label,.sidebar .sidebar-bottom{display:block!important}.sidebar .brand{justify-content:flex-start}.panel-navigation{margin-top:0}.panel-navigation a{font-size:13px;justify-content:flex-start;padding:10px 12px}.sidebar .brand-mark{width:38px;height:38px;font-size:30px}.main-wrap{margin-left:0;width:100%}.mobile-nav-toggle{display:flex;align-items:center;gap:6px}.mobile-nav-close{display:block;position:absolute;right:18px;top:30px;font-size:11px}.nav-open .sidebar{transform:translateX(0)}.nav-open .nav-backdrop{display:block;position:fixed;inset:0;background:#0006;border:0;z-index:24}.nav-open{overflow:hidden}.h-editor-layout{grid-template-columns:1fr}.h-editor-aside{display:none}.h-context{margin-bottom:20px}.h-eyebrow{font-size:9px}.h-heading{gap:18px}.h-list-toolbar{padding:16px}.h-search{max-width:none}.h-table th,.h-table td{padding:15px 12px}.topbar .breadcrumb{font-size:11px}.h-service-bar{flex-wrap:wrap}.h-heading h1{font-size:29px}.h-customer-filter select{max-width:190px}}
@media(max-width:600px){.hosting-workspace{padding-top:0}.h-context{flex-wrap:wrap;gap:12px}.h-context>.h-eyebrow{display:none}.h-customer-filter{width:100%;justify-content:space-between}.h-customer-filter select{max-width:75%;flex:1}.h-heading{align-items:flex-start;flex-direction:column;margin-bottom:24px}.h-heading h1{font-size:28px}.h-heading p{font-size:12px}.h-primary{width:100%}.h-stats{gap:12px;margin-bottom:20px}.h-stat{padding:17px;gap:12px}.h-stat>strong{font-size:26px}.h-stat-label{font-size:10px;gap:5px}.h-stat-label svg{width:14px;height:14px}.h-stat>span:last-child{font-size:10px}.h-card{margin-bottom:18px;border-radius:12px}.h-card-heading{padding:20px}.h-small-tag{display:none}.h-steps{padding:0 20px}.h-steps>a{gap:12px;padding:18px 0}.h-steps strong{font-size:12px}.h-steps p{font-size:11px}.h-event{padding:18px;gap:10px;align-items:flex-start}.h-event-dot{display:none}.h-event strong{font-size:12px}.h-event small{font-size:10px}.h-status{font-size:9px}.h-tabs{gap:22px;flex:1}.h-tabs a{font-size:12px}.h-service-bar>.button{font-size:11px}.h-list-toolbar{gap:8px}.h-search{flex-basis:100%;min-width:0}.h-list-toolbar select{flex:1;min-width:0;max-width:none;font-size:11px}.h-list-toolbar .button{font-size:11px;padding:8px 11px}.h-empty{padding:42px 22px}.h-empty h2{font-size:18px}.h-empty p{font-size:12px}.h-table thead{display:none}.h-table,.h-table tbody{display:block}.h-table tr{display:flex;flex-wrap:wrap;padding:19px;gap:12px;border-bottom:1px solid var(--line)}.h-table tr:last-child{border:0}.h-table td{display:block;border:0;padding:0;max-width:none;font-size:11px}.h-table td:first-child{width:100%;margin-bottom:4px}.h-table td[data-label]{flex:1;min-width:90px}.h-table td[data-label]:before{content:attr(data-label);display:block;color:var(--h-muted);font-size:10px;margin-bottom:5px}.h-table td:last-child{margin-left:auto;align-self:flex-end}.h-row-name strong{font-size:13px}.h-row-name small{font-size:11px}.h-pagination{padding:14px 18px;flex-wrap:wrap;font-size:10px}.h-pagination>div{gap:8px}.h-editor{padding:23px}.h-form-columns{grid-template-columns:1fr}.h-editor h2{font-size:18px}.h-properties{grid-template-columns:1fr;gap:6px;padding:22px}.h-properties dd{margin-bottom:12px}.h-detail-actions{gap:8px}.h-resource-detail .h-detail-actions{padding:0 22px 22px}.h-danger-link{margin-left:0;padding:8px 0;width:100%}.h-dns-list article{padding:20px}.h-dns-list article>div:first-child{align-items:flex-start;flex-direction:column}.h-copy-line{gap:10px;align-items:flex-start}.h-copy-line .button{font-size:10px;padding:6px 10px;min-height:30px}.h-connection{padding:0 20px}.h-connection summary{font-size:12px}.h-connection summary small{font-size:10px}.h-form-actions{flex-wrap:wrap}.topbar{padding:0 16px}.top-actions{gap:8px}.top-actions .admin-label{display:none}.breadcrumb{display:none}.header-location{gap:0}.h-card-foot{padding:15px 20px}.h-summary-grid{gap:0}}
@media(prefers-reduced-motion:reduce){.hosting-workspace *,.sidebar{transition:none!important;scroll-behavior:auto!important}.hosting-workspace .button:hover{transform:none}}

.panel-navigation a{color:color-mix(in srgb,var(--text) 75%,var(--surface))}
@media(max-width:800px){.sidebar{visibility:hidden}.nav-open .sidebar{visibility:visible}}

.h-choice-list strong{overflow-wrap:anywhere;min-width:0}.h-primary .hosting-icon{width:16px;height:16px}.mobile-nav-toggle .hosting-icon{width:18px;height:18px}.h-expand .hosting-icon{width:16px;height:16px}
.h-table{white-space:normal}.h-row-name{min-width:0;max-width:100%}.h-row-name>span:not(.h-row-icon):not(.h-avatar){min-width:0;flex:1}.h-row-name strong{display:block;overflow-wrap:anywhere;word-break:break-word}.h-table td[data-label]{overflow-wrap:anywhere}

/* DNS follows the hosting workspace's spacing, surfaces and typography. */
.dns-workspace>.h-card,.dns-workspace>details,.dns-workspace>.dns-overview{margin-bottom:24px}
.dns-overview{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.dns-overview .h-card{padding:26px}.dns-workspace>.h-card{padding:24px}
.dns-form{display:grid;gap:20px;margin-top:24px}.dns-form label{display:grid;gap:8px;font-weight:600}.dns-form small{font-weight:400;color:var(--h-muted);line-height:1.6}.dns-form input,.dns-form select,.dns-form textarea{width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font:inherit}.dns-form textarea{font-family:monospace;resize:vertical}.dns-form .dns-check{display:flex;align-items:flex-start;font-weight:400;line-height:1.6}.dns-check input{width:auto;margin-top:6px}.dns-form>.button{justify-self:start}
.dns-enable{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-top:1px solid var(--line);gap:12px}.dns-enable small{display:block;color:var(--h-muted);margin-top:5px}.dns-search{display:flex;gap:8px}.dns-search input{min-width:0}.dns-tabs{display:flex;gap:8px;overflow-x:auto;border-bottom:1px solid var(--line);margin:24px 0}.dns-tabs a{padding:14px 18px;white-space:nowrap;color:var(--h-muted);text-decoration:none;border-bottom:3px solid transparent}.dns-tabs a.active{color:var(--text);border-color:var(--accent);font-weight:600}.dns-type{font:600 12px monospace;letter-spacing:.04em}.dns-value{max-width:480px}.dns-value code{display:block;overflow-wrap:anywhere;white-space:normal;font-size:12px;line-height:1.7}.dns-remove{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}.dns-diff{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dns-diff>div{min-width:0}.dns-diff pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;border-radius:10px;border:1px solid var(--line);font-size:12px;line-height:1.7;max-height:500px;overflow:auto}.dns-activity{display:grid;gap:6px;border-bottom:1px solid var(--line);padding:18px 0}.dns-activity small{color:var(--h-muted)}.dns-activity p{margin:0}.dns-steps{padding-left:24px}.dns-steps li{padding:12px 0}.dns-steps p{color:var(--h-muted);line-height:1.7}.dns-nameservers{display:grid;gap:12px;overflow-wrap:anywhere}.dns-check-results{margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}
@media(max-width:760px){.dns-overview,.dns-diff{grid-template-columns:1fr}.dns-search{width:100%}.dns-search input{flex:1}.dns-workspace .h-card-heading{flex-wrap:wrap}.dns-tabs a{padding:12px}.dns-workspace>.h-card{padding:18px}}

.dns-workspace .h-table-wrap{overflow-x:auto}.dns-workspace .h-table td{vertical-align:top}.dns-workspace .dns-value{min-width:180px}.dns-workspace .dns-form .h-form-feedback[hidden]{display:none}

.dns-tabs a{font-size:13px;flex-shrink:0;justify-content:flex-start}.dns-tabs a:after{display:none}.dns-workspace .h-card>p{margin:9px 0 16px;font-size:13px;line-height:1.8}.dns-overview .h-card{margin-bottom:0}.dns-workspace .h-editor-aside p{margin:16px 0}.dns-workspace .h-editor>p{line-height:1.8}
@media(max-width:600px){.dns-workspace .dns-value{order:2;width:100%}.dns-workspace .h-table td[data-label]{min-width:60px}.dns-workspace .h-table td:last-child{align-self:center}.dns-tabs{margin-top:24px}.dns-tabs a{font-size:13px}}

/* Guided file access. */
.h-file-setup{max-width:1180px}.h-file-setup .h-heading{margin-bottom:30px}.h-file-setup .h-heading .h-eyebrow{display:block;margin-bottom:12px}.h-setup-security{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface);padding:10px 14px;border-radius:25px;color:var(--h-muted);font-size:11px;white-space:nowrap}.h-setup-security svg{width:15px;height:15px}.h-setup-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:38px;align-items:start}.h-setup-main{overflow:visible}.h-setup-steps{display:flex;gap:26px;list-style:none;padding:23px 30px;margin:0;border-bottom:1px solid var(--line);background:var(--surface2);border-radius:14px 14px 0 0}.h-setup-steps li{display:flex;align-items:center;gap:8px;color:var(--h-muted);font-size:12px}.h-setup-steps li>span{width:24px;height:24px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:10px;background:var(--surface)}.h-setup-steps .active{color:var(--text);font-weight:600}.h-setup-steps .active>span{background:var(--accent);border-color:var(--accent);color:var(--surface)}:root[data-theme=dark] .h-setup-steps .active>span{color:var(--accent-text)}.h-setup-steps .done>span{background:var(--green-bg);color:var(--green);border-color:transparent}.h-setup-form{padding:30px}.h-step-heading{margin-bottom:26px}.h-step-heading>.h-eyebrow{display:block;margin-bottom:8px}.h-step-heading h2{font-size:23px;letter-spacing:-.65px}.h-step-heading p{font-size:12px;line-height:1.8;color:var(--h-muted);margin-top:8px}.h-step-heading h2:focus{outline:none}.h-section-caption{display:block;font-size:9px;font-weight:650;letter-spacing:1.2px;color:var(--h-muted);margin-bottom:12px}.h-assigned-folders{display:grid;gap:10px;margin-bottom:22px}.h-assigned-folders .h-section-caption{margin-bottom:0}.h-file-setup .h-folder-choice{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:10px;padding:16px;cursor:pointer;background:var(--surface);font-size:13px;font-weight:400;margin:0}.h-folder-choice:has(input:checked){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 4%,var(--surface))}.h-folder-choice input{width:16px;height:16px;margin:0;flex-shrink:0;accent-color:var(--accent)}.h-folder-choice>svg{color:var(--h-muted);width:23px;height:23px}.h-folder-choice>span{min-width:0}.h-folder-choice strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}.h-file-setup .h-folder-choice small{display:block;font-size:11px;color:var(--h-muted);font-weight:400;line-height:1.7;margin-top:3px}.h-browse-choice{margin-bottom:16px!important}.h-folder-picker{border:1px solid var(--line);border-radius:11px;overflow:hidden;margin-top:16px}.h-picker-heading{display:flex;align-items:center;justify-content:space-between;padding:17px 19px;background:var(--surface2);font-size:12px}.h-picker-heading small{display:block;font-size:11px;color:var(--h-muted);font-weight:400;margin-top:3px}.h-picker-heading svg{color:var(--accent);width:25px;height:25px}.h-folder-crumbs{display:flex;align-items:center;gap:8px;padding:14px 19px;border-bottom:1px solid var(--line);font-size:11px;flex-wrap:wrap;overflow-wrap:anywhere}.h-folder-crumbs a{color:var(--accent);font-weight:550;font-size:11px}.h-picker-feedback{font-size:11px;color:var(--h-muted);padding:0 19px}.h-picker-feedback:not(:empty){padding-top:12px;padding-bottom:12px}.h-folder-picker[aria-busy=true]{opacity:.7}.h-folder-list{max-height:330px;overflow:auto;overscroll-behavior:contain}.h-folder-row{display:flex;align-items:center;gap:12px;padding:14px 19px;border-bottom:1px solid var(--line);font-size:12px}.h-folder-row:hover:not(.unavailable){background:var(--surface2)}.h-folder-row>span:nth-child(2){flex:1;min-width:0}.h-folder-row strong{font-weight:550;display:block;overflow-wrap:anywhere}.h-folder-row small{display:block;font-size:10px;line-height:1.6;color:var(--h-muted);font-weight:400;margin-top:3px}.h-folder-row svg{color:var(--h-muted);width:20px;height:20px}.h-folder-row.unavailable{background:var(--bg);color:var(--h-muted)}.h-folder-empty{text-align:center;padding:28px 20px;font-size:12px}.h-folder-empty svg{display:block;width:29px;height:29px;margin:0 auto 10px;color:var(--h-muted)}.h-folder-empty strong{font-weight:550}.h-folder-empty p{color:var(--h-muted);font-size:11px;margin-top:4px}.h-picker-navigation{display:flex;gap:8px;justify-content:space-between;padding:0 19px}.h-picker-navigation:not(:empty){padding-top:12px}.h-picker-use{padding:16px 19px}.h-folder-create{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding:17px 19px;background:var(--surface2)}.h-folder-create>label{flex:1;min-width:0;font-size:11px!important;margin:0!important}.h-folder-create input{background:var(--surface)!important;padding:10px!important;font-size:12px!important;margin:6px 0 0!important}.h-folder-create small{font-size:10px!important}.h-folder-create>.button{margin-top:10px}.h-selected-folder{display:flex;align-items:center;gap:12px;padding:16px;margin-top:18px;border:1px solid color-mix(in srgb,var(--accent) 30%,var(--line));border-radius:10px;background:color-mix(in srgb,var(--accent) 5%,var(--surface))}.h-selected-folder svg{color:var(--accent);width:21px;height:21px}.h-selected-folder>span{flex:1;min-width:0}.h-selected-folder strong{display:block;font-size:12px;font-weight:600}.h-selected-folder small{display:block;font-size:11px;overflow-wrap:anywhere;color:var(--h-muted);margin-top:3px}.h-folder-allocation{margin-top:22px;gap:16px}.h-file-setup [hidden]{display:none!important}.h-setup-form>.h-setup-section{min-width:0}.h-password-input{display:flex;align-items:center;gap:8px;margin-top:8px}.h-password-input input{margin:0!important;flex:1;min-width:0}.h-password-input>.button{height:42px;min-width:54px}.h-password-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0}.h-access-options{border:0;padding:0;margin:24px 0;display:grid;gap:10px}.h-access-options legend{padding:0;margin-bottom:12px;font-size:12px;font-weight:550}.h-ssh-advanced{border-top:1px solid var(--line);padding-top:18px;font-size:12px;margin:24px 0 0}.h-ssh-advanced summary{cursor:pointer;color:var(--h-muted);padding:8px 0}.h-ssh-advanced label{margin-top:16px}.h-setup-submit{border-top:1px solid var(--line);padding-top:24px;margin-top:26px}.h-setup-submit>button.primary{margin-left:auto}.h-wizard-controls{margin-top:24px}.h-wizard-controls>.primary{margin-left:auto}.h-setup-aside{padding-top:20px}.h-setup-aside h2{font-size:24px;letter-spacing:-.7px;line-height:1.35;max-width:230px}.h-setup-aside>p{font-size:12px;line-height:1.9;color:var(--h-muted);margin-top:14px}.h-setup-summary{border:1px solid var(--line);border-radius:12px;padding:21px;margin-top:28px;background:var(--surface)}.h-setup-summary strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}.h-setup-summary p{font-size:11px;line-height:1.7;color:var(--h-muted);margin-top:5px}.h-setup-summary hr{border:0;border-top:1px solid var(--line);margin:21px 0}.h-setup-aside .h-aside-note{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.8;color:var(--h-muted);margin-top:23px}.h-aside-note svg{flex-shrink:0;margin-top:2px;width:15px;height:15px}.h-setup-result{max-width:790px;padding:35px;margin:0 auto}.h-result-symbol{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;background:var(--green-bg);color:var(--green);margin-bottom:22px}.h-result-symbol svg{width:30px;height:30px}.h-setup-result h2{font-size:27px;letter-spacing:-.7px;margin-top:8px}.h-result-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:17px 0 20px}.h-result-status p{font-size:12px;color:var(--h-muted);line-height:1.8}.h-connect-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:27px 0}.h-connect-setting{border:1px solid var(--line);border-radius:10px;padding:16px}.h-connect-setting>span{font-size:10px;color:var(--h-muted);display:block;margin-bottom:8px}.h-connect-setting>div{display:flex;align-items:center;gap:8px;justify-content:space-between;min-width:0}.h-connect-setting code{font-size:12px;overflow-wrap:anywhere;min-width:0}.h-connect-setting .button{font-size:10px;padding:6px 9px;min-height:30px}.h-setup-result .h-form-actions{flex-wrap:wrap;margin-top:24px}.h-file-setup .h-choice-list a>span:nth-child(2){flex:1}.h-file-setup .h-choice-list small{display:block}
@media(max-width:1000px){.h-setup-layout{grid-template-columns:minmax(0,1fr) 220px;gap:24px}.h-setup-form{padding:25px}.h-setup-steps{padding:20px 25px;gap:20px}.h-folder-create{align-items:flex-start;flex-direction:column}.h-folder-create>label{width:100%}.h-folder-create>.button{margin-top:0}}
@media(max-width:760px){.h-setup-layout{grid-template-columns:1fr;gap:0}.h-setup-aside{display:none}.h-setup-security{display:none}.h-file-setup .h-heading h1{font-size:30px}.h-setup-steps{gap:18px}.h-setup-result{padding:25px}.h-connect-grid{gap:10px}}
@media(max-width:480px){.h-setup-form{padding:21px 18px}.h-setup-steps{padding:18px;gap:16px}.h-setup-steps li{font-size:10px;gap:6px}.h-step-heading h2{font-size:21px}.h-file-setup .h-folder-choice{padding:14px;gap:9px}.h-folder-choice>svg{display:none}.h-picker-heading,.h-folder-crumbs,.h-folder-row,.h-picker-use,.h-folder-create{padding-left:14px;padding-right:14px}.h-folder-row .h-small-tag{display:none}.h-selected-folder{flex-wrap:wrap;padding:14px}.h-selected-folder .button{font-size:10px;min-height:30px;padding:6px 10px}.h-connect-grid{grid-template-columns:1fr}.h-setup-result h2{font-size:24px}.h-password-actions>.button{font-size:11px}.h-setup-submit>.primary{width:100%;margin-left:0}.h-wizard-controls>.primary{flex:1}.h-folder-allocation{grid-template-columns:1fr}.h-setup-result .h-form-actions>.button{flex:1}}
.h-file-setup .h-folder-choice input[type=radio]{display:inline-block;width:16px;height:16px;min-width:16px;padding:0;margin:0;border:0;background:none;flex:0 0 16px}.h-file-setup .h-folder-choice>span{flex:1}

/* Keep access fields, helper text and password actions in separate rows. */
.h-setup-section[data-setup-step="1"]{display:grid;gap:20px}
.h-setup-section[data-setup-step="1"]>.h-step-heading{margin-bottom:4px}
.h-setup-section[data-setup-step="1"]>label{display:grid;gap:8px}
.h-setup-section[data-setup-step="1"]>label>input,.h-setup-section[data-setup-step="1"]>label>.h-password-input{margin-top:0!important}
.h-setup-section[data-setup-step="1"]>label>small{display:block;margin-top:0}
.h-setup-section[data-setup-step="1"]>.h-access-options,.h-setup-section[data-setup-step="1"]>.h-ssh-advanced{margin:0}

/* Email follows the same spaced, guided layout as file access. */
.h-email-section{display:grid;gap:20px;min-width:0}.h-email-section>.h-step-heading{margin-bottom:4px}.h-email-section>label,.h-email-section [data-new-email-domain-fields]>label{display:grid;gap:8px}.h-email-section>label>input,.h-email-section>label>.h-password-input,.h-email-section [data-new-email-domain-fields] input{margin-top:0!important}.h-email-section>label>small,.h-email-section [data-new-email-domain-fields] small{display:block;margin-top:0}.h-email-section>.h-ssh-advanced{margin:0}.h-email-section .h-assigned-folders{margin-bottom:0}.h-email-setup .h-setup-steps{gap:19px}.h-email-alternative{margin:18px 0;font-size:12px}.h-email-alternative summary{cursor:pointer;color:var(--h-muted)}.h-email-alternative p{margin-top:12px}.h-email-dns-heading{margin-top:30px;padding-top:25px;border-top:1px solid var(--line)}.h-email-dns-heading h3{font-size:20px}.h-email-readiness{display:flex;align-items:center;gap:16px;padding:19px 0;border-bottom:1px solid var(--line)}.h-email-readiness>div{flex:1;min-width:0}.h-email-readiness strong{font-size:13px;font-weight:550}.h-email-readiness small{display:block;font-size:11px;color:var(--h-muted);line-height:1.8;margin-top:5px}.h-email-dns-form{margin:20px 0}.h-email-dns-form>button{justify-self:start}.h-email-dns-form .h-checkbox{display:flex;align-items:flex-start;gap:10px;line-height:1.8}.h-email-dns-form .h-checkbox input{width:16px;height:16px;flex:0 0 16px;margin:4px 0 0}.h-email-records{margin:18px 0}.h-email-records article{padding:15px 0;border-bottom:1px solid var(--line);min-width:0}.h-email-records strong{display:block;font-size:12px;margin-bottom:9px;overflow-wrap:anywhere}.h-email-records strong>span:not(.h-status){font-weight:400;color:var(--h-muted);margin-left:9px}.h-email-records code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.9}.h-email-records .h-copy-line code{flex:1;min-width:0}.h-email-records .h-copy-line{margin-top:8px}.h-email-dns-review{margin-top:22px}.h-email-dns-review>h3{font-size:17px}.h-email-dns-review>.notice{margin-top:16px}.h-email-alternative .dns-diff pre{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.8;border:1px solid var(--line);border-radius:8px;padding:12px;max-height:400px;overflow:auto}.h-email-setup .h-form-feedback{overflow-wrap:anywhere}
@media(max-width:480px){.h-email-setup .h-setup-steps{gap:10px}.h-email-setup .h-setup-steps li{gap:4px;font-size:9px}.h-email-setup .h-setup-steps li>span{width:21px;height:21px}.h-email-readiness{align-items:flex-start;gap:8px}.h-email-readiness .h-status{font-size:9px}}

.h-email-setup .h-selected-folder strong,.h-email-setup .h-setup-summary strong{overflow-wrap:anywhere}

/* Database management extends the hosting workspace's existing form and table patterns. */
.database-workspace > .h-card:not(:has(.h-table)){padding:24px}
.database-workspace > .h-card:not(:has(.h-table)) > .h-card-heading{padding:0 0 20px;margin-bottom:20px}
.database-workspace > .h-card > p{margin:12px 0 20px;max-width:72ch}
.database-workspace .h-choice-list{display:flex;gap:12px;flex-wrap:wrap}
.database-workspace .h-connect-setting code{overflow-wrap:anywhere;word-break:break-word}
.database-workspace .h-filters{padding:20px;display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.database-workspace .h-filters label{flex:1;min-width:180px}
@media(max-width:600px){.database-workspace > .h-card:not(:has(.h-table)){padding:20px 16px}.database-workspace .h-connect-setting>div{flex-wrap:wrap}.database-workspace .button{min-height:44px}}

/* Database workbench follows the existing hosting forms and table palette. */
.db-tabs,.db-toolbar,.db-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.db-tabs{margin-block:1rem 1.5rem}.db-tabs [aria-pressed=true]{background:var(--accent-bg);color:var(--accent-text)}
.db-admin [hidden]{display:none!important}.db-admin .h-form{margin-block:1.5rem 2.5rem}
.db-admin .db-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1rem}
.db-admin .db-fields label{min-width:0}.db-admin textarea{width:100%;resize:vertical;min-height:44px}
.db-admin [name=sql]{font-family:ui-monospace,monospace}.db-admin .h-table td{max-width:36rem;overflow-wrap:anywhere;white-space:pre-wrap}
.db-overview{display:grid;grid-template-columns:max-content 1fr;gap:.5rem 1.5rem}.db-overview dd{margin:0;overflow-wrap:anywhere}
.db-admin [data-db-status]{min-height:1.5em;max-width:75ch}.db-admin input[type=checkbox]{width:auto;min-height:auto;margin-right:.5rem}
.db-admin .h-table-wrap{max-height:34rem;overflow:auto}.db-admin .db-toolbar{margin-block:1rem}.db-admin .db-actions{min-width:10rem}
@media(max-width:600px){.db-tabs .button{min-height:44px}.db-overview{grid-template-columns:1fr;gap:.25rem}.db-overview dd{margin-bottom:.75rem}.db-admin .db-actions{min-width:0}.db-admin .h-table{min-width:35rem}}
.db-admin>[data-db-panel]{padding:0 26px 24px}.db-admin>.db-tabs,.db-admin>[data-db-status]{margin-inline:26px}
.db-admin .db-scroll-hint{font-size:12px;color:var(--h-muted);margin-block:.5rem}
@media(max-width:600px){
 .db-admin>[data-db-panel]{padding:0 20px 20px}.db-admin>.db-tabs,.db-admin>[data-db-status]{margin-inline:20px}
 .db-admin .h-table{display:table;min-width:34rem}.db-admin .h-table thead{display:table-header-group}.db-admin .h-table tbody{display:table-row-group}
 .db-admin .h-table tr{display:table-row;padding:0}.db-admin .h-table td,.db-admin .h-table th{display:table-cell;padding:12px;min-width:6rem;width:auto;border-bottom:1px solid var(--line)}
 .db-admin .h-table td:first-child{width:auto}.db-admin .h-table td:last-child{margin:0}.db-admin .h-table td.db-actions{display:table-cell;min-width:12rem}.db-admin .db-actions .button{margin:3px}
}
.database-workspace .h-card-heading>div{min-width:0}.database-workspace .h-card-heading h2{overflow-wrap:anywhere}

/* Focused database views reuse the shared page frame and task-window anatomy. */
.database-workspace .db-admin>.db-screen{padding:24px 28px;margin-top:16px}
.db-screen-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}
.db-screen-heading h2{font-size:20px;margin:0}.db-screen-heading p{color:var(--muted);margin:6px 0 0;max-width:65ch}
.db-screen .h-form{margin:0 0 24px}.db-screen .h-form>button{justify-self:start}
.db-admin>.db-feedback{margin:16px 0;min-height:24px;color:var(--muted)}
.db-admin .page-frame-tabs{flex-wrap:wrap}.db-admin .page-frame-tabs .page-frame-tab{white-space:nowrap}
.db-admin .db-overview{grid-template-columns:minmax(120px,1fr) 2fr;margin:0 0 28px;max-width:720px}
.db-overview dt,.db-overview dd{padding:8px 0;border-bottom:1px solid var(--line)}.db-overview dt{color:var(--muted)}
.db-connection{border-top:1px solid var(--line);padding-top:24px}.db-connection h3{margin-bottom:16px}.db-connection>p{margin-top:16px;max-width:70ch}
.db-setting-list>div{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:22px 0;border-top:1px solid var(--line)}
.db-setting-list>div:first-child{border-top:0;padding-top:0}.db-setting-list h3{font-size:16px}.db-setting-list p{color:var(--muted);margin:6px 0 0;max-width:60ch}
.db-options summary{cursor:pointer;color:var(--muted)}.db-options[open]>.db-fields{margin-top:16px}
.db-dialog{width:min(680px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:0;border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 24px 80px #0005;overflow:auto}
.db-dialog::backdrop{background:#0008}
.db-dialog .manage-dialog-head{position:sticky;top:0;z-index:1;background:var(--surface);padding:24px;border-bottom:1px solid var(--line)}
.db-dialog .manage-dialog-head h2{font-size:24px}.db-dialog .manage-dialog-head p{margin-top:8px;max-width:55ch}
.db-dialog-body{padding:24px}.db-admin .db-dialog .h-form{margin:0;gap:20px}.db-dialog .db-toolbar{justify-content:flex-end;margin-bottom:0}
.db-dialog [data-db-dialog-status]:empty{display:none}.db-dialog [data-db-dialog-status]{margin-top:16px;color:var(--muted)}
.db-admin .db-browse{grid-template-columns:minmax(180px,.8fr) minmax(240px,1.6fr) auto;align-items:end}.db-browse>.db-options{grid-column:1/-1}.db-browse>button{margin-bottom:0}.db-browse .db-search-field input{min-height:46px}.db-browse .db-options summary{padding:8px 0}
.db-admin .h-table-wrap:empty::before{content:"Choose a table and browse its rows to begin.";display:block;padding:32px 0;color:var(--muted)}
.db-admin [data-db-sql-result]:empty::before{content:"Your query results will appear here."}
.db-admin [data-db-structure]:empty::before{content:"Choose a table to inspect its columns and keys."}
@media(max-width:600px){
 .database-workspace .db-admin>.db-screen{padding:20px 18px}.db-screen-heading{align-items:stretch;flex-direction:column;gap:16px}
 .db-admin .db-browse{grid-template-columns:1fr}.db-browse>.db-options{grid-row:auto}.db-screen .h-form>button{justify-self:stretch}
 .db-setting-list>div{align-items:stretch;flex-direction:column;gap:12px}.db-setting-list .button{align-self:flex-start}
 .db-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.db-dialog .manage-dialog-head,.db-dialog-body{padding:20px}
 .db-admin .db-overview{grid-template-columns:1fr 1.3fr;gap:0 16px}.db-overview dd{margin:0}
}
.db-dialog .manage-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.db-dialog .manage-dialog-head>div{min-width:0}.db-dialog .manage-dialog-head h2{line-height:1.3;margin:0;overflow-wrap:anywhere}
.db-dialog .manage-dialog-head p{color:var(--muted)}
.db-dialog .icon-button{width:44px;height:44px;flex:none;border-radius:10px}.db-dialog .icon-button svg{width:20px;height:20px}
/* Keep task navigation compact enough to leave the work visible. */
.panel-content .db-admin .page-frame-tabs{flex-wrap:nowrap;overflow-x:auto;padding-inline:8px}
.panel-content .db-admin .page-frame-tab{padding-inline:16px}.db-admin .page-frame-tab svg{display:none}
.db-admin .page-frame-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.db-mobile-nav{display:none}
@media(max-width:600px){
 .panel-content .db-admin .page-frame-tabs{display:none}
 .db-mobile-nav{display:grid;gap:8px;margin:0 0 16px;color:var(--muted);font-size:13px}
 .db-mobile-nav select{width:100%;min-height:48px;font-size:16px;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:10px 12px}
}

/* Database management follows the shared FTP and email resource workspace. */
.db-management-workspace{display:grid;grid-template-columns:210px minmax(0,1fr);margin-top:24px;background:var(--surface);border-radius:14px;overflow:hidden;min-height:620px}
.db-task-rail{padding:20px 12px;background:var(--bg);border-right:1px solid var(--line)}
.db-task-rail>a{display:flex;align-items:center;gap:10px;padding:12px;border-radius:8px;min-height:44px;color:var(--muted);font-size:13px;text-decoration:none}
.db-task-rail>a:hover{background:var(--surface2);color:var(--text)}
.db-task-rail>a[aria-current]{background:var(--surface2);color:var(--text);font-weight:650}
.db-task-rail svg{width:18px;height:18px;flex:none}.db-task-rail .db-resource-back{font-size:12px;margin-bottom:18px}
.db-rail-identity{padding:0 12px 22px;display:grid;grid-template-columns:22px minmax(0,1fr);gap:6px 10px}.db-rail-identity>svg{width:20px;height:20px;color:var(--accent);grid-row:span 2}.db-rail-identity strong{font-size:13px;overflow-wrap:anywhere}.db-rail-identity small{font-size:12px;color:var(--muted)}
.db-task-rail h2{font-size:11px;color:var(--muted);font-weight:600;margin:28px 12px 10px}
.db-task-area{padding:28px;min-width:0}.db-task-area .resource-identity{margin-bottom:12px}.db-task-context{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.db-task-context>a{display:inline-flex;align-items:center;gap:8px;font-size:12px}.db-task-context>a svg{width:16px;height:16px}.db-task-context>.button{margin-left:auto}
.db-task-area>.db-feedback{margin:10px 0 24px;color:var(--muted);font-size:12px;min-height:20px;overflow-wrap:anywhere}
.db-task-area .db-screen{padding:0;margin:0;background:transparent;border:0;box-shadow:none}
.db-task-area .db-screen-heading{margin-bottom:24px;align-items:flex-start}.db-task-area .db-screen-heading h2{font-size:23px;letter-spacing:-.03em}
.db-home-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.db-home-tools a{min-width:0}.db-home-tools strong,.db-home-tools small{overflow-wrap:anywhere}
.db-task-area .db-connection{margin-top:28px}.db-connection-facts{margin:22px 0}.db-connection-facts dd{justify-content:space-between}.db-connection h3{font-size:17px}.db-connection>p{font-size:12px;line-height:1.8}
.db-technical-details{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.db-technical-details summary{cursor:pointer;font-size:13px;color:var(--muted);padding:6px 0}.db-technical-details .db-overview{margin:18px 0 0;max-width:none;font-size:12px;gap:0 20px;grid-template-columns:minmax(90px,1fr) 2fr}
.db-create-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(200px,1fr);gap:28px;margin-top:24px}.db-create-layout .h-editor{max-width:none;margin:0}.db-form-section{border:0;border-top:1px solid var(--line);padding:24px 0 0;margin:8px 0 0;min-width:0}.db-form-section legend{font-size:16px;font-weight:650;padding:0 12px 0 0}.db-form-section>p{font-size:12px;color:var(--muted);margin-bottom:18px;line-height:1.8}.db-create-aside{padding:28px 8px}.db-create-aside>svg{width:28px;height:28px;color:var(--accent);margin-bottom:18px}.db-create-aside h2{font-size:22px;line-height:1.35}.db-create-aside h3{font-size:14px;margin-top:28px}.db-create-aside p{font-size:13px;line-height:1.8;color:var(--muted);margin-top:10px;max-width:35ch}
@media(max-width:1100px){.db-management-workspace{grid-template-columns:180px minmax(0,1fr)}.db-task-area{padding:24px}.db-home-tools{grid-template-columns:minmax(0,1fr)}}
@media(max-width:800px){.db-management-workspace{display:block;min-height:0}.db-task-rail{display:none}.db-task-area{padding:24px 20px}.db-task-area .db-mobile-nav{display:grid;margin:22px 0 16px}.db-mobile-nav select{width:100%;min-height:48px;font-size:16px;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:10px 12px}.db-create-layout{grid-template-columns:minmax(0,1fr)}.db-create-aside{padding:0 8px 20px}.db-create-aside>svg{display:none}.db-create-aside h2{font-size:18px}.db-create-aside p{max-width:65ch}.db-task-area input:not([type=checkbox]),.db-task-area select,.db-task-area textarea{font-size:16px}.db-task-area .db-screen-heading{flex-direction:column}.db-connection-facts{grid-template-columns:minmax(0,1fr)}.db-task-area .db-overview{grid-template-columns:minmax(90px,1fr) 1.6fr}.db-home-tools{grid-template-columns:minmax(0,1fr)}}
.db-inventory{padding:0 20px 20px}.db-inventory-choice{padding:22px 16px;border-bottom:1px solid var(--line);border-radius:0;margin:0;gap:18px}.db-inventory-choice strong{font-size:16px}.db-inventory-choice small{font-size:13px}.db-inventory-choice>.resource-choice-icon svg{width:24px;height:24px}.db-open-label{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--accent);margin-left:16px}.db-open-label svg{width:18px;height:18px}
@media(max-width:600px){.db-inventory{padding:0 8px 12px}.db-inventory-choice{gap:12px;padding:18px 8px;flex-wrap:wrap}.db-inventory-choice .db-open-label{display:none}.db-inventory-choice>.h-status{margin-left:36px}.db-inventory-choice>span:nth-child(2){min-width:150px}.db-task-area{padding:22px 16px}}
.db-task-area .db-home-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}.db-home-tools>a+ a{border-top:0}.db-home-tools>a{border-bottom:1px solid var(--line)}
@media(max-width:1100px){.db-task-area .db-home-tools{grid-template-columns:minmax(0,1fr)}}
.db-task-rail{display:block}.db-task-rail>a>span{font-size:13px;width:auto;min-width:0;line-height:1.5}.db-task-rail>a{margin-bottom:4px}.db-task-rail h2{line-height:1.5}
@media(max-width:800px){.db-task-rail{display:none}}
.db-admin [data-db-users] .h-table{min-width:680px}.db-admin [data-db-users] td:nth-child(3),.db-admin [data-db-users] td:nth-child(4){white-space:nowrap;min-width:90px}
/* Engine-specific guided database setup reuses the email and file wizard. */
.db-guided-setup .h-setup-main{min-width:0;overflow:hidden}.db-guided-setup .h-form{margin:0;gap:24px}.db-guided-setup [hidden]{display:none!important}.db-guided-setup .h-setup-steps{flex-wrap:wrap;gap:16px;padding:22px 28px}.db-guided-setup .h-setup-steps svg{width:14px;height:14px}.db-guided-setup .h-setup-form{padding:28px}.db-guided-setup .h-setup-submit{display:flex;flex-wrap:wrap;gap:12px;margin:0;padding-top:24px}.db-guided-setup .h-setup-submit>.primary{margin-left:auto}.db-guided-setup .h-step-heading{margin-bottom:24px}.db-guided-setup .h-step-heading p{font-size:14px}.db-guided-setup .db-setup-review{margin-bottom:24px}.db-guided-setup section>p+p{margin-top:16px}.database-workspace .h-empty>.button{margin-top:20px}
@media(max-width:600px){.db-guided-setup .h-setup-steps{padding:20px 16px;gap:12px}.db-guided-setup .h-setup-form{padding:24px 16px}.db-guided-setup .h-setup-steps li{font-size:11px}.db-guided-setup .h-setup-submit>.primary{flex:1}.db-guided-setup input{font-size:16px}}
.panel-content .db-admin .page-frame-tabs{display:flex}
@media(max-width:600px){.db-guided-setup .h-setup-submit>.primary{flex:1 0 100%;width:100%;white-space:normal}.db-guided-setup .h-setup-steps>li:first-child{display:none}}

/* Search-led table browsing, within the shared database workspace. */
.db-admin .db-browse{gap:16px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.db-browse>label{min-width:0}.db-browse select{width:100%;text-overflow:ellipsis}
.db-browse .db-search-tools{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}
.db-search-tools p{margin:0;color:var(--muted);font-size:13px}
.db-browse .db-options summary{color:var(--text)}
.db-results-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.db-results-heading p{margin:0;overflow-wrap:anywhere;color:var(--muted)}
.db-results-heading .button{flex-shrink:0}
.db-admin [data-db-grid]:empty::before{content:"Select a table to see its rows."}
.db-admin [data-db-grid][aria-busy=true]:empty::before{content:"Finding your data…"}
.db-admin .db-pagination{justify-content:flex-end;margin:20px 0 0;align-items:center}
.db-pagination span{color:var(--muted);font-variant-numeric:tabular-nums}
@media(max-width:1100px){.db-admin .db-browse{grid-template-columns:minmax(0,1fr) auto}.db-browse>.db-table-field{grid-column:1/-1}}
@media(max-width:600px){.db-admin .db-browse{grid-template-columns:minmax(0,1fr)}.db-browse>.db-options{grid-row:auto}.db-results-heading{align-items:flex-start}.db-admin .db-pagination{justify-content:space-between;gap:8px}.db-pagination .button{padding:10px;font-size:13px}}

/* Postgres Studio: one table context, three working views. */
.db-studio-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}
.db-studio-header h2{font-size:26px;letter-spacing:-.03em;margin:10px 0 4px;overflow-wrap:anywhere}
.db-studio-header p{margin:0;color:var(--muted)}.db-studio-header>div{min-width:0}.db-studio-header .db-toolbar{margin:0}
.db-admin .db-management-workspace{display:block;margin-top:0;min-height:0}
.db-admin .db-task-rail{display:flex;flex-wrap:wrap;gap:4px;padding:12px 16px;border-right:0;border-bottom:1px solid var(--line)}
.db-admin .db-task-rail>a{margin:0;padding:10px 12px}.db-admin .db-task-area{padding:0}
.db-admin .db-task-area>.db-screen{padding:24px}.db-admin .db-task-area>.db-feedback{margin:0;padding:12px 24px;border-bottom:1px solid var(--line);min-height:44px}
.db-studio{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:570px}
.db-explorer-slot{background:var(--bg);border-right:1px solid var(--line);min-width:0}
.db-explorer{padding:20px 12px}.db-explorer-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.db-explorer-heading h3{font-size:15px;margin:0}.db-explorer label{display:grid;gap:8px;font-size:12px;color:var(--muted)}
.db-explorer input{width:100%;min-width:0;padding:10px;font:inherit;font-size:14px;min-height:44px;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:8px}
.db-table-list{margin-top:20px;max-height:65vh;overflow:auto}.db-table-list h4{font-size:12px;color:var(--muted);margin:20px 8px 8px;overflow-wrap:anywhere}.db-table-list section:first-child h4{margin-top:0}
.db-table-list button{display:block;width:100%;border:0;border-radius:8px;background:transparent;color:var(--text);font:inherit;font-size:13px;text-align:left;padding:12px;min-height:44px;overflow-wrap:anywhere;cursor:pointer}
.db-table-list button:hover{background:var(--surface)}.db-table-list button[aria-pressed=true]{background:var(--surface2);color:var(--accent);font-weight:650}.db-table-list p{font-size:13px;color:var(--muted);padding:8px}
.db-studio-content,.db-studio-main{min-width:0}.db-table-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 24px 16px}.db-table-heading>div{min-width:0}
.db-table-heading h2{margin:0;font-size:21px;letter-spacing:-.02em;overflow-wrap:anywhere}.db-table-heading p{margin:5px 0 0;color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.db-studio-tabs{display:flex;gap:24px;padding:0 24px;border-bottom:1px solid var(--line)}
.db-studio-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font:inherit;font-weight:650;min-height:48px;padding:12px 4px;cursor:pointer}.db-studio-tabs button:hover{color:var(--text)}.db-studio-tabs button.selected{color:var(--accent);border-bottom-color:var(--accent)}
.db-studio-body{display:grid;grid-template-columns:minmax(0,1fr)}.db-studio.has-row .db-studio-body{grid-template-columns:minmax(0,1fr) minmax(280px,340px)}
.db-studio-main{padding:24px}.db-studio .db-browse{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding-bottom:16px;margin-bottom:16px}
.db-studio .db-browse .db-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.db-studio .db-search-tools{min-width:0}.db-studio .db-options summary{font-size:13px}
.db-studio .db-screen-heading h3{margin:0;font-size:16px}.db-studio .db-screen-heading{margin-bottom:16px}
.db-studio .h-table-wrap{max-height:55vh;overflow:auto;scrollbar-color:var(--line) var(--surface);scrollbar-width:thin}
.db-studio .h-table thead{position:sticky;top:0;z-index:1;background:var(--surface2)}.db-studio .h-table td{vertical-align:top}.db-studio .h-table tbody tr:hover{background:var(--surface2)}
.db-studio .h-table td.db-actions{min-width:100px;white-space:nowrap}.db-studio .db-pagination{flex-wrap:wrap;justify-content:space-between}.db-studio .db-pagination .button{font-size:12px;padding:10px}
.db-studio [data-db-form=query]{margin-top:20px}.db-studio [name=sql]{font-family:ui-monospace,monospace;line-height:1.7;tab-size:2;resize:vertical;min-height:200px}
.db-studio-empty{padding:24px 0}.db-studio-empty h3{font-size:20px}.db-studio-empty p{color:var(--muted);margin:10px 0 20px}.db-studio-empty a{margin-left:16px}
.db-row-panel{border-left:1px solid var(--line);background:var(--surface2);padding:20px;min-width:0;max-height:80vh;overflow:auto}
.db-row-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.db-row-panel h3{font-size:17px;margin:0}.db-row-panel>p{font-size:13px;color:var(--muted);overflow-wrap:anywhere;margin:12px 0}
.db-row-panel [data-db-row-status]:empty{display:none}.db-row-panel .h-form{display:block;margin:16px 0 0}.db-row-panel .h-form>p{font-size:13px;color:var(--muted);margin-bottom:20px}
.db-row-panel [data-db-row-fields]>div{margin-bottom:20px}.db-row-panel label{overflow-wrap:anywhere}.db-row-panel textarea{width:100%;resize:vertical}.db-row-panel textarea:disabled{opacity:1;color:var(--text);background:var(--surface);cursor:text}
.db-row-panel [data-db-row-fields] label+label{display:flex;align-items:center;gap:8px;font-size:12px;margin-top:8px}.db-row-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.db-admin .db-table-picker{display:none}.db-admin [data-db-form=structure]{margin-bottom:16px}.db-admin [data-db-structure] h3{margin:24px 0 10px;font-size:15px}.db-admin [data-db-structure] code{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
@media(max-width:1200px){.db-studio.has-row .db-studio-body{grid-template-columns:minmax(0,1fr)}.db-studio.has-row .db-studio-main{display:none}.db-row-panel{border-left:0;max-height:none}.db-studio{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:800px){.db-studio-header{align-items:flex-start;flex-direction:column;gap:16px}.db-studio-header h2{font-size:23px}.db-admin .db-task-rail{display:none}.db-admin .db-task-area .db-mobile-nav{display:grid;margin:0;padding:16px;border-bottom:1px solid var(--line)}.db-admin .db-task-area>.db-feedback{padding:12px 16px}.db-studio{display:block;min-height:400px}.db-explorer-slot{display:none}.db-admin .db-table-picker{display:inline-flex;flex-shrink:0}.db-table-heading{padding:20px 16px 12px}.db-table-heading h2{font-size:19px}.db-studio-tabs{padding:0 16px}.db-studio-main{padding:20px 16px}.db-studio .db-browse{grid-template-columns:minmax(0,1fr)}.db-studio .db-browse .db-fields{grid-template-columns:minmax(0,1fr)}.db-explorer input{font-size:16px}.db-row-panel{padding:20px 16px}.db-studio.has-row .db-studio-main{display:none}.db-studio .db-results-heading{flex-wrap:wrap}.db-studio .h-table-wrap{max-height:65vh}}
