/* The Android staff card, fields and ledger rows use the shared phone tokens. */
.mary-web-account #accountStaff{padding:0;border:0;background:transparent;box-shadow:none}
.mary-web-account #staffRows{display:grid;gap:12px;margin-block:16px}
.mary-web-account .staff-browser-card{display:block;padding:16px;min-width:0}
.mary-web-account .staff-browser-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-block-end:12px}
.mary-web-account .staff-browser-card h3{margin:0 0 4px;font-size:17px;color:var(--ink)}
.mary-web-account .staff-browser-role{margin:0;font-size:13px;color:var(--muted)}
.mary-web-account .staff-browser-card .mary-ledger-rows{margin-block-end:12px}
.mary-web-account .staff-browser-actions{display:flex;flex-wrap:wrap;gap:8px;margin-block:16px}
.mary-web-account .staff-browser-invitations,.mary-web-account .staff-browser-devices{margin-block-start:20px}
.mary-web-account #staffDetail,.mary-web-account #staffEditor{margin-block:16px;background:var(--surface);border-radius:16px;padding:16px}
.mary-web-account #staffFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-block:16px}
.mary-web-account #staffFields .ifield{display:flex;flex-direction:column;gap:6px;min-width:0}
.mary-web-account #staffFields input,.mary-web-account #staffFields select{width:100%;min-height:44px;font:inherit;border:1px solid var(--line);border-radius:12px;padding:10px 12px;color:var(--ink);background:var(--surface)}
.mary-web-account #staffFields input[type=checkbox]{width:24px;min-height:24px;height:24px;accent-color:var(--ink)}
.mary-web-account #staffFields .ifield:has(input[type=checkbox]){grid-column:1/-1;flex-direction:row;align-items:center;min-height:44px;cursor:pointer}
.mary-web-account #accountStaff .mary-ledger-row{flex-wrap:wrap;gap:8px;min-width:0}
.mary-web-account #accountStaff bdi{overflow-wrap:anywhere;unicode-bidi:isolate}
.mary-web-account #accountStaff button{min-height:44px}
.mary-web-account #accountStaff button:focus-visible,.mary-web-account #accountStaff input:focus-visible,.mary-web-account #accountStaff select:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.mary-web-account #accountStaff [role=alert],.mary-web-account .staff-browser-danger{color:var(--neg)}
.mary-web-account #accountStaff [role=alert]{scroll-margin-block:24px}
.mary-web-account #accountStaff button:disabled{opacity:.55;cursor:wait}
.mary-web-account #accountStaff h4{margin:0 0 10px;font-size:16px}
.mary-web-account #staffNotice,.mary-web-account #staffEditorNotice{line-height:1.7;overflow-wrap:anywhere}
.mary-web-account #staffEditor[data-mode=create] #staffFields{grid-template-columns:minmax(0,1fr);gap:13px}
.mary-web-account #staffEditor[data-mode=create] .ifsec{margin:0;min-width:0}
.mary-web-account #staffEditor[data-mode=create] .ifsec-b{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.mary-web-account #staffEditor[data-mode=create] .staff-browser-wide,.mary-web-account #staffEditor[data-mode=create] .mary-ledger-rows,.mary-web-account #staffEditor[data-mode=create] .ifsec-b>p{grid-column:1/-1}
.mary-web-account #staffEditor[data-mode=create] .hint{margin:0;line-height:1.7;overflow-wrap:anywhere}
.mary-web-account .staff-browser-create{white-space:normal}
.mary-web-account .staff-browser-transfers{display:grid;gap:12px;margin-block-start:24px;min-width:0}
.mary-web-account .staff-browser-transfers .ivc{display:block;padding:16px;min-width:0}
.mary-web-account .staff-browser-transfers .ivc>.btn{margin-block-start:12px}
.mary-web-account .staff-browser-transfers summary{min-height:44px;display:flex;align-items:center;cursor:pointer;overflow-wrap:anywhere;gap:8px}
.mary-web-account .staff-browser-transfers summary::before{content:'▸';color:var(--muted)}
.mary-web-account .staff-browser-transfers details[open]>summary::before{content:'▾'}
.mary-web-account .staff-browser-transfers summary:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.mary-web-account .staff-browser-transfers p{margin:0;line-height:1.7}
@media(min-width:720px){.mary-web-account #staffRows{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:479px){.mary-web-account #staffFields{grid-template-columns:minmax(0,1fr)}.mary-web-account #staffEditor[data-mode=create] .ifsec-b{grid-template-columns:minmax(0,1fr)}.mary-web-account .staff-browser-actions .btn{flex:1 1 140px}.mary-web-account .staff-browser-card-head{flex-wrap:wrap}}
