/* Only existing official-letter proportions, mayor imagery and restored video. */
#c2-letters .surgical-letter-tabs{width:100%;max-width:none;box-sizing:border-box;justify-self:stretch}
#c2-letters .letters-eit-layout{column-gap:12px}
#c2-letters .surgical-letter-tablist{width:100%;box-sizing:border-box}
#c2-letters [role=tab]{padding-left:30px;padding-right:30px}
#c2-exec .mayor-rotation{position:relative;min-width:0;overflow:visible}
#c2-exec .mayor-rotation-frame{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;opacity:0;transition:opacity .45s ease;pointer-events:none}
#c2-exec .mayor-rotation-frame.is-active{opacity:1}
#c2-exec .mayor-rotation-toggle{position:absolute;bottom:2px;left:12px;z-index:2;border:1px solid #d9bb70;border-radius:20px;padding:5px 12px;background:#fffaf2ed;color:#89171e;font:400 11px/1.6 inherit;font-family:inherit;font-size:11px;line-height:1.6;cursor:pointer;box-shadow:0 2px 5px #68351b10}
#c2-video.restored-video{position:relative;overflow:hidden;background:#b41d22 url('/customer-content/rotation-video/video-motif.jpg') center/cover no-repeat;padding:clamp(52px,6vw,88px) max(20px,6.667cqw);border-top:1px solid #e6be5a;border-bottom:1px solid #e6be5a}
#c2-video .restored-video-inner{position:relative;max-width:1248px;margin:auto;display:flex;flex-direction:column;gap:30px}
#c2-video .restored-video-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;flex-wrap:wrap;color:#fff}
#c2-video .restored-video-kicker{display:flex;align-items:center;gap:12px;color:#f6dc9a;font-size:15px;margin-bottom:10px}
#c2-video .restored-video-kicker:before{content:'';width:28px;height:2px;background:#e6be5a}
#c2-video h2{font-family:'Noto Serif Thai',serif;font-size:clamp(28px,2.8vw,40px);font-weight:600;line-height:1.4;color:#fff;margin:0}
#c2-video .restored-video-heading>a{font-size:15px;line-height:1.75;color:#fbe7b5;text-decoration:none;border-bottom:1px solid #e6be5a;padding-bottom:4px}
#c2-video .restored-video-player{position:relative;width:100%;max-width:1080px;aspect-ratio:16/9;margin:auto;background:#160d0d;border:1px solid #e0ba65;border-radius:16px;overflow:hidden;box-shadow:0 18px 36px #46090d35;box-sizing:border-box}
#c2-video iframe{position:absolute;inset:0;width:100%;height:100%;display:block;border:0}
@media(min-width:1101px){#c2-letters .letters-eit-layout{column-gap:24px}}
@media(max-width:767px){
 #c2-letters [role=tab]{padding-left:14px;padding-right:14px}
 #c2-exec .mayor-rotation-toggle{left:2px;bottom:0;font-size:10px;padding:4px 9px}
 #c2-video.restored-video{padding:40px 20px 44px}
 #c2-video .restored-video-inner{gap:24px}
 #c2-video .restored-video-heading{gap:14px}
 #c2-video .restored-video-heading>a{font-size:13px}
 #c2-video .restored-video-kicker{font-size:13px}
 #c2-video .restored-video-player{border-radius:10px}
}
@media(prefers-reduced-motion:reduce){#c2-exec .mayor-rotation-frame{transition:none}}
/* Row 20 #1, #3, #5: existing executive elements only. */
#c2-exec #exec-reference-title{font-size:calc(clamp(26px,2.5vw,36px) * var(--font-scale,1));line-height:1.5}
#c2-exec .executive-copy h3{font-family:inherit}
#c2-exec .executive-gold{width:85%;max-width:560px}
#c2-exec .executive-gold a{display:flex;flex:1 1 0;align-items:center;min-width:44px;min-height:44px}

/* Customer annotations 1-4, 19 October 2026. */
#c2-track [aria-label="ประกาศทั่วไป"],#c2-treasury [aria-label="ประชาสัมพันธ์งานคลัง"]{background:#fffdf8!important}
#c2-track artwork-carousel,#c2-treasury artwork-carousel{flex:1;min-height:0}
#ebook-title.surgical-elibrary-title>img{content:url('/customer-content/visual-corrections/elibrary-header-transparent-v1.png')}
#c2-video.restored-video{background:linear-gradient(90deg,rgba(168,20,27,.64),rgba(168,20,27,.32)),url('/customer-content/rotation-video/video-motif.jpg') right center/cover no-repeat!important}

/* Annotation round 2: letters, three introductory lines and Facebook edge. */
#c2-ebooks .ebook-heading>div>p,.local-guide-head>div>p,#c2-eservice>.c3-service-heading>p{display:none!important}
#c2-identity .identity-social.fb-only{padding:0!important;margin:0!important;box-sizing:border-box}
#c2-identity .identity-social.fb-only>.social-card{width:100%;box-sizing:border-box;margin:0!important}
#c2-letters .letters-eit-layout{align-items:stretch!important;gap:24px;grid-template-columns:minmax(0,1fr) 270px}
#c2-letters .surgical-letter-tabs{display:flex!important;flex-direction:column;margin:0!important;height:560px;min-height:0;border:1px solid #e4d1aa;border-radius:16px;background:#fffdf8;box-shadow:0 6px 22px #67411608}
#c2-letters .surgical-letter-tablist{display:grid;grid-template-columns:1fr 1fr;flex:none;gap:4px;padding:7px;box-sizing:border-box;background:#f6efdf;border:0;border-bottom:1px solid #eadfc9;align-items:stretch}
#c2-letters .surgical-letter-tablist>[role=tab]{border:0!important;border-radius:10px!important;padding:10px 14px!important;min-height:56px;height:auto;font-size:14px!important;font-family:inherit!important;font-weight:500!important;line-height:1.55!important;background:transparent!important;color:#795d31!important;white-space:normal;box-shadow:none;cursor:pointer}
#c2-letters .surgical-letter-tablist>[role=tab][aria-selected=true]{background:#a8141b!important;color:#fff!important;box-shadow:0 2px 6px #80121b15}
#c2-letters .surgical-letter-tablist>[role=tab]:focus-visible{outline:3px solid #a47c2d;outline-offset:-3px}
#c2-letters .surgical-letter-panel{display:block!important;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cdbb95 #faf5ea;padding:8px 22px 18px!important;background:#fffdf8!important}
#c2-letters .surgical-letter-panel[hidden]{display:none!important}
#c2-letters .surgical-letter-panel>a{display:block;margin:0!important;padding:14px 0;font-size:14px;line-height:1.7;color:#543c2d!important;text-decoration:none;border-bottom:1px solid #eee4d3}
#c2-letters .surgical-letter-panel>a:hover{color:#a8141b!important;text-decoration:underline}
#c2-letters .surgical-letter-panel>a:nth-last-child(-n+2){font-size:13px;color:#a8141b!important;font-weight:500}
#c2-letters .letters-eit{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;height:560px;min-width:0;max-width:none;margin:0;padding:16px 14px 20px;border:1px solid #e4d1aa;border-radius:16px;background:linear-gradient(180deg,#fffdf8 65%,#f8efd9);position:relative;isolation:isolate;overflow:hidden}
#c2-letters .letters-eit:after{content:'';position:absolute;inset:65% 0 0;z-index:-1;background:url('/preview-facade/assets/r1/skyline-gold.svg') center bottom/130% auto no-repeat;opacity:.18;pointer-events:none}
#c2-letters .letters-eit>a{display:block;width:100%;margin:auto 0 0}
#c2-letters .letters-eit img{width:100%!important;height:auto!important;border:0;border-radius:10px;object-fit:contain}
#c2-letters .letters-eit p{margin:auto 0 0;padding-top:20px;font-size:13px;line-height:1.6;color:#84652f}
@media(max-width:900px){#c2-letters .letters-eit-layout{grid-template-columns:minmax(0,1fr) 230px;gap:18px}#c2-letters .surgical-letter-tablist>[role=tab]{font-size:13px!important;padding:8px!important}}
@media(max-width:767px){#c2-letters .letters-eit-layout{grid-template-columns:minmax(0,1fr);gap:20px}#c2-letters .surgical-letter-tabs{height:540px}#c2-letters .surgical-letter-tablist>[role=tab]{font-size:12px!important;min-height:64px}#c2-letters .surgical-letter-panel{padding:6px 16px 16px!important}#c2-letters .letters-eit{height:auto;max-width:340px;width:100%;justify-self:center;padding:16px}#c2-letters .letters-eit p{margin-top:14px;padding:0}}
