.kgt-app {
    --kgt-primary: #6F8F72;
    --kgt-secondary: #E8D9BE;
    --kgt-accent: #C97D55;
    --kgt-background: #FBF4E8;
    --kgt-paper: #FFFDF8;
    --kgt-ink: #26302D;
    --kgt-muted: #7F7468;
    --kgt-tile: #FFF9EE;
    --kgt-tile-weekend: #F2E6CE;
    --kgt-radius: 18px;
    color: var(--kgt-ink);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 32px auto;
    max-width: 1440px;
}

.kgt-app *,
.kgt-app *::before,
.kgt-app *::after {
    box-sizing: border-box;
}

.kgt-app button,
.kgt-app input,
.kgt-app select,
.kgt-app textarea {
    font: inherit;
}

.kgt-studio-header {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.74)),
        linear-gradient(135deg, var(--kgt-background), color-mix(in srgb, var(--kgt-primary) 9%, #fff));
    border: 1px solid rgba(38, 48, 45, 0.08);
    border-radius: 24px;
    box-shadow: 0 20px 56px rgba(38, 48, 45, 0.12);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: clamp(20px, 3vw, 32px);
}

.kgt-studio-header__copy {
    min-width: 0;
}

.kgt-studio-header h2 {
    color: var(--kgt-ink);
    font-size: clamp(2rem, 4.2vw, 4.2rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.96;
    margin: 0;
}

.kgt-studio-header p {
    color: var(--kgt-muted);
    font-size: clamp(0.96rem, 1.15vw, 1.1rem);
    font-weight: 650;
    line-height: 1.6;
    margin: 14px 0 0;
    max-width: 700px;
}

.kgt-studio-header__meta {
    background: var(--kgt-ink);
    border-radius: 18px;
    color: #fff;
    flex: 0 0 auto;
    min-width: 210px;
    padding: 18px;
}

.kgt-studio-header__meta span,
.kgt-studio-header__meta strong {
    display: block;
}

.kgt-studio-header__meta span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.74rem;
    font-weight: 900;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.kgt-studio-header__meta strong {
    font-size: 1.08rem;
    font-weight: 950;
}

.kgt-hero {
    align-items: flex-end;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.58)),
        linear-gradient(135deg, var(--kgt-background), rgba(255, 255, 255, 0.72));
    border: 1px solid rgba(38, 48, 45, 0.08);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(38, 48, 45, 0.13);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(24px, 4vw, 48px);
    position: relative;
}

.kgt-hero::after {
    background: linear-gradient(180deg, var(--kgt-primary), var(--kgt-accent));
    border-radius: 999px;
    content: "";
    height: 76%;
    opacity: 0.9;
    position: absolute;
    right: 22px;
    top: 12%;
    width: 9px;
}

.kgt-hero__copy {
    max-width: 760px;
}

.kgt-kicker {
    color: var(--kgt-primary);
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.kgt-hero h2 {
    color: var(--kgt-ink);
    font-size: clamp(2rem, 4.5vw, 4.6rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.96;
    margin: 0;
    max-width: 11ch;
}

.kgt-hero p {
    color: var(--kgt-muted);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    font-weight: 600;
    line-height: 1.75;
    margin: 22px 0 0;
    max-width: 680px;
}

.kgt-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-right: 24px;
}

.kgt-button,
.kgt-upload-button {
    align-items: center;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.92rem;
    font-weight: 850;
    gap: 8px;
    justify-content: center;
    min-height: 46px;
    padding: 12px 19px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.kgt-button:hover,
.kgt-upload-button:hover {
    box-shadow: 0 12px 30px rgba(38, 48, 45, 0.16);
    transform: translateY(-1px);
}

.kgt-button:disabled {
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.45;
    transform: none;
}

.kgt-button--primary {
    background: var(--kgt-ink);
    color: #fff;
}

.kgt-button--soft,
.kgt-upload-button {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 0 0 1px rgba(38, 48, 45, 0.1);
    color: var(--kgt-ink);
}

.kgt-notice {
    border-radius: 18px;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.55;
    margin: 0 0 14px;
    padding: 14px 18px;
}

.kgt-notice--soft {
    background: rgba(255, 255, 255, 0.72);
    color: var(--kgt-muted);
    box-shadow: inset 0 0 0 1px rgba(38, 48, 45, 0.08);
}

.kgt-guide-strip {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, 1fr);
    margin: 18px 0 18px;
}

.kgt-guide-strip div {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(38, 48, 45, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(38, 48, 45, 0.06);
    display: grid;
    gap: 4px;
    min-height: 86px;
    padding: 16px;
}

.kgt-guide-strip strong {
    color: var(--kgt-ink);
    font-size: 0.92rem;
    font-weight: 950;
}

.kgt-guide-strip span {
    color: var(--kgt-muted);
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.45;
}

.kgt-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(360px, 440px) minmax(0, 1fr);
}

.kgt-workbench,
.kgt-preview-shell {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(38, 48, 45, 0.08);
    border-radius: 26px;
    box-shadow: 0 22px 60px rgba(38, 48, 45, 0.11);
    min-width: 0;
}

.kgt-workbench {
    align-self: start;
    display: grid;
    gap: 16px;
    padding: 16px;
    position: sticky;
    top: 24px;
}

.kgt-steps {
    background: rgba(38, 48, 45, 0.05);
    border-radius: 18px;
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(4, 1fr);
    padding: 6px;
}

.kgt-step {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 14px;
    color: var(--kgt-muted);
    cursor: pointer;
    display: grid;
    font-size: 0.76rem;
    font-weight: 850;
    gap: 5px;
    justify-items: center;
    min-height: 62px;
    padding: 8px 6px;
}

.kgt-step span {
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    display: inline-flex;
    height: 25px;
    justify-content: center;
    width: 25px;
}

.kgt-step.is-active {
    background: var(--kgt-paper);
    color: var(--kgt-ink);
    box-shadow: 0 10px 24px rgba(38, 48, 45, 0.1);
}

.kgt-step.is-active span {
    background: var(--kgt-primary);
    color: #fff;
}

.kgt-panel {
    display: none;
}

.kgt-panel.is-active {
    animation: kgtFade 0.2s ease;
    display: grid;
    gap: 16px;
}

.kgt-panel__head h3 {
    font-size: 1.28rem;
    font-weight: 950;
    letter-spacing: 0;
    margin: 4px 0 5px;
}

.kgt-panel__head p {
    color: var(--kgt-muted);
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.55;
    margin: 0;
}

.kgt-panel-prompt {
    background: color-mix(in srgb, var(--kgt-primary) 10%, #fff);
    border: 1px solid color-mix(in srgb, var(--kgt-primary) 22%, transparent);
    border-radius: 18px;
    display: grid;
    gap: 5px;
    padding: 14px;
}

.kgt-panel-prompt strong {
    font-size: 0.92rem;
    font-weight: 950;
}

.kgt-panel-prompt span {
    color: var(--kgt-muted);
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.5;
}

.kgt-field {
    display: grid;
    gap: 8px;
}

.kgt-field span,
.kgt-image-control strong {
    color: var(--kgt-ink);
    font-size: 0.82rem;
    font-weight: 900;
}

.kgt-field input,
.kgt-field select,
.kgt-field textarea {
    background: #fff;
    border: 1px solid rgba(38, 48, 45, 0.12);
    border-radius: 15px;
    box-shadow: 0 8px 22px rgba(38, 48, 45, 0.05);
    color: var(--kgt-ink);
    min-height: 46px;
    outline: 0;
    padding: 12px 14px;
    width: 100%;
}

.kgt-field textarea {
    resize: vertical;
}

.kgt-field input:focus,
.kgt-field select:focus,
.kgt-field textarea:focus {
    border-color: var(--kgt-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--kgt-primary) 16%, transparent);
}

.kgt-field-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.kgt-toggle-list {
    display: grid;
    gap: 10px;
}

.kgt-toggle {
    align-items: center;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(38, 48, 45, 0.09);
    border-radius: 16px;
    color: var(--kgt-ink);
    display: flex;
    font-size: 0.9rem;
    font-weight: 760;
    gap: 12px;
    min-height: 48px;
    padding: 10px 12px;
}

.kgt-toggle input {
    accent-color: var(--kgt-primary);
    height: 18px;
    width: 18px;
}

.kgt-theme-list {
    display: grid;
    gap: 12px;
}

.kgt-theme-card {
    background: #fff;
    border: 1px solid rgba(38, 48, 45, 0.1);
    border-radius: 18px;
    color: var(--kgt-muted);
    cursor: pointer;
    display: grid;
    gap: 11px;
    line-height: 1.45;
    padding: 15px;
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.kgt-theme-card:hover {
    box-shadow: 0 16px 34px rgba(38, 48, 45, 0.12);
    transform: translateY(-1px);
}

.kgt-theme-card.is-selected {
    border-color: var(--kgt-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--kgt-primary) 14%, transparent);
}

.kgt-theme-card__top {
    align-items: center;
    color: var(--kgt-ink);
    display: flex;
    justify-content: space-between;
}

.kgt-theme-card__top strong {
    font-size: 1rem;
    font-weight: 950;
}

.kgt-theme-card__check {
    background: var(--kgt-primary);
    border-radius: 999px;
    color: #fff;
    display: none;
    font-size: 0.76rem;
    font-weight: 900;
    height: 23px;
    place-items: center;
    width: 23px;
}

.kgt-theme-card.is-selected .kgt-theme-card__check {
    display: grid;
}

.kgt-theme-card__swatches {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(4, 1fr);
}

.kgt-theme-card__swatches i {
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(38, 48, 45, 0.08);
    height: 12px;
}

.kgt-entry-form {
    background: color-mix(in srgb, var(--kgt-background) 72%, #fff);
    border: 1px solid rgba(38, 48, 45, 0.08);
    border-radius: 22px;
    display: grid;
    gap: 14px;
    padding: 14px;
}

.kgt-image-control {
    align-items: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px dashed rgba(38, 48, 45, 0.17);
    border-radius: 18px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 13px;
}

.kgt-image-control span {
    color: var(--kgt-muted);
    display: block;
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.45;
    margin-top: 4px;
}

.kgt-upload-button {
    flex: 0 0 auto;
    min-height: 40px;
}

.kgt-upload-button input,
.kgt-export-card input {
    display: none;
}

.kgt-entry-image-preview img {
    border-radius: 16px;
    display: block;
    height: 120px;
    object-fit: cover;
    width: 100%;
}

.kgt-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.kgt-entry-empty {
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(38, 48, 45, 0.08);
    border-radius: 18px;
    display: grid;
    gap: 5px;
    padding: 18px;
}

.kgt-entry-empty strong {
    font-weight: 950;
}

.kgt-entry-empty span {
    color: var(--kgt-muted);
    font-size: 0.9rem;
    font-weight: 650;
}

.kgt-entry-list {
    display: grid;
    gap: 10px;
}

.kgt-entry-item {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(38, 48, 45, 0.08);
    border-radius: 18px;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr auto;
    padding: 10px;
}

.kgt-entry-item.is-hidden {
    opacity: 0.52;
}

.kgt-entry-item__main {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: flex;
    gap: 10px;
    min-width: 0;
    padding: 0;
    text-align: left;
}

.kgt-entry-item__icon {
    align-items: center;
    border-radius: 12px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.9rem;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.kgt-entry-item strong,
.kgt-entry-item em {
    display: block;
}

.kgt-entry-item strong {
    color: var(--kgt-ink);
    font-size: 0.94rem;
    font-weight: 950;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kgt-entry-item em {
    color: var(--kgt-muted);
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 700;
}

.kgt-entry-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.kgt-entry-item__actions button {
    background: rgba(38, 48, 45, 0.05);
    border: 0;
    border-radius: 999px;
    color: var(--kgt-muted);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 850;
    padding: 8px 10px;
}

.kgt-export-grid {
    display: grid;
    gap: 12px;
}

.kgt-export-card {
    background: #fff;
    border: 1px solid rgba(38, 48, 45, 0.09);
    border-radius: 20px;
    color: var(--kgt-ink);
    cursor: pointer;
    display: grid;
    gap: 5px;
    padding: 18px;
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.kgt-export-card:hover {
    box-shadow: 0 16px 34px rgba(38, 48, 45, 0.12);
    transform: translateY(-1px);
}

.kgt-export-card strong {
    font-size: 1rem;
    font-weight: 950;
}

.kgt-export-card span {
    color: var(--kgt-muted);
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.45;
}

.kgt-export-card--primary {
    background: var(--kgt-ink);
    color: #fff;
}

.kgt-export-card--primary span {
    color: rgba(255, 255, 255, 0.72);
}

.kgt-status {
    border-radius: 16px;
    display: none;
    font-size: 0.88rem;
    font-weight: 850;
    line-height: 1.5;
    padding: 12px 14px;
}

.kgt-status:not(:empty) {
    display: block;
}

.kgt-status.is-good {
    background: color-mix(in srgb, var(--kgt-primary) 16%, #fff);
    color: var(--kgt-ink);
}

.kgt-status.is-error {
    background: #fff0ee;
    color: #9f3930;
}

.kgt-status.is-soft {
    background: rgba(255, 255, 255, 0.72);
    color: var(--kgt-muted);
}

.kgt-wizard-actions {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.kgt-wizard-actions .kgt-button--primary {
    flex: 1;
}

.kgt-preview-shell {
    overflow: hidden;
}

.kgt-preview-toolbar {
    align-items: center;
    background: rgba(255, 255, 255, 0.76);
    border-bottom: 1px solid rgba(38, 48, 45, 0.08);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px 18px;
}

.kgt-preview-toolbar__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.kgt-live-pill {
    background: color-mix(in srgb, var(--kgt-primary) 12%, #fff);
    border-radius: 999px;
    color: var(--kgt-primary) !important;
    display: inline-flex !important;
    font-size: 0.72rem !important;
    font-weight: 950 !important;
    min-height: 30px;
    padding: 7px 10px;
    text-transform: none !important;
}

.kgt-preview-toolbar span,
.kgt-preview-toolbar strong {
    display: block;
}

.kgt-preview-toolbar span {
    color: var(--kgt-muted);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.kgt-preview-toolbar strong {
    font-size: 1.1rem;
    font-weight: 950;
}

.kgt-preview-scroll {
    background:
        linear-gradient(45deg, rgba(38, 48, 45, 0.04) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(38, 48, 45, 0.04) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(38, 48, 45, 0.04) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(38, 48, 45, 0.04) 75%);
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
    background-size: 20px 20px;
    max-height: 980px;
    overflow: auto;
    padding: clamp(14px, 2vw, 26px);
}

.kgt-preview-pages {
    display: grid;
    gap: 28px;
    justify-items: center;
}

.kgt-a3-page {
    aspect-ratio: 297 / 420;
    background: var(--kgt-background);
    border-radius: 4px;
    box-shadow: 0 22px 56px rgba(38, 48, 45, 0.22);
    color: var(--kgt-ink);
    display: flex;
    flex-direction: column;
    max-width: 920px;
    overflow: hidden;
    padding: 4.8%;
    width: 100%;
}

.kgt-calendar-header {
    background: color-mix(in srgb, var(--kgt-paper) 92%, #fff);
    border: 1px solid color-mix(in srgb, var(--kgt-secondary) 76%, var(--kgt-ink));
    border-radius: var(--kgt-radius);
    min-height: 14.5%;
    padding: 3.2% 3.8%;
    position: relative;
}

.kgt-calendar-header::before {
    background: var(--kgt-primary);
    border-radius: 999px;
    bottom: 12%;
    content: "";
    left: 14px;
    position: absolute;
    top: 12%;
    width: 7px;
}

.kgt-calendar-brand {
    color: var(--kgt-primary);
    display: block;
    font-size: clamp(0.66rem, 1vw, 0.86rem);
    font-weight: 950;
}

.kgt-calendar-header h2 {
    font-size: clamp(1.6rem, 3.2vw, 3rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.98;
    margin: 9px 0 0;
    max-width: 16ch;
}

.kgt-calendar-header p {
    color: var(--kgt-muted);
    font-size: clamp(0.75rem, 1.2vw, 1rem);
    font-weight: 700;
    line-height: 1.45;
    margin: 8px 0 0;
    max-width: 46ch;
}

.kgt-calendar-meta {
    color: var(--kgt-muted);
    font-size: clamp(0.62rem, 0.85vw, 0.78rem);
    font-weight: 800;
    margin-top: 12px;
}

.kgt-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-top: 3.4%;
    overflow: hidden;
    border-radius: var(--kgt-radius) var(--kgt-radius) 0 0;
}

.kgt-weekdays div {
    background: rgba(255, 255, 255, 0.82);
    color: var(--kgt-ink);
    font-size: clamp(0.55rem, 0.85vw, 0.75rem);
    font-weight: 950;
    padding: 8px 9px;
}

.kgt-weekdays div.is-weekend {
    background: var(--kgt-tile-weekend);
    color: var(--kgt-primary);
}

.kgt-calendar-grid {
    border: 1px solid rgba(38, 48, 45, 0.12);
    border-bottom: 0;
    border-right: 0;
    display: grid;
    flex: 1;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: repeat(var(--kgt-week-count), minmax(0, 1fr));
    overflow: hidden;
}

.kgt-day {
    background: var(--kgt-tile);
    border-bottom: 1px solid rgba(38, 48, 45, 0.12);
    border-right: 1px solid rgba(38, 48, 45, 0.12);
    min-width: 0;
    overflow: hidden;
    padding: clamp(5px, 0.8vw, 9px);
    position: relative;
}

.kgt-day.is-weekend {
    background: var(--kgt-tile-weekend);
}

.kgt-day.is-outside {
    opacity: 0.42;
}

.kgt-day.is-target {
    box-shadow: inset 0 0 0 3px var(--kgt-accent);
}

.kgt-day.is-today {
    box-shadow: inset 0 0 0 3px var(--kgt-primary);
}

.kgt-day.has-image::before {
    background-image: var(--kgt-day-image);
    background-position: var(--kgt-image-position) center;
    background-size: cover;
    content: "";
    inset: 0;
    position: absolute;
}

.kgt-day.has-image::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0 34px, rgba(38, 48, 45, 0.04) 35px 55%, rgba(38, 48, 45, 0.34));
    content: "";
    inset: 0;
    position: absolute;
}

.kgt-day__head,
.kgt-day__events,
.kgt-day__target {
    position: relative;
    z-index: 2;
}

.kgt-day__head {
    align-items: flex-start;
    display: flex;
    gap: 4px;
    justify-content: space-between;
}

.kgt-day__head strong {
    color: var(--kgt-ink);
    font-size: clamp(0.9rem, 1.45vw, 1.35rem);
    font-weight: 950;
    line-height: 1;
}

.kgt-day__head em {
    color: var(--kgt-muted);
    font-size: clamp(0.52rem, 0.75vw, 0.68rem);
    font-style: normal;
    font-weight: 850;
    margin-left: 3px;
    text-transform: uppercase;
}

.kgt-day__head i {
    background: rgba(255, 255, 255, 0.68);
    border: 1.5px solid var(--kgt-primary);
    border-radius: 4px;
    flex: 0 0 auto;
    height: clamp(12px, 1.35vw, 17px);
    width: clamp(12px, 1.35vw, 17px);
}

.kgt-day__events {
    display: grid;
    gap: 4px;
    margin-top: clamp(5px, 0.7vw, 9px);
}

.kgt-day-event {
    border-radius: 7px;
    color: #fff;
    font-size: clamp(0.49rem, 0.76vw, 0.66rem);
    font-weight: 900;
    line-height: 1.18;
    overflow: hidden;
    padding: 4px 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kgt-day-more {
    color: var(--kgt-muted);
    font-size: clamp(0.49rem, 0.7vw, 0.62rem);
    font-weight: 850;
}

.kgt-day.has-image .kgt-day-more {
    color: #fff;
}

.kgt-day__strike {
    background: rgba(38, 48, 45, 0.46);
    height: 2px;
    left: 8px;
    position: absolute;
    top: 52%;
    transform: rotate(-18deg);
    width: 120%;
    z-index: 4;
}

.kgt-day__target {
    background: color-mix(in srgb, var(--kgt-accent) 20%, #fff);
    border-radius: 999px;
    bottom: 5px;
    color: var(--kgt-accent);
    font-size: clamp(0.48rem, 0.7vw, 0.62rem);
    font-weight: 950;
    padding: 2px 6px;
    position: absolute;
    right: 5px;
}

.kgt-calendar-footer {
    color: var(--kgt-muted);
    font-size: clamp(0.52rem, 0.76vw, 0.68rem);
    font-weight: 850;
    margin-top: 12px;
}

.kgt-empty-preview {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(38, 48, 45, 0.08);
    border-radius: 22px;
    display: grid;
    gap: 8px;
    max-width: 520px;
    padding: 28px;
}

.kgt-empty-preview strong {
    font-size: 1.2rem;
    font-weight: 950;
}

.kgt-empty-preview span {
    color: var(--kgt-muted);
    font-weight: 650;
}

@keyframes kgtFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .kgt-layout {
        grid-template-columns: 1fr;
    }

    .kgt-guide-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .kgt-workbench {
        position: static;
    }
}

@media (max-width: 680px) {
    .kgt-app {
        margin: 18px auto;
    }

    .kgt-studio-header,
    .kgt-hero,
    .kgt-preview-toolbar,
    .kgt-image-control {
        align-items: stretch;
        flex-direction: column;
    }

    .kgt-hero h2 {
        max-width: none;
    }

    .kgt-hero__actions {
        padding-right: 0;
    }

    .kgt-steps,
    .kgt-guide-strip,
    .kgt-field-grid,
    .kgt-entry-item {
        grid-template-columns: 1fr;
    }

    .kgt-preview-scroll {
        padding: 12px;
    }

    .kgt-weekdays div {
        padding: 7px 4px;
        text-align: center;
    }
}
