/* Standalone production styles. Base layout preserves the approved concept. */
:root{color-scheme:light}
.website-panorama>img{height:auto;aspect-ratio:auto;object-fit:contain}
.website-intro .eyebrow-topic{white-space:normal}
.detail-photo img{height:auto;object-fit:contain}
.fine,.helptext{font-size:.9rem;line-height:1.65;color:#555e55}
.training-feature .fine{color:#e3e9e1}
.field{margin-bottom:22px}
.field label{display:block;font-weight:600;font-size:1rem;margin-bottom:7px}
.field input:not([type=checkbox]),.field select,.field textarea{display:block;width:100%;min-height:48px;padding:11px 13px;border:1px solid #859381;border-radius:2px;background:white;color:#252a26;font-size:1rem;line-height:1.5}
.field input:disabled{background:#edf0e9;color:#555}
.field textarea{resize:vertical}
.checkbox-field{display:flex;gap:12px;align-items:flex-start}
.checkbox-field input{flex:0 0 22px;width:22px;height:22px;margin-top:4px;accent-color:#285c32}
.checkbox-field label{font-size:.94rem;font-weight:400;line-height:1.7}
.helptext{margin:8px 0 0}.helptext ul{padding-left:20px}
.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.errorlist{color:#862d23;font-size:.95rem;padding-left:20px}
.error-summary{border:2px solid #943c30;padding:18px;margin-bottom:24px}
.error-summary ul{margin-bottom:0;padding-left:20px}
.error-summary a,.prose a,.fine a,.table-scroll a,.helptext a{text-decoration:underline;text-underline-offset:3px}
.field [aria-invalid=true]{border:2px solid #943c30!important}
.page-space{padding-top:80px;padding-bottom:110px}.narrow{max-width:780px}.page-space h1{margin-bottom:28px}
.prose h2{font-size:28px;margin:36px 0 18px}.prose p{font-size:1.05rem}
.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}
.messages{padding-top:24px}.messages p{margin:0}
.auth-card{max-width:570px;margin:60px auto 100px;padding:38px;background:#f2f3ef;border-top:3px solid #285c32}
.auth-card h1{font-size:43px;margin:18px 0}.auth-card form{margin:28px 0}.auth-card>.text-link{margin-top:14px}
.owner-space{padding:48px 0 96px}.owner-heading{display:flex;justify-content:space-between;gap:24px;align-items:start}.owner-heading h1{font-size:clamp(32px,4vw,52px)}
.owner-heading .fine{margin-bottom:4px}.owner-nav{display:flex;flex-wrap:wrap;gap:15px 32px;border-bottom:1px solid #bbc5b7;padding:27px 0;margin-bottom:24px}.owner-nav a{padding:6px 0;font-weight:600}
.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:32px 0 48px}.metric-grid article{padding:26px;background:#f2f3ef;border-top:2px solid #8da184;display:flex;flex-direction:column}.metric-grid strong{font-size:50px;line-height:1.4;font-weight:500}.metric-grid small{font-size:.85rem}
.table-scroll{overflow-x:auto;margin:24px 0;max-width:100%}.table-scroll table{width:100%;border-collapse:collapse;min-width:640px;font-size:.95rem}.table-scroll th,.table-scroll td{padding:17px 15px;text-align:left;border-bottom:1px solid #d8dcd4;vertical-align:top}.table-scroll thead{background:#edf0e9}.table-scroll tbody th{font-weight:600}.table-scroll form{margin:0}.table-scroll a{display:inline-block;min-height:30px}
.audit-section{margin-top:52px}.audit-section h2{font-size:29px}.audit-list{padding:0;list-style:none}.audit-list li{display:flex;gap:24px;flex-wrap:wrap;justify-content:space-between;border-bottom:1px solid #d8dcd4;padding:12px 0;font-size:.9rem}
.editor-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr);gap:60px}.owner-form{background:#f5f6f2;padding:28px;min-width:0}.editor-guide{padding:25px 0}.editor-guide h2{font-size:27px;margin-bottom:24px}.danger{color:#862d23}.owner-form .actions{margin-top:30px}
.inquiry-detail{max-width:900px}.inquiry-detail h2{margin:15px 0}.inquiry-detail .inquiry-message{background:#f2f3ef;padding:26px;margin:28px 0}.status-form{display:flex;flex-wrap:wrap;gap:18px;align-items:center}.status-form select{padding:9px}.pagination{display:flex;justify-content:space-between;gap:20px}
.schedule-toolbar select{padding:10px;background:#fff;font:inherit}.schedule-toolbar{flex-wrap:wrap}
.empty-state{padding:38px 24px;background:#fff}.empty-state h3{margin-bottom:20px}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #285c32;outline-offset:4px}
@media(max-width:760px){.editor-grid{grid-template-columns:1fr;gap:20px}.metric-grid{grid-template-columns:1fr;gap:12px}.metric-grid article{padding:20px}.owner-heading{flex-direction:column}.owner-form{padding:22px 18px}.owner-space{padding-top:34px}.auth-card{margin:35px 20px 60px;padding:25px}.auth-card h1{font-size:36px}.page-space{padding-top:48px;padding-bottom:65px}.status-form{align-items:stretch}.inquiry-detail .inquiry-message{padding:20px}.owner-nav{gap:8px 20px}.table-scroll table{min-width:620px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media(max-width:760px){html:not(.js) .header{flex-wrap:wrap}html:not(.js) .menu-button{display:none}html:not(.js) #navigation{display:flex;position:static;flex-basis:100%;flex-wrap:wrap;box-shadow:none;padding:16px 0;background:white}}
@media print{.header,footer,.actions,.owner-nav{display:none}.page-space{padding:0}.wrap{width:100%;max-width:none}.table-scroll{overflow:visible}}

.view-switch a{padding:10px 20px;min-width:80px;text-align:center;font-weight:600;font-size:.94rem}.view-switch a[aria-current=page]{background:#285c32;color:white}.calendar-day.empty{color:#65725f;background:#f2f3ef}

/* Owner-only editing controls. Public-facing layout and branding remain unchanged. */
.owner-intro{max-width:760px;font-size:1.05rem;line-height:1.75;margin:18px 0 30px}
.owner-task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0 34px}
.owner-task{display:flex;flex-direction:column;gap:12px;min-width:0;background:#f2f3ef;border-top:3px solid #285c32;padding:24px;text-decoration:none;min-height:170px}
.owner-task strong{font-size:1.18rem;font-weight:700}
.owner-task__description{font-size:.93rem;line-height:1.6;overflow-wrap:break-word}
.owner-task__arrow{display:block;align-self:flex-end;margin-top:auto;color:#285c32;font-size:1.5rem;line-height:1}
.owner-task:hover,.owner-task:focus-visible{background:#e9eee5}
.owner-group-title{font-size:1.45rem;line-height:1.3;margin:35px 0 22px;padding:0 0 10px;border-bottom:1px solid #b7c4b4}
.owner-group-title:first-of-type{margin-top:0}
.owner-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}
.owner-photo-card{border:1px solid #d8dcd4;min-width:0}
.owner-photo-card img{display:block;width:100%;height:225px;object-fit:cover;background:#edf0e9}
.owner-photo-card>div{padding:23px}.owner-photo-card h2{font-size:1.2rem;margin:0 0 20px}
.owner-photo-preview{display:block;width:100%;max-width:700px;height:auto;max-height:400px;object-fit:contain;background:#edf0e9;margin:15px 0 22px}
.owner-restore-form{margin-top:25px}.owner-nav a[aria-current=page]{text-decoration:underline}
@media(min-width:761px) and (max-width:1100px){.owner-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.owner-task-grid,.owner-photo-grid{grid-template-columns:1fr}.owner-task{min-height:150px}.owner-photo-card img{height:220px}}

.owner-task-grid + .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.owner-task-grid + .metric-grid{grid-template-columns:1fr}}

/* Lightweight owner features: announcement, practical help and safe restore controls. */
.site-announcement{background:#e6eddf;color:#1e4629;border-bottom:1px solid #b4c8b1;text-align:center;padding:12px 0;font-size:.97rem;font-weight:600;line-height:1.55}
.site-announcement .wrap{overflow-wrap:anywhere}
.owner-reset{margin-top:36px;padding-top:22px;border-top:1px solid #bdc8b9}
.owner-reset h3{font-size:1.2rem;margin-bottom:12px}
.owner-restore-form button,.owner-reset button{cursor:pointer}
.owner-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:25px}
.owner-help-grid section{background:#f2f3ef;border-top:3px solid #285c32;padding:24px;min-width:0}
.owner-help-grid h2{font-size:1.25rem;margin-bottom:12px}
.owner-help-grid p{line-height:1.7;margin-bottom:0}
.owner-help-grid a{text-decoration:underline;text-underline-offset:3px}
.owner-photo-card .fine{margin:6px 0 18px}
@media(max-width:760px){.owner-help-grid{grid-template-columns:1fr;gap:14px}.owner-help-grid section{padding:19px}}

/* Six-category products catalog */
.product-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:7vw;align-items:end;padding:100px 0 80px}.product-hero h1 span{color:var(--green)}.product-hero-intro p{font-size:1.12rem;color:#49534b;line-height:1.8}.product-section{padding:15px 0 90px;scroll-margin-top:95px}
.product-section-heading{display:flex;gap:60px;align-items:end;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:28px;margin-bottom:32px}.product-section-heading h2{max-width:650px}.product-section-heading>p{max-width:355px;color:var(--gray);margin:0}
.product-grid,.product-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.product-card{border:1px solid var(--line);display:flex;flex-direction:column;min-width:0}.product-photo{position:relative;aspect-ratio:1.6;overflow:hidden;background:#e2e9df}.product-photo img{width:100%;height:100%;object-fit:cover}.product-photo span{position:absolute;left:16px;top:16px;background:#fff;color:var(--green);font:600 .82rem var(--mono);padding:6px 12px}
.product-card-body{display:flex;flex:1;flex-direction:column;padding:25px}.product-card h3{font-size:clamp(21px,2vw,26px);margin-bottom:14px}.product-card-body>p{color:#4a564d;font-size:.95rem;line-height:1.75}
.product-list{border-top:1px solid var(--line);padding-top:13px;margin-top:auto}.product-list summary{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:700;color:var(--green);cursor:pointer;list-style:none}.product-list summary::-webkit-details-marker{display:none}.product-list summary span{font-size:25px;line-height:1}.product-list[open] summary span{transform:rotate(45deg)}.product-list ul{padding:14px 0 10px 22px;margin:0}.product-list li{font-size:.95rem;padding:5px 0;overflow-wrap:anywhere}.product-card .text-link{margin-top:20px;align-self:flex-start;font-size:.9rem}.product-note{margin-top:30px;max-width:860px}
.product-feature-section{background:var(--warm);padding:96px 0}.product-feature-section h2{margin-bottom:40px;max-width:710px}.product-features article{display:flex;flex-direction:column;background:white;min-width:0}.product-features img,.product-feature-type{width:100%;aspect-ratio:1.6;object-fit:cover;background:#dae5d8}.product-features article>div:last-child{padding:26px;display:flex;flex:1;flex-direction:column}.product-features h3{font-size:25px;margin-bottom:14px}.product-features p:not(.eyebrow){color:#4a564d;font-size:.95rem}.product-features .eyebrow{font-size:.75rem;margin-bottom:15px}.product-features .text-link{margin-top:auto;align-self:flex-start}
.product-feature-type{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:var(--green);color:#fff;font:500 .8rem var(--mono);letter-spacing:.1em}.product-feature-type strong{font:500 clamp(48px,5vw,82px) var(--font);letter-spacing:-.05em}
.product-bottom{display:flex;justify-content:space-between;align-items:center;gap:40px;padding:80px 0}.product-bottom h2{margin-bottom:16px}.product-bottom p:not(.eyebrow){color:var(--gray);margin:0}.product-bottom .button{flex-shrink:0}
@media(max-width:1050px){.product-grid,.product-features{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.product-hero{grid-template-columns:1fr;gap:20px;padding:52px 0}.product-section-heading{flex-direction:column;align-items:flex-start;gap:20px}.product-grid,.product-features{grid-template-columns:1fr;gap:18px}.product-card-body{padding:22px}.product-feature-section{padding:60px 0}.product-bottom{flex-direction:column;align-items:flex-start;padding:62px 0}.product-bottom .button{flex-shrink:1}}


/* Owner catalog editor */
.owner-products-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:40px;align-items:start}
.owner-products-main,.owner-products-sidebar{min-width:0}
.owner-products-form{padding:0;background:transparent}
.owner-product-group{padding:26px 28px 12px;margin-bottom:22px;background:#f5f6f2;border:1px solid #d9dfd5;border-top:3px solid #285c32;min-width:0}
.owner-product-group-heading{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;align-items:start;margin-bottom:24px}
.owner-product-group-heading .eyebrow{margin:0 0 5px;font-size:.72rem}
.owner-product-group-heading h2{font-size:clamp(22px,2.2vw,29px);line-height:1.2;margin:0;overflow-wrap:anywhere}
.owner-catalog-field{max-width:100%;min-width:0}
.owner-products-sidebar{padding:0}
.owner-add-category,.owner-products-tips,.owner-products-reset{padding:24px;margin-bottom:24px;background:#f4f6f1;border:1px solid #d9dfd5}
.owner-add-category h2,.owner-products-tips h2,.owner-products-reset h2{font-size:24px;line-height:1.25;margin:0 0 14px}
.owner-products-sidebar p{line-height:1.6}
.owner-products-sidebar .button{width:100%;text-align:center}
.owner-item-editor{margin-top:6px}
.owner-item-list{display:grid;gap:10px}
.owner-item-row{display:flex;align-items:center;gap:10px;min-width:0}
.owner-item-row .owner-item-name{display:block;min-width:0;flex:1;width:100%;min-height:46px;font:inherit;font-size:.94rem;line-height:1.4;padding:10px 12px;background:#fff;border:1px solid #879588;border-radius:2px}
.owner-add-product,.owner-remove-product,.owner-danger-button{font:inherit;cursor:pointer;border-radius:2px;min-height:42px}
.owner-add-product{display:inline-flex;align-items:center;margin:16px 0 0;padding:10px 16px;border:1px solid #285c32;background:#fff;color:#285c32;font-weight:700}
.owner-remove-product{padding:8px 10px;border:1px solid #b7bdb4;background:transparent;color:#5e3530;font-size:.86rem;white-space:nowrap}
.owner-add-product:disabled,.owner-remove-product:disabled{cursor:not-allowed;opacity:.48}
.owner-products-form textarea[data-product-items][hidden]{display:none}
.owner-category-delete{max-width:100%;font-size:.87rem}
.owner-category-delete summary{cursor:pointer;color:#862d23;text-decoration:underline;text-underline-offset:3px;min-height:28px}
.owner-delete-confirm{background:#fff;border:1px solid #dac6be;padding:15px;margin-top:8px;max-width:360px}
.owner-delete-confirm p{line-height:1.5;margin:0 0 14px}
.owner-delete-confirm label{display:flex;gap:10px;align-items:start;font-size:.84rem;line-height:1.5}
.owner-delete-confirm input{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0;accent-color:#862d23}
.owner-danger-button{padding:9px 12px;background:#862d23;color:white;border:0;margin-top:14px;font-weight:600}
.owner-delete-external-form{display:none}
.owner-products-save{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin:28px 0 40px}
@media(max-width:930px){.owner-products-layout{grid-template-columns:1fr;gap:10px}.owner-products-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px}.owner-add-category{grid-row:span 2}.owner-add-category,.owner-products-tips,.owner-products-reset{margin:0}}
@media(max-width:620px){.owner-products-sidebar{display:block}.owner-add-category,.owner-products-tips,.owner-products-reset{margin-bottom:18px}.owner-product-group{padding:23px 16px 6px}.owner-item-row{gap:6px}.owner-remove-product{padding:7px}.owner-product-group-heading{gap:9px}.owner-products-save .button{width:100%;text-align:center}}

/* Prevent the 300px challenge iframe from setting the form grid's minimum width.
   The responsive renderer can then measure the real available space. */
.contact > .inquiry-form { min-width: 0; max-width: 100%; }
.inquiry-turnstile-wrap { min-width: 0; width: 100%; max-width: 100%; }

.inquiry-form .turnstile-fallback { padding: 12px 14px; border-left: 3px solid var(--green); background: #e8eee4; color: var(--ink); }
.inquiry-form .turnstile-fallback a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
/* Additional owner-managed photos are optional; default homepage is unchanged. */
.project-gallery{padding:88px 0 100px}
.project-gallery .section-heading{margin-bottom:30px}
.project-gallery .section-heading h2{font-size:clamp(30px,3.5vw,43px)}
.project-gallery .section-heading>p{max-width:380px;line-height:1.7;color:var(--gray)}
.project-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.project-gallery-item{margin:0;min-width:0;border:1px solid var(--line);background:var(--warm)}
.project-gallery-item img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.project-gallery-item figcaption{display:flex;flex-direction:column;gap:5px;padding:16px 18px;font-size:.9rem;line-height:1.5;color:var(--ink)}
.project-gallery-item figcaption small{font-size:.8rem;color:var(--gray)}
.owner-gallery-heading{align-items:center;margin:54px 0 25px}
.owner-gallery-heading p{max-width:560px;margin:10px 0 0;color:var(--gray);line-height:1.6}
.owner-gallery-heading .button{flex-shrink:0}
.owner-photo-card h3{font-size:1.13rem;margin:0 0 16px}
@media(max-width:900px){.project-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.project-gallery{padding:55px 0 65px}.project-gallery-grid{grid-template-columns:1fr;gap:18px}.owner-gallery-heading{flex-direction:column;align-items:flex-start;gap:18px}.owner-gallery-heading .button{width:100%;justify-content:center}}

/* Saved-course controls keep comfortable form widths on tablets and phones. */
.course-editor-grid{gap:32px}
.course-editor-grid>*,.course-library-card{min-width:0}
.course-editor-grid input:not([type=checkbox]),.course-editor-grid select,.course-editor-grid textarea{min-width:0;max-width:100%}
.course-editor-grid .actions,.course-library-card .actions{flex-wrap:wrap;gap:12px}
.course-library-card{background:#f2f3ef;border-top:3px solid #285c32;padding:24px;overflow-wrap:anywhere}
.course-library-card h2{font-size:1.5rem;margin-bottom:16px}
.course-library-card .button{white-space:normal}
@media(max-width:960px){.course-editor-grid{grid-template-columns:1fr;gap:20px}}


/* Owner-only CCB hub. Course actions stay visible without table scrolling. */
.ccb-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0 34px}
.ccb-course-card{min-width:0;background:#f2f3ef;border-top:3px solid #285c32;padding:25px;display:flex;flex-direction:column;gap:12px}
.ccb-course-card h3{font-size:clamp(20px,2.3vw,26px);line-height:1.3;margin:0;overflow-wrap:anywhere}
.ccb-course-card p{margin:0;line-height:1.6}
.ccb-course-date{font-size:.95rem;color:#555e55}
.ccb-course-status{font-size:.95rem}
.ccb-course-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:auto;padding-top:8px}
.ccb-course-actions a{text-decoration:underline;text-underline-offset:3px;font-weight:600}
@media(max-width:760px){.ccb-course-grid{grid-template-columns:1fr}.ccb-course-card{padding:21px}}

/* Read-only sample certificates in owner CCB hub */
.ccb-sample-downloads{background:#f2f3ef;border-left:4px solid #285c32;padding:24px;margin:24px 0 36px;max-width:850px}
.ccb-sample-downloads h2{font-size:clamp(22px,2.8vw,30px);line-height:1.3;margin:0 0 12px}
.ccb-sample-downloads p{font-size:.97rem;line-height:1.7;margin:0 0 18px}
.ccb-sample-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px 22px}
.ccb-sample-actions a{max-width:100%;overflow-wrap:anywhere}
@media(max-width:520px){.ccb-sample-downloads{padding:18px}.ccb-sample-actions{align-items:stretch;flex-direction:column}.ccb-sample-actions a{display:block;white-space:normal;text-align:center}}
