.stom-portal{--stom:#1d3557;--stom-light:#f3f6f8;max-width:900px;margin:auto}.stom-portal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.stom-portal h2,.stom-card h3{margin:0}.stom-button{border:0;border-radius:5px;background:var(--stom);color:#fff!important;padding:11px 18px;cursor:pointer;font-weight:600}.stom-secondary{padding:8px 14px}.stom-form,.stom-card{background:#fff;border:1px solid #dfe5e9;border-radius:8px;padding:20px;margin:0 0 18px;box-shadow:0 2px 8px rgba(0,0,0,.04)}.stom-form label{display:block;font-weight:600;margin-bottom:16px}.stom-form input,.stom-form textarea,.stom-form select,.stom-reply textarea{box-sizing:border-box;width:100%;margin-top:5px;padding:10px;border:1px solid #b9c3ca;border-radius:4px}.stom-fields{display:grid;grid-template-columns:1fr 2fr 1fr;gap:12px}.stom-card header{display:flex;justify-content:space-between;gap:15px}.stom-status{font-size:13px;border-radius:99px;padding:4px 10px;background:#e7f3ea;color:#226b35;white-space:nowrap}.stom-completed{background:#edf0f2;color:#59636a}.stom-pending{background:#fff2cc;color:#7a5a00}.stom-meta{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.stom-meta span{font-size:12px;background:#edf0f2;border-radius:99px;padding:4px 9px}.stom-edit{margin-top:12px}.stom-edit summary{cursor:pointer;color:var(--stom)}.stom-edit .stom-form{margin-top:10px;background:var(--stom-light)}.stom-comment{background:var(--stom-light);border-radius:6px;padding:12px;margin:10px 0}.stom-comment time{font-size:12px;color:#68737b;margin-left:8px}.stom-comment p{margin:5px 0 0}.stom-reply{display:flex;align-items:flex-end;gap:10px;margin-top:15px}.stom-link{border:0;background:none;color:var(--stom);padding:8px 0;text-decoration:underline;cursor:pointer}.stom-message{padding:12px;background:#e7f3ea;border-left:4px solid #2e7d43}.stom-message-error{background:#fbeaea;border-left-color:#b32d2e;color:#8a2424}.stom-archive{margin-top:30px}.stom-archive summary{font-weight:600;cursor:pointer;margin-bottom:15px}@media(max-width:600px){.stom-portal-head,.stom-card header,.stom-reply{align-items:stretch;flex-direction:column}.stom-fields{grid-template-columns:1fr}.stom-button{width:100%}}

/* Compacte dashboardweergave */
.stom-portal{font-size:13px}.stom-portal-head{justify-content:flex-end;margin-bottom:10px}.stom-button{padding:8px 13px;font-size:13px}.stom-secondary{padding:7px 11px}.stom-card{padding:12px 14px;margin-bottom:10px;border-radius:6px}.stom-card h3{font-size:15px;line-height:1.35}.stom-card header{align-items:center}.stom-description p{margin:6px 0}.stom-status{font-size:11px;padding:3px 8px}.stom-meta{gap:5px;margin:6px 0}.stom-meta span{font-size:11px;padding:3px 7px}.stom-comment{padding:8px 10px;margin:6px 0}.stom-comment p{margin:3px 0 0}.stom-reply{gap:8px;margin-top:8px;align-items:center}.stom-reply textarea{min-height:36px;max-height:80px;padding:7px 9px;margin:0}.stom-edit{margin-top:7px}.stom-edit .stom-form{padding:12px;margin:7px 0}.stom-toggle{margin:0}.stom-link{padding:5px 0}.stom-message{padding:8px 10px;margin:0 0 10px}.stom-archive{margin-top:16px}

/* Ingeklapte compacte taakregels */
.stom-card{padding:0;margin-bottom:5px}.stom-card>header{display:grid;grid-template-columns:24px minmax(0,1fr) auto auto 18px;gap:8px;min-height:38px;padding:4px 10px;cursor:pointer}.stom-card>header:hover{background:#f6f7f7}.stom-card h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stom-card-flag .dashicons{font-size:17px;width:17px;height:17px}.stom-card-deadline{font-size:12px;color:#646970;white-space:nowrap}.stom-card-chevron{font-size:18px;color:#646970;transition:transform .15s}.stom-card-body{display:none;padding:4px 12px 10px;border-top:1px solid #edf0f2}.stom-card.is-expanded .stom-card-body{display:block}.stom-card.is-expanded .stom-card-chevron{transform:rotate(180deg)}
.stom-widget-limit{margin:0 auto 0 0}.stom-widget-limit select{min-height:32px;margin:0;padding:3px 24px 3px 8px;font-size:12px}.stom-widget-all{margin:10px 2px 2px;text-align:right}.stom-widget-all a{text-decoration:none;font-weight:600}
