/* V281-R1: navigation links use the existing office button treatment. */
#workspace>nav>a.office-link,#workspace>nav>a.office-link:visited{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;font:inherit;font-weight:700;border-radius:.7rem;border:1px solid var(--line);padding:.85rem;background:transparent;color:var(--text);text-decoration:none;line-height:normal}
#workspace>nav>a.office-link:hover{background:#18342b}#workspace>nav>a.office-link:focus-visible{outline:2px solid #dcc17d;outline-offset:3px}
#ewt-live{margin-top:1.5rem}#ewt-live h3{color:#dcc17d}#ewt-live .ewt-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem;margin:1rem 0}#ewt-live article,#ewt-live details{border:1px solid var(--line);border-radius:.8rem;padding:1rem;margin:1rem 0;overflow-wrap:anywhere}#ewt-live article p{color:var(--muted)}#ewt-live .ewt-amount{font-size:1.5rem;color:#dcc17d}#ewt-live .ewt-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}#ewt-live .ewt-actions button{font-size:.85rem}#ewt-live input,#ewt-live select{width:100%;min-width:0}#ewt-live summary{cursor:pointer;font-weight:700}#ewt-live .ewt-message{white-space:pre-wrap;overflow-wrap:anywhere;min-height:1.5rem}#ewt-live .ewt-status{padding:.8rem 1rem;border-left:3px solid #dcc17d;background:#0b1714}#ewt-live [hidden]{display:none!important}#ewt-live .ewt-small{font-size:.85rem;color:var(--muted)}#ewt-live pre{white-space:pre-wrap;max-height:24rem;overflow:auto;font-size:.8rem}@media(max-width:600px){#workspace>nav>a.office-link{font-size:inherit}#ewt-live .ewt-actions>*{flex:1 1 10rem}}

#ewt-work{margin-top:1.5rem}#ewt-work h3{color:#dcc17d}#ewt-work .ewt-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem;margin:1rem 0}#ewt-work article,#ewt-work details{border:1px solid var(--line);border-radius:.8rem;padding:1rem;margin:1rem 0;overflow-wrap:anywhere}#ewt-work article p{color:var(--muted)}#ewt-work .ewt-amount{font-size:1.5rem;color:#dcc17d}#ewt-work .ewt-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}#ewt-work .ewt-actions button{font-size:.85rem}#ewt-work input,#ewt-work select{width:100%;min-width:0}#ewt-work summary{cursor:pointer;font-weight:700}#ewt-work .ewt-message{white-space:pre-wrap;overflow-wrap:anywhere;min-height:1.5rem}#ewt-work .ewt-status{padding:.8rem 1rem;border-left:3px solid #dcc17d;background:#0b1714}#ewt-work [hidden]{display:none!important}#ewt-work .ewt-small{font-size:.85rem;color:var(--muted)}#ewt-work pre{white-space:pre-wrap;max-height:24rem;overflow:auto;font-size:.8rem}@media(max-width:600px){#workspace>nav>a.office-link{font-size:inherit}#ewt-work .ewt-actions>*{flex:1 1 10rem}}

#ewt-work .work-check{display:flex;align-items:flex-start;gap:.6rem;margin:1rem 0}#ewt-work .work-check input{width:auto;flex:0 0 auto;margin-top:.25rem}#ewt-work pre{border:1px solid var(--line);padding:1rem;max-height:24rem}#ewt-source-details{margin-top:2rem;padding:1rem;border:1px solid var(--line);border-radius:.8rem}#ewt-work .ewt-cards{align-items:start}#ewt-work .ewt-cards>*{min-width:0}#ewt-work button:disabled{opacity:.45;cursor:not-allowed}

#work-index-result{overflow:auto}#work-index-result table{width:100%;border-collapse:collapse;font-size:.85rem}#work-index-result th,#work-index-result td{padding:.55rem;text-align:left;border-bottom:1px solid var(--line)}#work-index-editor textarea{width:100%;box-sizing:border-box}#work-index-inputs details{margin:.6rem 0}#work-index-inputs summary{color:#dcc17d}
