/* A single, compact reading order on both desktop and mobile. */
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .birth-heading-row{width:100%;max-width:720px;margin:0 auto 32px;align-items:center}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .birth-heading-row .jade-heading p{display:none}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form{--form-rail:112px;--form-gap:12px;max-width:520px;display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-inline:auto}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form>.birth-field-group,
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form>.identity-fields{grid-column:1;grid-row:auto;margin:0;padding:0}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form>:is(.identity-fields,.inline-time-fields){display:grid;width:100%;max-width:none;grid-template-columns:32px minmax(0,1fr) var(--form-rail);gap:var(--form-gap);align-items:center}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form .identity-fields>label{display:contents}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form .identity-fields>label>span{grid-column:1;grid-row:1;font-size:0;line-height:22px}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form .identity-fields>label>span:after{content:'姓名';font-size:14px}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form #birth-name{width:100%;min-width:0;max-width:100%;grid-column:2;grid-row:1}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form .gender-fields{width:100%;max-width:none;grid-column:3;grid-row:1;align-self:center;justify-self:stretch}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form .gender-fields:before{display:none}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form .gender-fields .choice-pair{border-color:#b5a27b}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form .inline-date-fields,
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form>.place-fields{display:grid;grid-template-columns:32px minmax(0,1fr);gap:var(--form-gap);align-items:center}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form :is(.date-caption,.time-caption,.place-caption){grid-column:1;grid-row:1;line-height:22px}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form .date-controls{grid-column:2;grid-row:1;gap:var(--form-gap)}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form .time-row{grid-column:2;grid-row:1}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form .inline-time-fields .inline-check{grid-column:3;grid-row:1;position:static;min-height:44px;height:44px;margin:0;padding:0;justify-self:start;font-size:12px;white-space:nowrap}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form .inline-place-fields{display:contents}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form .place-row{grid-column:2;grid-row:1;width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form .place-row.single-place{grid-template-columns:repeat(2,minmax(0,1fr))}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form :is(.date-row,.place-row).joined-controls{gap:var(--form-gap);border:0;background:transparent;overflow:visible;box-shadow:none}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form :is(.date-row,.place-row).joined-controls>label{min-width:0;margin:0;border:1px solid #b5a27b;border-radius:4px;background:#fbfaf3;overflow:visible}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form :is(.date-row,.place-row).joined-controls>label:focus-within{border-color:#53765c}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form :is(.date-row,.place-row).joined-controls>label:has(select:disabled){background:#edf0e8;border-color:#c5cbbd}
.celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form>.submit{grid-column:1;grid-row:auto;margin:12px 0 0;width:260px;max-width:100%;justify-self:center}
@media(max-width:680px){
 .celestial-site.celestial-palace .workspace>#birth-form.jade-form .birth-heading-row{margin-bottom:24px}
 .celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form{--form-rail:96px;--form-gap:8px;gap:12px}
 .celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form>:is(.identity-fields,.inline-time-fields){grid-template-columns:28px minmax(0,1fr) var(--form-rail)}
 .celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form .inline-date-fields,
 .celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form>.place-fields{grid-template-columns:28px minmax(0,1fr)}
 .celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form>.submit{margin-top:12px}
}
@media(max-width:360px){
 .celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form{--form-gap:6px}
 .celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form .date-controls{grid-template-columns:54px minmax(0,1fr)}
 .celestial-site.celestial-palace .workspace>#birth-form.jade-form .compact-birth-form .birth-picker-trigger{padding-inline:5px;gap:2px;font-size:13px}
}
