/* The existing honeycomb canvas and footer keep their own styles. */
.home-notice-stage{position:relative;width:100%;perspective:1600px;isolation:isolate}
.home-notice-rotor{position:relative;width:100%;transform-style:preserve-3d;transition:transform .78s cubic-bezier(.22,.68,.2,1);transform:rotateY(0deg)}
.home-notice-stage.is-flipped .home-notice-rotor{transform:rotateY(180deg)}
.home-notice-front,.home-notice-back{backface-visibility:hidden;-webkit-backface-visibility:hidden}
.home-notice-front{transform:rotateY(0deg)}
.home-notice-front>.honey-viewport{width:calc(100% - 40px);max-width:1240px;margin-inline:auto}
.home-notice-back{position:absolute;inset:0;transform:rotateY(180deg);display:flex;flex-direction:column;gap:0;width:min(100% - 48px,1040px);margin-inline:auto;padding:20px 20px 12px;background:var(--site-page,#fff);color:var(--ink,#252b32);pointer-events:none}
.home-notice-stage.is-flipped .home-notice-back{pointer-events:auto}
.home-notice-stage.is-flipped .home-notice-front{pointer-events:none}
.home-notice-back-header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:0 0 16px;flex:none}
.home-notice-back h2{font:400 1.5rem/1.35 Oswald,Roboto,sans-serif;margin:0;text-align:left;color:#1e3a5f}
.home-notice-back[data-kind=procurement] h2{color:#8a6b16}
.home-notice-return,.home-notice-all{display:inline-flex;align-items:center;justify-content:center;min-height:42px;gap:8px;padding:8px 0;border:0;background:transparent;color:#1e3a5f;font:500 .9rem/1.5 Roboto,Arial,sans-serif;text-decoration:none;flex-shrink:0}
.home-notice-return:hover,.home-notice-all:hover{color:#111}
.home-notice-list{list-style:none;padding:0;margin:0;min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d9dce1 transparent}
.home-notice-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:18px;min-height:70px;padding:13px 10px;border-bottom:1px solid #e7ebef}
.home-notice-date{width:60px;display:grid;place-items:center;align-content:center;gap:1px;padding:6px 4px;color:#846719;background:#fbf6e5;border-radius:7px;line-height:1.2}
.home-notice-date strong{font:500 1.4rem/1.1 Oswald,Roboto,sans-serif}
.home-notice-date span{font:400 .7rem/1.4 Roboto,Arial,sans-serif}
.home-notice-title{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px;min-width:0;font:400 1rem/1.55 Roboto,Arial,sans-serif;color:#263b52;text-align:left!important;overflow-wrap:anywhere;padding:4px 0}
.home-notice-title>span:first-child{flex:1 1 260px}
.home-notice-title:hover{color:#111;text-decoration:underline;text-decoration-color:#c59b27;text-underline-offset:4px}
.home-notice-new{display:inline-flex;align-items:center;flex:none;border-radius:4px;background:#f9efcf;color:#755710;padding:3px 6px;font:700 .63rem/1.3 Roboto,Arial,sans-serif;letter-spacing:.5px}
.home-notice-file{display:grid;justify-items:center;gap:3px;min-width:40px;padding:8px 4px;color:#617084;font:500 .6rem/1.3 Roboto,Arial,sans-serif}
.home-notice-file svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.home-notice-file:hover{color:#111;background:#f8f5ec;border-radius:5px}
.home-notice-back-footer{display:flex;justify-content:flex-end;align-items:center;gap:20px;padding-top:10px;flex:none}
.home-notice-status{margin:0;font-size:.8rem;line-height:1.6;text-align:left!important;color:#666}
.home-notice-empty{padding:42px 20px;text-align:center;line-height:1.8;color:#626b76}
.home-notice-selectors{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;padding:24px 24px 0;margin:0 auto}
.home-notice-selector{display:inline-flex;align-items:center;justify-content:center;min-width:216px;min-height:42px;border:0;border-radius:24px;background:transparent;color:var(--orange-dark,#a85117)!important;padding:10px 24px;font:500 .9rem/1.5 Roboto,Arial,sans-serif;box-shadow:0 3px 10px #1e3a5f0d;transition:transform .2s,box-shadow .2s}
.home-notice-selector[data-home-notice-kind=procurement]{background:transparent}
.home-notice-selector:is(:hover,:focus-visible){color:var(--orange-dark,#a85117)!important;transform:none;box-shadow:none}
.home-notice-selector[aria-pressed=true]{outline:2px solid currentColor;outline-offset:-5px}
.announcement-columns[data-notice-filter]{grid-template-columns:minmax(0,1fr)}
@media(max-width:600px){.home-notice-back{width:calc(100% - 28px);padding:16px 6px 4px}.home-notice-back-header{gap:8px;padding-bottom:12px;align-items:flex-start}.home-notice-back h2{font-size:1.2rem}.home-notice-return{font-size:.76rem;min-height:32px;white-space:nowrap;padding-top:1px}.home-notice-row{grid-template-columns:48px minmax(0,1fr) auto;gap:10px;padding:12px 3px;min-height:74px}.home-notice-date{width:46px}.home-notice-date strong{font-size:1.2rem}.home-notice-date span{font-size:.6rem}.home-notice-title{font-size:.9rem;line-height:1.55}.home-notice-file{min-width:30px}.home-notice-file svg{width:18px;height:18px}.home-notice-selectors{gap:9px;padding:22px 18px 0}.home-notice-selector{min-width:0;padding:10px 16px;font-size:.78rem;min-height:42px}.home-notice-status{font-size:.7rem}.home-notice-back-footer{gap:8px}.home-notice-all{font-size:.85rem}}
@media(prefers-reduced-motion:reduce){.home-notice-rotor,.home-notice-selector{transition:none}.home-notice-selector:is(:hover,:focus-visible){transform:none}}
/* Use the spare space beneath the existing scene, without moving the hexagons. */
#main:has(>#explorer:not([hidden])){display:flex;flex-direction:column}
#explorer:not([hidden]){display:flex;flex-direction:column;flex:1;width:100%;margin-inline:0}
.home-notice-selectors{margin-top:auto}
.home-notice-stage.is-flipped .home-notice-front{position:absolute;inset:0}
.home-notice-stage.is-flipped .home-notice-back{position:relative;inset:auto;min-height:440px}
.home-notice-stage.is-flipped .home-notice-list{overflow-y:visible;flex:none}
/* Reserve the existing assistant's footprint on narrow screens. */
@media(max-width:600px){.home-notice-selectors{padding-right:96px}.home-notice-back-footer{padding-right:78px;flex-wrap:wrap}}
/* Preserve the original compact principle tiles; empty principles are labels. */
.content-principles .eyebrow{white-space:nowrap}
.content-principles .principle-details{width:100%}
.content-principles .principle-details>summary{display:flex;align-items:center;gap:16px;cursor:pointer;list-style:none}
.content-principles .principle-details>summary::-webkit-details-marker{display:none}
.content-principles .principle-details>summary::after{content:'+';margin-left:auto;color:var(--orange-dark)}
.content-principles .principle-details[open]>summary::after{content:'−'}
.content-principles .principle-detail-copy{padding:18px 4px 4px;font-size:1rem;line-height:1.8;text-align:justify;overflow-wrap:anywhere}
.home-notice-motion{display:grid;place-items:center;min-width:34px;min-height:34px;border:1px solid #e1e6eb;border-radius:50%;background:transparent;color:#1e3a5f;font-size:.9rem;margin-left:auto;flex:none}
.home-notice-feed{height:360px;flex:none;overflow-x:hidden;overflow-y:auto;position:relative;touch-action:pan-y pinch-zoom;overscroll-behavior-y:contain;scrollbar-width:thin;cursor:grab}
.home-notice-feed .home-notice-list{overflow:visible;will-change:transform}
.home-notice-feed.is-static{height:360px;overflow-x:hidden;overflow-y:auto}
.home-notice-feed.is-dragging,.home-notice-feed.is-dragging *{cursor:grabbing;user-select:none}
.home-notice-feed:focus-visible{outline:2px solid #1e3a5f;outline-offset:3px}
@media(max-width:600px){.home-notice-back-header{flex-wrap:wrap}.home-notice-back h2{flex:1 1 200px}.home-notice-motion{margin-left:0}.home-notice-return{margin-left:auto}.home-notice-feed{height:360px}}
@media(prefers-reduced-motion:reduce){.home-notice-feed{height:360px;overflow-x:hidden;overflow-y:auto}}

/* Both selectors follow the site's orange menu treatment. */
.home-notice-selector{position:relative;isolation:isolate;border-radius:14px;box-shadow:none}
.home-notice-selector>span{position:relative;z-index:1}
.home-notice-selector::after{content:'';position:absolute;left:18px;right:18px;bottom:2px;height:1px;background:var(--orange,#e88632)}
.home-notice-selector[aria-pressed=true]{outline:none}
.home-notice-button-snake{visibility:hidden;opacity:0;transition:opacity .2s}
.home-notice-button-snake rect{animation-play-state:paused}
.home-notice-selector:is(:hover,:focus-visible) .home-notice-button-snake{visibility:visible;opacity:1}
.home-notice-selector:is(:hover,:focus-visible) .home-notice-button-snake rect{animation-play-state:running}

/* Site-wide bottom area: scene dimensions never depend on these controls. */
body:has(>.site-bottom){min-height:100svh;display:flex;flex-direction:column}
body:has(>.site-bottom)>#main{flex:1;min-width:0}
body>.site-footer.site-bottom{display:block;box-sizing:border-box;width:100%;max-width:1280px;margin:0 auto;padding:0 24px 18px;color:#596570;font-size:.75rem;flex:none;opacity:1;transform:none}
.site-bottom-actions{position:relative;min-height:158px;display:flex;align-items:flex-end;justify-content:center;padding-bottom:12px}
.site-bottom .home-notice-selectors{margin:0;gap:12px;padding:16px 150px 0;max-width:100%;flex-wrap:wrap}
.site-bottom .home-notice-selector{min-width:200px}
.site-assistant-lane{position:absolute;right:0;bottom:12px;width:max(145px,calc(50% - 260px));height:150px;pointer-events:none}
.site-assistant-lane>.site-tool-launcher{pointer-events:auto;position:absolute;right:8px;bottom:0}
.site-bottom .site-assistant-lane>.is-robot[data-robot-travel=true]{position:absolute;left:0;right:auto;bottom:0;z-index:45}
.site-bottom .site-assistant-lane>.is-robot[data-robot-free=true]{position:fixed;left:0;right:auto;bottom:4px}
.site-copyright{border-top:1px solid #e5e8eb;margin-top:4px;padding-top:12px}
.site-copyright p{margin:3px 0;padding:0;line-height:1.6;overflow-wrap:anywhere;text-align:center!important}
.site-copyright [data-footer-credit]{font-weight:500;color:#3d4955}
@media(max-width:768px){body>.site-footer.site-bottom{padding-inline:16px}.site-bottom-actions{min-height:124px;align-items:flex-start;padding-bottom:70px}.site-bottom .home-notice-selectors{padding:8px 0 0;gap:8px;flex-wrap:nowrap;width:100%}.site-bottom .home-notice-selector{min-width:0;min-height:44px;flex:1;padding:8px 10px;font-size:.78rem;white-space:normal}.site-assistant-lane{height:60px;bottom:4px;width:calc(100% - 12px);right:6px}.site-copyright{padding-inline:4px}}
@media print{.site-bottom-actions{display:none!important}.site-copyright{font-size:9pt}}

/* Keep the home masthead, petek scene and bottom tools inside the first viewport. */
#explorer:not([hidden]){padding-top:14px;padding-bottom:8px}
#explorer>.page-heading .eyebrow{margin-bottom:4px}
#explorer>.page-heading h1{margin-bottom:4px}
#explorer>.page-heading .home-project-counters{margin:6px 0 4px}
#explorer>.page-heading .home-project-counters>div{display:flex;align-items:baseline;gap:6px}
.site-copyright{display:flex;justify-content:center;align-items:baseline;flex-wrap:wrap;gap:2px 8px;padding-top:8px}
.site-copyright p{margin:0;line-height:1.45}
@media(min-width:769px){body>.site-footer.site-bottom{padding-bottom:10px}.site-bottom-actions{min-height:112px;padding-bottom:8px}.site-assistant-lane{height:108px;bottom:8px}.site-bottom .site-assistant-lane .robot-figure{width:80px;height:80px}.site-bottom .home-notice-selectors{padding-top:8px}}
@media(max-width:768px){#explorer>.page-heading{padding-bottom:0}.site-bottom-actions{min-height:104px;padding-bottom:56px}.site-assistant-lane{height:52px}.site-copyright{font-size:.625rem;gap:2px}.site-bottom .site-assistant-lane .robot-figure{width:44px;height:44px}}
/* The closed rear face must not create document overflow below the home scene. */
.home-notice-back[aria-hidden=true]{display:none}

/* The assistant now has its own footer lane, so the old floating-tool spacer is obsolete. */
body:not(.survey-admin):has(>.site-bottom)>main#main{padding-bottom:0}

/* Content may grow normally; procurement retains its full scrollable list. */
.home-notice-stage.is-flipped .home-notice-back{height:auto;min-height:440px}
.home-notice-stage.is-flipped .home-notice-feed{height:360px;overflow-y:auto}

/* The desktop introduction uses the empty left corner of the petek scene. */
#explorer:not([hidden]){position:relative}
#explorer[data-home-heading-aligned]:not(:has(.home-notice-stage.is-flipped))>.page-heading{position:absolute;left:28px;top:14px;width:var(--home-heading-width);padding:0;z-index:6;box-sizing:border-box}
#explorer[data-home-heading-aligned]>.page-heading>div{min-width:0;width:100%}
#explorer[data-home-heading-aligned]>.page-heading .home-project-counters{flex-wrap:wrap;row-gap:6px}
#explorer .home-notice-front>.linear-honey{min-height:0}
body:has(#explorer[data-home-heading-aligned]:not([hidden]))>#main{flex:0 0 auto}
#explorer[data-home-heading-aligned]:not([hidden]){flex:0 0 auto}

/* Home-only tools never appear in an inner page's shared footer. */
body:not(:has(#explorer:not([hidden]))) .site-bottom .home-notice-selectors,
body:not(:has(#explorer:not([hidden]))) .site-bottom .home-project-counters{display:none!important}
.site-bottom .home-project-counters{position:absolute;left:0;bottom:12px;margin:0;padding:0;gap:12px;max-width:420px;flex-wrap:wrap;row-gap:4px}
.site-bottom .home-project-counters>div{display:flex;align-items:baseline;gap:6px;padding:0}
.site-bottom .home-project-counters>div+div{border-left:0;padding-left:0}
.site-bottom .home-project-counters strong{font-size:1.2rem}
.site-bottom .home-project-counters span{font-size:.75rem}
/* The two notices share the center emblem's horizontal axis. */
@media(min-width:769px){
 .site-bottom .home-notice-selectors{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 48px);padding:0;flex-wrap:nowrap}
 .site-bottom .home-project-counters{left:calc((min(1280px,100vw) - 100vw)/2)}
}
@media(min-width:769px) and (max-width:1250px){.site-bottom .home-notice-selectors{bottom:56px}}
body:has(#explorer:not([hidden])) .site-copyright{display:none!important}
@media(max-width:768px){.site-bottom-actions{padding-bottom:100px}.site-bottom .home-project-counters{bottom:8px;max-width:calc(100% - 88px)}.site-assistant-lane{bottom:46px}}
/* Blink the existing title underline, without changing its size or thickness. */
.home-notice-back[data-kind=news] .home-notice-row.is-important .home-notice-title{text-decoration:underline;text-decoration-color:#c59b27;animation:notice-important-underline 1.8s ease-in-out infinite}
@keyframes notice-important-underline{0%,100%{text-decoration-color:#c59b27}50%{text-decoration-color:transparent}}
@media(prefers-reduced-motion:reduce){.home-notice-row.is-important .home-notice-title{animation:none!important}}
html[data-reader-motion=off] .home-notice-row.is-important .home-notice-title{animation:none!important}

/* Keep all three home counters aligned without covering the mobile assistant. */
@media(max-width:768px){.site-bottom .home-project-counters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-width:100%;gap:8px}.site-bottom .home-project-counters>div{display:grid;align-content:start;gap:1px;min-width:0}.site-bottom .site-assistant-lane{bottom:56px}}

/* Automatic upward flow switches to native scroll for touch, drag and keys. */
.home-notice-stage.is-flipped .home-notice-feed:not(.is-static){overflow-y:hidden}
.home-notice-motion{cursor:pointer;font-family:Arial,sans-serif;font-size:.75rem;line-height:1.2;border-radius:18px;padding:6px 10px;min-width:72px}
.home-notice-motion:disabled{opacity:.45;cursor:default}
.home-notice-motion:focus-visible{outline:2px solid currentColor;outline-offset:3px}
