.tool-card[draggable]{cursor:grab}.tool-card.dragging{opacity:.4}.tool-card.drop-target{outline:3px solid #087f92;outline-offset:3px}.tile-help{font-size:13px;color:#526b7b}#tile-save-status{min-height:1.4em;font-size:14px}#tile-save-status.failed{color:#ad2338}#personal-grid[aria-busy="true"]{opacity:.65;pointer-events:none}#tile-visibility{border:0;border-radius:16px;padding:28px;width:min(480px,90vw);max-height:85vh;box-sizing:border-box;color:#142c3c}#tile-visibility::backdrop{background:rgb(10 30 45 / 50%)}.visibility-option{display:flex;gap:12px;align-items:center;padding:12px 0}.visibility-option input{width:21px;height:21px;accent-color:#087f92}#visibility-status{color:#ad2338}.tool-card:focus-visible{outline:3px solid #087f92;outline-offset:3px}

/* Compact Service Tools home. Scope preserves login and administration layouts. */
.portal-shell{width:min(1200px,calc(100% - 32px));margin:16px auto 20px}
.portal-shell>.portal-card{padding:22px;border-radius:16px}
.portal-shell .portal-head{gap:14px;align-items:center}
.portal-shell .portal-head h1{font-size:32px;margin:5px 0 4px}
.portal-shell .portal-head p{font-size:14px}
.portal-shell .portal-actions{margin-top:14px;gap:8px;font-size:13px}
.portal-shell .tile-help{font-size:12px;line-height:1.4;margin:12px 0 8px}
.portal-shell #tile-save-status:empty{display:none}
.portal-shell #tile-save-status:not(:empty){margin:8px 0;min-height:0}
.portal-shell .tools-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.portal-shell .tool-card{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:10px;row-gap:7px;align-items:start;min-height:116px;padding:14px;border-radius:11px;overflow-wrap:anywhere}
.portal-shell .tool-icon{width:36px;height:36px;border-radius:10px;font-size:12px;grid-column:1;grid-row:1 / span 2}
.portal-shell .tool-card h2{grid-column:2;margin:2px 0 0;font-size:17px;line-height:1.25}
.portal-shell .tool-card p{grid-column:2;margin:0;font-size:13px;line-height:1.4}
.portal-shell .tool-card>strong{grid-column:1 / -1;font-size:12px}
.portal-shell .portal-footer{margin-top:12px}
@media(max-width:999px){.portal-shell .tools-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.portal-shell{width:calc(100% - 20px);margin:10px auto 16px}.portal-shell>.portal-card{padding:16px}.portal-shell .portal-head{gap:8px}.portal-shell .portal-head h1{font-size:28px}.portal-shell .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-shell .portal-actions{flex-direction:row;align-items:center;flex-wrap:wrap}.portal-shell .tool-card{min-height:112px;padding:12px}}
@media(max-width:480px){.portal-shell .tools-grid{grid-template-columns:1fr}.portal-shell .tool-card{min-height:0}.portal-shell .tool-card h2{font-size:17px}.portal-shell .account-box{line-height:1.5}}

/* Fehlerkatalog: yellow icon with dark, readable lettering. */
.portal-shell .tool-card[data-tool="fehlerkatalog"] .tool-icon{background:#facc15;color:#172e35}
