:root { --ink:#17364b; --muted:#6e8190; --line:#dfe8ee; --paper:#fff; --canvas:#f2f6f8; --nav:#123b59; --teal:#1c81b6; --teal-dark:#0f638f; --orange:#dca948; --danger:#bb5860; --shadow:0 12px 32px rgba(22,63,91,.10); }
* { box-sizing:border-box; }
body { margin:0; background:radial-gradient(circle at 80% -10%,#e7f4fa 0,transparent 28%),var(--canvas); color:var(--ink); font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size:14px; }
button, input, select, textarea { font:inherit; }
button { cursor:pointer; }
.app-shell { min-height:100vh; display:grid; grid-template-columns:242px minmax(0,1fr); }
.sidebar { background:linear-gradient(165deg,#174b6d 0%,#123b59 48%,#0c2b42 100%); color:#dbe6ec; display:flex; flex-direction:column; padding:25px 15px 19px; box-shadow:8px 0 30px rgba(10,39,58,.08); }
.brand { display:flex; align-items:center; min-height:72px; padding:0 10px 22px; }.brand-logo { display:block; width:172px; height:68px; object-fit:contain; object-position:left center; background:#fff; border-radius:10px; padding:6px 9px; filter:drop-shadow(0 5px 12px rgba(0,0,0,.18)); }
.brand-mark { display:grid; place-items:center; height:31px; width:31px; background:white; color:var(--teal-dark); border-radius:50%; font-family:Georgia, "Times New Roman", serif; font-weight:800; font-size:15px; box-shadow:0 2px 8px rgba(0,0,0,.16); }
.workspace-label { color:#a8cee1; font-size:10px; font-weight:800; letter-spacing:1.1px; padding:0 10px 12px; margin:0; }
.nav-item { width:100%; border:0; color:#c8d9e4; background:transparent; text-align:left; padding:11px 11px; margin:2px 0; border-radius:8px; font-weight:620; display:flex; align-items:center; gap:12px; transition:background .16s ease,transform .16s ease; }.nav-item span { color:#9dc4d9; width:15px; text-align:center; font-size:16px; }.nav-item:hover { background:rgba(78,150,190,.22); color:white; transform:translateX(2px); }.nav-item.active { background:linear-gradient(90deg,#278ec0,#1d78aa); color:white; box-shadow:inset 3px 0 0 #fff,0 5px 16px rgba(0,0,0,.13); }.nav-item.active span { color:#fff; }
.sidebar-bottom { margin-top:auto; padding:0 10px; }.sidebar-bottom p { color:#7690a0; font-size:11px; margin:13px 0 0; }.reset-link { background:none; border:0; color:#a7c0cc; font-size:11px; padding:0; text-decoration:underline; }
main { min-width:0; }.topbar { min-height:103px; background:rgba(255,255,255,.92); backdrop-filter:blur(16px); border-bottom:1px solid var(--line); padding:23px 42px; display:flex; align-items:center; justify-content:space-between; gap:20px; }.eyebrow { color:var(--teal-dark); font-size:10px; font-weight:800; letter-spacing:1.2px; margin:0 0 3px; }.topbar h1 { font-size:26px; letter-spacing:-.8px; margin:0; }.topbar-actions { display:flex; align-items:center; gap:17px; }.workspace-state { display:inline-flex; gap:7px; align-items:center; background:#eaf6fb; color:#216184; padding:7px 10px; border:1px solid #d6eaf4; border-radius:20px; font-size:11px; font-weight:720; }.workspace-state i { width:7px; height:7px; background:#35a66f; border-radius:50%; box-shadow:0 0 0 3px rgba(53,166,111,.12); }.period { color:#647785; font-size:13px; }.primary-button { border:0; color:white; background:linear-gradient(135deg,#238ec1,#176b9a); font-weight:750; padding:10px 16px; border-radius:8px; box-shadow:0 5px 12px rgba(30,125,176,.26); }.primary-button:hover { background:var(--teal-dark); }
.content { max-width:1450px; margin:0 auto; padding:30px 42px 52px; }.section-heading { display:flex; justify-content:space-between; gap:18px; align-items:flex-end; margin-bottom:18px; }.section-heading h2 { font-size:17px; margin:0 0 4px; letter-spacing:-.2px; }.section-heading p { color:var(--muted); margin:0; font-size:13px; }.link-button { border:0; background:none; color:var(--teal-dark); font-weight:700; padding:4px 0; }.secondary-button { background:white; color:var(--ink); border:1px solid #ced9df; border-radius:6px; padding:8px 11px; font-weight:650; }
.metric-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; margin-bottom:29px; }.metric { background:white; border:1px solid var(--line); border-radius:9px; padding:17px 18px; box-shadow:0 2px 5px rgba(14,45,66,.025); }.metric .label { color:#748493; font-size:11px; font-weight:750; letter-spacing:.35px; text-transform:uppercase; }.metric .value { font-size:24px; font-weight:760; letter-spacing:-1px; margin:9px 0 4px; white-space:nowrap; }.metric .note { font-size:12px; color:#718190; }.metric.emphasis { background:var(--nav); border-color:var(--nav); }.metric.emphasis .label,.metric.emphasis .note { color:#c5dce9; }.metric.emphasis .value { color:#fff; }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr); gap:20px; }.panel { background:white; border:1px solid var(--line); border-radius:9px; padding:20px; box-shadow:0 2px 5px rgba(14,45,66,.025); }.panel-title { display:flex; align-items:start; justify-content:space-between; gap:10px; margin-bottom:18px; }.panel-title h3 { margin:0 0 3px; font-size:15px; }.panel-title p { margin:0; color:var(--muted); font-size:12px; }.bar-row { display:grid; grid-template-columns:minmax(95px,1fr) minmax(110px,1.4fr) 95px; align-items:center; gap:13px; margin:15px 0; }.bar-label { font-size:12px; font-weight:650; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.bar { height:9px; background:#eaf0f2; border-radius:7px; overflow:hidden; }.bar > i { display:block; height:100%; background:var(--teal); border-radius:inherit; }.bar-row:nth-child(3n) .bar > i { background:#5a8aa5; }.bar-value { text-align:right; font-weight:750; font-size:12px; }.status-list { margin:0; padding:0; list-style:none; }.status-list li { display:flex; justify-content:space-between; align-items:center; border-top:1px solid #edf1f3; padding:13px 0; gap:15px; }.status-list li:first-child { border-top:0; padding-top:0; }.status-label { display:flex; gap:9px; align-items:center; font-weight:600; }.status-dot { width:8px; height:8px; border-radius:50%; background:var(--teal); }.status-list strong { font-size:17px; }.split-line { height:1px; background:var(--line); margin:15px 0; }.callout { background:#edf6fb; border:1px solid #cce5f3; color:#205c80; padding:12px; border-radius:7px; font-size:12px; line-height:1.45; }
.toolbar { display:flex; gap:10px; align-items:center; margin-bottom:17px; }
.search { background:white; border:1px solid #d8e2e6; border-radius:7px; padding:9px 11px; width:min(320px,100%); outline:none; }
.search:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(43,134,188,.12); }
.view-layout { display:grid; grid-template-columns:minmax(330px,.88fr) minmax(450px,1.35fr); gap:20px; }
.project-list { display:grid; gap:11px; }
.project-card { border:1px solid var(--line); background:white; padding:15px; border-radius:8px; cursor:pointer; transition:.15s; }
.project-card:hover { border-color:#9ac7df; }.project-card.selected { border-color:var(--teal); box-shadow:0 0 0 2px rgba(43,134,188,.14); }
.card-row { display:flex; justify-content:space-between; gap:10px; }.code { font-size:11px; color:#617887; font-weight:800; letter-spacing:.55px; }
.project-card h3 { margin:6px 0 4px; font-size:14px; }.subtext { color:var(--muted); font-size:12px; }
.card-bottom { display:flex; justify-content:space-between; align-items:center; border-top:1px solid #edf1f3; margin-top:13px; padding-top:11px; }
.margin { color:var(--teal-dark); font-weight:790; }.project-detail { min-height:522px; }.detail-top { display:flex; justify-content:space-between; gap:15px; }
.detail-top h2 { margin:4px 0; font-size:20px; letter-spacing:-.4px; }.detail-meta { color:var(--muted); font-size:12px; }
.tag { display:inline-flex; align-items:center; white-space:nowrap; border-radius:20px; padding:4px 8px; font-size:10px; font-weight:800; letter-spacing:.25px; }
.tag.active,.tag.paid,.tag.collected { background:#e3f2fa; color:#176898; }.tag.pending { background:#fff1de; color:#a06117; }.tag.closed,.tag.cancelled { background:#e9eef1; color:#5e7482; }
.financial-strip { display:grid; grid-template-columns:repeat(5,1fr); gap:10px; background:#f5f8f9; border-radius:7px; padding:12px; margin:19px 0; }
.project-financial-strip { grid-template-columns:repeat(6,minmax(0,1fr)); }.project-financial-strip small { display:block; margin-top:4px; color:#6c8190; font-size:9px; line-height:1.3; }
.financial-strip span { display:block; color:#718190; font-size:10px; text-transform:uppercase; font-weight:750; letter-spacing:.35px; }.financial-strip strong { display:block; margin-top:5px; font-size:14px; }
.vat-position small { display:block; margin-top:4px; color:#718190; font-size:9px; font-weight:650; white-space:nowrap; }
.tab-row { display:flex; gap:17px; border-bottom:1px solid var(--line); margin-top:5px; }.tab-row button { border:0; background:none; padding:10px 0; color:#718190; font-size:12px; font-weight:700; }.tab-row button.active { color:var(--teal-dark); border-bottom:2px solid var(--teal); }
.compact-table { width:100%; border-collapse:collapse; margin-top:8px; }.compact-table th { color:#758695; text-transform:uppercase; letter-spacing:.35px; font-size:10px; text-align:left; padding:10px 7px; border-bottom:1px solid var(--line); }.compact-table td { padding:11px 7px; border-bottom:1px solid #edf1f3; vertical-align:middle; }.compact-table th:not(:first-child),.compact-table td:not(:first-child) { text-align:right; }.compact-table td:first-child { font-weight:600; }
.table-shell { border:1px solid var(--line); background:white; border-radius:9px; overflow:auto; }.data-table { width:100%; min-width:800px; border-collapse:collapse; }.data-table th { background:#f7f9fa; color:#6d808e; text-transform:uppercase; font-size:10px; letter-spacing:.55px; text-align:left; padding:12px 14px; border-bottom:1px solid var(--line); }.data-table td { padding:13px 14px; border-bottom:1px solid #edf1f3; color:#294457; }.data-table tr:last-child td { border-bottom:0; }.data-table td.num,.data-table th.num { text-align:right; }.data-table .main-cell { color:var(--ink); font-weight:700; }.row-action { color:var(--danger); border:0; background:none; font-size:12px; }
.empty { text-align:center; border:1px dashed #cbd9df; border-radius:8px; background:#fff; padding:42px 18px; color:var(--muted); }.empty b { display:block; color:var(--ink); font-size:15px; margin-bottom:7px; }.person-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:14px; }.person-card { background:white; border:1px solid var(--line); border-radius:9px; padding:16px; }.avatar { width:33px;height:33px;display:grid;place-items:center;background:#e1f0f8;color:#176898;font-size:12px;font-weight:850;border-radius:50%; }.person-card h3 { font-size:14px;margin:11px 0 4px; }.person-card p { color:var(--muted); margin:0 0 14px; font-size:12px; }.person-card footer { border-top:1px solid var(--line); padding-top:11px; display:flex; justify-content:space-between; font-size:12px; }
.crew-section { margin-top:34px; }.crew-section .section-heading { margin-bottom:13px; }.mini-button { padding:5px 8px; font-size:11px; }.plate { display:inline-block; background:#e8eef1; border:1px solid #d2dde2; border-radius:4px; padding:3px 6px; font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:11px; font-weight:800; letter-spacing:.5px; color:#304d60; }.quote-summary { margin-top:21px; padding:16px; border:1px solid #e1e9ed; border-radius:7px; background:#fbfcfc; }.quote-summary h3 { font-size:13px; margin:11px 0 5px; }.quote-summary p { color:#5f7482; font-size:13px; line-height:1.5; margin:0; }.route { display:flex; align-items:center; gap:10px; margin-top:14px; color:#415a6b; font-size:12px; }.route span { border:1px solid #dbe5e9; border-radius:5px; padding:8px 10px; flex:1; }.route span b { display:block; color:#758896; text-transform:uppercase; font-size:9px; letter-spacing:.45px; margin-bottom:3px; }.route i { font-style:normal; color:var(--teal-dark); font-size:18px; }.crew-note { margin-top:12px; border-left:3px solid var(--teal); background:#edf6fb; padding:9px 10px; color:#205c80; font-size:12px; }.crew-inline { margin-top:8px; color:#416276; }
.cash-dashboard { margin-top:30px; }.cash-dashboard .section-heading { margin-bottom:13px; }.cash-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; }.finance-section { margin-top:27px; }.finance-columns { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:20px; }.small-heading { font-size:13px; margin:0 0 4px; }.negative { color:#ad5647; font-weight:750; }.alert-callout { border-color:#f2cf98; background:#fff7ea; color:#815317; }
.calendar-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:13px; }.calendar-heading h2 { margin:0 0 4px; font-size:28px; letter-spacing:-1px; text-transform:capitalize; }.calendar-heading p { margin:0; color:var(--muted); font-size:13px; }.calendar-controls { display:flex; align-items:center; gap:7px; }.calendar-arrow { width:34px; padding:5px 0; font-size:24px; line-height:1; color:#405e70; }.calendar-legend { display:flex; flex-wrap:wrap; align-items:center; gap:15px; color:#6c7f8c; font-size:12px; margin:0 0 13px; }.calendar-legend span { display:inline-flex; align-items:center; gap:6px; }.calendar-legend i { display:inline-block; width:8px; height:8px; border-radius:50%; }.calendar-legend i.project,.calendar-event.project i { background:#1987c1; }.calendar-legend i.transport,.calendar-event.transport i { background:#f18b2c; }.calendar-grid { overflow:hidden; border:1px solid var(--line); border-radius:11px; background:white; box-shadow:0 2px 5px rgba(14,45,66,.025); }.calendar-weekdays,.calendar-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); }.calendar-weekdays { background:#f7f9fa; border-bottom:1px solid var(--line); }.calendar-weekdays span { padding:11px 10px; color:#718391; font-size:11px; font-weight:800; text-align:right; }.calendar-weekdays span:nth-child(-n+5) { text-align:left; }.calendar-day { min-height:132px; padding:9px 8px; border-right:1px solid #e8eef1; border-bottom:1px solid #e8eef1; background:#fff; overflow:hidden; }.calendar-day:nth-child(7n) { border-right:0; }.calendar-day:nth-last-child(-n+7) { border-bottom:0; }.calendar-day.outside-month { background:#fafcfd; }.calendar-day.outside-month .calendar-day-number { color:#b8c2c8; }.calendar-day.today .calendar-day-number { display:grid; place-items:center; width:25px; height:25px; margin-left:auto; border-radius:50%; background:#e14b4b; color:white; }.calendar-day-number { height:25px; color:#405969; font-size:12px; font-weight:750; text-align:right; }.calendar-events { display:grid; gap:4px; }.calendar-event { display:flex; min-width:0; align-items:center; gap:5px; padding:2px 0; border:0; background:transparent; color:#2b4658; text-align:left; font-size:11px; line-height:1.25; }.calendar-event:hover { color:#0f638f; text-decoration:underline; }.calendar-event i { flex:0 0 auto; width:4px; height:13px; border-radius:3px; }.calendar-event span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.calendar-more { color:#718391; font-size:10px; font-weight:700; padding-left:9px; }
.modal-backdrop { position:fixed; inset:0; background:rgba(9,28,42,.47); display:grid; place-items:center; padding:18px; z-index:5; }.modal-backdrop.hidden,.hidden { display:none !important; }.modal { width:min(650px,100%); max-height:min(90vh,800px); overflow:auto; position:relative; border-radius:10px; background:white; box-shadow:0 20px 60px rgba(0,0,0,.25); padding:27px; }.close-modal { position:absolute; right:15px; top:12px; border:0; background:transparent; color:#708290; font-size:28px; }.modal h2 { margin:0 0 5px; font-size:20px; }.modal .intro { color:var(--muted); font-size:13px; margin:0 0 21px; }.chooser { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }.choose-type { border:1px solid var(--line); border-radius:8px; background:white; padding:16px; text-align:left; color:var(--ink); }.choose-type:hover { border-color:var(--teal); background:#f1f8fc; }.choose-type strong,.choose-type small { display:block; }.choose-type strong { font-size:14px; margin:5px 0; }.choose-type small { color:var(--muted); font-size:11px; line-height:1.35; }.form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }.form-group { display:grid; gap:6px; }.form-group.full { grid-column:1/-1; }.form-group label { font-size:11px; font-weight:750; color:#556d7b; }.form-group input,.form-group select,.form-group textarea { width:100%; border:1px solid #d5e0e5; border-radius:6px; padding:9px 10px; outline:0; background:white; }.form-group textarea { min-height:76px; resize:vertical; }.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(43,134,188,.1); }.form-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:23px; }.form-actions button { padding:10px 13px; border-radius:6px; font-weight:700; }.cancel { background:white; color:#526a79; border:1px solid #d1dde2; }.submit { background:var(--teal); color:white; border:1px solid var(--teal); }.toast { position:fixed; right:24px; bottom:24px; color:white; background:#193d54; border-radius:7px; padding:12px 16px; box-shadow:var(--shadow); z-index:8; font-weight:650; }
.document-intake { display:grid; gap:16px; }.document-intake-note { display:flex; gap:10px; align-items:flex-start; border:1px solid #cbe3ef; background:#eff8fc; color:#245d7d; border-radius:8px; padding:12px; font-size:12px; line-height:1.45; }.document-intake-note b { color:var(--ink); }.document-preview { border:1px solid var(--line); border-radius:9px; background:#f8fbfc; padding:14px; }.document-preview h3 { margin:0 0 6px; font-size:13px; }.document-preview p { margin:0; color:var(--muted); font-size:12px; line-height:1.45; }.extraction-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-top:13px; }.extraction-summary div { background:#fff; border:1px solid #e0e9ed; border-radius:6px; padding:9px; }.extraction-summary span { display:block; color:#748493; font-size:9px; font-weight:800; letter-spacing:.45px; text-transform:uppercase; }.extraction-summary strong { display:block; margin-top:4px; font-size:12px; overflow-wrap:anywhere; }.document-link { color:var(--teal-dark); font-size:11px; font-weight:750; text-decoration:none; }.document-link:hover { text-decoration:underline; }
.document-type-warning { display:flex; align-items:center; justify-content:space-between; gap:14px; border:1px solid #f0c58c; background:#fff6e8; color:#7d521d; border-radius:8px; padding:12px 13px; font-size:12px; line-height:1.4; }.document-type-warning b,.document-type-warning span { display:block; }.document-type-warning b { color:#704411; margin-bottom:2px; }.document-type-warning .secondary-button { flex:0 0 auto; border-color:#e2b979; background:#fff; color:#704411; }
.login-page { min-height:100vh; display:grid; place-items:center; padding:22px; background:radial-gradient(circle at 22% 14%,#dff2fa 0,transparent 30%),linear-gradient(145deg,#eff6f9,#dcecf3); }.login-card { width:min(440px,100%); background:rgba(255,255,255,.96); border:1px solid #dce8ee; border-radius:18px; padding:38px; box-shadow:0 22px 62px rgba(15,53,77,.17); }.login-logo { width:188px; height:68px; object-fit:contain; object-position:left; margin-bottom:23px; }.login-card h1 { font-size:29px; letter-spacing:-.8px; margin:4px 0 9px; }.login-card > p:not(.eyebrow):not(.login-status):not(.login-note) { color:var(--muted); line-height:1.5; margin:0 0 26px; }.login-card form { display:grid; gap:8px; }.login-card label { color:#526d7d; font-size:12px; font-weight:760; }.login-card input { border:1px solid #cedde5; border-radius:9px; padding:12px; outline:0; }.login-card input:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(28,129,182,.12); }.login-card .primary-button { margin-top:8px; width:100%; padding:12px; }.login-card .primary-button:disabled { opacity:.65; cursor:wait; }.login-status { min-height:20px; color:#176898; font-size:13px; margin:17px 0 0; }.login-note { border-top:1px solid var(--line); color:#778895; font-size:11px; line-height:1.45; margin:24px 0 0; padding-top:18px; }
@media (max-width:1000px) { .app-shell{grid-template-columns:196px minmax(0,1fr)}.topbar,.content{padding-left:25px;padding-right:25px}.metric-grid,.cash-grid{grid-template-columns:repeat(2,1fr)}.view-layout,.dashboard-grid,.finance-columns{grid-template-columns:1fr}.project-detail{min-height:0} }
@media (max-width:680px) { .app-shell{display:block}.sidebar{padding:13px;min-height:auto}.brand{min-height:52px;padding:0 4px 10px}.brand-logo{width:145px;height:52px;padding:4px 7px}.workspace-label,.sidebar-bottom{display:none}#main-nav{display:flex;overflow:auto}.nav-item{white-space:nowrap;width:auto;padding:8px 9px}.topbar{padding:16px 18px;min-height:83px}.topbar-actions .period,.workspace-state{display:none}.content{padding:21px 18px}.metric-grid,.cash-grid{grid-template-columns:1fr 1fr;gap:9px}.metric{padding:13px}.metric .value{font-size:18px}.financial-strip{grid-template-columns:1fr 1fr}.form-grid,.chooser,.extraction-summary{grid-template-columns:1fr}.bar-row{grid-template-columns:90px 1fr 75px} }
.document-open-icon { display:inline-flex; align-items:center; justify-content:center; width:29px; height:30px; padding:0; vertical-align:middle; border:0; color:var(--teal-dark); background:transparent; border-radius:5px; text-decoration:none; cursor:pointer; }.document-open-icon:hover { background:#fff0f0; }.pdf-mark { display:block; width:21px; height:25px; filter:drop-shadow(0 1px 1px rgba(120,34,34,.18)); }.no-document-pdf { color:#9aaab5; }
.pdf-viewer-modal { width:min(1120px,96vw); height:min(88vh,900px); max-height:88vh; padding:23px; overflow:hidden; }.pdf-viewer-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; padding-right:40px; margin-bottom:15px; }.pdf-viewer-heading .eyebrow { margin-bottom:4px; }.pdf-viewer-heading h2 { font-size:16px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.pdf-viewer-heading .secondary-button { text-decoration:none; white-space:nowrap; }.pdf-pages { height:calc(100% - 65px); min-height:500px; overflow:auto; border:1px solid var(--line); border-radius:7px; background:#e7eaec; padding:24px; }.pdf-page { width:max-content; max-width:100%; margin:0 auto 20px; background:#fff; box-shadow:0 3px 14px rgba(18,39,52,.24); }.pdf-page:last-child { margin-bottom:0; }.pdf-page canvas { display:block; max-width:100%; height:auto; }.pdf-preview-loading,.pdf-preview-error { min-height:220px; display:grid; place-content:center; gap:7px; text-align:center; color:#5d7280; font-size:13px; }.pdf-preview-error b { color:#8a4c43; }.pdf-preview-error span { font-size:12px; }
.project-index { display:grid; grid-template-columns:repeat(auto-fit,minmax(265px,1fr)); gap:13px; }.full-project-detail .project-detail { min-height:620px; }.back-button { display:block; padding:0; margin:0 0 9px; border:0; background:none; color:var(--teal-dark); font-weight:800; font-size:12px; cursor:pointer; }.project-actions { display:flex; justify-content:space-between; gap:18px; margin-top:24px; padding-top:17px; border-top:1px solid var(--line); }.project-action-group { display:flex; flex-wrap:wrap; align-items:center; gap:9px; }.project-action-group > span { width:100%; color:#718190; font-size:10px; font-weight:800; letter-spacing:.45px; text-transform:uppercase; }.project-action-group em { color:var(--muted); font-size:12px; font-style:normal; }.project-action-group button { padding:10px 12px; border-radius:6px; }
.service-row { cursor:pointer; }.service-row:hover td { background:#eef8fc; }.delete-service-button { color:var(--danger); border-color:#e4bcc0; }
.project-actions.single-action { justify-content:flex-end; }
.detail-top-actions { display:flex; align-items:flex-start; justify-content:flex-end; flex-wrap:wrap; gap:8px; }.delete-project-button,.delete-document-button { color:#a54146; border-color:#e5c1c4; background:#fff; }.delete-project-button:hover,.delete-document-button:hover { border-color:#d7959b; background:#fff4f4; }.document-actions { white-space:nowrap; }
.delete-team-button { color:#a54146; border:1px solid #e4bcc0; background:#fff; }
.additional-truck { grid-column:1 / -1; border:1px solid #cddfe7; border-radius:7px; background:#f8fbfc; }.additional-truck summary { padding:11px 12px; color:#176898; cursor:pointer; font-size:12px; font-weight:800; }.additional-truck[open] summary { border-bottom:1px solid #dbe7ec; }.additional-truck-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; padding:13px; }.additional-truck-fields .full { grid-column:1 / -1; }
.project-team-card { display:block; }.project-team-card .team-overview { padding-bottom:12px; }.project-team-card .team-overview small { margin-top:3px; }.project-team-card .team-vehicles { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:9px; }.project-team-card .team-vehicle { min-width:0; padding:10px; border:1px solid #dbe6ea; border-radius:6px; background:#fff; }.project-team-card .team-vehicle span { color:#176898; }.project-team-card .team-vehicle b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.project-team-card .team-vehicle .plate { margin-top:7px; }.project-team-card .team-assistance { margin-top:12px; }.project-team-card.empty-team { display:flex; }
@media (max-width:760px) { .additional-truck-fields { grid-template-columns:1fr; }.project-team-card .team-vehicles { grid-template-columns:1fr; } }
.team-pdf-button { display:inline-flex; align-items:center; gap:7px; }.team-action-icon { width:17px; height:20px; flex:0 0 auto; }.whatsapp-button { display:inline-flex; align-items:center; justify-content:center; width:42px; padding:7px !important; }.whatsapp-action-icon { width:24px; height:24px; display:block; }
.xml-document-preview { height:calc(100% - 65px); min-height:500px; margin:0; overflow:auto; border:1px solid var(--line); border-radius:7px; background:#f7fafb; padding:18px; color:#294758; font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; white-space:pre-wrap; }
.project-team-card { display:grid; grid-template-columns:1.25fr repeat(3,1fr); gap:12px; width:100%; margin:4px 0 2px; padding:14px 16px; border:1px solid #dce8ed; border-radius:8px; background:#f7fbfc; color:#26465a; font-size:12px; }.project-team-card > div { min-width:0; }.project-team-card span { display:block; color:#718596; font-size:10px; font-weight:800; letter-spacing:.55px; text-transform:uppercase; margin-bottom:5px; }.project-team-card strong { display:block; color:#17364b; font-size:14px; }.project-team-card b { display:block; font-weight:700; line-height:1.4; }.project-team-card small { display:block; margin-top:2px; color:#61798a; font-size:11px; font-weight:600; }.project-team-card .team-label { color:#176898; }.project-team-card .team-assistance { grid-column:1 / -1; padding-top:10px; border-top:1px solid #dce8ed; }.project-team-card .plate { font-style:normal; }.project-action-group .project-team-card { flex-basis:100%; }.empty-team { display:flex; align-items:center; justify-content:space-between; }.empty-team p { max-width:390px; margin:0; color:#61798a; line-height:1.45; } @media (max-width:760px) { .project-team-card { grid-template-columns:repeat(2,1fr); }.project-team-card .team-assistance { grid-column:1 / -1; }.empty-team { display:block; }.empty-team p { margin-top:8px; } }
@media (max-width:760px) { .calendar-heading { align-items:flex-start; flex-direction:column; }.calendar-day { min-height:96px; padding:7px 5px; }.calendar-weekdays span { padding:9px 4px; font-size:10px; }.calendar-event { font-size:10px; }.calendar-event i { height:11px; }.calendar-legend { gap:10px; } }
.calendar-day { min-height:150px; }.calendar-events { gap:6px; }.calendar-event { align-items:flex-start; gap:6px; width:100%; padding:5px 6px; border-radius:5px; font-size:11px; line-height:1.3; }.calendar-event.project { background:#edf7fc; }.calendar-event.transport { background:#fff5e9; }.calendar-event:hover { text-decoration:none; box-shadow:inset 0 0 0 1px currentColor; }.calendar-event i { width:4px; min-height:30px; height:auto; }.calendar-event span { display:block; overflow:visible; text-overflow:clip; white-space:normal; overflow-wrap:anywhere; }.calendar-event small { display:block; margin-bottom:2px; color:#6c8290; font-size:8px; font-weight:850; letter-spacing:.35px; }.calendar-more { padding-left:4px; }
.week-services { display:grid; gap:9px; }.week-service-row { display:grid; grid-template-columns:66px minmax(0,1fr); gap:11px; width:100%; padding:10px; border:1px solid #e2eaee; border-radius:7px; background:#fff; color:var(--ink); text-align:left; }.week-service-row:hover { border-color:#8fc5df; background:#f7fbfd; }.week-service-row.project { border-left:4px solid #1987c1; }.week-service-row.transport { border-left:4px solid #f18b2c; }.week-service-date { align-self:start; color:#577082; font-size:10px; font-weight:850; letter-spacing:.25px; text-transform:uppercase; }.week-service-main { min-width:0; }.week-service-main small,.week-service-main b,.week-service-main em { display:block; }.week-service-main small { color:#6d8190; font-size:9px; font-weight:800; letter-spacing:.35px; text-transform:uppercase; }.week-service-main b { margin:3px 0; font-size:12px; line-height:1.35; }.week-service-main em { overflow:hidden; color:#718391; font-size:11px; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }.week-services-empty { border:1px dashed #cbd9df; border-radius:7px; padding:24px 14px; color:#718391; text-align:center; font-size:12px; }
.dashboard-metric-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:11px; margin-bottom:22px; }.dashboard-metric-grid .metric { padding:12px 14px; border-radius:8px; }.dashboard-metric-grid .metric .label { font-size:9px; }.dashboard-metric-grid .metric .value { margin:6px 0 2px; font-size:20px; }.dashboard-metric-grid .metric .note { font-size:10px; }
@media (max-width:900px) { .dashboard-metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) { .calendar-day { min-height:112px; }.calendar-event { padding:4px; font-size:9px; }.calendar-event small { font-size:7px; } }
.quote-list-shell { overflow:auto; border:1px solid var(--line); border-radius:11px; background:#fff; box-shadow:0 2px 5px rgba(14,45,66,.025); }.quote-list { width:100%; min-width:980px; border-collapse:collapse; }.quote-list th { padding:15px 13px; border-bottom:1px solid #dfe8ec; color:#718391; font-size:10px; font-weight:850; letter-spacing:.4px; line-height:1.4; text-align:left; text-transform:uppercase; vertical-align:bottom; }.quote-list th:first-child { width:36px; }.quote-list th:last-child { width:40px; }.quote-list td { padding:16px 13px; border-bottom:1px solid #e6edf0; color:#294859; font-size:12px; vertical-align:middle; }.quote-list tbody tr:last-child td { border-bottom:0; }.quote-list-row { cursor:pointer; transition:background .15s; }.quote-list-row:hover,.quote-list-row.selected { background:#f2f9fc; }.quote-list-row.selected { box-shadow:inset 3px 0 0 var(--teal); }.quote-list strong,.quote-list small,.quote-list b { display:block; }.quote-list small { margin-top:4px; color:#778b97; font-size:10px; font-weight:650; line-height:1.3; }.quote-customer { min-width:180px; }.quote-customer strong { color:#176898; font-size:13px; text-transform:uppercase; }.quote-due { color:#d06068 !important; }.quote-amount { min-width:116px; text-align:right; }.quote-amount strong { color:#304d60; font-size:14px; }.quote-amount small { color:#176898; font-size:10px; font-weight:850; }.quote-amount b { color:#1984bc; font-size:14px; }.quote-expand,.quote-more { display:grid; place-items:center; border:0; background:transparent; color:#2694c6; cursor:pointer; }.quote-expand { width:24px; height:24px; border:2px solid #2694c6; border-radius:50%; padding:0; font-size:17px; line-height:1; }.quote-more { color:#98a8b1; font-size:15px; letter-spacing:2px; }.quote-process { display:flex; align-items:center; gap:7px; color:#6d8290; }.quote-process i { display:grid; place-items:center; width:21px; height:21px; border:1px solid #cddce3; border-radius:5px; color:#1d83b6; font-size:12px; font-style:normal; }.quote-process i:first-child { border:0; font-size:19px; color:#4a606c; }.quote-progress { text-align:center; }.quote-progress strong { font-size:15px; }.quote-detail-workspace { margin-top:18px; }.quote-detail { min-height:0; }.quote-financial-strip { grid-template-columns:repeat(5,minmax(0,1fr)); }.quote-document { border:1px solid #dbe6ea; border-radius:9px; background:#fcfdfd; overflow:hidden; }.quote-document-head { display:flex; align-items:center; justify-content:space-between; gap:22px; padding:18px 20px; border-bottom:1px solid #dbe6ea; }.quote-document-head img { width:166px; max-height:58px; object-fit:contain; object-position:left center; }.quote-document-head > div { min-width:215px; border:2px solid #23485e; padding:8px 10px; text-align:right; }.quote-document-head b,.quote-document-head span,.quote-document-head small { display:block; }.quote-document-head b { color:#176898; font-size:12px; letter-spacing:.7px; }.quote-document-head span { margin:3px 0; color:#17364b; font-size:15px; font-weight:850; }.quote-document-head small { color:#657e8d; font-size:9px; font-weight:750; }.quote-document-customer { display:grid; grid-template-columns:1.15fr 1fr 1fr; gap:1px; background:#dbe6ea; border-bottom:1px solid #dbe6ea; }.quote-document-customer > div { min-width:0; padding:13px 16px; background:#fff; }.quote-document-customer span,.quote-document-customer strong,.quote-document-customer small { display:block; }.quote-document-customer span,.quote-document-meta { color:#718493; font-size:9px; font-weight:850; letter-spacing:.45px; text-transform:uppercase; }.quote-document-customer strong { margin:4px 0 2px; color:#1b3c52; font-size:13px; }.quote-document-customer small { overflow:hidden; color:#667d8c; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.quote-document-meta { display:flex; flex-wrap:wrap; gap:15px; padding:10px 16px; color:#607887; font-size:10px; text-transform:none; }.quote-document-meta b { color:#33566a; }.quote-description { margin:0; padding:0 16px 14px; color:#405d6e; font-size:12px; line-height:1.5; }.quote-items-table { display:grid; grid-template-columns:minmax(0,1fr) 190px; border-top:1px solid #dbe6ea; }.quote-items-table table { width:100%; border-collapse:collapse; }.quote-items-table th { padding:9px 11px; color:#738695; font-size:9px; letter-spacing:.4px; text-align:left; text-transform:uppercase; }.quote-items-table td { padding:10px 11px; border-top:1px solid #edf1f3; color:#2f5062; font-size:11px; }.quote-items-table td:nth-last-child(-n+2),.quote-items-table th:nth-last-child(-n+2) { text-align:right; }.quote-items-table aside { padding:12px; border-left:1px solid #dbe6ea; background:#f6f9fa; }.quote-items-table aside div { display:flex; justify-content:space-between; gap:8px; padding:7px 0; color:#526a79; font-size:11px; }.quote-items-table aside b { color:#193d54; }.quote-items-table aside .quote-grand-total { margin-top:4px; border-top:2px solid #193d54; color:#17364b; font-size:13px; font-weight:850; }.quote-detail-actions { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-top:17px; color:#718391; font-size:10px; }.quote-detail-actions > div { display:flex; align-items:center; gap:9px; }.quote-detail-actions button { padding:9px 11px; }
@media (max-width:760px) { .quote-financial-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }.quote-document-head { align-items:flex-start; flex-direction:column; }.quote-document-head > div { min-width:0; width:100%; text-align:left; }.quote-document-customer { grid-template-columns:1fr; }.quote-items-table { grid-template-columns:1fr; overflow:auto; }.quote-items-table table { min-width:530px; }.quote-items-table aside { border-top:1px solid #dbe6ea; border-left:0; }.quote-detail-actions { align-items:flex-start; flex-direction:column; }.quote-detail-actions > div { width:100%; }.quote-detail-actions button { flex:1; } }
