.ict-app {
  --ict-primary: #6d28d9;
  --ict-dark: #4c1d95;
  --ict-dark: color-mix(in srgb, var(--ict-primary) 72%, #1f1235);
  --ict-soft: #f5f3ff;
  --ict-soft: color-mix(in srgb, var(--ict-primary) 9%, #ffffff);
  --ict-border: #ddd6fe;
  --ict-border: color-mix(in srgb, var(--ict-primary) 18%, #e5e7eb);
  --ict-text: #27212f;
  --ict-muted: #6b6472;
  color: var(--ict-text);
  font-family: inherit;
  line-height: 1.55;
  width: 100%;
}

.ict-app *, .ict-app *::before, .ict-app *::after { box-sizing: border-box; }
.ict-hero { background: linear-gradient(135deg, var(--ict-dark), var(--ict-primary)); border-radius: 24px; color: #fff; padding: clamp(28px, 5vw, 58px); box-shadow: 0 18px 50px color-mix(in srgb, var(--ict-primary) 22%, transparent); }
.ict-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .16em; margin-bottom: 8px; opacity: .86; }
.ict-hero h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); line-height: 1.1; margin: 0 0 12px; }
.ict-hero p { color: #fff; font-size: clamp(16px, 2vw, 19px); margin: 0; max-width: 720px; opacity: .9; }
.ict-controls { align-items: end; background: #fff; border: 1px solid var(--ict-border); border-radius: 18px; box-shadow: 0 12px 38px rgba(31, 18, 53, .08); display: grid; gap: 14px; grid-template-columns: minmax(260px, 1.8fr) repeat(2, minmax(170px, 1fr)); margin: -18px 20px 24px; padding: 20px; position: relative; }
.ict-controls label { color: var(--ict-text); display: grid; font-size: 13px; font-weight: 700; gap: 7px; margin: 0; }
.ict-controls input, .ict-controls select { appearance: none; background: #fff; border: 1px solid #d8d3dc; border-radius: 10px; color: var(--ict-text); font: inherit; font-size: 15px; min-height: 48px; padding: 10px 13px; width: 100%; }
.ict-controls input:focus, .ict-controls select:focus { border-color: var(--ict-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ict-primary) 16%, transparent); outline: none; }
.ict-summary { align-items: center; display: flex; justify-content: space-between; margin: 0 0 14px; }
.ict-summary strong { font-size: 16px; }
.ict-clear { background: transparent; border: 0; color: var(--ict-primary); cursor: pointer; font: inherit; font-weight: 700; padding: 8px; }
.ict-results { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ict-card { background: #fff; border: 1px solid var(--ict-border); border-radius: 16px; display: flex; flex-direction: column; min-height: 100%; padding: 20px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.ict-card:hover { border-color: color-mix(in srgb, var(--ict-primary) 40%, #ddd); box-shadow: 0 12px 32px rgba(37, 24, 47, .09); transform: translateY(-2px); }
.ict-card-top { align-items: center; display: flex; gap: 8px; justify-content: space-between; margin-bottom: 14px; }
.ict-badge { background: #f1eef4; border-radius: 999px; color: #5e5664; display: inline-flex; font-size: 12px; font-weight: 800; padding: 5px 10px; }
.ict-badge.is-oral, .ict-modal-badge { background: var(--ict-soft); color: var(--ict-dark); }
.ict-id { color: var(--ict-muted); font-size: 12px; font-weight: 700; }
.ict-card h3 { color: var(--ict-text); font-size: 18px; line-height: 1.3; margin: 0 0 12px; }
.ict-authors { color: var(--ict-muted); display: -webkit-box; font-size: 14px; margin: 0 0 12px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.ict-area { border-top: 1px solid #eeeaf0; color: var(--ict-dark); font-size: 13px; font-weight: 700; margin: auto 0 15px; padding-top: 14px; }
.ict-open { align-self: flex-start; background: var(--ict-primary); border: 1px solid var(--ict-primary); border-radius: 10px; color: #fff; cursor: pointer; font: inherit; font-weight: 800; padding: 10px 15px; transition: filter .2s ease, transform .2s ease; }
.ict-open:hover, .ict-open:focus { color: #fff; filter: brightness(.9); transform: translateY(-1px); }
.ict-empty { background: var(--ict-soft); border: 1px dashed var(--ict-primary); border-radius: 16px; padding: 30px; text-align: center; }
.ict-empty strong, .ict-empty span { display: block; }
.ict-pagination { align-items: center; display: flex; gap: 14px; justify-content: center; margin-top: 28px; }
.ict-pagination button { background: #fff; border: 1px solid var(--ict-border); border-radius: 9px; color: var(--ict-dark); cursor: pointer; font: inherit; font-weight: 700; padding: 9px 14px; }
.ict-pagination button:disabled { cursor: default; opacity: .42; }
.ict-pagination span { color: var(--ict-muted); font-size: 14px; }
.ict-modal { inset: 0; opacity: 0; pointer-events: none; position: fixed; transition: opacity .2s ease; z-index: 999999; }
.ict-modal[aria-hidden="false"] { opacity: 1; pointer-events: auto; }
.ict-modal-backdrop { background: rgba(22, 12, 30, .72); inset: 0; position: absolute; }
.ict-modal-panel { background: #fff; border-radius: 20px 20px 0 0; bottom: 0; box-shadow: 0 -18px 70px rgba(0, 0, 0, .22); left: 50%; max-height: 92vh; max-width: 920px; overflow-y: auto; padding: clamp(24px, 5vw, 48px); position: absolute; transform: translate(-50%, 24px); transition: transform .2s ease; width: min(920px, 100%); }
.ict-modal[aria-hidden="false"] .ict-modal-panel { transform: translate(-50%, 0); }
.ict-modal-close { background: #f4f1f6; border: 0; border-radius: 50%; color: var(--ict-text); cursor: pointer; font-size: 26px; height: 42px; line-height: 1; position: absolute; right: 18px; top: 18px; width: 42px; }
.ict-modal-badge { border-radius: 999px; display: inline-block; font-size: 12px; font-weight: 800; margin-bottom: 10px; padding: 6px 11px; }
.ict-modal-id { color: var(--ict-muted); font-size: 13px; font-weight: 700; margin: 0 0 6px; }
.ict-modal-panel h3 { color: var(--ict-text); font-size: clamp(23px, 4vw, 34px); line-height: 1.2; margin: 0 45px 20px 0; }
.ict-modal-panel h4 { color: var(--ict-dark); font-size: 18px; margin: 28px 0 8px; }
.ict-details { background: var(--ict-soft); border-radius: 14px; display: grid; gap: 14px; margin: 0; padding: 18px; }
.ict-details div { display: grid; gap: 3px; }
.ict-details dt { color: var(--ict-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.ict-details dd { color: var(--ict-text); margin: 0; }
.ict-abstract { color: var(--ict-text); font-size: 16px; line-height: 1.75; white-space: pre-line; }
.ict-keywords { border-top: 1px solid var(--ict-border); color: var(--ict-muted); margin-top: 26px; padding-top: 18px; }
body.ict-modal-open { overflow: hidden; }

@media (max-width: 900px) {
  .ict-controls { grid-template-columns: 1fr 1fr; }
  .ict-search { grid-column: 1 / -1; }
  .ict-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .ict-hero { border-radius: 18px; padding: 28px 22px 44px; }
  .ict-controls { grid-template-columns: 1fr; margin: -18px 10px 20px; padding: 15px; }
  .ict-search { grid-column: auto; }
  .ict-results { grid-template-columns: 1fr; }
  .ict-summary { align-items: flex-start; gap: 8px; }
  .ict-card { padding: 18px; }
  .ict-modal-panel { border-radius: 16px 16px 0 0; padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .ict-app *, .ict-app *::before, .ict-app *::after { scroll-behavior: auto !important; transition: none !important; }
}



.ict-schedule { background: var(--ict-soft); border-left: 3px solid var(--ict-primary); border-radius: 8px; display: grid; gap: 3px; margin: 0 0 15px; padding: 10px 12px; }
.ict-schedule-time { color: var(--ict-dark); font-size: 14px; }
.ict-schedule-place { color: var(--ict-muted); font-size: 12px; line-height: 1.4; }
