/* ============================================
   Printable Template Styles
   All 20 template layouts for screen + print
   ============================================ */

/* --- Shared Printable Base --- */
.printable-template {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 36px;
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    font-size: 13px;
    line-height: 1.5;
}

.printable-template * {
    box-sizing: border-box;
}

.pt-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
    color: #111;
    letter-spacing: 0.02em;
}

.pt-subtitle {
    text-align: center;
    font-size: 11px;
    color: #888;
    margin-bottom: 24px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pt-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 14px;
    margin: 20px 0 10px;
    border-radius: 4px;
}

.pt-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 5px 8px;
    min-height: 28px;
    border-bottom: 1px solid #f0f0f0;
}

.pt-checkbox {
    width: 14px;
    height: 14px;
    border: 1.5px solid #bbb;
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pt-checkbox-round {
    width: 14px;
    height: 14px;
    border: 1.5px solid #bbb;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.pt-text {
    flex: 1;
    font-size: 12px;
    line-height: 1.4;
}

.pt-line {
    border-bottom: 1px solid #ddd;
    height: 28px;
}

.pt-line-dotted {
    border-bottom: 1px dotted #ccc;
    height: 28px;
}

.pt-field {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.pt-field-label {
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    color: #444;
}

.pt-field-value {
    flex: 1;
    border-bottom: 1px solid #ccc;
    height: 20px;
}

.pt-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.pt-table th {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 10px;
    border: 1px solid #ddd;
    text-align: left;
    background: #f9f9f9;
}

.pt-table td {
    padding: 7px 10px;
    border: 1px solid #e5e5e5;
    font-size: 11px;
    min-height: 28px;
}

.pt-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pt-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.pt-footer {
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
    text-align: center;
    font-size: 10px;
    color: #aaa;
}

/* ============================================
   1. Ultimate Moving Checklist (phased-checklist)
   ============================================ */
.tpl-phased-checklist .pt-section-title {
    background: #e8f0fe;
    color: #2c5282;
    border-left: 4px solid #4a90d9;
}

/* ============================================
   2. Moving Packing Inventory (inventory-list)
   ============================================ */
.tpl-inventory-list .pt-section-title {
    background: #e8f4f8;
    color: #2b6cb0;
    border-left: 4px solid #5b9bd5;
}

.tpl-inventory-list .pt-table th {
    background: #5b9bd5;
    color: #fff;
    border-color: #5b9bd5;
}

/* ============================================
   3. Minimalist Moving Planner (minimalist-planner)
   ============================================ */
.tpl-minimalist-planner {
    padding: 48px 40px;
}

.tpl-minimalist-planner .pt-title {
    font-size: 28px;
    margin-bottom: 4px;
}

.tpl-minimalist-planner .pt-section-title {
    background: transparent;
    color: #555;
    border-left: none;
    border-bottom: 2px solid #ddd;
    padding: 0 0 6px 0;
    margin-top: 28px;
}

/* ============================================
   4. First Apartment Checklist (room-checklist)
   ============================================ */
.tpl-room-checklist .pt-section-title {
    background: #fef3e2;
    color: #92400e;
    border-left: 4px solid #e8915b;
}

/* ============================================
   5. Decluttering Checklist — uses room-checklist variant with green */
.tpl-room-checklist.green .pt-section-title {
    background: #ecfdf5;
    color: #065f46;
    border-left: 4px solid #7bc8a4;
}

/* ============================================
   6. ADHD Daily Planner (adhd-planner)
   ============================================ */
.tpl-adhd-planner .pt-section-title {
    background: #f3f0ff;
    color: #553c9a;
    border: 2px solid #8b5cf6;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
}

.tpl-adhd-planner .mood-weather {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    background: #faf9ff;
    border-radius: 6px;
    border: 1px solid #e9e5f5;
    margin-bottom: 16px;
}

.tpl-adhd-planner .mood-weather .mw-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.tpl-adhd-planner .mood-weather .mw-icons {
    display: flex;
    gap: 4px;
    font-size: 16px;
}

.tpl-adhd-planner .water-tracker {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 8px;
}

.tpl-adhd-planner .water-drop {
    width: 20px;
    height: 20px;
    border: 1.5px solid #8b5cf6;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

/* ============================================
   7. Focus Plan Worksheet (focus-worksheet)
   ============================================ */
.tpl-focus-worksheet .pt-title {
    font-style: italic;
}

.tpl-focus-worksheet .step-label {
    font-weight: 700;
    font-size: 13px;
    color: #111;
    margin: 20px 0 4px;
}

.tpl-focus-worksheet .step-desc {
    font-size: 11px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.tpl-focus-worksheet .task-box {
    border: 1.5px solid #ddd;
    border-radius: 4px;
    padding: 12px;
    min-height: 50px;
    margin-bottom: 16px;
}

.tpl-focus-worksheet .pt-table th {
    background: #f0f0f0;
}

/* ============================================
   8. Daily Schedule Planner (schedule-planner)
   ============================================ */
.tpl-schedule-planner {
    padding: 36px 32px;
    font-family: 'Playfair Display', serif;
}

.tpl-schedule-planner .pt-title {
    text-align: left;
    font-size: 26px;
    margin-bottom: 8px;
}

.tpl-schedule-planner .days-row {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}

.tpl-schedule-planner .day-letter {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    width: 24px;
    text-align: center;
    color: #555;
}

.tpl-schedule-planner .schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.tpl-schedule-planner .time-column {
    border-right: 1.5px solid #222;
}

.tpl-schedule-planner .time-slot {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-bottom: 1px solid #eee;
    font-family: 'Playfair Display', serif;
    font-size: 12px;
    min-height: 28px;
}

.tpl-schedule-planner .side-sections {
    padding-left: 16px;
}

.tpl-schedule-planner .side-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    margin-top: 12px;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1.5px solid #222;
}

/* ============================================
   9. Minimalist Daily Planner (minimalist-daily)
   ============================================ */
.tpl-minimalist-daily {
    padding: 48px 44px;
}

.tpl-minimalist-daily .pt-title {
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2px;
}

.tpl-minimalist-daily .date-field {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.tpl-minimalist-daily .date-field span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #aaa;
    padding-bottom: 2px;
    min-width: 160px;
}

.tpl-minimalist-daily .priorities-section {
    margin-bottom: 20px;
}

.tpl-minimalist-daily .section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding-bottom: 6px;
    border-bottom: 2px solid #222;
    margin-bottom: 10px;
}

.tpl-minimalist-daily .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px;
}

/* ============================================
   10. Weekly Habit Tracker (habit-tracker)
   ============================================ */
.tpl-habit-tracker .pt-section-title {
    background: #fdf2f8;
    color: #9d174d;
    border-left: 4px solid #ec4899;
}

.tpl-habit-tracker .habit-grid {
    width: 100%;
    border-collapse: collapse;
}

.tpl-habit-tracker .habit-grid th {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 6px;
    text-align: center;
    border: 1px solid #e5e5e5;
    background: #fdf2f8;
    color: #9d174d;
}

.tpl-habit-tracker .habit-grid th:first-child {
    text-align: left;
    padding-left: 10px;
    width: 40%;
}

.tpl-habit-tracker .habit-grid td {
    padding: 7px 6px;
    border: 1px solid #e5e5e5;
    text-align: center;
    min-height: 28px;
}

.tpl-habit-tracker .habit-grid td:first-child {
    text-align: left;
    padding-left: 10px;
}

/* ============================================
   11. College Student Budget (semester-budget)
   ============================================ */
.tpl-semester-budget .pt-title {
    text-align: left;
    font-size: 20px;
    color: #2c5282;
}

.tpl-semester-budget .pt-section-title {
    background: #2c5282;
    color: #fff;
    border-left: none;
    font-size: 11px;
    padding: 6px 12px;
    margin: 14px 0 4px;
}

.tpl-semester-budget .pt-section-title.expenses {
    background: #6b46c1;
}

.tpl-semester-budget .pt-table th {
    background: #f0f4f8;
    font-size: 9px;
    padding: 5px 6px;
    color: #2c5282;
}

.tpl-semester-budget .pt-table td {
    font-size: 10px;
    padding: 4px 6px;
}

.tpl-semester-budget .total-row td {
    font-weight: 700;
    background: #f8f9fa;
    border-top: 2px solid #2c5282;
}

/* ============================================
   12. Monthly Budget Planner (monthly-budget)
   ============================================ */
.tpl-monthly-budget .pt-title {
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 2px solid #111;
    padding-bottom: 10px;
    margin-bottom: 16px;
}

.tpl-monthly-budget .budget-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.tpl-monthly-budget .section-heading {
    font-size: 16px;
    font-weight: 700;
    margin: 20px 0 10px;
}

.tpl-monthly-budget .pt-table {
    margin-bottom: 8px;
}

.tpl-monthly-budget .pt-table th {
    background: #fff;
    border-bottom: 2px solid #111;
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 11px;
}

.tpl-monthly-budget .pt-table td {
    border: none;
    border-bottom: 1px solid #e5e5e5;
}

.tpl-monthly-budget .total-row td {
    font-weight: 700;
    color: #e53e3e;
    border-top: 2px solid #111;
}

.tpl-monthly-budget .recap-table th {
    background: #f9f9f9;
}

/* ============================================
   13. Debt Payoff Tracker (payoff-tracker)
   ============================================ */
.tpl-payoff-tracker .pt-title {
    font-size: 28px;
}

.tpl-payoff-tracker .summary-box {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0;
    margin: 16px 0;
    border: 1.5px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.tpl-payoff-tracker .summary-box .sb-item {
    padding: 10px 12px;
    border-right: 1px solid #ddd;
}

.tpl-payoff-tracker .summary-box .sb-item:last-child {
    border-right: none;
}

.tpl-payoff-tracker .summary-box .sb-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    background: #f5f5f5;
    padding: 6px 12px;
    margin: -10px -12px 8px;
}

.tpl-payoff-tracker .pt-table th {
    background: #f5f5f5;
    border: 1px solid #ddd;
}

/* ============================================
   14. Multi-Account Debt Tracker (multi-debt-tracker)
   ============================================ */
.tpl-multi-debt-tracker .pt-title {
    font-size: 30px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

.tpl-multi-debt-tracker .debt-accounts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.tpl-multi-debt-tracker .debt-account {
    border: 1px solid #e5e5e5;
    border-top: 3px solid #ccc;
}

.tpl-multi-debt-tracker .debt-account:nth-child(1) { border-top-color: #c4b5fd; }
.tpl-multi-debt-tracker .debt-account:nth-child(2) { border-top-color: #86efac; }
.tpl-multi-debt-tracker .debt-account:nth-child(3) { border-top-color: #93c5fd; }

.tpl-multi-debt-tracker .da-header {
    padding: 8px 10px;
    font-size: 10px;
}

.tpl-multi-debt-tracker .da-header .da-field {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
}

.tpl-multi-debt-tracker .da-header .da-field-label {
    font-weight: 700;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tpl-multi-debt-tracker .da-table th {
    font-size: 9px;
    padding: 5px 6px;
    text-align: center;
}

.tpl-multi-debt-tracker .da-table td {
    font-size: 9px;
    padding: 5px 6px;
    border: 1px solid #e5e5e5;
}

.tpl-multi-debt-tracker .da-table th:nth-child(1) { background: #f8f7ff; }
.tpl-multi-debt-tracker .da-table th:nth-child(2) { background: #f0fdf4; }
.tpl-multi-debt-tracker .da-table th:nth-child(3) { background: #eff6ff; }

/* ============================================
   15. Savings Goal Tracker (savings-tracker)
   ============================================ */
.tpl-savings-tracker .pt-section-title {
    background: #ecfdf5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.tpl-savings-tracker .goal-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px;
    background: #f0fdf4;
    border-radius: 8px;
    margin-bottom: 20px;
}

.tpl-savings-tracker .progress-bar-container {
    margin: 20px 0;
}

.tpl-savings-tracker .progress-bar {
    height: 24px;
    background: #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.tpl-savings-tracker .progress-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #888;
    margin-top: 4px;
}

/* ============================================
   16. Wedding Plan Checklist (wedding-timeline)
   ============================================ */
.tpl-wedding-timeline {
    background: #fff9fb;
}

.tpl-wedding-timeline .pt-title {
    font-size: 26px;
}

.tpl-wedding-timeline .pt-section-title {
    background: #fce4ec;
    color: #880e4f;
    border-left: 4px solid #e8a0bf;
    font-size: 11px;
}

.tpl-wedding-timeline .pt-checkbox {
    border-color: #e8a0bf;
    border-radius: 2px;
}

.tpl-wedding-timeline .wedding-footer {
    text-align: center;
    padding: 12px;
    background: #fce4ec;
    border-radius: 6px;
    margin-top: 20px;
    font-size: 11px;
    color: #880e4f;
    font-style: italic;
}

/* ============================================
   17. Wedding Checklist Minimal (minimal-wedding)
   ============================================ */
.tpl-minimal-wedding {
    padding: 60px 48px;
}

.tpl-minimal-wedding .pt-title {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif;
}

.tpl-minimal-wedding .pt-section-title {
    background: transparent;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    padding: 0;
    margin: 24px 0 10px;
    border-left: none;
}

.tpl-minimal-wedding .pt-checkbox {
    border-color: #999;
}

.tpl-minimal-wedding .pt-row {
    border-bottom: none;
    padding: 4px 0;
}

.tpl-minimal-wedding .pt-text {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: #444;
}

/* ============================================
   18. Event Information Sheet (event-info)
   ============================================ */
.tpl-event-info .header-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.tpl-event-info .header-chevrons {
    display: flex;
    gap: 3px;
}

.tpl-event-info .chevron {
    width: 16px;
    height: 24px;
    background: #ec4899;
    clip-path: polygon(0 0, 70% 0, 100% 50%, 70% 100%, 0 100%, 30% 50%);
}

.tpl-event-info .chevron:nth-child(2) { opacity: 0.7; }
.tpl-event-info .chevron:nth-child(3) { opacity: 0.5; }
.tpl-event-info .chevron:nth-child(4) { opacity: 0.3; }

.tpl-event-info .pt-title {
    text-align: right;
    font-style: italic;
    font-size: 28px;
}

.tpl-event-info .info-sections {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 12px;
}

.tpl-event-info .info-box {
    border: 2px solid #ec4899;
    border-radius: 4px;
    padding: 14px;
}

.tpl-event-info .info-box h4 {
    font-size: 13px;
    font-weight: 700;
    color: #ec4899;
    margin-bottom: 10px;
    font-style: italic;
}

/* ============================================
   19. Event Planner (event-planner)
   ============================================ */
.tpl-event-planner .pt-title {
    font-size: 32px;
    font-style: italic;
    text-align: left;
    font-weight: 400;
}

.tpl-event-planner .pt-title-box {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 2px solid #222;
    padding: 6px 20px;
    border-radius: 4px;
    margin-left: 12px;
    font-style: normal;
}

.tpl-event-planner .meta-fields {
    margin: 20px 0;
}

.tpl-event-planner .event-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.tpl-event-planner .event-section {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 14px;
}

.tpl-event-planner .event-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e5e5;
}

/* ============================================
   20. Party Planning Checklist (party-checklist)
   ============================================ */
.tpl-party-checklist .pt-section-title {
    background: #fef3c7;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

.tpl-party-checklist .pt-checkbox {
    border-color: #f59e0b;
}

/* ============================================
   Workout Planner (.tpl-workout-plan)
   ============================================ */
.tpl-workout-plan .workout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.tpl-workout-plan .workout-day {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 12px;
}
.tpl-workout-plan .day-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}
.tpl-workout-plan .day-label {
    background: var(--tpl-accent, #f43f5e);
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
}
.tpl-workout-plan .muscle-group {
    color: #666;
    font-size: 13px;
}
.tpl-workout-plan .workout-notes {
    margin-top: 20px;
}
.tpl-workout-plan .notes-box {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    height: 100px;
}

/* ============================================
   Meal Planner (.tpl-meal-plan)
   ============================================ */
.tpl-meal-plan .meal-table {}
.tpl-meal-plan .meal-table td {
    height: 60px;
    vertical-align: top;
    padding: 8px;
}
.tpl-meal-plan .meal-day {
    text-transform: uppercase;
    font-size: 12px;
    color: var(--tpl-accent, #10b981);
    vertical-align: middle !important;
    text-align: center;
    background:rgba(16, 185, 129, 0.05); /* very light accent */
}
.tpl-meal-plan .grocery-section {
    margin-top: 24px;
}
.tpl-meal-plan .grocery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.tpl-meal-plan .grocery-col {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 12px;
}
.tpl-meal-plan .grocery-header {
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 12px;
    text-align: center;
    color: var(--tpl-accent, #10b981);
}
.tpl-meal-plan .grocery-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.tpl-meal-plan .grocery-line {
    flex: 1;
    border-bottom: 1px solid #e5e5e5;
    height: 12px;
}

/* ============================================
   Meeting Agenda (.tpl-meeting-agenda)
   ============================================ */
.tpl-meeting-agenda .agenda-meta {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 24px;
    background: #fafafa;
}
.tpl-meeting-agenda .meta-row {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}
.tpl-meeting-agenda .meta-row:last-child {
    margin-bottom: 0;
}
.tpl-meeting-agenda .meta-item {
    flex: 1;
}
.tpl-meeting-agenda .meeting-split {
    display: flex;
    align-items: stretch;
}
.tpl-meeting-agenda .attendee-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.tpl-meeting-agenda .attendee-line {
    flex: 1;
    border-bottom: 1px solid #e5e5e5;
    height: 12px;
}

/* ============================================
   Project Action Plan (.tpl-project-plan)
   ============================================ */
.tpl-project-plan .project-meta {
    border: 2px solid var(--tpl-accent, #4f46e5);
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 24px;
}
.tpl-project-plan .meta-row {
    display: flex;
    gap: 24px;
    margin-bottom: 14px;
}
.tpl-project-plan .meta-row:last-child {
    margin-bottom: 0;
}
.tpl-project-plan .meta-item {
    flex: 1;
}
.tpl-project-plan .milestone-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.tpl-project-plan .milestone-box {
    border: 1px solid #e5e5e5;
    border-top: 3px solid var(--tpl-accent, #4f46e5);
    border-radius: 4px;
    padding: 12px;
}
.tpl-project-plan .milestone-header {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 13px;
}
.tpl-project-plan .milestone-line {
    border-bottom: 1px dashed #ccc;
    height: 20px;
    margin-bottom: 4px;
}


/* ============================================
   Interactive Badge Effects
   ============================================ */
.highlight-badge {
    display: inline-block;
    cursor: pointer;
    perspective: 1000px;
}
.shadow-pulse {
    animation: shadowPulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
}
.badge-pro.shadow-pulse {
    animation: shadowPulsePro 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
}

@keyframes shadowPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); transform: scale(1); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); transform: scale(1); }
}

@keyframes shadowPulsePro {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); transform: scale(1); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); transform: scale(1); }
}

/* ============================================
   Print-specific sizing
   ============================================ */
@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
        animation: none !important;
        transition: none !important;
        clip-path: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .printable-template {
        max-width: 100%;
        padding: 20px 24px;
        font-size: 11px;
        page-break-after: always;
    }
    .pt-title { font-size: 20px; }
    .pt-section-title { font-size: 10px; }
    .pt-row { min-height: 22px; padding: 3px 6px; }
    .pt-checkbox { width: 12px; height: 12px; }
}
