:root{color:#26393b;font-synthesis:none;text-rendering:optimizelegibility;--ink:#26393b;--muted:#6d7e82;--line:#dfe8e7;--blue:#557b91;--blue-dark:#385d71;--blue-soft:#e9f1f4;--orange:#c8784f;--orange-soft:#fcf0e8;--white:#fff;--green:#478675;background:#f2f6f5;font-family:Inter,Noto Sans JP,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(at 17% 20%,#e3f0f2 0,#0000 35%),#f2f6f5;min-width:320px;min-height:100vh;margin:0;font-size:16px;line-height:1.65}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}.page-frame{flex-direction:column;min-height:100vh;display:flex}.topbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffd9;border-bottom:1px solid #e2e9e8;justify-content:space-between;align-items:center;height:76px;padding:0 clamp(18px,5vw,72px);display:flex}.brand{align-items:center;gap:11px;display:flex}.brand-mark{background:#e6f0f1;border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.brand-mark svg{width:31px;height:31px;overflow:visible}.brand-mark circle,.brand-mark path:not(.heart){fill:#637f8b}.brand-mark .heart{fill:none;stroke:#fff;stroke-width:2.1px;stroke-linecap:round;stroke-linejoin:round}.brand-name{font-size:16px;font-weight:750;line-height:1.2}.brand-name small{letter-spacing:.17em;color:#758992;margin-top:5px;font-size:9px;display:block}.back-link{color:#62777d;font-size:13px}.back-link span{color:var(--orange);margin-left:5px}.main-content{flex:1;width:min(1100px,100%);margin:auto;padding:58px 28px 54px}.auth-layout{grid-template-columns:1.05fr .95fr;align-items:center;gap:clamp(40px,8vw,110px);min-height:550px;display:grid}.intro-panel{max-width:530px}.eyebrow{color:#6c858d;letter-spacing:.15em;align-items:center;gap:8px;margin:0 0 17px;font-size:11px;font-weight:800;display:flex}.dot{background:var(--orange);border-radius:50%;width:8px;height:8px}h1,h2,h3,p{margin-top:0}.intro-panel h1{letter-spacing:.02em;margin:0 0 18px;font-family:Georgia,Noto Serif JP,serif;font-size:clamp(35px,4.5vw,52px);font-weight:500;line-height:1.45}.intro-panel h1 em{color:var(--orange);font-style:normal}.intro-copy{color:#5d7076;max-width:480px;font-size:16px;line-height:1.9}.privacy-callout{border:1px solid #dce8e6;border-left:4px solid var(--orange);background:#fff;border-radius:9px;gap:5px;margin-top:31px;padding:16px 18px;font-size:13px;display:grid}.privacy-callout b{font-size:14px}.privacy-callout span{color:#6f8083}.card{border:1px solid var(--line);background:#fff;border-radius:16px;box-shadow:0 16px 50px #44626e0a}.auth-card{justify-self:end;width:100%;max-width:465px;padding:30px 31px}.auth-card h2,.narrow-card h2,.workspace h2{margin:0 0 7px;font-size:24px;line-height:1.4}.muted{color:var(--muted);margin:0 0 20px;font-size:14px}.mode-switch{border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;margin:21px 0 20px;display:grid}.mode-button{color:#7b898c;background:0 0;border:0;border-bottom:2px solid #0000;padding:11px 6px;font-size:14px;font-weight:700}.mode-button.active{border-color:var(--orange);color:#344a4f}.form-stack{gap:15px;display:grid}.form-stack label{color:#44585d;gap:7px;font-size:14px;font-weight:700;display:grid}.form-stack input,.form-stack textarea,.request-controls select{width:100%;min-height:48px;color:var(--ink);background:#fff;border:1px solid #cedad9;border-radius:8px;outline:none;padding:11px 13px;font-size:15px;font-weight:400;display:block}.form-stack textarea{resize:vertical;min-height:100px}.form-stack input:focus,.form-stack textarea:focus,.request-controls select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #557b911c}.field-help{color:#758589;font-size:12px;font-weight:400;line-height:1.55}.button{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;min-height:46px;padding:10px 17px;font-size:14px;font-weight:750;transition:background .15s,transform .15s;display:inline-flex}.button:disabled{opacity:.6;cursor:wait}.button.primary{color:#fff;background:var(--blue)}.button.primary:hover:not(:disabled){background:var(--blue-dark);transform:translateY(-1px)}.button.outline{color:#4c666c;background:#fff;border-color:#d4dfde}.button.outline:hover{border-color:#91a9ac}.link-button{color:#557b91;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;justify-self:start;padding:0;font-size:13px;text-decoration:underline}.status-message{color:#66787d;min-height:1.2em;margin:0;font-size:13px;line-height:1.55}.status-message:empty{display:none}.status-message.error{color:#a44c42}.status-message.success{color:#357763}.config-view{max-width:650px;margin:60px auto;padding:35px}.config-view h1,.narrow-card h1{font-size:27px}.small-note{color:#617479;background:#f2f6f5;border-radius:8px;padding:12px 14px;font-size:13px}.narrow-card{width:min(660px,100%);margin:25px auto;padding:29px 31px}.narrow-card>p:not(.eyebrow){color:#617479;font-size:14px}.workspace{gap:20px;display:grid}.workspace-header{justify-content:space-between;align-items:center;padding:24px 28px;display:flex}.workspace-header h1{margin:0 0 5px;font-family:Georgia,Noto Serif JP,serif;font-size:28px;font-weight:500}.workspace-header .eyebrow{margin-bottom:7px}.workspace-header .muted{margin:0}.workspace #request-view,.workspace #member-view{margin-top:0;margin-bottom:0}.request-history{gap:8px;margin-top:22px;display:grid}.request-history h3{margin:0;font-size:15px}.request-history-row{background:#f8faf9;border:1px solid #e5ecea;border-radius:8px;grid-template-columns:1fr auto;gap:3px 10px;padding:12px 13px;display:grid}.request-history-row small{color:#77878a;grid-column:1/-1;font-size:12px}.status-chip{white-space:nowrap;color:#52756d;background:#edf4f2;border-radius:999px;align-self:center;padding:3px 8px;font-size:12px}.pending-note{color:#56766e;background:#f2f7f5;border-radius:8px;padding:11px 13px;font-size:13px}.organization-list{gap:9px;margin:18px 0;display:grid}.organization-row{border:1px solid #e3eae9;border-radius:9px;align-items:center;gap:11px;padding:12px;display:flex}.organization-row .status-chip{margin-left:auto}.organization-mark{background:var(--blue-soft);width:35px;height:35px;color:var(--blue);border-radius:9px;place-items:center;font-weight:800;display:grid}.operator-requests{gap:12px;margin-top:22px;display:grid}.operator-request{background:#fff;border:1px solid #e1e9e7;border-radius:10px;padding:17px}.operator-request-header h3{margin:0 0 3px;font-size:17px}.operator-request-header .muted{margin:0;font-size:13px}.request-note{color:#5e7073;white-space:pre-wrap;background:#f6f8f7;border-radius:7px;margin:13px 0 0;padding:10px 12px;font-size:13px}.request-controls{grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:9px;margin-top:14px;display:grid}.request-controls select{min-height:42px;font-size:13px}.small-button{min-height:42px;padding:8px 14px}.empty-state{text-align:center;color:#718184;border:1px dashed #d5dfde;border-radius:9px;padding:20px;font-size:14px}.page-footer{color:#7e8d90;background:#fff;border-top:1px solid #e2e9e8;justify-content:space-between;gap:15px;padding:16px clamp(18px,5vw,72px);font-size:12px;display:flex}.page-footer a:hover,.back-link:hover{color:var(--blue-dark)}[hidden]{display:none!important}@media (width<=820px){.main-content{padding:34px 20px}.auth-layout{grid-template-columns:1fr;gap:25px;min-height:auto}.intro-panel{max-width:640px;margin-inline:auto}.intro-panel h1{font-size:clamp(32px,8vw,45px)}.intro-copy{font-size:15px}.privacy-callout{margin-top:20px}.auth-card{justify-self:center;max-width:560px}.narrow-card{margin:14px auto}.topbar{height:68px}.brand-mark{width:38px;height:38px}.brand-name{font-size:14px}.back-link{font-size:12px}}@media (width<=520px){body{font-size:15px}.topbar{padding:0 14px}.brand{gap:8px}.brand-name{font-size:12px}.brand-name small{font-size:8px}.brand-mark{width:34px;height:34px}.back-link{font-size:0}.back-link span{font-size:17px}.main-content{padding:25px 14px 32px}.intro-panel h1{font-size:34px}.intro-copy{font-size:14px}.privacy-callout{font-size:12px}.privacy-callout b{font-size:13px}.auth-card,.narrow-card{border-radius:12px;padding:22px 18px}.auth-card h2,.narrow-card h2{font-size:22px}.form-stack label{font-size:13px}.form-stack input,.form-stack textarea{font-size:16px}.workspace-header{align-items:flex-start;padding:18px 16px}.workspace-header h1{font-size:23px}.workspace-header .button{min-height:39px;padding:7px 11px;font-size:12px}.request-controls{grid-template-columns:1fr 1fr}.request-controls select{grid-column:1/-1}.operator-request{padding:13px}.page-footer{padding:13px 15px;font-size:10px}}.operator-section+.operator-section{border-top:1px solid var(--line);margin-top:24px;padding-top:22px}.operator-section h3{margin:0 0 12px;font-size:16px}.operator-section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.operator-section-heading .status-chip{margin-bottom:12px}.operator-section .organization-list,.operator-section .operator-requests{margin-top:0}.case-workspace{padding:26px}.case-workspace-header,.case-panel-heading,.case-item-top,.case-detail-title-line,.case-message-meta,.case-lawyer-row,.case-submit-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.case-workspace-header{margin-bottom:15px}.case-workspace-header h2,.case-create-form h3,.case-panel-heading h3{margin:0}.case-workspace .eyebrow{margin-bottom:6px}.case-workspace-notice,.case-workspace>.small-note{margin:0 0 18px}.case-org-filter,.case-form-grid label,.case-message-form label,.lawyer-register-form label{color:#44585d;gap:6px;font-size:13px;font-weight:700;display:grid}.case-org-filter select,.case-form-grid input,.case-form-grid textarea,.case-message-form textarea,.lawyer-register-form input,.lawyer-assign-form select{width:100%;min-height:44px;color:var(--ink);font:inherit;background:#fff;border:1px solid #cedad9;border-radius:8px;padding:10px 12px;font-weight:400}.counsel-plan-form select,.counsel-plan-form input:not([type=checkbox]){width:100%;min-height:42px;color:var(--ink);font:inherit;background:#fff;border:1px solid #cedad9;border-radius:8px;padding:9px 11px;font-weight:400}.case-form-grid textarea,.case-message-form textarea{resize:vertical;min-height:95px;line-height:1.7}.case-create-form{background:#fbfcfc;border:1px solid #e1e9e7;border-radius:11px;margin-bottom:22px;padding:20px}.case-create-form h3{margin-bottom:15px;font-size:18px}.case-form-grid{grid-template-columns:minmax(0,1fr) minmax(170px,.55fr);gap:13px;display:grid}.case-form-grid .case-wide{grid-column:1/-1}.case-submit-row{align-items:end;margin-top:14px}.case-submit-row .field-help{max-width:610px}.case-layout{grid-template-columns:minmax(245px,.72fr) minmax(0,1.55fr);align-items:start;gap:18px;display:grid}.case-list-panel,.case-detail{background:#fff;border:1px solid #e1e9e7;border-radius:11px;min-width:0;padding:17px}.case-panel-heading{margin-bottom:11px}.case-panel-heading h3{font-size:16px}.case-list{gap:8px;max-height:660px;display:grid;overflow-y:auto}.case-list-item{text-align:left;width:100%;color:var(--ink);cursor:pointer;background:#fff;border:1px solid #e2e9e8;border-radius:8px;gap:6px;padding:11px;display:grid}.case-list-item:hover,.case-list-item.active{background:#f4f8f8;border-color:#90aeb5}.case-list-item.active{box-shadow:inset 3px 0 var(--orange)}.case-list-item>strong{font-size:14px;line-height:1.5}.case-list-item small,.case-code,.case-item-date{color:#74858a;font-size:11px}.case-item-top .status-chip{font-size:10px}.case-detail-header{border-bottom:1px solid #e5ecea;padding-bottom:15px}.case-detail-header h2{margin:8px 0 4px;font-size:22px;line-height:1.45}.case-detail-header p{margin:0}.case-detail-block{border-bottom:1px solid #e9efee;padding:16px 0}.case-detail-block h3{color:#465f66;margin:0 0 8px;font-size:14px}.case-detail-block>p:not(.field-help):not(.status-message),.case-message p{color:#43565b;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.8}.case-muted{color:var(--muted)!important;font-size:13px!important}.case-lawyer-row,.lawyer-account-row{border-top:1px solid #edf1f0;justify-content:flex-start;padding:9px 0}.case-lawyer-row .link-button,.lawyer-account-row .link-button{margin-left:auto}.lawyer-assign-form{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:12px;display:grid}.consultation-panel,.counsel-usage-box{background:#f8faf9;border:1px solid #e3ebe9;border-radius:9px;margin-top:15px;padding:14px}.consultation-panel h4,.counsel-usage-box h4{margin:0 0 8px;font-size:14px}.consultation-row{border-top:1px solid #e5ecea;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.consultation-row-detail{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.consultation-row-detail small{width:100%;color:var(--muted)}.consultation-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.counsel-usage-values{margin:0;font-weight:700}.counsel-plan-form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px;margin:15px 0 10px;display:grid}.counsel-plan-form label{color:#44585d;gap:6px;font-size:13px;font-weight:700;display:grid}.counsel-plan-form .checkbox-label{align-items:center;gap:8px;min-height:42px;display:flex}.counsel-plan-list{gap:8px;margin-top:14px;display:grid}.ai-data-notice{color:#785b4b;background:#fbf5ef;border-left:3px solid #c78057;border-radius:0 7px 7px 0;padding:11px 13px;font-size:12px;line-height:1.75}.lawyer-ai-memo-list{gap:10px;margin-top:13px;display:grid}.lawyer-ai-memo{background:#f8faf9;border:1px solid #e1e9e7;border-radius:8px;padding:13px}.lawyer-ai-memo-meta{color:#728287;margin-bottom:7px;font-size:11px}.lawyer-ai-memo-text{color:#43565b;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.85}.case-workspace .case-list-item small,.case-workspace .case-code,.case-workspace .case-item-date,.case-workspace .case-muted,.case-workspace .field-help,.case-workspace .status-message,.case-workspace .case-activity .activity-row,.case-workspace .case-message-meta,.case-workspace .consultation-row-detail small,.case-workspace .lawyer-ai-memo-meta,.case-workspace .ai-data-notice,.case-workspace .counsel-plan-row small,.case-workspace .counsel-plan-usage{font-size:14px!important}.case-workspace .case-item-top .status-chip,.case-workspace .status-chip{font-size:13px}.case-workspace .case-detail-block h3,.case-workspace .consultation-panel h4,.case-workspace .counsel-usage-box h4{font-size:16px}.case-workspace .case-form-grid label,.case-workspace .case-message-form label,.case-workspace .counsel-plan-form label,.case-workspace .lawyer-ai-memo-text,.case-workspace .case-detail-block>p:not(.field-help):not(.status-message),.case-workspace .case-message p{font-size:15px}.counsel-plan-row{border:1px solid #e1e9e7;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 12px;padding:12px;display:grid}.counsel-plan-org-name{font-weight:700}.counsel-plan-usage,.counsel-plan-row small{color:#65787d;grid-column:1/-1;margin:0}.case-activity .activity-row{color:#6c7e82;margin:4px 0;font-size:12px}.case-message-list{gap:9px;margin:10px 0 15px;display:grid}.case-message{background:#f8faf9;border:1px solid #e2eae8;border-radius:9px;padding:11px 13px}.case-message.own{background:#f0f7f7;border-color:#d8e8e8}.case-message-meta{color:#718287;justify-content:flex-start;margin-bottom:4px;font-size:11px}.case-message-meta time{margin-left:auto}.case-message-form{justify-items:start;gap:9px;display:grid}.case-message-form label{width:100%}.lawyer-register-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin:12px 0;display:grid}.operator-lawyers{gap:6px;display:grid}@media (width<=780px){.case-workspace{padding:19px}.case-layout{grid-template-columns:1fr}.case-list{max-height:320px}}@media (width<=520px){.case-workspace{padding:15px}.case-workspace-header{flex-direction:column;align-items:flex-start}.case-org-filter{width:100%}.case-form-grid,.lawyer-register-form,.counsel-plan-form{grid-template-columns:1fr}.consultation-row{flex-direction:column;align-items:flex-start}.consultation-actions{justify-content:flex-start}.case-submit-row{flex-direction:column;align-items:stretch}.case-submit-row .button,.lawyer-register-form .button{width:100%}.case-detail-header h2{font-size:19px}}
