/* NISSYO BUSINESS CALENDAR 2026/2027 : self-contained in iframe. */
:root {
    --navy: #103c5b;
    --blue: #0587b7;
    --sea: #0c799f;
    --sky: #bae4f5;
    --line: #d7e9f3;
    --ink: #193c56;
    --muted: #718ea3;
    --yellow: #fff0ac;
    --yellow-border: #f2d06f;
    --snow: #f8fbfe
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fff;
    color: var(--navy);
    font-family: Arial, 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', Meiryo, sans-serif;
    -webkit-font-smoothing: antialiased
}

button {
    font: inherit;
    cursor: pointer
}

a {
    text-decoration: none
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid #1398d0;
    outline-offset: 3px
}

.bc {
    margin: auto;
    width: 100%;
    max-width: 1420px;
    padding: 26px clamp(10px, 2.35vw, 36px) 38px
}

.bc-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 23px
}

.bc-titleblock {
    min-width: 0
}

.bc-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #0289b9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em
}

.bc-eyebrow:before {
    content: '';
    width: 26px;
    height: 2px;
    background: #2bb0e3
}

.bc-eyebrow>span {
    color: #a2c5d8
}

.bc-page-title {
    color: var(--navy);
    font-size: clamp(28px, 3.2vw, 41px);
    letter-spacing: .04em;
    line-height: 1.3;
    margin: 8px 0 8px;
    font-weight: 800
}

.bc-desc {
    margin: 0;
    color: #65869b;
    line-height: 1.75;
    font-size: 13px
}

.bc-yearcontrol {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.bc-yearcontrol-label {
    font-size: 12px;
    font-weight: 800;
    color: #34647c;
    white-space: nowrap
}

.bc-years {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: #eef7fc;
    border-radius: 12px;
    border: 1px solid #d3e8f3
}

.bc-years button {
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #537f9b;
    padding: 10px 18px;
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
    min-width: 83px
}

.bc-years button[aria-pressed=true] {
    color: #fff;
    background: #0781ab;
    box-shadow: 0 4px 14px rgba(0, 105, 148, .2)
}

.bc-today-btn {
    padding: 11px 13px;
    border: 1px solid #d2e5f1;
    background: #fff;
    border-radius: 10px;
    color: #215e7f;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap
}

.bc-today-btn:hover {
    background: #ebf8ff
}

.bc-layout {
    display: grid;
    grid-template-columns: minmax(260px, .43fr) minmax(0, .97fr);
    gap: 18px
}

.bc-aside {
    min-width: 0;
    border: 1px solid #d7ecf5;
    border-radius: 22px;
    background: linear-gradient(146deg, #f1fbff 0%, #eaf7fe 42%, #fff 100%);
    position: relative;
    overflow: hidden
}

.bc-aside:after {
    content: '';
    pointer-events: none;
    position: absolute;
    width: 350px;
    height: 350px;
    bottom: -270px;
    left: -125px;
    border-radius: 50%;
    border: 60px solid rgba(56, 171, 222, .12)
}

.bc-intro {
    padding: clamp(23px, 2.9vw, 44px) clamp(19px, 2.7vw, 38px) 28px;
    position: relative;
    z-index: 1
}

.bc-year-strap {
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: .18em;
    font-size: 11px;
    font-weight: 800;
    color: #0187b6
}

.bc-line {
    width: 25px;
    height: 2px;
    background: #079ccf
}

.bc-giant-year {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin: 17px 0 28px
}

.bc-giant-year>span:first-child {
    font-size: clamp(66px, 9vw, 125px);
    font-weight: 800;
    line-height: 1;
    color: #acd9ec;
    letter-spacing: -.08em
}

.bc-year-caption {
    color: #4485a5;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .06em;
    padding-bottom: 8px
}

.bc-message {
    font-size: clamp(25px, 3vw, 38px);
    letter-spacing: .01em;
    line-height: 1.45;
    margin: 0 0 18px;
    font-weight: 800;
    white-space: nowrap
}

.bc-message span {
    color: #028fbd
}

.bc-message-sub {
    font-size: clamp(13px, 1.25vw, 17px);
    color: #386784;
    line-height: 2;
    margin: 0 0 29px
}

.bc-stat {
    background: linear-gradient(115deg, #056c99, #0a98c3);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 19px 18px;
    box-shadow: 0 10px 25px #076c9829
}

.bc-stat-icon {
    flex: none;
    width: 49px;
    height: 49px;
    border: 1px solid #ffffff52;
    border-radius: 11px;
    display: grid;
    place-items: center
}

.bc-stat-top {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    color: #d7f5ff
}

.bc-stat-main {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 2px 0
}

.bc-stat-main strong {
    font-size: 52px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.055em
}

.bc-stat-main span {
    font-size: 19px;
    font-weight: 800
}

.bc-stat p {
    margin: 5px 0 0;
    color: white;
    font-size: 15px;
    font-weight: 800
}

.bc-stat p small {
    font-size: 10px;
    font-weight: 500;
    opacity: .83
}

.bc-legend {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 22px 0 23px
}

.bc-legend strong {
    font-size: 14px;
    color: #214e6e
}

.bc-legend p {
    font-size: 12px;
    color: #63859d;
    margin: 5px 0
}

.bc-yellow-chip {
    flex: none;
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--yellow);
    border: 1px solid var(--yellow-border);
    border-radius: 7px
}

.bc-recruit {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    background: #0787b7;
    color: white;
    font-weight: 800;
    border-radius: 10px;
    font-size: 13px;
    padding: 14px 19px;
    box-shadow: 0 8px 19px #0b7fab25
}

.bc-recruit:hover {
    background: #006c9e
}

.bc-right {
    display: flex;
    flex-direction: column;
    gap: 17px;
    min-width: 0
}

.bc-feature,
.bc-annual {
    border: 1px solid #d7e7ef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(9, 70, 106, .05);
    padding: 21px clamp(16px, 2vw, 28px)
}

.bc-section-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px
}

.bc-section-en {
    color: #008bb5;
    font-size: 10px;
    letter-spacing: .19em;
    font-weight: 800
}

.bc-section-bar h2 {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.3;
    letter-spacing: .03em;
    margin: 5px 0 0;
    color: #164565
}

.bc-feature-actions {
    display: flex;
    align-items: center;
    gap: 7px
}

.bc-auto {
    font-size: 10px;
    color: #0789b5;
    border: 1px solid #cae9f7;
    background: #f1fbff;
    border-radius: 25px;
    padding: 7px 10px;
    white-space: nowrap
}

.bc-auto.is-manual {
    color: #668ba3;
    background: #f3f7fa;
    border-color: #e4edf3
}

.bc-square {
    width: 33px;
    height: 34px;
    border: 1px solid #d7e5ef;
    background: #fff;
    color: #086c96;
    border-radius: 9px;
    font-size: 25px;
    line-height: 1
}

.bc-square:hover {
    background: #eaf8ff
}

.bc-month-name {
    display: flex;
    align-items: baseline;
    gap: 13px;
    margin: 14px 0 13px
}

.bc-month-name strong {
    font-size: 33px;
    color: #143e5e;
    letter-spacing: -.03em
}

.bc-month-name span {
    font-size: 11px;
    letter-spacing: .12em;
    color: #8daabc;
    font-weight: 800
}

.bc-large-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px
}

.bc-weekday {
    display: grid;
    place-items: center;
    height: 27px;
    font-size: 13px;
    font-weight: 800;
    color: #64849c
}

.bc-weekday.sun,
.bc-mini-weekday.sun {
    color: #c64e56
}

.bc-weekday.sat,
.bc-mini-weekday.sat {
    color: #2374be
}

.bc-day {
    display: grid;
    place-items: center;
    aspect-ratio: 1.38;
    min-height: 34px;
    background: #f9fcfe;
    border: 1px solid #e5eef5;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 800;
    color: #164160;
    position: relative
}

.bc-day.is-off {
    background: var(--yellow);
    border-color: var(--yellow-border);
    color: #745708;
    box-shadow: inset 0 1px 0 #fff7d0
}

.bc-day.is-public {
    color: #c7494a
}

.bc-day.is-sunday {
    color: #be5053
}

.bc-day.is-saturday {
    color: #246db2
}

.bc-day.is-off.is-public,
.bc-day.is-off.is-sunday {
    color: #aa6d06
}

.bc-day.is-empty {
    visibility: hidden
}

.bc-day.is-today {
    outline: 2px solid #0a9bc6;
    outline-offset: -3px
}

.bc-day.is-unverified {
    border-style: dashed
}

.bc-month-bottom {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding-top: 12px;
    color: #708ba0;
    font-size: 10px;
    flex-wrap: wrap
}

.bc-legend-mini {
    display: flex;
    align-items: center;
    gap: 7px
}

.bc-legend-mini .bc-yellow-chip {
    height: 13px;
    width: 13px;
    border-radius: 4px
}

.bc-dot-divider {
    color: #b7cad5
}

.bc-detail-summary {
    font-weight: 700
}

.bc-annual {
    background: linear-gradient(150deg, #f8fcff, #fff 85%)
}

.bc-year-bar {
    margin-bottom: 14px
}

.bc-year-bar p {
    font-size: 11px;
    color: #8aa3b7;
    margin: 0;
    line-height: 1.5
}

.bc-year-bar h2 span {
    color: #1a7aab
}

.bc-year-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px
}

.bc-mini-month {
    appearance: none;
    text-align: left;
    border: 1px solid #dceaf2;
    background: #fff;
    border-radius: 11px;
    padding: 11px 10px 10px;
    color: var(--navy);
    min-width: 0;
    transition: border-color .16s, box-shadow .16s, transform .16s
}

.bc-mini-month:hover {
    border-color: #56b4df;
    box-shadow: 0 5px 16px #087fba20;
    transform: translateY(-2px)
}

.bc-mini-month.is-active {
    border: 2px solid #049acf;
    padding: 10px 9px 9px;
    box-shadow: 0 4px 13px #088bba20;
    background: #fbfeff
}

.bc-mini-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 7px
}

.bc-mini-title small {
    font-size: 8px;
    color: #93aebb;
    letter-spacing: .08em
}

.bc-mini-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
    align-items: center
}

.bc-mini-weekday {
    font-size: 9px;
    font-weight: 800;
    text-align: center;
    color: #8ca7b5;
    margin-bottom: 3px
}

.bc-mini-day {
    font-size: 10px;
    font-weight: 700;
    line-height: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    color: #31536b;
    min-width: 0
}

.bc-mini-day.is-off {
    background: #fff0ac;
    color: #7b5b03
}

.bc-mini-day.is-public {
    color: #c25658
}

.bc-mini-day.is-off.is-public {
    color: #9d5d02
}

.bc-mini-day.is-empty {
    visibility: hidden
}

.bc-notices {
    font-size: 10px;
    color: #7d98aa;
    line-height: 1.6;
    padding: 0 2px
}

.bc-notices p {
    margin: 0 0 4px
}

.bc-notices #bc-data-warning {
    border-left: 3px solid #e1af3e;
    background: #fff9e9;
    padding: 7px 11px;
    color: #735d30;
    border-radius: 4px
}

@media (min-width:1260px) {
    .bc-year-board {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .bc-mini-day {
        height: 18px;
        line-height: 18px
    }

    .bc-mini-month {
        padding: 10px 8px
    }

    .bc-mini-month.is-active {
        padding: 9px 7px
    }
}

@media (max-width:1160px) {
    .bc-layout {
        grid-template-columns: minmax(260px, .46fr) minmax(0, .94fr)
    }

    .bc-year-board {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .bc-giant-year>span:first-child {
        font-size: 75px
    }

    .bc-year-caption {
        font-size: 10px
    }

    .bc-message {
        font-size: 28px
    }
}

@media (max-width:900px) {
    .bc {
        padding: 20px 12px 32px
    }

    .bc-layout {
        grid-template-columns: 1fr
    }

    .bc-aside {
        max-width: none
    }

    .bc-intro {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 0 22px;
        padding: 24px
    }

    .bc-year-strap,
    .bc-giant-year,
    .bc-message,
    .bc-message-sub {
        grid-column: 1
    }

    .bc-stat {
        grid-column: 2;
        grid-row: 2 / span 2;
        align-self: center;
        min-width: 190px
    }

    .bc-legend,
    .bc-recruit {
        grid-column: 1
    }

    .bc-giant-year {
        margin: 8px 0 15px
    }

    .bc-giant-year>span:first-child {
        font-size: 65px
    }

    .bc-message {
        margin: 0 0 9px
    }

    .bc-message-sub {
        margin: 0 0 10px
    }

    .bc-year-board {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }
}

@media (max-width:700px) {
    .bc-header {
        display: block
    }

    .bc-yearcontrol {
        margin-top: 16px
    }

    .bc-desktop-break {
        display: none
    }

    .bc-aside {
        border-radius: 16px
    }

    .bc-intro {
        display: block;
        padding: 20px
    }

    .bc-giant-year {
        margin: 10px 0 18px
    }

    .bc-giant-year>span:first-child {
        font-size: 77px
    }

    .bc-message {
        font-size: 26px;
        line-height: 1.4;
        white-space: normal
    }

    .bc-message-sub {
        font-size: 13px;
        line-height: 1.8;
        margin-bottom: 20px
    }

    .bc-stat {
        display: flex;
        max-width: 330px;
        padding: 14px
    }

    .bc-stat-main strong {
        font-size: 44px
    }

    .bc-legend {
        margin: 18px 0 16px
    }

    .bc-year-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px
    }

    .bc-feature,
    .bc-annual {
        padding: 16px 11px;
        border-radius: 14px
    }

    .bc-auto {
        font-size: 9px;
        padding: 6px
    }

    .bc-section-bar h2 {
        font-size: 18px
    }

    .bc-section-en {
        font-size: 9px
    }

    .bc-month-name strong {
        font-size: 27px
    }

    .bc-day {
        min-height: 32px;
        font-size: 12px;
        border-radius: 7px
    }

    .bc-large-calendar {
        gap: 3px
    }

    .bc-weekday {
        height: 24px;
        font-size: 12px
    }

    .bc-year-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px
    }

    .bc-legend {
        gap: 9px
    }

    .bc-legend strong {
        font-size: 12px
    }
}

@media (max-width:390px) {
    .bc {
        padding: 14px 8px 24px
    }

    .bc-yearcontrol {
        gap: 5px
    }

    .bc-years button {
        min-width: 66px;
        padding: 9px 12px
    }

    .bc-auto {
        display: none
    }

    .bc-mini-month {
        padding: 9px 6px
    }

    .bc-mini-month.is-active {
        padding: 8px 5px
    }

    .bc-mini-day {
        height: 17px;
        font-size: 9px
    }

    .bc-mini-weekday {
        font-size: 8px
    }

    .bc-year-board {
        gap: 6px
    }
}

@media (prefers-reduced-motion:reduce) {
    * {
        transition: none !important
    }
}
/* Ẩn thông báo dưới lịch */
.bc-notices {
    display: none !important;
}

/* =========================================
   BUSINESS CALENDAR - LEFT PANEL HEIGHT
   PC ONLY
   ========================================= */

@media screen and (min-width: 901px) {

    /* Không kéo dài khung trái theo lịch bên phải */
    .bc .bc-aside {
        align-self: start;
        height: auto;
        min-height: 0;
    }

    /* Thu gọn khoảng cách dưới cùng */
    .bc .bc-intro {
        padding-bottom: 34px;
    }

    /* Họa tiết xanh nhạt ở góc dưới */
    .bc .bc-aside::after {
        width: 230px;
        height: 230px;
        bottom: -175px;
        left: -95px;
        border: 45px solid rgba(56, 171, 222, 0.09);
        border-radius: 50%;
    }
}
