/* Approved visual pilot. Presentation only: routing, fields and actions remain
   in their existing renderers. Technical rows and form labels stay left aligned. */
body .property-summary {
  color:var(--TX);text-align:center;
  padding:22px 18px 18px!important;
}
body .property-summary .property-title {
  font-size:21px!important;font-weight:700!important;line-height:1.35!important;
  letter-spacing:-.3px;overflow-wrap:anywhere;text-align:center;
}
body .property-summary p,body .property-subtitle {
  font-size:12px!important;line-height:1.6!important;color:var(--MT);
  text-align:center;overflow-wrap:anywhere;
}
body .property-summary .property-price {
  color:var(--TX)!important;font-size:24px!important;font-weight:700!important;
  line-height:1.35!important;margin:12px 0 9px!important;letter-spacing:-.3px;
  text-align:center;font-variant-numeric:tabular-nums;
}
body .property-summary .property-updated {font-size:11px!important;line-height:1.6!important;}
body .property-estimate {background:var(--GL)!important;border:1px solid #D7EADF;box-shadow:none;}
body .property-estimate strong,body .property-estimate>div {
  color:var(--G)!important;font-size:12px!important;font-weight:600!important;
  line-height:1.6!important;text-align:center;
}
body .property-summary>.pill {margin-bottom:2px;}
body .property-summary>div:has(>.pill) {justify-content:center;}
body .property-detail>section {border-color:var(--BD)!important;}
body .property-detail section h2 {font-weight:700!important;line-height:1.45;}
body .buyer-type-select {min-height:66px;}
body .buyer-type-select>span:first-child {min-width:0;flex:1;}
body .buyer-type-select>span:first-child strong {line-height:1.45;overflow-wrap:anywhere;}
body .buyer-type-select>span:first-child small {font-size:11px;line-height:1.6;}
body .buyer-type-select>span:last-child {max-width:44%;line-height:1.5;font-variant-numeric:tabular-nums;text-align:right;}
body .buyer-type-row>button:last-child {min-height:44px;}
body .property-detail button[onclick="KentaraBuyerRevision.openPropertyCalculator()"] {
  background:#EEF5FD!important;color:#244E7D!important;border:1px solid #D1E1F3!important;
  min-height:44px;line-height:1.5;
}
/* Identity on property cards, including the horizontal recommendation strip,
   search/map result cards, recent views and saved/comparison type rows. */
body .cb2,body .lcard-b,body .rvcard>div:last-child,
body .favorite-row>div:nth-child(2),body .rev-selections li {text-align:center;}
body .device .pn {font-size:15px!important;font-weight:700;line-height:1.4;overflow-wrap:anywhere;text-align:center;}
body .pl {font-size:12px;line-height:1.6;overflow-wrap:anywhere;text-align:center;}
body .device .pp {font-size:18px!important;font-weight:700;line-height:1.4;color:var(--TX);font-variant-numeric:tabular-nums;text-align:center;}
body .pc {font-size:11px;line-height:1.6;background:var(--GL);color:var(--G);max-width:100%;white-space:normal;}
body .cb2 .specs,body .lcard-b .specs {justify-content:center;flex-wrap:wrap;}
body .device .home-properties .pp {font-size:18px!important;line-height:1.4;}
body .home-properties .home-fit {display:table;margin:8px auto 0;background:#EFF4F2;color:var(--TX);}
body .favorite-row {background:#fff;box-shadow:none;border:1px solid var(--BD);}
body .favorite-row>div:nth-child(2)>div {line-height:1.5;overflow-wrap:anywhere;}
body .favorite-row button {color:var(--R);}
body .bc-context {text-align:center;font-size:16px;line-height:1.4;overflow-wrap:anywhere;}
body .bc-picker-intro {text-align:center;}
/* The guide keeps its editorial hierarchy and existing accordion interactions. */
body .bc-guide {background:#fff;color:var(--TX);}
body .bc-guide-intro h1 {font-weight:700;letter-spacing:-.5px;}
body .bc-guide-intro p,body .bc-guide-summary p,
body .bc-stage-body>p,body .bc-stage-body dd,body .bc-stage-question p,
body .bc-guide-footer p {font-size:12px;line-height:1.7;}
body .bc-guide-tabs {border-bottom-color:var(--BD);}
body .bc-guide-tabs button[aria-pressed="true"] {color:var(--P);border-bottom-color:var(--P);}
body .bc-guide-note {border-left-color:#CBD8D2;color:var(--MT);}
body .bc-stage {border-color:var(--BD);}
body .bc-stage-trigger strong {font-weight:700;line-height:1.5;}
body .bc-stage-number,body .bc-stage-trigger small {color:var(--MT);}
body .bc-stage.is-open .bc-stage-number {color:var(--P);}
body .bc-stage-question {border-left-color:var(--P);}
body .bc-stage-question>span,body .bc-guide-link {color:var(--P);}
body .bc-guide-footer .btn {min-height:46px;box-shadow:none;}
/* Established panels share a flat surface without changing their geometry. */
body .buyer-profile-hero {background:#fff;border-color:var(--BD);box-shadow:var(--sh-s);}
body .buyer-avatar-stage {background:#EAF5F1;box-shadow:none;border:1px solid #D7E6DF;}
body .buyer-avatar-edit {background:var(--P);box-shadow:var(--sh-s);}
body .buyer-avatar-option.sel {box-shadow:0 0 0 2px #D7E6DF;}
body .buyer-avatar-hint {color:var(--MT);}
body .favorite-step {background:#F0F7F3;border-color:#D7E6DF;}
body .favorite-step.secondary {background:#fff;border-color:var(--BD);}
body .favorite-step small {color:var(--P);}
body .home-start {border-color:#D7E6DF;}
body .home-start .btn-p,body .fin-content .btn.btn-p,body .favorite-step .btn-p {
  background:var(--P)!important;box-shadow:none!important;
}
body .rev-error {background:var(--RL);color:var(--R);border:1px solid #F3C9C4;}
body .rev-selections li,body .rev-card {border-color:var(--BD);background:#fff;box-shadow:none;}
body .rev-field,body .inpl {color:var(--MT);}
body .fin-money-prefix {background:#F3F6F5;border-color:var(--BD);color:var(--MT);}
body .agc,body .ms,body .ghost-b {background:var(--P);box-shadow:var(--sh-s);}
body .agc .btn,body .ms .btn {box-shadow:none;}
body .note-a {color:#735319;background:var(--AL);border-left-color:var(--A);}
body .ni-i,body .ni-l {color:var(--MT);}
body .ni.on .ni-i {background:var(--PL);color:var(--P);}
body .ni.on .ni-l {color:var(--P);}
body .pill-a {color:#503C13;}
body .stepguide .sgstep {background:var(--PS);}
body .ck-c.lk {background:var(--BG);color:var(--MT);}
body .ck-c.ckd {background:var(--G);border-color:var(--G);}
body .tli:not(:last-child)::after {background:var(--BD);}
body .buyer-map-legend-trigger,body .buyer-map-legend {border-color:var(--BD);box-shadow:var(--sh-s);}
/* Follow-through screens use the same neutral controls as search and detail.
   The payment modes, checklist actions and progress states are preserved. */
body .pt,body .vtoggle {background:#F1F5F3;border:1px solid var(--BD);box-shadow:none;}
body .ptb {min-height:44px;padding:10px 6px;display:grid;place-items:center;font-size:11px;font-weight:600;line-height:1.45;}
body .ptb.on,body .vtb.on {background:#fff;color:var(--P);box-shadow:0 1px 3px rgba(38,59,53,.06);}
body .sortb {background:#F1F5F3;box-shadow:none;}
body .sortb.on {background:var(--P);color:#fff;box-shadow:none;}
body .pstage {min-height:44px;border-bottom-color:var(--BD);gap:10px;}
body .pstage>span:nth-child(2) {line-height:1.5;overflow-wrap:anywhere;}
body .ps-a {background:var(--P);box-shadow:0 0 0 3px var(--PL);}
body .ps-p {background:#D9E2DD;}
body .ck {min-height:44px;border-color:var(--BD);}
body .ck>div:last-child {min-width:0;}
body .ck-t {font-size:12px;line-height:1.6;}
body .ck-s {font-size:11px;line-height:1.6;}
body .ag-r>div[onclick] {min-width:0;overflow-wrap:anywhere;}
body .ag-st {line-height:1.5;font-weight:600;}
body .bopt {border-width:1px;box-shadow:none;line-height:1.5;}
body .bopt>span:nth-child(2) {min-width:0;overflow-wrap:anywhere;}

/* Financial answers and results remain readable without decorative gradients. */
body .fin-content {background:#fff;}
body .fin-content h1 {font-weight:700;letter-spacing:-.4px;}
body .fin-content p,body .fin-options small,body .fin-results dt {color:var(--MT);}
body .fin-money,body .fin-input {border-color:var(--BD);}
body .fin-money>span {color:var(--MT);font-size:13px;}
body .fin-money input,body .fin-input {color:var(--TX);font-variant-numeric:tabular-nums;}
body .fin-field,body .fin-options legend {color:var(--TX);font-weight:600;line-height:1.5;}
body .fin-options label {line-height:1.6;}
body .fin-result-summary {background:var(--PS);border:1px solid #D7E6DF;box-shadow:none;}
body .fin-result-summary h1 {color:var(--TX);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
body .fin-results dd {color:var(--TX);font-size:18px;font-weight:700;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
body .fin-results dt small {display:block;font-size:11px;line-height:1.5;margin-top:2px;}

/* Legacy local-launcher DBR cards and image fallbacks retain their meaning. */
body .kp-dbr-card {background:#fff;color:var(--TX);border:1px solid var(--BD);box-shadow:var(--sh-s);}
body .kp-dbr-ready {background:var(--PS);border-color:#D7E6DF;}
body .kp-dbr-card::after {opacity:0;}
body .kp-dbr-symbol,body .kp-dbr-ready .kp-dbr-symbol {background:var(--P);color:#fff;box-shadow:none;}
body .kp-dbr-copy span,body .kp-dbr-ready .kp-dbr-copy span {color:var(--MT);font-weight:600;}
body .kp-dbr-copy b {line-height:1.5;font-weight:700;}
body .kp-dbr-copy p,body .kp-dbr-ready .kp-dbr-copy p {color:var(--MT);line-height:1.6;}
body .kp-dbr-arrow {color:var(--P);font-weight:600;}
body .agent-photo-fallback {background:#EAF2EE;color:var(--P);font-weight:700;}
body .ni-it {box-shadow:none;border-top:1px solid var(--BD);border-right:1px solid var(--BD);border-bottom:1px solid var(--BD);}

/* Retry is informational; removing a favorite or alarm remains a danger action. */
body .favorite-row button[onclick^="KentaraBuyerRevision.reloadTypes"] {color:var(--kentara-info-text);text-decoration:underline;text-underline-offset:3px;}
body button[onclick^="KentaraBuyerRevision.removeAlarm"] {color:var(--R);}
body .empty {color:var(--MT);line-height:1.65;overflow-wrap:anywhere;}
body .empty strong {display:block;color:var(--TX);font-size:16px;font-weight:700;line-height:1.45;}
body .empty p {font-size:12px;line-height:1.65;}
body .empty .btn {margin-top:12px;}
body .rev-notice {line-height:1.65;overflow-wrap:anywhere;}
/* Account and simulation screens are rendered through styledScreen(), so scope
   these rules to their existing fields rather than the earlier rev-body wrapper. */
body .scroll:has(> :is(#rev-phone,#rev-otp))>h1 {font-size:22px;font-weight:700;line-height:1.4;letter-spacing:-.4px;margin:8px 0 12px;}
body .scroll:has(> :is(#rev-phone,#rev-otp))>p {font-size:12px;color:var(--MT);line-height:1.7;margin:10px 0 16px;overflow-wrap:anywhere;}
body .scroll:has(> :is(#rev-phone,#rev-otp,#rev-name))>.btn {margin-top:12px;}
body .scroll:has(> #rev-name)>fieldset {min-width:0;margin:18px 0;border:1px solid var(--BD);border-radius:12px;padding:12px;}
body .scroll:has(> #rev-name)>fieldset>legend {padding:0 6px;color:var(--TX);font-size:12px;font-weight:600;line-height:1.5;}
body .scroll:has(> #rev-name)>fieldset>.btn {margin:6px 0;font-size:12px;}
body #rev-otp {font-variant-numeric:tabular-nums;letter-spacing:.15em;}
body .rev-field {line-height:1.5;}
body .sheet.rev-body>h2 {font-size:18px;line-height:1.4;font-weight:700;letter-spacing:-.3px;margin:14px 0 12px;overflow-wrap:anywhere;}
body .sheet.rev-body>p {color:var(--MT);font-size:12px;line-height:1.7;overflow-wrap:anywhere;}
body .sheet.rev-body>p>strong {color:var(--TX);font-weight:600;}
body .sheet textarea.inp {line-height:1.6;resize:vertical;}
body .device .sheet button[onclick="KentaraBuyerRevision.erase()"] {background:var(--R)!important;color:#fff!important;border-color:var(--R)!important;}
body [onclick^="KentaraBuyerRevision.account"]>div {min-width:0;line-height:1.6;overflow-wrap:anywhere;}

/* Existing two-column comparison and its financial/technical rows stay in place.
   Center the property identity while allowing exact denominations to wrap. */
body .scroll:has(>div>article)>section:first-child {background:var(--P)!important;box-shadow:none!important;}
body .scroll:has(>div>article)>section:first-child>div:first-child {font-size:10px!important;font-weight:600!important;line-height:1.5;opacity:.9!important;}
body .scroll:has(>div>article)>section:first-child>div:nth-child(2) {font-weight:700!important;line-height:1.45!important;overflow-wrap:anywhere;}
body .scroll:has(>div>article)>section:first-child>div:last-child {font-size:11px!important;line-height:1.6!important;opacity:.9!important;}
body .scroll:has(>div>article)>div>article {border-color:var(--BD)!important;box-shadow:none!important;}
body .scroll:has(>div>article)>div>article>div:last-child {text-align:center;}
body .scroll:has(>div>article)>div>article>div:last-child>div {overflow-wrap:anywhere;line-height:1.5!important;}
body .scroll:has(>div>article)>div>article>div:last-child>div:first-child {font-size:10px!important;letter-spacing:.3px!important;font-weight:600!important;}
body .scroll:has(>div>article)>div>article>div:last-child>div:nth-child(2) {font-size:13px!important;font-weight:700!important;}
body .scroll:has(>div>article)>div>article>div:last-child>div:nth-child(3),
body .scroll:has(>div>article)>div>article>div:last-child>div:last-child {font-size:11px!important;}
body .scroll:has(>div>article)>div>article>div:last-child>div:nth-child(4) {font-weight:700!important;font-variant-numeric:tabular-nums;}
body .scroll:has(>div>article)>section:not(:first-child)>div:first-child>div:last-child {font-size:11px!important;line-height:1.6;}
body .scroll:has(>div>article)>section:not(:first-child)>div:last-child>div {grid-template-columns:84px minmax(0,1fr) minmax(0,1fr)!important;}
body .scroll:has(>div>article)>section:not(:first-child)>div:last-child>div>div {min-width:0;line-height:1.6!important;overflow-wrap:anywhere;}
body .scroll:has(>div>article)>section:not(:first-child)>div:last-child>div>div:first-child {font-size:10px!important;font-weight:600!important;}
body .scroll:has(>div>article)>section:not(:first-child)>div:last-child>div>div:not(:first-child) {font-size:11px!important;font-weight:600!important;font-variant-numeric:tabular-nums;}

/* Match the remaining legacy history card and detailed specification identity. */
body .scroll>section[style*="#FBF3EC"] {background:#fff!important;border-color:var(--BD)!important;box-shadow:none!important;}
body .scroll:has(>button[onclick="go('denah')"])>div:first-child {text-align:center;font-size:21px!important;font-weight:700!important;line-height:1.4;letter-spacing:-.3px;overflow-wrap:anywhere;}
body .ir {gap:12px;border-color:var(--BD);align-items:flex-start;}
body .ir .ik,body .ir .iv {min-width:0;line-height:1.6;overflow-wrap:anywhere;}
body .ir .iv {text-align:right;font-variant-numeric:tabular-nums;}

/* Before a PIC accepts, Diary offers one clear next step instead of inactive
   progress controls. The accepted consultation keeps the existing layout. */
body .diary-before-pic {padding:24px 16px;}
body .diary-start-card {padding:24px 20px;background:#fff;border:1px solid var(--BD);border-radius:14px;box-shadow:none;}
body .diary-start-icon {display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-bottom:20px;background:var(--PS);color:var(--P);border-radius:12px;}
body .diary-start-status {display:inline-block;color:var(--MT);font-size:11px;font-weight:600;line-height:1.5;}
body .diary-start-card h1 {margin:8px 0 10px;color:var(--TX);font-size:22px;line-height:1.35;font-weight:700;letter-spacing:-.4px;overflow-wrap:anywhere;}
body .diary-start-card p {margin:0 0 24px;color:var(--MT);font-size:13px;line-height:1.7;overflow-wrap:anywhere;}
body .diary-start-card p.rev-error {color:var(--R);margin-bottom:16px;}
body .diary-start-card .btn {min-height:44px;white-space:normal;line-height:1.5;}
body .diary-start-card .diary-start-secondary {margin-top:8px;}
@media(max-width:350px) {
  body .property-summary {padding:20px 16px 16px!important;}
  body .property-summary .property-title {font-size:20px!important;}
  body .property-summary .property-price {font-size:23px!important;}
  body .buyer-type-select {gap:8px!important;padding:11px!important;}
  body .favorite-row {gap:8px!important;padding:10px!important;}
  body .favorite-row .pm-img {width:54px;height:72px;}
  body .favorite-row>div:nth-child(2)>div {font-size:12px!important;}
}
