* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background: #f0f4f9; color: #1c2b3a; padding: 20px; }
.pre-auth { visibility: hidden; }
.is-hidden { display: none; }
.container { max-width: 760px; margin: 0 auto; }
.header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; background: linear-gradient(135deg, #1a73e8, #0d47a1); color: #fff; padding: 18px 22px; border-radius: 16px; margin-bottom: 16px; }
.header h1 { font-size: 22px; }
.header a { color: #fff; text-decoration: none; margin-inline-start: 12px; font-size: 14px; }
.card { background: #fff; border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.card h2 { font-size: 17px; margin-bottom: 10px; color: #0d47a1; }
.hint { font-size: 13px; color: #5a6b7c; margin-top: 8px; line-height: 1.6; }
.row { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.row input { flex: 1; min-width: 200px; padding: 10px 12px; border: 2px solid #dde5ef; border-radius: 10px; font-size: 14px; }
.row input:focus { outline: none; border-color: #1a73e8; }
button { padding: 10px 16px; border: none; border-radius: 10px; background: #1a73e8; color: #fff; font-size: 14px; cursor: pointer; }
button:hover { background: #1558b0; }
button:disabled { opacity: .55; cursor: not-allowed; }
button.secondary { background: #eef3fb; color: #1a73e8; border: 1px solid #c5d6f2; }
button.danger { background: #fde8e8; color: #b3261e; border: 1px solid #f3c1be; padding: 6px 12px; }
.item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eef2f7; }
.item:last-child { border-bottom: none; }
.item .name { font-weight: 600; }
.item .meta { font-size: 12px; color: #5a6b7c; margin-top: 2px; }
.pill { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 99px; background: #e8f0fe; color: #1a73e8; margin-inline-start: 6px; }
.pill.warn { background: #fff4e0; color: #9a5b00; }
.pill.ok { background: #e6f4ea; color: #137333; }
.msg { min-height: 24px; font-size: 14px; padding: 8px 4px; }
.msg.err { color: #b3261e; }
.msg.okmsg { color: #137333; }
