.project-entry{display:flex;align-items:center;gap:8px;margin-inline-start:auto;min-width:0}
.project-entry button{min-height:44px;padding:7px 12px;color:#2f3a48;background:#e9ecf0;border:1px solid #bcc2ca;border-radius:8px;font:600 13px/1.4 inherit;white-space:nowrap}
.project-entry>span{max-width:160px;color:#4e5763;font-size:12px;line-height:1.45}
.project-dialog{width:min(860px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:24px;border:0;border-radius:16px;color:#2e3844;background:#f3f5f8;box-shadow:0 24px 80px #1d273552;overflow:auto;overscroll-behavior:contain}
.project-dialog::backdrop{background:#1d283680;backdrop-filter:blur(5px)}
.project-dialog *{box-sizing:border-box}.project-dialog [hidden]{display:none!important}
.project-dialog :is(button,input,a):focus-visible,.project-entry button:focus-visible{outline:3px solid #495c75;outline-offset:3px}
.project-heading{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:16px}
.project-heading h2{font-size:24px;line-height:1.4;margin:0;letter-spacing:-.025em;color:#2e3844}
.project-heading p{max-width:50ch;font-size:14px;color:#525c68;line-height:1.65;margin:7px 0 0}
.project-heading>button{min-width:54px;min-height:44px;padding:8px;font:600 14px/1.4 inherit;white-space:nowrap}
.project-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px}
.project-dialog h3{font-size:17px;margin:20px 0 10px;line-height:1.5}
.project-dialog p{font-size:14px;line-height:1.7}.project-muted{color:#525c69}
.project-files{display:grid;gap:9px}.project-files button,.project-dialog .primary-button,.project-dialog .secondary-button{min-height:44px;font-size:14px;line-height:1.5;padding:10px 13px;width:100%;margin:0;white-space:normal}
.project-save-toggle{display:flex;align-items:flex-start;gap:9px;font-size:14px;line-height:1.7;cursor:pointer;margin:15px 0}
.project-save-toggle input{width:20px;height:20px;flex:0 0 20px;margin:2px 0;accent-color:#394555}
.project-rule{font-size:12px!important;color:#525c69;margin-top:8px}
.project-history{list-style:none;padding:0;margin:0;display:grid;gap:0;max-height:360px;overflow:auto}
.project-history li{display:flex;align-items:center;gap:10px;border-bottom:1px solid #d3d7dc;padding:12px 0;min-width:0}
.project-history li>div{flex:1;min-width:0}.project-history strong{display:block;font-size:14px;overflow-wrap:anywhere}.project-history span{display:block;font-size:12px;line-height:1.6;color:#525c68;margin-top:4px;overflow-wrap:anywhere}
.project-history button{width:100px!important;flex:0 0 100px;min-height:44px}
.project-review,.project-recovery,.project-conflict,.project-delete{padding:14px;background:#e4e8ed;border-radius:10px;margin:14px 0}
.project-review h3{margin:0 0 6px}.project-review p,.project-recovery p,.project-conflict p,.project-delete p{margin:0 0 10px}
.project-confirm-actions{display:flex;gap:8px}.project-confirm-actions button{flex:1}
.project-status{min-height:24px;padding-top:14px;margin:16px 0 0;border-top:1px solid #cbd0d6;color:#384453;overflow-wrap:anywhere}
.project-status[data-error=true],.project-conflict{color:#805325}
.project-cloud{border-top:1px solid #d3d7dc;margin-top:20px;padding-top:5px}.project-cloud a{color:#394657;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:44px;font-size:14px}
.project-dialog button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:740px){.project-entry{margin-left:0;gap:0}.project-entry>span{display:none}.project-entry button{font-size:12px;padding:6px 9px}.app-header{flex-wrap:wrap}.project-dialog{padding:18px}.project-columns{grid-template-columns:minmax(0,1fr);gap:4px}.project-heading h2{font-size:21px}.project-heading p{font-size:13px}.project-history{max-height:300px}.project-dialog input{font-size:16px}.project-confirm-actions{flex-wrap:wrap}.project-confirm-actions button{min-width:120px}}
@media(max-width:740px){.app-header .site-badge,.app-header .service-entry{display:none}.brand-line{gap:8px}.project-entry{margin-inline-start:auto}.account-entry{flex:0 0 44px}.project-dialog .project-support{display:inline-flex;align-items:center;min-height:44px;color:#394657;text-underline-offset:3px}}
