
    .time-tool {
      --bg-page: #f8fafc;
      --bg-surface: #ffffff;
      --bg-subtle: #f1f5f9;
      --bg-accent-soft: #ecfdf5;
      --bg-info-soft: #eff6ff;
      --bg-warn-soft: #fffbeb;
      --text-primary: #0f172a;
      --text-secondary: #334155;
      --text-muted: #64748b;
      --border-color: #cbd5e1;
      --border-light: #e2e8f0;
      --brand-primary: #0f172a;
      --brand-accent: #047857;
      --brand-accent-hover: #065f46;
      --brand-blue: #1d4ed8;
      --danger: #b91c1c;
      --danger-bg: #fef2f2;
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 14px;
      --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
      --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
      --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    }

    .time-tool * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    .time-tool {
      font-family: var(--font-sans);
      background-color: var(--bg-page);
      color: var(--text-primary);
      line-height: 1.6;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    /* Screenreader-only helper */
    .time-tool .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* Skip Link */
    .time-tool .skip-link {
      position: absolute;
      top: -48px;
      left: 16px;
      background: var(--brand-primary);
      color: #fff;
      padding: 8px 14px;
      border-radius: var(--radius-sm);
      text-decoration: none;
      font-weight: 600;
      z-index: 1000;
      transition: top 0.15s ease;
    }
    .time-tool .skip-link:focus {
      top: 12px;
    }

    /* Header */
    .time-tool .site-header {
      background: var(--bg-surface);
      border-bottom: 1px solid var(--border-light);
      padding: 14px 0;
    }
    .time-tool .container {
      width: 100%;
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 20px;
    }
    .time-tool .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }
    .time-tool .brand-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--text-primary);
      text-decoration: none;
      font-weight: 700;
      font-size: 1.05rem;
      letter-spacing: -0.01em;
    }
    .time-tool .brand-mark {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 30px;
      height: 30px;
      background: var(--brand-primary);
      color: #fff;
      border-radius: 6px;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.03em;
    }
    .time-tool .header-meta {
      display: flex;
      align-items: center;
      gap: 16px;
      font-size: 0.85rem;
      color: var(--text-muted);
    }
    .time-tool .header-meta a {
      color: var(--text-secondary);
      text-decoration: none;
      font-weight: 500;
    }
    .time-tool .header-meta a:hover {
      text-decoration: underline;
    }

    /* Hero */
    .time-tool .hero {
      padding: 36px 0 24px;
    }
    .time-tool .eyebrow {
      display: inline-block;
      font-size: 0.78rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--brand-accent);
      background: var(--bg-accent-soft);
      border: 1px solid #a7f3d0;
      padding: 4px 10px;
      border-radius: 999px;
      margin-bottom: 12px;
    }
    .time-tool h1 {
      font-size: clamp(1.65rem, 3vw, 2.35rem);
      line-height: 1.2;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text-primary);
      margin-bottom: 12px;
    }
    .time-tool .hero-lead {
      font-size: 1.05rem;
      color: var(--text-secondary);
      max-width: 820px;
      margin-bottom: 16px;
    }
    .time-tool .privacy-banner {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-left: 4px solid var(--brand-accent);
      padding: 10px 14px;
      border-radius: var(--radius-sm);
      font-size: 0.88rem;
      color: var(--text-secondary);
      max-width: 860px;
    }
    .time-tool .privacy-banner svg {
      flex-shrink: 0;
      margin-top: 2px;
      color: var(--brand-accent);
    }

    /* Main Workspace Grid */
    .time-tool .workspace {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
      margin-top: 12px;
      margin-bottom: 48px;
    }

    .time-tool .card {
      background: var(--bg-surface);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-sm);
      padding: 24px;
    }
    .time-tool .card-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 20px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--border-light);
    }
    .time-tool .card-title {
      font-size: 1.18rem;
      font-weight: 700;
      color: var(--text-primary);
    }
    .time-tool .card-subtitle {
      font-size: 0.88rem;
      color: var(--text-muted);
      margin-top: 2px;
    }

    /* Parameters Grid */
    .time-tool .params-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
      gap: 16px;
    }
    .time-tool .field-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .time-tool .field-group label {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text-secondary);
    }
    .time-tool .field-hint {
      font-size: 0.77rem;
      color: var(--text-muted);
      line-height: 1.35;
    }
    .time-tool .input-with-unit {
      position: relative;
      display: flex;
      align-items: center;
    }
    .time-tool .input-with-unit input,
    .time-tool .form-input,
    .time-tool .form-select {
      width: 100%;
      padding: 9px 12px;
      font-size: 0.95rem;
      font-family: var(--font-sans);
      color: var(--text-primary);
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      font-variant-numeric: tabular-nums;
      transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }
    .time-tool .input-with-unit input {
      padding-right: 48px;
    }
    .time-tool .input-with-unit .unit-badge {
      position: absolute;
      right: 10px;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text-muted);
      pointer-events: none;
    }
    .time-tool .input-with-unit input:focus,
    .time-tool .form-input:focus,
    .time-tool .form-select:focus {
      outline: none;
      border-color: var(--brand-blue);
      box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.14);
    }

    /* Task Toolbar & Templates */
    .time-tool .templates-bar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      margin-bottom: 18px;
      padding: 12px 14px;
      background: var(--bg-subtle);
      border-radius: var(--radius-md);
      border: 1px solid var(--border-light);
    }
    .time-tool .templates-label {
      font-size: 0.82rem;
      font-weight: 700;
      color: var(--text-secondary);
      margin-right: 4px;
    }
    .time-tool .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      font-family: var(--font-sans);
      font-size: 0.86rem;
      font-weight: 600;
      padding: 8px 14px;
      border-radius: var(--radius-sm);
      border: 1px solid transparent;
      cursor: pointer;
      transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
      text-decoration: none;
      line-height: 1.25;
    }
    .time-tool .btn:focus-visible {
      outline: 2px solid var(--brand-blue);
      outline-offset: 2px;
    }
    .time-tool .btn-primary {
      background: var(--brand-primary);
      color: #ffffff;
    }
    .time-tool .btn-primary:hover {
      background: #1e293b;
    }
    .time-tool .btn-accent {
      background: var(--brand-accent);
      color: #ffffff;
    }
    .time-tool .btn-accent:hover {
      background: var(--brand-accent-hover);
    }
    .time-tool .btn-secondary {
      background: var(--bg-surface);
      color: var(--text-secondary);
      border-color: var(--border-color);
    }
    .time-tool .btn-secondary:hover {
      background: var(--bg-subtle);
      color: var(--text-primary);
    }
    .time-tool .btn-chip {
      background: var(--bg-surface);
      color: var(--text-secondary);
      border-color: var(--border-color);
      font-size: 0.79rem;
      padding: 5px 10px;
      border-radius: 999px;
    }
    .time-tool .btn-chip:hover {
      border-color: var(--brand-primary);
      color: var(--text-primary);
      background: #fff;
    }
    .time-tool .btn-danger-ghost {
      background: transparent;
      color: var(--text-muted);
      border-color: transparent;
      padding: 6px 8px;
    }
    .time-tool .btn-danger-ghost:hover {
      background: var(--danger-bg);
      color: var(--danger);
    }

    /* Task List Items */
    .time-tool .task-list {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .time-tool .task-item {
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      background: var(--bg-surface);
      padding: 16px;
      transition: border-color 0.15s ease;
    }
    .time-tool .task-item:hover {
      border-color: #94a3b8;
    }
    .time-tool .task-top-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 12px;
    }
    .time-tool .task-index-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 26px;
      height: 26px;
      padding: 0 8px;
      background: var(--bg-subtle);
      color: var(--text-secondary);
      border-radius: 999px;
      font-size: 0.78rem;
      font-weight: 700;
      font-variant-numeric: tabular-nums;
    }
    .time-tool .task-name-wrap {
      flex: 1 1 220px;
      min-width: 0;
    }
    .time-tool .task-actions {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 4px;
    }
    .time-tool .empty-tasks-notice {
      padding: 20px;
      text-align: center;
      background: var(--bg-subtle);
      border: 1px dashed var(--border-color);
      border-radius: var(--radius-md);
      color: var(--text-secondary);
      font-size: 0.92rem;
    }
    .time-tool .task-controls-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 12px;
      align-items: start;
    }
    .time-tool .col-minutes { grid-column: span 3; }
    .time-tool .col-freq { grid-column: span 2; }
    .time-tool .col-interval { grid-column: span 3; }
    .time-tool .col-workers { grid-column: span 2; }
    .time-tool .col-auto { grid-column: span 2; }

    @media (max-width: 920px) {
      .time-tool .col-minutes, .time-tool .col-freq, .time-tool .col-interval, .time-tool .col-workers {
        grid-column: span 6;
      }
      .time-tool .col-auto {
        grid-column: span 12;
      }
    }
    @media (max-width: 540px) {
      .time-tool .container {
        padding: 0 14px;
      }
      .time-tool .card,
      .time-tool .embed-card {
        padding: 16px;
      }
      .time-tool .task-item {
        padding: 12px;
      }
      .time-tool .task-name-wrap {
        flex: 1 1 100%;
        order: 2;
      }
      .time-tool .task-actions {
        margin-left: auto;
      }
      .time-tool .col-minutes, .time-tool .col-freq, .time-tool .col-interval, .time-tool .col-workers, .time-tool .col-auto {
        grid-column: span 12;
      }
      .time-tool .params-grid,
      .time-tool .kpi-grid,
      .time-tool .amort-grid,
      .time-tool .prose-grid {
        grid-template-columns: 1fr;
      }
      .time-tool .cta-banner {
        padding: 20px 16px;
      }
      .time-tool .btn-cta-light {
        width: 100%;
        text-align: center;
        white-space: normal;
      }
    }

    .time-tool .auto-degree-wrap {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .time-tool .auto-slider-row {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .time-tool .auto-slider-row input[type="range"] {
      flex: 1;
      accent-color: var(--brand-accent);
      cursor: pointer;
    }
    .time-tool .auto-number-input {
      width: 68px !important;
      padding: 6px 8px !important;
      text-align: right;
    }

    .time-tool .task-footer-metrics {
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px dashed var(--border-light);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      font-size: 0.84rem;
      color: var(--text-secondary);
      font-variant-numeric: tabular-nums;
    }
    .time-tool .metric-pill-group {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }
    .time-tool .metric-pill strong {
      color: var(--text-primary);
    }
    .time-tool .metric-pill.saved strong {
      color: var(--brand-accent);
    }

    .time-tool .task-list-footer {
      margin-top: 16px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    /* Dashboard KPIs */
    .time-tool .kpi-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 16px;
      margin-bottom: 24px;
    }
    .time-tool .kpi-card {
      padding: 18px 20px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-light);
      background: var(--bg-subtle);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .time-tool .kpi-card.highlight {
      background: var(--bg-accent-soft);
      border-color: #6ee7b7;
    }
    .time-tool .kpi-label {
      font-size: 0.82rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--text-secondary);
      margin-bottom: 6px;
    }
    .time-tool .kpi-card.highlight .kpi-label {
      color: #065f46;
    }
    .time-tool .kpi-value {
      font-size: clamp(1.5rem, 2.4vw, 2rem);
      font-weight: 800;
      color: var(--text-primary);
      font-variant-numeric: tabular-nums;
      line-height: 1.2;
      margin-bottom: 6px;
    }
    .time-tool .kpi-card.highlight .kpi-value {
      color: #064e3b;
    }
    .time-tool .kpi-sub {
      font-size: 0.84rem;
      color: var(--text-muted);
      font-variant-numeric: tabular-nums;
    }
    .time-tool .kpi-card.highlight .kpi-sub {
      color: #047857;
      font-weight: 500;
    }

    /* ROI / Amortisation Box */
    .time-tool .amort-box {
      background: var(--bg-info-soft);
      border: 1px solid #bfdbfe;
      border-radius: var(--radius-md);
      padding: 18px 20px;
      margin-bottom: 24px;
    }
    .time-tool .amort-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 12px;
    }
    .time-tool .amort-title {
      font-size: 0.96rem;
      font-weight: 700;
      color: #1e3a8a;
    }
    .time-tool .amort-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
      gap: 14px;
      font-variant-numeric: tabular-nums;
    }
    .time-tool .amort-item-label {
      font-size: 0.78rem;
      color: #1e40af;
      margin-bottom: 2px;
    }
    .time-tool .amort-item-val {
      font-size: 1.15rem;
      font-weight: 700;
      color: #172554;
    }

    /* Breakdown Table & Visual Bars */
    .time-tool .breakdown-section {
      margin-bottom: 24px;
    }
    .time-tool .breakdown-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 12px;
    }
    .time-tool .breakdown-title {
      font-size: 1rem;
      font-weight: 700;
    }
    .time-tool .sort-control {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.84rem;
      color: var(--text-secondary);
    }
    .time-tool .sort-control select {
      width: auto;
      padding: 6px 10px;
      font-size: 0.84rem;
    }
    .time-tool .table-responsive {
      width: 100%;
      overflow-x: auto;
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
    }
    .time-tool table.breakdown-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.88rem;
      font-variant-numeric: tabular-nums;
      background: var(--bg-surface);
    }
    .time-tool .breakdown-table th,
    .time-tool .breakdown-table td {
      padding: 11px 14px;
      text-align: left;
      border-bottom: 1px solid var(--border-light);
    }
    .time-tool .breakdown-table th {
      background: var(--bg-subtle);
      font-weight: 700;
      color: var(--text-secondary);
      white-space: nowrap;
    }
    .time-tool .breakdown-table td.num,
    .time-tool .breakdown-table th.num {
      text-align: right;
    }
    .time-tool .breakdown-table tbody tr:last-child td {
      border-bottom: none;
    }
    .time-tool .breakdown-table tfoot td {
      background: var(--bg-subtle);
      font-weight: 700;
      border-top: 2px solid var(--border-color);
    }
    .time-tool .bar-track {
      width: 100%;
      min-width: 110px;
      height: 8px;
      background: #e2e8f0;
      border-radius: 999px;
      overflow: hidden;
      margin-top: 5px;
      display: flex;
    }
    .time-tool .bar-fill-saved {
      height: 100%;
      background: var(--brand-accent);
    }
    .time-tool .bar-fill-rest {
      height: 100%;
      background: #94a3b8;
    }

    /* Formula Transparency Box */
    .time-tool .formula-box {
      background: var(--bg-subtle);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 16px 18px;
      margin-bottom: 20px;
      font-size: 0.86rem;
    }
    .time-tool .formula-box h3 {
      font-size: 0.92rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--text-primary);
    }
    .time-tool .formula-code {
      display: block;
      font-family: var(--font-mono);
      font-size: 0.82rem;
      background: var(--bg-surface);
      border: 1px solid var(--border-light);
      padding: 10px 12px;
      border-radius: var(--radius-sm);
      color: var(--text-primary);
      margin-bottom: 8px;
      overflow-x: auto;
    }

    /* Export Actions Bar */
    .time-tool .export-bar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding-top: 16px;
      border-top: 1px solid var(--border-light);
    }
    .time-tool .export-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .time-tool .status-toast {
      font-size: 0.84rem;
      font-weight: 600;
      color: var(--brand-accent);
      min-height: 20px;
    }

    /* B2B CTA Card */
    .time-tool .cta-banner {
      background: var(--brand-primary);
      color: #f8fafc;
      border-radius: var(--radius-lg);
      padding: 28px 32px;
      margin-bottom: 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 24px;
    }
    .time-tool .cta-content {
      max-width: 700px;
    }
    .time-tool .cta-content h2 {
      font-size: 1.25rem;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 8px;
    }
    .time-tool .cta-content p {
      font-size: 0.95rem;
      color: #cbd5e1;
      line-height: 1.55;
    }
    .time-tool .btn-cta-light {
      background: #ffffff;
      color: var(--brand-primary);
      font-weight: 700;
      padding: 11px 20px;
      border-radius: var(--radius-sm);
      text-decoration: none;
      white-space: nowrap;
      transition: background-color 0.15s ease;
    }
    .time-tool .btn-cta-light:hover {
      background: #e2e8f0;
    }

    /* Info, FAQ & Embed Sections */
    .time-tool .content-section {
      margin-bottom: 48px;
    }
    .time-tool .content-section h2 {
      font-size: 1.4rem;
      font-weight: 800;
      color: var(--text-primary);
      margin-bottom: 16px;
      letter-spacing: -0.01em;
    }
    .time-tool .prose-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }
    .time-tool .prose-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 20px;
    }
    .time-tool .prose-card h3 {
      font-size: 1.02rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--text-primary);
    }
    .time-tool .prose-card p {
      font-size: 0.92rem;
      color: var(--text-secondary);
    }

    /* FAQ Accordion */
    .time-tool .faq-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .time-tool details.faq-item {
      background: var(--bg-surface);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 16px 20px;
    }
    .time-tool details.faq-item summary {
      font-weight: 700;
      font-size: 1rem;
      color: var(--text-primary);
      cursor: pointer;
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }
    .time-tool details.faq-item summary::-webkit-details-marker {
      display: none;
    }
    .time-tool details.faq-item summary::after {
      content: "+";
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--text-muted);
      line-height: 1;
    }
    .time-tool details.faq-item[open] summary::after {
      content: "−";
    }
    .time-tool .faq-answer {
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid var(--border-light);
      font-size: 0.94rem;
      color: var(--text-secondary);
    }

    /* Embed Box */
    .time-tool .embed-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 24px;
    }
    .time-tool .embed-textarea {
      width: 100%;
      height: 92px;
      font-family: var(--font-mono);
      font-size: 0.82rem;
      padding: 12px;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      background: var(--bg-subtle);
      color: var(--text-primary);
      resize: vertical;
      margin: 12px 0;
    }

    /* Footer */
    .time-tool .site-footer {
      border-top: 1px solid var(--border-light);
      background: var(--bg-surface);
      padding: 28px 0;
      font-size: 0.86rem;
      color: var(--text-muted);
    }
    .time-tool .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }
    .time-tool .footer-links {
      display: flex;
      gap: 18px;
    }
    .time-tool .footer-links a {
      color: var(--text-secondary);
      text-decoration: none;
    }
    .time-tool .footer-links a:hover {
      text-decoration: underline;
    }

    /* Print Stylesheet */
    @media print {
      .time-tool {
        background: #fff;
        font-size: 12pt;
      }
      .time-tool .skip-link,
      .time-tool .templates-bar,
      .time-tool .task-actions,
      .time-tool .task-list-footer,
      .time-tool .export-bar,
      .time-tool #embed-section {
        display: none !important;
      }
      .time-tool .card {
        box-shadow: none;
        border: 1px solid #94a3b8;
        break-inside: avoid;
      }
      .time-tool .cta-banner {
        background: #f8fafc;
        color: #0f172a;
        border: 1px solid #94a3b8;
      }
      .time-tool .cta-content h2,
      .time-tool .cta-content p {
        color: #0f172a;
      }
    }

/* Existing brand layout; source styles are isolated inside this wrapper. */
.time-tool-shell{max-width:1220px;margin:auto;padding:calc(var(--header-height) + 48px) 20px 64px}.time-tool-shell>nav{margin-bottom:24px}
.time-tool{--font-sans:var(--font-body);--brand-primary:var(--color-primary);--brand-primary-hover:var(--color-primary);--brand-accent:var(--color-primary);--brand-accent-hover:var(--color-primary);--brand-blue:var(--color-primary);--text-primary:var(--color-text-main);--text-secondary:var(--color-text-body);--border-light:var(--color-border);background:transparent;font-family:var(--font-body)}
.time-tool h1,.time-tool h2,.time-tool h3{font-family:var(--font-heading)}.time-tool .hero{padding-top:16px}.time-tool button,.time-tool input,.time-tool select,.time-tool textarea{font-family:inherit}
@media(max-width:540px){.time-tool-shell{padding:calc(var(--header-height) + 28px) 18px 40px}}

/* Neutralize page-wide marketing hero rules inside the calculator. */
.time-tool .hero{display:block;min-height:0;background:transparent;overflow:visible;color:var(--text-primary);text-align:left;position:static}
.time-tool .hero::before,.time-tool .hero::after,.time-tool h2::after{display:none}
.time-tool .hero h1{color:var(--text-primary);max-width:none}
.time-tool .workspace{grid-template-columns:minmax(0,1fr)}
.time-tool .card,.time-tool .card-header>div{min-width:0;max-width:100%}
.time-tool .table-wrapper{max-width:100%}
.time-tool .params-grid,.time-tool .kpi-grid,.time-tool .amort-grid,.time-tool .prose-grid{min-width:0}
@media(max-width:540px){.time-tool .params-grid,.time-tool .kpi-grid,.time-tool .amort-grid,.time-tool .prose-grid{grid-template-columns:minmax(0,1fr)}.time-tool .field-group{min-width:0}}
@media(max-width:540px){.time-tool .sort-control{flex-wrap:wrap;max-width:100%}.time-tool .sort-control select{min-width:0;max-width:100%}}
