/* One continuous order form. Only its mobile composition is focused. */
.create-layout{align-items:start}
.create-layout.order-edit-layout{display:block;max-width:760px;margin-inline:auto}
.order-edit-layout #order-edit-error{margin:16px 0 8px}
.order-edit-layout .create-submit{margin-block-start:16px}
.order-edit-button{margin-top:16px}
.create-heading{display:flex;align-items:center;gap:8px;margin:0 0 18px}
.create-heading h1{font-size:26px;line-height:1.25;letter-spacing:-.5px;margin:0}
.create-heading .create-back{width:40px;height:44px;min-width:40px;border:0;background:none;border-radius:var(--ui-corner)}
.guided-create{display:flex;flex-direction:column;gap:18px;min-width:0}
.customer-home .guided-create .create-section{min-width:0;margin:0;padding:24px;border-radius:var(--ui-corner);box-shadow:none}
.create-section h2{font-size:25px;line-height:1.25;letter-spacing:-.5px;margin:0}
.create-section h2 label{font:inherit;color:inherit}
.create-section-hint{font-size:16px;line-height:1.45;margin:10px 0 16px;color:var(--ink)}
.guided-create .order-voice-field{display:grid;justify-items:end;row-gap:0;padding:0 0 8px;border-radius:var(--ui-corner);background:var(--surface-subtle)}
.customer-home .guided-create .order-voice-field textarea.description{display:block;width:100%;height:100px;min-height:100px;padding:13px 15px 4px;background:transparent;line-height:1.45;font-size:17px;resize:vertical;border-radius:var(--ui-corner)}
.guided-create .order-voice-field textarea.description:focus-visible:not(.invalid){outline:0}
.guided-create .order-voice-open{position:static;margin:0 10px;width:44px;height:44px}
.guided-create .create-category{display:flex;flex-direction:column;align-items:stretch;gap:0;margin:22px 0 0;padding:0;color:var(--ink)}
.create-field-label{display:block;font-weight:600;font-size:15px;line-height:1.4;margin-bottom:8px;color:var(--ink)}
.create-category-choice{display:flex;align-items:center;gap:10px;min-height:52px;width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:var(--ui-corner);background:var(--surface-subtle);text-align:left;color:var(--ink)}
.create-category-choice #draft-category-icon{display:flex;align-items:center;flex:none}
.create-category-choice svg{width:21px;height:21px;flex:none}
.create-category-choice .draft-category-label{font-size:16px;font-weight:500;line-height:1.35;min-width:0;flex:1;overflow-wrap:anywhere}
.create-category-choice>svg:last-child{width:16px;height:16px;margin-left:auto}
.create-field-hint{font-size:12px;line-height:1.4;color:var(--muted);margin:7px 0 0}
.customer-home .guided-create .create-photo-add{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-height:48px;margin-top:18px;padding:10px 12px;border:0;border-radius:var(--ui-corner);background:var(--soft);text-align:left}
.customer-home .guided-create .create-photo-add svg{width:28px;height:28px;margin:0}
.customer-home .guided-create .create-photo-add .create-photo-hint{grid-column:2/-1;font-size:12px;font-weight:400;line-height:1.35;color:var(--muted);margin-top:-4px}
.large-text .guided-create .create-photo-add .create-photo-hint{font-size:16px}
.create-photo-add>span{font-size:15px;font-weight:500;line-height:1.3;min-width:0}
.create-photo-add .create-optional{color:var(--muted);font-size:12px;font-weight:400}
.guided-create .photos{margin:12px 0 0}
.create-scroll-hint{width:100%;border:0;background:none;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin-top:12px;font-size:13px;color:var(--muted);text-decoration:none;border-radius:var(--ui-corner)}
.create-scroll-hint svg{width:18px;height:18px;color:var(--green)}
.create-details-section{scroll-margin-top:20px}
.create-recap{font-size:14px;line-height:1.45;color:var(--muted);margin:10px 0 24px;overflow-wrap:anywhere}
@media(width > 650px){
  .create-layout>section{min-width:0}
  .create-recap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
.create-price-field .price-input{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:8px 14px;background:var(--surface-subtle);border:1px solid var(--line);border-radius:var(--ui-corner)}
.create-price-field .price-input input{grid-area:1/1;align-self:stretch;min-width:0;width:100%;min-height:40px;font-size:29px;line-height:1.2;font-weight:600;letter-spacing:-.4px;padding:0;background:none;color:var(--ink)}
.create-price-field .price-input input:focus-visible{outline:none}
.create-price-field .price-input:focus-within{border-color:var(--focus);box-shadow:inset 0 0 0 1px var(--focus)}
.create-price-field .price-input input.invalid{outline:none!important}
.create-price-field .price-input:has(input.invalid){border-color:var(--danger);box-shadow:inset 0 0 0 1px var(--danger)}
.create-price-field .price-input input:disabled{opacity:.45}
.create-price-field .price-input input::placeholder{opacity:0}
.price-entry-hint{grid-area:1/1;visibility:hidden;pointer-events:none;color:var(--muted);font-size:17px;font-weight:400;line-height:1.2;overflow-wrap:anywhere}
.price-input input:placeholder-shown+.price-entry-hint{visibility:visible}
.large-text .price-entry-hint{font-size:20px}
.price-input>.price-currency{font-size:25px;font-weight:600;color:var(--ink)}
.create-negotiable{min-height:44px;margin-top:10px;padding:8px 16px;font-size:14px;font-weight:650}
.create-negotiable[aria-pressed="false"]{background:var(--accent-soft);color:var(--accent)}
.create-location-field{margin-top:24px}
.create-location-field .order-location-copy>.order-location-label{display:none}
.create-location-field .order-location-row{align-items:flex-end;gap:9px}
.create-location-field .order-location-copy .input{min-height:52px;font-size:16px;border-radius:var(--ui-corner);padding:11px 12px;background:var(--surface-subtle)}
.create-location-field .order-location-locate.iconbtn{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:0;min-height:52px;height:52px;min-width:52px;width:52px;border-radius:var(--ui-corner);background:var(--surface-subtle)}
.create-location-field .order-location-locate.iconbtn svg.gps-symbol{width:32px;height:36px}
.create-date-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;margin-top:22px;padding:8px 13px;border:1px solid var(--line);border-radius:var(--ui-corner);background:var(--surface-subtle)}
.create-date-row label{display:flex;align-items:center;gap:8px;font-size:16px;line-height:1.3;min-width:0}
.create-date-row label svg{width:21px;height:21px;flex:none}
.create-date-row select{margin-inline-start:auto;text-align:right;text-align-last:right;min-width:0;max-width:60%;min-height:44px;padding:5px 5px 5px 8px;border:0;background:transparent;font-size:16px;color:var(--ink);font-family:inherit}
.create-submit-hint{text-align:center;color:var(--muted);font-size:13px;line-height:1.4;margin:20px 0 12px}
.customer-home .guided-create .create-submit{min-height:54px;padding:12px 15px;font-size:17px;line-height:1.3;gap:12px}
.customer-home .guided-create .create-submit[aria-busy="true"]{opacity:1;cursor:progress;transform:none}
.guided-create .form-foot{font-size:11px;line-height:1.4;margin-top:12px}
.customer-home.large-text .create-heading h1{font-size:30px}
.large-text .create-section h2{font-size:30px}
.large-text .create-section-hint,.large-text .create-field-label,.large-text .create-category-choice .draft-category-label,.large-text .create-date-row label,.large-text .create-date-row select,.large-text .create-photo-add>span{font-size:18px}
.large-text .create-field-hint,.large-text .create-recap,.large-text .create-scroll-hint,.large-text .create-submit-hint,.large-text .create-photo-add .create-optional{font-size:16px}
.customer-home.large-text .guided-create .order-voice-field textarea.description{font-size:20px;line-height:1.5;height:112px;min-height:112px}
.large-text .guided-create .order-voice-open{width:48px;height:48px}
.large-text .create-location-field .order-location-copy .input{font-size:18px}
.large-text .create-negotiable{font-size:17px;min-height:48px}
.large-text .guided-create .form-foot{font-size:13px}
.customer-home.large-text .guided-create .create-submit{font-size:20px;min-height:58px}
@media(max-width:650px){
  .customer-home{--create-bottom-clearance:calc(88px + env(safe-area-inset-bottom,0px))}
  .customer-home.large-text{--create-bottom-clearance:calc(94px + env(safe-area-inset-bottom,0px))}
  .customer-home .header{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:20;background:var(--bg);padding:12px 16px;min-height:70px}
  .customer-home .header-right{margin-left:auto;flex:none}
  .customer-home .header .location,.customer-home .header .demo-pill,.customer-home .header-right>.avatar{display:none}
  .customer-home .role-wrap{padding:0;margin:0;border:0;min-height:0}
  .customer-home .role-wrap>.roles{display:none}
  /* The hidden demo footer no longer reserves space for the fixed navigation. */
  .customer-home .main{padding:6px 16px var(--create-bottom-clearance)}
  .customer-home .guided-create .form-foot{scroll-margin-bottom:var(--create-bottom-clearance)}
  .customer-home .create-layout{display:block}
  .customer-home .create-layout>.aside{display:none}
  .customer-home .demo-foot{display:none}
  .create-heading{gap:5px;margin:0 0 18px}
  .create-heading h1{font-size:21px;letter-spacing:-.3px}
  .create-heading .create-back{width:30px;min-width:30px;height:44px}
  .guided-create{gap:16px}
  .customer-home .guided-create .create-section{padding:19px;border-radius:var(--ui-corner)}
  .create-section h2{font-size:24px;letter-spacing:-.45px}
  .create-details-section{scroll-margin-top:86px}
  .create-recap{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .customer-home.large-text .guided-create .create-section{padding:17px}
  .large-text .create-photo-add{grid-template-columns:28px minmax(0,1fr)!important}
  .large-text .create-photo-add .create-optional{grid-column:2}
}
@media(max-width:360px){
  .customer-home .guided-create .create-section{padding:17px}
  .create-section h2{font-size:22px}
  .create-photo-add>span{font-size:14px}
  .create-photo-add .create-optional{font-size:11px}
  .create-location-field .order-location-copy .input{padding-inline:10px;font-size:16px}
}
@media(prefers-reduced-motion:no-preference){html:has(.guided-create){scroll-behavior:smooth}}
.order-schedule-editor label{display:block;margin:12px 0 7px;font-size:15px;font-weight:600}
.order-schedule-editor{min-width:0}
.order-schedule-editor .input{position:relative;display:block;appearance:none;-webkit-appearance:none;width:100%;min-width:0;max-width:100%;inline-size:100%;min-inline-size:0;max-inline-size:100%;min-height:56px;padding:12px 36px;box-sizing:border-box;font-size:22px;line-height:1.25;text-align:center}
.order-schedule-editor .input::-webkit-date-and-time-value{min-width:0;margin:0;text-align:center}
.order-schedule-editor .input::-webkit-datetime-edit{display:block;min-width:0;padding:0;text-align:center}
.order-schedule-editor .input::-webkit-datetime-edit-fields-wrapper{display:flex;min-width:0;justify-content:center;padding:0}
.order-schedule-editor .input::-webkit-calendar-picker-indicator{position:absolute;right:12px;margin:0}
.order-schedule-zone{margin-top:12px;line-height:1.4}
.order-schedule-editor .error:empty{display:none}
.order-schedule-editor .dialog-actions{margin-top:16px}
.large-text .order-schedule-editor label{font-size:18px}
.large-text .order-schedule-editor .input{font-size:24px}
