/* Agency page layout. Button and status colors come from semantic-colors.css. */
.agency-page{min-width:0;max-width:1200px;margin:0 auto}
.agency-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.agency-intro h1{margin:4px 0 8px;font-size:24px;font-weight:700;line-height:1.35}
.agency-intro p{margin:0;line-height:1.7}
.agency-eyebrow{font-size:11px;font-weight:700;letter-spacing:.1em}
.agency-intro>.btn{flex:none}
.agency-byline{font-size:12px;font-weight:400}
.agency-page .card-header h2{font-size:14px}
.agency-start-grid,.agency-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.agency-start-grid>#conc,.agency-start-grid>#creat{grid-column:1 / -1}
.agency-guide{min-width:0;align-self:start;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;scroll-margin-top:24px}
.agency-guide>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:50px;padding:14px 16px;list-style:none;font-weight:600;line-height:1.5;cursor:pointer}
.agency-guide>summary::-webkit-details-marker{display:none}
.agency-guide>summary:focus-visible{outline:3px solid var(--ui-primary-border);outline-offset:-3px;border-radius:12px}
.agency-guide[open]>summary{border-bottom:1px solid #e2e8f0}
.agency-chevron{display:inline-block;flex:none;font-size:18px;line-height:1}
.agency-guide[open]>summary>.agency-chevron{transform:rotate(180deg)}
.agency-guide-body{padding:16px;line-height:1.8;overflow-wrap:anywhere}
.agency-guide-body p{margin:0 0 12px}
.agency-guide-body>:last-child{margin-bottom:0}
.agency-domain-label{display:block;margin:16px 0 8px;font-weight:600}
.agency-page .agency-domain-control{display:flex;gap:10px;align-items:stretch;max-width:680px}
.agency-domain-control>.form-control{flex:1;min-width:0;min-height:44px}
.agency-domain-control .btn{height:100%;min-height:44px;white-space:nowrap}
.agency-help,.agency-section-intro,.agency-request-status{font-size:12px;line-height:1.7}
.agency-page .agency-help{margin:8px 0 16px}
.agency-request-status{margin-top:12px}
.agency-page .agency-refresh{margin-bottom:14px}
.agency-section-intro{margin:0 0 16px}
.agency-dns-table{min-width:620px;margin-top:12px}
.agency-dns-table caption{padding:0 0 10px;text-align:left;font-size:12px;font-weight:600}
.agency-page .agency-dns-table tbody th{background:transparent;color:inherit;font-weight:600}
.agency-dns-table .btn{white-space:nowrap}
.agency-page .agency-empty{text-align:center;padding:24px 16px;white-space:normal;line-height:1.8}
.agency-page [hidden]{display:none!important}
#agency-settings{scroll-margin-top:24px}
@media(max-width:640px){
 .agency-intro{align-items:flex-start;flex-direction:column;gap:12px}
 .agency-intro h1{font-size:21px}
 .agency-start-grid,.agency-settings-grid{grid-template-columns:minmax(0,1fr)}
 .agency-guide>summary,.agency-guide-body{padding:14px}
 .agency-page .agency-domain-control{flex-direction:column}
 .agency-domain-control .btn,.agency-intro>.btn{width:100%}
 .agency-byline{width:100%}
}
