.workspace-page{height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:#F5F6F7;color:#0F1113;font-family:var(--ui-font)}
.workspace-page>.builder-header{flex-shrink:0}.workspace-page .account-button{font:600 12px var(--ui-font)}
.workspace-main{flex:1;min-height:0;overflow:auto;scrollbar-gutter:stable;width:100%;max-width:1240px;margin:auto;padding:0 40px 40px}
.workspace-tabs{display:flex;gap:24px;border-bottom:1px solid #D5DBE0;margin-bottom:40px;padding-top:24px}
.workspace-tabs a{padding:12px 4px 14px;text-decoration:none;color:#6A737D;border-bottom:3px solid transparent;font-size:14px;font-weight:600}.workspace-tabs a[aria-current]{color:#0F1113;border-color:#E7540E}
.workspace-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.workspace-title h1{font:800 42px/1.05 var(--font-display);text-transform:uppercase;margin:0;letter-spacing:-.015em}.workspace-title p{color:#64707B;font-size:15px;margin:12px 0 0}.new-deck{min-width:128px}
.deck-search-row{display:flex;align-items:center;gap:16px;justify-content:space-between}.deck-search-row .search-control{max-width:540px}.deck-search-row .search-control input{background:#fff}
.device-recovery{border-left:3px solid #E7540E;background:#FFF7F1;padding:18px 20px;margin-bottom:24px}.device-recovery h2{font:800 20px var(--font-display);margin:0}.device-recovery>p{font-size:12px;color:#6B645E;margin:4px 0 10px}.device-recovery #recovery-links{display:flex;flex-direction:column;gap:10px}.recovery-link{display:flex;justify-content:space-between;gap:16px;font-size:13px;color:#0F1113;text-decoration:none}.recovery-link>span:first-child{overflow-wrap:anywhere}.recovery-link>span:last-child{font-weight:600;color:#B93F00;white-space:nowrap}.recovery-link:hover{text-decoration:underline;text-underline-offset:3px}
.workspace-message{min-height:42px;padding:10px 0;font-size:13px;line-height:1.55;color:#5F6B75;overflow-wrap:anywhere}.workspace-message[data-error="true"]{color:#B42318}
.deck-table-wrap{background:#fff;border:1px solid #D9DEE2;border-radius:4px;min-height:190px}.deck-table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed}.deck-table th{font-size:12px;font-weight:600;color:#5F6974;padding:16px 22px;background:#F9FAFB}.deck-table th:first-child{width:52%}.deck-table th:nth-child(2){width:20%}.deck-table th:nth-child(3){width:20%}.deck-table th:last-child{width:8%}.deck-table td{border-top:1px solid #E3E7EA;padding:22px;font-size:13px;vertical-align:middle;color:#64707B}.deck-table td:first-child{color:#0F1113}.deck-table td:last-child{padding-left:0;text-align:right}.deck-table time{white-space:nowrap;font-size:12px}
.deck-name{display:flex;align-items:center;gap:18px;min-width:0}.deck-name a{font-size:15px;font-weight:600;line-height:1.5;color:#0F1113;text-decoration:none;overflow-wrap:anywhere}.deck-name a:hover{color:#BD4007;text-decoration:underline;text-underline-offset:4px}.deck-icon{width:32px;height:40px;flex-shrink:0;color:#E7540E;display:block}.deck-mobile-type{display:none}
.deck-empty{text-align:center!important;padding:42px 24px!important;font-size:14px!important;line-height:1.7!important;color:#64707B!important}.deck-empty strong{display:block;font-size:17px;color:#0F1113;margin-bottom:5px}.deck-row-actions{position:relative;display:inline-block}.deck-menu-toggle{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #D9DEE2;border-radius:3px;background:#fff;color:#64707B;cursor:pointer;list-style:none}.deck-menu-toggle::-webkit-details-marker{display:none}.deck-row-actions[open] .deck-menu-toggle{border-color:#E7540E;color:#0F1113}.deck-menu{position:absolute;right:0;top:43px;z-index:10;width:164px;border:1px solid #D9DEE2;border-radius:4px;background:#fff;box-shadow:0 8px 24px #0F111314;padding:5px;display:flex;flex-direction:column}.deck-menu button{border:0;background:none;text-align:left;min-height:40px;padding:10px 12px;font:13px var(--ui-font);color:#3E4953;cursor:pointer;border-radius:2px}.deck-menu button:hover{background:#F5F6F7;color:#0F1113}.deck-menu .delete-action{color:#B42318}.deck-row-actions[aria-disabled="true"]{opacity:.45;pointer-events:none}
.workspace-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px}.workspace-bottom p{font-size:12px;color:#7B858F;margin:0}.workspace-bottom .pagination{font-size:12px;color:#64707B}
.profile-form{max-width:480px;display:flex;flex-direction:column;gap:24px;background:#fff;border:1px solid #D9DEE2;border-radius:4px;padding:30px}.profile-form input[readonly]{background:#F7F8F9;color:#64707B}.profile-help{font-size:12px;line-height:1.6;color:#7B858F;margin:-14px 0 0}.profile-role{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #E3E7EA;padding-top:20px;font-size:13px}.profile-role>span{color:#64707B}.profile-role>strong{font-weight:600}.profile-form>.workspace-message{padding:0;min-height:0}.profile-form>.workspace-message:empty{display:none}.profile-form>.auth-button{align-self:flex-start;min-width:140px}
#rename-deck-form>.auth-field{margin-top:24px}#rename-deck-form>.form-message{margin-top:12px}.workspace-page .confirm-dialog{width:440px}
@media(max-width:900px){.workspace-main{padding:0 22px 30px}.workspace-tabs{padding-top:16px;margin-bottom:28px}.workspace-title h1{font-size:36px}.workspace-page .account-button{font-size:10px}.deck-table th:first-child{width:48%}.deck-table th:nth-child(2){width:22%}.deck-table th:nth-child(3){width:20%}.deck-table th:last-child{width:10%}.deck-table th,.deck-table td{padding:16px}.deck-name{gap:12px}.deck-name a{font-size:14px}}
@media(max-width:600px){.workspace-main{padding:0 18px 28px}.workspace-tabs{gap:22px;margin-bottom:26px}.workspace-title{gap:14px;align-items:center}.workspace-title h1{font-size:32px}.workspace-title p{font-size:13px;line-height:1.6;max-width:200px}.workspace-title .new-deck{font-size:12px;min-width:104px;padding:10px 12px}.deck-search-row{gap:10px}.deck-search-row>.auth-button{padding:10px 12px;font-size:12px}.deck-table th:nth-child(2),.deck-table td:nth-child(2){display:none}.deck-table th:first-child{width:68%}.deck-table th:nth-child(3){width:22%}.deck-table th:last-child{width:10%}.deck-table th,.deck-table td{padding:16px 12px}.deck-table th{font-size:11px}.deck-table td:nth-child(3){font-size:10px}.deck-table time{font-size:10px;white-space:normal}.deck-icon{width:23px;height:30px}.deck-name{gap:10px}.deck-name a{font-size:13px}.deck-mobile-type{display:block;color:#7B858F;font-size:11px;margin-top:3px}.deck-menu-toggle{width:30px;height:34px}.deck-table td:last-child{padding-right:8px}.workspace-bottom{align-items:flex-start;flex-direction:column}.profile-form{padding:24px}.profile-form .auth-field input{font-size:16px}.workspace-page .builder-topnav a{padding:0 8px}}
.workspace-page a.auth-primary{color:#fff}
/* Preserve the workspace shell during updates and keep profile actions explicit. */
.workspace-page .account-button{text-decoration:none;overflow:hidden;min-width:36px;min-height:36px}
.workspace-page .account-button>span{width:100%;height:100%;display:grid;place-items:center}
.workspace-page .account-button img,.profile-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.workspace-page .beta-badge{display:inline-flex;align-items:center;padding:4px 6px;border:1px solid #e7540e;border-radius:3px;color:#ffab7e;font:700 9px/1 var(--ui-font);text-transform:uppercase;letter-spacing:.08em;flex-shrink:0}
.deck-table-wrap{transition:opacity .15s ease;min-height:250px}
.deck-table-wrap[aria-busy="true"] .deck-table tbody{opacity:.58}
.deck-menu-toggle{min-width:40px;min-height:40px}
.profile-photo-row{display:flex;align-items:center;gap:20px;padding-bottom:24px;border-bottom:1px solid #e3e7ea}
.profile-avatar{display:grid;place-items:center;width:80px;height:80px;flex-shrink:0;border-radius:50%;background:#0f1113;color:#fff;font:700 24px var(--ui-font);overflow:hidden}
.profile-photo-controls{display:flex;align-items:flex-start;flex-direction:column;gap:8px;min-width:0}
.profile-upload{position:relative;overflow:hidden;font-size:12px;min-height:40px;cursor:pointer}
.profile-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.profile-upload:focus-within{outline:2px solid #e7540e;outline-offset:3px}
.profile-remove-photo{border:0;background:transparent;padding:4px 0;color:#64707b;text-decoration:underline;text-underline-offset:3px;font:12px var(--ui-font);cursor:pointer;min-height:32px}
.profile-photo-help{font-size:11px;line-height:1.5;color:#7b858f;margin:0}
.profile-session{max-width:480px;margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0;border-top:1px solid #d9dee2}
.profile-session h2{font:600 13px var(--ui-font);margin:0 0 6px}
.profile-session p{font-size:12px;line-height:1.5;color:#64707b;margin:0;text-wrap:pretty}
.profile-session button{white-space:nowrap;flex-shrink:0}
.workspace-title p,.profile-help{text-wrap:pretty}
@media(max-width:600px){.workspace-page .builder-brand{flex:0 0 58px}.workspace-page .builder-brand img{width:58px}.workspace-page .builder-topnav{margin-left:auto}.workspace-page .builder-topnav a{padding:0 6px;font-size:11px}.workspace-page .beta-badge{padding:3px 4px;font-size:8px}.workspace-page .account-button{width:36px;height:36px}.deck-table th:first-child{width:62%}.deck-table th:nth-child(3){width:24%}.deck-table th:last-child{width:14%}.deck-menu-toggle{width:40px;height:40px}.profile-photo-row{gap:14px}.profile-avatar{width:68px;height:68px}.profile-form{padding:22px}.profile-session{gap:14px}}
@media(prefers-reduced-motion:reduce){.deck-table-wrap{transition:none}}
.profile-password-form{margin-top:24px}
.profile-password-title h2{margin:0;font:800 24px/1.2 var(--font-display);text-transform:uppercase}
.profile-password-title p{margin:8px 0 0;font-size:13px;line-height:1.6;color:#64707b;text-wrap:pretty}
.profile-password-form>.password-message,.profile-password-form>.password-message:empty{display:block;min-height:42px;margin:-8px 0;font-size:12px}
.profile-password-form>.auth-button{min-width:160px}
