:root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --math-color: #6f42c1;
            --calc-color: #e83e8c;
        }
      .page-header {
            background: linear-gradient(135deg, rgba(169, 214, 229, 0.4) 0%, rgba(44, 125, 160, 0.4) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(44, 125, 160, 0.2);
            position: relative;
            overflow: hidden;color: var(--text-color);
        }
        .breadcrumb {
            background-color: transparent;
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
        }
        .breadcrumb-item a {
            color: var(--text-muted);
            text-decoration: none;
        }
        .breadcrumb-item.active {
            color: var(--text-color);
        }
        .math-result {
            padding: 12px;
            background-color: white;
            border-radius: 4px;
            border: 1px solid #eee;
            font-size: 1rem;
            margin: 10px 0;
        }
        .math-equation {
            font-size: 1.2rem;
            padding: 15px;
            background-color: rgba(111, 66, 193, 0.05);
            border-left: 4px solid var(--math-color);
            border-radius: 4px;
            margin: 15px 0;
        }
        .property-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .property-item {
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 0.8rem 1rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.03);
        }
        .property-label {
            font-size: 0.85rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .property-value {
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--primary-color);
            line-height: 1.2;
        }
        .property-unit {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-left: 4px;
        }
        .polygon-canvas-container {
            background: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            padding: 1rem;
            margin: 1.5rem 0;
            display: flex;
            justify-content: center;
        }
        canvas#polygonCanvas {
            width: 100%;
            max-width: 350px;
            height: auto;
            background: white;
            border-radius: 4px;
        }
        .graph-legend {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-top: 0.5rem;
        }
        .legend-item {
            display: flex;
            align-items: center;
            font-size: 0.9rem;
        }
        .legend-color {
            width: 20px;
            height: 4px;
            margin-right: 0.5rem;
        }
        .circum-color {
            background-color: rgba(44, 125, 160, 0.6);
            border: 1px dashed rgba(44, 125, 160, 0.8);
            height: 2px;
        }
        .inradius-color {
            background-color: rgba(232, 62, 140, 0.6);
            border: 1px dotted rgba(232, 62, 140, 0.8);
            height: 2px;
        }
        .polygon-stroke-color {
            width: 20px;
            height: 4px;
            background-color: #2c3e50;
            margin-right: 0.5rem;
        }
        .point-color {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: #dc3545;
            margin-right: 0.5rem;
        }
        .math-box {
            background-color: rgba(111, 66, 193, 0.05);
            border-left: 3px solid var(--math-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        .property-table {
            width: 100%;
            margin: 1.5rem 0;
            border-collapse: collapse;
        }
        .property-table th, .property-table td {
            border: 1px solid var(--border-color);
            padding: 0.75rem;
            text-align: left;
        }
        .property-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        input[readonly] {
            background-color: #f0f0f0;
            cursor: not-allowed;
        }