.account-nav{display:flex;align-items:center;flex-wrap:wrap;gap:16px;font-size:12px}.account-nav a{color:#555}.account-nav a[aria-current=page]{color:#bd0a0a}.account-nav button{border:0;background:none;color:#777;cursor:pointer;font:inherit}.account-role{font-size:10px;background:#f8e9e9;border-radius:4px;padding:5px 8px;color:#a30d0d}.portal-main{max-width:1150px;margin:0 auto;padding:40px 25px 70px}.auth-shell{max-width:470px;margin:35px auto}.auth-card,.account-card{background:white;border:1px solid #e6e6e6;border-radius:10px;padding:28px;box-shadow:0 8px 30px #00000004}.auth-card h1,.portal-heading h1{font:600 32px/1.2 'Anek Malayalam',Arial,sans-serif;color:#3a3a3a;margin:9px 0 14px}.auth-card p,.portal-heading p,.muted{color:#777;font-size:12px;line-height:1.7}.auth-card .button{width:100%;justify-content:center}.auth-card .field{margin-top:18px}.form-error{color:#a20d0d;background:#fff1f1;border:1px solid #f2cece;padding:12px;border-radius:5px;font-size:12px;line-height:1.6;margin:15px 0}.form-success{color:#386343;background:#f0f8f1;border:1px solid #cfe4d3;padding:12px;border-radius:5px;font-size:12px;line-height:1.6}.portal-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.portal-heading h1{margin-bottom:5px}.portal-heading p{margin:0}.library-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:18px;background:#fff;border:1px solid #e6e6e6;border-radius:8px;margin-bottom:20px}.library-filters .field{margin:0;flex:1;min-width:180px}.design-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:16px}.design-card{padding:20px;background:#fff;border:1px solid #e5e5e5;border-radius:8px;display:flex;flex-direction:column;gap:10px}.design-card h2{font-size:18px;color:#3a3a3a;margin:3px 0;overflow-wrap:anywhere}.design-kind{font-size:9px;letter-spacing:1px;color:#a30d0d;text-transform:uppercase}.design-card p{font-size:11px;line-height:1.6;color:#777;margin:0;overflow-wrap:anywhere}.card-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:auto;padding-top:10px}.card-actions .button{font-size:11px;padding:8px 12px}.danger-link{color:#a30d0d;border:0;background:none;cursor:pointer;font:inherit;font-size:11px}.empty-state{border:1px dashed #d5d5d5;border-radius:8px;padding:40px 25px;text-align:center;background:#fff;color:#777;font-size:13px;line-height:1.8}.pagination{display:flex;gap:15px;align-items:center;justify-content:center;margin:25px 0;font-size:12px}.account-card{max-width:620px;margin-bottom:20px}.user-table{background:white;border:1px solid #e6e6e6;border-radius:8px;overflow:auto}.user-table td small{display:block;font-size:10px;color:#888;margin-top:5px}.user-table .button{font-size:10px;padding:7px 11px}.account-dialog{border:1px solid #ddd;border-radius:10px;padding:25px;width:min(490px,calc(100% - 30px));max-height:90vh;color:#444}.account-dialog::backdrop{background:#20202066}.account-dialog h2{margin:0 0 12px;font-size:23px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:20px}.account-dialog p{font-size:12px;color:#777;line-height:1.7}.share-entry{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #eee;padding:12px 0;font-size:11px;color:#666}.share-link{width:100%;font-size:12px;padding:11px;border:1px solid #ccc;border-radius:4px}.workspace-state{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fff;border:1px solid #e6e6e6;border-radius:7px;padding:13px 17px;margin-bottom:22px;font-size:12px;line-height:1.7;color:#666}.workspace-state strong{color:#444}.workspace-state small{display:block;color:#888}.workspace-state button{flex-shrink:0}.shared-workspace .spec-panel{display:none}.shared-workspace .workspace{grid-template-columns:minmax(0,1fr)}.shared-workspace .heading-actions{display:none}.shared-workspace .page-heading h1{font-size:32px;overflow-wrap:anywhere}.shared-workspace #cloud-save-button,.shared-workspace #save-copy-button,.shared-workspace #manage-shares-button{display:none}.workspace-loading main{visibility:hidden}.account-notice{max-width:720px;margin:45px auto;padding:25px;background:white;border:1px solid #eee;border-radius:8px;color:#666;line-height:1.8}.account-notice a{color:#bd0a0a}.user-status{font-size:10px;border-radius:4px;background:#f5f5f5;padding:4px 6px}.account-dialog input,.account-dialog select{max-width:100%}
@media(max-width:660px){.portal-main{padding:25px 16px 50px}.auth-shell{margin:10px auto}.auth-card,.account-card{padding:22px 18px}.portal-heading{align-items:flex-start;flex-direction:column;gap:15px}.portal-heading h1{font-size:29px}.account-nav{gap:10px;font-size:10px}.workspace-state{align-items:flex-start;flex-direction:column}.workspace-state .card-actions{padding-top:0}.shared-workspace .page-heading h1{font-size:26px}.library-filters{padding:15px}.header{gap:15px;flex-wrap:wrap}.header-right{gap:10px;flex-wrap:wrap}.design-grid{grid-template-columns:minmax(0,1fr)}}
@media print{.account-nav,.workspace-state,.account-dialog{display:none!important}}

.read-only-workspace .spec-panel{display:none}.read-only-workspace .workspace{grid-template-columns:minmax(0,1fr)}
.header{height:auto;min-height:92px;padding-top:10px;padding-bottom:10px}.page-heading{flex-wrap:wrap;gap:18px}.heading-actions{flex-wrap:wrap}
@media(max-width:660px){.header{height:auto;min-height:110px;row-gap:8px;padding-block:10px}.account-nav{width:100%;justify-content:flex-end}.heading-actions .button{flex:1 1 calc(50% - 10px)}}
