:root{--bg:#fff;--soft:#f5f5f5;--soft-2:#ececec;--line:#e4e4e4;--line-strong:#cfcfcf;--text:#111;--muted:#6b6b6b;--faint:#9b9b9b;--black:#111;--danger:#b42318;--radius:14px;--radius-sm:10px;--nav-h:56px;--top-h:48px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-text-size-adjust:100%;font-family:Hiragino Sans,Hiragino Kaku Gothic ProN,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans JP,Yu Gothic UI,sans-serif}*{box-sizing:border-box}html,body,#root{background:var(--bg);min-height:100%;margin:0}body{color:var(--text);-webkit-tap-highlight-color:transparent;font-size:15px;line-height:1.5}body.modal-open{overflow:hidden}h1,h2,h3,p,ul,ol,dl,dd{margin:0;padding:0}ul,ol{list-style:none}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;text-align:inherit;background:0 0;border:0;padding:0}a{color:inherit}img{max-width:100%}:focus-visible{outline:2px solid var(--black);outline-offset:2px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.skip-link{background:var(--black);color:#fff;z-index:100;padding:8px 12px;position:absolute;top:0;left:-999px}.skip-link:focus{top:8px;left:8px}.nowrap{white-space:nowrap}.muted{color:var(--muted)}.small{font-size:12.5px}.label{letter-spacing:.02em;color:var(--muted);font-size:11.5px;font-weight:600;display:block}.app-shell{min-height:100vh}.mobile-topbar{z-index:30;height:calc(var(--top-h) + var(--safe-top));padding:var(--safe-top) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);background:#fffffff0;justify-content:space-between;align-items:center;display:flex;position:fixed;inset:0 0 auto}.brand{align-items:center;gap:8px;font-size:15px;font-weight:700;display:inline-flex}.brand-mark{background:var(--black);color:#fff;border-radius:7px;place-items:center;width:26px;height:26px;display:inline-grid}.icon-button{width:38px;height:38px;color:var(--text);border-radius:50%;place-items:center;display:inline-grid}.icon-button:active{background:var(--soft)}.app-main{padding:calc(var(--top-h) + var(--safe-top) + 8px) max(16px, env(safe-area-inset-right)) calc(var(--nav-h) + var(--safe-bottom) + 28px) max(16px, env(safe-area-inset-left));max-width:720px;margin:0 auto}.bottom-nav{z-index:30;height:calc(var(--nav-h) + var(--safe-bottom));padding-bottom:var(--safe-bottom);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line);background:#fffffff5;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;inset:auto 0 0}.bottom-nav button{color:var(--faint);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:10.5px;font-weight:600;display:flex}.sidebar{display:none}@media (width>=960px){.mobile-topbar,.bottom-nav{display:none}.sidebar{background:var(--bg);border-right:1px solid var(--line);flex-direction:column;gap:18px;width:240px;padding:22px 16px;display:flex;position:fixed;inset:0 auto 0 0}.app-main{max-width:760px;margin-left:240px;margin-right:auto;padding:28px 28px 60px}.side-nav{gap:2px;display:grid}.side-nav button{height:40px;color:var(--muted);border-radius:10px;align-items:center;gap:10px;padding:0 12px;font-weight:600;display:flex}.side-nav button.active{background:var(--soft);color:var(--black)}.side-nav button:hover{background:var(--soft)}.nav-dot{background:var(--black);border-radius:50%;width:7px;height:7px;margin-left:auto}.sidebar-route{border:1px solid var(--line);border-radius:var(--radius);gap:10px;margin-top:6px;padding:14px;display:grid}.sidebar-route-progress{color:var(--muted);justify-content:space-between;align-items:baseline;font-size:12.5px;display:flex}.sidebar-route-progress strong{color:var(--text);font-size:20px}.sidebar-settings{height:40px;color:var(--muted);border-radius:10px;align-items:center;gap:10px;margin-top:auto;padding:0 12px;font-weight:600;display:flex}.sidebar-settings:hover{background:var(--soft)}.toast{bottom:28px!important;left:calc(50% + 120px)!important}}.page{align-content:start;gap:20px;display:grid}.page-head{justify-content:space-between;align-items:flex-end;gap:12px;padding-top:8px;display:flex}.page-head h1{letter-spacing:.01em;font-size:26px;font-weight:800;line-height:1.2}.page-sub{color:var(--muted);font-size:12.5px}.page-head-back{align-items:center;padding-top:4px}.back-button{align-items:center;gap:2px;height:36px;margin-left:-6px;padding-right:8px;font-weight:600;display:inline-flex}.head-actions{gap:8px;display:flex}.section{gap:10px;display:grid}.section-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.section-head h2{font-size:16px;font-weight:700}.hint{color:var(--muted);font-size:12.5px}.link-button{color:var(--text);align-items:center;gap:2px;font-size:13px;font-weight:600;display:inline-flex}.link-wide{border-radius:var(--radius-sm);border:1px solid var(--line);justify-content:center;width:100%;height:40px}.chip{background:var(--soft);white-space:nowrap;border-radius:14px;align-items:center;gap:5px;height:28px;padding:0 11px;font-size:12.5px;font-weight:700;display:inline-flex}.tag{background:var(--black);color:#fff;white-space:nowrap;border-radius:10px;align-items:center;height:20px;margin-left:6px;padding:0 7px;font-size:10.5px;font-weight:700;display:inline-flex}.empty-block{text-align:center;color:var(--muted);border:1px dashed var(--line-strong);border-radius:var(--radius);padding:28px 16px;font-size:13.5px}.btn,.button{border-radius:var(--radius-sm);white-space:nowrap;text-align:center;border:1px solid #0000;justify-content:center;align-items:center;gap:6px;height:40px;padding:0 16px;font-size:14px;font-weight:700;line-height:1;text-decoration:none;transition:background .12s;display:inline-flex}.btn-sm{border-radius:9px;gap:5px;height:32px;padding:0 12px;font-size:12.5px}.btn-primary,.button-primary{background:var(--black);color:#fff}.btn-outline,.button-secondary{color:var(--text);border-color:var(--line-strong);background:#fff}.btn-outline:active,.button-secondary:active{background:var(--soft)}.button-ghost{color:var(--muted);background:0 0}.btn-danger,.button-danger{color:var(--danger);background:#fff;border-color:#e6b8b3}.btn:disabled,.button:disabled{opacity:.4;cursor:not-allowed}.button-full{width:100%}.btn-row{flex-wrap:wrap;gap:8px;display:flex}.file-button{position:relative;overflow:hidden}.file-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:16px}.list{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden}.list>li+li{border-top:1px solid var(--line)}.row-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14.5px;font-weight:700;line-height:1.35;display:-webkit-box;overflow:hidden}.row-sub{color:var(--muted);font-size:12px;display:block}.row-progress{align-items:center;gap:8px;display:flex}.row-progress .progress-track{flex:1}.row-progress b{text-align:right;font-variant-numeric:tabular-nums;min-width:34px;font-size:12px}.progress-track{background:var(--soft-2);border-radius:3px;height:6px;display:block;overflow:hidden}.progress-track>span{background:var(--black);border-radius:3px;height:100%;transition:width .3s;display:block}.big-number{letter-spacing:-.01em;font-variant-numeric:tabular-nums;font-size:44px;font-weight:800;line-height:1}.big-number small{margin-left:2px;font-size:18px;font-weight:700}.pace{background:var(--soft);border-radius:11px;align-items:center;width:fit-content;height:22px;padding:0 9px;font-size:11.5px;font-weight:700;display:inline-flex}.pace-behind{border:1.5px solid var(--black);background:#fff}.route-summary{cursor:pointer;gap:14px;display:grid}.route-summary:active{background:var(--soft)}.route-summary-top{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.route-summary-top h2{margin-top:2px;font-size:17px;font-weight:800}.route-summary-main,.route-hero-main{align-items:center;gap:16px;display:flex}.route-summary-side{flex:1;gap:8px;min-width:0;display:grid}.route-summary-side p{color:var(--muted);font-size:12.5px}.route-summary-side b{color:var(--text)}.route-summary-foot{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:10px;padding-top:12px;font-size:12.5px;display:flex}.route-summary-foot>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.empty-card{gap:12px;display:grid}.empty-card h2{font-size:18px;font-weight:800}.empty-card p{color:var(--muted);font-size:13.5px}.steps{gap:8px;display:grid}.steps li{align-items:center;gap:10px;font-size:13.5px;display:flex}.steps b{background:var(--black);color:#fff;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:12px;display:inline-grid}.done-card{align-items:center;gap:12px;display:flex}.done-card>div{flex:1}.done-card p{color:var(--muted);font-size:12.5px}.task-row{gap:10px;padding:12px;display:grid}.task-main,.book-row-main{align-items:flex-start;gap:12px;width:100%;min-width:0;display:flex}.task-text{flex:1;gap:4px;min-width:0;display:grid}.task-actions{flex-wrap:wrap;gap:8px;padding-left:56px;display:flex}.week-card{gap:12px;display:grid}.mini-chart{grid-template-columns:repeat(7,1fr);align-items:end;gap:8px;display:grid}.mini-bar-group{justify-items:center;gap:4px;display:grid}.mini-bar-track{background:var(--soft);border-radius:5px;align-items:flex-end;width:100%;max-width:28px;height:52px;display:flex;overflow:hidden}.mini-bar-track span{background:#bdbdbd;border-radius:5px;width:100%}.mini-bar-track span.today{background:var(--black)}.mini-bar-group small{color:var(--muted);font-size:10.5px}.week-total{font-size:13px}.week-total b{font-size:20px}.save-note{color:var(--faint);text-align:center;font-size:11.5px}.search-field,.search-box{border:1px solid var(--line-strong);background:var(--soft);height:44px;color:var(--muted);border-radius:12px;align-items:center;gap:10px;width:100%;padding:0 14px;display:flex}.search-field input,.search-box input{min-width:0;color:var(--text);background:0 0;border:0;outline:none;flex:1;height:100%;font-size:16px}.search-field:focus-within,.search-box:focus-within{border-color:var(--black);background:#fff}.search-button{text-align:left;font-size:14px}.clear-button{background:var(--soft-2);width:24px;height:24px;color:var(--muted);border-radius:50%;place-items:center;display:grid}.route-row{gap:8px;width:100%;padding:14px;display:grid}.route-row:active{background:var(--soft)}.route-row-top{align-items:center;display:flex}.route-hero{gap:12px;display:grid}.route-hero h1{font-size:22px;font-weight:800;line-height:1.3}.source-note{color:var(--muted);font-size:12px}.source-note summary{cursor:pointer}.source-note p{margin-top:6px}.source-note a{color:var(--text);align-items:center;gap:4px;margin-top:6px;font-weight:600;display:inline-flex}.timeline{gap:16px;display:grid}.stage{gap:10px;display:grid}.stage-head{align-items:flex-start;gap:10px;display:flex}.stage-num{border:1.5px solid var(--black);border-radius:50%;flex:none;place-items:center;width:26px;height:26px;margin-top:1px;font-size:12.5px;font-weight:800;display:inline-grid}.stage-complete .stage-num{background:var(--black);color:#fff}.stage-upcoming .stage-num{border-color:var(--line-strong);color:var(--muted)}.stage-current .stage-num{background:var(--black);border-color:var(--black);color:#fff}.stage-current .status{color:var(--black)}.stage-title{flex:1;min-width:0}.stage-title h2{font-size:15.5px;font-weight:800;line-height:1.35}.stage-title p{color:var(--muted);font-size:12.5px}.status{color:var(--muted);white-space:nowrap;padding-top:4px;font-size:11px;font-weight:700}.status-active{color:var(--black)}.book-row{align-items:center;gap:8px;padding:12px;display:flex}.book-row-main.static{cursor:default}.book-row-action{flex:none;align-self:center}.book-row{padding:10px 12px}.book-row-edit{flex:none;gap:6px;display:grid}.empty-stage{border:1px dashed var(--line-strong);border-radius:var(--radius);height:48px;color:var(--muted);justify-content:center;align-items:center;gap:6px;width:100%;font-size:13px;font-weight:600;display:flex}.edit-panel{background:var(--soft);border-color:var(--line);gap:14px;display:grid}.edit-grid{gap:10px;display:grid}.stage-inline-editor{gap:8px;display:grid}.reorder-buttons{gap:2px;display:flex}.reorder-buttons button{border:1px solid var(--line);background:#fff;border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.reorder-buttons button:disabled{opacity:.3}.segmented{background:var(--soft);border-radius:11px;grid-template-columns:repeat(4,1fr);gap:2px;padding:3px;display:grid}.segmented button{height:32px;color:var(--muted);border-radius:8px;justify-content:center;align-items:center;gap:4px;font-size:13px;font-weight:700;display:inline-flex}.segmented button small{opacity:.7;font-size:11px;font-weight:600}.segmented button.active{color:var(--black);background:#fff;box-shadow:0 1px 2px #0000001f}.sort-row{justify-content:space-between;align-items:center;margin:-8px 0;display:flex}.select-wrap{display:block;position:relative}.select-wrap select{appearance:none;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:#fff;outline:none;width:100%;height:42px;padding:0 34px 0 12px;font-size:16px}.select-wrap>svg{pointer-events:none;color:var(--muted);position:absolute;top:50%;right:11px;transform:translateY(-50%)}.select-sm select{border-radius:9px;height:32px;padding:0 28px 0 10px;font-size:13px;font-weight:600}.select-sm>svg{right:9px}.select-title{max-width:62%}.metric-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.metric{border:1px solid var(--line);border-radius:var(--radius);gap:4px;padding:14px;display:grid}.metric span{color:var(--muted);font-size:12px;font-weight:600}.metric strong{font-variant-numeric:tabular-nums;font-size:26px;font-weight:800;line-height:1.1}.metric strong small{color:var(--muted);margin:0 4px 0 2px;font-size:12.5px;font-weight:700}.plan-chart-card{gap:10px;padding:14px;display:grid}.plan-chart-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.plan-chart-wrap{grid-template-rows:110px;grid-template-columns:34px 1fr;gap:6px;display:grid}.plan-chart-axis{color:var(--faint);text-align:right;flex-direction:column;justify-content:space-between;padding:8px 0 0;font-size:10px;display:flex}.plan-chart{width:100%;height:110px;display:block;overflow:visible}.plan-grid-line{stroke:var(--line);stroke-width:1px;vector-effect:non-scaling-stroke}.plan-line{fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.plan-line-actual{stroke:var(--black);stroke-width:2.5px}.plan-line-target{stroke:var(--faint);stroke-width:1.8px;stroke-dasharray:5 4}.plan-chart-footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.plan-legend{gap:14px;font-size:12px;font-weight:600;display:flex}.plan-legend i{border-top:2.5px solid var(--black);vertical-align:middle;width:14px;height:0;margin-right:5px;display:inline-block}.plan-legend .legend-target{border-top:2px dashed var(--faint)}.large-chart{grid-template-columns:repeat(7,1fr);align-items:end;gap:8px;height:130px;display:grid}.large-bar-group{grid-template-rows:14px 1fr 14px;justify-items:center;gap:4px;height:100%;display:grid}.bar-value{color:var(--muted);font-size:10px}.large-bar-track{background:var(--soft);border-radius:5px;align-items:flex-end;width:100%;max-width:30px;display:flex;overflow:hidden}.large-bar-track span{background:#bdbdbd;border-radius:5px;width:100%}.large-bar-track span.today{background:var(--black)}.day-label{color:var(--muted);font-size:10.5px}.day-label.today{color:var(--black);font-weight:800}.goal-line{color:var(--muted);gap:6px;margin-top:14px;font-size:12px;display:grid}.history-row{align-items:center;gap:10px;padding:12px 8px 12px 14px;display:flex}.history-main{flex:1;gap:2px;min-width:0;display:grid}.history-main strong{font-size:14px}.history-main p{overflow-wrap:anywhere}.history-row time{color:var(--muted);white-space:nowrap;font-size:12px}.delete-button{width:32px;height:32px;color:var(--faint);border-radius:8px;place-items:center;display:grid}.delete-button:active{background:var(--soft);color:var(--danger)}.book-cover,.catalog-book-mark{background:var(--soft);border:1px solid var(--line);text-align:center;border-radius:4px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:2px;width:44px;height:62px;padding:3px;display:flex;position:relative;overflow:hidden}.book-cover-large{border-radius:5px;width:88px;height:124px;padding:6px}.book-cover-medium{width:56px;height:78px}.book-cover span,.catalog-book-mark span{color:var(--muted);font-size:8px;font-weight:600}.book-cover strong,.catalog-book-mark strong{word-break:break-all;max-height:3.8em;font-size:10.5px;font-weight:800;line-height:1.25;overflow:hidden}.book-cover-large span{font-size:10px}.book-cover-large strong{font-size:14px}.book-cover img,.catalog-book-mark img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.book-cover-real span,.book-cover-real strong,.catalog-book-mark-real span,.catalog-book-mark-real strong{visibility:hidden}.stars{gap:2px;display:inline-flex}.star{color:var(--line-strong);fill:#0000}.star-button{border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.detail{gap:16px;display:grid}.detail-top{align-items:center;gap:16px;display:flex}.detail-progress{flex:1;gap:8px;min-width:0;display:grid}.metrics{background:var(--line);border:1px solid var(--line);border-radius:var(--radius);grid-template-columns:1fr 1fr;gap:1px;display:grid;overflow:hidden}.metrics div{background:#fff;padding:12px 14px}.metrics dt{color:var(--muted);font-size:11.5px;font-weight:600}.metrics dd{margin-top:2px;font-size:16px;font-weight:800}.review-box{border:1px solid var(--line);border-radius:var(--radius);gap:10px;padding:14px;display:grid}.review-head{justify-content:space-between;align-items:center;display:flex}.review-head h3{font-size:14px;font-weight:700}.review-box textarea{resize:none;border:1px solid var(--line-strong);border-radius:var(--radius-sm);outline:none;width:100%;padding:10px 12px;font-size:16px}.review-foot{justify-content:space-between;align-items:center;gap:8px;display:flex}.store-links{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;display:flex}.store-links-label{align-items:center;gap:4px;font-weight:600;display:inline-flex}.store-link{border:1px solid var(--line-strong);height:28px;color:var(--text);border-radius:14px;align-items:center;gap:4px;padding:0 10px;font-weight:700;text-decoration:none;display:inline-flex}.modal-overlay{z-index:60;background:#0006;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.modal-sheet{width:100%;max-width:640px;max-height:calc(100vh - var(--safe-top) - 48px);max-height:calc(100dvh - var(--safe-top) - 48px);background:#fff;border-radius:18px 18px 0 0;outline:none;flex-direction:column;display:flex;overflow:hidden}.modal-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 12px 10px 18px;display:flex}.modal-header h2{font-size:17px;font-weight:800;line-height:1.35}.modal-header p{color:var(--muted);font-size:12.5px}.modal-scroll{overscroll-behavior:contain;padding:16px 18px calc(20px + var(--safe-bottom));-webkit-overflow-scrolling:touch;overflow-y:auto}@media (width>=720px){.modal-overlay{align-items:center}.modal-sheet{border-radius:18px;max-height:min(820px,100dvh - 48px)}}.modal-form,.confirm-dialog,.settings-content,.catalog-modal-content,.route-template-content,.custom-route-wizard{gap:14px;display:grid}.modal-actions{justify-content:flex-end;gap:8px;padding-top:4px;display:flex}.modal-actions-with-delete{flex-wrap:wrap}.modal-action-spacer{flex:1}.field{min-width:0;color:var(--muted);gap:6px;font-size:12.5px;font-weight:700;display:grid}.field small{color:var(--faint);margin-left:4px;font-weight:500}.field input,.field select,.field textarea,.number-field{border:1px solid var(--line-strong);border-radius:var(--radius-sm);width:100%;min-width:0;height:44px;color:var(--text);background:#fff;outline:none;padding:0 12px;font-size:16px;font-weight:500}.field textarea{resize:none;height:auto;padding:10px 12px}.field select{appearance:none;background-image:linear-gradient(45deg,#0000 50%,#777 50%),linear-gradient(135deg,#777 50%,#0000 50%);background-position:calc(100% - 18px) 19px,calc(100% - 13px) 19px;background-repeat:no-repeat;background-size:5px 5px;padding-right:32px}.field input[type=date]{appearance:none;text-align:left;max-width:100%;min-height:44px;line-height:42px;display:block}.field input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:1.4em}.field input:focus,.field select:focus,.field textarea:focus,.number-field:focus-within{border-color:var(--black)}.field-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:10px;display:grid}.field-row-three{grid-template-columns:repeat(3,minmax(0,1fr))}.page-fields{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.range-arrow{color:var(--muted);padding-bottom:12px}.number-field{align-items:center;gap:6px;padding:0 12px;display:flex}.number-field input{border:0;outline:none;flex:1;min-width:0;height:100%;padding:0;font-weight:700}.number-field small{color:var(--muted);font-weight:600}.number-field-time input{text-align:right}.form-error{border-radius:var(--radius-sm);color:var(--danger);background:#fdf0ef;padding:10px 12px;font-size:13px;font-weight:600}.form-hint{color:var(--muted);font-size:12.5px}.record-type-tabs{background:var(--soft);border-radius:11px;grid-template-columns:1fr 1fr;gap:2px;padding:3px;display:grid}.record-type-tabs button{height:36px;color:var(--muted);border-radius:8px;justify-content:center;align-items:center;gap:6px;font-size:13.5px;font-weight:700;display:inline-flex}.record-type-tabs button.active{color:var(--black);background:#fff;box-shadow:0 1px 2px #0000001f}.selected-book-strip{background:var(--soft);border-radius:var(--radius-sm);align-items:center;gap:12px;padding:10px 12px;display:flex}.selected-book-strip strong{font-size:14px;display:block}.selected-book-strip span{color:var(--muted);font-size:12px}.quick-pages{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.quick-pages button{border:1px solid var(--line-strong);height:30px;color:var(--text);border-radius:15px;padding:0 12px;font-size:12.5px;font-weight:700}.record-summary{background:var(--soft);border-radius:var(--radius-sm);align-items:center;gap:8px;padding:10px 12px;font-size:13.5px;display:flex}.unit-picker{gap:10px;display:grid}.catalog-selection-note{background:var(--soft);border-radius:var(--radius-sm);color:var(--muted);align-items:center;gap:12px;padding:12px;font-size:12.5px;display:flex}.catalog-selection-note div{flex:1}.catalog-selection-note strong{color:var(--text);font-size:13.5px}.cover-photo-editor{border:1px solid var(--line);border-radius:var(--radius);align-items:center;gap:14px;padding:12px;display:flex}.cover-photo-preview{background:var(--soft);border:1px solid var(--line);width:64px;height:90px;color:var(--muted);text-align:center;border-radius:5px;flex-direction:column;flex:none;justify-content:center;align-items:center;font-size:10px;display:flex;overflow:hidden}.cover-photo-preview img{object-fit:cover;width:100%;height:100%}.cover-photo-copy{color:var(--muted);gap:6px;font-size:12px;display:grid}.cover-photo-copy strong{color:var(--text);font-size:13.5px}.cover-photo-copy>div{flex-wrap:wrap;gap:6px;display:flex}.isbn-lookup-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--soft);gap:10px;padding:14px;display:grid}.isbn-lookup-copy{align-items:flex-start;gap:10px;display:flex}.isbn-lookup-copy strong{font-size:14px}.isbn-lookup-copy p{color:var(--muted);font-size:12px}.isbn-lookup-icon{background:#fff;border-radius:50%;flex:none;place-items:center;width:32px;height:32px;display:grid}.isbn-lookup-form{gap:8px;display:flex}.isbn-lookup-form .field{flex:1}.isbn-result,.catalog-item{border:1px solid var(--line);border-radius:var(--radius);background:#fff;align-items:flex-start;gap:12px;padding:12px;display:flex}.catalog-item-main{flex:1;gap:4px;min-width:0;display:grid}.catalog-item-main h3{font-size:14px;font-weight:700;line-height:1.35}.catalog-item-main p,.catalog-item-main small{color:var(--muted);font-size:12px}.catalog-item-main>div{flex-wrap:wrap;gap:6px;display:flex}.subject-chip,.level-chip{background:var(--soft-2);border-radius:10px;align-items:center;height:20px;padding:0 8px;font-size:11px;font-weight:700;display:inline-flex}.level-chip{border:1px solid var(--line-strong);color:var(--muted);background:0 0}.catalog-toolbar{gap:8px;display:flex}.catalog-toolbar .search-box{flex:1;min-width:0}.catalog-toolbar .button{flex:none}.catalog-subjects,.template-filter{scrollbar-width:none;gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.catalog-subjects::-webkit-scrollbar{display:none}.template-filter::-webkit-scrollbar{display:none}.catalog-subjects button,.template-filter button{border:1px solid var(--line-strong);height:32px;color:var(--muted);white-space:nowrap;border-radius:16px;flex:none;padding:0 14px;font-size:13px;font-weight:700}.catalog-subjects button.active,.template-filter button.active{background:var(--black);border-color:var(--black);color:#fff}.catalog-result-copy{color:var(--muted);gap:2px;font-size:12px;display:grid}.catalog-result-copy strong{color:var(--text);font-size:14px}.catalog-result-copy a{color:var(--text);font-weight:600}.catalog-grid,.template-grid{gap:10px;display:grid}.catalog-item .button{flex:none;align-self:center;height:34px;padding:0 12px;font-size:13px}.catalog-empty,.empty-state{text-align:center;color:var(--muted);justify-items:center;gap:6px;padding:28px 16px;display:grid}.catalog-empty h3,.empty-state h2{color:var(--text);font-size:15px}.route-create-tabs{background:var(--soft);border-radius:11px;grid-template-columns:1fr 1fr;gap:2px;padding:3px;display:grid}.route-create-tabs button{height:36px;color:var(--muted);border-radius:8px;justify-content:center;align-items:center;gap:6px;font-size:13.5px;font-weight:700;display:inline-flex}.route-create-tabs button.active{color:var(--black);background:#fff;box-shadow:0 1px 2px #0000001f}.template-policy-note,.template-footnote{color:var(--muted);font-size:12px}.template-filter-group{gap:6px;display:grid}.template-filter-group>span{color:var(--muted);font-size:12px;font-weight:700}.template-card{border:1px solid var(--line);border-radius:var(--radius);gap:8px;padding:14px;display:grid}.template-card-top{justify-content:space-between;align-items:center;display:flex}.template-subject{background:var(--soft-2);border-radius:10px;padding:2px 8px;font-size:11.5px;font-weight:700}.recommended-badge{align-items:center;gap:4px;font-size:11.5px;font-weight:800;display:inline-flex}.template-card h3{font-size:16px;font-weight:800}.template-card p{color:var(--muted);font-size:12.5px}.template-attribution{color:var(--muted);font-size:11px}.template-stats{flex-wrap:wrap;gap:6px;display:flex}.template-stats span{background:var(--soft);border-radius:12px;padding:3px 9px;font-size:11.5px;font-weight:600}.template-source-link{color:var(--text);align-items:center;gap:4px;width:fit-content;font-size:12px;font-weight:600;display:inline-flex}.custom-route-intro{align-items:flex-start;gap:12px;display:flex}.custom-route-intro>span{background:var(--soft);border-radius:50%;flex:none;place-items:center;width:36px;height:36px;display:grid}.custom-route-intro h3{font-size:16px;font-weight:800}.custom-route-intro p{color:var(--muted);font-size:12.5px}.custom-route-intro .eyebrow{display:none}.wizard-steps{flex-wrap:wrap;align-items:center;gap:6px;font-size:12.5px;font-weight:700;display:flex}.wizard-steps>div{align-items:center;gap:6px;display:inline-flex}.wizard-steps span{background:var(--black);color:#fff;border-radius:50%;place-items:center;width:20px;height:20px;font-size:11px;display:inline-grid}.custom-route-form{gap:12px;display:grid}.settings-section{border-top:1px solid var(--line);gap:10px;padding-top:14px;display:grid}.settings-section:first-child{border-top:0;padding-top:0}.settings-section h3{font-size:14.5px;font-weight:800}.settings-help{color:var(--muted);font-size:12.5px}.install-card{background:var(--soft);border-radius:var(--radius-sm);color:var(--muted);align-items:center;gap:12px;padding:12px;font-size:12.5px;display:flex}.install-card strong{color:var(--text);font-size:13.5px}.device-icons{gap:4px;display:flex}.data-actions{flex-wrap:wrap;gap:8px;display:flex}.cover-sources-note{color:var(--muted);border:1px solid var(--line);border-radius:var(--radius-sm);align-items:center;gap:10px;padding:10px;font-size:12px;display:flex}.cover-sources-note img{flex:none;width:auto;height:22px}.danger-zone{justify-content:space-between;align-items:center;gap:12px;display:flex}.danger-zone p{color:var(--muted);font-size:12.5px}.reset-confirm{border-radius:var(--radius-sm);background:#fdf6f5;border:1px solid #e6b8b3;gap:10px;width:100%;padding:12px;display:grid}.reset-confirm>div:last-child{justify-content:flex-end;gap:8px;display:flex}.settings-actions{bottom:calc(-20px - var(--safe-bottom));border-top:1px solid var(--line);background:#fff;padding:12px 0 0;position:sticky}.app-alerts{gap:8px;margin-bottom:12px;display:grid}.alert-pill{border-radius:var(--radius-sm);background:var(--soft);align-items:center;gap:8px;padding:10px 12px;font-size:12.5px;font-weight:600;display:flex}.alert-error{color:var(--danger);background:#fdf0ef}.toast{left:50%;bottom:calc(var(--nav-h) + var(--safe-bottom) + 14px);z-index:80;background:var(--black);color:#fff;border-radius:22px;align-items:center;gap:8px;max-width:calc(100vw - 32px);padding:11px 16px;font-size:13.5px;font-weight:600;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 6px 20px #00000040}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.estimate-note{border:1px solid var(--black);border-radius:var(--radius-sm);padding:10px 12px;font-size:12.5px;font-weight:600}.sample-reviews{border:1px dashed var(--black);border-radius:var(--radius);gap:8px;padding:12px;display:grid}.sample-banner{font-size:12.5px;font-weight:800}.sample-reviews li{border-top:1px solid var(--line);gap:2px;padding:8px 0;font-size:13px;display:grid}#route-panel-recommended{gap:14px;display:grid}.template-search{height:44px}.modal-form,.confirm-dialog,.settings-content,.catalog-modal-content,.route-template-content,.custom-route-wizard,#route-panel-recommended{grid-template-columns:minmax(0,1fr)}.catalog-modal-content>*,.route-template-content>*,#route-panel-recommended>*{min-width:0}:root{--brand:#17624a;--brand-dark:#0f4a37;--brand-soft:#e8f3ee;--warn:#b45309;--warn-soft:#fff3e0;--soft:#f4f6f5}.btn-primary,.button-primary{background:var(--brand)}.btn-primary:active,.button-primary:active{background:var(--brand-dark)}.brand-mark{background:var(--brand)}.bottom-nav button.active{color:var(--brand)}.side-nav button.active{background:var(--brand-soft);color:var(--brand)}.progress-track>span{background:var(--bar,var(--brand))}.tag,.steps b,.wizard-steps span{background:var(--brand)}.segmented button.active,.record-type-tabs button.active,.route-create-tabs button.active{color:var(--brand)}.catalog-subjects button.active,.template-filter button.active{background:var(--brand);border-color:var(--brand)}.stage-num{border-color:var(--brand)}.stage-complete .stage-num,.stage-current .stage-num{background:var(--brand);border-color:var(--brand)}.stage-current .status,.status-active{color:var(--brand)}.mini-bar-track span.today,.large-bar-track span.today{background:var(--brand)}.day-label.today{color:var(--brand)}.plan-line-actual{stroke:var(--brand)}.plan-legend i{border-top-color:var(--brand)}.star-on{color:#e8a317;fill:#e8a317}.template-recommended{border-color:var(--brand)}.chip-streak{background:var(--warn-soft);color:var(--warn)}.pace{background:var(--soft)}.pace-ahead{background:var(--brand-soft);color:var(--brand)}.pace-behind{background:var(--warn-soft);color:var(--warn);border:0}.estimate-note{border-color:var(--warn);background:var(--warn-soft);color:var(--warn)}.link-button,.back-button{color:var(--brand)}.route-mini{align-items:stretch;gap:12px;width:100%;padding:12px 14px;display:flex}.route-mini:active{background:var(--soft)}.route-mini-dot{border-radius:2px;flex:none;width:4px}.route-mini-body{flex:1;gap:6px;min-width:0;display:grid}.route-mini-top{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.route-mini-top .row-title{-webkit-line-clamp:1}.route-mini-percent{font-variant-numeric:tabular-nums;font-size:17px;font-weight:800}.route-mini-foot{justify-content:space-between;align-items:center;gap:8px;display:flex}.route-mini-foot>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.task-groups{gap:14px;display:grid}.task-group{gap:6px;display:grid}.task-group-title{color:var(--muted);align-items:center;gap:7px;font-size:12.5px;font-weight:700;display:flex}.task-group-title i,.route-dot{border-radius:50%;flex:none;width:9px;height:9px;display:inline-block}.route-dot{margin-right:8px}.route-row-top{align-items:center}.sort-controls{gap:6px;display:flex}.sort-controls .select-wrap{max-width:56vw}.tutorial{text-align:center;justify-items:center;gap:14px;padding-top:8px;display:grid}.tutorial-icon{background:var(--brand-soft);width:72px;height:72px;color:var(--brand);border-radius:50%;place-items:center;display:grid}.tutorial h3{font-size:18px;font-weight:800}.tutorial p{color:var(--muted);text-align:left;font-size:14px;line-height:1.7}.tutorial-dots{gap:6px;display:flex}.tutorial-dots i{background:var(--line-strong);border-radius:50%;width:7px;height:7px}.tutorial-dots i.on{background:var(--brand);border-radius:4px;width:18px}.tutorial .modal-actions{justify-content:space-between;width:100%}.avatar{background:var(--brand);color:#fff;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:13px;font-weight:800;display:inline-grid}.avatar-lg{width:52px;height:52px;font-size:22px}.account-button{border:1px solid var(--line-strong);background:#fff;border-radius:18px;align-items:center;gap:7px;height:36px;padding:0 12px 0 4px;font-size:13px;font-weight:700;display:inline-flex}.account-button:active{background:var(--soft)}.sidebar-settings .avatar{width:24px;height:24px;font-size:12px}.bottom-nav{grid-template-columns:repeat(5,1fr)}.fab{position:relative;color:var(--brand)!important}.fab-circle{background:var(--brand);color:#fff;border:3px solid #fff;border-radius:50%;place-items:center;width:50px;height:50px;margin-top:-22px;display:grid;box-shadow:0 4px 14px #17624a59}.fab:active .fab-circle{background:var(--brand-dark)}.countdown{border-radius:var(--radius);background:var(--brand);color:#fff;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:16px 18px;display:flex}.countdown:active{background:var(--brand-dark)}.countdown small{opacity:.85;font-size:12px;font-weight:600;display:block}.countdown strong{font-size:30px;font-weight:800;line-height:1.15}.countdown em,.countdown b em{margin-left:2px;font-size:14px;font-style:normal;font-weight:700}.countdown-side{text-align:right}.countdown-side b{font-size:22px;font-weight:800}.countdown-empty{background:var(--brand-soft);color:var(--brand);border:1px dashed var(--brand)}.countdown-cta{font-size:16px!important}.route-li{align-items:stretch;display:flex;position:relative}.route-li .route-row{flex:1;min-width:0;padding-right:8px}.route-delete{width:44px;color:var(--faint);border-left:1px solid var(--line);flex:none;place-items:center;display:grid}.route-delete:active{color:var(--danger);background:#fdf0ef}.timer-box{background:var(--brand-soft);border-radius:var(--radius-sm);justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.timer-box small{color:var(--muted);font-size:11.5px;font-weight:700;display:block}.timer-box strong{font-variant-numeric:tabular-nums;font-size:26px;font-weight:800}.timer-box strong.running{color:var(--brand)}.profile-card{border:1px solid var(--line);border-radius:var(--radius);align-items:center;gap:14px;padding:14px;display:flex}.profile-card strong{font-size:17px}.profile-card p{color:var(--muted);font-size:12.5px}.profile-count{font-weight:800;color:var(--brand)!important}.account-note{border-radius:var(--radius);background:var(--soft);justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.account-note p{color:var(--muted);font-size:12px}.account-note strong{font-size:13.5px}.onboarding{z-index:90;background:#fff;justify-content:center;display:flex;position:fixed;inset:0;overflow-y:auto}.onboarding-inner{width:100%;max-width:560px;min-height:100%;padding:calc(var(--safe-top) + 16px) 20px calc(var(--safe-bottom) + 18px);flex-direction:column;display:flex}.onboarding-top{justify-content:space-between;align-items:center;display:flex}.onboarding-progress{flex:1;gap:5px;margin-right:16px;display:flex}.onboarding-progress i{background:var(--soft-2);border-radius:2px;flex:1;height:4px}.onboarding-progress i.on{background:var(--brand)}.onboarding-body{flex:1;align-content:center;gap:16px;padding:24px 0;display:grid}.onboarding-body h1{font-size:26px;font-weight:800;line-height:1.35}.onboarding-body>p,.onboarding-label{color:var(--muted);font-size:14px;line-height:1.7}.onboarding-label{margin-top:4px;font-weight:700}.onboarding-actions{gap:10px;display:flex}.onboarding-next{flex:1;height:48px;font-size:15px}.choice-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.choice-single{grid-template-columns:1fr}.choice-wrap{flex-wrap:wrap;gap:8px;display:flex}.choice{border:1.5px solid var(--line-strong);border-radius:var(--radius);text-align:center;background:#fff;justify-content:center;align-items:center;gap:8px;min-height:52px;padding:10px 14px;font-size:15px;font-weight:700;display:inline-flex}.choice.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.choice-sm{border-radius:20px;min-height:40px;padding:6px 14px;font-size:14px}.choice i{border-radius:50%;width:9px;height:9px;display:inline-block}.pick-list{max-height:46vh;overflow-y:auto}.pick-row{align-items:center;gap:12px;width:100%;padding:14px;display:flex}.pick-check{border:1.5px solid var(--line-strong);color:#fff;border-radius:6px;flex:none;place-items:center;width:22px;height:22px;display:grid}.pick-row.on .pick-check{background:var(--brand);border-color:var(--brand)}.pick-text{gap:2px;display:grid}.pick-text b{font-size:15px}.pick-text small{color:var(--muted);font-size:12px}.pick-empty{text-align:center;color:var(--muted);padding:20px;font-size:13px}.tour{z-index:95;position:fixed;inset:0}.tour-hole{pointer-events:none;border-radius:14px;outline:2px solid #fff;transition:all .25s;position:fixed;box-shadow:0 0 0 9999px #0f17149e}.tour-bubble{background:#fff;border-radius:16px;gap:6px;max-width:420px;margin:0 auto;padding:16px;display:grid;position:fixed;left:16px;right:16px;box-shadow:0 10px 30px #0000004d}.tour-bubble h3{font-size:16px;font-weight:800}.tour-bubble p{color:var(--muted);font-size:13.5px;line-height:1.65}.tour-bubble .tour-count{color:var(--brand);font-size:11px;font-weight:700}.tour-actions{justify-content:space-between;margin-top:6px;display:flex}.month-nav{align-items:center;gap:4px;font-size:14px;display:flex}.month-nav button{border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.month-nav button:active{background:var(--soft)}.calendar-grid{grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.calendar-dow{text-align:center;color:var(--muted);padding-bottom:4px;font-size:11px;font-weight:700}.calendar-day{aspect-ratio:1;background:var(--soft);font-variant-numeric:tabular-nums;border-radius:10px;place-items:center;font-size:13px;font-weight:600;display:grid}.calendar-day.level-1,.calendar-legend .level-1{background:#cfe8dc}.calendar-day.level-2,.calendar-legend .level-2{background:#7fc2a3}.calendar-day.level-3,.calendar-legend .level-3{background:var(--brand);color:#fff}.calendar-day.today{outline:2px solid var(--brand);outline-offset:-2px}.calendar-day.selected{box-shadow:0 0 0 2px #fff, 0 0 0 4px var(--black)}.calendar-foot{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:12px;font-size:12px;display:flex}.calendar-legend{align-items:center;gap:3px;display:inline-flex}.calendar-legend i{border-radius:3px;width:12px;height:12px;margin-right:0;display:inline-block}.calendar-legend .level-1{background:#cfe8dc}.day-title{margin-top:2px;font-size:13px;font-weight:800}.subject-bar{background:var(--soft-2);border-radius:6px;height:12px;display:flex;overflow:hidden}.subject-legend{gap:8px;margin-top:12px;display:grid}.subject-legend li{align-items:center;gap:8px;font-size:13px;display:flex}.subject-legend i{border-radius:50%;flex:none;width:10px;height:10px}.subject-legend span{flex:1}.subject-legend b{font-variant-numeric:tabular-nums}.route-books-list{gap:12px;display:grid}.route-books{gap:10px;padding:14px;display:grid}.route-books-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.route-books-head .row-title{-webkit-line-clamp:1;align-items:center;display:flex}.route-books-head b{font-size:18px;font-weight:800}.cover-strip{scrollbar-width:none;gap:12px;padding:2px 2px 6px;display:flex;overflow-x:auto}.cover-strip::-webkit-scrollbar{display:none}.cover-item{text-align:center;flex:none;justify-items:center;gap:4px;width:62px;display:grid}.cover-item small{color:var(--muted);font-size:11px;font-weight:700}.cover-item-bar{width:56px}.history-cover{flex:none}.history-row{align-items:center;gap:12px}.history-main .route-dot{width:7px;height:7px;margin-right:5px}.scanner{gap:12px;display:grid}.scanner-view{aspect-ratio:4/3;border-radius:var(--radius);background:#111;position:relative;overflow:hidden}.scanner-view video{object-fit:cover;width:100%;height:100%}.scanner-frame{border:2.5px solid #fff;border-radius:12px;position:absolute;inset:30% 10%;box-shadow:0 0 0 9999px #00000059}.chip-row{scrollbar-width:none;gap:6px;margin:0 -16px;padding:0 16px 2px;display:flex;overflow-x:auto}.chip-row::-webkit-scrollbar{display:none}.chip-row button{border:1px solid var(--line-strong);height:32px;color:var(--muted);white-space:nowrap;background:#fff;border-radius:16px;flex:none;align-items:center;gap:6px;padding:0 13px;font-size:13px;font-weight:700;display:inline-flex}.chip-row button i{border-radius:50%;width:8px;height:8px}.chip-row button.active{background:var(--brand);border-color:var(--brand);color:#fff}.timer-bar{left:12px;right:12px;bottom:calc(var(--nav-h) + var(--safe-bottom) + 8px);z-index:28;background:var(--black);color:#fff;border-radius:23px;align-items:center;gap:10px;max-width:520px;height:46px;margin:0 auto;padding:0 16px;font-size:13px;font-weight:700;display:flex;position:fixed;box-shadow:0 6px 18px #0000004d}.timer-bar b{color:var(--black);background:#fff;border-radius:12px;margin-left:auto;padding:4px 10px;font-size:12.5px}.timer-dot{background:#34d399;border-radius:50%;width:9px;height:9px;animation:1.2s infinite pulse}@keyframes pulse{50%{opacity:.3}}.timer-clock{font-variant-numeric:tabular-nums;font-size:16px}.timer-sheet{gap:16px;display:grid}.timer-big{text-align:center;padding:18px 0 6px}.timer-big .timer-clock{letter-spacing:.02em;color:var(--brand);font-size:64px;font-weight:800}.timer-actions{justify-content:space-between;gap:10px;display:flex}.timer-finish{flex:1;height:48px;font-size:15px}.fab-sheet{gap:10px;display:grid}.fab-choice{border:1.5px solid var(--line-strong);border-radius:var(--radius);text-align:left;align-items:center;gap:14px;padding:16px;display:flex}.fab-choice:active{background:var(--soft)}.fab-choice-icon{background:var(--brand-soft);width:46px;height:46px;color:var(--brand);border-radius:50%;flex:none;place-items:center;display:grid}.fab-choice b{font-size:15px;display:block}.fab-choice small{color:var(--muted);margin-top:2px;font-size:12.5px;font-weight:500;line-height:1.5;display:block}.onboarding-body{animation:.4s both obIn}@keyframes obIn{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}.hero-badge{background:linear-gradient(135deg, var(--brand), #2f9e76);color:#fff;border-radius:28px;place-items:center;width:96px;height:96px;animation:.6s both pop;display:grid;box-shadow:0 12px 28px #17624a59}.hero-done{background:linear-gradient(135deg,#e8a317,#f59e0b);box-shadow:0 12px 28px #e8a31766}@keyframes pop{0%{opacity:0;transform:scale(.6)}70%{transform:scale(1.08)}to{opacity:1;transform:scale(1)}}.feature-list{gap:12px;display:grid}.feature-list li{border:1px solid var(--line);border-radius:var(--radius);align-items:center;gap:14px;padding:14px;animation:.5s both obIn;display:flex}.feature-icon{background:var(--brand-soft);width:44px;height:44px;color:var(--brand);border-radius:12px;flex:none;place-items:center;display:grid}.feature-list b{font-size:14.5px;display:block}.feature-list small{color:var(--muted);margin-top:2px;font-size:12.5px;line-height:1.5;display:block}.choice-left{text-align:left;justify-content:flex-start;font-size:14px}.plan-stats{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.plan-stats li{text-align:center;background:var(--brand-soft);border-radius:12px;padding:12px 4px}.plan-stats b{color:var(--brand);font-size:24px;font-weight:800;display:block}.plan-stats small{color:var(--muted);font-size:11px;font-weight:600}.worry-answers p{color:var(--muted);margin-bottom:6px;font-size:12.5px;font-weight:800}.worry-answers ul{gap:8px;display:grid}.worry-answers li{align-items:flex-start;gap:8px;font-size:13.5px;line-height:1.5;display:flex}.worry-answers li svg{color:var(--brand);flex:none;margin-top:3px}.account-reco{border-radius:var(--radius);background:var(--warn-soft);border:1px solid #f3d19a;padding:14px}.account-reco strong{color:var(--warn);font-size:14px;display:block}.account-reco p{margin-top:4px;line-height:1.6;color:#7c4a0a!important;font-size:12.5px!important}.chip-row-wrap{flex-wrap:wrap;margin:0;padding:0;overflow:visible}.catalog-sub-chips button{height:28px;padding:0 11px;font-size:12px}.check-row{color:var(--muted);align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.check-row input{width:18px;height:18px;accent-color:var(--brand)}.owned-badge{background:var(--brand-soft);height:30px;color:var(--brand);border-radius:15px;flex:none;align-self:center;align-items:center;gap:4px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.test-summary{grid-template-columns:1fr auto;align-items:end;gap:6px 14px;display:grid}.test-summary small{color:var(--muted);font-size:12px;font-weight:700;display:block}.test-summary strong{font-size:32px;font-weight:800}.test-summary em,.test-rate em{color:var(--muted);font-size:14px;font-style:normal;font-weight:700}.test-rate{text-align:right}.test-rate b{color:var(--brand);font-size:28px;font-weight:800}.test-rate span{font-size:12px;font-weight:800;display:block}.test-rate .up{color:var(--brand)}.test-rate .down{color:var(--warn)}.test-chart{grid-column:1/-1;width:100%;height:70px;overflow:visible}.test-row{align-items:center;gap:10px;padding:12px 8px 12px 14px;display:flex}.test-main{flex:1;gap:2px;min-width:0;display:grid}.test-main strong{font-size:14px}.test-score{text-align:right;white-space:nowrap}.test-score b{font-size:20px;font-weight:800}.test-score small{color:var(--muted);font-size:12px}.test-score span{color:var(--brand);font-size:12px;font-weight:800;display:block}.tag-soft{background:var(--soft-2);color:var(--text)}.link-button{min-height:36px;padding:0 4px}.back-button{min-height:40px}.cover-item{min-height:44px}.btn-sm{min-height:34px}.modal-overlay{padding-top:calc(var(--safe-top) + 8px)}.result{background:var(--soft-2);white-space:nowrap;border-radius:11px;align-items:center;height:22px;padding:0 9px;font-size:11.5px;font-weight:800;display:inline-flex}.result-pass{background:var(--brand-soft);color:var(--brand)}.result-fail{background:var(--warn-soft);color:var(--warn)}.result-planned,.result-pending{background:var(--soft-2);color:var(--text)}.test-main .result{margin-left:6px}.upcoming-list{border-color:var(--brand)}.upcoming-strip{gap:6px;display:grid}.upcoming-strip li{border-radius:var(--radius-sm);background:var(--warn-soft);color:var(--warn);align-items:center;gap:8px;padding:10px 14px;font-size:13px;font-weight:700;display:flex}.upcoming-strip li span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.review-ask{background:var(--brand-soft);border-color:#0000;gap:10px;display:grid}.review-ask strong{color:var(--brand);font-size:14.5px}.review-ask p{color:var(--muted);margin-top:2px;font-size:12.5px;line-height:1.6}.template-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.route-preview{gap:12px;padding-bottom:4px;display:grid}.route-preview-lead{color:var(--muted);font-size:13px;line-height:1.6}.route-preview-stages{gap:0;margin:4px 0 0;padding:0;list-style:none;display:grid}.route-preview-stage{padding:0 0 18px 40px;position:relative}.route-preview-stage:before{content:"";background:var(--brand-soft);width:2px;position:absolute;top:30px;bottom:0;left:13px}.route-preview-stage:last-child{padding-bottom:4px}.route-preview-stage:last-child:before{display:none}.route-preview-stage-head{align-items:center;gap:10px;margin-bottom:8px;margin-left:-40px;display:flex}.route-preview-stage-head>div{gap:1px;display:grid}.route-preview-stage-head strong{font-size:15px;font-weight:800}.route-preview-stage-head small{color:var(--muted);font-size:11.5px}.route-preview-no{background:var(--brand);color:#fff;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:13px;font-weight:800;display:grid}.route-preview-books{gap:8px;margin:0;padding:0;list-style:none;display:grid}.route-preview-books>li{border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff;align-items:center;gap:12px;padding:10px;display:flex}.route-preview-book-text{gap:2px;min-width:0;display:grid}.route-preview-book-text b{font-size:13.5px;font-weight:700;line-height:1.4}.route-preview-book-text small{color:var(--muted);font-size:11.5px}.route-preview-size{color:var(--brand);background:var(--brand-soft);border-radius:10px;justify-self:start;margin-top:2px;padding:2px 8px;font-size:11px;font-weight:700}.route-preview-bar{padding:12px 0 calc(4px + env(safe-area-inset-bottom));background:linear-gradient(#fff0,#fff 20%);grid-template-columns:1fr 2fr;gap:8px;display:grid;position:sticky;bottom:0}.achievement{justify-items:center;gap:14px;display:grid}.achievement-card{border-radius:14px;width:min(78%,300px);box-shadow:0 10px 28px #0f4a3747}.achievement-actions{gap:6px;width:100%;display:grid}.achievement-note{text-align:center;color:var(--muted);font-size:12.5px}.achievement-review,.achievement>.button{width:100%}.evidence{border:1px solid var(--line);border-radius:var(--radius-sm);width:100%;color:var(--muted);padding:10px 12px;font-size:12.5px;line-height:1.65}.evidence summary{cursor:pointer;color:var(--brand);font-size:13px;font-weight:700}.evidence p{margin-top:8px}.evidence-caution{color:var(--text);font-weight:600}.evidence-sources a{color:var(--brand);text-decoration:underline}.row-sub{word-break:keep-all;overflow-wrap:break-word;line-height:1.5}.book-row .row-title{-webkit-line-clamp:2}.achievement-mute{color:var(--muted);align-self:center;padding:6px;font-size:12.5px}.toast{word-break:keep-all;overflow-wrap:break-word;max-width:min(92vw,360px)}.evidence summary{list-style:none;display:block}.evidence summary::-webkit-details-marker{display:none}.evidence summary strong{color:var(--brand);word-break:keep-all;overflow-wrap:break-word;font-size:16px;font-weight:800;line-height:1.5;display:block}.evidence summary small{color:var(--muted);margin-top:4px;font-size:11.5px;font-weight:500;display:block}.evidence[open] summary small{display:none}.evidence p{font-size:11.5px}.evidence{box-sizing:border-box;min-width:0;max-width:100%}.evidence summary strong{word-break:normal;overflow-wrap:anywhere}.web-intro .onboarding-body{gap:14px}.web-intro .feature-list{margin-top:4px}.web-intro-note{color:var(--muted);font-size:12px;line-height:1.6}.web-intro-actions{text-align:center;background:linear-gradient(#fff0,#fff 28%);flex-direction:column;align-items:stretch;gap:10px;padding-top:18px;position:sticky;bottom:0}.web-intro .hero-badge{border-radius:22px;width:72px;height:72px}.web-intro-actions .button{flex-shrink:0;min-height:50px}.web-intro-actions .link-button{align-self:center;padding:6px}
