/* MOSHE HQ / FIELD EDITION. A focused construction operator interface,
   deliberately distinct from the inherited Studio HQ skin. */
:root{
  --hq-bg:#F1F3EF;--hq-surface:#FFFFFF;--hq-surface-2:#F5F7F3;
  --hq-fill-neutral:#EEF2EE;--hq-fill-faint:#F4F6F2;
  --hq-hairline:#DDE3DD;--hq-divider:#E8ECE7;--hq-nav-border:#D7DFD8;
  --hq-input-line:#D0DAD1;--hq-btn-border:#CFD9D0;
  --hq-ink:#1D2928;--hq-text:#263330;--hq-text-2:#62706A;
  --hq-text-3:#77837C;--hq-text-faint:#87928A;
  --hq-label:#405148;--hq-on-dark:#FAFCF8;
  --hq-accent:#3F7165;--hq-accent-text:#2C5E53;
  --hq-accent-tint-bg:#E2F0E9;--hq-accent-tint-text:#285B4D;
  --hq-shadow-card:0 1px 1px rgba(16,34,29,.035),0 8px 24px rgba(16,34,29,.035);
}
html,body{background:var(--hq-bg)}
.brand{font-family:inherit;font-weight:750;letter-spacing:-.065em;font-size:24px}
.brand b{color:var(--hq-ink)}
.statuschip{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;letter-spacing:.025em}
.capture{background:#fff;border-radius:14px;margin-bottom:16px}
.capture .lead{font-size:13px;font-weight:700;color:#314E44;letter-spacing:.012em}
textarea#inp{font-size:15px;border-radius:9px;min-height:62px}
.btn.primary{border-radius:9px;background:#243D36}
.btn.mic,.btn.cam{border-radius:9px}
.moshe-field-brief{color:#F6FAF5;overflow:hidden;position:relative;padding:24px 25px 21px;margin:1px 0 14px;border-radius:17px;background:#1E3030;background-image:linear-gradient(145deg,rgba(19,38,37,.98),rgba(35,57,51,.96)),repeating-linear-gradient(90deg,transparent 0,transparent 59px,rgba(255,255,255,.1) 59px,rgba(255,255,255,.1) 60px)}
.moshe-field-brief:after{content:"";position:absolute;width:200px;height:200px;right:-102px;top:-108px;transform:rotate(45deg);border:1px solid rgba(225,236,223,.20);pointer-events:none}
.moshe-brief-top{display:flex;gap:9px;align-items:center;justify-content:space-between;position:relative;z-index:1}
.moshe-kicker,.moshe-demo-stamp,.moshe-owner-label,.moshe-owner-feature>span,.moshe-owner-grid article>span,.moshe-owner-disclaimer{font:600 10px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.10em}
.moshe-kicker{color:#B4CEC2}
.moshe-demo-stamp{background:#CFE3D3;color:#173D31;border-radius:4px;padding:6px 9px;white-space:nowrap}
.moshe-brief-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:23px 0 17px}
.moshe-brief-title h2{font-size:clamp(24px,3vw,36px);line-height:1.04;letter-spacing:-.055em;max-width:570px;font-weight:710;margin:0 0 10px;color:#F6FAF5}
.moshe-brief-title p{font-size:12px;color:#B7CEC1;margin:0;line-height:1.5}
.moshe-brief-count{text-align:center;min-width:68px;flex:none}
.moshe-brief-count strong{font-size:34px;line-height:1;letter-spacing:-.05em;display:block}
.moshe-brief-count span{font-size:10px;color:#AAC0B4;white-space:nowrap}
.moshe-brief-meta{display:flex;gap:16px;flex-wrap:wrap;padding-top:13px;border-top:1px solid rgba(238,245,238,.14);color:#C9D9CE;font-size:12px}
.moshe-brief-meta span:before{content:"●";font-size:7px;color:#B6D6BD;margin-right:8px;vertical-align:1px}
.moshe-brief-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:20px}
.moshe-brief-actions button{font-size:12px;font-weight:650;line-height:1.1;font-family:inherit;cursor:pointer;border-radius:8px;padding:12px 16px;min-height:42px}
.moshe-action-primary{border:1px solid #E0E8DD;background:#F2F8F0;color:#1A302A}
.moshe-action-primary span{margin-left:18px}
.moshe-action-secondary{border:1px solid rgba(235,247,234,.38);background:transparent;color:#F1F7ED}
.moshe-action-link{border:none;background:transparent;color:#CAE0CF;text-decoration:underline;text-underline-offset:4px}
.moshe-brief-actions button:focus-visible{outline:3px solid #9BCDAD;outline-offset:2px}
.alpha-hero{background:#fff;border:1px solid var(--hq-hairline);box-shadow:none;padding:17px 20px;border-radius:14px;margin-bottom:12px}
.alpha-hero .alpha-eyebrow{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.09em;color:#4B7461;font-size:10px}
.alpha-hero .alpha-greeting{font-size:clamp(19px,2.6vw,26px);letter-spacing:-.045em}
.alpha-headline{font-size:12px;color:var(--hq-text-2)}
.alpha-status{border-top-color:var(--hq-hairline)}
.alpha-section{border-radius:14px;box-shadow:none}
.moshe-ai-unavailable{background:#FBF7EB;border:1px solid #E7D9B4;color:#584927;border-radius:11px;padding:14px 15px;margin-bottom:12px}
.moshe-ai-unavailable b{display:block;font-size:13px;margin-bottom:5px}
.moshe-ai-unavailable p{font-size:12px;line-height:1.5;margin:0}
.askhq-form button:disabled{opacity:.45;cursor:not-allowed}
.moshe-owner-preview{max-width:880px;margin:0 auto;padding:4px 0 42px}
.moshe-owner-label{color:#628273;margin-top:22px}
.moshe-owner-preview h1{font-size:clamp(30px,4vw,42px);letter-spacing:-.05em;line-height:1.04;margin:9px 0 13px;color:#20352E}
.moshe-owner-intro{font-size:14px;line-height:1.6;max-width:690px;color:#627069;margin-bottom:24px}
.moshe-owner-feature{padding:22px 24px;border-radius:13px;background:#1F3330;color:#F2F7F0}
.moshe-owner-feature>span{color:#A5CCB7}
.moshe-owner-feature h2{font-size:24px;letter-spacing:-.035em;margin:14px 0 7px}
.moshe-owner-feature p{color:#C1D4C7;font-size:13px;line-height:1.5;margin:0}
.moshe-owner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.moshe-owner-grid article{background:#fff;padding:19px;border:1px solid #DDE5DE;border-radius:12px}
.moshe-owner-grid article>span{color:#557364}
.moshe-owner-grid h3{font-size:17px;margin:13px 0 8px;letter-spacing:-.02em}
.moshe-owner-grid article p{font-size:12px;line-height:1.55;color:#61716A;min-height:85px}
.moshe-owner-grid article strong{font-size:11px;color:#305F50}
.moshe-owner-disclaimer{font-size:10px;color:#707F76;margin-top:16px;line-height:1.6}
@media(max-width:640px){
 .moshe-field-brief{border-radius:12px;padding:18px 17px 17px}
 .moshe-brief-title{margin:18px 0 14px;align-items:flex-start;gap:8px}
 .moshe-brief-title h2{font-size:25px;line-height:1.08}
 .moshe-brief-count strong{font-size:27px}
 .moshe-brief-meta{font-size:11px;gap:7px 15px}
 .moshe-brief-actions{display:grid;grid-template-columns:1fr 1fr}
 .moshe-action-primary{grid-column:1/-1}
 .moshe-brief-actions button{text-align:left;padding:12px}
 .moshe-action-link{grid-column:1/-1;text-align:center!important}
 .alpha-hero{padding:14px 14px}
 .moshe-owner-grid{grid-template-columns:1fr}
 .moshe-owner-grid article p{min-height:0}
 .moshe-owner-preview h1{font-size:33px}
}

/* Hide legacy accounting UI in the employee-first field product. Authorization still requires a separate backend. */
.alpha-project-actions{grid-template-columns:1fr;max-width:225px}

/* Phone: avoid spending the first screen on oversized presentation chrome. */
@media(max-width:640px){
  .capture{padding:12px;margin-bottom:11px}
  .capture .lead{margin-bottom:6px;font-size:12px}
  .capture>.hint:not(.tip){margin-top:2px;min-height:0;font-size:10px}
  .moshe-field-brief{padding:15px 16px 15px;margin-bottom:11px}
  .moshe-brief-title{margin:12px 0 11px}
  .moshe-brief-title h2{font-size:22px;margin-bottom:6px}
  .moshe-brief-title p{font-size:11px}
  .moshe-brief-count strong{font-size:26px}
  .moshe-brief-meta{padding-top:9px;font-size:10.5px}
  .moshe-brief-actions{margin-top:13px;gap:7px}
  .moshe-brief-actions button{min-height:38px;padding:10px 11px}
  .moshe-action-link{grid-column:2;text-align:center!important;font-size:11px}
  .moshe-action-secondary{grid-column:1}
  .moshe-owner-grid article{padding:14px}
  .moshe-owner-intro{font-size:13px}
}

/* PDF ingest must be reachable from Moshe's daily field surface. */
.moshe-pdf-panel{border:1px solid var(--hq-hairline);background:#fff;border-radius:13px;padding:16px;margin:12px 0;display:flex;align-items:flex-start;flex-wrap:wrap;justify-content:space-between;gap:13px}
.moshe-pdf-panel b{font-size:14px;color:#203c33}
.moshe-pdf-panel p{max-width:600px;margin:6px 0 0;color:#68766e;font-size:12px;line-height:1.6}
.moshe-pdf-panel .moshe-pdf-result{flex-basis:100%;font-size:12px;color:#344b41;overflow-wrap:anywhere}
.moshe-pdf-panel .moshe-pdf-result:empty{display:none}
.moshe-pdf-panel .moshe-pdf-result pre{font-size:11px;font-family:ui-monospace,SFMono-Regular,monospace;white-space:pre-wrap;background:#f4f7f4;padding:12px;border-radius:8px;max-height:240px;overflow:auto}
.moshe-pdf-warning{color:#825b28;font-size:11px;padding:6px 0}
@media(max-width:640px){
  .moshe-action-link{grid-column:1/-1;text-align:center!important}
  .moshe-action-docs{grid-column:2}
  .moshe-pdf-panel{padding:13px}
}
