@import "https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;800&display=swap";:root{--c-primary:#0f766e;--c-primary-hover:#115e59;--c-primary-soft:#ccfbf1;--c-primary-bg:#f0fdfa;--c-accent:#1d4ed8;--c-accent-soft:#dbeafe;--c-success:#10b981;--c-warn:#f59e0b;--c-warn-bg:#fffbeb;--c-warn-text:#92400e;--c-danger:#dc2626;--c-danger-bg:#fef2f2;--c-danger-border:#fecaca;--c-bg:#f1f5f9;--c-surface:#fff;--c-surface-2:#f8fafc;--c-border:#e2e8f0;--c-border-strong:#cbd5e1;--c-text:#0f172a;--c-text-2:#475569;--c-text-3:#64748b;--c-text-muted:#94a3b8;--font:"Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;--r-sm:8px;--r-md:10px;--r-lg:12px;--r-xl:16px;--r-full:999px;--sh-sm:0 1px 3px #0f172a14;--sh-md:0 4px 12px #0f172a1a;--sh-lg:0 12px 32px #0f172a2e;--sp-1:.25rem;--sp-2:.5rem;--sp-3:.75rem;--sp-4:1rem;--sp-6:1.5rem;--sp-8:2rem;--tap:44px;--pc-nav-h:48px}html[data-text=large]{font-size:115%}html[data-text=xlarge]{font-size:130%}:focus-visible{outline-offset:2px;border-radius:4px;outline:3px solid #0f766e8c}:focus:not(:focus-visible){outline:none}button,input,select,textarea{font-family:inherit}.print-only{display:none}@media print{@page{size:A4 portrait;margin:12mm 10mm}.print-only{display:block!important}.no-print,.pc-nav,.m-tabbar-bottom,.m-demo-ribbon,.ui-toast-wrap,.ui-dialog-backdrop{display:none!important}body{background:#fff}}*{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%}body{font-family:var(--font);background-color:var(--c-bg);color:var(--c-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5}#root{min-height:100vh;position:relative;overflow-x:hidden}.app-header{background:var(--c-primary);color:#fff;z-index:10;box-shadow:var(--sh-sm);justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1.25rem;display:flex;position:sticky;top:0}.app-header h1{letter-spacing:.01em;margin:0;font-size:1.1rem;font-weight:800}.app-header p{opacity:.88;margin:2px 0 0;font-size:.8rem}.app-header .admin-actions{align-items:center;gap:.5rem;display:flex}.hdr-btn{color:#fff;border-radius:var(--r-md);cursor:pointer;white-space:nowrap;background:#ffffff29;border:none;min-height:40px;padding:0 .9rem;font-size:.88rem;font-weight:700}.hdr-btn:hover{background:#ffffff42}.hdr-btn.icon{min-width:44px;min-height:44px;padding:0;font-size:1.1rem}.admin-main{max-width:1000px;margin:0 auto;padding:1.5rem 2rem 3rem}.admin-main h2{color:var(--c-text);font-size:1.05rem;font-weight:800}.admin-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.panel{background:var(--c-surface);border:1px solid var(--c-border);border-radius:var(--r-lg);box-shadow:var(--sh-sm);overflow:hidden}.card{background:var(--c-surface);border-radius:var(--r-lg);box-shadow:var(--sh-sm);border:1px solid var(--c-border);padding:1.25rem}.btn{border-radius:var(--r-md);border:1px solid var(--c-border-strong);background:var(--c-surface);min-height:40px;color:var(--c-text);cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:.35rem;padding:0 1rem;font-size:.9rem;font-weight:700;transition:background .12s,border-color .12s,transform 80ms;display:inline-flex}.btn:hover{background:var(--c-surface-2);border-color:var(--c-text-muted)}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.55;cursor:default;transform:none}.btn.primary,.btn-primary{background:var(--c-primary);border-color:var(--c-primary);color:#fff}.btn.primary:hover,.btn-primary:hover{background:var(--c-primary-hover);border-color:var(--c-primary-hover)}.btn.danger{background:var(--c-surface);color:var(--c-danger);border-color:var(--c-danger-border)}.btn.danger:hover{background:var(--c-danger-bg)}.btn.danger.solid{background:var(--c-danger);color:#fff;border-color:var(--c-danger)}.btn.ghost{background:0 0;border-color:#0000}.btn.ghost:hover{background:var(--c-surface-2)}.btn-block{width:100%;display:flex}.btn.sm{min-height:34px;padding:0 .7rem;font-size:.82rem}.input-label{color:var(--c-text-2);margin-bottom:.35rem;font-size:.82rem;font-weight:700;display:block}.input-field,.admin-main input[type=text],.admin-main input[type=date],.admin-main input[type=month],.admin-main input[type=number],.admin-main select,.admin-main textarea{border:1px solid var(--c-border-strong);border-radius:var(--r-sm);background:var(--c-surface);width:100%;min-height:40px;color:var(--c-text);padding:.45rem .7rem;font-family:inherit;font-size:16px;transition:border-color .12s,box-shadow .12s}.input-field:focus,.admin-main input:focus,.admin-main select:focus,.admin-main textarea:focus{border-color:var(--c-primary);outline:none;box-shadow:0 0 0 3px #0f766e2e}.admin-main input[type=checkbox]{width:20px;height:20px;accent-color:var(--c-primary);cursor:pointer}.admin-main input[type=color]{border:1px solid var(--c-border-strong);cursor:pointer;background:0 0;border-radius:6px;width:32px;height:32px;padding:0}.note{background:var(--c-surface-2);border:1px dashed var(--c-border-strong);border-radius:var(--r-md);color:var(--c-text-3);padding:.6rem .8rem;font-size:.82rem;line-height:1.6}.banner-warn{background:var(--c-warn-bg);color:var(--c-warn-text);border-bottom:1px solid #fde68a;align-items:center;gap:.75rem;padding:.65rem 1.25rem;font-size:.85rem;display:flex}.banner-warn .btn{min-height:36px}.staff-table{border-collapse:collapse;text-align:left;width:100%}.staff-table thead{background:var(--c-surface-2);border-bottom:2px solid var(--c-border)}.staff-table th{color:var(--c-text-2);padding:.8rem 1rem;font-size:.82rem;font-weight:700}.staff-table td{vertical-align:top;padding:.9rem 1rem}.staff-table th:nth-child(3),.staff-table td:nth-child(3){width:600px}.staff-table tr{border-bottom:1px solid var(--c-border)}.staff-table .drag-handle{cursor:grab;color:var(--c-text-muted);text-align:center;width:40px}.staff-table .day-box{border-radius:var(--r-sm);border:1px solid var(--c-border);background:var(--c-surface-2);flex-direction:column;align-items:center;gap:.35rem;min-width:74px;padding:.45rem;display:flex}.staff-table .day-box.on{background:var(--c-primary-bg);border-color:#5eead4}.staff-table .day-box label{cursor:pointer;align-items:center;gap:.3rem;min-height:44px;font-size:.9rem;font-weight:700;display:flex}.staff-table .day-box select{width:100%;min-height:44px;padding:0 .3rem;font-size:16px}.timeoff-chip{background:var(--c-danger-bg);color:#991b1b;border-radius:var(--r-full);align-items:center;gap:.25rem;padding:.2rem .35rem .2rem .6rem;font-size:.78rem;display:inline-flex}.timeoff-chip button{cursor:pointer;color:#991b1b;background:0 0;border:none;border-radius:50%;min-width:28px;min-height:28px;font-size:1rem;line-height:1}.timeoff-chip button:hover{background:var(--c-danger-border)}.stats-table{border-collapse:collapse;width:100%;font-size:.9rem}.stats-table th,.stats-table td{border-bottom:1px solid var(--c-border);text-align:right;font-variant-numeric:tabular-nums;padding:.55rem .75rem}.stats-table th:first-child,.stats-table td:first-child{text-align:left}.stats-table thead tr{background:var(--c-surface-2);border-bottom:2px solid var(--c-border)}.stats-table tfoot tr{background:var(--c-bg);border-top:2px solid var(--c-border);font-weight:700}.empty-state{text-align:center;background:var(--c-surface);border:1px dashed var(--c-border-strong);border-radius:var(--r-lg);color:var(--c-text-3);padding:2.5rem 1.25rem;line-height:1.7}.empty-state .ico{margin-bottom:.5rem;font-size:2rem;line-height:1}.empty-state .t{color:var(--c-text);margin-bottom:.25rem;font-size:1rem;font-weight:800}.empty-state .actions{flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:1rem;display:flex}.empty-state .actions .btn{min-height:44px}.loading-screen{min-height:60vh;color:var(--c-text-3);flex-direction:column;justify-content:center;align-items:center;gap:.75rem;font-weight:700;display:flex}.spinner{border:4px solid var(--c-border);border-top-color:var(--c-primary);border-radius:50%;width:36px;height:36px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.pc-shell{flex-direction:column;height:100vh;display:flex}.pc-shell>.pc-shell-body{flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}.pc-shell>.pc-shell-body>.app{flex:1;min-height:0}.pc-shell>.pc-shell-body>.admin-page{flex:1}.pc-nav{height:var(--pc-nav-h);background:var(--c-primary);color:#fff;box-shadow:var(--sh-sm);z-index:50;flex-shrink:0;align-items:center;gap:.25rem;padding:0 .75rem;display:flex}.pc-nav .brand{white-space:nowrap;align-items:center;gap:.4rem;margin-right:.75rem;font-size:.95rem;font-weight:800;display:flex}.pc-nav .brand .org{opacity:.85;text-overflow:ellipsis;white-space:nowrap;border-left:1px solid #fff6;max-width:220px;padding-left:.5rem;font-size:.8rem;font-weight:500;overflow:hidden}.pc-nav a{color:#ffffffd9;border-radius:var(--r-sm);white-space:nowrap;align-items:center;height:44px;padding:0 .7rem;font-size:.85rem;font-weight:700;text-decoration:none;display:inline-flex}.pc-nav a:hover{color:#fff;background:#ffffff1f}.pc-nav a.active{color:var(--c-primary);background:#fff}.pc-nav .spacer{flex:1}.pc-nav .hdr-btn{min-height:44px;font-size:.82rem}.pc-shell .m-root{border-left:1px solid var(--c-border);border-right:1px solid var(--c-border);max-width:640px;min-height:0;margin:0 auto;padding-bottom:2rem}.pc-shell .m-root.with-tabs{padding-bottom:7rem}.pc-shell .m-root.with-tabs .m-footer{width:100%;max-width:640px;bottom:0;left:50%;transform:translate(-50%)}.pc-shell .m-tabbar-bottom,.pc-shell .m-demo-ribbon{display:none}.pc-shell .m-sheet{border-radius:18px;max-width:640px;margin:0 auto 2rem}.pc-shell .app-header{background:var(--c-surface);color:var(--c-text);box-shadow:none;border-bottom:1px solid var(--c-border)}.pc-shell .app-header p{color:var(--c-text-3);opacity:1}.pc-shell .app-header .hdr-btn{background:var(--c-surface-2);color:var(--c-text);border:1px solid var(--c-border-strong)}.pc-shell .app-header .hdr-btn:hover{background:var(--c-bg)}.pc-shell .app-header .hdr-btn.primary{background:var(--c-primary);color:#fff;border-color:var(--c-primary)}.pc-shell .app-header .hdr-btn.primary:hover{background:var(--c-primary-hover)}.pc-shell .app-header .hdr-btn:disabled{opacity:.6;cursor:default}.pc-shell .m-header{background:var(--c-primary)}.hdr-btn.primary{color:var(--c-primary);background:#fff}.hdr-btn:disabled{opacity:.6;cursor:default}.admin-main.wide{max-width:1280px}.pc-todo{margin-right:8px;position:relative}.pc-todo-btn{cursor:pointer;border:1px solid;border-radius:999px;align-items:center;gap:.3rem;min-height:40px;padding:0 .8rem;font-size:.8rem;font-weight:700;display:inline-flex}.pc-todo-btn b{font-size:.95rem}.pc-todo-btn.amber{color:#92400e;background:#fef3c7;border-color:#fcd34d}.pc-todo-btn.red{color:#b91c1c;background:#fee2e2;border-color:#fca5a5}.pc-todo-btn.blue{color:#1d4ed8;background:#dbeafe;border-color:#93c5fd}.pc-todo-panel{right:12px;top:calc(var(--pc-nav-h) + 6px);width:340px;color:var(--c-text);border:1px solid var(--c-border);z-index:60;background:#fff;border-radius:12px;padding:.5rem 0;font-size:.85rem;position:fixed;box-shadow:0 12px 32px #0f172a2e}.pc-todo-sec{border-bottom:1px solid var(--c-border);padding:.45rem .9rem}.pc-todo-sec:last-child{border-bottom:none}.pc-todo-h{margin-bottom:.25rem;font-size:.82rem;font-weight:800}.pc-todo-h .sub{color:var(--c-text-3);font-size:.75rem;font-weight:500}.pc-todo-row{align-items:center;gap:.5rem;min-height:36px;display:flex}.pc-todo-row .l{flex:1;font-weight:700}.pc-todo-row .n{font-variant-numeric:tabular-nums;text-align:right;min-width:2ch;font-weight:800}.pc-todo-row.amber .n{color:#b45309}.pc-todo-row.red .n{color:#b91c1c}.pc-todo-row.blue .n{color:#1d4ed8}.pc-todo-row.muted{color:var(--c-text-3);font-size:.8rem}.pc-todo-row .ok{color:var(--c-text-3);font-size:.78rem}.pc-todo-row button{border:1px solid var(--c-border);background:var(--c-surface);min-height:34px;color:var(--c-primary);cursor:pointer;border-radius:8px;padding:0 .7rem;font-size:.8rem;font-weight:700}.pc-todo-row button:hover{background:#ecfdf5}.pc-todo-days{flex-direction:column;gap:2px;margin-top:.25rem;display:flex}.pc-todo-days button{text-align:left;min-height:32px;color:var(--c-text-2);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:0 .5rem;font-size:.78rem}.pc-todo-days button:hover{background:var(--c-surface)}.pt-cardgrid{grid-template-columns:minmax(240px,1fr) minmax(0,2fr);gap:2rem;display:grid}@media (width<=1100px){.pt-cardgrid{grid-template-columns:1fr;gap:1.25rem}}.pc-nav>*{flex-shrink:0}.pc-nav{scrollbar-width:none;overflow:auto hidden}.pc-nav::-webkit-scrollbar{display:none}@media (width<=1180px){.pc-nav a{padding:0 .5rem;font-size:.82rem}.pc-nav .brand{margin-right:.4rem}.pc-nav .brand>span:nth-child(2),.pc-nav .brand .org{display:none}}.pt-cardgrid input:not([type=checkbox]),.pt-cardgrid select,.pt-cardgrid textarea{min-height:40px;font-size:16px!important}@media (pointer:coarse){.app .btn,.btn,.btn.sm,.hdr-btn,.link{min-height:44px!important}.app .btn.icon-only{min-width:44px!important;min-height:44px!important}.sidebar-toggle-btn{width:44px!important;height:44px!important}.rc,.rc-off{width:40px!important;height:40px!important}.rec-grid th{min-width:40px!important}.admin-main input[type=checkbox]{width:26px;height:26px}}@media (width<=820px){.app-header{border-radius:0;margin-bottom:.75rem;padding:.9rem}.app-header h1{font-size:1.05rem}.admin-header{flex-wrap:wrap;gap:.5rem}.admin-header .admin-actions{gap:.5rem;width:100%;display:flex}.admin-header .admin-actions button{flex:1;min-height:44px}.admin-main{padding:.75rem!important}.admin-main h2{font-size:1rem}.admin-main input:not([type=checkbox]):not([type=color]),.admin-main select,.admin-main textarea,.admin-main button{font-size:16px}.admin-main select,.admin-main input[type=text],.admin-main input[type=date],.admin-main input[type=month],.admin-main button{min-height:44px}.staff-table,.staff-table tbody,.staff-table tr,.staff-table td{display:block;width:100%!important;min-width:0!important}.staff-table thead{display:none}.staff-table tr{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:.75rem;padding:.5rem .25rem}.staff-table td{border:none!important;padding:.5rem .75rem!important}.staff-table td[data-label]:before{content:attr(data-label);color:#64748b;margin-bottom:.3rem;font-size:.72rem;font-weight:700;display:block}.staff-table td.drag-handle{display:none}.staff-table .shift-days{grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem!important;display:grid!important}.staff-table .day-box select{padding:0 .15rem;font-size:16px}.staff-table .shift-days>div{min-width:0!important}.staff-table .day-box label{font-size:1rem}.admin-main input[type=checkbox]{width:24px;height:24px}.report-main{flex-direction:column;gap:.75rem!important;padding:.75rem!important}.report-main aside{width:100%!important}.report-main textarea{min-height:50vh}.report-actions{flex-wrap:wrap;padding:.75rem!important}.report-actions button{flex:1}.stats-table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}.stats-table{min-width:520px;font-size:.85rem}.stats-toolbar{flex-direction:column;align-items:stretch!important}.stats-toolbar button,.stats-toolbar input{width:100%}.admin-page{padding-bottom:calc(72px + env(safe-area-inset-bottom))}}@media print{.m-tabbar-bottom,.m-demo-ribbon{display:none!important}}.m-root{min-height:100vh;padding-bottom:calc(84px + env(safe-area-inset-bottom));-webkit-text-size-adjust:100%;background:#f1f5f9}.m-header{z-index:20;background:var(--c-primary);color:#fff;padding:.6rem .75rem;position:sticky;top:0;box-shadow:0 2px 8px #0f172a26}.m-datebar{align-items:center;gap:.5rem;margin-top:.5rem;display:flex}.m-datebar button{white-space:nowrap;color:#fff;cursor:pointer;background:#ffffff2e;border:none;border-radius:10px;min-width:44px;min-height:44px;font-size:1rem}.m-datebar .m-date-label{text-align:center;flex:1;font-size:1.05rem;font-weight:700}.m-body{padding:.75rem}.m-section-title{color:#475569;align-items:center;gap:.4rem;margin:1rem 0 .4rem;font-size:.84rem;font-weight:700;display:flex}.m-card{text-align:left;width:100%;min-height:56px;font:inherit;color:inherit;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:.6rem;margin-bottom:.5rem;padding:.7rem .8rem;display:flex}.m-card:active{background:#f8fafc}.m-time{font-variant-numeric:tabular-nums;color:#0f172a;min-width:46px;font-size:.95rem;font-weight:700}.m-name{color:#0f172a;font-size:.98rem;font-weight:700;display:block}.m-sub{color:#64748b;margin-top:2px;font-size:.8rem;display:block}.m-body>.m-btn{width:100%;display:block}.m-footer{z-index:30;-webkit-backdrop-filter:blur(8px);padding:.5rem .6rem calc(.5rem + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid #e2e8f0;gap:.5rem;display:flex;position:fixed;bottom:0;left:0;right:0}.m-btn{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:12px;flex:1;min-height:48px;font-size:.9rem;font-weight:700}.m-btn:active{transform:scale(.98)}.m-btn.primary{color:#fff;background:#10b981;border-color:#10b981}.m-btn.blue{background:var(--c-accent);border-color:var(--c-accent);color:#fff}.m-btn:disabled{color:#94a3b8;cursor:default;background:#e2e8f0;border-color:#e2e8f0}.m-sheet-backdrop{z-index:100;background:#0f172a73;align-items:flex-end;display:flex;position:fixed;inset:0}.m-sheet{width:100%;max-height:82vh;padding:1rem .9rem calc(1.25rem + env(safe-area-inset-bottom));background:#fff;border-radius:18px 18px 0 0;animation:.2s ease-out m-sheet-up;overflow-y:auto}@keyframes m-sheet-up{0%{opacity:.6;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.m-sheet h3{justify-content:space-between;align-items:center;margin:0 0 .9rem;font-size:1.05rem;display:flex}.m-row{width:100%;min-height:52px;font:inherit;color:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:.6rem;margin-bottom:.45rem;padding:.6rem .7rem;display:flex}.m-row.selected{border-color:var(--c-primary);background:var(--c-primary-bg)}.m-row:active{background:#f1f5f9}.m-input{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;min-width:0;max-width:100%;min-height:46px;padding:.75rem .8rem;font-size:1rem}.m-input:focus{border-color:var(--c-primary);box-shadow:0 0 0 3px #0f766e2e}.m-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.m-badge{white-space:nowrap;border-radius:999px;padding:2px 6px;font-size:.76rem;font-weight:700}.m-tabbar{gap:.35rem;margin-top:.4rem;display:flex}.m-tab{color:#fff;cursor:pointer;background:#ffffff29;border:none;border-radius:9px;flex:1;min-height:44px;font-size:.82rem;font-weight:700}.m-tab.active{color:#0f172a;background:#fff}.m-capture{background:#fff;padding:12px}.m-tabbar-bottom{z-index:40;-webkit-backdrop-filter:blur(10px);padding-bottom:env(safe-area-inset-bottom);background:#fffffff7;border-top:1px solid #e2e8f0;display:flex;position:fixed;bottom:0;left:0;right:0}.m-tabbar-bottom a{color:#64748b;white-space:nowrap;-webkit-tap-highlight-color:transparent;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:2px;min-width:0;min-height:60px;font-size:.78rem;font-weight:700;text-decoration:none;display:flex}.m-tabbar-bottom a .ico{font-size:1.5rem;line-height:1}.m-tabbar-bottom a.active{color:#0f766e}.m-tabbar-bottom a.active .ico{transform:translateY(-1px)}.m-tabbar-bottom .ico-wrap{display:inline-block;position:relative}.m-tabbar-bottom .tab-badge{color:#fff;text-align:center;background:#ef4444;border-radius:999px;min-width:17px;height:17px;padding:0 4px;font-size:.7rem;font-weight:800;line-height:17px;position:absolute;top:-4px;right:-12px}.m-root.with-tabs{padding-bottom:calc(146px + env(safe-area-inset-bottom))}.m-root.with-tabs .m-footer{bottom:calc(60px + env(safe-area-inset-bottom));padding-bottom:.5rem}.m-root.with-tabs .m-toast{bottom:calc(156px + env(safe-area-inset-bottom))}.m-toast{left:50%;bottom:calc(96px + env(safe-area-inset-bottom));z-index:200;color:#fff;background:#0f172a;border-radius:10px;max-width:90vw;padding:.7rem 1rem;font-size:.85rem;position:fixed;transform:translate(-50%);box-shadow:0 8px 24px #00000040}.m-toast.ng{background:#dc2626}.m-label{color:#475569;margin:.9rem 0 .35rem;font-size:.86rem;font-weight:700;display:block}.m-label .m-hint{color:#94a3b8;margin-left:4px;font-weight:400}.m-seg{background:#e2e8f0;border-radius:12px;gap:3px;padding:3px;display:flex}.m-seg button{color:#475569;cursor:pointer;background:0 0;border:none;border-radius:10px;flex:1;min-height:44px;font-size:.95rem;font-weight:700}.m-seg button.active{color:#0f172a;background:#fff;box-shadow:0 1px 3px #0f172a26}.m-chips{flex-wrap:wrap;gap:.45rem;display:flex}.m-chip{color:#0f172a;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#fff;border:1px solid #cbd5e1;border-radius:999px;min-height:44px;padding:0 .9rem;font-size:.9rem;font-weight:600}.m-chip.on{color:#fff;background:#0f766e;border-color:#0f766e}.m-chip.on.blue{background:#1d4ed8;border-color:#1d4ed8}.m-vitals{grid-template-columns:1fr 1fr;gap:.6rem;display:grid}.m-vital{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.55rem .7rem}.m-vital .t{color:#64748b;font-size:.8rem;font-weight:700}.m-vital .row{align-items:baseline;gap:.3rem;display:flex}.m-vital input{color:#0f172a;font-variant-numeric:tabular-nums;background:0 0;border:none;outline:none;width:100%;min-width:0;padding:.25rem 0;font-size:1.35rem;font-weight:700}.m-vital input::placeholder{color:#cbd5e1;font-weight:500}.m-vital .u{color:#94a3b8;white-space:nowrap;font-size:.8rem}.m-vital.warn{background:#fffbeb;border-color:#fbbf24}.m-scale{gap:4px;display:flex}.m-scale button{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;flex:1;min-height:44px;padding:0;font-size:.95rem;font-weight:700}.m-scale button.on{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.m-textarea{color:#0f172a;resize:vertical;background:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;min-height:110px;padding:.75rem .8rem;font-family:inherit;font-size:1rem;line-height:1.6}.m-textarea:focus{border-color:var(--c-primary);box-shadow:0 0 0 3px #0f766e2e}select.m-input{appearance:none}.m-note{color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;padding:.6rem .75rem;font-size:.85rem;line-height:1.6}.m-alert{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:.7rem .8rem;font-size:.83rem;line-height:1.6}.m-alert.warn{color:#92400e;background:#fffbeb;border-color:#fde68a}.m-empty{text-align:center;color:#94a3b8;padding:2.5rem 1rem;line-height:1.7}.m-datebar.light button{color:#0f172a;background:#e2e8f0}.m-datebar.light .m-date-label{color:#0f172a}.m-demo-ribbon{z-index:500;color:#1f2937;pointer-events:none;background:#f59e0b;border-bottom-left-radius:8px;padding:2px 8px;font-size:.72rem;font-weight:800;position:fixed;top:0;right:0}.m-staffpick{color:#fff;width:100%;min-height:44px;font:inherit;cursor:pointer;text-align:left;background:#ffffff29;border:none;border-radius:10px;align-items:center;gap:.5rem;margin-top:.5rem;padding:0 .8rem;display:flex}.m-staffpick:active{background:#ffffff42}.m-staffpick-label{opacity:.8;font-size:.78rem}.m-staffpick-name{flex:1;font-size:.98rem;font-weight:800}.m-staffpick-count{opacity:.9;font-size:.78rem}.m-staffpick-caret{opacity:.85;font-size:.9rem}.m-viewswitch{background:#ffffff29;border-radius:9px;gap:3px;margin-top:.4rem;padding:3px;display:flex}.m-viewswitch button{color:#fff;min-height:44px;font:inherit;cursor:pointer;background:0 0;border:none;border-radius:7px;flex:1;font-size:.85rem;font-weight:700}.m-viewswitch button.active{color:#0f172a;background:#fff}.m-weekday{margin-bottom:.9rem}.m-weekday-head{align-items:center;gap:.5rem;margin:.2rem 0 .4rem;display:flex}.m-weekday-date{text-align:left;font:inherit;cursor:pointer;background:0 0;border:none;flex:1;min-height:44px;padding:.3rem 0;font-size:.95rem;font-weight:800}.m-weekday-add{color:#0f172a;cursor:pointer;background:#fff;border:1px dashed #94a3b8;border-radius:10px;min-width:44px;min-height:44px;font-size:1.1rem;font-weight:700}.m-card-compact{min-height:50px;margin-bottom:.4rem;padding:.5rem .7rem}.m-notice-unplaced{color:#b91c1c;width:100%;min-height:44px;font:inherit;text-align:left;cursor:pointer;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;margin-bottom:.6rem;padding:.55rem .8rem;font-size:.85rem;font-weight:700}.smart-ta,.smart-ta .m-textarea{width:100%}.smart-ta-tools{flex-wrap:wrap;gap:.4rem;margin-top:.45rem;display:flex}.smart-ta-tools .m-chip{padding:0 .75rem;font-size:.8rem}.smart-ta-tools .m-chip.phrase{color:#334155;background:#f8fafc;border-color:#e2e8f0}.smart-ta-tools .m-chip.phrase:active{background:#e2e8f0}.smart-ta-tools .m-chip.phrase-edit{color:#64748b;background:0 0;border-style:dashed}.smart-ta-tools .m-chip.mic{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe;font-weight:700}.smart-ta-tools .m-chip.mic.rec{color:#b91c1c;background:#fef2f2;border-color:#fca5a5;animation:1.2s ease-in-out infinite mic-blink}@keyframes mic-blink{0%,to{opacity:1}50%{opacity:.55}}.phrase-row{border-bottom:1px solid #f1f5f9;align-items:center;gap:.5rem;padding:.15rem 0;display:flex}.phrase-row-text{color:#0f172a;flex:1;padding:.35rem .1rem;font-size:.88rem}.phrase-row-del{color:#b91c1c;cursor:pointer;background:0 0;border:1px solid #fecaca;border-radius:8px;min-height:44px;padding:0 .7rem;font-size:.78rem;font-weight:700}.phrase-reset{color:#64748b;cursor:pointer;background:0 0;border:none;min-height:44px;margin-top:.3rem;padding:0 .2rem;font-size:.78rem;text-decoration:underline}.note-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:.55rem;padding:.7rem .8rem}.note-card.pinned{background:#fffbeb;border-color:#fcd34d}.note-head{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.note-target{color:#0f766e;font-size:.78rem;font-weight:700}.note-meta{color:#94a3b8;margin-left:auto;font-size:.78rem}.note-menu-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;min-width:44px;min-height:44px;margin:-.5rem -.5rem -.5rem 0;font-size:1.1rem;font-weight:700}.note-body{color:#0f172a;white-space:pre-wrap;word-break:break-word;margin-top:.35rem;font-size:.92rem;line-height:1.65}.note-actions{gap:.4rem;margin-top:.5rem;display:flex}.note-actions button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:10px;flex:1;min-height:44px;font-size:.8rem;font-weight:700}.note-actions button.danger{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.records-seg .seg-notes{position:relative}.records-seg .seg-badge{color:#fff;background:#ef4444;border-radius:999px;min-width:17px;height:17px;padding:0 4px;font-size:.62rem;font-weight:800;line-height:17px;position:absolute;top:2px;right:4px}.todo-line{color:#64748b;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.7rem;font-size:.8rem;display:flex}.todo-line .t{font-weight:600}.todo-line button,.todo-line span.amber,.todo-line span.red{cursor:pointer;background:#fff;border:1px solid;border-radius:999px;align-items:center;min-height:36px;padding:0 .7rem;font-size:.8rem;font-weight:800;display:inline-flex}.todo-line span.amber,.todo-line span.red{cursor:default}.todo-line .amber{color:#92400e;background:#fffbeb;border-color:#fcd34d}.todo-line .red{color:#b91c1c;background:#fef2f2;border-color:#fca5a5}.sum-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.8rem .9rem}.sum-row{border-bottom:1px solid #f8fafc;gap:.6rem;padding:.28rem 0;display:flex}.sum-row:last-child{border-bottom:none}.sum-label{color:#64748b;flex:0 0 78px;padding-top:.1rem;font-size:.82rem;font-weight:700}.sum-value{color:#0f172a;word-break:break-word;flex:1;font-size:.9rem;line-height:1.55}.sum-tel{color:#047857;background:#ecfdf5;border:1px solid #6ee7b7;border-radius:10px;align-items:center;min-height:44px;padding:0 .8rem;font-size:1rem;font-weight:800;text-decoration:none;display:inline-flex}.m-summary-btn{color:#0f766e;cursor:pointer;background:#f0fdfa;border:1px solid #99f6e4;border-radius:12px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:2px;min-width:58px;margin-bottom:.5rem;font-size:.74rem;font-weight:700;display:flex}.m-summary-btn:active{background:#ccfbf1}.kana-filter{flex-wrap:wrap;gap:.35rem;margin-bottom:.6rem;display:flex}.kana-filter button{color:#334155;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#fff;border:1px solid #cbd5e1;border-radius:10px;min-width:44px;min-height:44px;font-size:.95rem;font-weight:700}.kana-filter button.on{color:#fff;background:#0f766e;border-color:#0f766e}.search-hit{color:#78350f;background:#fde68a;border-radius:3px;padding:0 1px;font-weight:700}.copy-prev{width:100%;min-height:56px;font:inherit;color:#0f172a;cursor:pointer;text-align:left;background:#f0fdfa;border:1px dashed #5eead4;border-radius:12px;align-items:center;gap:.5rem;margin-top:.7rem;padding:.6rem .8rem;display:flex}.copy-prev:active{background:#ccfbf1}@media (height<=500px){.m-header{position:static}.m-root.with-tabs{padding-bottom:calc(120px + env(safe-area-inset-bottom))}.m-sheet{max-height:92vh}}.rehab-compose{background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;margin-top:.8rem;padding:.7rem .8rem}.rehab-compose .rc-title{color:#1e3a8a;flex-wrap:wrap;align-items:baseline;gap:.4rem;font-weight:800;display:flex}.rehab-compose .rc-sub{color:#475569;margin:.25rem 0 .5rem;font-size:.78rem;line-height:1.5}.rehab-compose .rc-go{width:100%;min-height:48px;margin-top:.6rem}.rehab-compose .rc-go:disabled{opacity:.5;cursor:not-allowed}.ui-dialog-backdrop{z-index:5000;background:#0f172a80;justify-content:center;align-items:center;padding:1rem;animation:.15s ease-out ui-fade;display:flex;position:fixed;inset:0}.ui-dialog{background:var(--c-surface);color:var(--c-text);border-radius:var(--r-xl);width:100%;max-width:420px;box-shadow:var(--sh-lg);padding:1.25rem 1.25rem 1rem;animation:.16s ease-out ui-pop}.ui-dialog h2{margin:0 0 .5rem;font-size:1.05rem;font-weight:800}.ui-dialog .ui-msg{color:var(--c-text-2);white-space:pre-line;font-size:.92rem;line-height:1.7}.ui-dialog .ui-actions{justify-content:flex-end;gap:.5rem;margin-top:1.25rem;display:flex}.ui-dialog .ui-actions .btn{min-width:96px;min-height:44px}.ui-dialog.danger h2{color:var(--c-danger)}@media (width<=820px){.ui-dialog-backdrop{align-items:flex-end;padding:0}.ui-dialog{max-width:none;padding:1.1rem 1rem calc(1rem + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;animation:.2s ease-out m-sheet-up}.ui-dialog .ui-actions{flex-direction:column-reverse}.ui-dialog .ui-actions .btn{width:100%;min-height:48px}}.ui-toast-wrap{left:50%;bottom:calc(24px + env(safe-area-inset-bottom));z-index:6000;pointer-events:none;flex-direction:column;align-items:center;gap:.5rem;max-width:92vw;display:flex;position:fixed;transform:translate(-50%)}.m-root.with-tabs~.ui-toast-wrap{bottom:calc(150px + env(safe-area-inset-bottom))}@media (width>=821px){.m-root.with-tabs~.ui-toast-wrap{bottom:24px}}.ui-toast{color:#fff;border-radius:var(--r-md);box-shadow:var(--sh-lg);pointer-events:auto;background:#0f172a;align-items:center;gap:.5rem;max-width:92vw;padding:.7rem 1.1rem;font-size:.88rem;font-weight:600;animation:.18s ease-out ui-pop;display:flex}.ui-toast.success{background:#047857}.ui-toast.error{background:var(--c-danger)}@keyframes ui-fade{0%{opacity:0}to{opacity:1}}@keyframes ui-pop{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:none}}@media (width>=821px){.m-sheet-backdrop:has(.pin-sheet){justify-content:center;align-items:center;padding:1rem}.pin-sheet{max-width:440px;box-shadow:var(--sh-lg);border-radius:16px}}.month-nav{background:var(--c-surface);color:var(--c-text);border:1px solid var(--c-border-strong);border-radius:var(--r-md);align-items:center;gap:.35rem;padding:3px;display:inline-flex}.month-nav button{background:var(--c-surface-2);min-width:44px;min-height:44px;color:var(--c-text);cursor:pointer;border:none;border-radius:8px;font-family:inherit;font-size:1rem;font-weight:800}.month-nav button:hover{background:var(--c-border)}.month-nav .month-nav-label{text-align:center;font-variant-numeric:tabular-nums;min-width:7.5em;font-size:1.05rem;font-weight:800}.month-nav .month-nav-today{background:var(--c-primary-bg);min-width:0;color:var(--c-primary);border:1px solid #99f6e4;padding:0 .7rem;font-size:.85rem}.month-nav.compact .month-nav-label{min-width:6.5em;font-size:1rem}
