@import "https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500&family=IBM+Plex+Sans+JP:wght@400;500;600;700&display=swap";
:root{--ink:#171717;--ink-2:#404040;--ink-3:#525252;--muted:#666;--faint:#8a8a8a;--bd:#e5e5e5;--bd-row:#ededed;--bd-strong:#d4d4d4;--bg-sub:#fafafa;--mono:"IBM Plex Mono", ui-monospace, monospace}*{box-sizing:border-box}body{color:var(--ink);background:#fff;margin:0;font-family:IBM Plex Sans JP,Hiragino Sans,Yu Gothic,sans-serif;font-size:14px;line-height:1.6}button,input,textarea,select{font:inherit;color:inherit}input[type=checkbox],input[type=radio]{accent-color:var(--ink)}input[type=checkbox]{width:16px;height:16px}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.mono{font-family:var(--mono)}.text{color:var(--ink-2);margin:0}.stack{flex-direction:column;gap:12px;display:flex}.consent-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.consent-row{border:1px solid var(--bd);border-radius:8px;align-items:center;gap:8px;min-height:44px;padding:0 12px;font-size:14px;display:flex}.consent-check{flex:none;margin:0}.consent-link{cursor:pointer;background:0 0;border:0;padding:0;font-weight:600;text-decoration:underline}.document-body{border:1px solid var(--bd);background:var(--bg-sub);min-height:0;color:var(--ink-2);border-radius:8px;padding:12px 14px;font-size:13.5px;overflow-y:auto}.document-section+.document-section{margin-top:14px}.document-heading{color:var(--ink);margin:0 0 4px;font-size:14px;font-weight:600}.document-paragraph{margin:0;line-height:1.7}.document-paragraph+.document-paragraph{margin-top:8px}.field.field-counted{flex-direction:row;justify-content:space-between;align-items:baseline}.textarea-document{min-height:240px;font-family:inherit}.document-page{word-break:break-word;font-size:14.5px;line-height:1.8}.document-page .document-heading{font-size:14.5px}.document-page .document-paragraph{line-height:1.8}.btn{background:var(--ink);color:#fff;cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;height:40px;padding:0 18px;font-weight:600;text-decoration:none;display:inline-flex}.btn:hover{color:#fff;background:#000}.btn:disabled{background:var(--bd-strong);cursor:not-allowed}.btn-small{height:38px;padding:0 16px;font-size:13px}.btn-sub{border:1px solid var(--bd-strong);cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;height:38px;padding:0 14px;font-size:13px;display:inline-flex}.btn-sub:disabled{color:var(--faint);cursor:not-allowed}.btn-text{cursor:pointer;background:0 0;border:0;border-radius:6px;height:30px;padding:0 8px;font-size:13px}.btn-text:hover{background:var(--bd-row)}.input{border:1px solid var(--bd-strong);background:#fff;border-radius:8px;min-width:0;height:38px;padding:0 12px;font-size:14px;font-weight:400}.textarea{border:1px solid var(--bd-strong);resize:vertical;border-radius:8px;padding:10px 12px;font-size:13.5px;line-height:1.6}.field{flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.section .stack>.btn{align-self:flex-start}.hint{color:var(--muted);margin:0;font-size:12px;font-weight:400}.file-picker{flex-direction:column;gap:8px;display:flex}.file-picker-label{font-size:13px;font-weight:600}.file-drop{background:var(--bg-sub);cursor:pointer;text-align:center;border:1.5px dashed #bdbdbd;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:96px;padding:16px;display:flex;position:relative}.file-drop:has(.file-input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}.file-drop-title{font-size:13.5px;font-weight:500}.file-drop-hint{color:var(--muted);font-size:12px}.file-input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.file-icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none}.file-drop .file-icon{stroke:var(--ink-2)}.file-item{border:1px solid var(--bd);border-radius:8px;align-items:center;gap:10px;min-height:40px;padding:0 6px 0 12px;display:flex}.file-item-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:13.5px;overflow:hidden}.file-item-remove{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;display:flex}.file-item-remove:hover{box-shadow:inset 0 0 0 100px #0000000d}.file-item-remove .file-icon{stroke-width:2px}.status{color:var(--ink-2);align-items:center;gap:8px;margin:0;font-size:13px;display:flex}.error{color:var(--ink);align-items:center;gap:6px;margin:0;font-size:13px;font-weight:600;display:flex}.error-list{color:var(--ink);margin:0;padding-left:1.4em;font-size:13px}.page{flex-direction:column;gap:18px;width:100%;max-width:1180px;margin:0 auto;padding:40px 24px 96px;display:flex}.section{border:1px solid var(--bd);border-radius:12px;flex-direction:column;gap:16px;padding:22px;display:flex}.section-title{color:var(--muted);letter-spacing:.04em;margin:0;font-size:13px;font-weight:600}.stats{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;display:grid}.stat{border:1px solid var(--bd);border-radius:10px;flex-direction:column;gap:2px;padding:12px 16px;display:flex}.stat-label{color:var(--muted);font-size:12.5px;font-weight:600}.stat-value{font-family:var(--mono);font-size:20px;font-weight:500}.table-wrap{border:1px solid var(--bd);border-radius:10px;overflow-x:auto}.table{border-collapse:collapse;width:100%;min-width:640px}.table th{background:var(--bg-sub);border-bottom:1px solid var(--bd);color:var(--ink-3);text-align:left;white-space:nowrap;padding:10px 12px;font-size:12px;font-weight:600}.table td{border-top:1px solid var(--bd-row);white-space:nowrap;height:48px;padding:6px 12px;font-size:14px}.table td.mono{white-space:normal;overflow-wrap:anywhere;min-width:230px}.table tr:first-child td{border-top:0}.table .editor td{background:var(--bg-sub)}.table .editor .input{flex:160px;width:auto}.table .editor input[type=number]{flex:0 140px}.empty{color:var(--muted);text-align:center;padding:24px 16px}.dialog-backdrop{z-index:50;background:#17171773;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.dialog{background:#fff;border-radius:14px;flex-direction:column;gap:12px;width:100%;max-width:420px;padding:22px;display:flex;box-shadow:0 20px 50px #00000040}.dialog-title{margin:0;font-size:18px;font-weight:700}.dialog-text{color:var(--ink-2);margin:0;font-size:14px;line-height:1.7}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:6px;display:flex}@media (max-width:760px){.page{padding:24px 16px 64px}}a{color:#171717}a:hover{color:#000}.icon-btn:hover,.icon-btn:focus-visible{background:#ebebeb!important}.nav-btn:hover{box-shadow:inset 0 0 0 100px #0000000d}@media (max-width:1000px){.home-grid{grid-template-columns:minmax(0,1fr)!important}.span2{grid-column:auto!important}}@container (min-width:320px){.donut-box{flex-direction:column!important;gap:16px!important}}.sb-scroll{scrollbar-width:thin;scrollbar-color:#d4d4d4 transparent}@media (max-width:760px){.sb-resize{display:none!important}.sb{left:0;box-shadow:0 0 0 100vmax #17171759;z-index:45!important;width:280px!important;position:fixed!important;top:0!important}}button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible{outline-offset:2px;outline:2px solid #171717}.sb-resize:after{content:"";background:0 0;width:2px;transition:background .15s;position:absolute;top:0;bottom:0;left:3px}.sb-resize:hover:after,.sb-resize:focus-visible:after,.sb-resize.dragging:after{background:#a3a3a3}.sb-resize:focus-visible{outline:none}.hdr-open{display:none!important}@media (max-width:760px){.sb-rail{display:none!important}.hdr-open{display:flex!important}.app-hdr{padding-left:10px!important}}.row-actions{opacity:0;transition:opacity .12s}.hover-row:hover .row-actions,.hover-row:focus-within .row-actions,.row-actions.on{opacity:1}@media (hover:none){.row-actions{opacity:1}}.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@container (max-width:780px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (max-width:520px){.stat-grid .stat-donut{width:48px;height:48px}.stat-grid .stat-val{font-size:22px!important}}@container (max-width:380px){.stat-grid{grid-template-columns:minmax(0,1fr)}}.rte-area:empty:before{content:attr(data-placeholder);color:#a3a3a3;pointer-events:none}.rte-area:focus{outline:none}.rte-box:focus-within{border-color:#171717!important}.rte-area ul,.rte-view ul,.rte-area ol,.rte-view ol{margin:4px 0;padding-left:1.4em}.rte-area a,.rte-view a{color:#1e4fa3;text-underline-offset:2px;text-decoration:underline}.rte-pop>summary{list-style:none}.rte-pop>summary::-webkit-details-marker{display:none}.rte-pop[open]>summary{background:#ebebeb}
