/* Event documents and useful links, scoped to their forms and public cards. */
.event-resource-fields [hidden] { display:none !important; }
.event-resource-form { background:#fff; padding:24px; margin:24px 0; border:1px solid #e2e8f0; border-radius:16px; color:#1f2937; box-shadow:0 3px 14px #0f172a06; }
.resource-form-heading { display:flex; align-items:start; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.resource-form-heading h3 { font-size:18px; font-weight:700; margin:0 0 7px; }
.resource-form-heading h3 i { color:#2563eb; margin-right:5px; }
.resource-form-heading p, .resource-form-help { font-size:13px; line-height:1.6; color:#64748b; margin:0 0 12px; }
.event-resource-fields button { font-size:13px; font-weight:600; padding:9px 13px; border:1px solid #cbd5e1; border-radius:7px; background:#fff; color:#334155; cursor:pointer; min-height:40px; }
.event-resource-fields button:hover { border-color:#93c5fd; background:#eff6ff; }
.event-resource-fields button:disabled { opacity:.5; cursor:default; }
.resource-input-row { border:1px solid #e2e8f0; border-radius:10px; background:#f8fafc; padding:16px; margin:14px 0; }
.resource-row-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.resource-row-heading strong { font-size:14px; }
.resource-row-heading button { color:#b91c1c; font-size:12px; padding:5px 10px; min-height:36px; }
.resource-input-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.resource-input-full { grid-column:1/-1; }
.resource-input-grid label { display:block; font-size:13px; font-weight:600; margin-bottom:6px; }
.resource-input-grid input { display:block; box-sizing:border-box; width:100%; max-width:100%; min-width:0; padding:10px; border:1px solid #cbd5e1; border-radius:7px; background:#fff; font-size:14px; }
.resource-input-grid input[type=file] { font-size:12px; padding:9px; }
.event-resource-fields :is(input,button):focus-visible { outline:2px solid #2563eb; outline-offset:2px; }
.resource-input-grid input[aria-invalid=true] { border-color:#dc2626; }
.resource-existing-file { display:block; color:#2563eb; font-size:12px; overflow-wrap:anywhere; text-decoration:underline; margin-top:7px; }
.resource-field-error { color:#b91c1c; font-size:12px; margin:6px 0 0; }
.resource-empty { color:#64748b; padding:18px; border:1px dashed #cbd5e1; border-radius:8px; text-align:center; font-size:13px; margin:12px 0 0; }
.resource-form-notice { background:#fffbeb; color:#92400e; padding:10px 12px; border-radius:7px; font-size:13px; margin-bottom:12px; }
.event-resource-section { margin-top:30px; }
.event-resource-section h2 { display:flex; align-items:center; gap:10px; }
.event-resource-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:18px; }
.event-resource-card { display:flex; align-items:center; border:1px solid #e2e4e0; border-radius:9px; background:#fff; min-width:0; transition:border-color .15s,box-shadow .15s; }
.event-resource-card:hover { border-color:#b5beb0; box-shadow:0 3px 12px #20251f08; }
.event-resource-main { display:flex; align-items:center; gap:12px; padding:16px; flex:1; min-width:0; color:#20251f; text-decoration:none; }
.event-resource-symbol { width:40px; height:40px; border-radius:8px; background:#f0f1ee; display:grid; place-items:center; flex-shrink:0; }
.event-resource-symbol .icon { width:21px; height:21px; }
.event-resource-copy { display:block; min-width:0; }
.event-resource-copy strong { display:block; font-size:14px; line-height:1.45; font-weight:600; overflow-wrap:anywhere; }
.event-resource-copy small { display:block; color:#73786e; font-size:12px; line-height:1.5; margin-top:3px; overflow-wrap:anywhere; }
.event-resource-download { display:grid; place-items:center; align-self:stretch; min-width:42px; padding:10px; border-left:1px solid #eef0eb; color:#73786e; text-decoration:none; }
.event-resource-download:hover { color:#20251f; background:#f7f8f5; border-radius:0 8px 8px 0; }
.event-resource-external { margin-left:auto; flex-shrink:0; width:16px; color:#73786e; }
.event-resource-card a:focus-visible { outline:2px solid #2563eb; outline-offset:3px; border-radius:7px; }
@media(max-width:640px) { .event-resource-form { padding:18px; } .resource-input-grid,.event-resource-grid { grid-template-columns:1fr; } .event-resource-main { padding:14px; } .resource-form-heading>button { width:100%; } }
