:root{font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Hiragino Kaku Gothic ProN",sans-serif;color:#173b36;background:#f3f6f2;font-synthesis:none;line-height:1.7;--accent:#17685d;--line:#d2ded7;--muted:#526c65}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ad7900;outline-offset:3px}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.45rem,3vw,2.3rem);line-height:1.5;margin-bottom:.6rem;letter-spacing:.015em}h2{font-size:1.3rem;line-height:1.5;margin-bottom:.6rem}h3{font-size:1.1rem;line-height:1.5;margin-bottom:.8rem}p{margin-bottom:1rem}.skip{position:absolute;top:-100px;left:1rem;background:white;padding:1rem;z-index:5}.skip:focus{top:0}.masthead{max-width:1260px;margin:auto;padding:2.5rem 2rem 1.4rem;display:flex;justify-content:space-between;gap:2rem;border-bottom:1px solid var(--line)}.masthead>div:first-child{max-width:780px}.masthead p{color:var(--muted);margin-bottom:0}.eyebrow{font-size:.8rem;color:var(--accent);letter-spacing:.12em;font-weight:700;display:block;margin-bottom:.6rem}#identity{display:flex;flex-direction:column;align-items:flex-end;gap:.6rem;min-width:160px}.identity{font-size:.85rem}main{max-width:1260px;margin:auto;padding:1.5rem 2rem 4rem}footer{border-top:1px solid var(--line);padding:1.6rem 2rem;max-width:1260px;margin:auto;color:var(--muted);font-size:.85rem}.panel,.resource{background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.4rem;margin-bottom:1.3rem}.panel.login{max-width:480px;margin:2rem auto}.muted{font-size:.88rem;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.55rem 1rem;background:var(--accent);color:white;border:1px solid var(--accent);border-radius:7px;font-weight:650;font-size:.9rem}.button.secondary{color:#23534a;background:#fff;border-color:#9bb5aa}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin-top:1rem}.actions .check{margin:0}.tabs{display:flex;gap:.3rem;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:1.4rem}.tab{padding:.8rem 1.1rem;min-height:44px;background:transparent;border:0;border-bottom:3px solid transparent;color:var(--muted);font-weight:700}.tab.active{color:var(--accent);border-bottom-color:var(--accent)}.control{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.9rem;font-size:.9rem;font-weight:600}input:not([type=checkbox]),select,textarea{width:100%;border:1px solid #9db4aa;background:white;color:#173b36;border-radius:6px;padding:.6rem .7rem;min-height:44px;font-size:16px}input:disabled,select:disabled{background:#f0f3ef;color:#526c65}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.2rem 1.4rem;margin:.8rem 0}.choices{border:1px solid var(--line);border-radius:6px;margin:0 0 1rem;padding:.5rem .8rem;font-size:.9rem;min-width:0}.choices legend{padding:0 .3rem;font-weight:600}.check{display:inline-flex;align-items:center;gap:.4rem;margin:.25rem .9rem .3rem 0;min-height:32px;cursor:pointer;font-weight:400}.check input{width:19px;height:19px;accent-color:var(--accent);flex-shrink:0}.resources-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.resource{margin:0;min-width:0}.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem;margin-bottom:1rem}.card-heading .muted{font-size:.75rem;text-align:right}.badge{display:inline-block;white-space:nowrap;background:#e5f0ed;color:#254f47;padding:.15rem .7rem;border-radius:30px;font-size:.85rem;font-weight:700}.badge.stale{background:#fff0cd;color:#765000}dl{display:grid;grid-template-columns:9rem minmax(0,1fr);gap:.35rem .7rem;font-size:.86rem;margin:.9rem 0}dt{color:var(--muted)}dd{margin:0;overflow-wrap:anywhere}.freshness{border-top:1px solid #e7ede8;padding-top:.8rem;font-size:.8rem;color:var(--muted);margin:.9rem 0 0}.freshness.due{color:#805500}.stale-note{background:#fff6e0;color:#765000;padding:.6rem .8rem;border-radius:6px;font-size:.85rem;margin:.8rem 0}.resource .actions{align-items:stretch}.resource .button{font-size:.8rem}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:1.7rem 0 1rem}.section-heading .actions{margin:0}.section-heading h2{margin:0}.message:empty{display:none}.message{padding:.8rem 1rem;background:#e3eee8;border:1px solid #aac5b6;border-radius:7px;margin-bottom:1rem}.error{color:#9e2d28}.message.error{background:#fff0eb;border-color:#e4b0a7}.empty{padding:2rem;text-align:center;color:var(--muted);border:1px dashed #a9bdb3;border-radius:8px}.demo-notice{font-size:.85rem;padding:.6rem 1rem;border-left:4px solid #9f7a15;background:#fff4ce}.editor{border:1px solid var(--line);border-radius:12px;padding:1.7rem;max-width:720px;width:calc(100% - 2rem);max-height:90dvh;color:#173b36}.editor::backdrop{background:#102e2866}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.3rem}.account-row{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1rem 0;border-bottom:1px solid var(--line)}.account-row p{margin:0}.audit-row{font-size:.83rem;border-bottom:1px solid #e7ede8;padding:.45rem 0;margin:0}.table-scroll{overflow-x:auto;margin:1rem 0 1.5rem}table{width:100%;border-collapse:collapse;font-size:.85rem;text-align:left}th,td{padding:.7rem;border-bottom:1px solid var(--line);white-space:nowrap}thead{background:#f0f5f0}tbody th{font-weight:500}td{text-align:right}
@media(max-width:700px){.masthead{padding:1.4rem 1rem;display:block}.masthead p{font-size:.85rem}#identity{align-items:flex-start;flex-direction:row;flex-wrap:wrap;margin-top:1rem;justify-content:space-between;min-width:0}main{padding:1rem 1rem 3rem}footer{padding:1rem}.fields,.resources-grid,.admin-grid{grid-template-columns:1fr}.panel,.resource{padding:1rem}.section-heading{align-items:flex-start;flex-direction:column}.tabs{gap:0}.tab{padding:.7rem .65rem;font-size:.82rem}dl{grid-template-columns:7.5rem minmax(0,1fr)}.actions .button{flex-grow:1}.resource .actions{flex-direction:column}.editor{padding:1rem}.account-row{align-items:flex-start;flex-wrap:wrap}.card-heading{flex-wrap:wrap}.card-heading .muted{text-align:left}.search .fields{gap:0}}
.search-details summary{cursor:pointer;font-size:.9rem;font-weight:650;min-height:44px;padding:.5rem 0;color:var(--accent)}
@media(max-width:700px){.table-scroll table{table-layout:fixed;font-size:.8rem}.table-scroll th,.table-scroll td{white-space:normal;overflow-wrap:anywhere;padding:.6rem .3rem}.table-scroll th:first-child{width:40%}}
