*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:#f8fafc;color:#1e293b;line-height:1.6}.app-layout{min-height:100vh;display:flex}.app-header{background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;position:fixed;top:0;left:0;width:230px;height:100vh;z-index:1000;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-right:1px solid rgba(255,255,255,.1);overflow-y:auto;transition:transform .3s ease}.sidebar-toggle-btn{position:fixed;top:50%;left:210px;transform:translateY(-50%);width:40px;height:40px;background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:1001;transition:all .3s ease;box-shadow:0 4px 12px #00000026}.sidebar-toggle-btn:hover{background:linear-gradient(135deg,var(--color-primary-dark) 0%,var(--color-primary-dark) 100%);transform:translateY(-50%) scale(1.1);box-shadow:0 6px 20px #00000040;border:none}.sidebar-toggle-btn:active{transform:translateY(-50%) scale(.95)}.app-header.sidebar-closed{transform:translate(-100%)}.app-main.sidebar-closed{margin-left:0}.app-layout.sidebar-closed .sidebar-toggle-btn{left:0;transform:translateY(-50%);z-index:1002}.app-layout.sidebar-closed:before{content:"";position:fixed;top:0;left:0;width:40px;height:100vh;background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);z-index:999}.app-header-content{padding:2rem 1.5rem;display:flex;flex-direction:column;height:100%}.app-logo{text-decoration:none;color:#fff;transition:transform .2s ease;margin-bottom:3rem;text-align:center}.app-logo:hover{transform:scale(1.05)}.app-logo h1{font-size:1.8rem;font-weight:700;background:linear-gradient(45deg,#ffffff,var(--color-gray-200));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-.025em}.app-logo img{width:100%;max-width:250px;height:auto;display:block;margin:0 auto}.app-sidebar{display:flex;flex-direction:column;gap:.5rem;flex:1}.app-sidebar a{text-decoration:none;color:#ffffffe6;font-weight:500;font-size:.95rem;padding:1rem 1.5rem;border-radius:12px;transition:all .3s ease;position:relative;overflow:hidden;display:flex;align-items:center;margin-bottom:.25rem}.app-sidebar a:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s ease}.app-sidebar a:hover:before{left:100%}.app-sidebar a:hover{color:#fff;background:#ffffff26;transform:translate(8px);box-shadow:0 4px 12px #00000026}.app-sidebar a:active{transform:translate(4px)}.app-sidebar a.active{background:#ffffff26;color:#fff;box-shadow:0 2px 8px #0003;transform:translate(8px);border:1px solid #201f1fb6;border-radius:12px}.user-display{margin-top:auto;padding:1rem 1.5rem;border-top:1px solid rgba(255,255,255,.1);display:flex;align-items:center;gap:.75rem}.user-display .cl-userButton-root{flex-shrink:0}.username{color:#ffffffe6;font-weight:500;font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-main{flex:1;margin-left:240px;padding:1.5rem;background-color:#f8fafc;min-height:100vh;transition:margin-left .3s ease}@media(max-width:1450px){.app-header{transform:translate(-100%);transition:transform .3s ease;width:280px}.app-header.mobile-open{transform:translate(0)}.app-main{margin-left:0;padding:.75rem}.sidebar-toggle-btn{display:none}.mobile-menu-toggle{position:fixed;top:1rem;left:1rem;z-index:1001;background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);border:none;color:#fff;padding:.5rem;border-radius:8px;cursor:pointer;display:block}.mobile-menu-toggle:hover{background:linear-gradient(135deg,var(--color-primary-dark) 0%,var(--color-primary-dark) 100%)}.mobile-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;z-index:999;opacity:0;visibility:hidden;transition:all .3s ease}.mobile-overlay.active{opacity:1;visibility:visible}}@media(max-width:1024px){.app-header{width:240px}.app-header-content{padding:1.5rem 1rem}.app-sidebar a{padding:.8rem 1rem;font-size:.9rem}}@media(max-width:768px){.app-header{transform:translate(-100%);transition:transform .3s ease;width:280px}.app-header.mobile-open{transform:translate(0)}.app-main{margin-left:0;padding:1rem}.sidebar-toggle-btn{display:none}.mobile-menu-toggle{position:fixed;top:1rem;left:1rem;z-index:1001;background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);border:none;color:#fff;padding:.5rem;border-radius:8px;cursor:pointer;display:block}.mobile-menu-toggle:hover{background:linear-gradient(135deg,var(--color-primary-dark) 0%,var(--color-primary-dark) 100%)}.mobile-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;z-index:999;opacity:0;visibility:hidden;transition:all .3s ease}.mobile-overlay.active{opacity:1;visibility:visible}}@media(max-width:480px){.app-header{width:100%;max-width:320px}.app-header-content{padding:1rem}.app-logo h1{font-size:1.5rem}.app-sidebar a{padding:1rem;font-size:1rem}}html{scroll-behavior:smooth}.app-sidebar a:focus{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}.sidebar-toggle-btn:focus{outline:none;border:none}.app-layout.loading{opacity:.7;pointer-events:none}@media(prefers-color-scheme:dark){body{background-color:#0f172a;color:var(--color-gray-200)}.app-header,.sidebar-toggle-btn{background:linear-gradient(135deg,#1e293b,#334155)}.app-layout.sidebar-closed:before{background:linear-gradient(135deg,#1e293b,#334155)}.app-main{background-color:#0f172a}}.app-main{animation:fadeIn .3s ease-in-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.app-sidebar a:hover{transform:translate(8px);box-shadow:0 6px 20px #0003}.app-header::-webkit-scrollbar{width:6px}.app-header::-webkit-scrollbar-track{background:#ffffff1a}.app-header::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:3px}.app-header::-webkit-scrollbar-thumb:hover{background:#ffffff80}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#f1f5f9}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.app-sidebar a:after{content:"→";margin-left:auto;opacity:0;transition:opacity .2s ease}.app-sidebar a:hover:after{opacity:1}.sidebar-divider{height:1px;background:#ffffff1a;margin:1rem 0}.home-container{display:grid;grid-template-columns:1fr 350px;gap:2rem;max-width:1600px;margin:0 auto;padding:1rem}.dashboard-main{display:flex;flex-direction:column;gap:2rem}.welcome-section{background:linear-gradient(135deg,var(--color-primary-light) 0%,var(--color-primary-light) 100%);border-radius:16px;padding:2.5rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 6px #0000000d}.welcome-content{flex:1}.welcome-title{font-size:2rem;font-weight:700;color:var(--color-primary);margin-bottom:.75rem}.welcome-subtitle{font-size:1.1rem;font-weight:600;color:var(--color-gray-800);margin-bottom:.5rem}.welcome-text{font-size:.95rem;color:var(--color-gray-600)}.welcome-illustration{flex-shrink:0}.illustration-placeholder{display:flex;align-items:center;justify-content:center}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.dashboard-card{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 4px 6px #0000000d}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.card-header h3{font-size:1.25rem;font-weight:700;color:var(--color-gray-800)}.more-btn{background:none;border:none;color:var(--color-primary);font-weight:600;font-size:.9rem;cursor:pointer;transition:transform .2s ease}.more-btn:hover{transform:translate(4px)}.results-list{display:flex;flex-direction:column;gap:1.25rem}.result-item{display:flex;justify-content:space-between;align-items:center;gap:1rem}.result-info{display:flex;gap:.75rem;align-items:center;min-width:0;flex:1}.result-unit{font-weight:600;color:var(--color-gray-800);font-size:.9rem;white-space:nowrap}.result-topic{color:var(--color-gray-600);font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.result-progress{display:flex;align-items:center;gap:1rem;flex-shrink:0}.result-bar-container{width:150px;height:10px;background-color:var(--color-gray-200);border-radius:5px;overflow:hidden}.result-bar-fill{height:10px;border-radius:5px;background-color:var(--color-primary);transition:width .3s ease}.progress-text{font-weight:600;font-size:.9rem;color:var(--color-gray-800);min-width:40px;text-align:right}.time-filter{padding:.5rem 1rem;border:1px solid var(--color-gray-200);border-radius:8px;font-size:.85rem;color:var(--color-gray-600);background:#fff;cursor:pointer}.chart-container{display:flex;flex-direction:column;gap:1.5rem}.chart-wrapper{display:flex;justify-content:space-around;align-items:flex-end;height:200px;padding:1rem .5rem;border-bottom:2px solid var(--color-gray-200);gap:.75rem;position:relative}.chart-day{display:flex;flex-direction:column;align-items:center;gap:.75rem;flex:1;height:100%}.chart-bars{display:flex;align-items:flex-end;justify-content:center;gap:3px;flex:1;width:100%;min-width:0}.chart-bar{flex:1;max-width:15px;border-radius:4px 4px 0 0;min-height:4px;transition:all .3s ease;cursor:pointer;position:relative}.chart-bar:hover{opacity:.8;transform:scaleY(1.05)}.chart-tooltip{position:absolute;bottom:100%;left:50%;transform:translate(-50%) translateY(-8px);background:#000000e6;color:#fff;padding:8px 12px;border-radius:8px;white-space:nowrap;z-index:1000;pointer-events:none;box-shadow:0 4px 12px #0000004d;animation:tooltipFadeIn .2s ease}.chart-tooltip:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:6px solid transparent;border-top-color:#000000e6}.tooltip-label{font-size:.75rem;font-weight:600;margin-bottom:2px;opacity:.9}.tooltip-value{font-size:.9rem;font-weight:700}@keyframes tooltipFadeIn{0%{opacity:0;transform:translate(-50%) translateY(-4px)}to{opacity:1;transform:translate(-50%) translateY(-8px)}}.chart-bar.vocabulary{background:var(--color-error)}.chart-bar.reading,.chart-bar.listening{background:var(--color-primary)}.chart-bar.writing{background:var(--color-primary-dark)}.chart-label{font-size:.8rem;color:var(--color-gray-600);font-weight:500}.chart-legend{display:flex;justify-content:center;gap:1.5rem;flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:var(--color-gray-600)}.legend-dot{width:12px;height:12px;border-radius:3px}.legend-dot.vocabulary{background:var(--color-error)}.legend-dot.reading,.legend-dot.listening{background:var(--color-primary)}.legend-dot.writing{background:var(--color-primary-dark)}.courses-card{grid-column:1 / -1}.courses-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem}.course-card{border-radius:12px;padding:2rem;color:#fff;position:relative;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;display:flex;flex-direction:column;gap:.5rem}.course-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0003}.course-level{font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.course-title{font-size:1.1rem;font-weight:600;margin:0}.course-subtitle{font-size:.9rem;opacity:.9;margin:0}.course-arrow{position:absolute;bottom:1.5rem;right:1.5rem;background:#fff3;border:none;color:#fff;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.2rem;cursor:pointer;transition:background .2s ease}.course-arrow:hover{background:#ffffff4d}.profile-sidebar{display:flex;flex-direction:column;gap:1.5rem;position:sticky;top:1rem;align-self:flex-start;max-height:calc(100vh - 2rem);overflow-y:auto}.profile-card{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 4px 6px #0000000d;text-align:center}.profile-avatar{margin:0 auto 1rem;display:flex;justify-content:center;align-items:center}.profile-avatar .cl-userButton-root{transform:scale(1.5)}.profile-name{font-size:1.25rem;font-weight:700;color:var(--color-gray-800);margin:1.5rem 0 .25rem}.profile-role{font-size:.9rem;color:var(--color-gray-600)}.beta-badge{display:inline-block;margin-top:.5rem;padding:.15rem .5rem;font-size:.6rem;font-weight:600;background:linear-gradient(135deg,#d1d5db 0%,var(--color-gray-600) 100%);color:#fff;border-radius:8px;text-transform:uppercase;letter-spacing:.5px}.language-progress{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 6px #0000000d;display:flex;flex-direction:column;gap:1.5rem}.language-item{display:flex;flex-direction:column;gap:.75rem}.language-info{display:flex;align-items:center;gap:1rem}.language-level{background:var(--color-primary);color:#fff;font-weight:700;font-size:1.25rem;padding:.5rem 1rem;border-radius:8px;min-width:50px;text-align:center}.language-name{font-weight:600;color:var(--color-gray-800);margin:0;font-size:.95rem}.language-status{font-size:.85rem;color:var(--color-gray-600);margin:0}.language-bar{height:8px;background:var(--color-gray-200);border-radius:4px;overflow:hidden}.language-fill{height:100%;border-radius:4px;transition:width .3s ease}.reminders-section{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 6px #0000000d;display:flex;flex-direction:column;gap:1rem}.reminders-section h3{font-size:1.1rem;font-weight:700;color:var(--color-gray-800);margin-bottom:.5rem}.reminder-item{display:flex;align-items:flex-start;gap:1rem;padding:1rem;background:var(--color-gray-50);border-radius:12px;transition:background .2s ease}.reminder-item:hover{background:var(--color-gray-100)}.reminder-icon{width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0}.vocabulary-reminder{background:var(--reminder-vocab-bg);color:var(--reminder-vocab-text)}.grammar-reminder{background:var(--reminder-grammar-bg);color:var(--reminder-grammar-text)}.essay-reminder{background:var(--reminder-essay-bg);color:var(--reminder-essay-text)}.reminder-content{flex:1}.reminder-title{font-weight:600;color:var(--color-gray-800);font-size:.9rem;margin:0 0 .25rem}.reminder-date{font-size:.8rem;color:var(--color-gray-600);margin:0}@media(max-width:1200px){.home-container{grid-template-columns:1fr}.profile-sidebar{position:static;max-height:none}.dashboard-grid{grid-template-columns:1fr}}@media(max-width:768px){.welcome-section{flex-direction:column;text-align:center;padding:1.5rem}.welcome-title{font-size:1.5rem}.welcome-illustration{margin-top:1rem}.dashboard-card{padding:1.5rem}.result-info{flex-direction:column;align-items:flex-start;gap:.25rem}.progress-bar{width:100px}.chart-wrapper{height:150px;gap:.5rem;padding:1rem .25rem}.chart-bar{max-width:8px;gap:2px}.chart-label{font-size:.7rem}.courses-grid{grid-template-columns:1fr}}@media(max-width:480px){.home-container{padding:.5rem;gap:1rem}.welcome-section,.dashboard-card{padding:1rem}.card-header{flex-direction:column;align-items:flex-start;gap:.5rem}.result-item{flex-direction:column;align-items:flex-start}.result-progress{width:100%}.progress-bar{flex:1}}.profile-sidebar::-webkit-scrollbar{width:6px}.profile-sidebar::-webkit-scrollbar-track{background:transparent}.profile-sidebar::-webkit-scrollbar-thumb{background:var(--color-gray-300);border-radius:3px}.profile-sidebar::-webkit-scrollbar-thumb:hover{background:var(--color-gray-400)}.writing-history-dropdown-element{background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;margin-bottom:16px;transition:all .3s ease;overflow:hidden;position:relative}.writing-history-dropdown-element:hover{background-color:#e9ecef;border-color:#dee2e6;transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.writing-history-dropdown-element-header{display:flex;align-items:center;justify-content:space-between;padding:20px;background:transparent;color:var(--color-dark);cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;z-index:2}.writing-history-dropdown-element-header h3{margin:0;color:var(--color-dark);font-size:18px;font-weight:600;flex:1}.topic-date-container{display:flex;flex-direction:column;flex:1}.topic-date-container h3{margin:0 0 4px;font-size:18px;font-weight:600}.writing-date{margin:0;color:var(--color-gray-600);font-size:13px;font-weight:500}.score-date-row{display:flex;align-items:center;gap:12px;margin-top:8px}.score-badge{font-size:11px;font-weight:600;padding:4px 10px;border-radius:5px;white-space:nowrap}.writing-history-dropdown-element-header button{background:none;border:none;color:var(--color-gray-600);cursor:pointer;padding:8px;border-radius:4px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.writing-history-dropdown-element-header button:hover{background:#0000000d;transform:scale(1.1)}.writing-history-dropdown-element-header button svg{transition:transform .3s ease}.dropdown-content{max-height:0;overflow:hidden;transition:all .3s ease-in-out;background:#f8f9fa;opacity:0;transform:translateY(0);padding:0}.writing-history-dropdown-element.open .dropdown-content{max-height:600px;opacity:1;transform:translateY(0);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--color-gray-300) #f1f5f9;padding:20px 0;position:relative;z-index:1}.writing-history-dropdown-element.open .dropdown-content::-webkit-scrollbar{width:6px}.writing-history-dropdown-element.open .dropdown-content::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.writing-history-dropdown-element.open .dropdown-content::-webkit-scrollbar-thumb{background:var(--color-gray-300);border-radius:3px}.writing-history-dropdown-element.open .dropdown-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}.writing-history-dropdown-element.open .writing-history-dropdown-element-header button svg{transform:rotate(180deg)}.subcategory-scores-container{padding:16px 20px;border-bottom:1px solid #e1e5e9}.subcategory-scores-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.subcategory-score-item{background:#fff;border-radius:6px;border-left:4px solid var(--color-primary);padding:12px 16px;font-size:15px;font-weight:500;color:#333;box-shadow:0 1px 3px #0000001a;display:flex;justify-content:space-between;align-items:center;transition:all .2s ease;gap:8px}.subcategory-score-item:hover{transform:translateY(-1px);box-shadow:0 2px 6px #00000026}.score-name{font-weight:500;color:#555;flex:0;font-size:14px}.score-value{font-weight:600;color:var(--color-primary);background:var(--bg-primary-alpha-10);padding:4px 10px;border-radius:4px;font-size:15px;white-space:nowrap;text-align:center}.score-red{background-color:var(--color-error)!important;box-shadow:var(--shadow-error);color:#fff!important;border:none}.score-yellow{background-color:#f59e0b!important;box-shadow:var(--shadow-warning);color:#fff!important;border:none}.score-green{background-color:var(--color-success)!important;box-shadow:var(--shadow-success);color:#fff!important;border:none}.score-default{color:var(--color-primary);background:var(--bg-primary-alpha-10)}.action-row{display:flex;justify-content:space-between;align-items:center;padding:0 20px 20px;gap:12px}.view-details-button{display:flex;justify-content:flex-start;align-items:center}.delete-button-container{display:flex;justify-content:flex-end;align-items:center}.suggestion-container{padding:20px;background:#f8f9fa;margin-bottom:10px}.suggestion-container p{margin:0;font-size:14px;line-height:1.6;color:#555;background:#fff;padding:16px;border-radius:6px;border-left:4px solid var(--color-success);box-shadow:0 1px 3px #0000001a;position:relative;word-wrap:break-word;overflow-wrap:break-word}@media(max-width:768px){.writing-history-dropdown-element-header{flex-direction:column;align-items:flex-start;gap:12px}.writing-history-dropdown-element-header h3{font-size:14px}.subcategory-scores-container,.suggestion-container{padding:16px}.subcategory-scores-grid{grid-template-columns:1fr;gap:8px}.subcategory-score-item{padding:10px 14px;font-size:13px}}@keyframes slideDown{0%{opacity:0;transform:translateY(0)}to{opacity:1;transform:translateY(0)}}.button-container{position:relative;display:inline-block}.normal-button{background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);color:var(--color-white);border:none;padding:14px 32px;font-size:var(--font-size-base);font-weight:var(--font-weight-semibold);border-radius:var(--radius-lg);cursor:pointer;transition:all var(--transition-normal);box-shadow:var(--shadow-md);position:relative;overflow:hidden;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;letter-spacing:.025em;min-width:160px}.tooltip{visibility:hidden;position:absolute;bottom:125%;left:50%;transform:translate(-50%);background-color:var(--color-dark);color:var(--color-white);text-align:center;padding:var(--spacing-sm) var(--spacing-sm);border-radius:var(--radius-sm);font-size:var(--font-size-sm);white-space:nowrap;z-index:var(--z-tooltip);opacity:0;transition:opacity var(--transition-normal)}.tooltip:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--color-dark) transparent transparent transparent}.button-container:hover .tooltip{visibility:visible;opacity:1}.normal-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s ease}.normal-button:hover:before{left:100%}.normal-button:hover{background:linear-gradient(135deg,var(--color-primary-dark) 0%,var(--color-dark) 100%);transform:translateY(-2px);box-shadow:var(--shadow-lg)}.normal-button:active{transform:translateY(0);box-shadow:var(--shadow-md)}.normal-button:focus{outline:2px solid var(--color-primary-light);outline-offset:2px}.normal-button:disabled{background:var(--color-gray-300);color:var(--color-gray-600);cursor:not-allowed;transform:none;box-shadow:none}.normal-button:disabled:hover{background:var(--color-gray-300);transform:none;box-shadow:none}.normal-button-small{padding:var(--spacing-sm) var(--spacing-lg);font-size:var(--font-size-sm);min-width:100px}.normal-button-medium{padding:var(--spacing-md) 32px;font-size:var(--font-size-base);min-width:160px}.normal-button-large{padding:18px 40px;font-size:var(--font-size-lg);min-width:200px}.outlined-button{background:transparent;color:var(--color-primary);border:2px solid var(--color-primary);padding:5px 30px;font-size:var(--font-size-base);font-weight:var(--font-weight-semibold);border-radius:var(--radius-lg);cursor:pointer;transition:all var(--transition-normal);position:relative;overflow:hidden;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;letter-spacing:.025em;min-width:160px}.outlined-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,var(--bg-primary-alpha-10),transparent);transition:left .5s ease}.outlined-button:hover:before{left:100%}.outlined-button:hover{background:var(--color-primary);color:var(--color-white);transform:translateY(-2px);box-shadow:var(--shadow-md)}.outlined-button:active{transform:translateY(0);box-shadow:var(--shadow-sm)}.outlined-button:focus{outline:2px solid var(--color-primary-light);outline-offset:2px}.outlined-button:disabled{background:transparent;color:var(--color-gray-300);border-color:var(--color-gray-300);cursor:not-allowed;transform:none;box-shadow:none}.outlined-button:disabled:hover{background:transparent;color:var(--color-gray-300);border-color:var(--color-gray-300);transform:none;box-shadow:none}.outlined-button.danger,.outlined-button.danger:visited{color:var(--color-error);border-color:var(--color-error)}.outlined-button.danger:before{background:linear-gradient(90deg,transparent,var(--bg-error-alpha-06),transparent)}.outlined-button.danger:hover{background:var(--color-error);color:var(--color-white);transform:translateY(-2px);box-shadow:var(--shadow-error-lg)}.outlined-button.danger:focus{outline:2px solid var(--color-error-light);outline-offset:2px}.outlined-button.icon{min-width:40px;padding:var(--spacing-sm);display:inline-flex;align-items:center;justify-content:center}.outlined-button.icon svg{width:18px;height:18px}@media(max-width:768px){.normal-button{padding:12px var(--spacing-lg);font-size:var(--font-size-sm);min-width:140px}.outlined-button{padding:10px 22px;font-size:var(--font-size-sm);min-width:140px}}@media(max-width:480px){.normal-button{padding:10px var(--spacing-lg);font-size:var(--font-size-xs);min-width:120px}.outlined-button{padding:var(--spacing-sm) 18px;font-size:var(--font-size-xs);min-width:120px}}.confirm-dialog-overlay{position:fixed;inset:0;background-color:#0009;display:flex;justify-content:center;align-items:center;z-index:10000;animation:fadeIn .2s ease-in-out}.confirm-dialog-content{background:#fff;border-radius:12px;padding:0;max-width:400px;width:90%;box-shadow:0 10px 40px #0003;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.confirm-dialog-header{padding:24px 24px 16px;border-bottom:1px solid #e5e7eb}.confirm-dialog-header h2{margin:0;font-size:20px;font-weight:600;color:#1f2937}.confirm-dialog-body{padding:20px 24px}.confirm-dialog-body p{margin:0;font-size:15px;color:var(--color-gray-600);line-height:1.6}.confirm-dialog-footer{padding:16px 24px 24px;display:flex;justify-content:flex-end;gap:12px}.confirm-dialog-cancel-btn,.confirm-dialog-confirm-btn{padding:10px 20px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;border:none;outline:none}.confirm-dialog-cancel-btn{background-color:#f3f4f6;color:#374151}.confirm-dialog-cancel-btn:hover{background-color:#e5e7eb}.confirm-dialog-confirm-btn{background-color:var(--color-error);color:#fff}.confirm-dialog-confirm-btn:hover{background-color:#dc2626}.confirm-dialog-cancel-btn:active,.confirm-dialog-confirm-btn:active{transform:scale(.98)}.edit-goals-modal{max-width:500px}.edit-goals-modal .modal-body{display:flex;flex-direction:column;gap:var(--spacing-xl)}.edit-goals-modal .form-group{display:flex;flex-direction:column;gap:var(--spacing-md)}.edit-goals-modal .form-group label{font-size:var(--font-size-base);font-weight:var(--font-weight-semibold);color:var(--color-dark);display:flex;align-items:center;justify-content:space-between}.edit-goals-modal .goal-value{background:var(--color-primary);color:var(--color-white);padding:6px 16px;border-radius:var(--radius-md);font-size:var(--font-size-sm);font-weight:var(--font-weight-bold)}.slider-container{display:flex;flex-direction:column;gap:var(--spacing-sm)}.goal-slider{-webkit-appearance:none;appearance:none;width:100%;height:8px;border-radius:var(--radius-full);background:linear-gradient(to right,var(--color-primary-light) 0%,var(--color-primary) 100%);outline:none;transition:all var(--transition-normal)}.goal-slider:hover{box-shadow:var(--shadow-primary-sm)}.goal-slider:disabled{opacity:.5;cursor:not-allowed}.goal-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:24px;height:24px;border-radius:var(--radius-full);background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);cursor:pointer;box-shadow:var(--shadow-primary-md);transition:all var(--transition-normal);border:3px solid var(--color-white)}.goal-slider::-webkit-slider-thumb:hover{transform:scale(1.15);box-shadow:var(--shadow-primary-lg)}.goal-slider::-webkit-slider-thumb:active{transform:scale(1.05)}.goal-slider::-moz-range-thumb{width:24px;height:24px;border:3px solid var(--color-white);border-radius:var(--radius-full);background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);cursor:pointer;box-shadow:var(--shadow-primary-md);transition:all var(--transition-normal)}.goal-slider::-moz-range-thumb:hover{transform:scale(1.15);box-shadow:var(--shadow-primary-lg)}.goal-slider::-moz-range-thumb:active{transform:scale(1.05)}.slider-range-labels{display:flex;justify-content:space-between;padding:0 4px}.range-label{font-size:var(--font-size-xs);color:var(--color-gray-500);font-weight:var(--font-weight-medium)}.edit-goals-modal .modal-actions{display:flex;justify-content:flex-end;gap:var(--spacing-md);margin-top:var(--spacing-lg);padding-top:var(--spacing-lg);border-top:1px solid var(--color-gray-200)}@media(max-width:768px){.edit-goals-modal{max-width:100%;width:95%}.edit-goals-modal .modal-actions{flex-direction:column-reverse;gap:var(--spacing-sm)}.edit-goals-modal .modal-actions button{width:100%}}.toast-message{position:fixed;top:var(--spacing-lg);right:var(--spacing-lg);padding:var(--spacing-md) var(--spacing-lg);border-radius:var(--radius-md);box-shadow:var(--shadow-xl);z-index:var(--z-tooltip);font-size:var(--font-size-base);font-weight:var(--font-weight-medium);display:flex;align-items:center;gap:var(--spacing-sm);max-width:400px;min-width:300px;animation:slideInRight .3s ease-out}.toast-success{background-color:var(--color-success);color:var(--color-white);border:2px solid var(--color-success-dark)}.toast-error{background-color:var(--color-error);color:var(--color-white);border:2px solid var(--color-error-dark)}.toast-info{background-color:var(--color-primary);color:var(--color-white);border:2px solid var(--color-primary-dark)}.toast-warning{background-color:var(--color-warning);color:var(--color-dark);border:2px solid var(--color-warning-dark)}.toast-icon{font-size:20px;flex-shrink:0}.toast-text{flex:1}@keyframes slideInRight{0%{transform:translate(400px);opacity:0}to{transform:translate(0);opacity:1}}@media(max-width:768px){.toast-message{max-width:90%;min-width:280px;right:5%}}.writing-page{display:flex;flex-direction:column;min-height:100vh;padding:20px}.writing-content{display:grid;grid-template-columns:2fr 1fr;gap:30px;width:100%}.recent-writings-container{background-color:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px #0000001a;border:1px solid #e1e5e9;height:fit-content;min-height:400px;transition:all .3s ease;display:flex;flex-direction:column}.writing-history-dropdown-container{display:flex;flex-direction:column;gap:20px;overflow-x:hidden;padding-bottom:20px;scrollbar-width:thin;scrollbar-color:var(--color-gray-300) #f1f5f9;min-height:400px;height:fit-content}.writing-history-dropdown-container::-webkit-scrollbar{width:8px}.writing-history-dropdown-container::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.writing-history-dropdown-container::-webkit-scrollbar-thumb{background:var(--color-gray-300);border-radius:4px}.writing-history-dropdown-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.modal-content .writing-setup-container{padding:30px}.see-all-history-text{text-align:right;margin-top:16px;padding-top:16px;border-top:1px solid var(--color-gray-200)}.see-all-history-text p{color:var(--color-gray-600);font-size:14px;font-weight:500;cursor:pointer;transition:color .3s ease;margin:0;display:inline-block}.see-all-history-text p:hover{color:#374151;text-decoration:underline}.no-data-container{display:flex;justify-content:center;align-items:center;min-height:300px;flex:1}.no-data-container p{font-size:32px;font-weight:500;color:var(--color-gray-600);text-align:center;margin:0;opacity:.6}.writing-setup-container{display:flex;flex-direction:column;height:fit-content;justify-content:space-between;gap:20px}.writing-setup-options-container{display:flex;flex-direction:column;gap:24px;padding:20px 0}.writing-topic-container,.time-limit-container,.word-deck-container{display:flex;align-items:center;gap:12px;padding:16px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef;transition:all .3s ease}.writing-topic-container:hover,.time-limit-container:hover,.word-deck-container:hover{background-color:#e9ecef;border-color:#dee2e6}.writing-topic-container input[type=checkbox],.time-limit-container input[type=checkbox],.word-deck-container input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:var(--color-primary)}input.toggle-switch{-webkit-appearance:none;appearance:none;width:22px;height:22px;border-radius:50%;border:2px solid #d0d7e6;background:#fff;position:relative;cursor:pointer;outline:none;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease;flex:0 0 auto}input.toggle-switch:before{content:"";position:absolute;top:50%;left:50%;width:14px;height:14px;transform:translate(-50%,-50%) scale(0);border-radius:50%;background:linear-gradient(90deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);transition:transform .16s cubic-bezier(.2,.8,.2,1),opacity .16s;opacity:0;pointer-events:none}input.toggle-switch:checked:before{transform:translate(-50%,-50%) scale(1);opacity:1}input.toggle-switch:checked{border-color:var(--color-primary-dark)}input.toggle-switch:disabled{border-color:#e0e0e4;background:#f5f5f7;cursor:not-allowed;opacity:1}input.toggle-switch:disabled:before{background:#bdbdc1;transform:translate(-50%,-50%) scale(1);opacity:.9}input.toggle-switch:focus{box-shadow:var(--focus-ring-primary)}.writing-topic-container label,.time-limit-container label,.word-deck-container label{font-weight:600;color:#495057;min-width:100px;font-size:14px}.writing-topic-container input[type=text],.time-limit-container input[type=number]{flex:1;padding:10px 12px;border:2px solid #dee2e6;border-radius:6px;font-size:14px;transition:all .3s ease;background-color:#fff;color:#495057}.writing-topic-container input[type=text]:focus,.time-limit-container input[type=number]:focus{outline:none;border-color:var(--color-primary);box-shadow:var(--focus-ring-primary)}.writing-topic-container input[type=text]:disabled,.time-limit-container input[type=number]:disabled{background-color:#f8f9fa;color:#6c757d;cursor:not-allowed;border-color:#e9ecef;opacity:.6}.writing-topic-container input[type=text]:disabled::placeholder,.time-limit-container input[type=number]:disabled::placeholder{color:#adb5bd}.word-deck-container{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-height:fit-content}.word-count-container{display:flex;align-items:center;gap:12px;width:100%;padding:8px 0}.word-count-container label{font-weight:600;color:#495057;min-width:150px;font-size:14px}.word-count-container input[type=number]{flex:0 0 80px;padding:8px 12px;border:2px solid #dee2e6;border-radius:6px;font-size:14px;transition:all .3s ease;background-color:#fff;color:#495057}.word-count-container input[type=number]:focus{outline:none;border-color:var(--color-primary);box-shadow:var(--focus-ring-primary)}.word-deck-header{display:flex;align-items:center;gap:12px;justify-content:flex-start;width:100%}.word-source-options{display:flex;gap:16px;margin:8px 0;padding:8px 0;width:100%}.radio-option{display:flex;align-items:center;gap:8px}.radio-option input[type=radio]{width:18px;height:18px;cursor:pointer;accent-color:var(--color-primary)}.radio-option label{font-weight:500;color:#495057;font-size:14px;cursor:pointer;min-width:auto}.word-deck-dropdown{flex:0 0 150px;padding:8px 10px;border:2px solid #dee2e6;border-radius:6px;font-size:14px;transition:all .3s ease;background-color:#fff;color:#495057;cursor:pointer}.word-deck-dropdown:focus{outline:none;border-color:var(--color-primary);box-shadow:var(--focus-ring-primary)}.word-deck-dropdown:disabled{background-color:#f8f9fa;color:#6c757d;cursor:not-allowed;border-color:#e9ecef;opacity:.6}.word-deck-dropdown option:disabled{color:#adb5bd;font-style:italic}.selected-decks-info{font-size:12px;color:#6c757d;font-weight:500;text-align:left;flex:0 0 auto}.time-limit-container label:last-child{min-width:auto;color:#6c757d;font-size:12px;font-weight:500}.start-writing-button-container{display:flex;justify-content:flex-end;align-items:center;padding:0}@media(max-width:768px){.writing-page{flex-direction:column;gap:20px;padding:10px}.writing-content{grid-template-columns:1fr}.daily-target-container{position:static}.recent-writings-container{padding:20px}.header-with-button{flex-direction:column;align-items:stretch;gap:16px}.header-with-button h2{font-size:24px;text-align:center}.header-with-button h2:after{left:50%;transform:translate(-50%)}.header-with-button .normal-button{width:100%}.modal-content{width:95%;max-height:95vh}.modal-header{padding:20px}.modal-header h2{font-size:20px}.modal-content .writing-setup-container{padding:20px}.writing-history-dropdown-container{gap:16px;padding-right:4px;padding-bottom:16px;height:fit-content}.writing-setup-options-container{gap:16px;padding:16px 0}.writing-topic-container,.time-limit-container,.word-deck-container{flex-direction:column;align-items:flex-start;gap:8px;padding:12px}.word-deck-header{flex-direction:column;align-items:flex-start;gap:8px;width:100%}.word-source-options{flex-direction:column;gap:12px;margin:4px 0;padding:4px 0}.deck-selection-row{flex-direction:column;align-items:flex-start;gap:8px}.deck-selection-row .word-deck-dropdown{width:100%;flex:none}.deck-selection-row .selected-decks-info{margin-left:0;align-self:flex-start}.word-count-container{flex-direction:column;align-items:flex-start;gap:8px;width:100%}.word-count-container label{min-width:auto;font-size:13px}.word-count-container input[type=number]{width:100%;flex:none;font-size:13px}.writing-topic-container label,.time-limit-container label,.word-deck-container label{min-width:auto;font-size:13px}.writing-topic-container input[type=text],.time-limit-container input[type=number],.word-deck-dropdown{width:100%;font-size:13px}.selected-decks-chips{gap:6px}.deck-chip{font-size:11px;padding:4px 10px}}.writing-exercise-page{display:flex;justify-content:center;align-items:flex-start;min-height:100vh;padding:20px}.writing-exercise-container{background-color:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px #0000001a;border:1px solid #e1e5e9;width:100%;max-width:800px}.writing-exercise-container h1{margin:0 0 24px;color:var(--color-dark);font-size:28px;font-weight:700;text-align:center;position:relative;padding-bottom:12px}.writing-exercise-container h1:after{content:"";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:60px;height:3px;background:linear-gradient(90deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);border-radius:2px}.exercise-info{background:linear-gradient(135deg,#f8fafc 0%,var(--color-gray-200) 100%);border-radius:8px;padding:16px 20px;margin-bottom:24px;border-left:4px solid var(--color-primary)}.exercise-info p{margin:8px 0;color:#374151;font-weight:500}.exercise-info strong{color:#1f2937}.exercise-info .time-warning{color:#dc2626!important;font-weight:600!important;animation:pulse 1s infinite}.exercise-info .time-up{color:#dc2626!important;font-weight:700!important;background-color:#fef2f2;padding:8px 12px;border-radius:6px;border-left:4px solid #dc2626}@keyframes pulse{0%{opacity:1}50%{opacity:.7}to{opacity:1}}.writing-area{margin-bottom:24px}.character-counter{display:flex;justify-content:flex-end;margin-bottom:8px;padding:8px 12px;background-color:#f8fafc;border-radius:6px;border:1px solid var(--color-gray-200)}.character-counter span{font-size:14px;font-weight:500;color:#64748b;transition:color .3s ease}.character-counter .character-limit-reached{color:#dc2626;font-weight:600}.writing-textarea{width:100%;min-height:400px;padding:20px;border:2px solid #e5e7eb;border-radius:8px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.6;color:#374151;background-color:#fff;resize:vertical;transition:border-color .3s ease,box-shadow .3s ease}.writing-textarea:focus{outline:none;border-color:var(--color-primary);box-shadow:var(--focus-ring-primary)}.writing-textarea:disabled{background-color:#f8f9fa;color:#6c757d;cursor:not-allowed;border-color:#e9ecef;opacity:.6}.writing-textarea::placeholder{color:#9ca3af;font-style:italic}.exercise-controls{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}.exercise-controls .normal-button{min-width:140px}@media(max-width:768px){.writing-exercise-container{padding:20px;margin:10px}.writing-textarea{min-height:300px;padding:16px;font-size:14px}.exercise-controls{flex-direction:column;align-items:center}.exercise-controls .normal-button{width:100%;max-width:200px}}.writing-exercise-page{position:relative;width:100%;min-height:100vh;overflow-y:auto}.writing-exercise-container{position:relative;margin:0 auto;max-width:1200px;width:100%;background:#fff;padding:20px;box-sizing:border-box;display:flex;flex-direction:column}.writing-results-container{margin-top:40px;padding-top:40px;border-top:3px solid #e9ecef;animation:slideDown .5s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.evaluating-message{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;text-align:center;color:#6c757d;font-size:16px;line-height:1.5;padding:40px 20px}.evaluating-message p{margin:0;font-weight:500;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:.7;transform:scale(1)}50%{opacity:1;transform:scale(1.05)}}.exercise-info{margin-bottom:20px}.exercise-info p{margin:5px 0}.timer-display{font-weight:700}.timer-display.timer-normal{color:#333}.timer-display.timer-yellow{color:#f39c12}.timer-display.timer-red{color:#e74c3c}.time-up{color:#e74c3c;font-weight:700}.target-words-section{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:8px;padding:16px;margin-bottom:20px;border:1px solid #dee2e6;box-shadow:0 1px 4px #0000000d}.target-words-section h3{margin:0 0 12px;color:#495057;font-size:14px;font-weight:600}.target-words-list{display:flex;flex-wrap:wrap;gap:8px}.target-word-chip{background:#fff;border:1.5px solid var(--color-primary);border-radius:6px;padding:6px 12px;display:inline-flex;align-items:center;gap:6px;transition:all .2s ease;box-shadow:var(--shadow-primary-xs);cursor:pointer;-webkit-user-select:none;user-select:none}.target-word-chip:hover{transform:translateY(-1px);box-shadow:var(--shadow-primary-md);border-color:var(--color-primary-dark);background:#f8f9ff}.target-word-chip:active{transform:translateY(0);box-shadow:var(--shadow-primary-xs)}.target-word-chip.used{background:#e8f5e9;border-color:#4caf50;opacity:.8}.target-word-chip.used:hover{background:#e8f5e9;border-color:#4caf50}.target-word-chip.used .target-word-text{text-decoration:line-through;color:#4caf50}.target-word-chip.used .target-word-pos{text-decoration:line-through;color:#81c784}.target-word-text{font-weight:600;color:var(--color-dark);font-size:13px}.target-word-pos{font-size:11px;color:#6c757d;font-style:italic}.word-definition-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}.word-definition-modal{background:#fff;border-radius:12px;padding:24px;max-width:500px;width:90%;max-height:80vh;overflow-y:auto;box-shadow:0 8px 32px #00000026;animation:slideUp .3s ease;position:relative}.word-definition-modal-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #e9ecef}.word-definition-modal-title{flex:1}.word-definition-modal-title h2{margin:0 0 4px;color:var(--color-dark);font-size:24px;font-weight:700}.word-definition-modal-title p{margin:0;color:#6c757d;font-size:14px;font-style:italic}.word-definition-modal-close{background:none;border:none;font-size:28px;color:#6c757d;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s ease;line-height:1}.word-definition-modal-close:hover{background:#f8f9fa;color:#495057}.word-definition-modal-body{color:#495057;font-size:16px;line-height:1.6}.word-definition-modal-body p{margin:0}.writing-area{margin-bottom:5px;flex:1;display:flex;flex-direction:column}.character-counter{text-align:right;margin-bottom:10px;font-size:14px;color:#666}.character-limit-reached{color:#e74c3c;font-weight:700}.writing-textarea{width:100%;min-height:300px;flex:1;padding:15px;border:2px solid #ddd;border-radius:8px;font-size:16px;line-height:1.6;resize:vertical;font-family:inherit}.writing-textarea:focus{outline:none;border-color:#007bff}.exercise-controls{display:flex;gap:15px;justify-content:center;margin-top:auto;padding-top:10px}.writing-evaluation-header{text-align:center;margin-bottom:24px;border-bottom:2px solid #e9ecef;padding-bottom:16px}.writing-evaluation-header h1{margin:0;color:var(--color-dark);font-size:24px;font-weight:600}.evaluation-tabs{display:flex;border-bottom:2px solid #e9ecef;margin-bottom:20px}.tab-button{flex:1;padding:12px 16px;background:none;border:none;border-bottom:3px solid transparent;cursor:pointer;font-size:14px;font-weight:500;color:#6c757d;transition:all .3s ease}.tab-button:hover{color:#007bff;background-color:#f8f9fa}.tab-button.active{color:#007bff;border-bottom-color:#007bff;background-color:#f8f9fa}.tab-button.disabled{color:#adb5bd;cursor:not-allowed;opacity:.6}.tab-button.disabled:hover{color:#adb5bd;background-color:transparent}.tab-content{min-height:200px}.target-words-content{padding:20px 0;display:flex;flex-direction:column;gap:16px;max-height:400px;overflow-y:auto}.target-word-item{background:#f8f9fa;border-radius:8px;padding:16px;border-left:4px solid #6c757d;transition:all .3s ease;box-shadow:0 2px 4px #0000000d}.target-word-item:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.target-word-item.correctly-used{border-left-color:var(--color-success);background:linear-gradient(135deg,#d4edda,#c3e6cb)}.target-word-item.incorrectly-used{border-left-color:var(--color-error);background:linear-gradient(135deg,#f8d7da,#f5c6cb)}.target-word-item p:first-child{margin:0 0 8px;font-weight:600;font-size:16px;color:#495057}.target-word-item.correctly-used p:first-child{color:#155724}.target-word-item.incorrectly-used p:first-child{color:#721c24}.target-word-item p:last-child{margin:0;font-size:14px;line-height:1.5;color:#6c757d}.target-word-item.correctly-used p:last-child{color:#155724}.target-word-item.incorrectly-used p:last-child{color:#721c24}.target-words-content:empty:before{content:"No target words available";text-align:center;color:#6c757d;font-style:italic;padding:40px 20px}.writing-evaluation-overall{background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);color:#fff;padding:16px;border-radius:8px;margin-bottom:20px;text-align:center}.writing-evaluation-overall h3{margin:0 0 8px;font-size:18px;font-weight:600}.writing-evaluation-overall p{margin:0;font-size:13px;line-height:1.4;opacity:.95}.writing-evaluation-scores{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.writing-evaluation-score-item{background:#f8f9fa;padding:8px 6px;border-radius:6px;border-left:3px solid #007bff;transition:transform .2s ease,box-shadow .2s ease}.writing-evaluation-score-item:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.writing-evaluation-score-item h3{margin:0 0 6px;color:#495057;font-size:14px;font-weight:600}.writing-evaluation-score-item p{margin:0;color:#007bff;font-size:16px;font-weight:700}.writing-evaluation-score-item.score-high{border-left-color:var(--color-success);background:#fff}.writing-evaluation-score-item.score-high p{color:var(--color-success)}.writing-evaluation-score-item.score-medium{border-left-color:#ffc107;background:#fff}.writing-evaluation-score-item.score-medium p{color:#ffc107}.writing-evaluation-score-item.score-low{border-left-color:var(--color-error);background:#fff}.writing-evaluation-score-item.score-low p{color:var(--color-error)}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:var(--z-modal-backdrop);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn .2s ease-out}.modal-content{background-color:var(--color-white);border-radius:var(--radius-xl);padding:0;box-shadow:var(--shadow-xl);border:1px solid var(--color-gray-200);max-width:600px;width:90%;max-height:90vh;overflow-y:auto;animation:slideUp .3s ease-out}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:var(--spacing-lg) var(--spacing-xl);border-bottom:2px solid var(--color-gray-200);position:sticky;top:0;background-color:var(--color-white);z-index:10}.modal-header h2{margin:0;color:var(--color-dark);font-size:var(--font-size-2xl);font-weight:var(--font-weight-bold)}.modal-close-btn{background:none;border:none;font-size:32px;color:var(--color-gray-600);cursor:pointer;padding:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-md);transition:all var(--transition-fast)}.modal-close-btn:hover{background-color:var(--color-gray-100);color:var(--color-gray-700)}.modal-body{padding:var(--spacing-xl)}@media(max-width:768px){.modal-content{width:95%;max-height:95vh}.modal-header{padding:var(--spacing-lg)}.modal-header h2{font-size:var(--font-size-xl)}.modal-body{padding:var(--spacing-lg)}}.loading-container{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:300px;flex:1}.loading-spinner{width:40px;height:40px;border:3px solid var(--color-gray-200);border-top:3px solid var(--color-primary);border-radius:var(--radius-full);animation:spin 1s linear infinite}.loading-spinner.small{width:20px;height:20px;border-width:2px}.loading-spinner.medium{width:32px;height:32px;border-width:3px}.loading-spinner.large{width:48px;height:48px;border-width:4px}.loading-spinner.inline{display:inline-block;vertical-align:middle}.loading-text{color:var(--color-gray-600);font-size:var(--font-size-base);font-weight:var(--font-weight-medium);text-align:center;margin-top:var(--spacing-md)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.create-deck-modal-content{background-color:var(--color-white);border-radius:var(--radius-lg);padding:var(--spacing-xl);width:90%;max-width:500px;box-shadow:var(--shadow-xl)}.create-deck-modal-title{margin:0 0 var(--spacing-lg) 0;font-size:var(--font-size-2xl);font-weight:var(--font-weight-semibold);color:var(--color-dark)}.create-deck-form{display:flex;flex-direction:column;gap:var(--spacing-lg)}.form-field{margin-bottom:var(--spacing-lg)}.form-label{display:block;margin-bottom:var(--spacing-sm);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);color:var(--color-gray-600)}.form-input,.form-textarea{width:100%;padding:var(--spacing-sm);border:2px solid var(--color-gray-200);border-radius:var(--radius-md);font-size:var(--font-size-base);outline:none;transition:border-color var(--transition-fast);box-sizing:border-box}.form-input:focus,.form-textarea:focus{border-color:var(--color-primary)}.form-textarea{resize:vertical;font-family:inherit}.char-counter{text-align:right;font-size:var(--font-size-xs);margin-top:var(--spacing-xs)}.char-counter.normal{color:var(--color-gray-600)}.char-counter.limit{color:var(--color-error)}.inline-row{margin-bottom:var(--spacing-xl);display:flex;gap:var(--spacing-lg);align-items:center}.inline-field{display:flex;align-items:center;gap:var(--spacing-sm)}.inline-field label{font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);color:var(--color-gray-600);white-space:nowrap}.language-select{width:150px;padding:var(--spacing-sm);border:2px solid var(--color-gray-200);border-radius:var(--radius-md);font-size:var(--font-size-base);outline:none;background-color:var(--color-gray-50);color:var(--color-gray-400);cursor:not-allowed;box-sizing:border-box}.toggle-switch{width:50px;height:26px;background-color:var(--color-gray-300);border-radius:13px;position:relative;cursor:pointer;transition:background-color var(--transition-normal)}.toggle-switch.active{background-color:var(--color-success)}.toggle-knob{width:22px;height:22px;background-color:var(--color-white);border-radius:var(--radius-full);position:absolute;top:2px;left:2px;transition:left var(--transition-normal);box-shadow:var(--shadow-sm)}.toggle-switch.active .toggle-knob{left:26px}.modal-buttons{display:flex;gap:var(--spacing-sm);justify-content:flex-end}.cancel-button,.submit-button{padding:var(--spacing-sm) var(--spacing-lg);border-radius:var(--radius-md);font-size:var(--font-size-base);font-weight:var(--font-weight-semibold);cursor:pointer;transition:all var(--transition-fast)}.cancel-button{background-color:var(--color-white);color:var(--color-gray-600);border:2px solid var(--color-gray-200)}.cancel-button:hover{background-color:var(--color-gray-50);border-color:var(--color-gray-300)}.submit-button{background-color:var(--color-primary);color:var(--color-white);border:none;display:flex;align-items:center;gap:var(--spacing-sm)}.submit-button:hover:not(:disabled){background-color:var(--color-primary-dark);transform:translateY(-2px);box-shadow:var(--shadow-md)}.submit-button:disabled{background-color:var(--color-gray-400);cursor:not-allowed;opacity:.7}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background-color:#fff;border-radius:16px;padding:0;box-shadow:0 8px 32px #0003;border:1px solid #e1e5e9;max-width:600px;width:90%;max-height:90vh;overflow-y:auto;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 30px;border-bottom:2px solid var(--color-gray-200);position:sticky;top:0;background-color:#fff;z-index:10}.modal-header h2{margin:0;color:var(--color-dark);font-size:24px;font-weight:700}.modal-close-btn{background:none;border:none;font-size:32px;color:var(--color-gray-600);cursor:pointer;padding:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s ease}.modal-close-btn:hover{background-color:#f3f4f6;color:#374151}.flashcard-setup-container{padding:30px;display:flex;flex-direction:column;gap:24px}.flashcard-setup-options-container{display:flex;flex-direction:column;gap:24px}.target-vocab-container{display:flex;flex-direction:column;gap:12px;padding:20px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.section-title{font-weight:600;color:#495057;font-size:15px;margin-bottom:8px}.deck-selection-row{display:flex;align-items:center;gap:12px;width:100%}.deck-dropdown{flex:1;padding:10px 12px;border:2px solid #dee2e6;border-radius:6px;font-size:14px;transition:all .3s ease;background-color:#fff;color:#495057;cursor:pointer}.deck-dropdown:focus{outline:none;border-color:var(--color-primary);box-shadow:var(--focus-ring-primary)}.deck-dropdown:disabled{background-color:#f8f9fa;color:#6c757d;cursor:not-allowed;border-color:#e9ecef;opacity:.6}.deck-dropdown option:disabled{color:#adb5bd;font-style:italic}.selected-decks-info{font-size:12px;color:#6c757d;font-weight:500;flex:0 0 auto}.selected-decks-chips{display:flex;flex-wrap:wrap;gap:8px;width:100%;margin-top:8px}.deck-chip{display:flex;align-items:center;gap:6px;padding:6px 12px;background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);color:#fff;border-radius:20px;font-size:12px;font-weight:500;box-shadow:var(--shadow-primary-sm);transition:all .3s ease}.deck-chip:hover{transform:translateY(-1px);box-shadow:var(--shadow-primary-lg)}.remove-deck-btn{background:none;border:none;color:#fff;font-size:16px;font-weight:700;cursor:pointer;padding:0;width:16px;height:16px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease}.remove-deck-btn:hover{background-color:#fff3;transform:scale(1.1)}.exercise-type-selection-container{display:flex;flex-direction:column;gap:12px;padding:20px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.exercise-type-buttons{display:flex;gap:12px}.exercise-type-btn{flex:1;padding:8px 16px;border:2px solid #dee2e6;border-radius:6px;background-color:#fff;color:#495057;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.exercise-type-btn:hover{border-color:var(--color-primary);background-color:#f8f9fa}.exercise-type-btn.active{background-color:var(--color-primary);border-color:var(--color-primary);color:#fff;box-shadow:var(--shadow-primary-sm)}.exercise-type-btn.active:hover{background-color:var(--color-primary-dark);border-color:var(--color-primary-dark);transform:translateY(-1px);box-shadow:var(--shadow-primary-lg)}.word-count-selection-container{display:flex;flex-direction:column;gap:12px;padding:20px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.word-count-buttons{display:flex;gap:12px}.word-count-btn{flex:1;padding:8px 16px;border:2px solid #dee2e6;border-radius:6px;background-color:#fff;color:#495057;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.word-count-btn:hover{border-color:var(--color-primary);background-color:#f8f9fa}.word-count-btn.active{background-color:var(--color-primary);border-color:var(--color-primary);color:#fff;box-shadow:var(--shadow-primary-sm)}.word-count-btn.active:hover{background-color:var(--color-primary-dark);border-color:var(--color-primary-dark);transform:translateY(-1px);box-shadow:var(--shadow-primary-lg)}.start-exercise-button-container{display:flex;justify-content:flex-end;padding-top:12px;border-top:1px solid #e9ecef}.card{background-color:var(--color-white);padding:var(--spacing-md);border-radius:var(--radius-md);display:flex;flex-direction:column;align-items:center;cursor:pointer;transition:transform var(--transition-fast),box-shadow var(--transition-fast);box-shadow:var(--shadow-sm);position:relative;border:1px solid transparent}.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}.card-icon{flex-shrink:0}.card-title{margin:var(--spacing-sm) 0 0 0;font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);color:var(--color-dark);text-align:center;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.3}.card-description{margin:var(--spacing-xs) 0 0 0;font-size:var(--font-size-xs);color:var(--color-gray-600);text-align:center}.card-badge{position:absolute;top:var(--spacing-sm);left:var(--spacing-sm);width:16px;height:16px}.card.clickable{cursor:pointer}.card.non-clickable{cursor:default}.card.non-clickable:hover{transform:none;box-shadow:var(--shadow-sm)}.card.fixed-height{height:150px;justify-content:center}@media(max-width:768px){.card{padding:var(--spacing-sm)}.card-title{font-size:var(--font-size-sm)}.card-description{font-size:var(--font-size-xs)}}.vocabulary-page{padding:var(--spacing-lg)}.vocabulary-grid{display:grid;grid-template-columns:3fr 3fr 2fr;gap:var(--spacing-lg);margin-top:var(--spacing-lg)}.vocabulary-section{background-color:var(--color-gray-100);padding:var(--spacing-lg);border-radius:var(--radius-md);min-height:300px}.vocabulary-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--spacing-sm)}.vocabulary-section-header h2{color:var(--color-dark);margin:0}.decks-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--spacing-lg);margin-top:var(--spacing-lg)}.loading-state,.empty-state{grid-column:1 / -1;text-align:center;padding:40px;color:var(--color-gray-600)}.pin-icon{position:absolute;top:var(--spacing-sm);left:var(--spacing-sm);width:16px;height:16px}.see-all-button{width:100%;margin-top:var(--spacing-lg);padding:var(--spacing-sm) var(--spacing-lg);background-color:var(--color-white);color:var(--color-gray-600);border:2px solid var(--color-gray-200);border-radius:var(--radius-md);font-size:var(--font-size-base);font-weight:var(--font-weight-semibold);cursor:pointer;transition:all var(--transition-fast)}.see-all-button:hover{background-color:var(--color-gray-50);border-color:var(--color-gray-300)}.daily-words-section{display:flex;flex-direction:column}.daily-words-section h2{color:var(--color-dark)}.daily-words-description{margin-bottom:var(--spacing-md);color:var(--color-gray-600)}.daily-words-list{display:flex;flex-direction:column}.word-item{display:flex;align-items:center;gap:var(--spacing-sm);padding:var(--spacing-sm) 0}.word-wrapper{position:relative;display:inline-block;flex:1;font-size:var(--font-size-base);font-weight:var(--font-weight-medium);color:var(--color-dark)}.word-strikethrough{position:relative;display:inline-block}.word-strikethrough:after{content:"";position:absolute;left:0;top:50%;width:0;height:2px;background-color:var(--strikethrough-color);animation:strikethrough .4s ease-out forwards}.word-known:after{--strikethrough-color: var(--color-success)}.word-unknown:after{--strikethrough-color: var(--color-error)}.word-check-button,.word-cross-button{width:24px;height:24px;border-radius:var(--radius-full);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform var(--transition-fast),box-shadow var(--transition-fast)}.word-check-button{background-color:var(--color-success);box-shadow:var(--shadow-sm)}.word-check-button:hover{transform:scale(1.1);box-shadow:var(--shadow-md)}.word-cross-button{background-color:var(--color-error);box-shadow:var(--shadow-sm)}.word-cross-button:hover{transform:scale(1.1);box-shadow:var(--shadow-md)}.word-divider{height:1px;background-color:var(--color-gray-200);margin:0}@keyframes strikethrough{0%{width:0}to{width:100%}}@media(max-width:1024px){.vocabulary-grid{grid-template-columns:1fr 1fr}.vocabulary-grid>div:nth-child(3){grid-column:1 / -1}}@media(max-width:768px){.vocabulary-grid{grid-template-columns:1fr}.vocabulary-grid>div:nth-child(3){grid-column:auto}.decks-grid{grid-template-columns:1fr}}.vocabulary-exercise-page{display:flex;flex-direction:column;min-height:100vh;padding:0;margin:-1.5rem;background-color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.vocab-exercise-header{padding:16px 40px;border-bottom:1px solid #d2d2d7;background-color:transparent;display:flex;justify-content:space-between;align-items:center}.vocab-exercise-header h1{font-size:24px;font-weight:600;color:#1d1d1f;margin:0;text-align:left}.header-right{display:flex;align-items:center;gap:16px}.score-display{font-size:18px;font-weight:600;color:#1d1d1f;padding:8px 20px;background-color:#f5f5f7;border-radius:20px}.exercise-content{display:grid;grid-template-columns:1fr 1fr;gap:60px;flex:1;max-width:1400px;width:100%;margin:0 auto;padding:32px 40px}.words-column,.definitions-column{display:flex;flex-direction:column}.words-column h2,.definitions-column h2{font-size:16px;font-weight:600;letter-spacing:1.5px;color:#86868b;margin-bottom:24px;text-align:left}.items-list{display:flex;flex-direction:column;gap:16px}.vocabulary-exercise-page .word-item,.vocabulary-exercise-page .definition-item{padding:12px 16px;border-radius:12px;border:2px solid;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:space-between;min-height:52px;position:relative}.vocabulary-exercise-page .word-item:hover,.vocabulary-exercise-page .definition-item:hover{transform:translateY(-2px);box-shadow:0 8px 16px #0000001a}.vocabulary-exercise-page .word-item.selected,.vocabulary-exercise-page .definition-item.selected{transform:scale(1.02)}.word-content{display:flex;flex-direction:column;gap:8px;flex:1}.word-text{font-size:20px;font-weight:600;line-height:1.2}.definition-text{font-size:15px;line-height:1.4;color:inherit;flex:1;padding-right:16px}.number-badge{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:16px;flex-shrink:0}.exercise-footer{display:flex;justify-content:center;align-items:center;margin-top:0;padding:20px 40px;border-top:1px solid #d2d2d7;max-width:1400px;width:100%;margin-left:auto;margin-right:auto}.progress-text{font-size:16px;color:#6e6e73;font-weight:500}.check-answers-btn{background-color:#e8e8ed;color:#86868b;border:none;padding:10px 24px;border-radius:20px;font-size:15px;font-weight:600;cursor:not-allowed;display:flex;align-items:center;gap:6px;transition:all .3s ease}.check-answers-btn:not(:disabled){background-color:#0071e3;color:#fff;cursor:pointer}.check-answers-btn:not(:disabled):hover{background-color:#0077ed;transform:translateY(-1px);box-shadow:0 4px 12px #0071e34d}.check-answers-btn:not(:disabled):active{transform:translateY(0)}.finish-btn{background-color:#0071e3;color:#fff;border:none;padding:10px 24px;border-radius:20px;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s ease}.finish-btn:hover{background-color:#0077ed;transform:translateY(-1px);box-shadow:0 4px 12px #0071e34d}.finish-btn:active{transform:translateY(0)}.info-icon{font-size:18px}.result-icon{font-size:20px;font-weight:700;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0}.result-icon.correct{background:#27ae60;color:#fff}.result-icon.incorrect{background:#e74c3c;color:#fff}.incorrect-hint-wrapper{position:relative;display:inline-flex;align-items:center;margin-left:8px}.incorrect-hint-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;background:#ffffff87;color:#0000009f;border:2px solid rgba(255,255,255,.529);border-radius:50%;font-size:14px;font-weight:700;transition:all .2s ease;box-shadow:0 2px 4px #0000001a}.incorrect-hint-icon:hover{background:#fff;color:#050505;border-color:#fff;transform:scale(1.15);box-shadow:0 2px 8px #00000026}.incorrect-hint-tooltip{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);background:#333;color:#fff;padding:8px 12px;border-radius:6px;font-size:13px;font-weight:400;white-space:nowrap;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease;pointer-events:none;z-index:1000;box-shadow:0 4px 12px #00000026}.incorrect-hint-tooltip:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:6px solid transparent;border-top-color:#333}.incorrect-hint-wrapper:hover .incorrect-hint-tooltip{opacity:1;visibility:visible}.loading,.error{display:flex;align-items:center;justify-content:center;min-height:400px;font-size:20px;color:#6e6e73}.error{color:#e74c3c}@media(max-width:1450px){.vocabulary-exercise-page{margin:-.75rem}}@media(max-width:1024px){.exercise-content{gap:40px}}@media(max-width:768px){.vocabulary-exercise-page{margin:-1rem}.exercise-content{grid-template-columns:1fr;gap:48px;padding:24px}.vocab-exercise-header{padding:12px 24px;flex-direction:column;align-items:flex-start;gap:12px}.vocab-exercise-header h1{font-size:20px}.header-right{width:100%;flex-direction:column;gap:12px}.score-display{width:100%;text-align:center}.check-answers-btn,.finish-btn{width:100%;justify-content:center}.instructions{font-size:16px}.word-text{font-size:20px}.definition-text{font-size:14px}.exercise-footer{flex-direction:column;gap:16px;text-align:center;padding:20px 24px}}.subcategory-scores{display:flex;flex-wrap:wrap;gap:18px;margin:24px 0 12px;justify-content:center}.subcategory-scores-grid{display:flex;flex-wrap:wrap;gap:18px;justify-content:center}.detail-header{display:flex;flex-direction:column;gap:8px}.detail-meta-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.detail-content-layout{display:flex;gap:24px;align-items:flex-start}.overall-feedback-section,.scores-section{padding:15px;width:50%;border:2px solid #ccc5c5ff;border-radius:8px}@media(max-width:1450px){.detail-content-layout{flex-direction:column}.overall-feedback-section{width:100%;order:1}.scores-section{width:100%;order:2}}.subcategory-score{background:linear-gradient(135deg,#f8fafc 0%,var(--color-gray-200) 100%);border-radius:10px;box-shadow:var(--shadow-primary-xs);border:1.5px solid #e1e5e9;padding:12px 28px;min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;transition:box-shadow .2s,border .2s}.overall-score{width:100%;flex-basis:100%;padding:8px 28px}.subcategory-score:hover{box-shadow:var(--shadow-primary-xl);border-color:var(--color-primary)}.subcategory-label{font-size:14px;font-weight:600;color:#495057;margin-bottom:8px;text-align:center;letter-spacing:.02em}.subcategory-value{font-size:19px;font-weight:700;color:var(--color-primary);background:linear-gradient(90deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-fill-color:transparent;margin-bottom:4px;transition:color .2s}.subcategory-score.high .subcategory-value{color:#22c55e;background:none;-webkit-text-fill-color:#22c55e;text-fill-color:#22c55e}.subcategory-score.low .subcategory-value{color:#dc2626;background:none;-webkit-text-fill-color:#dc2626;text-fill-color:#dc2626}@media(max-width:860px){.subcategory-scores-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.subcategory-score.overall-score{grid-column:1 / -1}}@media(max-width:768px){.subcategory-scores{flex-direction:column;gap:12px;align-items:center}.subcategory-score{min-width:90vw;padding:14px 10vw}}.evaluation-slider-container{position:relative;width:100%;margin-top:24px;overflow:hidden}.evaluation-slider-wrapper{display:flex;transition:transform .5s cubic-bezier(.4,0,.2,1);width:100%;overflow:visible}.evaluation-slide{min-width:100%;width:100%;flex-shrink:0;box-sizing:border-box}.slider-navigation{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:20px;padding:16px 0}.slider-nav-btn{background:#fff;border:2px solid var(--color-primary);border-radius:50%;width:44px;height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;color:var(--color-primary)}.slider-nav-btn:hover:not(:disabled){background:var(--color-primary);color:#fff;transform:scale(1.1)}.slider-nav-btn:disabled{opacity:.3;cursor:not-allowed;border-color:#ccc;color:#ccc}.slider-dots{display:flex;gap:8px;align-items:center}.slider-dot{width:12px;height:12px;border-radius:50%;background:#dee2e6;cursor:pointer;transition:all .3s ease}.slider-dot.active{background:var(--color-primary);transform:scale(1.3)}.slider-dot:hover{background:var(--color-primary-dark)}.target-vocab-section-slider{padding:20px;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:12px;border:2px solid #dee2e6}.target-vocab-section-slider h4{margin:0 0 16px;color:var(--color-dark);font-size:18px;font-weight:600}.target-vocab-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;padding:4px}.vocab-card{background:#fff;border-radius:8px;padding:16px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 4px #00000014;border:2px solid transparent;min-height:80px}.vocab-card:hover{transform:translateY(-4px);box-shadow:0 6px 16px #0000001f}.vocab-card.correct{border-color:var(--color-success)}.vocab-card.correct:hover{background:linear-gradient(135deg,#fff,#f1f9f3)}.vocab-card.incorrect{border-color:var(--color-error)}.vocab-card.incorrect:hover{background:linear-gradient(135deg,#fff,#fef5f5)}.vocab-card-word{font-size:15px;font-weight:600;color:var(--color-dark);text-align:center;word-break:break-word}.vocab-card-icon{font-size:20px;font-weight:700}.vocab-card-icon.correct{color:var(--color-success)}.vocab-card-icon.incorrect{color:var(--color-error)}.vocab-modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .2s ease}.vocab-modal{background:#fff;border-radius:12px;padding:24px;max-width:500px;width:90%;max-height:80vh;overflow-y:auto;box-shadow:0 8px 32px #0003;animation:slideUp .3s ease}.vocab-modal-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #e9ecef}.vocab-modal-title h2{margin:0 0 8px;color:var(--color-dark);font-size:24px;font-weight:700}.vocab-modal-status{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.vocab-modal-status.correct{background:#d4edda;color:#155724}.vocab-modal-status.incorrect{background:#f8d7da;color:#721c24}.vocab-modal-close{background:none;border:none;font-size:28px;color:#6c757d;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s ease}.vocab-modal-close:hover{background:#f8f9fa;color:#495057}.vocab-modal-body{color:#495057;font-size:15px;line-height:1.6}.vocab-modal-body p{margin:0}@media(max-width:768px){.target-vocab-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}.vocab-card{min-height:70px;padding:12px 8px}.vocab-card-word{font-size:14px}}.exercise-setup-modal{max-width:500px}.exercise-setup-modal .modal-body{display:flex;flex-direction:column;gap:var(--spacing-xl)}.form-group{display:flex;flex-direction:column;gap:var(--spacing-sm)}.form-group label{font-size:var(--font-size-base);font-weight:var(--font-weight-semibold);color:var(--color-dark);display:flex;align-items:center;gap:var(--spacing-sm)}.form-group .level-badge{background:var(--color-primary);color:var(--color-white);padding:4px 12px;border-radius:var(--radius-md);font-size:var(--font-size-sm);font-weight:var(--font-weight-bold)}.context-select{padding:var(--spacing-md);border:2px solid var(--color-gray-300);border-radius:var(--radius-md);font-size:var(--font-size-base);color:var(--color-dark);background-color:var(--color-white);cursor:pointer;transition:all var(--transition-normal);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.context-select:hover{border-color:var(--color-primary)}.context-select:focus{outline:none;border-color:var(--color-primary);box-shadow:var(--focus-ring-primary)}.context-select:disabled{background-color:var(--color-gray-100);color:var(--color-gray-400);cursor:not-allowed}.slider-container{display:flex;flex-direction:column;gap:var(--spacing-md)}.cefr-slider{-webkit-appearance:none;appearance:none;width:100%;height:8px;border-radius:var(--radius-full);background:var(--color-gray-200);outline:none;transition:background var(--transition-normal)}.cefr-slider:hover{background:var(--color-gray-300)}.cefr-slider:disabled{opacity:.5;cursor:not-allowed}.cefr-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:24px;height:24px;border-radius:var(--radius-full);background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);cursor:pointer;box-shadow:var(--shadow-primary-md);transition:all var(--transition-normal)}.cefr-slider::-webkit-slider-thumb:hover{transform:scale(1.15);box-shadow:var(--shadow-primary-lg)}.cefr-slider::-webkit-slider-thumb:active{transform:scale(1.05)}.cefr-slider::-moz-range-thumb{width:24px;height:24px;border:none;border-radius:var(--radius-full);background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);cursor:pointer;box-shadow:var(--shadow-primary-md);transition:all var(--transition-normal)}.cefr-slider::-moz-range-thumb:hover{transform:scale(1.15);box-shadow:var(--shadow-primary-lg)}.cefr-slider::-moz-range-thumb:active{transform:scale(1.05)}.slider-labels{display:flex;justify-content:space-between;padding:0 4px}.slider-label{font-size:var(--font-size-sm);color:var(--color-gray-600);font-weight:var(--font-weight-medium);transition:all var(--transition-normal)}.slider-label.active{color:var(--color-primary);font-weight:var(--font-weight-bold);transform:scale(1.1)}.modal-actions{display:flex;justify-content:flex-end;gap:var(--spacing-md);margin-top:var(--spacing-lg);padding-top:var(--spacing-lg);border-top:1px solid var(--color-gray-200)}@media(max-width:768px){.exercise-setup-modal{max-width:100%;width:95%}.modal-actions{flex-direction:column-reverse;gap:var(--spacing-sm)}.modal-actions button{width:100%}}.reading-page{display:flex;flex-direction:column;min-height:100vh;padding:20px}.reading-content{display:grid;grid-template-columns:2fr 1fr;gap:30px;width:100%}.recent-readings-container{background-color:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px #0000001a;border:1px solid #e1e5e9;height:fit-content;min-height:400px}.header-with-button{display:flex;justify-content:space-between;align-items:center}.header-with-button h2{margin:0 0 24px;color:var(--color-dark);font-size:28px;font-weight:700;position:relative;padding-bottom:12px}.header-with-button h2:after{content:"";position:absolute;bottom:0;left:0;width:60px;height:3px;background:linear-gradient(90deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);border-radius:2px}.reading-history-list{display:flex;flex-direction:column;gap:16px}.reading-card{background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:20px;transition:all .3s ease;cursor:pointer}.reading-card:hover{background-color:#e9ecef;border-color:#dee2e6;transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.reading-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.reading-title{margin:0;color:var(--color-dark);font-size:18px;font-weight:600;flex:1}.reading-date{color:var(--color-gray-600);font-size:13px;font-weight:500;white-space:nowrap;margin-left:12px}.reading-meta{display:flex;align-items:center;gap:10px;margin-bottom:12px}.level-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;background-color:var(--color-primary);color:#fff;font-size:11px;font-weight:600;border-radius:5px;height:22px;min-width:38px}.score-chip{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;font-size:11px;font-weight:600;border-radius:5px;color:#fff;height:22px;min-width:38px}.score-high{background-color:var(--color-success);box-shadow:var(--shadow-success)}.score-medium{background-color:#f59e0b;box-shadow:var(--shadow-warning)}.score-low{background-color:var(--color-error);box-shadow:var(--shadow-error)}.reading-stats{display:flex;gap:20px;margin-top:12px}.stat-item{display:flex;align-items:center;gap:6px;color:var(--color-gray-600);font-size:14px;font-weight:500}.stat-item svg{color:var(--color-primary)}.daily-target-container{background-color:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px #0000001a;border:1px solid #e1e5e9;height:fit-content;position:sticky;top:20px}.daily-target-container h2{margin:0 0 24px;color:var(--color-dark);font-size:28px;font-weight:700;position:relative;padding-bottom:12px}.daily-target-container h2:after{content:"";position:absolute;bottom:0;left:0;width:60px;height:3px;background:linear-gradient(90deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);border-radius:2px}.target-section{margin-bottom:28px}.target-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.target-header h3{margin:0;color:#374151;font-size:16px;font-weight:600}.target-count{color:var(--color-primary);font-size:16px;font-weight:700}.progress-bar{width:100%;height:12px;background-color:#e5e7eb;border-radius:6px;overflow:hidden;margin-bottom:8px}.progress-fill{height:100%;background:linear-gradient(90deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);border-radius:6px;transition:width .5s ease}.progress-text{margin:0;color:var(--color-gray-600);font-size:13px;font-weight:500}.target-stats{margin-top:32px;padding-top:24px;border-top:2px solid #e5e7eb}.target-stats h3{margin:0 0 16px;color:#374151;font-size:16px;font-weight:600}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.stat-card{background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:16px;display:flex;flex-direction:column;align-items:center;text-align:center;transition:all .3s ease}.stat-card:hover{background-color:#e9ecef;transform:translateY(-2px)}.stat-value{color:var(--color-primary);font-size:24px;font-weight:700;margin-bottom:4px}.stat-label{color:var(--color-gray-600);font-size:12px;font-weight:500}.target-actions{margin-top:24px;padding-top:20px;border-top:2px solid #e5e7eb}.edit-target-btn{width:100%;padding:12px 24px;background:linear-gradient(90deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .3s ease}.edit-target-btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-primary-lg)}.edit-target-btn svg{width:16px;height:16px}.no-data-container{display:flex;justify-content:center;align-items:center;min-height:300px}.empty-state-content{display:flex;flex-direction:column;align-items:center;gap:16px}.empty-icon{color:var(--color-gray-600);opacity:.6}.no-data-container p{font-size:18px;font-weight:500;color:var(--color-gray-600);text-align:center;margin:0}.pagination-controls{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:18px;margin-bottom:4px}.pagination-controls button{background:#f3f4f6;border:1.5px solid #d1d5db;color:#374151;font-size:15px;font-weight:500;border-radius:6px;padding:6px 13px;margin:0 2px;cursor:pointer;transition:background .2s,color .2s,border .2s}.prev-btn,.next-btn{width:90px}.pagination-controls button:disabled{background:#e5e7eb;color:#9ca3af;border-color:#e5e7eb;cursor:not-allowed}.pagination-controls button[style*="font-weight: bold"]{background:linear-gradient(90deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);color:#fff!important;border-color:var(--color-primary);text-decoration:underline;pointer-events:none}.pagination-controls button:hover:not(:disabled):not([style*="font-weight: bold"]){background:#e0e7ff;color:#4338ca;border-color:#a5b4fc}@media(max-width:1024px){.reading-content{grid-template-columns:1fr}.daily-target-container{position:static}.stats-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:768px){.reading-page{padding:10px}.recent-readings-container,.daily-target-container{padding:20px}.header-with-button{flex-direction:column;align-items:stretch;gap:16px}.header-with-button h2{font-size:24px;text-align:center}.header-with-button h2:after{left:50%;transform:translate(-50%)}.reading-card-header{flex-direction:column;gap:8px}.reading-date{margin-left:0}.reading-stats{flex-direction:column;gap:8px}.stats-grid{grid-template-columns:repeat(2,1fr)}.pagination-controls{flex-wrap:wrap;gap:8px}.prev-btn,.next-btn{width:calc(50% - 4px)}}.reading-exercise-page{height:100vh;width:calc(100% + 3rem);margin:-1.5rem;display:flex;flex-direction:column;overflow:hidden}@media(max-width:1450px){.reading-exercise-page{width:calc(100% + 1.5rem);margin:-.75rem}}@media(max-width:768px){.reading-exercise-page{width:calc(100% + 2rem);margin:-1rem}}.exercise-header{background:linear-gradient(135deg,var(--color-primary-light) 0%,var(--color-primary-light) 100%);border-radius:0 0 var(--radius-xl) var(--radius-xl);padding:var(--spacing-sm) var(--spacing-xl);display:flex;justify-content:center;align-items:center;box-shadow:var(--shadow-md);flex-shrink:0;width:calc(100% - 3rem);max-width:1400px;margin:0 auto}.exercise-header-content{width:100%;max-width:1400px;display:flex;justify-content:space-between;align-items:center}.header-info h1{font-size:var(--font-size-xl);font-weight:var(--font-weight-bold);color:var(--color-primary);margin:0 0 var(--spacing-xs) 0}.header-meta{display:flex;gap:var(--spacing-md);flex-wrap:wrap;align-items:center}.level-badge{background:var(--color-primary);color:var(--color-white);padding:4px 8px;border-radius:5px;font-size:11px;font-weight:600;text-transform:uppercase;height:22px;display:inline-flex;align-items:center;justify-content:center}.context-badge{background:var(--color-secondary);color:var(--color-white);padding:4px 8px;border-radius:5px;font-size:11px;font-weight:600;text-transform:capitalize;height:22px;display:inline-flex;align-items:center;justify-content:center}.meta-item{display:flex;align-items:center;gap:6px;color:var(--color-gray-700);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}.meta-item svg{color:var(--color-primary)}.time-up-badge{background:var(--color-error);color:var(--color-white);padding:4px 10px;border-radius:var(--radius-md);font-size:var(--font-size-xs);font-weight:var(--font-weight-bold);text-transform:uppercase;letter-spacing:.5px;margin-left:var(--spacing-xs);animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.score-display{display:flex;flex-direction:column;align-items:center;gap:var(--spacing-xs);padding:var(--spacing-md) var(--spacing-lg);border-radius:var(--radius-lg);min-width:100px;border:none!important;box-shadow:none!important;outline:none!important}.score-label{font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);color:var(--color-white);text-transform:uppercase;letter-spacing:.5px}.score-value{font-weight:var(--font-weight-bold);color:var(--color-white)}.score-display.score-high{background:var(--color-success)}.score-display.score-medium{background:var(--color-warning)}.score-display.score-low{background:var(--color-error)}.reading-content-container{display:grid;grid-template-columns:1fr 1fr;gap:var(--spacing-md);flex:1;overflow:hidden;padding:var(--spacing-md) var(--spacing-lg);min-height:0;width:100%;max-width:1400px;margin:0 auto}.reading-text{background:var(--color-white);border-radius:var(--radius-lg);padding:var(--spacing-md);box-shadow:var(--shadow-md);overflow:hidden;height:100%;min-height:0;display:flex;flex-direction:column}.reading-text h2{font-size:var(--font-size-lg);font-weight:var(--font-weight-bold);color:var(--color-dark);margin:0 0 var(--spacing-sm) 0;padding-bottom:var(--spacing-xs);border-bottom:2px solid var(--color-gray-200);flex-shrink:0}.text-content{font-size:var(--font-size-base);line-height:1.8;color:var(--color-gray-800);text-align:justify;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;overflow-y:auto;flex:1;min-height:0}.questions-section{display:flex;flex-direction:column;gap:var(--spacing-md);overflow:hidden;height:100%;min-height:0}.questions-header{display:flex;justify-content:space-between;align-items:center;gap:var(--spacing-md);padding:var(--spacing-md);background:var(--color-white);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);flex-shrink:0}.questions-header h2{font-size:var(--font-size-lg);font-weight:var(--font-weight-bold);color:var(--color-dark);margin:0}.questions-actions{display:flex;gap:var(--spacing-sm);align-items:center}.questions-actions button{padding:var(--spacing-xs) var(--spacing-md);font-size:var(--font-size-sm);min-width:80px;height:36px;display:flex;align-items:center;justify-content:center}.questions-list{display:flex;flex-direction:column;gap:var(--spacing-sm);padding-bottom:var(--spacing-sm);overflow-y:auto;flex:1;min-height:0}.question-card{background:var(--color-white);border-radius:var(--radius-lg);padding:var(--spacing-md);box-shadow:var(--shadow-md);transition:all var(--transition-normal);flex-shrink:0}.question-card.correct{border:2px solid var(--color-success)}.question-card.incorrect{border:2px solid var(--color-error)}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--spacing-md)}.question-number{font-size:var(--font-size-sm);font-weight:var(--font-weight-bold);color:var(--color-primary);text-transform:uppercase;letter-spacing:.5px}.result-icon{font-size:var(--font-size-2xl);font-weight:var(--font-weight-bold);width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-full)}.result-icon.correct{background:var(--color-success);color:var(--color-white)}.result-icon.incorrect{background:var(--color-error);color:var(--color-white)}.question-text{font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold);color:var(--color-dark);margin:0 0 var(--spacing-lg) 0;line-height:1.6}.options-list{display:flex;flex-direction:column;gap:var(--spacing-md)}.option-button{display:flex;align-items:center;gap:var(--spacing-md);padding:var(--spacing-md);border:2px solid var(--color-gray-300);border-radius:var(--radius-lg);background:var(--color-white);cursor:pointer;transition:all var(--transition-normal);text-align:left;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.option-button:hover:not(:disabled){border-color:var(--color-primary);background:var(--bg-primary-alpha-10);transform:translate(4px)}.option-button:disabled{cursor:not-allowed}.option-button.selected{border-color:var(--color-primary);background:var(--bg-primary-alpha-10);box-shadow:var(--shadow-primary-sm)}.option-button.correct-answer{border-color:var(--color-success);background:var(--color-success-light);box-shadow:var(--shadow-success)}.option-button.incorrect-answer{border-color:var(--color-error);background:var(--color-error-light);box-shadow:var(--shadow-error)}.option-button.unanswered{border-color:var(--color-gray-300);background:var(--color-gray-100);opacity:.6}.option-label{font-size:var(--font-size-lg);font-weight:var(--font-weight-bold);color:var(--color-primary);min-width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-md);background:var(--bg-primary-alpha-10);flex-shrink:0}.option-button.correct-answer .option-label{background:var(--color-success);color:var(--color-white)}.option-button.incorrect-answer .option-label{background:var(--color-error);color:var(--color-white)}.option-button.unanswered .option-label{background:var(--color-gray-300);color:var(--color-gray-600)}.option-button.unanswered .option-text{color:var(--color-gray-500)}.option-text{font-size:var(--font-size-base);color:var(--color-gray-800);line-height:1.5;flex:1}.text-content::-webkit-scrollbar,.questions-list::-webkit-scrollbar{width:6px}.text-content::-webkit-scrollbar-track,.questions-list::-webkit-scrollbar-track{background:var(--color-gray-100);border-radius:var(--radius-sm)}.text-content::-webkit-scrollbar-thumb,.questions-list::-webkit-scrollbar-thumb{background:var(--color-gray-400);border-radius:var(--radius-sm)}.text-content::-webkit-scrollbar-thumb:hover,.questions-list::-webkit-scrollbar-thumb:hover{background:var(--color-primary)}@media(max-width:1450px){.reading-exercise-page{width:calc(100% + 1.5rem);margin:-.75rem}.exercise-header{width:calc(100% - 1.5rem)}}@media(max-width:768px){.reading-exercise-page{width:calc(100% + 2rem);margin:-1rem}.exercise-header{width:calc(100% - 2rem)}.reading-exercise-page{height:100vh}.exercise-header{flex-direction:column;gap:var(--spacing-md);padding:var(--spacing-sm) var(--spacing-md)}.header-info h1{font-size:var(--font-size-lg)}.score-display{align-self:stretch}.reading-content-container,.reading-text,.questions-header,.question-card{padding:var(--spacing-md)}.questions-header{flex-direction:column;align-items:flex-start}.questions-actions{width:100%;flex-direction:column-reverse}.questions-actions button{width:100%}}@media(max-width:480px){.exercise-header{padding:var(--spacing-sm) var(--spacing-md)}.header-info h1{font-size:var(--font-size-base)}.header-meta{flex-direction:column;align-items:flex-start;gap:var(--spacing-xs)}.reading-content-container,.reading-text,.questions-header,.question-card{padding:var(--spacing-sm)}.question-text{font-size:var(--font-size-sm)}.option-button{padding:var(--spacing-xs) var(--spacing-sm)}}:root{--color-success: #58A857;--color-warning: #D9C355;--color-error: #A62929;--color-primary: #0e6b9a;--color-secondary: #C29762;--color-dark: #2D3136;--color-light: #ECE1E9;--color-white: #F6F5F3;--color-success-light: #d4f4dd;--color-success-dark: #028a3d;--color-warning-light: #f5edc4;--color-warning-dark: #b8a745;--color-error-light: #f8d7da;--color-error-dark: #8a1f1f;--color-primary-light: #a8bac4;--color-primary-dark: #3d5561;--color-secondary-light: #e5d0b8;--color-secondary-dark: #a07a48;--color-gray-50: #f9fafb;--color-gray-100: #f3f4f6;--color-gray-200: #e5e7eb;--color-gray-300: #d1d5db;--color-gray-400: #9ca3af;--color-gray-500: var(--color-gray-600);--color-gray-600: #4b5563;--color-gray-700: #374151;--color-gray-800: #1f2937;--color-gray-900: #111827;--spacing-xs: 4px;--spacing-sm: 8px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 32px;--spacing-2xl: 48px;--radius-sm: 4px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px;--radius-full: 9999px;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1);--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1);--shadow-primary-xs: 0 1px 3px rgba(14, 107, 154, .1);--shadow-primary-sm: 0 2px 4px rgba(14, 107, 154, .2);--shadow-primary-md: 0 3px 8px rgba(14, 107, 154, .2);--shadow-primary-lg: 0 4px 12px rgba(14, 107, 154, .3);--shadow-primary-xl: 0 4px 16px rgba(14, 107, 154, .18);--focus-ring-primary: 0 0 0 3px rgba(14, 107, 154, .1);--bg-primary-alpha-10: rgba(14, 107, 154, .1);--bg-primary-alpha-20: rgba(14, 107, 154, .2);--shadow-success: 0 2px 4px rgba(88, 168, 87, .2);--bg-success-alpha-10: rgba(88, 168, 87, .1);--border-success-alpha-20: rgba(88, 168, 87, .2);--shadow-warning: 0 2px 4px rgba(217, 195, 85, .2);--bg-warning-alpha-10: rgba(217, 195, 85, .1);--border-warning-alpha-20: rgba(217, 195, 85, .2);--shadow-error: 0 2px 4px rgba(166, 41, 41, .2);--shadow-error-lg: 0 8px 25px rgba(166, 41, 41, .15);--bg-error-alpha-06: rgba(166, 41, 41, .06);--bg-error-alpha-10: rgba(166, 41, 41, .1);--border-error-alpha-20: rgba(166, 41, 41, .2);--reminder-vocab-bg: #fee2e2;--reminder-vocab-text: #991b1b;--reminder-grammar-bg: #dbeafe;--reminder-grammar-text: #1e40af;--reminder-essay-bg: #e0e7ff;--reminder-essay-text: #3730a3;--transition-fast: .15s ease-in-out;--transition-normal: .25s ease-in-out;--transition-slow: .35s ease-in-out;--font-size-xs: 12px;--font-size-sm: 14px;--font-size-base: 16px;--font-size-lg: 18px;--font-size-xl: 20px;--font-size-2xl: 24px;--font-size-3xl: 30px;--font-size-4xl: 36px;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--z-dropdown: 1000;--z-sticky: 1020;--z-fixed: 1030;--z-modal-backdrop: 1040;--z-modal: 1050;--z-popover: 1060;--z-tooltip: 1070}.auth-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:20px;box-sizing:border-box}.redirect-message{text-align:center;padding:20px;background-color:#f8f9fa;border-radius:8px;box-shadow:0 2px 4px #0000001a}.redirect-message p{margin:0;font-size:16px;color:#333}
