.page-tabs{display:flex;gap:6px;margin:0 0 22px;padding:5px;width:max-content;border-radius:12px;background:#e5e9e4}.page-tabs a{padding:10px 22px;border-radius:9px;color:var(--muted);font-weight:800;text-decoration:none}.page-tabs a.active{background:var(--green);color:white;box-shadow:0 3px 12px #174b3720}.workspace-grid{grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);align-items:start}.workspace-stack{display:grid;gap:22px}.history-panel{max-height:calc(100vh - 190px);position:sticky;top:22px;overflow:auto}.history-list{display:grid;gap:10px}.history-list details,.user-editor{border:1px solid var(--line);border-radius:12px;background:#fbfcfa;overflow:hidden}.history-list summary,.user-editor summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px;cursor:pointer;list-style:none}.history-list summary::-webkit-details-marker,.user-editor summary::-webkit-details-marker{display:none}.history-list summary span,.user-editor summary span{display:grid;min-width:0}.history-list summary small,.user-editor summary small{color:var(--muted);font-weight:500}.history-list summary strong{white-space:nowrap;color:var(--green)}.history-list details[open] summary,.user-editor[open] summary{border-bottom:1px solid var(--line);background:white}.detail-body{padding:15px;background:white}.detail-body>p{margin-top:0}.detail-highlight{display:flex;justify-content:space-between;padding:12px;border-radius:9px;background:var(--green);color:white}.detail-body dl{margin:14px 0 0}.detail-body dl div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--line)}.detail-body dt{color:var(--muted)}.detail-body dd{margin:0;font-weight:800}.count-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:22px}.profile-form{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;padding:15px;background:white}.profile-form label{margin:7px 0}.profile-form .wide,.profile-form .primary{grid-column:1/-1}.toggle-form{padding:0 15px 15px;background:white}.toggle-form button{color:var(--danger)}.user-editor em{font-style:normal;font-size:12px;color:var(--green);font-weight:800}.self-note{margin:0;padding:0 15px 15px;background:white;color:var(--muted);font-size:13px}@media(max-width:850px){.workspace-grid{grid-template-columns:1fr}.history-panel{position:static;max-height:none}.page-tabs{width:100%}.page-tabs a{flex:1;text-align:center}.count-grid,.profile-form{grid-template-columns:1fr}.profile-form label{grid-column:1/-1}}
