:root{--ink:#242424;--muted:#707070;--accent:#242424;--wash:#f0f0f0;--line:#e3e3e3;--paper:#fff;--bg:#fafafa;--radius:10px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button{color:inherit;border:1px solid var(--line);background:white;border-radius:7px;min-height:38px;padding:8px 12px}button:hover{background:var(--wash)}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #555555;outline-offset:3px}.sidebar{width:235px;position:fixed;inset:0 auto 0 0;padding:34px 21px 16px;background:#f5f5f5;border-right:1px solid var(--line);overflow:auto;display:flex;flex-direction:column}.brand{display:flex;gap:12px;text-decoration:none;color:var(--ink);font-size:13px;line-height:1.65;margin-bottom:34px}.brand b{font-size:18px;letter-spacing:.03em}.mark{position:relative;width:42px;height:46px;background:var(--accent);color:white;border-radius:10px;font-family:Georgia,serif;font-size:42px;line-height:35px;padding-left:10px}.mark span{font-size:14px;position:absolute;right:5px;bottom:0}.side-label{font-size:10px;color:var(--muted);letter-spacing:.08em;margin:20px 12px 8px}.nav{border:0;background:transparent;display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;gap:6px;padding:11px 12px;margin-bottom:3px;font-size:12px}.nav>span:last-child:not(:first-child){font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.nav.active{background:#e8e8e8;color:#242424;font-weight:650}.step-num{font-size:10px;color:#707070;margin-right:10px}.sidebar-bottom{margin-top:auto;padding:32px 10px 0;color:var(--muted);font-size:10px}.sidebar-bottom button{display:block;margin-top:12px;background:transparent;font-size:11px;width:100%}.local-dot{display:inline-block;width:6px;height:6px;background:#707070;border-radius:50%;margin-right:6px}main{margin-left:235px}.topbar{height:65px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 37px;color:var(--muted);font-size:11px;background:rgba(255,255,255,.65)}kbd{margin-left:6px;padding:3px 6px;border:1px solid var(--line);border-radius:4px;background:white}.workspace{max-width:1600px;margin:auto;padding:35px 36px 20px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.eyebrow{font-size:10px;letter-spacing:.17em;color:var(--accent);font-weight:650;margin:0 0 9px}h1{font-size:27px;letter-spacing:.01em;font-weight:650;margin:0}.count-tag{font-size:11px;padding:8px 11px;border:1px solid var(--line);border-radius:6px;color:var(--muted);white-space:nowrap}.searchbox{display:flex;align-items:center;background:white;border:1px solid #cccccc;border-radius:var(--radius);padding:6px 14px;height:57px;box-shadow:0 3px 12px #00000000;gap:12px}.searchbox svg{width:22px;height:22px;color:var(--accent);flex-shrink:0}.searchbox input{flex:1;width:0;border:0;outline:none;background:transparent;font-size:14px;height:40px;color:var(--ink)}select{border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink);padding:8px 28px 8px 10px;font-size:11px;max-width:260px}.searchbox select{border:0;border-left:1px solid var(--line);border-radius:0;color:var(--muted)}.quick{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:15px 0 27px}.quick>span{font-size:10px;color:var(--muted);margin-right:4px}.quick button{background:transparent;border-color:#dedede;min-height:28px;font-size:10px;padding:4px 11px;border-radius:5px}.quick button:hover{background:#eeeeee}.filters{display:flex;align-items:center;gap:20px;padding-bottom:20px;border-bottom:1px solid var(--line)}.filters>div{display:flex;gap:9px;align-items:center}.filters label{font-size:10px;color:var(--muted)}.text-button{border:0;background:transparent;font-size:10px;color:var(--muted);margin-left:auto}.result-header{display:flex;align-items:center;justify-content:space-between;margin:9px 0 8px;font-size:11px}.result-header>span{font-size:10px;color:var(--muted)}.library-layout{display:grid;grid-template-columns:minmax(280px,1fr) minmax(350px,1.15fr);align-items:start;gap:22px}.list{display:flex;flex-direction:column;gap:10px}.prompt-card{background:white;border:1px solid var(--line);border-radius:9px;position:relative;padding:18px;transition:border-color .15s}.prompt-card.selected{border-color:#bcbcbc;background:#f4f4f4;box-shadow:none}.card-top{display:flex;gap:6px;align-items:center;margin-bottom:12px;padding-right:26px}.badge{font-size:9px;padding:4px 7px;border-radius:4px;background:#eef2f6;color:#405e7b}.badge.stage-02{background:#f5f0e7;color:#7c6130}.badge.stage-03{background:#edf3ef;color:#41644e}.kind{font-size:9px;color:var(--muted)}.card-title{border:0;background:none;padding:0;min-height:0;text-align:left;font-size:14px;line-height:1.65;font-weight:650;display:block}.card-title:hover{background:none;color:var(--accent)}.summary{font-size:11px;color:var(--muted);line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:9px 0 15px;overflow-wrap:anywhere}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}.collection-name{font-size:9px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-copy{font-size:10px;min-height:30px;padding:6px 9px;white-space:nowrap}.favorite{position:absolute;right:10px;top:9px;border:0;background:none;min-height:32px;padding:4px 8px;font-size:20px;color:#888888}.favorite.saved{color:#242424}.detail{position:sticky;top:20px;background:white;border:1px solid var(--line);border-radius:10px;min-height:420px;max-height:calc(100vh - 40px);display:flex;flex-direction:column;overflow:hidden}.detail-empty{margin:auto;text-align:center;padding:90px 20px;color:var(--muted)}.empty-mark{font-size:38px;font-weight:200;color:#aaaaaa}.detail-empty h2{font-size:16px;font-weight:500;color:#555555;margin:24px 0 13px}.detail-empty p{font-size:12px;line-height:2}.detail-head{padding:23px 23px 16px;border-bottom:1px solid var(--line)}.detail-head h2{font-size:19px;line-height:1.6;margin:12px 0}.detail-meta{font-size:10px;color:var(--muted);overflow-wrap:anywhere;line-height:1.7}.notice{font-size:10px;line-height:1.7;background:#f3f3f3;color:#555555;padding:9px 12px;border-radius:5px;margin-top:13px}.detail-toolbar{padding:13px 23px;display:flex;gap:8px;align-items:center}.detail-toolbar label{font-size:10px;color:var(--muted);white-space:nowrap}.detail-toolbar select{flex:1;min-width:0}.detail-editor{padding:0 23px;display:flex;flex:1;min-height:150px}textarea{resize:vertical;width:100%;min-height:260px;height:360px;border:1px solid var(--line);border-radius:6px;background:#fafafa;padding:16px;font-family:ui-monospace,"Hiragino Kaku Gothic ProN",monospace;font-size:11px;line-height:1.95;color:#3d3d3d;tab-size:2}.detail-actions{padding:15px 23px 20px;display:flex;gap:8px;align-items:center}.primary{background:var(--accent);color:white;border-color:var(--accent);flex:1;font-size:12px}.primary:hover{background:#404040}.detail-actions .reset-draft{font-size:10px}.draft-note{font-size:9px;color:var(--muted);padding:0 23px 15px;margin:0}.mobile-back{display:none}.pagination{display:flex;gap:20px;align-items:center;justify-content:center;margin:24px 0;color:var(--muted);font-size:11px}.pagination button{font-size:11px}footer{border-top:1px solid var(--line);padding:17px 0;font-size:9px;color:var(--muted);line-height:1.8}.empty{padding:45px 20px;background:white;border:1px dashed var(--line);border-radius:10px;line-height:2;color:var(--muted);font-size:12px}.empty button{display:block;margin-top:15px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 22px;border-radius:8px;font-size:12px;z-index:20;opacity:0;pointer-events:none}#toast.show{opacity:1}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1500px){.workspace{padding:40px 48px}.library-layout{grid-template-columns:minmax(400px,1fr) minmax(430px,1fr)}}@media(max-width:1100px){.sidebar{width:205px;padding:25px 13px}main{margin-left:205px}.workspace{padding:26px 22px}.library-layout{grid-template-columns:1fr 1fr;gap:14px}.detail-head{padding:18px}.detail-toolbar,.detail-actions{padding:13px}.detail-editor{padding:0 13px}.filters{gap:12px}.filters>div{display:block}.filters label{display:block;margin-bottom:5px}.result-header>span{display:none}}@media(max-width:760px){.sidebar{position:static;width:100%;display:block;padding:16px;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0 0 14px;font-size:10px;line-height:1.5}.brand b{font-size:15px}.mark{width:35px;height:38px;font-size:33px;line-height:28px}.side-label,.sidebar-bottom,#kinds{display:none}#navigation,#stages{display:flex;gap:5px;overflow:auto}#stages{margin-top:8px}.nav{width:auto;white-space:nowrap;flex:1;justify-content:center;font-size:11px;padding:10px 8px;min-height:42px}.nav>span:last-child:not(:first-child){margin-left:4px}.step-num{margin-right:6px}main{margin:0}.topbar{display:none}.workspace{padding:24px 16px}.page-heading{margin-bottom:20px}h1{font-size:22px}.count-tag{font-size:10px;padding:6px}.eyebrow{font-size:9px}.searchbox{gap:8px;padding:5px 10px}.searchbox input{font-size:12px}.searchbox select{max-width:102px;padding:8px 3px;font-size:10px}.quick{gap:6px;margin-bottom:20px}.quick>span{width:100%}.quick button{min-height:38px}.filters{flex-wrap:wrap;gap:12px}.filters select{max-width:200px;min-height:40px}.text-button{margin-left:0}.library-layout{display:block}.detail{display:none}.detail.open{display:flex;position:fixed;inset:0;z-index:10;border:0;border-radius:0;max-height:none;min-height:0}.detail-head{padding:15px 20px}.mobile-back{display:block;border:0;padding:0;margin-bottom:8px;min-height:35px;color:var(--accent);background:none}.detail-editor{flex:1;min-height:0;padding:0 20px}.detail-editor textarea{height:100%;resize:none;min-height:100px;font-size:12px}.detail-toolbar,.detail-actions{padding:13px 20px}.detail-actions{padding-bottom:20px}.detail-actions button{min-height:44px}.detail-head h2{font-size:18px;margin:6px 0}.prompt-card{padding:17px}.card-title{font-size:14px}.card-copy{min-height:38px}.favorite{min-height:44px;min-width:44px}.detail-meta{max-height:50px;overflow:auto}.notice{margin-top:8px}.draft-note{padding-bottom:12px}.desktop-only{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

@media(max-width:760px){#kinds{display:flex;overflow-x:auto;gap:5px;margin-top:6px}#kinds .nav{flex:none;font-size:10px;border:1px solid var(--line);min-height:36px}.sidebar-bottom{display:flex;margin:8px 0 0;padding:0;align-items:center;gap:4px}.sidebar-bottom button{width:auto;margin:0 0 0 auto;border:0;padding:4px 8px;min-height:32px}.detail.open~*{visibility:hidden}}

@media(max-width:760px){body.mobile-detail-open{overflow:hidden}}

/* Keep the working content close to the search controls. */
.workspace{padding-top:26px}.page-heading{margin-bottom:20px}.quick{margin-bottom:20px}
@media(min-width:761px){.detail{height:calc(100vh - 340px);min-height:380px}.detail-head{padding:16px 20px 12px}.detail-head h2{font-size:17px;margin:9px 0}.detail-toolbar{padding:10px 20px}.detail-editor{min-height:80px;padding:0 20px}.detail-editor textarea{height:100%;min-height:80px;resize:none}.detail-actions{padding:12px 20px}.draft-note{padding:0 20px 12px}.list{max-height:calc(100vh - 340px);min-height:380px;overflow-y:auto;padding-right:5px;overscroll-behavior:contain}.pagination{margin:16px 0}}
@media(max-width:760px){.sidebar{padding:13px 16px}.brand{margin-bottom:10px}.workspace{padding-top:20px}.page-heading{margin-bottom:16px}h1{font-size:21px}.quick{flex-wrap:nowrap;overflow-x:auto;margin:10px 0 16px;padding-bottom:3px}.quick>span{display:none}.quick button{flex-shrink:0;min-height:34px}.filters{display:grid;grid-template-columns:minmax(0,1fr) 100px 44px;gap:8px;padding-bottom:12px}.filters select{max-width:none;width:100%}.filters .text-button{padding:6px 0;align-self:end}.result-header{margin:7px 0}.sidebar-bottom{font-size:9px}.sidebar-bottom button{font-size:10px}}

#mobileKind{display:none}.summary{font-size:12px}.badge,.kind,.collection-name{font-size:10px}textarea{font-size:12px}
@media(max-width:760px){#kinds{display:none}#mobileKind{display:block;width:100%;max-width:none;margin:6px 0 0;min-height:38px;background:transparent;font-size:11px}.sidebar-bottom{margin-top:4px}}

/* Color identifies work stages only; selection uses a neutral surface. */
@media(max-width:760px){.filters{grid-template-columns:minmax(0,1fr) 60px}.filters select{max-width:200px}.filters .text-button{justify-self:end}}

/* Dense title list: browse first, open the editor only on demand. */
.workspace{max-width:none;padding:22px 28px 12px}.page-heading{margin-bottom:14px}h1{font-size:23px}.searchbox{height:46px;box-shadow:none}.quick{margin:10px 0 8px;gap:6px}.quick button{min-height:28px}.result-header{margin:0;min-height:46px;gap:12px}.result-header p{margin:0}.list-controls{display:flex;align-items:center;gap:12px}.list-controls select{border:0;background:transparent}.list-controls .text-button{margin:0}.library-layout{display:block}.list{display:block;max-height:calc(100dvh - 253px);min-height:0;overflow-y:auto;padding:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.prompt-card{display:flex;align-items:center;gap:12px;min-height:42px;padding:0 10px 0 4px;border:0;border-bottom:1px solid #ededed;border-radius:0;background:white;transition:none}.prompt-card:last-child{border-bottom:0}.prompt-card:hover{background:#f7f7f7}.prompt-card.selected{border-color:#ededed;background:#ededed;box-shadow:none}.prompt-card .favorite{position:static;flex:0 0 32px;min-width:32px;min-height:38px;padding:0;font-size:18px}.prompt-card .card-title{flex:1;min-width:0;min-height:40px;display:flex;align-items:center;font-weight:500;font-size:13px;line-height:1.5;padding:7px 0;overflow-wrap:anywhere}.prompt-card .badge{flex-shrink:0;padding:3px 6px}.prompt-card .card-copy{flex-shrink:0;min-height:30px;padding:4px 10px;font-size:11px}.pagination{margin:10px 0;gap:14px}.pagination button{min-height:30px;padding:4px 10px}footer{font-size:9px;padding:9px 0}.detail{display:none}.detail.open{position:fixed;inset:16px 16px 16px auto;margin:0;display:flex;width:min(600px,calc(100vw - 32px));height:calc(100dvh - 32px);max-height:none;min-height:0;max-width:none;z-index:10;border:1px solid var(--line);border-radius:10px;padding:0;color:var(--ink);box-shadow:0 12px 50px #0002}.detail::backdrop{background:#0003}.mobile-back{display:block;min-height:32px;border:0;background:none;padding:0;font-size:12px;margin-bottom:8px;color:var(--ink)}.detail-head{flex-shrink:0;max-height:35%;overflow:auto}.detail-editor{flex:1;min-height:0}.detail-editor textarea{height:100%;min-height:0}.detail-toolbar,.detail-actions,.draft-note{flex-shrink:0}.detail-actions .primary{min-height:42px}
@media(max-width:760px){.sidebar{padding:9px 12px}.brand{display:none}.sidebar-bottom{display:none}#navigation .nav,#stages .nav{min-height:36px;padding:8px 5px;font-size:11px}#stages{margin-top:3px}.workspace{padding:14px 12px 10px}.page-heading{margin-bottom:10px}h1{font-size:19px}.count-tag{font-size:9px}.searchbox{height:42px}.quick{margin:7px 0 3px;padding-bottom:2px}.quick button{min-height:30px}.result-header{min-height:40px}.list-controls{gap:2px}.list-controls select{font-size:10px;padding-right:15px}.list{max-height:calc(100dvh - 304px);min-height:0}.prompt-card{gap:7px;padding-right:4px;min-height:44px}.prompt-card .card-title{font-size:12px;min-height:44px;padding:8px 0}.prompt-card .favorite{flex-basis:28px;min-width:28px;min-height:44px}.prompt-card .card-copy{min-height:40px;padding:4px 6px;font-size:10px}.prompt-card .badge{font-size:9px;padding:3px 4px}.detail.open{inset:0;width:100%;height:100dvh;border:0;border-radius:0}.detail-head{padding:12px 18px}.detail-editor{padding:0 18px}.detail-toolbar,.detail-actions{padding:10px 18px}.detail-actions{padding-bottom:max(14px,env(safe-area-inset-bottom))}footer{display:none}}

[hidden]{display:none!important}.categories{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0 6px}.categories button{min-height:30px;padding:5px 9px;font-size:11px;background:transparent;border-color:transparent;white-space:nowrap}.categories button span{color:var(--muted);font-size:10px;margin-left:4px}.categories button:hover{background:#f0f0f0}.categories button.active{background:#e7e7e7;font-weight:600}.workspace:has(.categories:not([hidden])) .list{max-height:calc(100dvh - 294px)}
@media(max-width:760px){.categories{flex-wrap:nowrap;overflow-x:auto;margin:7px 0 3px;padding-bottom:3px}.categories button{min-height:34px;font-size:11px}.workspace:has(.categories:not([hidden])) .list{max-height:calc(100dvh - 312px)}}

.status-tag{font-size:9px;color:#777;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}.detail-meta details{margin-top:5px}.detail-meta summary{cursor:pointer}.archive-nav{margin-top:10px;border-top:1px solid var(--line);padding-top:8px}@media(max-width:760px){.archive-nav{display:flex;margin-top:4px;padding-top:3px}.archive-nav .nav{font-size:10px;min-height:30px}.status-tag{max-width:48px;font-size:8px}.prompt-card{gap:5px}.workspace:has(.categories:not([hidden])) .list{max-height:calc(100dvh - 350px)}}

.brand{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin-bottom:28px}.brand img{width:168px;height:auto;display:block}.brand>span{font-size:10px;letter-spacing:.1em;align-self:flex-end;white-space:nowrap;font-weight:600}.detail-head{position:relative;padding-right:60px}.detail-close{position:absolute;right:12px;top:10px;width:40px;height:40px;padding:0;border:0;background:transparent;font-size:28px;line-height:1;font-weight:300}.detail-close:hover{background:#eee}.detail-editor{padding-top:16px}@media(max-width:760px){.brand{display:flex;gap:4px;width:150px;margin-bottom:10px}.brand img{width:150px}.brand>span{font-size:8px}.detail-head{padding-right:58px}.detail-close{width:44px;height:44px;right:7px;top:6px}.list,.workspace:has(.categories:not([hidden])) .list{max-height:calc(100dvh - 430px)}}

/* Public-facing navigation and compact, left-aligned identity. */
.brand{align-items:flex-start;width:auto;gap:7px}.brand img{width:120px;height:auto}.brand>span{align-self:flex-start;font-size:9px;letter-spacing:.07em}.detail.open{max-width:calc(100vw - 32px)}
@media(max-width:760px){.brand{width:auto;margin-bottom:9px;gap:5px}.brand img{width:110px}.brand>span{font-size:8px}.detail.open{inset:12px;width:calc(100vw - 24px);max-width:none;height:calc(100dvh - 24px);border:1px solid var(--line);border-radius:10px}.list,.workspace:has(.categories:not([hidden])) .list{max-height:calc(100dvh - 370px)}}

/* Work routes: compact directory and an ordered, reusable work sequence. */
.route-intro{font-size:13px;color:var(--muted);margin:0 0 22px;line-height:1.8}.route-filters{display:flex;flex-wrap:wrap;gap:5px;margin:14px 0}.route-filters button{background:none;border-color:transparent;font-size:12px;min-height:40px}.route-filters button.active{background:#e8e8e8;font-weight:600}#routeMatches{font-size:11px;color:var(--muted);margin:18px 0}.route-section{margin:24px 0 30px}.route-section h2{font-size:12px;color:var(--muted);font-weight:500;margin-bottom:10px}.route-links{display:grid;grid-template-columns:1fr 1fr;column-gap:26px}.route-link{display:flex;gap:14px;align-items:center;justify-content:space-between;min-height:83px;padding:16px 8px;border-top:1px solid var(--line);color:var(--ink);text-decoration:none}.route-link:hover{background:#f0f0f0}.route-link strong{font-size:15px;font-weight:600}.route-link small{display:block;font-size:11px;color:var(--muted);margin-top:8px;line-height:1.6}.route-length{font-size:11px;white-space:nowrap;color:var(--muted)}.route-length span{margin-left:16px;font-size:18px;color:var(--ink)}.route-back{display:inline-block;font-size:12px;color:var(--muted);margin:0 0 24px;text-decoration:none}.route-controls{display:flex;align-items:center;gap:12px;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.route-controls label{font-size:12px}.route-controls select{font-size:12px;min-height:40px}.route-prerequisite{font-size:11px;color:var(--muted);line-height:1.8;margin:12px 0 22px}.route-phase{margin:20px 0}.route-phase h2{margin:0 0 7px}.route-phase .badge{font-size:12px;font-weight:500;padding:5px 9px}.route-phase ol{margin:0;padding:0;list-style:none}.route-step{display:flex;align-items:center;gap:16px;padding:17px 4px;border-bottom:1px solid var(--line)}.route-check{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:11px;min-height:44px;cursor:pointer}.route-check input{accent-color:#242424;width:17px;height:17px;margin:0}.route-step-body{flex:1;min-width:0}.route-step-body .card-title{font-size:14px;min-height:28px}.route-step-body p{font-size:11px;color:var(--muted);line-height:1.7;margin:4px 0 0}.route-step-body .route-when{font-size:10px;margin:0 0 4px}.route-step.done{background:#f3f3f3}.route-step.done .route-check span{font-weight:700;color:var(--ink)}.route-step .card-copy{min-height:40px}.route-footnote{font-size:10px;color:var(--muted);line-height:1.8;margin-top:26px}#routePage{max-width:1200px;margin-left:0}#routePage h1{font-size:24px}
@media(max-width:760px){#workRoutes{display:inline-flex;justify-content:flex-start;width:auto;min-height:40px;margin-bottom:5px;padding:8px}.route-links{grid-template-columns:1fr}.route-section{margin:20px 0}.route-link{min-height:77px;padding:14px 2px}.route-filters{gap:2px}.route-filters button{font-size:11px;padding:8px}.route-controls{flex-wrap:wrap;gap:7px}.route-controls .text-button{margin-left:auto}.route-controls select{max-width:210px}.route-step{gap:10px;padding:14px 0}.route-check{gap:6px;flex-direction:column;justify-content:center}.route-step-body .card-title{font-size:13px}.route-step-body p{font-size:10px}.route-intro{font-size:12px;margin-bottom:16px}#routePage h1{font-size:21px}.route-back{margin-bottom:18px}.route-length span{margin-left:8px}}
.route-step{padding-top:12px;padding-bottom:12px}
@media(max-width:760px){.sidebar{position:relative}#workRoutes{position:absolute;right:12px;top:12px;margin:0}.route-step{padding-top:12px;padding-bottom:12px}}
/* Compact work directory. */
.route-link{gap:14px;padding:14px 0;justify-content:flex-start}.route-label{flex:1;min-width:0}.route-length{margin-left:auto;padding-right:4px}.route-link strong{line-height:1.6}.route-link small{margin-top:5px}
@media(min-width:761px) and (max-width:1050px){.route-links{column-gap:22px}.route-link{gap:11px}.route-link strong{font-size:13px}.route-link small{font-size:10px}.route-length{font-size:10px}}
@media(max-width:760px){.route-link{gap:12px;min-height:92px;padding:13px 0}.route-link strong{font-size:14px}.route-link small{font-size:10px}.route-length{font-size:10px}}


.route-title{display:flex;align-items:center;gap:14px;min-width:0}.route-title h1{min-width:0}.page-heading:has(.route-title){gap:14px}
@media(max-width:760px){.route-title{gap:10px}#routePage .route-title h1{font-size:19px;line-height:1.5}.page-heading:has(.route-title){align-items:center;gap:8px}}

/* Stage colours from 0yen-kawai-university/curriculum.module.css. */
:root{--know-fill:#b8f0de;--know-ink:#24243b;--think-fill:#ffedaf;--think-ink:#24243b;--do-fill:#ffdbc2;--do-ink:#24243b}
.badge.stage-01,#stages [data-stage="01_知る"]{--stage-fill:var(--know-fill);--stage-ink:var(--know-ink)}
.badge.stage-02,#stages [data-stage="02_考える"]{--stage-fill:var(--think-fill);--stage-ink:var(--think-ink)}
.badge.stage-03,#stages [data-stage="03_行う"]{--stage-fill:var(--do-fill);--stage-ink:var(--do-ink)}
.badge[class*="stage-"]{background:var(--stage-fill);color:var(--stage-ink)}
#stages .nav>span:first-child,#stages .step-num{color:var(--stage-ink)}
#stages .nav.active,#stages .nav:hover{background:var(--stage-fill)}
#stages .nav.active>span{color:var(--stage-ink)}

.brand img{width:100px}.brand>span{font-size:8px}
#stages .step-num{background:var(--stage-fill);padding:3px 4px;border-radius:3px}
@media(max-width:760px){.brand img{width:96px}}

/* Task categories identify the purpose directly in search results. */
.usage-tag{font-size:10px;line-height:1.5;color:#595959;background:#f1f1f1;border-radius:4px;padding:3px 6px;white-space:nowrap;flex-shrink:0}
@media(max-width:760px){.prompt-card{display:grid;grid-template-columns:28px minmax(0,1fr) auto auto;column-gap:6px;row-gap:0;padding:5px 4px}.prompt-card .favorite{grid-column:1;grid-row:1 / 3}.prompt-card .card-title{grid-column:2;grid-row:1;min-height:28px;padding:4px 0}.prompt-card .usage-tag{grid-column:2;grid-row:2;justify-self:start;font-size:9px;margin-bottom:5px}.prompt-card .badge{grid-column:3;grid-row:1 / 3}.prompt-card .card-copy{grid-column:4;grid-row:1 / 3}}
