@import"https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;700&display=swap";:root{--primary-red: #d92b2b;--ink-black: #1a1a1b;--official-gray: #4a4a4a;--paper-bg: #ffffff;--header-bg: #e2e1d9;--body-bg: #d1d5db;--text-primary: #0f172a;--text-secondary: #64748b;--text-muted: #94a3b8;--border-light: #e2e8f0;--border-default: #cbd5e1;--border-dark: #94a3b8;--success: #10b981;--warning: #f59e0b;--error: #ef4444}*,*::before,*::after{box-sizing:border-box}*{margin:0;padding:0}html{height:100%;font-size:16px}body{min-height:100%;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}button{cursor:pointer}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}.blank-input{border-bottom:2px solid var(--ink-black);background:rgba(0,0,0,0);text-align:center;transition:all .2s ease;outline:none;color:#1e40af;font-weight:700;padding:4px 8px;border-radius:0;font-family:"Noto Serif JP",serif;font-size:1.75rem;line-height:1.5}.blank-input:focus{background-color:rgba(0,0,0,.03);outline:2px solid var(--primary-red);outline-offset:2px}.blank-input.correct{border-bottom-color:rgba(0,0,0,0);color:var(--primary-red);font-family:"Noto Serif JP",serif;cursor:default}.blank-input.incorrect{background-color:rgba(239,68,68,.1);border-bottom-color:var(--error)}.blank-input.blank-input--review{display:inline;padding:4px 8px;border:none;border-bottom:2px solid var(--ink-black);background:rgba(0,0,0,0);white-space:normal;word-wrap:break-word;overflow-wrap:break-word}.blank-input.blank-input--review.correct{border-bottom-color:rgba(0,0,0,0);color:var(--primary-red);background:rgba(0,0,0,0)}.blank-input.blank-input--review.incorrect{background-color:rgba(239,68,68,.1);border-bottom-color:var(--error)}.blank-input.blank-input--review.unanswered{background-color:rgba(156,163,175,.1);border-bottom-color:#9ca3af;color:#6b7280}html{font-size:14px}body{font-family:"Noto Sans JP",sans-serif;font-weight:400;color:var(--text-primary)}.trix-content{font-family:"Noto Sans JP",sans-serif;line-height:1.7}.learning-layout{font-family:"Noto Serif JP",serif;background-color:var(--body-bg);color:var(--ink-black)}@media(max-width: 767px){.learning-layout{padding-top:160px}}.app-header{background:linear-gradient(135deg, #1e40af 0%, #0b1f3a 100%);padding:12px 0;border-bottom:1px solid hsla(0,0%,100%,.08);box-shadow:0 6px 16px rgba(15,23,42,.25);position:sticky;top:0;z-index:1000}.app-header__container{max-width:980px;margin:0 auto;padding:0 .25rem}@media(min-width: 1024px){.app-header__container{padding:0 .5rem}}.app-header__container{display:flex;align-items:center;gap:24px}.app-header__brand{flex:0 0 auto}.app-header__logo{display:inline-flex;align-items:center;text-decoration:none}.app-header__logo:hover{opacity:.9}.app-header__logo-text{font-size:1.6rem;font-weight:800;color:#fff;font-family:"Noto Serif JP",serif}.app-header__logo-image{height:36px;width:auto;max-width:180px;display:block}.app-header__menu-button{display:none;width:42px;height:42px;align-items:center;justify-content:center;flex-direction:column;gap:5px;border-radius:999px;border:1px solid hsla(0,0%,100%,.2);background:hsla(0,0%,100%,.12);cursor:pointer;transition:background-color .2s ease,border-color .2s ease}.app-header__menu-button span{display:block;width:22px;height:3px;background:#fff;border-radius:999px;box-shadow:0 2px 6px rgba(15,23,42,.35)}.app-header__menu-button:hover{background:hsla(0,0%,100%,.2);border-color:hsla(0,0%,100%,.35)}.app-header__menu{display:flex;align-items:center;gap:24px;flex:1}.app-header__nav{display:flex;gap:8px;flex:1}.app-header__nav-link{padding:8px 16px;color:hsla(0,0%,100%,.85);text-decoration:none;border-radius:6px;font-weight:600;transition:all .2s ease}.app-header__nav-link:hover{background:hsla(0,0%,100%,.1);color:#fff}.app-header__nav-link--active{background:hsla(0,0%,100%,.18);color:#fff;font-weight:700}.app-header__controls{flex:0 0 auto}.app-header__user{flex:0 0 auto}.app-header__user-info{display:flex;align-items:center;gap:12px}.app-header__user-email{color:hsla(0,0%,100%,.75);font-size:.9rem}.app-header__user-menu{position:relative}.app-header__user-trigger{border:1px solid hsla(0,0%,100%,.2);background:hsla(0,0%,100%,.08);color:hsla(0,0%,100%,.9);padding:6px 12px;border-radius:999px;display:inline-flex;align-items:center;gap:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background-color .2s ease,border-color .2s ease}.app-header__user-trigger:hover{background:hsla(0,0%,100%,.16);border-color:hsla(0,0%,100%,.35)}.app-header__user-caret{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-bottom:2px}.app-header__user-dropdown{position:absolute;right:0;top:100%;margin-top:6px;background:#fff;border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 16px 28px rgba(15,23,42,.18);padding:8px;display:none;min-width:180px;z-index:1001}.app-header__user-dropdown::before{content:"";position:absolute;top:-6px;left:0;right:0;height:6px}.app-header__user-item{display:block;padding:8px 12px;border-radius:8px;color:#0f172a;text-decoration:none;font-weight:600;transition:background-color .2s ease,color .2s ease}.app-header__user-item:hover{background:#eff6ff;color:#1e40af}.app-header__user-item--danger{color:#b91c1c}.app-header__user-item--danger:hover{background:#fee2e2;color:#b91c1c}.app-header__user-menu:hover .app-header__user-dropdown,.app-header__user-menu:focus-within .app-header__user-dropdown,.app-header__user-trigger:hover+.app-header__user-dropdown,.app-header__user-dropdown:hover{display:block}.app-header__logout{color:hsla(0,0%,100%,.9);text-decoration:none;padding:6px 12px;border-radius:999px;font-size:.9rem;transition:background-color .2s ease}.app-header__logout:hover{background:hsla(0,0%,100%,.12);color:#fff}.app-header__auth-links{display:flex;gap:8px}.app-header__auth-link{padding:8px 16px;color:hsla(0,0%,100%,.9);text-decoration:none;border-radius:6px;font-weight:600;transition:all .2s ease;border:1px solid rgba(0,0,0,0)}.app-header__auth-link:hover{background:hsla(0,0%,100%,.1);color:#fff}.app-header__auth-link--primary{background:hsla(0,0%,100%,.2);color:#fff;border-color:hsla(0,0%,100%,.3)}.app-header__auth-link--primary:hover{background:hsla(0,0%,100%,.3)}.app-header__backdrop{display:none}@media(max-width: 768px){.app-header__container{gap:12px}.app-header__menu-button{display:inline-flex;margin-left:auto}.app-header__menu{display:none;position:fixed;top:0;right:0;height:100vh;width:min(78vw,320px);flex-direction:column;align-items:stretch;justify-content:flex-start;gap:16px;padding:90px 20px 24px;background:#f6f8ff;background-image:radial-gradient(8px 8px at 18% 20%, rgba(59, 130, 246, 0.08) 0 60%, rgba(246, 248, 255, 0) 62%),radial-gradient(10px 10px at 78% 28%, rgba(14, 165, 233, 0.06) 0 60%, rgba(246, 248, 255, 0) 62%),radial-gradient(12px 12px at 28% 76%, rgba(59, 130, 246, 0.05) 0 60%, rgba(246, 248, 255, 0) 62%),linear-gradient(145deg, rgba(226, 232, 255, 0.9), rgba(255, 255, 255, 0.95));box-shadow:-16px 0 30px rgba(15,23,42,.4);transform:translateX(100%);transition:transform .2s ease;z-index:1100}.app-header.app-header--menu-open .app-header__menu{display:flex;transform:translateX(0)}.app-header__backdrop{display:block;position:fixed;inset:0;background:rgba(15,23,42,.45);opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:1050}.app-header.app-header--menu-open .app-header__backdrop{opacity:1;pointer-events:auto}.app-header__nav{flex-direction:column;gap:6px}.app-header__nav-link{padding:10px 12px;font-size:.95rem;color:#0b1f3a;background:hsla(0,0%,100%,.75);border:1px solid rgba(148,163,184,.25)}.app-header__nav-link:hover{background:rgba(226,232,255,.9);color:#0b1f3a}.app-header__nav-link--active{background:rgba(30,64,175,.12);color:#1e3a8a;border-color:rgba(30,64,175,.35)}.app-header__user-email{display:none}.app-header__auth-links{flex-direction:column;align-items:stretch}.app-header__auth-link{width:100%;text-align:center;color:#0b1f3a;background:hsla(0,0%,100%,.8);border-color:rgba(148,163,184,.3)}.app-header__auth-link:hover{background:rgba(226,232,255,.95);color:#0b1f3a}.app-header__auth-link--primary{background:rgba(30,64,175,.12);color:#1e3a8a;border-color:rgba(30,64,175,.35)}.app-header__auth-link--primary:hover{background:rgba(30,64,175,.18)}}.app-main{min-height:80vh}.static-page{padding:2rem 0 3rem}.static-page__container{max-width:980px;margin:0 auto;padding:0 .25rem}@media(min-width: 1024px){.static-page__container{padding:0 .5rem}}.static-card{background:#fff;border-radius:16px;border:1px solid #e2e8f0;box-shadow:0 16px 32px rgba(15,23,42,.08);padding:32px}@media(max-width: 767px){.static-card{padding:24px}}.static-card__title{font-size:2rem;font-weight:800;color:#0b1f3a;margin-bottom:12px}.static-card__lead{color:#64748b;margin-bottom:20px}.static-faq{display:flex;flex-direction:column;gap:18px}.static-faq__item{border-bottom:1px solid #e2e8f0;padding-bottom:16px}.static-faq__question{font-size:1.1rem;font-weight:700;color:#1e3a8a;margin-bottom:8px}.static-faq__answer{color:#475569}.static-form{display:flex;flex-direction:column;gap:16px}.static-form__field{display:flex;flex-direction:column;gap:8px}.static-form__label{font-weight:600;color:#1f2937}.static-form__input,.static-form__textarea{border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px;font-size:1rem;transition:border-color .2s ease,box-shadow .2s ease}.static-form__input:focus,.static-form__textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.12)}.static-form__submit{align-self:flex-start}.app-footer{background:linear-gradient(180deg, #1e40af 0%, #0b1f3a 100%);color:hsla(0,0%,100%,.85);padding:2rem 0 1.5rem;margin-top:auto;border-top:1px solid hsla(0,0%,100%,.08)}.app-footer__container{max-width:980px;margin:0 auto;padding:0 .25rem}@media(min-width: 1024px){.app-footer__container{padding:0 .5rem}}.app-footer__container{text-align:left;display:flex;flex-direction:column;gap:20px}.app-footer__content{display:grid;grid-template-columns:minmax(240px, 1.4fr) minmax(200px, 1fr);gap:32px}@media(max-width: 767px){.app-footer__content{grid-template-columns:1fr}}.app-footer__brand{display:flex;flex-direction:column;gap:12px}.app-footer__title{font-size:1.1rem;font-weight:700;color:#fff}.app-footer__lead{color:hsla(0,0%,100%,.7);max-width:380px}.app-footer__nav{display:grid;grid-template-columns:repeat(2, minmax(140px, 1fr));gap:20px;font-weight:600;font-size:.95rem}@media(max-width: 767px){.app-footer__nav{grid-template-columns:1fr}}.app-footer__nav-group{display:flex;flex-direction:column;gap:10px}.app-footer__nav-title{font-size:.85rem;text-transform:uppercase;letter-spacing:.16em;color:hsla(0,0%,100%,.6)}.app-footer__link{color:hsla(0,0%,100%,.85);text-decoration:none;transition:color .2s ease,text-decoration-color .2s ease;width:fit-content}.app-footer__link:hover{color:#fff;text-decoration:underline;text-decoration-color:hsla(0,0%,100%,.7)}.app-footer__copyright{font-size:.95rem;letter-spacing:.02em;border-top:1px solid hsla(0,0%,100%,.08);padding-top:16px}.tanto-training-layout{min-height:100vh;display:flex;flex-direction:column}.tanto-training-main{flex:1;background:linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);padding:2rem 0}.tanto-training-container{max-width:980px;margin:0 auto;padding:0 .25rem}@media(min-width: 1024px){.tanto-training-container{padding:0 .5rem}}.tanto-training-container{max-width:1000px;margin:0 auto}.tanto-header{text-align:center;margin-bottom:2rem}.tanto-header .tanto-title{font-size:2rem;font-weight:700;color:#1f2937;margin-bottom:.5rem;font-family:"Noto Serif JP",serif}.tanto-header .tanto-year{font-size:1.5rem;color:#6b7280;margin-bottom:1.5rem}.tanto-resume{display:flex;justify-content:center;margin-bottom:1.5rem}.problem-container{background:#fff;border-radius:16px;border:1px solid #e5e7eb;box-shadow:0 4px 6px rgba(0,0,0,.05);margin-bottom:2rem;overflow:hidden}.problem-container .problem-card{padding:2rem}.problem-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.problem-header-left .problem-info{display:flex;align-items:center;gap:.5rem}.problem-header-left .problem-info .problem-year,.problem-header-left .problem-info .problem-number,.problem-header-left .problem-info .problem-law{font-size:1.1rem;font-weight:600;color:#1f2937}.problem-header-left .problem-info .problem-law{color:#2563eb}.problem-header-right .history-table{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.05)}.problem-header-right .history-table .history-row{display:flex}.problem-header-right .history-table .history-row:first-child{border-bottom:1px solid #e5e7eb;background:#f8fafc}.problem-header-right .history-table .history-row .history-cell{padding:.375rem .25rem;text-align:center;width:2.5rem;flex:0 0 2.5rem;border-right:1px solid #e5e7eb}.problem-header-right .history-table .history-row .history-cell:last-child{border-right:none}.problem-header-right .history-table .history-row .history-cell .attempt-date{font-size:.7rem;color:#6b7280;font-weight:500}.problem-header-right .history-table .history-row .history-cell .result-mark{font-size:.875rem;font-weight:600}.problem-header-right .history-table .history-row .history-cell .result-mark.correct{color:#059669}.problem-header-right .history-table .history-row .history-cell .result-mark.incorrect{color:#dc2626}.problem-body{line-height:1.7;color:#1f2937;font-size:1rem;margin-bottom:2.5rem;padding:1.5rem;background:#f9fafb;border-radius:8px;border:1px solid #f3f4f6}.problem-body p{margin-bottom:1rem}.problem-body p:last-child{margin-bottom:0}.finished-container{background:#fff;border-radius:16px;border:1px solid #e5e7eb;padding:3rem;text-align:center;box-shadow:0 4px 6px rgba(0,0,0,.05)}.finished-container .finished-message h2{color:#7c3aed;font-size:2rem;margin-bottom:1rem;font-weight:700}.finished-container .finished-message p{color:#6b7280;font-size:1.1rem}@media(max-width: 767px){.tanto-training-container{padding:0 1rem}.problem-container .problem-card{padding:1.5rem}}.tanto-training-grid{display:grid;grid-template-columns:240px minmax(0, 1fr);gap:24px;align-items:start}.tanto-training-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-bottom:16px}.tanto-training-toolbar__resume{margin-right:auto;box-shadow:0 10px 18px rgba(37,99,235,.18)}.tanto-training-toolbar__actions{display:flex;flex-wrap:wrap;gap:8px}.tanto-training-toolbar .btn{padding:.45rem 1rem;border-radius:999px;font-weight:700;font-size:.85rem;border:1px solid rgba(148,163,184,.7);background:#f8fafc;color:#1f2937;text-decoration:none;display:inline-flex;align-items:center;transition:all .2s ease}.tanto-training-toolbar .btn:hover{background:#eef2ff;border-color:rgba(59,130,246,.35);color:#1e3a8a}.tanto-training-sidebar{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:16px;box-shadow:0 12px 20px rgba(15,23,42,.08);position:sticky;top:24px;max-height:calc(100vh - 48px);overflow:auto}.tanto-training-sidebar__title{font-size:.9rem;font-weight:700;color:#1e293b;margin-bottom:12px;letter-spacing:.08em;text-transform:uppercase}.tanto-training-sidebar__list{display:flex;flex-direction:column;gap:8px}.tanto-progress-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:12px;border:1px solid rgba(0,0,0,0);background:#f8fafc;color:#475569;font-weight:700;transition:all .2s ease}.tanto-progress-item__text{font-size:.95rem}.tanto-progress-item__status{min-width:28px;text-align:center;font-size:.9rem;padding:2px 6px;border-radius:999px;background:#e2e8f0;color:#475569}.tanto-progress-item.is-active{border-color:#2563eb;box-shadow:0 10px 16px rgba(37,99,235,.12);background:#eff6ff;color:#1e3a8a}.tanto-progress-item.is-correct .tanto-progress-item__status{background:rgba(34,197,94,.16);color:#166534}.tanto-progress-item.is-incorrect .tanto-progress-item__status{background:rgba(239,68,68,.16);color:#b91c1c}.tanto-progress-item.is-unanswered .tanto-progress-item__status{background:#e2e8f0;color:#94a3b8}.tanto-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end;margin-bottom:2rem}.tanto-actions__primary{display:flex;flex-wrap:wrap;gap:12px}.tanto-actions .btn{padding:.75rem 2rem;border-radius:999px;font-weight:700;border:1px solid rgba(0,0,0,0);cursor:pointer;transition:all .2s ease;text-decoration:none;display:inline-flex;align-items:center}.tanto-actions .btn:disabled{opacity:.5;cursor:not-allowed}.tanto-actions .btn.btn-primary{background:linear-gradient(135deg, #3b82f6, #1e40af);color:#fff;border-color:rgba(30,64,175,.2)}.tanto-actions .btn.btn-primary:hover:not(:disabled){background:linear-gradient(135deg, #2563eb, #1e3a8a);transform:translateY(-1px)}.tanto-actions .btn.btn-success{background:linear-gradient(135deg, #10b981, #059669);color:#fff;border-color:rgba(5,150,105,.25)}.tanto-actions .btn.btn-success:hover{background:linear-gradient(135deg, #059669, #047857);transform:translateY(-1px)}.tanto-actions .btn.btn-secondary{background:#f3f4f6;color:#374151;border-color:#d1d5db}.tanto-actions .btn.btn-secondary:hover{background:#e5e7eb}.tanto-actions .btn.btn-small{padding:.4rem .9rem;font-size:.85rem;border-radius:999px}.tanto-actions .btn.btn-ghost{background:#f8fafc;color:#1f2937;border:1px solid rgba(148,163,184,.6)}.tanto-actions .btn.btn-ghost:hover{background:#eef2ff;border-color:rgba(59,130,246,.35);color:#1e3a8a}.answer-result{margin-bottom:1.5rem;background:#fff;border-radius:12px;border:1px solid #e5e7eb;padding:1.5rem;text-align:center;box-shadow:0 2px 4px rgba(0,0,0,.05)}.answer-result .result-message .result-correct{color:#059669;font-weight:700;font-size:1.25rem}.answer-result .result-message .result-incorrect{color:#dc2626;font-weight:700;font-size:1.25rem}.answer-result .result-message .result-finished{color:#7c3aed;font-weight:700;font-size:1.25rem}.problem-answer{margin-bottom:2rem}.problem-answer .answer-choices{display:grid;grid-template-columns:repeat(5, minmax(64px, 1fr));gap:.75rem;justify-content:center}.problem-answer .answer-choices .answer-choice{display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;position:relative}.problem-answer .answer-choices .answer-choice:hover{transform:translateY(-2px)}.problem-answer .answer-choices .answer-choice:hover .choice-text{box-shadow:0 4px 12px rgba(59,130,246,.3)}.problem-answer .answer-choices .answer-choice input[type=radio]{position:absolute;opacity:0;cursor:pointer}.problem-answer .answer-choices .answer-choice input[type=radio]:checked+.choice-text{background:linear-gradient(135deg, #3b82f6, #1e40af);color:#fff;box-shadow:0 4px 12px rgba(59,130,246,.4);transform:scale(1.05)}.problem-answer .answer-choices .answer-choice .choice-text{display:inline-block;background:linear-gradient(135deg, #3b82f6, #1e40af);border:2px solid #3b82f6;color:#fff;padding:.75rem 1.25rem;border-radius:999px;font-weight:600;font-size:1.1rem;transition:all .2s ease;min-width:3.5rem;text-align:center;box-shadow:0 4px 12px rgba(59,130,246,.4);width:100%}.problem-answer .answer-choices .answer-choice.correct-answer .choice-text{background:linear-gradient(135deg, #10b981, #059669);border-color:#10b981;color:#fff;box-shadow:0 4px 12px rgba(16,185,129,.4)}.problem-answer .answer-choices .answer-choice.incorrect-answer .choice-text{background:linear-gradient(135deg, #ef4444, #dc2626);border-color:#ef4444;color:#fff;box-shadow:0 4px 12px rgba(239,68,68,.4)}@media(max-width: 767px){.tanto-training-grid{grid-template-columns:1fr}.tanto-training-sidebar{order:2}.tanto-training-work{order:1}.problem-header{flex-direction:column;align-items:flex-start;gap:12px}.answer-choices{grid-template-columns:repeat(3, minmax(64px, 1fr))}.tanto-actions{justify-content:center}}.tanto-training-container--split{max-width:1200px}.choices-train{display:flex;flex-direction:column;gap:20px}.choices-train__header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:18px 20px;box-shadow:0 10px 20px rgba(30,64,175,.08)}.choices-train__title{font-size:1.8rem;font-weight:800;color:#1e40af;margin:0 0 6px 0}.choices-train__subtitle{margin:0;color:#64748b;font-size:1rem}.choices-train__meta{display:flex;flex-wrap:wrap;gap:10px 16px;color:#475569;font-size:.95rem}.choices-train__meta strong{color:#1e40af}.choices-train__list{display:flex;flex-direction:column;gap:20px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:0;overflow:hidden}.choices-train__pagination{display:flex;justify-content:space-between;gap:12px}.choices-train__page-btn{padding:10px 16px;border-radius:10px;border:1px solid #bfdbfe;background:#fff;color:#1e40af;text-decoration:none;font-weight:700;transition:all .2s ease}.choices-train__page-btn:hover{background:#eff6ff}.choices-train__page-btn--primary{background:#1e40af;color:#fff;border-color:#1e40af}.choice-card{background:#fff;border:1px solid #dbeafe;border-radius:12px;box-shadow:0 14px 28px rgba(30,64,175,.12);padding:18px 20px}.choice-card__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.choice-card__title{display:flex;align-items:center;gap:10px;font-weight:800;color:#0f172a;font-size:1.1rem}.choice-card__badge{background:#1e40af;color:#fff;padding:4px 10px;border-radius:999px;font-size:.85rem}.choice-card__meta{color:#64748b;font-weight:600}.choice-item{display:grid;grid-template-columns:minmax(0, 1fr) auto;gap:10px 16px;align-items:start;padding:16px 20px;position:relative}.choice-item+.choice-item::before{content:"";position:absolute;top:0;left:20px;right:20px;height:1px;background:#e2e8f0}.choice-item__text{color:#1e293b;font-size:1rem;line-height:1.7;grid-column:1/2;grid-row:2/3}.choice-item__actions{display:flex;gap:8px;flex-wrap:nowrap;align-self:center;grid-column:2/3;grid-row:2/3;justify-self:end}.choice-item__meta{font-size:.9rem;font-weight:700;color:#1e40af;grid-column:1/2;grid-row:1/2}.choice-item__history{grid-column:2/3;grid-row:1/2;justify-self:end;display:inline-flex;gap:6px;padding:2px 6px;border-radius:999px;background:#f8fafc;color:#475569;font-weight:700;font-size:.8rem;align-items:center;flex-wrap:nowrap;min-height:36px;width:fit-content}.choice-item__history.is-empty{display:none}.choice-item__history-entry{display:grid;justify-items:center;gap:2px;min-width:36px;min-height:36px;padding:4px 6px}.choice-item__history-date{opacity:.75;font-size:.75rem}.choice-item__history-mark{width:20px;height:20px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:.8rem;border:1px solid #94a3b8}.choice-item__history-mark.incorrect{color:#b91c1c;border-color:#b91c1c}.choice-item.is-correct{box-shadow:inset 4px 0 0 #1e40af}.choice-item.is-incorrect{box-shadow:inset 4px 0 0 #dc2626}.choice-item__feedback{grid-column:1/-1;margin-top:4px;display:inline-flex;align-items:center;justify-self:flex-start;border-radius:999px;padding:4px 10px;font-size:.95rem;font-weight:700;color:#475569;border:1px solid #e2e8f0}.choice-item__feedback:empty{display:none}.choice-item__explanation{grid-column:1/-1;margin-top:10px;padding:12px 14px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;color:#334155}.choice-item__explanation-title{font-size:.9rem;font-weight:700;color:#1e40af;margin-bottom:6px}.choice-item__explanation-body{font-size:.98rem;line-height:1.7;white-space:pre-wrap}.choice-item.is-correct .choice-item__feedback{color:#1e40af;border-color:#1e40af}.choice-item.is-incorrect .choice-item__feedback{color:#dc2626;border-color:#dc2626}.choice-answer__btn{border:1px solid #bfdbfe;background:#fff;color:#1e40af;padding:8px 14px;border-radius:999px;font-weight:700;cursor:pointer;transition:all .2s ease}.choice-answer__btn:hover{background:#eff6ff}.choice-answer__btn:disabled{opacity:.6;cursor:default}.choice-answer__btn.is-selected:disabled{opacity:1}.choice-answer__btn.is-selected{background:#1e40af;color:#fff;border-color:#1e40af;box-shadow:0 8px 16px rgba(30,64,175,.2)}.problem-container{background:#fff;border-radius:16px;border:1px solid #e5e7eb;box-shadow:0 4px 6px rgba(0,0,0,.05);margin-bottom:2rem;overflow:hidden}.problem-container .problem-card{padding:2rem}.problem-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.problem-header-left .problem-info{display:flex;align-items:center;gap:.5rem}.problem-header-left .problem-info .problem-year,.problem-header-left .problem-info .problem-number{font-size:1.1rem;font-weight:600;color:#1f2937}.problem-header-right .history-table{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.05)}.problem-header-right .history-table .history-row{display:flex}.problem-header-right .history-table .history-row:first-child{border-bottom:1px solid #e5e7eb;background:#f8fafc}.problem-header-right .history-table .history-row .history-cell{padding:.375rem .25rem;text-align:center;width:2.5rem;flex:0 0 2.5rem;border-right:1px solid #e5e7eb}.problem-header-right .history-table .history-row .history-cell:last-child{border-right:none}.problem-header-right .history-table .history-row .history-cell .attempt-date{font-size:.7rem;color:#6b7280;font-weight:500}.problem-header-right .history-table .history-row .history-cell .result-mark{font-size:.875rem;font-weight:600}.problem-header-right .history-table .history-row .history-cell .result-mark.correct{color:#059669}.problem-header-right .history-table .history-row .history-cell .result-mark.incorrect{color:#dc2626}.problem-body{line-height:1.7;color:#1f2937;font-size:1rem;margin-bottom:2.5rem;padding:1.5rem;background:#f9fafb;border-radius:8px;border:1px solid #f3f4f6}.problem-body p{margin-bottom:1rem}.problem-body p:last-child{margin-bottom:0}.problem-answer{margin-bottom:2rem}.problem-answer .answer-choices{display:grid;grid-template-columns:repeat(5, minmax(64px, 1fr));gap:.75rem;justify-content:center}.problem-answer .answer-choices .answer-choice{display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;position:relative}.problem-answer .answer-choices .answer-choice:hover{transform:translateY(-2px)}.problem-answer .answer-choices .answer-choice:hover .choice-text{box-shadow:0 4px 12px rgba(59,130,246,.3)}.problem-answer .answer-choices .answer-choice input[type=radio]{position:absolute;opacity:0;cursor:pointer}.problem-answer .answer-choices .answer-choice input[type=radio]:checked+.choice-text{background:linear-gradient(135deg, #3b82f6, #1e40af);color:#fff;box-shadow:0 4px 12px rgba(59,130,246,.4);transform:scale(1.05)}.problem-answer .answer-choices .answer-choice .choice-text{display:inline-block;background:linear-gradient(135deg, #3b82f6, #1e40af);border:2px solid #3b82f6;color:#fff;padding:.75rem 1.25rem;border-radius:8px;font-weight:600;font-size:1.1rem;transition:all .2s ease;min-width:3.5rem;text-align:center;box-shadow:0 4px 12px rgba(59,130,246,.4);width:100%}.problem-answer .answer-choices .answer-choice.correct-answer .choice-text{background:linear-gradient(135deg, #10b981, #059669);border-color:#10b981;color:#fff;box-shadow:0 4px 12px rgba(16,185,129,.4)}.problem-answer .answer-choices .answer-choice.incorrect-answer .choice-text{background:linear-gradient(135deg, #ef4444, #dc2626);border-color:#ef4444;color:#fff;box-shadow:0 4px 12px rgba(239,68,68,.4)}
