#project-workspace{max-width:1350px;margin:auto;padding:30px}.project-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:26px;align-items:start}.project-list-panel{position:sticky;top:15px;max-height:75vh;overflow:auto}#project-list{display:flex;flex-direction:column;gap:10px;padding:3px}.project-budget-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}.project-budget-grid small{display:block;font-size:11px;color:#69728a}.project-budget-grid strong{display:block;font-size:19px;margin-top:8px;overflow-wrap:anywhere}.project-file-button{display:block;width:100%;text-align:right;margin-top:10px;overflow-wrap:anywhere}.project-ledger-row{padding:12px 0;border-bottom:1px solid #e3e6ef}.project-ledger-row small{font-size:10px;color:#69728a}#project-detail .info-block>.primary{margin-top:15px}#project-detail .action-row{gap:8px}#project-detail .project-ledger-row p{white-space:pre-wrap}#project-create-dialog{width:680px;max-height:90vh;overflow:auto}#project-create-dialog .form-grid{grid-template-columns:1fr 1fr}#project-file-dialog{width:900px;max-width:95vw}#project-file-body img,#project-file-body video{max-width:100%;max-height:65vh}#project-file-body iframe{width:100%;height:65vh;border:0}#project-file-body a{display:block;margin-top:15px;padding:12px;text-align:center}#project-create-dialog .muted{margin-top:12px}.project-list-panel .ticket-item .badge{white-space:normal}#account{flex-wrap:wrap}#projects-open{font-size:12px}@media(max-width:650px){#project-workspace{padding:24px 16px}.project-layout{grid-template-columns:1fr}.project-list-panel{position:static;max-height:none}#project-list{flex-direction:row;overflow:auto}#project-list .ticket-item{flex:0 0 230px}.project-budget-grid{grid-template-columns:1fr}.project-budget-grid>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.project-budget-grid strong{margin:0;font-size:18px}#project-create-dialog .form-grid{grid-template-columns:1fr}}

.project-team-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:14px 0}.project-team-choices label{display:flex;align-items:center;gap:10px;border:1px solid #e3e6ef;border-radius:10px;padding:12px;cursor:pointer}.project-team-choices input{width:18px;height:18px;margin:0;flex-shrink:0}

#project-create-dialog{width:min(1180px,calc(100vw - 48px));max-width:calc(100vw - 30px);max-height:92vh;max-height:92dvh;padding:0;box-sizing:border-box;border-radius:20px;box-shadow:0 18px 80px #17334a30}
#project-create-dialog input,#project-create-dialog select,#project-create-dialog textarea{width:100%;min-width:0;box-sizing:border-box}
#project-create-dialog input,#project-create-dialog select{min-height:46px}#project-create-dialog label{font-size:13px}#project-create-dialog textarea{resize:vertical}
#project-create-dialog .muted{font-size:11px;line-height:1.9;margin:8px 0 0}.project-create-materials{grid-column:1/-1}
.project-create-upload{padding:14px;border:1px solid #e1e5f0;border-radius:12px;background:#fafdff}.project-create-upload input{margin-top:12px}
#project-create-dialog .project-material-entry{grid-template-columns:minmax(0,2fr) minmax(90px,1fr) minmax(90px,1fr) auto;align-items:end;padding:14px;background:#f7fafc;border:1px solid #e1e5f0;border-radius:12px;gap:12px}
#project-create-dialog .project-material-entry>label{min-width:0;margin:0}#project-create-dialog .project-material-entry input{margin-top:8px}
#project-create-dialog .ticket-create-footer .project-create-next{margin:0 0 12px}
#project-create-dialog .material-field-name{min-width:0}#project-create-dialog .material-field-name>label{margin:0}#project-create-dialog .project-material-entry{align-items:start}#project-create-dialog .project-material-entry>.quiet{margin-top:28px}
.project-material-suggestions{display:flex;flex-direction:column;gap:5px;max-height:180px;overflow:auto;margin-top:8px}.project-material-suggestions:empty{display:none}.project-material-suggestions button{display:flex;justify-content:space-between;gap:12px;text-align:right;white-space:normal;padding:10px 12px;font-size:12px;min-height:42px}.project-material-suggestions button strong{overflow-wrap:anywhere}.project-material-suggestions button small{color:#69728a;flex-shrink:0}.project-material-suggestions button:focus-visible{outline:3px solid #258abc;outline-offset:-3px}
@media(max-width:800px){#project-create-dialog{width:calc(100vw - 22px);max-width:calc(100vw - 22px);max-height:94vh;max-height:94dvh;border-radius:16px}#project-create-dialog input,#project-create-dialog select,#project-create-dialog textarea{font-size:16px}#project-create-dialog .project-material-entry{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#project-create-dialog .material-field-name{grid-column:1/-1}#project-create-dialog .project-material-entry .material-name{grid-column:auto}}

.project-material-entry{display:grid;grid-template-columns:minmax(0,2fr) minmax(70px,1fr) minmax(70px,1fr) auto;gap:8px;margin:10px 0}.project-material-entry input{min-width:0}.project-material-item{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e3e6ef}.project-material-item strong{flex:1 1 150px}.project-material-item small{flex-basis:100%;color:#69728a}.project-materials>form{margin-top:16px}@media(max-width:650px){.project-material-entry{grid-template-columns:1fr 1fr}.project-material-entry .material-name{grid-column:1/-1}}
