:root{font-family:Inter,Noto Sans JP,Yu Gothic UI,Hiragino Kaku Gothic ProN,sans-serif;color:#17211d;background:#f3f4f1;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:720px;background:#f3f4f1}button,textarea{font:inherit}button{color:inherit}.shell{min-height:100vh;padding:22px}.topbar{display:flex;align-items:flex-end;justify-content:space-between;max-width:1680px;margin:0 auto 18px}.eyebrow,.panel-kicker{color:#6e7772;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}h1{margin:5px 0 0;font-family:"Noto Serif JP",Yu Mincho,serif;font-size:clamp(22px,2vw,32px);font-weight:600;letter-spacing:-.02em}.header-status{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #d4d9d5;border-radius:999px;background:#fff;color:#49544e;font-size:12px;font-weight:700}.status-dot{width:8px;height:8px;border-radius:50%;background:#c98d34;box-shadow:0 0 0 4px #f7ecd8}.guide{max-width:1680px;margin:0 auto 12px;padding:11px 18px;display:flex;align-items:center;justify-content:center;gap:14px;border:1px solid #e0e3df;border-radius:12px;background:#fafbf9;color:#59625e;font-size:12px}.guide span{display:flex;align-items:center;gap:7px;white-space:nowrap}.guide b{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#1d4837;color:#fff;font-size:10px}.guide i{width:42px;height:1px;background:#d5dbd7}.metrics{max-width:1680px;margin:0 auto 12px;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.metric{display:flex;align-items:center;justify-content:space-between;min-height:54px;padding:11px 16px;border:1px solid #dde1de;border-radius:10px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s}.metric:hover,.metric.is-active{border-color:#7f958b;background:#f9fbfa}.metric-label{display:flex;align-items:center;gap:8px;color:#59635e;font-size:12px;font-weight:700}.metric-label em{width:7px;height:7px;border-radius:50%}.metric strong{font-size:22px;font-weight:650}.tone-amber{background:#d68d27}.tone-blue{background:#4e7ca9}.tone-violet{background:#7769a8}.tone-green{background:#3f7b5c}.workspace{max-width:1680px;min-height:650px;margin:0 auto;display:grid;grid-template-columns:minmax(220px,280px) minmax(390px,1fr) minmax(280px,360px);border:1px solid #dfe3df;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 12px 32px #1c2b240f}.queue,.decision,.inspector{min-width:0}.queue{border-right:1px solid #e5e8e5;background:#fafbf9}.panel-heading,.decision-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px;border-bottom:1px solid #e8eae8}.panel-heading h2,.decision-title h2{margin:4px 0 0;font-size:16px;line-height:1.45}.count-badge{padding:4px 8px;border-radius:999px;background:#edf1ee;color:#52605a;font-size:11px;font-weight:800}.queue-list{max-height:740px;overflow:auto;padding:8px}.queue-item{width:100%;display:grid;grid-template-columns:28px 1fr 12px;align-items:center;gap:8px;padding:13px 10px;border:1px solid transparent;border-radius:9px;background:transparent;text-align:left;cursor:pointer}.queue-item:hover{background:#f1f4f1}.queue-item.is-selected{border-color:#b9c7bf;background:#edf3ef}.queue-index{color:#87908b;font:700 10px/1 ui-monospace,monospace}.queue-copy{min-width:0}.queue-copy strong{display:-webkit-box;overflow:hidden;color:#27332d;font-size:12px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.queue-copy small{display:block;margin-top:5px;color:#79827d;font-size:10px}.queue-arrow{color:#819087;font-size:20px}.decision{padding-bottom:24px;background:#fff;overflow:auto}.decision-title{padding:22px 24px}.decision-title h2{max-width:680px;font-size:19px}.amount{flex:0 0 auto;padding:7px 10px;border-radius:7px;background:#f1f4f2;color:#35433c;font-size:12px;font-weight:800}.request-box{margin:20px 24px 16px;padding:17px 18px;border-left:4px solid #c88328;background:#fbf6ed}.request-box span,.treatment h3,.reason summary,.review-form h3{font-size:12px;font-weight:800}.request-box p{margin:6px 0 0;font-size:15px;font-weight:650;line-height:1.65}.treatment{margin:0 24px;padding:17px 0;border-bottom:1px solid #e8ebe8}.treatment h3{margin:0 0 11px}.treatment>div{display:grid;grid-template-columns:44px 1fr;gap:8px;margin:7px 0}.treatment span{align-self:start;padding:3px 5px;border-radius:4px;background:#edf2ef;color:#476255;font-size:10px;font-weight:800;text-align:center}.treatment p{margin:0;color:#46514b;font-size:12px;line-height:1.6}.reason{margin:0 24px;padding:15px 0;border-bottom:1px solid #e8ebe8}.reason summary{cursor:pointer;list-style-position:outside}.reason-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.reason-grid section{padding:13px;border:1px solid #e3e7e4;border-radius:8px;background:#fafbf9}.reason-grid span{color:#66716b;font-size:10px;font-weight:800}.reason-grid p{margin:6px 0 0;color:#48534d;font-size:11px;line-height:1.65}.review-form{margin:18px 24px 0;padding:17px;border:1px solid #dbe2dd;border-radius:10px;background:#f8faf8}.review-form-title{display:flex;justify-content:space-between;gap:10px}.review-form-title h3{margin:0}.review-form-title span{color:#7e8782;font-size:10px}.decision-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:13px 0}.decision-button{padding:9px;border:1px solid #d6dcd8;border-radius:7px;background:#fff;font-size:12px;font-weight:750;cursor:pointer}.decision-button:hover,.decision-button.is-selected{border-color:#416b57;background:#eaf2ed;color:#1f5039}.comment-label{display:grid;gap:6px;color:#5b6660;font-size:10px;font-weight:800}textarea{width:100%;resize:vertical;padding:10px 11px;border:1px solid #d4dad6;border-radius:7px;background:#fff;color:#253129;font-size:12px;line-height:1.5;outline:none}textarea:focus{border-color:#4b755f;box-shadow:0 0 0 3px #4b755f1c}.save-button{width:100%;margin-top:10px;padding:10px;border:0;border-radius:7px;background:#1e4d38;color:#fff;font-size:12px;font-weight:800;cursor:pointer}.save-button:hover{background:#153d2b}.save-button:disabled{opacity:.55;cursor:wait}.readonly-note{margin:18px 24px;padding:13px;border-radius:8px;background:#edf4ef;color:#3f654f;font-size:12px;font-weight:700}.inspector{border-left:1px solid #e5e8e5;background:#fbfcfb}.inspector-tabs{display:grid;grid-template-columns:repeat(4,1fr);padding:11px 9px 0;border-bottom:1px solid #e5e8e5}.inspector-tab{display:flex;align-items:center;justify-content:center;gap:4px;padding:10px 3px;border:0;border-bottom:2px solid transparent;background:transparent;color:#6f7873;font-size:11px;font-weight:750;cursor:pointer}.inspector-tab span{display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border-radius:99px;background:#e9edea;font-size:9px}.inspector-tab.is-active{border-bottom-color:#23553e;color:#244c39}.inspector-body{max-height:650px;overflow:auto;padding:11px}.related-card{display:grid;grid-template-columns:30px 1fr;gap:9px;margin-bottom:9px;padding:12px;border:1px solid #e1e5e2;border-radius:9px;background:#fff}.related-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:#edf2ef;color:#315542;font-size:10px;font-weight:850}.related-copy{min-width:0}.related-copy strong{display:block;overflow:hidden;font-size:12px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.related-copy small{display:block;margin-top:4px;color:#79837e;font-size:10px;line-height:1.4}.related-copy p{margin:8px 0 0;color:#53605a;font-size:10px;line-height:1.55}.related-actions{grid-column:2;display:flex;gap:6px}.related-actions a,.related-actions button{padding:5px 8px;border:1px solid #d8ded9;border-radius:5px;background:#fafbfa;color:#315844;font-size:10px;font-weight:750;text-decoration:none;cursor:pointer}.related-actions a:hover,.related-actions button:hover{background:#eef3f0}.inspector-help{margin:0 11px 11px;padding:11px;border-radius:8px;background:#eef3f0;color:#53665c;font-size:10px;line-height:1.55}.inspector-help b{color:#2e5541}.empty-small{padding:28px 16px;color:#858d89;font-size:11px;text-align:center}.decision.empty{display:grid;place-content:center;gap:6px;color:#526059;text-align:center}.decision.empty span{font-size:11px;color:#86908b}.boot,.fatal{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:10px;padding:24px;text-align:center}.boot span{width:28px;height:28px;border:3px solid #dce4df;border-top-color:#2a5b43;border-radius:50%;animation:spin .8s linear infinite}.boot strong,.fatal strong{font-size:15px}.boot small,.fatal p{margin:0;color:#7c8580;font-size:11px}.fatal button{padding:8px 12px;border:0;border-radius:6px;background:#244f3a;color:#fff;cursor:pointer}.loading-lines{display:grid;gap:8px}.loading-lines i{height:72px;border-radius:8px;background:#eef1ef;animation:pulse 1.1s ease-in-out infinite alternate}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{to{opacity:.45}}@media(max-width:980px){.shell{padding:14px}.workspace{grid-template-columns:230px minmax(370px,1fr)}.inspector{grid-column:1 / -1;border-left:0;border-top:1px solid #e5e8e5}.inspector-body{max-height:360px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.related-card{margin:0}}@media(max-width:820px){body{min-width:0}.topbar{align-items:flex-start}.header-status{display:none}.guide{justify-content:flex-start;overflow:auto}.guide i{width:18px}.metrics{grid-template-columns:repeat(2,1fr)}.workspace{display:block}.queue{border-right:0;border-bottom:1px solid #e5e8e5}.queue-list{display:flex;max-height:none;overflow-x:auto}.queue-item{min-width:250px}.reason-grid{grid-template-columns:1fr}.inspector-body{display:block}.related-card{margin-bottom:8px}}
