@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--green:#123c32;--lime:#d9ef80;--bg:#f2f4f3;--muted:#708078;--border:#dfe6e1}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#21392e;font-family:'DM Sans',sans-serif;font-size:16px}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:10px;background:#edf2ef;color:var(--green);padding:12px 18px;font-weight:600;min-height:46px}button:hover{filter:brightness(.96)}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus,textarea:focus,select:focus{outline:3px solid #b4d78c;outline-offset:2px}svg{width:21px;height:21px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.shell{max-width:1600px;margin:auto}.top{padding:23px 36px;display:flex;align-items:center;gap:14px;background:#fff;border-bottom:1px solid var(--border)}.logo{background:var(--green);color:var(--lime);padding:10px;border-radius:12px}.brand{font-family:Manrope,sans-serif;font-weight:800;font-size:22px;letter-spacing:-1px}.brand small{display:block;font-size:12px;letter-spacing:2px;font-weight:500;margin-top:1px;color:var(--muted)}nav{margin-left:auto;display:flex;gap:6px}nav button{background:transparent;color:var(--muted)}nav button.active{background:#eaf0ec;color:var(--green)}.demo{font-size:12px;background:#fff1d7;color:#86601e;padding:7px 10px;border-radius:6px;letter-spacing:.6px;font-weight:700}.main{padding:28px 36px}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}h1{font-family:Manrope,sans-serif;font-size:27px;letter-spacing:-1px;margin:0 0 5px}p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}.primary{background:var(--green);color:#fff}.accent{background:var(--lime);color:var(--green)}.outline{border:1px solid var(--border);background:#fff}.workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,1fr);gap:22px;align-items:start}.card{background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden}.cardhead{padding:20px 24px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:12px}.cardhead h2{font-size:16px;margin:0}.badge{font-size:12px;color:#557864;background:#eaf4ec;padding:6px 10px;border-radius:7px;font-weight:600}.editor{padding:26px}.editor textarea{width:100%;min-height:350px;border:0;resize:vertical;font-size:19px;line-height:1.8;color:#274333;background:#fff}.editor textarea:focus{outline:none}.editorhint{font-size:12px;color:var(--muted);display:flex;justify-content:space-between;border-top:1px dashed var(--border);padding-top:16px;gap:10px}.voicebar{padding:20px 24px;background:#f8faf8;border-top:1px solid var(--border);display:flex;gap:10px;align-items:center;flex-wrap:wrap}.voicebar .primary{flex:1}.side{padding:22px 24px}.field{display:block;margin-bottom:16px}.label{display:block;font-size:12px;color:#687d70;font-weight:700;letter-spacing:.7px;margin-bottom:8px;text-transform:uppercase}input,select,textarea{border:1px solid var(--border);border-radius:9px;padding:12px;width:100%;color:#21392e;background:#fafcfa;min-width:0}input,select{height:46px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.recipient{background:#f0f6e8;border:1px solid #d7e5c7;border-radius:11px;padding:15px;margin-bottom:20px}.recipient select{background:#fff}.phone{font-size:14px;margin-top:9px;color:#536c43}.sectionlabel{display:flex;align-items:center;justify-content:space-between;margin:20px 0 10px}.sectionlabel h3{font-size:14px;margin:0}.linkbtn{padding:5px 8px;min-height:30px;background:transparent;font-size:13px}.line{padding:12px 0;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:12px}.line .num{width:34px;height:34px;border-radius:9px;background:#f1f5e8;display:grid;place-items:center;font-size:14px;font-weight:700}.line .info{flex:1}.line strong{font-size:14px}.line p{font-size:12px}.line .price{font-size:14px;font-weight:600}.line button{padding:8px;min-height:34px;background:transparent}.sendbar{padding:18px 24px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px}.sendbar p{font-size:12px}.sendbar button{padding:14px 22px}.notice{display:flex;align-items:center;gap:8px;margin-top:18px;font-size:12px;color:var(--muted)}.filters{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap}.filters input{flex:2;min-width:180px}.filters select{flex:1;min-width:140px}.historyrow{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;gap:16px;border-bottom:1px solid var(--border)}.historyrow:last-child{border:0}.historyrow strong{font-size:17px}.historyrow .actions{display:flex;gap:8px;flex-wrap:wrap}.date{font-size:12px;color:var(--muted);margin-bottom:6px}.configlayout{display:grid;grid-template-columns:220px 1fr;gap:22px}.cats{display:flex;flex-direction:column;gap:8px}.cats button{text-align:left;background:transparent;display:flex;justify-content:space-between}.cats .active{background:var(--green);color:#fff}.catalogrow{padding:18px 24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);gap:12px}.empty{padding:50px;text-align:center;color:var(--muted)}dialog{border:0;border-radius:18px;padding:28px;max-width:560px;width:calc(100% - 32px);color:var(--green);box-shadow:0 30px 100px #10291d33}dialog::backdrop{background:#0d271d66;backdrop-filter:blur(3px)}dialog h2{font-family:Manrope;margin:0 0 8px;font-size:23px}dialog p{margin-bottom:22px}.modalactions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.voicepanel{background:var(--green);padding:25px;border-radius:12px;color:#fff;margin:20px 0}.wave{display:flex;gap:5px;justify-content:center;height:60px;align-items:center}.wave i{width:5px;background:var(--lime);border-radius:4px;animation:pulse .8s alternate infinite}.wave i:nth-child(2n){animation-delay:.3s}.wave i:nth-child(3n){animation-delay:.5s}@keyframes pulse{from{height:10px}to{height:45px}}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:16px 24px;border-radius:12px;background:#123c32;color:#fff;box-shadow:0 10px 30px #123c3230;display:none;z-index:10;max-width:90vw;font-size:14px}.pilltabs{display:flex;gap:8px;margin:20px 0}.pilltabs button{flex:1}.pilltabs .active{background:var(--green);color:#fff}.danger{color:#a04134}.subtitle{font-size:14px}.foot{margin-top:24px;display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}@media(min-width:1300px){.editor textarea{min-height:430px}}@media(max-width:900px){.top,.main{padding:20px}.workspace{grid-template-columns:minmax(0,1.15fr) minmax(320px,1fr);gap:14px}.side,.cardhead,.editor,.voicebar,.sendbar{padding:18px}.editor textarea{font-size:17px}.demo{display:none}.brand{font-size:19px}}@media(max-width:700px){.top{flex-wrap:wrap;gap:10px}.brand small{display:none}nav{width:100%;margin:0}nav button{flex:1;padding:10px}.workspace{grid-template-columns:1fr}.main{padding:20px 14px}.pagehead{align-items:start}h1{font-size:24px}.editor textarea{min-height:270px}.configlayout{grid-template-columns:1fr}.cats{flex-direction:row;overflow:auto}.cats button{white-space:nowrap;gap:12px}.historyrow{flex-direction:column;align-items:start}.sendbar{flex-wrap:wrap}.sendbar button{width:100%}.foot{gap:12px}.historyrow .actions button{font-size:14px}.pagehead .outline{padding:10px;font-size:13px}}
.catalogpicker{width:100%;min-height:46px;display:flex;align-items:center;justify-content:space-between;text-align:left;border:1px solid var(--border);background:#fafcfa;padding:12px;font-weight:400}.pickerresults{max-height:340px;overflow:auto;margin-top:14px}.pickeroption{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;background:#f4f7f3;margin-bottom:8px;padding:16px}.pickeroption small{display:block;font-weight:400;color:var(--muted);margin-top:5px;font-size:14px}
/* Shared action baseline for the landscape order workspace. */
.workspace{align-items:stretch}.workspace>.card{display:flex;flex-direction:column}.workspace .editor{flex:1;display:flex;flex-direction:column}.workspace .editor textarea{flex:1}.workspace .side{flex:1}.workspace .voicebar,.workspace .sendbar{min-height:104px;margin-top:auto;align-items:center}.workspace #record,.workspace #send{min-height:60px;font-size:18px;padding:16px 22px}.workspace #record svg,.workspace #send svg{width:24px;height:24px}.workspace #correct{font-size:14px;padding:12px 14px}.workspace .voicebar{flex-wrap:nowrap}.workspace #record{flex:1}.workspace #send{flex-shrink:0}@media(max-width:700px){.workspace .voicebar{flex-wrap:wrap}.workspace #record{flex-basis:100%}.workspace #correct{width:100%}.workspace .voicebar,.workspace .sendbar{min-height:104px}}
.transportpreview{border-top:1px solid var(--border);padding:16px 0 2px}.transportpreview p{color:var(--green);font-size:15px}.dispatchpreview{background:#f4f7f2;border-radius:10px;padding:16px;margin:12px 0;max-height:260px;overflow:auto}.filters>label{flex:1;min-width:160px}.historyrow .date{line-height:1.7}
.errorbanner{padding:16px;background:#fff1dd;color:#7d401d;border:1px solid #edd3b5;border-radius:10px;margin-bottom:18px;line-height:1.5}.pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin:20px 0}.calibrechoices{display:flex;gap:16px;flex-wrap:wrap}.calibrechoices label{display:flex;align-items:center;gap:6px}.calibrechoices input{height:20px;width:20px}#formError{color:#a04134;margin:12px 0}button:disabled{cursor:not-allowed}
.headerlogo{width:112px;height:84px;object-fit:contain;flex-shrink:0}.apptitle{font-size:13px;color:var(--muted);letter-spacing:2px;font-weight:700}.loginpage{min-height:100dvh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#123c32,#245646)}.logincard{width:100%;max-width:430px;background:white;border-radius:22px;padding:32px;box-shadow:0 24px 80px #0003}.loginlogo{display:block;width:210px;height:auto;margin:0 auto 28px}.logincard h1{text-align:center}.logincard>p{text-align:center;margin:12px 0 26px}.logincard input{background:#f6f8f5}.logincard button{width:100%;min-height:54px;font-size:17px}.loginerror{color:#a04134;min-height:24px;margin:10px 0 16px;font-size:14px}@media(max-width:700px){.headerlogo{width:90px;height:68px}.logincard{padding:26px}.loginlogo{width:190px}}
#pwa-install-banner{display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 16px;background:#123c32;color:#fff;font-size:14px}#pwa-install-banner[hidden]{display:none}#pwa-install-banner button{padding:8px 12px;min-height:36px;font-size:14px}#pwa-install{background:#d9ef80}#pwa-dismiss{background:transparent;color:#fff}@media(max-width:700px){#pwa-install-banner{flex-wrap:wrap;gap:6px}#pwa-install-banner>span{width:100%;text-align:center}}
.historytools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.historytabs{display:flex;gap:8px;margin-bottom:20px}.historytabs button{background:#e6ece7}.historytabs .active{background:var(--green);color:white}.reportprogress,.statsnote{margin:16px 0;font-size:14px}.reporterror{margin:16px 0;padding:14px;background:#fff1dd;border-radius:10px;color:#7d401d}.statskpis{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.statskpis>.card{padding:22px;display:flex;flex-direction:column;gap:6px}.statskpis strong{font-family:Manrope,sans-serif;font-size:30px}.statskpis span{font-size:14px;color:var(--muted)}.statsgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.statcard{padding:22px}.statcard h2{font-size:18px;margin:0 0 4px}.piedata>svg{width:190px;height:190px;display:block;max-width:100%;margin:20px auto;stroke:none;fill:none}.piedata ul{list-style:none;padding:0;margin:0}.piedata li{display:grid;grid-template-columns:12px 1fr auto auto;gap:8px;align-items:center;border-top:1px solid var(--border);padding:11px 0;font-size:14px}.piedata li small{font-size:12px;color:var(--muted)}.chartkey{width:10px;height:10px;border-radius:3px}@media(max-width:1100px){.statsgrid{grid-template-columns:1fr}.piedata{display:grid;grid-template-columns:200px 1fr;gap:24px;align-items:center}}@media(max-width:700px){.statskpis{gap:8px}.statskpis>.card{padding:14px}.statskpis strong{font-size:24px}.piedata{display:block}.historytools{justify-content:flex-end}.historytools button{padding:12px;font-size:14px}}
