.wr-standalone{max-width:1280px;margin:0 auto;padding:24px 28px 80px}.wr-brand{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:32px;font-size:12px;color:var(--muted)}.wr-brand>a{color:var(--ink);font-size:17px;font-weight:650;text-decoration:none}.wr-brand>a span{color:var(--accent)}
#workroom-page{max-width:1320px}.wr-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px}.wr-heading h1{font-size:28px;margin:0 0 9px}.wr-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.wr-identity{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding-top:8px}.wr-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.wr-toolbar>input{flex:1;min-width:180px}.wr-toolbar>select{width:auto;max-width:210px}.wr-toolbar button,.wr-actions button,#workroom-root button{min-height:44px}.wr-info{margin:10px 0 16px;font-size:12px;color:var(--muted);line-height:1.6}.wr-error{color:#8c382d;white-space:pre-wrap;overflow-wrap:anywhere}.wr-error:empty{display:none}
.wr-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:20px;align-items:start}.wr-list{display:flex;flex-direction:column;gap:8px}.wr-topic-card{display:block;text-align:left;padding:15px;border:1px solid var(--line);background:var(--paper);border-radius:12px;min-width:0;width:100%;color:var(--ink)}.wr-topic-card[aria-current=true]{border-color:var(--green);box-shadow:inset 3px 0 var(--green)}.wr-topic-card strong{display:block;font-size:15px;line-height:1.55;margin:8px 0;overflow-wrap:anywhere}.wr-topic-card small{display:block;color:var(--muted);font-size:11px;line-height:1.5}.wr-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;color:var(--muted)}.wr-card-top>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wr-state{display:inline-block;white-space:nowrap;padding:4px 8px;border-radius:6px;background:#ecefe9;color:#53635a;font-size:11px}.wr-state[data-state=working]{background:#e0ebe2;color:#284a3d}.wr-state[data-state=review]{background:#f3e9d5;color:#745628}.wr-state[data-state=hold]{background:#eee6e2;color:#765e51}.wr-state[data-state=done]{background:#e2e9e1;color:#496044}
.wr-detail{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:25px;min-width:0}.wr-detail h2{font-size:24px;line-height:1.45;overflow-wrap:anywhere;margin:14px 0}.wr-purpose{font-size:15px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 18px}.wr-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted);align-items:center}.wr-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:15px 0}.wr-actions select{width:auto;max-width:170px}.wr-links{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.wr-links a{font-size:12px;color:var(--green);border:1px solid var(--line);border-radius:7px;padding:9px 12px;overflow-wrap:anywhere;max-width:100%}.wr-handoff{border-top:1px solid var(--line);padding:16px 0;margin-top:16px}.wr-handoff p{font-size:12px;color:var(--muted);margin:8px 0 0;line-height:1.6}.wr-handoff .wr-actions{margin:0}.wr-log-heading{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:20px;margin-bottom:10px}.wr-log-heading h3{font-size:15px;margin:0}.wr-entry{border-bottom:1px solid var(--line);padding:18px 0}.wr-entry-head{display:flex;flex-wrap:wrap;gap:9px;align-items:center;font-size:11px;color:var(--muted)}.wr-entry-head strong{font-size:12px;color:var(--ink)}.wr-entry-kind{border:1px solid var(--line);padding:3px 7px;border-radius:5px;font-size:10px}.wr-entry[data-kind=decision]{border-left:3px solid var(--green);padding-left:14px}.wr-entry[data-kind=activity]{padding-top:10px;padding-bottom:10px}.wr-entry[data-kind=activity] .wr-entry-body{font-size:12px;color:var(--muted)}.wr-entry-body{font-size:16px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0}.wr-composer{margin-top:20px}.wr-composer>label{display:block;font-size:12px;margin:0 0 8px}.wr-composer textarea{width:100%;min-height:125px;font-size:16px;line-height:1.65;resize:vertical}.wr-composer .wr-actions{justify-content:space-between}.wr-composer select{max-width:150px}.wr-empty{padding:32px 18px;border:1px dashed var(--line);border-radius:12px;font-size:14px;color:var(--muted);line-height:1.8;background:var(--paper)}.wr-back{display:none;margin-bottom:15px}
.wr-dialog{width:min(620px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;padding:25px;border-radius:18px}.wr-dialog h2{font-size:21px;margin:0 0 18px}.wr-dialog label{display:block;font-size:12px;margin:15px 0 6px}.wr-dialog input,.wr-dialog textarea,.wr-dialog select{width:100%}.wr-dialog textarea{min-height:110px;resize:vertical;line-height:1.6}.wr-dialog small,.wr-dialog p.muted{font-size:12px;line-height:1.7}.wr-dialog .wr-secret{min-height:70px;font-family:monospace;font-size:14px;overflow-wrap:anywhere}.wr-connection{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);padding:15px 0}.wr-connection strong{display:block;font-size:14px}.wr-connection small{display:block;font-size:11px;color:var(--muted);line-height:1.7}.wr-login{max-width:440px;margin:50px auto;background:var(--paper);padding:28px;border:1px solid var(--line);border-radius:18px}.wr-login h1{font-size:23px}.wr-login p{font-size:13px;color:var(--muted);line-height:1.7}.wr-login label{display:block;font-size:12px;margin-bottom:8px}.wr-login input{width:100%;margin-bottom:14px}.wr-login button{width:100%}.wr-login a{color:var(--green)}
@media(max-width:899px){.wr-layout{display:block}.wr-layout:not(.wr-detail-open) .wr-detail{display:none}.wr-layout.wr-detail-open .wr-rail{display:none}.wr-back{display:inline-flex}.wr-heading h1{font-size:24px}.wr-detail{padding:19px}.wr-toolbar>select{flex:1 0 calc(50% - 4px);max-width:none;min-width:0}.wr-toolbar>input{width:100%;flex-basis:100%}.wr-toolbar .primary{margin-left:auto}.wr-heading{flex-direction:column;gap:10px}.wr-identity{padding-top:0}.wr-standalone{padding:20px 16px 50px}.wr-brand{margin-bottom:26px}.wr-topic-card{padding:16px}.wr-detail h2{font-size:21px}.wr-purpose{font-size:15px}.wr-dialog{padding:20px}.wr-actions{gap:7px}.wr-handoff .wr-actions button{flex:1;white-space:nowrap;font-size:12px}.wr-entry-body{font-size:16px}.wr-login{margin-top:24px;padding:22px}}
@media(max-width:380px){.wr-handoff .wr-actions button{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){#workroom-root *{scroll-behavior:auto}}
.wr-materials,.wr-communication{margin-block:20px;padding-block:14px;border-top:1px solid var(--line,#ddd)}
.wr-material{padding-block:10px;border-bottom:1px solid var(--line,#ddd);overflow-wrap:anywhere}
.wr-material button{margin:4px 6px 4px 0}
#wr-material-preview{max-height:360px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:var(--bg,#f5f3ee)}
.wr-entry .wr-info,.wr-communication,.wr-identity{overflow-wrap:anywhere}
#wr-grant-fields input[type=checkbox]{width:auto;min-height:auto;margin-right:8px}
#wr-upload{max-width:100%}

.wr-registration{padding:16px;border:1px solid var(--border,#3d4552);border-radius:12px;margin:16px 0;overflow-wrap:anywhere}.wr-login .wr-registration-code{font:700 1.5rem ui-monospace,monospace;letter-spacing:.08em}.wr-registration summary{cursor:pointer;font-weight:600}.wr-registration form{display:grid;gap:10px}.wr-registration input,.wr-registration textarea{width:100%;box-sizing:border-box}

.wr-registration label.wr-registration-confirm{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6}.wr-registration .wr-registration-confirm input{width:auto;min-height:auto;flex:0 0 auto;margin:4px 0 0}.wr-registration #wr-browser-approve-status,.wr-registration #wr-browser-approve-error{margin:0;overflow-wrap:anywhere}.wr-registration #wr-browser-approve-status:empty{display:none}
