/* RemontCheck · Paczka 2 · Zapytanie i jawny wybór odbiorców.
   Load after rc-foundation-p1.css. All presentation is scoped to this page.
   Visibility, selection limits and confirmed delivery are owned by JS/API. */

body.rc-request-p2 {
  --p2-paper: var(--p1-paper, #f8f6f2);
  --p2-surface: var(--p1-surface, #fff);
  --p2-ink: var(--p1-ink, #292925);
  --p2-muted: var(--p1-muted, #65645e);
  --p2-line: var(--p1-line, #e3ded5);
  --p2-orange: var(--p1-orange, #b74417);
  --p2-orange-hover: var(--p1-orange-hover, #963710);
  --p2-tint: var(--p1-tint, #fff0e7);
  --p2-green: #315c43;
  --p2-green-tint: #edf4ed;
  background: var(--p2-paper);
  color: var(--p2-ink);
}
body.rc-request-p2 [hidden] { display:none !important; }
body.rc-request-p2 .flow-shell {
  max-width:1240px;
  padding:52px 28px 88px;
  grid-template-columns:minmax(0,.74fr) minmax(0,1.26fr);
  gap:56px;
}
body.rc-request-p2 .flow-intro { padding:24px 0 0; top:112px; }
body.rc-request-p2 .section-kicker,
body.rc-request-p2 .form-head>span,
body.rc-request-p2 .p2-eyebrow {
  color:var(--p2-orange-hover);
  font-size:11px;
  font-weight:800;
  letter-spacing:.1em;
  line-height:1.6;
  text-transform:uppercase;
}
body.rc-request-p2 .flow-intro h1 {
  font-family:inherit;
  font-size:clamp(34px,3.5vw,48px);
  line-height:1.16;
  letter-spacing:-.045em;
  margin:16px 0 22px;
}
body.rc-request-p2 .flow-intro>p { font-size:16px; line-height:1.8; color:var(--p2-muted); }
body.rc-request-p2 .flow-trust { display:grid; gap:20px; margin-top:36px; }
body.rc-request-p2 .flow-trust>div { gap:13px; align-items:center; }
body.rc-request-p2 .flow-trust b {
  flex:0 0 32px;
  width:32px;
  height:32px;
  background:var(--p2-surface);
  border:1px solid var(--p2-line);
  color:var(--p2-orange-hover);
  font-size:13px;
}
body.rc-request-p2 .flow-trust span { font-size:14px; font-weight:650; line-height:1.5; }
body.rc-request-p2 .form-card {
  min-width:0;
  padding:0;
  border:1px solid var(--p2-line);
  border-radius:20px;
  background:var(--p2-surface);
  box-shadow:0 8px 32px rgb(47 38 23 / 4%);
  overflow:visible;
}
body.rc-request-p2 .form-card form { padding:32px; }
body.rc-request-p2 .form-card>.ux-card {
  margin:32px 32px 0;
  padding:18px 20px;
  border:1px solid var(--p2-line);
  border-radius:12px;
  background:var(--p2-paper);
  box-shadow:none;
  color:var(--p2-ink);
  font-size:14px;
  line-height:1.7;
}
body.rc-request-p2 .form-card>.ux-card :is(h2,h3) { margin:0 0 8px; font-family:inherit; font-size:17px; line-height:1.4; }
body.rc-request-p2 .form-card>.ux-card p { margin:8px 0 14px; color:var(--p2-muted); }
body.rc-request-p2 .form-card>.ux-card :is(a.btn,button) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 15px;
  border:1px solid var(--p2-orange);
  border-radius:10px;
  background:var(--p2-orange);
  color:#fff;
  font-family:inherit;
  font-size:13px;
  font-weight:750;
  line-height:1.5;
  text-decoration:none;
}
body.rc-request-p2 .form-head { padding-bottom:24px; margin-bottom:26px; border-color:var(--p2-line); }
body.rc-request-p2 .form-head h2,
body.rc-request-p2 .success-state h2,
body.rc-request-p2 .p2-picker-head h2 {
  margin:8px 0 12px;
  color:var(--p2-ink);
  font-family:inherit;
  font-size:clamp(25px,2.4vw,32px);
  line-height:1.25;
  letter-spacing:-.035em;
}
body.rc-request-p2 .form-head p { font-size:14px; color:var(--p2-muted); line-height:1.7; }
body.rc-request-p2 .form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 18px; }
body.rc-request-p2 .form-grid label { min-width:0; gap:8px; }
body.rc-request-p2 .form-grid label>span:first-child { font-size:13px; font-weight:700; line-height:1.5; }
body.rc-request-p2 .form-grid :is(input,select,textarea) {
  min-width:0;
  max-width:100%;
  min-height:48px;
  padding:12px 13px;
  border:1px solid #c9c1b5;
  border-radius:10px;
  background:var(--p2-surface);
  color:var(--p2-ink);
  font-family:inherit;
  font-size:16px;
  line-height:1.5;
}
body.rc-request-p2 .form-grid :is(input,textarea)::placeholder { color:#76746e; opacity:1; }
body.rc-request-p2 .form-grid :is(input,select,textarea):focus { border-color:var(--p2-orange); outline-color:var(--p2-orange); }
body.rc-request-p2 .form-grid textarea { min-height:142px; }
body.rc-request-p2 .unit-field b { color:var(--p2-muted); top:12px; font-size:15px; }
body.rc-request-p2 .unit-field input { padding-right:48px; }
body.rc-request-p2 #agd-fields { border-color:var(--p2-line); border-radius:12px; padding:18px; background:var(--p2-paper); }
body.rc-request-p2 #agd-fields legend { padding:0 6px; color:var(--p2-ink); font-size:14px; font-weight:750; }
body.rc-request-p2 #agd-fields label { font-size:13px; font-weight:700; }
body.rc-request-p2 #agd-fields :is(input,select) { margin-top:7px; font-weight:400; }
body.rc-request-p2 #agd-fields p { color:var(--p2-muted); font-size:13px; }
body.rc-request-p2 .contact-section { margin:28px 0 22px; padding:22px; border-radius:12px; background:var(--p2-paper); }
body.rc-request-p2 .contact-section h3 { font-size:17px; margin:0 0 20px; }
body.rc-request-p2 :is(.consent,.p2-consent) { display:flex; align-items:flex-start; gap:11px; font-size:13px; line-height:1.65; color:var(--p2-muted); }
body.rc-request-p2 :is(.consent,.p2-consent)>input,
body.rc-request-p2 .p2-company>input {
  appearance:auto;
  flex:0 0 20px;
  width:20px;
  height:20px;
  min-height:20px;
  margin:2px 0 0;
  accent-color:var(--p2-orange);
  cursor:pointer;
}
body.rc-request-p2 :is(.consent,.p2-consent) a { color:var(--p2-orange-hover); }
body.rc-request-p2 .form-actions { gap:18px; margin-top:28px; }
body.rc-request-p2 .form-actions>a { color:var(--p2-muted); font-size:13px; line-height:1.5; }
body.rc-request-p2 :is(.form-actions button,.p2-send-button) {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:48px;
  padding:13px 22px;
  border:1px solid var(--p2-orange);
  border-radius:11px;
  background:var(--p2-orange);
  color:#fff;
  font-family:inherit;
  font-size:14px;
  font-weight:750;
  line-height:1.5;
  cursor:pointer;
}
body.rc-request-p2 :is(.form-actions button,.p2-send-button):hover:not(:disabled) { background:var(--p2-orange-hover); border-color:var(--p2-orange-hover); }
body.rc-request-p2 :is(button,input):disabled { cursor:not-allowed; }
body.rc-request-p2 :is(.form-actions button,.p2-send-button,.p2-secondary):disabled { opacity:.55; }
body.rc-request-p2 :is(.form-error,.p2-error) { background:#fff1eb; color:#913914; border:1px solid #efd2c3; border-radius:10px; padding:14px 16px; font-size:14px; line-height:1.65; }
body.rc-request-p2 :is(a,button,input,select,textarea):focus-visible { outline:3px solid var(--p2-orange-hover); outline-offset:4px; }

/* Saving the inquiry opens a full-width, explicit recipient selection step. */
body.rc-request-p2.p2-saved .flow-shell { max-width:1100px; grid-template-columns:minmax(0,1fr); gap:28px; }
body.rc-request-p2.p2-saved .flow-intro { position:static; padding:0; }
body.rc-request-p2.p2-saved .flow-intro h1 { font-size:clamp(30px,3.2vw,40px); margin:12px 0; }
body.rc-request-p2.p2-saved .flow-intro h1 br { display:none; }
body.rc-request-p2.p2-saved .flow-intro>p { max-width:740px; margin:0; }
body.rc-request-p2.p2-saved .flow-trust { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:24px; }
body.rc-request-p2 .success-state { padding:32px; text-align:left; }
body.rc-request-p2 .success-state>h2 { margin-bottom:12px; }
body.rc-request-p2 .success-state>p { margin:10px 0; }
body.rc-request-p2 .success-state>span { color:var(--p2-green); }
body.rc-request-p2 .success-state>div:first-child:not(.p2-picker) { width:44px; height:44px; margin:0 0 16px; font-size:21px; color:var(--p2-green); background:var(--p2-green-tint); }
body.rc-request-p2 .success-state p { color:var(--p2-muted); font-size:14px; line-height:1.7; }
body.rc-request-p2 .success-state a { margin:0; }
body.rc-request-p2 .success-state #open-inquiry-offers { margin-top:10px; background:var(--p2-orange); font-family:inherit; font-size:14px; }
body.rc-request-p2 .success-state>p>a { background:none; border:0; padding:0; color:var(--p2-orange-hover); font-family:inherit; font-size:13px; text-decoration:underline; }
body.rc-request-p2 .success-state>.p2-picker,
body.rc-request-p2 .p2-picker {
  display:block;
  width:auto;
  height:auto;
  margin:28px 0 0;
  padding:28px 0 0;
  border:0;
  border-top:1px solid var(--p2-line);
  border-radius:0;
  background:transparent;
  color:var(--p2-ink);
  font-size:14px;
  text-align:left;
}
body.rc-request-p2 .p2-picker-head { margin-bottom:22px; }
body.rc-request-p2 .p2-picker-head h2 { font-size:clamp(23px,2.6vw,29px); }
body.rc-request-p2 .p2-picker-head p { max-width:720px; margin:8px 0 0; }
body.rc-request-p2 .p2-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:0 0 24px; padding:20px; border:1px solid var(--p2-line); border-radius:12px; background:var(--p2-paper); }
body.rc-request-p2 .p2-summary div { min-width:0; }
body.rc-request-p2 .p2-summary dt { margin:0 0 5px; color:var(--p2-muted); font-size:12px; font-weight:500; }
body.rc-request-p2 .p2-summary dd { margin:0; color:var(--p2-ink); font-size:14px; font-weight:750; line-height:1.5; overflow-wrap:anywhere; }
body.rc-request-p2 :is(.p2-status,.p2-progress,.p2-feedback) { margin:18px 0; padding:14px 16px; border:1px solid var(--p2-line); border-radius:10px; background:var(--p2-paper); color:var(--p2-muted); font-size:14px; line-height:1.7; }
body.rc-request-p2 .p2-success { margin:20px 0 28px; padding:18px 20px; border:1px solid #cddfcf; border-radius:12px; background:var(--p2-green-tint); color:var(--p2-green); }
body.rc-request-p2 .p2-success :is(p,h3,strong) { color:var(--p2-green); }
body.rc-request-p2 .p2-success h3 { margin:0 0 16px; font-size:17px; line-height:1.5; }
body.rc-request-p2 .p2-success p:last-child { margin-bottom:0; font-size:12px; }
body.rc-request-p2 .p2-progress { border-style:dashed; }
body.rc-request-p2 .p2-recipient-list { margin:14px 0 22px; padding:0; list-style:none; }
body.rc-request-p2 .p2-recipient-list li { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:6px 20px; padding:12px 0; border-bottom:1px solid #d5e1d5; color:var(--p2-green); font-size:14px; line-height:1.65; }
body.rc-request-p2 .p2-recipient-list li:first-child { padding-top:0; }
body.rc-request-p2 .p2-recipient-list li:last-child { border-bottom:0; padding-bottom:0; }
body.rc-request-p2 .p2-recipient-list :is(small,time) { font-size:12px; }
body.rc-request-p2 .p2-match-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:20px 0 24px; }
body.rc-request-p2 .p2-company {
  display:flex;
  gap:14px;
  align-items:flex-start;
  min-width:0;
  margin:0;
  padding:20px;
  border:1px solid var(--p2-line);
  border-radius:14px;
  background:var(--p2-surface);
  cursor:pointer;
  transition:border-color .15s ease,background-color .15s ease;
}
body.rc-request-p2 .p2-company:hover { border-color:#b2a695; background:#fcfaf7; }
body.rc-request-p2 .p2-company.is-selected { border-color:var(--p2-orange); background:var(--p2-tint); box-shadow:inset 0 0 0 1px var(--p2-orange); }
body.rc-request-p2 .p2-company:focus-within { outline:3px solid var(--p2-orange-hover); outline-offset:3px; }
body.rc-request-p2 .p2-company-body { flex:1; min-width:0; }
body.rc-request-p2 .p2-company :is(h3,.p2-company-name) { display:block; margin:0 0 4px; font-family:inherit; font-size:16px; font-weight:750; letter-spacing:-.015em; line-height:1.45; overflow-wrap:anywhere; }
body.rc-request-p2 .p2-company .p2-location { display:block; margin:0 0 12px; color:var(--p2-muted); font-size:12px; line-height:1.6; }
body.rc-request-p2 .p2-company .p2-reason { display:block; margin:10px 0 0; padding-top:11px; border-top:1px solid var(--p2-line); color:var(--p2-ink); font-size:13px; line-height:1.65; }
body.rc-request-p2 .p2-company .p2-availability { display:block; margin:8px 0 0; color:var(--p2-muted); font-size:12px; line-height:1.6; }
body.rc-request-p2 .p2-empty { margin:20px 0; padding:28px; border:1px dashed #c9c1b5; border-radius:14px; background:var(--p2-paper); color:var(--p2-muted); line-height:1.7; }
body.rc-request-p2 .p2-empty h3 { margin:0 0 8px; color:var(--p2-ink); font-size:18px; }
body.rc-request-p2 .p2-empty>strong { display:block; color:var(--p2-ink); font-size:16px; line-height:1.5; }
body.rc-request-p2 .p2-empty p { margin:8px 0; }
body.rc-request-p2 .p2-tools { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:16px 0; }
body.rc-request-p2 .p2-tools>p { flex:1 1 240px; margin:0; font-size:12px; line-height:1.6; }
body.rc-request-p2 :is(.p2-secondary,.p2-tools button,.p2-tools a) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 16px;
  border:1px solid #c9c1b5;
  border-radius:10px;
  background:var(--p2-surface);
  color:var(--p2-ink);
  font-family:inherit;
  font-size:13px;
  font-weight:700;
  line-height:1.5;
  text-decoration:none;
  cursor:pointer;
}
body.rc-request-p2 :is(.p2-secondary,.p2-tools button,.p2-tools a):hover:not(:disabled) { background:var(--p2-paper); border-color:#b2a695; color:var(--p2-ink); }
body.rc-request-p2 .p2-send-panel { margin-top:24px; padding:24px; border:1px solid var(--p2-line); border-radius:14px; background:var(--p2-paper); }
body.rc-request-p2 .p2-send-panel .p2-consent { color:var(--p2-ink); }
body.rc-request-p2 .p2-selected-summary { margin:0 0 18px; color:var(--p2-ink); font-size:15px; font-weight:750; line-height:1.6; }
body.rc-request-p2 .p2-send-panel .p2-send-button { margin-top:20px; }
body.rc-request-p2 .p2-send-panel .p2-feedback { margin-bottom:0; background:var(--p2-surface); }
body.rc-request-p2 .p2-picker>.p2-tools:last-child { margin:24px 0 20px; padding-top:20px; border-top:1px solid var(--p2-line); }

@media(max-width:980px) {
  body.rc-request-p2 .flow-shell { gap:28px; grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); padding-left:22px; padding-right:22px; }
  body.rc-request-p2 .flow-intro h1 { font-size:36px; }
  body.rc-request-p2 .form-card form { padding:26px; }
  body.rc-request-p2 .form-card>.ux-card { margin:26px 26px 0; }
}
@media(max-width:860px) {
  body.rc-request-p2 .flow-shell { grid-template-columns:minmax(0,1fr); padding-top:28px; }
  body.rc-request-p2 .flow-intro { position:static; padding:0; }
  body.rc-request-p2 .flow-intro h1 { max-width:620px; font-size:clamp(32px,5vw,42px); }
  body.rc-request-p2 .flow-intro>p { max-width:620px; margin-bottom:0; }
  body.rc-request-p2 .flow-trust { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:22px; }
  body.rc-request-p2 .flow-trust>div { align-items:flex-start; gap:9px; }
  body.rc-request-p2 .flow-trust span { font-size:12px; }
  body.rc-request-p2 .flow-trust b { flex-basis:27px; width:27px; height:27px; font-size:12px; }
  body.rc-request-p2 .form-grid .wide { grid-column:1/-1; }
}
@media(max-width:600px) {
  body.rc-request-p2 .flow-shell { gap:24px; padding:24px 16px 56px; }
  body.rc-request-p2 .flow-intro h1 { font-size:33px; }
  body.rc-request-p2 .flow-intro>p { font-size:14px; line-height:1.75; }
  body.rc-request-p2 .flow-trust,
  body.rc-request-p2.p2-saved .flow-trust { grid-template-columns:minmax(0,1fr); gap:10px; margin-top:20px; }
  body.rc-request-p2 .flow-trust>div { align-items:center; }
  body.rc-request-p2 .flow-trust span { font-size:13px; }
  body.rc-request-p2 .form-card { border-radius:16px; }
  body.rc-request-p2 .form-card form,
  body.rc-request-p2 .success-state { padding:24px 18px; }
  body.rc-request-p2 .form-card>.ux-card { margin:18px 18px 0; padding:16px; }
  body.rc-request-p2 .form-head { padding-bottom:20px; margin-bottom:22px; }
  body.rc-request-p2 .form-head h2 { font-size:26px; }
  body.rc-request-p2 .form-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
  body.rc-request-p2 .contact-section { padding:18px 14px; margin-top:24px; }
  body.rc-request-p2 .form-actions { flex-direction:column-reverse; align-items:stretch; gap:18px; }
  body.rc-request-p2 .form-actions>a { text-align:center; }
  body.rc-request-p2 .form-actions button { width:100%; }
  body.rc-request-p2 .p2-summary { grid-template-columns:minmax(0,1fr); gap:14px; padding:16px; }
  body.rc-request-p2 .p2-summary>div+div { padding-top:12px; border-top:1px solid var(--p2-line); }
  body.rc-request-p2 .p2-match-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  body.rc-request-p2 .p2-company { padding:17px 15px; gap:12px; }
  body.rc-request-p2 .p2-send-panel { padding:18px 15px; }
  body.rc-request-p2 .p2-send-button { width:100%; }
  body.rc-request-p2 .p2-empty { padding:20px 16px; }
  body.rc-request-p2 .p2-tools { gap:9px; }
  body.rc-request-p2 .p2-tools>:is(a,button) { flex:1 1 150px; }
  body.rc-request-p2 .p2-tools>p { flex-basis:100%; }
}
@media(prefers-reduced-motion:reduce) {
  body.rc-request-p2 .p2-company { transition:none; }
}
