.gj-workspace{min-width:0}.gj-workspace .work-card{position:relative}.gj-date{font-size:12px!important}.gj-workspace table td>strong,.gj-workspace table td>small{display:block}.gj-workspace table td>small{color:var(--muted);margin:4px 0}.gj-workspace tr[data-gj-open]{cursor:pointer}.gj-workspace tr[data-gj-open]:hover{background:var(--surface-secondary,#f4f5f7)}.gj-toolbar{padding:18px}.gj-toolbar .input-wrap{width:100%}.gj-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:14px}.gj-filters .gp-field{min-width:140px}.gj-filters .view-switch{margin-left:auto}.gj-empty-action{display:flex;justify-content:center;padding:0 20px 25px}.gj-project-meta{border-top:1px solid var(--line,#e1e4e8);padding:16px 24px;display:flex;flex-wrap:wrap;align-items:center;gap:12px}.gj-project-meta>span:first-child{display:flex;align-items:center;gap:8px;margin-right:auto}.gj-project-meta svg{width:16px;height:16px}.gj-muted{color:var(--muted,#687383);font-size:12px;line-height:1.6}.gj-notes{padding:20px;max-height:440px;overflow:auto}.gj-notes article{padding:14px 0;border-bottom:1px solid var(--line,#e3e5e8)}.gj-notes article:first-child{padding-top:0}.gj-notes article>div:first-child{display:flex;gap:12px;justify-content:space-between}.gj-notes strong{font-size:12px}.gj-notes small{font-size:11px;color:var(--muted);display:block}.gj-notes p{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;font-size:14px}.gj-audit{margin-top:20px;padding:18px 24px}.gj-audit summary{font-weight:600;cursor:pointer}.gj-audit p{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line,#eee);padding:12px 0;margin:0}.gj-audit small{color:var(--muted)}.gj-span{grid-column:1/-1}.gj-form-modal{width:min(720px,95vw)!important;max-width:720px!important}.gj-wide-modal{width:min(1080px,96vw)!important;max-width:1080px!important}.gj-form-intro{padding:12px 16px;background:var(--surface-secondary,#f3f5f7);border-radius:12px;font-size:13px;color:var(--muted)}.gj-trades{border:1px solid var(--line,#dfe3e7);padding:16px;border-radius:14px;display:flex;gap:14px;flex-wrap:wrap}.gj-trades legend{padding:0 5px;font-size:13px;font-weight:600}.gj-trades label{display:flex;align-items:center;gap:6px;font-size:13px}.gj-contact-row{display:grid;grid-template-columns:1fr 1.4fr 1fr .8fr 32px;gap:10px;margin:12px 0;padding:12px 0;border-bottom:1px solid var(--line,#ddd)}.gj-contact-row .icon-button{align-self:end}.gj-contact-row input{min-width:0}.gj-timeline-switch{margin:0 24px 20px;display:inline-flex}.gj-gantt-scroll{overflow-x:auto;margin:0 24px 24px;border:1px solid var(--line,#dde2e8);border-radius:12px}.gj-gantt-head,.gj-gantt-row{display:grid;grid-template-columns:240px 1fr}.gj-gantt-head>strong{padding:14px}.gj-gantt-head>div{display:flex;background:var(--surface-secondary,#f2f4f7)}.gj-gantt-head span{flex:1;min-width:0;padding:14px 4px;font-size:10px;border-left:1px solid var(--line,#ddd)}.gj-gantt-row{border-top:1px solid var(--line,#ddd)}.gj-gantt-row>button{display:flex;flex-direction:column;align-items:start;gap:5px;padding:14px;border:0;background:transparent;color:inherit;text-align:left}.gj-gantt-row strong{font-size:13px}.gj-gantt-row small{font-size:10px;color:var(--muted)}.gj-gantt-track{position:relative;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(14.285% - 1px),var(--line,#e3e5e8) calc(14.285% - 1px),var(--line,#e3e5e8) 14.285%)}.gj-gantt-bar{position:absolute;top:18px;height:28px;min-width:24px;overflow:hidden;background:#dbe7fc;border:1px solid #b4c8eb;border-radius:7px;color:#1b477f;padding:0}.gj-gantt-bar i{position:absolute;left:0;top:0;bottom:0;background:#8fb0e8}.gj-gantt-bar span{position:relative;z-index:1;font-size:10px}.gj-gantt-bar.is-milestone{background:#f5dec7;color:#8a5117;border-color:#e6b788}.gj-gantt-bar.is-milestone i{background:#edc69b}.gj-quote-group{margin:0 24px 20px;border:1px solid var(--line,#dce1e8);border-radius:14px;overflow:hidden}.gj-quote-group summary{display:flex;justify-content:space-between;gap:12px;padding:18px;cursor:pointer;background:var(--surface-secondary,#f4f5f7)}.gj-quote-group summary span{color:var(--muted);font-size:12px}.gj-folder-toolbar{display:flex;align-items:center;gap:24px;padding:0 24px 20px}.gj-folder-toolbar .gp-field{min-width:220px}.gj-items-heading{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0}.gj-items-heading h3{margin-right:auto}.gj-line{border:1px solid var(--line,#dbe0e7);border-radius:14px;padding:16px;margin:14px 0}.gj-line header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:13px}.gj-line-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.gj-line-grid>.gp-field:first-child{grid-column:span 2}.gj-line-empty{padding:24px;color:var(--muted);text-align:center;background:var(--surface-secondary,#f5f6f8);border-radius:12px}.gj-totals{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:20px;background:var(--surface-secondary,#f4f5f7);border-radius:14px}.gj-totals span{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted)}.gj-totals strong{font-size:17px;color:var(--text,#202530)}.gj-totals span:last-child strong{color:#ef3340}#gj-catalog{border:1px solid var(--line,#ddd);border-radius:12px;padding:16px;margin:10px 0;background:var(--surface-secondary,#f6f7f9)}.gj-catalog-product{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:16px;width:100%;border:0;border-bottom:1px solid var(--line,#ddd);background:transparent;color:inherit;padding:12px 0}.gj-catalog-product strong,.gj-catalog-product small{display:block}.gj-catalog-product small{font-size:11px;color:var(--muted);margin-top:4px}.gj-catalog-product>span:last-child{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:12px}.gj-catalog-product svg{width:16px;height:16px}.gj-catalog-pager{display:flex;justify-content:space-between;align-items:center;padding-top:12px;font-size:12px}.gj-file-modal{width:min(1200px,96vw)!important;max-width:1200px!important}.gj-document-actions{display:flex;gap:10px;margin-bottom:14px}.gj-document iframe{width:100%;height:70vh;border:1px solid var(--line,#ddd);border-radius:12px;background:white}.gj-document img{display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:auto}.gj-workspace .profile-panel>header{gap:16px}.gj-workspace .work-scope-preview{white-space:pre-wrap}.gj-workspace .work-table input[type=checkbox]{width:18px;height:18px}
html[data-theme=dark] .gj-form-intro,html[data-theme=dark] .gj-totals,html[data-theme=dark] #gj-catalog,html[data-theme=dark] .gj-line-empty,html[data-theme=dark] .gj-quote-group summary,html[data-theme=dark] .gj-gantt-head>div{background:#242a33}html[data-theme=dark] .gj-totals strong{color:#f2f3f5}
@media(max-width:700px){.gj-filters .gp-field{flex:1;min-width:120px}.gj-contact-row{grid-template-columns:1fr 1fr}.gj-contact-row .icon-button{grid-column:2;justify-self:end}.gj-line-grid{grid-template-columns:1fr 1fr}.gj-totals{grid-template-columns:1fr 1fr}.gj-folder-toolbar{align-items:stretch;flex-direction:column;gap:12px}.gj-project-meta{padding:16px}.gj-workspace .profile-panel>header{flex-wrap:wrap}.gj-audit p{flex-direction:column;gap:4px}.gj-workspace .work-detail-tabs{overflow:auto}.gj-workspace .work-detail-tabs button{min-width:130px}.gj-catalog-product{align-items:start;flex-direction:column}.gj-document-actions{flex-wrap:wrap}.gj-trades{gap:10px}.gj-trades label{width:calc(50% - 10px)}}
/* GGT uses the shared GGC project dialog; only the trade choices are specific. */
.ggt-project-modal .ggt-system-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ggt-project-modal .ggt-system-options label{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;font-size:13px;font-weight:500;line-height:1.4;cursor:pointer;min-width:0}
.ggt-project-modal .ggt-system-options label:has(:checked){border-color:var(--accent);background:var(--accent-soft);color:var(--text)}
.ggt-project-modal .ggt-system-options label:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.ggt-project-modal .ggt-system-options input{width:16px;height:16px;min-height:0;flex-shrink:0;margin:0;accent-color:var(--accent)}
.ggt-project-modal .project-create-scope textarea{resize:vertical;max-height:220px}
.ggt-project-modal .form-error{margin:12px 0 0}
@media(max-width:520px){.ggt-project-modal .ggt-system-options{grid-template-columns:repeat(2,minmax(0,1fr))}.ggt-project-modal .ggt-system-options label{padding:10px;font-size:12px}}
