/* GITECHY Quotes – app. Colours from the logo: charcoal #2F2F2D, blue #4F86E8, red #D9534F, green #3F8F4F, amber #F0B040, blueprint cyan #5FB3C4. */
* { box-sizing: border-box; }
html, body { margin: 0; }
body.gq { font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1f2937; background: #f3f5f8; }
a { color: #2f6bd8; }
.gq-muted { color: #6b7280; }
.gq-top { display: flex; align-items: center; gap: 22px; padding: 0 20px; height: 58px; background: #2F2F2D; color: #fff; position: sticky; top: 0; z-index: 20; }
.gq-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.gq-brand b { color: #5FB3C4; }
.gq-logo-sq { width: 34px; height: 34px; border-radius: 8px; }
.gq-nav { display: flex; gap: 4px; }
.gq-nav a { color: #d1d5db; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; }
.gq-nav a.is-on, .gq-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.gq-who { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; color: #d1d5db; }
.gq-who form { margin: 0; }
.gq-link { background: none; border: 0; color: #fff; text-decoration: underline; cursor: pointer; font: inherit; }
.gq-msg { max-width: 1100px; margin: 16px auto 0; padding: 10px 14px; border-radius: 10px; background: #e8f1ff; border: 1px solid #b9d0f7; }
.gq-msg.is-err { background: #fdecec; border-color: #f2b8b6; color: #8a1c1c; }
.gq-main { max-width: 1100px; margin: 0 auto; padding: 24px 20px 60px; }
.gq-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; margin-bottom: 14px; }
.gq-head h1, .gq-main h1 { margin: 0; font-size: 26px; }
.gq-card { background: #fff; border: 1px solid #e3e7ee; border-radius: 12px; padding: 16px; }
.gq-new { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.gq-new input, .gq-new select { flex: 1 1 200px; }
input, select, textarea { font: inherit; padding: 9px 11px; border: 1px solid #cfd6e0; border-radius: 8px; background: #fff; color: inherit; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid #4F86E8; outline-offset: 0; border-color: #4F86E8; }
.gq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: 8px; border: 1px solid #cfd6e0; background: #fff; color: #1f2937; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; }
.gq-btn:hover { border-color: #9aa6b5; }
.gq-btn-primary { background: #2F2F2D; border-color: #2F2F2D; color: #fff; }
.gq-btn-primary:hover { background: #111; }
.gq-btn-sm { padding: 5px 10px; font-size: 13px; }
.gq-danger { color: #b42318; border-color: #f2b8b6; }
.gq-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gq-row form { margin: 0; }
.gq-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.gq-tabs a { padding: 6px 12px; border-radius: 999px; text-decoration: none; color: #374151; font-weight: 600; }
.gq-tabs a.is-on { background: #2F2F2D; color: #fff; }
.gq-search { margin-left: auto; }
.gq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.gq-proj { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; border-left: 4px solid #4F86E8; }
.gq-proj:hover { border-color: #2f6bd8; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.gq-proj span { color: #4b5563; font-size: 14px; }
.gq-proj small { color: #6b7280; }
.gq-empty { padding: 30px; text-align: center; color: #6b7280; background: #fff; border: 1px dashed #cfd6e0; border-radius: 12px; }
.gq-proj-head { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 10px; }
.gq-h1-input { font-size: 20px; font-weight: 700; }
.gq-upload { margin-bottom: 16px; }
.gq-upload.is-over { border-color: #4F86E8; background: #f3f7ff; }
.gq-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px; border: 2px dashed #b9c3d0; border-radius: 10px; cursor: pointer; text-align: center; }
.gq-drop input { display: none; }
.gq-progress p { margin: 6px 0 0; font-size: 14px; }
.gq-progress .is-err { color: #b42318; }
.gq-sheet { display: flex; flex-direction: column; gap: 8px; }
.gq-thumb { display: block; aspect-ratio: 4 / 3; background: #f3f5f8; border-radius: 8px; overflow: hidden; border: 1px solid #e3e7ee; }
.gq-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gq-sheet .gq-row input { flex: 1; }
.gq-foot { margin-top: 30px; padding-top: 16px; border-top: 1px solid #e3e7ee; justify-content: space-between; }
.gq-table { width: 100%; border-collapse: collapse; }
.gq-table th, .gq-table td { text-align: left; padding: 8px; border-bottom: 1px solid #eef1f5; }
.gq-form { display: grid; gap: 12px; max-width: 520px; margin-bottom: 16px; }
.gq-form label, .gq-auth label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
.gq-auth { min-height: calc(100vh - 58px); display: flex; align-items: center; justify-content: center; padding: 20px; background: #2F2F2D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M40 0H0v40' fill='none' stroke='%235FB3C4' stroke-opacity='.18'/%3E%3C/svg%3E"); }
.gq-auth-card { width: 100%; max-width: 400px; background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.gq-auth-card h1 { font-size: 22px; margin: 6px 0 16px; }
.gq-auth-card form { display: grid; gap: 12px; }
.gq-auth-logo { width: 64px; height: 64px; }
.gq-check { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; }

/* ---------- editor ---------- */
.gq-v-sheet { overflow: hidden; }
.gq-editor { position: fixed; inset: 58px 0 0 0; display: grid; grid-template-columns: 230px 1fr; grid-template-rows: auto 1fr; background: #e9edf2; }
.gq-ebar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; border-bottom: 1px solid #dfe4ea; }
.gq-ebar select { max-width: 200px; padding: 5px 8px; }
.gq-tools { display: inline-flex; gap: 2px; padding: 3px; background: #f1f3f6; border-radius: 10px; }
.gq-tools button { width: 38px; height: 34px; border: 0; background: none; border-radius: 8px; cursor: pointer; font-size: 17px; }
.gq-tools button.is-on { background: #2F2F2D; color: #fff; }
.gq-tools button:hover:not(.is-on) { background: #e2e6ec; }
.gq-scale { font-size: 13px; color: #0e7490; font-weight: 600; }
.gq-scale.is-warn { color: #b45309; }
.gq-save { margin-left: auto; font-size: 13px; color: #6b7280; }
.gq-save.is-ok { color: #3F8F4F; }
.gq-save.is-err { color: #b42318; }
.gq-palette { overflow-y: auto; background: #fff; border-right: 1px solid #dfe4ea; padding: 10px; }
.gq-palette[hidden] { display: none; }
.gq-palette input[type=search] { width: 100%; margin-bottom: 6px; padding: 7px 9px; }
.gq-palette h4 { margin: 12px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.gq-syms { display: grid; gap: 4px; }
.gq-syms button { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border: 1px solid transparent; background: none; border-radius: 8px; cursor: pointer; text-align: left; font: inherit; font-size: 13px; }
.gq-syms button:hover { background: #f3f5f8; }
.gq-syms button.is-on { border-color: #2F2F2D; background: #eef2f7; }
.gq-sb { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 2px solid; border-radius: 50%; background: #fff; }
.gq-sb.is-box { border-radius: 7px; }
.gq-sb svg { width: 20px; height: 20px; }
.gq-sl { line-height: 1.2; }
.gq-size { display: grid; gap: 4px; margin-top: 14px; font-size: 13px; font-weight: 600; }
.gq-canvas { position: relative; overflow: hidden; touch-action: none; background: #e9edf2; }
.gq-v-sheet:not(:has(.gq-palette:not([hidden]))) .gq-editor { grid-template-columns: 1fr; }
.gq-props { position: absolute; top: 60px; right: 12px; width: 280px; max-height: calc(100% - 76px); overflow-y: auto; background: #fff; border: 1px solid #dfe4ea; border-radius: 12px; padding: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.12); display: grid; gap: 8px; z-index: 5; }
.gq-props[hidden] { display: none; }
.gq-props label { display: grid; gap: 3px; font-size: 13px; font-weight: 600; }
.gq-props input, .gq-props textarea { padding: 6px 8px; }
.gq-props h4 { margin: 6px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; }
.gq-ph { display: flex; align-items: center; gap: 8px; }
.gq-ph button { margin-left: auto; border: 0; background: none; color: #6b7280; cursor: pointer; text-decoration: underline; }
.gq-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.gq-layers { position: absolute; left: 242px; bottom: 12px; background: rgba(255,255,255,.96); border: 1px solid #dfe4ea; border-radius: 12px; padding: 10px 12px; font-size: 13px; display: grid; gap: 4px; z-index: 4; min-width: 200px; }
.gq-v-sheet:not(:has(.gq-palette:not([hidden]))) .gq-layers { left: 12px; }
.gq-lay { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gq-lay label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.gq-lay small { color: #6b7280; }
.gq-hint { position: absolute; left: 50%; top: 64px; transform: translateX(-50%); background: #2F2F2D; color: #fff; padding: 7px 14px; border-radius: 999px; font-size: 13px; z-index: 6; pointer-events: none; }
.gq-hint[hidden] { display: none; }

@media (max-width: 900px) {
	.gq-top { gap: 12px; padding: 0 12px; }
	.gq-who span { display: none; }
	.gq-brand span { display: none; }
	.gq-proj-head { grid-template-columns: 1fr; }
	.gq-editor { grid-template-columns: 120px 1fr; }
	.gq-sl { display: none; }
	.gq-syms { grid-template-columns: 1fr 1fr; }
	.gq-layers { left: 132px; }
	.gq-props { width: min(280px, calc(100% - 24px)); }
}
@media (max-width: 560px) {
	.gq-nav a { padding: 6px 8px; }
	.gq-editor { grid-template-columns: 76px 1fr; }
	.gq-syms { grid-template-columns: 1fr; }
	.gq-layers { left: 86px; min-width: 0; }
	.gq-scale { display: none; }
}

/* ---------- cable runs (M2) ---------- */
.gq-warn { margin: 6px 0 0; color: #b45309; font-size: 13px; }
.gq-small { font-size: 13px; }
.gq-totals-box { position: absolute; left: 242px; top: 60px; width: 280px; max-height: 40%; overflow-y: auto; background: rgba(255,255,255,.97); border: 1px solid #dfe4ea; border-radius: 12px; padding: 10px 12px; font-size: 13px; display: grid; gap: 4px; z-index: 4; }
.gq-totals-box[hidden] { display: none; }
.gq-tot { display: flex; align-items: center; gap: 6px; }
.gq-tot b { margin-left: auto; white-space: nowrap; }
.gq-tot small { color: #6b7280; }
.gq-len b { font-size: 16px; }
.gq-totals td:not(:first-child), .gq-totals th:not(:first-child) { text-align: right; }
.gq-props select { padding: 6px 8px; }
@media (max-width: 900px) { .gq-totals-box { width: 220px; left: 132px; } }
@media (max-width: 560px) { .gq-totals-box { left: 86px; } }
.gq-v-sheet:not(:has(.gq-palette:not([hidden]))) .gq-totals-box { left: 12px; }

/* ---------- power (M3) ---------- */
.gq-power-box { position: absolute; right: 12px; bottom: 12px; width: 300px; max-height: 50%; overflow-y: auto; background: rgba(255,255,255,.97); border: 1px solid #dfe4ea; border-radius: 12px; padding: 10px 12px; font-size: 13px; display: grid; gap: 8px; z-index: 4; }
.gq-power-box[hidden] { display: none; }
.gq-src { cursor: pointer; padding: 6px; border-radius: 8px; }
.gq-src:hover { background: #f3f5f8; }
.gq-bar { height: 7px; background: #e5e7eb; border-radius: 99px; overflow: hidden; margin: 4px 0; }
.gq-bar i { display: block; height: 100%; }
.gq-bad { color: #b42318; font-weight: 600; }
.gq-near { color: #b45309; font-weight: 600; }
tr.gq-bad td, tr.gq-near td { font-weight: 600; }
.gq-tools button[data-act=power].is-on, .gq-tools button[data-act=legend].is-on { background: #2F2F2D; color: #fff; }
.gq-scroll { overflow-x: auto; }

/* ---------- proposal (M5) ---------- */
.gq-main-prop { max-width: 1000px; }
.gq-prop { background: #fff; border: 1px solid #e3e7ee; border-radius: 12px; padding: 28px; }
.gq-public .gq-prop { max-width: 1000px; margin: 24px auto; }
.gq-prop-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; }
.gq-prop-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-bottom: 3px solid #2F2F2D; padding-bottom: 16px; }
.gq-prop-logo { max-height: 70px; max-width: 220px; display: block; margin-bottom: 8px; }
.gq-prop-co { margin: 0; font-size: 14px; }
.gq-prop-title { text-align: right; }
.gq-prop-title h1 { margin: 0 0 6px; font-size: 30px; letter-spacing: .02em; }
.gq-prop-title p { margin: 0 0 6px; }
.gq-prop-sec { margin-top: 26px; }
.gq-prop-sec h2 { font-size: 18px; border-bottom: 1px solid #e3e7ee; padding-bottom: 6px; }
.gq-prop-plan { margin: 0 0 18px; }
.gq-prop-plan img { width: 100%; min-height: 120px; border: 1px solid #e3e7ee; border-radius: 6px; background: #f3f5f8; display: block; }
.gq-prop-plan figcaption { font-size: 13px; color: #6b7280; margin-top: 4px; }
.gq-bom td:nth-child(n+3), .gq-bom th:nth-child(n+3) { text-align: right; }
.gq-sum td { font-weight: 600; text-align: right; }
.gq-sum td:first-child { text-align: right; }
.gq-grand td { font-size: 17px; border-top: 2px solid #2F2F2D; }
.gq-approve label { display: grid; gap: 4px; font-weight: 600; margin-bottom: 10px; max-width: 420px; }
.gq-sig { display: block; width: 100%; max-width: 600px; height: 180px; border: 2px dashed #b9c3d0; border-radius: 10px; touch-action: none; background: #fff; margin-bottom: 8px; }
.gq-sig-img { max-width: 320px; border-bottom: 1px solid #333; }
.gq-prop-foot { text-align: center; margin: 16px 0 30px; }
.gq-revs { margin-top: 12px; }
.gq-linkbox { width: 260px; font-size: 12px; padding: 4px 6px; }
.gq-st-approved { color: #3F8F4F; font-weight: 600; }
.gq-st-declined { color: #b42318; font-weight: 600; }
.gq-logo-prev { max-height: 60px; max-width: 200px; display: block; margin: 4px 0; }
.gq-form-row { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); max-width: none; }
.gq-prices input { width: 110px; padding: 5px 7px; }
.gq-cathead td { background: #f3f5f8; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
/* Snapshot frames: only the plan. */
.gq-snap .gq-top, .gq-snap .gq-ebar, .gq-snap .gq-palette, .gq-snap .gq-layers, .gq-snap .gq-props, .gq-snap .gq-totals-box, .gq-snap .gq-power-box, .gq-snap .gq-hint { display: none !important; }
.gq-snap .gq-editor { inset: 0; grid-template-columns: 1fr; grid-template-rows: 1fr; }
@media print {
	.gq-top, .gq-noprint, .gq-msg { display: none !important; }
	body.gq { background: #fff; }
	.gq-main, .gq-prop { padding: 0; border: 0; max-width: none; margin: 0; }
	.gq-prop-plan { page-break-inside: avoid; }
	.gq-prop-sec { page-break-inside: auto; }
	.gq-prop-plans { page-break-after: always; }
	tr { page-break-inside: avoid; }
}
/* Page and Download panels (0.6). */
.gq-col { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
.gq-props input[type=file] { font-size: .85rem; margin-top: 4px; }
.gq-tools button.gq-tool-txt { width: auto; padding: 0 10px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.gq-tools button.gq-tool-txt span { font-size: 13px; }
.gq-tools button[data-act=page].is-on, .gq-tools button[data-act=export].is-on { background: #2F2F2D; color: #fff; }
@media (max-width: 760px) { .gq-tools button.gq-tool-txt span { display: none; } }
.gq-legshow { display: grid; gap: 4px; margin-bottom: 10px; }
.gq-legshow small { color: #6b7280; }
.gq-lblown { margin: 6px 0 10px; }
.gq-lblown summary { cursor: pointer; font-weight: 600; margin-bottom: 6px; }
.gq-check input[type=checkbox] { flex: none; }


/* =====================================================================================================================
   0.8 – professional look: one palette, calmer surfaces, consistent controls, line-icon toolbar.
   ================================================================================================================== */
:root {
	--gq-ink: #1b1f24; --gq-text: #2c333b; --gq-muted: #6a7480; --gq-line: #e2e6eb; --gq-line-2: #d3d9e0;
	--gq-bg: #f5f6f8; --gq-surface: #fff; --gq-char: #2F2F2D; --gq-accent: #2b8a9c; --gq-accent-l: #e6f4f6; --gq-cyan: #5FB3C4;
	--gq-radius: 10px; --gq-shadow: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.06); --gq-shadow-lg: 0 12px 32px rgba(16,24,40,.14);
}
body.gq { font: 14px/1.5 Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--gq-text); background: var(--gq-bg); -webkit-font-smoothing: antialiased; letter-spacing: -.003em; }
a { color: var(--gq-accent); }
h1, h2, h3 { color: var(--gq-ink); letter-spacing: -.015em; }
.gq-main h1, .gq-head h1 { font-size: 24px; font-weight: 700; }
.gq-card h2 { font-size: 16px; margin: 0 0 10px; }
.gq-muted { color: var(--gq-muted); }

/* Top bar */
.gq-top { height: 56px; background: #232422; border-bottom: 1px solid #000; box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; }
.gq-brand { font-size: 15px; }
.gq-logo-sq { width: 30px; height: 30px; border-radius: 7px; }
.gq-nav a { color: #b9bfc6; font-weight: 500; padding: 7px 12px; border-radius: 7px; font-size: 14px; }
.gq-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.gq-nav a.is-on { background: rgba(95,179,196,.16); color: #fff; box-shadow: inset 0 -2px 0 var(--gq-cyan); }
.gq-who { color: #9aa3ad; }

/* Surfaces and controls */
.gq-card, .gq-prop { border: 1px solid var(--gq-line); border-radius: 12px; box-shadow: var(--gq-shadow); background: var(--gq-surface); }
.gq-card { padding: 18px 20px; }
input, select, textarea { border: 1px solid var(--gq-line-2); border-radius: 8px; padding: 8px 10px; background: #fff; transition: border-color .12s, box-shadow .12s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gq-accent); box-shadow: 0 0 0 3px rgba(43,138,156,.18); }
input:disabled, select:disabled { background: #f3f5f7; color: #8a939d; }
.gq-btn { border: 1px solid var(--gq-line-2); border-radius: 8px; padding: 8px 14px; font-weight: 600; font-size: 14px; color: var(--gq-ink); background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.05); transition: background .12s, border-color .12s; }
.gq-btn:hover { background: #f7f8fa; border-color: #b9c1cb; }
.gq-btn-primary { background: var(--gq-char); border-color: var(--gq-char); color: #fff; }
.gq-btn-primary:hover { background: #151514; border-color: #151514; }
.gq-btn-sm { padding: 5px 10px; font-size: 13px; }
.gq-danger { color: #b42318; border-color: #f4c7c3; }
.gq-danger:hover { background: #fef3f2; }
.gq-msg { border-radius: 10px; background: var(--gq-accent-l); border-color: #bfe3ea; color: #164e58; }
.gq-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--gq-muted); font-weight: 600; background: #fafbfc; }
.gq-table th, .gq-table td { border-bottom: 1px solid #edf0f3; padding: 9px 10px; }
.gq-proj { border-left: 3px solid var(--gq-cyan); }
.gq-proj:hover { box-shadow: var(--gq-shadow-lg); }
.gq-tabs a.is-on { background: var(--gq-char); }

/* Editor bar */
.gq-editor { inset: 56px 0 0 0; background: #e8ebef; }
.gq-ebar { gap: 10px; padding: 7px 12px; border-bottom: 1px solid var(--gq-line); box-shadow: 0 1px 2px rgba(16,24,40,.04); flex-wrap: nowrap; overflow-x: auto; }
.gq-ebar > .gq-btn { flex: none; max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.gq-ebar select { padding: 6px 8px; font-size: 13px; }
.gq-tools { flex: none; gap: 1px; padding: 3px; background: #f1f3f5; border: 1px solid var(--gq-line); border-radius: 10px; align-items: center; }
.gq-tools button { width: 34px; height: 32px; display: inline-flex; align-items: center; justify-content: center; color: #3b434c; border-radius: 7px; font-size: 13px; }
.gq-tools button:hover:not(.is-on) { background: #e3e7eb; color: var(--gq-ink); }
.gq-tools button.is-on, .gq-tools button[data-act].is-on { background: var(--gq-char); color: #fff; }
.gq-tools button.gq-tool-txt { width: auto; gap: 6px; padding: 0 10px; font-weight: 600; }
.gq-tools button.gq-tool-main { background: var(--gq-accent); color: #fff; margin-left: 2px; }
.gq-tools button.gq-tool-main:hover:not(.is-on) { background: #23788a; color: #fff; }
.gq-tools .gq-ic { flex: none; }
.gq-sep { display: inline-block; width: 1px; height: 20px; background: var(--gq-line-2); margin: 0 4px; }
.gq-ebar-end { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.gq-ebar-end .gq-save { margin-left: 0; }
.gq-lenmode { max-width: 170px; }
.gq-scale { color: var(--gq-accent); white-space: nowrap; }

/* Side palette */
.gq-palette { padding: 12px; border-right: 1px solid var(--gq-line); }
.gq-palette h4 { font-size: 11px; letter-spacing: .08em; margin: 16px 2px 6px; }
.gq-syms button { padding: 5px 6px; border-radius: 7px; font-size: 13px; color: var(--gq-text); }
.gq-syms button:hover { background: #f1f4f6; }
.gq-syms button.is-on { border-color: var(--gq-accent); background: var(--gq-accent-l); }
.gq-sb { width: 30px; height: 30px; border-width: 1.6px; }
.gq-sb svg { width: 18px; height: 18px; }

/* Floating panels */
.gq-props, .gq-layers, .gq-totals-box, .gq-power-box { border: 1px solid var(--gq-line); border-radius: 12px; box-shadow: var(--gq-shadow-lg); background: rgba(255,255,255,.98); }
.gq-props { padding: 14px; gap: 10px; }
.gq-props label { font-weight: 600; color: var(--gq-ink); font-size: 12.5px; }
.gq-props h4, .gq-legshow + h4 { font-size: 11px; letter-spacing: .08em; color: var(--gq-muted); margin-top: 8px; }
.gq-ph { padding-bottom: 8px; border-bottom: 1px solid var(--gq-line); margin-bottom: 2px; }
.gq-ph strong { font-size: 14px; color: var(--gq-ink); }
.gq-ph button { text-decoration: none; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.gq-ph button:hover { background: #f1f3f5; color: var(--gq-ink); }
.gq-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gq-lblown { border: 1px solid var(--gq-line); border-radius: 9px; padding: 8px 10px; background: #fafbfc; }
.gq-lblown summary { font-size: 13px; }
.gq-hint { background: var(--gq-char); box-shadow: var(--gq-shadow-lg); font-weight: 500; }
@media (max-width: 900px) { .gq-lenmode { max-width: 110px; } .gq-tools button.gq-tool-txt span { display: none; } }
.gq-ebar > .gq-btn { flex: 0 1 auto; min-width: 0; }
.gq-ebar > select[data-sheetpick] { flex: none; min-width: 150px; max-width: 220px; }
.gq-lenmode { max-width: 140px; }
.gq-layers > strong { cursor: pointer; user-select: none; display: flex; align-items: center; gap: 6px; }
.gq-layers > strong::after { content: ""; width: 7px; height: 7px; border: solid var(--gq-muted); border-width: 0 2px 2px 0; transform: rotate(45deg); margin: -3px 0 0 auto; }
.gq-layers.is-shut > strong::after { transform: rotate(-135deg); margin-top: 3px; }
.gq-layers.is-shut > .gq-lay { display: none; }
.gq-ebar > .gq-btn { max-width: 210px; }
.gq-ebar-end select.gq-lenmode { width: 130px; max-width: 130px; }
.gq-ebar > .gq-btn { display: block; text-overflow: ellipsis; text-align: left; }

/* ---------- 0.8.1 settings area (company, prices, team) ---------- */
.gq-set { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; max-width: 1180px; margin: 0 auto; padding: 28px 24px 80px; align-items: start; }
.gq-set-nav { position: sticky; top: 80px; }
.gq-set-cap { margin: 0 0 10px 12px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gq-muted); }
.gq-set-nav nav { display: grid; gap: 2px; }
.gq-set-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--gq-text); text-decoration: none; font-weight: 500; }
.gq-set-nav a .gq-ic { color: var(--gq-muted); }
.gq-set-nav a:hover { background: #eceff3; }
.gq-set-nav a.is-on { background: #fff; color: var(--gq-ink); font-weight: 600; box-shadow: var(--gq-shadow); }
.gq-set-nav a.is-on .gq-ic { color: var(--gq-accent); }
.gq-set-title { margin-bottom: 18px; }
.gq-set-title h1 { margin: 0 0 4px; font-size: 26px; }
.gq-set-title p { margin: 0; color: var(--gq-muted); }
.gq-sec { background: #fff; border: 1px solid var(--gq-line); border-radius: 14px; box-shadow: var(--gq-shadow); margin-bottom: 18px; scroll-margin-top: 80px; overflow: hidden; }
.gq-sec-h { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-bottom: 1px solid #eef1f4; background: linear-gradient(180deg, #fbfcfd, #fff); }
.gq-sec-h h2 { margin: 0; font-size: 16px; }
.gq-sec-h p { margin: 2px 0 0; color: var(--gq-muted); font-size: 13px; }
.gq-sec-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--gq-accent-l); color: var(--gq-accent); }
.gq-sec-b { padding: 20px 22px; }
.gq-sec label, .gq-fields label { display: grid; gap: 5px; font-weight: 600; font-size: 13px; color: var(--gq-ink); }
.gq-sec label small { font-weight: 400; font-size: 12px; }
.gq-sec textarea { resize: vertical; }
.gq-fields { display: grid; gap: 14px; }
.gq-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.gq-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 18px; }
.gq-sec-b.gq-grid2 { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
.gq-mt { margin-top: 16px; }
.gq-logo-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 180px; padding: 16px; border: 1px dashed var(--gq-line-2); border-radius: 12px; background: #fafbfc; text-align: center; color: var(--gq-muted); }
.gq-logo-tile img { max-width: 180px; max-height: 90px; object-fit: contain; }
.gq-logo-tile label.gq-btn { display: inline-flex; font-weight: 600; cursor: pointer; }
.gq-logo-tile em { font-style: normal; font-weight: 400; color: var(--gq-accent); }
.gq-switch { display: flex !important; align-items: center; gap: 10px; cursor: pointer; font-weight: 500 !important; }
.gq-switch input { position: absolute; opacity: 0; }
.gq-switch i { position: relative; width: 38px; height: 22px; border-radius: 99px; background: #cfd6de; transition: background .15s; flex: none; }
.gq-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.gq-switch input:checked + i { background: var(--gq-accent); }
.gq-switch input:checked + i::after { transform: translateX(16px); }
.gq-switch input:focus-visible + i { box-shadow: 0 0 0 3px rgba(43,138,156,.25); }
.gq-savebar { position: sticky; bottom: 14px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 4px 0 22px; padding: 12px 14px 12px 20px; background: rgba(35,36,34,.96); color: #d6dadf; border-radius: 12px; box-shadow: var(--gq-shadow-lg); font-size: 13px; }
.gq-savebar .gq-btn-primary { background: var(--gq-cyan); border-color: var(--gq-cyan); color: #10272c; }
.gq-savebar .gq-btn-primary:hover { background: #7cc8d6; border-color: #7cc8d6; }
.gq-sec-fold > summary { display: flex; align-items: center; gap: 10px; padding: 15px 22px; cursor: pointer; font-weight: 600; color: var(--gq-ink); list-style: none; }
.gq-sec-fold > summary::-webkit-details-marker { display: none; }
.gq-sec-fold > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border: solid var(--gq-muted); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gq-sec-fold[open] > summary { border-bottom: 1px solid #eef1f4; }
.gq-sec-fold[open] > summary::after { transform: rotate(-135deg); }
.gq-sec-fold .gq-table { margin: 0; }
.gq-sec-fold .gq-table th:first-child, .gq-sec-fold .gq-table td:first-child { padding-left: 22px; }
.gq-prices input { width: 110px; padding: 6px 8px; }
.gq-people { list-style: none; margin: 0; padding: 6px 0; }
.gq-people li { display: flex; align-items: center; gap: 14px; padding: 12px 22px; border-bottom: 1px solid #f0f2f5; }
.gq-people li:last-child { border-bottom: 0; }
.gq-people form { margin: 0; }
.gq-people-who { display: grid; flex: 1; min-width: 0; }
.gq-people-who span { color: var(--gq-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.gq-ava { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; font-weight: 700; font-size: 13px; color: #fff; background: #5b6b80; }
.gq-ava-owner { background: var(--gq-char); }
.gq-ava-designer { background: var(--gq-accent); }
.gq-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: #eef1f4; color: var(--gq-text); }
.gq-pill-owner { background: #2F2F2D; color: #fff; }
.gq-pill-ok { background: #e7f5ec; color: #1f7a3f; }
.gq-invite { display: grid; grid-template-columns: 1fr 1.3fr 160px auto; gap: 14px; align-items: end; }
.gq-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-bottom: 14px; }
.gq-plan-name { display: inline-block; padding: 6px 14px; border-radius: 10px; background: var(--gq-char); color: #fff; font-weight: 700; font-size: 18px; }
.gq-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.gq-stats div { display: grid; padding: 10px 16px; border: 1px solid var(--gq-line); border-radius: 10px; min-width: 150px; }
.gq-stats b { font-size: 17px; color: var(--gq-ink); }
.gq-stats span { font-size: 12px; color: var(--gq-muted); }
@media (max-width: 900px) {
	.gq-set { grid-template-columns: 1fr; padding: 18px 14px 70px; }
	.gq-set-nav { position: static; }
	.gq-set-nav nav { display: flex; overflow-x: auto; gap: 4px; }
	.gq-set-nav a { white-space: nowrap; }
	.gq-set-cap { display: none; }
	.gq-grid3, .gq-grid2, .gq-sec-b.gq-grid2, .gq-invite { grid-template-columns: 1fr; }
}
.gq-sec input, .gq-sec select, .gq-sec textarea, .gq-props input, .gq-props select, .gq-props textarea { font-weight: 400; }
.gq-sb.is-plain { border-color: transparent !important; background: #f3f4f6; border-radius: 6px; }
.gq-new { align-items: end; }
.gq-new label, .gq-proj-head label { display: grid; gap: 5px; flex: 1 1 200px; font-size: 13px; font-weight: 600; color: var(--gq-ink); }
.gq-new label input, .gq-proj-head label input { width: 100%; font-weight: 400; }
.gq-proj-head { align-items: end; }
.gq-proj-head .gq-h1-input { font-weight: 700; }
.gq-switches { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.gq-sublabel { margin: 4px 0 8px; font-weight: 600; font-size: 13px; color: var(--gq-ink); }
.gq-prop-pick { display: grid; gap: 10px; padding: 14px 16px; margin: -6px 0 20px; background: #f7f9fb; border: 1px solid var(--gq-line); border-radius: 12px; }
.gq-prop-pick strong { font-size: 13px; }
.gq-prop-pick .gq-btn { justify-self: start; }
.gq-syms button[hidden], .gq-palette h4[hidden], .gq-syms[hidden] { display: none !important; }
.gq-colors { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gq-colors > span { width: 100%; font-size: 12.5px; font-weight: 600; color: var(--gq-ink); }
.gq-colors button[data-col]:not(.gq-link-btn), .gq-colors button[data-lc]:not(.gq-link-btn), .gq-colors button[data-mcol]:not(.gq-link-btn) { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--gq-line-2); cursor: pointer; padding: 0; }
.gq-colors button[data-col].is-on:not(.gq-link-btn), .gq-colors button[data-lc].is-on:not(.gq-link-btn) { box-shadow: 0 0 0 2px var(--gq-ink); }
.gq-colors input[type=color] { width: 30px; height: 26px; padding: 0 2px; border-radius: 6px; cursor: pointer; }
.gq-colors .gq-link-btn { border: 0; background: none; color: var(--gq-accent); font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0 4px; }
.gq-sheets-head { align-items: center; } .gq-sheets-head h2 { margin: 0; } .gq-sheets-head .gq-ic { vertical-align: -4px; }
/* Demo companies (0.9.5): badge in the top bar; watermark over proposals – on screen and in print. */
.gq-demo-badge { padding: 2px 9px; border-radius: 99px; background: #d9534f; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gq-demo-wm { position: relative; }
.gq-demo-wm::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='260'%3E%3Ctext x='20' y='160' transform='rotate(-30 210 130)' font-family='Arial,sans-serif' font-size='34' font-weight='700' fill='%23d9534f' fill-opacity='0.16'%3EDEMO %C2%B7 GITECHY Quotes%3C/text%3E%3C/svg%3E") repeat; -webkit-print-color-adjust: exact; print-color-adjust: exact; }

/* Sheet history (0.9.9) and alignment guides */
.gq-hv { padding: 8px 0; border-top: 1px solid var(--gq-line, #e5e7eb); font-size: 13px; }
.gq-hv.is-cur { background: #fff7e6; margin: 0 -8px; padding: 8px; border-radius: 8px; }
.gq-hv .gq-row { margin-top: 6px; gap: 6px; }
.gq-tagauto { font-size: 11px; padding: 1px 6px; border-radius: 99px; background: #eef2f7; color: #475569; }
.gq-verbar { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: calc(100% - 24px); padding: 8px 12px; background: #fff7e6; border: 1px solid #f5c26b; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.15); font-size: 13px; }
.gq-align { display: grid; grid-template-columns: repeat(3, 44px); gap: 6px; justify-content: center; margin: 4px 0 8px; }
.gq-align .gq-btn { width: 44px; height: 40px; padding: 0; justify-content: center; font-size: 18px; }
.gq-alignrow { flex-wrap: wrap; gap: 4px; } .gq-alignrow .gq-btn { min-width: 34px; justify-content: center; font-size: 15px; }
.gq-row.gq-wrap { flex-wrap: wrap; gap: 6px; }
.gq-blank-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gq-props .gq-btn { white-space: normal; text-align: center; line-height: 1.25; } /* Long labels wrap – the panel never runs off the screen. */
/* 0.9.24: sheet ◀ ▶ buttons, arrange rows */
.gq-ebar > .gq-sheetstep { flex: none; padding-left: 8px; padding-right: 8px; }
.gq-ebar > .gq-sheetstep:disabled { opacity: .4; cursor: default; }
.gq-arr { margin: 8px 0 4px; }
.gq-arr .gq-row { flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.gq-arr .gq-btn-sm { font-size: 12px; padding: 4px 7px; }

/* ================================================================ GITECHY Quotes (M1) */
:root { --gq-accent: #2b6fd6; --gq-accent-l: #e8f0fc; --gq-char: #2b2f36; --gq-cyan: #6fa6f2; }
.gq-brand b { color: var(--gq-cyan); }
.gq-nav a.is-on { background: rgba(111,166,242,.16); }
.gq-top { background: var(--gq-char); }
.gq-btn-primary { background: var(--gq-accent); border-color: var(--gq-accent); }
.gq-btn-primary:hover { background: #1f5bb8; border-color: #1f5bb8; }
.gq-trialbar { background: #fff8e1; color: #6b4e00; border-bottom: 1px solid #f3e1a6; padding: 9px 20px; font-size: 13.5px; text-align: center; }
.gq-trialbar.is-over { background: #fde8e8; color: #8a1f1f; border-color: #f4c1c1; }
.gq-wrap { max-width: 1040px; margin: 22px auto 60px; padding: 0 18px; }
.gq-wrap.gq-wide { max-width: 1180px; }
.gq-wrap.gq-narrow { max-width: 760px; }
.gq-wrap h1 { margin: 2px 0 14px; font-size: 26px; }
.gq-wrap h2 { font-size: 17px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.gq-head { justify-content: space-between; align-items: center; }
.gq-head h1 { margin: 0; display: flex; align-items: center; gap: 10px; }
.gq-back { font-size: 13px; text-decoration: none; color: var(--gq-muted); }
.gq-card { margin-bottom: 14px; padding: 18px 20px; box-shadow: var(--gq-shadow); }
.gq-fields, .gq-card label { display: flex; flex-direction: column; gap: 10px; }
.gq-card label { gap: 4px; font-size: 13px; font-weight: 600; color: var(--gq-text); }
.gq-card label.gq-check, .gq-check { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.gq-card input:not([type=checkbox]):not([type=color]):not([type=file]), .gq-card select, .gq-card textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--gq-line-2); border-radius: 8px; font: inherit; font-weight: 400; background: #fff; }
.gq-card textarea { resize: vertical; }
.gq-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.gq-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
.gq-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gq-small { font-size: 12.5px; }
.gq-mb { margin-bottom: 14px; }
.gq-mt { margin-top: 18px; }
.gq-inline { flex-direction: row !important; align-items: center; gap: 8px !important; }
.gq-inline select { width: auto !important; }
.gq-auth-alt { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--gq-line); text-align: center; }
.gq-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 16px; }
.gq-kpi { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--gq-line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--gq-text); box-shadow: var(--gq-shadow); }
.gq-kpi small { color: var(--gq-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 11px; }
.gq-kpi b { font-size: 26px; color: var(--gq-ink); line-height: 1.1; }
.gq-kpi span { color: var(--gq-muted); font-size: 13px; }
.gq-kpi-accepted b { color: #1f7a45; }
.gq-filter { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.gq-filter .gq-tabs { margin: 0; }
.gq-search input { padding: 8px 12px; border: 1px solid var(--gq-line-2); border-radius: 999px; min-width: 260px; font: inherit; }
.gq-tabs a.is-on { background: var(--gq-accent); }
.gq-empty-card { background: #fff; border: 1px dashed var(--gq-line-2); border-radius: 12px; padding: 34px; text-align: center; color: var(--gq-muted); }
.gq-empty-card .gq-ic { width: 34px; height: 34px; color: var(--gq-accent); }
.gq-list { background: #fff; border: 1px solid var(--gq-line); border-radius: 12px; overflow: hidden; box-shadow: var(--gq-shadow); }
.gq-li { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--gq-line); text-decoration: none; color: var(--gq-text); }
.gq-li:last-child { border-bottom: 0; }
.gq-li:hover { background: #f8fafc; }
.gq-li-main { flex: 1; min-width: 0; }
.gq-li-main b { color: var(--gq-ink); }
.gq-li-main small { display: block; color: var(--gq-muted); font-size: 12.5px; }
.gq-li-amt { font-weight: 700; color: var(--gq-ink); white-space: nowrap; }
.gq-stpill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #eef1f5; color: #4b5563; white-space: nowrap; }
.gq-stpill-sent { background: #e8f0fc; color: #1f5bb8; }
.gq-stpill-accepted { background: #e3f6ea; color: #1f7a45; }
.gq-stpill-declined { background: #fde8e8; color: #a12828; }
.gq-stpill-expired { background: #fff4d6; color: #8a5a00; }
.gq-lines-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.gq-picker input { min-width: 300px; border-radius: 999px !important; }
.gq-lines { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 12px; }
.gq-line { display: grid; grid-template-columns: minmax(220px, 1fr) 80px 70px 110px 80px 44px 110px 30px; gap: 8px; align-items: start; }
.gq-line-h { font-size: 11.5px; font-weight: 700; color: var(--gq-muted); text-transform: uppercase; letter-spacing: .03em; padding-bottom: 2px; border-bottom: 1px solid var(--gq-line); }
.gq-line-item { display: flex; flex-direction: column; gap: 4px; }
.gq-line-item textarea { font-size: 13px !important; color: var(--gq-muted); min-height: 34px; }
.gq-tax { align-items: center !important; padding-top: 8px; }
.gq-r { text-align: right; }
.gq-amt { padding-top: 9px; font-weight: 700; color: var(--gq-ink); }
.gq-x { border: 0; background: none; font-size: 20px; line-height: 1; color: #9aa4b2; cursor: pointer; padding-top: 6px; }
.gq-x:hover { color: #c62828; }
.gq-qtot { margin: 14px 0 0 auto; max-width: 420px; display: flex; flex-direction: column; gap: 6px; }
.gq-qtot > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gq-qtot span { display: flex; align-items: center; gap: 6px; color: var(--gq-text); }
.gq-qtot input, .gq-qtot select { width: 90px !important; padding: 5px 8px !important; }
.gq-qtot select { width: 70px !important; }
.gq-grandtot { border-top: 2px solid var(--gq-accent); padding-top: 8px; margin-top: 4px; font-size: 18px; }
.gq-grandtot b { color: var(--gq-accent); }
.gq-savebar { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--gq-line); border-radius: 12px; padding: 12px 16px; box-shadow: var(--gq-shadow-lg); margin-bottom: 14px; }
.gq-send { border: 2px solid var(--gq-accent); }
.gq-quote-more { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.gq-danger { color: #b42318 !important; border-color: #f1b8b3 !important; }
.gq-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gq-pcard { display: flex; flex-direction: column; gap: 3px; background: #fff; border: 1px solid var(--gq-line); border-radius: 12px; padding: 12px; text-decoration: none; color: var(--gq-text); box-shadow: var(--gq-shadow); }
.gq-pcard.is-off { opacity: .55; }
.gq-pcard small { color: var(--gq-muted); }
.gq-pprice { font-weight: 700; color: var(--gq-ink); margin-top: auto; }
.gq-pimg { display: grid; place-items: center; height: 120px; border-radius: 10px; background: #f1f4f8; overflow: hidden; margin-bottom: 6px; color: #9aa4b2; }
.gq-pimg img { width: 100%; height: 100%; object-fit: cover; }
.gq-pimg .gq-ic { width: 30px; height: 30px; }
.gq-prow { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; }
.gq-pimg-lg { height: 130px; margin: 0; }
.gq-logo-box img { object-fit: contain; padding: 8px; box-sizing: border-box; background: #fff; }
.gq-people { list-style: none; margin: 0; padding: 0; }
.gq-people li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gq-line); }
.gq-people li:last-child { border-bottom: 0; }
.gq-people-who { flex: 1; display: flex; flex-direction: column; }
@media (max-width: 700px) {
	.gq-top { flex-wrap: wrap; height: auto; padding: 8px 12px 0; gap: 8px 12px; }
	.gq-nav { order: 3; width: calc(100% + 24px); margin: 0 -12px; padding: 0 8px 6px; overflow-x: auto; scrollbar-width: none; }
	.gq-nav::-webkit-scrollbar { display: none; }
	.gq-nav a { white-space: nowrap; flex: 0 0 auto; }
	.gq-brand span { display: inline; }
}
@media (max-width: 860px) {
	.gq-line { grid-template-columns: 1fr 1fr 1fr; }
	.gq-line-h { display: none; }
	.gq-line-item { grid-column: 1 / -1; }
	.gq-grid2, .gq-grid3, .gq-kpis { grid-template-columns: 1fr; }
	.gq-search input, .gq-picker input { min-width: 0; width: 100%; }
	.gq-prow { grid-template-columns: 1fr; }
}

/* ================================================================ GITECHY Quotes (M2) – activity, client link */
.gq-msg.is-err { background: #fdecec; border-color: #f2b8b6; color: #8a1c1c; }
.gq-seen { display: inline-flex; align-items: center; gap: 3px; color: #b0b8c3; font-size: 12px; font-weight: 700; }
.gq-seen .gq-ic { width: 16px; height: 16px; }
.gq-seen.is-on { color: var(--gq-accent); }
.gq-act-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gq-copy { display: flex; gap: 6px; }
.gq-copy input { flex: 1; min-width: 0; font-size: 13px !important; background: #f8fafc !important; }
.gq-sigbox { margin-top: 14px; padding: 10px 12px; border: 1px solid #cfe9d8; background: #f2fbf5; border-radius: 10px; display: flex; flex-direction: column; gap: 2px; }
.gq-sigbox small { color: #1f7a45; font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .04em; }
.gq-sigbox img { max-width: 260px; max-height: 80px; object-fit: contain; object-position: left; margin: 4px 0; }
.gq-hash { font-family: ui-monospace, monospace; font-size: 10.5px; word-break: break-all; }
.gq-events { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; }
.gq-events li { position: relative; padding: 6px 0 6px 18px; border-left: 2px solid var(--gq-line); margin-left: 5px; font-size: 13.5px; }
.gq-events li::before { content: ''; position: absolute; left: -6px; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: #c3cad3; }
.gq-events li span { color: var(--gq-text); }
.gq-events li small { display: block; color: var(--gq-muted); font-size: 12px; }
.gq-events .gq-ev-viewed::before { background: var(--gq-accent); }
.gq-events .gq-ev-accepted::before { background: #1f9d55; }
.gq-events .gq-ev-declined::before, .gq-events .gq-ev-expired::before { background: #d64545; }
.gq-pro { display: inline-block; padding: 1px 7px; border-radius: 999px; background: linear-gradient(135deg, #2b6fd6, #7b4fe0); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; vertical-align: 1px; }
@media (max-width: 860px) { .gq-act-grid { grid-template-columns: 1fr; } }

/* ================================================================ GITECHY Quotes (M2) – the client's quote page */
body.gq-client { background: #f3f5f8; --gq-co: #0b62d6; }
.gq-cl-wrap { max-width: 820px; margin: 0 auto; padding: 0 16px; }
.gq-cl-top { background: #fff; border-top: 5px solid var(--gq-co); border-bottom: 1px solid var(--gq-line); }
.gq-cl-top-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 74px; }
.gq-cl-logo { max-height: 50px; max-width: 220px; object-fit: contain; }
.gq-cl-name { font-size: 20px; color: var(--gq-co); }
.gq-client .gq-msg { max-width: none; }
.gq-cl-banner { margin: 18px 0 0; padding: 14px 18px; border-radius: 12px; display: flex; flex-direction: column; gap: 3px; }
.gq-cl-ok { background: #e7f7ee; border: 1px solid #bfe5cf; color: #14532d; }
.gq-cl-no { background: #fff4e5; border: 1px solid #f5d7a8; color: #6b4300; }
.gq-cl-card { background: #fff; border: 1px solid var(--gq-line); border-radius: 14px; padding: 24px; margin: 18px 0; box-shadow: 0 1px 3px rgba(16,24,40,.05); }
.gq-cl-center { text-align: center; margin-top: 60px; }
.gq-cl-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.gq-cl-head h1 { margin: 0; font-size: 26px; color: var(--gq-ink); }
.gq-cl-title { margin: 4px 0 0; color: var(--gq-text); font-size: 16px; }
.gq-cl-total { text-align: right; }
.gq-cl-total small, .gq-cl-meta small, .gq-cl-terms small, .gq-cl-signed small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--gq-muted); font-weight: 700; }
.gq-cl-total b { font-size: 26px; color: var(--gq-co); white-space: nowrap; }
.gq-cl-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0; padding: 14px; background: #f7f9fb; border-radius: 10px; }
.gq-cl-meta b, .gq-cl-meta span { display: block; font-size: 14px; }
.gq-cl-meta span { color: var(--gq-muted); }
.gq-cl-intro { line-height: 1.55; margin: 0 0 16px; }
.gq-cl-items { border-top: 2px solid var(--gq-co); }
.gq-cl-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--gq-line); }
.gq-cl-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; background: #f1f4f8; }
.gq-cl-item-main { flex: 1; min-width: 0; }
.gq-cl-item-main p { margin: 3px 0; color: var(--gq-muted); font-size: 14px; line-height: 1.45; }
.gq-cl-item-main small { color: var(--gq-muted); }
.gq-cl-amt { white-space: nowrap; }
.gq-cl-tot { margin: 14px 0 0 auto; max-width: 320px; display: flex; flex-direction: column; gap: 6px; }
.gq-cl-tot div { display: flex; justify-content: space-between; gap: 12px; }
.gq-cl-grand { border-top: 2px solid var(--gq-co); padding-top: 8px; font-size: 19px; }
.gq-cl-grand b { color: var(--gq-co); }
.gq-cl-terms { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--gq-line); }
.gq-cl-terms p { margin: 4px 0 0; line-height: 1.5; font-size: 14px; }
.gq-cl-signed { margin-top: 20px; padding: 12px 14px; background: #f2fbf5; border: 1px solid #cfe9d8; border-radius: 10px; }
.gq-cl-signed img { display: block; max-height: 80px; max-width: 280px; margin: 6px 0; }
.gq-cl-answer { border: 2px solid var(--gq-co); }
.gq-cl-answer h2 { margin: 0 0 14px; font-size: 20px; }
.gq-cl-answer label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.gq-cl-answer input:not([type=checkbox]), .gq-cl-answer textarea { padding: 10px 12px; border: 1px solid var(--gq-line-2); border-radius: 8px; font: inherit; font-weight: 400; }
.gq-cl-padwrap { margin-bottom: 14px; }
.gq-cl-padhead { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.gq-cl-padhead .gq-link { color: var(--gq-co); }
.gq-cl-pad { display: block; width: 100%; height: 180px; border: 1px dashed #9aa4b2; border-radius: 10px; background: #fff linear-gradient(transparent 130px, #d7dce3 130px, #d7dce3 131px, transparent 131px); touch-action: none; cursor: crosshair; }
.gq-cl-answer label.gq-cl-agree { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 13px; color: var(--gq-text); line-height: 1.45; }
.gq-cl-agree input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.gq-cl-go { width: 100%; justify-content: center; padding: 14px; font-size: 16px; background: var(--gq-co) !important; border-color: var(--gq-co) !important; }
.gq-cl-decline { margin-top: 16px; }
.gq-cl-decline summary { cursor: pointer; color: var(--gq-muted); font-size: 14px; }
.gq-cl-decline form { margin-top: 12px; }
.gq-cl-foot { text-align: center; color: var(--gq-muted); font-size: 13px; padding: 10px 0 40px; display: flex; flex-direction: column; gap: 4px; }
.gq-cl-powered { margin-top: 8px; font-size: 11.5px; opacity: .75; }
@media (max-width: 600px) {
	.gq-cl-card { padding: 16px; }
	.gq-cl-head { flex-direction: column; }
	.gq-cl-total { text-align: left; }
	.gq-cl-item img { width: 48px; height: 48px; }
	.gq-cl-top-in .gq-btn { padding: 7px 10px; font-size: 13px; }
}
