/* Separate app design. No selectors or dependencies from the Joomla template. */
:root {
  --green:#14663f;
  --deep:#174d38;
  --ink:#24362d;
  --muted:#637168;
  --lime:#aecb31;
  --yellow:#f2df66;
  --paper:#fafbf7;
  --soft:#eff3e8;
  --line:#dce4d8;
  --white:#fff;
  --radius:16px;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none
}

* {
  box-sizing:border-box
}

body {
  margin:0;
  font-size:15px;
  line-height:1.5
}

button,input,select,textarea {
  font:inherit
}

button,a,input,select,summary {
  -webkit-tap-highlight-color:transparent
}

button,a {
  touch-action:manipulation
}

button {
  cursor:pointer
}

a {
  color:var(--green)
}

button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible {
  outline:3px solid #779b0b;
  outline-offset:4px
}

button:disabled {
  cursor:default;
  opacity:.55
}

[hidden] {
  display:none!important
}

svg {
  width:21px;
  height:21px;
  display:block;
  flex:none
}

h1,h2,h3,p {
  margin:0
}

h1 {
  font-size:30px;
  line-height:1.17;
  letter-spacing:-.8px
}

h2 {
  font-size:20px;
  line-height:1.3;
  letter-spacing:-.35px
}

h3 {
  font-size:16px;
  line-height:1.35
}

button {
  border:0
}

button svg {
  pointer-events:none
}

a svg {
  pointer-events:none
}

small {
  font-size:12px
}

.demo-strip {
  display:flex;
  gap:8px;
  justify-content:center;
  align-items:center;
  min-height:29px;
  padding:5px 12px;
  background:#edf0e7;
  color:#65705e;
  font-size:10px;
  letter-spacing:.3px
}

.demo-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#789b26
}

.demo-separator {
  opacity:.45;
  margin:0 3px
}

.app-header {
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:12
}

.header-inner {
  max-width:1060px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 28px
}

.brand {
  display:flex;
  gap:11px;
  align-items:center;
  text-decoration:none;
  color:var(--deep)
}

.brand img {
  width:43px;
  height:43px;
  object-fit:contain
}

.brand strong {
  display:block;
  font-size:15px;
  letter-spacing:-.3px
}

.brand small {
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:11px
}

.profile-button {
  display:flex;
  align-items:center;
  gap:8px;
  background:var(--soft);
  color:var(--deep);
  border:1px solid var(--line);
  padding:10px 12px;
  border-radius:30px;
  font-size:12px
}

.profile-button svg {
  width:18px;
  height:18px
}

.app-main {
  max-width:1004px;
  margin:0 auto;
  padding:28px 0 132px;
  min-height:calc(100vh - 103px)
}

.page-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin:0 0 22px
}

.eyebrow {
  font-size:10px;
  font-weight:700;
  letter-spacing:1.8px;
  text-transform:uppercase;
  color:var(--green);
  margin-bottom:7px
}

.page-subtitle {
  color:var(--muted);
  font-size:13px;
  margin-top:9px
}

.venue-chip {
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-size:12px;
  padding-bottom:3px;
  white-space:nowrap
}

.venue-chip svg {
  width:15px;
  height:15px
}

.welcome-note {
  position:relative;
  overflow:hidden;
  background:var(--deep);
  color:white;
  border-radius:var(--radius);
  padding:20px 24px;
  margin-bottom:24px;
  display:flex;
  gap:18px;
  justify-content:space-between;
  align-items:center
}

.welcome-note:after {
  content:"";
  position:absolute;
  width:130px;
  height:130px;
  border:25px solid #abc82e;
  border-radius:50%;
  right:-56px;
  top:-48px;
  opacity:.6;
  pointer-events:none
}

.welcome-note p {
  color:#e6eddf;
  font-size:13px;
  margin-top:4px;
  max-width:560px
}

.welcome-note strong {
  font-size:15px
}

.welcome-note .mini-pill {
  color:var(--deep);
  background:#e4edbf;
  padding:5px 9px;
  border-radius:6px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.4px;
  white-space:nowrap;
  margin-right:35px
}

.day-switch {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  padding:5px;
  background:#eaf0e5;
  border:1px solid #e0e7d9;
  border-radius:13px;
  max-width:460px
}

.day-switch button {
  border-radius:9px;
  background:transparent;
  color:var(--muted);
  padding:10px 14px;
  display:flex;
  gap:8px;
  align-items:baseline;
  justify-content:center;
  min-height:46px
}

.day-switch button strong {
  font-size:13px
}

.day-switch button span {
  font-size:12px
}

.day-switch button[aria-pressed=true] {
  background:white;
  color:var(--deep);
  box-shadow:0 2px 5px #233f2310
}

.programme-toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin:18px 0 17px
}

.room-pills {
  display:flex;
  gap:7px;
  flex-wrap:wrap
}

.room-pills button {
  min-height:37px;
  padding:8px 12px;
  background:white;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:30px;
  font-size:12px;
  white-space:nowrap
}

.room-pills button[aria-pressed=true] {
  background:var(--deep);
  color:white;
  border-color:var(--deep)
}

.filter-button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  padding:8px 12px;
  color:var(--green);
  background:transparent;
  border:1px solid var(--line);
  border-radius:9px;
  font-size:12px
}

.filter-button svg {
  width:16px;
  height:16px
}

.notice {
  padding:14px 16px;
  border-left:3px solid var(--lime);
  background:var(--soft);
  border-radius:0 10px 10px 0;
  margin-bottom:22px;
  font-size:12px;
  color:var(--muted)
}

.notice strong {
  display:block;
  color:var(--deep);
  margin-bottom:3px;
  font-size:12px
}

.section-label {
  display:flex;
  gap:12px;
  align-items:center;
  font-size:10px;
  font-weight:700;
  letter-spacing:1.3px;
  text-transform:uppercase;
  color:var(--muted);
  margin:23px 0 12px
}

.section-label:after {
  content:"";
  height:1px;
  background:var(--line);
  flex:1
}

.talk-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px
}

.talk-card {
  position:relative;
  display:grid;
  grid-template-columns:54px minmax(0,1fr) 32px;
  gap:14px;
  align-items:start;
  background:white;
  border:1px solid var(--line);
  border-radius:13px;
  padding:18px 16px;
  transition:box-shadow .15s,transform .15s
}

.talk-card:hover {
  box-shadow:0 5px 16px #234d3210
}

.talk-card.highlight {
  border-color:#a6bf5a;
  background:#f8faef;
  grid-column:1/-1
}

.talk-card.evening {
  grid-column:1/-1;
  background:var(--deep);
  border-color:var(--deep);
  color:white
}

.talk-card.evening .talk-person,.talk-card.evening .talk-room,.talk-card.evening .timebox small {
  color:#d7e5d7
}

.talk-card.evening .tag {
  background:#f2df66;
  color:#405020
}

.talk-card.evening .bookmark {
  color:white;
  border-color:#63836e
}

.talk-card.evening .bookmark[aria-pressed=true] {
  background:#c4d75e;
  color:#164d38
}

.timebox {
  line-height:1.3;
  padding-top:1px
}

.timebox strong {
  font-size:16px;
  letter-spacing:-.4px;
  font-variant-numeric:tabular-nums;
  display:block
}

.timebox small {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:4px
}

.talk-main {
  min-width:0
}

.talk-room {
  display:flex;
  align-items:center;
  gap:5px;
  font-size:10px;
  color:var(--muted);
  margin-bottom:6px;
  flex-wrap:wrap
}

.talk-room svg {
  width:11px;
  height:11px
}

.talk-title {
  padding:0;
  background:none;
  color:inherit;
  font-size:15px;
  line-height:1.4;
  font-weight:700;
  text-align:left;
  display:block;
  min-height:24px
}

.talk-title:hover {
  text-decoration:underline;
  text-underline-offset:3px
}

.talk-person {
  font-size:12px;
  color:var(--muted);
  margin-top:6px
}

.talk-meta {
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  margin-top:10px
}

.tag {
  font-size:9px;
  line-height:1.4;
  padding:4px 7px;
  background:var(--soft);
  border-radius:5px;
  color:#536247;
  display:inline-flex;
  align-items:center;
  gap:4px
}

.tag.highlight-tag {
  background:#e2ebb9;
  color:#425720
}

.tag.registration {
  background:#faf2d9;
  color:#7c6725
}

.tag svg {
  width:12px;
  height:12px
}

.bookmark {
  height:33px;
  width:32px;
  display:flex;
  justify-content:center;
  align-items:center;
  background:transparent;
  border:1px solid var(--line);
  border-radius:8px;
  color:var(--muted);
  padding:0
}

.bookmark svg {
  height:16px;
  width:16px
}

.bookmark[aria-pressed=true] {
  background:var(--soft);
  border-color:#9db785;
  color:var(--green)
}

.bookmark[aria-pressed=true] svg {
  fill:currentColor
}

.break-row {
  grid-column:1/-1;
  display:flex;
  align-items:center;
  gap:15px;
  color:var(--muted);
  font-size:12px;
  padding:8px 17px
}

.break-row svg {
  width:17px;
  height:17px
}

.break-row strong {
  font-size:12px;
  font-weight:400
}

.break-row span {
  flex:1
}

.break-row a {
  display:flex;
  align-items:center;
  gap:5px;
  text-decoration:none;
  font-size:11px;
  white-space:nowrap
}

.stream-bar {
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  background:#f0f4eb;
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px 16px;
  margin:0 0 16px
}

.stream-bar>span {
  font-size:11px;
  color:var(--muted)
}

.stream-bar button {
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--green);
  background:white;
  padding:8px 11px;
  border-radius:7px;
  font-size:11px;
  border:1px solid var(--line);
  min-height:34px
}

.stream-bar svg {
  width:14px;
  height:14px
}

.bottom-nav {
  position:fixed;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:100%;
  max-width:1058px;
  z-index:20;
  background:rgba(255,255,255,.98);
  border:1px solid var(--line);
  border-bottom:0;
  border-radius:19px 19px 0 0;
  box-shadow:0 -5px 22px #12391f06;
  padding:9px 18px calc(10px + env(safe-area-inset-bottom));
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px
}

.bottom-nav a {
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  font-size:10px;
  letter-spacing:.1px;
  color:#788178;
  padding:7px 2px;
  border-radius:11px;
  min-height:57px
}

.bottom-nav a.active {
  color:var(--deep);
  background:var(--soft);
  font-weight:700
}

.bottom-nav a.active svg {
  stroke-width:2.3
}

.nav-symbol {
  position:relative
}

.count-badge {
  position:absolute;
  top:-6px;
  right:-12px;
  background:var(--deep);
  border:2px solid white;
  color:white;
  border-radius:20px;
  font-size:8px;
  min-width:17px;
  height:17px;
  padding:0 3px;
  text-align:center;
  line-height:13px
}

.summary-panel {
  background:var(--soft);
  padding:20px;
  border-radius:14px;
  margin-bottom:23px;
  display:flex;
  align-items:center;
  gap:15px
}

.summary-panel>svg {
  width:27px;
  height:27px;
  color:var(--green)
}

.summary-panel strong {
  display:block;
  font-size:14px
}

.summary-panel p {
  font-size:12px;
  color:var(--muted);
  margin-top:3px
}

.empty-state {
  padding:55px 20px;
  text-align:center;
  background:white;
  border:1px dashed #cbd6c3;
  border-radius:16px
}

.empty-state>svg {
  width:40px;
  height:40px;
  color:#8b9e78;
  margin:0 auto 15px
}

.empty-state p {
  max-width:330px;
  margin:9px auto 20px;
  color:var(--muted);
  font-size:13px
}

.primary-button,.secondary-button {
  display:inline-flex;
  gap:8px;
  align-items:center;
  justify-content:center;
  padding:12px 17px;
  min-height:44px;
  font-weight:700;
  font-size:12px;
  border-radius:9px;
  text-decoration:none;
  background:var(--green);
  color:white;
  border:1px solid var(--green)
}

.secondary-button {
  background:white;
  color:var(--green);
  border-color:var(--line)
}

.primary-button svg,.secondary-button svg {
  width:16px;
  height:16px
}

.agenda-conflict {
  font-size:12px;
  padding:12px 15px;
  border-radius:9px;
  background:#fff3da;
  color:#80641c;
  margin-bottom:14px
}

.info-hero {
  background:var(--deep);
  color:white;
  padding:24px;
  border-radius:16px;
  margin-bottom:20px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center
}

.info-hero h2 {
  font-size:19px
}

.info-hero p {
  font-size:12px;
  color:#d6e3d7;
  margin-top:7px
}

.info-hero>.icon-tile {
  background:#ffffff12;
  color:#d3e78c;
  border-color:#ffffff15
}

.icon-tile {
  display:flex;
  align-items:center;
  justify-content:center;
  flex:none;
  width:43px;
  height:43px;
  border:1px solid #e1e7d8;
  background:var(--soft);
  border-radius:11px;
  color:var(--green)
}

.icon-tile svg {
  width:22px;
  height:22px
}

.quick-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:26px
}

.quick-card {
  display:flex;
  gap:13px;
  align-items:center;
  padding:18px 16px;
  text-align:left;
  color:var(--ink);
  background:white;
  border:1px solid var(--line);
  border-radius:12px
}

.quick-card strong {
  display:block;
  font-size:13px
}

.quick-card small {
  display:block;
  color:var(--muted);
  margin-top:3px;
  font-size:11px
}

.quick-card>svg {
  margin-left:auto;
  width:16px;
  height:16px;
  color:#7e8a78
}

.accordion-list {
  border-top:1px solid var(--line);
  margin-top:13px
}

.accordion-list details {
  border-bottom:1px solid var(--line)
}

.accordion-list summary {
  list-style:none;
  display:flex;
  align-items:center;
  gap:12px;
  padding:19px 3px;
  cursor:pointer;
  font-weight:700;
  font-size:13px
}

.accordion-list summary::-webkit-details-marker {
  display:none
}

.accordion-list summary>svg:first-child {
  width:18px;
  height:18px;
  color:var(--green)
}

.accordion-list summary>svg:last-child {
  margin-left:auto;
  width:15px;
  height:15px;
  color:#8a9582;
  transition:transform .2s
}

.accordion-list details[open] summary>svg:last-child {
  transform:rotate(180deg)
}

.accordion-content {
  padding:0 32px 21px;
  color:var(--muted);
  font-size:13px
}

.accordion-content p+p {
  margin-top:10px
}

.accordion-content .secondary-button {
  margin-top:13px
}

.menu-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:13px
}

.menu-card {
  display:flex;
  align-items:center;
  gap:15px;
  padding:21px;
  background:white;
  border:1px solid var(--line);
  border-radius:13px;
  color:var(--ink);
  text-decoration:none
}

.menu-card h2 {
  font-size:15px
}

.menu-card p {
  font-size:12px;
  color:var(--muted);
  margin-top:4px
}

.menu-card>svg {
  width:17px;
  height:17px;
  margin-left:auto;
  color:#83917b
}

.muted-note {
  font-size:11px;
  line-height:1.6;
  color:var(--muted);
  margin-top:23px
}

.back-link {
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--muted);
  text-decoration:none;
  font-size:12px;
  margin-bottom:17px;
  min-height:30px
}

.back-link svg {
  width:15px;
  height:15px
}

.speaker-tools {
  display:flex;
  justify-content:space-between;
  gap:15px;
  margin-bottom:18px
}

.search-wrap {
  position:relative;
  flex:1
}

.search-wrap>svg {
  position:absolute;
  left:13px;
  top:14px;
  color:#85907c;
  width:17px;
  height:17px
}

.search-wrap input {
  width:100%;
  padding:12px 13px 12px 39px;
  background:white;
  border:1px solid var(--line);
  border-radius:9px;
  font-size:12px;
  min-height:45px
}

.speaker-tools select {
  border:1px solid var(--line);
  border-radius:9px;
  padding:8px;
  color:var(--ink);
  background:white;
  font-size:12px
}

.people-list {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}

.person-card {
  display:flex;
  gap:13px;
  align-items:center;
  background:white;
  border:1px solid var(--line);
  border-radius:12px;
  padding:17px;
  text-align:left;
  color:var(--ink)
}

.person-card strong {
  display:block;
  font-size:14px
}

.person-card small {
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:11px
}

.person-card>svg {
  margin-left:auto;
  width:16px;
  height:16px
}

.portrait {
  width:48px;
  height:55px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eff2e9;
  border-radius:9px;
  color:#b8c6b0;
  flex:none
}

.portrait svg {
  height:32px;
  width:32px;
  stroke-width:1.2
}

.partner-card {
  background:white;
  border:1px solid var(--line);
  padding:22px;
  border-radius:13px
}

.partner-logo {
  height:66px;
  display:flex;
  align-items:center;
  gap:9px;
  color:#476950;
  font-size:19px;
  font-weight:700;
  letter-spacing:-.6px;
  margin-bottom:14px
}

.partner-logo>span {
  font-size:11px;
  background:var(--soft);
  border-radius:7px;
  padding:7px;
  letter-spacing:0;
  color:#7b8a72
}

.partner-card h2 {
  font-size:15px
}

.partner-card p {
  font-size:12px;
  color:var(--muted);
  margin:7px 0 16px
}

.partner-card .secondary-button {
  margin-top:6px
}

.file-list {
  display:grid;
  gap:11px
}

.file-card {
  display:flex;
  gap:15px;
  align-items:center;
  padding:19px;
  background:white;
  border:1px solid var(--line);
  border-radius:12px;
  color:var(--ink);
  text-align:left
}

.file-card.featured {
  background:#f1f5e4;
  border-color:#b6c884
}

.file-card h2 {
  font-size:14px
}

.file-card p {
  font-size:11px;
  margin-top:4px;
  color:var(--muted)
}

.file-card>svg:last-child {
  margin-left:auto;
  width:19px;
  height:19px;
  color:var(--green)
}

.file-card .tag {
  margin-bottom:6px;
  background:#e4ebc5
}

.profile-card {
  padding:20px;
  background:white;
  border:1px solid var(--line);
  border-radius:13px;
  margin-top:20px
}

.profile-card h2 {
  font-size:15px;
  margin-bottom:7px
}

.profile-card p {
  font-size:12px;
  color:var(--muted)
}

.profile-options {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:15px
}

.profile-options button[aria-pressed=true] {
  background:var(--deep);
  color:white;
  border-color:var(--deep)
}

.inline-notice {
  font-size:12px;
  color:var(--muted);
  background:var(--soft);
  padding:14px;
  border-radius:9px;
  margin:17px 0
}

.toast {
  position:fixed;
  bottom:calc(101px + env(safe-area-inset-bottom));
  left:50%;
  transform:translate(-50%,15px);
  background:#213f30;
  color:white;
  padding:12px 17px;
  border-radius:10px;
  z-index:60;
  opacity:0;
  pointer-events:none;
  font-size:12px;
  transition:.2s;
  max-width:calc(100% - 30px);
  width:max-content;
  text-align:center;
  box-shadow:0 4px 18px #17311f22
}

.toast.show {
  opacity:1;
  transform:translate(-50%,0)
}

/* Detail sheets: compact on desktop, naturally scrollable on mobile. */
dialog {
  border:1px solid #d4decf;
  border-radius:20px;
  width:calc(100% - 32px);
  max-width:620px;
  max-height:calc(100dvh - 42px);
  padding:0;
  color:var(--ink);
  background:var(--paper);
  box-shadow:0 25px 100px #10341d38;
  overscroll-behavior:contain
}

dialog::backdrop {
  background:#14291ec2;
  backdrop-filter:blur(3px)
}

body.dialog-open {
  overflow:hidden
}

.dialog-header {
  padding:20px 24px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px
}

.dialog-header .eyebrow {
  margin:0;
  font-size:9px
}

.close-button {
  width:36px;
  height:36px;
  border-radius:50%;
  background:#eaf0e5;
  color:var(--green);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:none
}

.close-button svg {
  width:19px;
  height:19px
}

.dialog-body {
  padding:15px 24px 28px
}

.dialog-body h2 {
  font-size:24px;
  line-height:1.25;
  margin-bottom:13px;
  letter-spacing:-.7px
}

.dialog-body p {
  font-size:13px;
  color:var(--muted);
  line-height:1.65
}

.dialog-body .tags {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin-bottom:23px
}

.dialog-section {
  padding:20px 0 0;
  margin-top:20px;
  border-top:1px solid var(--line)
}

.dialog-section h3 {
  font-size:13px;
  margin-bottom:9px
}

.dialog-person {
  display:flex;
  gap:13px;
  align-items:center;
  margin-bottom:12px
}

.dialog-person h3 {
  margin:0 0 2px
}

.dialog-person p {
  font-size:11px
}

.dialog-person .portrait {
  width:48px;
  height:58px
}

.contact-row {
  display:flex;
  gap:13px;
  margin-top:12px;
  flex-wrap:wrap
}

.contact-row button {
  display:flex;
  align-items:center;
  gap:5px;
  background:transparent;
  color:var(--green);
  padding:5px 0;
  font-size:11px
}

.contact-row svg {
  width:14px;
  height:14px
}

.resource-button {
  background:white;
  border:1px solid var(--line);
  border-radius:9px;
  width:100%;
  padding:12px;
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--green);
  text-align:left;
  font-size:12px;
  margin-top:8px;
  min-height:47px
}

.resource-button svg {
  height:18px;
  width:18px
}

.resource-button>svg:last-child {
  margin-left:auto;
  width:14px;
  height:14px
}

.resources-note {
  font-size:10px!important;
  margin-bottom:10px
}

.dialog-actions {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-top:21px
}

.dialog-actions .primary-button,.dialog-actions .secondary-button {
  flex:1
}

.quiet-feedback {
  margin-top:20px;
  border-top:1px solid var(--line);
  padding-top:15px
}

.quiet-feedback summary {
  color:var(--muted);
  font-size:11px;
  cursor:pointer
}

.star-row {
  display:flex;
  gap:8px;
  padding:12px 0
}

.star-row button {
  padding:9px;
  background:#edf2e7;
  border-radius:7px;
  color:#729149
}

.star-row button.rated svg {
  fill:currentColor
}

.filter-form {
  display:grid;
  gap:18px
}

.field-label {
  display:grid;
  gap:7px;
  font-size:12px;
  font-weight:700
}

.field-label select,.field-label input {
  padding:12px;
  border:1px solid var(--line);
  border-radius:8px;
  background:white;
  color:var(--ink);
  min-height:45px
}

.checkbox-row {
  display:flex;
  gap:10px;
  align-items:center;
  font-size:13px;
  min-height:46px;
  cursor:pointer
}

.checkbox-row input {
  width:20px;
  height:20px;
  accent-color:var(--green);
  flex:none
}

.time-fields {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}

.rating-note {
  font-size:11px!important
}

.detail-agenda-list {
  display:grid;
  gap:9px;
  margin-top:18px
}

.detail-agenda-list button {
  border:1px solid var(--line);
  background:white;
  border-radius:8px;
  padding:13px;
  text-align:left;
  color:var(--green);
  font-size:13px
}

.detail-agenda-list small {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-bottom:4px
}

@media(min-width:1200px) {
  .app-main {
    padding-top:36px
  }

  .talk-card {
    padding:21px 19px
  }

  .talk-list {
    gap:14px
  }

  .welcome-note {
    padding:23px 25px
  }

}

@media(max-width:1080px) {
  .app-main {
    padding:27px 26px 128px
  }

  .bottom-nav {
    border-radius:17px 17px 0 0;
    max-width:100%
  }

}

@media(max-width:650px) {
  body {
    font-size:14px
  }

  .demo-strip {
    font-size:9px;
    min-height:26px;
    gap:6px;
    letter-spacing:0
  }

  .header-inner {
    padding:13px 19px
  }

  .brand {
    gap:10px
  }

  .brand img {
    width:37px;
    height:37px
  }

  .brand strong {
    font-size:13px
  }

  .brand small {
    font-size:10px
  }

  .profile-button {
    width:36px;
    height:36px;
    padding:0;
    justify-content:center
  }

  .profile-word {
    display:none
  }

  .profile-button svg {
    width:18px;
    height:18px
  }

  .app-main {
    padding:23px 19px 120px
  }

  .page-heading {
    margin-bottom:18px;
    gap:10px;
    align-items:flex-start
  }

  h1 {
    font-size:27px;
    letter-spacing:-.8px
  }

  .eyebrow {
    font-size:9px;
    letter-spacing:1.6px;
    margin-bottom:7px
  }

  .page-subtitle {
    font-size:12px;
    line-height:1.5;
    margin-top:7px
  }

  .venue-chip {
    display:none
  }

  .welcome-note {
    padding:17px 18px;
    margin-bottom:21px;
    align-items:flex-start;
    gap:7px
  }

  .welcome-note strong {
    font-size:13px
  }

  .welcome-note p {
    font-size:11px;
    max-width:250px;
    line-height:1.6
  }

  .welcome-note .mini-pill {
    font-size:8px;
    padding:4px 6px;
    margin-right:0;
    z-index:1
  }

  .welcome-note:after {
    width:100px;
    height:100px;
    right:-65px;
    top:-35px;
    border-width:22px
  }

  .day-switch {
    max-width:none;
    gap:5px
  }

  .day-switch button {
    padding:9px 8px;
    gap:6px;
    min-height:44px;
    flex-wrap:wrap
  }

  .day-switch button strong {
    font-size:12px
  }

  .day-switch button span {
    font-size:10px
  }

  .programme-toolbar {
    gap:8px;
    margin:16px 0
  }

  .room-pills {
    gap:5px
  }

  .room-pills button {
    font-size:10px;
    padding:7px 9px;
    min-height:35px
  }

  .filter-button {
    padding:8px 10px;
    min-height:35px;
    font-size:10px;
    gap:5px
  }

  .filter-button svg {
    width:14px;
    height:14px
  }

  .notice {
    padding:11px 13px;
    font-size:10px;
    margin-bottom:19px;
    line-height:1.6
  }

  .notice strong {
    font-size:11px
  }

  .talk-list {
    grid-template-columns:1fr;
    gap:10px
  }

  .talk-card {
    padding:16px 13px;
    grid-template-columns:47px minmax(0,1fr) 30px;
    gap:11px;
    border-radius:12px
  }

  .timebox strong {
    font-size:15px
  }

  .timebox small {
    font-size:10px
  }

  .talk-title {
    font-size:14px;
    line-height:1.42
  }

  .talk-person {
    font-size:11px;
    line-height:1.45
  }

  .talk-room {
    font-size:9px;
    margin-bottom:5px
  }

  .tag {
    font-size:9px;
    padding:3px 6px
  }

  .talk-meta {
    margin-top:9px;
    gap:5px
  }

  .bookmark {
    height:31px;
    width:30px
  }

  .section-label {
    font-size:9px;
    letter-spacing:1.2px;
    margin:21px 0 11px
  }

  .break-row {
    padding:9px 7px;
    gap:10px;
    font-size:11px
  }

  .break-row strong {
    font-size:11px
  }

  .break-row a {
    font-size:10px
  }

  .break-row a svg {
    width:13px;
    height:13px
  }

  .stream-bar {
    padding:10px 11px;
    gap:8px
  }

  .stream-bar>span {
    font-size:10px;
    flex-basis:100%
  }

  .stream-bar button {
    font-size:10px;
    min-height:35px
  }

  .bottom-nav {
    padding:7px 11px calc(8px + env(safe-area-inset-bottom));
    border-radius:17px 17px 0 0;
    gap:5px
  }

  .bottom-nav a {
    font-size:9px;
    gap:5px;
    min-height:55px;
    padding:7px 0
  }

  .bottom-nav svg {
    width:21px;
    height:21px
  }

  .quick-grid {
    gap:9px;
    margin-bottom:23px
  }

  .quick-card {
    padding:14px 11px;
    display:block;
    position:relative
  }

  .quick-card .icon-tile {
    width:34px;
    height:34px;
    margin-bottom:11px
  }

  .quick-card .icon-tile svg {
    width:19px;
    height:19px
  }

  .quick-card strong {
    font-size:12px;
    line-height:1.4
  }

  .quick-card small {
    font-size:10px;
    margin-top:4px
  }

  .quick-card>svg {
    position:absolute;
    right:12px;
    top:22px;
    width:15px;
    height:15px
  }

  .info-hero {
    padding:20px;
    margin-bottom:16px;
    gap:14px
  }

  .info-hero h2 {
    font-size:18px
  }

  .info-hero p {
    font-size:11px
  }

  .info-hero>.icon-tile {
    width:40px;
    height:40px
  }

  .accordion-list summary {
    font-size:12px;
    padding:18px 0;
    gap:11px
  }

  .accordion-content {
    padding:0 28px 19px;
    font-size:12px
  }

  .menu-grid {
    grid-template-columns:1fr;
    gap:10px
  }

  .menu-card {
    padding:17px;
    gap:13px
  }

  .menu-card h2 {
    font-size:14px
  }

  .menu-card p {
    font-size:11px
  }

  .menu-card .icon-tile {
    width:39px;
    height:39px
  }

  .muted-note {
    font-size:10px;
    margin-top:21px
  }

  .summary-panel {
    padding:16px;
    gap:12px;
    margin-bottom:20px
  }

  .summary-panel strong {
    font-size:13px
  }

  .summary-panel p {
    font-size:11px
  }

  .people-list {
    grid-template-columns:1fr
  }

  .person-card {
    padding:15px
  }

  .speaker-tools {
    gap:9px
  }

  .speaker-tools select {
    font-size:11px;
    max-width:140px
  }

  .file-card {
    padding:16px 13px;
    gap:11px
  }

  .file-card .icon-tile {
    width:35px;
    height:42px
  }

  .file-card h2 {
    font-size:13px
  }

  .file-card p {
    font-size:10px
  }

  .file-card>svg:last-child {
    width:17px;
    height:17px
  }

  .partner-card {
    padding:19px
  }

  .dialog-header {
    padding:17px 20px 0
  }

  .dialog-body {
    padding:13px 20px 24px
  }

  .dialog-body h2 {
    font-size:22px
  }

  .dialog-body p {
    font-size:12px
  }

  .toast {
    bottom:calc(88px + env(safe-area-inset-bottom));
    font-size:11px
  }

  .agenda-conflict {
    font-size:11px
  }

  .profile-card {
    padding:17px
  }

  dialog {
    max-height:calc(100dvh - 24px);
    width:calc(100% - 20px);
    border-radius:18px
  }

}

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

}

@media print {
  .bottom-nav,.app-header,.demo-strip,.bookmark,.filter-button,.profile-card {
    display:none
  }

  .app-main {
    padding:0;
    max-width:none
  }

  .talk-list {
    grid-template-columns:1fr 1fr
  }

  .talk-card {
    break-inside:avoid
  }

  .talk-card.evening {
    background:white;
    color:var(--deep)
  }

  body {
    background:white
  }

}

.talk-room>span {
  display:inline-flex;
  align-items:center;
  gap:4px
}

/* Touch targets remain generous while the programme stays compact. */
.bookmark {
  position:relative
}

.bookmark:after {
  content:"";
  position:absolute;
  inset:-6px
}

.stream-bar {
  justify-content:flex-start
}

.stream-bar>span {
  flex-basis:auto
}

.profile-button {
  min-height:44px;
  min-width:44px
}

@media(max-width:650px) {
  .room-pills button,.filter-button {
    min-height:44px
  }

  .stream-bar>span {
    flex-basis:auto
  }

  .stream-bar {
    padding:9px 11px;
    min-height:51px
  }

  .stream-bar button {
    min-height:36px
  }

  .page-heading {
    margin-bottom:21px
  }

}

/* Production controls, server-fed data, account and file actions. */
.profile-button {
  text-decoration:none
}

.bottom-nav {
  grid-template-columns:repeat(var(--nav-count,4),1fr)
}

.skip-link {
  position:fixed;
  top:-100px;
  left:15px;
  z-index:100;
  padding:10px;
  background:white;
  color:var(--deep)
}

.skip-link:focus {
  top:10px
}

.oca-messages:empty {
  display:none
}

.oca-messages {
  max-width:1004px;
  margin:auto
}

.oca-messages joomla-alert {
  display:block;
  padding:15px;
  border:1px solid var(--line);
  background:var(--soft)
}

.resource-button {
  text-decoration:none
}

.partner-logo img {
  max-width:100%;
  max-height:68px;
  object-fit:contain
}

.portrait img {
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:9px
}

.main-edit-link {
  margin-top:16px
}

.player-frame {
  width:100%;
  aspect-ratio:16/9;
  border:0;
  border-radius:10px
}

.speaker-heading {
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:15px
}

.profile-button .profile-word {
  white-space:nowrap
}

.talk-title {
  font-size:15px
}

.talk-description {
  font-size:13px
}

.contact-lines {
  display:grid;
  gap:7px;
  margin:10px 0
}

.contact-lines a {
  font-size:12px
}

.file-buttons {
  display:flex;
  align-items:center;
  gap:8px;
  flex:none
}

.file-buttons .filter-button {
  min-width:40px
}

.file-card .file-download {
  margin-left:auto;
  color:var(--green)
}

.file-card>span:nth-child(2) {
  flex:1
}

.account-actions {
  margin-top:16px
}

.news-link {
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin-top:7px;
  font-size:11px
}

.rooms-select {
  max-width:200px;
  border:1px solid var(--line);
  background:white;
  border-radius:9px;
  padding:10px;
  min-height:44px;
  color:var(--ink)
}

.filter-summary {
  font-size:11px;
  color:var(--muted);
  margin-bottom:15px
}

.stream-bar a {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 11px;
  background:white;
  border:1px solid var(--line);
  border-radius:7px;
  text-decoration:none;
  font-size:11px;
  min-height:36px
}

.back-link {
  width:fit-content
}

.content-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:13px
}

.info-hero:empty {
  display:none
}

.file-card {
  flex-wrap:wrap
}

.empty-state a {
  margin:4px
}

.talk-room>span {
  display:inline-flex;
  align-items:center
}

.dialog-person .portrait {
  overflow:hidden
}

.source-note {
  font-size:11px;
  color:var(--muted);
  margin-top:20px
}

.talk-card.evening .talk-title {
  color:white
}

.talk-card.evening a {
  color:#e1ebbe
}

@media(max-width:650px) {
  .brand strong {
    font-size:12px;
    line-height:1.3
  }

  .brand {
    max-width:calc(100% - 54px)
  }

  .brand small {
    font-size:10px
  }

  .file-buttons {
    margin-left:auto
  }

  .talk-card {
    grid-template-columns:47px minmax(0,1fr) 30px
  }

  .day-switch.many-days {
    display:flex;
    overflow:auto;
    scroll-snap-type:x mandatory
  }

  .day-switch.many-days button {
    flex:0 0 145px;
    scroll-snap-align:start
  }

  .rooms-select {
    max-width:200px;
    font-size:12px
  }

  .file-card {
    gap:11px
  }

}

/* 1.1.0: compact shared programme controls, preserving the separate app shell. */
.oca-app .app-programme-toolbar { display:flex; flex-wrap:wrap; align-items:end; gap:10px; margin:20px 0; padding:14px; background:#f5f7f1; border:1px solid var(--line); border-radius:12px; }
.oca-app .app-programme-toolbar label,.oca-app .app-view-field { flex:1 1 140px; display:grid; gap:5px; min-width:0; font-size:11px; }
.oca-app .app-programme-toolbar label:first-child { flex-basis:190px; }
.oca-app .app-programme-toolbar select { min-height:42px; width:100%; min-width:0; border:1px solid #c6d3c2; border-radius:6px; padding:8px; background:#fff; color:#263b2d; font:inherit; }
.oca-app .app-view-field > div { display:flex; }
.oca-app .app-view-field button { flex:1; min-height:42px; padding:8px 12px; border:1px solid #c0cfba; background:#fff; color:#174c35; font:inherit; border-radius:6px 0 0 6px; cursor:pointer; }
.oca-app .app-view-field button:last-child { border-left:0; border-radius:0 6px 6px 0; }
.oca-app .app-view-field button[aria-pressed=true] { background:#174c35; color:white; border-color:#174c35; }
.oca-app .app-my-programme { display:flex; align-items:center; justify-content:center; gap:7px; min-height:42px; padding:9px 12px; border:1px solid #bcccba; border-radius:6px; color:#174c35; background:#fff; text-decoration:none; font-size:12px; font-weight:650; }
.oca-app .app-my-programme svg { width:16px; height:16px; }
.oca-app .app-my-programme.active { background:#eaf0df; }
.oca-app .app-day-heading { font-size:17px; margin:26px 0 14px; }
.oca-app .app-programme-rooms { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:18px; }
.oca-app .app-programme-room { min-width:0; }
.oca-app .app-room-heading { position:sticky; top:var(--op-sticky-top,0px); z-index:8; margin:0 0 10px; padding:12px 14px; border-top:3px solid var(--op-room-accent); border-radius:7px; background:var(--op-room-tint); color:var(--op-room-accent); font-size:14px; }
.oca-app .app-programme-room .talk-list { display:flex; flex-direction:column; gap:12px; }
.oca-app .app-programme-room .section-label { margin:9px 0 0; }
.oca-app .talk-card:not(.evening) { border-left:3px solid var(--op-room-accent,#174c35); }
.oca-app .app-card-conflict { grid-column:2/-1; justify-self:start; margin:0; }
.oca-app .op-schedule { margin-bottom:25px; }
.oca-app .op-compact { margin-block:10px; }
.oca-app .app-programme-toolbar :focus-visible { outline:3px solid #9dc201; outline-offset:2px; }
@media(max-width:700px) { .oca-app .app-programme-rooms { grid-template-columns:minmax(0,1fr); } .oca-app .app-programme-toolbar label,.oca-app .app-view-field { flex:1 1 calc(50% - 10px); } .oca-app .app-programme-toolbar label:first-child { flex:1 0 100%; } .oca-app .app-my-programme { flex:1 1 calc(50% - 10px); } }
@media print { .oca-app .app-room-heading { position:static; } .oca-app .app-programme-toolbar { display:none; } }

.oca-app .app-separated-rooms .app-programme-room { margin-top:26px; }
.oca-app .app-programme-rooms:empty,.oca-app .app-separated-rooms:empty { display:none; }
