@import "https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700;800&family=Ubuntu:wght@400;500;700;800&display=swap";:root{color:#172033;background:#f7f8fb;font-family:Ubuntu,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box;font-family:Ubuntu,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html,body,#root{width:100%;min-height:100%;margin:0}body{background:linear-gradient(#e8efffe6,#f7f8fbc7 280px),#f7f8fb}button,input,select,textarea{font-size:15px;line-height:1.25}button{cursor:pointer;border:0;border-radius:10px;min-height:38px;transition:transform .12s,filter .12s,opacity .12s}button:active{transform:scale(.98)}button:disabled,.disabled{opacity:.55;cursor:not-allowed}input,select,textarea{color:#172033;background:#fff;border:1px solid #d7dfec;border-radius:10px;outline:0;width:100%;min-height:43px;padding:10px 12px}textarea{resize:vertical;min-height:150px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}.app-shell{width:100%;max-width:1540px;min-height:100vh;margin:0 auto;padding:12px 12px 24px}.login-shell{place-items:center;min-height:100vh;padding:18px;display:grid}.login-card,.panel,.modal-card{background:#fffffff2;border:1px solid #dce5f4;border-radius:8px;box-shadow:0 14px 34px #2a508c14}.login-card{gap:14px;width:min(390px,100%);padding:22px;display:grid;box-shadow:0 24px 62px #17203324}.login-card label,.grid-form label{color:#667085;gap:7px;font-size:13px;font-weight:500;display:grid}.login-error{color:#b73b2d;background:#fff0ee;border-radius:8px;padding:10px 12px;font-weight:500}.topbar,.top-actions,.panel-head,.page-title,.page-actions,.actions-cell,.name-cell a,.input-action,.primary,.ghost,.icon-button,.file-pick{align-items:center;display:flex}.topbar,.page-title,.panel-head{justify-content:space-between;gap:12px}.topbar{margin-bottom:10px}.brand-title{font-family:Montserrat,Ubuntu,sans-serif;font-size:25px;font-weight:300;line-height:.94;display:block}.brand-subtitle{margin-top:2px;font-family:Montserrat,Ubuntu,sans-serif;font-size:14px;font-weight:300;display:block}.top-actions,.page-actions,.actions-cell{gap:7px}.actions-cell{flex-wrap:wrap}.primary,.ghost,.icon-button,.actions-cell button{justify-content:center;gap:8px}.primary{color:#fff;background:#4e9a7f;padding:0 14px;box-shadow:0 10px 22px #36826733}.ghost,.icon-button,.actions-cell button,.file-pick{color:#172033;background:#ffffffeb;border:1px solid #d7dfec}.icon-button{width:38px;min-width:38px;height:38px;padding:0}.actions-cell button{width:auto;min-width:0;height:34px;min-height:34px;padding:0 9px;font-size:12px}.ghost{padding:0 12px}.dashboard{grid-template-columns:1.45fr repeat(7,minmax(118px,1fr));gap:8px;margin-bottom:10px;display:grid}.tabs{gap:6px;margin:0 0 10px;display:flex}.tab{color:#667085;background:#ffffffeb;border:1px solid #d7dfec;min-height:40px;padding:0 18px;font-weight:700}.tab.active{color:#fff;background:#4e9a7f;border-color:#4e9a7f}.stat{background:#fffffff0;border:1px solid #dce5f4;border-radius:8px;align-content:center;gap:6px;min-height:72px;padding:13px 14px;display:grid}.stat span,.panel p,.muted,.date-cell,.party-row small{color:#667085;font-size:13px}.stat strong{font-size:20px}.panel,.modal-card{min-width:0;padding:14px}.panel-head{margin-bottom:12px}.panel-head h2,.page-title h1{font-size:20px}.party-list{gap:7px;display:grid}.party-row{text-align:left;background:#fff;border:1px solid #e4e9f1;border-radius:8px;grid-template-columns:minmax(260px,1fr) 120px 150px 150px;align-items:center;gap:12px;width:100%;min-height:58px;padding:10px 12px;display:grid}.party-row span:first-child{gap:3px;display:grid}.party-page{gap:10px;display:grid}.grid-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.party-fields,.delivery-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.section-caption{color:#172033;margin:14px 0 9px;font-size:14px;font-weight:800}.wide{grid-column:1/-1}.save-button{align-self:end;min-height:44px}.input-action{gap:8px}.input-action input{flex:1}.input-action button{min-width:142px}.search-box{background:#fff;border:1px solid #d7dfec;border-radius:10px;align-items:center;gap:8px;width:min(360px,100%);padding:0 12px;display:flex}.search-box input{border:0;min-height:40px;padding:0}.file-label input{display:none}.file-pick{background:#fff;border-radius:10px;justify-content:center;gap:8px;min-height:43px}.table-panel{padding:0;overflow:hidden}.table-panel .panel-head{margin:0;padding:14px}.table-panel-plain{box-shadow:none;border:0}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:1160px;font-size:14px}th{color:#667085;text-align:left;background:#eef2f7;font-weight:700}th,td{vertical-align:top;border-bottom:1px solid #e4e9f1;padding:10px 12px}.product-row.row-listed{background:#f1fbf6}.product-row.row-sold{color:#667085;background:#f1f3f6}.product-row.row-purchased,.product-row.row-in_japan,.product-row.row-in_kazakhstan,.product-row.row-in_stock{background:#fffaf0}.name-cell{gap:5px;min-width:260px;display:grid}.name-cell strong{font-size:15px}.name-cell a{color:#4e7ca9;gap:5px;width:max-content;font-size:13px}.status{background:#eef2f7;border-radius:999px;justify-content:center;min-width:86px;padding:6px 8px;font-size:12px;font-weight:700;display:inline-flex}.status.sold{color:#59616f;background:#e2e6ec}.status.listed{color:#256d4f;background:#dff4eb}.status.in_stock,.status.in_japan,.status.in_kazakhstan,.status.purchased{color:#80600c;background:#fff0bd}.positive{color:#24775a;font-weight:700}.negative{color:#b73b2d;font-weight:700}.margin-kind{color:#667085;font-weight:400}.date-cell{min-width:126px}.date-cell span,td .muted{margin-top:4px;display:block}.modal-backdrop{z-index:10;background:#0f172a52;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal-card{width:min(900px,100%);max-height:min(820px,92vh);overflow:auto}.product-summary{grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px;display:grid}.photo-strip{gap:8px;margin-bottom:12px;display:flex;overflow-x:auto}.photo-strip img{object-fit:cover;border:1px solid #d7dfec;border-radius:8px;width:140px;height:140px}.description-box{white-space:pre-wrap;color:#172033;background:#fbfcff;border:1px solid #e4e9f1;border-radius:8px;margin:0;padding:12px;font-size:14px;line-height:1.5}@media (width<=1100px){.dashboard,.product-summary,.party-fields,.delivery-fields,.grid-form{grid-template-columns:repeat(2,minmax(0,1fr))}.party-row{grid-template-columns:1fr 100px}}@media (width<=720px){.app-shell{padding:10px}.topbar,.panel-head,.page-title,.top-actions,.page-actions,.input-action{flex-direction:column;align-items:stretch}.dashboard,.grid-form,.party-fields,.delivery-fields,.product-summary,.party-row{grid-template-columns:1fr}}
