.pht-module{color:var(--ink,#4d3b2e);background:var(--surface,#fffcf7);padding:24px;border:1px solid var(--line,#dcd3c7);border-radius:4px}
.pht-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.pht-heading h2{font-size:24px;font-weight:500;margin:0}.pht-eyebrow{font-size:11px;letter-spacing:.14em;color:var(--muted,#8c8175);margin:0 0 6px}.pht-total{font-size:13px;color:var(--muted,#8c8175)}.pht-intro{font-size:14px;color:var(--muted,#8c8175);margin:0 0 24px;line-height:1.8}
.pht-capture-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}.pht-module label{display:flex;flex-direction:column;gap:7px;font-size:12px}.pht-module select,.pht-module input[type=text],.pht-module textarea{font:inherit;font-size:16px;min-height:46px;padding:10px 12px;border:1px solid var(--line,#dcd3c7);border-radius:4px;background:var(--surface,#fffcf7);color:var(--ink,#4d3b2e);width:100%;min-width:0;box-sizing:border-box}.pht-module textarea{resize:vertical;line-height:1.7}
.pht-capture-actions,.pht-export-actions,.pht-item-actions{display:flex;gap:10px;flex-wrap:wrap}.pht-button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 17px;font:inherit;font-size:14px;border:1px solid var(--line,#dcd3c7);border-radius:4px;background:transparent;color:var(--ink,#4d3b2e);cursor:pointer;box-shadow:none}.pht-button:hover{background:var(--green-soft,#eee7dd)}.pht-button:disabled{opacity:.45;cursor:wait}.pht-button.pht-primary{background:var(--green,#765d48);border-color:var(--green,#765d48);color:var(--surface,#fffcf7)}.pht-button.pht-primary:hover{background:var(--green-dark,#4d3b2e)}.pht-capture-actions .pht-primary{min-height:58px;min-width:180px;font-size:16px}.pht-button svg{flex-shrink:0}.pht-delete{color:#8b5143}
.pht-shot-list{margin:20px 0 14px;font-size:12px}.pht-shot-list summary{cursor:pointer;min-height:40px;display:flex;align-items:center;color:var(--muted,#8c8175)}.pht-shot-list>div{display:flex;flex-wrap:wrap;gap:8px}.pht-shot{min-height:44px;padding:7px 12px;border:1px solid var(--line,#dcd3c7);border-radius:4px;background:transparent;color:var(--ink,#4d3b2e);font:inherit;display:flex;gap:12px;align-items:center;cursor:pointer}.pht-shot small{color:var(--muted,#8c8175)}.pht-storage{padding:12px 0;border-bottom:1px solid var(--line,#dcd3c7);font-size:12px;line-height:1.8;color:var(--muted,#8c8175)}.pht-storage.pht-warning{color:#915e35}
.pht-export{padding:20px 0;border-bottom:1px solid var(--line,#dcd3c7);display:grid;grid-template-columns:minmax(180px,270px) 1fr;gap:14px 20px;align-items:end}.pht-export p{grid-column:1/-1;margin:0;font-size:11px;color:var(--muted,#8c8175);line-height:1.7}.pht-room-filters{display:flex;flex-wrap:wrap;gap:6px;margin-top:24px}.pht-room-filters button{min-height:44px;padding:8px 12px;border:1px solid transparent;border-radius:4px;background:transparent;font:inherit;font-size:12px;color:var(--muted,#8c8175);cursor:pointer}.pht-room-filters button[aria-pressed=true]{border-color:var(--line,#dcd3c7);color:var(--ink,#4d3b2e);background:var(--green-soft,#eee7dd)}.pht-status{font-size:12px;color:var(--muted,#8c8175);min-height:22px;line-height:1.7;margin:14px 0}
.pht-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px}.pht-photo-card{min-width:0;padding-bottom:18px;border-bottom:1px solid var(--line,#dcd3c7)}.pht-preview{width:100%;aspect-ratio:4/3;padding:0;border:1px solid var(--line,#dcd3c7);border-radius:4px;overflow:hidden;background:var(--paper,#f4f1eb);display:flex;align-items:center;justify-content:center;cursor:zoom-in}.pht-preview img{width:100%;height:100%;object-fit:cover;display:block}.pht-image-placeholder{font-size:12px;line-height:1.8;color:var(--muted,#8c8175);padding:16px;text-align:center}.pht-card-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0;color:var(--muted,#8c8175);font-size:11px}.pht-card-controls label.pht-selected{display:flex;flex-direction:row;align-items:center;gap:7px;min-height:32px;font-size:12px}.pht-selected input{width:17px;height:17px;accent-color:var(--green,#765d48);margin:0}.pht-title-label{margin-bottom:10px}.pht-edit{font-size:12px}.pht-edit summary{cursor:pointer;color:var(--muted,#8c8175);padding:8px 0;min-height:40px}.pht-edit[open] summary{margin-bottom:10px}.pht-edit label{margin:12px 0}.pht-item-actions{margin-top:16px}.pht-item-actions .pht-button{font-size:12px;padding:9px 11px}.pht-empty{grid-column:1/-1;padding:42px 16px;text-align:center;color:var(--muted,#8c8175);font-size:14px;line-height:1.8}.pht-empty p{margin:6px 0}
.pht-lightbox{width:min(1000px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:18px!important;border:1px solid var(--line,#dcd3c7);border-radius:4px;background:var(--surface,#fffcf7);box-shadow:none}.pht-lightbox::backdrop{background:rgba(46,38,30,.7)}.pht-lightbox>div{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 16px!important}.pht-lightbox h3{font-size:16px;font-weight:500;margin:0}.pht-lightbox img{display:block;max-width:100%;max-height:72dvh;width:auto;height:auto;object-fit:contain;margin:0 auto!important}
@media(max-width:1000px){.pht-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pht-export{grid-template-columns:1fr}.pht-export p{grid-column:auto}}@media(max-width:600px){.pht-module{padding:20px 16px}.pht-heading h2{font-size:22px}.pht-capture-fields{gap:12px}.pht-capture-actions .pht-button{flex:1;min-width:0;padding:12px 10px}.pht-capture-actions .pht-primary{min-height:58px}.pht-grid{grid-template-columns:1fr;gap:24px}.pht-export-actions .pht-button{flex:1;padding-left:10px;padding-right:10px}.pht-room-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.pht-room-filters button{flex-shrink:0}.pht-card-controls{font-size:12px}.pht-module select,.pht-module input[type=text],.pht-module textarea{font-size:16px}.pht-lightbox{padding:12px!important}}
