.cg-guide{--cg-blue:#176889;--cg-ink:#213f4b;color:var(--cg-ink);font-family:Arial,sans-serif;line-height:1.5;max-width:1280px;margin:auto}
.cg-guide *{box-sizing:border-box}.cg-guide h2,.cg-guide h3,.cg-guide p,.cg-guide figure{margin:0}
.cg-header{display:grid;grid-template-columns:1fr auto;gap:12px 25px;margin-bottom:25px;align-items:center}
.cg-header h2{font:500 clamp(30px,3vw,44px)/1.15 Georgia,serif!important;letter-spacing:-.025em!important;max-width:none!important;margin:4px 0 0!important}
.cg-header>p{grid-column:1/-1;max-width:80ch;font-size:17px;color:#526a73}
.cg-eyebrow{font-size:12px!important;letter-spacing:.1em;text-transform:uppercase;color:#4b6b77;font-weight:600}
.cg-units{display:flex;border:1px solid #a7bbc3;border-radius:8px;padding:3px;gap:3px;background:white}
.cg-units button{font:600 15px Arial;padding:8px 15px;border:0;border-radius:5px;background:transparent;color:#284653;cursor:pointer}
.cg-units button[aria-pressed=true]{background:#24576c;color:#fff}.cg-guide button:focus-visible{outline:3px solid #bb8b48;outline-offset:3px}
.cg-examples{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.cg-example{border:1px solid #c5d4da;border-radius:14px;padding:22px;background:#fff;overflow:hidden}
.cg-example>header{display:flex;justify-content:space-between;align-items:center;gap:12px}
.cg-example h3{font-size:22px!important;font-weight:600!important;letter-spacing:-.02em;margin:3px 0 0!important;line-height:1.25}
.cg-total{text-align:right;white-space:nowrap}.cg-total strong{display:block;font-size:29px;font-weight:600;color:#aa3d32;line-height:1.15}.cg-total span{display:block;font-size:11px;color:#657c84}
.cg-spec{font-size:13px;color:#58717b;margin:12px 0 6px!important}
.cg-load>.cg-model{height:255px;min-width:0;position:relative;background:linear-gradient(175deg,#fff,#edf4f5);border-radius:8px}
.cg-model>span{display:block;padding:25px;font-size:14px;color:#687d85}.cg-model canvas{display:block;max-width:100%}
.cg-load>figcaption{padding:9px 0 13px;border-bottom:1px solid #d7e2e5;font-size:14px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 10px;color:#59717c}
.cg-load>figcaption strong{font-weight:600;color:#2c4c5a}
.cg-side{margin-top:17px!important}.cg-side-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px}.cg-side-heading>strong{font-weight:600}.cg-side-heading>span{font-size:20px;color:var(--cg-blue);font-weight:600}.cg-side-heading small{font-size:13px;color:#607983;font-weight:400}
.cg-side .cg-model{height:125px;margin:7px 0 2px;background:#f5f8f9;border-radius:7px}
.cg-side figcaption{font-size:12px;color:#657e87;display:flex;align-items:center;justify-content:center;gap:8px}
.cg-level{width:30px;border-top:2px dashed #9a7771;display:inline-block}
.cg-takeaway{font-size:15px;line-height:1.55;margin-top:16px!important;color:#526c78}.cg-takeaway strong{color:#274955;font-weight:600}
.cg-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:25px;padding:20px 0;border-top:1px solid #c9d8dc;border-bottom:1px solid #c9d8dc}
.cg-principles p{font-size:15px;color:#526c78;position:relative;padding-left:30px}.cg-principles strong{display:block;color:#274955;font-size:16px;font-weight:600;margin-bottom:4px}.cg-principles span{position:absolute;left:0;top:2px;font:15px Georgia;color:#8a9fa8}
.cg-note{font-size:13px!important;color:#647b85;margin-top:16px!important;line-height:1.55!important}.cg-note strong{color:#3b5966;font-weight:600}
body[data-detail-mode=original] .cg-guide{display:none}body[data-detail-mode=refined] #shelf-guide-capacity>[data-capacity-original]{display:none!important}
@media(max-width:700px){.cg-examples{grid-template-columns:1fr;gap:18px}.cg-example{padding:16px}.cg-header>p{font-size:16px}.cg-header h2{font-size:30px!important}.cg-total strong{font-size:26px}.cg-example h3{font-size:21px!important}.cg-spec{font-size:12px}.cg-load>.cg-model{height:235px}.cg-principles{grid-template-columns:1fr;gap:18px}.cg-header{gap:12px}.cg-units button{padding:8px 11px}}
@font-face{font-family:GuideLufga;src:url('/assets/xf3-lufga-regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:GuideLufga;src:url('/assets/xf3-lufga-semibold.woff2') format('woff2');font-weight:600 700;font-display:swap}
@font-face{font-family:GuideCormorant;src:url('/assets/xf3-cormorant-garamond.woff2') format('woff2');font-weight:400 700;font-display:swap}
.cg-guide{font-family:GuideLufga,Arial,sans-serif}.cg-guide .cg-header h2{font-family:GuideCormorant,Georgia,serif!important;font-size:clamp(34px,3.2vw,46px)!important}.cg-guide .cg-example h3{font-family:GuideLufga,Arial,sans-serif!important}
.cg-guide .cg-spec{font-size:14px}.cg-guide .cg-load>figcaption{font-size:14px;display:block}.cg-guide .cg-load>figcaption>span{display:block;margin-top:2px}.cg-guide .cg-side-heading{font-size:14px}.cg-guide .cg-side-heading small{display:block;text-align:right}
.cg-guide .cg-header>p{max-width:90ch}
@media(max-width:700px){.cg-guide .cg-header h2{font-size:34px!important}.cg-guide .cg-spec{font-size:13px}.cg-guide .cg-example h3{font-size:20px!important}}
/* One teaching shelf with presets, rather than separate fixed examples. */
.cg-controls{margin-bottom:22px}.cg-size-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}.cg-size-row>strong{font-weight:600;font-size:16px}.cg-size-row small{font-size:13px;font-weight:400;color:#627983}
.cg-presets,.cg-load-controls>div{display:flex;gap:8px;flex-wrap:wrap}
.cg-guide .cg-presets button,.cg-guide .cg-angle-options button,.cg-guide .cg-load-controls button{font:inherit;font-size:15px;padding:10px 18px;border:1px solid #a5bcc7;border-radius:8px;background:#fff!important;color:#294e60!important;cursor:pointer;box-shadow:none!important;min-height:42px}
.cg-guide button[aria-pressed=true]{background:#dceff5!important;color:#164e68!important;border-color:#176889!important;box-shadow:inset 0 -2px 0 #176889!important}
.cg-angle-field{border:0;padding:0;margin:0;min-width:0}.cg-angle-field legend{font-weight:600;font-size:16px;margin-bottom:8px}
.cg-angle-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cg-angle-options>div{display:grid;gap:6px;text-align:center}.cg-angle-options>div>span{color:#aa3d32;font-size:21px;font-weight:600}.cg-guide .cg-angle-options button{width:100%;padding:11px 8px;font-size:14px}.cg-angle-options button strong{font-weight:600;font-size:19px;margin-right:4px}
.cg-interactive>header{padding-bottom:12px;border-bottom:1px solid #d9e4e8}.cg-view-pair{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:24px;align-items:center}.cg-view-pair .cg-load>.cg-model{height:285px}.cg-view-pair .cg-side{margin:0!important}.cg-view-pair .cg-side .cg-model{height:160px}.cg-load-controls{border-top:1px solid #d9e4e8;margin-top:16px;padding-top:16px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.cg-load-controls>strong{font-size:15px;font-weight:600}.cg-guide .cg-load-controls button{font-size:14px;padding:8px 15px}.cg-interactive .cg-spec{margin:5px 0 0!important}
@media(max-width:700px){.cg-size-row{display:block}.cg-size-row>strong{display:block;margin-bottom:10px}.cg-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.cg-guide .cg-presets button{padding:9px 4px;font-size:14px}.cg-angle-options{grid-template-columns:repeat(2,1fr);gap:12px 8px}.cg-angle-options>div>span{font-size:19px}.cg-view-pair{grid-template-columns:1fr;gap:20px}.cg-view-pair .cg-load>.cg-model{height:230px}.cg-view-pair .cg-side .cg-model{height:130px}.cg-load-controls{gap:10px}.cg-load-controls>div{gap:6px}.cg-guide .cg-load-controls button{padding:8px 10px;font-size:12px}.cg-interactive .cg-total strong{font-size:25px}}
.cg-size-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.cg-size-heading>strong{font-weight:600}
.cg-guide .cg-size-heading button,.cg-guide .cg-custom-form button{font:inherit;font-size:14px;padding:9px 13px;color:#24576c;background:#fff;border:1px solid #a5bcc7;border-radius:7px;cursor:pointer}
.cg-model-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cg-guide .cg-model-presets button{padding:10px 9px 14px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;border:1px solid #b6cbd3;border-radius:10px;background:#fff!important;color:#294e60!important;font:inherit;cursor:pointer;min-width:0;box-shadow:none!important}
.cg-guide .cg-model-presets button[aria-pressed=true]{background:#e0f0f5!important;border:2px solid #176889!important;padding:9px 8px 13px}
.cg-model-presets strong{font-size:16px;font-weight:600}.cg-model-presets small{font-size:12px;color:#617b85}.cg-preset-model{display:block;width:100%;height:95px;overflow:hidden}.cg-preset-model svg{display:block;width:100%;height:100%}.cg-custom-mark{font:300 48px/95px Arial;color:#739aa9;height:95px}
.cg-custom-form{display:flex;align-items:end;gap:14px;margin:16px 0}.cg-custom-form[hidden]{display:none!important}.cg-custom-form label{font-size:14px;font-weight:600;flex:1;min-width:0}.cg-custom-form label>span{font-size:12px;font-weight:400;color:#617b85}.cg-custom-form input{box-sizing:border-box;width:100%;display:block;margin-top:6px;padding:9px 11px;border:1px solid #9bb6c2;border-radius:7px;background:#fff;font:18px GuideLufga,Arial;color:#294e60}
.cg-selection-note{font-size:13px;color:#617b85;margin:10px 0 18px!important}.cg-selection-note[role=alert]{color:#a3352d}
.cg-dialog{max-width:1200px!important;width:calc(100% - 30px)!important;max-height:94vh!important;padding:26px!important;border:1px solid #bed1d9;border-radius:16px;background:#f7fafb;overflow:auto;color:#213f4b}.cg-dialog::backdrop{background:#183c4a80}.cg-dialog main{padding:10px!important;margin:0!important}.cg-dialog .cg-guide{padding:0!important}.cg-dialog [data-guide-close]{display:block;margin:0 0 8px auto;border:1px solid #b6cbd3;background:white;border-radius:8px;padding:8px 14px;color:#294e60;cursor:pointer;font:15px GuideLufga,Arial}
.cg-preview-launch{max-width:800px;margin:70px auto;background:#fff;border-radius:14px;padding:30px;font:17px/1.7 GuideLufga,Arial;color:#294e60}.cg-preview-launch button{font:inherit;border:1px solid #176889;border-radius:8px;background:#dceff5;color:#24576c;padding:10px 18px;cursor:pointer}
@media(max-width:700px){.cg-model-presets{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cg-model-presets strong{font-size:14px}.cg-preset-model,.cg-custom-mark{height:72px}.cg-custom-mark{line-height:72px}.cg-size-heading{align-items:start}.cg-size-heading button{max-width:155px}.cg-custom-form{flex-wrap:wrap;gap:10px}.cg-custom-form label{flex-basis:calc(50% - 10px)}.cg-custom-form button{width:100%}.cg-dialog{padding:14px!important;width:calc(100% - 16px)!important}.cg-dialog main{padding:0!important}}

/* Keep Store page styles from adding another frame inside this guide. */
.cg-dialog .cg-dialog-content{width:100%;max-width:none;background:transparent;border:0;box-shadow:none}.cg-dialog .cg-guide{background:transparent!important;border:0!important;box-shadow:none!important}
@media(max-width:700px){.cg-header{grid-template-columns:1fr;gap:10px}.cg-header .cg-units{justify-self:start}.cg-guide .cg-header h2{font-size:32px!important}.cg-header>p{grid-column:1;font-size:15px}.cg-dialog .cg-guide{margin:0!important}.cg-dialog .cg-dialog-content{padding:0!important}}
