/* Prevent country clock rows from shrinking into clipped strips. */
#dgvs-universal-world-clock .dgclock-list{grid-auto-rows:max-content;max-height:410px;gap:10px;padding:2px 4px 4px 2px;scrollbar-gutter:stable}
#dgvs-universal-world-clock .dgclock-country{display:block;min-height:146px;height:auto;width:100%;min-width:0;padding:14px 16px;line-height:1.45;color:#17483f;background:#fff;text-align:left;font-size:14px;border-radius:12px}
#dgvs-universal-world-clock .dgclock-country[aria-pressed="true"]{background:#f0f8f3;border-color:#198470;box-shadow:inset 3px 0 #198470}
#dgvs-universal-world-clock .dgclock-country-heading{display:flex;align-items:center;gap:10px;font-size:15px;line-height:1.4;font-weight:700}
#dgvs-universal-world-clock .dgclock-country-name{min-width:0;overflow-wrap:anywhere}
#dgvs-universal-world-clock .dgclock-flag{display:block;flex-shrink:0;width:32px;height:24px;object-fit:contain;border:1px solid #d6e1db;border-radius:3px;background:#fff}
#dgvs-universal-world-clock .dgclock-country-zone{font-size:12px;font-weight:400;overflow-wrap:anywhere;line-height:1.5;padding-top:5px}
#dgvs-universal-world-clock .dgclock-country-time{font-size:1.35rem;line-height:1.4;margin-top:6px;font-weight:700}
#dgvs-universal-world-clock .dgclock-country-date,#dgvs-universal-world-clock .travel-clock-dst{font-size:12px;line-height:1.5}
#dgvs-universal-world-clock .dgclock-details h3{display:flex;align-items:center;gap:10px;overflow-wrap:anywhere;font-size:1.25rem}
#dgvs-universal-world-clock .dgclock-details{min-width:0;align-self:start;gap:12px}
#dgvs-universal-world-clock .dgclock-details [data-clock-time]{display:block;white-space:nowrap;line-height:1.3;font-size:clamp(1.8rem,4vw,3rem)}
#dgvs-universal-world-clock .dgclock-details [data-clock-date]{display:block;font-size:14px;line-height:1.5}
#dgvs-universal-world-clock .dgclock-details select{width:100%;min-width:0}
#dgvs-universal-world-clock .dgclock-empty{padding:14px;color:#4b6c63}
/* Traveller breakdown keeps the existing total and summary in sync. */
.dgvs-traveller-group{border:0;padding:0;margin:0 0 23px;min-width:0}
.dgvs-traveller-group legend{font-size:14px;font-weight:700;margin-bottom:9px;color:var(--ink)}
.dgvs-traveller-breakdown{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dgvs-traveller-category{min-width:0;border:1px solid var(--line);background:#f6f8f3;border-radius:11px;padding:10px}
.dgvs-traveller-category label{display:block;font-size:14px;font-weight:700;line-height:1.4;margin-bottom:9px}
.dgvs-traveller-category label span{display:block;font-size:12px;font-weight:400;color:var(--muted)}
.dgvs-count-control{display:grid;grid-template-columns:36px minmax(38px,1fr) 36px;gap:3px;width:100%;min-width:0}
.dgvs-count-control button{display:grid;place-items:center;width:36px;min-width:0;min-height:44px;padding:0;background:#e8f2e9;border:1px solid #c4d9cb;border-radius:7px;font-size:23px;color:#165a50;line-height:1}
.dgvs-count-control button:disabled{opacity:.45;cursor:default}
.dgvs-count-control input{display:block;width:100%;min-width:0;min-height:44px;padding:6px 2px;text-align:center;background:#fff;border:1px solid #c4d9cb;border-radius:7px;font-size:16px;color:var(--ink);appearance:textfield;-moz-appearance:textfield}
.dgvs-count-control input::-webkit-inner-spin-button,.dgvs-count-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#travellers-status{font-size:14px;font-weight:700;color:#165a50;margin:9px 0 3px}
.dgvs-traveller-group [hidden]{display:none!important}
/* Direct shortcuts remain outside the existing Quick menu. */
.dgvs-page-actions{position:fixed;right:calc(20px + env(safe-area-inset-right,0px));bottom:calc(82px + env(safe-area-inset-bottom,0px));z-index:640;display:flex;flex-direction:column;align-items:center;gap:10px}
.dgvs-page-actions[hidden]{display:none!important}
.dgvs-page-actions a,.dgvs-page-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:52px;height:56px;min-height:56px;padding:5px;border:1px solid #bed6cb;border-radius:15px;background:#fffefa;color:#165a50;text-decoration:none;box-shadow:0 5px 15px #193d3624;cursor:pointer;font:700 11px/1.3 Arial,sans-serif}
.dgvs-page-actions a{background:#165a50;color:#fff;border-color:#165a50}
.dgvs-page-actions svg{display:block;width:23px;height:23px}
.dgvs-page-actions a:hover,.dgvs-page-actions button:hover{filter:brightness(1.07)}
.dgvs-page-actions :focus-visible{outline:3px solid #b98b48;outline-offset:3px}
@media(max-width:900px){.dgvs-traveller-breakdown{grid-template-columns:1fr}.dgvs-traveller-category{display:grid;grid-template-columns:minmax(0,1fr) 124px;align-items:center;gap:8px}.dgvs-traveller-category label{margin:0}.dgvs-traveller-category label span{display:inline}}
@media(max-width:680px){#dgvs-universal-world-clock .dgclock-list{max-height:370px}#dgvs-universal-world-clock .dgclock-country{min-height:146px;padding:13px}.dgvs-page-actions{right:calc(14px + env(safe-area-inset-right,0px));bottom:calc(80px + env(safe-area-inset-bottom,0px))}.dgvs-page-actions a,.dgvs-page-actions button{width:48px;height:52px;min-height:52px}}
@media(max-width:680px){
  body{padding-bottom:84px}
  .dgvs-page-actions{left:calc(14px + env(safe-area-inset-left,0px));right:auto;bottom:calc(14px + env(safe-area-inset-bottom,0px));flex-direction:row;gap:8px}
  .dgvs-page-actions a,.dgvs-page-actions button{width:48px;height:48px;min-height:48px;border-radius:13px}
  .planner-card input,.planner-card button,.planner-card select,.planner-card textarea{scroll-margin-block-end:90px}
}
