/* The requested density refinements are limited to these content areas. */
/* KVKK text uses short disclosure rows instead of the large quality cards. */
#portal-view .kvkk-accordion{gap:8px;padding:10px}
#portal-view .kvkk-accordion .about-card,#portal-view .kvkk-accordion .about-card.is-expanded{display:block;flex:none;min-height:0}
#portal-view .kvkk-accordion .about-card .about-card-button{width:100%;min-height:56px;padding:10px 16px;gap:12px;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;align-self:auto}
#portal-view .kvkk-accordion .quality-icon{width:32px;height:28px;flex:0 0 32px}
#portal-view .kvkk-accordion .quality-main-icon{width:20px;height:20px}
#portal-view .kvkk-accordion .about-card-button .quality-card-title{min-width:0;width:auto;flex:1;margin:0;font-size:1.0625rem;line-height:1.45;overflow-wrap:anywhere;text-align:left}
#portal-view .kvkk-accordion .quality-card-toggle{width:24px;height:24px;flex:none;margin-left:auto}
#portal-view .kvkk-accordion .about-card-body{max-height:none;overflow:visible;padding:0 16px 14px 60px!important}
#portal-view .kvkk-accordion .legal-document{padding-block:8px}
@media(max-width:600px){
 #portal-view .kvkk-accordion{padding:8px}
 #portal-view .kvkk-accordion .about-card .about-card-button{padding:10px 12px;gap:10px}
 #portal-view .kvkk-accordion .about-card-body{padding:0 12px 14px!important}
}
#portal-view .invoice-accordion{min-height:0;align-items:flex-start}
#portal-view .invoice-card{padding:12px 0}
#portal-view .invoice-card-panel{padding:4px 20px 12px 14px}
#portal-view .invoice-card-panel h2{margin-bottom:12px;font-size:1.375rem}
#portal-view .invoice-card-panel dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}
#portal-view .invoice-card-panel dl>div{padding:8px 0;min-width:0}
#portal-view .invoice-card-panel dt{font-size:.875rem;line-height:1.4}
#portal-view .invoice-card-panel dd{margin-top:3px;font-size:.9375rem;line-height:1.5}
#portal-view .invoice-copy{margin-left:8px;padding:3px 7px}
#portal-view .invoice-card-panel h3{margin:14px 0 7px;font-size:1.0625rem}
#portal-view .invoice-description{margin:0;line-height:1.55}
#portal-view .invoice-footnote{font-size:.875rem;line-height:1.5;margin:9px 0 0}
#portal-view .content-principles .principle-tile{min-height:78px;padding:12px 16px;gap:12px;border-width:1px;box-shadow:none}
#portal-view .content-principles .principle-icon{width:36px;height:36px}
#portal-view .content-principles .principle-label{font-weight:400;line-height:1.5}
#surveys-view{max-width:1600px}
#surveys-view .survey-dashboard .native-stats-filters{grid-template-columns:minmax(95px,.65fr) minmax(145px,1fr) minmax(240px,2fr) minmax(155px,1.1fr) minmax(175px,1.2fr);gap:14px;padding:20px}
#surveys-view .survey-dashboard .native-stats-filters label:last-child{grid-column:auto}
#surveys-view .survey-dashboard .native-stats-filters label{font-size:.875rem;gap:8px}
#surveys-view .survey-dashboard .native-stats-filters .survey-style-control{grid-template-columns:minmax(0,1fr);align-content:start;margin:0}
#surveys-view .survey-dashboard .native-stats-filters select{font-size:.9375rem;padding:10px 30px 10px 10px;min-height:44px;min-width:0;max-width:100%;box-sizing:border-box}
.radial-honey-canvas>.radial-honey-hint{left:var(--radial-cx);right:auto;width:min(420px,calc(100% - 24px));max-width:none;box-sizing:border-box;margin:0;padding:8px 12px;text-align:center!important;text-align-last:center;transform:translateX(-50%)}
@media(max-width:1100px){#surveys-view .survey-dashboard .native-stats-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){#portal-view .invoice-card-panel dl{grid-template-columns:1fr 1fr}#portal-view .invoice-card-panel{padding:14px 18px}#surveys-view .survey-dashboard .native-stats-filters{grid-template-columns:1fr 1fr}#surveys-view .survey-dashboard .native-stats-filters label:has(#survey-report){grid-column:1/-1}}
@media(max-width:420px){#portal-view .invoice-card-panel dl{grid-template-columns:1fr}#surveys-view .survey-dashboard .native-stats-filters{grid-template-columns:1fr}.radial-honey-canvas>.radial-honey-hint{width:calc(100% - 24px)}}

/* Keep dates legible on the history rail, including hover and custom themes. */
#history-view .journey-date,#history-view .journey-date :is(time,strong,small,span){color:#fff!important}
#history-view .journey-motion-toggle{width:44px;min-width:44px;justify-content:center}
/* Explanatory assistant copy follows the same paragraph alignment as the site. */
#cubap-assistant-dialog [data-assistant-body] p{min-width:0;max-width:100%;text-align:justify;text-align-last:start;text-justify:inter-word;overflow-wrap:anywhere}

.home-notice-print{min-height:42px;padding:8px 14px;border:1px solid var(--orange,#e88632);border-radius:7px;background:transparent;color:var(--orange-dark,#a85117);font:500 .9rem/1.5 Roboto,Arial,sans-serif;cursor:pointer}
.home-notice-print[hidden],.home-notice-print-sheet{display:none}
.home-notice-print:is(:hover,:focus-visible){background:#fff4e8;color:#111}
@media print{
 body:has(>.home-notice-print-sheet){overflow:visible!important;background:#fff!important}
 body:has(>.home-notice-print-sheet)>:not(.home-notice-print-sheet){display:none!important}
 body>.home-notice-print-sheet{display:block!important;color:#111;background:#fff;padding:16px;font:14px/1.5 Arial,sans-serif}
 .home-notice-print-sheet .home-notice-list{display:block;overflow:visible;transform:none!important}
 .home-notice-print-sheet .home-notice-row{break-inside:avoid;min-height:0}
 .home-notice-print-sheet a{color:#111;text-decoration:none}
 .home-notice-print-sheet .home-notice-file,.home-notice-print-sheet .home-notice-new{display:none}
}

/* Shorter archive rows on the three requested document pages. */
#portal-view .portal-archive-compact{gap:8px}
#portal-view .portal-archive-compact .about-card{min-height:0}
#portal-view .portal-archive-compact .about-card .about-card-button{width:100%;min-height:54px;padding:8px 18px;gap:12px;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start}
#portal-view .portal-archive-compact .quality-icon{width:38px;flex:none}
#portal-view .portal-archive-compact .quality-main-icon{width:24px;height:24px}
#portal-view .portal-archive-compact .about-card-button .quality-card-title{min-width:0;width:auto;flex:1;margin:0;font-size:1.125rem;line-height:1.4;overflow-wrap:anywhere;text-align:left}
#portal-view .portal-archive-compact .quality-card-toggle{margin-left:auto;flex:none;width:24px;height:24px}
#portal-view .portal-archive-compact .about-card-body{padding:0 18px 14px 68px!important}
#portal-view .portal-archive-compact .legal-documents{margin-block:0}
#portal-view .portal-archive-compact .legal-document{padding-block:7px}
@media(max-width:600px){
 #portal-view .portal-archive-compact .about-card .about-card-button{padding:8px 14px;gap:10px}
 #portal-view .portal-archive-compact .about-card-button .quality-card-title{font-size:1.0625rem}
 #portal-view .portal-archive-compact .about-card-body{padding:0 14px 12px!important}
}

#catalogue-view .catalogue-filters{grid-template-columns:minmax(140px,.75fr) minmax(0,1.4fr) minmax(0,1fr) auto}
#catalogue-view .catalogue-year-label{min-width:0}
@media(max-width:1000px){#catalogue-view .catalogue-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#catalogue-view .catalogue-filters{grid-template-columns:minmax(0,1fr)}}

@media(min-width:851px){.people-map--commission .people-node :is(.people-name,.people-role){transform:translateX(var(--person-label-shift,0px));position:relative;z-index:2}}

/* Form/document order is visible without shortening long document names. */
.legal-documents-numbered .legal-document{gap:12px;align-items:center;padding-inline:4px}
.legal-documents-numbered .document-sequence{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:2.25rem;min-height:2.25rem;padding:4px 7px;box-sizing:border-box;border:1px solid var(--site-border);border-radius:8px;color:var(--orange-dark);font:500 1rem/1.4 Roboto,Arial,sans-serif;font-variant-numeric:tabular-nums;text-align:center}
.legal-documents-numbered .numbered-document-title{min-width:0;flex:1;overflow-wrap:anywhere;line-height:1.65;text-align:left}
@media(max-width:600px){.legal-documents-numbered .legal-document{gap:9px}.legal-documents-numbered .document-sequence{min-width:2rem;min-height:2rem;padding:3px 5px}}


#institutional-view .institutional-intro{max-width:none;text-align:justify;text-align-last:start;text-justify:inter-word;overflow-wrap:anywhere}

/* Keep each personnel photo and its hexagonal frame together when enlarged. */
.people-portrait,.contact-portrait{transform-origin:center 85%;transition:transform .22s ease,filter .22s ease}
.contact-person-card{position:relative}
.people-node:focus-visible .people-portrait,.contact-person-card:focus-visible .contact-portrait{transform:translateY(-5px) scale(1.22);filter:drop-shadow(0 7px 9px #89542b28)}
@media(hover:hover){
 .people-node:hover{z-index:10}
 .people-node:hover .people-portrait,.people-profile .people-portrait:hover,.contact-person-card:hover .contact-portrait,.contact-portrait:hover{transform:translateY(-5px) scale(1.22);filter:drop-shadow(0 7px 9px #89542b28);z-index:3}
 .contact-person-card:hover{z-index:2}
 .contact-person-card:is(:hover,:focus-visible) .contact-portrait img,.contact-portrait:hover img{transform:none}
}
@media(prefers-reduced-motion:reduce){.people-portrait,.contact-portrait{transition:none}}
/* Fit the adjusted staff portraits inside their shared hexagons. */
.people-photo:has(>img[src$="11b1335e-03d7-4008-b0cc-afb69a27a706"]),
.contact-portrait>span:has(>img[src$="11b1335e-03d7-4008-b0cc-afb69a27a706"]){background:#85715f}
.people-photo:has(>img[src$="41805a2756ab377c2686.jpg"]),
.contact-portrait>span:has(>img[src$="41805a2756ab377c2686.jpg"]){background:#a5937b}
.people-photo>img:is([src$="11b1335e-03d7-4008-b0cc-afb69a27a706"],[src$="41805a2756ab377c2686.jpg"]),
.contact-portrait>span>img:is([src$="11b1335e-03d7-4008-b0cc-afb69a27a706"],[src$="41805a2756ab377c2686.jpg"]){position:absolute;left:0;top:-5%;width:100%;height:138%;max-height:none;object-fit:contain;object-position:center top;transform:none}

/* Keep commission portraits inside their reserved area on hover and keyboard focus. */
.people-map--commission .people-node .people-portrait{transform:none}
@media(hover:hover){.people-map--commission .people-node:hover{z-index:1}}
