/* V0.4: light olive identity, original logo colours retained. */
:root{--blue:#657047;--blue2:#4b5734;--light:#eef1e4;--ink:#293126;--muted:#606956;--line:#dfe4d4;--bg:#f6f7f0;--shadow:0 8px 28px #414a3008}
.brand-name{color:#293e91}.demo-strip{background:#e9eedb;border-color:#dfe4d4;color:#525d3d}.auth-hero,.welcome{background:linear-gradient(135deg,#e6ebd5,#cdd7af);color:#293126;border:1px solid #d8dfc6}.auth-hero p,.hero-kicker,.hero-step,.hero-foot,.welcome p,.welcome .eyebrow{color:#455235}.hero-step{border-color:#76835335}.hero-step b{color:#4b5734;border-color:#8a9671;background:#f7f8f0}.auth-hero:after{border-color:#7d8b5340}.welcome .btn{background:#657047;border-color:#657047;color:#fff}.hint,.upload-box,.quote-card.selected,.gate-services>div,.gate-check,.password-toggle{background:#f1f4e9;border-color:#d8dfc6}.hint{color:#4b5734}.gate-lock{background:#eef1e4;color:#657047}.gate-services svg{color:#657047}.service-gate{border-top-color:#657047}.gate-services span{color:#606956}.hint.error,.form-error{color:#a12636}.hint.warn{background:#fff8df;color:#71590e}.hint.success{background:#e8f5ef;color:#196953}.nav button.active{background:#e8edd9;color:#4b5734;border-color:#a0ad82}.pill{background:#edf1e2;color:#526039}.pill.gray{background:#f0f2ea;color:#606956}.pill.wait{background:#fff6df;color:#836515}.pill.success{background:#e8f5ef;color:#196953}.selected-files span{background:#edf1e2}.field>span{color:var(--ink)}.capacity{display:flex;align-items:center;gap:8px;font-size:27px;font-weight:750;color:#526039;margin:12px 0}.capacity svg{width:24px;height:24px}.locked-card{border-left:4px solid #9aa77b}.locked-card h3{font-size:20px}.locked-card .btn{margin-top:8px}.btn,.iconbtn,.password-toggle,.version{min-height:44px}.start-screen{min-height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;background:#f6f7f0}.start-screen img{width:120px;border-radius:24px;margin:0 0 24px}.start-screen h1{font-size:28px;color:#4b5734}.start-screen p{color:#606956}.offline-state{margin:24px auto;max-width:600px}.form-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:18px;scroll-margin-top:12px}.form-steps button{display:flex;flex-direction:column;align-items:center;border:1px solid #dfe4d4;border-radius:12px;background:white;color:#606956;padding:10px 6px;font-weight:700;min-height:58px}.form-steps button span{font-size:12px}.form-steps button[aria-current=step]{color:#fff;background:#657047;border-color:#657047}.step-controls{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:18px 0}.step-controls>span{font-size:12px;color:#606956}.queued-file{display:flex;align-items:center;gap:8px;justify-content:space-between;width:100%;min-width:0}.queued-file>span{overflow-wrap:anywhere;min-width:0}.camera-choice{margin-top:20px}.update-notice{position:fixed;top:0;left:0;right:0;z-index:120;background:#fff6df;color:#604c19;padding:12px;text-align:center;font-size:13px}.project-card,.card,.pagehead,.brand,.user-info,.file-info,.gate-services>div{overflow-wrap:anywhere;min-width:0}.check{min-height:44px;align-items:flex-start}.check input{width:22px;height:22px}.business-fields{min-width:0}.modal-body{max-width:100%}.platform{max-width:290px}#install-dialog{max-width:520px}.top-actions .version{white-space:nowrap}
@media(max-width:780px){
 body{font-size:15px}.demo-strip{font-size:10px}.top-inner{padding:12px 16px;gap:10px}.brand{width:100%;gap:10px;flex-wrap:wrap}.brand img{width:46px;height:46px}.brand-name{font-size:11px}.brand-line{display:none}.platform{display:block;width:100%;border:0;margin:0;padding:5px 0 0;max-width:none}.platform b{font-size:15px;color:#526039}.platform .small{display:none}.top-actions{width:100%;justify-content:space-between}.top-actions .version{display:inline-flex;font-size:11px}.top-actions .user-info{display:none}.auth-shell{margin-top:20px;padding:0 16px}.auth-hero{padding:24px;min-height:0;margin-bottom:24px}.auth-hero h1{font-size:29px}.auth-hero p{font-size:14px}.hero-kicker{font-size:10px;letter-spacing:1.2px}.auth-panel h2{font-size:25px}.auth-panel .field>span{font-size:14px}.layout{padding-bottom:90px}.sidebar{position:fixed;z-index:80;left:0;right:0;bottom:0;padding:8px 6px max(8px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dfe4d4;box-shadow:0 -4px 20px #2931260a}.nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.nav.engineer{grid-template-columns:repeat(3,minmax(0,1fr))}.nav button{display:flex;flex-direction:column;gap:4px;min-height:60px;padding:7px 3px;border:0;border-radius:10px;background:white;line-height:1.2;font-size:10px}.nav button svg{width:22px;height:22px}.nav button.active{background:#eef1e4;color:#4b5734}.nav-caption,.sidebar-note{display:none}main{padding:22px 16px 24px}.card{padding:20px 16px}.grid2{grid-template-columns:1fr}.grid3{gap:8px}.pagehead h1{font-size:27px}.pagehead p{font-size:14px}.welcome h2{font-size:25px}.welcome p{font-size:14px}.field>span{font-size:14px}input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px;min-height:48px;max-width:100%}input::placeholder,textarea::placeholder{font-size:13px}.btn,.btn.smallbtn,.btn.ghost,.password-toggle{min-height:46px;font-size:14px}.actions .btn{font-size:14px}.actions{gap:10px}.project-top{display:block}.project-top>.btn{margin-top:16px}.project-card .pills .pill.gray{max-width:100%;word-break:break-all}.project-card .meta{display:grid;gap:8px}.locked-card .btn{width:100%}.kv{grid-template-columns:1fr}.kv dd{margin-bottom:8px}.gate-profile{font-size:14px}.service-gate .gate-statement{padding:12px;font-size:14px}.gate-services{grid-template-columns:1fr}.file-buttons{margin-left:0;flex-wrap:wrap}.file-info{max-width:100%}.file-row{display:block}.file-buttons{margin-top:10px}.modal-head{flex-wrap:wrap;gap:8px}.modal-head .actions{width:100%;justify-content:space-between}.modal-body{padding:14px}.gate-header{align-items:flex-start}.gate-header h2{font-size:24px}#toast{bottom:calc(94px + env(safe-area-inset-bottom));right:16px}.footer{padding-bottom:100px}.auth-shell~.footer{padding-bottom:24px}.geo-actions .btn{width:100%;font-size:14px}.check{font-size:14px}.form-steps{position:relative}.business-fields{padding:16px 12px}.password-toggle{margin-bottom:18px}.tablewrap{width:100%;min-width:0}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
