*{box-sizing:border-box}body{margin:0;font:15px/1.55 system-ui,Segoe UI,sans-serif;background:#f3f6fb;color:#15243d}header{background:#12243e;color:white;padding:18px 28px}header a{color:#cde3ff;margin-right:20px}main{max-width:1100px;margin:30px auto;padding:0 18px}.card{background:white;border:1px solid #dce4ef;border-radius:13px;padding:22px;margin:18px 0;box-shadow:0 3px 14px #13233d09}h1{font-size:26px}h2{font-size:20px}input,select,textarea{font:inherit;border:1px solid #b9c6d8;border-radius:7px;padding:9px;width:100%;margin:5px 0 13px}input[type=checkbox]{width:auto}button,.btn{background:#245db2;color:white;border:0;border-radius:7px;padding:10px 15px;cursor:pointer;text-decoration:none;display:inline-block}button.danger{background:#a5313b}table{width:100%;border-collapse:collapse}td,th{padding:10px;text-align:left;border-bottom:1px solid #e1e7ef;word-break:break-word}small,.muted{color:#64748b}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:15px}.alert{background:#fff5d9;border:1px solid #ead69a;padding:12px;border-radius:8px}.ok{background:#e7f6ee;border:1px solid #a5d9b8;padding:12px;border-radius:8px}.pill{display:inline-block;background:#e3eafa;border-radius:30px;padding:3px 10px}label{font-weight:600}.wrap{overflow:auto}a{color:#245db2}@media(max-width:600px){header{padding:15px}table{font-size:12px}td,th{padding:6px}}
/* V1.0.2 Kurzlinkverwaltung */
.links-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.links-heading h2{margin:0}.links-heading p{margin:4px 0 14px}.links-table-wrap{width:100%;overflow-x:auto}.links-table{table-layout:fixed;min-width:760px}.links-table th:nth-child(1){width:24%}.links-table th:nth-child(2){width:37%}.links-table th:nth-child(3){width:12%}.links-table th:nth-child(4){width:9%}.links-table th:nth-child(5){width:18%}.links-table td,.links-table th{word-break:normal;overflow-wrap:normal;vertical-align:middle;padding:14px 10px}.link-main{display:flex;flex-direction:column;gap:4px;min-width:0}.link-slug{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.link-title{font-size:13px;color:#51627a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.target-url{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;max-width:100%;text-decoration:none}.target-url:hover{text-decoration:underline}.status-chip{display:inline-block;border-radius:99px;padding:3px 9px;font-size:12px;font-weight:700}.is-active{background:#e2f5e9;color:#146c3b}.is-inactive{background:#f0f1f4;color:#596579}.redirect-code{display:block;font-size:12px;margin-top:4px}.hit-count{font-variant-numeric:tabular-nums}.link-actions{display:flex;gap:6px;flex-wrap:wrap}.btn-outline{background:white;color:#245db2;border:1px solid #b8c8df;padding:7px 9px;font-size:13px}.btn-outline:hover{background:#eaf1fb}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkbox-row{display:flex;gap:22px;margin:10px 0 18px}.delete-form{margin-top:18px}.link-editor{scroll-margin-top:18px}
@media(max-width:800px){.links-table{min-width:0;display:block}.links-table thead{display:none}.links-table tbody{display:grid;gap:12px}.links-table tr{display:block;border:1px solid #dce4ef;border-radius:10px;padding:12px}.links-table td{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:7px 0;border:0;min-width:0}.links-table td::before{content:attr(data-label);font-size:12px;font-weight:700;color:#64748b;flex:0 0 80px}.links-table td>*{min-width:0}.links-table td:nth-child(1) .link-main,.links-table td:nth-child(2) .target-url{flex:1}.link-actions{justify-content:flex-end}.links-panel{padding:16px}.form-grid{grid-template-columns:1fr}}
