/* Отраслевые брифы: общая сетка и спокойные интервалы. */
.resto:has(.rt-brief) .rt-section{padding:54px 0 72px}
.resto:has(.rt-brief) .rt-shell{width:min(1120px,calc(100% - 64px))}
.resto:has(.rt-brief) .rt-shell>h1,.resto .ix-brief-intro h1{font-size:clamp(32px,3.4vw,46px);line-height:1.18;letter-spacing:-1.2px;margin:0 0 12px}
.resto:has(.rt-brief) .rt-shell>p,.resto .ix-brief-intro>p{font-size:15px;line-height:1.65}
.resto .ix-brief-intro{margin-bottom:28px}
.resto .rt-brief{gap:14px 16px;margin-top:24px}
.resto .rt-brief .fld{gap:6px;min-width:0}
.resto .rt-brief .fld>span{font-size:12px;line-height:1.4;color:#667a57}
.resto .rt-brief .fld :is(input:not([type=file]),select){height:46px;min-height:46px;padding:10px 13px;border-radius:9px}
.resto .rt-brief .fld textarea{min-height:82px;padding:11px 13px;border-radius:9px;line-height:1.5}
.resto .rt-brief-step{margin:8px 0 2px;gap:11px}
.resto .rt-brief-step>span{display:grid;place-items:center;width:38px;height:38px;padding:0;border-radius:10px;font-size:14px;flex:none}
.resto .rt-brief-step b{font-size:18px;line-height:1.3}
.resto .rt-brief-step small{font-size:12px;margin-top:2px}
.resto .rt-file-box{padding:17px 18px;border-radius:13px}
.resto .rt-file-box label span{margin:6px 0 8px}
.resto .rt-file-box p{font-size:12px;line-height:1.6;margin-top:8px}
.resto .rt-brief-terms{padding:4px 0 4px 14px}
.resto .rt-brief button[type=submit]{max-width:340px;min-height:50px;padding:13px 20px}
.resto .rt-brief .chk{align-items:flex-start;margin-top:1px;font-size:12px;line-height:1.55}
.resto .rt-brief .chk input{width:18px;height:18px;flex:0 0 18px;min-height:18px;margin:1px 0 0}
.resto .rt-brief .form-msg:empty{min-height:0}
/* Карточки оплаты и домена сохраняют общую ширину и выравнивание. */
:is(.rt-brief,.cb-page) .sb-payment{margin:8px 0;padding:22px;border-radius:15px}
:is(.rt-brief,.cb-page) .sb-payment h3{font-size:21px;line-height:1.3;margin:0 0 8px}
:is(.rt-brief,.cb-page) .sb-payment p{font-size:13px;line-height:1.6}
:is(.rt-brief,.cb-page) .sb-field{gap:6px;font-size:12px;line-height:1.4}
:is(.rt-brief,.cb-page) .sb-field :is(input:not([type=file]),select){height:46px;min-height:46px;padding:10px 12px;font:14px/1.4 Onest,system-ui,sans-serif}
:is(.rt-brief,.cb-page) .sb-grid{gap:12px 14px;margin:14px 0;align-items:end}
:is(.rt-brief,.cb-page) .sb-grid:has(>.sb-field:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
:is(.rt-brief,.cb-page) .sb-check{margin:12px 0 0;font-size:12px}
:is(.rt-brief,.cb-page) .sb-import{padding:15px;margin:14px 0}
:is(.rt-brief,.cb-page) .sb-fine{margin-top:10px}
.domain-card .domain-intro{max-width:880px;margin:0 0 16px}
.domain-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:end}
.domain-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:14px}
.domain-actions [data-domain-check]{display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:46px;padding:11px 16px;border:1px solid #2b4830;border-radius:10px;background:#263f2d;color:#fff;font:700 13px/1.35 Onest,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.domain-actions [data-domain-check]:hover{background:#36583a}
.domain-actions [data-domain-check]:disabled{opacity:.65;cursor:wait}
.domain-actions [data-domain-check]:focus-visible{outline:3px solid #8caf6d;outline-offset:3px}
.domain-status{display:flex;flex-direction:column;gap:3px;flex:1 1 300px;padding:10px 13px;border:1px solid #dfd8c1;border-radius:10px;background:#f9f5e8;color:#6b624d;font:500 12px/1.45 Onest,system-ui,sans-serif}
.domain-status[hidden]{display:none!important}
.domain-status strong{display:flex;align-items:center;gap:7px;color:inherit;font-size:13px;line-height:1.3}
.domain-status strong:before{content:'•';font-size:19px;line-height:.8}
.domain-status[data-state=available]{border-color:#a7d49b;background:#e6f6df;color:#236a31}
.domain-status[data-state=registered]{border-color:#e6b9b4;background:#fff0ed;color:#a3362e}
.domain-status[data-state=checking]{border-color:#d8dfcc;background:#f1f5eb;color:#65765b}
.domain-card .domain-hint{margin-top:14px;color:#77866c;font-size:12px!important;line-height:1.55}
/* Картинка, кнопка и ввод капчи стоят на одной линии. */
.resto .rt-brief .cap{grid-template-columns:152px auto minmax(120px,220px);justify-content:start;align-items:end;gap:10px;max-width:610px;width:100%;padding:12px}
.resto .rt-brief .cap img{width:152px;max-width:100%;height:48px;aspect-ratio:auto;object-fit:fill}
.resto .rt-brief .cap [data-cap-new]{height:48px;min-height:48px;padding:10px 13px}
.resto .rt-brief .cap .fld{align-self:end;gap:5px}
.resto .rt-brief .cap .fld>span{margin:0;font-size:11px}
.resto .rt-brief .cap .fld input[name=code]{height:48px;min-height:48px;letter-spacing:.15em}
@media(max-width:760px){
 .resto:has(.rt-brief) .rt-shell{width:calc(100% - 36px)}
 .resto:has(.rt-brief) .rt-section{padding:34px 0 55px}
 .resto:has(.rt-brief) .rt-shell>h1,.resto .ix-brief-intro h1{font-size:30px;letter-spacing:-.7px}
 .resto .rt-brief{gap:13px;margin-top:20px}
 :is(.rt-brief,.cb-page) .sb-payment{padding:18px;margin:6px 0}
 :is(.rt-brief,.cb-page) .sb-grid:has(>.sb-field:nth-child(3):last-child){grid-template-columns:1fr}
 .domain-fields{grid-template-columns:1fr;gap:12px}
 .domain-actions{align-items:stretch;gap:10px}
 .domain-status{flex-basis:100%}
 .resto .rt-brief button[type=submit]{max-width:none}
}
@media(max-width:600px){
 .resto .rt-brief .cap{grid-template-columns:minmax(0,1fr) auto;gap:10px}
 .resto .rt-brief .cap img{width:152px;height:48px}
 .resto .rt-brief .cap .fld{grid-column:1/-1!important}
 .resto .rt-brief .cap [data-cap-new]{height:48px;min-height:48px}
}
