

        h1 { 
            width: 100%; 
            display: inline-block; 
            text-align: center; 
            color: #1a202c;
        }

        h2 { 
            color: var(--main-color); 
            border-bottom: 2px solid var(--secondary-color); 
            padding-bottom: 0.5rem; 
        }
        b, .bold-text { font-weight: bold; }
        i, .italic-text { font-style: italic; }

        .articlecontainer {
            margin: auto;
            max-width: 1280px;
            padding: 0 16px;
            width: 100%;
        }
        .info-section { border-left: 5px solid var(--tertiary-color); padding-left: 20px; }
        
        ul, ol, dl { line-height: 1.5; }
        li { margin-bottom: 10px; }

        .parenthesisnumlist { list-style: parenthesisnumlist; }
        .parenthesisalplist { list-style: parenthesisalplist; }

        .ad-container {
            width: 100%;
            margin: 2rem auto;
            text-align: center;
            min-height: 90px;
        }

        /* --- Input Section --- */
        .input-group { display: flex; gap: 15px; margin-top: 10px; flex-wrap: wrap; }
        label { display: block; font-weight: bold; margin-bottom: 8px; color: var(--color-dark); }

        input[type="text"] {
            flex: 1; min-width: 250px; padding: 16px 20px; border: 2px solid var(--border-color);
            border-radius: 4px; font-size: 1.2rem; outline: none; font-family: 'Courier New', monospace;
            background-color: #fff;
        }

        input[type="text"]:focus-visible { border-color: var(--main-color); outline: 3px solid var(--main-color); outline-offset: 1px; }

        .btn-primary {
            background-color: var(--main-color); color: white; border: none;
            padding: 16px 36px; border-radius: 4px; font-weight: bold; font-size: 1.1rem;
            cursor: pointer; display: flex; align-items: center; justify-content: center;
        }
        .btn-primary:hover, .btn-primary:focus { background-color: var(--tertiary-color); outline: 2px solid var(--color-dark); outline-offset: 2px; }

        /* Chips */
        .example-area { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
        .example-chip {
            background-color: var(--tertiary-background); color: var(--color-dark); padding: 8px 16px;
            border-radius: 4px; font-size: 0.9rem; font-weight: 600; cursor: pointer; border: 1px solid var(--border-color);
            display: flex; align-items: center; justify-content: center;
            font-family: 'Courier New', monospace;
        }
        .example-chip:hover, .example-chip:focus { background-color: var(--secondary-color); color: white; outline: 2px solid var(--main-color); }
        
        .example-chip sup {
            font-size: 0.65em;
            vertical-align: baseline;
            position: relative;
            top: -0.4em;
            line-height: 0;
            margin-left: 1px;
        }

        .results-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; margin-top: 25px; }

        .step-item { border-left: 6px solid var(--secondary-color); background: #fff; padding: 25px; margin-bottom: 20px; border: 1px solid var(--border-color); }

        .step-title { font-weight: bold; color: var(--main-color); margin-bottom: 10px; display: block; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }

        .visual-panel { display: flex; flex-direction: column; gap: 20px; }
        .graph-box { background: #fff; border: 1px solid var(--border-color); padding: 25px; text-align: center; }
        .graph-wrapper { position: relative; width: 100%; max-width: 220px; margin: 0 auto; }
        #graphSvg { width: 100%; height: auto; display: block; background: #fff; border: 1px solid #eee; }

        .props-table { width: 100%; border-collapse: collapse; }
        .props-table td { padding: 12px 0; border-bottom: 1px solid #e2e8f0; }
        .props-table td:first-child { font-weight: bold; color: var(--color-gray); }
        .props-table td:last-child { text-align: right; font-family: 'Courier New', monospace; color: var(--main-color); font-weight: bold; }

        .final-badge { margin-top: 25px; padding: 30px; text-align: center; font-size: 1.6rem; font-weight: bold; border-radius: 4px; }
        .success { background: var(--color-light-green); border: 2px solid var(--color-green); color: var(--color-green-dark); }
        .fail { background: #fee2e2; border: 2px solid var(--color-error-dark); color: #991b1b; }

        .copy-btn { margin-top: 15px; background: none; border: 1px solid #ccc; padding: 6px 16px; border-radius: 4px; cursor: pointer; font-size: 0.85rem; font-weight: bold; }
        .copy-btn:hover, .copy-btn:focus { background: #eee; outline: 1px solid var(--color-dark); }

        .math-box { 
            font-family: serif; 
            background: #f1f5f9; 
            padding: 2px 8px; 
            border-radius: 4px; 
            font-weight: normal; 
            color: var(--color-dark); 
            font-size: 1.05rem;
            display: inline-block;
            white-space: normal;
            word-break: break-word;
        }

        .text-center { text-align: center; }

        /* Sitemap Style for Other Tools */
        .sitemap-section { margin-bottom: 2rem; }
        .sitemap-section ul { list-style-type: none; padding-left: 0; }
        .sitemap-section li { margin-bottom: 0.75rem; }
        .sitemap-section a { text-decoration: none; color: #333; font-size: 1.1rem; }
        .sitemap-section a:hover { text-decoration: underline; color: var(--main-color); }

        /* Accessibility Styles */
        .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* Mobile Friendliness */
        @media (max-width: 900px) {
            .results-layout { grid-template-columns: 1fr; }
            .visual-panel { order: -1; }
            .card { padding: 25px 16px; }
            .input-group { flex-direction: column; }
            .btn-primary { width: 100%; }
            input[type="text"] { min-width: 100%; }
            h1 { font-size: 1.8rem; }
        }
        
        @media (max-width: 480px) {
            .final-badge { font-size: 1.2rem; padding: 20px 10px; }
            .step-item { padding: 15px; }
        }