:root { font-family: system-ui, sans-serif; color: #172e35; background: #f3f6f5; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 760px; margin: auto; padding: 48px 24px; }
header, .section-heading, .header-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-tools { gap: 10px; }
.brand { font-size: 12px; letter-spacing: .14em; font-weight: 750; }
.badge { border: 1px solid #cddbd6; border-radius: 20px; padding: 7px 12px; font-size: 12px; }
h1 { font-size: clamp(36px, 7vw, 54px); line-height: 1.12; letter-spacing: -.045em; margin: 60px 0 18px; }
.intro { color: #53686b; font-size: 18px; line-height: 1.6; max-width: 580px; margin-bottom: 32px; }
section { background: white; padding: 30px; border: 1px solid #dbe4e0; border-radius: 16px; box-shadow: 0 12px 40px #173e3010; }
h2 { font-size: 20px; margin: 0 0 24px; }
.section-heading { margin-bottom: 24px; }
.section-heading h2 { margin: 0; }
label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 10px; }
input { width: 100%; border: 1px solid #b6c8c1; border-radius: 8px; padding: 13px; font: inherit; color: inherit; background: #fcfdfc; }
input[type=file] { padding: 24px 16px; border-style: dashed; }
input::file-selector-button { padding: 8px 12px; margin-right: 12px; border: 0; border-radius: 5px; background: #e5eee9; color: #172e35; cursor: pointer; }
.hint { font-size: 13px; line-height: 1.6; color: #53686b; margin: 10px 0 24px; }
.optional { font-weight: 400; color: #637974; margin-left: 5px; }
button { font: inherit; font-weight: 650; background: #176448; color: white; border: 0; border-radius: 8px; padding: 13px 20px; cursor: pointer; }
button:hover { background: #114d37; }
button:disabled { opacity: .6; cursor: wait; }
.secondary { background: #edf3ef; color: #244c3d; font-size: 13px; padding: 9px 12px; }
.secondary:hover { background: #dce9e1; }
.danger { background: #a52b25; font-size: 13px; padding: 9px 12px; }
.danger:hover { background: #86201b; }
.row { display: flex; gap: 10px; align-items: stretch; }
.row input { flex: 1; min-width: 0; }
.row button { white-space: nowrap; }
#secret-box { margin: 0 0 28px; padding: 16px; border: 1px solid #e6c46a; border-radius: 10px; background: #fff8e4; }
.secret-title { margin: 0 0 12px; font-size: 14px; font-weight: 650; }
#secret { flex: 1; min-width: 0; padding: 12px; border-radius: 8px; background: white; border: 1px solid #e6c46a; font-size: 13px; overflow-wrap: anywhere; user-select: all; }
#token-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px; }
#token-table th, #token-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #e3ebe7; vertical-align: middle; }
#token-table th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #637974; }
#token-table td:first-child { font-weight: 650; overflow-wrap: anywhere; }
#token-table .actions { text-align: right; white-space: nowrap; }
#token-table .actions button { margin-left: 6px; }
:focus-visible { outline: 3px solid #64a58b; outline-offset: 3px; }
#status { line-height: 1.6; font-size: 14px; overflow-wrap: anywhere; }
#status.error { color: #a52b25; }
a { color: #176448; }
footer { margin-top: 48px; font-size: 12px; color: #637974; }
[hidden] { display: none !important; }
@media(max-width: 520px) { main { padding: 28px 18px; } .badge { display: none; } section { padding: 22px; } .section-heading { align-items: flex-start; } #token-table th:nth-child(2), #token-table td:nth-child(2) { display: none; } }
