/* Headless 2.0: readable controls and a neutral palette, scoped from legacy UIs. */
.sitehub-headless-v2{--bg:#f5f5f5;--surface:#fff;--ink:#191919;--muted:#606060;--line:#dedede;--brand:#202020;--brand-dark:#000;--brand-soft:#ededed;--radius:10px;--shadow:none;color:var(--ink);font-size:16px}
.sitehub-headless-v2 h1{font-size:32px;letter-spacing:-.6px}
.sitehub-headless-v2 h2{font-size:22px}
.sitehub-headless-v2 .muted,.sitehub-headless-v2 .field,.sitehub-headless-v2 label,.sitehub-headless-v2 .button,.sitehub-headless-v2 .steps,.sitehub-headless-v2 .details-panel summary{font-size:16px}
.sitehub-headless-v2 .muted,.sitehub-headless-v2 .field,.sitehub-headless-v2 label,.sitehub-headless-v2 .details-panel summary,.sitehub-headless-v2 .domain-text,.sitehub-headless-v2 .steps{color:#555}
.sitehub-headless-v2 .field small,.sitehub-headless-v2 label>small,.sitehub-headless-v2 .check-field small,.sitehub-headless-v2 .metric small,.sitehub-headless-v2 .site-row small,.sitehub-headless-v2 .content-row small,.sitehub-headless-v2 .subline,.sitehub-headless-v2 .table-identity small,.sitehub-headless-v2 .form-actions .muted{font-size:14px;color:#626262}
.sitehub-headless-v2 .nav-label,.sitehub-headless-v2 .eyebrow,.sitehub-headless-v2 .site-identity small,.sitehub-headless-v2 .app-footer,.sitehub-headless-v2 .brand small{font-size:12px;color:#676767}
.sitehub-headless-v2 .sidebar,.sitehub-headless-v2 .card{box-shadow:none}
.sitehub-headless-v2 .nav-link{font-size:16px;color:#555}
.sitehub-headless-v2 .nav-link.active{color:#111;background:#ededed}
.sitehub-headless-v2 .nav-link:hover,.sitehub-headless-v2 .site-row:hover,.sitehub-headless-v2 .content-row:hover{background:#f4f4f4;color:#111}
.sitehub-headless-v2 .site-identity,.sitehub-headless-v2 .accent-card,.sitehub-headless-v2 .field-info,.sitehub-headless-v2 .sh131-language-bar{background:#f6f6f6;border-color:#dedede}
.sitehub-headless-v2 .identity-dot{background:#555;box-shadow:0 0 0 4px #e5e5e5}
.sitehub-headless-v2 .brand-mark{background:#202020;box-shadow:none}
.sitehub-headless-v2 .accent-card>p,.sitehub-headless-v2 .quick-links a,.sitehub-headless-v2 .metric-top,.sitehub-headless-v2 .metric-top .icon,.sitehub-headless-v2 .sh131-language-title,.sitehub-headless-v2 .sh131-language-title small,.sitehub-headless-v2 .sh131-language-hint{color:#555}
.sitehub-headless-v2 .quick-links a{font-size:15px;border-color:#ddd}
.sitehub-headless-v2 .site-avatar,.sitehub-headless-v2 .tile-icon,.sitehub-headless-v2 .row-leading{background:#f0f0f0;color:#444;border-color:#dedede}
.sitehub-headless-v2 .button.subtle{color:#333;background:#fff;border-color:#cfcfcf}
.sitehub-headless-v2 .button.subtle:hover{background:#f1f1f1;border-color:#a4a4a4}
.sitehub-headless-v2 .icon-button{color:#555}
.sitehub-headless-v2 input:not([type=checkbox]):not([type=radio]),.sitehub-headless-v2 select,.sitehub-headless-v2 textarea{min-height:46px;font-size:16px;color:#252525;border-color:#cfcfcf}
.sitehub-headless-v2 input:focus,.sitehub-headless-v2 select:focus,.sitehub-headless-v2 textarea:focus{border-color:#555;box-shadow:0 0 0 3px #1111}
.sitehub-headless-v2 :focus-visible{outline-color:#777}
.sitehub-headless-v2 input::placeholder,.sitehub-headless-v2 textarea::placeholder{color:#747474}
.sitehub-headless-v2 .type-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.sitehub-headless-v2 .type-card strong{font-size:17px}
.sitehub-headless-v2 .type-card small{font-size:13px;color:#606060}
.sitehub-headless-v2 .type-card .icon{color:#555}
.sitehub-headless-v2 .type-card:has(input:checked),.sitehub-headless-v2 .theme-choice.selected{background:#f4f4f4;border-color:#333;box-shadow:0 0 0 1px #333}
.sitehub-headless-v2 .table-wrap table,.sitehub-headless-v2 .table-wrap strong,.sitehub-headless-v2 .table-wrap th,.sitehub-headless-v2 .table-wrap td .button{font-size:14px}
.sitehub-headless-v2 .table-wrap th{color:#5c5c5c;background:#f7f7f7}
.sitehub-headless-v2 .site-row strong,.sitehub-headless-v2 .content-row strong{font-size:16px}
.sitehub-headless-v2 .badge{font-size:12px}
.sitehub-headless-v2 .field-info{font-size:14px;color:#555;margin-top:28px}
.sitehub-headless-v2 .sh2-form-note{color:#5c5c5c;font-size:15px;line-height:1.8;margin:20px 0 0}
.sitehub-headless-v2 .sh2-conditional{margin-top:24px}
.sitehub-headless-v2 [hidden]{display:none!important}
.sitehub-headless-v2 .sh2-deploy-grid,.sitehub-headless-v2 .sh2-publish-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.sitehub-headless-v2 .sh2-deploy-card{display:flex;flex-direction:column;align-items:flex-start;padding:25px;margin-bottom:24px}
.sitehub-headless-v2 .sh2-deploy-card .eyebrow{font-size:13px;letter-spacing:.5px}
.sitehub-headless-v2 .sh2-deploy-card h2{margin:16px 0 10px}
.sitehub-headless-v2 .sh2-deploy-card>p.muted{flex:1}
.sitehub-headless-v2 .sh2-deploy-card form{width:100%;margin-top:15px}
.sitehub-headless-v2 .sh2-deploy-card .button{width:100%}
.sitehub-headless-v2 .sh2-recommended{border:2px solid #222;padding:24px}
.sitehub-headless-v2 .sh2-publish-options{margin-bottom:24px}
.sitehub-headless-v2 .sh2-publish-options strong{font-size:17px}
.sitehub-headless-v2 .sh2-publish-options p{font-size:15px;color:#626262;margin:10px 0 0}
.sitehub-headless-v2 .sh2-delivery .card-actions{margin-top:14px;flex-wrap:wrap}
.sitehub-headless-v2 .sh2-delivery .token-output{font-family:ui-monospace,monospace;font-size:14px;background:#fafafa}
.sitehub-headless-v2 form[data-readonly-action] button[type=submit]{display:none}
.sitehub-headless-v2 form[data-readonly-action] input:disabled,.sitehub-headless-v2 form[data-readonly-action] textarea:disabled,.sitehub-headless-v2 form[data-readonly-action] select:disabled{color:#454545;background:#fafafa;opacity:1}
.sitehub-headless-v2 .sh2-static-deploy{padding:28px;margin-bottom:28px;min-width:0}
.sitehub-headless-v2 .sh2-static-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}
.sitehub-headless-v2 .sh2-static-heading h2{margin:8px 0 10px}
.sitehub-headless-v2 .sh2-static-heading .muted{margin-bottom:0}
.sitehub-headless-v2 .sh2-static-state{padding:8px 12px;border:1px solid #ddd;border-radius:6px;background:#f5f5f5;white-space:nowrap;font-size:16px;color:#555}
.sitehub-headless-v2 .sh2-static-state[data-state=success]{background:#eff7f0;color:#285b36;border-color:#c8ddce}
.sitehub-headless-v2 .sh2-static-state[data-state=failed]{background:#fff4f0;color:#8a3826;border-color:#edcec3}
.sitehub-headless-v2 .sh2-static-step{border-top:1px solid #e5e5e5;padding-top:24px;margin-top:24px;min-width:0}
.sitehub-headless-v2 .sh2-static-step h3,.sitehub-headless-v2 .sh2-static-history h3{font-size:18px;margin:0 0 20px}
.sitehub-headless-v2 .sh2-static-step h3>span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;margin-right:6px;background:#eee;font-size:16px}
.sitehub-headless-v2 .sh2-static-deploy .field,.sitehub-headless-v2 .sh2-static-deploy .field small,.sitehub-headless-v2 .sh2-static-deploy .check-field,.sitehub-headless-v2 .sh2-static-deploy .check-field small,.sitehub-headless-v2 .sh2-static-hint,.sitehub-headless-v2 .sh2-static-advanced summary,.sitehub-headless-v2 .sh2-static-help{font-size:16px;line-height:1.7}
.sitehub-headless-v2 .sh2-static-deploy .field{min-width:0}
.sitehub-headless-v2 .sh2-static-fixed{font-size:16px;line-height:1.7;color:#555}
.sitehub-headless-v2 .sh2-static-fixed strong{font-size:16px;font-weight:500}
.sitehub-headless-v2 .sh2-static-fixed p{margin:12px 0 0}
.sitehub-headless-v2 .sh2-static-deploy input[readonly]{background:#f7f7f7}
.sitehub-headless-v2 .sh2-static-hint{color:#606060;margin:18px 0}
.sitehub-headless-v2 .sh2-static-advanced{margin-top:20px;border:1px solid #e0e0e0;border-radius:8px;padding:0 16px}
.sitehub-headless-v2 .sh2-static-advanced summary,.sitehub-headless-v2 .sh2-static-help summary{cursor:pointer;padding:12px 0;min-height:46px}
.sitehub-headless-v2 .sh2-static-advanced .form-grid{padding:8px 0 18px}
.sitehub-headless-v2 .sh2-static-help{margin:10px 0 20px;color:#606060}
.sitehub-headless-v2 .sh2-static-help p{margin:0 0 12px;overflow-wrap:anywhere}
.sitehub-headless-v2 .sh2-static-help code{font-size:16px;white-space:normal}
.sitehub-headless-v2 .sh2-static-actions{display:flex;gap:12px;flex-wrap:wrap}
.sitehub-headless-v2 .sh2-static-actions .button{min-height:46px}
.sitehub-headless-v2 .sh2-static-history{border-top:1px solid #e5e5e5;margin-top:24px;padding-top:24px}
.sitehub-headless-v2 .sh2-static-history dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0}
.sitehub-headless-v2 .sh2-static-history dt{font-size:16px;color:#606060;margin-bottom:8px}
.sitehub-headless-v2 .sh2-static-history dd{font-size:16px;color:#252525;margin:0;overflow-wrap:anywhere}
@media(max-width:1100px){.sitehub-headless-v2 .sh2-static-history dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.sitehub-headless-v2 .sh2-static-deploy{padding:20px}.sitehub-headless-v2 .sh2-static-heading{flex-direction:column;gap:14px}.sitehub-headless-v2 .sh2-static-actions{display:grid;grid-template-columns:1fr;width:100%}.sitehub-headless-v2 .sh2-static-actions .button{width:100%}.sitehub-headless-v2 .sh2-static-history dl{grid-template-columns:1fr}.sitehub-headless-v2 .sh2-static-deploy .form-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1100px){.sitehub-headless-v2 .sh2-deploy-grid{grid-template-columns:1fr}.sitehub-headless-v2 .sh2-deploy-card{display:block;margin-bottom:0}.sitehub-headless-v2 .sh2-deploy-grid{margin-bottom:24px}.sitehub-headless-v2 .sh2-deploy-card form,.sitehub-headless-v2 .sh2-deploy-card .button{width:auto}}
@media(max-width:760px){.sitehub-headless-v2 h1{font-size:27px}.sitehub-headless-v2 .type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sitehub-headless-v2 .sh2-publish-options{grid-template-columns:1fr}.sitehub-headless-v2 .sh2-deploy-card{padding:21px}.sitehub-headless-v2 .sh2-recommended{padding:20px}.sitehub-headless-v2 .field-info{margin-top:0}.sitehub-headless-v2 .sh2-delivery .card-actions .button{flex:1}.sitehub-headless-v2 .sh2-delivery .token-output{font-size:16px}}

/* rc3 operational sections */
.sh3-operation-grid,.sh3-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.sh3-actions,.sh3-section-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.sh3-section-heading{justify-content:space-between}.sh3-actions{margin-top:18px}.sh3-command{display:block;padding:16px;background:#f3f4f6;border-radius:6px;overflow-wrap:anywhere;white-space:normal;font-size:15px}.sh3-template-card{min-width:0}.sh3-template-preview{width:100%;aspect-ratio:16/9;object-fit:cover;border:1px solid #e5e7eb;border-radius:6px;margin-bottom:18px}.sh3-template-form{display:grid;gap:12px;margin-top:18px}.sh3-provider[hidden]{display:none}.sh3-template-grid{margin-bottom:20px}@media(max-width:760px){.sh3-operation-grid,.sh3-template-grid{grid-template-columns:1fr}.sh3-actions>.inline,.sh3-actions>.button{width:100%}.sh3-actions button{width:100%}.sh3-command{font-size:14px}}
