:root{font-family:'Malgun Gothic','Segoe UI',sans-serif;color:#243a30;background:#f4f6f3;font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;background:#245b43;color:#fff;border:1px solid transparent;border-radius:7px;padding:10px 16px;font-weight:600}button:hover{filter:brightness(.95)}button:disabled{opacity:.45;cursor:default}input,select,textarea{background:#fff;border:1px solid #cbd5cc;border-radius:6px;padding:10px;max-width:100%;color:#243a30}input:focus,select:focus,textarea:focus{outline:2px solid #75a991;outline-offset:1px}label{display:block;line-height:1.8}label input,label select,label textarea{display:block;width:100%;margin:5px 0 15px}a{color:#235d44;text-underline-offset:3px}h1{font-size:27px;margin:0 0 8px}h2{font-size:18px;margin:0 0 16px}p{line-height:1.7}small,.muted{color:#718075}small{font-size:12px}header{height:74px;background:#173e30;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 30px;gap:20px}header strong{font-size:22px}.header-sub{border-left:1px solid #668073;margin-left:18px;padding-left:18px;color:#d4e3d8}.header-right,.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ghost{background:transparent;border-color:#698c7b;color:#e4efe6;padding:7px 10px;font-weight:400}.shell{max-width:1800px;margin:auto;display:grid;grid-template-columns:220px 1fr;min-height:calc(100vh - 74px)}aside{border-right:1px solid #dde5dc;padding:30px 16px;background:#fafbf8}.nav-title{color:#859083;font-size:12px;margin:0 12px 14px}nav button{display:block;text-align:left;width:100%;margin:4px 0;color:#536359;background:transparent;font-size:15px;padding:13px 16px}nav button.active{background:#dfebe1;color:#174c32}.aside-note{margin:40px 12px 0;color:#7a8779;font-size:13px;line-height:1.9}.aside-note strong{color:#4b6554}.content{padding:30px 34px;min-width:0}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:15px}.eyebrow{font-size:10px;letter-spacing:2px;color:#75917c;margin:0 0 7px}#sync{font-size:12px;color:#6d8070}.secondary{background:#fff;color:#355740;border-color:#cfdacf}.danger{background:#fff1ee;color:#ad443b;border-color:#e7c7c1}.card{background:#fff;border:1px solid #e0e7dc;border-radius:12px;padding:22px;margin-bottom:20px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{border:1px solid #dde6d8;border-radius:12px;background:#fff;padding:19px 22px}.stat span{display:block;color:#72816e;font-size:13px}.stat b{display:block;font-size:31px;margin:9px 0;color:#234c33}.stat small{font-size:12px}.stat.warning{background:#fff8ed;border-color:#eadfc7}.stat.warning b{color:#ae7330}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.card-heading h2{margin:0}.filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}.filters input{width:240px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;white-space:nowrap}th{background:#f0f4ed;color:#687863;font-weight:600;padding:12px;border-bottom:1px solid #d6e0d1}td{padding:13px 12px;border-bottom:1px solid #edf0e9;line-height:1.5}td small{display:block}tr:hover td{background:#fafcf9}.number{text-align:right;font-variant-numeric:tabular-nums}.negative{color:#b7443a;font-weight:bold}.positive{color:#297445}.stock-input{width:115px;text-align:right}.stock-note{width:160px}.badge{display:inline-block;padding:4px 9px;border-radius:5px;font-size:12px;background:#eef2ea;color:#697760}.badge.requested{color:#977029;background:#fff1d8}.badge.assigned{color:#376b9d;background:#eaf2fa}.badge.purchased,.badge.partial{color:#8b5aa6;background:#f1e9f8}.badge.completed{color:#368154;background:#e7f3e8}.badge.cancelled{color:#8d8d8d;background:#eee}.badge.draft{color:#9c6b2e;background:#fff1d5}.row-actions{display:flex;gap:6px}.row-actions button{padding:6px 10px;font-size:12px}.empty{text-align:center;color:#85917d;padding:40px 20px}.savebar{position:sticky;bottom:12px;background:#edf4e8;border:1px solid #bcd0ae;padding:14px 20px;border-radius:9px;display:flex;justify-content:space-between;align-items:center;gap:16px;box-shadow:0 4px 15px #30403010;margin:16px 0}.hint{background:#f0f5eb;color:#607354;border-radius:7px;padding:12px 15px;margin:0 0 18px;line-height:1.8}.note-text{max-width:250px;white-space:normal}.end{justify-content:flex-end}.link-button{display:inline-block;text-decoration:none;background:#245b43;color:#fff;padding:10px 16px;border-radius:7px;font-weight:bold}#notice{background:#e7f1e2;border:1px solid #bacfb0;border-radius:8px;padding:13px 17px;margin:0 0 20px}#notice.error,.error{color:#b2443e}#notice.error{background:#fff2ee;border-color:#e4c0b9}.auth{max-width:430px;margin:8vh auto;padding:34px;background:#fff;border:1px solid #dce6d8;border-radius:14px;box-shadow:0 12px 40px #233a3008}.brand{color:#68836d;letter-spacing:2px;font-size:11px;margin-bottom:30px}.brand span{display:block;letter-spacing:0;margin-top:7px}.auth h1{font-size:25px}.auth button{width:100%;padding:13px}.auth .muted{font-size:12px;margin:24px 0 0}dialog{border:0;border-radius:12px;width:480px;max-width:calc(100vw - 28px);max-height:90vh;overflow:auto;padding:25px;color:#243a30;box-shadow:0 18px 90px #132b3033}dialog::backdrop{background:#142c2acc}.dialog-heading{display:flex;justify-content:space-between;gap:20px}.icon{font-size:26px;background:none;color:#7e8b79;padding:0 5px;line-height:1}.event-list{list-style:none;padding:0;margin:0}.event-list li{display:grid;grid-template-columns:150px 95px 1fr;gap:20px;padding:15px 0;border-bottom:1px solid #ecf0e7}.event-list time{color:#809076;font-size:12px}#inviteOutput{margin-top:15px}#inviteOutput input{width:100%}.role-card{background:#f6f8f2;padding:16px;border-radius:8px;line-height:1.8;margin-bottom:16px}.hidden,[hidden]{display:none!important}@media(max-width:1000px){.shell{grid-template-columns:175px 1fr}.content{padding:22px}.stats{grid-template-columns:repeat(2,1fr)}header{padding:0 20px}}@media(max-width:700px){header{height:auto;padding:18px;align-items:flex-start}.header-sub{display:none}.header-right{justify-content:flex-end}.shell{display:block}aside{padding:7px;border-right:0}nav{display:flex;overflow:auto}nav button{width:auto;white-space:nowrap}.nav-title,.aside-note{display:none}.content{padding:18px 12px}.page-heading{align-items:flex-start}.page-heading h1{font-size:23px}.stats{gap:9px}.stat{padding:15px}.card{padding:16px}.event-list li{grid-template-columns:1fr;gap:5px}.auth{margin:5vh 14px}.header-right #userLabel{width:100%;text-align:right}}
:is(.product-name){display:flex;align-items:center;gap:7px}.product-drag{background:transparent;color:#7a8d7e;border:1px solid #dce5d8;padding:2px 7px;font-size:22px;line-height:1.4;cursor:grab}.product-drag:active{cursor:grabbing}.reorder-help{font-size:12px;color:#687f6b;margin:0 0 10px}.dragging{opacity:.45}.drop-before td{box-shadow:inset 0 3px #245b43}.drop-after td{box-shadow:inset 0 -3px #245b43}.product-highlight td{background:#edf6e6}
.stock-conflict{color:#ad443b;font-size:12px;white-space:normal;max-width:270px;margin-top:8px;text-align:left}.stock-conflict button{padding:5px 8px;font-size:12px;margin-top:5px}
