.me-work{--me-bg:#101f2a;--me-panel:rgba(15,34,43,.96);--me-border:#4c7076;--me-lime:#d1ef98;color:#f2f8f8;font:inherit;font-size:1rem;line-height:1.6;max-width:1320px;margin:0 auto;padding:1rem;overflow-wrap:anywhere}
.me-work *{box-sizing:border-box}.me-work h2,.me-work h3{color:#fff;line-height:1.3;margin:.4rem 0 1rem}.me-work a{color:var(--me-lime);text-decoration:underline;text-underline-offset:.2em}.me-work p{margin:.5rem 0 1rem}.me-work button,.me-work input,.me-work select,.me-work textarea{font:inherit;max-width:100%;padding:.65rem .8rem;border:1px solid #658b90;border-radius:8px;background:#152e3a;color:#fff}.me-work button{cursor:pointer}.me-work button:hover{background:#264755}.me-work button:disabled{opacity:.65;cursor:not-allowed}.me-work :focus-visible{outline:3px solid #f0da78;outline-offset:3px}.me-work .me-primary{background:var(--me-lime);color:#132713;font-weight:700}.me-work .me-primary:hover{background:#e1ffc0}.me-bar,.me-controls,.me-actions,.me-tabs{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.me-bar{justify-content:space-between;margin-bottom:1rem}.me-tabs{margin-bottom:1rem}.me-tabs a{padding:.45rem .75rem;border:1px solid var(--me-border);border-radius:8px}.me-work label{display:flex;flex-direction:column;gap:.3rem;font-size:.95rem}.me-work label.me-check{flex-direction:row;align-items:center}.me-work .me-controls input[type=search]{min-width:min(20rem,70vw)}.me-layout{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr);gap:1rem;align-items:start}.me-panel,.me-card,.me-detail{border:1px solid var(--me-border);background:var(--me-panel);border-radius:14px;padding:1.1rem;box-shadow:0 12px 35px #0003}.me-panel{position:sticky;top:1rem}.me-panel details{border-top:1px solid var(--me-border);padding:.6rem 0}.me-panel summary,.me-work summary{cursor:pointer;font-weight:650}.me-work .me-options{display:grid;gap:.45rem}.me-work .me-options label{display:flex;flex-direction:row;align-items:center}.me-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(255px,100%),1fr));gap:1rem}.me-card{padding:0;overflow:hidden;display:flex;flex-direction:column;min-width:0}.me-card-body{padding:1rem;flex:1}.me-card h3{font-size:1.15rem}.me-card .me-actions{padding:0 1rem 1rem}.me-image{width:100%;aspect-ratio:16/9;object-fit:cover;background:#1c3847}.me-cover{padding:1rem;min-height:100px;background:linear-gradient(135deg,#294c54,#132c3d);display:flex;flex-direction:column;justify-content:space-between}.me-cover strong{color:var(--me-lime);font-size:1.05rem}.me-cover span{font-size:.9rem}.me-meta{font-size:.9rem;color:#c0d2d5}.me-badge{display:inline-block;padding:.18rem .55rem;border:1px solid #6a888d;border-radius:5px;color:#dbe9eb;font-size:.875rem;background:#233944}.me-badge.me-held{color:#ffe0a0;border-color:#b8995e;background:#483c22}.me-work .me-note{border-left:3px solid var(--me-lime);padding:.6rem 1rem;background:#132d37;margin:1rem 0}.me-work .me-status{min-height:1.5rem;color:#e2efa9}.me-work .me-detail{margin-bottom:1rem}.me-work .me-detail blockquote{border-left:3px solid #bad58e;margin:1rem 0;padding:.5rem 1rem}.me-work pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem;background:#0b1920;padding:1rem}.me-work textarea{min-height:7rem;width:100%}.me-work table{width:100%;border-collapse:collapse}.me-work th,.me-work td{text-align:left;padding:.6rem;border-bottom:1px solid #4c7076;vertical-align:top}.me-table{overflow:auto}.me-work .me-kpis{display:flex;gap:1rem;flex-wrap:wrap;margin:1rem 0}.me-kpis p{padding:.7rem 1rem;border:1px solid var(--me-border);border-radius:10px;background:var(--me-panel)}.me-pagination{display:flex;justify-content:space-between;gap:1rem;margin:1rem 0}.me-forms{display:grid;gap:1rem}.me-work .me-error{color:#ffd0bb}.ps-shell[data-active-route=media] .ps-route-heading,.ps-shell[data-active-route=facts] .ps-route-heading{padding:1rem 1.5rem!important;min-height:0!important}.ps-shell[data-active-route=media] .ps-route-heading h1,.ps-shell[data-active-route=facts] .ps-route-heading h1{font-size:clamp(1.7rem,4vw,2.6rem);margin:.3rem 0}.ps-shell[data-active-route=media] .ps-room-tag,.ps-shell[data-active-route=facts] .ps-room-tag{display:none}.me-work [hidden]{display:none!important}
@media(max-width:760px){.me-layout{grid-template-columns:1fr}.me-panel{position:static}.me-work{padding:.5rem}.me-controls>*{flex:1 1 150px}.me-actions>*{max-width:100%}.me-grid{grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr))}}
@media(prefers-reduced-motion:reduce){.me-work *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{.me-panel,.me-controls,.me-actions,.me-tabs,.me-pagination{display:none!important}.me-work,.me-work *{background:white!important;color:black!important;box-shadow:none!important}.me-card,.me-detail{break-inside:avoid}}

.me-work .me-image{height:auto;aspect-ratio:16/9;object-fit:contain;background:#e9eef1;flex:none}.me-section-help{margin:0 1.5rem 1rem;padding:.65rem 1rem;border:1px solid #638080;border-radius:10px;background:#112e3a;color:#eef7f7}.me-section-help>summary{cursor:pointer}.me-work .me-status{margin-top:1rem}

/* Guided evidence rows remain legible at narrow widths without fixed columns. */
.me-work .me-row-fields{min-width:0;border:1px solid var(--me-border);border-radius:10px;padding:1rem;display:grid;gap:.8rem}.me-work .me-row-fields legend{font-weight:650;padding:0 .35rem}.me-work .me-collection{min-width:0}.me-work .me-collection>h4{color:#fff}.me-work .me-forms label{min-width:0}.me-work .me-row-fields input,.me-work .me-row-fields select{width:100%}.me-work input[type=checkbox]{width:auto}

@media print{.me-work .me-editor{display:none!important}}

/* Keep field captions, native controls and action rows comfortably separated. */
.me-work label{min-width:0;max-width:100%}
.me-work .me-layout>*{min-width:0}
.me-work input,.me-work select,.me-work textarea{min-width:0}
.me-work .me-controls{align-items:flex-end;margin-bottom:1rem}
.me-work .me-controls>label{flex:1 1 12rem}
.me-work .me-controls input[type=search]{min-width:0;width:100%}
.me-work .me-panel details>label,.me-work .me-detail>label,.me-work details.me-editor>label{margin-block:.75rem}
.me-work button,.me-work input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),.me-work select{min-height:2.75rem;line-height:1.5}
.me-work button{white-space:normal;overflow-wrap:anywhere}
.me-work textarea{line-height:1.5;resize:vertical}
.me-work input::placeholder,.me-work textarea::placeholder{color:#bcd0d4;opacity:1}
.me-work select{padding-inline-end:2rem}
.me-work input[type=checkbox],.me-work input[type=radio]{padding:0;flex:0 0 auto}
.me-work input[type=range]{padding:0;width:100%;margin-inline:0;min-height:2.75rem}
.me-work input[type=file]{padding:.5rem;line-height:1.5}
.me-work input[type=file]::file-selector-button{font:inherit;padding:.35rem .5rem;margin-inline-end:.5rem}
.me-work label.me-check{align-items:flex-start;gap:.6rem}
.me-work label.me-check input{margin-block-start:.3rem}
@media(max-width:760px){.me-work .me-layout{grid-template-columns:minmax(0,1fr)}}

/* The current evidence section remains identifiable by shape and text contrast. */
.me-work .me-tabs [aria-current=true]{border-width:2px;border-color:#d1ef98;font-weight:700;background:#233944;color:#fff}

.me-work .me-print-only{display:none}
@media print{.me-work .me-screen-only{display:none!important}.me-work .me-print-only{display:inline!important}.me-work .me-evidence-reference{display:block;margin:.35rem 0;overflow-wrap:anywhere}.me-work .me-inspection{break-inside:auto}}

@media print{.me-work .me-source-link::after{content:' (' attr(href) ')';overflow-wrap:anywhere}}
