:root{--green:#172d32;--gold:#ac8d53;--cream:#f5f3ee;--line:#dfdfd6;--muted:#6a7a7a;--ink:#233b3f}*{box-sizing:border-box}body{margin:0;background:#f7f7f2;color:var(--ink);font:14px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;background:white;border:1px solid #d3d8d2;border-radius:8px;padding:10px 15px;color:var(--green);min-height:42px;transition:.15s}button:hover{background:#eeeae1;border-color:#bca777}button.primary{background:var(--green);color:white;border-color:var(--green)}button.gold{background:#d1b982;border-color:#d1b982}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-size:10px;font-weight:750;color:#927443}.shell{display:grid;grid-template-columns:252px 1fr;min-height:100vh}.sidebar{background:var(--green);color:white;padding:28px 20px;display:flex;flex-direction:column;gap:18px;position:sticky;top:0;height:100vh;overflow:auto}.brand svg{display:block;width:170px;color:#d6b97e;margin:0 auto 6px}.brand h1{font:20px/1.3 Georgia,serif;text-align:center;letter-spacing:1px;margin:0}.brand p{text-align:center;font-size:10px;color:#d6bd8b;margin:8px 0 20px}.sidebar label{color:#c8d4d1;font-size:11px}.sidebar select{background:#263d42;border-color:#425357;color:white}.sidebar nav{display:grid;gap:6px}.sidebar nav button{text-align:left;background:transparent;color:#c7d4d1;border:0;display:flex;gap:10px;align-items:center}.sidebar nav button.active{color:#f0dbaf;background:#ffffff13}.sidebar nav b{background:#ffffff16;margin-left:auto;border-radius:6px;padding:1px 7px;font-size:11px}.sidebar .storage{margin-top:auto;font-size:11px;color:#bfceca;border-top:1px solid #ffffff25;padding-top:16px}.main{min-width:0}.topbar{padding:18px 38px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;background:#fffdf8;gap:12px}.breadcrumb{font-size:12px;color:var(--muted)}.topactions{display:flex;gap:8px;align-items:center}.saved{font-size:11px;color:#577565;margin-right:8px}.content{max-width:1160px;margin:auto;padding:32px 38px 80px}.pagehead{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:26px}.pagehead h2{font:34px/1.15 Georgia,serif;margin:6px 0 10px;font-weight:400}.pagehead p{color:var(--muted);margin:0;max-width:650px}.card{background:white;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:20px}.card h3{font-size:16px;margin:0 0 16px}.card p:first-child{margin-top:0}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid.three{grid-template-columns:repeat(3,1fr)}label.field{display:flex;flex-direction:column;font-size:12px;font-weight:600;gap:6px}input,select,textarea{width:100%;border:1px solid #d9ddd7;border-radius:7px;padding:11px 12px;background:#fff;color:var(--ink);min-height:43px}input:focus,select:focus,textarea:focus{outline:2px solid #ad9560;outline-offset:1px}textarea{resize:vertical;min-height:92px;line-height:1.5}.full{grid-column:1/-1}.labelsmall{font-size:11px;color:var(--muted);font-weight:400}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:16px}.stat strong{display:block;font:28px Georgia,serif}.stat span{font-size:11px;color:var(--muted)}.notice{background:#f3eddf;border:1px solid #e5d9bd;border-radius:9px;padding:14px 17px;font-size:12px;margin:16px 0;color:#6e5d38}.notice.green{background:#edf3ef;border-color:#dce5dd;color:#365348}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.row.between{justify-content:space-between}.chip{font-size:10px;text-transform:uppercase;letter-spacing:.7px;border-radius:5px;padding:5px 9px;background:#f3eddf;color:#7e6030}.chip.Safety{background:#fae9e5;color:#a63f35}.empty{text-align:center;padding:54px 24px;background:white;border:1px dashed #cbd3ca;border-radius:12px}.empty svg{width:150px;color:#a58c59}.empty h3{font:24px Georgia,serif;margin:14px 0 8px}.empty p{color:var(--muted);max-width:490px;margin:0 auto 22px}.finding-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.finding-head h3{margin:0}.finding-head button{font-size:12px}.finding-head .remove{color:#9e5148;border:0;padding:5px 10px}.templatebar{display:flex;gap:8px;align-items:end;background:var(--cream);padding:12px;border-radius:8px;margin-bottom:20px}.templatebar label{flex:1}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:15px 0}.photo{background:#f7f7f2;border:1px solid var(--line);border-radius:8px;overflow:hidden}.photo img{display:block;width:100%;height:155px;object-fit:cover}.photo .photo-body{padding:9px}.photo input{font-size:12px}.photo small{display:block;color:var(--muted);font-size:10px}.photo button{font-size:11px;min-height:30px;padding:4px 8px;margin-top:5px}.check{display:flex;align-items:flex-start;gap:8px;font-size:12px;margin-top:16px}.check input{width:18px;height:18px;min-height:0;margin:1px 0;accent-color:var(--green)}.systemrow{display:grid;grid-template-columns:1fr 165px;gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}.systemrow:last-child{border-bottom:0}.systemrow strong{font-size:13px}.systemrow textarea{grid-column:1/-1;min-height:66px;font-size:13px}.sectiontitle{font:24px Georgia,serif;margin:30px 0 12px}.issue-list{padding-left:18px;color:#925e36;font-size:13px}.progress{height:6px;background:#e5e7df;border-radius:10px;overflow:hidden;margin-top:12px}.progress i{display:block;height:100%;background:#ad9257}.reporthero{background:var(--green);color:white;display:flex;align-items:center;gap:28px}.reporthero svg{width:190px;color:#d0b279;flex-shrink:0}.reporthero h3{font:26px Georgia,serif;margin:0 0 8px}.reporthero p{color:#d0d9d4;font-size:13px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.danger{color:#a6473d}.footnote{font-size:11px;color:var(--muted)}#toast{position:fixed;right:24px;bottom:24px;background:var(--green);color:white;border-radius:9px;padding:13px 20px;max-width:360px;z-index:100;box-shadow:0 4px 25px #0002;display:none}dialog{padding:0;border:0;border-radius:12px;width:95vw;max-width:1100px;height:92vh;background:#f4f3ee}dialog::backdrop{background:#0d252bcc}.previewbar{padding:12px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;align-items:center}.previewbar>div{display:flex;gap:8px}iframe{border:0;width:100%;height:calc(100% - 72px)}.loading{padding:40px}.buttonfile{position:relative;display:inline-flex;align-items:center;border:1px dashed #bba36f;border-radius:7px;padding:10px 16px;cursor:pointer;background:#fffdf8;font-size:13px}.buttonfile:focus-within{outline:2px solid #ac8d53}.buttonfile input{position:absolute;width:1px;height:1px;opacity:0;min-height:0;padding:0}.mobilebrand{display:none}.typecards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.typecard{padding:18px;text-align:left;min-height:95px}.typecard.selected{border:2px solid #ad8c53;background:#faf5e9}.typecard strong{display:block;margin-bottom:5px}.typecard small{color:var(--muted)}@media(max-width:1000px){.shell{grid-template-columns:220px 1fr}.content{padding:25px}.topbar{padding:16px 25px}.photo-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.shell{display:block}.sidebar{position:static;height:auto;padding:15px 18px;gap:12px}.brand{display:none}.mobilebrand{display:block;font:18px Georgia,serif;color:#e0c995}.sidebar .storage{display:none}.sidebar nav{display:flex;overflow:auto;gap:0}.sidebar nav button{white-space:nowrap;font-size:12px;padding:8px 12px;min-height:36px}.sidebar nav b{display:none}.sidebar .newrow{display:grid;grid-template-columns:1fr auto;gap:8px}.sidebar .newrow label{font-size:0}.sidebar select{font-size:13px;min-height:40px}.sidebar .newrow button{min-height:40px}.topbar{padding:12px 18px}.breadcrumb{display:none}.topactions{width:100%;justify-content:space-between}.topactions button{font-size:12px;padding:8px 12px}.content{padding:24px 18px 70px}.pagehead{align-items:flex-start;flex-direction:column;margin-bottom:20px}.pagehead h2{font-size:30px}.grid,.grid.three{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.card{padding:18px}.typecards{grid-template-columns:1fr}.photo-grid{grid-template-columns:1fr 1fr}.photo img{height:125px}.templatebar{align-items:stretch;flex-direction:column}.systemrow{grid-template-columns:1fr 145px}.reporthero{flex-direction:column;text-align:center;gap:12px}.reporthero svg{width:220px}.previewbar{flex-wrap:wrap}.previewbar b{display:none}.previewbar button{font-size:11px;padding:7px 10px}.previewbar>div{width:100%;justify-content:space-between}dialog{width:100vw;height:96vh}.saved{font-size:10px}h3{line-height:1.4}}

.demo-notice{border:2px solid #ac8d53;background:#fff8e6}.demo-notice a{color:#234b42;font-weight:600}.demo-notice button{margin-left:auto}
.code-search{position:relative;border-top:3px solid var(--gold)}.code-topic summary{cursor:pointer;display:flex;gap:12px;flex-wrap:wrap;align-items:center;min-height:48px}.code-topic summary small{display:block;flex-basis:100%;color:var(--muted)}.code-reference{border-left:3px solid #bcaa7b;background:#f7f7f2;padding:14px;margin:14px 0;font-size:12px;overflow-wrap:anywhere}.code-reference a{color:var(--green);margin-right:16px}.code-reference button{margin:8px 0}.code-topic h4{margin-bottom:8px}button:disabled,input:disabled,textarea:disabled,select:disabled{opacity:.6;cursor:not-allowed}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}details>summary{cursor:pointer;padding:6px 0}a{overflow-wrap:anywhere}#codeEditor textarea{min-height:70px}@media(max-width:600px){.code-reference{padding:12px}.code-topic summary{gap:6px}.code-topic summary b{flex-basis:100%}.code-search .check{margin-top:4px}}

.report-preview-footer{margin-top:28px;padding-top:20px;border-top:1px solid #d9ded2}.report-preview-footer .row{justify-content:flex-end;flex-wrap:wrap;gap:12px}.report-preview-footer .footnote{text-align:right}@media(max-width:600px){.report-preview-footer button{width:100%}.report-preview-footer .row{width:100%}.report-preview-footer .footnote{text-align:left}}
