/*
  MIT License Notice for timezone-boundary-builder
  This page uses timezone lookup data/functionality derived from:
  https://github.com/evansiroky/timezone-boundary-builder
  
  Copyright (c) Evan Siroky
  
  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:
  
  The above copyright notice and this permission notice shall be included in all
  copies or substantial portions of the Software.
  
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.
*/

:root {
    --ink: #101820;
    --muted: #52606d;
    --line: #cccccc;
    --soft: #e8edf2;
    --panel: #f8fafc;
    --brand: #006d77;
    --brand-deep: #003f46;
    --accent: #9acd32;
    --success: #0f766e;
    --danger: #b91c1c;
    --warning: #c2410c;
    --shadow: 0 18px 38px rgba(16, 24, 32, .10);
    --radius: 0px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: var(--ink);
    line-height: 1.6
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select {
    font: inherit
}

.site-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #ffffff;
    border-bottom: 1px solid var(--line)
}

.nav-shell {
    width: min(1000px, calc(100% - 36px));
    margin: 0 auto;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--brand-deep)
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 0px;
    background: var(--brand);
    display: grid;
    place-items: center;
    color: #fff
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px
}

.nav-link,
.dropdown-toggle {
    border: 0;
    background: transparent;
    padding: 9px 11px;
    color: #263536;
    font-size: .94rem;
    border-radius: 0px;
    cursor: pointer
}

.nav-link:hover,
.dropdown-toggle:hover {
    background: #d8f3f0;
    color: var(--brand-deep)
}

.dropdown-menu {
    position: absolute;
    display: none;
    min-width: 210px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: none;
    border-radius: 0px;
    padding: 8px;
    margin-top: 6px;
    z-index: 1050
}

.dropdown {
    position: relative
}

.dropdown.show .dropdown-menu {
    display: block
}

.dropdown-item {
    display: block;
    padding: 9px 10px;
    border-radius: 0px;
    color: #263536;
    font-size: .92rem
}

.dropdown-item:hover {
    background: #eef4f8
}

.menu-btn {
    display: none;
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--ink);
    width: 42px;
    height: 40px;
    border-radius: 0px;
}

.offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 88vw;
    height: 100vh;
    background: #ffffff;
    z-index: 1080;
    transform: translateX(105%);
    transition: transform .25s ease;
    border-left: 1px solid var(--line);
    padding: 18px;
    box-shadow: none;
}

.offcanvas.show {
    transform: translateX(0)
}

.offcanvas-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(31, 41, 51, .42);
    z-index: 1070
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px
}

.close-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    background: #ffffff;
    border-radius: 0px;
}

.mobile-menu a,
.mobile-menu button {
    width: 100%;
    display: block;
    text-align: left;
    border: 0;
    background: #ffffff;
    padding: 11px 6px;
    color: #263536
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 0;
}

.mobile-menu a:hover,
.mobile-menu button:hover {
    background: #d8f3f0;
    color: #003f46;
}

.mobile-group {
    border-top: 1px solid var(--line);
    padding-top: 8px;
    margin-top: 8px
}

.mobile-group button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #eeeeee;
}

.mobile-group button[aria-expanded="true"] i {
    transform: rotate(180deg);
}

main {
    flex: 1
}

.section {
    padding: 20px 18px
}

.container {
    max-width: 1000px;
    margin: 0 auto
}

.tool-panel {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border: none;
    box-shadow: none;
}

.webpage-top {
    max-width: 1000px;
    margin: 20px auto 0 auto;
    background: #ffffff;
    border: none;
    box-shadow: none;
    margin-bottom: 20px;
}

.tool-head {
    padding: 0px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.head-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap
}

.format-switch {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    border: none;
    border-radius: 0px;
    padding: 0px;
    color: var(--brand-deep);
    font-weight: 800;
    cursor: pointer;
    user-select: none
}

.format-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.format-switch input:checked+.switch-track {
    background: var(--brand);
    border-color: var(--brand)
}

.format-switch input:checked+.switch-track .switch-thumb {
    transform: translateX(24px)
}

.switch-track {
    width: 52px;
    height: 28px;
    border-radius: 100px;
    background: #d5e2dc;
    border: 1px solid #a9b4bf;
    padding: 3px;
    transition: background .2s ease, border-color .2s ease
}

.switch-thumb {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 100px;
    background: #ffffff;
    box-shadow: none;
    transition: transform .2s ease
}



.switch-text {
    min-width: 54px;
    font-size: .86rem
}

.hidden-control {
    display: none !important
}

h1 {
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    font-weight: 700;
    line-height: 1.12;
    margin: 0;
    color: var(--brand-deep);
    letter-spacing: -.04em
}

.tool-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15em;
    min-width: 1.15em;
    margin-right: 7px;
    color: var(--brand);
}

.tool-title-icon {
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    margin-right: 10px;
    color: var(--brand-deep);
    vertical-align: middle;
}

.tool-body {
    padding: 0px 0px;
    display: block
}

.control-area {
    display: grid;
    gap: 18px
}

.tool-actions {
    margin-top: 18px
}

.selected-area,
.saved-area {
    margin-top: 18px
}

.smooth-box {
    background: transparent;
    border: none;
    border-radius: 0px;
    padding: 0px;
}

.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

label {
    display: block;
    font-weight: 700;
    font-size: .88rem;
    color: #263536;
    margin-bottom: 6px
}

.field,
.select-field {
    width: 100%;
    height: 43px;
    border: none;
    border-radius: 0px;
    background: #eeeeee;
    color: var(--ink);
    padding: 0 12px;
    outline: none;
    font-weight: 700
}

.field:focus,
.select-field:focus {
    box-shadow: 0px 0px 4px 0px #aaaaaa;
}

.search-open .field {
    box-shadow: 0px 0px 4px 0px #aaaaaa;
}

.search-row {
    display: block
}

.search-row .grow {
    position: relative;
    width: 100%
}

.btn {
    border: 0;
    border-radius: 10px;
    height: 43px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: .92rem;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease
}

.btn:active {
    transform: translateY(1px)
}

.tool-dropdown {
    position: relative;
    display: inline-flex;
}

.tool-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: none;
    z-index: 1060;
}

.tool-dropdown.show .tool-dropdown-menu {
    display: block;
}

.tool-dropdown-item {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 650;
    font-size: .9rem;
}

.tool-dropdown-item:hover {
    background: #d8f3f0;
    color: var(--brand-deep);
}

.btn-row .tool-dropdown .btn {
    width: auto;
}

.btn-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.results {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0px;
    z-index: 1040;
    background: #ffffff;
    border: 2px solid var(--brand);
    border-radius: 0px;
    box-shadow: none;
    overflow: hidden
}

.results.show {
    display: block
}

.search-helper {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: .88rem
}

.result-count {
    font-size: .82rem;
    color: var(--muted);
    font-weight: 800;
    margin: 0;
    padding: 10px 12px;
    background: #f1f5f8;
    border-bottom: 2px solid var(--line)
}

.result-list {
    max-height: 260px;
    overflow-y: auto
}

.place-option {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #e1d1bb;
    background: #ffffff;
    padding: 12px;
    text-align: left;
    cursor: pointer;
    color: #1f2f47
}

.place-option:last-child {
    border-bottom: 0
}

.place-option:hover,
.place-option:focus {
    background: #eef5f1;
    outline: none
}

.place-name {
    font-weight: 800;
    display: block;
    margin-bottom: 2px
}

.place-meta {
    font-size: .84rem;
    color: var(--muted)
}

.place-type {
    display: inline-flex;
    align-items: center;
    margin-top: 7px;
    padding: 2px 8px;
    border-radius: 0px;
    background: #d0ebe7;
    color: var(--brand-deep);
    font-size: .76rem;
    font-weight: 800
}


.drag-handle {
    display: none
}

.base-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #d0ebe7;
    color: var(--brand-deep);
    border-radius: 0px;
    padding: 2px 7px;
    font-size: .8rem;
    font-weight: 700
}

.base-btn {
    border: 1px solid #a9b4bf;
    background: #ffffff;
    color: var(--brand);
    border-radius: 0px;
    padding: 3px 9px;
    font-size: .78rem;
    font-weight: 700;
    font-size: .8rem;
    cursor: pointer
}

.base-btn:hover {
    background: #f0f6fa
}

.time-edit-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px
}

.time-edit-note {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: .9rem
}







.chosen-list {
    display: grid;
    gap: 0px;
    margin-top: 12px;
    border: 2px solid #000000;
}

.chosen-list.drag-active .list-time-card {
    cursor: grabbing
}

.list-time-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    background: #ffffff;
    border: 2px solid var(--line);
    border-radius: 0px;
    padding: 14px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.list-time-card:hover {
    border-color: #000000;
}

.list-time-card strong {
    display: block;
    color: var(--brand-deep);
    font-size: 1rem
}

.list-time-card small {
    color: var(--muted)
}

.list-time-card[draggable="true"] {
    cursor: grab;
}

.list-time-card.dragging {
    opacity: .55;
    border-color: var(--brand);
    background: #f4f9fc
}

.list-time-card.drag-over {
    border-color: var(--brand);
    transform: translateY(-2px);
    background: #eef5f1;
}

.list-location-title-row {
    display: flex;
    align-items: center;
    gap: 2px
}

.list-base-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px
}

.list-time-value {
    text-align: right;
    font-weight: 900;
    color: var(--brand-deep);
    font-size: 1.08rem
}

.list-time-range {
    display: block;
    font-weight: 900;
    color: var(--brand-deep);
    font-size: 1.08rem;
    line-height: 1.2;
}

.list-time-range-separator {
    display: inline-block;
    margin: 0 4px;
    color: var(--muted);
    font-weight: 800;
}

.list-range-duration {
    display: block;
    font-size: .72rem;
    color: var(--muted);
    font-weight: 700;
    margin-top: 2px;
}

.list-time-date {
    display: block;
    font-size: .78rem;
    color: #657184;
    font-weight: 600
}

.list-tiny-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    margin-top: 8px
}

.list-icon-btn {
    border: 0;
    background: #d7dee6;
    color: #263536;
    border-radius: 0px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 0.9rem
}

.list-icon-btn:hover {
    background: #d0ebe7;
}











.chosen-grid-1 {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    margin-top: 12px;
    border: 0 !important;
}

.chosen-grid-1.drag-active .grid-1-time-card {
    cursor: grabbing
}

.grid-1-time-card {
    width: min(100%, 360px);
    flex: 0 1 calc((100% - 32px) / 3);
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch;
    gap: 12px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 0px;
    padding: 16px;
    text-align: center;
    position: relative;
    overflow: visible;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease
}

.grid-1-time-card:hover {
    border-color: #000000;
}

.grid-1-time-card strong {
    display: block;
    color: var(--brand-deep);
    font-size: 1rem
}

.grid-1-time-card small {
    display: block;
    color: var(--muted);
}

.grid-1-time-card[draggable="true"] {
    cursor: grab
}

.grid-1-time-card.dragging {
    opacity: .55;
    border-color: var(--brand);
    background: #f4f9fc
}

.grid-1-time-card.drag-over {
    border-color: var(--brand);
    transform: translateY(-2px);
    background: #eef5f1;
}

.grid-1-location-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.grid-1-base-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px
}

.grid-1-time-value {
    text-align: center !important;
    display: block;
    font-weight: 900;
    color: var(--brand-deep);
    font-size: 1.08rem
}

.grid-1-time-date {
    display: block;
    font-size: .78rem;
    color: #657184;
    font-weight: 600
}

.analog-clock-wrap {
    display: flex;
    justify-content: center;
    margin: 8px 0 10px;
}

.analog-clock {
    --clock-size: clamp(190px, 21vw, 260px);
    position: relative;
    width: var(--clock-size);
    height: var(--clock-size);
    border: 3px solid #003f46;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #ffffff 0%, #ffffff 58%, #eef6f6 100%);
    box-shadow: inset 0 0 0 2px #b9c2cc, 0 14px 28px rgba(16, 24, 32, .10);
    margin: 0 auto;
}

.clock-number {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    display: grid;
    place-items: center;
    font-size: clamp(.78rem, 1.25vw, .95rem);
    font-weight: 800;
    color: #003f46;
    transform: rotate(var(--angle)) translate(calc((var(--clock-size) / 2) - 34px)) rotate(calc(-1 * var(--angle)));
}

.clock-tick {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2px;
    height: 8px;
    margin-left: -1px;
    margin-top: calc(-1 * ((var(--clock-size) / 2) - 12px));
    background: #80909e;
    transform-origin: 1px calc((var(--clock-size) / 2) - 12px);
    transform: rotate(var(--tick-angle));
}

.clock-tick.major {
    width: 3px;
    height: 12px;
    margin-left: -1.5px;
    margin-top: calc(-1 * ((var(--clock-size) / 2) - 15px));
    background: #003f46;
    transform-origin: 1.5px calc((var(--clock-size) / 2) - 15px);
}

.clock-hand {
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform-origin: bottom center;
    border-radius: 999px;
    transform: translateX(-50%) rotate(var(--rotate));
}

.hour-hand {
    width: 6px;
    height: 26%;
    background: #003f46;
}

.minute-hand {
    width: 4px;
    height: 34%;
    background: #006d77;
}

.second-hand {
    width: 2px;
    height: 38%;
    background: #b91c1c;
}

.clock-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #9acd32;
    border: 3px solid #003f46;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.grid-1-digital-time {
    display: block;
    font-weight: 900;
    color: var(--brand-deep);
    font-size: 1.16rem;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: .01em;
}

.grid-1-tiny-actions {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 0;
    z-index: 5;
    display: flex;
    justify-content: flex-end !important;
}

.grid-1-icon-btn {
    border: 0;
    background: #d7dee6;
    color: #263536;
    border-radius: 0px;
    width: 31px;
    height: 31px;
    cursor: pointer;
    font-size: 0.9rem
}
















.chosen-grid-2 {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    margin-top: 12px;
    border: 0 !important;
}

.chosen-grid-2.drag-active .grid-2-time-card {
    cursor: grabbing
}

.grid-2-time-card {
    width: min(100%, 360px);
    flex: 0 1 calc((100% - 32px) / 3);
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch;
    gap: 12px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 0px;
    padding: 16px;
    text-align: center;
    position: relative;
    overflow: visible;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease
}

.grid-2-time-card:hover {
    border-color: #000000;
}

.grid-2-time-card strong {
    display: block;
    color: var(--brand-deep);
    font-size: 1rem
}

.grid-2-time-card small {
    display: block;
    color: var(--muted);
}

.grid-2-time-card[draggable="true"] {
    cursor: grab
}

.grid-2-time-card.dragging {
    opacity: .55;
    border-color: var(--brand);
    background: #f4f9fc
}

.grid-2-time-card.drag-over {
    border-color: var(--brand);
    transform: translateY(-2px);
    background: #eef5f1;
}

.grid-2-location-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.grid-2-base-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px
}




.grid-2-digital-clock-display {
    display: grid;
    place-items: center;
    gap: 6px;
    padding: 18px 10px;
    border: 2px solid #003f46;
    background: #101820;
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 14px 28px rgba(16, 24, 32, .10);
}

.grid-2-digital-time {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: .04em;
    color: #9acd32;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.grid-2-time-date {
    display: block;
    color: #dce3e8;
    font-size: .86rem;
    font-weight: 700;
}



.grid-2-tiny-actions {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 0;
    z-index: 5;
    display: flex;
    justify-content: flex-end !important;
}

.grid-2-icon-btn {
    border: 0;
    background: #d7dee6;
    color: #263536;
    border-radius: 0px;
    width: 31px;
    height: 31px;
    cursor: pointer;
    font-size: 0.9rem
}










.page-wrap {
    max-width: 1000px;
    margin: 0 auto;
}

.page-panel {
    background: #ffffff;
    padding: 20px;
}

.page-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 26px;
}

.last-update {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
}

.content-block {
    margin-bottom: 28px;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2 {
    margin: 0 0 12px;
    color: var(--brand-deep);
    font-size: 1.15rem;
}

.content-block p,
.content-block li {
    color: #263536;
}

.content-block ul {
    padding-left: 20px;
}

.sitemap-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sitemap-card {
    border: 1px solid var(--line);
    background: #fff;
    padding: 16px;
}

.sitemap-card a {
    margin-bottom: 0px;
    font-weight: 700;
    color: var(--brand-deep);
}

.sitemap-card a:hover {
    text-decoration: underline;
}

.contact-box {
    border: 1px solid var(--line);
    background: #fff;
    padding: 18px;
    margin-top: 18px;
}

@media (max-width:768px) {
    .page-panel {
        padding: 20px;
    }
}











.summary-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    color: #46546a;
    font-size: .9rem
}

.pill {
    background: #d0ebe7;
    color: var(--brand-deep);
    border-radius: 0px;
    padding: 5px 9px;
    font-weight: 700
}

.side-column {
    display: block
}

.saved-empty {
    color: var(--muted);
    font-size: .92rem;
    margin: 8px 0 0
}






.toast {
    background: #101820;
    color: #ffffff;
}





.footer {
    background: #101820;
    color: #ffffff;
    margin-top: 24px
}

.footer-grid {
    width: min(1000px, calc(100% - 36px));
    margin: 0 auto;
    padding: 32px 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 22px
}

.footer h3 {
    font-size: 1rem;
    margin: 0 0 12px;
    color: #fff
}

.footer p,
.footer a {
    font-size: .92rem;
    color: #dce3e8
}

.footer a {
    display: block;
    margin: 8px 0
}

.footer a:hover {
    color: var(--accent);
}


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 14px 18px;
    text-align: center;
    color: #b9c2cc;
    font-size: .88rem
}

.toast-container {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1100;
    display: grid;
    gap: 10px
}

.toast {
    display: none;
    min-width: 260px;
    background: #003f46;
    color: #fff;
    border-radius: 0px;
    padding: 12px 14px;
    box-shadow: none;
}

.toast.show {
    display: block
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(31, 41, 51, .45)
}

.modal.show {
    display: flex
}

.modal-dialog {
    background: #ffffff;
    border-radius: 0px;
    max-width: 430px;
    width: 100%;
    padding: 0px;
    box-shadow: none;
}

.modal-body {
    padding: 20px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px
}


.blink-colon {
    animation: blinkClock 1s steps(1, end) infinite;
}

@keyframes blinkClock {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: .15;
    }
}




/* Custom high-contrast Lokaliti palette override: graphite, teal, lime, and red. */

.btn-soft {
    background: #d7dee6;
    color: #101820;
}

.btn-soft:hover {
    background: #c8d2dc;
}

.btn-ghost {
    background: #ffffff;
    color: var(--brand);
    border: 1px solid #a9b4bf
}

.btn-ghost:hover {
    background: #f0f6fa
}

.btn-calendar {
    background: #006d77;
    color: #ffffff;
    border: 1px solid #31572c;
}

.btn-calendar:hover {
    color: #ffffff;
    background: #003f46;
}

.btn-primary {
    background: #006d77;
    color: #ffffff;
    border-color: #006d77;
}

.btn-primary:hover {
    background: #003f46;
}

.toast,
.footer {
    background: #101820;
    color: #ffffff;
}

.footer p,
.footer a {
    color: #dce3e8;
}

.footer a:hover {
    color: #9acd32;
}

.btn-danger {
    background: #ffe1e1;
    color: #b91c1c;
}

.btn-danger:hover {
    background: #ffcccc;
}

.text-muted {
    color: var(--muted)
}

@media (max-width:920px) {
    .desktop-nav {
        display: none
    }

    .menu-btn {
        display: inline-grid;
        place-items: center
    }

    .grid-1-time-card,
    .grid-2-time-card {
        flex-basis: calc((100% - 16px) / 2);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .tool-head {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width:590px) {
    .nav-shell {
        width: calc(100% - 24px);
        padding: 10px 0
    }

    .section {
        padding: 22px 12px
    }

    .tool-head,
    .tool-body {
        padding: 0px 0px;
    }

    .input-grid {
        grid-template-columns: 1fr
    }

    .search-row {
        display: block
    }

    .btn {
        width: 100%
    }

    .tool-dropdown {
        width: 100%
    }

    .btn-row .tool-dropdown .btn {
        width: 100%
    }

    .tool-dropdown-menu {
        width: 100%
    }

    .list-time-card {
        grid-template-columns: 1fr
    }

    .list-time-value {
        text-align: left
    }

    .time-edit-form {
        grid-template-columns: 1fr
    }

    .grid-1-time-card,
    .grid-2-time-card {
        flex-basis: 100%;
        width: 100%;
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr width: calc(100% - 24px);
        padding-left: 0;
        padding-right: 0
    }

    .footer-bottom {
        padding-left: 12px;
        padding-right: 12px
    }

}









.info-section {
    margin-top: 40px;
    padding: 0 18px 20px;
}

.info-panel {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: none;
}

.info-section-title {
    font-size: clamp(1rem, 1.6vw, 1.6rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 20px;
    color: var(--brand-deep);
    letter-spacing: -.04em
}

.info-accordion {
    border: none;
}

.info-accordion-button {
    width: 100%;
    border: 0;
    background: #ffffff;
    color: var(--brand-deep);
    min-height: 56px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.info-accordion-button:hover {
    background: #c8f0ec;
}

.info-accordion-button:not(.collapsed) {
    background: #c8f0ec;
}

.info-accordion-button i {
    color: var(--brand);
}

.info-accordion-button .chev {
    transition: transform .2s ease;
}

.info-accordion-button[aria-expanded="true"] .chev {
    transform: rotate(180deg);
}

.info-accordion-body {
    padding: 20px;
    border-top: 1px solid var(--line);
    color: #263536;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-accordion-body p {
    margin: 0 0 12px;
}

.info-accordion-body p:last-child {
    margin-bottom: 0;
}

.faq-item {
    border: 1px solid var(--line);
}

.faq-question {
    width: 100%;
    border: 0;
    background: #ffffff;
    color: var(--ink);
    min-height: 52px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
    font-weight: 750;
    cursor: pointer;
}

.faq-question:hover {
    background: #eef6f6;
    color: var(--brand-deep);
}

.faq-question[aria-expanded="true"] {
    background: #eef6f6;
}

.faq-question .chev {
    color: var(--brand);
    transition: transform .2s ease;
}

.faq-question[aria-expanded="true"] .chev {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 18px 18px 18px;
    color: var(--muted);
    background: #ffffff;
}

@media (max-width: 640px) {
    .info-section {
        padding: 18px;
    }

    .info-accordion-button,
    .faq-question {
        padding: 18px;
    }

    .info-accordion-body,
    .faq-answer {
        padding: 18px;
    }
}