*{box-sizing:border-box}:root{--bg: #f4f7fb;--surface: #ffffff;--surface-soft: #f8fafc;--surface-muted: #f9fafb;--text: #1f2937;--text-muted: #6b7280;--text-soft: #475569;--border: #e5e7eb;--border-strong: #d1d5db;--primary: #2563eb;--primary-soft: #eff6ff;--shadow: 0 10px 30px rgba(15, 23, 42, .08)}body{margin:0;font-family:Arial,sans-serif;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button{transition:.18s ease}.page{max-width:1440px;margin:0 auto;padding:24px}.page-header{margin-bottom:20px}.page-header h1{margin:0 0 8px;font-size:28px}.page-header p{margin:0;color:var(--text-muted)}.layout{display:grid;grid-template-columns:360px 1fr;gap:20px}.card{background:var(--surface);border-radius:18px;padding:20px;box-shadow:var(--shadow)}.form{display:flex;flex-direction:column;gap:14px}.form label,.field-block{display:flex;flex-direction:column;gap:6px;font-weight:600}.field-label{font-weight:600}.form input,.form textarea,.form select,.comment-form input,.comment-form textarea,.comment-edit-form input,.comment-edit-form textarea,.discussion-form textarea{width:100%;padding:10px 12px;border:1px solid var(--border-strong);border-radius:10px;background:#fff;color:var(--text)}.form textarea,.comment-form textarea,.comment-edit-form textarea,.discussion-form textarea{resize:vertical}.primary-btn,.secondary-btn,.action-btn,.viewer-btn,.image-modal-close,.file-remove-btn,.toolbar-chip,.option-chip,.status-chip{cursor:pointer}.primary-btn{border:none;background:var(--primary);color:#fff;padding:12px 16px;min-height:42px;border-radius:12px;font-weight:700}.primary-btn:hover,.secondary-btn:hover,.action-btn:hover,.viewer-btn:hover,.toolbar-chip:hover,.option-chip:hover,.status-chip:hover{transform:translateY(-1px)}.primary-btn:disabled{opacity:.7;cursor:default;transform:none}.secondary-btn{border:1px solid var(--border-strong);background:#fff;color:#111827;padding:12px 16px;min-height:42px;border-radius:12px;font-weight:700}.action-btn{min-width:72px;min-height:36px;padding:8px 12px;border:1px solid var(--border-strong);background:#fff;border-radius:12px;font-size:14px;font-weight:700}.action-btn.danger-btn,.file-remove-btn{border-color:#fecaca;color:#b91c1c}.file-remove-btn{background:#fff;padding:6px 10px;border-radius:8px}.subtle-btn{background:var(--surface-soft);color:#334155}.helper-text{padding:10px 12px;background:#f3f4f6;border-radius:10px;color:#4b5563;font-size:14px;line-height:1.5}.form-actions{display:flex;gap:10px;flex-wrap:wrap}.selected-files{background:var(--surface-muted);padding:12px;border-radius:12px}.selected-file-list{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}.selected-file-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--border);border-radius:10px;padding:10px 12px}.paste-upload-box{padding:14px 16px;border:2px dashed #cbd5e1;border-radius:12px;background:var(--surface-soft);color:var(--text-soft);font-size:14px;line-height:1.5;outline:none}.paste-upload-box:focus{border-color:var(--primary);background:var(--primary-soft)}.existing-photos-edit{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface-soft)}.edit-empty-text{margin:0;color:var(--text-muted);font-size:14px}.edit-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.edit-photo-card{border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#fff}.edit-photo-card img{width:100%;height:120px;object-fit:cover;display:block}.edit-photo-card-footer{display:flex;flex-direction:column;gap:8px;padding:10px}.edit-photo-card-footer span{font-size:13px;color:var(--text-soft);word-break:break-all}.list-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.section-subtitle{margin:6px 0 0;color:var(--text-muted);font-size:14px}.list-toolbar{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;align-items:flex-start}.toolbar-group{display:flex;flex-direction:column;gap:8px;min-width:auto}.toolbar-label{font-size:13px;color:#64748b;font-weight:700}.toolbar-chip-group{display:flex;gap:8px;flex-wrap:wrap}.toolbar-chip{border:1px solid var(--border-strong);background:#fff;color:#334155;min-height:36px;padding:7px 12px;border-radius:999px;font-size:14px;font-weight:700}.toolbar-chip.active{background:var(--primary-soft);color:#1d4ed8;border-color:#93c5fd}.date-filter-input,.list-toolbar select{height:36px;padding:6px 10px;border:1px solid var(--border-strong);border-radius:10px;background:#fff;font-size:14px}.empty-state{padding:40px 0;text-align:center;color:var(--text-muted)}.schedule-list.view-card{display:flex;flex-direction:column;gap:16px}.schedule-list.view-list{display:flex;flex-direction:column;gap:12px}.schedule-list.view-icon{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}.schedule-item{border:1px solid var(--border);border-radius:18px;background:#fcfdff;box-shadow:0 4px 18px #0f172a0a}.schedule-item.schedule-item-card{padding:18px}.schedule-item.schedule-item-list,.schedule-item.schedule-item-icon{padding:16px}.schedule-item.schedule-item-icon{height:100%}.schedule-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.schedule-summary{display:flex;gap:14px;align-items:flex-start;flex:1;min-width:0}.schedule-main{flex:1;min-width:0}.summary-thumb{width:88px;height:88px;padding:0;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:#fff;flex-shrink:0}.summary-thumb img{width:100%;height:100%;object-fit:cover;display:block}.schedule-item.schedule-item-icon .schedule-top{flex-direction:column;align-items:stretch;height:100%}.schedule-item.schedule-item-icon .schedule-summary{flex-direction:column}.schedule-item.schedule-item-icon .summary-thumb{width:100%;height:180px}.schedule-item.schedule-item-icon .actions{max-width:none}.meta-row{display:flex;align-items:center;gap:10px;margin-bottom:8px;flex-wrap:wrap}.author{font-weight:700}.status{font-size:12px;padding:5px 8px;border-radius:999px;font-weight:700}.status.pending{background:#fef3c7;color:#92400e}.status.inProgress{background:#ede9fe;color:#6d28d9}.status.done{background:#dcfce7;color:#166534}.status.needsDiscussion{background:#fdf2f8;color:#be185d}.schedule-item h3{margin:0 0 6px;font-size:24px}.request-text,.schedule-date,.schedule-updated,.icon-meta-text{margin:6px 0 0;font-size:14px}.request-text{color:var(--text-soft);font-weight:600}.schedule-date,.schedule-updated,.icon-meta-text{color:var(--text-muted)}.description{margin-top:12px;line-height:1.6;white-space:pre-wrap}.schedule-detail{margin-top:16px}.actions{width:100%;max-width:360px;display:flex;flex-direction:column;gap:12px;align-items:flex-end}.option-chip-group,.status-chip-group{display:flex;flex-wrap:wrap;gap:8px}.option-chip,.status-chip{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;border:1px solid var(--border-strong);border-radius:999px;background:#fff;color:#374151;font-weight:700;font-size:14px}.option-chip-check,.status-chip-check{width:16px;height:16px;border:1.5px solid #cbd5e1;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:10px;background:#fff;color:transparent;flex-shrink:0}.option-chip.active{border-color:#93c5fd;background:var(--primary-soft);color:#1d4ed8}.option-chip.active .option-chip-check{background:var(--primary);border-color:var(--primary);color:#fff}.status-chip.active .status-chip-check{color:#fff}.status-chip.pending.active{border-color:#fcd34d;background:#fffbeb;color:#92400e}.status-chip.pending.active .status-chip-check{background:#d97706;border-color:#d97706}.status-chip.inProgress.active{border-color:#c4b5fd;background:#f5f3ff;color:#6d28d9}.status-chip.inProgress.active .status-chip-check{background:#7c3aed;border-color:#7c3aed}.status-chip.done.active{border-color:#86efac;background:#f0fdf4;color:#166534}.status-chip.done.active .status-chip-check{background:#16a34a;border-color:#16a34a}.status-chip.needsDiscussion.active{border-color:#f9a8d4;background:#fdf2f8;color:#be185d}.status-chip.needsDiscussion.active .status-chip-check{background:#db2777;border-color:#db2777}.status-chip-group.compact{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;width:auto;max-width:360px}.status-chip-group.compact .status-chip{width:auto;min-width:96px;justify-content:center;text-align:center}.action-button-row{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;width:auto}.discussion-section{margin-top:18px;padding:16px;border:1px solid #fbcfe8;border-radius:14px;background:#fdf2f8}.discussion-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.discussion-header h4{margin:0}.discussion-note-box,.discussion-empty{padding:12px 14px;border-radius:12px;background:#fff;border:1px solid #f9a8d4;color:#831843;white-space:pre-wrap;line-height:1.6}.discussion-empty{color:#9d174d}.discussion-form{display:flex;flex-direction:column;gap:10px}.photo-grid{margin-top:14px;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.photo-button{border:1px solid var(--border);background:#fff;border-radius:12px;overflow:hidden;padding:0;text-align:left}.photo-button img{width:100%;height:140px;object-fit:cover;display:block}.photo-button span{display:block;padding:8px 10px;font-size:13px;color:var(--text-soft)}.comments-section{margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}.comments-section h4{margin:0 0 12px}.comment-empty{color:var(--text-muted);margin:0 0 12px}.comment-list{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}.comment-item{background:var(--surface-muted);border:1px solid var(--border);border-radius:12px;padding:12px}.comment-item p{margin:8px 0 0;white-space:pre-wrap;line-height:1.5}.comment-meta{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:var(--text-muted)}.comment-form,.comment-edit-form{display:flex;flex-direction:column;gap:10px}.comment-action-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.image-modal{position:fixed;inset:0;background:#0f172ad9;display:flex;align-items:center;justify-content:center;padding:24px;z-index:9999;outline:none}.image-modal-content.large{position:relative;width:min(1200px,100%);height:min(90vh,900px);background:#fff;border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:12px}.image-modal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.image-modal-nav,.image-modal-zoom{display:flex;gap:8px;flex-wrap:wrap}.viewer-btn,.image-modal-close{min-height:40px;padding:9px 14px;border-radius:10px;border:1px solid var(--border-strong);background:#fff;font-weight:700}.image-modal-close{background:#111827;color:#fff;border-color:#111827}.image-modal-stage{flex:1;overflow:auto;display:flex;align-items:center;justify-content:center;background:var(--surface-soft);border-radius:14px;padding:20px}.image-modal-stage.pannable{cursor:grab}.image-modal-stage.panning{cursor:grabbing}.image-pan-layer{display:inline-flex;align-items:center;justify-content:center;will-change:transform}.image-modal-stage img{max-width:100%;max-height:100%;object-fit:contain;transform-origin:center center;transition:transform .12s ease;pointer-events:none;-webkit-user-select:none;user-select:none}.image-modal-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;color:var(--text-soft);font-size:14px}.image-modal-footer p{margin:0;font-weight:600}@media(max-width:960px){.layout{grid-template-columns:1fr}.list-header,.schedule-top,.discussion-header,.comment-meta,.image-modal-toolbar,.image-modal-footer{flex-direction:column;align-items:stretch}.list-toolbar{width:100%;justify-content:stretch}.toolbar-group{min-width:100%}.actions{max-width:none;align-items:stretch}.status-chip-group.compact{justify-content:flex-start;max-width:none}.action-button-row{justify-content:flex-start}.schedule-list.view-icon{grid-template-columns:1fr}.image-modal-content.large{height:min(92vh,920px)}}
