/* Client hosting workspace. Scoped to preserve other client and admin screens. */
.workspace .hosting-space { color: var(--text-primary); max-width: 1540px; margin-inline: auto; }
.workspace .hosting-space *, .workspace .hosting-space *::before, .workspace .hosting-space *::after { box-sizing: border-box; }
.workspace .hosting-space h1, .workspace .hosting-space h2, .workspace .hosting-space p { margin: 0; }
.workspace .hosting-space a { text-decoration: none; }
.workspace .hosting-space a:focus-visible, .workspace .hosting-space button:focus-visible, .workspace .hosting-space input:focus-visible, .workspace .hosting-space select:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 4px; }
.workspace .hosting-space h1 { font-size: clamp(25px, 2.6vw, 37px); line-height: 1.2; letter-spacing: -1.2px; font-weight: 750; overflow-wrap: anywhere; margin: 10px 0 12px; }
.workspace .hosting-space h2 { font-size: 17px; line-height: 1.4; font-weight: 700; color: var(--text-primary); }
.workspace .hosting-eyebrow { color: var(--primary); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: 1.7px; }
.workspace.theme-dark .hosting-eyebrow, .workspace.theme-dark .hosting-space a:not(.hosting-button-primary):not(.hosting-metric):not(.hosting-tool) { color: #efafe6; }
.workspace .hosting-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0 30px; }
.workspace .hosting-hero > div { min-width: 0; }
.workspace .hosting-hero p, .workspace .hosting-panel-heading p, .workspace .hosting-muted { color: var(--text-secondary); line-height: 1.7; font-size: 13px; }
.workspace .hosting-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--border-color); border-radius: 10px; background: var(--card-bg); color: var(--text-primary); padding: 11px 16px; min-height: 44px; font: inherit; font-size: 12px; font-weight: 650; line-height: 1.45; text-align: center; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.workspace .hosting-button:hover { color: var(--text-primary); border-color: var(--brand-violet); box-shadow: 0 5px 16px rgb(80 35 90 / 8%); transform: translateY(-2px); }
.workspace .hosting-button-primary, .workspace .hosting-button-primary:hover { background: var(--brand-action-gradient); border-color: transparent; color: white; }
.workspace .hosting-hero > .hosting-button { flex-shrink: 0; }
.workspace .hosting-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.workspace .hosting-metric { min-width: 0; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 15px; padding: 20px; color: var(--text-secondary); transition: border-color .2s, transform .2s; }
.workspace .hosting-metric span { font-size: 12px; line-height: 1.6; display: block; }
.workspace .hosting-metric i { margin-right: 5px; }
.workspace .hosting-metric strong { display: block; font-size: 29px; line-height: 1; margin-top: 18px; color: var(--text-primary); }
.workspace .hosting-metric:hover { transform: translateY(-2px); border-color: var(--brand-violet); }
.workspace .hosting-metric.is-selected { background: var(--brand-action-gradient); border-color: transparent; color: #fff; }
.workspace .hosting-metric.is-selected strong { color: #fff; }
.workspace .hosting-panel { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 17px; padding: 24px; min-width: 0; }
.workspace .hosting-filters { padding: 18px; }
.workspace .hosting-filters form { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.workspace .hosting-filters form > div { flex: 1 1 150px; min-width: 0; }
.workspace .hosting-filters form > .hosting-search { flex: 2 1 220px; }
.workspace .hosting-filters label { display: block; color: var(--text-secondary); font-size: 11px; font-weight: 650; margin-bottom: 7px; }
.workspace .hosting-filters input, .workspace .hosting-filters select { width: 100%; min-width: 0; height: 44px; border: 1px solid var(--border-color); border-radius: 9px; background: var(--bg-primary); color: var(--text-primary); padding: 10px; font: inherit; font-size: 12px; }
.workspace .hosting-results { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 23px 0 13px; color: var(--text-secondary); font-size: 12px; }
.workspace .hosting-results a, .workspace .hosting-back { color: var(--primary); font-size: 12px; }
.workspace .hosting-service-list { display: grid; gap: 16px; }
.workspace .hosting-service-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.workspace .hosting-service-name { display: flex; align-items: center; gap: 14px; min-width: 0; }
.workspace .hosting-service-name > div { min-width: 0; }
.workspace .hosting-service-name h2 { overflow-wrap: anywhere; }
.workspace .hosting-service-name h2 a { color: var(--text-primary); }
.workspace .hosting-service-name h2 a:hover { text-decoration: underline; }
.workspace .hosting-service-name p { margin-top: 4px; font-size: 12px; color: var(--text-secondary); overflow-wrap: anywhere; }
.workspace .hosting-icon { display: inline-flex; justify-content: center; align-items: center; width: 45px; height: 45px; flex: 0 0 45px; background: var(--table-hover); border-radius: 13px; color: var(--primary); font-size: 18px; }
.workspace .hosting-status { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 650; padding: 7px 11px; background: var(--bg-secondary); color: var(--text-secondary); border-radius: 30px; line-height: 1.4; flex-shrink: 0; }
.workspace .hosting-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.workspace .hosting-status-active { background: #e4f5ee; color: #146948; }
.workspace .hosting-status-suspended { background: #fff1d9; color: #85530b; }
.workspace .hosting-status-pending { background: #e8efff; color: #335598; }
.workspace.theme-dark .hosting-status-active { background: #203e35; color: #9ce6c2; }
.workspace.theme-dark .hosting-status-suspended { background: #443624; color: #f7d49b; }
.workspace.theme-dark .hosting-status-pending { background: #27334c; color: #b6cdf8; }
.workspace .hosting-service-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) auto; gap: 30px; align-items: center; padding-top: 20px; }
.workspace .hosting-resource { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.workspace .hosting-resource > span { color: var(--text-secondary); font-size: 12px; }
.workspace .hosting-resource strong { font-size: 17px; color: var(--text-primary); line-height: 1.4; overflow-wrap: anywhere; }
.workspace .hosting-resource small { color: var(--text-secondary); font-size: 11px; font-weight: 400; }
.workspace .hosting-resource progress { appearance: none; display: block; width: 100%; height: 6px; border: 0; border-radius: 20px; background: var(--bg-secondary); color: var(--primary); overflow: hidden; margin-top: 3px; }
.workspace .hosting-resource progress::-webkit-progress-bar { background: var(--bg-secondary); }
.workspace .hosting-resource progress::-webkit-progress-value { background: var(--brand-gradient); border-radius: 20px; }
.workspace .hosting-resource progress::-moz-progress-bar { background: var(--brand-gradient); border-radius: 20px; }
.workspace .hosting-resource small.hosting-due { color: #936000; }
.workspace.theme-dark .hosting-resource small.hosting-due { color: #f7d49b; }
.workspace .hosting-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.workspace .hosting-empty { text-align: center; padding: 50px 25px; }
.workspace .hosting-empty .hosting-icon { margin-bottom: 17px; }
.workspace .hosting-empty p { color: var(--text-secondary); margin: 12px auto 20px; max-width: 490px; line-height: 1.7; }
.workspace .hosting-empty .hosting-actions { justify-content: center; }
.workspace .hosting-help { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; }
.workspace .hosting-help strong { font-size: 13px; }
.workspace .hosting-help p { color: var(--text-secondary); font-size: 12px; margin-top: 5px; line-height: 1.6; }
.workspace .hosting-pagination { margin: 24px 0; }
.workspace .hosting-back { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 18px; }
.workspace .hosting-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .44fr); gap: 22px; align-items: start; }
.workspace .hosting-main, .workspace .hosting-side { display: grid; gap: 22px; min-width: 0; }
.workspace .hosting-panel-heading { display: flex; align-items: center; gap: 15px; justify-content: space-between; margin-bottom: 20px; }
.workspace .hosting-panel-heading p { margin-top: 5px; }
.workspace .hosting-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.workspace .hosting-tool { display: flex; flex-direction: column; gap: 9px; border: 1px solid var(--border-color); background: var(--bg-primary); padding: 20px; border-radius: 13px; color: var(--text-primary); transition: border-color .2s, transform .2s; }
.workspace .hosting-tool:hover { transform: translateY(-3px); border-color: var(--brand-violet); color: var(--text-primary); }
.workspace .hosting-tool > i { font-size: 20px; color: var(--primary); margin-bottom: 7px; }
.workspace.theme-dark .hosting-icon, .workspace.theme-dark .hosting-tool > i { color: #efafe6; }
.workspace .hosting-tool strong { font-size: 13px; }
.workspace .hosting-tool span { font-size: 11px; color: var(--text-secondary); line-height: 1.6; }
.workspace .hosting-tool span i { margin-left: 3px; font-size: 9px; }
.workspace .hosting-footnote { color: var(--text-secondary); font-size: 11px; line-height: 1.7; margin-top: 18px !important; }
.workspace .hosting-resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.workspace .hosting-resource-grid .hosting-resource { background: var(--bg-primary); padding: 18px; border-radius: 12px; }
.workspace .hosting-resource-grid .hosting-resource strong { font-size: 25px; }
.workspace .hosting-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 23px; margin-top: 23px; border-top: 1px solid var(--border-color); }
.workspace .hosting-counts > div { min-width: 0; }
.workspace .hosting-counts strong { font-size: 23px; display: block; margin-bottom: 6px; }
.workspace .hosting-counts span { font-size: 11px; color: var(--text-secondary); }
.workspace .hosting-info { margin: 0; }
.workspace .hosting-info > div { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--border-color); }
.workspace .hosting-info > div:last-child { border-bottom: 0; }
.workspace .hosting-info dt { font-size: 12px; color: var(--text-secondary); font-weight: 400; }
.workspace .hosting-info dd { margin: 0; font-size: 12px; text-align: right; font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.workspace .hosting-info a { color: var(--primary); }
.workspace .hosting-info code { color: var(--text-primary); font-size: 12px; }
.workspace .hosting-copy { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 7px; color: var(--text-secondary); cursor: pointer; min-width: 36px; min-height: 36px; margin-left: 8px; }
.workspace .hosting-copy[hidden] { display: none; }
.workspace .hosting-copy-status { color: var(--text-secondary); font-size: 12px; }
.workspace .hosting-copy-status:not(:empty) { margin-top: 12px; }
.workspace .hosting-billing { border-top: 3px solid var(--brand-magenta); }
.workspace .hosting-billing h2 { font-size: 30px; margin: 16px 0 6px; letter-spacing: -.8px; }
.workspace .hosting-billing > p { color: var(--text-secondary); font-size: 12px; }
.workspace .hosting-billing .hosting-info { margin-top: 16px; }
.workspace .hosting-stack { display: grid; gap: 10px; margin-top: 18px; }
.workspace .hosting-stack form .hosting-button { width: 100%; }
.workspace .hosting-notice { padding: 14px 16px; border: 1px solid #e6cea1; background: #fff8ec; border-radius: 10px; color: #77521c; font-size: 12px; line-height: 1.7; margin: 16px 0 !important; overflow-wrap: anywhere; }
.workspace .hosting-notice a { color: inherit; text-decoration: underline; }
.workspace.theme-dark .hosting-notice { background: #352d22; border-color: #635039; color: #f2d19c; }
.workspace .hosting-support { background: linear-gradient(135deg, var(--card-bg), var(--table-hover)); }
.workspace .hosting-support h2 { margin: 17px 0 10px; }
.workspace .hosting-support p { color: var(--text-secondary); font-size: 12px; line-height: 1.8; margin-bottom: 20px; }
.workspace .hosting-linked-domains { display: grid; gap: 15px; }
.workspace .hosting-linked-domains a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px; color: var(--text-primary); font-size: 12px; }
.workspace .hosting-linked-domains strong { overflow-wrap: anywhere; }
.workspace .hosting-linked-domains span { grid-row: 2; color: var(--text-secondary); font-size: 11px; }
.workspace .hosting-linked-domains i { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.workspace .hosting-activity { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.workspace .hosting-activity li { display: flex; gap: 14px; min-width: 0; }
.workspace .hosting-activity-dot { flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--brand-violet); margin-top: 5px; }
.workspace .hosting-activity strong { font-size: 12px; }
.workspace .hosting-activity p { font-size: 12px; color: var(--text-secondary); line-height: 1.6; margin: 5px 0; overflow-wrap: anywhere; }
.workspace .hosting-activity time { font-size: 11px; color: var(--text-secondary); }
.workspace .hosting-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
@keyframes hosting-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) { .workspace .hosting-service, .workspace .hosting-detail-grid > * { animation: hosting-arrive .35s ease both; } }
@media (max-width: 1250px) { .workspace .hosting-service-body { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .workspace .hosting-service-body > .hosting-actions { grid-column: 1 / -1; } .workspace .hosting-detail-grid { grid-template-columns: minmax(0, 1fr); } .workspace .hosting-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
@media (max-width: 1000px) { .workspace .hosting-hero { flex-wrap: wrap; } .workspace .hosting-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .workspace .hosting-panel { padding: 18px; } .workspace .hosting-hero { gap: 17px; padding-bottom: 22px; } .workspace .hosting-hero > .hosting-button { width: 100%; } .workspace .hosting-service-heading { align-items: start; flex-direction: column; gap: 14px; } .workspace .hosting-metric { padding: 16px 13px; } .workspace .hosting-metric span { font-size: 11px; } .workspace .hosting-metric strong { font-size: 25px; margin-top: 12px; } .workspace .hosting-metrics { gap: 10px; } .workspace .hosting-filters form > div { flex-basis: 100%; } .workspace .hosting-filters form > button { width: 100%; } .workspace .hosting-service-body { gap: 20px 12px; } .workspace .hosting-service-body .hosting-actions > a { flex: 1 1 100%; } .workspace .hosting-help { align-items: start; flex-direction: column; } .workspace .hosting-tools, .workspace .hosting-resource-grid, .workspace .hosting-side { grid-template-columns: minmax(0, 1fr); } .workspace .hosting-tool { padding: 18px; } .workspace .hosting-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } .workspace .hosting-info > div { align-items: start; flex-direction: column; gap: 7px; } .workspace .hosting-info dd { text-align: left; max-width: 100%; } .workspace .hosting-results { align-items: start; } }
@media (prefers-reduced-motion: reduce) { .workspace .hosting-space *, .workspace .hosting-space *::before, .workspace .hosting-space *::after { animation: none !important; transition: none !important; } }
