/* Request workspace: compact desktop layout with existing form controls. */
body #app #request{--rq-panel:#082333;--rq-input:#071c2a;--rq-border:#31586d;--rq-text:#edf7ff;--rq-muted:#b6ccd9;--rq-accent:#83d4ff;max-width:1200px!important}
body.theme-day #app #request{--rq-panel:rgba(248,252,255,.97);--rq-input:#fff;--rq-border:#a5c2d1;--rq-text:#173c50;--rq-muted:#526e7d;--rq-accent:#087bb8}
body #app #request .request-head{display:flex!important;align-items:center!important;justify-content:space-between;gap:16px;padding:12px 20px!important;margin:0 0 12px!important;background:var(--rq-panel)!important;border:1px solid var(--rq-border);border-radius:13px}
body #app #request .request-heading-brand{display:flex;align-items:center;gap:14px;min-width:0}
body #app #request .request-heading-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid var(--rq-border);border-radius:10px;color:var(--rq-accent)}
body #app #request .request-heading-icon svg{width:24px;height:24px}
body #app #request .request-head h1{font-size:26px!important;margin:0!important;color:var(--rq-text)!important;-webkit-text-fill-color:var(--rq-text)!important;-webkit-text-stroke:0!important;text-shadow:none!important;line-height:1.15!important}
body #app #request .request-head p{font-size:13px!important;margin:5px 0 0!important;font-weight:400!important;color:var(--rq-muted)!important;-webkit-text-fill-color:var(--rq-muted)!important;text-shadow:none!important}
body #app #request .request-actions{display:flex!important;align-items:center!important;flex-wrap:wrap!important;justify-content:flex-end;gap:8px!important;padding:0!important;flex:none}
body #app #request .request-actions button{min-height:38px!important;padding:8px 16px!important;font-size:13px!important}
body #app #request .request-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important;align-items:start!important}
body #app #request .request-left-column{display:grid;gap:12px;min-width:0}
body #app #request .request-card,body #app #request .request-field-group{background:var(--rq-panel)!important;border:1px solid var(--rq-border)!important;color:var(--rq-text)!important;border-radius:13px!important;box-shadow:none!important}
body #app #request .request-form{background:transparent!important;border:0!important;overflow:visible!important}
body #app #request .request-fields{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;padding:0!important}
body #app #request .request-field-group{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:16px!important;min-width:0}
body #app #request .request-field-group>h4{display:flex!important;align-items:center;gap:9px;grid-column:1/-1;margin:0 0 2px!important;font-size:17px!important;letter-spacing:0!important;color:var(--rq-text)!important;line-height:1.2}
body #app #request .request-field-group>h4:before{content:none!important}
body #app #request .request-field-group>h4 svg{width:22px;height:22px;color:var(--rq-accent);flex:none}
body #app #request .request-field-group>h4 small{font-size:10px;font-weight:500;background:#1979ad22;color:var(--rq-accent);padding:5px 8px;border-radius:20px}
body #app #request .request-field-group>.wide{grid-column:1/-1!important}
body #app #request .request-field-group>label,body #app #request .request-field-group>.multi-choice-field,body #app #request .request-direction-field>span{font-size:12px!important;font-weight:600!important;letter-spacing:0!important;color:var(--rq-muted)!important;min-width:0}
body #app #request .request-field-group>label>input,body #app #request .request-field-group>label>select,body #app #request .request-field-group>label>textarea,body #app #request .direction-picker>summary,body #app #request .multi-choice-picker>summary{box-sizing:border-box;width:100%;height:38px!important;min-height:38px!important;padding:9px 11px!important;margin-top:5px!important;font-size:13px!important;font-weight:400!important;line-height:18px!important;background:var(--rq-input)!important;color:var(--rq-text)!important;border:1px solid var(--rq-border)!important;border-radius:7px!important}
body #app #request .request-field-group>label>small{font-size:10px!important;font-weight:400;color:var(--rq-muted)}
body #app #request .request-field-group textarea{height:58px!important;min-height:58px!important;max-height:none!important;resize:vertical}
body #app #request .request-map-card h3{border:0!important;padding:16px 16px 5px!important;font-size:17px!important;color:var(--rq-text)!important}
body #app #request .request-help{padding:0 16px 12px!important;color:var(--rq-muted)!important}
body #app #request .request-map{height:440px!important}
body #app #request .request-pinmsg{font-size:11px!important;padding:7px 16px!important;min-height:16px;color:var(--rq-accent)!important}
body #app #request .request-coordinates{padding:12px 16px!important;gap:10px;align-items:end}
body #app #request .request-coordinates input{height:38px!important;min-width:0;font-size:12px!important}
body #app #request .request-photos{padding:16px!important;margin:0!important}
body #app #request .request-photo-title{font-size:16px!important;color:var(--rq-text)!important}
body #app #request .request-photo-title small,body #app #request .request-photo-title b{font-size:11px!important;color:var(--rq-muted)!important}
body #app #request .photo-slot{min-height:104px!important;aspect-ratio:4/3;border-radius:10px!important;background:var(--rq-input)!important}
body #app #request .request-paint-colors{border:0!important;padding:0!important;border-radius:0!important;margin:0!important}
body #app #request .request-paint-colors legend{padding:0!important;font-size:12px!important;color:var(--rq-muted)!important}
body #app #request .request-paint-colors>p{display:none}
body #app #request .request-paint-options{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-top:7px}
body #app #request .request-paint-options label{position:relative;display:flex!important;align-items:center;justify-content:center;gap:7px!important;min-height:38px!important;padding:5px 8px!important;background:var(--rq-input)!important;border:1px solid var(--rq-border)!important;border-radius:7px!important;color:var(--rq-text)!important}
body #app #request .request-paint-options label:has(input:checked){outline:2px solid var(--rq-accent);outline-offset:-1px;background:#1879a633!important}
body #app #request .request-paint-options label:has(input:focus-visible){outline:3px solid var(--rq-accent);outline-offset:2px}
body #app #request .request-paint-options input{position:absolute;width:1px!important;height:1px!important;min-width:0!important;opacity:0}
body #app #request .request-paint-options label:before{content:'';width:16px;height:16px;border-radius:50%;background:#92999e;border:1px solid #c5d5df;flex:none}
body #app #request .request-paint-options label:has([data-request-color=Brown]):before{background:#80502e}
body #app #request .request-paint-options label:has([data-request-color=Yellow]):before{background:#ffcd28}
body #app #request .request-paint-options label:has([data-request-color=Black]):before{background:#101010}
body #app #request .request-paint-options label:has(input:checked):after{content:'✓';font-size:12px;color:var(--rq-accent)}
body #app #request .request-paint-options span{font-size:12px!important;color:inherit!important}
body.theme-night #app #request .primary-btn{background:#164b68!important;border-color:#4b93b7!important;color:#e5f6ff!important}
@media(max-width:950px){body #app #request .request-grid{grid-template-columns:1fr!important}body #app #request .request-map{height:380px!important}}
@media(max-width:600px){body #app #request .request-head{flex-wrap:wrap;padding:12px!important}body #app #request .request-actions{width:100%;justify-content:flex-end}body #app #request .request-head h1{font-size:23px!important}body #app #request .request-field-group{padding:14px!important;gap:10px!important}body #app #request .request-paint-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

body #app #request .request-head .request-actions{border:0!important;box-shadow:none!important;margin-top:0!important}

/* Three related work selectors share one row on desktop. */
body #app #request .request-work-group{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-content:start!important}
body #app #request .request-work-group>.request-priority-field{grid-column:auto!important}
@media(min-width:951px){
 body #app #request .request-grid{align-items:stretch!important}
 body #app #request .request-left-column,body #app #request .request-fields{display:flex!important;flex-direction:column!important;gap:12px!important}
 body #app #request .request-form{display:flex!important;flex-direction:column!important;min-width:0}
 body #app #request .request-fields{flex:1}
 body #app #request .request-map-card{flex:none}
 body #app #request .request-photos[open],body #app #request .request-work-group{flex:1 0 auto}
}
@media(max-width:600px){
 body #app #request .request-work-group{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body #app #request .request-work-group>.request-priority-field{grid-column:1/-1!important}
}
/* Center the photo arrows independently of text-font baselines. */
body #app #request .request-photo-controls button{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;line-height:1!important;font-size:0!important;box-sizing:border-box!important}
body #app #request .request-photo-controls button::before{content:'';display:block;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateX(-2px) rotate(-45deg);box-sizing:border-box}
body #app #request .request-photo-controls button[aria-label="Previous photo slots"]::before{transform:translateX(2px) rotate(135deg)}
/* Match the GPS input and Update Map button edges and height. */
body #app #request .request-coordinates{align-items:end!important}
body #app #request .request-coordinates label{margin:0!important;min-width:0}
body #app #request .request-coordinates input,body #app #request .request-coordinates #requestUpdateMap{height:38px!important;min-height:38px!important;max-height:38px!important;box-sizing:border-box!important;margin-bottom:0!important;line-height:18px!important;padding:9px 11px!important;align-self:end!important}
body #app #request .request-coordinates #requestUpdateMap{margin-top:0!important}

/* Slim desktop action bar; compact spacing lifts the workspace below. */
@media(min-width:951px){
body #app #request .request-head{padding:6px 16px!important;min-height:0!important;height:auto!important;margin-bottom:8px!important;gap:12px!important}
body #app #request .request-heading-brand{gap:10px!important}
body #app #request .request-heading-icon{width:32px!important;height:32px!important;border-radius:8px!important}
body #app #request .request-heading-icon svg{width:20px!important;height:20px!important}
body #app #request .request-head h1{font-size:22px!important;line-height:1.1!important}
body #app #request .request-head p{font-size:11px!important;line-height:1.2!important;margin-top:2px!important}
body #app #request .request-actions button{min-height:34px!important;height:34px!important;padding:6px 14px!important;line-height:1.2!important}
}
