.users-view { min-width:0; display:grid; gap:20px; }
.users-view[hidden], .users-view [hidden] { display:none!important; }
.users-form { background:white; padding:20px; border:1px solid #d7dfe5; border-radius:12px; }
.users-form > fieldset { border:0; padding:0; margin:0; min-width:0; display:grid; gap:16px; }
.users-form .field { min-width:0; }
.users-form input:not([type=checkbox]), .users-form select { width:100%; min-width:0; }
.users-form fieldset fieldset { border:1px solid #d7dfe5; padding:12px; min-width:0; border-radius:8px; }
.users-checks { display:flex; flex-wrap:wrap; gap:8px 20px; }
.users-check { display:flex; align-items:center; gap:8px; padding:8px 0; }
.users-check input { width:20px; height:20px; }
.users-actions { display:flex; flex-wrap:wrap; gap:8px; }
.users-actions button { min-height:44px; }
.users-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); gap:12px; }
.users-card { min-width:0; overflow-wrap:anywhere; background:white; border:1px solid #d7dfe5; border-radius:12px; padding:16px; }
.users-card h3 { margin:0 0 8px; }
.users-card p { margin:6px 0; }
.users-card .users-actions { margin-top:14px; }
.users-credentials { width:min(460px,calc(100% - 24px)); max-height:calc(100dvh - 24px); overflow:auto; border:1px solid #aab9c5; border-radius:12px; padding:20px; }
.users-credentials::backdrop { background:#17324d99; }
.users-credentials input { width:100%; min-width:0; font:18px monospace; }
@media(min-width:768px) { .users-form > fieldset {grid-template-columns:repeat(2,minmax(0,1fr));} .users-form .users-wide {grid-column:1/-1;} }

.fishka-document summary {cursor:pointer;min-height:44px;font-weight:700;}
.fishka-document.changed {border:2px solid #885322;background:#fff8eb;}
.fishka-document.review {border-color:#966077;background:#fff2f6;}
.fishka-document.accepted {border-color:#568065;background:#eef8f0;}
.users-credentials textarea {width:100%;min-width:0;}
