:root{--blue:#1e4a8a;--pale-blue:#e7effc;--ink:#172b4a;--muted:#5f6f88;--paper:#f5f8ff;--line:#dbe4f2;--amber:#fff2cf;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #3575cf;outline-offset:3px}#app{max-width:580px;margin:auto;min-height:100dvh;padding:0 20px calc(105px + env(safe-area-inset-bottom))}header{display:flex;align-items:center;gap:12px;padding:calc(24px + env(safe-area-inset-top)) 0 18px;position:relative}header .title{flex:1}h1{font-size:27px;line-height:1.2;letter-spacing:-.6px;margin:0}h2{font-size:20px;margin:0 0 14px}h3{font-size:17px;margin:0 0 10px}p{line-height:1.55;margin:8px 0}small,.small{font-size:14px;color:var(--muted);line-height:1.5}.muted{color:var(--muted)}.card{background:white;border:1px solid var(--line);border-radius:20px;padding:20px;margin:14px 0}.sage{background:var(--pale-blue)}.amber{background:var(--amber)}.button,button.primary{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:52px;border-radius:13px;border:1px solid var(--blue);background:var(--blue);color:white;text-decoration:none;padding:13px 16px;font-weight:600}.secondary{background:transparent!important;color:var(--blue)!important;border:1px solid var(--line)!important}.danger{color:#9e302a!important;border-color:#9e302a!important}.iconbtn{width:46px;height:46px;flex-shrink:0;background:white;border:1px solid var(--line);border-radius:13px;color:var(--blue);font-size:22px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.stack{display:grid;gap:10px}.split{display:grid;grid-template-columns:1fr 1fr;gap:10px}.listbtn{width:100%;text-align:left;background:white;color:var(--ink);border:0;border-bottom:1px solid var(--line);padding:16px 0;min-height:60px;display:flex;align-items:center;gap:12px}.listbtn:last-child{border-bottom:0}.listbtn .grow{flex:1;min-width:0}.arrow{font-size:24px;color:var(--muted)}.avatar{height:44px;width:44px;display:grid;place-items:center;background:var(--pale-blue);border-radius:50%;font-weight:700;color:var(--blue);flex-shrink:0}.pill{font-size:13px;display:inline-flex;border-radius:99px;padding:6px 10px;background:var(--pale-blue);color:var(--blue);line-height:1.3}.pill.warn{background:var(--amber);color:#805614}.pill.gray{background:#eef0f0;color:var(--muted)}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:580px;border-top:1px solid var(--line);background:rgba(255,255,255,.97);padding:9px 12px calc(9px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);z-index:5}nav button{border:0;background:none;color:var(--muted);padding:7px 0;display:grid;justify-items:center;gap:5px;min-height:55px;font-size:13px}nav button.active{color:var(--blue);font-weight:700}nav svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.8}label{display:block;font-size:15px;font-weight:600;margin:16px 0 7px}input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;min-height:50px;background:#fff;border:1px solid #c8d5e8;border-radius:12px;color:var(--ink);padding:13px;outline-offset:1px}textarea{min-height:95px;resize:vertical}form .primary{margin-top:20px}.check{display:flex;align-items:center;gap:12px;min-height:54px;padding:10px 0;margin:0;font-size:16px;font-weight:400;border-bottom:1px solid var(--line)}.check input{height:23px;width:23px;accent-color:var(--blue);flex-shrink:0}.check:last-child{border:0}.tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid var(--line);margin:0 0 18px;padding-bottom:4px}.tabs button{white-space:nowrap;min-height:48px;border:0;background:none;padding:10px 13px;color:var(--muted);font-weight:600;border-radius:10px}.tabs .active{background:var(--pale-blue);color:var(--blue)}.chips{display:flex;gap:8px;overflow-x:auto;padding:5px 0 12px}.chips button{flex-shrink:0;min-height:44px;border:1px solid var(--line);background:white;border-radius:12px;padding:10px 15px}.chips button.active{background:var(--blue);color:white}.timer{font-size:44px;font-weight:700;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:var(--blue);padding:8px 0 18px}.textlink{color:var(--blue);background:none;border:0;padding:12px 0;min-height:44px;font-weight:600;text-align:left}.empty{text-align:center;padding:28px 12px}.empty .symbol{font-size:38px;margin-bottom:12px}.status{display:flex;gap:7px;align-items:center;font-size:13px;color:var(--muted);margin-top:8px}.dot{height:7px;width:7px;border-radius:50%;background:#94a9c8}.dot.ready{background:#3971bc}.fieldhelp{font-size:14px;color:var(--muted);margin-top:6px}.metric{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.metric:last-child{border:0}.metric strong{font-size:20px}.progress{height:5px;border-radius:8px;background:var(--line);overflow:hidden;margin-bottom:15px}.progress span{display:block;height:100%;background:var(--blue)}details{background:white;border:1px solid var(--line);border-radius:16px;margin:12px 0;padding:0 16px}summary{cursor:pointer;font-weight:600;padding:17px 0;min-height:54px;line-height:1.4}details .body{padding:0 0 16px}ul,ol{padding-left:23px;line-height:1.65}li{margin:8px 0}.rating{display:grid;gap:8px}.rating label{border:1px solid var(--line);border-radius:12px;padding:13px;margin:0;font-weight:400;display:flex;align-items:center;gap:12px;min-height:50px}.rating input{height:20px;width:20px;accent-color:var(--blue)}.rating label:has(input:checked){background:var(--pale-blue);border-color:var(--blue)}.stickyaction{margin:20px 0}.note{white-space:pre-wrap;overflow-wrap:anywhere}.sectionhead{display:flex;justify-content:space-between;align-items:center;margin-top:24px}.sectionhead h2{margin:0}#toast{position:fixed;left:50%;transform:translateX(-50%);bottom:100px;max-width:90%;background:var(--ink);color:white;padding:14px 20px;border-radius:12px;z-index:15;opacity:0;pointer-events:none;transition:opacity .15s}#toast.show{opacity:1}.number{width:28px;height:28px;background:var(--pale-blue);color:var(--blue);border-radius:50%;display:inline-grid;place-items:center;font-weight:700;flex-shrink:0}.prompt{display:flex;gap:12px;align-items:flex-start;padding:15px 0;border-bottom:1px solid var(--line)}.prompt p{margin:0}.prompt:last-child{border:0}.mini{padding:14px}.badgecount{font-size:35px;color:var(--blue);font-weight:700}.reviewchips{display:flex;gap:10px}.reviewchips label{flex:1;margin:0;padding:12px;border:1px solid var(--line);border-radius:10px;text-align:center;font-weight:400}.reviewchips label:has(input:checked){background:var(--pale-blue)}.reviewchips input{accent-color:var(--blue)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:360px){#app{padding-left:14px;padding-right:14px}.card{padding:16px}.split{gap:7px}h1{font-size:24px}}@media(min-width:700px){body{background:#eaf0fa}#app{background:var(--paper);box-shadow:0 0 60px #173b7510}}

.credit{text-align:center;font-size:12px;color:var(--muted);padding:16px 0 4px;letter-spacing:.1px}.historynote{padding:14px 0;border-bottom:1px solid var(--line)}.historynote:last-child{border-bottom:0}.historynote:first-child{padding-top:0}.skill-toggle summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.skill-toggle summary>span:first-child{flex:1;min-width:140px}.skill-toggle summary:after{content:'+';color:var(--blue)}.skill-toggle[open] summary:after{content:'−'}.skill-toggle summary .pill{font-size:12px}.reviewchips{flex-wrap:wrap}.reviewchips label{flex:1 1 90px}

select{appearance:none;-webkit-appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%231e4a8a' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}input[type=file]{max-width:100%;white-space:normal}.historynote .small{font-variant-numeric:tabular-nums}

.tabs{background:var(--pale-blue);border:0;padding:5px;border-radius:14px;gap:3px}.tabs button{flex:1;padding:12px 9px;border-radius:10px;min-height:48px;font-size:15px}.tabs .active{background:var(--blue);color:white}.stage-caption{font-size:13px;color:var(--muted);margin:18px 0 8px}.checklist-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:4px 0 10px}.checklist-steps button{display:flex;flex-direction:column;align-items:center;gap:7px;background:none;color:var(--muted);border:0;padding:8px 2px;min-height:70px;font-size:13px;line-height:1.25}.checklist-steps .stepnum{display:grid;place-items:center;width:27px;height:27px;border:1px solid #bccce3;border-radius:50%;font-size:13px;background:white}.checklist-steps .active{color:var(--blue);font-weight:700}.checklist-steps .active .stepnum{border:2px solid var(--blue);background:var(--pale-blue)}.reviewactions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:16px}.historynote .textlink{padding:8px 12px;border:1px solid var(--line);border-radius:10px;min-height:44px}nav button{font-size:12px}.tabs button:focus-visible,.checklist-steps button:focus-visible{outline:3px solid #3575cf}

.expand-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 18px}.expand-controls .button{min-height:46px;font-size:14px;background:#fff!important}

main, .card, .body, .note, h1, h2, h3, .listbtn strong {overflow-wrap:anywhere}fieldset{border:0;padding:0;margin:16px 0}legend{font-size:15px;font-weight:600}button:disabled{opacity:.55;cursor:wait}.iconbtn{min-height:48px;min-width:48px}.rating label{min-height:44px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.creator-label{font-size:11px;line-height:1.4;letter-spacing:.2px;color:var(--blue);margin:0;padding:calc(14px + env(safe-area-inset-top)) 0 0;font-weight:500}header{padding-top:12px}
