* { box-sizing: border-box; }
body {
    font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #eef1f5;
    margin: 0;
    padding: 0;
    color: #222;
}
.wrap {
    max-width: 480px;
    margin: 60px auto;
    padding: 32px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.wrap.wide { max-width: 760px; }
h1 { font-size: 22px; margin-top: 0; }
label { display: block; margin: 14px 0 4px; font-size: 14px; font-weight: 600; color: #444; }
input[type=text], input[type=password], input[type=color] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccd2da;
    border-radius: 6px;
    font-size: 15px;
}
input[type=color] { padding: 4px; height: 42px; cursor: pointer; }
button, .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 18px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
}
button:hover, .btn:hover { background: #1d4ed8; }
.btn.danger { background: #dc2626; }
.btn.danger:hover { background: #b91c1c; }
.btn.secondary { background: #6b7280; }
.btn.secondary:hover { background: #4b5563; }
.error { background: #fde8e8; color: #9b1c1c; padding: 10px 14px; border-radius: 6px; margin-bottom: 10px; font-size: 14px; }
.success { background: #e6f9ee; color: #146c43; padding: 10px 14px; border-radius: 6px; margin-bottom: 10px; font-size: 14px; }
.hint { font-size: 13px; color: #777; margin-top: 4px; }
table { width: 100%; border-collapse: collapse; margin-top: 16px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #e5e7eb; font-size: 14px; }
th { color: #555; font-size: 13px; text-transform: uppercase; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; background: #e0e7ff; color: #3730a3; }
.menu-item { display: flex; align-items: center; justify-content: space-between; padding: 16px; border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 12px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.topbar span { font-size: 14px; color: #555; }
form.inline { display: inline; }
