/* railbox Admin-UI im Stil des viscom-module-pack (VMP) */
*{box-sizing:border-box}
body{margin:0;background:#fff;color:#0d0d1a;font-family:"Segoe UI",Arial,sans-serif;font-size:14px;line-height:18px;letter-spacing:.16px}
a{color:#329e9b}
h1,h2,p{margin:0}

/* Topbar */
.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;height:40px;padding:0 32px;background:#fff;border-bottom:1px solid #cbcbdb}
.crumb{color:#5e5e6c;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crumb a{color:#5e5e6c;text-decoration:none}
.crumb a:hover{color:#273474}
.crumb .cur{color:#0d0d1a;font-weight:600}
.crumb .sep{margin:0 6px;color:#a6a6b5}
.topbar-actions{display:flex;align-items:center;gap:8px}
.topbar-actions form{margin:0}

/* Seitenkopf */
.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px 32px 16px;border-bottom:1px solid #dedfef}
.page-head h1{font-size:28px;line-height:36px;font-weight:600}
.page-head .subtitle{margin-top:4px;font-size:14px;line-height:20px;color:#5e5e6c}
.content{padding:32px;background:#fff}
.content h2{font-size:20px;line-height:28px;font-weight:600;margin:32px 0 8px}
.content h2.first{margin-top:0}
.content .form-narrow{max-width:448px}
.content-narrow{max-width:520px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 16px;border:0;border-radius:0;background:transparent;color:#273474;font:500 14px/18px "Segoe UI",Arial,sans-serif;letter-spacing:.16px;text-decoration:none;cursor:pointer;white-space:nowrap;transition:all .25s ease}
.btn-primary{background:#329e9b;color:#fff}
.btn-primary:hover{background:#1f8d88}
.btn-navy{background:#1b245d;color:#fff}
.btn-ghost{color:#273474}
.btn-ghost:hover{background:rgba(133,133,148,.12)}
.btn-sm{height:32px}
.btn svg,.iconbtn svg{flex:none}
.iconbtn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:0;background:transparent;color:#273474;cursor:pointer;text-decoration:none;transition:all .25s ease}
.iconbtn:hover{background:rgba(133,133,148,.12)}
.iconbtn-danger{color:#cc0000}
.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px}
.row-actions form{margin:0}
svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Tags */
.tag{display:inline-flex;align-items:center;height:24px;padding:0 10px;border:1px solid;border-radius:16px;font-size:12px;line-height:16px;letter-spacing:.32px;white-space:nowrap}
.tag-green{background:#e9fae6;color:#00a700;border-color:#b5e8ac}
.tag-yellow{background:#fdf7df;color:#f29a00;border-color:#f1e3a8}

/* Tabellen */
.table-wrap{border:1px solid #cbcbdb;overflow-x:auto}
table{width:100%;border-collapse:collapse}
th{background:#dedfef;border-bottom:1px solid #cbcbdb;font-weight:600;font-size:14px;line-height:16px;text-align:left;padding:11px 16px;white-space:nowrap}
td{color:#5e5e6c;font-size:14px;padding:11px 16px;border-bottom:1px solid #dedfef;text-align:left;vertical-align:middle}
tbody tr:last-child td{border-bottom:0}
th.num,td.num{text-align:right}
td.num.zero,.zero{color:#a6a6b5}
td.bad,.bad{color:#cc0000;font-weight:600}
td.err{color:#cc0000;max-width:320px;word-break:break-word}
.cell-main{font-weight:600;color:#0d0d1a}
.cell-sub{font-size:12px;line-height:16px;color:#858594;letter-spacing:.32px}
.cell-link{font-weight:600;color:#329e9b;text-decoration:none}
.cell-link:hover{color:#1f8d88}
.cell-link.zero{color:#a6a6b5}
td.actions{text-align:right;white-space:nowrap}
code{font-family:Consolas,"Courier New",monospace;font-size:12px;background:#f5f5ff;padding:1px 6px}
.note{margin-top:8px;font-size:12px;line-height:16px;color:#858594;letter-spacing:.32px}
.empty{padding:16px 0;font-size:12px;line-height:16px;color:#858594;letter-spacing:.32px}

/* Formulare */
label{display:block;margin-top:16px;font-size:12px;line-height:16px;color:#5e5e6c;letter-spacing:.32px}
label.check{display:flex;align-items:center;gap:8px;font-size:14px;line-height:18px;color:#0d0d1a}
input[type=text],input[type=number],input[type=password]{display:block;width:100%;height:40px;margin-top:4px;padding:0 12px;border:0;border-bottom:1px solid #858594;border-radius:0;background:#f5f5ff;color:#0d0d1a;font:400 14px/18px "Segoe UI",Arial,sans-serif;letter-spacing:.16px}
input:focus{outline:2px solid #329e9b;outline-offset:-2px}
input[readonly]{background:#ececf4;color:#5e5e6c}
input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#329e9b}
.form-actions{display:flex;align-items:center;gap:8px;margin-top:24px}
.form-actions form{margin:0}
.hint{margin-top:4px;font-size:12px;line-height:16px;color:#858594;letter-spacing:.32px}
.error{margin-top:16px;color:#cc0000;font-size:14px;line-height:18px}
.ok{margin-top:16px;color:#00a700;font-size:14px;line-height:18px}

/* Login */
.centered{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px 16px;background:#f5f5ff}
.card{width:100%;max-width:384px;padding:32px;background:#fff;border:1px solid #cbcbdb}
.card h1{font-size:28px;line-height:36px;font-weight:600}
.card .btn{width:100%;margin-top:24px}
