:root{--green:#087b57;--green-dark:#14532d;--bg:#f4f8f5;--text:#183326;--muted:#64756c;--border:#d8e3db;--danger:#b91c1c}*{box-sizing:border-box}html{scroll-behavior:smooth;min-width:320px}body{background:var(--bg);min-height:100vh;color:var(--text);overflow-wrap:anywhere;margin:0;font-family:Hiragino Sans,Yu Gothic UI,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.success-panel{color:var(--green-dark);overflow-wrap:anywhere;background:#eefaf3;border:1px solid #9fd5b8;border-radius:8px;padding:12px 14px}.email-history-list{gap:10px;margin:16px 0;display:grid}.email-history-item{border:1px solid var(--border);border-radius:8px;gap:4px;min-width:0;padding:12px;display:grid}.email-history-item span,.email-history-item time{overflow-wrap:anywhere;color:var(--muted);font-size:.85rem}.public-header{z-index:30;isolation:isolate;border-bottom:1px solid var(--border);background:#fff;position:sticky;top:0}.header-inner{align-items:center;gap:16px;max-width:1240px;height:64px;margin:auto;padding:0 16px;display:flex;position:relative}.brand{white-space:nowrap;align-items:center;gap:9px;font-weight:900;display:flex}.brand-icon{flex:none;width:38px;height:38px;display:block}.brand-name{line-height:1}.public-nav{align-items:center;gap:16px;margin-left:auto;display:flex}.public-nav>a:not(.button-link){min-height:44px;color:var(--green-dark);background:#fff;border:1px solid #9dcdb4;border-radius:9px;justify-content:center;align-items:center;padding:0 16px;font-weight:800;display:flex}.menu-button{z-index:2;width:44px;height:44px;color:var(--text);cursor:pointer;background:0 0;border:0;flex:none;font-size:24px;list-style:none;display:none;position:relative}.menu-button::-webkit-details-marker{display:none}.public-menu{margin-left:auto;display:none}.menu-close-icon,.public-menu[open] .menu-open-icon{display:none}.public-menu[open] .menu-close-icon{display:inline}.button,.button-link{background:var(--green);color:#fff;cursor:pointer;touch-action:manipulation;border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 18px;font-weight:800;display:inline-flex}.button:disabled{opacity:.55}.button.small{min-height:34px;padding:6px 12px;font-size:13px}.button.secondary{color:var(--text);border:1px solid var(--border);background:#fff}.button.danger{background:var(--danger)}.button-link.light{color:var(--green-dark);background:#fff}.button-link.outline-light{color:#fff;background:0 0;border:1px solid #fff}.text-link{color:var(--green);text-underline-offset:3px;font-weight:800;text-decoration:underline}.public-main{width:min(1240px,100% - 24px);margin:24px auto 48px}.hero{background:var(--green);color:#fff;border-radius:24px;padding:32px}.hero.pale{color:var(--text);background:#dff5e8}.hero h1{margin:10px 0;font-size:clamp(28px,5vw,46px);line-height:1.2}.hero p{max-width:720px;line-height:1.8}.home-hero{min-height:360px;color:var(--text);background:radial-gradient(circle at 86% 12%,#c9f3df 0,#0000 30%),radial-gradient(circle at 5% 92%,#eef8f2 0,#0000 28%),#fbfefc;border:1px solid #dcece4;align-items:center;padding:clamp(36px,4vw,52px);display:flex;position:relative;overflow:hidden}.home-hero-copy{z-index:1;position:relative}.home-hero .home-hero-kicker{color:var(--green);letter-spacing:.04em;align-items:center;gap:8px;margin:0;font-size:14px;font-weight:800;display:inline-flex}.home-hero-kicker span{font-size:10px}.home-hero h1{color:#123529;letter-spacing:-.04em;margin:18px 0;font-size:clamp(38px,5vw,64px)}.home-hero h1 span{display:block}.home-hero .home-hero-lead{color:#496158;max-width:760px;margin:0;font-size:17px}.home-hero-lead span{display:block}.home-hero .button-row{margin-top:28px}.home-hero .home-primary{background:var(--green);color:#fff;box-shadow:0 10px 24px #087e5930}.home-hero .home-secondary{color:var(--green-dark);background:#fff;border:1px solid #9dcdb4}.button-row{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.section{margin-top:28px;scroll-margin-top:84px}.section h2{font-size:clamp(22px,4vw,30px)}.notice{color:var(--muted);background:#fff;border-radius:12px;margin:16px 0;padding:14px}.card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.card{border:1px solid var(--border);background:#fff;border-radius:16px;min-width:0;padding:20px;box-shadow:0 8px 24px #143a2710}.card h3{text-wrap:balance;line-height:1.5}.card p{color:var(--muted);text-wrap:pretty;line-height:1.7}.reasons-grid,.steps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.step-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.step-heading h3{white-space:nowrap;margin:0}.step-actor{min-height:26px;color:var(--green-dark);white-space:nowrap;background:#e5f5ec;border-radius:999px;align-items:center;padding:3px 9px;font-size:12px;font-weight:800;display:inline-flex}.step-actor.caselink{color:#2456a6;background:#e8efff}.step.caselink-step{border-color:#bfd0f1}.step.caselink-step>b{color:#fff;background:#3569b8}.reward{background:#e8f6ee;border:1px solid #b9dfc8;border-radius:18px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px 28px;padding:28px;display:grid}.reward h2{margin-top:0}.reward ul{color:var(--muted);grid-column:1/-1;margin:0;padding-left:1.2rem;line-height:1.8}.eyebrow{color:var(--green);margin:0;font-weight:800}.reward-rate{color:var(--green-dark);font-size:clamp(54px,9vw,90px);font-weight:900;line-height:1}.bizsys-about{border:1px solid var(--border);background:#fff;border-radius:18px;padding:28px}.bizsys-copy{max-width:880px}.bizsys-copy h2{margin:6px 0 10px}.bizsys-copy>p:last-child{color:var(--muted);margin-bottom:0;line-height:1.8}.relationship-section>h2{margin:6px 0 8px}.relationship-section>h2 span,.cta h2 span{display:inline}.relationship-intro{max-width:820px;color:var(--muted);text-wrap:pretty;margin:0 0 16px;line-height:1.8}.relationship-image-frame{aspect-ratio:1552/829;width:min(88%,1080px);margin:0 auto;display:block;position:relative;overflow:hidden}.relationship-zoom-hint{display:none}.relationship-image{width:103.67%;max-width:none;height:auto;position:absolute;top:-14.96%;left:-1.61%}@media (min-width:769px){.relationship-image-frame{width:100%}}.relationship-diagram-html{display:none}.relationship-diagram{background:#f7fcf9;border:1px solid #b9dfc8;border-radius:20px;padding:32px;box-shadow:0 8px 24px #143a270d}.relationship-triangle{grid-template:". .bizsys. .""referrer-edge referrer-edge.client-edge client-edge"190px"referrer field-edge field-edge field-edge client"/minmax(0,1fr) .32fr minmax(0,1fr) .32fr minmax(0,1fr);align-items:center;gap:20px 16px;max-width:980px;margin:0 auto;display:grid;position:relative}.relationship-connectors{z-index:1;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.relationship-connectors path{fill:none;stroke-width:1.75px;vector-effect:non-scaling-stroke}.relationship-connectors .work-connectors{fill:#547fc4;stroke:#547fc4;marker-end:url(#work-arrow)}.relationship-connectors .money-connectors{fill:#cb7a28;stroke:#cb7a28;marker-end:url(#money-arrow)}.relationship-actor{z-index:3;text-align:center;background:#fff;border:1px solid #cce5d6;border-radius:18px;align-content:center;justify-items:center;min-width:0;min-height:166px;padding:22px 20px;display:grid;position:relative;box-shadow:0 6px 18px #143a270a}.relationship-icon{width:42px;height:42px;color:var(--green);background:#e8f6ee;border-radius:12px;place-items:center;display:grid}.relationship-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:28px;height:28px}.relationship-actor h3{color:var(--green-dark);margin:10px 0 5px;font-size:20px}.relationship-actor p{color:var(--muted);margin:0;font-size:14px;line-height:1.6}.relationship-actor.bizsys{border-color:#9ed3b3;grid-area:bizsys}.relationship-actor.referrer{grid-area:referrer}.relationship-actor.client{grid-area:client}.relationship-edge{text-align:center;justify-items:center;min-width:0;height:100%;display:grid;position:relative}.relationship-edge .flow-line{z-index:2;color:#315f9d;gap:2px;width:fit-content;max-width:100%;padding:0;line-height:1.4;display:grid;position:absolute}.relationship-edge .primary-label{top:5%}.relationship-edge .flow-line:last-of-type{bottom:5%}.relationship-edge strong{font-size:13px}.relationship-edge small{font-size:14px;font-weight:700}.relationship-edge .money-label{color:#a15a15}.referrer-edge{grid-area:referrer-edge}.client-edge{grid-area:client-edge}.field-edge{grid-area:field-edge}.relationship-legend{color:var(--muted);justify-content:flex-end;gap:18px;margin-top:14px;font-size:11px;display:flex}.relationship-legend span:before{content:"";vertical-align:middle;border-radius:999px;width:14px;height:2px;margin-right:6px;display:inline-block}.relationship-legend .work-flow:before{background:#2563eb}.relationship-legend .money-flow:before{background:#d97706}.recommended{background:#f8fcfa;border:1px solid #cde4d7;border-radius:18px;grid-template-columns:minmax(220px,.38fr) minmax(0,1fr);align-items:center;gap:24px;padding:24px 28px;display:grid}.recommended h2{margin:6px 0 0}.recommended ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.recommended li{text-wrap:pretty;padding-left:24px;line-height:1.65;position:relative}.recommended li:before{color:var(--green);content:"✓";font-weight:900;position:absolute;top:.15em;left:0}.privacy-notice{color:#496158;background:#f0f8f4;border:1px solid #cde4d7;border-radius:14px;grid-template-columns:auto minmax(0,1fr);gap:8px 18px;margin-top:20px;padding:16px 18px;font-size:14px;display:grid}.privacy-notice strong{color:var(--green-dark)}.privacy-notice p{text-wrap:pretty;margin:0;line-height:1.7}.faq-section>h2{margin:6px 0 16px}.faq-list{gap:10px;display:grid}.faq-item{border:1px solid var(--border);background:#fff;border-radius:14px;box-shadow:0 6px 18px #143a270a}.faq-item summary{cursor:pointer;text-wrap:pretty;min-height:56px;padding:16px 54px 16px 18px;font-weight:800;line-height:1.5;list-style:none;position:relative}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:after{color:var(--green);content:"+";font-size:24px;font-weight:500;position:absolute;top:50%;right:18px;transform:translateY(-50%)}.faq-item[open] summary:after{content:"−"}.faq-item[open] summary{border-bottom:1px solid var(--border)}.faq-item p{color:var(--muted);text-wrap:pretty;margin:0;padding:16px 18px 18px;line-height:1.8}.badge{color:var(--green-dark);background:#dff5e8;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800;display:inline-block}.step{gap:14px;display:flex}.step>div{flex:1;min-width:0}.step>b{width:40px;height:40px;color:var(--green);background:#dff5e8;border-radius:50%;flex:none;place-items:center;display:grid}.cta{text-align:center;background:#e8f6ee;border-radius:18px;margin:32px 0;padding:28px}.terms{width:min(880px,100% - 24px);margin:32px auto}.legal{margin-top:18px;scroll-margin-top:80px}.legal h2{margin-top:28px;font-size:18px}.center-page{place-items:center;min-height:100dvh;padding:16px;display:grid}.center-page>.card{width:min(100%,680px)}.auth-page{grid-template-columns:1.05fr .95fr;min-height:100dvh;display:grid}.auth-side{background:#e2f4e9;flex-direction:column;justify-content:space-between;padding:48px;display:flex}.auth-side h1{font-size:clamp(32px,4vw,50px)}.auth-form{place-items:center;padding:24px;display:grid}.form-card{gap:18px;width:min(100%,460px);display:grid}.form-card.wide{width:min(100%,680px)}.form-card label{gap:8px;font-weight:800;display:grid}.input{border:1px solid var(--border);width:100%;min-height:44px;color:var(--text);background:#fff;border-radius:9px;padding:10px 12px}.textarea{resize:vertical;min-height:140px}.checkbox{align-items:flex-start;grid-template-columns:auto 1fr!important;display:flex!important}.checkbox input{width:20px;height:20px}.form-card .remember-me{letter-spacing:-.03em;white-space:nowrap;align-items:center;gap:6px;font-size:clamp(11px,3.2vw,13px);line-height:1.3}.remember-me input{flex:none;width:18px;height:18px}.error-panel{color:#991b1b;white-space:pre-line;background:#fee2e2;border-radius:10px;padding:12px;font-weight:700}.state-panel{min-height:120px;color:var(--muted);place-items:center;padding:20px;display:grid}.toast{z-index:100;max-width:min(380px,100% - 32px);color:var(--green-dark);background:#fff;border:1px solid #a7d9be;border-radius:12px;align-items:center;gap:12px;padding:14px;font-weight:800;display:flex;position:fixed;top:16px;right:16px;box-shadow:0 14px 35px #0002}.toast button{float:right;background:0 0;border:0;margin-left:16px;font-size:20px}.dialog-backdrop,.shell-overlay{z-index:80;background:#0007;border:0;position:fixed;inset:0}.dialog{background:#fff;border-radius:16px;width:min(440px,100% - 24px);max-height:calc(100dvh - 24px);padding:20px;position:absolute;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%)}.app-top{z-index:40;border-bottom:1px solid var(--border);background:#fffc;align-items:center;height:64px;padding:0 24px;display:flex;position:fixed;top:0;left:240px;right:0}.app-top>.brand{display:none}.user-chip{text-align:right;margin-left:12px;font-weight:800}.user-chip small{color:var(--green);display:block}.sidebar{z-index:90;border-right:1px solid var(--border);background:#fff;flex-direction:column;width:240px;padding:18px;display:flex;position:fixed;inset:0 auto 0 0}.sidebar nav{gap:5px;margin-top:28px;display:grid}.sidebar nav a{border-radius:10px;min-height:44px;padding:12px;font-weight:800}.sidebar nav a.active{color:var(--green-dark);background:#e4f5eb}.sidebar-user{gap:8px;margin-top:auto;display:grid}.sidebar-user small{color:var(--muted)}.app-main{max-width:1480px;min-height:100vh;margin-left:240px;padding:88px 32px 40px}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.page-header h1{margin:0}.filters{grid-template-columns:minmax(240px,1fr) 200px 180px auto;gap:10px;max-width:1080px;display:grid}.filters .button{width:max-content;min-width:112px}.data-table-wrap{border:1px solid var(--border);background:#fff;border-radius:12px;margin-top:20px;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:14px}.data-table th,.data-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #e8eee9;padding:14px 16px}.data-table thead th{color:var(--muted);white-space:nowrap;background:#f5faf6;font-size:13px;font-weight:800}.data-table tbody tr:hover{background:#fbfefc}.data-table tbody tr:last-child th,.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody th{font-weight:800}.data-table-primary,.table-primary{color:var(--green-dark);display:block}.data-table tbody th small{color:var(--muted);margin-top:4px;font-weight:400;line-height:1.4;display:block}.data-table .numeric,.data-table .actions{text-align:right;white-space:nowrap}.data-table th.actions,.data-table td.actions{text-align:left;width:132px;min-width:132px}.case-actions,.user-actions{justify-content:flex-start;align-items:center;gap:8px;display:flex}.case-actions .button,.user-actions .button{white-space:nowrap;min-height:36px;padding:7px 12px;font-size:13px}.nowrap{white-space:nowrap}.case-table-wrap,.user-table-wrap{display:block}.case-grid,.user-list-grid{display:none}.user-search{gap:10px;width:min(100%,620px);display:flex}.user-actions{justify-content:flex-start;gap:8px;display:flex}.user-card h2,.user-card p{margin:0}.user-card dl{gap:8px;margin:16px 0;display:grid}.user-card dl>div{grid-template-columns:110px minmax(0,1fr);gap:8px;display:grid}.user-card dt{color:var(--muted)}.user-card dd{margin:0}.user-form{gap:16px;width:min(560px,100% - 24px);display:grid}.user-form h2,.user-form .button-row{margin:0}.user-form label{gap:8px;font-weight:800;display:grid}.case-list{gap:12px;margin-top:18px;display:grid}.case-card{grid-template-columns:1fr auto;gap:16px;display:grid}.case-card h2{margin:5px 0;font-size:19px}.meta{color:var(--muted);flex-wrap:wrap;gap:8px 18px;font-size:14px;display:flex}.pagination{justify-content:center;align-items:center;gap:10px;margin-top:18px;display:flex}.detail-grid{grid-template-columns:minmax(0,1fr) 320px;gap:18px;display:grid}.profile-page{max-width:760px}.profile-grid{gap:18px;display:grid}.profile-grid .form-card{margin-top:16px}.profile-grid .button{justify-self:end}.readonly-value{overflow-wrap:anywhere;background:#f1f5f9;border-radius:9px;min-height:44px;padding:12px}.timeline{gap:0;display:grid}.timeline-item{padding:0 0 22px 28px;position:relative}.timeline-item:before{content:"";background:var(--green);border-radius:50%;width:12px;height:12px;position:absolute;top:5px;left:7px}.timeline-item:after{content:"";background:#b9d9c7;width:2px;position:absolute;top:17px;bottom:0;left:12px}.timeline-item:last-child:after{display:none}@media (max-width:767px){.menu-button{place-items:center;margin-left:auto;display:grid}.public-nav{border-bottom:1px solid var(--border);background:#fff;padding:12px;display:none;position:absolute;top:64px;left:0;right:0}.public-nav.open{display:grid}.public-nav a{min-height:44px;padding:12px}.hero{padding:22px 18px}.card-grid,.reasons-grid,.steps-grid{grid-template-columns:1fr}.reward{grid-template-columns:1fr;padding:20px}.reward-rate{order:-1;font-size:64px}.reward ul{grid-column:auto}.auth-page{grid-template-columns:1fr}.auth-side{display:none}.auth-form{padding:12px}.form-card{padding:18px}.button-row{flex-direction:column}.button-row>*{width:100%}.app-top{padding:0 12px;left:0}.app-top>.brand{display:flex}.sidebar{transition:transform .2s;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.app-main{margin-left:0;padding:80px 8px 24px}.page-header{display:grid}.page-header .button-link,.page-header .button{width:100%}.filters{grid-template-columns:1fr}.filters .button{width:100%}.data-table-wrap{display:none}.case-grid,.user-list-grid{display:grid}.case-card,.detail-grid{grid-template-columns:1fr}.profile-grid .button{width:100%}.pagination .button{min-width:44px;padding:10px}.legal{padding:16px}body{overflow-x:hidden}.header-inner{gap:8px;height:56px;padding:0 12px}.public-header .brand{font-size:16px}.public-header .brand-icon,.app-top .brand-icon{width:32px;height:32px}.public-menu{order:2;margin-left:auto;display:block}.public-header .menu-button{place-items:center;display:grid}.public-header .brand{order:1}.public-nav{z-index:1;border:1px solid var(--border);background:#fff;border-radius:12px;flex-direction:column;align-items:stretch;gap:4px;padding:12px;display:none;position:absolute;top:56px;left:12px;right:12px;box-shadow:0 12px 28px #143a271c}.public-menu[open] .mobile-public-nav{display:flex}.public-nav a{justify-content:center;align-items:center;min-height:44px;padding:0 12px;display:flex}.public-main{width:calc(100% - 32px);margin:16px auto 32px}.hero{border-radius:16px;padding:20px 16px}.home-hero{border-radius:22px;min-height:auto;padding:30px 18px 20px;display:block}.hero h1{font-size:28px}.home-hero h1{margin:14px 0;font-size:clamp(28px,8.5vw,34px);line-height:1.25}.home-hero h1 span{white-space:nowrap}.hero p{line-height:1.65}.home-hero .home-hero-lead{font-size:15px}.button-row{flex-direction:column;gap:8px}.button-row .button,.button-row .button-link{width:100%}.card-grid,.reasons-grid,.steps-grid{grid-template-columns:1fr;gap:12px}.reward{grid-template-columns:1fr;gap:12px;padding:20px 16px}.section{margin-top:20px}.section h2{margin-bottom:12px}.app-shell .app-top{gap:8px;height:56px;padding:0 12px}.app-shell .app-top>.brand{font-size:16px}.app-shell .user-chip{display:none}.app-shell .app-main{padding:72px 12px 24px}.app-shell .page-heading h1{font-size:24px}.app-shell .filters{grid-template-columns:1fr;gap:10px;padding:12px}.app-shell .filters .button{width:100%}.app-shell .case-list{gap:12px}.app-shell .case-card{padding:16px}.app-shell .case-card-head{align-items:flex-start;gap:8px}.app-shell .case-card h2{font-size:17px;line-height:1.45}.app-shell .case-card .detail-button{width:auto;min-width:112px}.toast{max-width:none;inset:auto 16px 16px}.public-main>.section{margin-top:22px}.public-main>.section>h2{margin:0 0 12px;font-size:clamp(26px,7vw,30px);line-height:1.35}.public-main>.section>p{margin:0 0 14px;font-size:14px;line-height:1.7}.public-main .hero small{margin-top:14px;font-size:12px;line-height:1.6;display:block}.public-main .hero .button-row{margin-top:16px}.public-main .reward{margin-top:24px;padding:20px 16px}.public-main .reward h2{margin:4px 0 8px;font-size:22px;line-height:1.4}.public-main .reward-rate{justify-self:center;font-size:48px;line-height:1}.public-main .reward ul{font-size:13px;line-height:1.7}.public-main .bizsys-about{padding:20px 16px}.public-main .bizsys-copy>p:last-child{max-height:none;overflow:visible}.relationship-diagram{padding:20px 16px}.relationship-triangle{grid-template-rows:none;grid-template-columns:minmax(0,1fr);grid-template-areas:"bizsys""referrer-edge""referrer""field-edge""client""client-edge";gap:14px}.relationship-actor{min-height:0;padding:18px 14px}.relationship-edge{gap:6px;height:auto;padding:30px 10px 12px}.relationship-connectors{display:none}.relationship-edge .flow-line{width:min(100%,260px);position:relative;top:auto;bottom:auto}.relationship-legend{flex-direction:column;gap:6px}.relationship-image-frame{width:100%}.relationship-section>h2 span,.cta h2 span{white-space:nowrap;display:block}.relationship-zoom-hint{color:var(--muted);text-align:center;margin-top:8px;font-size:12px;display:block}.recommended{grid-template-columns:1fr;gap:14px;padding:20px 16px}.privacy-notice{grid-template-columns:1fr;gap:4px;margin-top:16px;padding:14px 16px;font-size:13px}.public-main .card-grid .card{padding:16px}.public-main .card-grid .card h3{margin:8px 0 4px;font-size:18px}.public-main .card-grid .card p{margin:0;font-size:14px;line-height:1.6}.public-main .steps-grid .step{grid-template-columns:36px 1fr;gap:12px;padding:14px 16px;display:grid}.public-main .steps-grid .step>b{background:var(--green);color:#fff;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.public-main .card-grid.steps-grid .step h3{white-space:normal;margin:0}.public-main .card-grid.steps-grid .step p{margin-top:8px}.public-main .cta{border-radius:16px;margin-top:24px;padding:24px 16px}.public-main .cta h2{font-size:24px;line-height:1.4}.public-main .cta p{font-size:14px;line-height:1.7}.public-main .cta .button-link{width:100%}.public-main #examples .card,.public-main .steps-grid .card,.public-main .reasons-grid .card{border-radius:12px;box-shadow:0 4px 14px #143a270d}.public-main #examples .badge{border-radius:999px;align-items:center;min-height:28px;padding:4px 10px;display:inline-flex}.public-main #examples .card h3{margin-top:8px}}@media (min-width:768px) and (max-width:1023px){.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:1fr}}.chat-card{margin-top:1rem}.case-chat-mobile-link{display:none}.case-chat-page .chat-card{margin-top:20px}.chat-list{overflow-wrap:anywhere;scroll-behavior:smooth;background:#f8fafc;border-radius:14px;max-height:420px;margin-top:1rem;padding:1rem;overflow-y:auto}.chat-row{justify-content:flex-start;margin:.65rem 0;display:flex}.chat-row.mine{justify-content:flex-end}.chat-bubble{background:#fff;border-radius:16px;max-width:85%;padding:.75rem 1rem;box-shadow:0 1px 3px #0f172a1a}.chat-row.mine .chat-bubble{color:#183326;background:#d9f7be;border:1px solid #b7dfa7;box-shadow:0 1px 3px #315b261f}.chat-row.mine .chat-bubble b,.chat-row.mine .chat-bubble p{color:#183326}.chat-row.mine .chat-bubble time{color:#52665c;opacity:1}.chat-bubble p{white-space:pre-wrap;line-height:1.55}.chat-bubble time{opacity:.75;margin-top:.35rem;font-size:.72rem;display:block}.chat-attachment{max-width:100%;color:var(--green-dark);background:#fff;border:1px solid #b9d9c8;border-radius:9px;gap:2px;margin:10px 0 4px;padding:10px 12px;text-decoration:none;display:grid}.chat-attachment span{text-overflow:ellipsis;white-space:nowrap;font-weight:800;overflow:hidden}.chat-attachment small,.chat-file-field small{color:var(--muted)}.chat-file-field{gap:6px;min-width:0;font-size:14px;font-weight:700;display:grid}.chat-file-field input{border:1px solid var(--border);background:#fff;border-radius:8px;width:100%;min-height:44px;padding:8px}.chat-form{align-items:flex-end;gap:.75rem;margin-top:1rem;display:flex}.chat-form .textarea{flex:1}.chat-form .button{flex:none;min-width:96px}.contact-grid{gap:16px;display:grid}.contact-card{gap:12px;display:grid}.contact-card h2,.contact-card p{overflow-wrap:anywhere;margin:0}.contact-card-footer{justify-content:space-between;align-items:center;gap:16px;display:flex}@media (max-width:600px){.contact-card-footer{flex-direction:column;align-items:stretch}.contact-card-footer .button{width:100%;min-height:44px}}@media (max-width:767px){.chat-form{flex-direction:column;align-items:stretch}.chat-bubble{max-width:92%}}.notification-area{margin-left:auto;position:relative}.notification-trigger{background:0 0;border:0;border-radius:50%;min-width:44px;min-height:44px;font-size:1.2rem;position:relative}.notification-trigger>span{color:#fff;background:#dc2626;border-radius:999px;min-width:20px;padding:2px 4px;font-size:.68rem;position:absolute;top:0;right:0}.notification-panel{z-index:60;background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:min(380px,100vw - 24px);max-height:calc(100vh - 84px);position:absolute;top:48px;right:0;overflow:hidden;box-shadow:0 16px 40px #0f172a30}.notification-panel header{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:1rem;display:flex;position:sticky;top:0}.notification-panel header button{min-width:44px;min-height:44px;color:var(--green);cursor:pointer;background:0 0;border:0;font-size:.82rem;font-weight:800}.notification-heading h2{margin:0;font-size:1.1rem}.notification-heading small{color:var(--muted)}.notification-actions{gap:4px;display:flex}.notification-list{overscroll-behavior:contain;max-height:calc(100vh - 156px);overflow-y:auto}.notification-empty{color:var(--muted);text-align:center;margin:0;padding:32px 16px}.notification-item{cursor:pointer;text-align:left;overflow-wrap:anywhere;background:#fff;border:0;border-bottom:1px solid #e2e8f0;flex-direction:column;gap:.25rem;width:100%;min-height:80px;padding:1rem;display:flex}.notification-item.unread{background:#ecfdf5}.notification-item-title{align-items:flex-start;gap:8px;display:flex}.unread-dot{background:var(--green);border-radius:50%;flex:0 0 8px;width:8px;height:8px;margin-top:.45rem}.notification-item time{color:#64748b;font-size:.75rem}@media (max-width:767px){.user-search{display:grid}.user-search .button,.user-actions .button{width:100%}.notification-panel{width:auto;max-height:calc(100dvh - 80px);position:fixed;top:68px;left:12px;right:12px}.notification-list{max-height:calc(100dvh - 153px)}.notification-item{min-height:88px;padding:14px 12px}}.app-shell{--app-primary:#059669;--app-primary-dark:#065f46;color:#16372d;background:#f7faf8;min-height:100vh}.app-shell .app-top{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff2;border-color:#dce9e2;height:64px;padding:0 32px;left:256px}.app-shell .sidebar{background:linear-gradient(#fff 0%,#f7fbf8 100%);border-color:#dce9e2;width:256px;padding:18px 16px 16px;box-shadow:4px 0 20px #164e6310}.app-shell .brand{color:#1e293b;letter-spacing:-.02em;gap:12px;font-size:18px}.app-shell .brand-icon{width:40px;height:40px}.app-shell .sidebar nav{gap:6px;margin-top:30px}.app-shell .sidebar nav a{color:#52665c;border-radius:12px;align-items:center;gap:12px;min-height:48px;padding:0 14px;font-size:14px;transition:all .15s;display:flex;position:relative}.app-shell .sidebar nav a:before{color:#07845f;content:"•";text-align:center;background:#fff;border:1px solid #d9e9e0;border-radius:9px;flex:0 0 30px;place-items:center;width:30px;height:30px;font-size:17px;display:grid;box-shadow:0 1px 2px #0f172a0a}.app-shell .sidebar nav a[href=\/]:before{content:"⌂"}.app-shell .sidebar nav a[href^=\/cases]:before{content:"▣"}.app-shell .sidebar nav a[href=\/profile]:before{content:"○"}.app-shell .sidebar nav a[href="/admin/users"]:before{content:"♙"}.app-shell .sidebar nav a[href=\/settings]:before{content:"⚙"}.app-shell .sidebar nav a:hover,.app-shell .sidebar nav a.active{color:var(--app-primary-dark);background:linear-gradient(90deg,#e7f8ef,#f0fbf5)}.app-shell .sidebar nav a.active{box-shadow:inset 3px 0 #059669}.app-shell .sidebar nav a.active:before{color:#fff;background:#059669;border-color:#9dd8bd;box-shadow:0 4px 10px #05966930}.app-shell .sidebar-user{border-top:1px solid #dce9e2;gap:10px;padding-top:18px}.app-shell .sidebar-user b,.app-shell .sidebar-user small{text-overflow:ellipsis;white-space:nowrap;background:#edf9f2;padding-inline:12px;display:block;overflow:hidden}.app-shell .sidebar-user b{color:#064e3b;border-radius:12px 12px 0 0;padding-top:12px}.app-shell .sidebar-user small{color:#047857;border-radius:0 0 12px 12px;margin-top:-8px;padding-bottom:12px}.app-shell .sidebar-user>.button{color:#64748b;background:0 0;border-color:#0000;justify-content:flex-start;padding-inline:12px}.app-shell .sidebar-user>.button:before{content:"↪";font-size:17px}.app-shell .sidebar-user>.button:hover{color:#065f46;background:#edf9f2}.app-shell .user-chip{color:#1e293b;font-size:14px}.app-shell .user-chip small{color:var(--app-primary-dark);font-size:12px}.app-shell .app-main{width:auto;max-width:none;margin-left:256px;padding:88px 32px 40px}.app-shell .app-main>*{width:min(100%,1376px);margin-inline:auto}.app-shell .page-header,.app-shell .page-heading{margin-bottom:24px}.app-shell .page-header h1,.app-shell .page-heading h1{color:#1e293b;letter-spacing:-.025em;font-size:clamp(24px,3vw,30px)}.app-shell .page-header p,.app-shell .page-heading p{color:#64748b;margin:6px 0 0;line-height:1.65}.app-shell .case-detail-heading{align-items:flex-end}.app-shell .case-detail-heading>div:first-child{min-width:0}.app-shell .detail-status{border-radius:999px;justify-content:center;align-items:center;min-width:88px;min-height:44px;margin-bottom:10px;padding:9px 18px;font-size:20px;font-weight:800;line-height:1.4;display:inline-flex}.app-shell .detail-status.status-received{color:#1d4ed8;background:#dbeafe}.app-shell .detail-status.status-developing{color:#92400e;background:#fef3c7}.app-shell .detail-status.status-payment{color:#6d28d9;background:#ede9fe}.app-shell .detail-status.status-paid{color:#166534;background:#dcfce7}.app-shell .detail-status.status-canceled{color:#b91c1c;background:#fee2e2}.app-shell .status-badge.status-received{color:#1d4ed8;background:#dbeafe}.app-shell .status-badge.status-developing{color:#92400e;background:#fef3c7}.app-shell .status-badge.status-payment{color:#6d28d9;background:#ede9fe}.app-shell .status-badge.status-paid{color:#166534;background:#dcfce7}.app-shell .status-badge.status-canceled{color:#b91c1c;background:#fee2e2}.app-shell .detail-actions{flex:none;align-items:center;gap:10px;display:flex}.app-shell .detail-actions .button{min-width:88px}.app-shell .button,.app-shell .button-link{background:var(--app-primary);min-height:44px;box-shadow:none;border-radius:6px;padding:10px 20px;font-size:14px}.app-shell .button.secondary{color:#1e293b;background:#fff;border-color:#cbded4}.app-shell .button.danger{color:#fff;background:#dc2626;border:1px solid #fecaca}.app-shell .button.danger:hover{background:#b91c1c}.app-shell .button.small{min-height:36px;padding:6px 12px}.app-shell .input{border-color:#cbded4;border-radius:6px;outline:none;min-height:44px;padding:10px 12px;font-size:14px}.app-shell .input:focus{border-color:var(--app-primary);box-shadow:0 0 0 3px #10b98126}.app-shell .card{border-color:#dce9e2;border-radius:14px;padding:24px;box-shadow:0 1px 2px #0f172a0a}.app-shell .filters,.app-shell .user-search{background:#fff;border:1px solid #dce9e2;border-radius:14px;width:100%;max-width:none;padding:16px}.app-shell .case-table-wrap,.app-shell .user-table-wrap,.app-shell .case-grid,.app-shell .user-list-grid{width:100%;max-width:none}.app-shell .user-search{grid-template-columns:minmax(240px,1fr) auto;display:grid}.app-shell .data-table-wrap{border-color:#dce9e2;border-radius:14px;box-shadow:0 1px 2px #0f172a0a}.app-shell .data-table th,.app-shell .data-table td{border-color:#e7eee9;padding:14px 16px}.app-shell .data-table thead th{color:#64748b;background:#f8fbf9}.app-shell .status-badge,.app-shell .badge{color:#065f46;background:#ecfdf5;border-radius:999px;font-size:12px;font-weight:800}.app-shell .case-table-wrap .status-badge,.app-shell .case-card .status-badge{align-items:center;padding:5px 10px;line-height:1.4;display:inline-flex}.app-shell .detail-grid{grid-template-columns:minmax(0,1fr) 340px;gap:20px}.app-shell .case-detail-grid{grid-template-columns:minmax(0,1fr)}.app-shell .case-detail-grid>.card:nth-child(2){order:-1}.app-shell .case-detail-grid>.card h2{color:#1e293b;margin:0 0 20px;font-size:18px}.app-shell .case-detail-grid>.card:first-child{grid-template-columns:minmax(0,1fr) 340px;gap:16px 32px;display:grid}.app-shell .case-detail-grid>.card:first-child h2{grid-column:1/-1}.app-shell .case-detail-grid>.card:first-child .preserve-lines{margin:0;line-height:1.8}.app-shell .case-detail-grid dl{background:#f8fbf9;border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-content:start;gap:12px 16px;margin:0;padding:18px;display:grid}.app-shell .case-detail-grid dt{color:#64748b;font-size:13px;font-weight:700}.app-shell .case-detail-grid dd{text-align:right;margin:0;font-weight:700}.app-shell .case-basic-info dt{align-self:center;font-size:14px}.app-shell .case-basic-info dd{color:#1e293b;align-self:center;font-size:16px}.app-shell .case-basic-info .basic-progress-badge{align-items:center;padding:6px 12px;font-size:14px;line-height:1.4;display:inline-flex}.app-shell .case-basic-info .financial-label{color:#0f766e;font-size:15px}.app-shell .case-basic-info .financial-value{color:#0f5132;font-size:clamp(22px,2.5vw,28px);font-weight:900;line-height:1.25}.app-shell .case-basic-info .reward-value{color:#b45309}.app-shell .case-basic-info .basic-control-label,.app-shell .case-basic-info .basic-control-value{text-align:left;grid-column:1/-1;width:100%}.app-shell .case-basic-info .basic-control-label{color:#475569;justify-content:space-between;align-items:center;gap:12px;margin-top:4px;font-size:14px;display:flex}.app-shell .case-basic-info .current-progress-badge{white-space:nowrap;align-items:center;padding:5px 10px;font-size:13px;line-height:1.4;display:inline-flex}.app-shell .case-basic-info .basic-control-value{margin-bottom:4px}.app-shell .basic-edit-control{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.app-shell .basic-edit-control .input{min-width:0}.app-shell .basic-edit-control input[type=number]{text-align:right}.app-shell .basic-edit-control .button{min-width:64px;padding-inline:12px}.app-shell .amount-edit-form{text-align:left;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.app-shell .amount-edit-form label{color:#475569;gap:6px;font-size:13px;font-weight:800;display:grid}.app-shell .amount-edit-form input{text-align:right}.app-shell .amount-edit-form .button{grid-column:1/-1;width:100%}.app-shell .decision-card{gap:20px;display:grid}.app-shell .decision-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.app-shell .decision-heading h2,.app-shell .decision-heading p{margin:0}.app-shell .decision-heading p{color:#64748b;margin-top:6px}.app-shell .decision-access{color:#087b57;background:#e8f5ee;border-radius:999px;flex:none;padding:6px 10px;font-size:12px;font-weight:800}.app-shell .decision-form{gap:18px;display:grid}.app-shell .decision-form label{color:#334155;gap:8px;font-weight:800;display:grid}.app-shell .decision-form textarea[name=decisionDetails]{min-height:260px}.app-shell .decision-form>.button{justify-self:start}.app-shell .decision-memo-view{background:#fbfdfc;border:1px solid #dce8e0;border-radius:12px;padding:20px}.app-shell .decision-memo-view>span{color:#087b57;background:#e8f5ee;border-radius:999px;margin-bottom:12px;padding:5px 10px;font-size:12px;font-weight:800;display:inline-flex}.app-shell .decision-memo-view>p{color:#1e293b;overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:16px;font-weight:500;line-height:1.9}.app-shell .decision-empty{color:#64748b;text-align:center;background:#f8faf9;border-radius:10px;margin:0;padding:18px}.app-shell .case-progress{margin:8px 0 0;padding:0 12px 8px;list-style:none;display:flex}.app-shell .case-progress li{color:#94a3b8;text-align:center;flex:1;place-items:center;gap:8px;font-size:12px;font-weight:700;display:grid;position:relative}.app-shell .case-progress li:before{z-index:0;content:"";background:#e2e8f0;width:100%;height:3px;position:absolute;top:17px;right:50%}.app-shell .case-progress li:first-child:before{display:none}.app-shell .case-progress li>span{z-index:1;color:#64748b;background:#e2e8f0;border-radius:50%;place-items:center;width:36px;height:36px;font-size:13px;display:grid}.app-shell .case-progress li>strong{font-size:12px}.app-shell .case-progress li>time{color:#94a3b8;min-height:1.4em;font-size:11px;font-weight:500}.app-shell .case-progress li.complete,.app-shell .case-progress li.current{color:#065f46}.app-shell .case-progress li.complete:before,.app-shell .case-progress li.current:before{background:#10b981}.app-shell .case-progress li.complete>span,.app-shell .case-progress li.current>span{color:#fff;background:#059669}.app-shell .case-progress li.current>span{box-shadow:0 0 0 5px #d1fae5}.app-shell .detail-grid+.card,.app-shell .chat-card,.app-shell .profile-grid,.app-shell .form-stack,.app-shell .page-heading+.card,.app-shell .page-header+.card,.app-shell .card+.card{margin-top:20px}.app-shell .form-stack,.app-shell .form-card{gap:20px}.app-shell .form-stack{width:min(100%,896px);display:grid}.app-shell form.form-stack>label{gap:8px;display:grid}.app-shell .textarea{min-height:112px}.app-shell .chat-form .textarea{min-height:80px}.app-shell .pagination{justify-content:space-between;margin-top:20px}.app-shell .dialog{border-radius:14px;padding:24px;box-shadow:0 20px 50px #0f172a33}@media (max-width:1023px){.app-shell .app-top{padding:0 24px;left:0}.app-shell .sidebar{transform:translate(-100%)}.app-shell .sidebar.open{transform:translate(0)}.app-shell .app-main{margin-left:0;padding:88px 24px 32px}.app-shell .menu-button{display:grid}.app-shell .app-top>.brand{display:flex}.app-shell .detail-grid,.app-shell .case-detail-grid>.card:first-child{grid-template-columns:1fr}.app-shell .case-detail-grid>.card:first-child h2{grid-column:auto}}@media (max-width:767px){.app-shell .app-top{padding:0 12px}.app-shell .menu-button{margin-left:0}.app-shell .notification-area{margin-left:auto}.app-shell .app-main{padding:76px 12px 24px}.app-shell .card{padding:16px}.app-shell .filters,.app-shell .user-search{padding:12px}.app-shell .user-search{grid-template-columns:1fr}.app-shell .pagination{text-align:center;flex-direction:column;align-items:stretch}.app-shell .pagination .button{width:100%}.app-shell .dialog{padding:16px}.app-shell .case-detail-heading{align-items:stretch}.app-shell .detail-actions{width:100%}.app-shell .detail-actions .button{flex:1}.app-shell .case-progress{gap:0;padding:0;display:grid}.app-shell .case-progress li{text-align:left;grid-template-columns:36px 1fr;justify-items:start;min-height:58px}.app-shell .case-progress li>span{grid-row:1/3}.app-shell .case-progress li>strong,.app-shell .case-progress li>time{grid-column:2}.app-shell .case-progress li:before{width:3px;height:44px;top:-22px;left:17px;right:auto}.app-shell .decision-heading{flex-direction:column;align-items:stretch}.app-shell .decision-access{align-self:flex-start}.app-shell .decision-form>.button{width:100%}.app-shell .amount-edit-form{grid-template-columns:1fr}.app-shell .amount-edit-form .button{grid-column:auto}.app-shell .decision-memo-view{padding:16px}.app-shell .decision-memo-view>p{font-size:15px}.app-shell .case-chat-embedded{display:none}.app-shell .case-chat-mobile-link{gap:12px;margin-top:20px;display:grid}.app-shell .case-chat-mobile-link h2,.app-shell .case-chat-mobile-link p{margin:0}.app-shell .case-chat-mobile-link .button,.app-shell .case-chat-page .page-heading .button{width:100%;min-height:44px}.app-shell .case-chat-page .page-heading{align-items:stretch}.app-shell .case-chat-page .chat-card{flex-direction:column;min-height:calc(100dvh - 250px);display:flex}.app-shell .case-chat-page .chat-list{flex:1;min-height:240px;max-height:none}.app-shell .case-chat-page .chat-form{background:#fff;padding-top:12px;position:sticky;bottom:0}}
