*{box-sizing:border-box}html,body,#root{margin:0;padding:0;height:100%;background:#f5f7fb;font-family:Arial,sans-serif}.app-shell{min-height:100dvh;display:flex;flex-direction:column;background:#f5f7fb}.top-safe-space{height:max(env(safe-area-inset-top,0px),52px);background:#f5f7fb;flex-shrink:0}.page-content{flex:1;overflow-y:auto;padding:8px 12px 88px}.app-shell .web-banner-slot{height:50px;flex-shrink:0;background:#f0f0f0;border-bottom:1px solid #d1d5db;display:flex;align-items:center;justify-content:center;font-size:12px;color:#9ca3af;letter-spacing:.5px}.bottom-tabbar{position:sticky;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #e5e7eb}.tab-link{text-decoration:none;color:#333;text-align:center;padding:10px 6px;border-radius:12px;background:#f1f5f9;font-size:13px}.tab-link.active{background:#dbeafe;font-weight:700}.page-container{display:flex;flex-direction:column;gap:12px}.page-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.page-title-row h1{margin:0;font-size:22px}.patient-count-summary{font-size:13px;color:#6b7280;margin-top:3px}.patient-count-summary strong{color:#1d4ed8;font-weight:700}.today-section,.patient-list{display:flex;flex-direction:column;gap:12px}.section-title{font-size:16px;font-weight:700}.section-toggle-btn,.action-btn,.ward-header{border:none;border-radius:12px;padding:10px 12px;font-size:14px;cursor:pointer}.section-toggle-btn{background:#e2e8f0}.ward-section{display:flex;flex-direction:column;gap:8px}.ward-header{display:flex;justify-content:space-between;align-items:center;background:#cbd5e1;font-weight:700}.ward-patient-list{display:flex;flex-direction:column;gap:10px}.patient-card{background:#fff;border-radius:16px;padding:14px;box-shadow:0 2px 8px #0f172a0f;display:flex;flex-direction:column;gap:12px}.patient-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.patient-name{font-size:17px;font-weight:700}.patient-meta{font-size:13px;color:#64748b;margin-top:4px}.patient-status-badge{padding:6px 10px;border-radius:999px;background:#e0f2fe;font-size:12px;font-weight:700}.patient-card-actions{display:flex;flex-wrap:wrap;gap:8px}.action-btn{background:#e2e8f0}.discharge-btn{background:#fee2e2}.restore-btn{background:#dcfce7}.empty-box{background:#fff;border-radius:14px;padding:16px;color:#64748b;text-align:center}.task-preview-box{display:flex;flex-direction:column;gap:10px;background:#f8fafc;border-radius:14px;padding:12px}.task-preview-title-row{display:flex;justify-content:space-between;align-items:center}.task-preview-title{font-size:14px;font-weight:700}.task-preview-count{font-size:12px;color:#64748b}.task-empty-text{font-size:13px;color:#94a3b8}.task-list{display:flex;flex-direction:column;gap:10px}.task-item{border-radius:12px;padding:10px;background:#fff;border:1px solid #e2e8f0;display:flex;flex-direction:column;gap:8px}.task-planned{border-color:#cbd5e1}.task-done{border-color:#bbf7d0;background:#f0fdf4}.task-canceled{border-color:#fecaca;background:#fef2f2}.task-main-row{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.task-left{flex:1;min-width:0}.task-title-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.task-title{font-size:14px;font-weight:600;color:#0f172a;word-break:break-word}.task-meta-line{margin-top:4px;font-size:12px;color:#64748b}.task-status-chip{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:700}.chip-planned{background:#e2e8f0;color:#334155}.chip-done{background:#dcfce7;color:#166534}.chip-canceled{background:#fee2e2;color:#991b1b}.task-more-text{font-size:12px;color:#64748b}.task-input{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;font-size:14px;background:#fff}.patient-card-highlight{outline:3px solid #60a5fa;box-shadow:0 0 0 4px #60a5fa2e;transition:all .25s ease}.settings-textarea{width:100%;min-height:220px;border:1px solid #cbd5e1;border-radius:12px;padding:12px;font-size:13px;line-height:1.45;resize:vertical;background:#fff}.page-content{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:96px}.page-container{min-height:100%}.action-btn:disabled{opacity:.45;cursor:not-allowed}html,body,#root{height:100%}body{overflow:hidden}.app-shell{height:100dvh;min-height:100dvh;display:flex;flex-direction:column;overflow:hidden}.page-content{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:8px 12px 96px}.patient-card-highlight{outline:4px solid #2563eb;border:2px solid #2563eb;background:#eff6ff;box-shadow:0 0 0 6px #2563eb38;transform:scale(1.01);transition:all .25s ease}.patient-list-compact{gap:8px}.patient-card-compact{padding:10px;gap:8px;border-radius:12px}.patient-card-compact .patient-card-header{gap:8px;align-items:center}.patient-card-compact .patient-name{font-size:15px;line-height:1.2}.patient-card-compact .patient-meta{font-size:11px;margin-top:2px}.patient-card-compact .patient-status-badge{padding:4px 8px;font-size:11px}.patient-card-compact .patient-card-actions{gap:6px}.patient-card-compact .action-btn{padding:7px 9px;font-size:12px;border-radius:10px}.patient-card-compact .task-preview-box{padding:9px;gap:8px;border-radius:10px}.patient-card-compact .task-preview-title{font-size:13px}.patient-card-compact .task-preview-count,.patient-card-compact .task-empty-text,.patient-card-compact .task-more-text{font-size:11px}.patient-card-compact .task-item{padding:8px;gap:6px;border-radius:10px}.patient-card-compact .task-title{font-size:13px}.patient-card-compact .task-meta-line{font-size:11px;margin-top:2px}.patient-card-compact .task-status-chip{padding:3px 7px;font-size:10px}.patient-card-compact .mini-action-btn{padding:6px 8px;font-size:11px;border-radius:8px}.patient-card-compact .done-toggle-btn{padding:7px 8px;font-size:12px}.patient-card-compact .task-form{padding:10px;gap:8px}.patient-card-compact .task-input{padding:8px 10px;font-size:13px}.quick-task-box{display:flex;flex-direction:column;gap:8px}.quick-task-list{display:flex;flex-wrap:wrap;gap:8px}.quick-task-btn{border:none;border-radius:999px;padding:8px 12px;font-size:13px;cursor:pointer;background:#dbeafe;color:#1e3a8a}.quick-task-remove-btn{background:#fee2e2;color:#991b1b}.task-form{display:flex;flex-direction:column;gap:10px;background:#eef6ff;border:1px solid #dbeafe;border-radius:14px;padding:12px}.task-form-grid{display:grid;grid-template-columns:1fr 120px;gap:10px}.task-form-label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#334155}.task-input,.settings-textarea{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;font-size:14px;background:#fff}.settings-textarea{min-height:220px;resize:vertical}.task-check-row{display:flex;align-items:center;gap:8px;font-size:14px;color:#334155}.task-form-actions{display:flex;gap:8px;flex-wrap:wrap}.task-save-btn{background:#dbeafe}.done-task-box{display:flex;flex-direction:column;gap:8px}.done-toggle-btn{border:none;border-radius:10px;padding:9px 10px;font-size:13px;cursor:pointer;background:#e2e8f0;text-align:left}.task-actions{display:flex;flex-wrap:wrap;gap:6px}.mini-action-btn{border:none;border-radius:10px;padding:7px 10px;font-size:12px;cursor:pointer;background:#e2e8f0}.mini-delete-btn{background:#fee2e2}.priority-high{border-width:2px;border-color:#ef4444}.priority-mid{border-width:2px;border-color:#f59e0b}.priority-normal{border-color:#cbd5e1}@media(max-width:600px){.task-form-grid{grid-template-columns:1fr}}.room-section{display:flex;flex-direction:column;gap:8px}.room-header{border:none;border-radius:12px;padding:10px 12px;font-size:14px;cursor:pointer;background:#e2e8f0;display:flex;justify-content:space-between;align-items:center;font-weight:700}.room-patient-list{display:flex;flex-direction:column;gap:10px}.quick-task-btn-selected{outline:2px solid rgba(70,120,255,.35);background:#4678ff24;font-weight:700}.quick-task-chip-wrap{position:relative;display:inline-flex;align-items:center}.quick-task-chip-wrap-selected .quick-task-btn{outline:2px solid rgba(70,120,255,.35);background:#4678ff24;font-weight:700}.quick-task-btn-with-delete{padding-right:34px}.quick-task-delete-btn{position:absolute;top:50%;right:8px;transform:translateY(-50%);width:18px;height:18px;border:none;border-radius:999px;background:#1b22352e;color:inherit;font-size:14px;line-height:18px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.quick-task-delete-btn:active{transform:translateY(-50%) scale(.95)}.patient-status-planned{border-left:4px solid rgba(235,162,52,.95)}.patient-status-done{border-left:4px solid rgba(53,179,104,.95)}.patient-status-canceled{border-left:4px solid rgba(143,148,163,.95)}.patient-status-badge{padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}.patient-badge-planned{background:#eba23424;color:#b86a09}.patient-badge-done{background:#35b36824;color:#18794e}.patient-badge-canceled{background:#78809424;color:#5f6678}.confirm-btn{background:#35b36824;color:#18794e}.pending-btn,.chip-planned{background:#eba23424;color:#b86a09}.chip-done{background:#35b36824;color:#18794e}.chip-canceled{background:#78809424;color:#5f6678}.task-planned{border:1px solid rgba(235,162,52,.25);background:#eba2340d}.task-done{border:1px solid rgba(53,179,104,.25);background:#35b3680d;opacity:.92}.task-canceled{border:1px solid rgba(120,128,148,.25);background:#7880940f}.mini-confirm-btn{background:#35b36824;color:#18794e}.mini-pending-btn{background:#eba23424;color:#b86a09}.mini-cancel-btn{background:#78809424;color:#5f6678}.mini-edit-btn{background:#4678ff24;color:#2f5bd2}.task-edit-form{margin-top:10px;display:grid;gap:8px}.task-edit-grid{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.today-card-swiping{transform:translate(18px);transition:transform .08s ease}.patient-memo-editing{background:#4678ff0d;border:1px solid rgba(70,120,255,.14)}.patient-memo-text{font-size:13px;line-height:1.45;white-space:pre-wrap;word-break:break-word}.patient-memo-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px;flex-wrap:wrap}.ward-section{margin-bottom:12px}.ward-header{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border:none;border-radius:14px;background:#4678ff14;color:inherit;font:inherit;font-weight:800;cursor:pointer;margin-bottom:8px}.ward-room-list{display:grid;gap:10px}.room-header-sub{font-size:12px;opacity:.72;font-weight:500}.today-swipe-wrap{position:relative}.today-swipe-action{position:absolute;inset:0;border-radius:16px;background:#35b36829;color:#18794e;display:flex;align-items:center;justify-content:flex-end;padding-right:18px;font-weight:800;opacity:0;transition:opacity .18s ease;pointer-events:none}.today-swipe-action-visible{opacity:1}.today-card-swiping{transform:translate(22px);transition:transform .08s ease}.today-task-summary{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:10px;padding:10px 12px;border-radius:12px;background:#4678ff0f;border:1px solid rgba(70,120,255,.12)}.today-task-summary-label{font-size:12px;font-weight:700;color:#2f5bd2}.today-task-summary-title{font-size:14px;font-weight:700}.today-task-summary-meta{font-size:12px;opacity:.72}.patient-memo-box{margin-bottom:10px;padding:10px 12px;border-radius:12px;background:#ffffff0a;border:1px solid rgba(255,255,255,.06)}.patient-memo-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.patient-memo-title{font-size:13px;font-weight:700;opacity:.86}.patient-memo-preview{font-size:13px;line-height:1.45;white-space:pre-wrap;word-break:break-word}.patient-memo-empty{opacity:.56}.patient-memo-input{width:100%;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#ffffff0d;color:inherit;padding:10px 12px;resize:vertical;font:inherit;box-sizing:border-box}html,body,#root{background:#0f172a}.startup-guide-backdrop{position:fixed;inset:0;background:#0f172a8f;display:flex;align-items:center;justify-content:center;padding:20px;z-index:9999}.startup-guide-modal{width:min(100%,420px);border-radius:18px;background:#111827;color:#f8fafc;padding:18px;box-shadow:0 16px 40px #00000047;border:1px solid rgba(255,255,255,.08)}.startup-guide-title{font-size:18px;font-weight:800;margin-bottom:10px}.startup-guide-text{font-size:14px;line-height:1.6;opacity:.92}.startup-guide-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;flex-wrap:wrap}.import-step-bar{display:flex;align-items:flex-start;gap:0;margin-bottom:16px;overflow-x:auto}.import-step-item{display:flex;flex-direction:column;align-items:center;flex:1;min-width:0;position:relative}.import-step-item:not(:last-child):after{content:"";position:absolute;top:14px;left:50%;right:-50%;height:2px;background:#e2e8f0;z-index:0}.import-step-item.import-step-done:not(:last-child):after{background:#2563eb}.import-step-circle{width:28px;height:28px;border-radius:50%;background:#e2e8f0;color:#64748b;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;position:relative;z-index:1}.import-step-active .import-step-circle{background:#2563eb;color:#fff}.import-step-done .import-step-circle{background:#16a34a;color:#fff}.import-step-label{font-size:10px;color:#94a3b8;margin-top:4px;text-align:center;white-space:nowrap}.import-step-active .import-step-label{color:#2563eb;font-weight:700}.import-step-done .import-step-label{color:#16a34a}.import-mapping-table{display:flex;flex-direction:column;gap:14px}.import-mapping-row{display:flex;flex-direction:column;gap:6px;padding:10px 12px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.import-mapping-select{font-size:13px}.import-mapping-mode-btns{display:flex;gap:4px}.import-mapping-mode-btn{border:1px solid #cbd5e1;border-radius:8px;padding:4px 10px;font-size:11px;cursor:pointer;background:#f8fafc;color:#475569}.import-mapping-mode-btn.active{background:#2563eb;border-color:#2563eb;color:#fff;font-weight:700}.import-split-row{display:flex;align-items:center;gap:8px}.import-split-label{font-size:11px;color:#6b7280;white-space:nowrap;flex-shrink:0}.import-split-delim{width:72px;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;font-size:13px;background:#fff}.import-split-preview{font-size:11px;color:#2563eb;background:#eff6ff;border-radius:6px;padding:4px 8px;margin-top:2px}.import-page{padding-bottom:20px}.import-panel-row{display:flex;flex-direction:column;gap:10px}.import-inline-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.import-chip-list{display:flex;flex-wrap:wrap;gap:8px}.import-chip{padding:6px 10px;border-radius:999px;background:#e2e8f0;color:#334155;font-size:12px}.import-mapping-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.import-mapping-item{display:flex;flex-direction:column;gap:8px}.import-mapping-label{font-size:13px;font-weight:700;color:#334155}.import-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}.import-stat-card{display:flex;flex-direction:column;gap:6px;padding:14px;border-radius:12px;background:#fff;border:1px solid #dbe3f0}.import-stat-card strong{font-size:24px;color:#0f172a}.import-stat-card span{font-size:12px;color:#64748b}.import-toggle-list{display:flex;flex-direction:column;gap:8px}.import-preview-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.import-preview-group{display:flex;flex-direction:column;gap:8px;padding:14px;border-radius:12px;background:#fff;border:1px solid #dbe3f0}.import-notice,.import-error{padding:10px 12px;border-radius:10px;font-size:13px;line-height:1.5}.import-notice{background:#eff6ff;color:#1d4ed8}.import-error{background:#fef2f2;color:#b91c1c}@media(max-width:640px){.import-inline-row{grid-template-columns:1fr}}.hub-page{height:100dvh;min-height:100dvh;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;scrollbar-gutter:stable;padding:clamp(24px,5vw,56px) clamp(16px,4vw,56px) max(28px,calc(28px + env(safe-area-inset-bottom,0px)));background:radial-gradient(circle at top left,rgba(80,122,255,.08),transparent 28%),radial-gradient(circle at top right,rgba(15,23,42,.07),transparent 24%),#eef2f7;color:#111827}.hub-page-home{display:flex;align-items:center;justify-content:center}.hub-shell{width:min(1120px,100%);margin:0 auto;display:flex;flex-direction:column;gap:22px}.hub-shell-narrow{width:min(900px,100%)}.hub-hero{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}.hub-hero-left{align-items:flex-start;text-align:left}.hub-kicker{margin:0;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#4b5563}.hub-title{margin:0;font-size:clamp(32px,5vw,54px);line-height:1.06;letter-spacing:-.04em}.hub-title-small{font-size:clamp(28px,4vw,40px)}.hub-description{width:min(680px,100%);margin:0;font-size:clamp(15px,2vw,18px);line-height:1.6;color:#4b5563}.hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(900px,100%);margin:0 auto;gap:clamp(14px,2.2vw,28px)}.hub-action-card{aspect-ratio:1 / 1;width:100%;max-width:420px;min-height:200px;justify-self:center;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(22px,3vw,34px);border-radius:32px;border:1px solid rgba(17,24,39,.12);background:linear-gradient(180deg,#fffffff5,#f8fafcfa);color:#111827;text-decoration:none;box-shadow:0 18px 50px #0f172a14;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.hub-action-card:hover,.hub-action-card:focus-visible{transform:translateY(-4px);box-shadow:0 24px 60px #0f172a1f;border-color:#2563eb61;outline:none}.hub-action-card-muted{background:linear-gradient(180deg,#fafbfffa,#f2f6fbfa)}.hub-action-eyebrow{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#6b7280}.hub-action-title{display:block;margin-top:auto;font-size:clamp(28px,4.2vw,52px);line-height:1.04;letter-spacing:-.05em}.hub-action-description{margin-top:16px;font-size:15px;line-height:1.6;color:#4b5563}.hub-nav-row{display:flex;gap:12px;flex-wrap:wrap}.hub-secondary-link,.hub-inline-link{display:inline-flex;align-items:center;justify-content:center;width:fit-content;border-radius:999px;padding:10px 16px;border:1px solid rgba(17,24,39,.12);background:#ffffffd6;color:#111827;text-decoration:none;font-size:14px;font-weight:600}.hub-secondary-link:hover,.hub-inline-link:hover{border-color:#2563eb66}.about-sections{display:flex;flex-direction:column;gap:18px}.about-section{padding:clamp(20px,3vw,28px);border-radius:24px;background:#ffffffe6;border:1px solid rgba(148,163,184,.18);box-shadow:0 10px 30px #0f172a0d}.about-section h2,.about-section h3,.about-section p{margin-top:0}.about-section h2{margin-bottom:12px;font-size:22px}.about-section p{margin-bottom:0;color:#4b5563;line-height:1.7}.about-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.about-step-card{display:flex;flex-direction:column;gap:12px;padding:18px;border-radius:20px;background:#f8fafc;border:1px solid rgba(148,163,184,.16)}.about-step-number{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:14px;font-weight:800}.about-step-card h3{margin-bottom:0;font-size:20px}.contact-email{font-size:18px;font-weight:700;color:#1d4ed8;text-decoration:none}@media(max-width:820px){.hub-page{padding:20px 16px max(24px,calc(24px + env(safe-area-inset-bottom,0px)))}.hub-grid{grid-template-columns:1fr;width:min(460px,100%);gap:12px}.hub-action-card{max-width:none;min-height:160px;border-radius:24px;padding:20px}.hub-action-title{font-size:clamp(24px,7vw,40px)}.hub-action-description{font-size:14px}.about-step-grid{grid-template-columns:1fr}}@media(max-height:880px){.hub-page-home{justify-content:flex-start}}.patient-photo-box{gap:12px}.patient-photo-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.patient-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:10px}.patient-photo-thumb{display:flex;flex-direction:column;gap:8px;width:100%;padding:8px;border:1px solid #dbe3f0;border-radius:12px;background:#fff;text-align:left}.patient-photo-thumb-active{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24}.patient-photo-image{width:100%;aspect-ratio:1 / 1;object-fit:cover;border-radius:10px;background:#e2e8f0}.patient-photo-date{font-size:11px;color:#64748b}.patient-photo-viewer{display:flex;flex-direction:column;gap:12px;padding:12px;border-radius:14px;background:#fff;border:1px solid #dbe3f0}.patient-photo-viewer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.patient-photo-viewer-meta{margin-top:4px;font-size:12px;color:#64748b}.patient-photo-viewer-image-wrap{width:100%;border-radius:14px;overflow:hidden;background:#e2e8f0}.patient-photo-viewer-image{display:block;width:100%;max-height:min(52vh,420px);object-fit:contain;background:#0f172a}.patient-photo-error{padding:10px 12px;border-radius:12px;background:#fef2f2;color:#b91c1c;font-size:13px}@media(max-width:640px){.patient-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.patient-photo-viewer-header{flex-direction:column}}.photo-page-controls{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}.photo-page-filter-label{display:flex;align-items:center;gap:6px;font-size:13px;color:#374151;white-space:nowrap;cursor:pointer}.photo-ward-label{font-size:14px;font-weight:700;color:#1e3a5f;padding:6px 0 4px;border-bottom:2px solid #dbeafe;margin-bottom:8px}.photo-ward-cards{display:flex;flex-direction:column;gap:8px}.photo-card-wrap{border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;background:#fff}.photo-card-wrap-open{border-color:#93c5fd;box-shadow:0 2px 8px #2563eb14}.photo-card-header{width:100%;display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:#f8fafc;text-align:left;gap:10px}.photo-card-wrap-open .photo-card-header{background:#eff6ff}.photo-card-header-info{display:flex;flex-direction:column;gap:2px;min-width:0}.photo-card-name{font-size:15px;font-weight:700;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-card-meta{font-size:12px;color:#64748b}.photo-card-header-right{display:flex;align-items:center;gap:8px;flex-shrink:0}.photo-card-count-badge{background:#2563eb;color:#fff;font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px}.photo-card-chevron{font-size:12px;color:#94a3b8}.photo-card-body{padding:12px 14px;display:flex;flex-direction:column;gap:10px;border-top:1px solid #e2e8f0}.photo-card-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.photo-msg{padding:9px 12px;border-radius:10px;font-size:13px;line-height:1.4}.photo-msg-ok{background:#f0fdf4;color:#15803d;border:1px solid #bbf7d0}.photo-msg-error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.photo-guidance-box{padding:12px 14px;border-radius:12px;background:linear-gradient(180deg,#fff7ed,#fffbeb);border:1px solid #fed7aa;color:#9a3412;font-size:13px;line-height:1.6}.photo-thumb-strip{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}.photo-thumb-item{display:flex;flex-direction:column;gap:4px;flex-shrink:0;width:80px;padding:4px;border-radius:10px;border:2px solid transparent;background:#f1f5f9;text-align:center}.photo-thumb-item-active{border-color:#2563eb;background:#eff6ff}.photo-thumb-item-img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;display:block}.photo-thumb-item-date{font-size:10px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photo-viewer-panel{display:flex;flex-direction:column;gap:10px;padding:12px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.photo-viewer-panel-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}.photo-viewer-panel-name{font-size:15px;font-weight:700;color:#0f172a}.photo-viewer-panel-pid{font-size:12px;color:#2563eb;font-weight:600;margin-top:2px}.photo-viewer-panel-img-wrap{width:100%;border-radius:12px;overflow:hidden;background:#0f172a}.photo-viewer-panel-img{width:100%;display:block;object-fit:contain;max-height:60vh}.photo-viewer-panel-footer{font-size:12px;color:#64748b;line-height:1.4}.photo-sum-row{display:flex;align-items:center;gap:8px;padding:6px 0 4px}.photo-sum-card{flex:1;display:flex;align-items:center;gap:10px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:12px;padding:8px 10px;text-align:left;cursor:pointer;min-width:0;transition:background .15s}.photo-sum-card:active{background:#e2e8f0}.photo-sum-thumb{width:40px;height:40px;border-radius:8px;overflow:hidden;background:#e2e8f0;display:flex;align-items:center;justify-content:center;flex-shrink:0}.photo-sum-thumb-img{width:100%;height:100%;object-fit:cover;display:block}.photo-sum-thumb-icon{font-size:18px}.photo-sum-info{flex:1;min-width:0}.photo-sum-label{font-size:11px;color:#64748b}.photo-sum-count{font-size:13px;font-weight:600;color:#0f172a}.photo-sum-open{font-size:12px;color:#2563eb;font-weight:600;flex-shrink:0}.photo-sum-shoot-btn{flex-shrink:0;white-space:nowrap}.photo-pc-wrap{border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;background:#fff;margin-bottom:8px}.photo-pc-wrap-open{border-color:#93c5fd;box-shadow:0 2px 8px #2563eb14}.photo-pc-row{display:flex;align-items:center;gap:8px;padding:10px 12px}.photo-pc-card{flex:1;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer;min-width:0;background:none;border:none;padding:0}.photo-pc-thumb{width:52px;height:52px;border-radius:10px;overflow:hidden;background:#f1f5f9;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #e2e8f0}.photo-pc-thumb-img{width:100%;height:100%;object-fit:cover;display:block}.photo-pc-thumb-icon{font-size:22px}.photo-pc-details{flex:1;min-width:0}.photo-pc-name{font-size:15px;font-weight:700;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-pc-meta{font-size:12px;color:#64748b}.photo-pc-cnt{font-size:12px;color:#2563eb;font-weight:600}.photo-pc-open-label{font-size:12px;color:#94a3b8;flex-shrink:0}.photo-pc-shoot-btn{flex-shrink:0;white-space:nowrap}.photo-pc-body{padding:12px 14px;display:flex;flex-direction:column;gap:10px;border-top:1px solid #e2e8f0}.photo-export-section{display:flex;flex-direction:column;gap:8px;margin-bottom:12px;padding:10px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}.photo-export-toggle-btn{font-size:13px;font-weight:600;color:#374151;background:none;border:none;padding:0;cursor:pointer;text-align:left}.photo-export-toggle-btn:hover{color:#1d4ed8}.photo-export-all-btn{padding:10px 14px;background:#2563eb;color:#fff;font-size:14px;font-weight:600;border:none;border-radius:10px;cursor:pointer;text-align:center;transition:background .15s}.photo-export-all-btn:hover{background:#1d4ed8}.photo-export-all-btn:disabled{opacity:.6;cursor:not-allowed}.pc-shell{display:flex;height:100dvh;overflow:hidden;background:#f1f5f9}.pc-sidebar{width:220px;flex-shrink:0;background:#0f172a;display:flex;flex-direction:column;height:100dvh;overflow:hidden}.pc-sidebar-logo{display:flex;align-items:center;gap:10px;padding:22px 20px 18px;border-bottom:1px solid #1e293b}.pc-sidebar-logo-icon{font-size:22px}.pc-sidebar-logo-text{font-size:15px;font-weight:700;color:#f1f5f9;letter-spacing:-.3px}.pc-sidebar-nav{flex:1;display:flex;flex-direction:column;gap:2px;padding:14px 10px;overflow-y:auto}.pc-nav-link{display:flex;align-items:center;padding:10px 12px;border-radius:8px;text-decoration:none;color:#94a3b8;font-size:14px;transition:background .15s,color .15s;position:relative}.pc-nav-link:hover{background:#1e293b;color:#e2e8f0}.pc-nav-link-active{background:#1d4ed8!important;color:#fff!important}.pc-nav-badge{margin-left:auto;background:#ef4444;color:#fff;font-size:11px;font-weight:700;padding:2px 6px;border-radius:10px;min-width:20px;text-align:center}.pc-sidebar-footer{padding:14px 14px 18px;border-top:1px solid #1e293b;display:flex;flex-direction:column;gap:10px}.pc-sync-status{display:flex;align-items:center;gap:7px;font-size:12px;color:#64748b}.pc-sync-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;animation:pc-pulse 2s infinite;flex-shrink:0}@keyframes pc-pulse{0%,to{opacity:1}50%{opacity:.4}}.pc-user-info{display:flex;align-items:center;gap:9px}.pc-user-avatar{width:30px;height:30px;border-radius:50%;object-fit:cover;flex-shrink:0}.pc-user-text{overflow:hidden}.pc-user-name{font-size:12px;color:#cbd5e1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pc-logout-btn{background:none;border:none;color:#64748b;font-size:11px;cursor:pointer;padding:0;margin-top:2px}.pc-logout-btn:hover{color:#94a3b8}.pc-main{flex:1;overflow:hidden;display:flex;flex-direction:column;min-width:0}.pc-main .web-banner-slot{height:90px;flex-shrink:0;background:#f0f0f0;border-bottom:1px solid #d1d5db;display:flex;align-items:center;justify-content:center;font-size:13px;color:#9ca3af;letter-spacing:.5px}.pc-page-scroll{flex:1;min-height:0;overflow-y:auto;padding:24px}.pc-page{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.pc-page-header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px 14px;background:#fff;border-bottom:1px solid #e2e8f0;flex-shrink:0;gap:16px}.pc-page-title-area{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.pc-page-title{margin:0;font-size:20px;font-weight:700;color:#0f172a}.pc-page-stats{display:flex;gap:8px;flex-wrap:wrap}.pc-stat-chip{font-size:12px;font-weight:600;padding:3px 10px;border-radius:20px}.pc-stat-pending{background:#fef3c7;color:#92400e}.pc-stat-done{background:#d1fae5;color:#065f46}.pc-stat-total{background:#e0e7ff;color:#3730a3}.pc-page-actions{display:flex;gap:8px;flex-shrink:0}.pc-add-form-wrap{padding:16px 24px;background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-shrink:0}.pc-search-row{padding:10px 24px;background:#fff;border-bottom:1px solid #e2e8f0;flex-shrink:0}.pc-search-input{width:100%;max-width:480px;padding:8px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#f8fafc;outline:none;transition:border-color .15s}.pc-search-input:focus{border-color:#3b82f6;background:#fff}.pc-content-area{flex:1;display:flex;overflow:hidden;min-height:0}.pc-table-area{flex:1;overflow-y:auto;padding:16px 24px;display:flex;flex-direction:column;gap:12px;min-width:0}.pc-empty{color:#9ca3af;text-align:center;padding:60px 0;font-size:14px}.pc-ward-block{background:#fff;border-radius:10px;border:1px solid #e2e8f0;overflow:hidden;flex-shrink:0}.pc-ward-header{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:11px 16px;background:#f8fafc;border:none;cursor:pointer;text-align:left;border-bottom:1px solid #e2e8f0}.pc-ward-header:hover{background:#f1f5f9}.pc-ward-name{font-size:13px;font-weight:700;color:#1e293b}.pc-ward-meta{font-size:12px;color:#64748b;flex:1}.pc-ward-toggle{font-size:11px;color:#94a3b8}.pc-table{width:100%;border-collapse:collapse;font-size:13px}.pc-th{padding:8px 12px;text-align:left;font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #f1f5f9;background:#fafafa;white-space:nowrap}.pc-th-room{width:60px}.pc-th-name{width:110px}.pc-th-gender{width:44px}.pc-th-status{width:100px}.pc-th-memo{min-width:0}.pc-th-task{width:70px;text-align:center}.pc-tr{cursor:pointer;transition:background .1s;border-bottom:1px solid #f8fafc}.pc-tr:hover{background:#f0f9ff}.pc-tr-selected{background:#eff6ff!important}.pc-tr-status-done{opacity:.65}.pc-td{padding:10px 12px;color:#334155;vertical-align:middle}.pc-td-room{font-weight:600;color:#1e293b}.pc-td-name{font-weight:600;color:#0f172a}.pc-td-gender{color:#64748b}.pc-td-memo{color:#64748b;font-size:12px}.pc-td-memo-empty{color:#cbd5e1}.pc-td-task{text-align:center}.pc-badge{display:inline-block;padding:3px 8px;border-radius:12px;font-size:11px;font-weight:600;white-space:nowrap}.pc-badge-planned{background:#fef3c7;color:#92400e}.pc-badge-done{background:#d1fae5;color:#065f46}.pc-badge-canceled{background:#f1f5f9;color:#64748b}.pc-task-chip{background:#dbeafe;color:#1d4ed8;font-size:12px;font-weight:600;padding:2px 8px;border-radius:10px}.pc-task-chip-empty{color:#cbd5e1;font-size:12px}.pc-panel{width:360px;flex-shrink:0;background:#fff;border-left:1px solid #e2e8f0;display:flex;flex-direction:column;overflow-y:auto;animation:pc-slide-in .18s ease-out}@keyframes pc-slide-in{0%{transform:translate(20px);opacity:0}to{transform:translate(0);opacity:1}}.pc-panel-header{display:flex;align-items:flex-start;justify-content:space-between;padding:18px 18px 14px;border-bottom:1px solid #f1f5f9;flex-shrink:0;background:#f8fafc}.pc-panel-name{font-size:18px;font-weight:700;color:#0f172a}.pc-panel-meta{font-size:12px;color:#64748b;margin-top:4px}.pc-panel-close{background:none;border:none;font-size:16px;color:#94a3b8;cursor:pointer;padding:4px 6px;border-radius:6px;flex-shrink:0;line-height:1}.pc-panel-close:hover{background:#f1f5f9;color:#475569}.pc-panel-section{padding:14px 18px;border-bottom:1px solid #f8fafc}.pc-panel-label{font-size:11px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.6px;margin-bottom:8px;display:flex;align-items:center;gap:6px}.pc-panel-label-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.pc-panel-label-row .pc-panel-label{margin-bottom:0}.pc-panel-edit-btn{font-size:12px;color:#3b82f6;background:none;border:none;cursor:pointer;padding:2px 6px;border-radius:4px}.pc-panel-edit-btn:hover{background:#eff6ff}.pc-status-btns{display:flex;gap:6px}.pc-status-btn{flex:1;padding:7px 10px;border-radius:7px;border:1.5px solid transparent;font-size:12px;font-weight:600;cursor:pointer;transition:all .15s}.pc-status-btn-ghost{background:#f8fafc;color:#64748b;border-color:#e2e8f0}.pc-status-btn-ghost:hover{border-color:#94a3b8}.pc-status-btn-planned-active{background:#fef3c7;color:#92400e;border-color:#f59e0b}.pc-status-btn-done-active{background:#d1fae5;color:#065f46;border-color:#10b981}.pc-status-btn-canceled-active{background:#f1f5f9;color:#475569;border-color:#94a3b8}.pc-memo-textarea{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;resize:vertical;outline:none;font-family:inherit;line-height:1.5}.pc-memo-textarea:focus{border-color:#3b82f6}.pc-memo-actions{display:flex;gap:6px;margin-top:8px}.pc-memo-preview{font-size:13px;color:#475569;line-height:1.6;min-height:36px;padding:8px 10px;background:#f8fafc;border-radius:7px;cursor:pointer;border:1px solid transparent;transition:border-color .15s;white-space:pre-wrap;word-break:break-all}.pc-memo-preview:hover{border-color:#e2e8f0}.pc-memo-empty{color:#cbd5e1;font-style:italic}.pc-memo-status{font-size:11px;color:#94a3b8}.pc-task-count-badge{background:#dbeafe;color:#1d4ed8;font-size:10px;font-weight:700;padding:1px 6px;border-radius:10px;text-transform:none;letter-spacing:0}.pc-taskform-wrap{margin-bottom:10px;background:#f8fafc;border-radius:8px;padding:10px;border:1px solid #e2e8f0}.pc-task-list{display:flex;flex-direction:column;gap:4px}.pc-task-empty{font-size:12px;color:#cbd5e1;padding:8px 0}.pc-task-row{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;background:#f8fafc}.pc-task-row:hover{background:#f1f5f9}.pc-task-row-done{opacity:.6}.pc-task-checkbox{flex-shrink:0;cursor:pointer;width:15px;height:15px}.pc-task-title{flex:1;font-size:13px;color:#334155}.pc-task-title-done{text-decoration:line-through;color:#94a3b8}.pc-task-due{font-size:11px;color:#94a3b8;white-space:nowrap}.pc-task-delete{background:none;border:none;color:#cbd5e1;cursor:pointer;font-size:12px;padding:2px 4px;border-radius:4px;flex-shrink:0}.pc-task-delete:hover{color:#ef4444;background:#fef2f2}.pc-task-done-section{margin-top:8px}.pc-task-done-label{font-size:11px;color:#94a3b8;margin-bottom:4px;padding-left:4px}.pc-panel-actions{display:flex;gap:8px;flex-wrap:wrap}.pc-btn-primary{background:#2563eb;color:#fff;border:none;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s}.pc-btn-primary:hover{background:#1d4ed8}.pc-btn-ghost{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s}.pc-btn-ghost:hover{background:#e2e8f0}.pc-btn-danger{background:#fef2f2;color:#dc2626;border:1px solid #fecaca;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600;cursor:pointer}.pc-btn-danger:hover{background:#fee2e2}
