.ppt-template-dialog{box-sizing:border-box;width:min(1440px,96vw);max-width:96vw;height:94vh;max-height:94vh;border:1px solid #cad3ca;border-radius:16px;padding:24px;background:#f7f8f4;color:#233a2b;overflow:auto;font:15px/1.5 Inter,system-ui,sans-serif}.ppt-template-dialog::backdrop{background:#14281c99}.ppt-template-dialog *{box-sizing:border-box}.ppt-template-dialog h1{font-size:28px;margin:3px 0}.ppt-template-dialog h2{font-size:19px}.ppt-template-dialog h3{font-size:16px}.ppt-template-dialog button,.ppt-template-dialog select,.ppt-template-dialog input,.ppt-template-dialog textarea{font:inherit;border:1px solid #b7c5b6;border-radius:7px;padding:8px 12px;background:white;color:#233a2b}.ppt-template-dialog button{cursor:pointer;min-height:40px}.ppt-template-dialog button:disabled{opacity:.55;cursor:default}.ppt-template-dialog button:hover{background:#e6eee2}.ppt-template-dialog input:focus,.ppt-template-dialog textarea:focus,.ppt-template-dialog select:focus,.ppt-template-dialog button:focus-visible{outline:3px solid #88a86f;outline-offset:2px}.ppt-template-dialog label{display:grid;gap:5px;font-weight:600}.ppt-template-dialog textarea{width:100%;min-height:100px;resize:vertical;font-weight:400}.ppt-template-dialog input{width:100%;min-width:0}.ppt-heading{display:flex;gap:24px;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #d5ded0;padding-bottom:18px}.ppt-heading p{max-width:850px;color:#52634f}.ppt-heading small{letter-spacing:2px}.ppt-selectors{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:20px 0}.ppt-selectors label{flex:1;min-width:150px}.ppt-selectors select{max-width:100%;width:100%}.ppt-selectors .ppt-check{display:flex;align-items:center}.ppt-check input{width:auto}.ppt-actions,.ppt-page-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.ppt-workspace{display:grid;grid-template-columns:225px minmax(0,1fr);gap:20px}.ppt-pages{border-right:1px solid #d5ded0;padding-right:14px}.ppt-pages button{display:block;width:100%;text-align:left;margin-bottom:7px;overflow-wrap:anywhere}.ppt-pages [aria-pressed=true]{background:#dce9d4;border-color:#66875a}.ppt-page-editor{display:grid;gap:12px;min-width:0}.ppt-edit-title{display:grid;gap:10px;margin:20px 0}.ppt-preview{container-type:inline-size;position:relative;aspect-ratio:16/9;overflow:hidden;background:#fffdf6;border:1px solid #c9d0bd;border-radius:8px;color:#253d30}.ppt-preview h3{position:absolute;top:3%;left:5%;font-size:2.5cqw;margin:0;max-width:90%;white-space:pre-wrap}.ppt-preview-item{position:absolute;overflow:auto;white-space:pre-wrap;line-height:1.45}.ppt-preview svg{width:100%;height:100%}.ppt-materials{display:grid;gap:12px}.ppt-materials details{background:white;padding:12px;border:1px solid #d5ded0;border-radius:8px}.ppt-materials label{margin:10px 0}.ppt-geometry{display:flex;gap:10px;flex-wrap:wrap}.ppt-geometry label{width:100px}.ppt-submit{margin:24px 0;padding:20px;border:1px solid #c1d1b7;border-radius:12px;background:#edf3e7}.ppt-template-dialog .vs-primary{background:#3d6436;color:white}.ppt-template-dialog .error{color:#a1302a}.ppt-history{margin-top:30px}.ppt-history article{padding:18px;background:white;border:1px solid #d5ded0;border-radius:10px;margin:12px 0}.ppt-history p{white-space:pre-wrap;overflow-wrap:anywhere}.ppt-history span{font-weight:400;font-size:14px;padding:4px 8px;background:#edf3e7;border-radius:5px}.ppt-history form{display:grid;grid-template-columns:1fr auto auto;align-items:end;gap:10px;margin-top:15px}.ppt-template-dialog #pptStatus{position:sticky;top:0;background:#f7f8f4;z-index:2;padding:10px 0;min-height:30px}@media(max-width:700px){.ppt-template-dialog{padding:14px}.ppt-heading{display:block}.ppt-workspace{grid-template-columns:1fr}.ppt-pages{border-right:0;display:flex;flex-wrap:wrap;gap:6px}.ppt-pages h2{width:100%}.ppt-pages button{width:auto;max-width:100%;margin:0}.ppt-history form{grid-template-columns:1fr}.ppt-heading h1{font-size:23px}.ppt-selectors{display:grid;grid-template-columns:1fr}.ppt-selectors label{min-width:0}}
.ppt-permissions{padding:16px;background:#edf3e7;border:1px solid #c1d1b7;border-radius:10px;margin:14px 0}.ppt-permissions summary{cursor:pointer;font-weight:700}.ppt-permission-person{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:12px 0;border-top:1px solid #d0dbc9}.ppt-permission-person small{display:block;overflow-wrap:anywhere}@media(max-width:700px){.ppt-permission-person{align-items:stretch;flex-direction:column}}
