.ttc-calendar, .ttc-calendar *, .ttc-admin-layout, .ttc-admin-layout * { box-sizing: border-box; }
.ttc-calendar { background: #fff; border: 1px solid #dfe4df; border-radius: 14px; padding: 24px; color: #17251d; max-width: 520px; margin: 20px 0; font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.ttc-calendar h2 { font-size: 24px; font-weight: 650; letter-spacing: -.6px; line-height: 1.2; margin: 8px 0 25px; color: #17251d; }
.ttc-calendar h3 { font-size: 17px; margin: 0; font-weight: 600; text-transform: capitalize; color: #17251d; }
.ttc-kicker { color: #46654f; font-size: 13px; }
.ttc-kicker .amount { font-weight: 650; }
.ttc-month-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 18px; }
.ttc-month-nav button { width: 36px; height: 36px; padding: 0; border: 1px solid #dce3dd; border-radius: 50%; background: #fff; color: #17251d; font-size: 26px; font-weight: 400; line-height: 1; cursor: pointer; }
.ttc-month-nav button:disabled { opacity: .3; cursor: default; }
.ttc-weekdays, .ttc-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; text-align: center; }
.ttc-weekdays { font-size: 12px; color: #56635b; margin-bottom: 8px; }
.ttc-days { min-height: 200px; align-content: start; }
.ttc-days[aria-busy="true"]::before { content: "Įkeliamas kalendorius…"; grid-column: 1 / -1; padding-top: 60px; color: #56635b; }
.ttc-calendar .ttc-day { font: inherit; width: 100%; height: 38px; padding: 0; border: 1px solid transparent; border-radius: 6px; text-align: center; cursor: pointer; box-shadow: none; }
.ttc-calendar .ttc-free { background: #edf5ee; color: #245535; }
.ttc-calendar .ttc-free:hover { border-color: #285b3a; background: #dbeadd; }
.ttc-calendar .ttc-busy { background: repeating-linear-gradient(135deg, #e9e9e9, #e9e9e9 4px, #f2f2f2 4px, #f2f2f2 8px); color: #737373; text-decoration: line-through; cursor: not-allowed; opacity: 1; }
.ttc-calendar .ttc-past { background: #fafafa; color: #b4b8b5; cursor: default; opacity: 1; }
.ttc-calendar .ttc-free.ttc-selected { background: #245535; color: #fff; border-color: #245535; }
.ttc-calendar button:focus-visible, .ttc-calendar input:focus-visible { outline: 2px solid #245535; outline-offset: 3px; }
.ttc-calendar .ttc-legend { display: flex; gap: 20px; margin: 15px 0 22px; font-size: 12px; color: #56635b; }
.ttc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ttc-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #bed6c2; }
.ttc-dot-busy { background: #999; }
.ttc-date-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ttc-date-fields label, .ttc-owner-form label { display: block; font-size: 13px; font-weight: 500; }
.ttc-date-fields input, .ttc-owner-form input, .ttc-owner-form textarea { display: block; width: 100%; min-width: 0; margin: 5px 0 0; padding: 9px; border: 1px solid #cbd4cd; border-radius: 6px; background: #fff; color: #17251d; font: inherit; box-shadow: none; }
.ttc-calendar .ttc-result { margin: 18px 0 10px; font-size: 14px; min-height: 42px; color: #245535; font-weight: 500; }
.ttc-calendar .ttc-error { color: #a32921; }
.ttc-calendar .ttc-clear { border: 0; background: none; padding: 0; font: inherit; font-size: 12px; text-decoration: underline; color: #56635b; cursor: pointer; }
.ttc-calendar .ttc-footnote { font-size: 12px; color: #66716a; line-height: 1.4; border-top: 1px solid #e5eae6; margin: 18px 0 0; padding-top: 15px; }
.ttc-calendar .ttc-cart-form { margin: 20px 0 0; display: grid; gap: 12px; }
.ttc-calendar .ttc-cart-form button { border: 0; border-radius: 7px; background: #245535; color: #fff; padding: 13px 20px; font: inherit; font-weight: 600; cursor: pointer; }
.ttc-calendar .ttc-cart-form button:disabled { background: #e2e7e3; color: #748078; cursor: not-allowed; }
.ttc-calendar .ttc-cart-form a { font-size: 13px; color: #245535; text-align: center; text-decoration: underline; }
.ttc-cart-notice { margin-bottom: 24px; }
.ttc-admin { max-width: 1120px; }
.ttc-admin-layout { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr); gap: 32px; }
.ttc-owner-panel { padding: 20px 0; }
.ttc-owner-panel h2 { margin-top: 0; }
.ttc-owner-form { display: grid; gap: 14px; max-width: 440px; margin-bottom: 30px; }
.ttc-owner-form button { justify-self: start; }
.ttc-block { border: 1px solid #d1d8d3; border-radius: 8px; padding: 14px; margin: 12px 0; background: #fff; }
.ttc-block p { white-space: pre-wrap; overflow-wrap: anywhere; }
.ttc-block button { margin-top: 10px !important; }
.ttc-owner-panel details { margin-top: 24px; }
.ttc-owner-panel summary { cursor: pointer; }
@media (max-width: 760px) { .ttc-admin-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } }
@media (max-width: 400px) { .ttc-calendar { padding: 15px; } .ttc-calendar h2 { font-size: 22px; } .ttc-date-fields { gap: 8px; } .ttc-days { gap: 3px; } }
