:root{--brand-blue:#1f8efa;--brand-orange:#ff9b3d;--brand-navy:#1e293b;--surface-page:#f7fafc;--surface-card:#fff;--surface-sunken:#f1f5f9;--surface-subtle:#f8fafc;--border-subtle:#e2e8f0;--border-control:#8392a8;--text-primary:#1e293b;--text-secondary:#475569;--text-tertiary:#64748b;--text-link:#005ba9;--action-primary:#0473d2;--action-primary-hover:#005ba9;--action-primary-pressed:#014582;--focus-ring:#1f8efa;--success-fg:#017460;--success-bg:#ecf9f5;--success-mark:#019178;--milestone-fg:#864905;--milestone-bg:#fff5ee;--milestone-mark:#db7d18;--warning-fg:#854d0e;--warning-bg:#fefce8;--warning-mark:#a16207;--danger-fg:#b91c1c;--danger-bg:#fef2f2;--info-fg:#005ba9;--info-bg:#eff6ff;--info-border:#bcdbff;--shadow-sm:0 1px 2px #0f172a0f, 0 1px 3px #0f172a1a;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-full:9999px;--font-display:"M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;--font-sans:"Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--surface-page);color:var(--text-primary);font-family:var(--font-sans);font-size:15px;line-height:26px}a{color:var(--text-link)}a:hover{color:var(--action-primary-pressed)}:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}h1,h2,h3,p{margin:0}.h1{font-family:var(--font-display);font-size:30px;font-weight:800;line-height:42px}.h2{font-family:var(--font-display);font-size:24px;font-weight:700;line-height:34px}.h3{font-family:var(--font-display);font-size:19px;font-weight:700;line-height:28px}.kpi{font-family:var(--font-display);font-variant-numeric:tabular-nums;font-size:32px;font-weight:800;line-height:40px}.label{color:var(--text-secondary);font-size:14px;font-weight:700;line-height:20px}.body-sm{font-size:13px;line-height:22px}.caption{color:var(--text-tertiary);font-size:12px;line-height:18px}.muted{color:var(--text-secondary)}.shell{flex-wrap:wrap;min-height:100vh;display:flex}.shell-nav{background:var(--surface-card);border-right:1px solid var(--border-subtle);flex:264px}.shell-main{flex:999 560px;min-width:0;padding:40px 40px 64px}.page{flex-direction:column;gap:24px;max-width:1120px;margin:0 auto;display:flex}.split{flex-wrap:wrap;align-items:flex-start;gap:24px;display:flex}.split-main{flex-direction:column;flex:999 520px;gap:24px;min-width:0;display:flex}.split-side{flex:300px;min-width:0}.row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.stack{flex-direction:column;gap:12px;display:flex}@media (max-width:640px){.shell-main{padding:24px 16px 48px}}.card{background:var(--surface-card);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);flex-direction:column;gap:16px;padding:24px;display:flex}.card-accent{background:var(--info-bg);border:1px solid var(--info-border);border-radius:var(--radius-lg);flex-direction:column;gap:12px;padding:24px;display:flex}.note{background:var(--surface-sunken);border-radius:var(--radius-md);padding:14px 16px;font-size:14px;line-height:22px}.btn{border-radius:var(--radius-md);height:44px;font-family:var(--font-sans);cursor:pointer;white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:0 20px;font-size:14px;font-weight:700;line-height:20px;text-decoration:none;display:inline-flex}.btn-sm{height:36px;padding:0 16px;font-size:13px}.btn-primary{background:var(--action-primary);color:#fff}.btn-primary:hover{background:var(--action-primary-hover);color:#fff}.btn-secondary{background:var(--surface-card);color:var(--text-primary);border-color:var(--border-control)}.btn-secondary:hover{background:var(--surface-page);color:var(--text-primary)}.btn-ghost{color:var(--text-link);background:0 0}.btn-ghost:hover{background:var(--info-bg)}.btn:disabled,.btn[aria-disabled=true]{background:var(--surface-card);color:var(--text-tertiary);border-color:var(--border-subtle);cursor:not-allowed}.badge{border-radius:var(--radius-full);white-space:nowrap;align-items:center;gap:4px;height:24px;padding:0 10px;font-size:12px;font-weight:700;line-height:18px;display:inline-flex}.badge-neutral{background:var(--surface-sunken);color:var(--text-secondary)}.badge-info{background:var(--info-bg);color:var(--info-fg)}.badge-success{background:var(--success-bg);color:var(--success-fg)}.badge-warning{background:var(--warning-bg);color:var(--warning-fg)}.badge-danger{background:var(--danger-bg);color:var(--danger-fg)}.badge-milestone{background:var(--milestone-bg);color:var(--milestone-fg)}.field{flex-direction:column;gap:6px;display:flex}.field label,.field .field-label{font-size:14px;font-weight:700;line-height:20px}.field .hint{color:var(--text-secondary);font-size:13px;line-height:20px}.input,.textarea,.select{border:1px solid var(--border-control);border-radius:var(--radius-sm);width:100%;font-family:var(--font-sans);color:var(--text-primary);background:var(--surface-card);padding:10px 12px;font-size:15px;line-height:24px}.textarea{resize:vertical;min-height:88px}.grid-2{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px 24px;display:grid}.table-wrap{overflow-x:auto}.table{border-collapse:collapse;width:100%;min-width:560px;font-size:14px;line-height:22px}.table th,.table td{border-bottom:1px solid var(--border-subtle);text-align:left;vertical-align:top;padding:12px}.table thead th{color:var(--text-secondary);font-size:12px;font-weight:700;line-height:18px}.table tbody tr:last-child th,.table tbody tr:last-child td{border-bottom:0}.tabs{border-bottom:1px solid var(--border-subtle);flex-wrap:wrap;gap:4px;display:flex}.tab{height:44px;color:var(--text-secondary);align-items:center;padding:0 16px;font-size:14px;text-decoration:none;display:inline-flex}.tab[aria-current=page]{color:var(--info-fg);border-bottom:2px solid var(--action-primary);margin-bottom:-1px;font-weight:700}.nav{flex-direction:column;gap:24px;padding:24px 16px 32px;display:flex}.nav-group{flex-direction:column;gap:2px;display:flex}.nav-group-label{color:var(--text-tertiary);padding:0 12px 6px;font-size:12px;font-weight:700;line-height:18px}.nav-item{border-radius:var(--radius-sm);color:#334155;align-items:flex-start;gap:10px;padding:12px;font-size:14px;line-height:20px;text-decoration:none;display:flex}.nav-item[aria-current=page]{background:var(--info-bg);color:var(--info-fg);font-weight:700}.nav-item svg{flex:0 0 20px}.nav-app{background:var(--surface-sunken);border-radius:var(--radius-md);flex-direction:column;gap:2px;padding:12px;display:flex}.ai-panel{background:var(--surface-card);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);flex-direction:column;gap:16px;padding:20px;display:flex}.bubble{border-radius:var(--radius-md);white-space:pre-wrap;flex-direction:column;gap:2px;padding:10px 12px;font-size:14px;line-height:22px;display:flex}.bubble-user{background:var(--info-bg);align-self:flex-end;max-width:90%}.bubble-ai{background:var(--surface-sunken);max-width:94%}.bubble-who{color:var(--text-secondary);font-size:12px;font-weight:700;line-height:18px}.error{background:var(--danger-bg);color:var(--danger-fg);border-radius:var(--radius-sm);padding:10px 12px;font-size:14px;line-height:22px}.legal p,.legal li{font-size:15px;line-height:28px}.legal ol,.legal ul{flex-direction:column;gap:4px;margin:0;padding-left:1.5em;display:flex}.legal h2{margin-top:12px}
