.time-picker select
{
    appearance: none;
    width: 110px;
    padding: 12px 14px;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    border-radius: 14px;
    border: 1px solid color-mix(in oklab, var(--fg-custom) 14%, transparent);
    background: linear-gradient(180deg,
    color-mix(in oklab, var(--bg-custom) 96%, transparent),
    color-mix(in oklab, var(--bg-custom) 90%, transparent));
    box-shadow: 0 8px 18px color-mix(in oklab, var(--accent-custom) 18%, transparent);
}

.time-picker select:focus
{
    outline: none;
    border-color: var(--accent-custom);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent-custom) 25%, transparent);
}

.time-picker .colon
{
    font-size: 22px;
    font-weight: 800;
    opacity: .6;
    user-select: none;
}

.schedule-mode
{
    display: flex;
    gap: 8px;
    margin: 6px 0 8px;
}

.schedule-mode__btn
{
    border: 1px solid color-mix(in oklab, var(--fg-custom) 18%, transparent);
    border-radius: 999px;
    background: color-mix(in oklab, var(--bg-custom) 96%, transparent);
    color: color-mix(in oklab, var(--fg-custom) 90%, transparent);
    font-size: 13px;
    line-height: 1;
    padding: 9px 12px;
    cursor: pointer;
}

.schedule-mode__btn--active
{
    border-color: color-mix(in oklab, var(--accent-custom) 50%, transparent);
    background: color-mix(in oklab, var(--accent-custom) 12%, var(--bg-custom));
}

.time-picker {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.time-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-label {
    font-size: 15px;
    font-weight: 400;
    width: 120px;
    opacity: .8;
    user-select: none;
}

.time-row--day {
    gap: 12px;
}

.time-row--day select {
    width: 180px;
    text-align: left;
    padding-left: 18px;
}

.time-row--day .time-label {
    width: 120px;
}

.chat-mode
{
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-mode select
{
    appearance: none;
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid color-mix(in oklab, var(--fg-custom) 12%, transparent);
    background: linear-gradient(180deg,
    color-mix(in oklab, var(--bg-custom) 96%, transparent),
    color-mix(in oklab, var(--bg-custom) 90%, transparent));
    font-size: 15px;
    font-weight: 400;
}

.chat-mode select:focus
{
    outline: none;
    border-color: var(--accent-custom);
    box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent-custom) 20%, transparent);
}

.chat-mode__hint
{
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid color-mix(in oklab, var(--accent-custom) 35%, transparent);
    background: color-mix(in oklab, var(--accent-custom) 10%, var(--bg-custom));
    font-size: 13px;
    line-height: 1.5;
    color: color-mix(in oklab, var(--fg-custom) 92%, transparent);
    font-weight: 500;
}

.topic-link__quick
{
    margin-top: 8px;
    border: 1px solid color-mix(in oklab, var(--accent-custom) 45%, transparent);
    border-radius: 999px;
    background: color-mix(in oklab, var(--accent-custom) 10%, var(--bg-custom));
    color: color-mix(in oklab, var(--fg-custom) 92%, transparent);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    padding: 9px 14px;
    cursor: pointer;
}

.topic-link__quick:hover,
.topic-link__quick:focus
{
    border-color: var(--accent-custom);
    background: color-mix(in oklab, var(--accent-custom) 16%, var(--bg-custom));
}

.form-note
{
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1.4;
    color: color-mix(in oklab, var(--fg-custom) 60%, transparent);
}

.image-uploader
{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 12px 0 20px;
}

.image-uploader__preview
{
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(244, 247, 251, 0.9), rgba(232, 239, 252, 0.9));
    box-shadow: 0 12px 32px rgba(42, 130, 228, 0.18);
}

.image-uploader__preview img
{
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: cover;
}

.image-uploader__remove
{
    align-self: flex-start;
    border: none;
    background: none;
    color: var(--accent-custom);
    font-weight: 400;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    margin: 8px 12px 12px;
}

.image-uploader__remove:hover,
.image-uploader__remove:focus
{
    text-decoration: underline;
}

.image-uploader__placeholder
{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    border-radius: 18px;
    border: 1px dashed color-mix(in oklab, var(--fg-custom) 20%, transparent);
    background: color-mix(in oklab, var(--bg-custom) 96%, transparent);
    color: color-mix(in oklab, var(--fg-custom) 70%, transparent);
    font-size: 14px;
    text-align: center;
    padding: 24px;
}

.image-uploader__controls
{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.image-uploader__pick
{
    border: none;
    border-radius: 999px;
    background: var(--accent-custom);
    color: #ffffff;
    font-weight: 400;
    font-size: 14px;
    padding: 10px 20px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(42, 130, 228, 0.25);
}

.image-uploader__pick:hover
{
    box-shadow: 0 14px 32px rgba(42, 130, 228, 0.3);
}

.image-uploader__hint
{
    font-size: 12px;
    color: color-mix(in oklab, var(--fg-custom) 60%, transparent);
}

.image-uploader__input
{
    display: none;
}

.status-location
{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.status-location__actions
{
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.status-location__btn
{
    border: 1px solid color-mix(in oklab, var(--accent-custom) 45%, transparent);
    border-radius: 999px;
    background: color-mix(in oklab, var(--accent-custom) 10%, var(--bg-custom));
    color: color-mix(in oklab, var(--fg-custom) 92%, transparent);
    font-size: 12px;
    line-height: 1;
    padding: 8px 12px;
    cursor: pointer;
}

.status-location__btn--ghost
{
    border-color: color-mix(in oklab, var(--fg-custom) 24%, transparent);
    background: color-mix(in oklab, var(--bg-custom) 96%, transparent);
}

.status-location__hint
{
    font-size: 12px;
    color: color-mix(in oklab, var(--fg-custom) 60%, transparent);
}

.status-location__suggestions
{
    display: flex;
    flex-direction: column;
    border: 1px solid color-mix(in oklab, var(--fg-custom) 14%, transparent);
    border-radius: 12px;
    overflow: hidden;
    background: color-mix(in oklab, var(--bg-custom) 96%, transparent);
}

.status-location__suggestion
{
    border: 0;
    border-bottom: 1px solid color-mix(in oklab, var(--fg-custom) 10%, transparent);
    background: transparent;
    text-align: left;
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: inherit;
}

.status-location__suggestion:last-child
{
    border-bottom: 0;
}

.status-location__suggestion strong
{
    font-size: 13px;
    font-weight: 500;
}

.status-location__suggestion span
{
    font-size: 12px;
    color: color-mix(in oklab, var(--fg-custom) 66%, transparent);
}

.status-location__map-wrap
{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.status-location__map-toolbar
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.status-location__map-hint
{
    font-size: 12px;
    color: color-mix(in oklab, var(--fg-custom) 60%, transparent);
}

.status-location__map
{
    width: 100%;
    height: 320px;
    border-radius: 12px;
    border: 1px solid color-mix(in oklab, var(--fg-custom) 14%, transparent);
    overflow: hidden;
}

.status-location__map .leaflet-control-zoom a
{
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    font-size: 28px !important;
}

.status-location__map .leaflet-control-attribution
{
    font-size: 12px !important;
    padding: 3px 7px !important;
}

.status-location__map-wrap--expanded
{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1200;
    background: color-mix(in oklab, var(--bg-custom) 94%, black 6%);
    padding: 12px;
    gap: 10px;
}

.status-location__map-wrap--expanded .status-location__map
{
    flex: 1;
    height: auto;
    min-height: 280px;
}

.status-location__map-wrap--expanded .leaflet-control-zoom a
{
    width: 52px !important;
    height: 52px !important;
    line-height: 52px !important;
    font-size: 34px !important;
}

.status-location__map-wrap--expanded .leaflet-control-attribution
{
    font-size: 13px !important;
    padding: 4px 9px !important;
}

@media (min-width: 900px)
{
    .status-location__map-wrap--expanded
    {
        top: 5vh;
        bottom: 5vh;
        left: 6vw;
        right: 6vw;
        border-radius: 14px;
        border: 1px solid color-mix(in oklab, var(--fg-custom) 14%, transparent);
        box-shadow: 0 24px 60px color-mix(in oklab, var(--fg-custom) 24%, transparent);
    }
}
