@charset "UTF-8";
/* LifeLabo Portal / NEON NETWORK — presentation only. */
:root{color-scheme:dark;--cyan:#54eeff;--magenta:#fc79dc;--violet:#b29aff;--muted:#a8b7d3;--line:#344366;--green:#54eeff;--purple:#fc79dc;--bg:#070b19;--surface:#10182d;--surface-2:#17243b;--text:#eaf4ff;--primary:#54eeff;--accent:#b29aff;--border:#3a4b70;--border-strong:#647aa4;--ink:#eaf4ff;--ink-2:#c2d1e9;--brand:#69e9ff;--brand-ink:#a5f4ff;--brand-soft:#153749;--gold:#f69cde;--gold-soft:#3a2546;--danger:#ff9eb6;--danger-soft:#3b233b;--warn:#f2d49b;--warn-soft:#383024;--ok:#8af4d9;--ok-soft:#163d3d;--info:#adcaff;--info-soft:#1e2f52;--sidebar:#11172d;--sidebar-2:#1d2544;--sidebar-ink:#edf6ff;--sidebar-muted:#aab6d0;--sh-1:0 4px 22px #0004,0 0 18px #40ddff0b;--sh-2:0 10px 40px #0006}
html{background:#070b19!important;min-height:100%}body{color:#eaf4ff!important;background:radial-gradient(ellipse at 8% 0%,#12384c66,transparent 45%),radial-gradient(ellipse at 95% 15%,#65205244,transparent 42%),linear-gradient(155deg,#080c1b,#0c1023 60%,#101029)!important;background-attachment:fixed!important;min-height:100vh;font-family:Inter,"Segoe UI","Yu Gothic UI",Meiryo,sans-serif}
::selection{background:#704788;color:#fff}a{color:#8feeff}h1,h2{color:#f1f6ff;letter-spacing:-.025em}h1{text-shadow:0 0 32px #44dcff45}h1 span,.eyebrow{color:#68ecff;text-shadow:0 0 16px #3cdafc55}p,li,label{line-height:1.7}small,.muted,.lead{color:#b3bfd7}.shell,.app,.app-shell,#root{background:transparent!important;color:#eaf4ff}
aside,.sidebar,.rail{background:linear-gradient(180deg,#10172cf5,#101022fa)!important;border-color:#43406a!important;box-shadow:6px 0 40px #05091b55}.brand,.logo{color:#70efff!important;text-shadow:0 0 22px #33cfee66}.rail>a.active,.sidebar a.active,.nav a.active,nav a.active{color:#9af6ff!important;background:linear-gradient(110deg,#173e55,#342442)!important;border:1px solid #5ecada80!important;box-shadow:inset 0 0 18px #55dcff0c,0 0 16px #39d5ff12}.nav-label{color:#9d9ac8!important;letter-spacing:.14em}
header{border-color:#3d4267!important}main{min-width:0}.card,.panel,.tile,.metrics article,.note,.sync,.environment,dialog,.modal,.modal-content{color:#eaf4ff!important;background:linear-gradient(140deg,#14253aeb,#17162eea)!important;border:1px solid #42517a!important;box-shadow:0 8px 30px #03071344,inset 0 1px 0 #a2cfff0c;border-radius:12px}.metrics article{border-top-color:#67d9ed80!important}.metrics strong{color:#edfcff;text-shadow:0 0 25px #42e7ff30}.metrics article:nth-child(3){border-top-color:#f37ade80!important}.metrics article:nth-child(3) strong{color:#f990e1;text-shadow:0 0 20px #fc63d43b}
button,.btn,input[type=submit]{color:#eafaff;border:1px solid #5ab2d0;background:linear-gradient(130deg,#194052,#302445);border-radius:7px;box-shadow:0 0 15px #42d8ff0d;transition:border-color .16s,box-shadow .16s,background .16s}button:hover:not(:disabled),.btn:hover{border-color:#77edff;box-shadow:0 0 22px #4bdeff26}button:disabled{opacity:.55}input:not([type=checkbox]):not([type=radio]),textarea,select{background:#0b1428!important;color:#ecf5ff!important;border-color:#53688d!important;border-radius:7px;max-width:100%}input::placeholder,textarea::placeholder{color:#91a1bd!important}input:focus,select:focus,textarea:focus{border-color:#6ceeff!important;box-shadow:0 0 0 3px #4feaff18;outline:none}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid #89f4ff;outline-offset:4px}
table{color:#e5efff;border-color:#394b70;background:#10182b}th{background:#19243d!important;color:#b7eefa!important}td{border-color:#33435f!important}tr:nth-child(even){background:#18213a66}hr{border-color:#3d4267}dialog::backdrop{background:#030817d9;backdrop-filter:blur(7px)}code,pre{color:#d1e8ff;overflow-wrap:anywhere}footer{color:#a5b3ce!important;border-color:#3d4267!important}.dot{background:#6bf1ff!important;box-shadow:0 0 12px #42dfff99!important}.search{background:#0d1729!important;border-color:#465778!important}.filters .selected{background:#16384f!important;border-color:#5ed9ef!important;color:#aff7ff!important;box-shadow:0 0 18px #42ddff12}.privacy-note{color:#a1b1d0!important}
.topbar{background:#0c1429ed!important;box-shadow:0 2px 24px #24d6ff0a}.kpi{border-color:#486280;box-shadow:var(--sh-1)}.kpi .val{color:#dcfaff;text-shadow:0 0 20px #48dfff33}.btn.primary,.btn.gold{background:linear-gradient(120deg,#19506a,#3e285d)!important;color:#e9fbff!important}.brand .mark{background:linear-gradient(130deg,#4be4fa,#bd83f1)!important;color:#091423!important;box-shadow:0 0 20px #47dafa44}.role-pill.admin{color:#ffd0f1!important}.role-pill.staff{color:#9df4ff!important}.badge,.pill{border-color:#536791}.login-card,.login-box,.auth-card,.auth-box,.wrap{color:#eaf4ff}.login-card,.login-box,.auth-card,.auth-box{background:linear-gradient(140deg,#12283a,#211932)!important;border:1px solid #5b6c94!important;box-shadow:0 0 60px #4ad9ff14,0 30px 80px #0006!important}.subtitle,.desc{color:#b1c4df!important}
.shell>.brand{background:radial-gradient(circle at 10% 10%,#1a7b9166,transparent 70%),linear-gradient(150deg,#142e48,#252046 65%,#411d49)!important;border-right:1px solid #6b92b56b}.shell>.login{background:#0e1529d9}.shell:has(>.login){border-color:#7284ba;box-shadow:0 0 55px #3cdfff16,0 30px 90px #0007}.crest{border-color:#7ce7fb!important;background:#183d5266!important;color:#ffb5f0!important;box-shadow:0 0 25px #3fe5ff33,inset 0 0 20px #61ddff10;text-shadow:0 0 16px #ff8fe855}.login .classes{background:#1a2540!important;border-color:#566b94!important;color:#d7e5ff}.login .tag{background:#4b3055!important;color:#ffc7ee!important}.login .message{background:#102c3b!important;color:#8feeff!important}.login .message.error{background:#3c2337!important;color:#ffbfd3!important}.shell>.brand h1{text-shadow:0 0 35px #6ddfff44}.shell>.brand p{color:#cadbf3!important}
@media(max-width:700px){body{background-attachment:scroll!important}h1{overflow-wrap:anywhere}.card,.panel,.tile{max-width:100%}input,textarea,select{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Shared portal/page palette and luminous-label contrast. */
:root{--bg:#050507;--surface:#111115;--surface-2:#1b1820;--text:#f5f5fa;--ink:#f5f5fa;--muted:#bfc0cc;--line:#39313f;--green:#a6ed73;--cyan:#84eaff;--magenta:#ff86c5;--violet:#bd9bff}
html{background:#050507!important}body{background:radial-gradient(ellipse at 5% 0%,#ff78400c,transparent 40%),radial-gradient(ellipse at 90% 10%,#b86fff0b,transparent 40%),#050507!important;color:#f5f5fa!important}
.rail,.sidebar,aside{background:#0b0b0ef5!important}.card,.panel,.tile,.metrics article,.sync,.environment,dialog,.modal,.modal-content{background:linear-gradient(140deg,#171419f2,#101014f5)!important;border-color:#49404f!important}
.badge,.pill,.tag,.chip,.status-badge,.count-badge,.badge-soft,.app-badge,[class*="badge-"]{background:linear-gradient(120deg,#84eaff,#b8f4e0)!important;color:#050507!important;text-shadow:none!important;font-weight:750;box-shadow:0 0 15px #84eaff44}
.badge:nth-of-type(3n+2),.pill:nth-of-type(3n+2),.tag:nth-of-type(3n+2){background:linear-gradient(120deg,#ffc56e,#ffe78e)!important;box-shadow:0 0 15px #ffb45c44}
.badge:nth-of-type(3n),.pill:nth-of-type(3n),.tag:nth-of-type(3n){background:linear-gradient(120deg,#f99bda,#cab0ff)!important;box-shadow:0 0 15px #ee86d344}
[data-role-tone="chief"]{--role-neon:#ff8585}[data-role-tone="deputy"]{--role-neon:#ffbd73}[data-role-tone="special"]{--role-neon:#ffdf75}[data-role-tone="independent"]{--role-neon:#b7f080}[data-role-tone="llp"]{--role-neon:#6ee7b7}[data-role-tone="semi"]{--role-neon:#80e7ee}[data-role-tone="lower"]{--role-neon:#a9b8ff}[data-role-tone="worker"]{--role-neon:#e3a4ef}
.node{border-top:2px solid var(--role-neon,#e3a4ef)!important}.node-name,.node .avatar{color:var(--role-neon,#e3a4ef)!important}.node-role{color:#d0c9db!important}.metrics article:nth-child(1) strong{color:#ffbc78!important}.metrics article:nth-child(2) strong{color:#b4ef83!important}.metrics article:nth-child(3) strong{color:#fca2d5!important}.metrics article:nth-child(4) strong{color:#b7adff!important}
#people-tabs button:nth-child(8n+1){border-color:#ff8585}#people-tabs button:nth-child(8n+2){border-color:#ffbd73}#people-tabs button:nth-child(8n+3){border-color:#ffdf75}#people-tabs button:nth-child(8n+4){border-color:#b7f080}#people-tabs button:nth-child(8n+5){border-color:#6ee7b7}#people-tabs button:nth-child(8n+6){border-color:#80e7ee}#people-tabs button:nth-child(8n+7){border-color:#a9b8ff}#people-tabs button:nth-child(8n){border-color:#e3a4ef}

.chat-panel{background:linear-gradient(145deg,#19151ef5,#101014f5)!important;border-color:var(--role-neon,#e3a4ef)!important}.chat-panel h3{color:var(--role-neon,#e3a4ef)}.chat-panel.active-chat{box-shadow:0 0 0 1px var(--role-neon,#e3a4ef)!important}#people-tabs button[data-role-tone]{border-color:var(--role-neon)!important;color:var(--role-neon)!important}.family-line{stroke-dasharray:none!important;stroke-linejoin:round}
@media (max-width:700px){
  html,body{max-width:100%;overflow-x:hidden}
  /* full-screen sheet, one column */
  dialog#detail{margin:0;padding:10px 10px 200px;border:0;max-width:100vw;max-height:100dvh;width:100vw;height:100dvh;overflow-y:auto;-webkit-overflow-scrolling:touch}
  dialog#detail>header{flex:0 0 auto}
  .grid,.cols,.layout,.panels,.two-col{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
  .card,.panel,.tile,.node,.tree-card,section{max-width:100%!important;min-width:0!important}
  /* long text wraps inside its own scroll box, never pushes the composer away */
  #detail-chat,#detail-report,#chat-at,#report-at,#detail-meta,#detail-task{overflow-wrap:anywhere!important;word-break:break-word}
  #detail-chat,#detail-report{white-space:pre-wrap!important;max-width:100%;max-height:42dvh;overflow-y:auto;overflow-x:hidden}
  #chat-details{width:100%;min-width:0}
  #chat-details>summary{width:100%;box-sizing:border-box;min-height:44px;display:flex;align-items:center}
  .chat-shortcut,#dog-open,#chat-conversation-link,.link-btn{font-size:14px!important;min-height:44px;box-sizing:border-box}
  /* composer pinned to the bottom of the screen while the sheet scrolls */
  #dog-message-section{position:fixed;left:0;right:0;bottom:0;z-index:10;margin:0;padding:8px 10px calc(6px + env(safe-area-inset-bottom));background:#0b0e14;border-top:1px solid #252c3c;max-height:46dvh;overflow-y:auto;box-shadow:0 -4px 14px rgba(0,0,0,.45)}
  #dog-message{width:100%;box-sizing:border-box;font-size:16px!important;line-height:1.4;height:60px;min-height:60px;max-height:26vh;resize:none}
  #dog-send,#dog-message-form button[type=submit]{min-width:44px;min-height:44px;font-size:15px!important}
  #dog-message-status{font-size:13px;line-height:1.35;max-height:2.7em;overflow:hidden}
}


/* FrLlpTest mobile fix 2026-11-23: own 1830B + LLP 2743B appended to current 10900B */
@media (max-width:700px){
  html,body{max-width:100%;overflow-x:hidden}
  /* full-screen sheet, one column */
  dialog#detail{margin:0;padding:10px 10px 200px;border:0;max-width:100vw;max-height:100dvh;width:100vw;height:100dvh;overflow-y:auto;-webkit-overflow-scrolling:touch}
  dialog#detail>header{flex:0 0 auto}
  .grid,.cols,.layout,.panels,.two-col{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
  .card,.panel,.tile,.node,.tree-card,section{max-width:100%!important;min-width:0!important}
  /* long text wraps inside its own scroll box, never pushes the composer away */
  #detail-chat,#detail-report,#chat-at,#report-at,#detail-meta,#detail-task{overflow-wrap:anywhere!important;word-break:break-word}
  #detail-chat,#detail-report{white-space:pre-wrap!important;max-width:100%;max-height:42dvh;overflow-y:auto;overflow-x:hidden}
  #chat-details{width:100%;min-width:0}
  #chat-details>summary{width:100%;box-sizing:border-box;min-height:44px;display:flex;align-items:center}
  .chat-shortcut,#dog-open,#chat-conversation-link,.link-btn{font-size:14px!important;min-height:44px;box-sizing:border-box}
  /* composer pinned to the bottom of the screen while the sheet scrolls */
  #dog-message-section{position:fixed;left:0;right:0;bottom:0;z-index:10;margin:0;padding:8px 10px calc(6px + env(safe-area-inset-bottom));background:#0b0e14;border-top:1px solid #252c3c;max-height:46dvh;overflow-y:auto;box-shadow:0 -4px 14px rgba(0,0,0,.45)}
  #dog-message{width:100%;box-sizing:border-box;font-size:16px!important;line-height:1.4;height:60px;min-height:60px;max-height:26vh;resize:none}
  #dog-send,#dog-message-form button[type=submit]{min-width:44px;min-height:44px;font-size:15px!important}
  #dog-message-status{font-size:13px;line-height:1.35;max-height:2.7em;overflow:hidden}
}

/* LLP /devfleet チャット画面 スマホ幅 追補（2026-11-23 03:1x JST）
   当て先: isolation-20261110\public\assets\devfleet-neon-20261110.css の末尾（4 版とも同じ物）
   根拠: managed-r2\reports.js 32,073B に @media 0 本・<style> 0 個。実 DOM は
     #person-panel > article.chat-panel（人数分）
       > .chat-live > .chat-scroll > (button.load-older + .chat-messages > .chat-bubble)
       + .conversation-heading(h3) / .chat-count / .chat-heading / .chat-live
   PC 幅（701px 以上）は 1 行も変えない。 */

@media (max-width: 700px) {
  html, body { max-width: 100%; overflow-x: hidden; }

  /* 一覧とチャットを縦 1 列に */
  #person-panel {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
  }

  /* チャットの器は画面幅いっぱい・高さは画面 − 入力欄 */
  .chat-panel {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    margin: 0 0 12px 0;
    box-sizing: border-box;
  }
  .chat-panel:not(.active-chat) { display: none; }   /* 選んだ相手だけ出す */

  .chat-live, .chat-scroll {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    height: calc(100dvh - 210px);
    max-height: calc(100dvh - 210px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .chat-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    padding-bottom: 8px;
  }

  /* 長い語・URL を折り返す（横はみ出し 0 へ） */
  .chat-messages, .chat-bubble, .conversation-heading, .conversation-heading h3,
  .chat-count, .chat-heading, .load-older {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .chat-bubble { width: auto; }
  .conversation-heading h3 { font-size: 1rem; line-height: 1.35; }

  /* 入力欄を下に固定・文字 16px 以上・指で押せる送信ボタン */
  .chat-panel form, .chat-compose, .chat-input, textarea, input[type="text"] {
    font-size: 16px !important;
    min-height: 44px;
  }
  .chat-panel form, .chat-compose {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: flex;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    background: inherit;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  }
  .chat-panel form > input, .chat-panel form > textarea { flex: 1 1 auto; min-width: 0; }
  .chat-panel button, .load-older {
    min-height: 44px;
    min-width: 44px;
    font-size: 15px;
  }
}

/* M3REV 2026-11-23 FrLlpTest (backup .bak-20261123-0955) */
@media (max-width:700px){
  html,body{max-width:100vw;overflow-x:hidden}
  /* full-screen sheet, one column */
  dialog#detail{margin:0;padding:10px 10px 200px;border:0;max-width:100vw;max-height:100dvh;width:100vw;height:100dvh;overflow-y:auto;-webkit-overflow-scrolling:touch}
  dialog#detail>header{flex:0 0 auto}
  .grid,.cols,.layout,.panels,.two-col{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
  .card,.panel,.tile,.node,.tree-card,section{max-width:100%!important;min-width:0!important}
  /* long text wraps inside its own scroll box, never pushes the composer away */
  #detail-chat,#detail-report,#chat-at,#report-at,#detail-meta,#detail-task{overflow-wrap:anywhere!important;word-break:break-word}
  #detail-chat,#detail-report{white-space:pre-wrap!important;max-width:100%;max-height:42dvh;overflow-y:auto;overflow-x:hidden}
  #chat-details{width:100%;min-width:0}
  #chat-details>summary{width:100%;box-sizing:border-box;min-height:44px;display:flex;align-items:center}
  .chat-shortcut,#dog-open,#chat-conversation-link,.link-btn{font-size:14px!important;min-height:44px;box-sizing:border-box}
  /* composer pinned to the bottom of the screen while the sheet scrolls */
  #dog-message-section,.chat-composer,[class*=composer]{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:10!important;margin:0!important;padding:8px 10px calc(6px + env(safe-area-inset-bottom))!important;background:#0b0e14;border-top:1px solid #252c3c;max-height:46dvh;overflow-y:auto;box-shadow:0 -4px 14px rgba(0,0,0,.45)}
  #dog-message{width:100%;box-sizing:border-box;font-size:16px!important;line-height:1.4;height:60px;min-height:60px;max-height:26vh;resize:none}
  #dog-send,#dog-message-form button[type=submit]{min-width:44px;min-height:44px;font-size:15px!important}
  #dog-message-status{font-size:13px;line-height:1.35;max-height:2.7em;overflow:hidden}
}

@media (max-width:700px){
  /* m16: the m14/m15 composer kept growing because the textarea was forced onto
     its own row (flex:1 1 100%) and its own content then ran past the bottom
     edge, so the send button was cut off at 390 and 360. Put the textarea and
     the button on one row (textarea flex:1 1 0, button flex:0 0 auto), cap the
     whole composer, and let the message log take the rest. PC untouched. */
  dialog#detail{display:flex!important;flex-direction:column!important;
    height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    margin:0!important;padding:0!important}
  dialog#detail > *{max-width:100%!important;box-sizing:border-box!important;
    flex:0 0 auto!important}
  dialog#detail .modal-head{padding-block:0!important}
  dialog#detail #detail-meta{padding-block:0!important}
  dialog#detail > section:has(> #detail-report){flex:1 1 auto!important;
    min-height:0!important;overflow-y:auto!important}
  dialog#detail #detail-report{overflow-y:auto!important}
  dialog#detail > section:not(:has(> #detail-report)){max-height:30dvh!important;
    overflow-y:auto!important}
  dialog#detail > details{max-height:10dvh!important;overflow-y:auto!important;
    padding-block:2px!important}
  dialog#detail #dog-message-section{position:sticky!important;bottom:0!important;
    flex:0 0 auto!important;max-height:30dvh!important;overflow:hidden!important;
    display:flex!important;flex-direction:column!important}
  dialog#detail #dog-message-section form{display:flex!important;flex-wrap:wrap!important;
    align-items:flex-end!important;gap:6px!important;min-height:0!important;
    flex:1 1 auto!important;overflow:hidden!important}
  dialog#detail #dog-message-section textarea,
  dialog#detail #dog-message-section input{font-size:16px!important;
    max-width:100%!important}
  dialog#detail #dog-message-section textarea{flex:1 1 0!important;min-width:0!important;
    max-height:12dvh!important;min-height:44px!important}
  dialog#detail #dog-message-section button{min-height:44px!important;
    flex:0 0 auto!important;max-width:100%!important}
  dialog#detail .privacy-note{display:none!important}
  body, .chat-panel, .panel, .card, .task-list, .task-row, .verify-chip,
  .modal-head, #detail-meta, a, span, p, td, th, b, strong, small, label, h1, h2, h3, summary{
    overflow-wrap:break-word!important;word-break:normal!important;
    white-space:normal!important}
  html, body, dialog#detail, dialog#detail *{max-width:100%!important}
  html, body{overflow-x:hidden!important}
}
