:root {
  --navy: #102c48;
  --navy-soft: #1b4369;
  --gold: #c5a05b;
  --ink: #172f48;
  --muted: #637181;
  --line: #dce2e8;
  --pale: #f4f6f8;
  --white: #fff;
  --green: #397458;
  --shadow: 0 8px 26px rgba(16, 44, 72, .08);
}

* { box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; min-width: 0; margin: 0; overflow-x: hidden; }
body { background: var(--pale); color: var(--ink); font: 17px/1.5 "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button, a { cursor: pointer; }
.app-shell { width: 100%; max-width: 100%; min-width: 0; min-height: 100vh; }

.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 8; display: flex; flex-direction: column;
  width: 238px; padding: 28px 18px; color: #f6f7f8; background: var(--navy);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.sidebar .brand { color: #fff; padding: 4px 4px 0; }
.brand-mark { flex: 0 0 auto; width: 31px; height: 21px; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); border-radius: 60%; transform: rotate(-13deg); }
.brand-name { display: block; font-size: 23px; font-weight: 700; line-height: 1; letter-spacing: .11em; }
.brand-name small { display: block; margin-top: 6px; color: #bac8d3; font-size: 9px; font-weight: 600; letter-spacing: .19em; white-space: nowrap; }
.brand-tagline { margin: 13px 4px 35px; color: #c7d1da; font-size: 12px; }
.side-nav { display: grid; gap: 8px; }
.nav { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 10px 13px; border: 0; border-radius: 10px; color: #d4dee6; background: transparent; text-align: left; font-size: 16px; font-weight: 600; }
.nav:hover, .nav.active { color: #fff; background: #1c4261; }
.nav.active { box-shadow: inset 3px 0 var(--gold); }
.nav-icon { display: inline-grid; place-items: center; width: 26px; font-size: 22px; }
.nav-icon svg, .bottom-nav-icon svg { display: block; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.sidebar-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 17px 5px 2px; border-top: 1px solid #35516b; color: #ccd7e0; font-size: 13px; }
.sidebar-foot .status-dot { flex: 0 0 auto; background: #d2b16f; }
.sidebar-foot[data-state="synced"] .status-dot { background: #65c196; }
.sidebar-foot[data-state="error"] .status-dot { background: #f0a4a4; }
.status-dot, .saved-pill i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #65c196; }

main { width: calc(100% - 238px); min-width: 0; max-width: 1500px; min-height: 100vh; margin: 0 0 0 238px; padding: 0 30px calc(240px + env(safe-area-inset-bottom)); }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; min-height: 94px; gap: 15px; margin-bottom: 25px; border-bottom: 1px solid var(--line); background: rgba(244, 247, 243, .96); backdrop-filter: blur(14px); }
.topbar-copy { min-width: 0; }
.eyebrow { color: #73869a; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.topbar h1 { margin: 3px 0 0; color: var(--navy); font-size: 25px; line-height: 1.2; letter-spacing: -.02em; }
.top-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.saved-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 24px; color: #506579; background: #fff; font-size: 13px; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--navy); background: #e1eaf0; font-weight: 700; }
.page { width: 100%; min-width: 0; animation: fadein .18s ease; }
.hidden { display: none !important; }
@keyframes fadein { from { opacity: .7; transform: translateY(2px); } to { opacity: 1; transform: none; } }
.step-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 20px; }
.step-heading h2 { margin: 0 0 5px; color: var(--navy); font-size: 26px; line-height: 1.2; letter-spacing: -.025em; }
.step-heading p, .card-head p { margin: 0; color: var(--muted); font-size: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 11px 17px; border: 1px solid transparent; border-radius: 9px; font-size: 15px; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; white-space: nowrap; }
.btn-primary { color: #fff; background: var(--navy); box-shadow: 0 3px 9px rgba(16,44,72,.15); }
.btn-primary:hover { background: var(--navy-soft); }
.btn-secondary { border-color: #c5a05b; color: var(--navy); background: #fffaf0; }
.btn-secondary:hover { background: #f7ecd4; }
#pdfBtn { border-color: #b78d44; color: #132d47; background: linear-gradient(135deg, #ead4a8, #c5a05b); box-shadow: 0 3px 10px rgba(133,98,43,.16); }
#pdfBtn:hover { background: #e2c48d; }
#emailBtn { background: linear-gradient(135deg, #183f62, #0a2035); }
#addCustomProduct { font-size: 14px; }
.btn-small { min-height: 42px; padding: 8px 12px; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) 318px; align-items: start; gap: 20px; }
.main-column { display: grid; align-content: start; gap: 16px; min-width: 0; }
.card { min-width: 0; padding: 22px; border: 1px solid #e3e9ee; border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.card-head-wrap { flex-wrap: wrap; }
.card-head-copy { flex: 1 1 240px; min-width: 0; }
.card-head h3, .markup-copy h3 { margin: 0 0 3px; color: var(--navy); font-size: 18px; line-height: 1.25; }
.step-number { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #42627b; background: #eef3f6; font-size: 15px; font-weight: 700; }
.card-head .btn { margin-left: auto; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 16px; }
.form-grid label, .dialog-card > label, .product-editor label { display: grid; min-width: 0; gap: 7px; color: #3e566b; font-size: 15px; font-weight: 650; }
.form-grid input, .form-grid select, .form-grid textarea, .dialog-card input, .product-editor input, .product-editor textarea, .product-editor select {
  width: 100%; min-width: 0; min-height: 50px; padding: 11px 13px; border: 1px solid #cfdbe3; border-radius: 9px;
  outline: none; color: #203a50; background: #fff; font-size: 16px; font-weight: 500;
}
.form-grid textarea, .product-editor textarea { min-height: 84px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus, .dialog-card input:focus, .product-editor input:focus, .product-editor textarea:focus { border-color: #6689a5; box-shadow: 0 0 0 3px #eaf1f5; }
.span2 { grid-column: span 2; }
.product-tools, .catalog-toolbar { display: flex; align-items: center; gap: 12px; min-width: 0; margin: 0 0 14px; }
.searchbox { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 460px; min-width: 0; min-height: 48px; padding: 0 13px; border: 1px solid #dfe6eb; border-radius: 10px; color: #7b8e9e; background: #f8fafb; }
.searchbox > span { flex: 0 0 auto; font-size: 23px; line-height: 1; }
.searchbox input { width: 100%; min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 16px; }
.muted { color: #6c7e8e; font-size: 14px; }
.table-wrap { width: 100%; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.quote-table { width: 100%; min-width: 820px; border-collapse: collapse; }
.quote-table th { padding: 11px 8px; border-bottom: 1px solid var(--line); color: #718497; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-align: left; white-space: nowrap; }
.quote-table td { padding: 11px 8px; border-bottom: 1px solid #e9eef2; color: #3b5266; font-size: 14px; vertical-align: top; }
.quote-table td input { width: 82px; min-height: 44px; padding: 8px; border: 1px solid #d6e0e6; border-radius: 7px; color: #243f54; background: #fff; font-size: 16px; text-align: right; }
.quote-table .line-product { min-width: 185px; }
.quote-product-heading { display: flex; align-items: center; gap: 10px; min-width: 0; margin-bottom: 6px; }
.quote-product-thumb, .quote-product-placeholder { flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid #e0e7ec; border-radius: 8px; background: #f5f7f8; }
.quote-product-thumb { object-fit: contain; }
.quote-product-placeholder { display: grid; place-items: center; color: #8094a4; font-size: 22px; }
.line-name { display: block; color: var(--navy); font-size: 15px; font-weight: 700; }
.line-description { width: 100%; max-width: 230px !important; min-height: 40px !important; margin-top: 5px; text-align: left !important; }
.line-meta { display: block; margin-top: 4px; color: #7b8d9b; font-size: 12px; }
.line-total, .line-profit { color: var(--navy); font-weight: 700; white-space: nowrap; }
.line-profit.gain { color: #177047; }
.line-profit.loss, .profit-summary.loss, .profit-summary.loss b { color: #a22b34; }
.profit-summary.loss { background: #fceced; }
.line-profit.pending { color: #7b8d9b; font-weight: 500; white-space: normal; }
.remove-line { width: 40px; height: 40px; border: 0; border-radius: 8px; color: #7a8a98; background: transparent; font-size: 22px; }
.remove-line:hover { color: #a43c3c; background: #fcf0f0; }
.empty-row td { padding: 30px 10px; color: #8293a0; font-size: 15px; text-align: center; }
.admin-note, .tiny-note { margin: 13px 0 0; color: #6e8090; font-size: 13px; line-height: 1.5; }
.summary-column { min-width: 0; }
.summary-card { position: sticky; top: 18px; padding: 21px; border: 1px solid #e0e7ec; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.summary-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #728496; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.draft-badge { padding: 6px 10px; border-radius: 20px; color: #8b662b; background: #fbf3e4; font-size: 11px; letter-spacing: .05em; }
.quote-number { padding: 17px 0; color: #6e8090; font-size: 14px; }
.quote-number b { color: #254761; }
.summary-rule { height: 1px; margin: 2px 0 10px; background: #e6ecef; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; color: #607487; font-size: 15px; }
.sum-row b { color: #3c566c; font-weight: 700; }
.sum-total { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 0; color: #485f73; font-size: 16px; }
.sum-total b { color: var(--navy); font-size: 26px; letter-spacing: -.03em; }
.profit-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 9px; color: #27573f; background: #edf7f1; font-size: 13px; }
.profit-summary b { white-space: nowrap; font-size: 16px; }
.tiny-note { color: #728394; }
.hint-card { display: flex; align-items: flex-start; gap: 12px; margin-top: 13px; padding: 16px; border-radius: 12px; color: #546d80; background: #eaf1f4; }
.hint-card > span { color: var(--gold); font-size: 20px; }
.hint-card b { color: #314f66; font-size: 15px; }
.hint-card p { margin: 5px 0 0; font-size: 14px; }

.action-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.upload-btn { position: relative; overflow: hidden; }
.upload-btn input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.catalog-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.stat-card { display: grid; gap: 3px; min-width: 0; padding: 15px 17px; border: 1px solid #e0e7ec; border-radius: 12px; background: #fff; }
.stat-card small { color: #75899a; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.stat-card b { color: var(--navy); font-size: 23px; }
.global-markup-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.markup-copy p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.markup-action { display: grid; grid-template-columns: auto 94px auto; align-items: center; gap: 10px; }
.markup-action label { color: #475f73; font-size: 14px; font-weight: 700; }
.markup-action input { width: 94px; min-height: 48px; padding: 8px 10px; border: 1px solid #ccd8e1; border-radius: 8px; font-size: 16px; }
.estimate-banner { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 14px; padding: 13px 15px; border-left: 4px solid var(--gold); border-radius: 6px; color: #566b7c; background: #fbf6eb; font-size: 14px; }
.estimate-banner b { color: #6e4f1f; white-space: nowrap; }
.catalog-toolbar { justify-content: space-between; margin-top: 16px; }
.product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-card { display: flex; flex-direction: column; min-width: 0; padding: 17px; border: 1px solid #e0e7ec; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(11, 41, 71, .04); }
.product-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.product-card h3 { margin: 0; color: var(--navy); font-size: 17px; line-height: 1.3; }
.product-sku { display: block; margin-top: 3px; color: #75889a; font-size: 13px; }
.category-pill { display: inline-flex; align-items: center; margin-top: 10px; padding: 5px 9px; border-radius: 20px; color: #435f76; background: #eef3f6; font-size: 12px; }
.product-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 15px 0; }
.product-stat { min-width: 0; padding: 9px; border-radius: 8px; background: #f5f8fa; }
.product-stat small { display: block; color: #718394; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.product-stat b { display: block; overflow-wrap: anywhere; margin-top: 3px; color: #2a465d; font-size: 15px; }
.product-stat .reference-range { margin-top: 4px; color: #75889a; font-size: 11px; font-weight: 500; letter-spacing: 0; line-height: 1.35; }
.product-stat.profit b { color: var(--green); }
.product-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 11px; border-top: 1px solid #edf1f3; }
.product-card-actions { display: flex; align-items: center; gap: 8px; }
.product-moq { color: #5d7182; font-size: 13px; }
.product-moq b { color: #344e63; }
.product-card .btn { min-height: 44px; padding: 9px 13px; }
.status-estimate { color: #7e632e; font-size: 12px; }
.vendor-preview { margin: 0 0 12px; border-top: 1px solid #edf1f3; color: #536d81; }
.vendor-preview summary { padding: 10px 2px 7px; color: #31516b; font-size: 14px; font-weight: 700; cursor: pointer; }
.vendor-preview-list { display: grid; gap: 8px; padding: 4px 2px 8px; }
.vendor-preview-row { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 4px; padding: 10px 11px; border: 1px solid #e1e8ed; border-radius: 10px; background: #fbfcfd; font-size: 13px; line-height: 1.45; }
.vendor-preview-row b { grid-column: 1/-1; color: #344f64; }
.vendor-preview-row strong { color: #425d72; font-weight: 600; }
.vendor-preview-row small { color: #718395; font-size: 12px; }
.vendor-preview-row a { color: #285475; text-decoration: underline; text-underline-offset: 2px; }
.vendor-reference-notes { margin: 0 2px 8px; padding: 9px 10px; border-radius: 8px; background: #f5f8fa; color: #536d81; font-size: 13px; line-height: 1.45; }
.vendor-preview > small { display: block; padding: 0 2px 8px; color: #718395; font-size: 12px; line-height: 1.4; }
.import-note { margin: 14px 0; color: #687c8e; font-size: 14px; }

.log-summary { display: flex; align-items: center; gap: 38px; margin-bottom: 15px; padding: 18px 21px; border: 1px solid #e0e7ec; border-radius: 13px; background: #fff; }
.log-summary > div { display: grid; gap: 2px; }
.log-summary b { color: var(--navy); font-size: 25px; }
.device-note { margin-left: auto; color: #6b7d8d; font-size: 14px; }
.customer-log { display: grid; gap: 12px; }
.log-card { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 19px; border: 1px solid #e0e7ec; border-radius: 12px; background: #fff; }
.log-main { min-width: 0; }
.log-main h3 { margin: 0; color: var(--navy); font-size: 17px; }
.log-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; color: #687d8d; font-size: 14px; }
.log-badge { display: inline-block; margin-top: 8px; padding: 4px 8px; border-radius: 16px; color: #216346; background: #eaf6ef; font-size: 12px; font-weight: 700; }
.empty-log { padding: 38px 20px; border: 1px dashed #cbd7df; border-radius: 12px; color: #617789; background: #fff; text-align: center; }

.settings-grid { display: grid; gap: 15px; max-width: 920px; }
.email-setup-note { display: grid; gap: 3px; margin: -3px 0 17px; padding: 14px 16px; border-left: 4px solid #5a9b78; border-radius: 5px 9px 9px 5px; color: #4f6879; background: #eff7f2; font-size: 14px; }
.email-setup-note b { color: #275740; font-size: 15px; }
.gmail-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.gmail-status { margin-right: auto; color: #65798a; font-size: 14px; font-weight: 700; }
.gmail-status.connected { color: #24764e; }
.setup-help { margin: 0; color: #65798a; font-size: 13px; line-height: 1.6; }
.inbox-card .card-head { align-items: center; justify-content: space-between; }
.inbox-status { margin: -4px 0 12px; color: var(--muted); font-size: 14px; }
.inbox-list { display: grid; gap: 9px; }
.inbox-message { padding: 14px 15px; border: 1px solid #e3ebe5; border-radius: 10px; background: #fbfcfa; }
.inbox-message-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.inbox-message-head > div { display: grid; gap: 3px; min-width: 0; }
.inbox-message-head b { color: var(--navy); font-size: 15px; }
.inbox-message-head span, .inbox-message time { color: #70837d; font-size: 12px; overflow-wrap: anywhere; }
.inbox-message p { margin: 8px 0 0; color: #526962; font-size: 14px; line-height: 1.45; }
.inbox-read { margin-top: 10px; padding: 0; border: 0; color: #285b53; background: transparent; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.inbox-full-body { max-height: 420px; overflow: auto; margin: 12px 0 0; padding: 13px; border-radius: 8px; color: #334e48; background: #f1f5f1; font: 13px/1.55 "DM Sans", sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; }
.disclaimer-preview { padding: 14px 16px; border-radius: 10px; color: #526a7d; background: #f3f6f8; font-size: 15px; }
.disclaimer-preview p { margin: 0 0 8px; }
.disclaimer-preview p:last-child { margin-bottom: 0; }

.bottom-nav { position: fixed; right: 0; bottom: 0; left: 238px; z-index: 12; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: calc(72px + env(safe-area-inset-bottom)); padding: 6px 12px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid #dce5eb; background: rgba(255, 255, 255, .97); box-shadow: 0 -5px 18px rgba(11, 41, 71, .08); backdrop-filter: blur(10px); }
.bottom-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; min-height: 58px; padding: 4px 5px; border: 0; border-radius: 10px; color: #687b8c; background: transparent; font-size: 13px; font-weight: 700; }
.bottom-nav-icon { font-size: 23px; line-height: 1.1; }
.bottom-nav-icon svg { width: 22px; height: 22px; }
.bottom-nav-item.active { color: var(--navy); background: #edf3f6; }
.bottom-actions, .save-bar { position: fixed; right: 0; bottom: calc(72px + env(safe-area-inset-bottom)); left: 238px; z-index: 11; display: flex; align-items: center; gap: 10px; padding: 10px 30px; border-top: 1px solid #dce5eb; background: rgba(255, 255, 255, .98); box-shadow: 0 -4px 16px rgba(11, 41, 71, .06); }
.action-total { display: flex; align-items: baseline; gap: 16px; margin-right: auto; color: #657a8c; font-size: 13px; }
.action-total b { color: var(--navy); font-size: 20px; }
.bottom-actions .btn { min-width: 170px; min-height: 50px; }
.save-bar { padding-top: 9px; padding-bottom: 9px; }
.save-bar .btn { width: 100%; min-height: 58px; font-size: 18px; }
body[data-page="products"] main, body[data-page="customers"] main { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
body[data-page="products"] .bottom-actions, body[data-page="email"] .bottom-actions, body[data-page="customers"] .bottom-actions, body[data-page="settings"] .bottom-actions { display: none; }
body:not([data-page="settings"]):not([data-page="email"]) .save-bar { display: none; }
body[data-page="settings"] main, body[data-page="email"] main { padding-bottom: calc(205px + env(safe-area-inset-bottom)); }

.toast { position: fixed; right: 18px; bottom: calc(156px + env(safe-area-inset-bottom)); left: 18px; z-index: 30; width: max-content; max-width: min(520px, calc(100vw - 36px)); margin: auto; padding: 14px 18px; border-radius: 10px; color: #fff; background: #163a59; box-shadow: 0 8px 26px rgba(0, 0, 0, .19); font-size: 15px; text-align: center; opacity: 0; transform: translateY(12px); transition: .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateY(0); }

dialog { width: min(650px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: min(90vh, 900px); padding: 0; border: 0; border-radius: 15px; background: transparent; }
dialog::backdrop { background: rgba(11, 41, 71, .55); backdrop-filter: blur(2px); }
.dialog-card { padding: 22px; border: 1px solid #e0e7ec; border-radius: 15px; background: #fff; box-shadow: 0 20px 60px rgba(11, 41, 71, .26); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.dialog-head h3 { margin: 0; color: var(--navy); font-size: 21px; }
.dialog-head p { margin: 4px 0 0; color: #64798b; font-size: 14px; }
.icon-btn { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #4e6578; background: #eef3f6; font-size: 25px; }
.dialog-results { max-height: min(45vh, 430px); margin-top: 8px; overflow-y: auto; }
.result-item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 13px 4px; border: 0; border-bottom: 1px solid #e9eef1; color: var(--ink); background: #fff; text-align: left; }
.result-item:hover { background: #f5f8fa; }
.result-item:disabled { color: #718092; background: #f8fafb; cursor: not-allowed; opacity: .75; }
.result-box { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border-radius: 9px; color: #496b83; background: #edf3f6; font-size: 20px; }
.result-meta { flex: 1; min-width: 0; }
.result-meta b { display: block; color: #294b66; font-size: 15px; }
.result-meta small { display: block; margin-top: 3px; color: #718495; font-size: 13px; }
.result-price { color: #2a7051; font-size: 14px; font-weight: 700; text-align: right; }
.dialog-foot { display: flex; justify-content: flex-end; gap: 9px; margin-top: 15px; }
.product-editor { max-height: min(90vh, 900px); overflow-y: auto; }
.editor-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.editor-full { grid-column: 1 / -1; }
.price-preview { padding: 12px 14px; border-radius: 9px; color: #305b43; background: #edf7f1; font-size: 14px; }
.price-preview b { font-size: 18px; }
.editor-section-title { grid-column: 1 / -1; margin: 5px 0 -5px; padding-top: 12px; border-top: 1px solid #e7edf1; color: var(--navy); font-size: 16px; }
.vendor-candidate { display: grid; gap: 10px; padding: 13px; border: 1px solid #e4eaee; border-radius: 10px; background: #fbfcfd; }
.vendor-candidate > b { color: #36546d; font-size: 14px; }
.vendor-fields { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 8px; }
.editor-help { grid-column: 1/-1; margin: 0; color: #667b8d; font-size: 13px; line-height: 1.5; }

@media (max-width: 1100px) {
  .sidebar { width: 218px; }
  main { width: calc(100% - 218px); margin-left: 218px; padding-right: 22px; padding-left: 22px; }
  .bottom-nav, .bottom-actions, .save-bar { left: 218px; }
  .quote-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 14px; }
  .card { padding: 19px; }
}

@media (max-width: 1024px) {
  html, body, .app-shell { width: 100%; max-width: 100%; }
  body { overflow-x: hidden; }
  .sidebar { display: none; }
  main { width: 100vw; max-width: none; min-width: 0; margin: 0; padding: 0 18px calc(220px + env(safe-area-inset-bottom)); }
  .topbar { min-height: 78px; margin-bottom: 19px; }
  .quote-grid { grid-template-columns: minmax(0, 1fr); }
  .summary-column { order: -1; }
  .summary-card { position: static; }
  .bottom-nav, .bottom-actions, .save-bar { right: 0; left: 0; }
  .bottom-nav { height: calc(70px + env(safe-area-inset-bottom)); }
  .bottom-actions, .save-bar { padding-right: 18px; padding-left: 18px; }
  .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  main { padding-right: 14px; padding-left: 14px; }
  .topbar { min-height: 68px; gap: 8px; margin-bottom: 16px; }
  .eyebrow { font-size: 11px; }
  .topbar h1 { font-size: 22px; }
  .top-right { gap: 7px; }
  .saved-pill { display: none; }
  .avatar { width: 40px; height: 40px; }
  .step-heading { align-items: flex-start; margin-bottom: 14px; }
  .step-heading h2 { font-size: 23px; }
  .step-heading p { max-width: 100%; font-size: 14px; }
  .step-heading > .btn { flex: 0 0 auto; min-height: 48px; padding: 9px 11px; font-size: 14px; }
  .step-heading:has(.action-row) { display: grid; }
  .action-row { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .action-row .btn { min-width: 0; min-height: 49px; padding: 8px; font-size: 13px; }
  .action-row .upload-btn { grid-column: 1/-1; }
  .card { padding: 17px 15px; border-radius: 12px; }
  .card-head { align-items: flex-start; gap: 10px; margin-bottom: 15px; }
  .card-head h3, .markup-copy h3 { font-size: 17px; }
  .card-head p { font-size: 13px; line-height: 1.4; }
  .step-number { width: 38px; height: 38px; border-radius: 10px; font-size: 14px; }
  .card-head .btn { margin-left: 48px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .form-grid .span2 { grid-column: auto; }
  .form-grid label { font-size: 15px; }
  .form-grid input, .form-grid select, .form-grid textarea { min-height: 52px; padding: 11px 12px; font-size: 16px; }
  .form-grid textarea { min-height: 86px; }
  .product-tools, .catalog-toolbar { align-items: stretch; flex-wrap: wrap; }
  .product-tools .searchbox, .catalog-toolbar .searchbox { max-width: none; }
  .product-tools .muted { margin-left: auto; }
  .table-wrap { overflow: visible; }
  .quote-table { display: block; width: 100%; min-width: 0; }
  .quote-table thead { display: none; }
  .quote-table tbody { display: grid; gap: 10px; width: 100%; }
  .quote-table tr:not(.empty-row) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; width: 100%; padding: 12px; border: 1px solid #dfe7ec; border-radius: 11px; background: #fff; }
  .quote-table td { display: grid; align-content: start; min-width: 0; gap: 4px; padding: 5px 2px; border: 0; font-size: 14px; }
  .quote-table td::before { content: attr(data-label); color: #728697; font-size: 12px; font-weight: 700; }
  .quote-table td.line-product { grid-column: 1/-1; }
  .quote-table td.line-product::before { display: none; }
  .quote-table td input { width: 100%; min-width: 0; min-height: 45px; font-size: 16px; text-align: left; }
  .quote-table td.remove-cell { grid-column: 1/-1; justify-items: end; }
  .line-description { max-width: 100% !important; }
  .line-name { font-size: 15px; }
  .line-meta { font-size: 12px; }
  .empty-row { display: block; }
  .empty-row td { display: block; padding: 24px 10px; }
  .summary-card { padding: 17px; }
  .sum-row { font-size: 14px; }
  .sum-total b { font-size: 24px; }
  .admin-note, .tiny-note { font-size: 12px; }
  .catalog-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .stat-card { padding: 11px 9px; }
  .stat-card small { font-size: 10px; }
  .stat-card b { font-size: 19px; }
  .global-markup-card { display: grid; gap: 12px; padding: 16px; }
  .markup-action { grid-template-columns: 1fr 90px; gap: 8px; }
  .markup-action label { grid-column: 1/-1; }
  .markup-action input { width: 100%; }
  .markup-action .btn { min-height: 48px; padding: 8px; white-space: normal; font-size: 14px; }
  .estimate-banner { display: grid; gap: 3px; padding: 12px; font-size: 13px; }
  .estimate-banner b { white-space: normal; }
  .product-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .product-card { padding: 15px; }
  .product-card h3 { font-size: 16px; }
  .product-stats { gap: 6px; margin: 12px 0; }
  .product-stat { padding: 8px 7px; }
  .product-stat small { font-size: 10px; }
  .product-stat b { font-size: 14px; }
  .product-moq { font-size: 12px; }
  .catalog-toolbar { margin-top: 13px; }
  .log-summary { flex-wrap: wrap; gap: 17px 28px; padding: 15px; }
  .device-note { width: 100%; margin-left: 0; font-size: 13px; }
  .log-card { align-items: flex-start; padding: 14px; }
  .log-card .btn { flex: 0 0 auto; min-height: 46px; padding: 8px 10px; font-size: 13px; white-space: normal; }
  .log-main h3 { font-size: 15px; }
  .log-meta { font-size: 13px; }
  .gmail-controls { align-items: stretch; }
  .gmail-status { flex: 1 1 100%; }
  .gmail-controls .btn { flex: 1 1 auto; }
  .bottom-nav { height: calc(70px + env(safe-area-inset-bottom)); padding: 5px 5px calc(5px + env(safe-area-inset-bottom)); }
  .bottom-nav-item { min-height: 57px; padding: 3px 2px; font-size: 12px; }
  .bottom-nav-icon { font-size: 22px; }
  .bottom-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 8px 10px; }
  .action-total { grid-column: 1/-1; display: flex; align-items: center; justify-content: flex-start; gap: 16px; }
  .action-total b { font-size: 19px; }
  .bottom-actions .btn { min-width: 0; width: 100%; min-height: 49px; padding: 8px 5px; font-size: 14px; white-space: normal; }
  .save-bar { padding: 8px 10px; }
  .save-bar .btn { min-height: 56px; font-size: 18px; }
  body[data-page="settings"] main, body[data-page="email"] main { padding-bottom: calc(200px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(155px + env(safe-area-inset-bottom)); font-size: 14px; }
  .dialog-card { padding: 17px; }
  .editor-fields { grid-template-columns: minmax(0, 1fr); }
  .editor-fields > * { grid-column: auto; }
  .vendor-fields { grid-template-columns: minmax(0, 1fr); }
  .dialog-foot .btn { flex: 1 1 auto; white-space: normal; }
}

.auth-gate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow-y: auto; padding: 22px; background: radial-gradient(circle at top right, #254b67, #102c48 60%, #0b2137); }
.auth-card { width: min(100%, 430px); padding: 30px; border: 1px solid rgba(255,255,255,.25); border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.auth-logo { display: block; width: min(75%, 260px); height: auto; max-height: 76px; object-fit: contain; object-position: left center; margin-bottom: 24px; }
.auth-card h1 { margin: 5px 0 8px; color: var(--navy); font-size: 27px; }
.auth-card > p:not(.eyebrow):not(.auth-footnote):not(.auth-error) { margin: 0 0 20px; color: #65798a; line-height: 1.5; }
.auth-form { display: grid; gap: 14px; }
.auth-form label, .member-add-form label { display: grid; gap: 7px; color: #40596e; font-size: 14px; font-weight: 700; }
.auth-form input, .member-add-form input { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #cfdbe3; border-radius: 9px; color: #203a50; background: #fff; font-size: 17px; }
.auth-form input:focus, .member-add-form input:focus { border-color: #6689a5; outline: 0; box-shadow: 0 0 0 3px #eaf1f5; }
.auth-form .btn { margin-top: 3px; min-height: 52px; }
.auth-footnote { margin: 15px 0 0; color: #718395; font-size: 13px; line-height: 1.45; }
.auth-error { min-height: 20px; margin: 10px 0 0; color: #a22b34; font-size: 14px; font-weight: 600; }
.install-help { margin: 18px 0 0; padding-top: 13px; border-top: 1px solid #e6ecef; color: #718395; font-size: 12px; line-height: 1.5; }
.user-pill { padding: 8px 11px; border-radius: 18px; color: #18344e; background: #e7eef3; font-size: 13px; font-weight: 700; white-space: nowrap; }
.member-add-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 12px; }
.member-help { margin: 12px 0; color: #718395; font-size: 13px; }
.member-list { display: grid; gap: 8px; }
.member-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #e2e9ee; border-radius: 10px; background: #fbfcfd; }
.member-row b, .member-row small { display: block; }
.member-row b { color: var(--navy); }
.member-row small { margin-top: 3px; color: #718395; font-size: 12px; }
.member-history { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e2e9ee; }
.member-history h4 { margin: 0; color: #718395; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.member-row--inactive { background: #f5f7f8; }
.member-row--inactive b, .member-row--inactive small { color: #8795a0; }
.member-status { color: #778691; font-size: 12px; font-weight: 700; }
body:not([data-role]) .bottom-nav, body:not([data-role]) .bottom-actions, body:not([data-role]) .save-bar { display: none !important; }
body[data-role="member"] .admin-only,
body[data-role="member"] .bottom-nav-item[data-page="settings"],
body[data-role="member"] #addCatalogProduct,
body[data-role="member"] #productsPage .action-row,
body[data-role="member"] .global-markup-card,
body[data-role="member"] .catalog-stats .stat-card:nth-child(3),
body[data-role="member"] #saveBar,
body[data-role="member"] .estimate-banner,
body[data-role="member"] .product-card-actions,
body[data-role="member"] .profit-summary,
body[data-role="member"] .admin-note,
body[data-role="member"] .quote-table th:nth-child(3),
body[data-role="member"] .quote-table td:nth-child(3),
body[data-role="member"] .quote-table th:nth-child(7),
body[data-role="member"] .quote-table td:nth-child(7) { display: none !important; }
body[data-role="member"] .quote-table .empty-row td { display: table-cell !important; }
@media (max-width: 700px) {
  .auth-card { padding: 24px; }
  .member-add-form { grid-template-columns: 1fr 1fr; }
  .member-add-form button { grid-column: 1 / -1; }
  .user-pill { display: none; }
}

@media (max-width: 380px) {
  main { padding-right: 11px; padding-left: 11px; }
  .topbar h1 { font-size: 20px; }
  .step-heading > .btn { font-size: 13px; }
  .bottom-nav-item { font-size: 11px; }
  .product-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-stat:last-child { grid-column: 1/-1; }
  .log-card { display: grid; }
  .log-card .btn { width: 100%; }
}

/* SOFFRI branding and the quotation workflow additions. */
.brand-name, .header-brand > span:last-child { font-family: Georgia, "Times New Roman", serif; }
.header-brand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 3px; color: var(--navy); text-decoration: none; font: 700 18px/1 Georgia, "Times New Roman", serif; letter-spacing: .12em; }
.header-brand small { display: block; margin-top: 4px; color: #8b744c; font: 600 7px/1.2 "DM Sans", sans-serif; letter-spacing: .14em; }
.header-brand-mark { display: inline-block; width: 24px; height: 15px; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); border-radius: 60%; transform: rotate(-14deg); }
.summary-card { border: 2px solid #c8a45f; background: linear-gradient(150deg, #fffdf8, #fff 62%); box-shadow: 0 10px 30px rgba(128, 95, 40, .14); }
.contact-shortcut { display: flex; align-items: end; gap: 10px; margin: -4px 0 15px 55px; }
.contact-shortcut label { display: grid; flex: 1; gap: 5px; color: #587084; font-size: 13px; font-weight: 700; }
.contact-shortcut select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #cfdbe3; border-radius: 8px; color: #203a50; background: #fff; }
.bottom-nav { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.product-card-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.product-thumb, .product-thumb-pending { display: grid; flex: 0 0 auto; place-items: center; width: 58px; height: 52px; object-fit: contain; border-radius: 8px; background: #f2f5f6; }
.product-thumb-pending { color: #8694a0; font-size: 10px; line-height: 1.15; text-align: center; }
.result-thumb { flex: 0 0 auto; width: 42px; height: 42px; object-fit: contain; border-radius: 8px; background: #f2f5f6; }
.contact-list { display: grid; gap: 10px; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px; border: 1px solid #e0e7ec; border-radius: 12px; background: #fff; }
.contact-card h3 { margin: 0; color: var(--navy); font-size: 17px; }

/* Match the main SOFFRI site and keep the header visible in mobile Safari. */
main { padding-top: 116px; }
.sidebar { background: #0a2035; }
.nav:hover, .nav.active { background: #193d60; }
.topbar { position: fixed; top: 0; right: 0; left: 238px; z-index: 25; min-height: 88px; margin: 0; padding: 10px 30px; border-top: 4px solid var(--gold); border-bottom: 1px solid #254561; background: #0a2035; box-shadow: 0 7px 22px rgba(16,44,72,.2); backdrop-filter: none; }
.header-brand { padding: 4px 10px; border-radius: 5px; background: #fff; }
.header-brand { margin: 0; }
.header-logo { display: block; width: 205px; height: auto; max-height: 60px; object-fit: contain; object-position: left center; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.avatar { flex: 0 0 auto; color: var(--navy); background: #fff; }
.saved-pill { border-color: #416078; color: #ecf3f8; background: #173a58; }
.btn { border-radius: 5px; }
.card, .summary-card, .product-card { border-radius: 8px; }
.step-number { color: var(--navy); background: #edf2f6; }
.bottom-nav-item.active { color: var(--navy); background: #edf2f6; }
.inbox-read { color: var(--navy); }
.mail-provider-fields { display: grid; gap: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 6px; background: #f8fafb; }
.mail-provider-fields .setup-help { margin: 0; }
.mail-provider-fields .gmail-controls { margin-top: 2px; }
@media (max-width: 1100px) { .topbar { left: 218px; padding-inline: 22px; } }
@media (max-width: 1024px) { main { padding-top: 102px; } .topbar { left: 0; min-height: 78px; padding-inline: 18px; } }
@media (max-width: 700px) { main { padding-top: 92px; } .topbar { min-height: 72px; padding: 8px 16px; } .header-logo { width: 173px; max-height: 51px; } }
@media (max-width: 380px) { .header-logo { width: 155px; } }
/* Clear active state and SOFFRI palette for the fixed navigation. */
.bottom-nav { border-top: 3px solid var(--gold); background: #102c48; box-shadow: 0 -8px 26px rgba(10,32,53,.22); backdrop-filter: none; }
.bottom-nav-item { color: #d1deea; border-radius: 9px; transition: background .15s ease, color .15s ease; }
.bottom-nav-item:hover { color: #fff; background: #204361; }
.bottom-nav-item.active { color: #102c48; background: #e2c181; box-shadow: inset 0 -3px #b68b45; }
.bottom-nav-icon { display: grid; place-items: center; height: 27px; }
.bottom-nav-icon svg { width: 24px; height: 24px; stroke-width: 1.9; stroke-linecap: round; }
.bottom-nav-item.active svg { stroke-width: 2.3; }
.bottom-nav-item:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.draft-panel { margin: -3px 0 20px; padding: 15px 18px; border: 1px solid #cfdeea; border-left: 4px solid var(--gold); border-radius: 9px; background: #fff; box-shadow: var(--shadow); }
.draft-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.draft-panel-top > div { display: grid; }
.draft-panel-top b { color: var(--navy); font-size: 16px; }
.draft-panel-top span, .draft-empty { color: #6d8090; font-size: 13px; }
.draft-empty { margin: 12px 0 0; }
.draft-list { display: grid; gap: 8px; margin-top: 12px; }
.draft-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #e5ebef; border-radius: 7px; background: #f9fafb; }
.draft-item > div:first-child { display: grid; min-width: 0; }
.draft-item b { color: var(--navy); font-size: 14px; }
.draft-item span, .draft-item small { color: #6b7d8b; font-size: 12px; overflow-wrap: anywhere; }
.draft-actions { display: flex; gap: 6px; flex: 0 0 auto; }
.draft-actions .btn { min-height: 36px; padding: 6px 9px; font-size: 12px; }
@media (max-width: 700px) { .draft-item { align-items: stretch; flex-direction: column; } .draft-actions .btn { flex: 1; } }
/* Keep both fixed bars inside Safari's changing visual viewport. */
.bottom-nav { bottom: var(--dock-offset, 0px); }
.bottom-actions, .save-bar { bottom: calc(70px + env(safe-area-inset-bottom) + var(--dock-offset, 0px)); }
.contact-card p, .contact-card small { display: block; margin: 3px 0 0; color: #62798c; overflow-wrap: anywhere; }
.contact-actions, .log-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.log-actions .btn { white-space: normal; }
.btn-danger { border-color: #e4c3c3; color: #9c3838; background: #fff7f7; }
.btn-danger:hover { background: #fdeeee; }
.danger-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-color: #ebd2d2; }
.danger-card h3 { margin: 0; color: #8d3939; }
.danger-card p { margin: 4px 0 0; color: #765c5c; font-size: 14px; }
.photo-editor { display: flex; align-items: center; gap: 12px; }
.photo-editor label { flex: 1; }
.editor-photo-preview { width: 72px; height: 64px; object-fit: contain; border-radius: 9px; background: #f3f6f8; }
.log-detail-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; color: #526a7c; }
.log-detail-fields p { margin: 5px 0; }
.pdf-preview { width: 100%; height: 45vh; border: 1px solid #dce4e9; border-radius: 8px; background: #eef2f4; }
body[data-page="contacts"] .bottom-actions { display: none; }
body[data-page="contacts"] main { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
@media (max-width: 700px) {
  .contact-shortcut { margin-left: 0; }
  .contact-card, .danger-card { align-items: stretch; flex-direction: column; }
  .contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .log-actions { justify-content: flex-start; }
  .log-detail-fields { grid-template-columns: 1fr; }
  .photo-editor { flex-wrap: wrap; }
}

/* Product details dialog */
.detail-dialog { width: min(640px, calc(100vw - 24px)); border: 0; border-radius: 14px; padding: 0; }
.detail-dialog::backdrop { background: rgba(12, 34, 56, .45); }
.detail-dialog .dialog-card { padding: 18px; }
.detail-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.detail-head h3 { margin: 0 0 4px; font-size: 18px; }
.detail-photo { width: 110px; height: 110px; object-fit: contain; border-radius: 10px; background: #f4f6f9; flex: 0 0 auto; }
.detail-price { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; background: #f4f6f9; margin-bottom: 8px; }
.detail-price small { color: #5d6b7a; font-weight: 700; letter-spacing: .3px; }
.detail-price b { font-size: 20px; color: #163453; }
.detail-title { margin: 16px 0 8px; font-size: 15px; color: #163453; }
.detail-spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.detail-spec th, .detail-spec td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #dfe5ec; vertical-align: top; }
.detail-spec th { width: 38%; color: #5d6b7a; font-weight: 600; }

.pin-reset-row { display: flex; gap: 6px; align-items: center; }
.pin-reset-row input { width: 110px; padding: 6px 8px; border: 1px solid #cfdbe3; border-radius: 8px; font: inherit; }

.card-spec { margin: 8px 0 0; color: #5d6b7a; font-size: 13px; line-height: 1.4; }

