.address-login{padding:36px 42px;background:#eee;min-height:calc(100vh - 48px)}.address-login fieldset{width:min(100%,470px);padding:18px 20px;background:#fff;border:1px solid #0000aa;border-radius:5px}.address-login legend{padding:3px 9px;border-top:1px solid #0000aa;border-radius:1em;color:#0000ff;background:#fff;font-size:1.2em}.form-row{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:10px;margin:12px 0}.form-row input,.address-search input{min-width:0;width:100%;padding:7px;border:1px solid #0000aa;background:#f8f8f8;font:inherit}.show-password{margin-left:155px}.login-actions{display:flex;align-items:center;gap:14px;margin:20px 0 0}.login-actions button,.address-contacts button{padding:7px 13px;color:#0000aa;background:#eeeeff;border:1px solid #0000aa;border-radius:3px;font:inherit;cursor:pointer}.login-error,.address-error{color:#a00}.login-error:empty,.address-error:empty{display:none}.protected-note{font-size:2.2em;font-style:italic;color:#e3b8e3}.address-contacts{padding:0 12px 25px;font-size:16px}.address-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#ccccff;padding:4px 10px}.address-heading h2{font-size:20px;margin:0}.address-search{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:18px 0}.address-search input{width:min(100%,330px)}.address-table-wrap{max-width:100%;overflow-x:auto}.address-contacts table{width:100%;border-collapse:collapse}.address-contacts th,.address-contacts td{border:1px solid #ccc;padding:7px 9px;text-align:left;vertical-align:top}.address-contacts th{background:#ddd}.address-contacts tr:nth-child(even){background:#f7f7f7}.address-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}@media(max-width:600px){.address-login{padding:15px 8px}.form-row{display:block}.form-row label{display:block}.show-password{margin-left:0}.protected-note{font-size:1.5em}.address-heading h2{font-size:18px}.address-search{display:block}.address-search>*{display:block;margin:6px 0}.address-contacts{padding:0 6px 18px}}

/* Eigenständiges F3-Adressbuchfenster, in Anlehnung an Peters Eingabe- und Tabellenansicht. */
.address-standalone{margin:0;background:#fff;color:#000;font:16px Arial,Verdana,Helvetica,sans-serif}
.address-standalone .address-login{background:#eee;min-height:100vh;padding:45px 50px;box-sizing:border-box}
.address-standalone .address-login fieldset{background:#fff}
.address-standalone .address-login legend{background:#fff}
.address-standalone .address-contacts{padding:0 8px 30px}
.address-title{margin:0;background:#ccccff;color:#000066;font-size:1.3em;padding:4px 8px}
.address-subtitle{margin:10px 0 2px;color:#ff00ff;font-size:1.1em}
.address-filter{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px}
.address-filter fieldset{background:#eee;border:1px solid #3333ff;border-radius:5px;margin:6px 0;padding:8px 12px;min-width:0}
.address-filter legend{color:#3333ff;border-top:1px solid #3333ff;border-radius:1em;padding:2px 12px}
.address-general{width:min(100%,28em)}
.address-general label{display:grid;grid-template-columns:8em minmax(0,1fr);align-items:center;margin:5px 0}
.address-general input{width:100%;box-sizing:border-box;border:1px solid #888;padding:3px 5px;font:inherit}
.address-flags label{display:block;white-space:nowrap;margin:4px 0}
.address-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:18px 4px}
.address-actions button,.address-button{font:inherit;color:#000;background:#eee;border:1px solid #000;border-radius:3px;padding:4px 12px;text-decoration:none;cursor:pointer}
.address-readonly{max-width:15em;font-size:.85em;color:#555;margin:5px 0}
.address-result-head{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin:15px 0 7px;font-weight:bold}
.address-pager{color:#f3c}
.address-pager a{display:inline-block;margin:0 3px;padding:2px 8px;border:1px solid #3333ff;color:#0000aa;text-decoration:none}
.address-standalone .address-table-wrap{max-width:100%;overflow:auto}
.address-standalone .address-contacts table{width:auto;min-width:100%;border-collapse:collapse;white-space:nowrap}
.address-standalone .address-contacts th{background:#eee;font-weight:normal}
.address-standalone .address-contacts th a{display:block;color:#0000aa;border:1px solid #3333ff;border-radius:3px;padding:3px 6px;text-decoration:none}
.address-standalone .address-contacts td{font-size:.9em;padding:2px 5px;border:1px solid #aaa}
.address-standalone .address-contacts tr:nth-child(even) td:not(.address-placeholder){background:#e8e8ff}
.address-standalone .address-contacts .address-placeholder{background:#fff8ff;min-width:20px}
@media(max-width:600px){.address-standalone .address-login{padding:18px 10px}.address-filter{display:block}.address-general{box-sizing:border-box}.address-general label{grid-template-columns:7em minmax(0,1fr)}.address-actions{flex-direction:row;flex-wrap:wrap;padding:10px 4px}.address-readonly{flex-basis:100%;max-width:none}}

/* Die F3-Leseansicht folgt Peters Adressbuch-Geometrie; keine Alt-Skripte oder Schreibaktionen. */
.address-standalone .address-contacts{padding:0 0 24px;font-size:16px}
.address-contacts .address-title{width:98%;box-sizing:border-box;margin:0 0 8px;padding:3px;background:#ccf;color:#000;font-size:20px}
.address-contacts .address-subtitle{width:98%;box-sizing:border-box;margin:10px 0 8px;padding:3px;background:#ddd;color:#f0f;font-size:18px}
.address-subtitle small{color:#555;font-size:.85em;font-weight:normal;margin-left:3em}
.address-contacts .address-filter{display:flex;align-items:flex-end;flex-wrap:nowrap;gap:1.5em;padding:12px 8px 8px;min-width:max-content}
.address-filter fieldset{box-sizing:border-box;background:#eee;border:1px solid #33f;border-radius:5px;margin:0;padding:8px;font-size:1em}
.address-filter legend{color:#33f;border-top:1px solid #33f;border-radius:1em;padding:2px 12px;background:#eee;font-size:1em}
.address-filter .address-general{width:28em;flex:none;padding-bottom:1em}
.address-general label{display:grid;grid-template-columns:7em 1fr;gap:0;margin:1px 0;line-height:1.2em}
.address-general input{height:1.25em;box-sizing:border-box;border:1px solid #888;padding:0 3px;font:inherit;background:#fff}
.address-flags{flex:none;padding:0 8px 12px!important}
.address-flags label{display:block;white-space:nowrap;margin:0;line-height:1.35em}
.address-flags input{vertical-align:middle;margin:0 3px 0 0}
.address-flags em{font-style:normal;color:#00f}
.address-actions{display:flex;flex:none;flex-direction:column;align-items:stretch;gap:12px;padding:0 0 2px}
.address-actions button,.address-actions .address-button{box-sizing:border-box;width:11em;text-align:center;color:#000;background:#eef;border:1px solid #333;border-radius:4px;padding:1px 4px;font:inherit;text-decoration:none;cursor:pointer}
.address-actions .address-filter-submit{border-color:#f55;outline:8px solid #fdf}
.address-contact-help{white-space:nowrap;align-self:flex-end;margin:0 0 5px;font-size:.9em}
.address-book-heading{box-sizing:border-box;width:98%;margin:10px 0 0;padding:3px;background:#ddd;color:#f3c;font-size:18px}
.address-book-heading small{margin-left:1em;font-size:.85em;font-weight:normal}.address-book-heading strong{color:red;font-weight:normal}
.address-paging{display:flex;align-items:center;gap:2.5em;box-sizing:border-box;width:98%;padding:3px 1em;margin:0 0 8px;background:#f8f8f8;white-space:nowrap;font-size:1.1em}
.address-paging-bottom{margin-top:32px}.address-pager-label{color:#f3c}.address-pager-links{display:flex;gap:.8em}.address-pager-links a,.address-pager-links span{display:inline-block;min-width:1.7em;text-align:center;background:#ccc;color:#000;text-decoration:none;border:1px solid transparent;border-radius:2px}.address-pager-links a{background:#eef;border-color:#f3c}.address-page-size{display:flex;gap:.25em}.address-page-size a{color:#000;text-decoration:none;padding:1px 3px}.address-page-size a::before{content:'◯';color:#888;margin-right:2px}.address-page-size a.is-current::before{content:'◉';color:#06f}
.address-standalone .address-contacts table{width:auto;min-width:98%;border-collapse:collapse;white-space:nowrap}
.address-standalone .address-contacts th,.address-standalone .address-contacts td{font-size:.9em;padding:2px 5px}
.address-standalone .address-contacts td{border:1px solid #333;text-align:center}
.address-standalone .address-contacts tbody tr:nth-child(odd) td:not(.address-placeholder){background:#f8f8f8}
.address-standalone .address-contacts tbody tr:nth-child(even) td:not(.address-placeholder){background:#e8e8ff}
.address-standalone .address-contacts th{border:0;background:#fff;font-weight:normal}
.address-standalone .address-contacts th a,.address-mode .address-disabled,.address-sort .address-disabled{display:inline-block;min-width:5em;padding:1px 5px;border:1px solid #f3c;border-radius:4px;background:#f8f8f8;color:#000;text-align:center;text-decoration:none}
.address-standalone .address-contacts .address-mode th{height:2.8em;background:#fff;color:#f3c}
.address-standalone .address-contacts .address-mode th:first-child,.address-standalone .address-contacts .address-mode th:nth-child(2),.address-standalone .address-contacts .address-mode th:nth-child(3){background:#fdf}
.address-mode .address-disabled{color:#777;border-color:#bbb;cursor:not-allowed}
.address-standalone .address-contacts .address-sort th{height:2em;background:#fdf;color:#f3c}
.address-standalone .address-contacts .address-sort th a{color:#000;border-color:#f3c}
.address-standalone .address-contacts .address-placeholder{background:#fff8ff;min-width:22px}
.address-placeholder .address-disabled{display:inline-block;border:1px solid #66f;border-radius:4px;padding:0 3px;color:#777}
.address-contacts .address-readonly{max-width:none;margin:16px 8px;color:#555;font-size:.85em}
@media(max-width:850px){.address-contacts .address-filter{min-width:0;flex-wrap:wrap;align-items:flex-start;gap:12px}.address-filter .address-general{width:min(100%,28em)}.address-filter .address-roles,.address-filter .address-interests{align-self:flex-end}.address-contact-help{align-self:auto}.address-paging{overflow-x:auto;gap:1em}.address-contacts .address-subtitle small{display:block;margin-left:0}}
