:root{--bjs-ink:#182b40;--bjs-gold:#bd9559;--bjs-cream:#f6f3ed;--bjs-line:#e4e7ec}
.bjs-erp-shell,.bjs-erp-shell *{box-sizing:border-box}
.bjs-erp-shell{max-width:1080px;margin:36px auto;padding:clamp(24px,5vw,54px);background:#fff;border:1px solid var(--bjs-line);border-radius:24px;box-shadow:0 18px 48px rgba(24,43,64,.08);color:var(--bjs-ink);font:400 16px/1.55 system-ui,-apple-system,Segoe UI,sans-serif}
.bjs-erp-header{text-align:center;padding-bottom:22px;border-bottom:1px solid var(--bjs-line)}
.bjs-erp-logo{display:block;max-width:360px;width:min(90%,360px);height:auto;max-height:170px;object-fit:contain;margin:0 auto 10px}
.bjs-erp-kicker{letter-spacing:.24em;font-size:10px;font-weight:800;color:#a57a41;margin:0 0 12px}
.bjs-erp-header h2{font:400 clamp(29px,4vw,52px)/1.1 Georgia,serif;color:var(--bjs-ink);margin:0 0 10px}
.bjs-erp-header p{margin:0;color:#65758a}
.bjs-erp-form{width:min(100%,460px);margin:34px auto 22px;display:flex;flex-direction:column;gap:10px}
.bjs-erp-form h3{font-size:23px;color:var(--bjs-ink);line-height:1.25}
.bjs-erp-form label{font-size:13px;font-weight:750;color:#33465e;margin-top:10px}
.bjs-erp-form input{width:100%;border:1px solid #d7dde6;border-radius:9px;min-height:48px;padding:12px 14px;font:inherit;color:#182b40;background:white}
.bjs-erp-form input:focus{outline:2px solid #d9bd8e;border-color:#b68e53}
.bjs-erp-primary{background:#172e49!important;border:0!important;border-radius:10px!important;color:#fff!important;min-height:50px;padding:12px 18px;font-size:15px;font-weight:750;cursor:pointer;margin-top:12px}
.bjs-erp-form p a,.bjs-erp-shell a{color:#1a3a64}
.bjs-erp-alert{margin:18px auto;padding:13px 16px;max-width:650px;background:#fff9ea;border:1px solid #edd7a8;border-radius:9px;color:#66502e;text-transform:none}
.bjs-erp-footer{padding-top:17px;margin-top:25px;border-top:1px solid var(--bjs-line);font-size:12px;color:#617186;text-align:center}
.bjs-erp-front-widget{position:fixed;z-index:10005;right:20px;bottom:20px;font-family:system-ui,sans-serif}
.bjs-erp-front-widget a{display:flex;align-items:center;gap:8px;padding:14px 18px;color:#fff!important;text-decoration:none!important;background:#183553;border:1px solid #e9d0a8;border-radius:999px;box-shadow:0 10px 30px rgba(0,0,0,.25);font-weight:750}
.bjs-erp-dashboard{padding-top:34px}.bjs-erp-dashboard-top{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.bjs-erp-dashboard-top small{color:#75849a}.bjs-erp-dashboard-top h3{font-size:30px;margin:3px 0}.bjs-erp-dashboard-top span{color:#a4783e;font-weight:750}
.bjs-erp-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:25px 0}
.bjs-erp-cards>a,.bjs-erp-cards>div{border:1px solid #e1e7ee;background:#f7f9fb;border-radius:15px;padding:22px;text-decoration:none;display:flex;flex-direction:column;gap:8px}
.bjs-erp-cards strong{font-size:18px;color:#17334e}.bjs-erp-cards span{font-size:13px;color:#5c6f83}.bjs-erp-fine{font-size:12px;color:#728096}
@media(max-width:760px){.bjs-erp-shell{border-radius:12px;margin:16px 10px;padding:22px}.bjs-erp-cards{grid-template-columns:1fr}.bjs-erp-front-widget{bottom:10px;right:10px}.bjs-erp-front-widget a{font-size:12px;padding:11px 14px}}

/* v0.2 direct manual-entry forms (admin + secure front-end). */
.bjs-erp-entry{margin:22px 0;padding:22px;background:#fff;border:1px solid #e1e7ee;border-radius:15px}
.bjs-erp-entry h3{margin:0 0 8px;color:#142f4c;font-size:23px}
.bjs-erp-entry p{margin:0 0 18px;color:#68788a;line-height:1.6}
.bjs-erp-entry-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
.bjs-erp-entry-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:750;color:#293f57}
.bjs-erp-entry-form input,.bjs-erp-entry-form select{width:100%;min-height:44px;max-width:100%;border-radius:8px;border:1px solid #cdd8e5;background:#fff;color:#172b44;padding:10px 12px;font:400 15px/1.4 system-ui,sans-serif;box-sizing:border-box}
.bjs-erp-entry-form input:focus,.bjs-erp-entry-form select:focus{outline:2px solid #d0a451;outline-offset:1px}
.bjs-erp-entry-submit{grid-column:1/-1}.bjs-erp-entry-submit button{width:auto;max-width:100%;padding:12px 24px;margin:4px 0 0}
.bjs-erp-website-management{padding-top:10px;border-top:1px solid #e8edf2}.bjs-erp-website-management>h3{margin:24px 0;color:#142f4c}
.bjs-erp-mini-table{margin:32px 0;overflow-x:auto}.bjs-erp-mini-table h3{font-size:20px}
.bjs-erp-mini-table table{width:100%;min-width:530px;border-collapse:collapse}
.bjs-erp-mini-table th,.bjs-erp-mini-table td{padding:11px;text-align:left;border-bottom:1px solid #e1e7ee;word-break:break-word;font-size:13px}
.bjs-erp-mini-table th{background:#f1f4f7;color:#233952}
.bjs-erp-mini-table form{display:flex;gap:8px;align-items:center;margin:10px 0 20px}
.bjs-erp-mini-table input[type=search]{min-height:40px;border-radius:8px;border:1px solid #cfd9e4;padding:8px 12px;max-width:100%}
.bjs-erp-mini-table button{min-height:40px;border:0;border-radius:8px;color:#fff;background:#172e49;padding:8px 16px;cursor:pointer}
@media (max-width:700px){.bjs-erp-entry{padding:16px;margin:15px 0}.bjs-erp-entry-form{grid-template-columns:1fr}.bjs-erp-entry-submit{grid-column:auto}.bjs-erp-entry-submit button{width:100%}}
