/* Scoped additions only. The main Sunstar design remains unchanged. */
.sunstar-feedback{--fb-accent:var(--green,#234c42);--fb-ink:var(--ink,#253a35);--fb-muted:var(--muted,#667770);--fb-line:var(--line,#e2e7df);color:var(--fb-ink);min-width:0;font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.sunstar-feedback *{box-sizing:border-box}.sunstar-feedback [hidden]{display:none!important}.fb-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:25px}.fb-eyebrow{font-size:10px;letter-spacing:1.6px;text-transform:uppercase;color:var(--fb-muted);margin:0 0 10px;font-weight:650}.fb-heading h1{font-family:Georgia,"Songti SC",serif;font-weight:400;font-size:34px;line-height:1.22;letter-spacing:-.6px;margin:0 0 12px}.fb-heading>div>p:last-child{font-size:13px;color:var(--fb-muted);margin:0;max-width:680px}.fb-heading>.fb-button{margin-top:24px}.fb-button{font-family:inherit;font-size:12px;line-height:1.5;font-weight:600;border:1px solid #cfdbcf;border-radius:7px;padding:10px 14px;min-height:42px;background:#fff;color:var(--fb-accent);display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;gap:7px;white-space:normal}.fb-button:hover:not(:disabled){background:#f1f5eb;border-color:#92a889}.fb-button.fb-primary{background:var(--fb-accent);border-color:var(--fb-accent);color:#fff}.fb-button.fb-primary:hover:not(:disabled){filter:brightness(.94);background:var(--fb-accent)}.fb-button.fb-small{font-size:11px;min-height:36px;padding:8px 11px}.sunstar-feedback button:disabled,.sunstar-feedback input:disabled,.sunstar-feedback select:disabled,.sunstar-feedback textarea:disabled{opacity:.58;cursor:wait}.sunstar-feedback a:focus-visible,.sunstar-feedback button:focus-visible,.sunstar-feedback input:focus-visible,.sunstar-feedback select:focus-visible,.sunstar-feedback textarea:focus-visible,.sunstar-feedback summary:focus-visible{outline:3px solid #b78335;outline-offset:3px}.fb-note{font-size:12px;line-height:1.75;padding:15px 18px;border:1px solid #e8dfc9;border-radius:8px;background:#fbf6e9;color:#7c6846;margin:0 0 22px}.fb-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 20px}.fb-metrics>div{border:1px solid var(--fb-line);border-radius:10px;padding:21px 22px;background:#fff;display:flex;flex-direction:column;gap:6px;min-width:0}.fb-metrics strong{font-family:Georgia,serif;font-size:30px;font-weight:400;line-height:1.2;overflow-wrap:anywhere}.fb-metrics span{font-size:11px;color:var(--fb-muted)}.fb-editor{border:1px solid var(--fb-line);border-radius:10px;background:#fff;margin:14px 0 20px;overflow:hidden}.fb-editor>summary{padding:17px 19px;font-size:13px;font-weight:600;color:var(--fb-accent);cursor:pointer;min-height:50px}.fb-editor>summary:hover{background:#f5f8f0}.fb-editor[open]>summary{border-bottom:1px solid var(--fb-line);background:#f5f8f0}.fb-editor-body{padding:22px}.fb-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px}.fb-field{display:flex;flex-direction:column;gap:7px;min-width:0}.fb-field.fb-wide{grid-column:1/-1}.fb-field label{font-size:11px;font-weight:600}.fb-field input,.fb-field select,.fb-field textarea{width:100%;min-width:0;padding:11px 12px;border:1px solid #cdd9cd;border-radius:7px;background:#fff;color:var(--fb-ink);font-family:inherit;font-size:13px;line-height:1.5;min-height:43px}.fb-field input[type=file]{font-size:11px;padding:9px}.fb-field textarea{resize:vertical;min-height:100px;max-height:320px}.fb-field small{font-size:10px;color:var(--fb-muted);line-height:1.65}.fb-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:19px}.fb-check{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.75;padding:15px 0 0}.fb-check input{margin-top:5px;accent-color:var(--fb-accent);flex-shrink:0}.fb-error{color:#983f2d;background:#fff0e9;border:1px solid #efd6cb;border-radius:7px;padding:11px 13px;font-size:12px;line-height:1.65;margin:15px 0;overflow-wrap:anywhere}.fb-error:empty{display:none}.fb-error:focus{outline:2px solid #b97358;outline-offset:3px}.fb-success,.fb-submitted{border:1px solid #cddfbd;background:#eef6e7;color:#3a623e;padding:15px 18px;border-radius:8px;font-size:12px;line-height:1.7}.fb-submitted h3{font-size:16px;margin-top:0}.fb-submitted strong{overflow-wrap:anywhere}.fb-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}.fb-card{border:1px solid var(--fb-line);border-radius:11px;background:#fff;padding:23px;min-width:0;overflow-wrap:anywhere}.fb-card h2{font-size:18px;font-weight:600;line-height:1.5;margin:13px 0 7px;letter-spacing:-.15px}.fb-card h3{font-size:16px;line-height:1.5;margin:0}.fb-card p{font-size:12px;line-height:1.75}.fb-muted{color:var(--fb-muted)}.fb-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.fb-chip{display:inline-block;padding:4px 8px;font-size:10px;line-height:1.5;background:#f0f3ea;color:#5d7152;border:1px solid #e1e7d9;border-radius:5px;margin-right:5px}.fb-chip.good{background:#e8f1df;color:#436638}.fb-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.fb-facts>div{padding:11px 12px;background:#f6f8f2;border-radius:7px;min-width:0}.fb-facts dt{font-size:10px;color:var(--fb-muted);margin-bottom:5px}.fb-facts dd{font-size:12px;margin:0;overflow-wrap:anywhere}.fb-pre{white-space:pre-wrap}.fb-reminders{border:1px solid #e4d8be;background:#fff9ed;border-radius:9px;padding:18px 21px;margin:20px 0}.fb-reminders h2{font-size:14px;margin:0 0 11px}.fb-reminders p{font-size:12px;line-height:1.7;margin:7px 0;color:#746244}.fb-section{margin-top:28px}.fb-section>h2{font-size:21px;font-family:Georgia,"Songti SC",serif;font-weight:400;margin:0 0 15px}.fb-history{display:flex;justify-content:space-between;gap:15px;padding:17px 20px;background:#fff;border:1px solid var(--fb-line);border-radius:8px;margin-bottom:10px;min-width:0;overflow-wrap:anywhere}.fb-history strong{font-size:13px}.fb-history p{font-size:12px;line-height:1.7;margin:5px 0;color:var(--fb-muted)}.fb-history small{font-size:10px;color:var(--fb-muted)}.fb-empty{padding:29px 23px;text-align:center;color:var(--fb-muted);border:1px dashed #d4deca;border-radius:9px;background:#fafbf7;font-size:12px;line-height:1.8;grid-column:1/-1}.fb-stack{display:flex;flex-direction:column;gap:18px;margin-top:20px}.fb-amount{font-size:26px;font-family:Georgia,serif;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.3;display:block}.fb-amount small{font:11px system-ui;color:var(--fb-muted)}.fb-analysis{margin-top:17px;padding-top:16px;border-top:1px solid var(--fb-line)}.fb-analysis-result{margin-top:13px;padding:14px;background:#f3f6ed;border:1px solid #dce5d1;border-radius:8px}.fb-analysis-result h4{font-size:12px;margin:12px 0 5px}.fb-analysis-result p,.fb-analysis-result li{font-size:12px;line-height:1.7;white-space:pre-wrap}.fb-analysis-result ul{padding-left:18px;margin:7px 0}.fb-analysis-result .fb-hint{font-size:10px;color:var(--fb-muted)}.fb-link{font-size:12px;font-weight:600;display:inline-block;padding:8px 0;color:var(--fb-accent)}.fb-application{margin-bottom:16px}.fb-workorder{border-top:1px solid var(--fb-line);margin-top:25px;padding-top:24px}.fb-workorder .fb-heading h2{font-size:21px;font-family:Georgia,"Songti SC",serif;font-weight:400;margin:0}.fb-workorder .fb-heading{margin-bottom:18px;align-items:center}.fb-heading.fb-compact>.fb-button{margin:0}.fb-workorder .fb-editor-body{padding:17px}.fb-attachment{display:flex;align-items:center;gap:13px;color:var(--fb-ink);text-decoration:none;padding:13px 15px;border:1px solid var(--fb-line);border-radius:8px;background:#fff;margin-bottom:9px;min-width:0}.fb-attachment:hover{background:#f6f8f0}.fb-attachment>span:first-child{font-size:24px;color:#607d52}.fb-attachment>div{flex:1;min-width:0}.fb-attachment strong{font-size:12px;display:block}.fb-attachment small{display:block;margin-top:4px;font-size:10px;color:var(--fb-muted);overflow-wrap:anywhere}.fb-public-brand{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--fb-line);padding:5px 0 23px;margin-bottom:32px}.fb-public-brand>a:first-child{font:bold 32px Georgia,serif;letter-spacing:-1px;text-decoration:none;color:var(--fb-accent)}.fb-public-brand small{display:block;font:9px system-ui;letter-spacing:1.1px;margin-top:2px;color:var(--fb-muted)}.fb-public-brand>a:last-child{font-size:12px;color:var(--fb-accent)}.fb-public-listings{display:grid;grid-template-columns:1fr;gap:20px;max-width:920px;margin:auto}.fb-public-listings>.fb-card{padding:30px}.fb-public-listings .fb-card>h2{font-size:26px;font-family:Georgia,"Songti SC",serif;font-weight:400}.fb-loading{padding:24px;color:var(--fb-muted);font-size:13px}
@media(max-width:1000px){.fb-card-grid{grid-template-columns:1fr}.fb-metrics strong{font-size:27px}.fb-card{padding:20px}.fb-fields{gap:14px}.fb-heading h1{font-size:30px}}
@media(max-width:600px){.fb-heading{gap:12px}.fb-heading h1{font-size:27px}.fb-heading>div>p:last-child{font-size:12px}.fb-heading>.fb-button{margin-top:24px;padding:8px 11px;flex-shrink:0}.fb-metrics{gap:8px}.fb-metrics>div{padding:15px 12px}.fb-metrics strong{font-size:22px}.fb-metrics span{font-size:10px}.fb-card{padding:18px}.fb-fields,.fb-facts{grid-template-columns:1fr}.fb-field.fb-wide{grid-column:auto}.fb-editor-body{padding:16px}.fb-editor>summary{padding:15px 16px;font-size:12px}.fb-field input,.fb-field select,.fb-field textarea{font-size:16px;min-height:45px;padding:10px}.fb-card h2{font-size:17px}.fb-card p{font-size:12px}.fb-facts{gap:9px}.fb-facts>div{display:grid;grid-template-columns:minmax(90px,.7fr) minmax(0,1fr);gap:12px;align-items:start}.fb-facts dt{margin:0}.fb-amount{font-size:25px}.fb-actions>.fb-button{flex:1}.fb-note{padding:13px 15px;font-size:11px}.fb-history{padding:15px;gap:10px}.fb-history>strong{flex-shrink:0}.fb-public-brand>a:first-child{font-size:28px}.fb-public-listings>.fb-card{padding:20px}.fb-public-listings .fb-card>h2{font-size:23px}.fb-workorder .fb-heading h2{font-size:19px}.fb-workorder .fb-fields{grid-template-columns:1fr}.fb-analysis-result{padding:12px}.fb-button{font-size:12px}.fb-heading.fb-compact{align-items:flex-start}.fb-check{font-size:11px}}

.sunstar-feedback .fb-entered{border:1px solid var(--fb-line);border-radius:8px;padding:16px;margin:20px 0;background:#fbfcf8}.sunstar-feedback .fb-entered h4{font-size:12px;margin:0 0 10px}.sunstar-feedback .fb-hint{font-size:11px;color:var(--fb-muted);line-height:1.75}.sunstar-feedback .fb-entered .fb-facts{margin:12px 0}.sunstar-feedback .fb-field>span{font-size:11px;font-weight:600}.sunstar-feedback .fb-field>strong{font-size:13px;padding:11px 0;font-weight:500}
/* Signature shared component treatment; semantic warning/success colors stay distinct. */
.fb-heading h1,.fb-section>h2,.fb-workorder .fb-heading h2,.fb-public-listings .fb-card>h2{font-family:var(--font-ui);font-weight:600}
.fb-metrics strong,.fb-amount{font-family:var(--font-ui);font-weight:600;letter-spacing:-.7px}
.fb-card,.fb-metrics>div,.fb-editor{border-radius:12px;box-shadow:0 2px 8px #182e4b03}
.fb-button,.fb-field input,.fb-field select,.fb-field textarea{border-color:#cdd7e4}
.fb-button:hover:not(:disabled){background:#edf2f8;border-color:#8299b5}
.fb-button.fb-primary:hover:not(:disabled){background:var(--fb-accent)}
.fb-editor>summary:hover,.fb-editor[open]>summary,.fb-facts>div{background:#f1f5fa}
.fb-chip{background:#eef2f7;border-color:#dee6f0;color:#566c87}
.fb-empty{background:#f8fafc;border-color:#d5dfe9}
.fb-analysis-result{background:#f5f1e8;border-color:#e3dbc9}
.fb-attachment:hover{background:#f3f7fc}
.fb-attachment>span:first-child{color:#6783a3}
.sunstar-feedback .fb-entered{background:#f8fafd}
.fb-public-brand>a:first-child{font-family:var(--font-ui);font-weight:700}

.sunstar-feedback .fb-attachment-held{background:var(--fb-soft,#f5f7fa);cursor:default}.sunstar-feedback .fb-file-state{display:block;font-weight:600;margin-top:4px}

.sunstar-feedback .fb-table-scroll{overflow-x:auto;margin:1rem 0}.sunstar-feedback .fb-table-scroll table{border-collapse:collapse;width:100%;text-align:left}.sunstar-feedback .fb-table-scroll th,.sunstar-feedback .fb-table-scroll td{padding:.7rem;border-bottom:1px solid #dbe1d8;white-space:nowrap}
/* Removal, restoration and public listing photographs. */
.sunstar-feedback .fb-archive-filter{display:flex;align-items:center;gap:.6rem;margin:1rem 0;font-weight:600}
.sunstar-feedback .fb-archive-filter input{width:1.2rem;height:1.2rem}
.sunstar-feedback .fb-record-removal{margin-top:1rem;padding-top:.8rem;border-top:1px solid var(--line,#d7e0e8)}
.sunstar-feedback .fb-danger{color:var(--danger,#a23e39);border-color:currentColor}
.sunstar-feedback .fb-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:1rem 0}
.sunstar-feedback .fb-photo-grid figure{margin:0;min-width:0}
.sunstar-feedback .fb-photo-preview{display:block;border:1px solid var(--line,#d7e0e8);border-radius:.7rem;padding:0;overflow:hidden;width:100%;background:var(--surface,#fff);cursor:zoom-in}
.sunstar-feedback .fb-photo-preview img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.sunstar-feedback .fb-photo-grid figcaption{font-size:.85rem;overflow-wrap:anywhere;margin:.3rem 0}
.sunstar-feedback .fb-photo-dialog{max-width:90vw;max-height:90vh;border:1px solid var(--line,#d7e0e8);border-radius:1rem;padding:1rem;background:var(--surface,#fff);color:var(--ink,#172e45)}
.sunstar-feedback .fb-photo-dialog::backdrop{background:rgb(0 0 0 / .72)}
.sunstar-feedback .fb-photo-dialog form{display:flex;justify-content:flex-end;margin-bottom:.6rem}
.sunstar-feedback .fb-photo-dialog img{max-width:100%;max-height:75vh;object-fit:contain;display:block}
.sunstar-feedback .fb-local-photo-preview img{display:block;max-width:100%;max-height:260px;border-radius:.7rem;object-fit:contain}
.sunstar-feedback .fb-photo-preview:focus-visible{outline:3px solid var(--accent,#a1803f);outline-offset:3px}
