/* V151 batch 03: independent reference-copy analysis and six-module result. */
.v151-reference-page{min-width:0;padding:clamp(28px,4vw,58px) 0 84px;background:linear-gradient(180deg,#10251f 0 330px,#f3efe5 330px 100%);color:#10251f}
.v151-reference-page .shell{min-width:0}
.v151-reference-hero{max-width:900px;color:#fffdf7;margin-bottom:36px}
.v151-reference-hero>span,.v151-reference-input header span,.v151-reference-results header span,.v151-reference-side section>span{display:block;color:#b9e769;font-size:12px;font-weight:700;letter-spacing:.16em}
.v151-reference-hero h1{max-width:820px;margin:12px 0 14px;font-size:clamp(34px,5vw,66px);line-height:1.02;letter-spacing:-.045em}
.v151-reference-hero p{max-width:700px;margin:0;color:rgba(255,255,255,.74);font-size:clamp(15px,1.6vw,19px);line-height:1.7}
.v151-reference-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:22px;align-items:start;min-width:0}
.v151-reference-main,.v151-reference-side{display:grid;gap:22px;min-width:0}
.v151-reference-input,.v151-reference-results,.v151-reference-side section{min-width:0;border:1px solid rgba(16,37,31,.1);border-radius:22px;background:#fffdf7;box-shadow:0 18px 50px rgba(16,37,31,.09)}
.v151-reference-input{padding:clamp(20px,3vw,34px)}
.v151-reference-input header,.v151-reference-results>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.v151-reference-input header span,.v151-reference-results header span,.v151-reference-side section>span{color:#0b6a55}
.v151-reference-input h2,.v151-reference-results h2,.v151-reference-side h2{margin:7px 0 0;font-size:clamp(23px,3vw,34px);line-height:1.12}
.v151-reference-input header strong{color:#68746f;font-size:13px;font-weight:600;white-space:nowrap}
.v151-reference-input textarea{display:block;width:100%;min-height:320px;margin:24px 0 16px;padding:22px;resize:vertical;border:1px solid #d7d9cf;border-radius:16px;background:#fff;color:#10251f;font:inherit;font-size:16px;line-height:1.75;overflow-wrap:anywhere}
.v151-reference-input textarea:focus{outline:3px solid rgba(185,231,105,.36);border-color:#4b7f36}
.v151-reference-input textarea:disabled{background:#f2f2eb;color:#56635e}
.v151-reference-input-foot{display:flex;justify-content:space-between;align-items:center;gap:20px}
.v151-reference-input-foot p{max-width:620px;margin:0;color:#68746f;font-size:13px;line-height:1.65}
.v151-reference-page button{border:1px solid #ccd2c9;border-radius:12px;background:#fffdf7;color:#10251f;font:inherit;font-weight:700;cursor:pointer}
.v151-reference-page button.primary,.v151-reference-side button{padding:13px 20px;background:#b9e769;border-color:#a9dc4e}
.v151-reference-page button:disabled{cursor:not-allowed;opacity:.55}
.v151-reference-page button:focus-visible{outline:3px solid rgba(11,106,85,.28);outline-offset:2px}
.v151-reference-live{margin-top:14px;padding:11px 14px;border-radius:12px;background:#eef4ea;color:#3d534b;font-size:13px}
.v151-reference-results{padding:clamp(20px,3vw,32px)}
.v151-reference-status{display:grid;justify-items:end;gap:3px;padding:8px 12px;border-radius:12px;background:#eef4ea;color:#0b6a55;text-align:right}
.v151-reference-status.failed,.v151-reference-status.partial{background:#fff0ed;color:#a83d36}
.v151-reference-status.waiting,.v151-reference-status.processing{background:#fff7db;color:#795f00}
.v151-reference-status small{font-size:12px;overflow-wrap:anywhere}
.v151-reference-status-copy{margin:14px 0 20px;color:#68746f;line-height:1.65}
.v151-reference-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-width:0}
.v151-reference-module{min-width:0;padding:19px;border:1px solid #e2e1d8;border-radius:16px;background:#faf8f1;overflow-wrap:anywhere}
.v151-reference-module header{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.v151-reference-module header span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#10251f;color:#b9e769;font-size:12px;font-weight:700;flex:none}
.v151-reference-module h3{margin:0;font-size:17px;line-height:1.25}
.v151-reference-module p{margin:0 0 12px;color:#334740;line-height:1.7;white-space:pre-wrap}
.v151-reference-module ul{margin:0;padding-left:18px;color:#52625c;line-height:1.65}
.v151-reference-module li+li{margin-top:6px}
.v151-reference-module-empty{min-height:100px;display:grid;place-items:center;color:#84908b;font-size:14px;text-align:center}
.v151-reference-protocol{margin-top:16px;padding:12px 14px;border-radius:12px;background:#fff0ed;color:#84352f}
.v151-reference-protocol pre{max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
.v151-reference-side{position:sticky;top:90px}
.v151-reference-side section{padding:24px}
.v151-reference-side p{color:#68746f;line-height:1.7}
.v151-reference-side>section>button{width:100%;margin-top:10px}
.v151-reference-history{display:grid;gap:8px;margin-top:16px}
.v151-reference-history button{display:grid;gap:4px;width:100%;padding:12px;text-align:left;background:#f8f6ef;border-color:#e0dfd6;overflow-wrap:anywhere}
.v151-reference-history button.active{border-color:#75a83e;box-shadow:inset 3px 0 #75a83e}
.v151-reference-history button span{color:#0b6a55;font-size:12px;font-weight:700;letter-spacing:.08em}
.v151-reference-history button b{font-size:13px}
.v151-reference-history button small,.v151-reference-history-empty{color:#78847f;font-size:12px}
@media(max-width:1100px){.v151-reference-layout{grid-template-columns:minmax(0,1fr) 280px}.v151-reference-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.v151-reference-page{background:linear-gradient(180deg,#10251f 0 280px,#f3efe5 280px 100%)}.v151-reference-layout{grid-template-columns:1fr}.v151-reference-side{position:static;grid-template-columns:1fr 1fr}.v151-reference-input textarea{min-height:260px}}
@media(max-width:560px){.v151-reference-page{padding-top:22px}.v151-reference-hero h1{font-size:36px}.v151-reference-input-foot,.v151-reference-input header,.v151-reference-results>header{align-items:stretch;flex-direction:column}.v151-reference-input-foot button{width:100%}.v151-reference-module-grid,.v151-reference-side{grid-template-columns:1fr}.v151-reference-status{justify-items:start;text-align:left}.v151-reference-input textarea{min-height:230px;padding:16px}}
