/* Christmas Map v7.0 - keepsake printables & accessible mobile-first controls */
.cm-letter-controls{background:linear-gradient(148deg,#fffef9,#f8f0df)}
.cm-tool-badge{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.13em;color:#93651b;margin-bottom:.5rem}
.cm-letter-controls .field{margin-bottom:13px}
.cm-letter-controls .field small{font-weight:400;opacity:.75}
.cm-letter-controls .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.cm-letter-controls .actions button{white-space:normal;min-height:44px}
.cm-letter-paper{max-width:720px;min-height:780px;margin:auto;padding:clamp(24px,4vw,50px);border:8px double #c49a44!important;border-radius:6px!important;background:#fffdf4!important;color:#203c31!important;box-shadow:0 12px 40px #13251f20;position:relative;font-family:Georgia,serif}
.cm-letter-stamp,.cm-letter-seal{text-align:center;font-family:Arial,sans-serif;font-size:.73rem;letter-spacing:.18em;font-weight:800;color:#7e5830}
.cm-letter-stamp{border-bottom:1px solid #cba95a;padding-bottom:14px;display:flex;justify-content:center;gap:13px}
.cm-letter-holly{text-align:center;color:#997126;margin-top:15px}
.cm-letter-paper h2{text-align:center;margin:5px 0 22px;font-size:clamp(26px,4vw,36px);color:#2a5945!important}
.cm-letter-date{text-align:right;font-size:.86rem;margin:0;opacity:.78}
.cm-letter-dear{font-weight:700;font-size:1.07rem}
.cm-letter-paper #letter-body p{line-height:1.67;font-size:clamp(.94rem,1.25vw,1.08rem);margin:0 0 15px}
.cm-letter-paper .santa-signoff{margin-bottom:0;margin-top:23px}
.cm-letter-signature{width:260px;max-width:95%;height:auto;display:block;margin:0 0 7px 0}
.cm-letter-seal{font-size:.68rem;margin-top:8px}
.cm-letter-extras{margin:16px auto 0;max-width:720px;font-size:.91rem}
#cm-letter-notice{min-height:1.5em;color:#17684b}#cm-letter-notice.cm-error{color:#a52828}
.cm-tool-next .cm-share{margin:10px 0}
.cm-idea-presets{margin:11px 0}.cm-tool-extra{padding:8px 10px;font-size:.84rem;margin:3px}
.cm-colouring-detail{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.cm-colouring-detail span{border:1px solid #dad5c7;border-radius:999px;padding:5px 10px;font-size:.85rem}
.cm-colouring-card img{width:100%;aspect-ratio:3/4;object-fit:contain;background:#fff;border:1px solid #eee;border-radius:12px}
@media(max-width:680px){.cm-letter-layout{display:block}.cm-letter-preview-holder{margin-top:16px}.cm-letter-paper{min-height:unset;padding:24px 18px}.cm-letter-paper #letter-body p{font-size:1rem;line-height:1.62}}
@media print{
 @page{size:A4;margin:10mm}
 body:has(.cm-letter-paper) *{visibility:hidden!important}
 body:has(.cm-letter-paper) .cm-letter-paper,body:has(.cm-letter-paper) .cm-letter-paper *{visibility:visible!important}
 body:has(.cm-letter-paper) .cm-letter-paper{position:absolute!important;left:0!important;top:0!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;min-height:260mm!important;padding:15mm!important;box-shadow:none!important;border:3px double #be9338!important}
 body:has(.cm-letter-paper) .cm-letter-paper #letter-body p{font-size:10.2pt!important;line-height:1.45!important;margin:0 0 8pt!important}
 .cm-tool-extra,.cm-tool-next,.cm-idea-presets{display:none!important}
}
