/* அரசு விடுமுறை நாட்கள் (TMC-119), ported from the arasu-vidumurai-2026-v16 mockup (TMC-143); scoped under .avd.
   Colours and fonts come from the site theme (css/tmc/shared/tmc90-theme.css); text sizes follow the .tp-* scale. */
.avd{
  --orange:#FF7700; --orange-lt:#FF851A; --orange-soft:#FFF1E2; --orange-ink:#B55D00;
  --cream:#FFFBF6; --cream-deep:#FFF3E6; --white:#FFFFFF;
  --peach:#F0D2B4; --peach-deep:#E5772A; --tan:#F5E4CF;
  --rose:#F4DBD7; --rose-ink:#BD5746;
  --green:#248D49; --green-soft:#E8F5EC; --green-ink:#0F6E3C; --red:#D14343;
  --body:#2B2524; --head:#35343D; --muted:#8A817A; --grey:#6B6259;
  --line:#E9E1D6; --rule:#ECE8E3;
  --radius-s:8px; --radius-m:12px; --pill:32px;
  --shadow:0 4px 16px rgba(107,82,51,.08);
  --gutter:16px; --maxw:1200px; --lh-body:1.8;
  --ff-ta:'Anek Tamil','Noto Sans Tamil',system-ui,sans-serif;
  --ff-num:'Inter',system-ui,sans-serif;
  background:var(--white); color:var(--body); font-family:var(--ff-ta); font-size:14px; line-height:var(--lh-body);
}
.avd *,.avd *::before,.avd *::after{box-sizing:border-box}
.avd h1,.avd h2,.avd h3{color:var(--head); margin:0; line-height:1.4; font-weight:700}
.avd h1{font-size:clamp(25px,5.6vw,32px)}
.avd h2{font-size:clamp(17px,4.2vw,21px)}
.avd p{margin:0; line-height:var(--lh-body)}
.avd a{color:var(--orange); text-decoration:none}
.avd .wrap{width:100%; max-width:var(--maxw); margin:0 auto; padding:14px var(--gutter) 8px}
.avd .num{font-family:var(--ff-num)}
.avd .en{font-family:var(--ff-num); color:var(--muted); font-weight:500}

.avd .crumb{font-size:12px; color:var(--muted); line-height:1.7; margin-bottom:6px}
.avd .crumb a{color:var(--muted)}
.avd .crumb a:hover{color:var(--orange)}
.avd .ph{display:flex; align-items:flex-end; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:10px}
.avd .ph h1 .sub{display:block; font-family:var(--ff-num); font-size:13px; font-weight:500; color:var(--muted); line-height:1.5; margin-top:2px}

/* head tiles: next two holidays, the year's total, long weekends */
.avd .h4{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:12px 0 10px}
.avd .h4 .tile{border-radius:16px; padding:14px 15px; line-height:1.35; color:inherit; display:block; border:1px solid transparent}
.avd .h4 .tile small{display:flex; align-items:center; gap:9px; font-size:13px; color:#6B6069; margin-bottom:8px}
.avd .h4 .tile small i{display:grid; place-items:center; width:34px; height:34px; border-radius:10px; font-style:normal}
.avd .h4 .tile small svg{width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round}
.avd .h4 .tile b{display:block; font:700 21px var(--ff-num); line-height:1.2}
.avd .h4 .tile>span{display:block; font-size:13px; font-weight:600; margin-top:6px}
.avd .h4 .t1{grid-column:1 / -1; background:#FFF6EC; border-color:#F6E3CD}
.avd .h4 .t1 small{color:var(--orange-ink)}
.avd .h4 .t1 small i{background:#FBDDC0; color:var(--orange-ink)}
.avd .h4 .t1>span{color:#6B5A4A}
.avd .h4 .t3{background:#EEF6F0; border-color:#D5E8DA}
.avd .h4 .t3 small i{background:#D5E8DA; color:#2F6B45}
.avd .h4 .t3 b{color:#2F6B45; font-size:26px}
.avd .h4 .t3>span{color:#4A6B55}
.avd .h4 .t4{background:#F8F1EE; border-color:#EADBD5}
.avd .h4 .t4 small i{background:#EADBD5; color:#7A4E42}
.avd .h4 .t4 b{color:#7A4E42; font:700 16px var(--ff-num); text-align:right}
.avd .h4.h3 .t3,.avd .h4.h3 .t4{grid-column:1 / -1; display:flex; align-items:center; gap:10px; padding:12px 15px}
.avd .h4.h3 .t3 small,.avd .h4.h3 .t4 small{margin:0; flex:1 1 auto}
.avd .h4.h3 .t3>span{margin:0}
.avd .h4 .up{display:grid; grid-template-columns:1fr; gap:6px}
.avd .h4 .up a{display:grid; grid-template-columns:1fr; gap:4px 14px; align-items:center; min-width:0; color:inherit; padding:9px 11px; border-radius:10px; background:#fff; border:1px solid #F3E2CF}
.avd .h4 .up .dt{display:block; line-height:1.4}
.avd .h4 .up .den{font:700 15px var(--ff-num); color:var(--head); white-space:nowrap}
.avd .h4 .up .dw{font-size:13px; color:var(--grey); margin-left:5px}
.avd .h4 .up .ds2{display:block; font-size:12.5px; color:var(--muted); line-height:1.5; margin-top:2px}
.avd .h4 .up .d1{color:var(--green-ink); font-weight:600}
.avd .h4 .up .mrow{display:flex; flex-wrap:wrap; gap:2px 0; margin-top:3px; min-width:0}
.avd .itm{display:inline-flex; align-items:center; gap:5px; font-size:13.5px; line-height:1.7; margin-right:10px}
.avd .itm svg{width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round}
.avd .itm.nk{color:var(--rose-ink); font-weight:600; font-size:15px}
.avd .itm.sp{color:var(--green-ink); font-weight:600}
@media (min-width:600px){.avd .h4 .up{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.avd .h4 .up .dw{display:block; margin-left:0}}
@media (min-width:760px){
  .avd .h4.h3{grid-template-columns:2.4fr 1fr; grid-template-rows:auto auto}
  .avd .h4.h3 .t1{grid-column:auto; grid-row:1 / span 2}
  .avd .h4.h3 .t3,.avd .h4.h3 .t4{grid-column:2}
}

/* month tabs */
.avd .mstrip{display:flex; gap:0; overflow-x:auto; scrollbar-width:none; border-bottom:1px solid var(--line); margin:4px calc(-1*var(--gutter)) 14px; padding:0 var(--gutter); scroll-snap-type:x proximity}
.avd .mstrip::-webkit-scrollbar{display:none}
.avd .mstrip button{flex:0 0 auto; appearance:none; background:none; border:0; border-bottom:3px solid transparent; padding:10px 12px 8px; font:500 14px var(--ff-ta); color:var(--grey); line-height:1.4; cursor:pointer; scroll-snap-align:start; white-space:nowrap}
.avd .mstrip button[aria-selected="true"]{color:var(--orange-ink); font-weight:700; border-bottom-color:var(--orange)}
@media (min-width:900px){.avd .mstrip{margin-left:0; margin-right:0; padding:0; gap:4px}}

/* holiday list */
.avd .sech{display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin:18px 0 8px}
.avd .sech h2{font-size:15.5px}
.avd .sech h2 .en{font-size:12px; margin-left:6px}
.avd .sech .cnt{font:600 12.5px var(--ff-num); color:var(--muted)}

/* kind pills (all / weekend / long weekend) and the bank-days link: the app's pills */
.avd .pks{display:flex; flex-wrap:wrap; gap:8px; margin:0 0 12px}
.avd .pks button,.avd .pks-link{display:inline-flex; align-items:center; gap:6px; font-family:var(--ff-ta); font-size:13.5px; line-height:1.5; padding:7px 15px; border-radius:var(--pill); border:1px solid var(--line); background:#fff; color:var(--head); cursor:pointer; white-space:nowrap}
.avd .pks button:hover,.avd .pks-link:hover{border-color:var(--orange)}
.avd .pks-link{border-style:dashed}
.avd .pks svg{width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round}
.avd .pks b{font:600 12px var(--ff-num); color:var(--muted)}
.avd .pks button[aria-pressed="true"]{background:var(--orange); border-color:var(--orange); color:#fff; font-weight:600}
.avd .pks button[aria-pressed="true"] b{color:#fff}
@media (max-width:759px){.avd .pks{gap:6px} .avd .pks button,.avd .pks-link{padding:6px 12px; font-size:12.5px} .avd .pks svg{display:none} .avd .pks b{font-size:11px}}

.avd .lst{list-style:none; margin:0; padding:0; border-top:1px solid var(--rule)}
.avd .lst li{display:block; padding:11px 0 12px; border-bottom:1px solid var(--rule)}
.avd .lst li[hidden]{display:none}
.avd .lst .hd{display:grid; grid-template-columns:40px 1fr auto; gap:0 12px; align-items:center}
.avd .lst .tile{width:40px; height:40px; border-radius:11px; display:grid; place-items:center; background:var(--orange-soft); color:var(--peach-deep)}
.avd .lst .tile svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round}
.avd .lst .tile.g{background:var(--green-soft); color:var(--green-ink)}
.avd .lst .tile.r{background:var(--rose); color:var(--rose-ink)}
.avd .lst .tile.t{background:var(--tan); color:#8A5A1E}
.avd .lst .nmb{display:flex; flex-direction:column; align-items:flex-start; gap:4px; min-width:0}
.avd .lst .nm{font-weight:700; color:var(--rose-ink); font-size:15px; line-height:1.45}
.avd .lst .nm .en{display:block; font-size:12px; margin:0; font-weight:500}
.avd .lst .tag{font-size:11px; color:var(--muted); border:1px solid var(--line); border-radius:var(--pill); padding:0 8px; white-space:nowrap; line-height:1.6}
.avd .lst .tag.h{color:var(--green-ink); border-color:#CFE3D5; background:var(--green-soft)}
.avd .lst .dl{display:flex; flex-direction:column; text-align:right; line-height:1.5}
.avd .lst .dl .num{font:700 14.5px var(--ff-num); color:var(--head); white-space:nowrap}
.avd .lst .dl .wd{font-size:12px; color:var(--muted)}
.avd .lst .dl .td{font-size:12.5px; color:var(--green-ink); font-weight:600; white-space:nowrap}
.avd .lst .ds{margin:8px 0 0 52px; font-size:13.5px; line-height:1.75; color:var(--body)}
@media (min-width:700px){
  .avd .lst li{display:grid; grid-template-columns:40px 150px 1fr auto; grid-template-rows:auto auto; gap:2px 14px; align-items:start; padding:13px 8px}
  .avd .lst .hd{display:contents}
  .avd .lst .hd .tile{grid-column:1; grid-row:1 / span 2; margin-top:2px}
  .avd .lst .dl{grid-column:2; grid-row:1 / span 2; text-align:left; padding-top:1px; border-right:1px solid var(--rule); margin-right:2px}
  .avd .lst .dl .num{font-size:15.5px} .avd .lst .dl .wd{font-size:12.5px} .avd .lst .dl .td{font-size:13px}
  .avd .lst .nmb{grid-column:3; grid-row:1; flex-direction:row; align-items:center; gap:10px}
  .avd .lst .nm{font-size:16px} .avd .lst .nm .en{display:inline; margin-left:6px}
  .avd .lst .tag{grid-column:4; grid-row:1; margin:3px 0 0}
  .avd .lst .ds{grid-column:3 / span 2; grid-row:2; margin:0; font-size:14px; max-width:78ch}
  .avd .lst li:nth-child(even){background:#FFFCF9}
}
.avd .nomo{display:none; padding:14px 2px; color:var(--muted); font-size:14px}
.avd .nomo.show{display:block}
.avd .calcnote{font-size:12px; color:var(--muted); line-height:1.7; margin:10px 0 0}
.avd .lwlink{margin:6px 0 0; font-size:13.5px}
.avd .lwlink a{color:var(--rose-ink); font-weight:600}

/* sections */
.avd .sec{margin:22px 0}
.avd .sec h2{margin-bottom:8px}
.avd .sec h2 .en{font-size:12.5px; margin-left:8px}
.avd .sec p{margin-bottom:9px; max-width:860px}
.avd .sec table.kv{width:100%; border-collapse:collapse; max-width:860px; font-size:14px; margin-bottom:9px}
.avd .sec table.kv th,.avd .sec table.kv td{padding:8px 10px; border-bottom:1px solid var(--rule); text-align:left; vertical-align:top; line-height:1.6}
.avd .sec table.kv th{color:var(--rose-ink); background:var(--rose); font-weight:700; font-size:12.5px}
.avd .sec .tw{overflow:hidden; border:1px solid var(--line); border-radius:var(--radius-m); margin-bottom:9px}
.avd .sec .tw table.kv{margin:0}

/* bank days by month, holidays by weekday */
.avd table.kv.bank{max-width:none; table-layout:fixed}
.avd table.kv.bank th{padding:9px 10px}
.avd table.kv.bank td{font-size:13.5px; vertical-align:middle; padding:8px 10px}
.avd table.kv.bank tr:last-child td{border-bottom:0}
.avd table.kv.bank th:nth-child(1),.avd table.kv.bank td:nth-child(1){width:112px; white-space:nowrap; color:var(--head); font-weight:600}
.avd table.kv.bank th:nth-child(3),.avd table.kv.bank td:nth-child(3){width:118px}
.avd table.kv.bank th:nth-child(4),.avd table.kv.bank td:nth-child(4),.avd table.kv.wdt th:nth-child(3),.avd table.kv.wdt td:nth-child(3){width:92px; text-align:center; padding-left:4px; padding-right:4px}
.avd .bhw{display:flex; flex-wrap:wrap; gap:5px 6px; align-items:center}
.avd .bh{display:inline-flex; align-items:center; gap:5px; background:var(--cream); border:1px solid var(--line); border-radius:8px; padding:2px 8px 2px 4px; font-size:13px; line-height:1.5; color:var(--head); white-space:nowrap}
.avd .bh b.num{display:inline-grid; place-items:center; white-space:nowrap; min-width:22px; height:22px; border-radius:6px; background:#fff; border:1px solid #EFCFC8; color:var(--rose-ink); font-weight:700; font-size:12.5px; padding:0 4px}
.avd .bh.sat{padding:2px 4px; background:var(--green-soft); border-color:#CFE3D5}
.avd .bh.sat b.num{border-color:#CFE3D5; color:var(--green-ink)}
.avd .bh.none{background:none; border:0; color:var(--muted); padding:0}
@media (max-width:599px){
  .avd table.kv.bank{table-layout:auto}
  .avd table.kv.bank th:nth-child(4),.avd table.kv.bank td:nth-child(4),.avd table.kv.wdt th:nth-child(3),.avd table.kv.wdt td:nth-child(3){display:none}
  .avd table.kv.bank th:nth-child(1),.avd table.kv.bank td:nth-child(1){width:1%; font-size:12.5px}
  .avd table.kv.bank th:nth-child(3),.avd table.kv.bank td:nth-child(3){width:auto; white-space:nowrap}
  .avd table.kv.bank th:nth-child(3){font-size:11.5px}
  .avd table.kv.bank td{font-size:13px; padding:8px 6px; vertical-align:top}
  .avd table.kv.bank th{padding:8px 6px}
  .avd .bh{white-space:normal; font-size:12.5px; align-items:flex-start}
  .avd .bh b.num{flex:0 0 auto; margin-top:1px}
}

/* long weekends: cards on phones, a table from 760px */
.avd .dleg{display:flex; flex-wrap:wrap; gap:6px 14px; font-size:12px; color:var(--grey); margin:4px 0 12px}
.avd .dleg span::before{content:""; display:inline-block; width:11px; height:11px; border-radius:3px; margin-right:5px; vertical-align:-1px}
.avd .dleg .h::before{background:var(--green)}
.avd .dleg .w::before{background:var(--green-soft); border:1.5px solid var(--green)}
.avd .dleg .l::before{background:var(--red)}
.avd .lwt{width:100%; border-collapse:separate; border-spacing:0 10px}
.avd .lwt thead{display:none}
.avd .lwt tr.lwc{display:block; border:1px solid var(--line); border-radius:var(--radius-m); background:#fff; padding:12px 14px; box-shadow:var(--shadow); line-height:1.5}
.avd .lwt td{display:block; padding:0}
.avd .lwt tr.lwc[hidden]{display:none}
@media (min-width:760px){
  .avd .lwt{border-collapse:collapse; border-spacing:0; border:1px solid var(--line); border-radius:var(--radius-m); overflow:hidden}
  .avd .lwt thead{display:table-header-group}
  .avd .lwt th{text-align:left; font-size:12.5px; color:var(--rose-ink); background:var(--rose); padding:9px 12px}
  .avd .lwt tr.lwc{display:table-row; border:0; border-radius:0; box-shadow:none; padding:0}
  .avd .lwt td{display:table-cell; vertical-align:middle; padding:9px 12px; border-top:1px solid var(--rule)}
  .avd .lwt tr.lwc:nth-child(even) td{background:#FDFBF7}
  .avd .lwt .lwh{display:block}
  .avd .lwt .lwh span{display:block; margin:0}
  .avd .lwt .lwh em{display:inline-block; margin:4px 0 0}
  .avd .lwt .dstrip{margin:0; flex-wrap:nowrap}
  .avd .lwt th:nth-child(1){width:17%} .avd .lwt th:nth-child(2){width:270px} .avd .lwt th:nth-child(4){width:24%}
  .avd .lwt .lv{margin:0; white-space:nowrap}
}
.avd .lwh{display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px}
.avd .lwh b{font-size:15.5px; color:var(--head)}
.avd .lwh span{font-size:12.5px; color:var(--muted)}
.avd .lwh em{margin-left:auto; font:600 12px var(--ff-num); color:var(--orange-ink); background:var(--orange-soft); border-radius:var(--pill); padding:2px 9px; font-style:normal}
.avd .dstrip{display:flex; flex-wrap:wrap; gap:5px; margin:10px 0 8px}
.avd .dsc{display:flex; flex-direction:column; align-items:center; width:44px}
.avd .dsc i{font:600 10.5px var(--ff-num); color:var(--muted); font-style:normal; line-height:1.3; margin-bottom:3px}
.avd .dsc b{display:flex; align-items:center; justify-content:center; width:44px; height:38px; border-radius:9px; font:700 15px var(--ff-num); border:1.5px solid transparent}
.avd .dsc.h b{background:var(--green); color:#fff; border-color:var(--green)}
.avd .dsc.w b{background:var(--green-soft); color:var(--green-ink); border-color:var(--green)}
.avd .dsc.l b{background:var(--red); color:#fff; border-color:var(--red)}
.avd .lwn{font-size:14px; color:var(--body)}
.avd .lv{display:inline-block; margin-top:6px; font-size:12.5px; font-weight:600; border-radius:var(--pill); padding:2px 10px}
.avd .lv.no{color:var(--green-ink); background:var(--green-soft)}
.avd .lv.yes{color:#fff; background:var(--red)}
@media (max-width:380px){.avd .dsc,.avd .dsc b{width:38px}}

/* FAQ (admin FAQs, shared/tmc90-faq) */

/* recommendations */
.avd .reco{display:grid; grid-template-columns:1fr; gap:10px}
@media (min-width:600px){.avd .reco{grid-template-columns:1fr 1fr}}
@media (min-width:1000px){.avd .reco{grid-template-columns:repeat(4,1fr)}}
.avd .reco a{display:flex; align-items:center; gap:12px; background:var(--rose); border-radius:var(--radius-m); padding:10px 12px; color:var(--head); font-weight:700; font-size:14px; line-height:1.4}
.avd .reco a .tl{width:44px; height:44px; border-radius:10px; background:#fff; display:grid; place-items:center; color:var(--rose-ink); flex:0 0 auto}
.avd .reco a .tl svg{width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round}
.avd .reco a span.t{flex:1}
.avd .reco a::after{content:"›"; font-size:20px; color:var(--rose-ink)}

/* Phones: a shorter title and subtitle. */
@media (max-width:760px){.avd .m-hide{display:none}}
