:root{font-family:system-ui,"Yu Gothic UI",sans-serif;color:#23382f;background:#f6f7f3;font-size:15px}*{box-sizing:border-box}body{margin:0}header{height:76px;border-bottom:1px solid #dde4dc;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;background:#fff}.brand{font-weight:750;font-size:20px;color:inherit;text-decoration:none}.brand span{font-size:12px;background:#e5eee5;border-radius:6px;padding:4px 8px;margin-left:8px}.quiet{color:#63776c;font-size:13px}main{max-width:1280px;margin:auto;padding:38px 36px}h1{font-size:32px;letter-spacing:.02em;margin:10px 0}h2{font-size:18px;margin:10px 0}p{line-height:1.8}.intro{margin-bottom:26px}.intro>p{color:#63776c}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.16em;color:#648370;margin:0}.upload{background:#fff;border:1px dashed #a9bcae;border-radius:16px;padding:25px;text-align:center}.upload-icon{font-size:24px;color:#2e6248}.upload h2{margin-top:2px}.upload p{font-size:13px;color:#68796e;margin:8px 0}form{display:flex;justify-content:center;align-items:center;gap:16px;margin:18px 0}input{max-width:300px}button{font:inherit;cursor:pointer;border:0;border-radius:8px;background:#2e6049;color:#fff;padding:12px 18px;font-weight:650}button:disabled{opacity:.5;cursor:not-allowed}.workspace{display:grid;grid-template-columns:270px 1fr;gap:24px;margin-top:32px}aside>h2{font-size:14px;margin:0 0 16px}.case{width:100%;text-align:left;background:#fff;border:1px solid #dde4dc;color:#304a3d;margin-bottom:10px;padding:16px;overflow-wrap:anywhere}.case.selected{border:1px solid #397956;background:#edf4ec}.case small{display:block;font-weight:400;font-size:12px;margin-top:9px;color:#68796e}article{background:#fff;border:1px solid #e0e6df;border-radius:14px;min-height:460px;padding:28px;min-width:0}#name{overflow-wrap:anywhere}#status{font-size:13px;color:#63776c}.steps{padding:0;display:flex;list-style:none;gap:10px;margin:24px 0}.steps li{flex:1;background:#f1f4ef;color:#6d7c71;border-radius:6px;padding:10px;font-size:12px}.steps li.active{background:#e3efe3;color:#23563c;font-weight:700}pre{font:inherit;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;margin:25px 0}#downloads a{color:#326a4b;font-size:13px;margin-right:18px}footer{font-size:12px;color:#7b897f;padding:30px 0}@media(max-width:760px){header{padding:0 20px}header>.quiet{display:none}main{padding:26px 18px}h1{font-size:26px}.workspace{grid-template-columns:1fr}form{flex-direction:column}article{padding:20px}.steps{gap:4px}.steps li{padding:8px;font-size:11px}}

.upload.dragover{border:2px solid #397956;background:#e7f2e5;box-shadow:0 0 0 4px #39795618}.upload{transition:background .15s,border-color .15s}#selected-file{overflow-wrap:anywhere;font-weight:600;color:#2e6049}

.answer-formatted{line-height:1.95;overflow-wrap:anywhere;margin-top:24px}.answer-formatted>p:first-child{background:#eff5ed;border-left:4px solid #46795b;padding:16px 20px;border-radius:0 8px 8px 0}.answer-formatted h2{font-size:21px;line-height:1.65;border-bottom:2px solid #e4ece1;padding-bottom:12px;margin:38px 0 18px;color:#234f38}.answer-formatted h3,.answer-formatted h4{font-size:18px;line-height:1.7;margin:28px 0 14px}.answer-formatted p{margin:16px 0}.answer-formatted ul,.answer-formatted ol{padding-left:1.6em}.answer-formatted li{margin:8px 0}.answer-formatted blockquote{margin:20px 0;background:#f5f6f2;border-left:3px solid #9db19c;padding:4px 20px;color:#3b5041}.answer-formatted table{display:block;overflow-x:auto;max-width:100%;border-collapse:collapse;font-size:14px;margin:22px 0}.answer-formatted th,.answer-formatted td{border:1px solid #dce4d8;padding:12px 14px;min-width:100px;vertical-align:top;text-align:left}.answer-formatted th{background:#edf3e9;font-weight:700}.answer-formatted tbody tr:nth-child(even){background:#fafbf8}.answer-formatted strong{font-weight:750;color:#244c36}.answer-formatted a{color:#2c6a49;text-decoration:underline}.answer-formatted pre{background:#f3f5f1;padding:16px;overflow:auto}.answer-raw{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.95;margin-top:24px}#view-toggle{font-size:12px;padding:7px 12px;background:#eef3eb;color:#35573f;border:1px solid #d6e1d0;margin:0 16px 12px 0}@media(max-width:760px){.answer-formatted h2{font-size:18px}.answer-formatted th,.answer-formatted td{padding:9px 11px}.answer-formatted>p:first-child{padding:12px 14px}}
[hidden]{display:none!important}nav{display:flex;gap:8px}nav a{color:#526859;text-decoration:none;padding:10px 14px;border-radius:8px;font-size:14px}nav a.current{background:#e7efe4;color:#285438;font-weight:700}#upload{display:block}.fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;text-align:left}label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:650}select,input:not([type=file]),textarea{font:inherit;color:#23382f;border:1px solid #cbd7cb;border-radius:8px;padding:11px;background:#fff;max-width:none;width:100%}.file-actions{display:flex;justify-content:center;gap:20px;align-items:center;margin-top:20px}.search-panel{margin-top:28px;padding:24px;background:#edf1e9;border-radius:14px}#search{display:flex;flex-wrap:wrap;justify-content:flex-start}#search .fields{width:100%;grid-template-columns:repeat(5,minmax(0,1fr))}.secondary{background:#e6ece2;color:#34543e}#search-count{margin:0;font-size:13px}.settings-form{display:flex;flex-direction:column;align-items:stretch;max-width:920px;background:white;border:1px solid #dde4dc;padding:28px;border-radius:14px}.settings-form button{align-self:flex-start}textarea{line-height:1.8;resize:vertical}.employee-row{display:flex;gap:12px;padding:18px;background:white;border-bottom:1px solid #e0e6df;max-width:920px;align-items:center}.employee-row span{flex:1}.employee-row button{font-size:13px;padding:8px 12px}#trend-tags details{background:#eef3e9;border-radius:8px;padding:8px 12px;margin:6px 0;font-size:13px}#trend-tags summary{cursor:pointer;font-weight:600}#trend-tags p{margin-bottom:4px}@media(max-width:800px){header{height:auto;min-height:76px;flex-wrap:wrap;padding:16px;gap:12px}nav a{padding:8px}.fields,#search .fields{grid-template-columns:repeat(2,minmax(0,1fr))}.file-actions{flex-direction:column}#search{align-items:stretch}.settings-form{padding:18px}}@media(max-width:420px){.fields,#search .fields{grid-template-columns:1fr}}
/* Analysis cards occupy the full list width; details open only on selection. */
.workspace{display:block}.workspace aside{width:100%}#cases{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.case{margin:0;min-height:132px;padding:24px;border-radius:14px;transition:border-color .15s,box-shadow .15s}.case:hover{border-color:#397956;box-shadow:0 4px 16px #234f3810}.case:focus-visible{outline:3px solid #79a988;outline-offset:3px}#analysis-detail{margin-top:24px}#close-detail{float:right;margin-bottom:16px}#detail-head{clear:both}@media(max-width:480px){#cases{grid-template-columns:1fr}}
/* KUROCO monochrome identity */
:root{color:#252525;background:#f4f4f4}header{background:#1a1a1a;border-color:#333;min-height:90px;height:auto;padding-top:12px;padding-bottom:12px}.brand{display:flex;align-items:center;gap:12px;color:#fff}.brand img{width:58px;height:64px;object-fit:cover}.brand .brand-name{background:none;padding:0;margin:0;font-size:20px;color:white;letter-spacing:.04em}nav a{color:#ccc}nav a.current{background:#353535;color:#fff}.quiet,.intro>p,.upload p,#status,.case small{color:#666}.eyebrow{color:#777}button{background:#262626}.secondary,#view-toggle{background:#eaeaea;color:#333;border-color:#ccc}.upload{border-color:#b5b5b5}.upload-icon,#selected-file{color:#333}.upload.dragover{border-color:#222;background:#eee;box-shadow:0 0 0 4px #2221}.search-panel{background:#e9e9e9}.case{color:#292929;border-color:#d5d5d5}.case.selected{border-color:#333;background:#eee}.case:hover{border-color:#333;box-shadow:0 4px 16px #0001}.case:focus-visible{outline-color:#777}article,.settings-form{border-color:#ddd}.steps li{background:#eee;color:#666}.steps li.active{background:#dedede;color:#222}.answer-formatted>p:first-child{background:#f0f0f0;border-color:#333}.answer-formatted h2{color:#222;border-color:#ddd}.answer-formatted strong{color:#222}.answer-formatted blockquote{background:#f5f5f5;border-color:#999;color:#444}.answer-formatted th{background:#eaeaea}.answer-formatted th,.answer-formatted td{border-color:#ddd}.answer-formatted tbody tr:nth-child(even){background:#fafafa}.answer-formatted a,#downloads a{color:#333}.answer-formatted pre,#trend-tags details{background:#eee}footer{color:#777}.delete-area{border-top:1px solid #ddd;margin-top:40px;padding-top:24px;text-align:right}#delete-analysis{background:white;border:1px solid #aaa;color:#555;font-size:13px}#delete-analysis:hover{background:#f5eded;color:#8b2929;border-color:#8b2929}#delete-message{font-size:13px;color:#666}@media(max-width:600px){.brand .brand-name{font-size:16px}.brand img{width:42px;height:48px}}
/* KUROCO — quiet editorial interface */
:root{--ink:#242421;--muted:#7b7b74;--line:#e5e4de;--paper:#faf9f6;color:var(--ink);background:var(--paper);font-family:"Yu Gothic UI",Meiryo,system-ui,sans-serif;font-size:14px}body{background:radial-gradient(ellipse at 90% 0,#eeece5,transparent 45%),var(--paper)}header{min-height:96px;padding:12px max(32px,calc((100vw - 1200px)/2));background:#1a1a1a;gap:24px}.brand{gap:18px;flex-shrink:0}.brand .logo-frame{display:block;position:relative;width:36px;height:62px;overflow:hidden;background:#1a1a1a;padding:0;margin:0;border-radius:0}.brand .logo-frame img{position:absolute;width:112px;height:112px;max-width:none;left:-38px;top:-25px}.brand .brand-name{font-size:18px;font-weight:600;letter-spacing:.08em;white-space:nowrap}nav{gap:8px}nav a{font-size:12px;padding:12px 18px;white-space:nowrap;color:#a9a9a3;border-radius:6px}nav a:hover{color:white;background:#262626}nav a.current{background:#30302e;color:#fff}main{max-width:1264px;padding:52px 32px 20px}.intro{margin:0 0 36px;border-bottom:1px solid var(--line);padding-bottom:30px}.eyebrow{color:#93938b;font:600 10px/1.6 system-ui,sans-serif;letter-spacing:.2em;margin:0 0 12px}h1{font-size:clamp(26px,3vw,38px);font-weight:600;letter-spacing:.07em;line-height:1.5;margin:8px 0 12px}.intro>p:last-child{font-size:13px;color:var(--muted);margin-bottom:0}.upload{display:grid;grid-template-columns:280px minmax(0,1fr);column-gap:38px;text-align:left;background:white;border:1px solid var(--line);border-radius:20px;padding:32px;box-shadow:0 8px 30px #24242104}.upload-guide{grid-column:1;grid-row:1 / 6;border-right:1px solid var(--line);padding-right:28px}.upload-icon{width:48px;height:48px;background:#f2f1ed;border:1px solid var(--line);border-radius:13px;display:grid;place-items:center;margin:22px 0 18px;font-size:28px}.upload h2{font-size:18px;font-weight:600;line-height:1.6}.upload-guide>p:not(.eyebrow){font-size:11px;color:#8b8b83;line-height:1.9}.upload #upload{grid-column:2;margin:0}.upload>p{grid-column:2;margin:3px 0;font-size:11px}.upload>p:empty{display:none}.fields{gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}label{font-size:11px;font-weight:600;gap:8px;color:#66665e}select,input:not([type=file]),textarea{border:1px solid var(--line);border-radius:8px;background:#fcfcfa;color:var(--ink);padding:12px;font-size:13px;min-width:0;outline:none;transition:border-color .15s,box-shadow .15s}select:focus,input:focus,textarea:focus{border-color:#9d9d90;box-shadow:0 0 0 3px #99998215}button{font-size:12px;font-weight:600;letter-spacing:.03em;padding:13px 20px;border-radius:8px;background:var(--ink);transition:background .15s,transform .15s}button:hover:not(:disabled){background:#41413b}button:disabled{opacity:.35}.file-actions{align-items:stretch;flex-wrap:wrap;justify-content:space-between;gap:12px;margin:18px 0 12px}.file-actions input{min-width:0;max-width:100%;font-size:11px;align-self:center}input::file-selector-button{border:1px solid var(--line);background:#f5f5f1;border-radius:6px;padding:9px 12px;margin-right:8px;color:#444;font:inherit;cursor:pointer}#prompt-hint{font-size:10px;margin-top:14px;color:#8b8b82}#selected-file{font-weight:400}.search-panel{margin-top:24px;padding:26px 30px;background:#efeee8;border:1px solid #e7e6df;border-radius:16px}.search-panel h2{font-size:16px;font-weight:600}#search{gap:12px;margin-bottom:0}#search .fields{gap:12px}#search-count{font-size:11px;color:#85857b;margin-left:auto}.secondary,#view-toggle{background:#f8f8f4;border:1px solid #deded4;color:#66665d}.secondary:hover:not(:disabled),#view-toggle:hover{background:#e9e9e2;color:#333}.workspace{margin-top:42px}.list-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px;gap:16px}.list-heading h2{font-size:21px;font-weight:600;margin:0}.list-heading .eyebrow{margin-bottom:7px}.list-heading>p{font-size:11px;margin:0}.case{position:relative;padding:25px 44px 25px 24px;font-size:14px;line-height:1.9;font-weight:600;background:#fff;border:1px solid var(--line);border-radius:14px;min-height:150px;color:#35352f;box-shadow:0 2px 5px #222202}.case:after{content:'↗';position:absolute;right:20px;top:24px;color:#aaa99e;font-size:20px;font-weight:400}.case:hover:not(:disabled){background:#fff;border-color:#a9a999;transform:translateY(-2px);box-shadow:0 8px 24px #222208}.case.selected{background:#f1f1e9;border-color:#919183}.case small{font-size:10px;color:#929287;font-weight:400}.case small:last-child{display:inline-block;background:#f2f2ec;border-radius:4px;padding:3px 8px;margin-top:12px;font-size:10px;color:#606052}.quiet{color:var(--muted)}article{padding:36px 44px;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 30px #222204}#name{font-size:21px;font-weight:600;line-height:1.8}.steps{gap:8px}.steps li{border-radius:5px;background:#f5f5f0;color:#99998e}.steps li.active{background:#eeeee6;color:#636350}.answer-formatted{font-size:14px;line-height:2}.answer-formatted>p:first-child{background:#f4f3ee;border-left:2px solid #8e8e76}.answer-formatted h2{font-size:20px;border-bottom:1px solid var(--line);margin-top:42px}.answer-formatted th{background:#f0efe9}.answer-formatted strong{color:#33332b}.answer-formatted blockquote{background:#f7f6f2;border-color:#b4b4a1}.settings-form{max-width:100%;padding:32px;border-color:var(--line);border-radius:16px;box-shadow:0 8px 30px #222204}#employee-list{max-width:100%}.employee-row{max-width:100%;border-color:var(--line);padding:20px 26px}footer{margin-top:40px;padding:24px 0;border-top:1px solid var(--line);font-size:10px;line-height:1.9;color:#aaa99f}.delete-area{border-color:var(--line)}@media(max-width:950px){header{padding:16px 24px;flex-wrap:wrap;gap:12px}nav{margin-left:auto}.upload{grid-template-columns:220px minmax(0,1fr);gap:26px;padding:26px}#search .fields{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){main{padding:30px 18px}.upload{display:block;padding:24px}.upload-guide{border:0;border-bottom:1px solid var(--line);padding:0 0 18px;margin-bottom:22px}.upload-icon{float:right;margin:0}.upload-guide .eyebrow{padding-top:4px}.upload h2{font-size:17px}.file-actions{flex-direction:column}.file-actions input{align-self:stretch}.search-panel{padding:22px}.list-heading>p{display:none}.fields,#search .fields{grid-template-columns:repeat(2,minmax(0,1fr))}article{padding:24px}.brand .brand-name{font-size:16px}.brand{gap:12px}header{padding:12px 18px;display:block}.brand .logo-frame{height:52px}.brand .logo-frame img{top:-30px}nav{margin-top:12px;display:flex;gap:4px;justify-content:space-between}nav a{padding:10px 8px;font-size:11px;text-align:center;flex:1;white-space:nowrap}.intro{padding-bottom:24px;margin-bottom:24px}h1{font-size:27px}.intro>p:last-child{font-size:12px}#cases{grid-template-columns:1fr}.workspace{margin-top:30px}#search-count{margin-left:0;width:100%}}@media(max-width:360px){.fields,#search .fields{grid-template-columns:1fr}.brand .brand-name{font-size:14px}}
.brand .logo-frame img{width:96px;height:96px;left:-30px;top:-19px}@media(max-width:700px){.brand .logo-frame img{width:90px;height:90px;left:-27px;top:-19px}}
/* Role and outcome labels are visual badges, not nested controls. */
.case-badges{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:0 0 16px;padding-right:4px}.case-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;padding:5px 11px;font-size:12px;font-weight:750;line-height:1.5;letter-spacing:.04em;border:1px solid transparent}.case-badge.role-cl{background:#252522;color:#fff}.case-badge.role-ap{background:#eae8df;color:#3d3b32;border-color:#d6d2c4}.case-badge.outcome-won{background:#e3eee6;color:#27563a;border-color:#bad2c2}.case-badge.outcome-lost{background:#f3e5e2;color:#843e35;border-color:#e3bfb8}.case-badge.outcome-handoff{background:#e4ebf4;color:#365579;border-color:#bfcee2}.case-badge.role-unknown,.case-badge.outcome-unknown{background:#efefec;color:#73736a;border-color:#deded7}.case-person{display:block;font-size:16px;margin-bottom:6px;line-height:1.6}.case-tendency{display:block;font-size:12px;font-weight:400;color:#75756a;line-height:1.8}.case:after{top:25px}
#search .fields{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){#search .fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:360px){#search .fields{grid-template-columns:1fr}}
#upload-title-field{margin-top:18px}#rename-area{margin-bottom:18px}#rename-form{justify-content:flex-end;align-items:end;flex-wrap:wrap}#rename-form label{flex:1;text-align:left;min-width:200px}#rename-message{font-size:12px;color:#666}
/* Stable three-column header and aligned card rows. */
#cases{grid-template-columns:repeat(auto-fill,minmax(350px,1fr));align-items:stretch}.case{display:grid;grid-template-rows:36px 1fr 30px;gap:18px;padding:22px;min-height:216px;text-align:left}.case:after{content:none}.case-badges{display:grid;grid-template-columns:92px 70px minmax(0,1fr);gap:10px;margin:0;padding:0;align-items:center;min-width:0}.case-badge{width:100%;height:30px;padding:4px 6px;font-size:11px;white-space:nowrap}.case-person{margin:0;font-size:15px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.case-tendency{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;align-self:start;line-height:1.85;font-size:12px;font-weight:400;min-height:67px;overflow-wrap:anywhere}.case-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:12px}.case .case-footer small{margin:0;white-space:nowrap;font-size:10px}.case .case-footer small:last-child{margin:0;padding:3px 8px}@media(max-width:760px){#cases{grid-template-columns:1fr}}@media(max-width:380px){.case{padding:16px;gap:14px}.case-badges{grid-template-columns:80px 56px minmax(0,1fr);gap:6px}.case-badge{font-size:10px;padding:4px}.case-person{font-size:12px}}
#exemplar-section{margin-bottom:38px;padding-bottom:30px;border-bottom:1px solid var(--line)}#exemplar-cases{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:16px;align-items:stretch}#exemplar-cases .case{border-color:#b9b69e;background:#fffef9}.exemplar-check{display:flex;flex-direction:row;align-items:center;gap:8px;cursor:pointer}.exemplar-check input[type=checkbox]{width:17px;height:17px;max-width:17px;accent-color:#333;margin:0}#exemplar-toggle{margin-bottom:8px}#exemplar-message{font-size:12px} @media(max-width:760px){#exemplar-cases{grid-template-columns:1fr}}
.selected-file-row{display:flex;align-items:center;gap:8px;min-width:0}.selected-file-row #selected-file{min-width:0;overflow-wrap:anywhere}#clear-file{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;padding:0;border-radius:50%;border:1px solid #e8baba;background:#fff1f1;color:#be3030;font-size:19px;font-weight:600;line-height:1;cursor:pointer}#clear-file:hover:not(:disabled){background:#f8dddd;color:#9f1515}#clear-file:focus-visible{outline:2px solid #be3030;outline-offset:2px}

.recording-player{margin:22px 0;padding:18px 20px;border:1px solid #dddcd5;border-radius:14px;background:#f7f7f3}.recording-player label{display:block;font-size:13px;font-weight:700;margin-bottom:10px}.recording-player audio{display:block;width:100%;height:44px}.recording-player p:empty{display:none}

.recording-jump{display:inline;padding:0 2px;border:0;border-radius:3px;background:transparent;color:#176d91;font:inherit;line-height:inherit;text-align:inherit;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px;cursor:pointer}.recording-jump:hover,.recording-jump:focus-visible{background:#e2eef3;color:#09435d}

.recording-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.recording-toolbar label{margin:0 0 8px}.recording-player.floating{position:fixed;z-index:1000;bottom:18px;left:50%;transform:translateX(-50%);width:min(720px,calc(100% - 32px));box-sizing:border-box;margin:0;padding:12px 18px;background:#fafaf8;border:1px solid #c8c8c0;box-shadow:0 8px 40px #0003}.recording-player.floating p{margin:5px 0 0;font-size:11px}.recording-toolbar #recording-dismiss{border:0;background:transparent;color:#555;padding:0;width:30px;height:30px;font-size:24px;line-height:1;cursor:pointer}.has-floating-recording{padding-bottom:160px}.recording-player.floating audio{width:100%}@media(max-width:480px){.recording-player.floating{bottom:8px;width:calc(100% - 16px);padding:10px;border-radius:12px}}

.recording-jump{padding:0;border-radius:0;color:inherit;text-decoration:underline;text-decoration-color:#aaa;text-decoration-thickness:1px;text-underline-offset:3px}.recording-jump::before{content:none}.recording-jump:hover,.recording-jump:focus-visible{background:#ecece7;color:inherit}

.coaching-controls{margin-top:28px;padding-top:20px;border-top:1px solid #ddd}.coaching-controls button[aria-pressed=true]{background:#a63030;color:#fff}.coaching-mark{color:#b52828!important;text-decoration:underline;text-decoration-color:#b5282866;cursor:pointer}#coaching-popup{position:fixed;z-index:1100;right:20px;bottom:170px;width:min(380px,calc(100% - 32px));max-height:55vh;overflow:auto;background:#fff;border:1px solid #ddd;border-top:3px solid #a63030;border-radius:12px;padding:18px;box-shadow:0 8px 35px #0003;box-sizing:border-box}.coaching-popup-head{display:flex;justify-content:space-between;align-items:center}.coaching-popup-head button{background:transparent;color:#555;font-size:23px;border:0;padding:0 6px}#coaching-quote{margin:12px 0;padding:8px 10px;background:#f4f3ef;font-size:12px;max-height:85px;overflow:auto;border-left:2px solid #b52828}#coaching-read{white-space:pre-wrap;overflow-wrap:anywhere}#coaching-form textarea{width:100%;box-sizing:border-box;font:inherit;margin:8px 0}#coaching-selection{position:fixed;z-index:1200;bottom:170px;left:20px;background:#a63030;color:white;box-shadow:0 4px 20px #0003}.coaching-mode #answer{cursor:text}@media(max-width:480px){#coaching-popup{right:8px;width:calc(100% - 16px);bottom:155px}}
#coaching-voice{width:100%;height:42px;margin:8px 0}.voice-tools{border-top:1px solid #ddd;padding-top:12px;margin:12px 0}.voice-tools button{margin:3px;font-size:12px}.voice-tools p{font-size:12px}#voice-stop{background:#ad3030;color:white}

#coaching-summary{margin:20px 0;padding:18px 20px;background:#f7f6f2;border:1px solid #dfded7;border-radius:12px}.summary-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.summary-heading h3{margin:0;font-size:15px}#summary-edit{font-size:12px}#summary-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:14px}#summary-voice{width:100%;height:42px}
#coaching-summary{background:#fff5f3;border:1px solid #e4bdb5;border-left:5px solid #a94336;box-shadow:0 3px 12px #63302509;padding:20px 22px}#coaching-summary .summary-heading h3{display:inline-flex;align-items:center;background:#933e33;color:#fff;border-radius:6px;padding:7px 14px;font-size:14px;letter-spacing:.06em;line-height:1.5}#coaching-summary #summary-text{color:#583b36;margin-bottom:0}#coaching-summary #summary-edit{background:#fff;color:#873a30;border:1px solid #c18e85;border-radius:6px;padding:8px 12px;font-weight:600}#coaching-summary #summary-edit:hover{background:#f4dfda}#coaching-summary #summary-voice{margin-top:14px}

.recording-timestamp{display:inline-block;padding:2px 6px;border:1px solid #bfd3ca;border-radius:4px;background:#edf5f1;color:#245b48;font-variant-numeric:tabular-nums;text-decoration:underline;text-underline-offset:3px}.recording-timestamp:hover,.recording-timestamp:focus-visible{background:#d9eae1;outline:2px solid #427761;outline-offset:2px}

#coaching-popup{right:18px;top:80px;bottom:160px;width:420px;max-height:none;display:flex;flex-direction:column;padding:16px;overflow:auto}#coaching-chat{overflow:auto;min-height:90px;flex:1;max-height:40vh;padding:4px}#coaching-form{flex:none}#coaching-form textarea{height:75px}#coaching-quote{flex:none;max-height:55px}#coaching-chat .chat-message{padding:12px;margin:8px 0;border:1px solid #e0ddd6;border-radius:12px;background:#f7f3ee}#coaching-chat .chat-staff{background:#edf3f8;border-color:#cedce7;margin-left:20px}#coaching-chat .chat-coach{margin-right:20px}#coaching-chat small{font-size:11px;color:#666}#coaching-chat p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0;font-size:13px}#coaching-chat audio{width:100%;height:38px}#coaching-author{width:auto;display:inline-block;margin-left:8px}#coaching-form .voice-tools{margin:4px 0;padding-top:4px}@media(max-width:600px){#coaching-popup{right:8px;top:12px;bottom:155px;width:calc(100% - 16px)}}
#coaching-chat .chat-message{min-height:0;height:auto;max-height:none;box-shadow:none;flex:none;padding:12px 14px}#coaching-chat .chat-message p:empty{display:none}#coaching-chat .chat-message p:last-child{margin-bottom:0}

#processing-progress{grid-column:1/-1;text-align:left;background:#f1f3f0;border:1px solid #d2d7d0;border-radius:12px;padding:18px 22px;width:100%}#processing-progress progress{width:100%;height:13px;accent-color:#536759}#progress-name{font-size:12px;overflow-wrap:anywhere}#progress-elapsed{font-size:20px;font-weight:650;margin:10px 0}#progress-durations{font-size:13px;line-height:1.8}#progress-note{margin-bottom:0;font-size:11px}
#processing-progress{grid-column:2;display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;background:none;border:0;border-radius:0;box-shadow:none;padding:0;margin:0;width:100%;font-size:11px;line-height:1.5}#processing-progress #progress-stage{font-size:11px;font-weight:600}#processing-progress #progress-elapsed{font-size:11px;font-weight:400;margin:0;line-height:1.5}#processing-progress #progress-meter{width:90px;height:5px;order:2;flex:0 0 90px}#processing-progress #progress-durations{font-size:10px;line-height:1.5;flex-basis:100%;order:3;color:#7b7b74}#processing-progress #progress-name,#processing-progress #progress-note{display:none}@media(max-width:700px){#processing-progress{margin:4px 0}}

#processing-progress #progress-open{font-size:11px;padding:2px 8px;border:1px solid #d1d1c9;border-radius:4px;background:#fff;color:#333;line-height:1.5}
#report-switcher{margin:26px 0 12px}.report-tabs{display:flex;gap:10px;border-bottom:1px solid #d9e3dd;padding-bottom:12px}.report-tabs button{flex:1;text-align:left;background:#f3f6f3;color:#52675e;border:1px solid #d5dfd8;border-radius:12px;padding:17px 22px;font-size:17px;font-weight:700}.report-tabs button span{display:block;font-size:10px;letter-spacing:.08em;font-weight:400;margin-top:6px}.report-tabs button[aria-selected="true"]{background:#28594e;color:white;border-color:#28594e}.report-content{background:#fff;padding:6px 0 20px;line-height:1.95}.report-content h2{color:#28594e;border-left:4px solid #8bab9b;padding:8px 14px;background:#f2f6f3;border-radius:0 8px 8px 0;margin-top:32px}.report-content h2:first-child{margin-top:12px}.report-content table{font-size:13px}.report-content th{background:#eaf0eb}.report-content td{padding:14px;vertical-align:top}.report-content p{max-width:80ch}.report-tabs button:focus-visible{outline:3px solid #ad854a;outline-offset:3px}
.answer-formatted.report-content h3{color:#28594e;border-left:4px solid #8bab9b;padding:8px 14px;background:#f2f6f3;border-radius:0 8px 8px 0;margin-top:32px}.answer-formatted.report-content h3:first-child{margin-top:12px}.answer-formatted.report-content>h3:first-child+p{font-size:17px;line-height:1.8;font-weight:600;color:#274c42;padding:18px 20px;background:#f6f8f4;border-radius:10px}
.answer-formatted.report-content .report-major{font-size:18px;font-weight:700;color:#24584c;background:#eaf2ed;border-left:5px solid #477a65;padding:13px 16px;margin:36px 0 18px;border-radius:0 8px 8px 0}.answer-formatted.report-content .report-sub{font-size:15px;font-weight:700;color:#3b4b55;background:transparent;border:0;border-bottom:1px solid #d9dfe2;border-radius:0;padding:0 0 8px;margin:28px 0 12px}.answer-formatted.report-content .report-sub.report-problem{color:#9b4937;border-bottom-color:#e7c6bc}.answer-formatted.report-content .report-sub.report-solution{color:#295f88;border-bottom-color:#bed3e3}.answer-formatted.report-content .report-sub.report-solution+p{border-left:3px solid #90b3cf;padding:12px 16px;background:#f4f8fc;border-radius:0 6px 6px 0}
.prompt-stage{margin-top:24px;border:1px solid #dce4de;border-radius:14px;padding:24px}.prompt-stage h2{color:#28594e}.prompt-flow{background:#eaf2ed;padding:15px 20px;border-radius:10px;color:#28594e;margin:24px 0}#prompts-page textarea{font-size:14px;line-height:1.8}#prompts-page h2{font-size:19px}
#detail-progress{font-size:11px;color:#52675e;margin:12px 0 18px;line-height:1.7}#detail-progress progress{width:100px;height:6px;accent-color:#28594e;margin-left:12px}#detail-progress-times{font-size:10px;color:#737b76;margin:3px 0}#processing-progress #progress-note:not(:empty){display:block;flex-basis:100%;font-size:10px;color:#a64d35}

/* Report hierarchy: document title / numbered section / small label / body. */
#report-description{font-size:20px;font-weight:750;color:#253e48;margin:24px 0 8px;line-height:1.6}
.answer-formatted.report-content{font-size:15px;line-height:1.9;color:#303b42}
.answer-formatted.report-content .report-section{margin:36px 0 0;padding:0 0 26px;border-bottom:1px solid #e3e7ea}
.answer-formatted.report-content .report-major{font-size:20px;line-height:1.6;letter-spacing:.015em;color:#203f51;background:#edf2f6;border:0;border-left:4px solid #355d75;border-radius:0 6px 6px 0;padding:15px 18px;margin:0 0 22px;font-weight:750}
.answer-formatted.report-content .report-major strong{color:inherit}
.answer-formatted.report-content .report-sub{font-size:15px;line-height:1.6;color:#56616a;background:none;border:0;border-radius:0;padding:0;margin:26px 0 10px;font-weight:750}
.answer-formatted.report-content .report-sub.report-problem{color:#a04d39}
.answer-formatted.report-content .report-sub.report-solution{color:#256084}
.answer-formatted.report-content .report-sub.report-takeaway{color:#384d43}
.answer-formatted.report-content p{max-width:none;margin:12px 0;line-height:1.95}
.answer-formatted.report-content .report-lead,.answer-formatted.report-content .report-conclusion>p{background:#f3f6f8;border:0;border-radius:8px;padding:18px 22px;font-size:16px;line-height:1.9;color:#263d4c}
.answer-formatted.report-content .report-sub.report-solution+p{border:0;background:none;padding:0;border-radius:0}
.answer-formatted.report-content blockquote{background:#f6f6f4;color:#485159;border:0;border-left:2px solid #c7cdd1;padding:12px 20px;margin:10px 0 22px;border-radius:0 6px 6px 0}
.answer-formatted.report-content blockquote.report-talk{background:#edf5fa;border-left:3px solid #5d91af;color:#234b65}
.answer-formatted.report-content .report-keypoint{background:#f1f5f1;border-radius:6px;padding:12px 16px;font-size:14px}
.answer-formatted.report-content li{margin:16px 0;padding-left:4px}
.answer-formatted.report-content li>strong:first-child{display:block;color:#314e60;margin-bottom:4px}
.answer-formatted.report-content table{display:table;width:100%;font-size:13px;line-height:1.7;margin:20px 0;border:1px solid #dce2e6}
.answer-formatted.report-content th{background:#eaf0f4;color:#344e60;padding:12px;text-align:left}
.answer-formatted.report-content td{padding:12px;min-width:0;border-color:#dce2e6}
.answer-formatted.report-content strong{color:inherit;font-weight:750}
@media(max-width:640px){.answer-formatted.report-content{font-size:14px}.answer-formatted.report-content .report-major{font-size:18px;padding:12px 14px}.answer-formatted.report-content table{display:block;overflow-x:auto}.answer-formatted.report-content td,.answer-formatted.report-content th{min-width:110px}.answer-formatted.report-content .report-lead,.answer-formatted.report-content .report-conclusion>p{font-size:15px;padding:14px}.answer-formatted.report-content blockquote{padding:10px 14px}}

#name.case-detail-heading{display:grid;grid-template-columns:170px 120px minmax(180px,1fr);gap:12px;margin:12px 0 18px;line-height:1.4;font-size:20px}
.detail-identity{display:flex;flex-direction:column;justify-content:center;gap:7px;padding:14px 18px;border:1px solid #dce3e8;border-radius:9px;background:#f2f5f7;min-width:0}
.identity-label{font-size:10px;font-weight:500;letter-spacing:.08em;color:#647582}
.identity-value{font-size:18px;font-weight:750;color:#2b4659;overflow-wrap:anywhere}
.detail-outcome.negative{background:#fbf1ee;border-color:#ecd2ca}.detail-outcome.negative .identity-value{color:#964c3b}
.detail-outcome.positive{background:#edf5ef;border-color:#cbded0}.detail-outcome.positive .identity-value{color:#356549}
.detail-person{background:#fff}.detail-person .identity-value{font-size:22px;color:#28343d}
#detail-custom-title{font-size:17px;font-weight:650;margin:0 0 16px}
@media(max-width:640px){#name.case-detail-heading{grid-template-columns:1fr 1fr;gap:8px}.detail-person{grid-column:1/-1}.detail-identity{padding:12px}.identity-value{font-size:16px}}

.case-tendency.case-trend-tags{display:flex;flex-wrap:wrap;align-content:flex-start;gap:6px;overflow:visible;-webkit-line-clamp:unset;min-height:67px}
.case-trend-tag{display:inline-block;padding:5px 9px;border:1px solid #cedbe3;border-radius:6px;background:#edf3f7;color:#3c596b;font-size:11px;font-weight:600;line-height:1.6;max-width:100%;overflow-wrap:anywhere}
.case-trend-tag.is-pending{background:#f3f3f0;border-color:#dfdfd9;color:#797970;font-weight:400}

#detail-progress-note{font-size:10px;color:#61776a;margin:5px 0 0;line-height:1.6}
#detail-progress-note.progress-stale{color:#a04d39}
#detail-progress.is-processing #detail-progress-note:before{content:'';display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#5b826d;animation:progress-pulse 1.5s ease-in-out infinite}
@keyframes progress-pulse{50%{opacity:.3}}
@media(prefers-reduced-motion:reduce){#detail-progress.is-processing #detail-progress-note:before{animation:none}}

#recovery-link{display:inline-block;padding:8px 13px;margin:4px 0 12px;background:#edf3f7;border:1px solid #cbdbe5;border-radius:6px;color:#315973;font-size:13px;font-weight:650}

#case-history{display:flex;flex-direction:row;align-items:center;gap:10px;margin:10px 0 16px;font-size:11px;color:#6b757b}#case-history-select{width:auto;max-width:100%;padding:6px 10px;font-size:11px}

.case{grid-template-rows:auto 36px 1fr 30px;gap:12px}
.case-number{display:inline-block;justify-self:start;background:#334e60;color:#fff;border-radius:5px;padding:3px 9px;font-size:12px;line-height:1.5;letter-spacing:.06em;font-weight:750;font-variant-numeric:tabular-nums}
#detail-case-number{display:table;background:#334e60;color:white;border-radius:5px;padding:4px 11px;margin:12px 0 8px;font-size:14px;font-weight:750;letter-spacing:.06em}

.answer-formatted.report-content .report-topic{margin:18px 0 24px;padding:20px 24px;border:1px solid #dce3e8;border-radius:10px;background:#fff}
.answer-formatted.report-content .report-topic-title{font-size:17px;line-height:1.7;font-weight:750;color:#263f52;margin:0 0 12px;padding:0 0 12px;border-bottom:1px solid #e3e8ec}
.answer-formatted.report-content .report-topic>p{font-size:14px;color:#424d55;line-height:1.9}
.answer-formatted.report-content p.report-conversation{background:#edf5fa;border-left:3px solid #6f9cb5;border-radius:0 7px 7px 0;padding:14px 18px;margin-top:18px;color:#2b4d63;line-height:1.95}
.conversation-label{display:block;width:fit-content;font-size:11px;font-weight:750;letter-spacing:.04em;color:#37627d;margin-bottom:7px}
.conversation-label+br{display:none}
@media(max-width:640px){.answer-formatted.report-content .report-topic{padding:16px 14px}.answer-formatted.report-content .report-topic-title{font-size:16px}.answer-formatted.report-content p.report-conversation{padding:12px}}

.answer-formatted.report-content .report-speech{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;align-items:start;margin:8px 0;padding:10px 12px;background:#f6f7f8;border-radius:7px}
.answer-formatted.report-content .report-speech .speaker-label{margin:0;padding:0;line-height:1.6}
.speaker-meta{display:none}.speaker-badge{display:inline-block;padding:4px 8px;border-radius:5px;border:1px solid #c9dae6;background:#e7f0f7;color:#315b78;font-size:11px;font-weight:750;white-space:nowrap}
.speaker-client .speaker-badge{background:#edf1e9;border-color:#d2ddc9;color:#516342}
.answer-formatted.report-content .report-speech blockquote{margin:0;padding:0;background:none;border:0;border-radius:0}
.answer-formatted.report-content .report-speech blockquote p{margin:0;font-size:13px;line-height:1.75}
@media(max-width:480px){.answer-formatted.report-content .report-speech{grid-template-columns:56px minmax(0,1fr);gap:7px;padding:9px}.speaker-badge{font-size:10px;padding:3px 6px}}

.answer-formatted.report-content p.report-talk,.answer-formatted.report-content .report-sub.report-solution+p.report-talk{background:#edf5fa;border:0;border-left:3px solid #5d91af;color:#234b65;padding:14px 20px;margin:10px 0 22px;border-radius:0 6px 6px 0;line-height:1.95}

.answer-formatted.report-content .report-sub.report-strength{color:#42674c}.report-dialogue{margin:10px 0 18px}.report-speech blockquote p>br:last-child{display:none}

.list-toggle{display:block;font-size:12px;padding:8px 14px;margin:0 0 14px;background:#edf2f5;color:#34566d;border:1px solid #d0dde5;border-radius:6px}.list-toggle[aria-expanded="false"]:before{content:"▸ ";}.list-toggle[aria-expanded="true"]:before{content:"▾ ";}

#account-list .employee-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}#account-list select{width:auto;min-width:100px}#account-issued{white-space:pre-wrap;overflow-wrap:anywhere;padding:20px;background:#f3f5ed;border:1px solid #ccd3c1;border-radius:12px}nav{flex-wrap:wrap;align-items:center}nav>span{font-size:12px;color:#ddd}#login-form{max-width:480px;gap:20px;margin-top:28px}

#employee-message:empty{display:none}#employee-message{margin:12px 0;padding:12px 16px;border-radius:8px;font-weight:600;white-space:normal}#employee-message[data-state="success"]{background:#e5f4e8;border:1px solid #80b88a;color:#185c2a}#employee-message[data-state="error"]{background:#fff0ee;border:1px solid #d48f85;color:#982a1a}#employee-message[data-state="pending"]{background:#f1f3f5;color:#333}
/* Coaching composer uses its own vertical layout, independent of search forms. */
#coaching-popup{width:min(560px,calc(100vw - 36px))}
#coaching-form{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;width:100%;min-width:0}
#coaching-sender{margin:4px 0;white-space:normal;overflow-wrap:anywhere;flex:none}
#coaching-form label{display:block;flex:none;white-space:normal}
#coaching-author{width:auto;max-width:100%;margin-left:8px}
#coaching-form #coaching-memo{display:block;flex:none;width:100%;min-width:0;height:160px;min-height:160px;box-sizing:border-box;margin:0;font-size:15px;line-height:1.65;resize:vertical}
#coaching-form .voice-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%;margin:4px 0;padding-top:10px;box-sizing:border-box}
#coaching-form .voice-tools button,#coaching-save{flex:none;width:auto;white-space:nowrap;word-break:keep-all}
#coaching-form .voice-tools p{flex-basis:100%;margin:0}
#coaching-save{align-self:flex-end;min-width:88px}
@media(max-width:600px){#coaching-popup{width:calc(100% - 16px)}#coaching-form #coaching-memo{height:140px;min-height:140px}}

#recording-coaching-tools{display:flex;gap:14px;align-items:center;margin:8px 0}#recording-position{font-size:12px;white-space:nowrap}#recording-timeline{position:relative;height:40px;margin:0 12px}#recording-seek{width:100%;height:32px;padding:0;margin:0;accent-color:#333}#recording-marks{position:absolute;top:0;left:0;right:0;height:32px;pointer-events:none}.recording-marker{position:absolute;top:2px;width:18px;height:30px;transform:translateX(-50%);padding:0;border:0;background:transparent;pointer-events:auto}.recording-marker:before{content:"";display:block;margin:auto;width:4px;height:28px;background:#c72f36;border-radius:2px}.recording-marker:hover:before,.recording-marker:focus-visible:before{width:8px;background:#8f1820}.has-floating-recording{padding-bottom:280px}body.has-floating-recording #coaching-popup{bottom:280px}@media(max-height:700px){body.has-floating-recording #coaching-popup{top:8px;bottom:8px;max-height:calc(100vh - 16px)}}
/* One shared seek bar, with saved coaching marks above its thumb. */
#recording{display:none!important}#recording-playback-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}#recording-playback-controls label{display:flex;align-items:center;gap:8px;margin:0}#recording-playback-controls select{width:auto;padding:8px}#recording-timeline{margin:6px 12px;height:42px}#recording-marks{z-index:2;left:8px;right:8px}.recording-marker{min-width:18px!important;min-height:32px!important;opacity:1!important}.recording-marker:before{width:5px;height:32px;background:#df1726;box-shadow:0 0 0 1px white}.recording-marker:hover{background:transparent}#recording-seek{position:relative;z-index:1}


/* Compact composer, expanded conversation */
#coaching-popup,body.has-floating-recording #coaching-popup{top:16px;bottom:16px;max-height:calc(100dvh - 32px);overflow:auto}
#coaching-chat{flex:1 1 300px;min-height:180px;max-height:none}
#coaching-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}
#coaching-form #coaching-sender,#coaching-form label,#coaching-form #coaching-memo{grid-column:1/-1}
#coaching-form #coaching-sender{margin:8px 0 2px;font-size:12px}
#coaching-form label{margin:0;font-size:12px}
#coaching-form #coaching-author{padding:6px 10px}
#coaching-form #coaching-memo{height:64px;min-height:64px;max-height:140px;line-height:1.5}
#coaching-form .voice-tools{grid-column:1;margin:0;padding-top:4px;gap:6px}
#coaching-form #coaching-save{grid-column:2;align-self:start;margin:4px 0 0;padding:8px 18px}
#coaching-form .voice-tools button{padding:8px 12px}
#coaching-error{margin:6px 0 0;font-size:12px}
#coaching-error:empty,#voice-status:empty{display:none}
#coaching-chat .chat-message{position:relative}
#coaching-chat .chat-message:has(.coaching-delete){padding-right:58px}
#coaching-chat .coaching-delete{position:absolute;top:8px;right:8px;width:auto;min-width:0;min-height:0;padding:3px 7px;border:1px solid #d8cccc;border-radius:5px;background:transparent;color:#8c3939;font-size:11px;line-height:1.4;box-shadow:none}
#coaching-chat .coaching-delete:hover{background:#fbeeee}

/* Education completion and case status */
#coaching-form{grid-template-columns:minmax(0,1fr) auto auto}
#coaching-form #coaching-complete{grid-column:2;align-self:start;margin:4px 0 0;padding:8px 14px}
#coaching-form #coaching-save{grid-column:3}
.case .education-pending{display:inline-block;margin-left:10px;padding:4px 9px;border:1px solid #bd722f;border-radius:5px;background:#fff2df;color:#85501f;font-size:12px;font-weight:600}

.case-heading{display:flex;align-items:center;gap:10px}.case-heading .education-pending{margin-left:0}

.search-date-range{grid-column:span 2;border:0;margin:0;padding:0;min-width:0}.search-date-range legend{font-size:12px;margin-bottom:6px}.search-date-range>div{display:flex;align-items:center;gap:10px}.search-date-range label{flex:1;min-width:0}.search-date-range input{width:100%;box-sizing:border-box}@media(max-width:600px){.search-date-range{grid-column:1/-1}}

/* Search form: aligned conditions, separate options and actions */
#search{display:flex;flex-direction:column;align-items:stretch;gap:18px}
#search .fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 20px;width:100%}
#search .fields>label{margin:0;min-width:0;justify-content:flex-end}
#search input,#search select{box-sizing:border-box;min-width:0}
#search .search-date-range{grid-column:span 2}
.search-options{display:flex;flex-wrap:wrap;gap:12px 24px}
#search .search-options label{margin:0;font-size:12px}
#search .search-options input{width:17px;flex:0 0 17px}
.search-actions{display:flex;gap:10px;align-items:center}
#search .search-actions button{margin:0;min-width:100px}
nav{flex-wrap:wrap;align-items:center}
@media(max-width:700px){#search .fields{grid-template-columns:repeat(2,minmax(0,1fr))}.search-options{flex-direction:column}}
@media(max-width:440px){#search .fields{grid-template-columns:1fr}#search .search-date-range{grid-column:1}}

#guidance-list{position:fixed;right:16px;top:125px;bottom:20px;width:270px;overflow:auto;z-index:100;background:#fff;border:1px solid #ddd;border-radius:10px;padding:14px;box-sizing:border-box}#guidance-list h3{margin:0 0 8px}.guidance-item{display:flex;flex-direction:column;gap:6px;width:100%;margin:8px 0;padding:10px;text-align:left;white-space:normal;background:#fff5f3;color:#712e29;border:1px solid #d99b95;border-left:4px solid #bb3930;border-radius:6px}.guidance-item small{font-size:11px}.guidance-item span{font-size:12px;overflow-wrap:anywhere}.guidance-item.guidance-done{background:#f1f7f1;color:#315c3a;border-color:#93b499}.coaching-mark:after{content:' [' attr(data-guidance-number) ']';font-size:10px;font-weight:bold}.coaching-mark.guidance-done{color:#397846!important}.recording-marker.guidance-done:before{background:#397846}.recording-marker:after{content:attr(data-guidance-number);position:absolute;top:-10px;left:3px;font-size:10px;color:#a12f29}body:has(#analysis-detail:not([hidden])) main{width:calc(100% - 300px);max-width:1264px;margin-left:max(0px,calc((100% - 1564px)/2));margin-right:300px}body:has(#analysis-detail:not([hidden])) #guidance-list{right:max(16px,calc((100vw - 1564px)/2 + 16px))}@media(max-width:1000px){#guidance-list{position:static;width:100%;max-height:300px;margin-top:18px}body:has(#analysis-detail:not([hidden])) main{width:100%;margin-left:auto;margin-right:auto}}

#coaching-form{grid-template-columns:minmax(0,1fr) auto auto auto}#coaching-form #coaching-delete-all{grid-column:2;align-self:start;margin:4px 0 0;padding:8px 10px;color:#8c3939;white-space:nowrap}#coaching-form #coaching-complete{grid-column:3;padding:8px 10px;white-space:nowrap}#coaching-form #coaching-save{grid-column:4}@media(max-width:480px){#coaching-form{grid-template-columns:1fr 1fr 1fr}#coaching-form .voice-tools{grid-column:1/-1}#coaching-form #coaching-delete-all{grid-column:1}#coaching-form #coaching-complete{grid-column:2}#coaching-form #coaching-save{grid-column:3}}

/* Brand and personal dedication */
header{padding:14px 28px;gap:20px;flex-wrap:wrap}
.brand-identity{display:flex;align-items:center;gap:22px;min-width:0}
header .brand{gap:14px;flex-shrink:0}
header .brand .brand-name{font-family:'Yu Mincho','Hiragino Mincho ProN','Noto Serif JP',serif;font-weight:500;font-size:21px;letter-spacing:.1em;color:#f6f2e9}
.brand-recipient{display:flex;align-items:baseline;gap:8px;color:#d8c9aa;font-size:13px;white-space:nowrap;letter-spacing:.035em}
.brand-recipient em{font-family:Georgia,'Times New Roman',serif;font-size:21px;font-weight:400;font-style:italic;color:#bba780}
.brand-recipient span{max-width:200px;overflow:hidden;text-overflow:ellipsis}
header nav{margin-left:auto}
@media(max-width:700px){header{padding:12px 18px;display:flex;gap:8px}.brand-identity{flex-wrap:wrap;gap:6px 16px}.brand-recipient{font-size:12px}.brand-recipient em{font-size:18px}header .brand .brand-name{font-size:18px;letter-spacing:.06em}header nav{width:100%;margin:6px 0 0;flex-wrap:wrap}}

.case .education-completed{border-color:#52816d;background:#eaf4ee;color:#285842}

.staff-replied{display:inline-block!important;background:#e8f2ff!important;color:#204f83!important;border:1px solid #8eafd0;border-radius:5px;padding:3px 7px;font-size:11px!important;font-weight:600;white-space:nowrap}.case-heading{flex-wrap:wrap}.guidance-item.has-staff-reply{position:relative;padding-top:33px!important}.guidance-item>.staff-replied{position:absolute;top:7px;right:7px}

#employee-login-log{width:min(560px,calc(100vw - 40px));max-height:80vh;overflow:auto;border:1px solid #d6d9d5;border-radius:14px;padding:24px;color:#222}#employee-login-log::backdrop{background:rgba(0,0,0,.3)}#employee-login-log ol{padding-left:24px;line-height:2}#employee-login-log button{margin-right:10px}

/* Login: isolated from analysis and administration layouts. */
body.login-page{margin:0;min-height:100svh;display:grid;place-items:center;background:radial-gradient(ellipse at 15% 10%,#e9e9e0,transparent 55%),#f5f4f0;color:#242821;font-family:"Yu Gothic UI","Meiryo",sans-serif;padding:48px 24px;box-sizing:border-box}
.login-page .login-shell{display:grid;grid-template-columns:1fr 1fr;width:min(960px,100%);max-width:960px;margin:0;padding:0;min-height:600px;border:1px solid #dedfd6;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 24px 70px #2634260c}
.login-page .login-identity{position:relative;display:flex;flex-direction:column;padding:42px 46px;background:#1a1a1a;color:#f3f1e9;overflow:hidden}
.login-page .login-wordmark{font-size:20px;letter-spacing:.27em;font-weight:600}.login-page .login-wordmark span{display:block;font-size:8px;letter-spacing:.2em;color:#a4aca0;margin-top:10px}
.login-page .login-symbol{position:relative;width:96px;height:190px;margin:28px 0 22px;overflow:hidden}.login-page .login-symbol img{position:absolute;width:320px;height:320px;max-width:none;left:-112px;top:-66px}
.login-page .login-kicker{font-size:11px;letter-spacing:.16em;margin:0 0 16px;color:#677965}.login-page .login-identity .login-kicker{color:#bdc7ad}.login-page .login-copy h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:38px;font-weight:500;line-height:1.4;letter-spacing:.08em;margin:0 0 16px}.login-page .login-copy h1 span{display:block;font-family:"Yu Gothic UI",sans-serif;font-size:13px;letter-spacing:.22em;margin-top:10px;color:#c4c8bc}.login-page .login-copy>p:last-child{font-size:13px;color:#acb1a6;line-height:1.8}.login-page .login-edition{margin-top:auto;padding-top:28px;font-size:9px;letter-spacing:.2em;color:#828c7d}
.login-page .login-entry{display:flex;align-items:center;padding:52px 48px}.login-page .login-entry-inner{width:100%}.login-page #login-heading{font-size:27px;letter-spacing:.06em;margin:0 0 12px;font-weight:600}.login-page .login-intro{font-size:13px;color:#7b8076;line-height:1.8;margin:0 0 34px}.login-page #login-form{display:flex;flex-direction:column;gap:22px;margin:0;padding:0;background:none;border:0;box-shadow:none}.login-page #login-form label{display:flex;flex-direction:column;gap:10px;font-size:12px;font-weight:500;color:#4c5547}.login-page #login-form input{box-sizing:border-box;width:100%;height:50px;border:1px solid #dfe2d9;background:#fbfcf9;border-radius:8px;padding:12px 14px;font-size:15px;color:#252e23;outline:none;transition:border-color .15s,box-shadow .15s}.login-page #login-form input::placeholder{font-size:12px;color:#a0a598}.login-page #login-form input:focus{border-color:#657b5e;box-shadow:0 0 0 3px #6b83551a}.login-page #login-submit{display:flex;align-items:center;justify-content:space-between;width:100%;height:50px;margin-top:6px;padding:0 19px;border:0;border-radius:8px;background:#304834;color:#fff;font-size:14px;font-weight:600;cursor:pointer;box-shadow:none}.login-page #login-submit:hover{background:#243a29}.login-page #login-submit:focus-visible{outline:3px solid #a5b596;outline-offset:3px}.login-page #login-submit:disabled{opacity:.6;cursor:wait}.login-page #login-submit span{font-size:20px;font-weight:400}.login-page #login-message{margin:0;min-height:0;font-size:12px;line-height:1.8;color:#a33a30}.login-page #login-message:empty{display:none}.login-page .login-help{margin:26px 0 0;padding-top:22px;border-top:1px solid #eef0e9;font-size:11px;color:#8b9184;line-height:1.8}
@media(max-width:680px){body.login-page{padding:24px 16px}.login-page .login-shell{grid-template-columns:1fr;min-height:0;border-radius:18px;max-width:460px}.login-page .login-identity{padding:26px 28px}.login-page .login-wordmark{font-size:15px}.login-page .login-wordmark span,.login-page .login-edition,.login-page .login-copy>.login-kicker{display:none}.login-page .login-symbol{position:absolute;right:26px;top:26px;margin:0;width:42px;height:112px}.login-page .login-symbol img{width:180px;height:180px;left:-69px;top:-38px}.login-page .login-copy h1{font-size:28px;margin:22px 0 10px}.login-page .login-copy h1 span{display:inline;font-size:10px;margin-left:12px}.login-page .login-copy>p:last-child{font-size:11px;margin:0}.login-page .login-entry{padding:32px 28px}.login-page .login-intro{margin-bottom:26px}.login-page #login-heading{font-size:24px}}

@media(max-width:680px){.login-page .login-copy{padding-right:52px}.login-page .login-copy h1{font-size:26px;white-space:nowrap}.login-page .login-copy h1 span{display:block;margin:8px 0 0;font-size:10px}.login-page .login-copy>p:last-child{max-width:190px}}

.login-page #login-form{align-items:stretch;max-width:none;width:100%}.login-page #login-form label{width:100%;box-sizing:border-box}

/* Shared KUROCO signature footer. */
footer.site-footer{box-sizing:border-box;width:100%;margin:48px 0 0;padding:26px 44px 22px;border:0;background:#111113;color:#999b99;font-family:"Yu Gothic UI","Meiryo",sans-serif;font-size:10px;line-height:1.8}
.site-footer .site-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1200px;margin:0 auto;padding-top:24px;border-top:1px solid #252527}.site-footer small{font-size:10px;letter-spacing:.14em;font-weight:400}.site-footer p{margin:0;font-size:11px;letter-spacing:.14em;white-space:nowrap}
body.login-page{display:grid;grid-template-rows:minmax(min-content,1fr) auto;align-items:center;padding:0}.login-page .login-shell{width:calc(100% - 48px);margin:48px auto}.login-page footer.site-footer{margin:0;align-self:stretch}
@media(max-width:680px){footer.site-footer{padding:22px 24px}.site-footer .site-footer-inner{flex-wrap:wrap;gap:10px;padding-top:20px}.site-footer small{font-size:9px}.site-footer p{font-size:10px}.login-page .login-shell{width:calc(100% - 32px);margin:24px auto}}

#talk-script-panel{padding:24px;border:1px solid #d9e2d6;background:#f5f8f2;border-radius:12px;margin:18px 0 26px}#talk-script-panel label{margin:14px 0}#talk-script-panel h2{margin-top:0}#talk-script-panel input[type=file]{max-width:100%}

/* Compact appointment review: six consistent panels, unchanged source text. */
.answer-formatted .ap-review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;font-size:15px;line-height:1.85;color:#303b36;margin:24px 0}
.answer-formatted .ap-review-card{min-width:0;border:1px solid #dfe5df;border-radius:14px;padding:24px;background:#fff}
.answer-formatted .ap-review-overview,.answer-formatted .ap-review-priority{grid-column:1/-1;background:#f4f7f3}
.answer-formatted .ap-review-card>h2{font-size:19px;line-height:1.5;color:#254c3c;margin:0 0 18px;padding:0 0 14px;border-bottom:1px solid #dbe3da}
.answer-formatted .ap-review-card h3,.answer-formatted .ap-review-card h4{font-size:14px;font-weight:700;line-height:1.6;color:#4b5b51;margin:20px 0 8px;padding:0;border:0;background:none}
.answer-formatted .ap-review-card p{margin:8px 0;line-height:1.85}.answer-formatted .ap-review-card ul{margin:6px 0 0;padding-left:1.25em}.answer-formatted .ap-review-card li{margin:7px 0;padding-left:3px;line-height:1.85}.answer-formatted .ap-review-card li::marker{color:#789482}.answer-formatted .ap-review-card li p{margin:0}
.answer-formatted .ap-review-rating{display:flex;align-items:center;gap:16px;margin:4px 0 20px}.answer-formatted .ap-review-rating span{font-size:12px;color:#607265;letter-spacing:.08em}.answer-formatted .ap-review-rating strong{display:grid;place-items:center;width:60px;height:60px;border-radius:12px;background:#2f5744;color:#fff;font-size:36px;line-height:1;font-family:Georgia,serif}
.answer-formatted .ap-review-priority{border-left:4px solid #4b745c}.answer-formatted .ap-review-priority>p{font-size:16px;font-weight:600;color:#2f4f3c}
@media(max-width:800px){.answer-formatted .ap-review{grid-template-columns:1fr;gap:12px;font-size:14px}.answer-formatted .ap-review-card{padding:20px}.answer-formatted .ap-review-card>h2{font-size:18px}}

/* Appointment review hierarchy: numbered headings remain full-width headings. */
.answer-formatted .ap-review.ap-review-hierarchy{display:block;max-width:920px;margin:24px auto;font-size:15px;line-height:1.9}
.answer-formatted .ap-review-hierarchy .ap-review-card{padding:0 0 26px;margin:0 0 30px;border:0;border-radius:0;background:none}
.answer-formatted .ap-review-hierarchy .ap-review-card>h2{display:block;margin:0 0 20px;padding:14px 20px;background:#eaf1ee;color:#214a39;border:0;border-left:4px solid #365d4b;border-radius:0 6px 6px 0;font-size:21px;font-weight:750;line-height:1.6;letter-spacing:.02em}
.answer-formatted .ap-review-hierarchy .ap-review-card h3{margin:22px 20px 10px;padding:0 0 7px;color:#294c3b;font-size:17px;font-weight:700;border-bottom:1px solid #dfe7e1;line-height:1.6}
.answer-formatted .ap-review-hierarchy .ap-review-card h4,.answer-formatted .ap-review-hierarchy .ap-review-card h5{margin:16px 28px 6px;padding:0;color:#45544b;font-size:15px;font-weight:700;line-height:1.7;background:none;border:0}
.answer-formatted .ap-review-hierarchy .ap-review-card>p{margin:10px 28px;color:#364139;font-size:15px;line-height:1.9;font-weight:400}
.answer-formatted .ap-review-hierarchy .ap-review-card>ul,.answer-formatted .ap-review-hierarchy .ap-review-card>ol{margin:10px 28px;padding-left:1.3em}.answer-formatted .ap-review-hierarchy .ap-review-card li{margin:8px 0;font-size:15px;line-height:1.9}
.answer-formatted .ap-review-hierarchy .ap-review-card .ap-review-ok{display:inline-block;margin:0 20px;padding:5px 13px;border:1px solid #dce7de;border-radius:5px;background:#f6f9f5;color:#43664c;font-size:14px;font-weight:500}
.answer-formatted .ap-review-hierarchy .ap-review-rating{margin:10px 20px 24px}.answer-formatted .ap-review-hierarchy .ap-review-rating span{font-size:15px}.answer-formatted .ap-review-hierarchy .ap-review-priority>h2{background:#f0f0e9;border-left-color:#777c56;color:#4b5038}.answer-formatted .ap-review-hierarchy .ap-review-priority>p{padding:14px 18px;background:#f8f8f2;border-radius:6px}
@media(max-width:640px){.answer-formatted .ap-review-hierarchy .ap-review-card>h2{font-size:18px;padding:12px 14px}.answer-formatted .ap-review-hierarchy .ap-review-card h3{margin-left:12px;margin-right:12px;font-size:16px}.answer-formatted .ap-review-hierarchy .ap-review-card>p,.answer-formatted .ap-review-hierarchy .ap-review-card>ul,.answer-formatted .ap-review-hierarchy .ap-review-card>ol{margin-left:16px;margin-right:12px}.answer-formatted .ap-review-hierarchy .ap-review-card h4{margin-left:16px}}

.answer-formatted .ap-review-hierarchy table{display:table;width:calc(100% - 40px);margin:16px 20px;font-size:14px;line-height:1.8}.answer-formatted .ap-review-hierarchy th{background:#eaf1ee;color:#294c3b}.answer-formatted .ap-review-hierarchy th,.answer-formatted .ap-review-hierarchy td{border-color:#dce4de;padding:12px;min-width:0}.answer-formatted .ap-review-hierarchy blockquote{margin:12px 28px;background:#f4f7f4;border-left:3px solid #8ca695;color:#364139}.answer-formatted .ap-review-hierarchy .ap-review-card{padding-bottom:14px;margin-bottom:22px}@media(max-width:640px){.answer-formatted .ap-review-hierarchy table{display:block;width:100%;margin:14px 0;overflow-x:auto}}

/* A timed coaching observation includes its problem and improvement. */
.answer-formatted .ap-review-hierarchy .rhythm-moment{margin:18px 0 24px;border:1px solid #d7e2dc;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 3px 12px #244e3805}
.answer-formatted .ap-review-hierarchy .rhythm-moment .rhythm-moment-time{margin:0;padding:13px 20px;background:#edf3ef;border:0;border-bottom:1px solid #d7e2dc;font-size:16px;line-height:1.6;color:#254d3c}
.answer-formatted .rhythm-moment-time .recording-timestamp{padding:3px 8px;background:#fff;border-color:#b8cec1;font-weight:650}
.answer-formatted .rhythm-moment-body{padding:6px 22px 20px}
.answer-formatted .ap-review-hierarchy .rhythm-moment-body h3{margin:16px 0 6px;padding:0;border:0;font-size:13px;letter-spacing:.06em;color:#42604f}
.answer-formatted .ap-review-hierarchy .rhythm-moment-body p{margin:5px 0;font-size:15px;line-height:1.85}
.answer-formatted .ap-review-hierarchy .rhythm-moment-body ul{margin:5px 0 0;padding-left:1.25em}
.answer-formatted .ap-review-hierarchy .rhythm-moment-body li{margin:4px 0}
@media(max-width:640px){.answer-formatted .ap-review-hierarchy .rhythm-moment .rhythm-moment-time{padding:11px 14px}.answer-formatted .rhythm-moment-body{padding:4px 16px 16px}}
/* Appointment and closer reports share the same reading width and alignment. */
.answer-formatted .ap-review.ap-review-hierarchy{max-width:none;width:100%;margin:36px 0 0;color:#303b42}
.answer-formatted .ap-review-hierarchy .ap-review-card{margin:0 0 36px;padding:0 0 26px;border-bottom:1px solid #e3e7ea}
.answer-formatted .ap-review-hierarchy .ap-review-card>h2{margin:0 0 22px;padding:15px 18px;font-size:20px;line-height:1.6;letter-spacing:.015em;color:#203f51;background:#edf2f6;border-left-color:#355d75}
.answer-formatted .ap-review-hierarchy .ap-review-card>h3{margin:26px 0 10px;padding:0;border:0;border-radius:0;background:none;color:#56616a;font-size:15px}
.answer-formatted .ap-review-hierarchy .ap-review-card>h4,.answer-formatted .ap-review-hierarchy .ap-review-card>h5{margin-left:0;margin-right:0}
.answer-formatted .ap-review-hierarchy .ap-review-card>p{max-width:none;margin:12px 0;color:#303b42;line-height:1.95}
.answer-formatted .ap-review-hierarchy .ap-review-card>ul,.answer-formatted .ap-review-hierarchy .ap-review-card>ol{margin:12px 0;padding-left:1.5em}
.answer-formatted .ap-review-hierarchy table{width:100%;margin:20px 0}
.answer-formatted .ap-review-hierarchy blockquote{margin:10px 0 22px}
.answer-formatted .ap-review-hierarchy .ap-review-rating{margin-left:0;margin-right:0}
.answer-formatted .ap-review-hierarchy .ap-review-card .ap-review-ok{margin-left:0;margin-right:0}
.answer-formatted .ap-review-hierarchy .rhythm-moment{border-color:#dce3e8}
.answer-formatted .ap-review-hierarchy .rhythm-moment .rhythm-moment-time{background:#edf2f6;border-bottom-color:#dce3e8;color:#203f51}
.answer-formatted .rhythm-moment-time .recording-timestamp{color:#245b76;border-color:#bfd0dc}
@media(max-width:640px){.answer-formatted .ap-review-hierarchy .ap-review-card>h2{font-size:18px;padding:12px 14px}}
/* Rhythm review: issue, real dialogue, rehearsal and takeaway. */
.answer-formatted .rhythm-comparison{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding-top:12px}
.answer-formatted .rhythm-part{min-width:0;padding:16px;border:1px solid #e0e6eb;border-radius:9px;background:#f7f9fb}
.answer-formatted .rhythm-problem,.answer-formatted .rhythm-point,.answer-formatted .rhythm-improvement{grid-column:1/-1}
.answer-formatted .rhythm-problem{background:#fff7f3;border-color:#eddcd3;border-left:3px solid #ba765b}
.answer-formatted .rhythm-example{background:#f0f7f3;border-color:#cfe1d6}
.answer-formatted .rhythm-point{background:#edf3f8;border:0;border-left:3px solid #608aa6}
.answer-formatted .ap-review-hierarchy .rhythm-part h3{margin:0 0 12px;font-size:14px;font-weight:750;letter-spacing:.02em;color:#344d60}
.answer-formatted .ap-review-hierarchy .rhythm-example h3{color:#315e46}
.answer-formatted .ap-review-hierarchy .rhythm-problem h3{color:#92513a}
.answer-formatted .rhythm-speech{margin:12px 0 0;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.answer-formatted .rhythm-speaker{font-size:11px;font-weight:700;color:#657785}
.answer-formatted .rhythm-bubble{max-width:100%;padding:10px 13px;border:1px solid #dce4ea;border-radius:0 10px 10px 10px;background:#fff;line-height:1.85;font-size:14px}
.answer-formatted .rhythm-staff{align-items:flex-end;margin-left:20px}
.answer-formatted .rhythm-staff .rhythm-bubble{background:#e8eff5;border-color:#d4e0ea;border-radius:10px 0 10px 10px}
.answer-formatted .rhythm-example .rhythm-staff .rhythm-bubble{background:#e1efe6;border-color:#c5ddce}
@media(max-width:720px){.answer-formatted .rhythm-comparison{grid-template-columns:minmax(0,1fr)}.answer-formatted .rhythm-part{padding:13px}}

.answer-formatted .rhythm-comparison:not(:has(.rhythm-actual)) .rhythm-example{grid-column:1/-1}
/* Guide the reader from the actual exchange to the improved response. */
.answer-formatted .rhythm-comparison:has(.rhythm-actual):has(.rhythm-example){column-gap:60px}
.answer-formatted .rhythm-example{position:relative;border:2px solid #80ad94;background:linear-gradient(145deg,#f2faf5,#eaf5ee);box-shadow:0 4px 14px #315e460a}
.answer-formatted .ap-review-hierarchy .rhythm-example h3{display:flex;align-items:center;gap:8px;margin:0;font-size:21px;line-height:1.5;color:#245f40;letter-spacing:.03em}
.answer-formatted .rhythm-recommend-check{display:inline-grid;place-items:center;width:27px;height:27px;flex-shrink:0;background:#2f7950;color:#fff;border-radius:50%;font-size:17px}
.answer-formatted .ap-review-hierarchy .rhythm-example .rhythm-recommend-caption{margin:3px 0 18px 35px;color:#527861;font-size:12px;line-height:1.6}
.answer-formatted .rhythm-comparison:has(.rhythm-actual) .rhythm-example::before{content:'改善 →';position:absolute;left:-57px;top:25px;width:52px;text-align:center;color:#36734e;font-size:13px;font-weight:750;white-space:nowrap}
.answer-formatted .rhythm-example .rhythm-staff .rhythm-bubble{background:#d9ecdf;border-color:#afd0ba;color:#214d34;font-weight:600}
@media(max-width:720px){.answer-formatted .rhythm-comparison:has(.rhythm-actual) .rhythm-example{margin-top:28px}.answer-formatted .rhythm-comparison:has(.rhythm-actual) .rhythm-example::before{content:'改善 ↓';left:50%;top:-32px;transform:translateX(-50%);width:70px}.answer-formatted .ap-review-hierarchy .rhythm-example h3{font-size:19px}}

.answer-formatted .rhythm-other{grid-column:1/-1}
.detail-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}.detail-actions #close-detail{float:none;margin:0}.detail-actions button{font-size:12px;padding:12px 16px}#pdf-message{clear:both;text-align:right;font-size:12px;color:#63776c;margin:0 0 10px}#pdf-message:empty{display:none}
.pdf-report{background:#fff;color:#263d4c;padding:0;font-family:'Yu Gothic UI',Meiryo,sans-serif;font-size:12px;line-height:1.8;width:100%}.pdf-report>h1{font-size:22px;margin:0 0 8px}.pdf-report>.pdf-meta{border-bottom:2px solid #355d75;padding-bottom:12px;font-size:11px}.pdf-report .answer-formatted{margin:0;font-size:12px}.pdf-report .ap-review.ap-review-hierarchy{margin-top:16px}.pdf-report .rhythm-comparison{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:46px!important}.pdf-report .rhythm-example{margin-top:0!important}.pdf-report .rhythm-comparison:has(.rhythm-actual) .rhythm-example::before{content:'→'!important;left:-38px!important;top:25px!important;transform:none!important;width:28px!important}.pdf-report .rhythm-moment-body{padding:6px 12px 14px}.pdf-report .rhythm-part{padding:11px}.pdf-report .rhythm-bubble{font-size:11px;padding:8px}.pdf-report .ap-review-hierarchy .rhythm-example h3{font-size:16px}.pdf-report .ap-review-hierarchy .rhythm-part h3{font-size:12px}.pdf-report .ap-review-hierarchy p,.pdf-report .ap-review-hierarchy li{font-size:12px}.pdf-report .ap-review-hierarchy .ap-review-card>h2{font-size:17px}.pdf-report h2,.pdf-report h3,.pdf-report h4{break-after:avoid}.pdf-report .coaching-mark{background:transparent;border:0}.pdf-report .rhythm-moment,.pdf-report tr,.pdf-report blockquote{break-inside:avoid}.pdf-report .rhythm-other{grid-column:1/-1}

/* Compare the broken sales cycle with the intended cycle. */
.answer-formatted .metronome-summary{margin:20px 0 26px;padding:20px 24px;border:1px solid #d9e4eb;border-left:4px solid #355d75;border-radius:10px;background:#f3f7fa}
.answer-formatted .metronome-summary>strong{font-size:12px;color:#537084;letter-spacing:.08em}
.answer-formatted .metronome-summary p{margin:10px 0 0;line-height:1.9}
.answer-formatted .metronome-context{font-size:12px;color:#71808a}.answer-formatted .metronome-context:empty{display:none}
.answer-formatted .metronome-comparison{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;padding:12px 0 4px;align-items:start}
.answer-formatted .metronome-panel{min-width:0;padding:22px;border-radius:12px;border:1px solid #e6cec4;background:#fff8f5}
.answer-formatted .metronome-target{border:2px solid #8ab39a;background:#f1f8f3}
.answer-formatted .metronome-label{display:inline-block;padding:4px 10px;border-radius:5px;background:#f4e3db;color:#944d34;font-size:12px;font-weight:700;letter-spacing:.04em}
.answer-formatted .metronome-target .metronome-label{background:#2f7950;color:white}
.answer-formatted .metronome-panel h3{margin:12px 0 18px!important;font-size:18px!important;color:#744935}.answer-formatted .metronome-target h3{color:#245f40}
.answer-formatted .metronome-panel p{margin:12px 0;line-height:1.8}
.answer-formatted .metronome-flow{list-style:none;padding:0;margin:22px 0 12px;counter-reset:flow}
.answer-formatted .metronome-flow li{position:relative;counter-increment:flow;margin:0 0 27px;padding:12px 14px 12px 43px;border:1px solid #ead7ce;border-radius:8px;background:#fff;line-height:1.7;color:#65493b}
.answer-formatted .metronome-flow li::before{content:counter(flow);position:absolute;left:12px;top:14px;width:20px;height:20px;line-height:20px;text-align:center;background:#f4e3db;color:#944d34;border-radius:50%;font-size:11px;font-weight:700}
.answer-formatted .metronome-flow li:not(:last-child)::after{content:'↓';position:absolute;bottom:-25px;left:50%;color:#b18b79;font-size:18px}
.answer-formatted .metronome-flow li:last-child{margin-bottom:0}
.answer-formatted .metronome-target .metronome-flow li{border-color:#c8dfd0;color:#28533a}
.answer-formatted .metronome-target .metronome-flow li::before{background:#dcefe2;color:#2d7149}
.answer-formatted .metronome-target .metronome-flow li::after{color:#5c9770}
.answer-formatted .metronome-target .metronome-flow li:last-child{background:#dcefe2;border-color:#8ab39a;font-weight:700}
@media(max-width:760px){.answer-formatted .metronome-comparison{grid-template-columns:1fr;gap:16px}.answer-formatted .metronome-panel{padding:16px}}
.pdf-report .metronome-comparison{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px}.pdf-report .metronome-panel{padding:12px}.pdf-report .metronome-panel h3{font-size:14px!important}.pdf-report .metronome-flow li{break-inside:avoid}

.answer-formatted .ap-review-hierarchy .metronome-flow li{margin:0 0 27px;padding:12px 14px 12px 43px}.answer-formatted .ap-review-hierarchy .metronome-flow li:last-child{margin-bottom:0}

/* Pending education stays independent of analysis search and history selection. */
#education-section{grid-column:1/-1;min-width:0;margin-bottom:28px}
#education-cases{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,350px),1fr));gap:16px;align-items:stretch}
#education-cases[hidden]{display:none}
#education-cases .case{border-color:#b9cfc5;background:#f9fcfa}

.analysis-source-note{margin:24px 0 0;padding:12px 16px;border:1px solid #dce4e7;border-radius:8px;color:#52636b;font-size:13px}.analysis-source-note summary{cursor:pointer;font-weight:600}.analysis-source-note p{line-height:1.8}

/* Shared improvement examples: high-contrast, compact three-step strip. */
.answer-formatted .talk-principle-check{display:flex;align-items:center;justify-content:center;gap:7px;margin:12px 0 18px;padding:11px 10px;background:#203247;border:1px solid #203247;border-radius:8px;color:#fff;font-size:12px;font-weight:700;line-height:1.5;break-inside:avoid;box-shadow:0 2px 5px #14253912}
.answer-formatted .talk-principle-check>span{min-width:0;text-align:center;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
.answer-formatted .talk-principle-check>b{flex:0 0 auto;font-size:14px;font-weight:500;color:#f4bb65}
@media(max-width:420px){.answer-formatted .talk-principle-check{font-size:11px;gap:5px;padding:10px 8px}}

/* Business selection and persistent identity */
.business-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:0;padding:0;margin:0 0 24px;min-width:0}.business-choice legend{font-size:13px;margin-bottom:10px}.login-entry .business-choice label{position:relative;display:block;margin:0;cursor:pointer}.business-choice input{position:absolute;opacity:0;width:1px;height:1px}.business-choice span{display:flex;flex-direction:column;gap:8px;padding:18px 14px;min-height:110px;box-sizing:border-box;border:1px solid #d9e1e6;border-radius:12px;background:#f7f9fa;color:#365366}.business-choice strong{font-size:19px;letter-spacing:.05em}.business-choice small{font-size:11px;line-height:1.7;font-weight:400}.business-choice input:checked+span{background:#eaf4f1;border:2px solid #286557;padding:17px 13px;color:#174d40;box-shadow:0 3px 12px #153e3212}.business-choice input[value="/usen"]:checked+span{background:#edf3fc;border-color:#345da4;color:#24487e}.business-choice input:focus-visible+span{outline:3px solid #d49b3c;outline-offset:3px}.business-bar{display:flex;gap:16px;align-items:center;padding:12px 5%;background:#183e38;color:white;font-size:12px}.business-bar strong{font-size:17px}.business-bar a{margin-left:auto;color:white;white-space:nowrap}.business-usen{background:#243e70}@media(max-width:540px){.business-bar{flex-wrap:wrap;gap:8px}.business-bar span{flex-basis:100%;order:3}.business-choice span{padding:14px 10px}.business-choice input:checked+span{padding:13px 9px}}
.business-choice label>span{height:100%}

.business-links{display:grid;gap:16px;margin-top:22px}.business-card{display:flex;flex-direction:column;gap:10px;padding:24px;border:1px solid #c9dcd5;border-radius:12px;background:#eef6f2;color:#215447;text-decoration:none;transition:box-shadow .15s,transform .15s}.business-card strong{font-size:23px;letter-spacing:.06em}.business-card span{font-size:13px;line-height:1.7}.business-card-usen{background:#edf3fc;border-color:#c4d2e9;color:#294b80}.business-card:hover{transform:translateY(-2px);box-shadow:0 6px 18px #173a4517}.business-card:focus-visible{outline:3px solid #d49b3c;outline-offset:3px}#business-heading{font-size:14px;font-weight:500}[hidden]{display:none!important}

/* Untimed problem/improvement comparisons, including USEN base reports. */
.answer-formatted .issue-improvement-table .rhythm-comparison{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.answer-formatted .issue-improvement-table .rhythm-problem,.answer-formatted .issue-improvement-table .rhythm-improvement{grid-column:auto;min-width:0;overflow-wrap:anywhere}
.answer-formatted .issue-improvement-table .rhythm-improvement{background:#eff8f3;border-color:#acd0bc;border-left:3px solid #2d7a53}
.answer-formatted .issue-improvement-table .rhythm-improvement h3{color:#236346}
@media(max-width:760px){.answer-formatted .issue-improvement-table .rhythm-comparison{grid-template-columns:minmax(0,1fr)}}

/* Guidance rail must never leak from hidden detail/upload views. */
#analysis-detail[hidden] #guidance-list,.workspace[hidden] #guidance-list{display:none!important}
#guidance-list{top:var(--guidance-top,150px);bottom:auto;height:auto;max-height:calc(100dvh - var(--guidance-top,150px) - 20px);max-width:calc(100vw - 32px);overflow:auto;overflow-wrap:anywhere}
@media(max-width:1200px){#guidance-list{position:static;width:100%;max-width:100%;max-height:300px;margin-top:18px}body:has(#analysis-detail:not([hidden])) main{width:100%;margin-left:auto;margin-right:auto}}

/* Bounded geometry repair, shared by every business and report type. */
.report-layout-repair .rhythm-comparison,.report-layout-repair .metronome-comparison {display:flex!important;flex-direction:column!important;gap:16px!important}
.report-layout-repair .rhythm-part,.report-layout-repair .metronome-panel,.report-layout-repair .rhythm-bubble {box-sizing:border-box!important;min-width:0!important;max-width:100%!important;width:auto!important;position:static!important;white-space:normal!important;overflow-wrap:anywhere!important}
.report-layout-repair table {width:100%!important;table-layout:fixed!important}
.report-layout-repair td,.report-layout-repair th,.report-layout-repair p,.report-layout-repair li,.report-layout-repair pre,.report-layout-repair a {white-space:pre-wrap!important;overflow-wrap:anywhere!important;min-width:0!important;max-width:100%!important}
.report-layout-repair .rhythm-example::before {display:none!important}
/* Searchable employee dropdown shared by both businesses. */
.employee-picker{position:relative;min-width:0;width:100%}
.employee-picker .employee-picker-trigger{width:100%;text-align:left;background:#fff;color:#17353c;border:1px solid #ccd5d4;border-radius:7px;padding:10px 12px;font:inherit;min-height:40px;white-space:normal;overflow-wrap:anywhere}
.employee-picker-trigger:focus-visible{outline:2px solid #286a60;outline-offset:2px}
.employee-picker-panel{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:100;background:#fff;border:1px solid #baccc7;border-radius:9px;box-shadow:0 8px 24px #17352d24;padding:8px;min-width:0}
.employee-picker-panel[hidden]{display:none!important}
.employee-picker-panel input{width:100%;box-sizing:border-box;background:#fff;color:#17353c;margin:0 0 6px;padding:10px;border:1px solid #86aaa0;border-radius:5px;font:inherit}
.employee-picker-options{max-height:240px;overflow-y:auto;overscroll-behavior:contain}
.employee-picker-options [role=option]{padding:9px 10px;cursor:pointer;border-radius:4px;white-space:normal;overflow-wrap:anywhere;color:#17353c;font-weight:400}
.employee-picker-options [role=option]:hover,.employee-picker-options .is-active{background:#e6f1ee}
.employee-picker-options [aria-selected=true]{background:#dcece6;font-weight:700}
.employee-picker-options p{padding:8px;color:#687b77}

/* Hide the business-bar management link requested on 2026-10-10. */
.business-bar > a[href='/management']{display:none!important}


/* Administrator titles: separate readable titles from unset placeholders. */
.case-tendency.case-custom-title.is-titled{color:#173f39;font-size:16px;font-weight:750;line-height:1.65;background:#edf5f2;border-left:4px solid #286352;border-radius:5px;padding:10px 12px;box-sizing:border-box;letter-spacing:.01em}
.case-tendency.case-custom-title.is-untitled{color:#64685f;font-size:14px;font-weight:400;line-height:1.65}
#detail-custom-title.is-titled{color:#173f39;font-size:20px;font-weight:750;line-height:1.65;background:#edf5f2;border-left:4px solid #286352;border-radius:5px;padding:10px 14px;overflow-wrap:anywhere}
#detail-custom-title.is-untitled{color:#64685f;font-size:15px;font-weight:400}

/* Product name fits the existing login identity panel. */
.login-page .login-copy h1{font-size:34px;letter-spacing:.04em}
@media(max-width:680px){.login-page .login-copy h1{font-size:26px}}

/* Case deletion remains visible above long reports. */
#case-delete-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;margin:0 0 18px;clear:both}
#case-delete-controls #delete-analysis{background:#fff3f1;border:1px solid #b63229;color:#9e251e;font-size:13px;font-weight:700;padding:11px 16px}
#case-delete-controls #delete-analysis:hover:not(:disabled){background:#ffe4df;color:#851d17}
#case-delete-controls #delete-message{margin:0;flex-basis:100%;text-align:right}
