* { box-sizing: border-box; }
body { margin: 0; background: #ece9f7; font-family: "Segoe UI", Roboto, Arial, sans-serif; color: #202124; }
.wrap { max-width: 680px; margin: 24px auto; padding: 0 12px 40px; }
.card { background: #fff; border: 1px solid #dadce0; border-radius: 8px; padding: 22px 24px; margin-bottom: 12px; }
.card.head { border-top: 10px solid #5b4fe0; }
.card.head h1 { font-size: 28px; font-weight: 400; margin: 0 0 10px; }
.card.head p { margin: 4px 0; font-size: 14px; }
.req-note { color: #d93025; padding-top: 10px; border-top: 1px solid #dadce0; margin-top: 14px !important; }
.req { color: #d93025; }
label { display: block; font-size: 16px; margin-bottom: 14px; }
input[type=text], select { font: inherit; font-size: 14px; border: none; border-bottom: 1px solid #dadce0; padding: 6px 0; width: 60%; outline: none; background: transparent; }
input[type=text]:focus { border-bottom: 2px solid #5b4fe0; }
select { width: auto; min-width: 200px; border: 1px solid #dadce0; border-radius: 4px; padding: 10px 8px; }
.hint { font-size: 12px; color: #5f6368; margin: -6px 0 12px; }
.btn-outline { font: inherit; font-size: 14px; color: #1a73e8; background: #fff; border: 1px solid #dadce0; border-radius: 4px; padding: 8px 14px; cursor: pointer; }
.btn-outline:hover { background: #f4f8fe; }
.file-info { font-size: 14px; padding: 10px 12px; background: #f8f9fa; border-radius: 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; word-break: break-all; }
.muted { color: #5f6368; font-size: 13px; }
.link { background: none; border: none; color: #5b4fe0; font: inherit; font-size: 14px; cursor: pointer; text-decoration: none; padding: 0; }
.actions { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.btn { background: #5b4fe0; color: #fff; border: none; border-radius: 4px; padding: 10px 24px; font: inherit; font-size: 14px; cursor: pointer; }
.btn:disabled { opacity: .7; cursor: wait; }
.err { display: none; color: #d93025; font-size: 12px; margin-top: 10px; }
.err.show { display: block; }
.card.invalid { border-color: #d93025; }
.progress-wrap { margin-top: 14px; }
.progress { height: 8px; background: #e8e6f8; border-radius: 4px; overflow: hidden; }
#bar { height: 100%; width: 0; background: #5b4fe0; transition: width .2s; }
.progress-text { font-size: 13px; margin-top: 6px; display: flex; justify-content: space-between; }
.form-msg { margin-top: 12px; padding: 12px 14px; background: #fce8e6; color: #b3261e; border-radius: 6px; font-size: 14px; }
.done { border-top: 10px solid #1e8e3e; }
.done h2 { font-weight: 400; margin-top: 0; }
@media (max-width: 560px) { input[type=text] { width: 100%; } select { width: 100%; } }

/* admin */
.admin { max-width: 1200px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid #eee; vertical-align: top; }
th { background: #f6f5fd; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filters input, .filters select { width: auto; min-width: 160px; border: 1px solid #dadce0; border-radius: 4px; padding: 8px; }
.topbar { display: flex; justify-content: space-between; align-items: center; }
.table-scroll { overflow-x: auto; }
