.services-page{max-width:1240px;margin:auto;padding:64px 32px 90px}.services-page h1{font-size:clamp(32px,5vw,62px);line-height:1.08;letter-spacing:-2px;max-width:850px}.service-intro{font-size:17px;color:var(--muted,#74736c);line-height:1.7;max-width:690px;margin:22px 0 40px}.service-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:35px 0}.service-card{border:1px solid #dddcd5;border-radius:18px;padding:28px;background:#f7f6f0;display:flex;flex-direction:column;color:inherit;text-decoration:none;min-width:0}.service-card.available{background:#fff}.service-card.available:hover{border-color:#ab5b3f;box-shadow:0 12px 40px #3026200d}.service-card .badge{align-self:flex-start}.service-card img{width:100%;height:170px;object-fit:contain;margin:25px 0}.service-card h2{font-size:24px;margin-bottom:12px}.service-card p{line-height:1.7;color:#74736c;flex:1;margin-bottom:24px}.service-symbol{height:170px;margin:25px 0;display:grid;place-items:center;font-size:100px;color:#9d927c}.circuit-symbol{color:#829986}.studio-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;align-items:start}.studio-viewer{position:relative;padding:0;overflow:hidden;background:radial-gradient(ellipse at center,#f5eee0,#e8e8df);height:460px;border-radius:18px}#model-viewer{width:100%;height:100%;touch-action:none}#model-viewer canvas{display:block;width:100%;height:100%}.viewer-tools{position:absolute;bottom:16px;left:16px;right:16px;display:flex;gap:8px}.viewer-tools .button{font-size:12px;padding:9px 14px}.upload-panel{margin-top:18px}.upload-panel input{max-width:100%}.print-options h2{margin:8px 0 25px}.print-options select{width:100%;min-width:0}.price-result{border-top:1px solid #dedbd3;margin-top:25px;padding-top:25px}.price-result>strong{font-size:38px;letter-spacing:-1px}#studio-message,#checkout-message{line-height:1.6;margin-top:16px}.draft-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #e8e5dd}.draft-row button:first-child{flex:1;text-align:left;overflow-wrap:anywhere}.services-promo{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 5%;background:#eee9dd}.services-promo h2{font-size:23px}.services-promo p{color:#6c695f;margin-top:7px}.print-admin-table{width:100%;border-collapse:collapse}.print-admin-table td,.print-admin-table th{padding:8px;text-align:left}.print-admin-table input{min-width:80px;width:100%}.print-admin-scroll{overflow:auto}.print-order-settings{font-size:12px;line-height:1.6;color:#666}.print-service-nav{white-space:nowrap}.print-form-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.service-card [aria-disabled]{opacity:.7}
@media(max-width:780px){.services-page{padding:35px 18px 60px}.service-cards{grid-template-columns:1fr;gap:16px}.service-card img,.service-symbol{height:130px;margin:15px 0}.studio-layout{grid-template-columns:1fr}.studio-viewer{height:340px}.services-promo{align-items:flex-start;flex-direction:column}.print-service-nav{font-size:12px}.studio-page .form-grid{grid-template-columns:1fr 1fr}.studio-page .header{padding:14px}.services-page h1{letter-spacing:-1px}.print-options{padding:22px}.service-intro{font-size:15px;margin-bottom:25px}}
@media(max-width:380px){.studio-page .form-grid{grid-template-columns:1fr}.header-actions{gap:9px}}

.services-page button.text-link,#printing-tab button.text-link{appearance:none;background:none;border:0;border-radius:0;padding:4px 0;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.studio-page .header-actions{gap:18px}#model-viewer.preview-unavailable{display:flex;align-items:center;justify-content:center;text-align:center;padding:35px;color:#74736c;line-height:1.6}.print-admin-table input[type=color]{height:42px;padding:5px}
.studio-layout>section{min-width:0}.studio-viewer,#model-viewer{min-width:0;max-width:100%}#model-viewer canvas{max-width:100%}@media(max-width:780px){.studio-layout{grid-template-columns:minmax(0,1fr)}}

.services-promo{max-width:1440px;margin:18px 5% 0;border:1px solid #dfdbd0;border-radius:14px;padding:30px 32px;text-decoration:none;color:inherit;transition:background .15s,border-color .15s}.services-promo:hover{background:#e8e1d2;border-color:#b9ad96}.services-promo:focus-visible{outline:3px solid #aa4c2d;outline-offset:4px}.services-promo .button{flex-shrink:0}.studio-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.color-field{margin:0 0 18px;padding:0;border:0;min-width:0;grid-column:1/-1}.color-field legend{font-size:12px;margin-bottom:9px}.color-choices{display:flex;flex-wrap:wrap;gap:8px}.color-choice{display:inline-flex;gap:8px;align-items:center;border:1px solid #d9d9ce;border-radius:7px;background:white;padding:9px 10px;color:inherit;font:inherit;font-size:12px;cursor:pointer;text-align:left}.color-choice[aria-pressed=true]{border-color:#a64726;box-shadow:inset 0 0 0 1px #a64726;background:#faf3ec}.color-choice:focus-visible{outline:2px solid #a64726;outline-offset:3px}.color-chip{width:20px;height:20px;border-radius:50%;border:1px solid #0003;flex:none}.print-options small{display:block;line-height:1.5;margin-top:6px}.print-options .form-grid{gap:0 18px}.studio-layout>.print-options{width:100%}@media(min-width:1600px){.services-promo{margin-left:auto;margin-right:auto}}@media(max-width:780px){.studio-layout{grid-template-columns:minmax(0,1fr)}.services-promo{padding:24px;margin:16px 5% 0}.studio-page .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:380px){.studio-page .form-grid{grid-template-columns:minmax(0,1fr)}}

.print-options .form-grid>label{display:flex;flex-direction:column;justify-content:flex-start}.print-options .form-grid>label.check{flex-direction:row}.print-options .form-grid select,.print-options .form-grid input[type=number]{height:46px;min-height:46px;box-sizing:border-box;margin-top:8px;padding:10px 12px;font:inherit}.print-options .form-grid label small{margin-top:6px}.print-options #print-form>.check{margin:18px 0;align-items:flex-start;line-height:1.5}#print-checkout .delivery-address-card p{white-space:pre-line}#print-checkout #price-result{margin:20px 0}

.print-admin-table .material-colour{min-width:140px;white-space:nowrap;margin:6px 0}.print-admin-table .material-colour input{min-width:0;width:16px;height:16px;flex:none}

.upload-progress-panel{margin-top:18px}.upload-progress-row{display:flex;align-items:center;gap:12px;margin:12px 0}.upload-progress-row progress{flex:1;width:100%;min-width:0;height:12px;accent-color:var(--accent,#ab5b3f)}#upload-percent{font-size:13px;white-space:nowrap}

.model-loading{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:28px;text-align:center;background:rgba(250,248,245,.96);color:#342e29}
.model-loading[hidden]{display:none}
.model-loading,.fabrication-loading,.laser-preview-loading{overflow-wrap:anywhere}
.model-loading[data-state="error"],.fabrication-loading[data-state="error"],.laser-preview-loading[data-state="error"]{background:#fff3ef;color:#8b3027}
.model-loading strong,.laser-preview-loading strong{max-width:100%}
.model-loading p{max-width:340px;margin:0;font-size:14px;line-height:1.6}
.model-spinner{width:40px;height:40px;border:3px solid #ddd4cb;border-top-color:var(--accent,#ab5b3f);border-radius:50%;animation:model-spin 1s linear infinite}
@keyframes model-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.model-spinner{animation:none}}

/* Machines and finished products make each service immediately recognizable. */
.services-promo.services-showcase{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(0,2fr);gap:32px;padding:32px;background:#f0ecdf}
.services-promo-copy{min-width:0}.services-promo-copy h2{font-size:clamp(24px,2.4vw,34px);line-height:1.2;letter-spacing:-.7px;margin:14px 0}
.services-promo-copy>p:not(.eyebrow){line-height:1.65;max-width:340px}.services-promo-copy .button{margin-top:22px;gap:20px}
.service-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-width:0;align-items:start}
.service-previews figure{margin:0;min-width:0}.service-previews img{display:block;width:100%;height:auto;aspect-ratio:3/2;border-radius:12px;transition:transform .2s}
.service-previews figcaption{padding:12px 2px 0;display:flex;flex-direction:column;gap:6px}.service-previews strong{font-size:14px;font-weight:500}.service-previews figcaption>span{font-size:11px;color:#777466}.service-previews .service-availability{color:#426448}
.services-showcase:hover .service-previews img{transform:translateY(-3px)}
.service-card.available:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
@media(max-width:1000px){.services-promo.services-showcase{grid-template-columns:1fr;gap:26px}.services-promo-copy>p:not(.eyebrow){max-width:600px}.services-promo-copy h2 br{display:none}}
@media(max-width:600px){.services-promo.services-showcase{padding:22px;gap:24px}.service-previews{grid-template-columns:1fr;gap:16px}.service-previews figure{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:center}.service-previews figcaption{padding:0}.service-previews strong{font-size:14px}.services-promo-copy .button{margin-top:18px}}
@media(prefers-reduced-motion:reduce){.services-showcase .service-previews img{transition:none}.services-showcase:hover .service-previews img{transform:none}}
/* Shared fabrication studios: contain artwork and keep controls aligned. */
.fabrication-illustration{display:block;width:100%;max-height:300px;object-fit:contain;margin-bottom:24px}
.fabrication-loading{padding:20px;margin:16px 0;border:1px solid var(--line,#ddd);border-radius:16px;text-align:center}
.fabrication-loading .model-spinner{display:block;margin:0 auto 12px}
.service-config-card{border:1px solid var(--line,#ddd);border-radius:16px;padding:20px;margin:16px 0}
.service-config-card textarea{min-height:120px}
.pcb-admin-color{display:grid;grid-template-columns:minmax(100px,1fr) 64px auto;gap:12px;align-items:center;margin:10px 0}
.pcb-admin-color input[type=color]{width:64px;height:46px;padding:4px}
#service-print-settings #printing-config-form{margin:20px 0 0}

/* Use the same checkbox layout inside and outside each service form. */
.service-config-card label.check{display:flex;flex-direction:row;align-items:center;gap:10px;font-size:13px;line-height:1.5;margin:12px 0;font-weight:400}
.service-config-card label.check input[type=checkbox]{width:16px;height:16px;flex:0 0 16px;margin:0;padding:0}
#service-print-settings #printing-config-form{margin-top:0}
.laser-preview-frame{height:330px;position:relative;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:repeating-conic-gradient(#f0f0ec 0% 25%,#fafaf7 0% 50%) 50% / 24px 24px}
.laser-preview-frame img,.laser-preview-frame canvas{width:100%;height:100%;object-fit:contain;display:block;transform-origin:center}
.laser-preview-frame [hidden]{display:none!important}
.laser-preview-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:#fafaf7e8}
.laser-preview .viewer-tools{position:static;display:flex;justify-content:center;gap:10px;margin-top:12px}
@media(max-width:600px){.laser-preview-frame{height:260px}}
/* Long design filenames must not widen the mobile studio grid. */
.studio-layout>*{min-width:0}
#model-info,#upload-progress-label,.laser-preview [data-preview-note],.draft-row button{overflow-wrap:anywhere;min-width:0}
.laser-preview-loading{padding:18px;text-align:center;overflow-wrap:anywhere}

.service-file-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--line,#d9d9cf);border-radius:10px;margin:8px 0}
.service-file-row.is-current{border-color:#7a9079;background:#f0f4ed}.service-file-check{margin:0!important}.service-file-check input{width:18px;height:18px;margin:0}.service-file-name{text-align:left;overflow-wrap:anywhere;min-width:0}.service-checkout-files{margin:12px 0 20px;padding:12px;background:#f0f4ed;border-radius:10px}.service-checkout-files p{display:flex;justify-content:space-between;gap:16px;margin:8px 0}.service-checkout-files span{overflow-wrap:anywhere;min-width:0}.service-checkout-files strong{white-space:nowrap}

.service-minimum-notice{padding:16px;border:1px solid #b8cbb3;border-radius:12px;background:#f1f6ed;margin:16px 0 24px;color:#283c2a}.service-minimum-notice p{font-size:.9rem;line-height:1.5}.service-minimum-notice .button{margin:4px 12px 8px 0}.service-minimum-notice>.text-link{display:inline-block;margin:8px 0}.minimum-adjustment{border-top:1px solid #d7dfd2;padding-top:10px}
