/* Final responsive layer: phone composition, no desktop overrides. */
@media(max-width:899px){
  .app-shell,.main-area,.content,#page{min-width:0}
  .topbar{padding-inline:max(10px,env(safe-area-inset-left));gap:8px}
  .topbar .top-actions{gap:6px}.topbar .page-title{font-size:16px}
  .topbar .profile-photo-trigger{width:38px;height:38px;flex-basis:38px}
  .topbar #logout{font-size:12px;padding:8px;min-width:0}
  .mobile-nav{padding-inline:max(6px,env(safe-area-inset-left));min-height:58px}
}
@media(max-width:760px){
  html[data-font]{--ui-body:14px;--ui-label:13px;--ui-meta:12px}
  html[data-font="small"]{--ui-body:13px;--ui-label:12px;--ui-meta:11px}
  html[data-font="large"]{--ui-body:16px;--ui-label:15px;--ui-meta:13px}
  .content{padding:10px max(10px,env(safe-area-inset-right)) calc(96px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}
  .content :is(.panel,.process-card,.indicator-card,.div-card,.report-card,.conference-module,.check-item,.field,.page-intro){min-width:0;max-width:100%;box-sizing:border-box}
  html[data-font] .content :is(.page-intro h2,.settings-category-head h2){font-size:19px;line-height:1.3}
  html[data-palette] .content :is(.panel-title,.settings-content-head h3){font-size:15px;line-height:1.4}
  html[data-font] :is(.content,.modal) :is(.process-name,.indicator-name,.check-item-title,.pick-card strong,.report-card h3,.div-title){font-size:var(--ui-body);line-height:1.4}
  .page-toolbar{gap:8px;margin-bottom:12px}.page-intro p{margin-top:4px}
  .page-toolbar :is(.process-toolbar-actions,.detail-actions,.dashboard-actions){gap:6px;max-width:100%;min-width:0}
  html[data-palette] :is(.content,.modal) :is(.btn,.btn-sm){font-size:var(--ui-label);min-height:44px;padding:8px 10px;gap:6px;max-width:100%;min-width:0;line-height:1.3;border-radius:9px;white-space:normal;overflow-wrap:anywhere}
  :is(.content,.modal) .btn>.icon{width:16px;height:16px;flex:0 0 16px}
  html[data-palette] :is(.content,.modal) :is(.input,.select,.textarea,.filter-input){font-size:16px;min-height:44px;width:100%;max-width:100%;min-width:0;padding:8px 10px;box-sizing:border-box}
  html[data-font][data-palette] .content .calendar-trigger{font-size:12px;min-height:44px;padding:8px 10px;max-width:100%}
  html[data-palette] .content :is(.panel-head,.panel-body,.settings-content-head){padding:12px;gap:10px}
  html[data-palette] .content :is(.process-card,.indicator-card,.div-card,.report-card,.check-item,.conference-module){padding:12px;min-height:0;height:auto;gap:10px;border-radius:14px}
  .dashboard-grid,.chart-grid,.process-grid,.indicator-grid,.report-grid,.list-stack,.conference-card-grid,.process-picker{gap:10px;align-items:start;grid-auto-rows:auto}
  .process-grid,.indicator-grid,.report-grid{grid-template-columns:minmax(0,1fr)}
  .report-card p{margin-bottom:12px}.process-grid .process-card-head{min-height:0;margin-bottom:8px}
  html[data-palette] .process-grid .process-symbol{width:32px;height:32px;flex-basis:32px}
  .process-score{font-size:26px;margin-top:6px}.process-grid .issue-list{margin-block:8px;gap:5px}
  .process-grid .process-owners{padding-top:8px;margin-top:2px}.process-grid .process-footer{margin-top:6px;gap:6px}
  .indicator-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
  .indicator-facts>div{min-width:0}.indicator-facts strong{font-size:var(--ui-label)}
  .div-meta{gap:5px;margin-top:6px}.div-meta .badge{white-space:normal}
  .div-actions,.check-actions,.conference-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0}
  .div-actions .btn,.check-actions .btn,.conference-card-actions .btn{width:100%;flex:none;justify-content:center}
  .div-actions>.btn:only-child,.check-actions>.btn:only-child{grid-column:1/-1}
  html[data-palette] .conference-module .conference-card-actions{padding-top:8px;margin-top:0;gap:6px}
  .conference-module-facts{gap:8px}.conference-module-facts dd{font-size:13px}
  .conference-deadline{padding:8px 10px}.conference-summary{gap:8px}
  html[data-palette] .conference-summary .conference-stat{min-height:68px;padding:10px 36px 10px 10px}
  html[data-palette] .conference-summary .conference-stat>strong{font-size:22px}
  html[data-palette] .conference-summary .conference-stat>span{font-size:11px}
  .kpi-strip,.hub-summary,.problem-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  html[data-palette] .content :is(.kpi-card,.hub-stat,.summary-card){padding:10px;min-height:0}
  .kpi-value,.hub-stat strong{font-size:24px}.attention-item{min-height:0;padding:10px}
  .filters-panel,.filters-shell{padding:10px;margin-bottom:12px}
  .filters,.history-filter-grid,.conference-record-filters,.conference-pending-filters,.action-filters{gap:8px;max-width:100%}
  .form-grid{gap:12px;grid-template-columns:minmax(0,1fr)}.field label{margin-bottom:5px}
  .tabs,.hub-tabs{position:static;margin:12px 0;padding:0 0 8px;gap:6px;max-width:100%;display:flex;flex-wrap:wrap;background:transparent;backdrop-filter:none}
  html[data-font] :is(.tab,.hub-tabs button){font-size:var(--ui-label);min-height:44px;padding:8px 10px;flex:1 1 100px;line-height:1.3}
  .timeline{padding-left:24px;margin-left:6px;gap:12px}.timeline-title{font-size:13px}
  .timeline-item{min-width:0}.timeline-marker{width:20px;height:20px;left:-29px}
  .detail-data-row{grid-template-columns:minmax(0,1fr);gap:3px;padding:8px 0}
  .detail-data-row :is(span,strong){overflow-wrap:anywhere}
  .empty-state{padding:18px 12px}.empty-state strong{font-size:14px}
  .sector-section{margin:18px 0 22px}.sector-heading{gap:8px;margin-bottom:10px}.sector-heading h3{font-size:17px}
  .sector-card{padding:12px}.sector-value{font-size:26px;margin-top:10px}
  .sector-chart,.sector-chart-empty{height:120px}.sector-meta{margin-top:10px;padding-top:10px}
  .modal-backdrop{padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}
  html[data-palette] .modal{max-height:92dvh;width:100%;min-width:0;border-radius:16px 16px 0 0}
  html[data-palette] :is(.modal-head,.modal-body),html[data-palette] .settings-user-modal :is(.modal-head,.modal-body){padding:14px;gap:10px}
  .modal-head h3{font-size:17px}.modal-head p{font-size:12px;line-height:1.45}
  html[data-palette] .modal-footer{padding:10px 14px;gap:6px}
  .modal .textarea{min-height:88px}.modal .saved-evidence img{max-height:200px}
  .sticky-finalize{padding:10px;bottom:calc(66px + env(safe-area-inset-bottom))}
  .score-rules{padding:10px 12px;margin-bottom:12px;font-size:12px}
  /* Override the older two-row settings rules with an actual side rail. */
  html[data-palette] .content .settings-workspace .settings-frame{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px}
  html[data-palette] .content .settings-workspace .settings-menu{display:flex;flex-direction:column;position:static;gap:6px;padding:0;margin:0;border:0}
  html[data-palette] .content .settings-workspace .settings-menu-item{width:44px;height:44px;min-height:44px;grid-column:auto;flex:none;flex-direction:row;justify-content:center;padding:10px}
  .settings-workspace .settings-content{min-width:0}.settings-workspace>.page-toolbar{margin-bottom:14px}
  .settings-workspace .settings-category-head{margin-bottom:12px}
  html[data-palette] .content .settings-workspace .settings-content>.panel+.panel{margin-top:16px}
  html[data-palette] .content .settings-workspace :is(.settings-option-row,.settings-contact-row,.settings-overview,.settings-user-row,.settings-help-guide details,.settings-install-grid,.settings-preference-footer){padding:12px;gap:10px}
  .settings-workspace .settings-option-row{min-height:0}.settings-workspace .settings-option-row>div{flex-basis:100%;max-width:100%}
  .settings-workspace .settings-option-row strong{font-size:13px}.settings-workspace .settings-option-row p{font-size:12px}
  .settings-workspace .settings-notification-option>div{flex:1 1 0}.settings-workspace .settings-toggle{margin:0;flex:0 0 44px}
  .settings-workspace .settings-contact-row{flex-direction:column;align-items:stretch}.settings-contact-actions{flex-wrap:wrap;min-width:0}
  .settings-workspace .settings-user-row{grid-template-columns:minmax(0,1fr) auto}
  .settings-user-row>:is(.settings-person,.settings-user-role,.badge,.btn){grid-column:auto;grid-row:auto}.settings-user-row>:is(.settings-person,.settings-user-role){padding-left:0}
  .settings-user-row>.settings-person{grid-column:1/-1}.settings-user-row>.btn{grid-column:1/-1;justify-self:stretch}
  .settings-workspace .settings-person strong{font-size:13px}.settings-avatar{width:32px;height:32px;flex-basis:32px}
  .settings-workspace .settings-overview{grid-template-columns:1fr}.settings-overview strong{font-size:20px}
  .settings-appearance .infinity-palette-grid{gap:8px}.settings-appearance .infinity-palette-card{min-height:98px;padding:10px 6px;gap:6px}
  .settings-appearance .infinity-palette-card>span{font-size:11px}.settings-appearance .appearance-format-controls{grid-template-columns:1fr;gap:10px}
  .settings-workspace .settings-developer-main{padding:14px;gap:14px}.settings-workspace .settings-developer-photo{width:112px;height:112px}
  .settings-workspace .settings-developer-copy h3{font-size:22px}.settings-workspace .settings-developer-description{font-size:12px;line-height:1.65}
  .settings-workspace .settings-developer-meta{padding:12px 14px;gap:12px}
}
@media(max-width:360px){
  .content{padding-inline:8px}.topbar #logout{font-size:0;gap:0}.topbar #logout>.icon{width:18px;height:18px}
  .history-filter-grid,.conference-record-filters,.indicator-facts{grid-template-columns:1fr}
  .conference-module-facts{grid-template-columns:1fr}.settings-workspace .settings-developer-copy h3{font-size:20px}
}

/* Mobile information hierarchy and progressive controls. */
@media(max-width:760px){
  .mobile-disclosure{min-width:0;max-width:100%;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);margin:8px 0}
  .mobile-disclosure>summary{min-height:44px;display:flex;align-items:center;gap:8px;padding:8px 10px;box-sizing:border-box;cursor:pointer;list-style:none;font-size:var(--ui-label);font-weight:600;color:var(--text-main)}
  .mobile-disclosure>summary::-webkit-details-marker{display:none}.mobile-disclosure>summary::after{content:'+';margin-left:auto;font-size:18px}.mobile-disclosure[open]>summary::after{content:'−'}
  .mobile-disclosure>summary:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
  .mobile-card-details>:not(summary){margin:8px 10px;min-width:0}.mobile-card-details .indicator-facts{display:grid;grid-template-columns:1fr}
  .mobile-secondary-actions{margin:0;align-self:start;position:relative}.mobile-secondary-actions[open]{grid-column:1/-1}
  .mobile-secondary-actions .btn{display:flex;width:calc(100% - 16px);margin:6px 8px;justify-content:flex-start}
  .indicator-actions,.div-actions,html[data-palette] .conference-module .conference-card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px}
  .mobile-card-primary{justify-content:center}.mobile-secondary-actions>summary{white-space:nowrap}
  .mobile-filters{margin:0 0 12px}.mobile-filters[open]>.filters-panel{display:flex}.mobile-filters>.history-filter-grid,.mobile-filters>.conference-record-filters,.mobile-filters>.conference-pending-filters,.mobile-filters>.action-filters,.mobile-filters>.sector-toolbar{padding:10px;margin:0}
  .mobile-filters .filters-panel{padding:10px;margin:0}.filters-shell{padding:0}.mobile-filter-controls{display:none}
  .mobile-filter-summary{display:flex;flex-wrap:wrap;gap:5px;padding:0 0 10px;margin-top:-6px}.mobile-filter-summary:empty{padding:0}
  .filters-shell>.active-filter-chips{display:none}
  .mobile-filter-chip{font-size:11px;line-height:1.4;padding:4px 6px;border-radius:6px;border:1px solid var(--border);color:var(--text-secondary);max-width:100%;overflow-wrap:anywhere}
  html[data-palette] .content :is(.tabs,.hub-tabs){display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding-bottom:6px}
  html[data-font] .content :is(.tabs .tab,.hub-tabs button){flex:0 0 auto;max-width:180px;min-width:80px;white-space:nowrap;padding:8px 10px}
  .content :is(.chart-box,.chart-grid .panel){min-height:0;height:auto}.chart-box svg{height:180px;max-width:100%}.sector-chart{height:120px}
  html[data-palette] .content .settings-workspace .settings-frame{grid-template-columns:76px minmax(0,1fr);gap:8px}
  html[data-palette] .content .settings-workspace .settings-menu-item{width:76px;height:auto;min-height:58px;padding:8px 4px;flex-direction:column;gap:4px;align-items:center}
  .mobile-tab-label{display:block;font-size:10px;line-height:1.25;text-align:center;color:inherit;max-width:100%;overflow-wrap:normal}
  .mobile-settings-control{margin-top:10px;min-height:44px}
  html[data-palette] .content .settings-workspace.mobile-settings-collapsed .settings-frame{grid-template-columns:minmax(0,1fr)}
  .mobile-settings-collapsed .settings-menu{display:none!important}
  .mobile-form-group{padding:12px;margin:0;border:1px solid var(--border);border-radius:10px;min-width:0;grid-column:1/-1;background:var(--surface-soft)}
  .mobile-form-group legend{font-size:13px;font-weight:600;padding:0 6px}.mobile-form-fields{display:grid;grid-template-columns:1fr;gap:12px;min-width:0}
  .modal form{min-height:0}.modal form .modal-footer{position:sticky;bottom:0;z-index:9;background:var(--surface);border-top:1px solid var(--border);padding-bottom:max(10px,env(safe-area-inset-bottom))}
  .modal form .modal-body{padding-bottom:18px}.modal input,.modal select,.modal textarea{scroll-margin-block:110px}
  .mobile-keyboard-open .mobile-nav,.mobile-keyboard-open .fab{visibility:hidden;pointer-events:none}
  .mobile-keyboard-open .modal{max-height:calc(100dvh - var(--mobile-keyboard-inset,0px));scroll-padding-bottom:90px}
  .settings-help-guide details:not([open]){padding-block:12px}
  .process-grid .process-card .score-label{font-size:11px;line-height:1.4}.process-grid .process-card .health-bar{margin-block:8px}
}
@media(min-width:761px){.mobile-tab-label,.mobile-settings-control{display:none}}
@media(max-width:360px){
  html[data-palette] .content .settings-workspace .settings-frame{grid-template-columns:68px minmax(0,1fr);gap:6px}
  html[data-palette] .content .settings-workspace .settings-menu-item{width:68px}
  .indicator-actions,.div-actions,html[data-palette] .conference-module .conference-card-actions{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.mobile-disclosure{scroll-behavior:auto}}

/* Refinement from the supplied phone captures: compact content, full information on demand. */
@media(max-width:760px){
  html[data-font="normal"],html[data-font="small"]{--ui-body:13px;--ui-label:12px;--ui-meta:11px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
  .content{padding-top:8px}.mobile-title-duplicate{display:none}
  html[data-font][data-palette] .content .page-intro p{font-size:12px;line-height:1.45;margin:0 0 6px}
  html[data-font][data-palette] .content .page-intro h2{font-size:18px;margin:0 0 6px}
  html[data-font][data-palette] :is(.content,.modal) .btn{min-height:40px;padding:7px 9px;font-size:12px;line-height:1.3}
  html[data-font][data-palette] :is(.content,.modal) .btn-primary,html[data-font][data-palette] .modal-footer .btn{min-height:44px}
  .content .icon-btn{width:36px;height:36px;min-width:36px}.topbar .page-title{font-size:15px}
  html[data-font][data-palette] .content .kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  html[data-font][data-palette] .content .kpi-card{min-height:70px;height:auto;padding:9px 10px;border-radius:12px}
  html[data-font][data-palette] .content .kpi-card .kpi-label{font-size:11px;line-height:1.35}
  .kpi-card .kpi-icon,.kpi-card .kpi-foot{display:none}.kpi-card .kpi-value{font-size:23px;line-height:1.1;margin-top:7px}
  html[data-font][data-palette] .content .process-grid .process-card{display:flex;height:auto;min-height:0;padding:12px;gap:0;border-radius:14px}
  html[data-font][data-palette] .content .process-grid .process-card::before{inset:5px;border-radius:10px;opacity:.6}
  html[data-font][data-palette] .content .process-grid .process-card::after{display:none}
  html[data-font][data-palette] .content .process-grid .process-card-head{min-height:0;margin:0 0 8px;gap:7px}
  html[data-font][data-palette] .content .process-grid .process-name{font-size:14px;line-height:1.3}
  .process-grid .process-category{font-size:11px;line-height:1.3;margin-bottom:3px}.process-grid .process-identity{gap:8px}
  html[data-font][data-palette] .content .process-grid .process-symbol{width:30px;height:30px;flex-basis:30px}
  html[data-font][data-palette] .content .process-grid .process-score{font-size:24px;line-height:1.15;margin:4px 0}
  .process-grid .process-card.unrated :is(.process-score,.score-label,.health-bar){display:none}
  html[data-font][data-palette] .content .process-grid .issue-list{flex:none;min-height:0;margin:6px 0;gap:4px}
  html[data-font][data-palette] .content .process-grid .issue-line{font-size:12px;line-height:1.4;min-height:0}
  html[data-font][data-palette] .content .process-grid .health-bar{height:5px;margin:6px 0}
  html[data-font][data-palette] .content .process-grid .process-footer{min-height:0;margin:4px 0 0;gap:8px;flex-direction:row;align-items:center}
  html[data-font][data-palette] .content .process-grid .process-footer .link-btn{min-height:40px;padding:7px 9px;font-size:12px;box-shadow:none}
  .process-grid .last-check{font-size:10px;line-height:1.35;flex:1 1 100px}
  .mobile-card-details{margin:5px 0;background:transparent;border-color:var(--border)}
  .mobile-disclosure>summary{min-height:36px;padding:7px 9px;font-size:12px;line-height:1.35}
  .mobile-filters>summary{min-height:40px}.mobile-filter-chip{font-size:10px;padding:3px 5px}
  .mobile-explanation{margin:6px 0 12px;background:transparent}.mobile-explanation p{font-size:12px;line-height:1.5;padding:0 10px 10px;margin:0}
  html[data-font][data-palette] .content .sector-card{padding:12px;border-radius:14px}
  .sector-card .sector-card-head h4{font-size:14px}.sector-card .sector-value{font-size:24px;line-height:1.15;margin:6px 0 3px}
  .sector-card .sector-result{font-size:11px;line-height:1.4}.mobile-sector-empty .sector-chart-empty{display:none}
  .sector-card .sector-footer{margin-top:8px;gap:6px;font-size:10px}.sector-footer>span{flex-basis:100%}
  .sector-footer .link-btn{font-size:12px;min-height:40px;display:inline-flex;align-items:center;padding:4px 0}
  .sector-heading{margin-bottom:8px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .sector-heading h3{font-size:16px;margin-bottom:3px}.sector-heading>div{min-width:0}.sector-heading span{font-size:11px}
  .sector-heading .btn{font-size:11px!important;padding:6px 8px!important}.sector-heading>label{grid-column:1/-1}
  html[data-font][data-palette] .content .conference-module{padding:12px;gap:8px;min-height:0;height:auto;border-radius:14px}
  .conference-module-head{gap:8px}.conference-module-head h3{font-size:14px;line-height:1.3;margin:3px 0 0}.conference-category{font-size:11px}
  .conference-deadline{padding:7px 9px;gap:3px 8px}.conference-deadline strong{font-size:13px}.conference-deadline-note{font-size:11px}
  .conference-module .div-meta{margin:0;gap:5px}.conference-module-progress{gap:4px}.conference-progress-caption{font-size:11px}
  .conference-progress-track{height:6px}.conference-module .mobile-card-details{margin:0}
  .conference-module-facts{margin:8px 10px}.conference-module-facts dt{font-size:10px}.conference-module-facts dd{font-size:12px}
  .conference-reference{font-size:11px;line-height:1.4}.conference-module .conference-card-actions{padding-top:8px}
  .mobile-secondary-actions{background:transparent}.mobile-secondary-actions>summary{min-height:40px;padding:7px 8px;font-size:11px}
  html[data-font][data-palette] .content .segmented.hub-tabs>button{font-size:12px;min-height:40px;padding:7px 10px}
  .content .conference-summary{gap:8px}.conference-stat>strong{font-size:21px}.conference-stat>span{font-size:11px}
  .dashboard-toolbar{gap:8px;margin-bottom:10px}.dashboard-actions,.process-toolbar-actions,.detail-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;flex:1 1 auto;width:100%}
  .dashboard-actions>.btn,.process-toolbar-actions>.btn,.detail-actions>.btn{flex:none;min-width:0;max-width:100%}
  .dashboard-actions>.mobile-secondary-actions,.process-toolbar-actions>.mobile-secondary-actions{margin:0}
  .fab{display:none}.content{padding-bottom:calc(82px + env(safe-area-inset-bottom))}
  html[data-font][data-palette] .modal :is(.modal-head,.modal-body){padding:12px;gap:8px}
  .modal-head h3{font-size:16px}.modal-head p{font-size:11px;line-height:1.4;margin-top:4px}
  .modal .field label{font-size:12px;margin-bottom:4px}.modal :is(.form-grid,.mobile-form-fields){gap:9px}
  .mobile-form-group{padding:0;border:0;background:transparent;border-radius:0}.mobile-form-group legend{padding:0 0 8px;font-size:12px;color:var(--text-secondary)}
  .mobile-form-fields,.quick-div-modal #divForm>.modal-body>.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .mobile-form-fields>.field,.quick-div-modal #divForm>.modal-body>.form-grid>.field{grid-column:1/-1}
  .mobile-form-fields>.mobile-half-field,.quick-div-modal #divForm>.modal-body>.form-grid>.mobile-half-field{grid-column:auto}
  .mobile-execution{grid-column:1/-1;margin:0}.mobile-execution>.field{padding:8px 10px}
  .modal .textarea,.modal textarea.input{min-height:72px;height:72px;resize:vertical}
  #dynamicFields:not(:has([data-dyn],.expected-step)){display:none}
  .modal .severity-segments button{min-height:40px;font-size:12px;padding:7px}
  .quick-div-more>summary{font-size:12px;min-height:40px}.quick-div-more>summary>span{font-size:10px}
  .mobile-android :is(.content,.modal) :is(.input,.select,.textarea,.filter-input){font-size:14px!important;min-height:40px;line-height:1.35;padding:8px 9px}
  .modal .mobile-half-field .calendar-trigger{font-size:11px;gap:4px}
  html[data-palette] .content .settings-workspace .settings-frame{grid-template-columns:64px minmax(0,1fr);gap:8px}
  html[data-palette] .content .settings-workspace .settings-menu-item{width:64px;min-height:50px;padding:7px 3px;gap:3px}
  .mobile-tab-label{font-size:9px;line-height:1.3}.mobile-settings-control{margin-top:6px;font-size:11px!important;min-height:36px!important;padding:5px 8px!important}
  html[data-font][data-palette] .content .settings-workspace .settings-category-head h2{font-size:17px;margin-bottom:3px}
  .settings-category-head p{font-size:11px;line-height:1.4}.settings-workspace>.page-toolbar .page-intro p{display:none}
  html[data-font][data-palette] .content .settings-workspace .settings-content-head{padding:10px;gap:7px}
  html[data-font][data-palette] .content .settings-workspace .settings-content-head h3{font-size:13px}.settings-content-head p{font-size:11px}
  html[data-palette] .content .settings-workspace .settings-user-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:10px}
  .settings-user-row>.settings-person{grid-column:1;grid-row:1}.settings-user-row>.btn{grid-column:2;grid-row:1;min-height:36px!important;width:auto;font-size:11px!important;padding:6px!important}
  .settings-user-row>.settings-user-role{grid-column:1;grid-row:2;font-size:10px}.settings-user-row>.badge{grid-column:2;grid-row:2;font-size:10px;justify-self:end}
  .settings-person{gap:7px}.settings-workspace .settings-person strong{font-size:12px}.settings-person>div>span{font-size:10px!important}.settings-avatar{width:28px;height:28px;flex-basis:28px}
}
@media(max-width:360px){
  html[data-palette] .content .settings-workspace .settings-frame{grid-template-columns:58px minmax(0,1fr);gap:6px}
  html[data-palette] .content .settings-workspace .settings-menu-item{width:58px}.mobile-form-fields,.quick-div-modal #divForm>.modal-body>.form-grid{grid-template-columns:1fr}
  .mobile-form-fields>.mobile-half-field,.quick-div-modal #divForm>.modal-body>.form-grid>.mobile-half-field{grid-column:1/-1}
}
@media(max-width:760px){html[data-font="large"] .content .kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Restore the established card artwork at phone proportions. */
@media(max-width:760px){
  html[data-font][data-palette] .content .process-grid .process-card::before{inset:6px;border-radius:10px;opacity:1;box-shadow:inset 0 0 9px color-mix(in srgb,var(--card-light) 9%,transparent),0 0 7px color-mix(in srgb,var(--card-light) 18%,transparent)}
  html[data-font][data-palette] .content .process-grid .process-card::after{display:block;inset:8px;border-radius:9px;opacity:.14;background-size:30px 105px}
  html[data-font][data-palette] .content .process-grid .process-card.unrated .health-bar{display:block}
  html[data-font][data-palette] .content .process-grid .health-bar{height:8px;margin:7px 0;border:1px solid var(--border-strong);box-shadow:inset 0 2px 3px rgb(0 0 0 / .25),0 1px 0 rgb(255 255 255 / .12);border-radius:5px}
  html[data-font][data-palette] .content .process-grid .process-card{box-shadow:inset 0 1px 1px rgb(255 255 255 / .24),inset 1px 0 1px rgb(255 255 255 / .1),inset 0 -3px 4px rgb(0 0 0 / .18),0 3px 0 color-mix(in srgb,var(--surface) 65%,black),0 8px 14px var(--card-shadow)}
  html[data-palette="creation"] .content .process-grid .process-card{box-shadow:inset 0 1px 1px white,inset 0 -3px 4px rgb(46 68 92 / .1),0 3px 0 #CBD5E0,0 8px 14px rgb(27 55 82 / .16)}
  html[data-palette] .content .conference-module .conference-progress-track{height:12px;padding:2px;border-radius:5px;border:1px solid var(--border-strong);box-shadow:inset 0 2px 3px rgb(0 0 0 / .28),0 1px 0 rgb(255 255 255 / .12)}
  html[data-palette] .content .conference-module .conference-progress-track>div{height:100%;min-height:4px;border-radius:2px;background:linear-gradient(180deg,var(--accent-highlight),var(--accent) 55%,var(--accent-depth));box-shadow:inset 0 1px 0 rgb(255 255 255 / .4)}
  html[data-font][data-palette] .content .kpi-card{position:relative}
  html[data-font][data-palette] .content .kpi-card .kpi-icon{display:grid;position:absolute;right:7px;top:8px;width:19px;height:19px;border-radius:6px}
  .kpi-card .kpi-icon .icon{width:12px;height:12px}.kpi-card .kpi-label{padding-right:16px}
  html[data-font][data-palette] .content .segmented.hub-tabs>button{font-size:11px;padding:7px 9px;min-height:40px}
  html[data-font][data-palette] .content .conference-module-head h3{font-size:13px;line-height:1.35}
  html[data-font][data-palette] .content .conference-category{font-size:10px;line-height:1.35}
  html[data-font][data-palette] .content .conference-module .badge{font-size:10px;line-height:1.35;padding:4px 6px}
  html[data-font][data-palette] .content .conference-progress-caption{font-size:11px;line-height:1.4}
  html[data-font][data-palette] .content .conference-deadline .conference-fact-label{font-size:11px}
  html[data-font][data-palette] .content .conference-summary .conference-stat>span{font-size:11px;line-height:1.35}
  .conference-stat[data-conference-status="done"]>span{font-size:0!important}
  .conference-stat[data-conference-status="done"]>span::after{content:'Conferidos na data';font-size:11px;line-height:1.35}
  html[data-font][data-palette] .content .mobile-disclosure>summary{font-size:11px;line-height:1.4;font-weight:550}
  html[data-font][data-palette] .content .hub-hint{font-size:12px;line-height:1.5}
}

/* Human-readable labels wrap at word boundaries; identifiers keep their own rules. */
html[data-font][data-palette] :is(.content,.modal) :is(h1,h2,h3,h4,.process-name,.indicator-name,.div-title,.check-item-title,.settings-person strong,.settings-contact-row strong,.settings-option-row strong,.field label,.btn,.link-btn,.badge,.conference-category,.process-category,.detail-data-row strong){overflow-wrap:normal;word-break:normal;hyphens:none;text-align:left}
html[data-font][data-palette] :is(.content,.modal) :is(.btn,.badge){text-align:center}
html[data-font][data-palette] :is(.content,.modal) :is(h1,h2,h3,h4,.process-name,.indicator-name,.div-title,.settings-person strong){text-wrap:pretty}
.process-identity,.conference-module-head{align-items:flex-start}.process-identity-text,.conference-module-head>div:last-child{min-width:0;flex:1 1 auto;text-align:left}
.process-identity>.process-symbol,.conference-module-head>.conference-metal-icon{flex-shrink:0;margin-top:2px}
.settings-person{align-items:center}.settings-person>div{flex:1 1 auto;min-width:0;text-align:left}
@media(max-width:760px){
  html[data-font][data-palette] .content .settings-menu-item .mobile-tab-label{display:block;white-space:nowrap;overflow-wrap:normal;word-break:normal;hyphens:none;font-size:10px;line-height:1.3;letter-spacing:0;text-align:center;max-width:none}
  html[data-font][data-palette] .content .settings-menu-item{align-items:center;justify-content:center}
  html[data-font][data-palette] .content .process-grid .process-name,html[data-font][data-palette] .content .conference-module-head h3{margin-top:3px;line-height:1.4;text-align:left}
  .process-category{gap:8px;align-items:flex-start;text-wrap:pretty}.process-step{margin-left:auto;flex-shrink:0;white-space:nowrap}
  .indicator-top{display:flex;align-items:flex-start;gap:8px}.indicator-top .indicator-name{flex:1;min-width:0}.indicator-top .badge{flex-shrink:0}
  .settings-user-row .settings-person strong{line-height:1.4}.settings-user-row .settings-user-role{line-height:1.4;overflow-wrap:normal;word-break:normal}
  .mobile-filter-chip{word-break:normal;overflow-wrap:normal}
  .conference-deadline strong,.conference-progress-caption strong{white-space:nowrap;flex-shrink:0}
}
html[data-font][data-palette] .content .tech-gauge h3{text-align:center}

/* Content must sit inside the decorative rim, with its own safe inset. */
@media(max-width:760px){
  html[data-font][data-palette] .content .conference-summary .conference-stat{padding:14px 44px 15px 18px;min-height:82px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px}
  html[data-font][data-palette] .content .conference-summary .conference-stat>strong{margin:0;line-height:1.1;font-size:22px}
  html[data-font][data-palette] .content .conference-summary .conference-stat>span{margin:0;max-width:100%;line-height:1.4}
  html[data-font][data-palette] .content .conference-summary .conference-stat-icon{right:13px;top:14px;width:24px;height:24px}
  html[data-font][data-palette] .content .conference-summary .conference-stat::before{inset:6px;border-radius:12px}
  html[data-font][data-palette] .content .conference-module{padding:16px;gap:9px}
  html[data-font][data-palette] .content .conference-module::before{inset:6px;border-radius:10px}
  html[data-font][data-palette] .content .process-grid .process-card{padding:16px}
  html[data-font][data-palette] .content .settings-workspace .settings-content-head{padding:14px 16px;gap:9px}
  html[data-font][data-palette] .content .settings-workspace .settings-user-row{padding:14px 12px;column-gap:10px;row-gap:11px}
  html[data-font][data-palette] .content .settings-workspace .settings-user-row>.badge{padding:4px 8px;min-height:24px;line-height:1.35;justify-self:end;box-sizing:border-box}
  html[data-font][data-palette] .content .settings-workspace .settings-person{gap:9px}
  html[data-font][data-palette] .content .settings-workspace .settings-person strong{margin:0 0 4px;line-height:1.3}
  html[data-font][data-palette] .content .settings-workspace .settings-person>div>span{margin-top:0;line-height:1.4}
  html[data-font][data-palette] .content .settings-workspace .settings-user-role{margin:0;align-self:center}
  html[data-font][data-palette] .content .settings-workspace .settings-user-row>.btn{align-self:center;justify-self:end}
}

/* Circuit traces restored at their original proportions. */
html[data-palette] .conference-module::before{background:url('assets/conference-circuit.svg') right 3px top 18px/54px 180px no-repeat}
@media(max-width:760px){
  html[data-font][data-palette] .content .process-grid .process-card::after{display:block;inset:8px;border-radius:9px;opacity:.24;background:url('assets/process-circuit.svg') right top/54px 180px no-repeat,url('assets/process-circuit.svg') left bottom/54px 180px no-repeat}
  html[data-font][data-palette] .content .conference-module::before{background:url('assets/conference-circuit.svg') right 3px top 20px/54px 180px no-repeat}
}
