/* Shared page frame. Navigation and account controls are outside this frame. */
html body .ro-page-context{box-sizing:border-box;min-width:0;width:100%;max-width:none!important;margin:0!important}
html body .ro-page-context>.view-pane{animation:none!important;transition:none!important;transform:none!important}
html body .ro-render-stage{position:fixed!important;left:0!important;top:0!important;max-height:100vh!important;overflow:hidden!important;pointer-events:none!important;z-index:-10!important}
html body .ro-render-stage,html body .ro-render-stage *{visibility:hidden!important}
html body .ro-render-stage *{animation:none!important;transition:none!important}
html body .ro-page-progress{position:fixed;bottom:22px;right:22px;z-index:1200;padding:9px 14px;border:1px solid var(--line);border-radius:10px;background:var(--bg3);color:var(--text);font-size:13px;pointer-events:none;animation:ro-page-busy .2s step-end both}
@keyframes ro-page-busy{from{opacity:0}to{opacity:1}}
html body .ro-page-error{position:fixed;bottom:22px;right:22px;z-index:1200;display:flex;align-items:center;flex-wrap:wrap;gap:8px;max-width:min(600px,calc(100vw - 32px));box-sizing:border-box;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--bg3);color:var(--text);box-shadow:0 4px 20px #0003}
html body .ro-page-error>span{flex:1 1 260px}
html[data-theme][data-theme][data-theme] body .ro-page-header[data-banner=dashboard] .ro-page-info{display:none!important}
html[data-theme][data-theme][data-theme] body .ro-page-header .ro-home-intro p{margin:5px 0 0;font-size:14px;line-height:1.4;color:var(--muted)}
html[data-theme][data-theme][data-theme] body .ro-page-header .festival-eyebrow{display:block;margin-bottom:5px;font-size:12px;color:var(--muted)}
@media(max-width:600px){html body .ro-page-progress,html body .ro-page-error{bottom:90px;right:12px}html body .ro-page-header .ro-home-intro p{font-size:12px}}
@media(prefers-reduced-motion:reduce){html body .ro-page-progress{animation:none}}

/* Scoring is an independent page, not an unstyled copy of festival setup. */
html[data-theme][data-theme][data-theme] body .ro-scoring-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;width:100%;min-width:0}
html[data-theme][data-theme][data-theme] body .ro-scoring-panel{padding:18px!important;margin:0!important;min-width:0}
html[data-theme][data-theme][data-theme] body .ro-scoring-head{display:block;margin:0 0 16px}
html[data-theme][data-theme][data-theme] body .ro-scoring-head h3{font-size:19px;line-height:1.3;margin:5px 0 7px;overflow-wrap:break-word}
html[data-theme][data-theme][data-theme] body .ro-scoring-head p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
html[data-theme][data-theme][data-theme] body .ro-scoring-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;margin:0}
html[data-theme][data-theme][data-theme] body .ro-scoring-fields label,html[data-theme][data-theme][data-theme] body .ro-scoring-windows label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:14px;line-height:1.4}
html[data-theme][data-theme][data-theme] body .ro-scoring-layout input{box-sizing:border-box;min-width:0;width:100%;max-width:100%;min-height:44px;margin:0}
html[data-theme][data-theme][data-theme] body .ro-scoring-layout h4{font-size:15px;margin:20px 0 10px}
html[data-theme][data-theme][data-theme] body .ro-scoring-windows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
html[data-theme][data-theme][data-theme] body .ro-scoring-summary{font-size:13px;line-height:1.5;color:var(--muted);margin:14px 0}
html[data-theme][data-theme][data-theme] body .ro-scoring-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0 0;padding:0;border:0}
/* Give the form-section title room rather than breaking its last letter. */
html[data-theme][data-theme][data-theme] body .ro17-form-sections>.ro17-panel-title{flex-wrap:wrap;gap:8px}
html[data-theme][data-theme][data-theme] body .ro17-form-sections>.ro17-panel-title>div{flex:1 1 190px;min-width:0}
html[data-theme][data-theme][data-theme] body .ro17-form-sections>.ro17-panel-title h3{overflow-wrap:normal;word-break:normal;hyphens:auto}
/* The home notice heading and cards need the same small inset as other panels. */
html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=dashboard] .festival-news-preview>.ro-panel-head{padding:12px 14px!important}
html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=dashboard] .festival-news-preview>.hint{padding:0 14px 12px!important}
html[data-theme][data-theme][data-theme] body .ro17-add-field-modal label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px;min-height:40px;margin:8px 0}
@media(max-width:900px){html[data-theme][data-theme][data-theme] body .ro-scoring-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){html[data-theme][data-theme][data-theme] body .ro-scoring-panel{padding:14px!important}html[data-theme][data-theme][data-theme] body .ro-scoring-fields{grid-template-columns:minmax(0,1fr)}html[data-theme][data-theme][data-theme] body .ro-scoring-actions>.btn{width:100%}}

/* Scoped planning rules must not revive the retired two-column layout. */
html[data-theme] body.festival-layout .ro-page-context[data-view=plan] .ro-plan-layout{display:flex!important;flex-direction:column!important;gap:16px!important}
html[data-theme] body.festival-layout .ro-page-context[data-view=plan] .festival-plan-detail{width:100%!important;min-width:0!important;align-self:stretch!important}
html[data-theme] body.festival-layout .ro-page-context[data-view=plan] .ro-plan-foot-grid{width:100%!important;box-sizing:border-box}

html body .ro-duplicate-cancel{display:none!important}

/* One mobile toolbar; keep account controls and labelled personal destinations visible. */
@media(max-width:900px){
 html[data-theme][data-theme][data-theme] body.festival-layout #festivalChrome{margin-bottom:6px!important}
 html[data-theme][data-theme][data-theme] body.festival-layout #festivalChrome .festival-brandbar{gap:4px 8px!important;padding:4px 0 6px!important}
 html[data-theme][data-theme][data-theme] body.festival-layout #festivalChrome .festival-header-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) repeat(4,44px);gap:4px!important;align-items:center;width:100%;min-width:0;padding-top:5px}
 html[data-theme][data-theme][data-theme] body.festival-layout #festivalChrome .festival-header-actions::before{display:none!important;content:none!important}
 html[data-theme][data-theme][data-theme] body.festival-layout #festivalChrome .festival-header-actions>.btn{width:100%;min-width:0;min-height:44px!important;height:44px!important;padding:4px!important;font-size:12px!important;white-space:nowrap;box-sizing:border-box;margin:0!important}
 html[data-theme][data-theme][data-theme] body.festival-layout #festivalChrome .festival-header-actions [data-festival-view=profil] .festival-profile-label,
 html[data-theme][data-theme][data-theme] body.festival-layout #festivalChrome .festival-header-actions [data-festival-view=updates] svg{display:none!important}
 html[data-theme][data-theme][data-theme] body.festival-layout #festivalChrome .festival-header-actions [data-festival-view=updates]{padding-right:4px!important}
 html[data-theme][data-theme][data-theme] body.festival-layout #festivalChrome .festival-header-actions .nav-badge{top:-5px;right:0;transform:none;font-size:10px;min-width:16px;line-height:16px;padding:0 3px}
 html[data-theme][data-theme][data-theme] body.festival-layout #festivalChrome .festival-header-actions :is(.festival-language,.theme-control,[data-header-logout]){width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;box-sizing:border-box}
 html[data-theme][data-theme][data-theme] body.festival-layout #festivalChrome .festival-header-actions #festivalMenu{order:0}
 html[data-theme][data-theme][data-theme] body.festival-layout #festivalChrome .festival-presence-header{min-width:104px;max-width:140px}
 html[data-theme][data-theme][data-theme] body.festival-layout #festivalChrome .festival-presence-header .btn{min-height:44px!important;padding:4px 8px!important}
 html[data-theme][data-theme][data-theme] body.festival-layout #festivalChrome .festival-brand{font-size:16px}
 html[data-theme][data-theme][data-theme] body.festival-layout #festivalChrome .festival-brand small{font-size:11px;line-height:1.25}
 html[data-theme][data-theme][data-theme] body #mobilePager [data-direct-view]{min-height:54px;padding:5px 2px!important}
 html[data-theme][data-theme][data-theme] body #mobilePager [data-direct-view] span{font-size:11px;line-height:1.2}
}
/* Roles without personal updates need only one flexible destination. */
@media(max-width:900px){
 html[data-theme][data-theme][data-theme] body.festival-layout #festivalChrome .festival-header-actions:not(:has([data-festival-view=updates])){grid-template-columns:minmax(0,1fr) repeat(4,44px)}
}

/* Guidance follows the same page width and colour tokens in both themes. */
html body .clarity-intro,html body .clarity-setup{border:1px solid var(--line);border-radius:12px;background:var(--bg2);padding:14px;margin:12px 0;min-width:0}
html body .clarity-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:10px;padding:0;list-style:none}
html body .clarity-task,html body .clarity-grid>li{display:flex;flex-direction:column;gap:6px;padding:12px;min-width:0;text-align:left;white-space:normal;border:1px solid var(--line);border-radius:10px;background:var(--bg3);color:var(--text);font:inherit;overflow-wrap:anywhere}
html body button.clarity-task{cursor:pointer;min-height:44px}
html body .clarity-task span,html body .clarity-grid small,html body .clarity-note{font-size:13px;line-height:1.5;color:var(--muted)}
html body .clarity-note{margin:8px 0 12px}
html body .clarity-help{width:min(720px,calc(100vw - 24px));max-height:90dvh;overflow-y:auto;box-sizing:border-box}
html body .clarity-topic{border:1px solid var(--line);border-radius:9px;padding:10px;margin:10px 0;min-width:0}
html body .clarity-topic summary{cursor:pointer;font-weight:600;min-height:44px;display:list-item;align-content:center}
html body .clarity-topic li{margin:8px 0;line-height:1.5}
html body .clarity-topic dd{margin:4px 0 12px;color:var(--muted)}
html body .clarity-trail{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px;border:1px solid var(--line);border-radius:9px;margin-bottom:12px}
html body .clarity-effect{border-left:3px solid var(--sand);padding-left:9px;font-size:13px}
html body .clarity-ok{color:var(--green);font-weight:600}
html body .clarity-score-summary{padding-left:20px;line-height:1.5}
html body .clarity-help [hidden]{display:none!important}
@media(max-width:900px){html body #mobilePager [data-direct-view] span{overflow-wrap:anywhere}html body .clarity-help button,html body .clarity-setup button,html body .clarity-intro button{min-height:44px!important}}

/* 1.3.20: one surface per panel; inner wrappers must not cover its warm heading. */
html[data-theme][data-theme][data-theme] body #content .warm-surface :is(.pick-bar,.ro-editor-empty,.ro-plan-table-head,.ro17-panel-title){background:transparent!important;box-shadow:none!important}
html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] .ro-plan-editor-card .pick-bar{padding:0!important;margin:0!important;border:0!important}
html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] .ro-editor-empty{padding:0;min-height:0}
html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] .ro-editor-empty h3{font-size:19px;line-height:1.4;margin:0 0 8px}
html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] :is(.ro-plan-editor-card,.ro-plan-candidates-card,#shiftIssues,.ro-plan-disclosure){padding:16px!important;box-sizing:border-box;min-width:0}
html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] :is(.ro-plan-table-head,.ro-plan-disclosure>summary){margin:0 0 12px!important;padding:0!important;min-height:28px;align-items:center;line-height:1.4}
html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] .ro-plan-table-head h2{margin:0!important}
html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] .ro-plan-disclosure:not([open])>summary{margin-bottom:0!important}
html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] .plan-inspector-section:empty{display:none}
html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] :is(.ro-plan-editor-col,.ro-plan-foot-grid){gap:16px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] :is(#shiftIssues,#planLog) .problem{margin:8px 0 0;padding:10px 12px;overflow-wrap:anywhere}
html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] #shiftIssues>.k{min-height:28px;display:flex;align-items:center;margin:0 0 12px}
/* Labelled and unlabelled filter controls share a baseline and wrap without overflow. */
html[data-theme][data-theme][data-theme] body #content :is(.filter-bar,.ro-filter-strip,.ro-quick-filters){align-items:flex-end;gap:8px 12px;box-sizing:border-box;min-width:0}
html[data-theme][data-theme][data-theme] body #content :is(.filter-bar,.ro-filter-strip,.ro-quick-filters)>label{display:flex;flex-direction:column;gap:5px;margin:0;min-width:0}
html[data-theme][data-theme][data-theme] body #content :is(.filter-bar,.ro-filter-strip,.ro-quick-filters) :is(input:not([type=checkbox]):not([type=radio]),select){box-sizing:border-box;min-height:40px;margin-block:0;max-width:100%}
html[data-theme][data-theme][data-theme] body #content :is(.filter-bar,.ro-filter-strip,.ro-quick-filters)>.btn{min-height:40px;margin-block:0}
html[data-theme][data-theme][data-theme] body #content :is(.ro17-panel-title,.ro17-subhead,.ro-panel-head){gap:10px;min-width:0;flex-wrap:wrap}
html[data-theme][data-theme][data-theme] body #content :is(.ro17-panel-title,.ro17-subhead,.ro-panel-head)>div{min-width:0}
html[data-theme][data-theme][data-theme] body #content :is(.ro17-panel-title,.ro17-subhead,.ro-panel-head) :is(h2,h3,p){overflow-wrap:anywhere}
html[data-theme][data-theme][data-theme] body #audBox .ro-note{margin:8px 0;padding:10px 12px}
html[data-theme][data-theme][data-theme] body #audBox .ro-note p{margin:4px 0 0;overflow-wrap:anywhere}
/* Quiet line art lives in existing empty space; it never reserves extra height. */
html[data-theme][data-theme][data-theme] body #content :is(.ro-empty-card,.ro-editor-empty){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='64' viewBox='0 0 80 64'%3E%3Cg fill='none' stroke='%237c8963' stroke-width='1.4' opacity='.18'%3E%3Cpath d='M76 60C51 53 56 29 31 13M59 43C41 47 35 34 38 27C51 27 56 34 59 43ZM49 28C50 10 66 8 68 15C67 24 58 28 49 28ZM35 16C22 20 13 12 16 5C26 3 34 8 35 16'/%3E%3C/g%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right bottom!important;background-size:80px 64px!important}
@media(max-width:900px){
 html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] :is(.ro-plan-editor-col,.ro-plan-foot-grid){grid-template-columns:minmax(0,1fr)!important}
 html[data-theme][data-theme][data-theme] body #content :is(.filter-bar,.ro-filter-strip,.ro-quick-filters) :is(input:not([type=checkbox]):not([type=radio]),select,.btn){min-height:44px}
}
@media(max-width:480px){
 html[data-theme][data-theme][data-theme] body #content .filter-bar>label{flex:1 1 100%;width:100%}
 html[data-theme][data-theme][data-theme] body #content .filter-bar>label :is(input,select){width:100%!important;max-width:none!important;min-width:0}
}

/* 1.3.24: shared panel edges; headings and body use the same inner origin. */
html[data-theme][data-theme][data-theme][data-theme] body #content .ro-panel-head{align-items:center;gap:10px 12px}
html[data-theme][data-theme][data-theme][data-theme] body #content .ro-panel-head :is(h2,h3){margin:0!important}
html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=profil] .ro-profile-column>.ro-panel{padding:16px!important}
html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=profil] .ro-panel-head{padding:0 0 12px!important}
html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=profil] .ro-profile-id{position:static!important;top:auto!important}
html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=profil] .ro-profile-column{align-self:start;margin:0!important}
html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=conflicts] #content>.card[role=status]{margin:0 0 12px!important;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=conflicts] .ro-conflict-intro{margin:0 0 12px}
html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=news] .festival-inbox{gap:16px!important;align-items:start}
html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=news] .festival-news-list{border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible;display:flex;flex-direction:column;gap:8px!important}
html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=news] .festival-news-list button{margin:0!important;box-sizing:border-box}
/* 1.3.25: one compact conflict category bar instead of repeated summaries. */
html[data-theme][data-theme][data-theme][data-theme] body .ro-conflict-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;margin:0 0 8px}
html[data-theme][data-theme][data-theme][data-theme] body .ro-conflict-toolbar .ro-conflict-tabs{margin:0!important}
html[data-theme][data-theme][data-theme][data-theme] body .ro-conflict-explanation{margin:0 0 12px;color:var(--muted);font-size:14px;line-height:1.4}
html[data-theme][data-theme][data-theme][data-theme] body .ro-conflict-pending{margin:0 0 12px;padding:8px 12px;border-left:3px solid var(--gold);background:var(--gold-soft);font-size:14px}
@media(max-width:480px){html[data-theme][data-theme][data-theme][data-theme] body .ro-conflict-toolbar .ro-conflict-tabs{width:auto!important;flex:1 1 220px}html[data-theme][data-theme][data-theme][data-theme] body .ro-conflict-toolbar>.btn{min-height:44px}}
/* 1.3.27: position and move arrows share one line per question. */
html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=form] .ro173-pos-cell{grid-template-columns:56px 96px!important;gap:8px!important;justify-content:start;align-items:center}
html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=form] .ro173-pos-cell>small{display:none}
html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=form] .ro175-move-buttons{grid-column:auto!important;gap:8px!important}
html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=form] .ro173-field-row{min-height:0!important}
@media(min-width:901px){html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=form] :is(.ro173-field-head,.ro173-field-row){grid-template-columns:160px minmax(190px,1.45fr) 126px 128px 44px!important}}
@media(min-width:621px) and (max-width:900px){html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=form] .ro173-field-row{grid-template-columns:160px minmax(0,1fr) 44px!important}}
@media(max-width:620px){html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=form] .ro173-field-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px!important;grid-template-areas:"label label actions" "pos pos actions" "section type type" "flags flags flags"!important}html[data-theme][data-theme][data-theme][data-theme] body .ro-page-context[data-view=form] .ro173-row-actions{align-self:start}}

/* 1.3.30: independently stacked planning panels; no blank grid-row remainder. */
html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] :is(.ro-plan-main-stack,.ro-plan-side-stack){display:flex;flex-direction:column;gap:16px;min-width:0;align-self:start}
html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] :is(.ro-plan-main-stack,.ro-plan-side-stack)>.card{margin:0!important;min-width:0;width:100%;box-sizing:border-box}
/* Keep the art visible underneath the text, with the existing warning rule as separator. */
html[data-theme][data-theme][data-theme][data-theme] body #content .ro-page-context[data-view=plan] :is(#shiftIssues,#planLog) .problem,
html[data-theme][data-theme][data-theme][data-theme] body #content.ro-page-context[data-view=plan] :is(#shiftIssues,#planLog) .problem{background:transparent!important;box-shadow:none!important;font-size:10.5px!important;padding:7px 9px!important}
@media(max-width:900px){
 html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] :is(.ro-plan-main-stack,.ro-plan-side-stack){display:contents}
 html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] .ro-plan-editor-card{order:0}
 html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] #planStatsDisclosure{order:1}
 html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] #shiftIssues{order:2}
 html[data-theme][data-theme][data-theme] body .ro-page-context[data-view=plan] #planLogDisclosure{order:3}
}

/* 1.4: give headings and actions their own space at every text size. */
html[data-theme][data-theme][data-theme][data-theme] body .topbar .title-block>.row{display:flex!important;align-items:flex-start!important;gap:8px!important;flex-wrap:nowrap!important}
html[data-theme][data-theme][data-theme][data-theme] body .topbar .title-block #title{min-width:0!important;width:auto!important;flex:0 1 auto!important;white-space:normal!important;overflow-wrap:normal;word-break:normal}
html[data-theme][data-theme][data-theme][data-theme] body .topbar .title-block #helpBtn{position:static!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;align-self:flex-start;margin:0!important}
html[data-theme][data-theme][data-theme][data-theme] body .ro17-editor-footer{display:flex!important;flex-wrap:wrap!important;gap:8px!important;min-width:0}
html[data-theme][data-theme][data-theme][data-theme] body .ro17-editor-footer .btn{flex:1 1 140px;min-width:0!important;white-space:normal!important}
html[data-theme][data-theme][data-theme][data-theme] body .ro17-editor-footer .ro-draft-status{flex:1 0 100%;overflow-wrap:anywhere;margin:0}
html[data-theme][data-theme][data-theme][data-theme] body #mobilePager button>span:not(.nav-badge){overflow-wrap:normal!important;word-break:normal!important;hyphens:manual;font-size:clamp(9px,2.5vw,12px)}
.ro-archive-notice{margin:0 0 12px!important}
[data-archive-locked]{cursor:not-allowed}
#helpTopics{margin-top:12px}#helpTopics .clarity-topic{margin:8px 0}

/* Name links remain compact, with a usable target on desktop touch displays. */
@media(min-width:701px){html body #content button[data-p],html body #content button[data-hours-p]{min-height:24px}}

/* A cached page is explicitly provisional and cannot trigger any action. */
html body .ro-preview-notice{position:relative;padding:9px 12px;margin-bottom:8px;border:1px solid var(--line);border-radius:10px;background:var(--bg3);color:var(--text);font-size:13px}
html body .ro-preview-frame{pointer-events:none!important;opacity:.72}

/* Immediate press feedback without moving surrounding layout. */
button:not(:disabled):active{filter:brightness(.9)}
button[aria-busy="true"]{cursor:progress;position:relative}
img.face{aspect-ratio:1;object-fit:cover;flex-shrink:0}

/* Area tabs stay outside the decorative header and inside the active transaction. */
.ro-area-tabs{display:flex;flex-wrap:wrap;gap:7px;width:100%;margin:0 0 18px;clear:both}
.ro-area-tabs>.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;white-space:normal;max-width:100%;border-radius:9px;padding:9px 14px;flex:0 1 auto}
html body #content>.ro-area-tabs>.btn[aria-current=page]{background:#dfb844!important;color:#22271f!important;border-color:#dfb844!important;font-weight:700}
@media(max-width:600px){.ro-area-tabs{gap:6px;margin-bottom:14px}.ro-area-tabs>.btn{flex:1 1 105px;padding:9px 7px;min-height:44px;font-size:13px}.ro-area-tabs>.btn .nav-badge{position:static!important}}
@media print{.ro-area-tabs{display:none!important}}

.home-critical-bar[hidden]{display:none!important}

html[data-theme][data-theme][data-theme] body #festivalChrome .festival-tabs [data-festival-view]{position:relative}
html[data-theme][data-theme][data-theme] body #festivalChrome .festival-tabs [data-festival-view]:has(.nav-badge){padding-right:38px!important}

/* Compact menu footer: everyday controls first, device tools on demand. */
html[data-theme][data-theme][data-theme] #sidebar .userbox{padding:16px 0 4px!important;background:transparent!important;border-top:1px solid var(--line)!important;display:grid;gap:10px;min-width:0}
html[data-theme][data-theme][data-theme] #sidebar .menu-account-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
html[data-theme][data-theme][data-theme] #sidebar .menu-account-name{display:grid;gap:3px;min-width:0;line-height:1.4}
html[data-theme][data-theme][data-theme] #sidebar .menu-account-name strong{font-size:14px;color:var(--text);overflow-wrap:anywhere}
html[data-theme][data-theme][data-theme] #sidebar .menu-account-name small{font-size:12px;color:var(--muted)}
html[data-theme][data-theme][data-theme] #sidebar #logout{width:44px;min-width:44px;height:44px;padding:10px!important;display:grid;place-items:center;border:0!important;background:transparent!important;color:var(--muted)!important}
html[data-theme][data-theme][data-theme] #sidebar #logout svg{width:20px;height:20px}
html[data-theme][data-theme][data-theme] #sidebar .menu-festival-label{font-size:12px;color:var(--muted);margin:0 0 -5px}
html[data-theme][data-theme][data-theme] #sidebar #festSel{width:100%;min-width:0;margin:0!important;min-height:44px;font-size:13px!important;background:var(--bg3)!important;color:var(--text)!important;border:1px solid var(--line)!important;border-radius:10px;padding:10px 28px 10px 12px}
html[data-theme][data-theme][data-theme] #sidebar .menu-settings{border:0;background:transparent;margin:0;padding:0;min-width:0}
html[data-theme][data-theme][data-theme] #sidebar .menu-settings>summary{font-size:12px;min-height:44px;align-content:center;padding:10px 0;cursor:pointer;color:var(--muted);list-style:revert}
html[data-theme][data-theme][data-theme] #sidebar .menu-settings-content{padding:6px 0 12px;display:grid;gap:16px;min-width:0}
html[data-theme][data-theme][data-theme] #sidebar .menu-settings-content .btn{font-size:13px!important;min-height:44px;white-space:normal;margin:0;justify-content:center;text-align:center}
html[data-theme][data-theme][data-theme] #sidebar #offlineControls{display:grid;gap:10px;min-width:0;border-top:1px solid var(--line);padding-top:14px}
html[data-theme][data-theme][data-theme] #sidebar #offlineControls h3{font-size:13px;margin:0;color:var(--text)}
html[data-theme][data-theme][data-theme] #sidebar #offlineControls p,html[data-theme][data-theme][data-theme] #sidebar #offlineStatus{font-size:12px;line-height:1.5;color:var(--muted);margin:0;overflow-wrap:anywhere}
html[data-theme][data-theme][data-theme] #sidebar .menu-offline-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}

/* Festival artwork for the mobile dock. Desktop does not request this asset. */
@media(max-width:900px){
 html[data-theme][data-theme][data-theme][data-theme] body.festival-layout #mobilePager.ro-direct-nav{
  background:linear-gradient(rgba(16,38,29,.72),rgba(16,38,29,.72)),#10261d url('/assets/mobile-nav-festival-v1.webp') center 38%/cover no-repeat!important;
  border-top:1px solid #657052!important;
  box-shadow:0 -2px 10px #061a1429!important;
  padding:4px max(5px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left))!important;
  gap:4px!important;
 }
 html[data-theme][data-theme][data-theme][data-theme] body.festival-layout #mobilePager.ro-direct-nav button{
  color:#fff8e6!important;background:rgba(5,25,18,.78)!important;
  border:1px solid rgba(241,216,145,.3)!important;border-radius:11px!important;
  box-shadow:0 1px 4px #0003!important;min-height:58px!important;padding:5px 1px!important;
  text-shadow:none!important;position:relative;
 }
 html[data-theme][data-theme][data-theme][data-theme] body.festival-layout #mobilePager.ro-direct-nav button .nav-ico{color:inherit!important;width:23px!important;height:23px!important;opacity:1!important}
 html[data-theme][data-theme][data-theme][data-theme] body.festival-layout #mobilePager.ro-direct-nav button[aria-current=page],
 html[data-theme][data-theme][data-theme][data-theme] body.festival-layout #mobilePager.ro-direct-nav button[aria-expanded=true]{
  color:#242b1d!important;background:#edc968!important;border-color:#ffe7a2!important;font-weight:750!important;
  box-shadow:0 2px 8px #0005,inset 0 1px 0 #fff6!important;
 }
 html[data-theme][data-theme][data-theme][data-theme] body.festival-layout #mobilePager.ro-direct-nav button:focus-visible{outline:3px solid #fff8e6!important;outline-offset:1px}
 html[data-theme][data-theme][data-theme][data-theme] body.festival-layout #mobilePager.ro-direct-nav .nav-badge{background:#682921!important;color:#fff8e6!important;border:1px solid #ffd58a!important;box-sizing:content-box}
}
@media(max-width:900px){
 html[data-theme][data-theme][data-theme][data-theme] body.festival-layout .main{padding-bottom:calc(96px + env(safe-area-inset-bottom))!important}
 html[data-theme][data-theme][data-theme][data-theme] body.festival-layout:not(.ro-keyboard-open) .ro-save-dock.on-page{bottom:calc(90px + env(safe-area-inset-bottom) + var(--keyboard-inset,0px))!important}
}

@media(max-width:900px){
 html:has(body.festival-layout),html body.festival-layout .main{scroll-padding-bottom:calc(96px + env(safe-area-inset-bottom))}
 html body.festival-layout #content :is(button,input,select,textarea){scroll-margin-bottom:calc(96px + env(safe-area-inset-bottom))}
 html[data-theme][data-theme][data-theme][data-theme] body.festival-layout:not(.ro-keyboard-open) :is(.toast,.ro-page-progress,.ro-page-error){bottom:calc(90px + env(safe-area-inset-bottom))!important}
}

/* Explicit take/counteroffer/cancel choice; comfortable touch targets. */
html[data-theme][data-theme][data-theme] body .ro-swap-take-choice{width:min(520px,100%);box-sizing:border-box}
html[data-theme][data-theme][data-theme] body .ro-swap-take-summary{display:grid;gap:6px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--bg2);line-height:1.5;overflow-wrap:anywhere}
html[data-theme][data-theme][data-theme] body .ro-swap-take-summary span{font-size:13px;color:var(--muted)}
html[data-theme][data-theme][data-theme] body .ro-swap-take-options{display:grid;gap:10px;margin-top:18px}
html[data-theme][data-theme][data-theme] body .ro-swap-take-options .btn{width:100%;min-height:48px;white-space:normal!important;line-height:1.4;justify-content:center;padding:12px 14px!important;box-sizing:border-box}
html[data-theme][data-theme][data-theme] body .ro-swap-take-options .hint{margin:0;line-height:1.5}


html[data-theme][data-theme][data-theme][data-theme] body :is(.home-metric,.ro-stat,.phase-metric,.ro17-summary-stat,.ro-conflict-stat) :is(strong,b){font-weight:var(--ro-value-weight)!important;font-variant-numeric:tabular-nums;font-style:normal}
html[data-theme][data-theme][data-theme][data-theme] body :is(.ro-stat strong i,.festival-my-hours small){font-style:normal;font-weight:400!important}
html[data-theme][data-theme][data-theme][data-theme] body .home-metric strong{justify-self:start;text-align:left!important;min-width:0;padding-right:0}
html[data-theme][data-theme][data-theme][data-theme] body.festival-layout #festivalChrome [data-festival-view=profil]>.nav-ico{display:inline-block!important;flex-shrink:0}
html[data-theme][data-theme][data-theme][data-theme] body.festival-layout #festivalChrome #festivalMenu>span{display:inline!important}
/* Compact notices keep the complete text, state and all actions. */
html[data-theme][data-theme][data-theme][data-theme] body .festival-home-message{padding:10px 12px 8px!important;min-height:0}
html[data-theme][data-theme][data-theme][data-theme] body .festival-home-message .notice-symbol{width:30px;height:30px;left:12px;top:12px}
html[data-theme][data-theme][data-theme][data-theme] body .festival-home-message .notice-symbol svg{width:21px!important;height:21px!important}
html[data-theme][data-theme][data-theme][data-theme] body #content .festival-home-message h3{font-size:16px!important;margin:0 0 3px!important}
html[data-theme][data-theme][data-theme][data-theme] body .festival-home-message p{margin:5px 0 0!important}
html[data-theme][data-theme][data-theme][data-theme] body .ro205-news-card{padding:12px!important}
html[data-theme][data-theme][data-theme][data-theme] body .ro205-news-head{margin-bottom:8px;gap:8px}
html[data-theme][data-theme][data-theme][data-theme] body .ro205-news-date{margin-bottom:3px;letter-spacing:normal}
html[data-theme][data-theme][data-theme][data-theme] body .ro205-news-foot{margin-top:10px;padding-top:8px;gap:8px}
html[data-theme][data-theme][data-theme][data-theme] body .festival-personal-event{padding:10px 12px!important;gap:8px;min-height:0}
html[data-theme][data-theme][data-theme][data-theme] body #content .festival-personal-event h3{margin:3px 0!important;font-size:16px!important}
html[data-theme][data-theme][data-theme][data-theme] body .festival-personal-event p{margin:5px 0!important;line-height:1.45}
@media(max-width:900px){
 html[data-theme][data-theme][data-theme][data-theme] body .home-metric{grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto auto auto;gap:3px 8px;padding:10px;min-height:0;align-content:start}
 html[data-theme][data-theme][data-theme][data-theme] body .home-metric :is(.metric-icon,.crew-capacity-ring){grid-column:1;grid-row:1;width:30px;height:30px;align-self:center}
 html[data-theme][data-theme][data-theme][data-theme] body .home-metric .metric-icon svg{width:21px!important;height:21px!important}
 html[data-theme][data-theme][data-theme][data-theme] body .home-metric .crew-capacity-ring>span{width:24px;height:24px;font-size:9px}
 html[data-theme][data-theme][data-theme][data-theme] body .home-metric strong{grid-column:2;grid-row:1;align-self:center;font-size:20px;line-height:1.2}
 html[data-theme][data-theme][data-theme][data-theme] body .home-metric .metric-label{grid-column:1/-1;grid-row:2;line-height:1.3;font-size:12px}
 html[data-theme][data-theme][data-theme][data-theme] body .home-metric small{grid-column:1/-1;grid-row:3;line-height:1.3;font-size:11px}
 html[data-theme][data-theme][data-theme][data-theme] body :is(.ro-stat,.ro-conflict-stat,.phase-metric,.ro17-summary-stat){padding:10px!important;min-height:0!important}
 html[data-theme][data-theme][data-theme][data-theme] body .festival-home-message [data-broadcast-read]{min-height:44px}

}
html[data-theme][data-theme][data-theme][data-theme] body :is(.ro17-rule-stats,.ro176-stat-grid,.festival-stat-list) b{font-weight:var(--ro-value-weight)!important;font-variant-numeric:tabular-nums}
@media(max-width:900px){
 html[data-theme][data-theme][data-theme][data-theme] body :is(.ro17-rule-stats,.festival-stat-list)>div{grid-template-columns:30px minmax(0,1fr);gap:3px 8px;padding:10px;min-height:0}
 html[data-theme][data-theme][data-theme][data-theme] body :is(.ro17-rule-stats,.festival-stat-list) .ico{grid-column:1;grid-row:1;width:30px;height:30px;align-self:center}
 html[data-theme][data-theme][data-theme][data-theme] body :is(.ro17-rule-stats,.festival-stat-list) b{grid-column:2;grid-row:1;align-self:center}
 html[data-theme][data-theme][data-theme][data-theme] body :is(.ro17-rule-stats,.festival-stat-list) small{grid-column:1/-1;grid-row:2;line-height:1.3;font-weight:400!important}
 html[data-theme][data-theme][data-theme][data-theme] body .ro176-stat-grid>div{padding:10px!important;gap:8px!important}
 html[data-theme][data-theme][data-theme][data-theme] body .ro176-stat-grid .ico{flex-basis:30px;width:30px;height:30px}

}
/* Sidebar metrics also have narrow cards on desktop: give labels the full row. */
html[data-theme][data-theme][data-theme][data-theme] body .ro176-stat-grid>div{display:grid!important;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto auto;gap:3px 8px!important;padding:10px!important}
html[data-theme][data-theme][data-theme][data-theme] body .ro176-stat-grid>div>span:last-child{display:contents}
html[data-theme][data-theme][data-theme][data-theme] body .ro176-stat-grid .ico{grid-column:1;grid-row:1;width:30px;height:30px;align-self:center}
html[data-theme][data-theme][data-theme][data-theme] body .ro176-stat-grid b{grid-column:2;grid-row:1;align-self:center}
html[data-theme][data-theme][data-theme][data-theme] body .ro176-stat-grid small{grid-column:1/-1;grid-row:2;margin-top:0!important;word-break:normal;overflow-wrap:normal;hyphens:auto}
@media(max-width:900px){
 html[data-theme][data-theme][data-theme][data-theme] body .ro-schedule-area strong{font-size:12px;line-height:1.3;font-weight:600;word-break:normal;hyphens:auto}

}
@media(max-width:900px){
 html[data-theme][data-theme][data-theme][data-theme] body .ro-schedule-area{padding-left:3px;padding-right:3px}

}

html[data-theme][data-theme][data-theme][data-theme] body .festival-home-message header{padding-left:40px;min-height:30px;display:flex!important;align-items:center}
html[data-theme][data-theme][data-theme][data-theme] body .festival-home-message footer{display:flex;align-items:center;justify-content:space-between;gap:2px 8px;flex-wrap:wrap}
html[data-theme][data-theme][data-theme][data-theme] body .festival-home-message footer time{flex:0 1 auto}
html[data-theme][data-theme][data-theme][data-theme] body .festival-home-message [data-broadcast-read]{margin-left:auto;flex:0 1 auto}

/* Long German destinations may wrap at a word boundary without leaving their button. */
html[data-theme][data-theme][data-theme][data-theme] body #mobilePager button>span:not(.nav-badge){font-weight:500!important;hyphens:manual!important;min-width:0;max-width:100%;font-size:clamp(9px,2.5vw,11px)!important}
