:root{font-family:Noto Sans JP,Hiragino Kaku Gothic ProN,Meiryo,sans-serif;color:#17283c;background:#f3f6fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,p{margin-top:0}h1{font-size:1.55rem;margin-bottom:.2rem}h2{font-size:1.05rem;margin-bottom:1rem}.eyebrow{font-size:.73rem;font-weight:800;letter-spacing:.12em;color:#2364a5;margin:0 0 .25rem}.muted{color:#6b7b8d;font-size:.84rem}.login-layout{min-height:100vh;display:grid;place-items:center;padding:1.25rem;background:linear-gradient(140deg,#eaf2fc,#f6f8fb 60%,#edf0f4)}.login-card,.panel{background:#fff;border:1px solid #dce4ed;border-radius:14px;box-shadow:0 3px 14px #1b3b600a}.login-card{width:min(100%,430px);padding:2rem}.login-card form{display:grid;gap:1rem;margin-top:1.5rem}label{display:grid;gap:.4rem;font-size:.85rem;font-weight:700}input,select,textarea{width:100%;border:1px solid #c8d4df;border-radius:8px;padding:.7rem;background:#fff;color:#17283c}input:focus,select:focus,textarea:focus{outline:2px solid #438bd0;outline-offset:1px}button.primary{background:#2465a5;color:#fff;border:1px solid #2465a5;border-radius:8px;padding:.72rem 1rem;font-weight:700}button.primary:hover{background:#164c82}button.primary:disabled{opacity:.55;cursor:wait}button.secondary{background:#fff;color:#35516f;border:1px solid #bdcad8;border-radius:8px;padding:.48rem .8rem}.shell{max-width:1500px;margin:auto;padding:1.2rem}.topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.5rem .2rem 1.4rem}.topbar h1{margin:0}.account{display:flex;align-items:center;gap:1rem;font-size:.86rem}.main-grid{display:grid;grid-template-columns:minmax(300px,430px) minmax(0,1fr);gap:1rem}.left-column,.detail-column{display:grid;align-content:start;gap:1rem}.panel{padding:1.2rem}.queue-panel{max-height:38rem;overflow:auto}.panel>p:last-child{margin-bottom:0}.lead-row{border-top:1px solid #ebeff4;padding:.75rem 0;display:grid;gap:.2rem}.lead-row strong{font-size:.93rem}.lead-row .text-button{justify-self:start}.text-button{border:0;background:none;color:#2465a5;padding:.1rem 0;text-decoration:underline}.customer-row{width:100%;text-align:left;display:grid;gap:.3rem;border:1px solid transparent;border-top-color:#e5eaf0;background:#fff;padding:.8rem .35rem;color:inherit}.customer-row:hover,.customer-row.selected{background:#edf5fd;border-color:#d4e3f3;border-radius:8px}.customer-row span{line-height:1.4}.badge{display:inline-block;background:#e8f1fb;color:#215b96;border-radius:20px;padding:.23rem .7rem;font-size:.76rem;font-weight:800}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem 1rem;margin:1.2rem 0}.field{border-bottom:1px solid #e8edf2;padding-bottom:.55rem;min-width:0}.field dt{font-size:.72rem;color:#718092}.field dd{margin:.2rem 0 0;overflow-wrap:anywhere;font-size:.88rem}.allowed,.restricted{border-radius:8px;padding:.7rem;font-size:.84rem}.allowed{background:#edf4fc;color:#205787}.restricted{background:#f7eef0;color:#9a3346}.history-row{border-top:1px solid #e9edf2;padding:.65rem 0;margin:0;font-size:.85rem;line-height:1.5}.history-row span{display:block;color:#52687e}.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:.85rem}.contact-form label:nth-child(3),.contact-form label:nth-child(4),.contact-form button{grid-column:1/-1}.toast,.notice{background:#eaf2fc;border:1px solid #bad4ed;color:#235989;border-radius:8px;padding:.65rem .9rem;font-size:.85rem}.toast{margin-bottom:1rem}@media(max-width:800px){.main-grid{grid-template-columns:1fr}.topbar{align-items:flex-start}.account{flex-direction:column;align-items:flex-end;gap:.4rem}.fields{grid-template-columns:1fr}}.profile-form label:nth-child(3),.profile-form label:nth-child(4){grid-column:auto}@media(max-width:800px){.profile-form{grid-template-columns:1fr}}
