* { box-sizing: border-box; } body { font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif; background: #f3f4f6; margin: 0; padding: 20px; } .container { max-width: 1000px; margin: auto; } .app-header { text-align: center; margin-bottom: 25px; } .app-header h1 { font-size: 28px; margin-bottom: 5px; } .app-header p { color: #555; } .settings-card { background: white; border-radius: 14px; padding: 20px; box-shadow: 0 10px 25px rgba(0,0,0,.08); margin-bottom: 30px; } .settings-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 15px; align-items: end; } label { font-size: 14px; font-weight: 600; margin-bottom: 6px; display: block; } input, select { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid #ccc; font-size: 15px; } .primary-btn { padding: 12px 20px; font-size: 16px; border-radius: 10px; background: #6366f1; color: white; border: none; cursor: pointer; } .primary-btn:hover { background: #4f46e5; } .task-types { margin-top: 20px; } .task-types summary { cursor: pointer; font-weight: 600; padding: 10px 0; } .task-types summary span { background: #6366f1; color: white; padding: 3px 10px; border-radius: 12px; font-size: 12px; margin-left: 8px; } .task-types-actions { margin: 10px 0; display: flex; gap: 10px; } .task-types-actions button { padding: 6px 12px; border-radius: 8px; border: 1px solid #c7d2fe; background: #eef2ff; cursor: pointer; font-size: 14px; } .task-types-actions button:hover { background: #e0e7ff; } .type-group { margin-bottom: 16px; } .type-group-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #555; } .type-tags { display: flex; flex-wrap: wrap; gap: 8px; } .type-tag { padding: 6px 14px; border-radius: 20px; font-size: 14px; cursor: pointer; border: 1px solid #c7d2fe; background: #eef2ff; color: #3730a3; transition: all .2s ease; user-select: none; } .type-tag:hover { background: #e0e7ff; } .type-tag.active { background: #4f46e5; color: white; border-color: #4f46e5; } .task { background: white; border-radius: 14px; padding: 22px; margin-bottom: 25px; box-shadow: 0 8px 20px rgba(0,0,0,.08); } .task-header { display: flex; justify-content: space-between; margin-bottom: 15px; } .task-number { font-weight: 700; color: #4f46e5; } .task-type { font-size: 13px; background: #eef2ff; color: #4338ca; padding: 4px 12px; border-radius: 20px; } .question { font-size: 18px; margin-bottom: 15px; } .answer-section { background: #ecfdf5; border-left: 4px solid #10b981; padding: 12px 16px; border-radius: 8px; margin-bottom: 15px; } .answer-value { font-size: 22px; font-weight: 700; } .solution-section { background: #fff7ed; border-left: 4px solid #fb923c; padding: 15px; border-radius: 8px; } .solution-title { font-weight: 700; margin-bottom: 10px; } .step { margin-bottom: 6px; padding-left: 14px; position: relative; } .step::before { content: "•"; position: absolute; left: 0; } .loading { text-align: center; display: none; margin: 30px 0; } .spinner { width: 36px; height: 36px; border: 4px solid #ddd; border-top: 4px solid #6366f1; border-radius: 50%; animation: spin 1s linear infinite; margin: auto; } @keyframes spin { to { transform: rotate(360deg); } } @media (max-width: 768px) { .settings-grid { grid-template-columns: 1fr; } }