@charset "utf-8";
.bkf-hd-win { left: 40px; top: 56px; bottom: -1px; width: 820px; }
.bkf-hd-body { padding: 20px 24px 0; }
.bkf-hd-head { display: flex; align-items: center; gap: 16px; }
.bkf-hd-head > div { margin-right: auto; }
.bkf-hd-seg { display: inline-flex; margin: 0; padding: 3px; border-radius: 10px; background: var(--surface-sub); font-size: 13px; line-height: 18px; font-weight: var(--fw-semibold); }
.bkf-hd-seg span { padding: 6px 12px; border-radius: 8px; color: var(--bkf-muted); }
.bkf-hd-seg .is-on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(25, 23, 28, 0.12); }
.bkf-hd-add { height: 36px; padding: 0 14px; font-size: 13px; }
.bkf-hd-legend { display: flex; gap: 16px; margin: 14px 0 0; font-size: 12px; line-height: 16px; color: var(--bkf-muted); }
.bkf-hd-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bkf-hd-legend i { width: 10px; height: 10px; border-radius: 3px; }
.bkf-hd-legend .is-wait { background: #F5A524; }
.bkf-hd-legend .is-ok { background: var(--sol-accent); }
.bkf-hd-legend .is-cancel { background: color-mix(in srgb, var(--ink) 30%, #fff); }
.bkf-hd-legend .is-noshow { background: var(--bkf-bad); }
.bkf-hd-legend .is-block { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 30%, #fff) 0 2px, transparent 2px 4px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 25%, #fff); }
.bkf-hd-grid {
    display: grid;
    grid-template-columns: 148px repeat(7, minmax(0, 1fr));
    row-gap: 6px;
    margin-top: 14px;
}
.bkf-hd-corner { align-self: end; padding-bottom: 6px; font-size: 12px; line-height: 16px; color: var(--bkf-muted); }
.bkf-hd-day { display: flex; align-items: baseline; justify-content: center; gap: 4px; padding: 6px 0; border-radius: 8px; font-size: 12px; line-height: 16px; font-weight: var(--fw-semibold); color: var(--bkf-muted); }
.bkf-hd-day b { font-size: 15px; line-height: 20px; color: var(--ink); }
.bkf-hd-day.is-today { background: var(--bkf-tint); }
.bkf-hd-day.is-today b { color: var(--sol-accent-em); }
.bkf-hd-day.is-sat b { color: var(--sol-accent-em); }
.bkf-hd-day.is-sun b { color: var(--bkf-bad); }
.bkf-hd-room { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; font-weight: var(--fw-semibold); white-space: nowrap; }
.bkf-hd-room > span { display: flex; flex-direction: column; }
.bkf-hd-room small { font-size: 12px; line-height: 16px; font-weight: var(--fw-regular); color: var(--bkf-muted); }
.bkf-hd-thumb {
    flex: none;
    width: 40px;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    background: var(--surface-sub);
    outline: 1px solid rgba(25, 23, 28, 0.08);
    outline-offset: -1px;
}
.bkf-hd-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bkf-hd-row {
    position: relative;
    grid-column: 2 / -1;
    height: 56px;
    border-radius: 10px;
    background:
        repeating-linear-gradient(90deg, transparent 0, transparent calc(100% / 7 - 1px), var(--bkf-line) calc(100% / 7 - 1px), var(--bkf-line) calc(100% / 7)),
        #FAFAFB;
    box-shadow: inset 0 0 0 1px var(--bkf-line);
}
.bkf-hd-bar, .bkf-hd-cell {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: calc(100% / 7 * var(--a) + 3px);
    width: calc(100% / 7 * var(--n) - 6px);
}
.bkf-hd-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10px;
    overflow: hidden;
    border-radius: 8px;
    font-style: normal;
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
}
.bkf-hd-bar b { font-size: 13px; line-height: 18px; }
.bkf-hd-bar.is-ok { background: var(--bkf-tint-2); color: color-mix(in srgb, var(--ink) 78%, #fff); }
.bkf-hd-bar.is-ok b { color: var(--ink); }
.bkf-hd-bar.is-wait { background: var(--bkf-warn-bg); color: var(--bkf-warn); }
.bkf-hd-bar.is-cancel { background: var(--surface-sub); color: color-mix(in srgb, var(--ink) 76%, #fff); }
.bkf-hd-bar.is-cancel b { text-decoration: line-through; }
.bkf-hd-bar.is-noshow { background: var(--bkf-bad-bg); color: var(--bkf-bad); }
.bkf-hd-bar.is-block {
    background: repeating-linear-gradient(135deg, rgba(25, 23, 28, 0.06) 0 6px, transparent 6px 12px), var(--surface-sub);
    color: color-mix(in srgb, var(--ink) 76%, #fff);
}
.bkf-hd-bar--hold {
    background: var(--surface);
    box-shadow: inset 0 0 0 1.5px var(--sol-accent);
    color: var(--sol-accent-em);
}
.bkf-hd-bar--hold b { color: var(--sol-accent-em); }
.bkf-hd-bar__t { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sol-accent); transform-origin: 0 50%; transform: scaleX(0.92); }
.bkf-hd-bar--new { opacity: 0; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--sol-accent) 55%, transparent); }
.bkf-hd-bar--manual { transform-origin: 0 50%; }
.bkf-hd-cell__hl { position: absolute; inset: 0; border-radius: 8px; background: var(--bkf-tint); box-shadow: inset 0 0 0 1.5px dashed var(--sol-accent); box-shadow: inset 0 0 0 1.5px var(--sol-accent); opacity: 0; }
.bkf-hd-toast {
    position: absolute;
    z-index: 4;
    top: 52px;
    right: 18px;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 36px -10px rgba(25, 23, 28, 0.5);
    font-size: 12px;
    line-height: 17px;
    opacity: 0;
}
.bkf-hd-toast svg { flex: none; width: 18px; height: 18px; color: #7EE2A8; }
.bkf-hd-toast b { display: block; font-size: 14px; line-height: 20px; color: #fff; }
.bkf-hd-pop {
    position: absolute;
    z-index: 3;
    right: 20px;
    top: 210px;
    width: 264px;
    padding: 16px;
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 0 0 1px rgba(25, 23, 28, 0.08), 0 22px 48px -10px rgba(28, 16, 80, 0.32);
    transform-origin: 70% 100%;
    opacity: 0;
}
.bkf-hd-pop__t { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; font-size: 15px; line-height: 22px; font-weight: var(--fw-bold); }
.bkf-hd-pop__t span { font-size: 12px; font-weight: var(--fw-regular); color: var(--bkf-muted); }
.bkf-hd-pop__f { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 0; border-top: 1px solid var(--bkf-line); font-size: 13px; line-height: 20px; }
.bkf-hd-pop__f small { font-size: 12px; color: var(--bkf-muted); }
.bkf-hd-pop__f > span { font-weight: var(--fw-semibold); }
.bkf-hd-pop__in { position: relative; display: block; min-width: 120px; padding: 4px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--sol-accent); text-align: left; }
.bkf-hd-pop__in .bkf-caret { left: 10px; }
.bkf-hd-pop__acts { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin: 10px 0 0; }
.bkf-hd-pop__acts .bkf-btn { height: 38px; font-size: 13px; }
.bkf-hd-who {
    position: absolute;
    z-index: 2;
    top: 64px;
    margin: 0;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    font-weight: var(--fw-bold);
}
.bkf-hd-who--1 { left: 896px; }
.bkf-hd-who--2 { left: 1102px; }
.bkf-hd-phone {
    position: absolute;
    z-index: 2;
    top: 100px;
    width: 192px;
    height: 456px;
    padding: 36px 16px 16px;
    overflow: hidden;
    border-radius: 30px;
    background: var(--surface);
    box-shadow: 0 0 0 6px #1F1C24, 0 0 0 7px rgba(255, 255, 255, 0.2), 0 30px 60px -16px rgba(28, 16, 80, 0.45);
}
.bkf-hd-phone::before { content: ""; position: absolute; top: 12px; left: 50%; width: 56px; height: 14px; margin-left: -28px; border-radius: 10px; background: #1F1C24; }
.bkf-hd-p1 { left: 884px; }
.bkf-hd-p2 { left: 1090px; }
.bkf-hd-scr { position: absolute; inset: 36px 16px 16px; display: flex; flex-direction: column; }
.bkf-hd-scr--pick, .bkf-hd-scr--done { opacity: 0; }
.bkf-hd-ph__t { margin: 0; font-size: 16px; line-height: 22px; font-weight: var(--fw-bold); }
.bkf-hd-ph__sub { margin: 2px 0 0; font-size: 12px; line-height: 16px; color: var(--bkf-muted); }
.bkf-hd-ph__img {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 10px 0 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-sub);
}
.bkf-hd-ph__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bkf-hd-ph__dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; margin: 12px 0 0; font-size: 12px; line-height: 17px; }
.bkf-hd-ph__dl dt { color: var(--bkf-muted); }
.bkf-hd-ph__dl dd { margin: 0; text-align: right; font-weight: var(--fw-semibold); }
.bkf-hd-ph__btn { height: 40px; margin-top: auto; font-size: 13px; }
.bkf-hd-timer { position: relative; margin-top: 12px; padding: 12px 12px 14px; border-radius: 12px; overflow: hidden; background: var(--bkf-tint); }
.bkf-hd-timer small { display: block; font-size: 12px; line-height: 16px; color: color-mix(in srgb, var(--ink) 76%, #fff); }
.bkf-hd-timer b { display: inline-flex; font-size: 26px; line-height: 34px; font-weight: 800; color: var(--sol-accent-em); font-variant-numeric: tabular-nums; }
.bkf-hd-timer__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--sol-accent); transform-origin: 0 50%; transform: scaleX(0.9); }
.bkf-hd-pay { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; line-height: 18px; }
.bkf-hd-pay li { padding: 9px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--bkf-line-2); }
.bkf-hd-pay .is-on { box-shadow: inset 0 0 0 1.5px var(--sol-accent); font-weight: var(--fw-semibold); }
.bkf-hd-scr--done { align-items: center; justify-content: center; text-align: center; }
.bkf-hd-check { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sol-accent); color: #fff; }
.bkf-hd-check svg { width: 28px; height: 28px; stroke-width: 2.6; }
.bkf-hd-done__t { margin: 14px 0 0; font-size: 16px; line-height: 22px; font-weight: var(--fw-bold); }
.bkf-hd-done__d { margin: 4px 0 0; font-size: 12px; line-height: 17px; color: var(--bkf-muted); }
.bkf-hd-week { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.bkf-hd-week > span { display: grid; justify-items: center; gap: 2px; padding: 8px 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--bkf-line-2); font-size: 15px; line-height: 22px; font-weight: var(--fw-semibold); }
.bkf-hd-week small { font-size: 12px; line-height: 16px; font-weight: var(--fw-regular); color: var(--bkf-muted); }
.bkf-hd-d18 { display: grid; }
.bkf-hd-d18 > b { grid-area: 2 / 1; display: grid; place-items: center; height: 22px; }
.bkf-hd-d18 { background: var(--surface-sub); }
.bkf-hd-d18-hold svg { width: 16px; height: 16px; color: color-mix(in srgb, var(--ink) 76%, #fff); }
.bkf-hd-d18-done { font-size: 12px; color: color-mix(in srgb, var(--ink) 76%, #fff); }
.bkf-hd-d18-free, .bkf-hd-d18-done { opacity: 0; }
.bkf-hd-sold { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 14px 0 0; font-size: 12px; line-height: 17px; color: var(--bkf-muted); opacity: 0; }
.bkf-hd-lock {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 16px;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    line-height: 17px;
}
.bkf-hd-lock svg { width: 20px; height: 20px; color: #B9A6FF; }
.bkf-hd-lock p { margin: 0; }
.bkf-hd-lock b { display: block; margin-bottom: 2px; font-size: 13px; line-height: 18px; color: #fff; }
@media (max-width: 1279px) {
    .bkf-hd-win { left: 24px; width: calc(100% - 460px); }
    .bkf-hd-p1 { left: auto; right: 226px; }
    .bkf-hd-p2 { left: auto; right: 24px; }
    .bkf-hd-who--1 { left: auto; right: 340px; }
    .bkf-hd-who--2 { left: auto; right: 138px; }
    .bkf-hd-legend span:nth-child(5) { display: none; }
    .bkf-hd-add { display: none; }
    .bkf-hd-thumb { display: none; }
    .bkf-hd-grid { grid-template-columns: 100px repeat(7, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    .bkf-hd .bkf-tray { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; padding: 64px 24px 24px; justify-items: center; }
    .bkf-hd-win { position: relative; grid-column: 1 / -1; grid-row: 3; left: auto; top: auto; bottom: auto; width: 100%; border-radius: 14px; padding-bottom: 20px; }
    .bkf-hd-who { position: relative; top: auto; left: auto !important; right: auto !important; grid-row: 1; }
    .bkf-hd-phone { position: relative; top: auto; left: auto !important; right: auto !important; grid-row: 2; }
    .bkf-hd-pop { top: auto; bottom: 80px; }
    .bkf-hd-thumb { display: block; }
    .bkf-hd-grid { grid-template-columns: 148px repeat(7, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .bkf-hd .bkf-tray { padding: 56px 12px 12px; gap: 12px; }
    .bkf-hd-phone { width: 158px; height: 420px; padding: 32px 12px 12px; }
    .bkf-hd-scr { inset: 32px 12px 12px; }
    .bkf-hd-week { grid-template-columns: repeat(2, 1fr); }
    .bkf-hd-body { padding: 16px 12px 0; }
    .bkf-hd-head { flex-wrap: wrap; gap: 10px; }
    .bkf-hd-legend { flex-wrap: wrap; gap: 8px 12px; }
    .bkf-hd-grid { grid-template-columns: 52px repeat(7, minmax(0, 1fr)); }
    .bkf-hd-day { flex-direction: column; align-items: center; gap: 0; }
    .bkf-hd-room small, .bkf-hd-thumb { display: none; }
    .bkf-hd-room { font-size: 12px; line-height: 16px; white-space: normal; word-break: keep-all; }
    .bkf-hd-row { height: 48px; }
    .bkf-hd-bar { padding: 0; }
    .bkf-hd-bar > b, .bkf-hd-bar { color: transparent !important; }
    .bkf-hd-pop { right: 8px; width: 240px; }
    .bkf-hd-toast { right: 8px; left: 8px; }
}
