/* Structure only: accepted material, contour, typography and LED rendering are shared. */
.main-card .summary-open{width:100%;height:100%;display:block;text-align:left}
.main-card:not(#websites) .summary-title{font-size:clamp(18px,1.7vw,27px)}
.main-card:not(#websites) .website-count strong{font-size:32px}
.main-card:not(#websites) .website-count>span{font-size:13px}
.main-card .portfolio-legend{flex-wrap:wrap;gap:12px!important}
.main-card:not(#websites) .portfolio-legend>span{font-size:11px!important}
.main-card .card-content{overflow:auto!important}
.lamp.gray{--signal:#9ba5ad}
.signal{display:inline-flex;align-items:center;gap:9px}
.panel .list-tools{flex-shrink:0}.panel .list-tools label{display:flex;gap:10px;align-items:center;font-size:12px}
.panel .list-tools input{min-width:0;max-width:100%;flex:1;padding:8px}
.panel .panel-body:has(.project-scroll){display:flex;flex-direction:column;overflow:hidden}
.panel .project-scroll{flex:1;min-height:60px;overflow:auto;overscroll-behavior:contain;padding:3px 3px 8px}
.panel .list-entry{margin-bottom:9px}.panel .expanded-project{width:100%;min-height:80px;display:flex;gap:16px;justify-content:space-between;align-items:center;padding:16px;text-align:left;margin:0}
.panel .expanded-project strong,.panel .expanded-project small{display:block}.panel .expanded-project small{margin-top:6px;font-weight:300}
.panel .site-filters{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.panel .site-filters button{min-height:38px;padding:8px 12px;font-size:12px}
.panel .project-signal{flex-shrink:0;font-size:12px}.panel .site-result{font-size:12px;margin:8px 0}
.detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}.detail-facts dt{font-size:12px;color:#b8cbd2}.detail-facts dd{margin:5px 0 0;font-weight:300;overflow-wrap:anywhere}
.panel-body>.expanded-project{margin-top:12px}.panel h1{overflow-wrap:anywhere}.panel p{line-height:1.5}
:is(#project-form,#workflow-form,#publication-form,#operation-form){display:grid;gap:10px}:is(#project-form,#workflow-form,#publication-form,#operation-form) label{display:grid;gap:5px}:is(#project-form,#workflow-form,#publication-form,#operation-form) input,:is(#project-form,#workflow-form,#publication-form,#operation-form) textarea,:is(#project-form,#workflow-form,#publication-form,#operation-form) select{width:100%;box-sizing:border-box;background:#15252c99;color:#eff8fb;border:1px solid #a7c5cf55;border-radius:4px;padding:10px;font:inherit}:is(#project-form,#workflow-form,#publication-form,#operation-form) fieldset{border:1px solid #a7c5cf44}:is(#project-form,#workflow-form,#publication-form,#operation-form) .language{display:inline-flex;align-items:center;margin-right:20px}:is(#project-form,#workflow-form,#publication-form,#operation-form) .language input{width:auto}.form-error{color:#ffc4bd}.review{padding:10px 0}.panel[data-page=editor] .neutral-caption{font-size:0}.panel[data-page=editor] .neutral-caption:after{content:'Rögzített adatlap';font-size:12px}
[hidden]{display:none!important}
@media(max-width:900px){.main-card:not(#websites) .summary-title{font-size:30px}.main-card:not(#websites) .website-count strong{font-size:48px}.main-card .portfolio-legend{flex-direction:column!important;align-items:flex-start;gap:14px!important}.main-card:not(#websites) .portfolio-legend>span{font-size:14px!important}.panel .expanded-project{gap:12px;align-items:flex-start;flex-direction:column;min-height:100px}.panel .site-filters{gap:6px}.panel .site-filters button{font-size:11px;padding:7px 9px}.detail-facts{grid-template-columns:1fr}.panel .lead{font-size:13px}.panel .expanded-heading h1{font-size:28px}.panel .list-tools input{width:100px}.panel .panel-body{padding-bottom:16px}}
@media(max-width:900px) and (max-height:740px){.main-card .portfolio-legend{gap:10px!important}.main-card:not(#websites) .website-count strong{font-size:34px}.panel .expanded-heading h1{font-size:24px;margin:4px 0}.panel .lead{margin:5px 0}.panel .site-filters{margin:5px 0}.panel .panel-nav.unified-controls{height:74px;flex-basis:74px}}
.log-filters{display:flex;flex-wrap:wrap;gap:8px}.log-filters label{flex:1;min-width:110px;flex-direction:column;align-items:flex-start!important}.log-filters select,.log-filters input{max-width:100%;width:100%;box-sizing:border-box;background:#15252c99;color:#eff8fb;border:1px solid #a7c5cf55;padding:7px}.panel .list-tools{max-height:45%;overflow:auto;overscroll-behavior:contain}
/* Short screens retain the same four instruments and tabbed card, within one viewport. */
@media(max-width:900px) and (max-height:740px){
 #shell:has(.main-card.selected){height:100svh;min-height:0;grid-template-rows:40px minmax(0,1fr) 54px}
 .dashboard:has(.main-card.selected){height:100%;min-height:0;overflow:visible;gap:6px;margin:0;padding-block:8px}
 .telemetry.hud-console{flex:0 0 auto;gap:8px}.hud-face,.channels-hud .hud-face{width:74px;height:74px}
 .mobile-tabs{min-height:40px;height:40px}.mobile-tabs button{padding-block:7px}
 .dashboard-grid:has(.main-card.selected){flex:1;min-height:0;height:auto}
 .dashboard-grid>.main-card{height:100%;min-height:0}.main-card .summary-open{min-height:0}
 .main-card .portfolio-legend{gap:6px!important}.main-card .portfolio-legend>span{font-size:12px!important;line-height:1.4}
 .main-card .website-count strong{font-size:34px}.main-card .card-content{top:78px;bottom:30px;gap:4px}
}
@media(max-width:900px){
 #shell:has(.main-card.selected){height:100svh;min-height:0;grid-template-rows:48px minmax(0,1fr) 56px}
 .dashboard:has(.main-card.selected){height:100%;min-height:0;margin:0}
 .dashboard-grid:has(.main-card.selected){flex:1;min-height:0;height:auto}
 .dashboard-grid>.main-card{height:100%;min-height:0}
}
@media(max-width:900px) and (max-height:740px){#shell:has(.main-card.selected){grid-template-rows:40px minmax(0,1fr) 54px}}
/* Summary rows are unboxed information; old small-screen box padding must not consume their space. */
.main-card .card-content .portfolio-legend>span{padding:0!important}

/* Project rows use the existing card content viewport and shared project colors. */
#work .development-summary-row{display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:54px;padding:6px 3px;background:transparent;border:0;text-align:left;color:inherit;cursor:pointer;flex-shrink:0}
#work .development-phase-chip{flex:0 0 38px;display:grid;place-items:center;min-height:28px;box-sizing:border-box;border:1px solid var(--project-color);color:var(--project-color);font:12px ui-monospace,monospace;box-shadow:inset 0 0 5px color-mix(in srgb,var(--project-color) 12%,transparent)}
#work .development-row-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
#work .development-row-text strong,#work .development-row-text small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:400}
#work .development-row-text strong{font-size:14px}#work .development-row-text small{font-size:11px;color:#aec6cd}
#work .development-summary-row .signal{flex:0 0 12px;padding:3px;overflow:visible}
#work .development-summary-row:focus-visible{outline:1px solid #9edfe2;outline-offset:-1px}
#shell#shell #work .development-rows{position:absolute!important;top:112px!important;bottom:32px!important;left:22px!important;right:22px!important;width:auto!important;margin:0!important;padding:4px 6px!important;overflow:auto!important;box-sizing:border-box}

/* Compact information only; the parent card is the single navigation target. */
#shell#shell #work .development-rows{overflow:hidden!important;padding:0!important}
#work .development-summary-row{min-height:32px;height:32px;padding:0;gap:10px;cursor:inherit;background:none;box-shadow:none;border:0}
#work .development-summary-row[hidden],#work .development-more[hidden]{display:none}
#work .development-phase-chip{height:20px;min-height:20px;flex:0 0 40px;font-size:11px;padding:0;line-height:18px;background:transparent;border:1px solid var(--project-color);color:var(--project-color)}
#work .development-row-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:400}
#work .development-more{display:block;height:32px;line-height:32px;font-size:12px;color:#bbd2d7}
