.module-workspace{padding:1.4rem;min-width:0}.module-workspace [hidden]{display:none!important}.module-tabs{display:flex;gap:.5rem;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:.9rem;margin-bottom:1.2rem}.module-tabs button[aria-selected=true]{border-color:var(--green);background:var(--soft);color:var(--ink)}.module-summary{display:flex;gap:1rem;justify-content:space-between;flex-wrap:wrap;margin-bottom:1rem}.module-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.module-card{background:var(--soft);border:1px solid var(--line);border-radius:9px;padding:1.1rem;display:flex;flex-direction:column;gap:1rem;min-width:0}.module-card h3{margin:0}.module-card p{font-size:.85rem;color:var(--muted);margin:0}.module-card-heading,.module-card-footer,.module-section-heading{display:flex;justify-content:space-between;align-items:center;gap:.8rem}.module-card-heading{align-items:start}.module-card-footer{margin-top:auto;flex-wrap:wrap}.module-switch{display:flex;align-items:center;gap:.5rem;min-height:38px;flex-shrink:0;cursor:pointer}.module-switch input{width:18px;height:18px;margin:0}.module-switch span{font-size:.8rem}.module-badge{display:inline-block;font-size:.75rem;border-radius:5px;padding:.25rem .5rem;background:var(--soft);color:var(--muted);max-width:100%;overflow-wrap:anywhere}.module-badge.enabled{background:#254633;color:#b3e0c2}.module-badge.draft{background:#493a20;color:#f4d399}.module-core{margin-top:1.2rem;padding:1rem 0;border-top:1px solid var(--line)}.module-core summary{min-height:38px;cursor:pointer}.module-core p{font-size:.85rem;color:var(--muted)}.module-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;background:var(--soft);border-top:1px solid var(--line);padding:1rem;position:sticky;bottom:0;z-index:2;margin-top:1rem;border-radius:0 0 8px 8px}.module-footer small,.module-changes small{display:block;font-size:.8rem;color:var(--muted);margin-top:.25rem}.module-footer>div,.module-review-actions{display:flex;gap:.6rem;flex-wrap:wrap}.module-details,.module-review{border:1px solid var(--line);border-radius:9px;padding:1.2rem;margin-bottom:1.2rem;background:var(--soft)}.module-details h3{margin-top:1.1rem}.module-review-actions{margin-top:1rem}.module-review textarea{width:100%;max-width:100%;min-height:70px;padding:.7rem;resize:vertical;background:var(--soft);color:var(--ink);border:1px solid var(--line);border-radius:7px}.module-review label{display:block;margin-top:1rem}.module-change-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:.75rem 0}.module-history-groups{display:grid;gap:.8rem;margin-bottom:1rem}.module-history-group{border:1px solid var(--line);border-radius:8px;padding:1rem;min-width:0}.module-history-group h3{margin:0}.module-history-links{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.75rem}.module-changes article{padding:1rem 0;border-bottom:1px solid var(--line)}.module-section-heading{align-items:start;flex-wrap:wrap}.module-intro{color:var(--muted);margin-bottom:1rem}.module-workspace button{white-space:normal;max-width:100%}.module-workspace p,.module-workspace li{overflow-wrap:anywhere}
.module-workspace{overflow:visible}.module-switch input{appearance:none;width:36px;height:21px;position:relative;border:1px solid var(--line);border-radius:16px;background:var(--soft)}.module-switch input:before{content:"";position:absolute;width:13px;height:13px;top:3px;left:3px;border-radius:50%;background:var(--muted)}.module-switch input:checked{background:var(--green);border-color:var(--green)}.module-switch input:checked:before{left:18px;background:#fff}.module-card h3{font-size:1rem}
@media(max-width:900px){.module-cards{grid-template-columns:1fr}.module-workspace{padding:1rem}}
@media(max-width:480px){.module-tabs{display:grid;grid-template-columns:1fr}.module-tabs button{text-align:left}.module-card{padding:1rem}.module-card-heading{gap:.5rem}.module-footer{padding:.8rem}.module-footer>div{width:100%}.module-footer>div button{flex:1}.module-history-links{display:grid;grid-template-columns:1fr}.module-history-links button{text-align:left}.module-details,.module-review{padding:.9rem}.module-workspace .module-section-heading{flex-direction:column}}
@media(pointer:coarse){.module-workspace button,.module-workspace summary,.module-workspace .module-switch{min-height:44px}.module-workspace textarea{font-size:16px}}
