.pt-portfolio,.pt-technical,.pt-detail-head{width:100%;box-sizing:border-box;color:#243a35}
.pt-portfolio header,.pt-technical header,.pt-savebar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pt-portfolio h2,.pt-detail-head h2{margin:4px 0;font-size:24px}
.pt-portfolio p,.pt-detail-head p{margin:5px 0 12px;color:#61756f}
.pt-portfolio button,.pt-detail-head button,.pt-technical button{min-height:40px;border:1px solid #cdded7;border-radius:10px;background:#fff;color:#215342;padding:8px 13px;cursor:pointer}
.pt-portfolio button[aria-pressed=true],.pt-detail-head button[aria-pressed=true],.pt-savebar button{background:#195d46;color:white;border-color:#195d46}
.pt-portfolio nav,.pt-detail-head nav,.pt-secondary,.pt-filters{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.pt-filters{align-items:center}.pt-filters>input{flex:1;min-width:180px}
.pt-filters label{display:flex;gap:5px;align-items:center}
.pt-portfolio input,.pt-portfolio select,.pt-technical input,.pt-technical textarea,.pt-detail-head select{box-sizing:border-box;max-width:100%;min-height:42px;font-size:16px;border:1px solid #cbdcd4;border-radius:8px;background:white;padding:8px;color:#243a35}
.pt-portfolio input[type=checkbox]{min-height:0}
.pt-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:12px}
.pt-portfolio .pt-card{display:flex;text-align:left;gap:12px;overflow:hidden;align-items:stretch;padding:14px;min-height:140px}
.pt-card>img{width:76px;min-width:76px;object-fit:cover;border-radius:8px}
.pt-card>div{min-width:0}.pt-card strong,.pt-card span,.pt-card small,.pt-equipment summary span{display:block;overflow-wrap:anywhere}
.pt-card strong{font-size:16px}.pt-card span{margin-top:6px}.pt-card p{font-size:13px;margin:9px 0}
.pt-card em{display:inline-block;font-style:normal;font-size:12px;padding:4px 6px;border-radius:6px;background:#eaf4ee;margin:7px 5px 0 0}
.pt-card em.warning{background:#fff1d8;color:#895600}
.pt-hint,.pt-technical small{font-size:13px;color:#63796f}
.pt-identity{display:flex;gap:12px;align-items:center;margin-top:12px}
.pt-identity img{width:60px;height:60px;object-fit:cover;border-radius:12px}
.pt-detail-head{border-bottom:1px solid #dce6e0;margin-bottom:14px}
.pt-detail-head nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.pt-detail-head nav button{padding:9px 4px;font-size:14px}
.pt-technical section{border:1px solid #dce6e0;border-radius:12px;padding:16px;margin:14px 0;background:#fff}
.pt-technical h3{font-size:18px;margin:0 0 10px}
.pt-technical fieldset{border:1px solid #e1e8e4;border-radius:8px;margin:10px 0;padding:12px;min-width:0}
.pt-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}
.pt-technical label{display:flex;flex-direction:column;gap:6px;font-size:14px;min-width:0}
.pt-technical textarea{width:100%;min-height:95px;resize:vertical}
.pt-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}
.pt-photo-grid img{width:100%;max-height:220px;object-fit:contain;border-radius:8px}
.pt-equipment{border:1px solid #dce6e0;border-radius:10px;margin:10px 0;padding:12px}
.pt-equipment summary{cursor:pointer}.pt-equipment summary span{font-size:13px;color:#63796f;margin-top:5px}
.pt-technical article{border-top:1px solid #e2ebe6;padding:12px 0}.pt-technical article p{white-space:pre-wrap}
.pt-savebar{position:sticky;top:0;background:#f5faf7;z-index:2;padding:10px;border-radius:10px}
.pt-technical [role=alert]{background:#fff0ec;padding:12px;color:#913325}.pt-technical [role=status]{background:#eaf6ed;padding:12px}
.pt-portfolio .monitor-link-modal{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;box-sizing:border-box;overflow:auto;border-radius:0}
@media(max-width:600px){.pt-portfolio header,.pt-technical header{align-items:flex-start;flex-wrap:wrap}
.pt-detail-head h2{font-size:20px}.pt-detail-head nav button{font-size:12px}
.pt-technical section{padding:12px}.pt-savebar h3{font-size:16px}.pt-savebar button{font-size:13px}
.pt-technical .pt-form{grid-template-columns:1fr}.pt-secondary select{width:100%}}

.plant-ui .pt-detail-head{display:block;min-width:0}
.pt-detail-head nav button{white-space:normal;line-height:1.3;min-width:0}
