.texture-atlas-page { min-width: 0; }
.texture-atlas-notes { background: #fff; border: 1px solid #dce8e3; border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.texture-atlas-notes label { display: block; color: #183c32; font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.texture-atlas-notes textarea { display: block; box-sizing: border-box; width: 100%; min-height: 90px; resize: vertical; font: inherit; font-size: 14px; line-height: 1.6; }
.texture-atlas-notes textarea[readonly] { background: #f7faf9; color: #52685f; }
.texture-atlas-notes-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; font-size: 12px; color: #667b72; }
.texture-atlas-notes-actions button { margin-left: auto; }
.texture-atlas-notes-actions button[hidden] { display: none; }
.texture-atlas-toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.texture-atlas-toolbar input { flex: 1; min-width: 120px; max-width: 520px; }
.texture-atlas-status { color: #667b72; font-size: 13px; margin: 12px 0; }
.texture-atlas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 18px; }
.texture-atlas-card { background: white; border: 1px solid #dce8e3; border-radius: 14px; overflow: hidden; min-width: 0; }
.texture-atlas-photo { padding: 0; border: 0; border-radius: 0; width: 100%; display: block; background: #edf1ee; cursor: zoom-in; position: relative; }
.texture-atlas-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; display: block; }
.texture-atlas-card-info { padding: 14px 16px 16px; }
.texture-atlas-card-info h3 { font-size: 18px; margin: 0 0 6px; color: #183c32; }
.texture-atlas-card-info p { color: #738078; font-size: 12px; line-height: 1.6; margin: 3px 0; overflow-wrap: anywhere; }
.texture-atlas-card-actions { display: flex; gap: 14px; margin-top: 12px; align-items: center; }
.texture-atlas-card-actions button { padding: 0; background: transparent; border: none; color: #197459; font-size: 13px; }
.texture-atlas-card-actions a { color: #197459; font-size: 13px; text-decoration: none; }
.texture-atlas-pager { display: flex; gap: 14px; justify-content: center; align-items: center; padding: 24px 0; font-size: 13px; color: #667b72; }
.texture-atlas-empty { padding: 60px 20px; text-align: center; border: 1px dashed #c9dcd2; border-radius: 14px; color: #667b72; grid-column: 1 / -1; }
.texture-atlas-dialog { background: #15251e; color: white; border: 0; border-radius: 16px; width: min(1180px, calc(100vw - 32px)); max-width: calc(100vw - 32px); padding: 16px; max-height: calc(100dvh - 32px); }
.texture-atlas-dialog::backdrop { background: rgba(9, 20, 15, .8); }
.texture-atlas-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.texture-atlas-dialog-head h2 { font-size: 18px; margin: 0; color: white; }
.texture-atlas-dialog-head button { color: white; background: transparent; border-color: #5d6f63; }
.texture-atlas-dialog-stage { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 12px; align-items: center; }
.texture-atlas-dialog-stage img { width: 100%; height: min(68dvh, 760px); object-fit: contain; }
.texture-atlas-dialog-stage button { padding: 10px 0; color: white; border-color: #5d6f63; background: transparent; }
.texture-atlas-dialog-foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 13px; color: #c4d4c9; }
.texture-atlas-dialog-foot a { color: #a4ebcb; }
@media (max-width: 640px) { .texture-atlas-toolbar { flex-wrap: wrap; } .texture-atlas-toolbar input { flex-basis: 100%; max-width: none; } .texture-atlas-grid { grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 12px; } .texture-atlas-dialog-stage { grid-template-columns: 30px minmax(0,1fr) 30px; gap: 4px; } }
