/* Canonical report styles. Copied byte-for-byte to Accounting by sync-report-assets.mjs. */
.guc-report{--gr-ink:#303b34;--gr-muted:#62685b;--gr-accent:#4b6047;--gr-line:#dcded2;--gr-surface:#fffefa;--gr-alert:#a32929;color:var(--gr-ink);font:400 14px/1.6 "Microsoft JhengHei","Noto Sans TC",Arial,sans-serif;letter-spacing:normal;min-width:0;max-width:100%;text-align:left}
.guc-report *{box-sizing:border-box}
.guc-report h2,.guc-report h3,.guc-report p,.guc-report figure{margin:0;letter-spacing:normal}
.guc-report h2{font:600 19px/1.5 "Noto Serif TC","Songti TC","PMingLiU",Georgia,serif;color:var(--gr-ink)}
.guc-report h3{font:600 14px/1.5 "Microsoft JhengHei","Noto Sans TC",Arial,sans-serif;color:var(--gr-ink)}
.guc-report button{font:500 13px/1.5 inherit;font-family:inherit;font-size:13px;line-height:1.5;color:var(--gr-accent);background:var(--gr-surface);border:1px solid var(--gr-line);border-radius:6px;padding:8px 12px;min-height:38px;cursor:pointer;white-space:normal;box-shadow:none}
.guc-report button:hover{background:#e4e9dd}.guc-report button:disabled{opacity:.55;cursor:not-allowed}.guc-report button:focus-visible,.guc-report summary:focus-visible{outline:2px solid var(--gr-accent);outline-offset:3px}
.guc-report .gr-card,.guc-report .gr-heading,.guc-report .gr-kpi{background:var(--gr-surface);border:1px solid var(--gr-line);border-radius:10px;box-shadow:0 5px 18px #353e2a08;min-width:0;padding:20px}
.guc-report .gr-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
.guc-report .gr-heading h2{font-size:24px;overflow-wrap:anywhere;margin:8px 0}.guc-report .gr-heading p{color:var(--gr-muted);font-size:13px}
.guc-report .gr-code,.guc-report .gr-status{display:inline-block;border-radius:5px;background:#e4e9dd;color:var(--gr-accent);font-size:12px;padding:4px 8px}.guc-report .gr-status{white-space:nowrap}
.guc-report .gr-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:12px}.guc-report .gr-kpi{padding:16px}.guc-report .gr-kpi span,.guc-report .gr-kpi small{display:block;font-size:12px;color:var(--gr-muted)}.guc-report .gr-kpi strong{display:block;font-size:25px;line-height:1.4;margin:6px 0}.guc-report .gr-kpi.gr-alert strong{color:var(--gr-alert)}
.guc-report .gr-dashboard{display:grid;grid-template-columns:1.1fr 1.1fr 1fr;gap:18px;margin:18px 0}.guc-report .gr-span-two{grid-column:span 2}.guc-report .gr-card>header{margin-bottom:16px}.guc-report .gr-card>header p,.guc-report .gr-note{font-size:12px;color:var(--gr-muted);line-height:1.65;margin:6px 0 0}
.guc-report>.gr-card+.gr-card,.guc-report .gr-report-content>.gr-card+.gr-card{margin-top:18px}.guc-report .gr-empty{padding:28px 8px;text-align:center;color:var(--gr-muted)}
.guc-report .gr-worker-bars{display:flex;align-items:flex-end;gap:14px;overflow-x:auto;max-width:100%;padding:16px 4px 8px}.guc-report .gr-worker-bars figure{min-width:64px;flex:1;text-align:center}.guc-report .gr-worker-bars strong{font-size:13px;white-space:nowrap}.guc-report .gr-bar-track{height:150px;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid var(--gr-line);margin-top:8px}.guc-report .gr-bar-track i{display:block;width:60%;max-width:58px;background:var(--gr-accent);border-radius:4px 4px 0 0}.guc-report figcaption{font-size:12px;overflow-wrap:anywhere;line-height:1.6;margin-top:8px}
.guc-report .gr-material-unit+.gr-material-unit{margin-top:20px}.guc-report .gr-material-unit h3{margin-bottom:10px}.guc-report .gr-meter-label{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin:8px 0 4px}.guc-report .gr-meter-label span{overflow-wrap:anywhere}.guc-report .gr-meter-label strong{flex-shrink:0;font-size:13px}
.guc-report progress{display:block;width:100%;height:9px;border:0;border-radius:6px;overflow:hidden;background:#e4e9dd;accent-color:var(--gr-accent)}.guc-report progress::-webkit-progress-bar{background:#e4e9dd}.guc-report progress::-webkit-progress-value{background:var(--gr-accent)}.guc-report .gr-alert progress::-webkit-progress-value{background:var(--gr-alert)}.guc-report .gr-alert{color:var(--gr-alert)}.guc-report .gr-progress p{font-size:12px;margin-top:5px}
.guc-report .gr-gauge{width:190px;height:190px;margin:18px auto;border-radius:50%;padding:18px;background:conic-gradient(var(--gr-accent) calc(var(--gr-percent)*1%),#e4e9dd 0)}.guc-report .gr-gauge>div{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;background:var(--gr-surface)}.guc-report .gr-gauge strong{font-size:29px}.guc-report .gr-gauge span{font-size:11px;color:var(--gr-muted)}
.guc-report .gr-gantt{max-width:100%;overflow-x:auto;padding:4px 0}.guc-report .gr-gantt-axis{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--gr-muted);margin-bottom:14px}.guc-report .gr-gantt-row{display:grid;grid-template-columns:minmax(100px,36%) minmax(140px,1fr);gap:12px;align-items:center;min-height:45px}.guc-report .gr-gantt-row>span{font-size:12px;overflow-wrap:anywhere}.guc-report .gr-gantt-track{background:repeating-linear-gradient(90deg,#fffefa 0,#fffefa calc(10% - 1px),#dcded2 10%);min-height:28px}.guc-report .gr-gantt-track i{display:block;min-width:28px;line-height:24px;border-radius:3px;background:#a08059;color:white;font-size:11px;text-align:center;font-style:normal}.guc-report .gr-gantt-track .gr-over{background:var(--gr-alert)}
.guc-report .gr-item-progress+.gr-item-progress{margin-top:18px}.guc-report .gr-plan{border-top:1px solid var(--gr-line)}.guc-report .gr-plan>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:14px 0;font-weight:600;list-style:none}.guc-report .gr-plan>summary:before{content:'＋';color:var(--gr-accent)}.guc-report .gr-plan[open]>summary:before{content:'－'}.guc-report .gr-plan>summary>span{flex:1;min-width:0;overflow-wrap:anywhere}.guc-report .gr-plan>summary small{display:block;font-weight:400;font-size:12px;color:var(--gr-muted)}.guc-report .gr-plan>summary>b{font-size:12px}.guc-report .gr-plan-body{padding:0 0 20px}.guc-report .gr-plan-body>p,.guc-report .gr-plan-body>h3,.guc-report .gr-plan-body>button{margin:12px 0}.guc-report .gr-item{border:1px solid var(--gr-line);border-radius:6px;margin:10px 0}.guc-report .gr-item>summary{padding:12px;cursor:pointer;overflow-wrap:anywhere}.guc-report .gr-item>summary span{font-size:12px;color:var(--gr-muted)}.guc-report .gr-item>div{padding:0 12px 12px}
.guc-report .gr-table{max-width:100%;overflow:auto;margin-top:16px;border:1px solid var(--gr-line);border-radius:6px}.guc-report table{width:100%;min-width:640px;border-collapse:collapse;table-layout:auto;font-size:13px}.guc-report th,.guc-report td{text-align:left;font-size:13px;line-height:1.6;padding:12px;border:0;border-bottom:1px solid var(--gr-line);color:var(--gr-ink);max-width:320px;overflow-wrap:anywhere;white-space:normal}.guc-report th{background:#f0f2e9;font-weight:600;white-space:nowrap}.guc-report td{background:var(--gr-surface)}.guc-report td small{display:block;font-size:11px;color:var(--gr-muted)}.guc-report td button{margin:3px;min-width:96px}
.planning-sort{display:flex;justify-content:flex-end;align-items:end;gap:10px;margin:14px 0}.planning-sort label{display:grid;font-size:12px;gap:4px}.planning-sort select{max-width:100%}
@media(max-width:1180px){.guc-report .gr-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.guc-report .gr-span-two{grid-column:auto}.guc-report .gr-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.guc-report .gr-dashboard{grid-template-columns:1fr}.guc-report .gr-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.guc-report .gr-card,.guc-report .gr-heading{padding:16px}.guc-report .gr-heading{flex-wrap:wrap}.guc-report .gr-heading h2{font-size:21px}}
@media(max-width:460px){.guc-report .gr-kpis{grid-template-columns:1fr}.guc-report .gr-gantt-row{grid-template-columns:100px minmax(110px,1fr)}.guc-report .gr-plan>summary{flex-wrap:wrap}.guc-report .gr-plan>summary>b{margin-left:24px}}

.guc-report .page-actions{display:flex;justify-content:space-between;margin:0 0 20px}.guc-report .page-actions h2{font-size:22px}.guc-report .page-actions p{font-size:13px;color:var(--gr-muted);margin-top:4px}
.guc-report .gr-filters{border:1px solid var(--gr-line);border-radius:8px;background:var(--gr-surface);padding:14px 16px;margin-bottom:16px}.guc-report .gr-filters>summary{cursor:pointer;font-size:14px;font-weight:600}.guc-report .gr-filter-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 12px;padding:0;border:0;background:none;box-shadow:none}.guc-report .gr-filter-fields label{display:flex;flex-direction:column;gap:6px;font-size:13px;min-width:0}.guc-report .gr-filter-fields select,.guc-report .gr-filter-fields input{display:block;width:100%;max-width:100%;min-width:0;min-height:42px;font-family:inherit;font-size:14px;line-height:1.5;color:var(--gr-ink);background:#fffefa;border:1px solid var(--gr-line);border-radius:6px;padding:8px}.guc-report .report-filter-hint{grid-column:1/-1;font-size:12px;color:var(--gr-muted)}
.guc-report .gr-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;background:transparent;padding:0;border:0;box-shadow:none;width:auto}.guc-report .gr-tabs button{flex:none;min-width:94px;padding:8px 14px}.guc-report .gr-tabs button[aria-selected=true]{color:#fffefa;background:var(--gr-accent);border-color:var(--gr-accent)}
.guc-report .gr-price-dialog{max-width:min(420px,calc(100vw - 32px));border:1px solid var(--gr-line);border-radius:12px;padding:24px;background:var(--gr-surface);color:var(--gr-ink)}.guc-report .gr-price-dialog::backdrop{background:#303b3460}.guc-report .gr-price-dialog label{display:grid;gap:8px;margin:18px 0}.guc-report .gr-price-dialog input{min-height:42px;max-width:100%;padding:8px;border:1px solid var(--gr-line);border-radius:6px;font:inherit}
@media(max-width:1180px){.guc-report .gr-filter-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:780px){.guc-report .gr-filter-fields{grid-template-columns:1fr}.guc-report .gr-tabs button{flex:1}}

.guc-report th button{padding:0;background:none;border:0;min-height:28px;min-width:0;font:inherit;font-weight:600;color:inherit;white-space:nowrap;text-align:left}.guc-report th button span{font-size:11px;color:var(--gr-muted)}.guc-report th[aria-sort=ascending] button span,.guc-report th[aria-sort=descending] button span{color:var(--gr-accent)}.guc-report .gr-gantt-track i{white-space:nowrap;min-width:48px}
