.deckmind-dialog.deck-export-dialog{width:min(680px,100vw - 24px);max-width:680px}.deckmind-dialog.deck-collection-dialog{width:min(960px,100vw - 24px);max-width:960px}.deck-export-dialog,.deck-collection-dialog{max-height:calc(100dvh - 32px);font-size:14px;overflow-y:auto}.deck-tool-field{gap:6px;display:grid}.deck-buy-link{min-height:44px;color:var(--primary);overflow-wrap:anywhere;align-items:center;gap:8px;text-decoration:underline;display:inline-flex}.deck-buy-link:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.deck-tool-field input,.deck-tool-field select,.deck-tool-table input[type=number]{border:1px solid var(--border);background:var(--background);min-width:0;height:38px;color:var(--foreground);border-radius:4px;padding:6px 10px}.deck-export-preview,.deck-buy-preview{resize:vertical;border:1px solid var(--border);background:var(--muted);border-radius:4px;width:100%;min-height:260px;max-height:50dvh;padding:12px;font:13px/1.65 monospace}.deck-buy-preview{min-height:130px;margin-top:10px}.deck-tool-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.deck-tool-actions>span{font-variant-numeric:tabular-nums;margin-right:auto}.deck-tool-modes{border-bottom:1px solid var(--border);gap:20px;display:flex}.deck-tool-modes button{text-align:left;border-bottom:2px solid #0000;min-height:44px}.deck-tool-modes button[aria-pressed=true]{border-color:var(--primary);color:var(--primary)}.deck-tool-check{align-items:center;gap:9px;min-height:36px;display:flex}.deck-tool-note{color:var(--muted-foreground);font-size:13px;line-height:1.5}.deck-tool-table{max-height:44dvh;overflow:auto}.deck-tool-table table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.deck-tool-table th,.deck-tool-table td{text-align:left;border-bottom:1px solid var(--border);padding:10px 8px}.deck-tool-table thead th{background:var(--background);z-index:1;color:var(--muted-foreground);font-weight:500;position:sticky;top:0}.deck-tool-table tbody th{min-width:150px;font-weight:500}.deck-tool-table small{color:var(--muted-foreground);margin-top:4px;font-size:12px;display:block}.deck-tool-table input[type=number]{width:80px}.deck-tool-table input[type=checkbox],.deck-tool-check input{width:18px;height:18px;accent-color:var(--primary)}.deck-tool-modes button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.deck-card-ownership{z-index:2;color:#195c3f;pointer-events:none;background:#f5faf7;border-radius:3px;padding:2px 5px;font-size:12px;position:absolute;top:30px;right:5px}.deck-card-ownership[data-missing=true]{color:#704a12;background:#fff3dc}.visual-board .stacked-card[data-ownership]:before{content:"";z-index:4;box-sizing:border-box;pointer-events:none;border:0 solid #37c879;border-width:4px 0 0 4px;border-top-left-radius:7px;width:34px;height:24px;position:absolute;top:0;left:0}.visual-board .stacked-card[data-ownership=missing]:before{border-color:#f6ce46}.deck-list-ownership{color:var(--primary);font-size:12px;display:block}@media (max-width:480px){.deck-tool-actions>button{flex-grow:1}.deck-tool-actions>span{flex-basis:100%}}
.mobile-board-controls .board-display-fields{display:contents}.mobile-board-controls .board-mobile-toggle,.visual-board .board-mobile-action-label,.visual-board .board-mobile-flip,.board-card-list .board-mobile-list-hint,.board-card-list .board-mobile-list-price{display:none}@media (max-width:760px){.board-controls.board-browse-controls.mobile-board-controls,.account-workspace .consolidated-toolbar .board-controls.board-browse-controls.mobile-board-controls{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding-block:8px}.mobile-board-controls .board-display-fields{max-height:min(520px, max(120px, calc(100dvh - 210px - env(safe-area-inset-bottom))));overscroll-behavior:contain;scrollbar-gutter:stable;background:#fff;border:1px solid #dde3df;border-radius:14px;order:2;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:14px 10px;padding:16px;display:grid;overflow-y:auto}.mobile-board-controls .board-display-fields[hidden]{display:none}.mobile-board-controls .board-mobile-toggle{color:#385347;white-space:nowrap;background:#fff;border:1px solid #cdd8d1;border-radius:10px;order:1;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:0 12px;font-size:13px;font-weight:600;display:flex}.mobile-board-controls .board-mobile-toggle[aria-expanded=true]{background:#eaf3ed;border-color:#6b9b80}.mobile-board-controls .board-mobile-toggle:focus-visible{outline-offset:2px;outline:2px solid #277454}.board-mobile-filter-count{color:#fff;background:#277454;border-radius:10px;place-items:center;min-width:20px;height:20px;padding-inline:4px;font-size:11px;display:grid}.board-browse-controls.mobile-board-controls .board-query,.account-workspace .consolidated-toolbar .board-browse-controls.mobile-board-controls .board-query{order:0;grid-column:auto;justify-self:stretch;width:100%;max-width:none}.mobile-board-controls .board-query>label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.mobile-board-controls .board-local-filter-field{border-radius:10px}.mobile-board-controls .board-local-filter-input input,.account-workspace .consolidated-toolbar .board-browse-controls.mobile-board-controls .board-local-filter-input input{border-radius:10px;height:44px;padding-left:32px;padding-right:44px;font-size:16px}.mobile-board-controls .board-local-filter-input [data-slot=button]{width:44px;height:44px}.mobile-board-controls .board-display-fields .board-toolbar-field>label{font-size:13px}.mobile-board-controls .board-display-fields :is(select,input:not([type=checkbox])),.account-workspace .consolidated-toolbar .board-browse-controls.mobile-board-controls .board-display-fields select{min-height:44px;font-size:16px}.mobile-board-controls .board-display-fields .board-settings-trigger,.account-workspace .consolidated-toolbar .board-browse-controls.mobile-board-controls .board-settings-trigger{flex-basis:44px;width:44px;height:44px}.mobile-board-controls .board-mobile-filter-fields{border-top:1px solid #e3e9e5;grid-column:1/-1;padding-top:14px}.mobile-board-controls .board-mobile-filter-fields .board-extra-filters{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px;padding:0;display:grid}.mobile-board-controls .board-mobile-filter-fields label{color:#616d65;gap:5px;min-width:0;font-size:13px;display:grid}.mobile-board-controls .board-mobile-filter-fields fieldset{border:0;margin:0;padding:0}.mobile-board-controls .board-mobile-filter-fields legend{color:#616d65;margin-bottom:6px;font-size:13px}.mobile-board-controls .board-mobile-filter-fields :is(input,select){width:100%;min-width:0}.mobile-board-controls .board-mobile-filter-fields .board-filter-checkbox{grid-column:1/-1;align-items:center;gap:8px;min-height:44px;display:flex}.mobile-board-controls .board-mobile-filter-fields .board-filter-checkbox input{accent-color:#277454;flex-shrink:0;width:20px;height:20px}.mobile-board-controls .board-mobile-filter-fields :is(button,summary){min-height:44px}.mobile-board-controls .board-filter-colors>div{flex-wrap:wrap;gap:3px;display:flex}.mobile-board-controls .board-filter-colors button{width:44px;min-width:44px;height:44px}.mobile-board-controls .board-filter-footer{justify-content:space-between;align-items:center;gap:12px;margin-top:16px;display:flex}.mobile-board-controls .workspace-tour-trigger{order:3;justify-self:end;min-width:44px;min-height:44px}.board-touch-settings .board-settings-heading button,.board-touch-settings .board-empty-toggle{min-height:44px}.board-touch-settings .board-settings-heading button{min-width:44px}.deck-card-menu.board-touch-menu{overscroll-behavior:contain;border-radius:12px;max-height:min(80dvh,560px);overflow-y:auto}.deck-card-menu.board-touch-menu [role=menuitem],.deck-card-menu.board-touch-menu [role=menuitemradio]{min-height:44px;padding:10px 12px}.visual-board.mobile-friendly-board.board-layout-grid{grid-template-columns:minmax(0,1fr);gap:24px}.visual-board.mobile-friendly-board.board-layout-grid .deck-category{width:100%;min-width:0}.visual-board.mobile-friendly-board.board-layout-grid .card-stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.visual-board.mobile-friendly-board.board-layout-grid .stacked-card:not(:last-child){margin-bottom:0}.visual-board.mobile-friendly-board .stacked-card .deck-card-actions{color:#355342;opacity:1;pointer-events:auto;background:#fff;border:1px solid #d9e1dc;border-top:0;border-radius:0 0 8px 8px;flex-direction:row;align-items:center;width:100%;min-height:44px;margin:0;display:flex;position:static}.visual-board.mobile-friendly-board .stacked-card .deck-card-actions>button:not(.deck-card-more){display:none}.visual-board.mobile-friendly-board .stacked-card .deck-card-actions .deck-card-more{flex:auto;justify-content:center;align-items:center;gap:7px;width:auto;min-width:44px;height:44px;min-height:44px;padding:0 8px;font-size:12px;display:flex}.visual-board.mobile-friendly-board .board-mobile-action-label{display:inline}.visual-board.mobile-friendly-board .stacked-card>.card-face-toggle{display:none}.visual-board.mobile-friendly-board .board-mobile-flip{flex:0 0 44px;display:flex}.visual-board.mobile-friendly-board .board-mobile-flip .card-face-toggle{width:44px;min-width:44px;height:44px;min-height:44px;color:inherit;background:0 0;border-left:1px solid #d9e1dc;border-radius:0;display:grid;position:static}.visual-board.mobile-friendly-board .deck-card-actions button:hover:not(:disabled),.visual-board.mobile-friendly-board .deck-card-actions button[data-state=open]{color:#1d5f3b;background:#eaf3ed}.visual-board.mobile-friendly-board.board-layout-stacks .stacked-card:not(:last-child):is(:focus-within,[data-menu-open=true],.dragging){height:calc(100cqw * 680 / 488 + var(--card-price-height) + 44px)}.visual-board.mobile-friendly-board .stacked-card-price{height:auto;min-height:28px;padding-top:5px}.visual-board.mobile-friendly-board .deck-category-heading{padding-bottom:8px}.visual-board.mobile-friendly-board .board-card-list table{table-layout:fixed;width:100%}.visual-board.mobile-friendly-board .board-card-list .list-secondary{display:none}.visual-board.mobile-friendly-board .board-card-list .board-mobile-list-hint{color:#63736a;margin:0;padding:0 8px 12px;font-size:12px;line-height:1.5;display:block}.visual-board.mobile-friendly-board .board-card-list :is(th,td){padding:10px 8px}.visual-board.mobile-friendly-board .board-card-list .list-card-name{overflow-wrap:anywhere;min-width:0}.visual-board.mobile-friendly-board .board-card-list .card-name-button{text-align:left;color:#2f5f47;max-width:100%;min-height:44px;font-size:14px;line-height:1.45}.visual-board.mobile-friendly-board .board-card-list .list-printing{color:#79817c;font-size:11px}.visual-board.mobile-friendly-board .board-card-list .board-mobile-list-price{color:#52675a;font-variant-numeric:tabular-nums;margin-top:4px;font-size:12px;display:block}.visual-board.mobile-friendly-board .board-card-list .list-card-quantity{text-align:center;width:148px}.visual-board.mobile-friendly-board .board-card-list .quantity{width:132px;min-height:44px;display:inline-flex}.visual-board.mobile-friendly-board .board-card-list .quantity>button{flex:0 0 44px;width:44px;min-width:44px;height:44px}.visual-board.mobile-friendly-board .board-card-list .quantity>input{width:44px;min-width:0;height:44px;font-size:16px}.visual-board.mobile-friendly-board .board-card-list[data-read-only=true] .list-card-quantity{width:80px}.visual-board.mobile-friendly-board .board-card-list .list-group-heading th{overflow-wrap:anywhere;font-size:15px}.visual-board.mobile-friendly-board .board-card-list .list-group-count{margin-left:8px;font-size:12px;display:inline-block}}
