@import url(https://fonts.googleapis.com/css?family=Nunito+Sans:200,300,regular,500,600,700,800,900,200italic,300italic,italic,500italic,600italic,700italic,800italic,900italic);
:root {
    --ink: #10221b;
    --muted: #6f7d75;
    --paper: #f6f8f3;
    --panel: #ffffff;
    --line: #e4ebe4;
    --accent: #c8f26b;
    --accent-dark: #547b23;
    --coral: #f48771;
    --blue: #71baff;
    --shadow: 0 18px 55px rgba(38, 63, 48, 0.08);
    --font-family: "Nunito Sans", sans-serif;
    color: var(--ink);
    background: var(--paper);
}
* {
    box-sizing: border-box;
    font-family: var(--font-family);
    outline: none;
}
body {
    margin: 0;
    min-width: 320px;
    background: linear-gradient(135deg,#deecc6, var(--paper));
    background-size: cover;
    user-select: none;
}
button {
    font: inherit;
    cursor: pointer;
}
.app-shell {
    max-width: 1440px;
    margin: auto;
    padding: 0 44px 32px;
}
.topbar {
    min-height: 82px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(16, 34, 27, .08);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .02em;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--ink);
    background: var(--accent);
    border-radius: 14px 14px 14px 4px;
    transition: box-shadow 0.18s ease;
    
}
.brand:hover{text-shadow: 0 0 20px #0004;}
.brand:hover .brand-mark{box-shadow: -4px 4px 14px #0003;}

.brand-mark svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.topbar-actions, .week-navigation, .legend {
    display: flex;
    align-items: center;
    gap: 10px;
}
.icon-button, .share-button, .week-label, .round-button {
    border: 0;
    border-radius: 10px;
    transition: background .18s ease, color .18s ease, filter .18s ease;
}
.icon-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    background: transparent;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
}
.icon-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.icon-button:hover, .week-label:hover {
    background: #ccc5;
}
.share-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    color: var(--ink);
    background: var(--accent);
    font-weight: 800;
    font-size: 13px;
}
.share-button:hover {
    filter: brightness(0.95);
}
.share-button svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}
.intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    padding: 57px 0 36px;
}
.eyebrow {
    margin: 0 0 13px;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 11px;
    font-weight: 800;
}
h1 {
    margin: 0;
    font-size: clamp(32px, 4vw, 58px);
    line-height: .98;
    letter-spacing: -.05em;
    font-weight: 800;
}
.subtitle {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 15px;
}
.week-navigation {
    padding-bottom: 5px;
}
.round-button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--ink);
    background: var(--panel);
    border: 1px solid var(--line);
}
.round-button:hover {
    background: #e7eee5;
}
.round-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.week-label {
    padding: 9px 14px;
    color: var(--ink);
    background: transparent;
    font-weight: 800;
    font-size: 13px;
}
.calendar-panel {
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 7px;
    box-shadow: var(--shadow);
}
.calendar-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 58px;
    padding: 0 20px;
    border-bottom: 1px solid var(--line);
}
.legend {
    gap: 18px;
    color: var(--muted);
    font-size: 12px;
}
.legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.legend-dot.green {
    background: var(--accent-dark);
}
.legend-dot.coral {
    background: var(--coral);
}
.legend-dot.blue {
    background: var(--blue);
}
.timezone {
    color: var(--muted);
    font-size: 11px;
}
.calendar-status {
    min-height: 0;
    padding: 0 20px;
    color: var(--coral);
    font-size: 13px;
}
.calendar-scroll {
    overflow-x: auto;
}
.week-grid {
    display: grid;
    grid-template-columns: 65px repeat(7, minmax(125px, 1fr));
    min-width: 1010px;
}
.corner, .day-header {
    height: 67px;
    border-bottom: 1px solid var(--line);
}
.corner {
    border-right: 1px solid var(--line);
}
.day-header {
    padding: 14px 12px 10px;
    border-right: 1px solid var(--line);
}
.day-header:last-child {
    border-right: 0;
}
.day-header.is-today {
    background: #f4f9e9;
}
.day-name {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.day-number {
    display: block;
    margin-top: 4px;
    font-size: 20px;
    font-weight: 800;
}
.day-header.is-today .day-number {
    color: var(--accent-dark);
}
.time-column {
    position: relative;
    height: 780px;
    border-right: 1px solid var(--line);
}
.time-label {
    height: 60px;
    padding: 8px 9px 0 0;
    color: #94a099;
    text-align: right;
    font-size: 10px;
}
.day-column {
    position: relative;
    height: 780px;
    border-right: 1px solid var(--line);
    background-image: linear-gradient(to bottom, transparent 59px, var(--line) 60px);
    background-size: 100% 60px;
}
.day-column:last-child {
    border-right: 0;
}
.day-column.is-today {
    background-color: rgba(244, 249, 233, .38);
}
.event {
    position: absolute;
    left: 7px;
    right: 7px;
    min-height: 48px;
    overflow: hidden;
    padding: 9px 10px;
    border-left: 3px solid var(--accent-dark);
    border-radius: 4px;
    color: var(--ink);
    background: #e8f5cb;
    font-size: 11px;
    line-height: 1.3;
}
.event.coral {
    border-color: #c95643;
    background: #ffe1d9;
}
.event.blue {
    border-color: #3d79ad;
    background: #dbeeff;
}

.event-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.2;
}

.event-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(135deg, transparent 20%, white);
    -webkit-mask-image: linear-gradient(135deg, transparent 20%, white);
}
.event-content {
    position: relative;
    z-index: 1;
}
.event-title {
    display: block;
    font-weight: 800;
    font-size: 12px;
}
.event-meta {
    display: block;
    margin-top: 4px;
    color: #597166;
    font-size: 10px;
}
.footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 2px 0;
    color: var(--muted);
    font-size: 11px;
}
.toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    padding: 12px 16px;
    color: white;
    background: var(--ink);
    border-radius: 6px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    font-size: 13px;
}
.toast.visible {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 700px) {
    .app-shell {
        padding: 0 16px 24px;
    }
    .topbar {
        min-height: 70px;
    }
    .icon-button {
        display: none;
    }
    .share-button {
        padding: 10px 12px;
    }
    .intro {
        display: block;
        padding: 38px 0 26px;
    }
    .week-navigation {
        justify-content: flex-start;
        margin-top: 27px;
    }
    .calendar-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 16px 15px;
    }
    .legend {
        flex-wrap: wrap;
        gap: 9px 14px;
    }
    .timezone {
        padding-bottom: 1px;
    }
    .footer {
        flex-direction: column;
        gap: 7px;
    }
}