/* Рабочие экраны: ферма, курьер, магазин. Общая сетка и реальные данные сервера. */
.job-workspace{position:fixed;inset:56px 14px 14px;margin:0;padding:0;width:auto;max-width:none;height:auto;max-height:none;border:0;border-radius:0;background:transparent;overflow:hidden;color:#edf4e8;pointer-events:none;font:13px 'Golos Text',system-ui,sans-serif}.job-workspace::backdrop{background:#112a2b16;backdrop-filter:none}.job-workspace button,.job-workspace select,.job-header,.job-card,.job-phone{pointer-events:auto}.job-workspace svg{width:23px;height:23px;flex-shrink:0}.job-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 12px;border:1px solid #a7c7b533;border-radius:10px;background:#102a2bf5;margin-bottom:9px;min-height:47px}.job-header>div{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.04em}.job-header nav{display:flex;gap:5px}.job-header button{display:flex;align-items:center;gap:8px;border:0;border-radius:6px;background:#ffffff09;padding:7px 13px;color:#c4d6cc;font-weight:700;font-size:12px;margin:0}.job-header button.active{background:#dcff55;color:#19372c}.job-header .job-close{font-size:19px;padding:4px 10px}.job-layout{display:grid;grid-template-columns:220px 288px minmax(20px,1fr) 256px;gap:10px;height:calc(100% - 58px);align-items:start}.job-sidebar,.job-main{display:grid;gap:9px;max-height:100%;overflow:auto;scrollbar-width:thin;touch-action:pan-y}.job-card{background:linear-gradient(145deg,#153533f7,#0d2728f7);border:1px solid #a9c9b738;border-radius:11px;padding:12px;box-shadow:0 8px 22px #082c211c;min-width:0}.job-card h3{font-size:12px;letter-spacing:.035em;margin:0 0 12px;color:#edf5e9;font-weight:850}.job-card h2{font-size:16px;font-family:inherit;letter-spacing:0;margin:0 0 5px}.job-card p,.job-phone p{font-size:11px;color:#b3c9bf;line-height:1.55;margin:9px 0}.job-person{display:flex;align-items:center;gap:10px;margin-bottom:16px}.job-person>svg{width:51px;height:51px;border-radius:50%}.job-person b{font-size:15px;display:block}.job-person small{font-size:10px;color:#b6c8c0;display:block;margin-top:3px}.job-stat{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;margin:10px 0}.job-stat>span{color:#c2d2cb}.job-stat>b{font-size:11px;color:#e3fa8b;text-align:right}.job-meter{height:7px;background:#9bb7a633;border-radius:4px;overflow:hidden;margin:6px 0 10px}.job-meter i{display:block;height:100%;background:linear-gradient(90deg,#a8d852,#e3ff67);border-radius:4px;transition:width .3s}.job-nav{display:grid;gap:4px;padding:8px}.job-nav button{display:flex;align-items:center;gap:12px;padding:10px 9px;border:1px solid transparent;border-radius:7px;background:none;margin:0;text-align:left;font-size:12px}.job-nav button>span{margin-left:auto;font-size:18px;color:#8ca698}.job-nav button.active{border-color:#dfff55;color:#dfff55;background:#c2f2640b}.job-button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;border:1px solid #e6ff8f35;border-radius:7px;background:#dcff55;color:#18352c;padding:10px 8px;min-height:38px;font:750 11px system-ui,sans-serif;margin-top:9px}.job-button.quiet{background:#ffffff05;color:#cfdfd3;border-color:#a5c2ae44}.job-button:disabled{opacity:.5}.job-button svg{width:17px;height:17px}.job-crop{display:flex;gap:10px;align-items:center;margin:7px 0 17px}.job-crop p{margin:0}.job-item-art{display:grid;place-items:center;flex-shrink:0;width:47px;height:47px;border-radius:9px;background:linear-gradient(140deg,#73997066,#243e3988);border:1px solid #aecbb24d;color:#d6e68b;box-shadow:inset 0 1px 0 #ffffff1a}.job-item-art svg{width:30px;height:30px;filter:drop-shadow(0 2px 1px #071f2544)}.job-item-corn{color:#f2d04e}.job-item-wheat{color:#efc878}.job-item-milk{color:#daf0e9}.job-item-bread,.job-item-flour{color:#dcb17b}.job-item-water{color:#8ad2ed}.job-order{display:flex;gap:9px;align-items:center;border-bottom:1px solid #abc0af25;padding:11px 0}.job-order>div{flex:1}.job-order b{font-size:11px}.job-order small{display:block;color:#b5c8bd;font-size:10px;margin:5px 0}.job-order strong{display:block;font-size:11px;color:#e0ff70}.job-order .job-button{width:71px;min-height:30px;margin:0;padding:7px 3px;font-size:10px}.job-order .job-item-art{width:33px;height:36px}.job-order .job-item-art svg{width:24px;height:24px}.job-business{padding:10px 0;border-bottom:1px solid #abc0af25}.job-business>b{font-size:11px}.job-inventory{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:10px 0}.job-inventory>div{position:relative;background:#ffffff08;border:1px solid #a7c2b633;border-radius:8px;padding:7px 4px;text-align:center}.job-inventory .job-item-art{margin:auto}.job-inventory b{display:block;font-size:14px;margin-top:4px;color:#e7f4da}.job-inventory small{display:block;font-size:9px;color:#b4c7bb;line-height:1.4;margin-top:3px}.job-market>div{display:flex;align-items:center;gap:9px;padding:7px 0;border-bottom:1px solid #adc5b326}.job-market .job-item-art{width:30px;height:30px}.job-market .job-item-art svg{width:23px;height:23px}.job-market>div>span:not(.job-item-art){flex:1;font-size:11px}.job-market b,.job-market strong{font-size:11px}.job-route-step{display:flex;gap:9px;align-items:center;border-bottom:1px solid #ffffff15;padding:11px 0;color:#cbd6cb}.job-route-step>b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;border:1px solid #abc6a760;font-size:12px}.job-route-step small{display:block;color:#b5c8bd;font-size:10px;margin-top:4px}.job-route-step.active{color:#e4ff77}.job-route-step.active>b,.job-route-step.done>b{background:#dfff62;color:#213830}.job-sale{display:flex;align-items:center;justify-content:space-between;gap:9px;border-bottom:1px solid #abc0af25;padding:9px 0;font-size:11px}.job-sale small{display:block;color:#a9c3b5;font-size:10px;margin-top:4px}.job-sale .job-button{width:90px;margin:0;min-height:30px;padding:7px 5px;font-size:10px}.job-select{display:block!important;font-size:10px;margin:0 0 12px!important;color:#b9cdbd}.job-select select{display:block;width:100%;margin-top:6px;background:#25453f;color:#ecf4e9;border:1px solid #a3c49b66;border-radius:7px;padding:9px;font:inherit;font-size:12px}.job-phone{align-self:end;max-height:100%;overflow:auto;touch-action:pan-y;scrollbar-width:thin;pointer-events:auto;border:5px solid #081f24;border-radius:26px;background:linear-gradient(150deg,#1e464b,#0b272e);padding:12px 14px 10px;box-shadow:0 0 0 1px #607f73,0 12px 35px #03242d60}.job-speaker{width:69px;height:5px;border-radius:4px;background:#719187;margin:0 auto 20px}.job-phone header{display:flex;justify-content:space-between;font-size:10px;color:#c7dfd2}.job-phone header b{font-size:12px}.job-phone-role{display:flex;align-items:center;gap:9px;margin:19px 0;color:#dcf69b}.job-phone-role>b{font-size:15px}.job-apps{display:grid;grid-template-columns:repeat(3,1fr);gap:15px 5px}.job-apps button{border:0;background:none;padding:0;margin:0;font-size:10px;color:#f1f4e8}.job-apps button>b{display:grid;place-items:center;background:var(--app);width:51px;height:51px;border-radius:12px;margin:auto;box-shadow:inset 0 1px 2px #ffffff55,0 5px 8px #06202977}.job-apps svg{width:30px;height:30px}.job-apps span{display:block;margin-top:6px;font-size:10px}.job-phone-note{background:#0a232960;border-radius:10px;padding:12px 9px;margin-top:20px;border:1px solid #adc5b326}.job-phone-note>small{font-size:10px;color:#d3e1d3}.job-phone-note .job-stat{font-size:10px}.job-phone-note .job-stat b{font-size:10px}.job-phone-handle{width:74px;height:3px;border-radius:3px;background:#a4bdb077;margin:17px auto 0}.job-feedback{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);padding:10px 18px;border-radius:9px;background:#0b2a2df2;max-width:75%;font-size:12px;color:#e4ff84;pointer-events:none}.job-feedback:empty{display:none}.job-workspace-open .console-left,.job-workspace-open .console-tools,.job-workspace-open .console-community,.job-workspace-open .ref-phone-preview,.job-workspace-open #hud,.job-workspace-open #controls,.job-workspace-open #ui-phone,.job-workspace-open .kq-track,.job-workspace-open .kq-arrow{visibility:hidden!important}
@media(max-width:1099px){.job-layout{grid-template-columns:175px minmax(230px,1fr) 220px;gap:8px}.job-world-space{display:none}.job-sidebar .job-card{padding:10px}.job-workspace{inset:55px 8px 8px}.job-phone{padding:10px;align-self:start}.job-phone-note{margin-top:13px}.job-header{gap:7px}.job-header nav button{padding:6px 8px}.job-header>div{font-size:9px}.job-person svg{width:42px;height:42px}.job-apps button>b{width:43px;height:43px}}
@media(orientation:portrait) and (max-width:700px){.job-workspace{inset:0!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0;height:100dvh;max-height:100dvh!important;background:#122b2b;pointer-events:auto;overflow:auto;touch-action:pan-y}.ui-telegram .job-workspace{padding-top:var(--ui-safe-top,80px)!important}.job-header{position:sticky;top:0;z-index:3;flex-wrap:wrap;border-radius:0;margin:0;background:#0e2728}.job-header>div{font-size:11px}.job-header nav{order:3;width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.job-header nav button{justify-content:center;min-height:40px}.job-layout{height:auto;display:flex;flex-direction:column;gap:10px;padding:10px}.job-sidebar{display:contents}.job-sidebar>.job-card:first-child{display:none}.job-sidebar>.job-card:last-child{display:none}.job-nav{display:grid;grid-template-columns:repeat(4,1fr);width:100%;gap:3px;padding:4px}.job-nav button{flex-direction:column;padding:8px 3px;gap:5px;font-size:10px;min-height:54px}.job-nav button>span{display:none}.job-main{width:100%;overflow:visible;max-height:none}.job-card{padding:15px}.job-card p,.job-stat,.job-stat>b{font-size:13px}.job-button{font-size:13px;min-height:46px}.job-phone{width:100%;box-sizing:border-box;border-radius:18px;overflow:visible;max-height:none}.job-phone .job-apps,.job-phone .job-speaker,.job-phone .job-phone-role,.job-phone .job-phone-handle{display:none}.job-phone-note{margin-top:10px}.job-feedback{position:fixed;bottom:12px;width:calc(100% - 36px);max-width:none;box-sizing:border-box;text-align:center}.job-order b{font-size:12px}.job-order .job-button{min-height:40px}.job-phone-note .job-stat,.job-phone-note .job-stat b{font-size:12px}}
@media(prefers-reduced-motion:reduce){.job-meter i{transition:none}}
@media(orientation:portrait) and (max-width:700px){.ui-telegram .job-workspace .job-header{top:var(--ui-safe-top,80px)}}
/* Портрет: безопасный верх без двойного отступа, шапка и вкладки закреплены */
@media(orientation:portrait) and (max-width:700px){.ui-telegram .job-workspace{padding-top:0!important;scroll-padding-top:calc(var(--ui-safe-top,0px) + 150px)}.ui-telegram .job-workspace:before{content:'';display:block;height:var(--ui-safe-top,80px);background:#0e2728;position:sticky;top:0;z-index:5;margin-bottom:-1px}.ui-telegram .job-workspace .job-header{top:var(--ui-safe-top,80px);z-index:4}.job-header nav{grid-template-columns:repeat(4,1fr);gap:3px}.job-header nav button{padding:6px 2px;gap:4px;font-size:11px;flex-direction:column;min-height:44px}.job-header nav button svg{width:18px;height:18px}.job-sidebar .job-nav{position:sticky;top:var(--job-head-h,96px);z-index:3;background:#0e2728;border-radius:0;margin:0 -10px;width:calc(100% + 20px);box-sizing:border-box}.ui-telegram .job-sidebar .job-nav{top:calc(var(--ui-safe-top,80px) + var(--job-head-h,96px))}}
.job-business>small{display:block;margin:3px 0 8px;color:#b6c8c0;font-size:11px}
