:root { --ink:#17212b; --muted:#607084; --line:#dbe3ec; --navy:#102a43; --blue:#1e6cd9; --pale:#f4f8fc; --green:#167c57; --amber:#9a6400; --shadow:0 8px 26px rgba(19,45,70,.08); }
.fixed-party { background:#f7fafc; }
.fixed-party p { margin:6px 0; color:var(--ink); white-space:pre-line; }
.po-letter-intro { background:#fff; border-left:4px solid var(--blue); padding:17px 20px; border-radius:6px; box-shadow:var(--shadow); }
.po-letter-intro p { color:var(--ink); margin:0 0 5px; }
.po-letter-intro p:last-child { margin-bottom:0; }
.po-commercial-form h3 { margin:0 0 10px; color:#284a65; }
.party-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.party-block { border:1px solid var(--line); border-radius:7px; padding:15px; background:#fff; }
.party-block p { color:var(--ink); margin:5px 0; white-space:pre-line; }
.terms-lines { margin:8px 0 0; padding-left:22px; }
.po-entry-table { min-width:1050px; }
.po-entry-table input,.po-entry-table select { min-width:105px; padding:7px 8px; }
.po-tax-fields input:disabled { background:#edf1f5; color:#7b8793; cursor:not-allowed; }
.po-charge-section { border-top:2px solid var(--line); padding-top:18px; }
.po-charge-section h3 { margin:0 0 5px; color:#284a65; }
.po-charge-section p { margin-bottom:14px; }
.po-live-summary { display:grid; grid-template-columns:repeat(4,minmax(135px,1fr)); gap:1px; margin-top:16px; overflow:hidden; border:1px solid var(--line); border-radius:8px; background:var(--line); }
.po-live-summary div { background:#f8fbfe; padding:10px 12px; }
.po-live-summary span { display:block; color:var(--muted); font-size:10px; font-weight:750; letter-spacing:.35px; text-transform:uppercase; }
.po-live-summary strong { display:block; margin-top:2px; color:#183d5e; }
.po-live-summary .grand-total { background:#e5f1fb; }
.po-financial-summary { max-width:560px; margin-left:auto; }
.po-financial-summary td:first-child { font-weight:650; }
.po-financial-summary td:last-child { text-align:right; font-variant-numeric:tabular-nums; }
.amount-in-words { border-left:4px solid var(--blue); padding:12px 15px; background:#f7fbff; color:var(--ink); }
@media(max-width:820px) { .party-grid { grid-template-columns:1fr; } }
@media(max-width:820px) { .po-live-summary { grid-template-columns:repeat(2,minmax(130px,1fr)); } }
.compact-scroll { max-height:360px; overflow:auto; border:1px solid var(--line); border-radius:7px; }
.sales-entry-form { max-width:none; }
.sales-remarks { grid-column:1 / -1; }
.sales-search { max-width:520px; }
.sales-table-scroll { max-height:320px; }
.sales-table { min-width:850px; }
.sales-value { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.sales-option-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; max-width:900px; }
.sales-option-card { display:block; padding:28px; color:var(--ink); text-decoration:none; background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow); }
.sales-option-card:hover { border-color:var(--blue); transform:translateY(-1px); }
.sales-option-card > span { display:inline-block; margin-bottom:18px; color:var(--blue); font-weight:800; font-size:12px; }
.sales-option-card p { margin-bottom:0; }
.sales-data-section { margin-top:28px; padding-top:3px; }
.sales-section-heading { display:flex; align-items:end; justify-content:space-between; border-bottom:2px solid var(--blue); padding-bottom:8px; }
.sales-section-heading h2,.sales-section-heading p { margin-bottom:0; }
.award-project-form { display:grid; grid-template-columns:repeat(3,minmax(135px,1fr)) auto; gap:8px; align-items:end; min-width:720px; }
.award-project-form label { font-size:10px; }
.award-project-form input { padding:7px 8px; }
.awarded-sales-list { max-height:400px; }
.tender-actions { min-width:245px; }
.tender-actions > form { margin-top:8px; }
.tender-actions details { border:1px solid var(--line); border-radius:6px; padding:7px 9px; }
.tender-actions summary { color:var(--blue); cursor:pointer; font-weight:700; white-space:nowrap; }
.revision-form { display:grid; gap:8px; min-width:220px; padding-top:10px; }
.revision-form label { font-size:10px; }
.revision-history { max-height:420px; }
.latest-revision { margin-left:7px; }
.tender-summary article strong { font-size:17px; overflow-wrap:anywhere; }
.tender-result-form { margin-top:8px; }
.lost-project-dialog { width:min(520px,calc(100% - 32px)); border:0; border-radius:10px; padding:25px; box-shadow:0 22px 65px #102c4566; }
.lost-project-dialog::backdrop { background:#102c4599; }
.lost-project-dialog form { display:grid; gap:12px; }
.lost-project-dialog h3,.lost-project-dialog p { margin-bottom:0; }
.lost-project-dialog textarea { min-height:110px; }
@media(max-width:820px) { .sales-option-grid { grid-template-columns:1fr; } .award-project-form { grid-template-columns:1fr; min-width:260px; } }
.compact-scroll table { min-width:680px; }
.compact-scroll thead { position:sticky; top:0; z-index:2; background:#fff; }
.compact-table th { padding:8px 9px; background:#f5f8fb; }
.compact-table td { padding:7px 9px; font-size:13px; }
.register-search { max-width:440px; margin:0 0 12px; }
.register-search label { font-size:12px; }
.master-list { display:grid; gap:6px; max-height:360px; overflow:auto; padding-right:4px; }
.master-list details { border:1px solid var(--line); border-radius:7px; background:#fff; }
.master-list summary { cursor:pointer; display:grid; grid-template-columns:minmax(160px,1fr) minmax(100px,.55fr) minmax(140px,1fr); gap:12px; padding:9px 11px; font-size:13px; }
.master-list summary strong { color:#204561; }
.master-list summary span { color:var(--muted); }
.master-list .master-editor { border-top:1px solid var(--line); padding:11px; }
.compact-row-form { grid-template-columns:repeat(3,minmax(130px,1fr)); align-items:end; }
.compact-row-form .form-actions { margin-top:0; }
@media(max-width:820px) { .master-list summary { grid-template-columns:1fr; gap:2px; } .compact-row-form { grid-template-columns:1fr; } }
.header-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.account-actions { display:flex; align-items:center; gap:12px; } .account-actions > a { color:#cfe4f8; font-size:13px; text-decoration:none; } .account-actions > a:hover { color:#fff; text-decoration:underline; } .review-form { display:flex; align-items:center; gap:7px; min-width:230px; } .review-form input { min-width:135px; padding:6px 8px; font-size:12px; }
.project-assignment { display:grid; gap:6px; min-width:180px; } .project-assignment label { display:flex; align-items:center; gap:6px; font-size:12px; font-weight:500; } .project-assignment input[type="checkbox"] { width:auto; }
.signup-prompt { margin:18px 0 0; text-align:center; font-size:13px; } .signup-prompt a { color:var(--blue); font-weight:700; text-decoration:none; } .signup-prompt a:hover { text-decoration:underline; }
.logout-form { display:flex; align-items:center; gap:10px; } .logout-form span { color:#cfe4f8; font-size:12px; white-space:nowrap; } .logout-form button { border:1px solid #8ab9df; border-radius:5px; background:transparent; color:#fff; cursor:pointer; font:inherit; font-size:13px; padding:6px 9px; } .logout-form button:hover { background:#1b4b70; } .login-shell { display:grid; grid-template-columns:minmax(280px,.9fr) minmax(310px,.7fr); align-items:center; gap:52px; min-height:calc(100vh - 205px); max-width:940px; margin:0 auto; } .login-intro h1 { font-size:36px; max-width:470px; } .login-intro p:not(.eyebrow) { font-size:16px; max-width:510px; } .login-card { max-width:none; padding:30px; } .login-button { width:100%; margin-top:25px; } @media(max-width:820px) { .login-shell { grid-template-columns:1fr; gap:20px; min-height:unset; } .login-intro h1 { font-size:30px; } .logout-form { width:100%; justify-content:flex-start; } }
header.topbar { justify-content:center !important; }
header.topbar { min-height:54px; } header.topbar .company-brand { min-width:.75cm; } header.topbar .company-brand img { width:.75cm !important; height:.2cm !important; max-height:.2cm !important; object-fit:contain; } footer.site-footer { display:block; padding:17px max(24px,calc((100% - 1180px)/2)); text-align:center; } .footer-company-details { display:grid; gap:3px; justify-items:center; } .footer-company-details strong { font-size:14px; } .footer-company-details span { color:#c8d7e5; font-size:12px; } .footer-company-details a { color:#8ecbff; text-decoration:none; } .footer-company-details a:hover { color:#fff; text-decoration:underline; } @media(max-width:620px) { header.topbar .company-brand img { width:.75cm !important; height:.2cm !important; max-height:.2cm !important; } .footer-company-details span { line-height:1.55; } }
header.topbar { min-height:88px; justify-content:space-between; gap:24px; } .company-brand { display:flex; align-items:center; gap:15px; color:#fff; text-decoration:none; min-width:310px; } .company-brand img { width:clamp(165px, 17vw, 210px); max-height:56px; object-fit:contain; border-radius:4px; background:#fff; } .company-identity { display:grid; gap:2px; } .company-identity strong { font-size:19px; line-height:1.15; } .company-identity small { color:#cfe4f8; font-size:11px; line-height:1.28; max-width:315px; } .topbar nav { height:auto; flex-wrap:wrap; justify-content:flex-end; gap:10px 18px; } .site-footer { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:22px max(24px,calc((100% - 1180px)/2)); background:#0c2236; color:#c8d7e5; font-size:12px; } .site-footer div { display:grid; gap:2px; } .site-footer strong { color:#fff; font-size:14px; } .site-footer span { line-height:1.35; } @media(max-width:980px) { header.topbar { align-items:flex-start; flex-direction:column; padding-top:14px; padding-bottom:14px; } .topbar nav { justify-content:flex-start; } } @media(max-width:620px) { .company-brand img { width:130px; max-height:42px; } .company-identity strong { font-size:16px; } .company-identity small { max-width:220px; } .site-footer { align-items:flex-start; flex-direction:column; gap:9px; } }
.project-inventory + .project-inventory { border-top:1px solid var(--line); margin-top:24px; padding-top:24px; } .project-inventory h2 { color:#1f496c; font-size:17px; margin-bottom:13px; }
.total-row td { background:#eef5fb; border-top:2px solid #9ebbd6; border-bottom:0; color:#183d5e; font-weight:750; }
.stat-link { color:inherit; text-decoration:none; } .stat-link article { height:100%; transition:transform .15s ease,box-shadow .15s ease; } .stat-link:hover article { transform:translateY(-2px); box-shadow:0 12px 28px rgba(19,45,70,.14); } .record-link { color:#1765bb; font-weight:750; text-decoration:none; } .record-link:hover { color:#0b467f; text-decoration:underline; } .detail-summary { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:1px; overflow:hidden; margin:0 0 20px; border:1px solid var(--line); border-radius:10px; background:var(--line); box-shadow:var(--shadow); } .detail-summary div { background:#fff; min-height:77px; padding:14px 16px; } .detail-summary span { color:var(--muted); display:block; font-size:11px; font-weight:700; letter-spacing:.4px; text-transform:uppercase; } .detail-summary strong { display:block; margin-top:4px; font-size:14px; overflow-wrap:anywhere; } .spaced-panel { margin-top:20px; } .detail-text { margin-bottom:0; color:var(--ink); white-space:pre-wrap; } .record-list { list-style:none; margin:0; padding:0; } .record-list li { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0; border-top:1px solid var(--line); } .record-list li:first-child { border-top:0; } .record-list span { color:var(--muted); font-size:13px; }
* { box-sizing:border-box; } body { margin:0; background:var(--pale); color:var(--ink); font:15px/1.5 Inter,Segoe UI,Arial,sans-serif; } .topbar { min-height:66px; background:var(--navy); display:flex; align-items:center; padding:0 max(24px,calc((100% - 1180px)/2)); gap:46px; } .brand { color:#fff; text-decoration:none; font-weight:700; font-size:18px; white-space:nowrap; } .brand span { display:inline-flex; margin-right:7px; background:#49a9eb; color:#05233c; font-size:12px; border-radius:3px; padding:2px 5px; vertical-align:2px; } nav { display:flex; height:66px; align-items:center; gap:22px; } nav a { color:#d7e7f5; text-decoration:none; font-size:14px; } nav a:hover { color:#fff; } .container { width:min(1180px,calc(100% - 40px)); margin:34px auto 56px; } h1,h2,p { margin-top:0; } h1 { font-size:30px; line-height:1.2; letter-spacing:-.5px; margin-bottom:8px; } h2 { font-size:18px; margin-bottom:3px; } p { color:var(--muted); } .eyebrow { color:var(--blue); font-size:11px; font-weight:800; letter-spacing:1.25px; margin-bottom:7px; } .hero { background:linear-gradient(112deg,#112f4b,#1c5e91); color:#fff; border-radius:14px; padding:42px 46px; min-height:190px; display:flex; justify-content:space-between; align-items:center; gap:28px; box-shadow:var(--shadow); } .hero h1 { max-width:590px; font-size:33px; } .hero p { color:#d8eafa; max-width:660px; margin-bottom:0; } .hero .eyebrow { color:#85ccff; } .button { display:inline-flex; align-items:center; justify-content:center; border:1px solid transparent; min-height:38px; border-radius:6px; padding:8px 14px; font:inherit; font-weight:650; cursor:pointer; text-decoration:none; white-space:nowrap; } .primary { background:var(--blue); color:#fff; } .hero .primary { background:#fff; color:#15548b; } .secondary { background:#fff; color:#24435e; border-color:#b9c9d9; } .button:hover { filter:brightness(.96); } .button:disabled { cursor:not-allowed; opacity:.48; } .stats { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:22px 0; } .stats article,.panel,.form-card { background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow); } .stats article { padding:19px 20px; } .stats span,.stats small,small { display:block; color:var(--muted); font-size:12px; } .stats strong { display:block; font-size:31px; line-height:1.25; margin:3px 0; } .two-column { display:grid; grid-template-columns:1fr 1fr; gap:20px; } .supplier-layout { align-items:start; grid-template-columns:minmax(300px,.72fr) minmax(450px,1.28fr); } .panel { overflow:hidden; padding:22px; } .panel-heading,.page-heading,.form-section-heading { display:flex; justify-content:space-between; gap:18px; align-items:flex-start; } .panel-heading { margin-bottom:17px; } .panel-heading a { font-size:13px; color:var(--blue); } .page-heading { margin:0 0 23px; } .page-heading p { margin-bottom:0; } .empty { padding:18px 4px; margin-bottom:0; } .notification-list { list-style:none; margin:0; padding:0; } .notification-list li { display:flex; gap:10px; padding:13px 0; border-top:1px solid var(--line); } .notification-list li:first-child { border-top:0; } .notification-list li div { flex:1; } .role { flex:0 0 auto; height:min-content; font-size:10px; font-weight:800; text-transform:uppercase; padding:3px 6px; border-radius:4px; background:#e6eef6; color:#345; } .role.site { background:#e4f4ed; color:var(--green); } .role.purchase { background:#fff3d9; color:var(--amber); } table { width:100%; border-collapse:collapse; } th { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.4px; text-align:left; border-bottom:1px solid var(--line); padding:0 10px 9px 0; } td { vertical-align:top; padding:12px 10px 12px 0; border-bottom:1px solid #edf1f5; } tbody tr:last-child td { border-bottom:0; } td small { margin-top:2px; } .status { color:#345; background:#eaf1f8; border-radius:12px; padding:4px 8px; display:inline-block; font-size:12px; white-space:nowrap; } .form-card { padding:27px; max-width:850px; } .form-card.compact { max-width:none; } .form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; } .vertical-fields { display:grid; gap:14px; } .field { display:grid; gap:5px; } label { font-size:13px; font-weight:700; color:#32475b; text-transform:capitalize; } input,select,textarea { width:100%; border:1px solid #bfcbd6; border-radius:5px; padding:9px 10px; color:var(--ink); background:#fff; font:inherit; } input:focus,select:focus,textarea:focus { outline:2px solid #a6d0fa; border-color:#4b98e4; } textarea { min-height:72px; resize:vertical; } .form-section-heading { margin:26px 0 14px; border-top:1px solid var(--line); padding-top:22px; } .form-section-heading p { margin-bottom:0; font-size:13px; } .material-line { padding:17px; margin:0 0 13px; border:1px solid #cbd8e4; border-radius:8px; } legend { color:#264962; font-weight:750; padding:0 5px; } .remove-line,.remove-delivery-line { appearance:none; border:0; background:transparent; color:#aa3535; cursor:pointer; padding:0 0 0 10px; font:inherit; font-size:12px; } .form-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:25px; } .alert { border-radius:7px; padding:12px 15px; margin:0 0 20px; } .alert.success { background:#e7f5ed; border:1px solid #aed7bf; color:#14613f; } .alert.warning { background:#fff5de; border:1px solid #f1d18a; color:#825800; } .validation { color:#b92b2b; margin-bottom:12px; } .field span { color:#b92b2b; font-size:12px; } @media(max-width:820px) { .topbar { padding:14px 20px; display:block; } nav { height:auto; flex-wrap:wrap; gap:10px 16px; margin-top:9px; } .container { width:min(100% - 28px,1180px); margin-top:22px; } .hero { padding:30px; display:block; } .hero .button { margin-top:22px; } .stats,.two-column,.supplier-layout,.form-grid { grid-template-columns:1fr; } .page-heading { display:block; } .page-heading .button { margin-top:14px; } .panel { overflow-x:auto; } }
