:root{font-family:system-ui,Malgun Gothic,sans-serif;color:#263c36;background:#f4f4ee;font-synthesis:none}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.65}.shell{max-width:720px;margin:auto}header{display:flex;align-items:center;justify-content:space-between;padding:26px 24px;border-bottom:1px solid #dde3d9}.brand{font-weight:800;font-size:20px}.brand small{display:block;font-size:11px;letter-spacing:2px;font-weight:400;margin-top:5px}.badge{font-size:11px;border-radius:20px;padding:7px 10px;background:#e2eadd;color:#385541}main{padding:26px 24px 110px}.eyebrow{color:#648473;font-size:12px;letter-spacing:1px}h1{font-size:30px;line-height:1.45;white-space:pre-line;letter-spacing:-1.3px;margin:10px 0 27px}h2{font-size:21px;line-height:1.6}h3{font-size:17px}.hero{background:#163f38;color:#fff;padding:26px;border-radius:22px}.hero h2{font-size:30px}.hero input{display:block;margin-top:12px;padding:10px;border:0;border-radius:8px;background:#fff;color:#163f38}.hero label{font-size:12px}.metrics{display:flex;margin:22px 0 30px;background:#fff;border-radius:18px;padding:23px 5px}.metrics section{flex:1;text-align:center}.metrics strong{display:block;font-size:25px}.metrics span{display:block;font-size:11px;margin-top:9px;color:#788478}.tile{display:flex;flex-direction:column;gap:10px;text-align:left;padding:23px;border:1px solid #e2e5da;border-radius:17px;background:#fff;width:100%;margin:12px 0;color:inherit;line-height:1.6}.tile span,.tile small{font-size:12px;color:#748574}.notice{font-size:13px;line-height:1.8;background:#eeeadd;padding:16px;border-radius:12px}.card{padding:24px;background:#fff;border-radius:18px;margin:16px 0;line-height:1.7}.choices{display:grid;gap:10px;margin:24px 0}.choices button{padding:16px;text-align:left;border:1px solid #dfe5dc;border-radius:12px;background:#fff;color:inherit}.choices .selected{background:#e3eee5;border:2px solid #366e5c}.primary{border:0;background:#163f38;color:#fff;border-radius:12px;padding:15px 23px}.text{border:0;background:none;color:#4e7361;padding:0}.answer{background:#edf3e7;border-radius:12px;padding:18px}.upload{display:block;margin:20px 0}.upload input{display:block;margin-top:12px;max-width:100%}progress{width:100%;accent-color:#638366}nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:min(100%,720px);display:flex;padding:14px 7px max(14px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e2e5dd;z-index:2}nav button{flex:1;background:none;border:0;padding:12px 0;font-size:12px;color:#89948b}nav .current{color:#163f38;font-weight:800;background:#edf2e7;border-radius:10px}@media(min-width:700px){main{padding:35px 40px 110px}h1{font-size:36px}}.check{display:flex;align-items:center;gap:10px;margin:14px 0;font-size:14px}.check input{min-width:20px;min-height:20px;accent-color:#163f38}select{max-width:100%;padding:10px;border:1px solid #d5ddcf;border-radius:8px;margin:8px}.modes{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}.formula-block{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;padding:1rem;background:#f3f7f7;overflow-wrap:anywhere}.fraction{display:inline-flex;flex-direction:column;text-align:center;max-width:100%}.fraction>span:first-child{border-bottom:1px solid;padding:0 .4em .2em}.fraction>span:last-child{padding-top:.2em}.table-scroll{max-width:100%;overflow-x:auto;margin:1rem 0}.table-scroll table{width:100%;border-collapse:collapse;table-layout:fixed}.table-scroll th,.table-scroll td{border:1px solid #b7c9cc;padding:.6rem;overflow-wrap:anywhere;white-space:pre-wrap}.table-scroll caption{text-align:left;font-weight:700;padding:.5rem}.question-figure{margin:1rem 0}.question-figure img{display:block;max-width:100%;height:auto}.question-figure figcaption{font-size:.9rem;color:#425b64}.editor-json{width:100%;min-height:14rem;font-family:monospace;box-sizing:border-box}:root{--bg:#103448;--sidebar:#102637;--surface:#17394d;--surface-low:#102b3e;--line:#355a70;--accent:#6ce7dc;--accent-dim:#1b495a;--text:#eaf1f6;--muted:#abc2d0;--success:#8ae1b0;--danger:#ffaaa9;--radius:12px;--space:24px;--shadow:0 1px 0 #a2dbf408 inset;--font:"Noto Sans KR","Malgun Gothic",system-ui,sans-serif;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.5rem;--space-6:2rem;--control-height:3rem;--control-radius:.625rem;--card-padding:1.5rem;--rail-width:15rem;--app-max:1680px;--rail-offset:max(0px,calc((100vw - var(--app-max))/2));--page-gutter:clamp(1rem,2.5vw,2.5rem)}:root{font-family:var(--font);color:var(--text);background:var(--bg);font-size:16px;line-height:1.6;color-scheme:dark}body{min-width:320px;margin:0}*{box-sizing:border-box}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a,input,select,textarea,summary{touch-action:manipulation}button{min-width:0;min-height:var(--control-height);max-width:100%;padding:.625rem 1rem;border:1px solid var(--line);border-radius:var(--control-radius);background:#1b4256;color:var(--text);line-height:1.5;font-size:.9375rem;overflow-wrap:anywhere;cursor:pointer;transition:background .15s,border-color .15s}button:hover:not(:disabled){background:#20495d;border-color:#638396}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.primary{background:var(--accent);color:var(--sidebar);border-color:var(--accent);font-weight:750;padding:.625rem 1.125rem}.primary:hover:not(:disabled){background:#a2f2e5}.text{background:transparent;border-color:transparent;color:var(--accent);padding:.625rem .75rem}a{color:var(--accent);overflow-wrap:anywhere}h1,h2,h3{word-break:keep-all;overflow-wrap:anywhere;line-height:1.45}h1{font-size:1.875rem;letter-spacing:-.04em;margin:.25rem 0 1.5rem}h2{font-size:1.3125rem;margin:0 0 1rem}h3{font-size:1.0625rem;margin:1.25rem 0 .75rem}p{margin:0 0 1rem;line-height:1.8;overflow-wrap:anywhere}small{color:var(--muted);font-size:.8125rem}fieldset{min-width:0;border:1px solid var(--line);border-radius:var(--control-radius);padding:1rem;margin:1rem 0}.shell{max-width:var(--app-max);margin:auto;min-width:0}header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem var(--page-gutter);border-bottom:1px solid var(--line);padding-top:max(1.25rem,env(safe-area-inset-top))}.brand{display:flex;align-items:center;gap:.75rem;color:var(--text);text-decoration:none;font-size:1.1875rem;font-weight:800;letter-spacing:.01em;min-width:0}.brand strong{color:var(--accent);font-weight:400}.brand-icon{width:2.625rem;height:2.625rem;flex-shrink:0;border-radius:.75rem}.brand small{display:block;margin-top:.125rem;font-size:.6875rem;letter-spacing:.04em;color:var(--muted)}header>.badge{max-width:38%;margin:0;flex-shrink:0;text-align:center}main{min-width:0;padding:1.75rem var(--page-gutter) calc(8rem + env(safe-area-inset-bottom))}.page-heading{display:flex;align-items:start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.page-heading h1{margin-bottom:.75rem}.page-heading>.badge{display:none}.eyebrow{font-size:.75rem;letter-spacing:.08em;color:var(--accent);margin-bottom:.5rem}.badge{display:inline-block;margin:.125rem .25rem .125rem 0;padding:.375rem .625rem;border-radius:2rem;background:var(--accent-dim);color:var(--accent);font-size:.75rem;line-height:1.5;overflow-wrap:anywhere}.card,.tile{background:linear-gradient(115deg,var(--surface),var(--surface-low));border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:var(--card-padding);min-width:0;color:var(--text)}.card{margin:1.25rem 0;line-height:1.7}.card>:last-child{margin-bottom:0}.card>button{display:block;width:fit-content;max-width:100%;margin:.75rem 0}.card>button+button{margin-top:.75rem}.card>button.tile{width:100%}.card>p+button{margin-top:1rem}.tile{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem;width:100%;text-align:left;margin:0;line-height:1.7}.tile small,.tile span{color:var(--muted);font-size:.8125rem}.tile b{font-size:1rem;overflow-wrap:anywhere}.dashboard-grid,.question-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1.25rem}.question-grid>.card{margin:0}.question-grid>*,.dashboard-grid>*,.study-layout>*{min-width:0}.hero{background:linear-gradient(120deg,#17495c,#102b3e);border:1px solid #376579;border-radius:var(--radius);padding:var(--card-padding);color:var(--text)}.hero h2{font-size:2rem;line-height:1.4;margin:.75rem 0}.hero p{color:var(--muted)}.goal{margin:0}.goal strong{display:block;font-size:2.25rem;line-height:1.4;color:var(--accent);margin:.75rem 0}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin:1.5rem 0;padding:1.25rem .75rem;background:var(--surface-low);border:1px solid var(--line);border-radius:var(--radius)}.metrics section{text-align:center;min-width:0}.metrics strong{display:block;font-size:1.625rem;line-height:1.5;color:var(--accent)}.metrics span{display:block;font-size:.8125rem;color:var(--muted);margin-top:.375rem}.notice,.empty{border:1px solid var(--line);border-radius:var(--radius);padding:1rem;margin:1rem 0;line-height:1.8;overflow-wrap:anywhere}.notice{background:#193e50;color:#d6e5ee;font-size:.875rem}.notice .text{margin:.5rem 0 0}.empty{border-style:dashed;text-align:center;color:var(--muted);padding:1.5rem}.notice button{margin:.75rem 0 0;display:block}.empty button{margin-top:.5rem}label{display:block;min-width:0;font-size:.875rem;line-height:1.6;margin:1rem 0;color:var(--text)}input,select,textarea{display:block;max-width:100%;min-width:0;min-height:var(--control-height);border:1px solid #536679;border-radius:var(--control-radius);background:#243e51;color:var(--text);padding:.625rem .875rem;font-size:1rem;line-height:1.5;margin:.5rem 0 0}input:not([type=checkbox]):not([type=radio]),textarea{width:100%}textarea{min-height:10rem;resize:vertical}input[type=file]{font-size:.8125rem;padding:.5rem}input[type=file]::file-selector-button{background:var(--accent-dim);color:var(--text);border:1px solid var(--line);border-radius:.375rem;padding:.5rem;margin-right:.5rem;font:inherit}input[type=checkbox],input[type=radio]{width:1.375rem;height:1.375rem;min-height:1.375rem;min-width:1.375rem;margin:.125rem 0 0;flex-shrink:0;padding:0;accent-color:var(--accent)}.check{display:flex;align-items:flex-start;gap:.75rem;min-height:var(--control-height);padding:.625rem 0;margin:.5rem 0;font-size:.9375rem;overflow-wrap:anywhere}.upload{margin:1.25rem 0}.date-field{display:block;min-width:0}.field-hint,.field-error{display:block;font-size:.75rem;line-height:1.6;margin-top:.5rem}.field-error{color:var(--danger)}input[aria-invalid=true]{border-color:var(--danger)}.actions{display:flex;flex-wrap:wrap;align-items:end;justify-content:flex-start;gap:1rem;margin:1.25rem 0;min-width:0}.actions>label{flex:1 1 12rem;min-width:0;margin:0}.actions>button{flex:0 1 auto}.actions>h2{margin:0;align-self:center}.filter-grid,.legal-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:1rem;margin:1.25rem 0}.filter-grid>label,.legal-filters>label{margin:0;min-width:0}.ai-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.modes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.625rem;margin:1.25rem 0}.modes>button{width:100%;min-height:3.25rem;padding:.625rem .375rem;font-size:.9375rem;border-radius:var(--control-radius);word-break:keep-all;overflow-wrap:normal}.modes>button[aria-pressed=true]{background:var(--accent);color:var(--sidebar);font-weight:750;border-color:var(--accent)}.study-select{display:block;max-width:100%;min-width:0;margin:.5rem 0 0;vertical-align:middle}.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;min-height:var(--control-height);background:#243e51;border-color:#536679;text-align:left;font-size:1rem;padding:.625rem .875rem}.select-value{min-width:0;overflow-wrap:anywhere;color:var(--text)}.select-chevron{display:grid;place-items:center;flex:0 0 1rem;width:1rem;font-size:1.25rem;line-height:1;color:var(--accent)}.select-dialog{position:fixed;inset:auto;margin:0;padding:.375rem;background:var(--surface-low);color:var(--text);border:1px solid #638396;border-radius:var(--control-radius);box-shadow:0 12px 32px #06131b80;overflow:auto;overscroll-behavior:contain;max-width:calc(100vw - 24px)}.select-dialog::backdrop{background:#06131b38}.select-options{display:grid;gap:.25rem}.select-options>button{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;min-height:var(--control-height);text-align:left;border:1px solid transparent;border-radius:.5rem;background:transparent;font-size:.9375rem;margin:0;padding:.625rem .75rem;word-break:keep-all}.select-options>button[aria-pressed=true]{background:var(--accent-dim);border-color:var(--accent)}.select-check{width:1rem;flex:0 0 1rem;color:var(--accent)}.choices{display:grid;gap:.75rem;margin:1.5rem 0}.choices button{display:flex;align-items:flex-start;gap:.75rem;min-height:3.25rem;width:100%;background:var(--surface-low);border:1px solid var(--line);padding:1rem;text-align:left;color:var(--text);line-height:1.7}.choices button span{display:grid;place-items:center;flex:0 0 1.75rem;width:1.75rem;height:1.75rem;border-radius:50%;background:#294f64;font-size:.8125rem}.choices .selected,.real-exam-layout .selected{border:2px solid var(--accent);background:#1b495a}.choices button.correct{border-color:var(--success);background:#204d47}.answer{background:#1b4844;border:1px solid #427d6a;border-radius:var(--radius);padding:1.25rem;color:var(--text)}.answer.incorrect{background:#493a42;border-color:#79555e}.answer h3{margin-top:0}.detailed-explanation{overflow-wrap:anywhere;line-height:1.8}.detailed-explanation li{margin-block:.625rem}progress{width:100%;height:.625rem;accent-color:var(--accent)}.exam-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin:1.25rem 0;padding:1rem;background:var(--surface-low);border:1px solid var(--line);border-radius:var(--radius)}.exam-toolbar h2{flex:1 1 14rem;margin:0}.exam-toolbar button{flex:0 1 auto}.exam-numbers{display:grid;grid-template-columns:repeat(auto-fill,minmax(3.25rem,1fr));gap:.625rem;margin:0 0 1.25rem}.exam-numbers button{min-height:3rem;padding:.5rem .25rem}.exam-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:1.25rem}.exam-navigation .primary{grid-column:1/-1}.real-exam-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:1.25rem}.real-exam-layout .choice{display:block;width:100%;text-align:left;margin:.75rem 0;min-height:3.25rem}.analysis-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;width:100%;min-height:3.25rem;text-align:left;margin:.5rem 0}.review-item{border-top:1px solid var(--line);padding:1rem 0;overflow-wrap:anywhere}.study-info{align-self:start}.law-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.law-columns>div{min-width:0;background:var(--surface-low);padding:1.25rem;border-radius:var(--radius)}.law-article{padding:1rem 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.law-article p{white-space:pre-wrap;font-size:1rem;line-height:1.85}.law-comparison{margin-top:1.5rem}summary{cursor:pointer;padding:.625rem 0;min-height:var(--control-height);font-weight:650}.question-block{white-space:pre-wrap;overflow-wrap:anywhere}.formula,.formula-block{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;white-space:pre-wrap}.formula-block{background:var(--surface-low);border:1px solid var(--line);border-radius:var(--control-radius);padding:1rem}.table-scroll th,.table-scroll td{border-color:var(--line);font-size:.9375rem}.question-figure figcaption{color:var(--muted)}.editor-json{width:100%;font-size:.875rem}.question-grid>label{margin:0}main>.tile+.tile{margin-top:1rem}main>.tile+.question-grid{margin-top:1.25rem}main>button{display:block;margin:1rem 0;max-width:100%}main>.question-grid+button{margin-top:1rem}.desktop-intro,footer{display:none}nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.25rem;padding:.5rem .625rem max(.5rem,env(safe-area-inset-bottom));background:var(--sidebar);border-top:1px solid var(--line);z-index:10}nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;min-height:3.5rem;margin:0;padding:.375rem .25rem;border:1px solid transparent;font-size:.8125rem;background:transparent;color:var(--muted);word-break:keep-all;white-space:nowrap}nav button>span{display:grid;place-items:center;width:1.5rem;height:1.5rem;line-height:1;font-size:1.25rem;margin:0}nav .current{background:var(--accent-dim);border-color:#3e7384;color:var(--accent);font-weight:750}@media(min-width:760px){.question-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.study-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.4fr);gap:1.5rem}.hero h2{font-size:2.25rem}}@media(min-width:1100px){.shell{padding-left:var(--rail-width);position:relative;min-height:100vh}.shell:before{content:"";position:fixed;left:var(--rail-offset);top:0;bottom:0;width:var(--rail-width);background:var(--sidebar);border-right:1px solid var(--line);z-index:-1}header{min-height:5.25rem}header>.brand{position:fixed;left:calc(var(--rail-offset) + 1.5rem);top:1.5rem;max-width:calc(var(--rail-width) - 3rem);z-index:12}header>.badge{margin-left:auto}.desktop-intro{display:flex;position:fixed;left:calc(var(--rail-offset) + 1.5rem);top:7rem;max-width:calc(var(--rail-width) - 3rem);flex-direction:column;gap:.5rem;z-index:12}.desktop-intro p{font-size:.6875rem;letter-spacing:.1em;color:var(--muted);margin-bottom:.5rem}.desktop-intro span{font-size:.8125rem;color:var(--muted)}nav{left:var(--rail-offset);top:15rem;bottom:0;transform:none;width:var(--rail-width);display:flex;flex-direction:column;justify-content:flex-start;gap:.5rem;padding:0 1rem 1rem;border-top:0;border-right:1px solid var(--line);overflow-y:auto}nav button{flex:0 0 auto;flex-direction:row;justify-content:flex-start;gap:.875rem;width:100%;height:3.5rem;padding:.75rem 1rem;font-size:.9375rem;min-height:3.5rem}nav button>span{flex:0 0 1.5rem}.current{box-shadow:3px 0 0 var(--accent) inset}main{padding-bottom:3rem}.page-heading>.badge{display:block}footer{display:flex;padding:1.5rem var(--page-gutter);border-top:1px solid var(--line);justify-content:space-between;gap:1rem;font-size:.75rem;color:var(--muted)}.real-exam-layout{grid-template-columns:minmax(0,2fr) minmax(220px,1fr)}}@media(max-width:759px){:root{--card-padding:1.125rem}.law-columns,.legal-filters{grid-template-columns:minmax(0,1fr)}h1{font-size:1.625rem}.filter-grid,.ai-filters{grid-template-columns:minmax(0,1fr)}.modes{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr}.modes>button{min-height:3.25rem}.hero h2{font-size:1.875rem}.actions>button{flex:1 1 10rem}.card>button{width:100%}.page-heading{margin-bottom:.5rem}}@media(max-width:500px){nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:.375rem}main{padding-bottom:calc(10rem + env(safe-area-inset-bottom))}.brand{font-size:1rem;gap:.5rem}.brand-icon{width:2.125rem;height:2.125rem}.brand small{font-size:.625rem}header{gap:.5rem;padding-inline:.875rem}header>.badge{font-size:.6875rem;max-width:35%;padding:.375rem .5rem}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:1rem}.exam-toolbar button{width:100%}.choices button{font-size:1rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}.filter-grid{align-items:stretch}.filter-grid>label{display:flex;flex-direction:column}.filter-grid .study-select{flex:1}.filter-grid .select-trigger{height:100%}nav button:hover:not(:disabled):not(.current){background:var(--surface);border-color:transparent}.original-source{margin-block:1rem;border:1px solid var(--line);border-radius:var(--control-radius);padding:.5rem 1rem;min-width:0}.original-source summary{min-height:44px}.question-block{line-height:1.85}.learning-menu>h2,.learning-menu>.card{margin-top:1.25rem}.learning-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.learning-settings label{min-width:0}.learning-settings button{width:100%}.question-ranges{display:flex;flex-wrap:wrap;gap:.65rem;margin:1rem 0}.question-ranges button{flex:1;min-width:8rem}.question-position{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center;justify-content:space-between}.question-position strong{overflow-wrap:anywhere}.resume-learning{margin:1rem 0;max-width:100%;white-space:normal}.save-toast{position:fixed;bottom:calc(11rem + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);max-width:calc(100vw - 2rem);padding:.8rem 1.2rem;background:#20495a;color:#e5fbff;border:1px solid #67dcd4;border-radius:12px;z-index:80;pointer-events:none}.law-article p{white-space:pre-wrap}@media(max-width:540px){.learning-settings{grid-template-columns:1fr}.learning-menu .tile{width:100%;min-width:0}.question-position{font-size:1rem}}.home-dashboard{display:grid;gap:18px}.home-dashboard h2{margin:0;font-size:1.2rem}.home-top{display:grid;grid-template-columns:3fr 2fr;gap:18px}.home-top>.card{padding:22px;min-width:0;margin:0}.daily-card{display:flex;flex-direction:column;align-items:flex-start;gap:14px;background:linear-gradient(125deg,#194355,#112d3f)}.daily-card h2{font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.55;overflow-wrap:anywhere}.daily-card p{margin:0}.daily-card button{margin-top:auto}.goal-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.goal-heading strong{font-size:1.8rem;color:var(--mint,#68e0d4)}.goal-card p{font-size:.95rem;margin:10px 0;line-height:1.55}.goal-card small{display:block;margin-top:8px;color:#a7c4d4}.goal-message{font-weight:650}.goal-editor{margin-top:12px}.goal-editor summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:.9rem;color:#80e4df}.goal-editor label{display:grid;gap:8px}.home-metrics{margin:0;padding:16px}.home-shortcuts,.home-management{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.home-dashboard .tile{width:100%;min-width:0;margin:0;padding:18px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;text-align:left;min-height:100px}.home-dashboard .tile span{font-size:.88rem;line-height:1.5}.home-dashboard .tile b{font-size:1rem}.home-management .tile{min-height:82px;padding:14px 18px}@media(max-width:900px){.home-top{grid-template-columns:1fr}.home-shortcuts,.home-management{grid-template-columns:repeat(2,minmax(0,1fr))}.home-top>.card{padding:18px}}@media(max-width:374px){.home-shortcuts,.home-management{grid-template-columns:1fr}.home-metrics{padding:12px}.home-dashboard{gap:14px}}.question-screen .page-heading[hidden]{display:none}.question-screen main{padding-top:.75rem}.question-screen .question-detail{margin-top:0;padding-top:1rem}.question-screen .study-info{margin-top:0}.question-caption{font-size:.9rem;color:var(--muted);margin-right:auto}.question-screen .question-detail>.text{margin:0 0 .5rem}.question-screen .question-detail>h2{font-size:1.2rem;line-height:1.65;margin:.7rem 0}.question-screen .question-position{margin:.5rem 0}.question-controls{display:flex;align-items:stretch;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:16px 0;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.question-navigation{display:flex;gap:8px;flex-wrap:wrap;flex:1}.question-navigation button{min-height:48px;flex:1 1 auto}.question-controls .grade-control{min-height:48px;margin-left:auto}.question-law{border:1px solid var(--line);border-radius:12px;margin-top:16px;padding:8px 14px}.question-law>summary{font-weight:650;color:var(--accent)}.question-law .law-comparison{border:0;margin:0;padding:12px 0;box-shadow:none;background:none}@media(max-width:1100px){.question-controls .grade-control{width:100%;margin:0}.question-navigation{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.question-navigation button{font-size:.875rem;padding:.65rem .4rem;overflow-wrap:anywhere}}@media(max-width:759px){.question-screen header{flex-wrap:wrap;padding-block:.75rem}.question-caption{order:3;width:100%;font-size:.8rem}.question-screen .question-detail>h2{font-size:1.1rem}.question-screen main{padding-top:.5rem}.question-controls{gap:8px}.question-navigation button{font-size:.8125rem}}header{padding-block:.75rem;border-bottom:0}main{padding-top:1rem}.page-heading{margin-bottom:.75rem}.page-heading h1{margin-bottom:.5rem}.home-dashboard{gap:14px}.home-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.home-top>.card{padding:18px}.daily-card{gap:10px;justify-content:center}.daily-card h2{font-size:clamp(1.2rem,1.4vw,1.5rem);line-height:1.5;max-width:30em;text-wrap:balance;word-break:keep-all;overflow-wrap:anywhere}.daily-card button{margin-top:8px}.home-dashboard .tile{min-height:80px;padding:12px 16px;gap:5px}.home-management .tile{min-height:72px}.home-shortcuts,.home-management{gap:10px}.home-metrics{padding:12px}.goal-heading h2{font-size:1rem}.goal-heading>span{font-size:.8rem;color:var(--muted)}.goal-number{display:flex;flex-direction:column;text-align:center;gap:4px;margin:8px 0 10px}.goal-number strong{font-size:2.5rem;color:var(--accent);line-height:1.15}.goal-number>span{font-size:1rem}.goal-number small{font-size:.75rem;margin:0}.goal-guidance{border-top:1px solid var(--line);padding-top:6px}.goal-card .goal-guidance p{margin:4px 0;font-size:.875rem}.goal-card>.goal-edit{display:block;margin:8px 0 0 auto;width:auto;min-height:44px;padding:.5rem .75rem;font-size:.875rem}.goal-dialog{width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;color:var(--text);background:var(--card,#132f40);border:1px solid var(--line);border-radius:16px;padding:20px}.goal-dialog::backdrop{background:#04131dbb}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-heading button{width:44px;height:44px;flex-shrink:0}.goal-dialog label{display:grid;gap:8px;margin:12px 0}.goal-dialog>button{width:100%;margin:8px 0}.goal-dialog h2{margin:0}.goal-dialog p{font-size:.9rem;line-height:1.6}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.settings-grid>.card{margin:0;min-width:0;padding:18px}.settings-grid p{margin:.6rem 0}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stats-grid .tile{min-height:84px;margin:0;padding:14px}.recent-learning{display:flex;flex-wrap:wrap;gap:8px}.recent-learning p{border:1px solid var(--line);border-radius:8px;padding:8px 12px;margin:0;font-size:.9rem}.compact-analysis{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.compact-analysis h2,.compact-analysis p{margin:0}.compact-analysis .analysis-result:empty{display:none}.compact-analysis .analysis-result{flex-basis:100%}.compact-analysis>button{width:auto}.compact-analysis>div{min-width:0;flex:1 1 230px}.compact-analysis>div p{font-size:.9rem;color:var(--muted)}@media(min-width:1100px){header{height:0;min-height:0;padding:0;border:0}.question-screen header{height:auto;padding:12px var(--page-gutter) 0;min-height:0}main{padding-top:20px}.page-heading .eyebrow{margin:0 0 6px}.question-screen main{padding-top:.5rem}}@media(max-width:900px){.home-top{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid{grid-template-columns:1fr}}@media(max-width:374px){.stats-grid{grid-template-columns:1fr}.goal-heading{gap:6px}.goal-card>.goal-edit{width:100%}}@media(min-width:901px){.daily-card h2{max-width:22em}}@media(min-width:1100px){.home-top>.card{padding:10px 18px}.goal-heading,.goal-heading h2{line-height:1.3}.goal-number{gap:0;margin:2px 0}.goal-number strong{font-size:2.25rem;line-height:1.05}.goal-number>span{font-size:.9rem;line-height:1.3}.goal-number small{font-size:.7rem;line-height:1.2}.goal-guidance{padding-top:4px}.goal-card .goal-guidance p{margin:0;line-height:1.4}.goal-card>.goal-edit{margin-top:2px;min-height:44px}.daily-card{gap:8px}.daily-card button{margin-top:0}}.daily-card{justify-content:flex-start}.daily-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;width:100%;margin-top:auto}.daily-footer>p{flex:1 1 150px;font-size:.9rem}.daily-footer>button{margin:0 0 0 auto;flex-shrink:0}.goal-card{display:flex;flex-direction:column}.goal-card>.goal-edit{margin-top:auto}.goal-number{gap:6px;margin:8px 0}.goal-number strong{font-size:2.625rem;line-height:1.1}.goal-number>span{font-size:1rem;line-height:1.4}.goal-card .goal-guidance .goal-message{font-size:1rem;font-weight:700;line-height:1.5}.goal-card .goal-guidance p{font-size:.9rem;line-height:1.5;margin:4px 0}.goal-guidance{margin-bottom:8px}.page-heading h1{margin-bottom:.25rem}@media(min-width:1100px){.home-top>.card{padding:14px 18px}.goal-number{gap:6px;margin:6px 0 8px}.goal-number strong{font-size:2.625rem;line-height:1.1}.goal-number>span{font-size:1rem;line-height:1.4}.goal-card .goal-guidance p{font-size:.9rem;line-height:1.5;margin:3px 0}.goal-card .goal-guidance .goal-message{font-size:1rem}.goal-card>.goal-edit{margin-top:auto}}@media(max-width:500px){.daily-footer{align-items:flex-start}.daily-footer>p{flex-basis:100%}.daily-footer>button{max-width:100%}}
