/* Account subpages: visual alignment only; existing layouts, states and actions remain authoritative. */
:root[data-theme=light] body.panel-view #app .workspace>section :is(.form-grid,.record-grid,.console-facts,.console-recent){min-width:0}
:root[data-theme=light] body.panel-view #app .workspace>section :is(.field,label.field){min-width:0;line-height:1.8}
:root[data-theme=light] body.panel-view #app .workspace>section :is(.field,label.field)>:is(input,select,textarea){max-width:100%;min-width:0;border-radius:12px}
:root[data-theme=light] body.panel-view #app .workspace>section :is(.field,label.field)>:is(input,select,textarea):focus-visible{outline:3px solid var(--ui-accent-text);outline-offset:2px}
:root[data-theme=light] body.panel-view #app .workspace>section :is(.actual-order,.bike-card,.document-card,.skill-card,.history-entry,.console-recent-order){min-width:0;border-radius:18px;overflow-wrap:anywhere}
:root[data-theme=light] body.panel-view #app .workspace>section :is(.actual-order,.bike-card,.document-card,.skill-card,.history-entry) :is(h2,h3,h4,p,small){overflow-wrap:anywhere}
:root[data-theme=light] body.panel-view #app .workspace>section :is(.actual-order,.bike-card,.document-card,.skill-card,.history-entry) :is(.button,.secondary){min-height:44px}
@media(max-width:767px){:root[data-theme=light] body.panel-view #app .workspace>section :is(.actual-order,.bike-card,.document-card,.skill-card,.history-entry,.console-recent-order){border-radius:16px}:root[data-theme=light] body.panel-view #app .workspace>section :is(.field,label.field)>:is(input,select,textarea){font-size:16px}}
/* Request title and area remain distinct on narrow screens. */
:root[data-theme=light] body.panel-view #app .edit-request-summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;min-width:0;margin:0 0 8px;line-height:1.8}
:root[data-theme=light] body.panel-view #app .edit-request-summary strong,:root[data-theme=light] body.panel-view #app .edit-request-summary span{min-width:0;overflow-wrap:anywhere}
:root[data-theme=light] body.panel-view #app .edit-request-summary span{color:#494a50}

/* Keep the request title and address on separate lines even on narrow phones. */
:root[data-theme=light] body.panel-view #app .edit-request-summary{display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;gap:4px}
:root[data-theme=light] body.panel-view #app .edit-request-summary :is(strong,span){display:block;max-width:100%;overflow-wrap:anywhere}
