:root{font-family:Inter,system-ui,sans-serif;color:#183c39;background:#f3f6f3;font-size:15px}*{box-sizing:border-box}body{margin:0}header{background:#123f38;color:white;padding:22px 5%;display:flex;justify-content:space-between;align-items:center}header a{color:white;text-decoration:none;font-weight:800;font-size:23px}header a span{font-size:14px;margin-left:15px}.badge,.eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:700}.badge{border:1px solid #52776c;padding:8px;border-radius:20px}main{max-width:1450px;margin:auto;padding:40px 5%}h1{font-size:42px;margin:10px 0}h1 span{color:#d6a14d}h2{font-size:22px}p{line-height:1.6}.heading,.tools,.actions{display:flex;align-items:center;gap:15px;justify-content:space-between}.heading{margin-bottom:26px}.muted{color:#667872;font-size:13px}.panel{background:white;border:1px solid #d9e2dd;border-radius:12px;padding:24px;margin-bottom:20px}#auth{max-width:530px;margin:30px auto}.counts{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.counts div,.counts button{background:#e7ede6;border-radius:10px;padding:18px}.counts strong{display:block;font-size:30px;margin-top:6px}.tools label:first-child{flex:1}.tools{align-items:end;margin-bottom:12px}label{display:block;font-weight:600;font-size:13px;margin-bottom:14px}input,select,textarea{display:block;width:100%;padding:12px;margin-top:7px;border:1px solid #b9cbc2;border-radius:6px;background:white;color:#183c39;font:inherit}textarea{line-height:1.65;resize:vertical}button,.linkbutton{border:1px solid #b9cbc2;border-radius:6px;background:white;color:#184d43;padding:12px 16px;font:inherit;font-size:13px;font-weight:650;cursor:pointer}button:disabled{opacity:.5;cursor:wait}.primary{background:#1c5746;color:white;border-color:#1c5746}a{color:#21654e;overflow-wrap:anywhere}.split{display:grid;grid-template-columns:minmax(270px,.85fr) minmax(400px,1.5fr);gap:22px;align-items:start}#list{max-height:950px;overflow:auto}.draft{display:block;width:100%;text-align:left;padding:20px;margin-bottom:12px;border:1px solid #d5dfd8;border-radius:10px;background:white}.draft.selected{border:2px solid #1c5746;background:#f6faf5}.draft strong{display:block;line-height:1.45;font-size:15px}.draft small{display:block;margin-top:8px;line-height:1.5;overflow-wrap:anywhere}.tag{display:inline-block;background:#e9efea;border-radius:5px;font-size:11px;padding:4px 7px;margin-bottom:9px}.evidence{border-left:3px solid #c4a05e;background:#f7f6ef;padding:15px;line-height:1.65;white-space:pre-wrap;font-size:13px;overflow-wrap:anywhere}.actions{justify-content:flex-start;flex-wrap:wrap;margin-top:14px}.two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.check{display:flex;gap:10px;align-items:start;line-height:1.6}.check input{width:auto;margin-top:4px}summary{cursor:pointer;font-weight:700}details[open] summary{margin-bottom:22px}#message{position:sticky;top:10px;z-index:5;border:1px solid #c0ab72;border-radius:8px;background:#fff8df;padding:15px}.documents a{display:block;margin:12px 0}footer{padding:24px 5%;color:#697b72;font-size:12px}[hidden]{display:none!important}:focus-visible{outline:3px solid #bf913d;outline-offset:3px}@media(max-width:850px){.split{grid-template-columns:1fr}#list{max-height:450px}.tools{flex-wrap:wrap}.counts{grid-template-columns:1fr 1fr}.two{grid-template-columns:1fr}.heading{align-items:start}h1{font-size:34px}header a span{display:none}.badge{font-size:9px}.panel{padding:18px}main{padding:24px 5%}}

/* Expand the selected email directly beneath its own project card. */
.split{display:block}#list{max-height:none;overflow:visible}#editor{margin:-5px 0 22px;border:2px solid #1c5746;border-top:0;border-radius:0 0 12px 12px}.draft.selected{margin-bottom:5px;border-radius:10px 10px 0 0}.archive-tools{display:flex;gap:10px;margin:20px 0}.archive-tools button[aria-pressed="true"]{background:#1c5746;color:white}.archive-tools span{margin-left:6px}#editor>details{margin-bottom:20px}#editor h2{margin-top:10px}

.template-controls{margin-bottom:18px}.template-controls[open]{padding-bottom:12px;border-bottom:1px solid #d9e2dd}

.counts button{text-align:left;color:inherit;font:inherit;border:1px solid transparent;cursor:pointer}.counts button:hover{background:#dbe7d9}.counts button:focus-visible{outline:3px solid #365d39;outline-offset:3px}

#photo-preview-button{margin-bottom:14px}#photo-email-dialog{width:min(820px,calc(100vw - 28px));max-height:90vh;padding:0;border:1px solid #d5dfda;border-radius:14px;color:#243a32;background:#f0f4f1}#photo-email-dialog::backdrop{background:#142b24aa}.photo-preview-controls{display:flex;align-items:start;justify-content:space-between;gap:18px;padding:20px 24px;border-bottom:1px solid #d5dfda}.photo-preview-controls p,.photo-preview-note{font-size:13px;line-height:1.5;margin:5px 0}.photo-preview-controls button{white-space:nowrap}.photo-email{max-width:680px;background:white;margin:24px auto;padding:28px;font:15px/1.65 Arial,sans-serif;color:#26342e}.photo-email-addresses{border-bottom:1px solid #e2e7e4;padding-bottom:14px;margin-bottom:22px;font-size:13px}.photo-email-addresses p{margin:4px 0}.photo-email-copy{white-space:pre-wrap;overflow-wrap:anywhere}.photo-email a{color:#285847}.photo-email-gallery{margin-top:26px;border-top:1px solid #dce4df;padding-top:20px;table-layout:fixed}.photo-email-gallery td{padding:0 5px}.photo-email-gallery td:first-child{padding-left:0}.photo-email-gallery td:last-child{padding-right:0}.photo-email-gallery a{text-decoration:none}.photo-email-gallery span{display:block;font:11px/1.4 Arial,sans-serif;margin-top:9px;color:#53665c}.photo-email-caption{font-size:12px;letter-spacing:.04em;color:#53665c;margin:16px 0 0}.photo-preview-note{padding:0 24px 20px}@media(max-width:600px){.photo-email{margin:12px;padding:18px}.photo-preview-controls{padding:15px;flex-wrap:wrap}.photo-email-gallery span{font-size:10px}}

.photo-tile{position:relative;overflow:hidden}.photo-email-gallery .photo-brand{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;gap:7px;min-height:48px;padding:7px;background:rgba(255,255,255,.94);margin:0;box-sizing:border-box;color:#173d4b;font-size:10px;line-height:1.25}.photo-brand img{display:block;width:38px;max-height:28px;object-fit:contain;flex-shrink:0}.photo-brand b{font-weight:600}.photo-email-gallery .project-photo{min-height:100px}@media(max-width:600px){.photo-email-gallery .photo-brand{flex-direction:column;gap:3px;align-items:start;font-size:8px;min-height:55px}.photo-brand img{width:32px;max-height:18px}}

.photo-frame.rotate-clockwise{position:relative;aspect-ratio:1128/1394;overflow:hidden}.photo-frame.rotate-clockwise .project-photo{position:absolute;left:50%;top:50%;width:123.58156%!important;height:auto!important;min-height:0;transform:translate(-50%,-50%) rotate(90deg)}

/* Allow photo tables to shrink inside narrow phone layouts. */
.split,#list,#editor,.photo-email{min-width:0}
#email-preview table,.photo-email table{table-layout:fixed;width:100%;max-width:100%}
#email-preview img,.photo-email table img{max-width:100%;height:auto}
#email-preview td,.photo-email table td{padding:0;overflow:hidden}
@media(max-width:600px){#editor{padding:14px}.evidence{padding:10px}.photo-email-addresses{overflow-wrap:anywhere}.archive-tools{flex-wrap:wrap}}

#industry-prospects .research-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;align-items:end}
#industry-prospects .research-filters label{min-width:0}
#industry-prospects .research-filters input,#industry-prospects .research-filters select{width:100%;min-width:0}
#industry-prospects .evidence,#industry-prospects a{overflow-wrap:anywhere}

/* Owner-requested full-width outreach workspace with modest gutters. */
main{max-width:none;width:100%;padding:30px clamp(14px,1.5vw,28px)}body>header,body>footer{padding-left:clamp(14px,1.5vw,28px);padding-right:clamp(14px,1.5vw,28px)}@media(max-width:850px){main{padding:24px 14px}}
