*{box-sizing:border-box}body{margin:0;font:15px/1.45 Inter,system-ui,sans-serif;color:#262925;background:#fafaf8}button,input,select,textarea{font:inherit;color:inherit}button,summary,select{cursor:pointer}button{background:transparent;border:0}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #a37104;outline-offset:2px}button:disabled{opacity:.55;cursor:wait}header{background:#303030}.bar,main{max-width:830px;margin:auto;padding:0 24px}.bar,.heading,.partrow,.listhead,.actions,.button,.headbtn,.textbutton,.photo,.dialoghead,.listrow{display:flex;align-items:center}.bar,.heading,.listhead,.dialoghead,.listrow{justify-content:space-between}.bar{height:60px}.bar img{width:137px}.headbtn{color:#eee;gap:8px;font-size:14px;min-height:44px}.heading{gap:10px;margin:34px 0 4px}h1,h2,p{margin:0}h1{font-size:clamp(24px,4vw,39px);letter-spacing:-.055em;line-height:1.1}h2{font-size:19px;letter-spacing:-.025em}.textbutton{padding:8px 0;gap:7px;color:#686c62;font-size:14px}.textbutton .icon:last-child{width:13px}.icon{width:17px;height:17px;flex:none}.button{justify-content:center;gap:7px;font-weight:600;font-size:14px;border:1px solid #d5d7cf;padding:10px 14px;border-radius:7px;text-decoration:none;min-height:42px;background:white}.yellow{background:#ffbd26;border-color:#f0b124}.partslist{margin:23px 0 60px}.listhead{padding:0 2px 12px}.listhead span,.partrow small,.listrow small,.sub{color:#666e61;font-size:13px}#steps{border:1px solid #dcdfd5;border-radius:10px;background:white;overflow:hidden}.part+.part{border-top:1px solid #e4e6df}.partrow{width:100%;gap:11px;text-align:left;padding:14px 18px;min-height:55px}.partrow strong{font-weight:600;font-size:15px}.partrow small{margin-left:auto;white-space:nowrap}.partrow>.icon{color:#7e8578;width:14px}.expanded .partrow>.icon{transform:rotate(90deg)}.expanded{background:#fcfcf9}.partrow:hover{background:#f5f6f0}.indicator{width:9px;height:9px;border:1.5px solid #c3c8bc;border-radius:50%;flex:none}.indicator.done{background:#579062;border-color:#579062}.indicator.later{background:#edb23d;border-color:#edb23d}.indicator.na{background:#a3a89d}.editor{padding:18px 20px 22px;border-top:1px solid #dde1d6}.photos,.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.photo{border:1px solid #d8dcd0;background:white;gap:8px;padding:9px 10px;min-height:44px;border-radius:6px;text-align:left;font-size:14px}.photo img{width:36px;height:32px;object-fit:cover;border-radius:3px}.photo .icon:last-child{margin-left:auto;width:13px}.editor details{margin-top:12px}.editor summary,.link,.refs{font-size:14px;color:#4e5849}.editor summary{padding:6px 0}.fields{margin:8px 0 12px}.options{margin-top:12px}.options label{display:flex;align-items:center;gap:12px}.options select{border:1px solid #d6d9cf;border-radius:5px;background:white;padding:7px;font-size:13px}.wide{grid-column:1/-1}label{display:block;color:#52594b;font-size:13px}input:not([type=file]),textarea{display:block;background:white;width:100%;margin-top:4px;padding:9px 10px;border:1px solid #d6d9cf;border-radius:6px;font-size:16px}textarea{resize:vertical}.link{padding:7px 0;text-decoration:underline}.refs{display:inline-flex;gap:6px;align-items:center;margin-top:6px}pre{white-space:pre-wrap;overflow-wrap:anywhere}.notice,#warning:not(:empty){background:#fff5d9;border-radius:6px;padding:9px 12px;margin-top:10px;font-size:13px}.preview{width:100%;max-height:38vh;object-fit:contain;margin-bottom:12px}.actions{gap:8px;flex-wrap:wrap;margin-top:16px}dialog{border:1px solid #d7dbd0;border-radius:12px;width:min(520px,94vw);max-height:85dvh;padding:20px;color:inherit}dialog::backdrop{background:#161a1680}.dialoghead{gap:12px;margin-bottom:16px}.dialoghead button{font-size:22px;width:38px;height:38px}.listrow{width:100%;padding:12px 0;gap:10px;border-bottom:1px solid #e1e4dc;text-align:left}.formgrid{display:grid;gap:12px}#announce:not(:empty){position:fixed;bottom:16px;left:50%;transform:translateX(-50%);background:#282e25;color:white;padding:10px 14px;border-radius:6px}#shareStatus:not(:empty){margin-top:8px}
@media(max-width:560px){.bar,main{padding:0 14px}.bar{height:53px}.bar img{width:124px}.heading{margin-top:22px}.heading .button{padding:8px;font-size:13px}.partslist{margin-top:17px}.partrow{padding:12px;gap:8px;min-height:51px}.partrow small{font-size:12px}.editor{padding:16px 14px 20px}.photo{font-size:13px;gap:6px}.textbutton{font-size:13px}}@media(max-width:360px){.heading{align-items:flex-start;flex-wrap:wrap}.partrow{flex-wrap:wrap}.photos{grid-template-columns:1fr}}
#vision{margin:12px 0;display:grid;justify-items:start;gap:6px}#vision p,#vision small,#vision a{font-size:13px}

.partrow:focus-visible{outline-offset:-3px;border-radius:4px}
.expanded>.partrow{background:#f2f4ed}
.editor #values{border-block:1px solid #e0e4d8;padding-block:4px;margin-top:18px}
.editor summary{min-height:44px;align-content:center;padding:10px 0}
#vision{margin:18px 0;gap:12px;min-width:0}
.vision-result{width:100%;overflow-wrap:anywhere;padding:14px 16px;border-left:3px solid #d5aa48;background:#f4f5ee;border-radius:4px}
.vision-result strong{font-size:15px}
.vision-result>p{margin-top:5px}
#vision .vision-result details{margin:2px 0 0}
.vision-explanation{display:grid;gap:10px;line-height:1.6}
.editor .options{margin-top:16px}
@media(max-width:560px){
  .editor .photos,.editor .fields{grid-template-columns:minmax(0,1fr)}
  .editor .photo{min-width:0;min-height:52px;gap:12px;padding:10px 14px;font-size:15px}
  .editor .photo img{width:40px;height:36px;flex:none}
  .editor .options select{min-height:44px;max-width:100%;font-size:16px}
  .partrow{display:grid;grid-template-columns:9px minmax(0,1fr) minmax(0,auto) 14px}
  .partrow strong,.partrow small{overflow-wrap:anywhere;white-space:normal}
  .partrow small{max-width:12ch;text-align:right}
  .editor .button{max-width:100%;min-height:44px;white-space:normal;text-align:left}
}
#bookBox{margin-top:20px;background:white;border:1px solid #dcdfd5;border-radius:10px;overflow:hidden}
#bookBox .bookEditor{display:grid;gap:16px}
.bookEditor .actions,.bookEditor .fields,.bookEditor details{margin:0}
.bookEditor select{width:100%;margin:5px 0 12px;padding:9px;font:inherit;border:1px solid #d6d9cf;background:white;border-radius:6px}
#bookPages{display:flex;gap:10px;flex-wrap:wrap}#bookPages:empty{display:none}
.bookThumb{display:grid;gap:4px;font-size:12px}.bookThumb img{width:64px;height:64px;object-fit:cover;border-radius:5px}
#bookComparison table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px}#bookComparison th,#bookComparison td{text-align:left;font-weight:400;vertical-align:top;padding:8px 5px;overflow-wrap:anywhere;border-bottom:1px solid #ddd}#bookComparison thead th{font-weight:650}
@media(max-width:560px){#bookToggle{grid-template-columns:18px minmax(0,1fr) auto 14px}#bookToggle small{max-width:none}}
#bookReading:not(:empty){margin-top:14px}#bookReading label{display:flex;gap:8px;align-items:center;min-height:40px}#bookReading input[type=checkbox]{width:18px;height:18px;flex:none;margin:0}
