@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Outfit:wght@400;500;600;700&display=swap";:root{--bg-primary: #FAF6F0;--bg-panel: #FFFFFF;--border-light: #E6DFD5;--text-dark: #4A433D;--text-muted: #8F857B;--accent-coral: #C88C6B;--accent-green: #8EA68B;--accent-blue: #6B9EC8;--font-ui: "Outfit", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;--font-mono: "Courier New", Courier, monospace}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--bg-primary);color:var(--text-dark);font-family:var(--font-ui);display:flex;flex-direction:column;align-items:center;min-height:100vh;padding-bottom:3rem}.config-panel{width:100%;max-width:794px;background:var(--bg-panel);border:1px solid var(--border-light);border-radius:16px;padding:1.5rem;margin:1.5rem 0;box-shadow:0 4px 20px #4a433d0d;display:flex;flex-direction:column;gap:1.25rem}.header-title h1{font-size:1.5rem;color:var(--accent-coral);font-weight:700;letter-spacing:.05em}.header-title p{font-size:.85rem;color:var(--text-muted)}.config-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1.25rem;border-top:1px solid var(--border-light);padding-top:1rem}.config-group{display:flex;flex-direction:column;gap:.5rem}.config-label{font-size:.85rem;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em}.radio-group,.checkbox-group{display:flex;flex-direction:column;gap:.4rem;font-size:.9rem}.radio-group label,.checkbox-group label{display:flex;align-items:center;gap:.35rem;cursor:pointer;-webkit-user-select:none;user-select:none}select{background:var(--bg-primary);border:1px solid var(--border-light);border-radius:6px;padding:.45rem;color:var(--text-dark);font-family:var(--font-ui);font-size:.9rem;outline:none;cursor:pointer}.actions-bar{display:flex;gap:.75rem;justify-content:flex-end;border-top:1px solid var(--border-light);padding-top:1rem}.btn{border:none;padding:.6rem 1.25rem;border-radius:8px;font-family:var(--font-ui);font-weight:600;font-size:.9rem;cursor:pointer;transition:all .15s ease}.btn-primary{background:var(--accent-coral);color:#fff}.btn-primary:hover{opacity:.9;transform:translateY(-1px)}.btn-secondary{background:var(--accent-green);color:#fff}.btn-secondary:hover{opacity:.9;transform:translateY(-1px)}.btn-accent{background:var(--accent-blue);color:#fff}.btn-accent:hover{opacity:.9;transform:translateY(-1px)}.btn-pdf{background:#9b8ea6;color:#fff}.btn-pdf:hover{opacity:.9;transform:translateY(-1px)}.preview-area{display:flex;justify-content:center;width:100%}.sheet-container{width:794px;height:1123px;background:#fff;border:1px solid #D1C9BE;border-radius:4px;box-shadow:0 12px 36px #4a433d14;padding:4.5rem 3.5rem;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box;position:relative}.sheet-header{display:flex;flex-direction:column;gap:1.5rem;align-items:center;border-bottom:2px double var(--border-light);padding-bottom:1.5rem;margin-bottom:2rem}.sheet-header h2{font-size:2rem;letter-spacing:.3em;color:#332e2a;font-weight:700}.student-info{width:100%;display:flex;justify-content:space-between;font-size:.95rem;color:#5c544e;font-weight:500}.student-info span{white-space:nowrap}.sheet-grid{display:grid;grid-template-columns:1fr 1px 1fr 1px 1fr 1px 1fr;gap:0 1.5rem;flex-grow:1;margin-bottom:2rem;align-content:space-between}.grid-col{display:flex;flex-direction:column;justify-content:space-between;height:100%;min-height:750px}.grid-divider{border-left:1px dashed var(--border-light);height:100%}.formula-row{display:flex;justify-content:space-between;align-items:center;width:100%;white-space:nowrap;font-family:var(--font-mono);font-size:1.15rem;font-weight:700;color:#2c2724;line-height:1.8}.formula-expr,.formula-ans{white-space:nowrap}.ans-val{display:inline-block;width:2.5rem;text-align:left}.sheet-container:not(.show-answers) .ans-val{visibility:hidden}.sheet-container.show-answers .ans-val{visibility:visible;color:var(--accent-coral)}.sheet-footer{text-align:center;font-size:.8rem;color:#aea59a;border-top:1px dashed var(--border-light);padding-top:1rem;margin-top:auto;display:flex;justify-content:space-between}.nav-tabs{display:flex;gap:.75rem;margin-top:1.5rem;width:100%;max-width:794px;justify-content:center}.nav-tab{text-decoration:none;color:var(--text-muted);font-weight:600;font-size:.95rem;padding:.5rem 1.5rem;border-radius:20px;background:var(--bg-panel);border:1px solid var(--border-light);transition:all .2s ease;box-shadow:0 2px 8px #4a433d05}.nav-tab:hover{color:var(--accent-coral);border-color:var(--accent-coral);transform:translateY(-1px)}.nav-tab.active{color:#fff;background:var(--accent-coral);border-color:var(--accent-coral);box-shadow:0 4px 12px #c88c6b33}.sheet-grid.col-2{grid-template-columns:1fr 1px 1fr;gap:0 2rem}.currency-sheet .formula-row.row-left{justify-content:flex-start;gap:.1rem;letter-spacing:.01em;font-size:.95rem;line-height:1.5}.currency-sheet .ans-val{text-align:center;width:1.4rem;font-weight:700;border-bottom:1px solid var(--border-light);margin:0 .1rem}.sheet-container.show-answers.currency-sheet .ans-val{border-bottom-color:#c88c6b4d}.rendering-pdf .sheet-container{border:none!important;box-shadow:none!important;border-radius:0!important;margin:0!important;width:794px!important;height:1123px!important}.time-sheet .formula-row.row-left.time-question-card{display:flex;justify-content:flex-start;align-items:center;gap:2rem;padding:.25rem 0;border-bottom:1px dashed var(--border-light);width:100%}.time-sheet .grid-col .time-question-card:last-child{border-bottom:none}.time-card-left{display:flex;flex-direction:column;align-items:center;gap:.15rem}.time-card-right{font-family:var(--font-mono);font-size:1.05rem;font-weight:700;color:#2c2724;white-space:nowrap}.time-sheet .ans-val{text-align:center;width:1.8rem;display:inline-block;font-weight:700;border-bottom:1px solid var(--border-light);margin:0 .2rem}.sheet-container.show-answers.time-sheet .ans-val{border-bottom-color:#c88c6b4d}.time-badge{background:var(--bg-primary);border:1px solid var(--border-light);border-radius:4px;padding:.1rem .25rem;font-size:.72rem;font-weight:700;color:var(--text-dark);display:flex;align-items:center;gap:.15rem;min-width:48px;justify-content:center;line-height:1.1}@media print{body{background:#fff!important;padding:0;margin:0}.config-panel,.nav-tabs{display:none!important}.sheet-container{width:100%!important;height:100vh!important;border:none!important;box-shadow:none!important;padding:2.5rem 2rem!important;margin:0!important}}
