.chct{--chct-ink:#252e44;--chct-muted:#63707a;--chct-soft:#f4f9fc;--chct-accent:#80dce3;--chct-green:#72e5af;color:var(--chct-ink);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.55;min-width:0;margin-block:0}
.chct *{box-sizing:border-box}.chct [hidden]{display:none!important}
.chct h2,.chct h3{color:var(--chct-ink);overflow-wrap:anywhere}
.chct a{color:#153868;text-decoration:underline;text-underline-offset:3px}
.chct button,.chct input,.chct select,.chct textarea{font:inherit;max-width:100%}
.chct button:focus-visible,.chct a:focus-visible,.chct input:focus-visible,.chct select:focus-visible,.chct textarea:focus-visible,.chct summary:focus-visible{outline:3px solid #153868;outline-offset:3px}
.chct-form-fragment,.chct-output{padding:24px;border:1px solid #dce6eb;border-radius:8px;min-width:0}
.chct-form-fragment{background:#fff;box-shadow:0 6px 24px rgba(37,46,68,.06)}
.chct-output{background:#f4f9fc;border-top:3px solid #72e5af}
.chct-toolbar{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;font-size:11px;line-height:1.5;color:#52616e;margin-bottom:24px}
.chct-tag{display:inline-block;background:#dcf8eb;color:#214c41;border-radius:4px;padding:4px 8px;font-size:11px;font-weight:700;line-height:1.5}
.chct-form{margin:0!important}
html body #main-content .chct .chct-form-title,html body #main-content .chct .chct-result-title{display:flex;gap:10px;align-items:center;margin:0 0 20px!important;font-family:Arial,Helvetica,sans-serif!important;font-size:20px!important;font-weight:700!important;line-height:1.3!important;letter-spacing:-.3px!important;text-transform:none!important;color:#252e44!important}
.chct-step{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;background:#dcf8eb;border-radius:6px;font:700 11px/1 Arial,Helvetica,sans-serif;letter-spacing:0}
.chct-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.chct-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.chct-field{display:flex;flex-direction:column;gap:6px;margin:0!important;min-width:0;font-weight:400}
.chct-field>span{font-size:13px;font-weight:600;line-height:1.5;color:#252e44}
.chct-field small{color:#52616e;font-size:12px;font-weight:400;line-height:1.5;margin:0!important;padding:0!important}
.chct-field input,.chct-field select,.chct-field textarea{display:block;width:100%;min-width:0;max-width:100%;padding:11px 12px!important;border:1px solid #cdd8df;border-radius:6px;background-color:#fff;color:#252e44;font:400 14px/1.4 Arial,Helvetica,sans-serif!important;letter-spacing:normal;margin:0!important;box-shadow:none;height:auto}
.chct-field select{background-repeat:no-repeat!important;background-position:right 4px center!important;background-size:40px 16px!important;padding-right:42px!important}
.chct-field textarea{resize:vertical;min-height:110px}.chct-field input[type=date]{min-height:43px}.chct-field input[type=file]{font-size:12px!important;padding:10px!important}
.chct-field:has(textarea),.chct-field:has(input[type=file]){grid-column:1/-1}
.chct-actions,.chct-output-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:20px}
html body #main-content .chct button{font:600 13px/1.4 Arial,Helvetica,sans-serif!important;letter-spacing:0!important;text-transform:none!important;cursor:pointer;white-space:normal;margin:0!important;padding:10px 14px;border:1px solid #cdd8df;border-radius:6px;box-shadow:none;color:#252e44!important;-webkit-text-fill-color:#252e44!important;background:#fff!important}
html body #main-content .chct button.chct-primary{background:#252e44!important;border-color:#252e44;color:#fff!important;-webkit-text-fill-color:#fff!important;padding:11px 20px}
html body #main-content .chct button.chct-primary:hover{background:#153868!important}
html body #main-content .chct button:disabled{opacity:.45;cursor:default}
.chct-output-actions{padding-top:16px;border-top:1px solid #dce6eb}
html body #main-content .chct .chct-output-actions button{font-size:12px!important;padding:8px 10px}
.chct-result p{margin:0 0 12px;font-size:13px;line-height:1.6}.chct-result>p:last-child{margin-bottom:0}
.chct-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 20px}
.chct-metric{padding:14px;background:#fff;border-radius:6px;min-width:0;border:1px solid #e2ebef}
.chct-metric dt{font-size:11px;color:#52616e;line-height:1.5}.chct-metric dd{font-weight:700;font-size:25px;line-height:1.25;margin:6px 0 0;overflow-wrap:anywhere;color:#252e44}
.chct-result ul{padding-left:18px;margin:0 0 16px;font-size:14px;line-height:1.65}.chct-result li{margin-bottom:7px}.chct-lines{white-space:pre-wrap;overflow-wrap:anywhere}
.chct-notice{padding:12px;border-left:3px solid #80dce3;background:#fff;overflow-wrap:anywhere;font-size:12px!important}
.chct-error{padding:12px;background:#fff2ed;border-left:3px solid #8a331b;color:#632614;margin-bottom:16px;overflow-wrap:anywhere;font-size:13px}
.chct-feedback{font-size:12px;margin:12px 0 0;color:#52616e}.chct-feedback:empty{display:none}
.chct-table-wrap{overflow-x:auto;max-width:100%;margin-top:16px}.chct table{border-collapse:collapse;width:100%;font-size:12px;table-layout:auto;margin:0}.chct th,.chct td{padding:9px 7px;border:0;border-bottom:1px solid #dce6eb;text-align:left;overflow-wrap:anywhere}.chct th{font-size:11px;font-weight:600;color:#52616e}.chct td:first-child{max-width:14rem}
.chct-local-details{margin-top:20px;border-top:1px solid #e2ebef;padding-top:14px;font-size:12px}.chct-local-details summary{cursor:pointer;list-style:none;color:#52616e;font-weight:400}.chct-local-details summary::-webkit-details-marker{display:none}.chct-local-details summary:before{content:'+';display:inline-block;width:17px;color:#252e44;font-weight:700}.chct-local-details[open] summary:before{content:'−'}
.chct-local{margin-top:12px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px}.chct-local span{width:100%;color:#52616e}
html body #main-content .chct .chct-local button{font-size:11px!important;padding:7px 9px}
.chct-row-editor{grid-column:1/-1}.chct-people-intro{font-size:13px;line-height:1.6;margin:0 0 16px!important;color:#52616e}
.chct-people-rows{display:grid;gap:12px}.chct-person-row{display:grid;grid-template-columns:minmax(0,1fr) 110px 30px;gap:10px;align-items:end}
html body #main-content .chct button.chct-person-remove{padding:10px 0;border:0!important;background:transparent!important;font-size:22px!important;line-height:22px!important;color:#63707a!important;-webkit-text-fill-color:#63707a!important}
html body #main-content .chct button.chct-person-add{margin-top:14px!important;padding:8px 10px;background:#f4f9fc!important;font-size:12px!important;border-style:dashed}
.chct-people-hint{font-size:12px;line-height:1.6;color:#52616e;margin:14px 0 0!important}
.chct-sketch{display:block;max-width:100%;width:100%;height:auto;max-height:340px;margin-block:16px;background:#fff;border-radius:6px}
.chct-check{display:flex;align-items:flex-start;gap:10px;margin:10px 0;font-weight:400;font-size:13px;overflow-wrap:anywhere}.chct-check input{width:17px;height:17px;flex:0 0 auto;margin-top:2px;accent-color:#153868}.chct-check:has(input:checked) span{text-decoration:line-through;color:#63707a}
.chct-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}.chct-card{display:flex;flex-direction:column;align-items:flex-start;padding:24px;background:#fff;border:1px solid #dce6eb;border-radius:8px;min-width:0}.chct-card h3{font-size:20px!important;line-height:1.35;margin:16px 0 10px!important}.chct-card h3 a{text-decoration:none}.chct-card p{font-size:14px;margin:0 0 24px}.chct-card-link{margin-top:auto;font-weight:600;font-size:12px}.chct-card:nth-child(4n+1){border-top:3px solid #72e5af}.chct-card:nth-child(4n+3){border-top:3px solid #80dce3}.chct-count{font-size:12px;color:#52616e;margin-top:8px}
.chct-catalog-region .chct-catalog{margin-top:0}
.chct-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.chct-product{min-width:0;padding:12px;background:#fff;border:1px solid #dce6eb;border-radius:6px}.chct-product img{display:block;max-width:100%;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff;margin-bottom:10px}.chct-product a{font-weight:600;font-size:13px;display:block;overflow-wrap:anywhere}.chct-product p{margin:8px 0 0;font-size:12px}
.chct-preview{display:block;max-width:100%;max-height:280px;width:auto;height:auto;margin:16px auto}
@media(max-width:959px){.chct-workspace{grid-template-columns:1fr;gap:18px}.chct-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.chct-form-fragment,.chct-output{padding:20px}.chct-fields,.chct-catalog,.chct-products{grid-template-columns:1fr}.chct-person-row{grid-template-columns:minmax(0,1fr) 94px 24px;gap:8px}.chct-toolbar{font-size:10px;gap:8px;margin-bottom:20px}.chct-tag{font-size:10px}.chct-metric{padding:12px}.chct-metric dd{font-size:23px}.chct-card{padding:20px}.chct-output .chct-table-wrap{font-size:11px}.chct th,.chct td{padding:8px 5px}}
@media(prefers-reduced-motion:reduce){.chct *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.chct-toolbar,.chct-form-fragment,.chct-local-details,.chct-output-actions,.chct-feedback{display:none!important}.chct-workspace{display:block}.chct-output{border:0;background:#fff;padding:0}.chct-result{break-inside:auto}}

.chct-output{scroll-margin-top:140px}.chct-output:focus-visible{outline:3px solid #153868;outline-offset:4px}
.chct-local-feedback{font-size:12px;line-height:1.6;color:#214c41;margin:12px 0 0}.chct-local-feedback:empty{display:none}
.chct-save-state{font-weight:600;color:#252e44}
html body #main-content .chct button.chct-open-checks{margin-top:12px!important}
html body #main-content .chct button.chct-more-products{margin-top:18px!important}
.chct-edit{display:none!important}
@media(max-width:959px){html body #main-content .chct .chct-edit{display:inline-block!important}}
.chct-metrics>.chct-metric:last-child:nth-child(odd){grid-column:1/-1}
.chct-person-row:not(:first-child) .chct-field>span{display:none}
.chct-budget-row{display:grid;grid-template-columns:minmax(0,1fr) 100px 100px 28px;gap:10px;align-items:end}
.chct-budget-progress{margin-bottom:18px}.chct-budget-progress p{font-size:12px!important;color:#52616e}.chct-budget-progress progress{display:block;width:100%;height:8px;border:0;border-radius:4px;overflow:hidden;accent-color:#153868;background:#dce6eb}.chct-budget-progress progress::-webkit-progress-bar{background:#dce6eb}.chct-budget-progress progress::-webkit-progress-value{background:#153868}.chct-budget-progress progress::-moz-progress-bar{background:#153868}
.chct-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.chct-filter-status{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-top:12px}.chct-filter-status .chct-count{margin:0}
html body #main-content .chct .chct-filters button{font-size:12px!important;padding:8px 11px}
html body #main-content .chct .chct-filters button[aria-pressed="true"]{background:#dcf8eb!important;border-color:#72e5af;color:#214c41!important;-webkit-text-fill-color:#214c41!important}
html body #main-content .chct .chct-filter-status button{font-size:11px!important;padding:6px 8px;border:0;background:transparent!important;text-decoration:underline}
.chct-no-results{padding:20px;background:#f4f9fc;border:1px solid #dce6eb;border-radius:8px;font-size:14px}
@media(max-width:520px){.chct-budget-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 24px;gap:10px 8px;padding-bottom:14px;border-bottom:1px solid #e2ebef}.chct-budget-row>label:first-child{grid-column:1/3}.chct-budget-row>label:nth-child(2){grid-column:1;grid-row:2}.chct-budget-row>label:nth-child(3){grid-column:2;grid-row:2}.chct-budget-row>button{grid-column:3;grid-row:1}.chct-filters{gap:6px}}
@media(max-width:767px){.chct-field input:not([type=file]),.chct-field select,.chct-field textarea{font-size:16px!important}}

/* These colors are limited to existing tool pages. Keep the shared navbar,
   contact-widget geometry, consent banner and other shop pages unchanged. */
html body.cosplayhero-tools-page .menu-light .menu-smart>li:is(.current-menu-ancestor,.current-menu-parent,.current-menu-item)>a:not(.block-wrapper-parent *){color:#0c6370!important;-webkit-text-fill-color:#0c6370!important}
html body.cosplayhero-tools-page #arcontactus .arcu-item-title,
html body.cosplayhero-tools-page #arcontactus .arcu-item-subtitle{color:#252e44!important;-webkit-text-fill-color:#252e44!important}

/* Secondary tool controls retain readable labels under the shop button palette. */
html body.cosplayhero-tools-page #main-content .chct button:not(.chct-primary) {
  color: #252e44 !important;
  -webkit-text-fill-color: #252e44 !important;
}
html body.cosplayhero-tools-page #main-content .chct .chct-filters button[aria-pressed="true"] {
  color: #214c41 !important;
  -webkit-text-fill-color: #214c41 !important;
}
