.gqd-document {
  --gqd-ink:#1e3333;
  --gqd-muted:#526363;
  --gqd-line:#bdc9c8;
  color:var(--gqd-ink);
  font:400 14px/1.45 Tahoma,Arial,sans-serif;
  overflow-wrap:anywhere;
  text-align:start;
}
.gqd-document * {box-sizing:border-box;}
.gqd-document h2,.gqd-document h3,.gqd-document p,.gqd-document ul,.gqd-document dl,.gqd-document dd {margin:0;}
.gqd-quote,.gqd-plan-sheet {background:#fff;margin:0 auto 18px;padding:26px;border:1px solid var(--gqd-line);}
.gqd-quote {max-width:920px;}
.gqd-plan-sheet {max-width:1300px;}
.gqd-header {display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2.5fr) auto;gap:20px;align-items:start;padding-bottom:15px;border-bottom:2px solid #24544e;margin-bottom:15px;}
.gqd-header-id {display:grid;gap:4px;}
.gqd-header-id strong {font-size:16px;}
.gqd-header-id span,.gqd-header-title p {color:var(--gqd-muted);}
.gqd-header-title h2 {font-size:22px;line-height:1.3;letter-spacing:0;}
.gqd-sheet-id {font:600 14px/1.1 ui-monospace,Menlo,monospace;letter-spacing:.08em;}
.gqd-document .gqd-facts {display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));border-left:1px solid var(--gqd-line);border-top:1px solid var(--gqd-line);margin:0 0 14px;}
.gqd-facts>div {min-width:0;padding:7px 10px;border-right:1px solid var(--gqd-line);border-bottom:1px solid var(--gqd-line);}
.gqd-facts dt {color:var(--gqd-muted);font-size:.85em;}
.gqd-facts dd {font-weight:600;}
.gqd-document table {border-collapse:collapse;color:var(--gqd-ink);font:inherit;width:100%;table-layout:fixed;}
.gqd-document th,.gqd-document td {text-align:start;padding:6px 7px;vertical-align:top;border-bottom:1px solid var(--gqd-line);}
.gqd-document thead th {background:#e9f0ed;font-weight:700;border-top:1.2px solid #667c75;}
.gqd-price-table th:nth-child(1) {width:6%;}
.gqd-price-table th:nth-child(2) {width:40%;}
.gqd-price-table th:nth-child(3) {width:10%;}
.gqd-price-table th:nth-child(4) {width:10%;}
.gqd-price-table th:nth-child(5),.gqd-price-table th:nth-child(6) {width:17%;}
.gqd-document .gqd-table-group th {padding:4px 7px;background:#f3f6f4;color:#284f46;}
.gqd-document .gqd-number,.gqd-document .gqd-money {text-align:right;font-variant-numeric:tabular-nums;}
.gqd-description small {display:block;color:var(--gqd-muted);font-size:.83em;line-height:1.35;margin-top:2px;}
.gqd-line-num {color:var(--gqd-muted);}
.gqd-total {margin-top:16px;padding:12px 0 4px;border-top:2px solid #24544e;display:flex;align-items:baseline;justify-content:space-between;gap:12px;}
.gqd-total strong {font-size:1.45em;}
.gqd-document .gqd-pending,.gqd-document .gqd-footnote {color:var(--gqd-muted);font-size:.91em;margin-top:10px;}
.gqd-layout {display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:12px;align-items:start;}
.gqd-panel {min-width:0;border:1px solid var(--gqd-line);padding:12px;}
.gqd-panel h3 {font-size:1em;border-bottom:1px solid var(--gqd-line);padding-bottom:5px;margin-bottom:7px;}
.gqd-side {display:grid;gap:12px;}
.gqd-side .gqd-facts {grid-template-columns:repeat(2,minmax(0,1fr));margin:0;}
.gqd-side .gqd-facts>div {padding:4px 7px;}
.gqd-figure {margin:auto;min-width:0;}
.gqd-figure svg,svg.gqd-sketch {display:block;width:100%;height:auto;max-width:100%;}
.gqd-side .gqd-figure {max-width:270px;}
.gqd-document .gqd-legend {display:flex;flex-wrap:wrap;list-style:none;padding:8px 0 0;gap:5px 16px;border-top:1px solid var(--gqd-line);}
.gqd-legend li {display:flex;align-items:center;gap:6px;font-size:.85em;}
.gqd-legend i {width:20px;min-width:20px;display:inline-block;}
.gqd-key-house {height:10px;border:1px solid #69736d;background:repeating-linear-gradient(45deg,var(--p-house) 0 4px,var(--line) 4px 5px);}
.gqd-key-extension {height:10px;border:2px solid #1f3e42;background:var(--p-roof);}
.gqd-key-shared,.gqd-key-beam,.gqd-key-gutter {height:0;border-top:3px dashed #ac591a;}
.gqd-key-beam {border-top-color:var(--s-struct);}
.gqd-key-gutter {border-top:2px solid var(--s-roof);}
.gqd-title-block {margin-top:16px;padding:6px 0;border-block:1px solid #768782;display:flex;justify-content:space-between;gap:12px;color:var(--gqd-muted);font-size:.87em;}
.gqd-schedule th:first-child {width:18%;}
.gqd-schedule th:nth-child(2) {width:10%;}
.gqd-schedule th:nth-child(3) {width:31%;}
.gqd-schedule th:nth-child(4) {width:11%;}
.gqd-panel .gqd-schedule th:first-child {width:15%;}
.gqd-panel .gqd-schedule th:nth-child(2) {width:58%;}
.gqd-panel .gqd-schedule th:nth-child(3) {width:27%;}
@media screen and (max-width:650px) {
  .gqd-quote,.gqd-plan-sheet {padding:12px;margin-bottom:12px;}
  .gqd-header {grid-template-columns:1fr auto;gap:6px;padding-bottom:8px;margin-bottom:10px;}
  .gqd-header-id {grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:5px;}
  .gqd-header-title h2 {font-size:19px;}
  .gqd-layout {grid-template-columns:minmax(0,1fr);}
  .gqd-panel {padding:7px;}
  .gqd-document .gqd-facts {grid-template-columns:repeat(2,minmax(0,1fr));}
  .gqd-title-block {flex-wrap:wrap;gap:3px 8px;}
  .gqd-quote .gqd-price-table {font-size:12px;}
  .gqd-quote .gqd-price-table th,.gqd-quote .gqd-price-table td {padding:4px 2px;}
  .gqd-price-table thead th:nth-child(1),.gqd-price-table .gqd-line-num {display:none;}
  .gqd-price-table th:nth-child(2) {width:34%;}
  .gqd-price-table th:nth-child(5),.gqd-price-table th:nth-child(6) {width:22%;}
  .gqd-schedule {font-size:12px!important;}
  .gqd-schedule th,.gqd-schedule td {padding:4px 2px;}
}
@media print {
  body[data-gq-print] {background:white!important;margin:0!important;padding:0!important;height:auto!important;overflow:visible!important;}
  body[data-gq-print] > :not(#document-output) {display:none!important;}
  body[data-gq-print] > #document-output {
    position:static!important;display:block!important;overflow:visible!important;border:0!important;
    width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;
    background:white!important;margin:0!important;padding:0!important;
  }
  .gqd-document {font:10pt/1.3 Tahoma,Arial,sans-serif;}
  .gqd-document,.gqd-document * {-webkit-print-color-adjust:exact;print-color-adjust:exact;box-shadow:none!important;text-shadow:none!important;}
  .gqd-quote,.gqd-plan-sheet {max-width:none;border:0;margin:0;padding:0!important;}
  .gqd-plan-sheet {break-after:page;min-height:273mm;display:flex;flex-direction:column;}
  .gqd-plan-sheet > * {flex:none;}
  .gqd-plan-sheet:last-child {break-after:auto;}
  .gqd-plan-sheet .gqd-header {margin-bottom:3mm;padding-bottom:3mm;}
  .gqd-document .gqd-header-title h2 {font-size:17pt;}
  .gqd-document .gqd-header-title p {font-size:10pt;}
  .gqd-document .gqd-facts {grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:3mm;}
  .gqd-document .gqd-facts>div {padding:1.6mm 2mm;}
  .gqd-layout {gap:4mm;grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);}
  .gqd-panel {padding:3mm;}
  .gqd-side .gqd-figure {max-width:70mm;}
  .gqd-side .gqd-facts {grid-template-columns:repeat(2,minmax(0,1fr));margin:0;}
  .gqd-plan-sheet .gqd-title-block {margin-top:auto;}
  .gqd-plan-sheet > .gqd-footnote,.gqd-plan-sheet > .gqd-schedule {margin-bottom:4mm;}
  .gqd-document thead {display:table-header-group;}
  .gqd-document tr,.gqd-total,.gqd-pending,.gqd-document .gqd-facts,.gqd-title-block {break-inside:avoid;}
  .gqd-table-group {break-after:avoid;}
  .gqd-document th,.gqd-document td {padding:1.3mm 1.6mm;}
  .gqd-plan-sheet .gqd-schedule {font-size:9.5pt;}
}

.gqd-key-post {height:8px;width:8px!important;min-width:8px!important;background:#354a5c;}

.gqd-positions {margin:.6em 0 0;}
.gqd-positions > div {border-top:1px solid var(--gqd-line);padding:.43em 0;line-height:1.25;}
.gqd-positions dt {font-weight:650;}
.gqd-positions dd {margin:.15em 0 0;font-size:.88em;}
.gqd-positions .gqd-coord {font-variant-numeric:tabular-nums;color:#214d46;font-weight:600;}
.gqd-positions .gqd-placement-note {color:var(--gqd-muted);}
.gqd-legend .gqd-key-auto,.gqd-legend .gqd-key-user {width:12px;min-width:12px;height:12px;border:1.5px dashed #895d36;border-radius:50%;}
.gqd-legend .gqd-key-user {border:1.5px solid #13725f;}
.gqd-legend .gqd-key-footprint {height:9px;background:var(--s-builtin-soft);border:1px solid var(--s-builtin);}
.gqd-sketch [data-placement-id][role="button"] {cursor:pointer;}
.gqd-sketch [data-placement-id][role="button"]:focus {outline:2px solid #187a60;}
@media print {
  .gqd-layout {grid-template-columns: 254mm minmax(0, 1fr);}
  .gqd-figure svg.gqd-metric {width:246.4mm!important;height:168mm!important;max-width:none!important;max-height:none!important;}
  .gqd-positions {font-size:9.5pt;}
}
.gqd-kitchen-detail {width:100%;margin:0 auto;}
.gqd-kitchen-detail svg {width:100%;height:auto;display:block;}
.gqd-schedule:has(th:last-child:nth-child(2)) th:first-child {width:38%;}
.gqd-schedule:has(th:last-child:nth-child(2)) th:last-child {width:62%;}
@media print {
  .gqd-kitchen-detail svg {width:100%;height:190mm;max-height:190mm;}
}
.gqd-kitchen-mobile {display:none;}
@media screen and (max-width:650px) {
  .gqd-kitchen-mobile {display:block;}
  .gqd-kitchen-detail {display:none;}
}

.gq-paper {--surface-3:var(--p-house);--line:#c4bfb4;--hk-head:Tahoma,Arial,sans-serif;}
.gqd-index-symbol {display:inline-flex;vertical-align:middle;width:18px;height:18px;margin-inline-end:4px;}
.gqd-index-symbol svg {height:100%;width:100%;}
.gqd-symbol-list {display:flex;flex-wrap:wrap;gap:4px 12px;list-style:none;padding:0;margin:6px 0;}
.gqd-symbol-list li {display:flex;align-items:center;font-size:.9em;}
.gqd-sketch .gq-house {stroke:var(--p-houseLine);}
.gqd-sketch .gq-counter-run {stroke:var(--s-builtin);}
@media print {.gqd-sketch,.gqd-index-symbol,.gqd-legend {print-color-adjust:exact;-webkit-print-color-adjust:exact;}}

.gq-cad-controls {display:flex;align-items:center;gap:7px;min-height:39px;padding:0 12px 7px;font-size:.84rem;color:var(--muted);}
.gq-cad-controls input {width:17px;height:17px;accent-color:#17654c;}
.gqd-sketch .gq-cad-label {
  font:700 11px Tahoma,Arial,sans-serif;
  text-anchor:middle;dominant-baseline:central;paint-order:stroke;
  stroke:#fff;stroke-width:3px;stroke-linejoin:round;fill:#263c44;
}
.gqd-sketch .gq-cad-estimate {fill:#8e4516;}
.gqd-sketch .gq-cad-post-outline {stroke:#794214;stroke-width:.85;}
.gqd-sketch .gq-cad-post-center {stroke:#794214;stroke-width:.7;}
.gqd-document .gqd-datum-note {font-size:.9em;margin:0 0 9px;color:var(--gqd-muted);}
.gqd-reference-layout {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px;align-items:start;}
.gqd-reference-sheet > .gqd-panel {margin-top:12px;}
.gqd-reference-sheet .gqd-facts {margin:0;}
.gqd-reference-sheet .gqd-xy-table th:first-child {width:15%;}
.gqd-reference-sheet .gqd-xy-table th:nth-child(2),.gqd-reference-sheet .gqd-xy-table th:nth-child(3) {width:20%;}
.gqd-reference-sheet .gqd-xy-table th:last-child {width:45%;}
.gqd-reference-sheet .gqd-xy-table td:nth-child(2),.gqd-reference-sheet .gqd-xy-table td:nth-child(3),
.gqd-reference-sheet .gqd-run-table td:nth-child(2) {font-variant-numeric:tabular-nums;}
.gqd-reference-sheet .gqd-run-table th:first-child {width:72%;}
.gqd-document .gqd-footnote.gqd-check {color:#854012;}
.gqd-document .gqd-datum-note.gqd-check {color:#854012;}
@media screen and (max-width:650px) {
  .gqd-reference-layout {grid-template-columns:minmax(0,1fr);gap:8px;}
  .gqd-reference-sheet > .gqd-panel {margin-top:8px;}
  .gqd-document .gqd-cad-table {font-size:12px;}
  .gqd-document .gqd-cad-table th,.gqd-document .gqd-cad-table td {padding:4px 3px;}
}
@media print {
  .gqd-reference-layout {gap:4mm;}
  .gqd-reference-sheet > .gqd-panel {margin-top:3mm;}
  .gqd-reference-sheet .gqd-cad-table {font-size:9.5pt;}
  .gqd-reference-sheet .gqd-cad-table th,.gqd-reference-sheet .gqd-cad-table td {padding:1.15mm 1.5mm;}
}
