/* TejSetu identity: navy, solar orange and clear white surfaces.
   Original supplied brand assets are displayed unchanged. */
:root {
    --navy: #061b40;
    --green: #073468;
    --lime: #ff841f;
    --ink: #102747;
    --muted: #66758b;
    --line: #dfe5ee;
    --bg: #f4f6fa;
    --amber: #9c4a09;
    --brand-orange: #ff7916;
    --brand-orange-light: #fff0e4;
}
a { color: #073468; }
.sidebar {
    background: linear-gradient(165deg, #082951 0%, #061b40 58%, #04132e 100%);
    border-right: 1px solid #173459;
}
.brand.brand-lockup {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    letter-spacing: 0;
}
.brand-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 196px;
    height: 58px;
    padding: 0 8px;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 2px 10px #0000000b;
}
.brand-image img { display: block; width: 100%; height: auto; flex: 0 0 100%; }
.brand.brand-lockup > small { color: #b8c7dc; font-size: 8px; letter-spacing: 2.4px; margin-left: 2px; }
.workspace-label { color: #91a9ca; margin-top: 38px; }
nav a { color: #bfd0e7; border-left: 3px solid transparent; }
nav a:hover { background: #ffffff0b; color: white; }
nav a.selected { border-left-color: var(--brand-orange); background: #ff791617; color: #ffb778; }
.sidebar-note { border-color: #294368; background: #ffffff04; }
.sidebar-note small, .account small { color: #9db3d0; }
.dot { background: var(--brand-orange); }
.account { border-color: #294368; }
.account .link { color: #ffb778; }
.button { background: var(--brand-orange); border-color: var(--brand-orange); color: #061b40; font-weight: 700; }
.button:hover { background: #ff8c35; border-color: #ff8c35; filter: none; }
.button:disabled { cursor: not-allowed; opacity: .65; }
.button.secondary { color: var(--ink); border-color: #d5deeb; background: white; }
.button.secondary:hover { border-color: #859cbc; background: #f5f7fc; }
input:focus, select:focus, textarea:focus { border-color: #245f9d; outline-color: #e1ecf9; }
input, select, textarea { border-color: #ced8e5; }
.eyebrow { color: #164c83; }
.pill { color: #174f85; background: #edf3fb; border-color: #d7e3f4; }
.pill.amber { color: #8d430c; background: #fff0e4; border-color: #f3d7bf; }
.panel, .stats > div, .product-card { box-shadow: 0 3px 16px #0a234003; }
.category-icon { background: #edf3fb; color: #0c3b6d; border-bottom: 3px solid var(--brand-orange); }
.product-card:hover { box-shadow: 0 8px 24px #092f5a12; border-color: #a7bcd6; }
.product-card .card-price strong { color: #0a3263; }
.empty { border-color: #c5d2e3; }
.empty-symbol { color: #174c83; }
.notice { background: #eef3fa; border-color: #dce6f3; }
.notice.warning { color: #8e470d; background: #fff3e8; border-color: #f1d9c0; }
.spec-list > div { border-color: #e9edf3; }
.spec-preview span { color: var(--muted); }
th { background: #f4f7fb; }
.quote-header .eyebrow { color: #ab4a00; }
.grand-total { color: #0a3263; border-top-color: var(--brand-orange); }
.quote-logo { max-width: 210px; max-height: 84px; }
.login-story {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 15% 90%, #124d84 0%, transparent 55%), linear-gradient(145deg, #082951, #04132e 85%);
    border-bottom: 5px solid var(--brand-orange);
}
.login-story::after { content: ''; position: absolute; top: 0; right: 0; width: 5px; height: 145px; background: var(--brand-orange); }
.login-story .brand-image { width: 260px; height: 78px; padding: 0 12px; border-radius: 8px; }
.login-story .eyebrow { color: #ffb778; }
.login-story h1 { color: white; }
.login-story h1 span { color: #ff963f; }
.login-story p { color: #b9cbe2; }
.login-story > small { color: #95b0d3; }
.login-card .eyebrow { color: #a54600; }
@media (max-width: 760px) {
    .sidebar { padding: 18px 20px 12px; }
    .brand-image { width: 172px; height: 45px; }
    .brand.brand-lockup { gap: 7px; }
    .brand.brand-lockup > small { font-size: 7px; }
    .login-story .brand-image { width: 210px; height: 60px; }
}
@media print {
    .quote-header .eyebrow { color: #0a3263; }
    .grand-total { border-top-color: #ff7916; }
}

.sidebar { overflow-y: auto; } details { margin: 12px 0; } summary { cursor: pointer; color: #164c83; margin-bottom: 12px; }

.field-definition { display:grid; grid-template-columns:1.2fr .8fr 1.4fr auto auto; gap:12px; align-items:center; border-bottom:1px solid var(--line); padding:12px 0; } .field-definition label { min-width:0; } @media(max-width:1000px) { .field-definition { grid-template-columns:1fr 1fr; } } @media(max-width:600px) { .field-definition { grid-template-columns:1fr; } }

.sidebar .brand-image { max-width:100%; } .sidebar nav a { padding:9px 10px; font-size:12px; } .sidebar .workspace-label { margin:24px 12px 10px; } .sidebar-note { padding:12px; font-size:10px; } .account { margin-top:16px; padding:14px 5px 0; }

.quote-actions { display:flex; flex-wrap:wrap; align-items:flex-start; gap:12px; margin-bottom:12px; } .quote-actions form { margin:0; } .quote-line { grid-template-columns:minmax(180px,3fr) minmax(80px,1fr) minmax(110px,1.3fr) auto; } @media(max-width:900px) { .quote-line { grid-template-columns:1fr 1fr; } } @media(max-width:600px) { .quote-line { grid-template-columns:1fr; } }

.bom-row { display:grid; grid-template-columns:2fr 1fr 2fr auto; gap:12px; padding:14px 0; border-bottom:1px solid var(--line); align-items:center; } .bom-row-note { grid-column:1/-1; } .sidebar nav a { padding:8px 10px; } @media(max-width:1000px) { .bom-row { grid-template-columns:1fr 1fr; } } @media(max-width:600px) { .bom-row { grid-template-columns:1fr; } }
.dashboard-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-bottom:24px; }
.dashboard-metrics > a,.dashboard-metrics > div { display:flex; flex-direction:column; gap:12px; background:white; border:1px solid var(--line); border-top:3px solid #ff7916; border-radius:12px; padding:22px; color:#061b40; text-decoration:none; min-width:0; }
.dashboard-metrics span { font-size:10px; letter-spacing:.08em; font-weight:700; color:var(--muted); }
.dashboard-metrics strong { font-size:36px; line-height:1.15; overflow-wrap:anywhere; }
.dashboard-metrics .metric-money { font-size:24px; }.dashboard-metrics small { color:var(--muted); font-size:11px; }
.dashboard-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-bottom:24px; }
.dashboard-grid .panel { margin:0; min-width:0; }.dashboard-grid h2 { font-size:18px; }.work-item { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:15px 0; border-bottom:1px solid var(--line); }.work-item:last-child { border-bottom:0; }.work-item p { margin:6px 0 0; }.work-item > div { min-width:0; overflow-wrap:anywhere; }
.dashboard-alerts { display:flex; flex-wrap:wrap; gap:16px 24px; align-items:center; margin-bottom:24px; }.dashboard-alerts > div { flex:1 1 100%; }.dashboard-alerts h2,.dashboard-alerts p { margin:0 0 6px; }.dashboard-alerts a { font-size:13px; }.dashboard-alerts strong { font-size:20px; margin-right:5px; }.followup-card { margin-bottom:24px; }
.report-filter { align-items:flex-end; }.report-filter label { margin-bottom:0; }.report-filter .button { align-self:flex-end; }
@media(max-width:1100px) { .dashboard-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } .dashboard-grid { grid-template-columns:1fr; } }
@media(max-width:500px) { .dashboard-metrics { grid-template-columns:1fr; } .work-item { flex-wrap:wrap; } }

/* Quantity entry keeps physical units separate from the approved price basis. */
.quote-line { grid-template-columns:minmax(180px,2fr) minmax(85px,.8fr) minmax(145px,1.1fr) minmax(135px,1.1fr) auto; }
.line-preview { padding:12px 14px; background:#f2f6fb; border-left:3px solid #ff7916; border-radius:4px; line-height:1.8; margin:0 0 8px; }
@media(max-width:1200px) { .quote-line { grid-template-columns:1fr 1fr; } .quote-line>label:first-child { grid-column:1/-1; } }
@media(max-width:600px) { .quote-line { grid-template-columns:1fr; } }

.commerce-form .check-label { display:flex; align-items:flex-start; gap:10px; line-height:1.7; } .commerce-form .check-label input { width:auto; flex:0 0 auto; margin:4px 0 0; }
