/* Scoped selection and calendar surfaces. Inherits the HR BASE local fonts/tokens. */
.hcc-control { display:block; width:100%; min-width:0; }
.hcc-trigger,.hcc-pop { font-family:var(--font-ui,"Josefin Sans","Noto Sans JP",sans-serif); color:var(--txt,#22251f); }
.hc .hcc-trigger,.hcc-trigger { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-width:0; min-height:40px; margin:0; padding:8px 11px; border:1px solid #818c75; border-radius:0; background:var(--surface,#fff); color:var(--txt,#22251f); font-size:14px; line-height:1.5; font-weight:500; text-align:left; cursor:pointer; box-shadow:none; }
.hcc-value { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hcc-trigger:hover:not(:disabled) { border-color:#526c38; background:#fafbf7; }
.hcc-trigger[aria-expanded=true] { border-color:#526c38; box-shadow:inset 0 0 0 1px #526c38; }
.hc .hcc-trigger:focus-visible,.hcc-trigger:focus-visible { outline:2px solid #526c38; outline-offset:3px; }
.hc .hcc-trigger:disabled,.hcc-trigger:disabled { color:#707767; background:var(--card2,#f6f7f3); border-color:#c5cbbd; cursor:default; opacity:1; }
.hcc-trigger.hcc-placeholder { color:var(--sub,#62685c); }
.hcc-trigger[aria-invalid=true] { border-color:#ad453d; }
.hcc-chevron { flex:none; width:7px; height:7px; margin:0 3px 4px 0; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); color:#56634a; }
.hcc-trigger[aria-expanded=true] .hcc-chevron { transform:rotate(225deg); margin-top:6px; }
.hcc-calendar-icon { position:relative; flex:none; width:16px; height:16px; border:1.5px solid currentColor; color:#56634a; }
.hcc-calendar-icon::before { content:""; position:absolute; left:-1px; right:-1px; top:3px; border-top:1.5px solid currentColor; }
.hcc-calendar-icon::after { content:""; position:absolute; left:3px; right:3px; top:-3px; height:4px; border-left:1.5px solid currentColor; border-right:1.5px solid currentColor; }
.hcc-error { display:block; color:#96352c; font-size:12px; line-height:1.7; margin-top:6px; }
.hcc-error[hidden] { display:none!important; }
.hcc-sr { position:absolute; clip:rect(0,0,0,0); width:1px; height:1px; overflow:hidden; white-space:nowrap; }
.hcc-pop { position:fixed; inset:auto; margin:0; padding:0; border:1px solid #8a967d; border-radius:0; background:var(--surface,#fff); box-shadow:0 10px 30px rgb(30 40 21 / 18%); overflow:auto; overscroll-behavior:contain; box-sizing:border-box; z-index:10000; font-size:14px; font-weight:500; line-height:1.5; text-align:left; }
.hcc-pop::backdrop { background:transparent; pointer-events:none; }
.hcc-pop * { box-sizing:border-box; }
.hcc-pop button { font:inherit; border-radius:0; cursor:pointer; touch-action:manipulation; }
.hcc-pop button:disabled { cursor:default; opacity:.38; }
.hcc-pop :is(button,input,[tabindex]):focus-visible { outline:2px solid #526c38; outline-offset:-3px; box-shadow:none; }
.hcc-popup-head { display:flex; align-items:center; gap:10px; padding:10px 12px 8px 16px; border-bottom:1px solid #e0e5d9; background:#fafbf7; }
.hcc-popup-title { color:#435136; font-size:12px; font-weight:600; margin-right:auto; overflow-wrap:anywhere; }
.hcc-count { color:#62685c; font-size:11px; white-space:nowrap; }
.hcc-pop .hcc-icon-button { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; flex:none; padding:0; border:1px solid transparent; background:transparent; color:#526042; font-size:24px; font-weight:400; line-height:1; }
.hcc-pop .hcc-icon-button:hover:not(:disabled) { border-color:#9aa78b; background:#f0f3eb; }
.hcc-search-wrap { padding:12px 12px 8px; }
.hc .hcc-pop .hcc-search,.hcc-pop .hcc-search { display:block; width:100%; height:40px; min-height:40px; margin:0; padding:8px 11px; color:#22251f; background:#fff; border:1px solid #818c75; border-radius:0; font:inherit; font-size:14px; line-height:1.5; box-shadow:none; }
.hcc-pop .hcc-search::placeholder { color:#62685c; }
.hcc-pop .hcc-search:focus-visible { outline-offset:1px; }
.hcc-options { overflow:auto; max-height:min(296px,45dvh); padding:4px 6px 6px; overscroll-behavior:contain; }
.hcc-option { display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:40px; padding:9px 10px; border:1px solid transparent; color:#26311e; cursor:pointer; }
.hcc-option-label { min-width:0; overflow-wrap:anywhere; font-size:14px; line-height:1.55; }
.hcc-option-check { flex:none; width:18px; color:#526c38; font-size:16px; font-weight:700; text-align:center; }
.hcc-option[aria-selected=true] { font-weight:700; }
.hcc-option.hcc-active { background:#edf2e6; border-color:#bccbac; }
.hcc-option[aria-disabled=true] { color:#858b7c; cursor:default; }
.hcc-empty { padding:20px 12px; color:#62685c; font-size:13px; line-height:1.7; }
.hcc-calendar-nav { display:flex; align-items:center; justify-content:space-between; gap:2px; padding:12px 12px 8px; }
.hcc-month-title { min-width:0; flex:1; margin:0; text-align:center; font-size:18px; line-height:1.4; font-weight:700; white-space:nowrap; color:#26311e; }
.hcc-calendar { padding:0 12px 12px; }
.hcc-weekdays,.hcc-week { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:2px; }
.hcc-weekdays { padding:4px 0 6px; }
.hcc-weekdays>span { text-align:center; color:#62685c; font-size:11px; font-weight:600; line-height:24px; }
.hcc-day-cell { min-width:0; }
.hcc-pop .hcc-day { display:flex; align-items:center; justify-content:center; position:relative; width:100%; min-height:38px; padding:6px 0; border:1px solid transparent; background:transparent; color:#26311e; font-size:15px; line-height:1.3; font-weight:500; font-variant-numeric:tabular-nums; }
.hcc-pop .hcc-day:hover:not(:disabled) { background:#edf2e6; border-color:#a7b798; }
.hcc-pop .hcc-day.hcc-other-month { color:#707767; }
.hcc-pop .hcc-day[aria-current=date]::after { content:""; position:absolute; bottom:4px; width:4px; height:4px; background:currentColor; }
.hcc-pop .hcc-day.hcc-selected { color:#fff; background:#3d512d; border-color:#3d512d; font-weight:700; }
.hcc-pop .hcc-day.hcc-selected:focus-visible { outline-color:#fff; outline-offset:-4px; }
.hcc-pop .hcc-day:disabled { color:#a3aa9a; opacity:1; }
.hcc-calendar-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; border-top:1px solid #e0e5d9; padding:8px 14px; }
.hcc-pop .hcc-text-button { min-height:36px; padding:6px 8px; border:0; background:transparent; color:#435c2f; font-size:13px; font-weight:600; }
.hcc-pop .hcc-text-button:hover:not(:disabled) { background:#edf2e6; }
@media(max-width:760px) {
  .hc .hcc-trigger,.hcc-trigger { min-height:44px; font-size:16px; }
  .hcc-pop .hcc-icon-button { width:36px; height:36px; }
  .hcc-popup-head { padding:8px 10px 8px 14px; }
  .hc .hcc-pop .hcc-search,.hcc-pop .hcc-search { min-height:44px; height:44px; font-size:16px; }
  .hcc-option { min-height:44px; }
  .hcc-option-label { font-size:15px; }
  .hcc-options { max-height:min(308px,42dvh); }
  .hcc-calendar-nav { padding:10px 8px 8px; }
  .hcc-calendar { padding:0 8px 10px; }
  .hcc-pop .hcc-day { min-height:42px; font-size:16px; }
  .hcc-pop .hcc-text-button { min-height:44px; }
}
@media(prefers-reduced-motion:reduce) { .hcc-control *,.hcc-pop * { transition:none!important; scroll-behavior:auto!important; } }
