*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Hiragino Sans,Noto Sans JP,sans-serif;color:#222;background:#fafafa}.app-header{background:#263238;padding:.6rem 1.2rem;display:flex;align-items:center;justify-content:space-between}.header-right{display:flex;align-items:center;gap:1rem}.shell-link{color:#b0bec5;text-decoration:none;font-size:.9rem}.shell-link:hover{color:#fff}.logout-button{background:none;border:1px solid #546e7a;color:#b0bec5;border-radius:4px;padding:.2rem .7rem;font-size:.8rem;cursor:pointer}.logout-button:hover{color:#fff;border-color:#b0bec5}.auth-card{max-width:380px;margin:3rem auto;background:#fff;border:1px solid #ddd;border-radius:8px;padding:1.5rem}.auth-form{display:flex;flex-direction:column;gap:.9rem}.auth-form label{display:flex;flex-direction:column;gap:.3rem;font-size:.85rem;color:#555}.auth-form input{padding:.5rem .7rem;border:1px solid #ccc;border-radius:4px;font-size:1rem}.auth-form input[inputmode=numeric]{font-size:1.6rem;letter-spacing:.4em;text-align:center}.auth-form button[type=submit]{padding:.55rem;border:none;border-radius:4px;background:#1e88e5;color:#fff;font-size:.95rem;cursor:pointer}.auth-form button[type=submit]:disabled{background:#90caf9;cursor:default}.link-button{background:none;border:none;color:#1e88e5;cursor:pointer;font-size:.85rem;padding:0;text-align:left}.app-title{color:#fff;font-weight:700;font-size:1.1rem;text-decoration:none}.app-main{max-width:1080px;margin:0 auto;padding:1rem 1.2rem 3rem}h2{margin:1.4rem 0 .6rem;font-size:1.05rem}h3{margin:.8rem 0 .5rem;font-size:.95rem}.muted{color:#888}.small{font-size:.85rem}.mono{font-family:ui-monospace,monospace;font-size:.85rem}.error{color:#c62828}.session-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:.8rem}.session-card{border:1px solid #ddd;border-left-width:5px;border-radius:6px;background:#fff;padding:.7rem .9rem}.session-card.status-working{border-left-color:#1e88e5}.session-card.status-waiting_user{border-left-color:#f9a825;background:#fff8e1;box-shadow:0 0 0 2px #f9a82555}.session-card.status-stale{border-left-color:#9e9e9e;background:#f0f0f0;color:#777}.session-card-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.4rem}.session-project{font-weight:600;color:inherit;text-decoration:none}.session-project:hover{text-decoration:underline}.badge{font-size:.72rem;padding:.15rem .5rem;border-radius:999px;white-space:nowrap}.badge-working{background:#e3f2fd;color:#1565c0}.badge-waiting_user{background:#f9a825;color:#fff;font-weight:700}.badge-stale{background:#e0e0e0;color:#616161}.badge-priority{background:#ede7f6;color:#5e35b1;margin-left:.4rem}.session-meta{margin:0}.session-meta div{display:flex;gap:.5rem}.session-meta dt{width:5.5em;color:#999;font-size:.82rem}.session-meta dd{margin:0;font-size:.82rem}.project-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #ddd;border-radius:6px}.project-table th,.project-table td{text-align:left;padding:.45rem .7rem;border-bottom:1px solid #eee;font-size:.9rem}.project-table th{color:#888;font-weight:600;font-size:.8rem}.detail-columns{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}@media(max-width:720px){.detail-columns{grid-template-columns:1fr}}.timeline{list-style:none;margin:0;padding:0}.timeline li{display:flex;gap:.8rem;padding:.45rem 0;border-bottom:1px solid #eee}.timeline-time{flex:0 0 7em;color:#999;font-size:.82rem}.action-form{display:flex;gap:.5rem;margin-bottom:.6rem}.action-form input{flex:1;padding:.4rem .6rem;border:1px solid #ccc;border-radius:4px}.action-form button{padding:.4rem .9rem;border:none;border-radius:4px;background:#1e88e5;color:#fff;cursor:pointer}.action-list{list-style:none;margin:0;padding:0}.action-list li{padding:.3rem 0;border-bottom:1px solid #eee}.action-list label{display:flex;align-items:center;gap:.5rem;cursor:pointer}.badge-pending{background:#fff3e0;color:#e65100}.task-form{display:flex;flex-direction:column;gap:.5rem;max-width:640px;margin-bottom:.8rem}.task-form input,.task-form textarea{padding:.4rem .6rem;border:1px solid #ccc;border-radius:4px;font-family:inherit}.task-form button{align-self:flex-start;padding:.4rem .9rem;border:none;border-radius:4px;background:#1e88e5;color:#fff;cursor:pointer}.task-group h4{margin:.8rem 0 .3rem;font-size:.85rem;color:#666}.task-list{list-style:none;margin:0;padding:0}.task-list li{padding:.4rem .6rem;border:1px solid #eee;border-radius:4px;margin-bottom:.4rem;background:#fff}.task-title{font-weight:600;font-size:.9rem}.task-result{color:#555;margin-top:.2rem;white-space:pre-wrap}
