/* Yes Shift layer on the Azures theme. Template styles stay untouched. */

body, .menu, input, select, textarea, button,
h1, h2, h3, h4, h5, h6, p, a, span, strong, em, label,
#footer-bar a span {
    font-family: "Vazirmatn", Tahoma, "Segoe UI", sans-serif !important;
}

a.ys-chat-row,
a.ys-chat-row:hover {
    text-decoration: none;
    color: inherit;
}

.page-title-large h2,
.page-title-large .ys-greeting {
    color: #fff !important;
    font-size: 22px !important;
    line-height: 30px;
    font-weight: 600 !important;
}

.page-title-large,
.page-title-small {
    min-height: 52px;
    padding-left: 64px;
}

.page-title-large a.preload-img,
.page-title-small a.preload-img {
    background-size: cover;
    background-position: center;
    border-radius: 50px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0 !important;
    z-index: 98;
    display: block;
}

.page-title-large a.preload-img {
    width: 50px;
    height: 50px;
}

.page-title-small a.preload-img {
    width: 40px;
    height: 40px;
}

.ys-fab {
    position: fixed;
    z-index: 90;
    left: 16px;
    bottom: 78px;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.ys-month-table,
.ys-den-cal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}

.ys-month-table span,
.ys-den-cal .ys-day {
    display: block;
    border-radius: 8px;
    padding: 4px 0 6px;
    background: rgba(0, 0, 0, 0.04);
    font-size: 11px;
}

.ys-day-off {
    background: rgba(218, 68, 83, 0.2) !important;
}

.ys-den {
    width: 20px;
    height: 20px;
    margin: 2px 1px 0;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #667;
    font-size: 10px;
    font-weight: 700;
    line-height: 20px;
    padding: 0;
}

.ys-den.is-on {
    background: #8CC152;
    color: #fff;
}

.ys-switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
    padding: 8px 0;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ys-switch-row:last-child {
    border-bottom: 0;
}

.ys-switch-copy {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
}

.ys-switch-note {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.ys-switch-slot {
    flex: 0 0 58px;
    width: 58px;
    height: 32px;
    position: relative;
}

.ys-switch-slot .ios-switch {
    position: absolute;
    left: 0;
    top: 0;
    width: 58px;
    height: 32px;
    margin: 0 !important;
    padding: 0 !important;
}

.theme-dark .ys-switch-row {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.ys-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    color: #fff !important;
    background: linear-gradient(135deg, #DA4453, #ED5565);
    box-shadow: 0 10px 20px rgba(218, 68, 83, 0.28);
}

.ys-sheet-body {
    max-height: 340px;
    overflow: auto;
}

.ys-sheet-actions .btn {
    flex: 1;
}

#thread audio {
    width: 180px;
    height: 32px;
    margin-top: 6px;
}

.page-content .timeline-body {
    margin-top: 0;
    background: transparent;
    padding-top: 10px;
}

.ys-filter label {
    display: block;
    font-size: 11px;
    margin-bottom: 4px;
    opacity: 0.7;
}

.ys-radar {
    width: 250px;
    height: 250px;
    margin: 8px auto 18px;
    border-radius: 50%;
    position: relative;
    background:
        radial-gradient(circle, rgba(74, 137, 220, 0.18) 0 8%, transparent 9% 100%);
    box-shadow: inset 0 0 0 1px rgba(74, 137, 220, 0.35), inset 0 0 0 46px rgba(74, 137, 220, 0.08), inset 0 0 0 92px rgba(74, 137, 220, 0.12);
    overflow: hidden;
}

.ys-radar-sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0 72%, rgba(74, 137, 220, 0.55) 100%);
    animation: ys-radar-spin 2.6s linear infinite;
}

.ys-radar-core {
    position: absolute;
    width: 14px;
    height: 14px;
    left: 50%;
    top: 50%;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    background: #4A89DC;
    box-shadow: 0 0 0 8px rgba(74, 137, 220, 0.25);
}

@keyframes ys-radar-spin {
    to { transform: rotate(360deg); }
}

.ys-tab-card {
    position: sticky;
    top: 0;
    z-index: 40;
}

.ys-shift-list a {
    line-height: 1.35;
    padding-top: 12px;
    padding-bottom: 12px;
}

.ys-shift-list a i:first-child,
.ys-shift-list a i:last-child {
    line-height: 34px;
    margin-top: 4px;
}

.speech-left,
.speech-right {
    max-width: 78%;
}

.ys-sender {
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 2px;
}

.lang-check {
    visibility: hidden;
}

.lang-check.is-current {
    visibility: visible;
}

[dir="ltr"] .ys-back-icon {
    transform: scaleX(-1);
}

.ys-cal-hit {
    cursor: pointer;
}

.ys-wallet-chart {
    width: 100%;
    height: 220px;
}

.ys-profile-actions {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    margin-top: 14px;
}

.ys-profile-actions a {
    flex: none;
    min-width: 0;
    text-align: center;
    text-decoration: none;
}

.ys-profile-actions .icon {
    width: 38px;
    height: 38px;
    font-size: 14px;
    margin: 0 auto 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ys-team-actions .icon {
    margin-right: 6px;
}

#thread {
    min-height: 40vh;
}

.footer-bar-5 a {
    flex: 1 1 0 !important;
    min-width: 0;
    padding-left: 2px !important;
    padding-right: 2px !important;
}

.footer-bar-5 a span {
    font-size: 10px !important;
}

.ys-monitor-chart {
    width: 100%;
    height: 220px;
}

.ys-drawer {
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.04);
    margin-bottom: 8px;
}

.ys-drawer .ys-drawer {
    background: rgba(0, 0, 0, 0.05);
}

.theme-dark .ys-drawer {
    background: rgba(255, 255, 255, 0.05);
}

.theme-dark .ys-drawer .ys-drawer {
    background: rgba(255, 255, 255, 0.07);
}

.ys-drawer-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 8px 10px 4px;
    min-width: 0;
    text-decoration: none !important;
    color: inherit !important;
}

.ys-drag-grip {
    cursor: grab;
    opacity: 0.45;
    width: 18px;
    text-align: center;
    flex: 0 0 18px;
}

.ys-drawer-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.ys-drawer-chevron {
    transition: transform 0.2s ease;
    opacity: 0.55;
    font-size: 12px;
}

.ys-drawer-head[aria-expanded="true"] .ys-drawer-chevron {
    transform: rotate(180deg);
}

.ys-drawer-body {
    padding: 0 8px 8px 8px;
    min-height: 8px;
}

.ys-drawer.ys-dragging {
    opacity: 0.35;
}

.ys-drop-over {
    outline: 2px dashed #4A89DC;
    outline-offset: -2px;
}

.ys-drop-over.ys-drawer-head,
.ys-drawer.ys-drop-over > .ys-drawer-head {
    background: rgba(74, 137, 220, 0.12);
}

.ys-msg-tools {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 6px 10px;
    flex: 0 0 auto;
}

.ys-msg-tools a {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.ys-msg-row {
    margin-bottom: 10px;
}

.ys-msg-stack {
    display: flex;
    align-items: flex-end;
}

.ys-profile-actions a {
    flex: 1 1 18%;
    min-width: 64px;
}

.ys-sheet {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
}

.ys-sheet-head {
    position: relative;
    padding: 18px 20px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.theme-dark .ys-sheet-head {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.ys-sheet-x {
    position: absolute;
    left: 16px;
    top: 16px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: inherit;
}

.ys-sheet-scroll {
    flex: 1 1 auto;
    overflow: auto;
    max-height: calc(100% - 132px);
    padding-bottom: 8px;
}

.ys-sheet-foot {
    display: flex;
    gap: 8px;
    padding: 12px 16px 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.theme-dark .ys-sheet-foot {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.ys-sheet-foot .btn {
    flex: 1;
}

.ys-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.ys-card-head h5 {
    margin: 0;
    flex: 1;
}

.ys-tip-wrap {
    position: relative;
}

.ys-tip-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1.5px solid #4A89DC;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 137, 220, 0.1);
    color: inherit !important;
    font-size: 12px;
    font-weight: 800;
}

.ys-tip-cloud {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    width: 220px;
    z-index: 80;
    background: #fff;
    color: #1f1f1f;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    padding: 12px 12px 10px;
}

.theme-dark .ys-tip-cloud {
    background: #2a2d33;
    color: #fff;
}

.ys-tip-cloud:before {
    content: "";
    position: absolute;
    top: -6px;
    left: 10px;
    border: 6px solid transparent;
    border-bottom-color: #fff;
    border-top-width: 0;
}

.theme-dark .ys-tip-cloud:before {
    border-bottom-color: #2a2d33;
}

.ys-prog-row {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.theme-dark .ys-prog-row {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.ys-prog-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.ys-prog-icons a,
.ys-prog-icons label {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.06);
    color: inherit;
    margin: 0;
}

.theme-dark .ys-prog-icons a,
.theme-dark .ys-prog-icons label {
    background: rgba(255, 255, 255, 0.08);
}

.ys-prog-icons .is-off {
    opacity: 0.4;
}

.ys-prog-icons .ios-switch {
    transform: scale(0.62);
    transform-origin: center;
    width: auto;
    height: auto;
    background: transparent;
}

.ys-faces a {
    display: inline-block;
    margin-left: 4px;
}

.ys-mini-table {
    width: 100%;
    font-size: 11px;
}

.ys-mini-table th,
.ys-mini-table td {
    padding: 4px 3px;
    vertical-align: middle;
}

.ys-mini-table input {
    min-width: 46px;
    padding: 4px 6px;
    font-size: 11px;
}

.ys-month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.ys-month-grid > span {
    text-align: center;
    font-size: 11px;
    opacity: 0.6;
}

.ys-cap-day {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.04);
    padding: 6px 4px;
}

.theme-dark .ys-cap-day {
    background: rgba(255, 255, 255, 0.05);
}

.ys-cap-day.is-off {
    background: rgba(237, 85, 101, 0.12);
}

.ys-cap-day.is-off b {
    color: #ED5565;
}

.ys-cap-day b {
    display: block;
    font-size: 11px;
    text-align: center;
}

.ys-cap-day input {
    width: 100%;
    margin-top: 3px;
    padding: 2px 3px;
    font-size: 10px;
}

.ys-gmap {
    position: relative;
    height: 280px;
    border-radius: 18px;
    overflow: hidden;
    background: #dbe4ee;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.ys-gmap-lg {
    height: 380px;
}

.ys-gmap-bar {
    position: absolute;
    top: 10px;
    right: 10px;
    left: 10px;
    z-index: 3;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #333;
}

.ys-gmap-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
}

.ys-gmap-world {
    width: 800px;
    height: 640px;
    transform-origin: 0 0;
    position: absolute;
    top: 0;
    right: 0;
}

.ys-gmap-svg {
    width: 800px;
    height: 640px;
    display: block;
}

.ys-gmap-pins {
    position: absolute;
    inset: 0;
}

.ys-gmap-pin {
    position: absolute;
    transform: translate(-50%, -90%);
    text-align: center;
    color: #EA4335;
    text-decoration: none !important;
    font-size: 22px;
    line-height: 1;
    z-index: 2;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.ys-gmap-pin span {
    display: block;
    font-size: 10px;
    color: #1f1f1f;
    background: #fff;
    border-radius: 8px;
    padding: 2px 6px;
    margin-top: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
}

.ys-gmap-pin.is-on {
    color: #1a73e8;
}

.ys-gmap-zoom {
    position: absolute;
    left: 10px;
    bottom: 28px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.ys-gmap-zoom a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.ys-gmap-copy {
    position: absolute;
    right: 10px;
    bottom: 8px;
    z-index: 3;
    font-size: 9px;
    background: rgba(255, 255, 255, 0.85);
    padding: 2px 6px;
    border-radius: 6px;
    color: #555;
}

.ys-icon-actions {
    display: flex;
    gap: 6px;
}

.ys-icon-actions a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.ys-review {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.theme-dark .ys-review {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.ys-chip {
    display: inline-block;
    background: rgba(74, 137, 220, 0.12);
    border-radius: 20px;
    padding: 3px 8px;
    margin: 2px 0 2px 4px;
    font-size: 11px;
}

.ys-chip.is-bad {
    background: rgba(237, 85, 101, 0.12);
}

.ys-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.theme-dark .ys-meta-row {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.ys-people-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 6px;
}

.ys-card-head {
    padding-left: 0;
}

.ys-card-head .ys-tip-wrap {
    flex: 0 0 28px;
    margin-left: 0;
    margin-right: auto;
    order: 2;
}

.ys-card-head h4,
.ys-card-head h5,
.ys-card-head p {
    order: 1;
}

.ys-tip-wrap {
    position: relative;
    flex: 0 0 28px;
}

.ys-tip-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1.5px solid #4A89DC;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 137, 220, 0.1);
    color: inherit !important;
    font-size: 12px;
    font-weight: 800;
}

.ys-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 8px;
    user-select: none;
}

.ys-check input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.ys-check-ui {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    border: 2px solid #4A89DC;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 0 rgba(74, 137, 220, 0.18);
}

.ys-check-ui i {
    font-size: 11px;
}

.ys-check input:checked + .ys-check-ui {
    background: #4A89DC;
    color: #fff;
    box-shadow: 0 4px 10px rgba(74, 137, 220, 0.35);
}

.theme-dark .ys-check-ui {
    background: #2a2d33;
}

.ys-check-txt {
    flex: 1 1 auto;
    min-width: 0;
}

.ys-ico {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    flex: 0 0 32px;
}

.ys-fix-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ys-fix-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.ys-fix-actions {
    flex: 0 0 108px;
    width: 108px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
}

.ys-profile-actions {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    margin-top: 14px;
}

.ys-profile-actions a {
    flex: none;
    min-width: 0;
    text-align: center;
    text-decoration: none;
}

.ys-profile-actions .icon {
    width: 38px;
    height: 38px;
    font-size: 14px;
    margin: 0 auto 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ys-profile-actions p {
    font-size: 9px !important;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ys-faces-reel {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    overflow: hidden;
    padding: 6px 2px 10px;
}

.ys-face-card {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    text-decoration: none !important;
    color: inherit !important;
    animation: ys-face-hop 7.5s ease-in-out infinite;
}

.ys-face-card:nth-child(2) { animation-delay: 0.6s; }
.ys-face-card:nth-child(3) { animation-delay: 1.2s; }
.ys-face-card:nth-child(4) { animation-delay: 1.8s; }
.ys-face-card:nth-child(5) { animation-delay: 2.4s; }

.ys-face-card img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

@keyframes ys-face-hop {
    0%, 12%, 100% { transform: translateY(0) scale(1); }
    6% { transform: translateY(-12px) scale(1.08); }
}

.ys-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    overflow: hidden;
}

.theme-dark .ys-bar {
    background: rgba(255, 255, 255, 0.1);
}

.ys-bar > span {
    display: block;
    height: 100%;
    background: #4A89DC;
    border-radius: 20px;
}

.ys-mon-row {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.theme-dark .ys-mon-row {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.ys-result-wrap {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 420px;
}

.ys-excel-wrap {
    max-height: 300px;
    overflow: auto;
    display: block;
}

.ys-result-freeze-head {
    flex: 0 0 auto;
    overflow: hidden;
    background: #eef3f8;
    z-index: 6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.theme-dark .ys-result-freeze-head {
    background: #25282e;
}

.ys-result-freeze-head table,
.ys-result-freeze-body table {
    margin: 0;
    border: 0 !important;
}

.ys-result-freeze-body {
    flex: 1 1 auto;
    overflow: auto;
    min-height: 120px;
    margin-top: -1px;
    scrollbar-gutter: stable;
}

.ys-result-table {
    width: max-content;
    min-width: 2598px;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 11px;
    table-layout: fixed;
    border: 0 !important;
}

.ys-col-name {
    width: 150px;
}

.ys-col-day {
    width: 72px;
}

.ys-result-table th,
.ys-result-table td {
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 5px 4px;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    background: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
}

.theme-dark .ys-result-table th,
.theme-dark .ys-result-table td {
    border-color: rgba(255, 255, 255, 0.08);
    background: #1f2227;
}

.ys-result-table thead th {
    background: #eef3f8;
}

.ys-result-table thead tr:nth-child(2) th {
    background: #f7fafc;
}

.ys-result-table th:first-child,
.ys-result-table td:first-child {
    position: sticky;
    right: 0;
    z-index: 3;
    background: #fff;
    text-align: right;
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}

.ys-result-freeze-head th:first-child {
    z-index: 7;
    background: #e8eef5;
}

.theme-dark .ys-result-table th:first-child,
.theme-dark .ys-result-table td:first-child,
.theme-dark .ys-result-table thead th {
    background: #1f2227;
}

#menu-program-result .ys-sheet-scroll {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: none;
    flex: 1 1 auto;
}

#menu-program-result #program-result {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#menu-program-result #program-result > p {
    flex: 0 0 auto;
}

#menu-program-result .ys-result-wrap {
    flex: 1 1 auto;
    max-height: none;
    min-height: 0;
}

.ys-result-table td.is-changed {
    background: #ED5565;
    color: #fff;
    font-weight: 800;
}

.ys-name-ghost {
    text-decoration: line-through;
    opacity: 0.45;
}

.ys-name-tools {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.ys-name-tools a {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.06);
    color: inherit;
}

.theme-dark .ys-name-tools a {
    background: rgba(255, 255, 255, 0.08);
}

.ys-pick-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.ys-pick-day {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.04);
    padding: 6px 4px 8px;
    text-align: center;
}

.theme-dark .ys-pick-day {
    background: rgba(255, 255, 255, 0.05);
}

.ys-pick-day b {
    display: block;
    font-size: 12px;
}

.ys-pick-day small {
    display: block;
    font-size: 9px;
    opacity: 0.6;
    margin-bottom: 4px;
}

.ys-pick {
    display: block;
    width: 100%;
    margin-top: 3px;
    border: 0;
    border-radius: 7px;
    background: #fff;
    color: #556;
    font-size: 10px;
    font-weight: 800;
    line-height: 24px;
    padding: 0;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.theme-dark .ys-pick {
    background: #2a2d33;
    color: #ddd;
}

.ys-pick.is-green { background: #8CC152; color: #fff; }
.ys-pick.is-yellow { background: #FFCE54; color: #5a4708; }
.ys-pick.is-red { background: #ED5565; color: #fff; }
.ys-pick.is-purple { background: #AC92EC; color: #fff; }

.ys-top-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 20;
    background: #fff;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    padding: 16px 16px 12px;
    max-height: 52%;
    overflow: auto;
}

.theme-dark .ys-top-panel {
    background: #1f2227;
}

.ys-gmap-world {
    width: 1000px;
    height: 520px;
}

.ys-gmap-svg {
    width: 1000px;
    height: 520px;
}

.ys-gmap-pin.is-cube {
    color: #4A89DC;
    transform: translate(-50%, -70%);
}

.ys-cube {
    width: 18px;
    height: 18px;
    margin: 0 auto 4px;
    background: #4A89DC;
    transform: rotate(45deg);
    box-shadow: 4px 4px 0 #234e86;
    border: 2px solid #7eb3f5;
    border-radius: 3px;
}

.ys-gmap-pin.is-person {
    color: #DA4453;
}

.ys-conflict td.is-warn {
    color: #DA4453;
    font-weight: 700;
}

.ys-conflict td.is-ok {
    color: #8CC152;
}

.ys-review-tools {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

#prog-wizard input,
#prog-wizard select,
#prog-wizard textarea {
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.ys-gmap-google .ys-gmap-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.ys-gmap-google .ys-gmap-bar,
.ys-gmap-google .ys-gmap-copy,
.ys-gmap-google .ys-gmap-zoom {
    display: none !important;
}

.ys-kind-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

#menu-ai-shift .ys-kind-row {
    grid-template-columns: 1fr;
}

.ys-kind-card {
    margin: 0;
    cursor: pointer;
}

.ys-kind-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ys-kind-card span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 86px;
    padding: 12px 8px;
    border-radius: 16px;
    text-align: center;
    background: rgba(74, 137, 220, 0.08);
    box-shadow: inset 0 0 0 1px rgba(74, 137, 220, 0.18);
    font-size: 12px;
    font-weight: 700;
}

.ys-kind-card span i {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #4A89DC;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ys-kind-card input:checked + span {
    background: rgba(74, 137, 220, 0.18);
    box-shadow: inset 0 0 0 2px #4A89DC, 0 8px 18px rgba(74, 137, 220, 0.18);
}

.ys-room-picks .ys-pick-person {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.04);
    margin-bottom: 8px;
}

.theme-dark .ys-room-picks .ys-pick-person {
    background: rgba(255, 255, 255, 0.05);
}

.ys-room-picks .ys-check {
    flex: 1 1 auto;
    margin: 0;
}

.ys-ai-notes p {
    font-size: 12px;
    margin-bottom: 6px;
    padding-right: 10px;
    border-right: 3px solid #4A89DC;
}

.ys-ai-save {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.04);
    margin-bottom: 8px;
}

.ys-ai-save.is-on {
    background: rgba(74, 137, 220, 0.16);
    box-shadow: inset 0 0 0 1px #4A89DC;
}

.theme-dark .ys-ai-save {
    background: rgba(255, 255, 255, 0.05);
}

.ys-gmap-legend {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1200;
    display: flex;
    gap: 10px;
    background: #fff;
    border-radius: 12px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
    pointer-events: none;
}

.ys-gmap-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ys-gmap-legend .is-cube i {
    width: 12px;
    height: 12px;
    background: #4A89DC;
    transform: rotate(45deg);
    display: inline-block;
    border: 1px solid #fff;
    box-shadow: 2px 2px 0 #234e86;
}

.ys-gmap-legend .is-person {
    color: #ED5565;
}

.ys-gmap-live .leaflet-control-zoom {
    border: 0 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14) !important;
    margin-left: 10px !important;
    margin-bottom: 12px !important;
}

.ys-gmap-live .leaflet-control-zoom a {
    width: 34px !important;
    height: 34px !important;
    line-height: 34px !important;
    color: #333 !important;
}

.ys-gmap-live .leaflet-bottom,
.ys-gmap-live .leaflet-top {
    z-index: 1100;
}

.ys-gmap-live .leaflet-container {
    width: 100%;
    height: 100%;
    background: #dbe4ee;
    font-family: Vazirmatn, Tahoma, sans-serif;
}

.ys-gmap-live .leaflet-control-attribution,
.ys-gmap-live a[href*="google"],
.ys-gmap-live a[href*="maps"] {
    pointer-events: none;
}

.header .header-title.ys-wordmark {
    font-family: Vazirmatn, Tahoma, sans-serif !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px;
    line-height: 55px;
}

.ys-brand-logo-lg {
    display: block;
    width: 64px;
    height: auto;
    margin: 0 auto 8px;
}

.ys-auth-logo {
    display: block;
    width: 96px;
    height: auto;
    margin: 4px auto 14px;
}

#login-form button.btn,
#signup-form button.btn,
#forgot-form button.btn {
    width: 100%;
    display: block;
}
