:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;color:#17233b;background:#f6f8fc;font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.35;cursor:default}.top{height:72px;padding:0 max(22px,calc((100vw - 1010px)/2));display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e6eaf0;position:sticky;top:0;z-index:4}.brand{display:flex;gap:10px;align-items:center;font-size:20px;font-weight:800;letter-spacing:-.4px}.brand small{display:block;color:#8791a5;font-size:10px;letter-spacing:1.5px;font-weight:600}.logo{display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#245aa3,#1d3263);width:38px;height:38px;border-radius:11px;font-size:25px}.actions,.lineactions{display:flex;gap:9px;align-items:center}.primary{background:#244a88;color:white;border:0;border-radius:10px;padding:11px 17px;font-weight:700}.light,.iconbtn,.filebutton{background:#fff;border:1px solid #e1e6ef;border-radius:10px;padding:10px 12px;color:#26456f;font-weight:600}.iconbtn{font-size:20px;width:42px;height:42px;padding:0}.textbtn{background:transparent;border:none;color:#244a88;padding:8px;font-weight:700}main{max-width:1010px;margin:auto;padding:34px 20px 80px}.hero{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:28px}.hero h1{font-size:clamp(20px,3vw,27px);letter-spacing:-.5px;margin:0 0 9px}.hero p{color:#68778e;margin:0}.count{min-width:100px;text-align:center;padding:13px;background:#e9eef8;border-radius:12px}.count strong{display:block;font-size:30px;color:#234b8a}.count span{font-size:11px;color:#64748b}.filters{background:white;border:1px solid #e9edf4;border-radius:16px;padding:16px;box-shadow:0 4px 22px #263c6510}.searchbar{display:flex;align-items:center;gap:9px;border:1px solid #e1e7ef;border-radius:11px;padding:0 12px}.searchbar span{font-size:24px;color:#7c889b}.searchbar input{width:100%;border:0;outline:0;padding:13px 0;background:transparent}.filterrow{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.filterrow select{padding:10px;border:1px solid #e1e7ef;background:#fff;border-radius:10px;flex:1;min-width:135px;color:#263b58}.tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.tags:empty{display:none}.chip{border:1px solid #d9e2f0;background:#f6f8fc;color:#526784;border-radius:40px;padding:6px 10px;font-size:12px}.chip.on{background:#264f8d;color:white}.sectiontitle{display:flex;justify-content:space-between;align-items:center;margin:24px 0 13px}.sectiontitle b{font-size:17px}.sectiontitle span{color:#8791a1;font-size:12px;margin-left:12px}.cards{display:flex;flex-direction:column;gap:12px}.card{border:1px solid #e7ebf1;background:#fff;border-radius:15px;padding:13px;display:flex;gap:16px;position:relative;min-height:120px;cursor:pointer;box-shadow:0 3px 15px #1a355b07}.card:active{transform:scale(.998)}.thumb{width:156px;height:130px;object-fit:cover;background:#e8eef6;border-radius:10px;flex-shrink:0}.placeholder{width:156px;height:130px;border-radius:10px;background:linear-gradient(145deg,#dfe7f5,#edf2f9);display:grid;place-items:center;color:#7c91b5;font-size:32px;flex-shrink:0}.cardbody{min-width:0;flex:1}.cardbody h3{margin:4px 0 5px;font-size:16px;line-height:1.5}.cardbody p{color:#516078;line-height:1.6;font-size:13px;white-space:pre-line;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 9px}.meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:11px;color:#8995a6}.pill{background:#eaf0fa;color:#365a89;border-radius:20px;padding:4px 8px;font-size:11px}.selectMark{align-self:center;margin-right:3px;width:20px;height:20px;accent-color:#265499}.cards.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:14px}.gallery .card{display:block;padding:9px}.gallery .thumb,.gallery .placeholder{width:100%;height:auto;aspect-ratio:1}.gallery .cardbody h3{font-size:14px}.gallery .cardbody p{display:none}.gallery .meta{padding-bottom:5px}.gallery .selectMark{position:absolute;right:18px;top:18px}.empty{text-align:center;padding:70px 12px;color:#78869c}.empty[hidden]{display:none}.empty strong{display:block;color:#263a56;font-size:18px}.emptyicon{font-size:57px;color:#9db0d3}.empty p{font-size:13px}dialog{border:0;padding:0;box-shadow:0 20px 80px #07173055;border-radius:17px;width:min(670px,calc(100vw - 20px));max-height:93dvh;background:white}dialog::backdrop{background:#0c1c32a0}.modal{display:flex;flex-direction:column;max-height:93dvh}.modalhead{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e8edf4;padding:12px 17px;position:sticky;top:0;background:white;z-index:1}.modalhead h2{font-size:17px;margin:0}.modalbody{padding:20px;overflow:auto;display:flex;flex-direction:column;gap:17px}.modalbody>label:not(.check),.two label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700}.modalbody input:not([type=file]):not([type=checkbox]),.modalbody textarea,.modalbody select{width:100%;padding:11px;border:1px solid #dce4ef;border-radius:9px;background:white;color:#192944;font-weight:400}.modalbody textarea{resize:vertical;min-height:70px}.modalbody small,.hint{font-size:12px;color:#7e8a9c;line-height:1.6}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.photobar{display:flex;align-items:center;justify-content:space-between;gap:7px}.photoGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.photoGrid .photo{position:relative}.photoGrid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:7px}.photoGrid button{position:absolute;top:4px;right:4px;background:#fff;color:#a11d30;border:0;border-radius:50%;width:26px;height:26px}.filebutton{display:inline-block;cursor:pointer}.danger{color:#ad2338;background:#fff;border:1px solid #e8bdc5;border-radius:10px;padding:10px}.infobox{background:#edf3fc;padding:15px;border-radius:11px;color:#344e71}.infobox p{margin-bottom:0;line-height:1.6;font-size:13px}.block{width:100%}.center{text-align:center}.check{display:flex;align-items:center;gap:8px}.detailimg{width:100%;max-height:430px;object-fit:contain;background:#f2f5f9;border-radius:9px}.detailtitle{font-size:21px;margin:0}.detailsection{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;color:#34445e}.detailphotos{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}#toast{position:fixed;z-index:20;bottom:20px;left:50%;transform:translateX(-50%);max-width:90%;border-radius:10px;background:#223b5d;color:white;padding:11px 17px;opacity:0;pointer-events:none;transition:opacity .2s;font-size:13px}#toast.show{opacity:1}#printRoot{display:none}@media(max-width:570px){.top{height:66px;padding:0 13px}.brand{font-size:17px}.brand small{font-size:9px}.primary{padding:10px 12px}main{padding:22px 13px}.hero{align-items:flex-start}.hero p{font-size:12px;line-height:1.6}.count{min-width:74px;padding:9px}.count strong{font-size:23px}.card{gap:11px;padding:10px;min-height:105px}.thumb,.placeholder{width:112px;height:112px}.cardbody h3{font-size:14px}.cardbody p{font-size:12px}.photoGrid{grid-template-columns:repeat(3,1fr)}.modalbody{padding:15px}.filterrow select{min-width:100px;font-size:12px}.gallery .thumb,.gallery .placeholder{width:100%;height:auto}}

.sharetools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0}.sharetools .hint{font-size:.78rem}.shareBanner{position:fixed;z-index:30;bottom:env(safe-area-inset-bottom,0px);left:10px;right:10px;padding:10px 14px;border-radius:12px;background:#e9effb;border:1px solid #9fb2d6;color:#23385e;box-shadow:0 6px 24px #1e355b25;display:flex;gap:8px;align-items:center;justify-content:space-between}.shareBanner[hidden]{display:none}

.autoFetch{display:flex;flex-direction:column;gap:7px;padding:12px;border:1px solid #dde5f2;border-radius:11px;background:#f7f9fd}.autoFetch button{align-self:flex-start}
