.agency-body{--agency-border:#f37024;--agency-strong:#000257;--agency-muted:#566783}
.agency-hero:after{background:linear-gradient(90deg,rgba(5,20,41,.18),rgba(6,29,57,.9))}
.agency-hero .hero-inner{justify-content:center}
.agency-hero .hero-inner .agency-search{width:min(650px,60%);height:56px;margin-top:16px}
.agency-search-input{width:100%;height:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font:inherit}
.agency-search-input::placeholder{color:var(--muted)}
.agency-page{padding:32px 0 48px;background:var(--page-bg)}
.agency-shell{padding:32px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.agency-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.72fr);gap:22px;align-items:start}
.agency-form-panel,.agency-attention{border-radius:10px;background:var(--surface)}
.agency-form-panel{padding:28px;border:1px solid var(--line)}
.agency-form-heading h2{margin:0;color:var(--ink);font-size:1.55rem;line-height:1.4}
.agency-form-heading p{margin:4px 0 0;color:var(--muted);font-size:.9rem;line-height:1.75}
.agency-form{display:grid;grid-template-columns:1fr;gap:16px;margin-top:26px}
.agency-field{display:flex;flex-direction:column;gap:7px}
.agency-field-full,.agency-submit-row{grid-column:1/-1}
.agency-field label{color:var(--ink);font-size:.92rem;font-weight:700}
.agency-field input,.agency-field select{width:100%;min-height:50px;padding:0 14px;border:1px solid #cbd7e9;border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;transition:border-color .18s,box-shadow .18s}
.agency-phone-input{direction:ltr;text-align:right;unicode-bidi:plaintext}
.agency-field input:focus,.agency-field select:focus{border-color:var(--navy);box-shadow:0 0 0 3px #00025712;outline:none}
.agency-submit-row{display:flex;align-items:center;gap:14px;margin-top:4px}
.agency-submit{min-width:150px;min-height:50px;padding:0 28px;border:1px solid var(--orange);border-radius:8px;background:var(--orange);color:#fff;font:700 1rem Peyda,Tahoma,sans-serif;cursor:pointer;transition:background .18s,box-shadow .18s,transform .18s}
.agency-submit:hover,.agency-submit:focus-visible{background:#e65f18;box-shadow:0 9px 22px #f3702433;transform:translateY(-2px);outline:none}
.agency-status{color:#18794e;font-weight:700}
.agency-attention{padding:24px;border:1px solid var(--agency-border);box-shadow:0 12px 30px #f3702412}
.agency-attention-copy{margin:0;color:var(--agency-muted);font-size:.96rem;line-height:2.1}
.agency-attention-copy+.agency-attention-copy{margin-top:16px}
[data-theme=dark] .agency-body{--agency-muted:#c7d2e5}
[data-theme=dark] .agency-shell{box-shadow:0 0 0 1px #ffffff08}
[data-theme=dark] .agency-field input,[data-theme=dark] .agency-field select{border-color:#53627c}
[data-theme=dark] .agency-status{color:#8ad5ad}
@media(max-width:900px){
  .agency-layout{grid-template-columns:1fr}
  .agency-attention{order:-1}
  .agency-hero .hero-inner .agency-search{width:100%}
}
@media(max-width:560px){
  .agency-page{padding:10px 0 32px}
  .agency-shell{width:calc(100% - 16px);padding:16px 12px 22px;border-radius:10px}
  .agency-form-panel,.agency-attention{padding:18px}
  .agency-form-heading h2{font-size:1.2rem}
  .agency-form{grid-template-columns:1fr;gap:13px;margin-top:21px}
  .agency-field-full,.agency-submit-row{grid-column:auto}
  .agency-submit-row{align-items:stretch;flex-direction:column}
  .agency-submit{width:100%}
  .agency-status{text-align:center}
  .agency-attention-copy{font-size:.9rem;line-height:1.9}
  .agency-hero .hero-inner .agency-search{height:48px}
}
