.account-ui { display:grid; gap:14px; }
.account-ui .panel { margin:0; }
.account-ui .titlebar { margin-bottom:0; }
.account-ui .titlebar, .account-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 14px; }
.account-toolbar h2, .account-ui .panel h2 { margin:0; }
.account-ui .field, .account-ui .actions, .account-ui fieldset { min-width:0; }
.account-form { display:grid; gap:12px; margin-top:12px; }
.account-form input:not([type="checkbox"]), .account-form select, .account-ui .account-url { width:100%; min-width:0; font-size:16px; }
.account-ui [hidden] { display:none !important; }
.account-ui fieldset { border:1px solid var(--line,#e8d5d1); border-radius:12px; padding:8px 12px; margin:0; }
.account-ui legend { font-weight:700; padding-inline:4px; }
.account-check { display:flex; gap:8px; min-height:44px; align-items:center; }
.account-check input { width:19px; height:19px; accent-color:var(--red,#a7211a); }
.account-row { padding-block:4px; border-bottom:1px solid var(--line,#e8d5d1); overflow-wrap:anywhere; }
.account-ui .account-row:last-child { border-bottom:0; }
.account-row summary { display:flex; align-items:center; justify-content:space-between; gap:12px; cursor:pointer; min-height:48px; }
.account-row summary .account-state::after { content:'⌄'; display:inline-block; margin-inline-start:8px; font-size:16px; }
.account-row[open] summary .account-state::after { transform:rotate(180deg); }
.account-row summary::-webkit-details-marker {display:none;}
.account-state { flex:none; color:var(--muted,#685650); font-size:14px; }
.account-ui .account-row .actions { margin-block:6px 10px; }
.account-ui .account-row p { margin-block:0 4px; }
.account-ui .err:empty, .account-ui [role=status]:empty {display:none;}
.account-result { border:1px solid #c6dcca; background:#f3f8f3; border-radius:14px; padding:14px; }
.account-result input { margin-block:7px; }
.account-pending { color:#694b26; }
.account-entry-link { display:block; color:#7e231b; margin-top:14px; text-align:center; }
.account-ui .actions { display:flex; flex-wrap:wrap; gap:8px; }
.account-ui .button,.account-ui .ghost { min-height:44px; }

.join-page .manager-entry .titlebar h1 { color:#751c18; font-size:clamp(24px,6vw,34px); line-height:1.4; }
.join-page .manager-entry .panel { border:1px solid #e5d4d1; border-radius:20px; background:white; padding:clamp(18px,5vw,32px); }
.join-page .manager-entry .account-form { margin-top:0; }
.join-page .manager-entry .field { display:grid; gap:5px; font-weight:700; }
.join-page .manager-entry .field input { min-height:46px; padding:8px 12px; border:1px solid #c3afaa; border-radius:9px; color:inherit; font-weight:400; }
.join-page .manager-entry .hint { color:#685650; font-size:13px; }
.join-page .manager-entry .err { color:#a21e1b; }
.join-page .manager-entry .button, .join-page .manager-entry .ghost { padding:8px 16px; border:1px solid #a7211a; border-radius:9px; background:#a7211a; color:white; font-weight:700; cursor:pointer; }
.join-page .manager-entry .ghost { background:white; color:#7d1c17; }
.join-page .manager-entry .actions .button { width:100%; }
.join-page .manager-entry button:disabled { opacity:.7; cursor:wait; }

.account-credentials { display:grid; grid-template-columns:auto 1fr; gap:6px 14px; margin:0 0 12px; }
.account-credentials dd { margin:0; font-weight:700; }
.account-result textarea { width:100%; margin-top:10px; font-size:16px; }
