:root { color-scheme: light; --ink:#162334; --ink-2:#27394d; --muted:#697684; --line:#d8d7d1; --paper:#f4f0e7; --white:#fffdf8; --red:#a92f25; --red-soft:#f6e5df; --green:#27684d; --focus:#2671ce; --serif:"Songti SC","STSong","Noto Serif CJK SC",serif; --sans:"PingFang SC","Microsoft YaHei",system-ui,sans-serif; --ease:cubic-bezier(.16,1,.3,1); }
* { box-sizing:border-box; }
html { min-width:20rem; background:var(--paper); }
body { margin:0; color:var(--ink); background:var(--paper); font:1rem/1.5 var(--sans); }
button,input { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.62; }
button:focus-visible,input:focus-visible,a:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
.skip-link { position:fixed; left:1rem; top:-4rem; z-index:10; padding:.7rem 1rem; color:var(--ink); background:var(--white); }
.skip-link:focus { top:1rem; }
.login-shell { min-height:100vh; display:grid; grid-template-columns:minmax(24rem, .9fr) minmax(30rem, 1.1fr); }
.brand-panel { min-height:100vh; padding:clamp(2rem,5vw,5rem); display:flex; flex-direction:column; color:var(--paper); background:var(--ink); }
.brand-lockup { display:flex; align-items:center; gap:1rem; }
.brand-lockup strong,.brand-lockup small { display:block; }
.brand-lockup strong { font:600 1.75rem/1 var(--serif); letter-spacing:.15em; }
.brand-lockup small { margin-top:.4rem; color:#aeb7c2; font-size:.65rem; letter-spacing:.22em; }
.brand-mark { position:relative; width:2.75rem; height:3.25rem; display:grid; place-items:center; border:1px solid var(--paper); border-radius:1.4rem 1.4rem .3rem .3rem; }
.brand-mark::before,.brand-mark::after { content:""; position:absolute; background:var(--red); }
.brand-mark::before { width:1px; height:1.6rem; }
.brand-mark::after { width:1.6rem; height:1px; }
.brand-mark i { width:.4rem; height:.4rem; border-radius:50%; background:var(--paper); }
.brand-statement { margin:auto 0; }
.eyebrow { margin:0 0 1rem; color:var(--muted); font-size:.68rem; font-weight:700; letter-spacing:.18em; }
.brand-panel .eyebrow { color:#aeb7c2; }
.brand-statement h1 { margin:0; font:600 clamp(2.8rem,5vw,5.6rem)/1.08 var(--serif); letter-spacing:-.04em; }
.brand-statement h1 em { color:#e1604e; font-style:normal; }
.brand-statement > p:last-child { max-width:36rem; margin:2rem 0 0; color:#c2c8cf; line-height:1.9; }
.proof-list { margin:0; padding:1.5rem 0 0; display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; list-style:none; border-top:1px solid #3d4a59; }
.proof-list li { display:grid; gap:.35rem; }
.proof-list b { color:#e1604e; font-size:.7rem; }
.proof-list span { color:#c2c8cf; font-size:.75rem; }
.auth-panel { width:min(34rem,calc(100% - 3rem)); margin:auto; padding:clamp(2rem,5vw,4.5rem) 0; }
.service-state { width:fit-content; margin-bottom:clamp(3rem,8vh,6rem); display:flex; align-items:center; gap:.55rem; color:var(--muted); font-size:.75rem; }
.service-state i { width:.5rem; height:.5rem; border-radius:50%; background:#b17a22; box-shadow:0 0 0 .25rem #eadfca; }
.service-state.is-ready i { background:var(--green); box-shadow:0 0 0 .25rem #dbe9df; }
.service-state.is-error i { background:var(--red); box-shadow:0 0 0 .25rem var(--red-soft); }
.auth-copy h2 { margin:0; font:600 clamp(2.1rem,4vw,3.5rem)/1.15 var(--serif); letter-spacing:-.03em; }
.auth-copy > p:last-child { margin:1rem 0 2rem; color:var(--muted); }
.feishu-button { width:100%; min-height:4.5rem; padding:.7rem 1rem; display:grid; grid-template-columns:2.75rem 1fr; column-gap:1rem; text-align:left; color:var(--ink); border:1px solid var(--ink); background:var(--white); transition:transform .18s var(--ease),background .18s var(--ease); }
.feishu-button:hover { transform:translateY(-2px); background:#fff; }
.feishu-button > span { grid-row:1/3; width:2.75rem; height:2.75rem; display:grid; place-items:center; color:var(--white); background:#3370ff; font-weight:700; }
.feishu-button b { align-self:end; font-size:.9rem; }
.feishu-button small { color:var(--muted); font-size:.7rem; }
.divider { margin:1.8rem 0; display:flex; align-items:center; gap:1rem; color:var(--muted); font-size:.7rem; }
.divider::before,.divider::after { content:""; flex:1; height:1px; background:var(--line); }
form { display:grid; gap:.7rem; }
label { margin-top:.55rem; font-size:.75rem; font-weight:700; }
input { width:100%; min-height:3rem; padding:0 .9rem; color:var(--ink); border:1px solid #b9b9b4; border-radius:0; background:var(--white); }
.phone-row { display:grid; grid-template-columns:1fr 8rem; }
.phone-row input { border-right:0; }
.phone-row button { color:var(--ink); border:1px solid #b9b9b4; background:#e9e6de; font-size:.75rem; font-weight:700; }
.form-message { min-height:1.5rem; margin:.35rem 0 0; color:var(--red); font-size:.75rem; }
.form-message[data-kind="success"] { color:var(--green); }
.submit-button { min-height:3.25rem; margin-top:.4rem; display:flex; align-items:center; justify-content:center; gap:.7rem; color:var(--white); border:0; background:var(--ink); font-weight:700; transition:background .18s var(--ease); }
.submit-button:hover { background:var(--red); }
.legal { margin:2rem 0 0; padding-top:1.25rem; color:var(--muted); border-top:1px solid var(--line); font-size:.7rem; line-height:1.7; }
@media (max-width: 54rem) { .login-shell { display:block; } .brand-panel { min-height:auto; padding:2rem 1.5rem; } .brand-statement { margin:5rem 0 3rem; } .brand-statement h1 { font-size:clamp(2.5rem,11vw,4.5rem); } .proof-list { display:none; } .auth-panel { margin:0 auto; } .service-state { margin-bottom:3rem; } }
@media (max-width: 28rem) { .phone-row { grid-template-columns:1fr; gap:.5rem; } .phone-row input { border-right:1px solid #b9b9b4; } .phone-row button { min-height:2.75rem; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition-duration:.01ms!important; } }

[hidden] { display:none!important; }
.workspace-shell { min-height:100vh; display:grid; grid-template-columns:17rem minmax(0,1fr); background:var(--paper); }
.work-sidebar { position:fixed; inset:0 auto 0 0; width:17rem; padding:2.5rem 1.5rem; display:flex; flex-direction:column; color:var(--paper); background:var(--ink); }
.sidebar-caption { margin:2rem 0; padding-bottom:1.5rem; color:#aeb7c2; border-bottom:1px solid #3d4a59; font-size:.72rem; letter-spacing:.12em; }
.work-sidebar nav { display:grid; }
.work-nav { min-height:3.5rem; padding:0 .75rem; display:grid; grid-template-columns:2rem 1fr; align-items:center; color:#aeb7c2; border-left:2px solid transparent; text-decoration:none; }
.work-nav:hover,.work-nav.is-active { color:var(--white); background:var(--ink-2); border-left-color:#e1604e; }
.work-nav b { color:#e1604e; font-size:.65rem; }
.work-nav span { font-size:.82rem; font-weight:700; }
.sidebar-session { margin-top:auto; padding:1rem; display:grid; gap:.35rem; border:1px solid #3d4a59; }
.sidebar-session span,.sidebar-session small { color:#aeb7c2; font-size:.65rem; }
.sidebar-session strong { font-size:.8rem; }
.sidebar-session button { margin-top:.75rem; padding:.6rem; color:var(--paper); border:1px solid #637080; background:transparent; font-size:.72rem; }
.work-main { grid-column:2; min-width:0; }
.work-header { min-height:8rem; padding:2rem clamp(1.5rem,4vw,4.5rem); display:flex; align-items:center; justify-content:space-between; gap:2rem; border-bottom:1px solid var(--line); background:var(--white); }
.work-header h1 { margin:0; font:600 2rem/1.2 var(--serif); letter-spacing:.05em; }
.work-service { display:flex; align-items:center; gap:.5rem; color:var(--green); font-size:.72rem; }
.work-service i { width:.5rem; height:.5rem; border-radius:50%; background:var(--green); box-shadow:0 0 0 .25rem #dbe9df; }
.new-quality,.project-register,.report-history,.enterprise-join,.tenant-admin,.rule-admin,.member-admin,.operations-admin { margin:clamp(1.5rem,4vw,4.5rem); }
.section-head { margin-bottom:1.5rem; display:flex; align-items:end; justify-content:space-between; gap:2rem; }
.section-head span { color:var(--red); font-size:.68rem; font-weight:700; letter-spacing:.15em; }
.section-head h2 { margin:.45rem 0 0; font:600 clamp(1.65rem,3vw,2.6rem)/1.2 var(--serif); }
.section-head p { max-width:26rem; margin:0; color:var(--muted); font-size:.78rem; }
.section-head > button { min-height:2.5rem; padding:0 1rem; color:var(--ink); border:1px solid #b9b9b4; background:var(--white); font-size:.75rem; }
.quality-form { padding:clamp(1.5rem,3vw,3rem); display:block; border-top:3px solid var(--ink); background:var(--white); }
.project-fields { display:grid; grid-template-columns:8rem minmax(14rem,1fr) 7rem minmax(10rem,.55fr); align-items:center; gap:1rem; padding-bottom:2rem; border-bottom:1px solid var(--line); }
.project-fields label { margin:0; }
.project-fields b { color:var(--red); }
.file-pair { margin:2rem 0; display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; }
.file-zone { position:relative; min-height:13rem; margin:0; padding:2rem; display:flex; flex-direction:column; justify-content:center; border:1px dashed #8f969d; background:#f8f5ed; cursor:pointer; transition:transform .18s var(--ease),border-color .18s var(--ease); }
.file-zone:hover,.file-zone.has-file { transform:translateY(-2px); border-style:solid; border-color:var(--green); }
.file-zone > b { position:absolute; right:1.25rem; top:1rem; color:#a5a7a4; font:400 2rem/1 var(--serif); }
.file-zone > span { font:600 1.6rem/1.2 var(--serif); }
.file-zone > small { margin-top:.8rem; color:var(--muted); font-size:.72rem; }
.file-zone input { position:absolute; width:1px; height:1px; opacity:0; }
.quality-action { padding-top:1.5rem; display:flex; align-items:center; justify-content:space-between; gap:2rem; border-top:1px solid var(--line); }
.quality-action p { max-width:42rem; margin:0; color:var(--muted); font-size:.72rem; }
.quality-action p[data-kind="error"] { color:var(--red); }
.quality-action p[data-kind="success"] { color:var(--green); }
.quality-action button { min-height:3rem; padding:0 1.25rem; color:var(--white); border:0; background:var(--ink); font-weight:700; }
.quality-action button:hover { background:var(--red); }
.task-tracker { margin:0 clamp(1.5rem,4vw,4.5rem) 4.5rem; padding:2rem; color:var(--paper); background:var(--ink); }
.tracker-head { display:flex; align-items:end; justify-content:space-between; }
.tracker-head span { color:#aeb7c2; font-size:.68rem; letter-spacing:.15em; }
.tracker-head h2 { margin:.5rem 0 0; font:600 1.6rem/1.2 var(--serif); }
.tracker-head > strong { color:#e1604e; font:600 2.5rem/1 var(--serif); }
.tracker-bar { height:3px; margin:1.5rem 0; background:#455263; }
.tracker-bar i { display:block; width:0; height:100%; background:#e1604e; transition:width .3s var(--ease); }
.task-tracker dl { margin:0; display:grid; grid-template-columns:repeat(3,1fr); }
.task-tracker dl div { padding:1rem; border:1px solid #455263; }
.task-tracker dt { color:#aeb7c2; font-size:.67rem; }
.task-tracker dd { margin:.35rem 0 0; font-size:.8rem; font-weight:700; }
.task-recovery { margin-top:1.25rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.task-recovery p { margin:0; color:#aeb7c2; font-size:.72rem; }
.task-recovery button { min-height:2.6rem; padding:0 1rem; color:var(--paper); border:1px solid #e1604e; background:transparent; font-weight:700; }
.project-table { overflow-x:auto; border-top:2px solid var(--ink); background:var(--white); }
.project-table table { width:100%; min-width:42rem; border-collapse:collapse; }
.project-table th,.project-table td { padding:1rem; text-align:left; border-bottom:1px solid var(--line); font-size:.76rem; }
.project-table th { color:var(--muted); background:#e9e6de; font-size:.66rem; letter-spacing:.1em; }
.project-table button,.rule-table button { padding:.45rem .65rem; color:var(--ink); border:1px solid #b9b9b4; background:var(--white); font-size:.68rem; }
.project-name strong,.project-name small { display:block; }
.project-name small { margin-top:.25rem; color:var(--muted); }
.status-chip { padding:.25rem .45rem; color:var(--green); background:#dbe9df; font-size:.66rem; font-weight:700; }
.report-filters { padding:1.25rem; display:grid; grid-template-columns:auto minmax(10rem,1fr) auto minmax(9rem,.7fr) auto minmax(9rem,.7fr) auto minmax(10rem,.8fr) auto; align-items:center; gap:.75rem; border-top:3px solid var(--ink); background:var(--white); }
.report-filters label { margin:0; }
.report-filters select { min-height:3rem; padding:0 .75rem; border:1px solid #b9b9b4; background:var(--white); }
.report-filters button { min-height:3rem; padding:0 1rem; color:var(--white); border:0; background:var(--ink); font-weight:700; }
.report-history-message { margin:.65rem 0 1rem; color:var(--muted); font-size:.7rem; }
.report-history-message[data-kind="error"] { color:var(--red); }
.report-table { overflow-x:auto; border-top:2px solid var(--ink); background:var(--white); }
.report-table table { width:100%; min-width:52rem; border-collapse:collapse; }
.report-table th,.report-table td { padding:1rem; text-align:left; border-bottom:1px solid var(--line); font-size:.74rem; vertical-align:top; }
.report-table th { color:var(--muted); background:#e9e6de; font-size:.66rem; letter-spacing:.1em; }
.report-table strong,.report-table small { display:block; }
.report-table small { margin-top:.25rem; color:var(--muted); }
.report-table button { padding:.5rem .75rem; color:var(--white); border:0; background:var(--ink); font-size:.7rem; font-weight:700; }
.report-conclusion { color:var(--red); }
.report-conclusion.is-clean { color:var(--green); }
.report-input-warning { color:var(--red); }
.report-pagination { padding-top:.8rem; display:flex; align-items:center; justify-content:flex-end; gap:.75rem; }
.report-pagination button { min-height:2.5rem; padding:0 .9rem; border:1px solid #b9b9b4; background:var(--white); }
.report-pagination span { color:var(--muted); font-size:.72rem; }
.result-panel { margin:0 clamp(1.5rem,4vw,4.5rem) 4.5rem; border-top:3px solid var(--ink); background:var(--white); }
.result-head { padding:2rem; display:flex; align-items:end; justify-content:space-between; gap:2rem; border-bottom:1px solid var(--line); }
.result-head span { color:var(--red); font-size:.68rem; font-weight:700; letter-spacing:.15em; }
.result-head h2 { margin:.45rem 0 0; font:600 2rem/1.2 var(--serif); }
.result-head p { margin:.6rem 0 0; color:var(--muted); font-size:.72rem; }
.result-head button { min-height:3rem; padding:0 1.2rem; color:var(--white); border:0; background:var(--ink); font-weight:700; }
.result-head button:disabled { background:#8d949b; }
.result-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:.75rem; }
.result-actions button:first-child { color:var(--ink); border:1px solid var(--ink); background:var(--white); }
.result-actions button:first-child:disabled { color:var(--white); border-color:#8d949b; background:#8d949b; }
.result-summary { display:grid; grid-template-columns:2fr repeat(3,1fr); border-bottom:1px solid var(--line); }
.result-summary > div { min-height:7rem; padding:1.5rem; display:flex; flex-direction:column; justify-content:center; }
.result-summary > div + div { border-left:1px solid var(--line); }
.result-summary span { color:var(--muted); font-size:.67rem; }
.result-summary strong { margin-top:.4rem; font:600 2rem/1 var(--serif); }
.result-verdict strong { color:var(--red); font-size:1.4rem; }
.coverage-strip { padding:1.25rem 2rem; display:flex; gap:.6rem; flex-wrap:wrap; border-bottom:1px solid var(--line); }
.coverage-item { padding:.35rem .55rem; color:var(--ink-2); background:#e9e6de; font-size:.66rem; }
.coverage-item.has-findings { color:var(--red); background:var(--red-soft); }
.finding-register { padding:0 2rem 2rem; }
.finding-card { padding:1.5rem 0; border-bottom:1px solid var(--line); }
.finding-title-row { display:grid; grid-template-columns:5rem 1fr auto; align-items:center; gap:1rem; }
.finding-title-row > span { color:var(--muted); font-size:.67rem; }
.finding-title-row h3 { margin:0; font-size:.9rem; }
.severity-label { padding:.3rem .5rem; color:var(--red); background:var(--red-soft); font-size:.66rem; font-weight:700; }
.severity-label.pending { color:#8b5c12; background:#f4e6c9; }
.evidence-pair { margin-top:1rem; display:grid; grid-template-columns:1fr 1fr; border:1px solid var(--line); }
.evidence-pair section { padding:1.2rem; }
.evidence-pair section + section { border-left:1px solid var(--line); }
.evidence-pair b { color:var(--red); font-size:.65rem; letter-spacing:.12em; }
.evidence-pair small { display:block; margin:.45rem 0; color:var(--muted); }
.evidence-pair blockquote { margin:.5rem 0 0; font:400 .86rem/1.7 var(--serif); }
.finding-advice { margin:1rem 0 0; padding-left:1rem; border-left:2px solid var(--red); color:var(--ink-2); font-size:.74rem; line-height:1.7; }
.empty-findings { padding:2.5rem 0; color:var(--green); font:600 1.2rem var(--serif); }
.rule-form { padding:2rem; display:block; border-top:3px solid var(--ink); background:var(--white); }
.rule-grid { display:grid; grid-template-columns:8rem 1fr 8rem 1fr; align-items:center; gap:1rem; }
.rule-form label { margin:0; font-size:.72rem; }
.rule-form select,.rule-form textarea { width:100%; padding:.7rem; color:var(--ink); border:1px solid #b9b9b4; background:var(--white); font:inherit; }
.rule-form textarea { min-height:6rem; margin-top:.6rem; resize:vertical; }
.rule-form > label { display:block; margin-top:1.5rem; }
.rule-form-action { margin-top:1rem; display:flex; align-items:center; justify-content:space-between; gap:2rem; }
.rule-form-action p { margin:0; color:var(--muted); font-size:.72rem; }
.rule-form-action p[data-kind="error"] { color:var(--red); }
.rule-form-action p[data-kind="success"] { color:var(--green); }
.rule-form-action button { min-height:3rem; padding:0 1.2rem; color:var(--white); border:0; background:var(--ink); font-weight:700; }
.rule-table { margin-top:1.5rem; overflow-x:auto; border-top:2px solid var(--ink); background:var(--white); }
.rule-table table { width:100%; min-width:40rem; border-collapse:collapse; }
.rule-table th,.rule-table td { padding:1rem; text-align:left; border-bottom:1px solid var(--line); font-size:.74rem; }
.rule-table th { color:var(--muted); background:#e9e6de; font-size:.66rem; letter-spacing:.1em; }
.rule-actions { display:flex; gap:.4rem; flex-wrap:wrap; }
.member-invite,.enterprise-join-form { padding:1.5rem 2rem; display:grid; grid-template-columns:7rem 1fr auto; align-items:center; gap:1rem; border-top:3px solid var(--ink); background:var(--white); }
.tenant-form { padding:1.5rem 2rem; display:grid; grid-template-columns:7rem 1fr 7rem 1fr; align-items:center; gap:1rem; border-top:3px solid var(--ink); background:var(--white); }
.member-invite label,.enterprise-join-form label,.tenant-form label { margin:0; }
.tenant-form select { min-height:2.8rem; padding:0 .75rem; border:1px solid #b9b9b4; background:var(--white); }
.member-invite button,.enterprise-join-form button,.tenant-form button { align-self:stretch; padding:0 1.2rem; color:var(--white); border:0; background:var(--ink); font-weight:700; }
.tenant-form button { min-height:3rem; grid-column:4; }
.admin-message { margin:.75rem 0 1.5rem; color:var(--muted); font-size:.72rem; }
.admin-message[data-kind="error"] { color:var(--red); }
.admin-message[data-kind="success"] { color:var(--green); }
.admin-columns { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; }
.admin-columns > section { min-width:0; border-top:2px solid var(--ink); background:var(--white); }
.admin-subhead { padding:1rem 1.25rem; display:flex; align-items:center; justify-content:space-between; background:#e9e6de; }
.admin-subhead h3 { margin:0; font:600 1rem var(--serif); }
.admin-subhead strong { color:var(--red); font-size:.72rem; }
.admin-list { min-height:8rem; }
.admin-list > p { margin:0; padding:1.25rem; color:var(--muted); font-size:.74rem; }
.admin-item { padding:1rem 1.25rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; border-bottom:1px solid var(--line); }
.admin-item strong,.admin-item small { display:block; }
.admin-item strong { font-size:.78rem; overflow-wrap:anywhere; }
.admin-item small { margin-top:.25rem; color:var(--muted); font-size:.65rem; }
.admin-item button { flex:none; padding:.45rem .7rem; color:var(--white); border:0; background:var(--ink); font-size:.68rem; }
.metric-grid { display:grid; grid-template-columns:repeat(4,1fr); border-top:3px solid var(--ink); background:var(--white); }
.metric-grid > article { min-height:7rem; padding:1.25rem; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.metric-grid span,.metric-grid small { display:block; color:var(--muted); font-size:.65rem; }
.metric-grid strong { display:block; margin:.5rem 0; font:600 1.8rem var(--serif); }
.alert-register,.audit-register { margin-top:1.5rem; border-top:2px solid var(--ink); background:var(--white); }
.audit-toolbar { padding:1rem 1.25rem; display:flex; align-items:center; gap:1rem; background:#e9e6de; }
.audit-toolbar label { margin:0; }
.audit-toolbar select { min-height:2.5rem; padding:0 .8rem; border:1px solid #b9b9b4; background:var(--white); }
.audit-toolbar button { min-height:2.5rem; padding:0 1rem; color:var(--white); border:0; background:var(--ink); }
dialog { width:min(42rem,calc(100% - 2rem)); max-height:80vh; padding:0; color:var(--ink); border:0; border-top:4px solid var(--red); background:var(--white); box-shadow:0 1rem 4rem rgb(22 35 52 / .25); }
dialog::backdrop { background:rgb(22 35 52 / .72); }
.dialog-head { padding:1.5rem 2rem; display:flex; align-items:start; justify-content:space-between; border-bottom:1px solid var(--line); }
.dialog-head span { color:var(--red); font-size:.65rem; letter-spacing:.15em; }
.dialog-head h2 { margin:.35rem 0 0; font:600 1.6rem var(--serif); }
.dialog-head button { width:2.5rem; height:2.5rem; color:var(--ink); border:1px solid var(--line); background:transparent; font-size:1.4rem; }
dialog ol { margin:0; padding:0 2rem 2rem; list-style:none; }
dialog li { padding:1rem 0; display:grid; grid-template-columns:7rem 1fr; gap:1rem; border-bottom:1px solid var(--line); }
dialog li time,dialog li small { color:var(--muted); font-size:.68rem; }
dialog li strong,dialog li small { display:block; }
.report-preview-dialog { width:min(72rem,calc(100% - 2rem)); height:min(88vh,60rem); max-height:88vh; }
.report-preview-dialog[open] { display:grid; grid-template-rows:auto minmax(0,1fr); }
.report-preview-frame { width:100%; height:100%; min-height:30rem; border:0; background:#eef0f1; }
.dialog-form { padding:1.5rem 2rem 2rem; }
.dialog-form p { margin:0 0 .75rem; color:var(--muted); font-size:.74rem; }
.dialog-actions { margin-top:1rem; display:flex; justify-content:flex-end; gap:.75rem; }
.dialog-actions button { min-height:2.75rem; padding:0 1rem; border:1px solid var(--ink); background:var(--white); }
.dialog-actions button:last-child { color:var(--white); background:var(--ink); }
.customer-service-button { position:fixed; right:1.25rem; bottom:1.25rem; z-index:8; min-height:3rem; padding:.45rem .85rem; display:flex; align-items:center; gap:.55rem; color:var(--white); border:0; background:var(--red); box-shadow:0 .6rem 1.8rem rgb(22 35 52 / .2); }
.customer-service-button span { width:1.8rem; height:1.8rem; display:grid; place-items:center; color:var(--red); background:var(--white); font-size:.7rem; font-weight:800; }
.customer-service-button b { font-size:.72rem; }
.customer-service-content { padding:2rem; display:grid; grid-template-columns:9rem 1fr; align-items:center; gap:1.5rem; }
.customer-service-content p { color:var(--muted); font-size:.74rem; }
.customer-service-qr { width:9rem; aspect-ratio:1; object-fit:contain; border:1px solid var(--line); background:var(--white); }
.qr-placeholder { width:9rem; aspect-ratio:1; padding:1rem; display:grid; grid-template-columns:repeat(2,1fr); gap:.75rem; border:1px solid var(--line); background:#f8f5ed; }
.qr-placeholder i { border:5px solid var(--ink); background:var(--white); }
.qr-placeholder i:last-child { grid-column:2; width:45%; height:45%; align-self:end; justify-self:end; border-width:3px; }
@media (max-width: 32rem) { .customer-service-button b { display:none; } .customer-service-content { grid-template-columns:1fr; } }
@media (max-width: 64rem) { .workspace-shell { display:block; } .work-sidebar { position:static; width:auto; padding:1.25rem; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:1.5rem; } .sidebar-caption,.sidebar-session span,.sidebar-session small { display:none; } .work-sidebar nav { display:flex; } .sidebar-session { margin:0; padding:.5rem; border:0; } .work-main { display:block; } .project-fields { grid-template-columns:7rem 1fr; } }
@media (max-width: 44rem) { .work-sidebar { grid-template-columns:1fr auto; } .work-sidebar nav { grid-column:1/-1; order:3; flex-wrap:wrap; } .work-header,.section-head,.quality-action,.result-head,.rule-form-action { align-items:flex-start; flex-direction:column; } .work-service { display:none; } .file-pair,.evidence-pair,.admin-columns { grid-template-columns:1fr; } .evidence-pair section + section { border-left:0; border-top:1px solid var(--line); } .task-tracker dl,.result-summary,.metric-grid { grid-template-columns:1fr; } .result-summary > div + div { border-left:0; border-top:1px solid var(--line); } .new-quality,.project-register,.report-history,.enterprise-join,.tenant-admin,.rule-admin,.member-admin,.operations-admin { margin:1.5rem; } .task-tracker,.result-panel { margin:0 1.5rem 2rem; } .finding-title-row { grid-template-columns:1fr auto; } .finding-title-row > span { grid-column:1/-1; } .rule-grid,.member-invite,.enterprise-join-form,.tenant-form,.report-filters { grid-template-columns:1fr; } .member-invite button,.enterprise-join-form button,.tenant-form button { min-height:3rem; grid-column:auto; } .result-actions { width:100%; justify-content:stretch; } .result-actions button { flex:1 1 10rem; } .report-preview-dialog { width:100%; height:100dvh; max-height:100dvh; margin:0; } .report-preview-frame { min-height:0; } }
