/* Page-specific adaptations of the shared Precision Studio theme. */
.precision-studio :is(.btn-outline-brand, .btn-course, .btn-product, .btn-event-register) {
  color: #bc3c10;
  border: 1px solid #bc3c10;
  border-radius: 3px;
  background: transparent;
}
.precision-studio :is(.btn-outline-brand, .btn-course, .btn-product, .btn-event-register):hover {
  background: #bc3c10;
  color: #fff;
  box-shadow: none;
}
.precision-studio .btn-nav-cta { border-radius: 3px; }
.precision-studio .footer-newsletter-link { color: #bc3c10; background: #f6f5f0; border-color: #d9d9d0; border-radius: 3px; }
.precision-studio .footer-newsletter-text { color: #62645e; }
.precision-studio section[id] { scroll-margin-top: 95px; }

/* Training and the fabric-cutter product overview. */
.studio-marketing .hero-section {
  height: auto;
  min-height: 650px;
  max-height: none;
  padding: 145px 0 75px;
  background: #eeede6;
  border-bottom: 1px solid #d9d9d0;
}
.studio-marketing .hero-section.subpage-hero { min-height: 420px; max-height: none; }
.studio-marketing .hero-content { padding-top: 0; }
.studio-marketing .hero-carousel { left: 50%; }
.studio-marketing .hero-overlay { background: linear-gradient(90deg,#eeede6 0%,#eeede6 35%,rgba(238,237,230,.95) 50%,rgba(238,237,230,.45) 75%,rgba(238,237,230,.18)); }
.studio-marketing .hero-title { color: #242722; font-weight: 600; letter-spacing: -.055em; }
.studio-marketing :is(.hero-title, .hero-subtitle, .hero-badge, .hero-buttons) { opacity: 1; }
.studio-marketing .hero-subtitle { color: #53564e; }
.studio-marketing .hero-badge { color: #bc3c10; font-size: .68rem; }
.studio-marketing .badge-dot { background: #bc3c10; animation: none; border-radius: 0; }
.studio-marketing :is(.hero-kpi-card, .thesis-card, .specialization-card, .course-card, .service-card, .product-card, .team-card, .event-card, .testimonial-card, .courses-cta-strip) {
  background: #faf9f5;
  border: 1px solid #d9d9d0;
  border-radius: 3px;
  box-shadow: none;
}
.studio-marketing :is(.course-card, .service-card, .product-card, .team-card, .event-card):hover { border-color: #bc3c10; box-shadow: 0 12px 28px #2427220d; transform: translateY(-4px); }
.studio-marketing :is(.about-section, .team-section, .products-section, .testimonials-section) { background: #eeede6; }
.studio-marketing :is(.courses-section, .services-section, .events-section) { background: #f6f5f0; }
.studio-marketing :is(.specialization-card-body h3, .course-card-body h5, .courses-cta-strip h5, .service-card h5, .product-card-body h5, .team-info h5, .event-body h5, .thesis-card h5, .about-lead, .testimonial-author strong, .testimonial-quote blockquote, .hero-kpi-card .stat-number, .hero-kpi-card .stat-suffix) { color: #242722; }
.studio-marketing :is(.hero-kpi-card .stat-number, .hero-kpi-card .stat-suffix) { font-family: var(--font-heading); }
.studio-marketing :is(.specialization-course-list li, .service-features li, .event-meta span, .pillar-item, .thesis-list li, .thesis-card p, .section-note, .testimonial-role, .testimonial-card p, .hero-kpi-card p, .hero-kpi-meta, .contact-caption) { color: #62645e; }
.studio-marketing :is(.course-card-footer, .specialization-includes, .service-features li, .team-divider, .team-stat) { border-color: #d9d9d0; }
.studio-marketing :is(.course-badge, .product-badge, .roadmap-tag, .team-role-badge, .service-featured-tag) { color: #bc3c10; background: #faf9f5; border-color: #d9d9d0; border-radius: 3px; }
.studio-marketing :is(.specialization-badge, .course-featured-label, .product-badge-new, .event-date-badge, .about-experience-badge) { background: #bc3c10; color: #fff; border-radius: 3px; box-shadow: none; }
.studio-marketing :is(.service-icon-wrap, .team-stat) { background: #eeede6; border-color: #d9d9d0; border-radius: 3px; }
.studio-marketing .service-card:hover .service-icon-wrap { background: #bc3c10; color: #fff; border-color: #bc3c10; transform: none; }
.studio-marketing :is(.service-icon-ring, .services-bg-circuit, .about-glow-circle, .testimonials-section::before) { display: none; }
.studio-marketing .course-overlay-icon { background: #bc3c10; }
.studio-marketing .team-social-overlay { background: #bc3c10cc; }
.studio-marketing .team-glow { background: linear-gradient(transparent,#faf9f5); }
.studio-marketing .team-divider { background: #d9d9d0; }
.studio-marketing .about-image-main { border-radius: 3px; box-shadow: 0 15px 35px #24272214; }
.studio-marketing .product-card-image--upcoming { background: repeating-linear-gradient(135deg,#eeede6 0 2px,#e5e4da 2px 14px); }
.studio-marketing .product-card-image--upcoming::before { border-color: #cecec3; border-radius: 3px; }
.studio-marketing .product-card-placeholder span { color: #242722; }
.studio-marketing .product-card-placeholder i { color: #bc3c10; }
.studio-marketing :is(.t-dot, .carousel-ctrl) { border-color: #777b71; }
.studio-marketing :is(.t-dot.active, .carousel-ctrl.active) { background: #bc3c10; border-color: #bc3c10; }
.studio-marketing .testimonial-quote { color: #bc3c10; }

/* Project history: retain the timeline and its filter interactions. */
.studio-evolution :is(.evo-hero, .evo-next) { background: #eeede6; border-color: #d9d9d0; }
.studio-evolution .evo-hero h1, .studio-evolution .evo-next h2 { font-weight: 600; }
.studio-evolution :is(.evo-intro, .evo-hero-meta, .evo-heading>p, .evo-count, .evo-date, .evo-project-copy>p, .evo-project h4, .evo-sources a span, .evo-next p, .evo-chapter-grid p) { color: #62645e; }
.studio-evolution :is(.evo-hero-meta span:first-child, .evo-chapter-grid span, .evo-category, .evo-sources a, .evo-channel) { color: #bc3c10; }
.studio-evolution .evo-sources a:hover { color: #96300c; }
.studio-evolution :is(.evo-hero-image, .evo-media) { border-color: #d9d9d0; border-radius: 3px; }
.studio-evolution .evo-hero-image figcaption { color: #fff; background: linear-gradient(transparent,#242722f2); }
.studio-evolution .evo-hero-image figcaption span { color: #ffab7e; }
.studio-evolution .evo-chapters { background: #f6f5f0; border-color: #d9d9d0; }
.studio-evolution .evo-chapter-grid>a { border-color: #d9d9d0; }
.studio-evolution .evo-chapter-grid>a:hover { background: #eeede6; }
.studio-evolution .evo-filters button { background: #faf9f5; color: #62645e; border-color: #d9d9d0; border-radius: 3px; }
.studio-evolution .evo-filters button[aria-pressed="true"] { color: #fff; background: #bc3c10; border-color: #bc3c10; }
.studio-evolution .evo-filters button:hover { border-color: #bc3c10; }
.studio-evolution .evo-timeline::before { background: #cecec3; }
.studio-evolution .evo-date>span { background: #eeede6; border-color: #cecec3; color: #bc3c10; }
.studio-evolution .evo-project-card { background: #faf9f5; border-color: #d9d9d0; border-radius: 3px; }
.studio-evolution .evo-video-preview span { background: #242722ed; border-color: #92978b; border-radius: 3px; }

/* TailorSmart documentation. */
body.precision-studio.help-page { background: #f6f5f0; color: #242722; }
.studio-help .help-hero { background: #eeede6; color: #242722; border-bottom: 1px solid #d9d9d0; }
.studio-help .help-hero h1 { font-weight: 600; letter-spacing: -.055em; }
.studio-help :is(.help-hero p, .help-section p, .help-section li, .help-figure figcaption) { color: #62645e; }
.studio-help :is(.help-toc, .help-doc, .help-card, .help-figure) { background: #faf9f5; border-color: #d9d9d0; border-radius: 3px; box-shadow: none; }
.studio-help .help-section { border-color: #d9d9d0; }
.studio-help :is(.help-section h2, .help-section h3, .help-card strong, .help-toc a) { color: #242722; }
.studio-help .help-toc a:hover { color: #bc3c10; background: #eeede6; }
.studio-help .help-figure figcaption { background: #eeede6; border-color: #d9d9d0; }
.studio-help .callout { background: #f5e6d9; border-color: #bc3c10; color: #743013; border-radius: 3px; }
.studio-help .kbd { background: #eeede6; color: #242722; border-color: #cecec3; border-radius: 3px; }
.studio-help .help-footer { background: #e9e8df; color: #53564e; border-top: 1px solid #d9d9d0; }

/* Calendar editor: only the interface is themed, not the exported artwork. */
.studio-calendar { --pink: #bc3c10; --cyan: #247477; --muted: #62645e; --line: #d9d9d0; }
.studio-calendar header { border-bottom: 1px solid #d9d9d0; }
.studio-calendar h1 { font-family: var(--font-heading); font-weight: 600; letter-spacing: -.055em; }
.studio-calendar a { color: #bc3c10; }
.studio-calendar :is(.panel, .preview) { background: #faf9f5; border-radius: 3px; }
.studio-calendar :is(input:not([type=checkbox]), select) { color: #242722; background: #f6f5f0; border-color: #bfc2b6; border-radius: 3px; }
.studio-calendar button { color: #242722; background: #eeede6; border-color: #bfc2b6; border-radius: 3px; }
.studio-calendar button:hover:not(:disabled) { border-color: #bc3c10; }
.studio-calendar .primary { background: #bc3c10; color: #fff; border-color: #bc3c10; }
.studio-calendar .canvas-wrap { background: repeating-conic-gradient(#e9e8df 0% 25%,#f6f5f0 0% 50%) 50%/24px 24px; border-radius: 3px; }
.studio-calendar .notice { background: #f5e6d9; color: #743013; border-color: #d8b69b; border-radius: 3px; }
.studio-calendar .validation { color: #96300c; }
.studio-calendar .cut-dot { background: #fc3c83; }
.studio-calendar .pad-dot { background: #00a6bb; }

/* License administration, including readable state colours and tables. */
.studio-admin :is(.admin-panel, .admin-card) { background: #faf9f5; border-color: #d9d9d0; border-radius: 3px; box-shadow: none; }
.studio-admin :is(.admin-label, .admin-table th, .admin-status, .admin-empty) { color: #62645e; }
.studio-admin :is(.admin-input, .admin-select) { background: #f6f5f0; color: #242722; border-color: #bfc2b6; border-radius: 3px; }
.studio-admin :is(.admin-input, .admin-select):focus { border-color: #bc3c10; box-shadow: 0 0 0 3px #bc3c101a; }
.studio-admin :is(.admin-table td, .admin-table th) { border-color: #d9d9d0; }
.studio-admin .admin-table tr.is-selected { background: #f5e6d9; }
.studio-admin .admin-chip { background: #eeede6; color: #53564e; border-radius: 3px; }
.studio-admin .admin-chip.is-active { background: #e2efdf; color: #286738; }
.studio-admin .admin-chip.is-inactive { background: #f8e2de; color: #a52b20; }
.studio-admin .admin-status.is-error { color: #a52b20; }
.studio-admin .admin-result { background: #eeede6; border-color: #bfc2b6; border-radius: 3px; }
.studio-admin .admin-result code { color: #96300c; }
.studio-admin .text-white { color: #242722 !important; }
.studio-admin .text-white-50 { color: #62645e !important; }

/* Certificate chrome; keep the printable document dimensions and print rules. */
body.precision-studio.certificate-page { background: #f6f5f0; }
.studio-certificate .certificate-action { background: #faf9f5; border-color: #bfc2b6; color: #242722; border-radius: 3px; }
.studio-certificate .certificate-action:hover { border-color: #bc3c10; color: #bc3c10; }
.studio-certificate .certificate-status.is-error { color: #a52b20; }
@media screen {
  .studio-certificate .certificate-canvas { background: #faf9f5; border-color: #bc3c10; outline-color: #d9d9d0; box-shadow: 0 18px 45px #24272214; }
  .studio-certificate .certificate-kicker { color: #bc3c10; }
  .studio-certificate .certificate-brand img { background: #eeede6; border-radius: 3px; }
}
@media print { body.precision-studio.certificate-page { background: #fff; } }

/* Standalone tools use their own layout and keep their semantic status colours. */
.studio-control { --card: #faf9f5; --text: #242722; --accent: #53564e; --accent2: #bc3c10; --border-color: #d9d9d0; }
.studio-control :is(.card, .modal-content) { border: 1px solid #d9d9d0; border-radius: 3px; box-shadow: 0 15px 35px #2427220d; }
.studio-control h1, .studio-control h2 { font-family: var(--font-heading); letter-spacing: -.04em; }
.studio-control :is(label, .modal-content p) { color: #62645e; }
.studio-control :is(fieldset, #motor-image, .status, button, input, select) { border-radius: 3px; }
.studio-control :is(input, select, .status) { background: #f6f5f0; color: #242722; border-color: #d9d9d0; }
.studio-control input[type=range] { background: #d9d9d0; }
.studio-control input:focus, .studio-control select:focus { box-shadow: 0 0 0 3px #bc3c101a; }
.studio-control input.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px #dc262626; }
.studio-control .modal-content .modal-error { color: var(--danger); }
.studio-manifest { --panel: #faf9f5; --muted: #62645e; --border: #d9d9d0; --accent: #bc3c10; --code: #242722; }
.studio-manifest h1 { font-family: var(--font-heading); font-weight: 600; letter-spacing: -.055em; }
.studio-manifest .manifest { border-radius: 3px; }
@media(max-width:767px) {
  .studio-marketing .hero-section { padding: 120px 0 55px; min-height: 0; }
  .studio-marketing .hero-section.subpage-hero { min-height: 0; }
  .studio-marketing .hero-carousel { left: 0; }
  .studio-marketing .hero-overlay { background: #eeede6eb; }
  .studio-marketing .hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
  .studio-marketing .hero-buttons .btn { margin: 0 !important; }
  .studio-manifest .manifest-header { align-items: flex-start; flex-wrap: wrap; }
}
