:root{--ink:#203e38;--sub:#627a71;--green:#17685b;--pale:#e9f3ee;--line:#dbe5df;--bg:#f5f7f5;--gold:#d9963c;--shadow:0 12px 36px #16392c0b;font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Yu Gothic','Meiryo',sans-serif;color:var(--ink);font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #dca441;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #398371;outline-offset:1px}input,textarea,select{width:100%;background:#fff;color:var(--ink);border:1px solid #c9d8ce;border-radius:10px;padding:12px;min-height:46px;min-width:0}textarea{resize:vertical;line-height:1.7}input[type=checkbox]{width:20px;min-height:20px;height:20px;accent-color:var(--green)}input[type=file]{padding:10px;font-size:14px}label{display:block;color:#536e63;font-size:14px;font-weight:600;margin-bottom:7px}h1,h2,h3,p{margin-top:0}h1{font-size:27px;letter-spacing:.025em;margin-bottom:9px}h2{font-size:22px;margin-bottom:14px}h3{font-size:17px;margin-bottom:12px}p{line-height:1.75}.trial-banner{background:#f5eddb;color:#786035;text-align:center;font-size:12px;padding:8px 12px;line-height:1.5}.top{background:white;border-bottom:1px solid var(--line);height:91px;padding:16px max(24px,calc((100% - 1100px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:14px;white-space:nowrap}.brand img{width:102px;height:51px;object-fit:contain}.brand div{padding-left:16px;border-left:1px solid var(--line)}.brand b{font-size:20px;letter-spacing:.07em}.brand span{display:block;font-size:11px;letter-spacing:.16em;color:var(--sub);margin-top:5px}#app{max-width:1100px;margin:auto;padding:27px 24px 115px}.quiet{background:transparent;color:var(--green);border:1px solid var(--line);border-radius:9px;padding:10px 14px;font-size:13px;min-height:44px}.primary{background:var(--green);color:#fff;border-radius:11px;padding:14px 20px;min-height:50px;font-weight:700}.secondary{background:var(--pale);color:var(--green);border-radius:10px;padding:12px 17px;min-height:46px;font-weight:600}.danger{background:#fff0ed;color:#9c3e30;border-radius:9px;padding:10px 15px}.muted,.help{color:var(--sub);font-size:13px;line-height:1.7}.help{margin:6px 0 0}.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:700;color:var(--sub);margin:0 0 9px}.facility-bar{display:flex;gap:20px;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--line);border-radius:16px;padding:17px 20px;margin-bottom:29px}.facility-bar select{max-width:335px;background:var(--pale);border-color:transparent;font-weight:600}.facility-bar .right{text-align:right;font-size:13px;color:var(--sub)}.head-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.head-row p{margin:0;color:var(--sub);font-size:14px}.card{background:white;border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:var(--shadow)}.people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.person{background:white;border:1px solid var(--line);border-radius:16px;padding:23px;text-align:left;transition:border-color .15s,transform .15s;min-height:180px;position:relative;color:var(--ink)}.person:hover{border-color:var(--green);transform:translateY(-2px)}.person-top{display:flex;align-items:center;gap:13px;margin-bottom:18px}.avatar{width:47px;height:47px;border-radius:15px;background:var(--pale);display:flex;align-items:center;justify-content:center;color:var(--green);font-weight:700;font-size:19px;flex-shrink:0}.person-name{font-weight:700;font-size:19px;line-height:1.5;overflow-wrap:anywhere}.person-room{font-size:12px;color:var(--sub);margin-top:3px}.person-bottom{border-top:1px solid #edf1ed;padding-top:14px;font-size:13px;color:var(--sub);display:flex;justify-content:space-between}.arrow{color:var(--green);font-weight:700}.pill{display:inline-block;border-radius:6px;font-size:11px;padding:4px 8px;background:var(--pale);color:var(--green);font-weight:600}.pill.amber{background:#faf0d8;color:#826532}.search{max-width:340px;margin-bottom:18px}.bottom{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:#fffffff5;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);z-index:20;backdrop-filter:blur(10px)}.bottom button{background:transparent;color:var(--sub);min-width:155px;padding:12px 20px 14px;font-size:13px;position:relative;font-weight:500}.bottom button.selected{color:var(--green);font-weight:700;background:#edf5f060}.bottom button.selected:before{content:'';position:absolute;top:0;left:25%;right:25%;height:3px;background:var(--green);border-radius:0 0 3px 3px}.bottom button span{display:block;font-size:22px;margin-bottom:4px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:17px}.grid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}.field{margin-bottom:17px}.field small{font-size:11px;font-weight:400}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.row.between{justify-content:space-between}.toolbar{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:12px;margin-bottom:15px}.filters{margin:20px 0}.checkline{display:flex;gap:9px;align-items:center;margin:10px 0;font-size:14px}.empty{text-align:center;background:white;border:1px dashed #baccbf;border-radius:16px;padding:42px 22px;color:var(--sub);line-height:1.9}.empty h3{color:var(--ink)}.empty p{font-size:14px;margin:10px 0}.record-list{display:flex;flex-direction:column;gap:14px}.record{padding:19px 22px}.record-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.record-time{font-size:13px;font-weight:600}.record-body{font-size:15px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.metrics{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 12px}.metric{font-size:13px;background:#f2f6f3;border-radius:7px;padding:6px 10px}.metric b{margin-left:5px}.record-footer{border-top:1px solid #eef2ef;padding-top:11px;margin-top:14px;display:flex;align-items:center;justify-content:space-between;color:var(--sub);font-size:12px}.record-footer button{border:none;background:none;font-size:12px;color:var(--green);padding:8px}.photos{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.photo-button{width:100px;height:90px;border-radius:10px;overflow:hidden;padding:0;background:var(--pale)}.photo-button img{width:100%;height:100%;object-fit:cover}.note{padding:13px 16px;border-radius:10px;background:var(--pale);color:#466556;font-size:13px;line-height:1.7;margin:16px 0}.warning{background:#fff4df;color:#816332}.error{color:#943b2f;background:#fff0ed;padding:12px 14px;border-radius:9px;font-size:14px;line-height:1.7}.hidden,[hidden]{display:none!important}dialog{border:0;border-radius:20px;width:min(700px,calc(100% - 32px));padding:0;max-height:90dvh;box-shadow:0 25px 100px #163d3133;color:var(--ink)}dialog::backdrop{background:#142b2355;backdrop-filter:blur(3px)}.dialog-head{padding:20px 23px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:white;z-index:2}.dialog-head h2{margin:0;font-size:20px}.icon-button{background:#eff4f0;border-radius:50%;font-size:25px;color:var(--sub);width:39px;height:39px;display:flex;align-items:center;justify-content:center}#dialogBody{padding:23px}.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:13px 0 22px}.categories button{padding:12px 5px;border-radius:9px;background:#f2f5f1;color:var(--sub);font-size:13px;border:1px solid transparent;min-height:44px}.categories button.active{background:var(--pale);color:var(--green);border-color:#85b39f;font-weight:700}.compose-context{background:var(--pale);padding:12px 16px;border-radius:10px;line-height:1.6;margin-bottom:17px}.compose-context strong{font-size:16px}.photo-area{border:1px dashed #a7bfad;border-radius:12px;padding:17px;margin:20px 0}.photo-area h3{font-size:15px;margin-bottom:6px}.photo-draft{display:flex;gap:13px;margin-top:12px;background:#f6f8f5;padding:10px;border-radius:10px;align-items:center}.photo-draft img{width:80px;height:75px;object-fit:cover;border-radius:7px}.photo-draft input{font-size:13px}.form-actions{display:flex;gap:12px;margin-top:20px;justify-content:flex-end}.form-actions .primary{min-width:190px}.required{color:#a3652d;font-size:11px}.full{width:100%}.export-intro{display:flex;gap:15px;align-items:center;margin-bottom:20px}.excel-icon{background:var(--green);color:white;width:56px;height:64px;border-radius:9px;display:grid;place-items:center;font-weight:700;font-size:23px}.export-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}.steps{display:flex;flex-direction:column;gap:17px}.step{display:flex;gap:14px}.step .num{border-radius:50%;background:var(--pale);color:var(--green);width:29px;height:29px;display:grid;place-items:center;flex-shrink:0;font-weight:700;font-size:12px}.step h3{margin:0 0 5px;font-size:15px}.step p{margin:0;font-size:13px;color:var(--sub)}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);background:var(--green);color:white;border-radius:11px;padding:13px 23px;box-shadow:var(--shadow);z-index:99;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw;text-align:center;font-size:14px}#toast.show{opacity:1}.loading{padding:60px;text-align:center;color:var(--sub)}.login{max-width:410px;margin:40px auto}.login .primary{width:100%}.history{background:#f5f7f5;border-radius:10px;padding:14px;margin:10px 0;white-space:pre-wrap;font-size:13px;line-height:1.7}.bigphoto{max-width:100%;max-height:55vh;display:block;margin:auto;border-radius:10px}.stay-item{padding:14px;border:1px solid var(--line);border-radius:10px;margin:10px 0;font-size:13px;line-height:1.7}.recorded{font-size:11px;color:var(--sub)}.footnote{margin-top:24px;font-size:12px;color:var(--sub);line-height:1.8}.account-list{border-top:1px solid var(--line);padding:13px 0;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px}.illustration{font-size:30px;padding:15px}.user-strip{display:flex;align-items:center;gap:13px;margin-bottom:22px}.user-strip .avatar{width:50px;height:50px}.user-strip h1{margin:0;font-size:23px}.login .eyebrow{margin-bottom:14px}
@media(max-width:750px){.top{height:78px;padding:12px 18px}.brand{gap:9px}.brand img{width:66px;height:41px}.brand div{padding-left:10px}.brand b{font-size:17px}.brand span{font-size:9px}.top .quiet{font-size:11px;padding:8px;max-width:112px}.trial-banner{font-size:11px;padding:6px 12px}#app{padding:19px 16px 108px}.facility-bar{padding:12px;margin-bottom:23px;gap:8px;flex-wrap:wrap}.facility-bar select{max-width:none;font-size:14px}.facility-bar .right{display:none}.facility-bar label{font-size:11px}.head-row{align-items:flex-start;margin-bottom:18px}h1{font-size:23px}.head-row p{font-size:12px}.head-row .primary{padding:10px 14px;font-size:13px;min-height:43px;white-space:nowrap}.people-grid{grid-template-columns:1fr;gap:12px}.person{padding:18px;min-height:140px}.person-top{margin-bottom:12px}.person-name{font-size:18px}.person-bottom{padding-top:11px}.search{max-width:none}.bottom button{min-width:0;flex:1;padding:10px 8px 12px;font-size:11px}.bottom button span{font-size:21px;margin-bottom:2px}.card{padding:18px}.grid3{grid-template-columns:1fr 1fr}.toolbar{grid-template-columns:1fr 1fr}.toolbar .category-filter{grid-column:1/-1}.export-layout{grid-template-columns:1fr}.export-layout .card:last-child{box-shadow:none}.categories{grid-template-columns:repeat(3,1fr)}.categories button{font-size:12px}.record{padding:16px}.record-body{font-size:14px}.record-top{align-items:flex-start}.record-time{font-size:12px}.record-footer{font-size:11px}.grid2{gap:12px}dialog{width:calc(100% - 16px);max-height:95dvh;border-radius:15px}.dialog-head{padding:15px 17px}#dialogBody{padding:18px}.form-actions .primary{min-width:0;flex:1}.form-actions button{font-size:14px}.photo-button{width:90px;height:82px}.user-strip{gap:10px}.user-strip h1{font-size:21px}.login{margin:15px auto}.photo-draft{flex-wrap:wrap}.photo-draft input{flex:1;width:calc(100% - 100px)}.primary{font-size:15px}.recorded{font-size:10px}}
@media print{.top,.bottom,.trial-banner,.filters,button{display:none!important}#app{padding:0}.card{box-shadow:none;break-inside:avoid}.record{margin:10px 0}.record-list{display:block}}

@media(max-width:500px){.time-row{grid-template-columns:1fr}.time-row .field{margin-bottom:4px}}
