/* Photoshop-only planner; no global site styles are changed. */
#crop-print { margin:1.5rem 0; padding:clamp(.8rem,3vw,1.4rem); border:2px solid #006b77; border-radius:12px; background:#f5fafb; color:#12324b; scroll-margin-top:1rem; }
#crop-print * { box-sizing:border-box; }
#crop-print [hidden] { display:none !important; }
#crop-print h3 { margin:.2rem 0 .7rem; font-size:1.5rem; }
#crop-print .cp-kicker { margin:0; font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; color:#35575f; font-weight:700; }
#crop-print .cp-workspace { display:grid; gap:1rem; align-items:start; }
#crop-print .cp-workspace > * { min-width:0; }
#crop-print fieldset { min-width:0; border:0; padding:0; margin:0 0 .7rem; }
#crop-print legend { font-weight:700; margin-bottom:.4rem; }
#crop-print label { font-size:.95rem; line-height:1.3; }
#crop-print .cp-field { display:grid; grid-template-columns:minmax(0,1fr) 6.5rem; align-items:center; gap:.2rem .6rem; margin:.4rem 0; }
#crop-print :is(input[type=number],select) { width:100%; min-width:0; font:inherit; padding:.35rem; background:white; color:#12324b; border:1px solid #597781; border-radius:5px; }
#crop-print input[type=radio] { accent-color:#006b77; margin-right:.4rem; }
#crop-print .cp-radio { display:block; padding:.3rem 0; }
#crop-print button { font:inherit; font-size:.9rem; font-weight:600; line-height:1.35; padding:.5rem .55rem; border:2px solid #006b77; border-radius:6px; color:#005762; background:white; cursor:pointer; }
#crop-print button[type=submit] { color:white; background:#006b77; }
#crop-print button:disabled { opacity:.6; cursor:default; }
#crop-print .cp-actions { display:flex; flex-wrap:wrap; gap:.5rem; margin:.6rem 0; }
#crop-print :is(input,select,button,summary,a):focus-visible { outline:3px solid #a24f00; outline-offset:3px; }
#crop-print [aria-invalid=true] { border:2px solid #a32a1e; }
#crop-print #cp-error { color:#912819; font-weight:600; }
#crop-print #cp-error:empty { display:none; }
#crop-print #cp-result { background:white; padding:.8rem; border:1px solid #9fbec6; border-radius:8px; }
#crop-print #cp-summary { font-weight:700; font-size:1.15rem; line-height:1.4; margin:0 0 .5rem; }
#crop-print figure { margin:.6rem 0; max-width:none; }
#crop-print svg { display:block; width:100%; height:auto; max-height:340px; }
#crop-print figcaption { font-style:normal; color:#35505a; }
#crop-print figcaption, #crop-print .cp-small { font-size:.9rem; line-height:1.5; }
#crop-print #cp-orientation { font-size:.9rem; line-height:1.4; }
#crop-print .cp-results { display:grid; gap:.6rem 1rem; grid-template-columns:repeat(2,minmax(0,1fr)); }
#crop-print .cp-results > div { border-bottom:1px solid #cedee2; padding:.4rem 0; }
#crop-print dt { font-weight:700; } #crop-print dd { margin:0; }
#crop-print details { margin:1rem 0; } #crop-print summary { font-weight:600; cursor:pointer; color:#005762; }
#crop-print .cp-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(min-width:680px) { #crop-print .cp-workspace { grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); } #crop-print #cp-result { position:sticky; top:1rem; } }
@media(max-width:500px) { #crop-print .cp-results { grid-template-columns:1fr; } }
@media print {
 body.cp-print .gridContainer > :not(article), body.cp-print article > :not(.software-guide), body.cp-print .software-guide > :not(#size), body.cp-print #size > :not(#crop-print) { display:none !important; }
 body.cp-print, body.cp-print .gridContainer, body.cp-print article { width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; background:white !important; }
 body.cp-print #crop-print { border:0; padding:0; margin:0; background:white; color:#000; font:10pt/1.3 system-ui,sans-serif; }
 body.cp-print #crop-print .cp-no-print { display:none !important; }
 body.cp-print #crop-print .cp-workspace { display:block; }
 body.cp-print #crop-print #cp-result { position:static; border:0; padding:0; }
 body.cp-print #crop-print svg { max-height:60mm; }
 body.cp-print #crop-print figure, body.cp-print #crop-print dl { break-inside:avoid; }
 body.cp-print #crop-print a::after { content:none !important; }
}

#crop-print .cp-choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.35rem; }
#crop-print .cp-choice-grid label { display:flex; align-items:center; gap:.3rem; padding:.45rem; border:1px solid #9fbec6; border-radius:5px; background:white; cursor:pointer; }
#crop-print .cp-choice-grid label:has(input:checked) { border-color:#006b77; background:#dcefed; font-weight:700; }
#crop-print .cp-choice-grid input { flex:none; margin:0; }
#crop-print .cp-presets legend { font-size:.95rem; }
