
        * { box-sizing: border-box; }
        body { 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 20px; 
            margin: 0;
            min-height: 100vh;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
            gap: 20px;
            align-items: start;
        }
        
        .card { 
            background: white; 
            padding: 25px; 
            border-radius: 12px; 
            box-shadow: 0 8px 32px rgba(0,0,0,0.1);
            backdrop-filter: blur(10px);
        }
        
        h2 { 
            margin: 0 0 20px 0; 
            color: #2d3748;
            font-size: 1.5em;
            border-bottom: 3px solid #667eea;
            padding-bottom: 10px;
        }
        
        h3 { 
            margin: 20px 0 12px 0; 
            color: #4a5568;
            font-size: 1.1em;
        }
        
        .grid { 
            display: grid; 
            grid-template-columns: 1fr; 
            gap: 12px; 
            margin-bottom: 15px; 
        }
        
        label { 
            display: block; 
            font-size: 0.85em; 
            font-weight: 600; 
            color: #4a5568; 
            margin-bottom: 4px;
        }
        
        input, select { 
            width: 100%; 
            padding: 10px; 
            border: 2px solid #e2e8f0; 
            border-radius: 6px; 
            font-size: 0.95em;
            transition: all 0.2s;
        }
        
        input:focus, select:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }
        
        .preset-section {
            background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            border: 1px solid #667eea30;
        }
        
        .preset-actions {
            display: grid;
            grid-template-columns: 1fr 1fr 60px;
            gap: 8px;
            margin-top: 10px;
        }
        
        #msg-box, #schedule-msg-box, #comp-msg-box, #hopper-msg-box {
            padding: 12px; 
            border-radius: 8px; 
            margin-bottom: 15px; 
            font-size: 0.9em; 
            font-weight: 600; 
            display: none; 
            text-align: center;
            animation: slideDown 0.3s ease;
        }
        
        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .msg-error { 
            background: #fed7d7; 
            color: #c53030; 
            border: 2px solid #fc8181; 
        }
        
        .msg-success { 
            background: #c6f6d5; 
            color: #22543d; 
            border: 2px solid #68d391; 
        }

        .app-alert {
            position: sticky;
            top: 12px;
            z-index: 1000;
            max-width: 1400px;
            margin: 0 auto 18px;
            padding: 16px 20px;
            border-radius: 12px;
            font-weight: 800;
            box-shadow: 0 12px 30px rgba(127, 29, 29, 0.25);
        }
        .app-alert-error {
            display: block;
            color: #7f1d1d;
            background: #fee2e2;
            border: 2px solid #ef4444;
        }



        .comp-entry { 
            display: grid; 
            grid-template-columns: 2fr 1fr 1fr 1fr 50px; 
            gap: 10px; 
            margin-bottom: 10px;
            padding: 10px;
            background: #f7fafc;
            border-radius: 6px;
        }
        
        .comp-entry input {
            padding: 8px;
        }
        
        .actions { 
            display: grid; 
            grid-template-columns: 1fr 1fr; 
            gap: 10px; 
            margin-top: 20px; 
        }
        
        button { 
            padding: 12px; 
            border: none; 
            border-radius: 8px; 
            cursor: pointer; 
            font-weight: 600; 
            font-size: 0.95em;
            transition: all 0.2s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        button:hover { 
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        
        button:active {
            transform: translateY(0);
        }
        
        .btn-primary { 
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white; 
            grid-column: span 2; 
            font-size: 1.1em;
            padding: 15px;
        }
        
        .btn-success { 
            background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
            color: white; 
        }
        
        .btn-warning { 
            background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
            color: white; 
        }
        
        .btn-danger { 
            background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
            color: white; 
        }
        
        .btn-secondary {
            background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
            color: white;
        }
        
        .btn-info {
            background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
            color: white;
        }
        
        .dashboard { 
            background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
            color: #e2e8f0;
            padding: 25px; 
            border-radius: 10px; 
            font-family: 'Courier New', monospace; 
            min-height: 400px;
            box-shadow: inset 0 2px 10px rgba(0,0,0,0.3);
        }
        
        .stat-row { 
            display: flex; 
            justify-content: space-between; 
            border-bottom: 1px solid #4a5568; 
            padding: 12px 0; 
            align-items: center;
        }
        
        .header-row { 
            color: #cbd5e0; 
            font-size: 0.85em; 
            text-transform: uppercase; 
            margin-top: 20px; 
            border-bottom: 2px solid #667eea; 
            letter-spacing: 1.5px; 
            font-weight: bold;
            padding-bottom: 8px;
        }
        
        .alert-box { 
            border: 2px solid #ed8936; 
            background: rgba(237, 137, 54, 0.1); 
            padding: 20px; 
            margin-bottom: 20px; 
            text-align: center;
            border-radius: 8px;
        }
        
        .disconnect-alert { 
            border-color: #48bb78; 
            background: rgba(72, 187, 120, 0.1);
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.4); }
            50% { box-shadow: 0 0 0 10px rgba(72, 187, 120, 0); }
        }
        
        .level-bg { 
            background: #4a5568; 
            height: 10px; 
            width: 120px; 
            border-radius: 5px; 
            overflow: hidden; 
            margin-left: 12px;
            box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
        }
        
        .level-fill { 
            background: linear-gradient(90deg, #48bb78 0%, #38a169 100%);
            height: 100%; 
            transition: width 0.5s ease;
            box-shadow: 0 0 10px rgba(72, 187, 120, 0.5);
        }
        
        .oee-badge { 
            display: inline-block; 
            padding: 6px 14px; 
            border-radius: 6px; 
            font-weight: bold; 
            font-size: 0.95em;
        }
        
        .oee-world-class { background: linear-gradient(135deg, #48bb78 0%, #38a169 100%); color: white; }
        .oee-good { background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%); color: white; }
        .oee-fair { background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%); color: white; }
        .oee-poor { background: linear-gradient(135deg, #fc8181 0%, #f56565 100%); color: white; }
        
        .cost-item { 
            display: flex; 
            justify-content: space-between; 
            padding: 8px 0; 
            border-bottom: 1px solid #4a5568;
            font-size: 0.95em;
        }
        
        .alert-item { 
            padding: 12px; 
            margin: 8px 0; 
            border-left: 4px solid; 
            background: rgba(255,255,255,0.05); 
            font-size: 0.9em;
            border-radius: 4px;
        }
        
        .alert-warning { border-color: #ed8936; background: rgba(237, 137, 54, 0.1); }
        .alert-caution { border-color: #f6ad55; background: rgba(246, 173, 85, 0.1); }
        .alert-info { border-color: #4299e1; background: rgba(66, 153, 225, 0.1); }
        
        .metric-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
            gap: 12px; 
            margin: 15px 0; 
        }
        
        .metric-box { 
            background: #2d3748; 
            padding: 15px; 
            border-radius: 8px; 
            text-align: center;
            border: 1px solid #4a5568;
        }
        
        .metric-value { 
            font-size: 1.8em; 
            color: #48bb78; 
            font-weight: bold;
            text-shadow: 0 0 10px rgba(72, 187, 120, 0.3);
        }
        
        .metric-label { 
            font-size: 0.75em; 
            color: #cbd5e0; 
            text-transform: uppercase; 
            margin-top: 5px;
            letter-spacing: 1px;
        }
        
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255,255,255,.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .tooltip {
            position: relative;
            display: inline-block;
            cursor: help;
            color: #667eea;
            margin-left: 5px;
        }
        
        .tooltip:hover::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            background: #2d3748;
            color: white;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 0.85em;
            white-space: nowrap;
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }
        
        @media (max-width: 768px) {
            .container {
                grid-template-columns: 1fr;
            }
            
            .comp-entry {
                grid-template-columns: 1fr;
                gap: 8px;
            }
            
            .actions {
                grid-template-columns: 1fr;
            }
            
            .preset-actions {
                grid-template-columns: 1fr;
            }
        }

        .tab-panel { display: none; }
        .tab-panel.active { display: block; }
        .tab-panel .card { width: 100%; max-width: 1400px; margin: 0 auto; }

        .home-page { max-width: 1400px; margin: 0 auto; }
        .home-intro {
            margin-bottom: 18px;
            padding: 24px 26px;
            border: 1px solid var(--line);
            border-radius: 16px;
            background: var(--surface);
        }
        .home-intro h2 { margin: 5px 0 8px; }
        .home-intro p { margin: 0; color: var(--muted); }
        .home-menu {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }
        .home-menu-card {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 18px;
            min-height: 220px;
            padding: 30px;
            border: 1px solid var(--line);
            border-radius: 16px;
            background: var(--surface);
            color: var(--ink);
            text-decoration: none;
            box-shadow: 0 8px 22px rgba(19,36,58,.07);
            transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
        }
        .home-menu-card:hover {
            transform: translateY(-3px);
            border-color: var(--brand);
            box-shadow: 0 14px 30px rgba(19,36,58,.12);
        }
        .home-menu-icon { font-size: 2.2rem; line-height: 1; }
        .home-menu-card h3 { margin: 0 0 9px; color: var(--navy); }
        .home-menu-card p { margin: 0 0 18px; color: var(--muted); line-height: 1.55; }
        .home-menu-card strong { color: var(--brand-dark); }
        .home-menu-card:last-child { grid-column: 1 / -1; }

        /* FlowPilot client interface */
        :root {
            --ink: #102033;
            --muted: #607086;
            --surface: #ffffff;
            --canvas: #edf3f7;
            --line: #d9e3ea;
            --brand: #0d8b78;
            --brand-dark: #07695c;
            --navy: #13243a;
            --orange: #f59e55;
        }

        body {
            background: var(--canvas);
            color: var(--ink);
            padding: 0 24px 48px;
        }

        .app-header {
            max-width: 1400px;
            margin: 0 auto;
            padding: 28px 0 22px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
        }

        .brand-lockup { display: flex; align-items: center; gap: 14px; }
        a.brand-lockup { color: inherit; text-decoration: none; }
        .brand-mark {
            width: 48px;
            height: 48px;
            display: grid;
            place-items: center;
            border-radius: 14px;
            background: var(--brand);
            color: white;
            font-weight: 800;
            letter-spacing: -1px;
            box-shadow: 0 10px 24px rgba(13, 139, 120, 0.22);
        }
        .brand-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; }
        .brand-subtitle { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
        .header-status {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--brand-dark);
            font-size: 0.82rem;
            font-weight: 700;
        }
        .status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(13,139,120,.1); }

        .card {
            background: var(--surface);
            border: 1px solid var(--line);
            border-radius: 18px;
            padding: 30px;
            box-shadow: 0 18px 45px rgba(32, 54, 74, 0.08);
        }
        h2 { color: var(--ink); border: 0; font-size: 1.55rem; padding: 0; }
        h3 { color: var(--ink); border-top: 1px solid var(--line); padding-top: 24px; margin-top: 28px; }
        .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 18px; }
        label { color: #44566c; letter-spacing: .01em; }
        input, select {
            background: #f8fafb;
            border: 1px solid #cfdae3;
            border-radius: 9px;
            min-height: 44px;
        }
        input:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13,139,120,.12); }
        .preset-section { background: #f3f8f8; border: 1px solid #d6e9e6; border-radius: 12px; }
        button { border-radius: 9px; box-shadow: none; }
        button:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(19,36,58,.12); }
        .btn-primary, .btn-success { background: var(--brand); color: white; }
        .btn-primary:hover, .btn-success:hover { background: var(--brand-dark); }
        .btn-warning { background: var(--orange); color: var(--navy); }
        .btn-info { background: #dff1ee; color: var(--brand-dark); }
        .btn-secondary { background: var(--navy); color: white; }
        .dashboard { background: var(--navy); border-radius: 14px; }
        .workflow-card {
            max-width: 1400px;
            margin: 0 auto 22px;
            display: grid;
            grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
            align-items: center;
            gap: 26px;
            background: var(--navy);
            color: white;
            border-radius: 18px;
            padding: 26px 30px;
            overflow: hidden;
            box-shadow: 0 18px 40px rgba(19,36,58,.15);
        }
        .workflow-card h1 { margin: 0 0 8px; font-size: 1.55rem; }
        .workflow-card p { color: #b7c5d7; margin: 0; line-height: 1.55; }
        .workflow-card img { display: block; width: 100%; border-radius: 12px; }

        .section-intro { color: var(--muted); margin: -6px 0 22px; }
        .schedule-job { border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 16px; background: #f8fafb; }
        .schedule-job-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
        .schedule-job-heading h3 { border: 0; padding: 0; margin: 0; font-size: 1.05rem; }
        .schedule-job-heading button { padding: 8px 12px; width: auto; }
        .schedule-job-grid { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 12px; }
        .schedule-summary { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 16px; border-radius: 12px; background: #e7f4f1; color: var(--brand-dark); margin-bottom: 18px; }
        .schedule-results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; align-items: start; }
        .schedule-result-card { border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 14px; padding: 20px; background: white; box-shadow: 0 8px 22px rgba(32,54,74,.08); }
        .schedule-result-card h4 { margin: 4px 0 16px; font-size: 1.15rem; }
        .schedule-result-details { color: var(--muted); margin: -8px 0 16px; line-height: 1.45; }
        .schedule-result-label { color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
        .schedule-metric { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-top: 1px solid #edf1f4; font-size: .88rem; }
        .schedule-metric span { color: var(--muted); }
        .schedule-metric strong { text-align: right; }
        .schedule-result-error { color: #b91c1c; background: #fee2e2; padding: 12px; border-radius: 8px; }

        .scrap-start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
        .scrap-field { display: flex; flex-direction: column; gap: 7px; }
        #tab-scrap .card { padding: 22px; }
        .scrap-format-manager { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #f8fafb; }
        .scrap-format-toolbar { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; }
        .scrap-format-help { margin-top: 14px; padding: 10px 12px; border-radius: 9px; background: #e7f4f1; color: var(--brand-dark); font-size: .82rem; }
        .scrap-format-components { display: grid; gap: 8px; margin-top: 12px; }
        .scrap-format-component { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 9px; align-items: end; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: white; }
        .scrap-component-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
        .scrap-component-field span { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
        .scrap-format-component .scrap-remove-component { width: auto; justify-self: end; padding: 10px 14px; }
        .scrap-job-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px; background: #e7f4f1; border: 1px solid #cce5df; border-radius: 14px; }
        .scrap-job-header h3 { border: 0; margin: 3px 0; padding: 0; }
        .scrap-kicker { color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
        .scrap-job-meta { color: var(--muted); font-size: .85rem; }
        .scrap-work-section { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: 14px; background: #f8fafb; }
        .scrap-work-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
        .scrap-work-heading h3 { border: 0; margin: 0; padding: 0; font-size: 1.1rem; }
        .scrap-work-heading p { margin: 0; color: var(--muted); font-size: .84rem; text-align: right; }
        .scrap-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; align-items: start; }
        .scrap-component-card { min-width: 0; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 11px; padding: 12px; background: #f8fafb; }
        .scrap-full-bottle-card { border-top-color: var(--orange); background: #fffaf3; }
        .scrap-component-card h3 { border: 0; margin: 0 0 8px; padding: 0; font-size: 1rem; }
        .scrap-card-context { display: block; margin: -6px 0 12px; color: var(--muted); }
        .scrap-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; color: var(--muted); font-size: .85rem; }
        .scrap-metrics strong { grid-column: 1 / -1; color: var(--ink); padding-top: 8px; border-top: 1px solid var(--line); }
        .scrap-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
        .scrap-stock-controls { display: flex; gap: 6px; align-items: center; margin-top: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
        .scrap-stock-controls input { flex: 1; min-width: 100px; }
        .scrap-stock-controls button { width: auto; white-space: nowrap; }
        .scrap-bottle-controls { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 7px; }
        .scrap-bottle-controls input { flex: 1; min-width: 100px; }
        .scrap-bottle-controls button { width: auto; }
        .scrap-bottle-help { display: block; margin-top: 6px; color: var(--muted); }
        .scrap-controls input { min-width: 70px; flex: 1; }
        .scrap-controls button, .scrap-stepper button { width: auto; }
        .scrap-stepper { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
        .scrap-stepper strong { grid-column: 1 / -1; }
        .scrap-stepper button { min-width: 46px; font-size: 1.2rem; }
        .scrap-stepper input { width: 100%; min-width: 0; text-align: center; font-weight: 800; }
        .scrap-stepper .scrap-record-button { min-width: 0; padding-inline: 14px; font-size: .9rem; white-space: nowrap; }
        .scrap-control-label { grid-column: 1 / -1; color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
        .scrap-history { display: grid; gap: 16px; }
        .scrap-history-card { border: 1px solid var(--line); border-radius: 12px; padding: 13px; background: #f8fafb; }
        .scrap-history-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
        .scrap-history-note { color: var(--muted); font-size: .82rem; text-align: right; }
        .scrap-history-summary { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0; color: var(--muted); font-size: .85rem; }
        .scrap-history-components { border-top: 1px solid var(--line); }
        .scrap-history-component { display: grid; grid-template-columns: minmax(150px, 1.5fr) repeat(3, minmax(120px, 1fr)); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
        .scrap-history-component:last-child { border-bottom: 0; }
        .scrap-history-component span { color: var(--muted); }

        @media (max-width: 900px) {
            .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .schedule-job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .scrap-start-grid { grid-template-columns: 1fr; }
            .scrap-format-toolbar { grid-template-columns: 1fr; }
            .workflow-card { grid-template-columns: 1fr; }
            .home-menu { grid-template-columns: 1fr; }
            .home-menu-card:last-child { grid-column: auto; }
        }
        @media (max-width: 600px) {
            body { padding: 0 14px 30px; }
            .app-header { padding-top: 18px; }
            .header-status { display: none; }
            .card { padding: 20px; }
            .grid { grid-template-columns: 1fr; }
            .schedule-job-grid { grid-template-columns: 1fr; }
            .scrap-job-header { align-items: stretch; flex-direction: column; }
            #tab-scrap .card { padding: 14px; }
            .scrap-work-section { padding: 12px; }
            .scrap-work-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
            .scrap-work-heading p { text-align: left; }
            .scrap-list { grid-template-columns: 1fr; }
            .scrap-stock-controls { align-items: stretch; flex-direction: column; }
            .scrap-stock-controls button { width: 100%; }
            .scrap-stepper { grid-template-columns: 1fr; }
            .scrap-stepper strong { grid-column: 1 / -1; }
            .scrap-stepper .scrap-amount-input { grid-column: 1 / -1; }
            .scrap-stepper .scrap-record-button { grid-column: 1 / -1; width: 100%; }
            .scrap-history-heading { align-items: flex-start; flex-direction: column; }
            .scrap-history-note { text-align: left; }
            .scrap-history-component { grid-template-columns: 1fr 1fr; }
            .scrap-history-component strong { grid-column: 1 / -1; }
            .scrap-format-component { grid-template-columns: 1fr; }
            .scrap-format-component button { width: 100%; }
            .workflow-card { padding: 22px; }
        }
    
