/* Personal workspace; the existing editors and public filling pages are unchanged. */
.library-dialog.dashboard-account-dialog{width:min(560px,calc(100vw - 28px))}.library-dialog.dashboard-account-dialog>section:not(#cloudAccount),.library-dialog.dashboard-account-dialog .cloud-template-catalog,.library-dialog.dashboard-account-dialog .cloud-storage,.library-dialog.dashboard-account-dialog .cloud-template-refresh{display:none!important}.library-dialog.dashboard-account-dialog .cloud-account{border-bottom:0}.library-dialog.dashboard-account-dialog .cloud-account-header{gap:14px}.library-dialog.dashboard-account-dialog .library-row{flex-wrap:wrap}
.dashboard-workspace{box-sizing:border-box;max-width:1180px;margin:0 auto;padding:44px 28px 56px;color:#10234b;min-height:65vh}.dashboard-workspace *{box-sizing:border-box}.dashboard-workspace[hidden]{display:none!important}.dashboard-mode #builderView,.dashboard-mode #documentView,.dashboard-mode #projectView,.dashboard-mode #fillView{display:none!important}.dashboard-mode .free-service-notice,.dashboard-mode .local-pill,.dashboard-mode #modeButton,.dashboard-mode #shareButton{display:none!important}.dashboard-mode .topbar{flex-wrap:wrap;gap:16px}.dashboard-mode .top-actions{margin-left:auto}.dashboard-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:30px}.dashboard-eyebrow{margin:0 0 12px;font-size:.72rem;font-weight:700;letter-spacing:.16em;color:#087fba}.dashboard-heading h1{font-size:clamp(1.9rem,3.5vw,2.65rem);letter-spacing:-.045em;line-height:1.15;margin:0 0 12px}.dashboard-intro{font-size:1rem;line-height:1.55;color:#52657e;margin:0}.dashboard-account{display:flex;flex-direction:column;align-items:flex-end;gap:12px;font-size:.85rem;max-width:38%;overflow-wrap:anywhere}.dashboard-account button{font-size:.85rem;min-height:40px}.dashboard-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dashboard-create{font:inherit;cursor:pointer;text-align:left;border:1px solid #d6e7f7;border-radius:14px;background:linear-gradient(120deg,#fff,#f0f8ff);color:#10234b;padding:21px;display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:12px;row-gap:5px;transition:border-color .15s,transform .15s}.dashboard-create:hover{border-color:#006be6;transform:translateY(-2px)}.dashboard-create-icon{display:grid;place-items:center;width:40px;height:40px;font-size:25px;line-height:1;background:#e1f0ff;color:#006be6;border-radius:10px;grid-row:span 2}.dashboard-create strong{font-size:1rem;align-self:end}.dashboard-create>span:last-child{font-size:.8rem;color:#52657e;line-height:1.4}.dashboard-local-start{margin:11px 0 24px;font-size:.76rem;color:#63758c}.dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:28px}.dashboard-stat{font:inherit;text-align:left;padding:18px 22px;border:1px solid #dae6f1;border-radius:12px;cursor:pointer;background:white;color:#52657e;display:flex;align-items:baseline;gap:12px}.dashboard-stat strong{font-size:1.7rem;color:#10234b;letter-spacing:-.04em}.dashboard-stat span{font-size:.9rem}.dashboard-stat[aria-pressed=true]{background:#edf6ff;border-color:#80b8f4}.dashboard-panel{background:white;border:1px solid #dce7f3;border-radius:16px;overflow:hidden;box-shadow:0 5px 24px #17365405}.dashboard-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 24px 18px}.dashboard-panel-head>div{display:flex;gap:12px;align-items:baseline}.dashboard-panel-head h2{font-size:1.15rem;margin:0;letter-spacing:-.025em}.dashboard-panel-head button{font-size:.83rem;min-height:40px;padding:8px 13px}.dashboard-count{font-size:.8rem;color:#63758c}.dashboard-controls{display:grid;grid-template-columns:minmax(160px,1.5fr) repeat(3,minmax(125px,1fr));gap:12px;padding:0 24px 14px}.dashboard-filter,.dashboard-search{display:flex;flex-direction:column;gap:7px;font-size:.75rem;font-weight:700;color:#52657e;min-width:0}.dashboard-controls input,.dashboard-controls select{font:inherit;font-size:.87rem;font-weight:400;width:100%;min-width:0;min-height:43px;border:1px solid #d3e0ed;border-radius:8px;padding:9px 11px;background:#fff;color:#10234b}.dashboard-favorites{display:flex;align-items:center;gap:8px;margin:0 24px 10px;font-size:.83rem;min-height:28px;color:#52657e}.dashboard-favorites input{accent-color:#006be6;width:17px;height:17px}.dashboard-storage-note,.dashboard-warning{margin:10px 24px;padding:12px 14px;background:#edf6ff;color:#435e7d;font-size:.82rem;line-height:1.5;border-radius:8px}.dashboard-warning{background:#fff7e6;color:#745310}.dashboard-status{font-size:.8rem;color:#52657e;min-height:19px;margin:10px 24px}.dashboard-list{padding:0 24px 12px}.dashboard-item{display:flex;align-items:center;gap:15px;padding:18px 0;border-top:1px solid #e6edf5}.dashboard-item-icon{display:grid;place-items:center;width:39px;height:42px;flex:0 0 39px;border:1px solid #deebf8;background:#f2f8ff;color:#006be6;border-radius:9px;font-size:24px}.dashboard-item-body{flex:1;min-width:0}.dashboard-item h3{font-size:.96rem;line-height:1.4;margin:0 0 7px;overflow-wrap:anywhere}.dashboard-item-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;font-size:.73rem;color:#61728a;line-height:1.4}.dashboard-badge{padding:3px 7px;background:#f1f3f6;border-radius:5px;color:#56677e}.dashboard-badge.is-account{background:#eaf4ff;color:#0b62be}.dashboard-badge.is-pending{background:#fff5dc;color:#7a5714}.dashboard-item-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.dashboard-item-actions>.outline-button{font-size:.83rem;min-height:40px;padding:8px 14px}.dashboard-star{font:inherit;font-size:25px;border:0;cursor:pointer;background:transparent;color:#7187a1;min-width:40px;min-height:40px}.dashboard-star[aria-pressed=true]{color:#006be6}.dashboard-empty{text-align:center;padding:38px 18px 48px;border-top:1px solid #e6edf5}.dashboard-empty h3{font-size:1.2rem;margin:0 0 10px}.dashboard-empty p{font-size:.9rem;line-height:1.55;color:#63758c;max-width:440px;margin:0 auto 20px}.dashboard-footnote{font-size:.75rem;color:#63758c;line-height:1.5;margin:14px 4px 0}.dashboard-gate{max-width:620px;margin:60px auto;padding:36px;background:white;border:1px solid #dae6f1;border-radius:16px;text-align:center}.dashboard-gate h2{font-size:1.45rem}.dashboard-gate p{line-height:1.65;color:#52657e}.dashboard-gate button{margin:10px 5px}.dashboard-workspace button:focus-visible,.dashboard-workspace input:focus-visible,.dashboard-workspace select:focus-visible{outline:3px solid #64b5ff;outline-offset:3px}.dashboard-workspace button:disabled{opacity:.55;cursor:wait}.builder-mode-switch button[hidden]{display:none!important}
@media(max-width:850px){.dashboard-workspace{padding:30px 20px 40px}.dashboard-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-create{padding:16px;grid-template-columns:1fr}.dashboard-create-icon{grid-row:auto;margin-bottom:4px}.dashboard-quick{gap:10px}.dashboard-account{max-width:40%}}
@media(max-width:600px){body.dashboard-mode{overflow-x:clip}.dashboard-workspace{padding:25px 14px 35px;max-width:100%}.dashboard-mode .topbar{gap:12px}.dashboard-mode .builder-mode-switch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;min-width:0;order:3}.dashboard-mode .builder-mode-switch button{padding:10px 4px;font-size:.77rem;min-width:0}.dashboard-heading{display:block;margin-bottom:23px}.dashboard-account{max-width:100%;flex-direction:row;align-items:center;justify-content:space-between;margin-top:20px;gap:10px}.dashboard-account>span{min-width:0;font-size:.77rem}.dashboard-account button{flex-shrink:0;padding:8px 10px}.dashboard-quick{grid-template-columns:1fr}.dashboard-create{grid-template-columns:40px minmax(0,1fr);padding:15px;gap:3px 12px}.dashboard-create-icon{grid-row:span 2;margin:0}.dashboard-stats{gap:8px;margin-bottom:20px}.dashboard-stat{display:flex;flex-direction:column;gap:3px;padding:13px 10px}.dashboard-stat strong{font-size:1.5rem}.dashboard-stat span{font-size:.77rem}.dashboard-panel{border-radius:12px}.dashboard-panel-head{padding:18px 15px 16px}.dashboard-panel-head>div{display:block}.dashboard-count{display:block;margin-top:5px}.dashboard-controls{padding:0 15px 10px;gap:12px 9px}.dashboard-search{grid-column:1/-1}.dashboard-controls>.dashboard-filter:last-child{grid-column:1/-1}.dashboard-controls input,.dashboard-controls select{font-size:16px}.dashboard-favorites{margin:0 15px 10px}.dashboard-storage-note,.dashboard-warning,.dashboard-status{margin-left:15px;margin-right:15px}.dashboard-list{padding:0 15px 8px}.dashboard-item{flex-wrap:wrap;gap:11px;padding:16px 0}.dashboard-item-body{flex-basis:calc(100% - 52px)}.dashboard-item-actions{width:100%;justify-content:flex-end}.dashboard-item-meta{gap:6px 8px}.dashboard-gate{margin:24px 0;padding:24px 17px}.dashboard-gate button{display:block;width:100%;margin:12px 0 0}}
@media(max-width:600px){.builder-mode-switch:has(#dashboardBuilderMode:not([hidden])){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-width:0}.builder-mode-switch:has(#dashboardBuilderMode:not([hidden])) button{padding:10px 4px;font-size:.77rem;min-width:0}}
@media(prefers-reduced-motion:reduce){.dashboard-create{transition:none}.dashboard-create:hover{transform:none}}

.dashboard-item-actions .dashboard-delete{color:#a33131;border-color:#e2caca}
.dashboard-item-actions .dashboard-delete:hover{background:#fff2f2}
@media(max-width:600px){.dashboard-item-actions{flex-wrap:wrap;gap:8px}}
