@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";:root{--bg-color:#0b0f19;--surface-color:#1a1f2e;--surface-border:#2a3142;--text-main:#f8fafc;--text-muted:#94a3b8;--primary:#818cf8;--primary-hover:#6366f1;--planned:#38bdf8;--accent:#f472b6;--success:#10b981;--warning:#f59e0b;--danger:#ef4444;--radius-lg:16px;--radius-md:12px;--radius-sm:8px;--font-sans:"Inter", sans-serif;--shadow-glow:0 0 20px #818cf826}*{box-sizing:border-box}body{font-family:var(--font-sans);background:var(--bg-color);color:var(--text-main);background-image:radial-gradient(circle at 15%,#818cf814,#0000 25%),radial-gradient(circle at 85% 30%,#f472b60d,#0000 25%);background-attachment:fixed;min-height:100vh;margin:0;padding:0}button{cursor:pointer;font-family:var(--font-sans);border:none;outline:none;transition:all .2s ease-in-out}.study-planer-layout{max-width:1536px;margin:0 auto;padding:2rem 3rem}@media (width<=1024px){.study-planer-layout{padding:1.5rem}}.app-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:3rem;display:flex}@media (width<=900px){.app-header{flex-direction:column;align-items:flex-start}}.app-header .logo{align-items:center;gap:1rem;display:flex}.app-header .logo .logo-icon{color:var(--primary);filter:drop-shadow(0 0 10px #818cf866)}.app-header .logo h1{letter-spacing:-.02em;background:linear-gradient(135deg,#fff 0%,#a5b4fc 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin:0;font-size:2.2rem;font-weight:800}.app-header .header-actions{flex-wrap:wrap;gap:.75rem;display:flex}.secondary-btn{color:var(--text-main);border-radius:var(--radius-sm);border:1px solid var(--surface-border);background:#ffffff0a;justify-content:center;align-items:center;padding:.7rem 1rem;font-size:.95rem;font-weight:600;display:flex}.secondary-btn:hover{box-shadow:var(--shadow-glow);background:#818cf814;border-color:#818cf873;transform:translateY(-2px)}.hidden-file-input{display:none}.cloud-panel{border:1px solid var(--surface-border);border-radius:var(--radius-md);background:linear-gradient(135deg,#1a1f2ef5,#141826eb);margin-bottom:2rem;padding:1.25rem 1.4rem;position:relative;overflow:hidden;box-shadow:0 12px 30px #0000002e}.cloud-panel:after{content:"";filter:blur(4px);pointer-events:none;background:#818cf81a;border-radius:50%;width:190px;height:190px;position:absolute;top:-70px;right:-40px}.cloud-panel.is-connected{border-color:#10b98147}.cloud-panel.is-connected:after{background:#10b98114}.cloud-panel.is-connected .cloud-icon{color:#6ee7b7;background:#10b9811f;border-color:#10b98133}.cloud-panel-content{z-index:1;position:relative}.cloud-panel-heading{align-items:flex-start;gap:.9rem;display:flex}.cloud-panel-heading h2{color:var(--text-main);margin:.15rem 0 0;font-size:1.05rem;font-weight:700}.cloud-panel-heading p{color:var(--text-muted);margin:.4rem 0 0;font-size:.88rem;line-height:1.5}.cloud-icon{color:#a5b4fc;background:#818cf81f;border:1px solid #818cf833;border-radius:11px;flex:none;place-items:center;width:42px;height:42px;display:grid}.cloud-eyebrow{color:var(--primary);letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:700;display:block}.google-login-actions{align-items:center;gap:.75rem;margin:1rem 0 0 3.3rem;display:flex}.google-login-actions>span{color:var(--text-muted);font-size:.78rem}.cloud-logout-btn{border-radius:var(--radius-sm);justify-content:center;align-items:center;gap:.45rem;padding:.72rem 1rem;font-size:.88rem;font-weight:700;display:inline-flex}.google-button-slot{flex:none;width:230px;min-height:40px}.auth-feedback{margin:.8rem 0 0 3.3rem;font-size:.85rem}.auth-feedback.is-success{color:#6ee7b7}.auth-feedback.is-error{color:#fca5a5}.cloud-account{justify-content:space-between;align-items:center;gap:1rem;margin:1rem 0 0 3.3rem;display:flex}.cloud-account-details{min-width:0;color:var(--text-main);flex-direction:column;gap:.35rem;font-size:.88rem;display:flex}.cloud-account-details>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.save-status{color:var(--text-muted);align-items:center;gap:.5rem;font-size:.78rem;display:flex}.save-status.has-error{color:#fca5a5}.save-status.has-error .save-status-dot{background:var(--danger)}.save-status.is-saving .save-status-dot{animation:1.2s ease-in-out infinite savePulse}.save-status-dot{background:var(--success);border-radius:50%;flex:none;width:7px;height:7px;box-shadow:0 0 0 3px #10b9811f}.cloud-logout-btn{color:var(--text-muted);border:1px solid var(--surface-border);background:#ffffff09;flex:none}.cloud-logout-btn:hover{color:var(--text-main);background:#ffffff12;border-color:#94a3b873}@keyframes savePulse{0%,to{opacity:.45;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}@media (width<=680px){.google-login-actions,.cloud-account{flex-direction:column;align-items:stretch;margin-left:0}.auth-feedback{margin-left:0}.cloud-logout-btn{align-self:flex-start}}.overall-progress-section{background:var(--surface-color);border:1px solid var(--surface-border);border-radius:var(--radius-md);margin-bottom:2.5rem;padding:1.5rem;box-shadow:0 4px 20px #0003}.overall-progress-section .op-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.overall-progress-section .op-header h2{color:var(--text-main);margin:0;font-size:1.25rem;font-weight:600}.overall-progress-section .op-header .fraction{color:var(--primary);font-size:1rem;font-weight:600}.overall-progress-section .progress-bar-large{background:#ffffff0d;border-radius:6px;height:12px;margin-bottom:1rem;display:flex;overflow:hidden}.overall-progress-section .progress-bar-large .progress-fill{height:100%;transition:width .5s ease-out}.overall-progress-section .progress-bar-large .progress-fill.earned{background:var(--success)}.overall-progress-section .progress-bar-large .progress-fill.in-progress{background:var(--warning)}.overall-progress-section .progress-bar-large .progress-fill.planned{background:var(--planned)}.overall-progress-section .op-legend{color:var(--text-muted);gap:1.5rem;font-size:.85rem;display:flex}.overall-progress-section .op-legend>span{align-items:center;gap:.5rem;display:flex}.overall-progress-section .op-legend .dot{border-radius:50%;width:10px;height:10px}.overall-progress-section .op-legend .dot.earned{background:var(--success)}.overall-progress-section .op-legend .dot.in-progress{background:var(--warning)}.overall-progress-section .op-legend .dot.planned{background:var(--planned)}.main-content{grid-template-columns:1fr 340px;align-items:start;gap:2.5rem;display:grid}@media (width<=1280px){.main-content{grid-template-columns:1fr}}.timeline-section h2,.analytics-section h2{color:var(--text-main);align-items:center;gap:.75rem;margin-top:0;margin-bottom:1.5rem;font-size:1.25rem;font-weight:600;display:flex}.timeline-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;display:grid}.semester-col{border:1px solid var(--surface-border);border-radius:var(--radius-md);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#1a1f2e80;flex-direction:column;min-height:400px;padding:1.25rem;transition:border-color .2s,box-shadow .2s,background .2s;display:flex;position:relative}.semester-col.drop-active{box-shadow:0 0 0 2px #38bdf826, var(--shadow-glow);background:#18263eb8;border-color:#38bdf8b3}.semester-col .semester-header{border-bottom:1px solid #ffffff0d;justify-content:space-between;align-items:center;margin-bottom:1.25rem;padding-bottom:.75rem;display:flex}.semester-col .semester-header h3{margin:0;font-size:1.1rem;font-weight:600}.semester-col .semester-header .credits-badge{color:var(--primary);background:#818cf826;border-radius:20px;padding:.25rem .6rem;font-size:.8rem;font-weight:700}.semester-col .semester-header .semester-header-actions{align-items:center;gap:.4rem;display:flex}.semester-col .semester-header .semester-icon-btn{width:28px;height:28px;color:var(--text-muted);opacity:.7;background:#ffffff0a;border:1px solid #ffffff14;border-radius:50%;justify-content:center;align-items:center;font-size:1rem;line-height:1;display:flex}.semester-col .semester-header .semester-icon-btn:hover{opacity:1;color:var(--text-main)}.semester-col .semester-header .add-module-btn:hover{color:var(--primary);border-color:#818cf859;box-shadow:0 0 0 3px #818cf81f}.semester-col .semester-header .remove-semester-btn:hover{color:var(--danger);border-color:#ef444459;box-shadow:0 0 0 3px #ef44441f}.semester-col .module-list{flex-direction:column;flex:1;gap:0;display:flex}.semester-col .module-list .empty-state{color:var(--text-muted);text-align:center;margin-top:2rem;font-size:.9rem;font-style:italic}.semester-col .module-list .empty-state.drop-active{color:#bae6fd}.module-drop-zone{opacity:.55;background:0 0;border-radius:999px;height:18px;margin:0;transition:background .22s,box-shadow .22s,transform .22s,opacity .22s;position:relative}.module-drop-zone:before{content:"";position:absolute;inset:-10px 0}.module-drop-zone.active{opacity:1;background:#38bdf8eb;transform:scaleY(.9);box-shadow:0 0 0 4px #38bdf829}.module-drop-zone.end-zone{margin-top:.2rem}.semester-delete-btn{color:var(--text-muted);background:0 0;border-radius:6px;justify-content:center;align-items:center;padding:.25rem;display:flex;position:absolute;top:.75rem;right:.75rem}.semester-delete-btn:hover{color:var(--danger);background:#ef44441a}.add-semester-card{cursor:pointer;background:#1a1f2e40;justify-content:center;align-items:center;transition:all .2s}.add-semester-card:hover{box-shadow:var(--shadow-glow);border-color:#818cf880;transform:translateY(-2px)}.add-semester-card .add-semester-content{color:var(--text-muted);flex-direction:column;align-items:center;gap:1rem;display:flex}.add-semester-card .add-semester-plus{width:88px;height:88px;color:var(--primary);border:2px dashed #818cf866;border-radius:50%;justify-content:center;align-items:center;font-size:3rem;font-weight:300;line-height:1;display:flex}.add-semester-card .add-semester-label{color:var(--text-main);font-size:1rem;font-weight:600}.module-card{background:var(--surface-color);border:1px solid var(--surface-border);border-radius:var(--radius-sm);cursor:grab;margin:.12rem 0;padding:1rem;transition:transform .24s,box-shadow .24s,border-color .24s,opacity .24s,background .24s}.module-card:hover{box-shadow:var(--shadow-glow);border-color:#818cf866}.module-card:active{cursor:grabbing}.module-card.status-completed{border-left:3px solid var(--success);background:#1a1f2eb8}.module-card.status-completed .module-header h4,.module-card.status-completed .module-meta,.module-card.status-completed .module-actions{opacity:.92}.module-card.status-in-progress{border-left:3px solid var(--warning)}.module-card.status-planned{border-left:3px solid var(--planned)}.module-card.is-dragging{opacity:.45;transform:rotate(1deg)}.module-card .module-header{justify-content:space-between;align-items:flex-start;gap:.5rem;margin-bottom:.75rem;display:flex}.module-card .module-header h4{margin:0;font-size:1rem;font-weight:600;line-height:1.3}.module-card .module-header .status-toggle{color:var(--text-muted);background:0 0;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;padding:0;transition:color .2s;display:flex}.module-card .module-header .status-toggle:hover{color:var(--text-main)}.module-card .module-header .status-toggle .icon-success{color:var(--success);filter:drop-shadow(0 0 5px #10b98180)}.module-card .module-header .status-toggle .icon-pulse{background:var(--warning);border-radius:50%;width:12px;height:12px;animation:2s infinite pulse;box-shadow:0 0 #f59e0bb3}.module-card .module-header .status-toggle .icon-planned{border:2px solid var(--text-muted);border-radius:50%;width:12px;height:12px}.module-card .module-meta{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;display:flex}.module-card .module-meta span{border-radius:4px;width:fit-content;max-width:100%;padding:.2rem .5rem;font-size:.75rem;font-weight:500}.module-card .module-meta .tag-container{color:var(--accent);background:#f472b626}.module-card .module-meta .tag-credits{color:var(--text-muted);background:#ffffff1a}.module-card .module-meta .tag-grade.empty{color:#bae6fd;opacity:.8}.module-card .module-actions{border-top:1px dashed #ffffff1a;align-items:center;gap:.5rem;padding-top:.75rem;display:flex}.module-card .module-actions .container-select{color:var(--text-muted);cursor:pointer;background:0 0;border:none;outline:none;min-width:0;font-family:inherit;font-size:.8rem}.module-card .module-actions .container-select option{background:var(--surface-color);color:var(--text-main)}.module-card .module-actions .container-select:hover{color:var(--text-main)}.module-card .module-actions .semester-label{color:var(--text-muted);white-space:nowrap;font-size:.8rem}.module-card .module-actions .container-select{flex:auto}.module-card .module-actions .delete-btn{color:var(--text-muted);background:0 0;border-radius:4px;margin-left:auto;padding:.2rem}.module-card .module-actions .delete-btn:hover{color:var(--danger);background:#ef44441a}.inline-edit-display{border-radius:8px;transition:background .2s,box-shadow .2s}.inline-edit-display:hover{background:#ffffff0a;box-shadow:inset 0 0 0 1px #818cf82e}.inline-edit-input{border:1px solid var(--primary);width:100%;color:var(--text-main);font-family:inherit;font-size:inherit;background:#ffffff0a;border-radius:8px;padding:.35rem .55rem;box-shadow:0 0 0 2px #818cf81f}.inline-edit-input:focus{outline:none}.semester-title-edit{margin:-.2rem -.35rem;padding:.2rem .35rem}.planner-title-edit{margin:-.25rem -.4rem;padding:.25rem .4rem}.module-title-edit{flex:1;margin:-.2rem -.35rem;padding:.2rem .35rem}.inline-chip-edit{align-items:center;display:inline-flex}.inline-chip-edit .tag-credits{margin:0}.inline-chip-edit.inline-edit-input{min-width:5rem}.analytics-section{flex-direction:column;gap:.6rem;display:flex}.requirement-dnd-item{flex-direction:column;display:flex}.requirement-drop-zone{background:0 0;border-radius:999px;height:18px;transition:background .2s,box-shadow .2s}.requirement-drop-zone.active{background:#38bdf8eb;box-shadow:0 0 0 4px #38bdf829}.requirement-drop-zone.end-zone{margin-top:.25rem}.analytics-card{background:var(--surface-color);border:1px solid var(--surface-border);border-radius:var(--radius-md);cursor:grab;padding:1.5rem;transition:transform .22s,box-shadow .22s,border-color .22s,opacity .22s}.analytics-card.is-dragging{opacity:.45;transform:rotate(1deg)}.analytics-card.is-overfull{border-color:#f472b673;box-shadow:0 0 0 1px #f472b614}.analytics-card.is-excluded{opacity:.65;background:#1a1f2e4d;border-style:dashed}.analytics-card.is-excluded .progress-bar{filter:grayscale();opacity:.5}.analytics-card .ac-header{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.analytics-card .ac-header h3{margin:0;font-size:1rem;font-weight:600}.analytics-card .ac-header .fraction{color:var(--text-muted);font-size:.85rem;font-weight:500}.analytics-card .requirement-header-actions{align-items:center;gap:.5rem;display:flex}.analytics-card .requirement-toggle-btn{color:var(--text-muted);background:0 0;border-radius:6px;justify-content:center;align-items:center;padding:.2rem;display:flex}.analytics-card .requirement-toggle-btn:hover{color:var(--text-main);background:#ffffff0f}.analytics-card .requirement-toggle-btn.included{color:var(--success)}.analytics-card .requirement-toggle-btn.included:hover{color:#34d399}.analytics-card .requirement-delete-btn{color:var(--text-muted);background:0 0;border-radius:6px;justify-content:center;align-items:center;padding:.2rem;display:flex}.analytics-card .requirement-delete-btn:hover{color:var(--danger);background:#ef44441a}.analytics-card .progress-bar{background:#ffffff0d;border-radius:4px;height:8px;margin-bottom:1rem;display:flex;overflow:hidden}.analytics-card .progress-bar .progress-fill{height:100%;transition:width .5s ease-out}.analytics-card .progress-bar .progress-fill.earned{background:var(--success)}.analytics-card .progress-bar .progress-fill.in-progress{background:var(--warning)}.analytics-card .progress-bar .progress-fill.planned{background:var(--planned);opacity:.85}.analytics-card .ac-legend{color:var(--text-muted);gap:1rem;font-size:.8rem;display:flex}.analytics-card .ac-legend>span{align-items:center;gap:.4rem;display:flex}.analytics-card .ac-legend .dot{border-radius:50%;width:8px;height:8px}.analytics-card .ac-legend .dot.earned{background:var(--success)}.analytics-card .ac-legend .dot.in-progress{background:var(--warning)}.analytics-card .ac-legend .dot.planned{background:var(--planned)}.analytics-card .overflow-note{color:var(--accent);margin-top:.85rem;font-size:.8rem;font-weight:600}.requirement-title-edit,.requirement-credits-edit{margin:-.15rem -.25rem;padding:.15rem .25rem}.add-requirement-btn{width:100%;color:var(--primary);border-radius:var(--radius-md);background:#ffffff08;border:1px dashed #818cf859;padding:.9rem 1rem;font-weight:700}.add-requirement-btn:hover{box-shadow:var(--shadow-glow);background:#818cf814;border-color:#818cf899}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;background:#0009;justify-content:center;align-items:center;animation:.2s ease-out fadeIn;display:flex;position:fixed;inset:0}.modal-content,.planner-dialog{background:var(--bg-color);border:1px solid var(--surface-border);border-radius:var(--radius-lg);width:100%;max-width:500px;padding:2.5rem;animation:.3s ease-out slideUp;box-shadow:0 20px 40px #0006}.modal-content h2,.planner-dialog h2{margin-top:0;margin-bottom:2rem;font-size:1.5rem}.modal-content form,.planner-dialog form{flex-direction:column;gap:1.5rem;display:flex}.modal-content .form-group-row,.planner-dialog .form-group-row{gap:1rem;display:flex}.modal-content .form-group-row>.form-group,.planner-dialog .form-group-row>.form-group{flex:1 1 0;min-width:0}.modal-content .form-group,.planner-dialog .form-group{flex-direction:column;gap:.5rem;display:flex}.modal-content .form-group label,.planner-dialog .form-group label{color:var(--text-muted);font-size:.85rem;font-weight:500}.modal-content .form-group input,.modal-content .form-group select,.planner-dialog .form-group input,.planner-dialog .form-group select{background:var(--surface-color);border:1px solid var(--surface-border);color:var(--text-main);border-radius:var(--radius-sm);padding:.75rem 1rem;font-family:inherit;font-size:.95rem;transition:all .2s}.modal-content .form-group input:focus,.modal-content .form-group select:focus,.planner-dialog .form-group input:focus,.planner-dialog .form-group select:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 2px #818cf833}.modal-content .helper-text,.planner-dialog .helper-text{color:var(--text-muted);font-size:.8rem;line-height:1.4}.modal-content .modal-actions,.planner-dialog .modal-actions{justify-content:flex-end;gap:1rem;margin-top:1rem;display:flex}.modal-content .modal-actions button,.planner-dialog .modal-actions button{border-radius:var(--radius-sm);padding:.75rem 1.5rem;font-size:.95rem;font-weight:600}.modal-content .modal-actions .btn-cancel,.planner-dialog .modal-actions .btn-cancel{color:var(--text-muted);border:1px solid var(--surface-border);background:0 0}.modal-content .modal-actions .btn-cancel:hover,.planner-dialog .modal-actions .btn-cancel:hover{color:var(--text-main);background:#ffffff0d}.modal-content .modal-actions .btn-submit,.planner-dialog .modal-actions .btn-submit{background:var(--primary);color:#fff}.modal-content .modal-actions .btn-submit:hover,.planner-dialog .modal-actions .btn-submit:hover{background:var(--primary-hover);box-shadow:0 4px 14px #6366f14d}@keyframes pulse{0%{transform:scale(.95);box-shadow:0 0 #f59e0bb3}70%{transform:scale(1);box-shadow:0 0 0 6px #f59e0b00}to{transform:scale(.95);box-shadow:0 0 #f59e0b00}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}:root[data-palette=graphite]{--bg-color:#151618;--surface-color:#202226;--surface-border:#34373d;--text-main:#eceef1;--text-muted:#a1a6b0;--primary:#bcc4d3;--primary-hover:#9da9bf;--accent:#b6adb9;--planned:#8ba4c1;--success:#8eb5a5;--warning:#c8b48a;--shadow-glow:0 6px 24px #00000020}:root[data-palette=ocean]{--bg-color:#0e1720;--surface-color:#17232e;--surface-border:#2b3c4b;--text-main:#e6edf3;--text-muted:#9bafbf;--primary:#92b4d2;--primary-hover:#749abf;--accent:#83b9c2;--planned:#83a9ce;--success:#81b1a5;--warning:#c4b28e;--shadow-glow:0 6px 24px #00000020}:root[data-palette=porcelain]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg-color:#f3f5f7;--surface-color:#fff;--surface-border:#dce1e7;--text-main:#263345;--text-muted:#667386;--primary:#526583;--primary-hover:#3e516e;--accent:#746780;--planned:#597899;--success:#507f6b;--warning:#927847;--shadow-glow:0 6px 24px #2633450a}:root:not([data-palette=porcelain]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{background-image:radial-gradient(ellipse at 10% 0%, color-mix(in srgb, var(--primary) 7%, transparent), transparent 50%)}.app-header .logo h1{-webkit-text-fill-color:var(--text-main);color:var(--text-main);background:0 0;font-size:clamp(1.4rem,2.4vw,2.2rem)}.app-header .logo{min-width:0}.app-header .header-actions{flex-shrink:0}.app-header{margin-bottom:1.5rem}.semester-col,.module-card.status-completed,.analytics-card.is-excluded{background:color-mix(in srgb, var(--surface-color) 70%, var(--bg-color))}.add-semester-card{background:color-mix(in srgb, var(--surface-color) 40%, var(--bg-color))}.module-card .module-meta .tag-grade{color:var(--planned);background:color-mix(in srgb, var(--planned) 12%, transparent)}.module-card .module-meta .tag-grade.empty{color:var(--planned)}.overall-progress-section .progress-bar-large,.analytics-card .progress-bar{background:color-mix(in srgb, var(--text-muted) 14%, transparent)}.local-banner{color:var(--text-muted);align-items:center;gap:.6rem;margin:0 0 1.5rem;font-size:.8rem;display:flex}.local-dot{background:var(--success);border-radius:50%;flex-shrink:0;width:6px;height:6px}.appearance-panel{border:1px solid var(--surface-border);background:var(--surface-color);border-radius:var(--radius-md);margin-bottom:1.25rem;padding:1.25rem}.appearance-panel h2{margin:0;font-size:1rem}.appearance-panel p{color:var(--text-muted);margin:.5rem 0 1rem;font-size:.85rem}.palette-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;display:grid}.palette-option{border:1px solid var(--surface-border);background:var(--bg-color);color:var(--text-main);text-align:left;border-radius:10px;flex-wrap:wrap;align-items:center;gap:.6rem;padding:.75rem;display:flex}.palette-option.selected{outline:2px solid var(--primary);outline-offset:2px}.palette-preview{border-radius:5px;gap:.3rem;padding:.5rem;display:flex}.palette-preview i{border-radius:50%;width:13px;height:13px}.palette-option svg{color:var(--primary);margin-left:auto}.credit-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:1.5rem;display:grid}.credit-stat{border-left:3px solid var(--surface-border);padding-left:1rem}.credit-stat>span{color:var(--text-muted);font-size:.8rem;display:block}.credit-stat strong{flex-wrap:wrap;align-items:baseline;gap:.4rem;margin-top:.4rem;font-size:1.8rem;font-weight:700;display:flex}.credit-stat small{color:var(--text-muted);font-size:.75rem;font-weight:500}.credit-stat.planned{border-color:var(--planned)}.credit-stat.in-progress{border-color:var(--warning)}.credit-stat.completed{border-color:var(--success)}.credit-stat.total{border-color:var(--primary)}.credit-summary-hint{color:var(--text-muted);margin:1rem 0 0;font-size:.75rem}.requirement-color-row{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.8rem;display:flex}.color-control{color:var(--text-muted);align-items:center;gap:.45rem;font-size:.7rem;display:flex}input[type=color]{border:1px solid var(--surface-border);cursor:pointer;background:0 0;border-radius:6px;flex-shrink:0;width:24px;height:24px;padding:2px}.text-button{color:var(--text-muted);background:0 0;font-size:.7rem;text-decoration:underline}.analytics-card{padding:1.1rem}.analytics-card .ac-header,.analytics-card .requirement-header-actions{flex-wrap:wrap}.analytics-card .ac-legend{flex-wrap:wrap;gap:.5rem .8rem}.module-notes{border-top:1px solid var(--surface-border);cursor:default;margin-top:.8rem}.notes-toggle{width:100%;color:var(--text-muted);text-align:left;background:0 0;align-items:center;gap:.4rem;padding:.75rem 0 .1rem;display:flex}.notes-toggle>span:nth-child(2){color:var(--text-main);overflow-wrap:anywhere}.notes-toggle small{white-space:nowrap;margin-left:auto;font-size:.65rem}.notes-body{border-left:3px solid var(--note-color);margin-top:.75rem;padding-left:.65rem}.notes-tools{flex-wrap:wrap;gap:.35rem;margin-bottom:.5rem;display:flex}.notes-title{flex:90px;width:100%;min-width:70px}.notes-tools input:not([type=color]),.notes-tools select,.notes-body textarea{background:var(--bg-color);color:var(--text-main);border:1px solid var(--surface-border);border-radius:5px;padding:.35rem;font-family:inherit;font-size:.75rem}.notes-body textarea{resize:vertical;width:100%;min-height:95px;max-height:500px;padding:.5rem;line-height:1.65;display:block}.notes-body textarea.note-size-small{font-size:.75rem}.notes-body textarea.note-size-medium{font-size:.85rem}.notes-body textarea.note-size-large{font-size:1rem}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--primary);outline-offset:3px}@media (width<=700px){.credit-summary,.palette-options{grid-template-columns:repeat(2,minmax(0,1fr))}.study-planer-layout{padding:1rem}.timeline-grid{grid-template-columns:minmax(0,1fr)}.app-header .header-actions{width:100%}.overall-progress-section{padding:1rem}.credit-stat strong{font-size:1.5rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.notes-list-heading{color:var(--text-muted);justify-content:space-between;align-items:center;gap:.5rem;padding:.7rem 0;font-size:.75rem;display:flex}.notes-list-heading small{text-align:center;background:var(--bg-color);border-radius:4px;min-width:17px;margin-left:.2rem;padding:.1rem .25rem;display:inline-block}.add-note-btn{border:1px solid var(--surface-border);color:var(--text-main);background:0 0;border-radius:5px;padding:.3rem .5rem;font-size:.7rem}.add-note-btn:hover{border-color:var(--primary);background:color-mix(in srgb, var(--primary) 8%, transparent)}.note-item{border:1px solid var(--surface-border);border-left:2px solid var(--note-color);border-radius:6px;margin-bottom:.5rem;overflow:hidden}.note-item .notes-toggle{padding:.6rem;font-size:.75rem}.note-item .notes-body{border:0;margin:0;padding:0 .5rem .5rem}.remove-note-btn{color:var(--text-muted);background:0 0;align-items:center;gap:.3rem;margin-top:.5rem;padding:.2rem 0;font-size:.65rem;display:flex}.remove-note-btn:hover{color:var(--danger)}:root[data-palette=porcelain] .overall-progress-section{box-shadow:0 4px 20px #26334508}html{scrollbar-gutter:stable}.degree-navigation{flex-wrap:wrap;align-items:end;gap:.75rem;margin:-1rem 0 1.5rem;display:flex}.degree-select-label{color:var(--text-muted);flex:20rem;gap:.4rem;min-width:0;max-width:40rem;font-size:.8rem;display:grid}.degree-navigation select,.planner-dialog input,.planner-dialog select,.modal-content>label select{border:1px solid var(--surface-border);border-radius:var(--radius-sm);background:var(--surface-color);width:100%;min-width:0;color:var(--text-main);font:inherit;padding:.7rem}.degree-navigation-actions{flex-wrap:wrap;gap:.5rem;display:flex}.planner-dialog{background:var(--surface-color);color:var(--text-main);border:1px solid var(--surface-border);border-radius:var(--radius-lg);width:min(32rem,100vw - 2rem);max-height:calc(100dvh - 2rem);padding:1.5rem;overflow:auto;box-shadow:0 20px 80px #0008}.planner-dialog::backdrop{background:#0009}.degree-dialog-heading{justify-content:space-between;align-items:start;gap:1rem;margin-bottom:1rem;display:flex}.degree-dialog-heading h2{overflow-wrap:anywhere;margin:0;font-size:1.25rem}.planner-dialog form{gap:1rem;display:grid}.planner-dialog label{gap:.4rem;font-size:.9rem;display:grid}.degree-danger{border-top:1px solid var(--surface-border);margin-top:1.5rem;padding-top:1rem}button:disabled{opacity:.5;cursor:default}button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.degree-overview{margin:1.5rem 0}.degree-summary{background:var(--surface-color);border:1px solid var(--surface-border);border-radius:var(--radius-md);flex-wrap:wrap;gap:1rem 2rem;padding:1rem 1.25rem;display:flex}.degree-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,25rem),1fr));gap:1.25rem;display:grid}.degree-overview-card{border:1px solid var(--surface-border);background:var(--surface-color);border-radius:var(--radius-lg);min-width:0;padding:1.25rem}.degree-overview-card h3{overflow-wrap:anywhere}.degree-overview-card .overall-progress-section{box-shadow:none;border:0;margin-bottom:1rem;padding:0}.degree-overview-card .credit-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.planner-warning,.cloud-choice{border:1px solid var(--warning);border-radius:var(--radius-md);overflow-wrap:anywhere;margin-bottom:1rem;padding:1rem}.recovery-actions{flex-wrap:wrap;gap:1rem;margin-bottom:1rem;display:flex}.recovery-link{color:var(--text-muted);background:0 0;padding:0;font-size:.75rem;text-decoration:underline}@media (width<=600px){.degree-navigation,.degree-navigation-actions{width:100%}.degree-navigation-actions>button{flex:1}.planner-dialog .modal-actions{flex-wrap:wrap}.app-header .logo{min-width:0}.app-header h1{overflow-wrap:anywhere}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.planner-dialog .form-group-row{flex-wrap:wrap;gap:1rem;display:flex}.planner-dialog .form-group-row>.form-group{flex:10rem;min-width:0}.planner-dialog .form-group{gap:.4rem;display:grid}.planner-dialog .form-group+.form-group-row{margin-top:.5rem}
