:root { font-family: Arial, sans-serif; color: #172336; background: #f3f7fb; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: #176ed2; }
.shell { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.site-header { background: #fff; border-bottom: 1px solid #dbe5f0; }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { text-decoration: none; font-size: 18px; font-weight: 700; color: #172336; }
.brand-mark { color: #08a690; margin-right: 8px; }
.account { display: flex; align-items: center; gap: 18px; color: #53647a; font-size: 14px; }
.text-button { border: 0; padding: 8px 0; color: #176ed2; background: transparent; cursor: pointer; font: inherit; }
.page-main { padding: 36px 0 64px; }
.eyebrow { color: #176ed2; font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
h1 { margin: 6px 0 10px; font-size: clamp(28px, 4vw, 38px); line-height: 1.15; }
h2 { margin: 0 0 6px; font-size: 19px; }
.page-heading { margin-bottom: 25px; }
.page-heading > p:last-child, .section-heading p, .muted { color: #617189; }
.panel, .auth-card { background: #fff; border: 1px solid #dfE7f0; border-radius: 17px; box-shadow: 0 10px 28px rgba(22, 49, 82, .06); padding: 28px; }
.panel + .panel { margin-top: 18px; }
.auth-card { max-width: 430px; margin: 7vh auto 0; }
.auth-card form { display: grid; gap: 10px; margin-top: 24px; }
.auth-card button { margin-top: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.wide { grid-column: 1 / -1; }
.recording-field { padding: 18px; border: 1px dashed #cdd9e8; border-radius: 10px; background: #f8fafc; }
.recording-field .muted { font-size: 13px; font-weight: normal; }
input[type=file] { min-width: 0; font-size: 14px; }
input[type=file]::file-selector-button { border: 0; border-radius: 6px; padding: 8px 12px; margin-right: 12px; background: #e9f1fb; color: #176ed2; cursor: pointer; }
label { font-size: 14px; font-weight: 700; }
input:not([type=hidden]), textarea { width: 100%; border: 1px solid #cdd9e8; border-radius: 9px; padding: 12px 13px; font: inherit; color: #172336; background: #fff; }
textarea { resize: vertical; min-height: 120px; }
input:focus, textarea:focus { outline: 2px solid #9cc8f6; border-color: #176ed2; }
.required, .field-error, .validation-summary { color: #b43045; }
.field-error { font-size: 12px; }
.validation-summary:empty { display: none; }
.form-actions, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-actions { margin-top: 24px; border-top: 1px solid #e8eef5; padding-top: 20px; }
.form-actions span { font-size: 13px; color: #617189; }
.button-primary, .button-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 9px; padding: 10px 18px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap; }
.button-primary { color: #fff; background: #172336; border: 1px solid #172336; }
.button-primary:disabled { opacity: .55; cursor: not-allowed; }
.button-secondary { color: #172336; background: #fff; border: 1px solid #cdd9e8; }
.notice { display: grid; gap: 6px; margin-bottom: 20px; padding: 15px 17px; border-radius: 10px; font-size: 14px; }
.notice.success { background: #e8f7f2; color: #096b4c; }
.notice.warning { background: #fff3df; color: #784816; }
.history { margin-top: 18px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 10px; text-align: left; border-bottom: 1px solid #e9eef4; }
th { color: #60728a; font-size: 12px; text-transform: uppercase; }
.mono { font-family: Consolas, monospace; font-size: 12px; }
@media (max-width: 700px) {
    .page-main { padding-top: 22px; }
    .panel, .auth-card { padding: 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-actions, .section-heading { align-items: stretch; flex-direction: column; }
    .account { gap: 10px; }
}
