*{box-sizing:border-box}body,html{margin:0;font-family:Arial,Helvetica,sans-serif;color:#242035;background:#f5f4fa}button,input,select{font:inherit}button{cursor:pointer}.app{--accent:#7547d9;--light:#f1ebff;--ink:#372461;min-height:100vh}.theme-ocean{--accent:#1479ad;--light:#e8f6fd;--ink:#145579}.theme-rose{--accent:#bf547a;--light:#fff0f5;--ink:#853a55}.theme-forest{--accent:#338465;--light:#e7f7ee;--ink:#215a43}.theme-mono{--accent:#424242;--light:#f1f1f1;--ink:#222}.topbar{height:74px;background:#fff;border-bottom:1px solid #e7e4ed;justify-content:space-between;padding:0 34px}.brand,.topbar{display:flex;align-items:center}.brand{gap:12px;color:var(--accent)}.brand strong{display:block;letter-spacing:.13em;font-size:20px}.brand small{display:block;letter-spacing:.18em;font-size:10px;color:#777}.top-tag{color:#777;font-size:13px}.workspace{display:grid;grid-template-columns:350px minmax(0,1fr);min-height:calc(100vh - 74px)}.sidebar{background:#fff;padding:26px;border-right:1px solid #e8e5ef;display:flex;flex-direction:column;gap:15px}.section-heading{display:flex;align-items:center;gap:8px;color:var(--accent);margin-top:7px}.section-heading h2{font-size:16px;margin:0;color:#2b2634}label{font-size:12px;font-weight:700;color:#514a5c;display:flex;flex-direction:column;gap:7px}input:not([type=checkbox]),select{height:40px;padding:0 11px;border:1px solid #ded9e6;border-radius:9px;background:#fff;min-width:0;width:100%;color:#242035}.two-col{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.check{display:flex;flex-direction:row;align-items:center;gap:9px;font-weight:500;font-size:13px}.check input{accent-color:var(--accent)}.helper{margin:0;color:#746d7e;font-size:12px}.event-form{display:flex;flex-direction:column;gap:12px}.primary,.print-button{border:0;background:var(--accent);color:white;border-radius:10px;padding:11px 15px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:7px}.event-list{display:flex;flex-direction:column;gap:8px}.saved-event{display:flex;justify-content:space-between;align-items:center;border:1px solid #ece8f0;border-radius:9px;padding:9px;font-size:12px}.saved-event span{min-width:0;overflow-wrap:anywhere}.saved-event small{display:block;color:#777;margin:3px 0 0 22px}.saved-event button{border:0;background:transparent;color:#8b8494;padding:5px}.privacy{font-size:11px;line-height:1.5;color:#827b89}.preview-area{padding:28px;min-width:0}.preview-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px;flex-wrap:wrap}.preview-tools h1{font-size:24px;letter-spacing:-.03em;margin:0 0 5px}.preview-tools p{font-size:13px;color:#79717f;margin:0}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.actions select{width:auto;max-width:140px}.print-sheet{max-width:1150px;margin:auto;background:#fff;box-shadow:0 10px 45px #2b164018;border-radius:14px;padding:32px;min-width:0}.sheet-header{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid var(--accent);padding-bottom:15px;margin-bottom:18px;gap:10px}.eyebrow{font-size:9px;letter-spacing:.22em;font-weight:700;color:var(--accent);margin:0 0 8px}.sheet-header h2{font-size:26px;margin:0;color:var(--ink);overflow-wrap:anywhere}.subtitle{font-size:12px;color:#777;margin:7px 0 0}.year-mark{font-size:48px;letter-spacing:-.08em;font-weight:800;color:var(--accent)}.month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:22px 17px;gap:22px 17px}.month{min-width:0;page-break-inside:avoid;break-inside:avoid}.month h3{margin:0 0 8px;color:var(--ink);font-size:14px;text-transform:uppercase;letter-spacing:.07em}.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-gap:2px;gap:2px}.weekday{text-align:center;color:var(--accent);font-size:9px;font-weight:700;padding:4px 0}.day,.empty{min-width:0;min-height:29px;border-radius:4px;padding:2px;background:#faf9fc}.day{display:flex;flex-direction:column;align-items:center;gap:2px}.number{font-size:10px;font-weight:600}.has-holiday{background:var(--light)}.has-event{outline:1px solid #efb5cb;outline-offset:-1px}.event-labels{display:flex;flex-direction:column;width:100%;gap:1px}.event-label,.holiday-label{font-size:6px;line-height:1.15;overflow-wrap:anywhere;color:var(--accent)}.event-label{color:#a43e66}.event-label.anniversary{color:#b23a53}.event-label.special{color:#a27a13}.sheet-footer{display:flex;align-items:center;gap:15px;flex-wrap:wrap;border-top:1px solid #ece8f0;margin-top:20px;padding-top:12px;color:#8b8290;font-size:10px}.sheet-footer span:last-child{margin-left:auto}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:3px}.official{background:var(--accent)}.personal{background:#df709b}.single-month .month-grid{grid-template-columns:1fr}.single-month .month h3{font-size:24px}.single-month .day,.single-month .empty{min-height:90px;padding:6px}.single-month .number{font-size:16px}.single-month .weekday{font-size:13px}.single-month .event-label,.single-month .holiday-label{font-size:10px}.print-hint{display:flex;align-items:center;justify-content:center;gap:7px;color:#817987;font-size:12px;margin:20px 0}@media(max-width:1100px){.workspace{grid-template-columns:290px minmax(0,1fr)}.sidebar{padding:18px}.preview-area{padding:16px}.month-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.topbar{padding:0 16px}.top-tag{display:none}.workspace{display:block}.sidebar{border-right:0;border-bottom:1px solid #eee}.preview-tools h1{font-size:21px}.print-sheet{padding:14px}.month-grid{grid-template-columns:1fr}.year-mark{font-size:34px}.sheet-header h2{font-size:20px}.month .day{min-height:40px}.month h3{font-size:15px}}@page{size:A4 landscape;margin:8mm}@media print{body,html{background:white!important;margin:0!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.no-print,.topbar{display:none!important}.workspace{display:block!important;min-height:0}.preview-area,.print-sheet{padding:0!important}.print-sheet{box-shadow:none!important;border-radius:0!important;max-width:none!important}.month-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.month h3{font-size:11px}.month .day,.month .empty{min-height:20px}.month .number{font-size:8px}.month .event-label,.month .holiday-label{font-size:5px}.sheet-header{margin-bottom:10px;padding-bottom:7px}.sheet-header h2{font-size:20px}.year-mark{font-size:30px}.sheet-footer{margin-top:10px;padding-top:7px}.single-month .month-grid{grid-template-columns:1fr!important}.single-month .day,.single-month .empty{min-height:68px}.single-month .number{font-size:14px}.single-month .event-label,.single-month .holiday-label{font-size:10px}}