:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#211309;background:#130c08}*{box-sizing:border-box}body{margin:0;min-width:1180px;min-height:100vh;background:radial-gradient(circle at 20% 0%,rgba(126,78,37,.28),transparent 36%),linear-gradient(135deg,#160d08,#2b160d 48%,#0f0906)}button,input,select,textarea{font:inherit}button{cursor:pointer}.boot,.login-shell,.journal-shell{min-height:100vh}.boot{display:grid;place-items:center;color:#f8edcf;letter-spacing:.06em}.login-shell{display:grid;place-items:center;padding:32px}.login-book{width:430px;min-height:520px;padding:54px 48px;display:grid;align-content:center;gap:20px;background:linear-gradient(90deg,rgba(70,42,23,.26),transparent 10%,transparent 90%,rgba(70,42,23,.25)),#ead9ad;border:12px solid #3a2013;border-radius:8px;box-shadow:0 30px 90px #0000008c,inset 0 0 55px #5c35163d}.eyebrow{margin:0 0 8px;text-transform:uppercase;color:#734120;font-size:12px;font-weight:800}h1,h2{margin:0;font-family:Georgia,Times New Roman,serif}.login-book h1{font-size:44px}label{display:grid;gap:6px;font-weight:700}input,select,textarea{border:1px solid rgba(66,38,18,.35);background:#fff8e2c7;color:#211309;border-radius:6px;padding:10px 12px}.error,.notice,.missing{background:#f1d987;color:#351c10;border:1px solid #9d6c2d;border-radius:6px;padding:10px 14px}.journal-shell{display:grid;grid-template-rows:auto auto 1fr auto;gap:12px;padding:18px 22px}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:12px 18px;background:linear-gradient(180deg,#3c2215,#24130c);border:1px solid #815932;border-radius:8px;box-shadow:0 12px 30px #00000061}.brand{display:flex;align-items:center;gap:14px;color:#f7e8c1}.seal{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#b98942,#6c421d);color:#211309;font-family:Georgia,Times New Roman,serif;font-size:28px;font-weight:700}.brand h1{font-size:27px}.brand p{margin:2px 0 0;color:#d5bd8e}.toolbar,.date-search,.card-tools,.card-footer,.sticker-actions,.palette,.admin-create,.admin-row,.missing{display:flex;align-items:center;gap:8px}.date-search{height:42px;padding-left:10px;background:#efe0b4;border-radius:6px}.date-search input{width:132px;border:0;background:transparent;padding:8px 4px}.date-search button,.bronze-button,.icon-button,.card-tools button,.card-footer button,.sticker-actions button,.admin-row button{border:1px solid #8f632f;background:linear-gradient(180deg,#c99a50,#815522);color:#211309;border-radius:6px;min-height:34px;padding:7px 12px;font-weight:800}.icon-button{width:40px;padding:0;display:grid;place-items:center}.icon-button.active,.bronze-button:hover,.date-search button:hover{box-shadow:0 0 0 2px #d6ac5659}.book{position:relative;display:grid;grid-template-columns:minmax(660px,1fr) 34px minmax(500px,.76fr);min-height:calc(100vh - 165px);max-height:calc(100vh - 165px);border:18px solid #2c170e;border-radius:8px;background:#3b2114;box-shadow:0 26px 80px #0000008c,inset 0 0 0 2px #6c421d;overflow:hidden}.page{overflow:auto;padding:22px;background:linear-gradient(90deg,rgba(83,49,20,.16),transparent 10%,transparent 90%,rgba(83,49,20,.18)),repeating-linear-gradient(0deg,transparent,transparent 31px,rgba(99,68,32,.09) 32px),#ead9ad;box-shadow:inset 0 0 58px #5f3b1847}.left-page{border-right:1px solid rgba(58,32,18,.24)}.right-page{border-left:1px solid rgba(58,32,18,.24)}.book-fold{background:linear-gradient(90deg,#00000061,#fff4cf33,#0000006b)}.page h2{margin-bottom:18px;color:#3b2114;font-size:28px}.plant-title{align-items:flex-start;gap:18px}.plant-title h2{flex:0 0 auto}.plant-table{display:grid;gap:10px}.plant-row{display:grid;grid-template-columns:128px 1fr;gap:12px;padding-bottom:10px;border-bottom:1px dashed rgba(68,42,20,.36)}.plant-name{padding-top:12px;color:#4e2a16;font-weight:900;letter-spacing:.04em}.vehicle-lane{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap}.vehicle-card{width:210px;min-height:190px;padding:10px;background:#d4bc87;color:#27180d;border-radius:4px;box-shadow:0 8px 16px #3f29143d,inset 0 0 0 1px #52361833}.card-tools{justify-content:space-between;margin-bottom:8px}.card-tools button,.card-footer button,.sticker-actions button,.admin-row button{min-height:28px;padding:4px 6px}.customs-check{width:24px;height:24px;margin-left:auto;padding:0;accent-color:#815522}.rich-card{min-height:100px;outline:0;white-space:pre-wrap;line-height:1.28;font-size:14px}.card-footer{margin-top:8px;flex-wrap:wrap}.add-card{align-self:stretch;min-width:126px;border:1px dashed #7a5129;background:#efe0b48a;border-radius:4px;color:#4a2c16;font-weight:800}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.stickers{columns:2 220px;column-gap:18px}.sticker{display:inline-block;width:100%;min-height:155px;margin:0 0 16px;padding:16px 14px 12px;border-radius:4px;transform:rotate(-.35deg);box-shadow:0 10px 18px #3f291438}.sticker:nth-child(2n){transform:rotate(.5deg)}.sticker.done{opacity:.68}.sticker.done textarea{text-decoration:line-through}.sticker textarea{width:100%;min-height:95px;padding:0;border:0;background:transparent;resize:vertical;line-height:1.35}.sticker-actions{flex-wrap:wrap}.palette{gap:3px}.swatch{width:17px;height:17px;min-height:17px;padding:0;border-radius:50%;border:1px solid rgba(44,23,11,.45)}.swatch.selected{outline:2px solid #7b4c1e}.day-tabs{display:flex;gap:6px;overflow:auto;padding:0 14px}.day-tabs button{min-width:102px;padding:8px 14px;border:1px solid #6f4724;border-bottom:0;border-radius:6px 6px 0 0;background:#3a2114;color:#e9d7ad;font-weight:800}.day-tabs button.active{background:linear-gradient(180deg,#c99a50,#815522);color:#211309}.admin-panel{max-width:960px;margin:0 auto;padding:22px;background:#ead9ad;border:10px solid #2c170e;border-radius:8px;box-shadow:0 18px 60px #00000073}.admin-panel h2,.admin-create{margin-bottom:14px}.admin-row{justify-content:space-between;padding:8px 0;border-bottom:1px dashed rgba(68,42,20,.36)}.admin-row input{flex:1}.plants-manager{flex:1;min-width:360px;max-width:520px;padding:12px;background:#cba96d61;border:1px solid rgba(94,55,24,.3);border-radius:6px}.plants-manager h2{margin:0 0 10px;font-size:18px}.plants-manager .admin-create{margin-bottom:8px}.plants-manager .admin-create input{min-width:0;flex:1}.plants-manager .admin-row{gap:6px;padding:6px 0}.plants-manager .admin-row input{min-width:0;padding:7px 8px}:root{color:#18212c;background:#eef3f6}body{background:linear-gradient(90deg,#f7fbf8 0,#f7fbf8 318px,#edf6f2 318px,#f7fbf8),#f7fbf8}.journal-shell{gap:14px;padding:20px 38px 18px 382px}.topbar{height:84px;background:transparent;border:0;border-radius:0;box-shadow:none}.topbar:before{content:"TMS Автопарк";position:fixed;top:72px;left:88px;z-index:1;color:#0b2942;font-size:20px;font-weight:900}.topbar:after{content:"Торгтехніка";position:fixed;top:100px;left:88px;z-index:1;color:#5f7788;font-size:16px}.brand{color:#18212c}.seal{background:#8bd94f;color:#102014;font-size:22px}.brand .seal{position:fixed;top:70px;left:20px;z-index:1;width:54px;height:54px;border-radius:14px;font-family:Inter,Segoe UI,Arial,sans-serif;color:transparent}.brand .seal:after{content:"TT";color:#fff;font-size:18px;font-weight:900}.brand>div{display:grid;gap:8px}.brand>div:before{content:"РОБОЧИЙ TMS ДЛЯ ЛОГІСТА";color:#5f7788;font-size:14px;font-weight:900}.brand h1{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:34px;line-height:1}.brand p{color:#637283}.date-search{background:#f3f7fa;border:1px solid #dbe7ed}input,select,textarea{border-color:#cdd9e2;background:#fff;color:#18212c}.date-search button,.bronze-button,.icon-button,.card-tools button,.card-footer button,.sticker-actions button,.admin-row button,.mini-action{border:1px solid #c8d6df;background:#fff;color:#18212c;border-radius:6px;min-height:30px;padding:5px 9px;font-size:13px;font-weight:800;box-shadow:0 1px 2px #18212c0f}.bronze-button{background:#8bd94f;border-color:#75c83d;color:#102014}.icon-button.active,.bronze-button:hover,.date-search button:hover,.mini-action:hover{box-shadow:0 0 0 3px #22c7c92e}.book{grid-template-columns:minmax(700px,1fr) 1px minmax(500px,.74fr);border:1px solid #d7e6de;background:#d7e6de;box-shadow:0 18px 48px #18212c14}.page{background:#fff;box-shadow:none}.book-fold{background:#d8e3ea}.left-page,.right-page{border:0}.page h2{color:#18212c;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:22px;margin-bottom:14px}.plant-row{grid-template-columns:244px 1fr;gap:14px;padding:10px 0;border-bottom:1px solid #e1e9ef}.plant-name{padding-top:0;color:#253244;font-size:13px;letter-spacing:0}.plant-name.editor{display:grid;grid-template-columns:1fr 30px 30px;align-items:center;gap:6px}.plant-name.editor input{min-width:0;height:30px;padding:5px 8px;font-size:13px;font-weight:800;text-transform:uppercase}.mini-action{width:30px;min-height:30px;padding:0;display:grid;place-items:center}.mini-action.danger,.card-footer button[title=Видалити]{color:#b42318}.plant-add-row{display:grid;grid-template-columns:244px auto;align-items:center;gap:8px;padding:12px 0 4px}.plant-add-row input{height:34px;font-weight:700}.compact-action{width:max-content;display:inline-flex;align-items:center;gap:5px}.vehicle-card{width:205px;min-height:176px;background:#f4f8fb;color:#18212c;border:1px solid #d1dde5;box-shadow:0 8px 20px #18212c1a}.card-tools{justify-content:flex-start;gap:5px}.card-tools button,.card-footer button,.sticker-actions button{min-height:24px;width:24px;padding:0;display:grid;place-items:center}.customs-check{width:18px;height:18px;margin-left:4px;accent-color:#22c7c9}.rich-card{min-height:104px;color:#18212c}.card-footer{justify-content:flex-end;gap:5px}.add-card{min-width:116px;min-height:34px;border:1px dashed #22c7c9;background:#22c7c914;color:#155f69}.sticker{background:#f4f8fb;border:1px solid #d9e3ea;box-shadow:0 10px 24px #18212c17}.day-tabs button{background:#fff;border-color:#d8e3ea;color:#253244}.day-tabs button.active{background:#4da3ff;color:#fff}body{background:#f7fbf8}.journal-shell{padding:20px 38px 18px}.topbar:before,.topbar:after,.brand .seal:after{content:none}.brand .seal{position:static;width:44px;height:44px;border-radius:10px;color:#fff}.brand>div:before{content:"РОБОЧИЙ TMS ДЛЯ ЛОГІСТА"}.book{grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr)}.plant-row{grid-template-columns:minmax(190px,230px) minmax(0,1fr)}.plant-add-row{grid-template-columns:minmax(190px,230px) auto}.sticker{background:#f4f8fb}
