.auth-panel{max-width:720px;margin:20px auto}.auth-panel h1{margin-top:20px}.auth-panel form{max-width:480px;margin:20px auto}.auth-panel input,.account-profile input{width:100%;font-size:16px}.auth-panel form>button{width:100%;margin-top:8px}.auth-choices{display:grid;grid-template-columns:1fr 1fr;gap:16px}.auth-choice{display:flex;flex-direction:column;gap:12px;border:1px solid var(--line);border-radius:16px;padding:24px;background:var(--cell)}.auth-choice:hover{border-color:var(--accent)}.auth-choice strong{font-size:22px}.auth-choice span{color:var(--muted)}.auth-error,.field-error{color:var(--ink);overflow-wrap:anywhere}.field-error{display:block;font-size:14px;font-weight:400;margin-top:5px}.field-error:empty,.auth-error:empty{display:none}.auth-error:not(:empty){padding:12px;border-left:3px solid var(--accent);background:var(--wash)}input[aria-invalid=true]{border-color:var(--accent)}@media(max-width:720px){.auth-choices{grid-template-columns:1fr}.auth-panel{margin:0 auto}.auth-choice{padding:20px}.auth-panel h1{font-size:32px}}
.account-heading,.ticket-actions,.account-person {display:flex;align-items:center;gap:14px}
.account-heading {justify-content:space-between;flex-wrap:wrap;margin:6px 0 24px}
.account-heading h1,.account-ticket h2,.account-profile h2 {margin:0}
.account-heading>a,.ticket-actions a,.account-empty a {display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:650;color:var(--accent)}
.account-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,.53fr);gap:clamp(16px,2.5vw,32px);align-items:start}
.account-events {display:grid;gap:14px}
.account-ticket {--tint:color-mix(in srgb,var(--signal,var(--accent)) 12%,var(--surface));display:grid;grid-template-columns:clamp(68px,8vw,108px) minmax(0,1fr);border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface)}
.ticket-date {display:flex;align-items:center;flex-direction:column;padding:24px 4px;background:var(--tint);border-inline-end:1px dashed color-mix(in srgb,var(--signal,var(--accent)) 38%,var(--line));line-height:1.1}
.ticket-date strong {font-size:clamp(32px,4vw,52px);letter-spacing:-.06em}
.ticket-date span {font-weight:700;text-transform:uppercase;font-size:13px;letter-spacing:.07em;margin:4px 0 7px}
.ticket-date small,.ticket-meta,.account-contacts dt,.account-person div span {color:var(--muted)}
.ticket-body {min-width:0;padding:clamp(16px,2vw,24px)}
.ticket-category,.ticket-status {display:flex;align-items:center;gap:7px;font-size:13px;font-weight:650}
.ticket-category::before,.ticket-status::before {content:"";height:8px;width:8px;border-radius:50%;flex:none;background:var(--signal,var(--accent))}
.account-ticket h2 {margin:10px 0 6px;font-size:clamp(21px,2vw,28px);overflow-wrap:anywhere;text-wrap:pretty}
.ticket-meta {margin:0;font-size:16px;overflow-wrap:anywhere}
.ticket-status {margin:16px 0 10px}
.ticket-status::before {width:6px;height:6px;background:#4c915d}
.ticket-status.cancelled::before {background:var(--muted)}
.ticket-actions {justify-content:space-between;flex-wrap:wrap;border-top:1px solid var(--line);gap:0 12px}
.ticket-actions button {border:0;padding:6px 0;background:none;color:var(--muted);font-size:14px}
.ticket-actions button:hover {text-decoration:underline;color:var(--ink)}
.account-profile {padding:clamp(18px,2vw,26px);min-width:0;background:linear-gradient(140deg,var(--wash),var(--surface) 52%)}
.account-profile h2,.account-empty h2,.account-messages h2 {font-size:24px}
.account-person {margin:20px 0;overflow-wrap:anywhere}
.account-person div {min-width:0}.account-person div span {display:block;font-size:14px}
.account-person strong {display:block;font-size:19px;line-height:1.2;margin-bottom:4px}
.account-avatar {display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:50%;background:var(--wash);color:var(--accent);font-weight:750}
.account-contacts {margin:0;padding:16px 0;border-block:1px solid var(--line)}
.account-contacts dt {font-size:13px}
.account-contacts dd {margin:2px 0 12px;overflow-wrap:anywhere}.account-contacts dd:last-child {margin-bottom:0}
.account-profile summary {cursor:pointer;min-height:44px;padding-top:13px;font-weight:650;color:var(--accent)}
.account-profile summary:focus-visible {outline:2px solid var(--focus)}
.account-profile form>button {width:100%}
.account-profile .profile-result:empty,.account-agenda>.auth-error:empty {display:none}
.account-messages {margin-top:16px;overflow-wrap:anywhere}
@media(max-width:800px){.account-layout{grid-template-columns:minmax(0,1fr)}.account-heading{margin:0 0 12px;gap:0 16px}.account-profile{width:100%}}
@media(max-width:450px){.account-ticket{grid-template-columns:62px minmax(0,1fr)}.ticket-body{padding:14px}.ticket-actions{gap:0 8px}.ticket-actions a,.ticket-actions button{font-size:14px}}
