.db-view{min-width:0}.db-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px}.db-heading h1{margin:0 0 9px;font-size:31px;line-height:1.2}.db-heading>div>p:last-child{font-size:14px;line-height:1.7;color:#77816e;margin:0}.db-heading>.button{white-space:nowrap;min-height:50px;font-size:14px;padding:12px 18px}.db-connection{display:flex;align-items:center;gap:9px;flex-wrap:wrap;border:1px solid #dbe4d4;background:#f0f5eb;padding:13px 16px;border-radius:11px;color:#536b42;font-size:12px;line-height:1.5;margin-bottom:17px}.db-connection small{margin-left:auto;color:#7c8c6d;font-size:11px}.db-connection-dot{width:8px;height:8px;background:#6a8758;border-radius:50%;flex-shrink:0}.db-view .db-tabs{display:flex;gap:9px;align-items:stretch;overflow:auto;margin:0 0 17px;padding:0 0 3px;grid-template-columns:none}.db-view .db-tab{display:flex;align-items:center;justify-content:space-between;gap:15px;flex:1 0 auto;min-width:145px;min-height:59px;padding:13px 16px;border:1px solid #dce3d6;border-radius:11px;background:#fff;color:#697b59;font-size:13px;line-height:1.5;white-space:nowrap}.db-view .db-tab>b{font-size:12px;color:#869575;border:1px solid #e1e8da;background:#f5f7f0;border-radius:6px;padding:2px 7px;min-width:28px;text-align:center}.db-view .db-tab.is-current{background:#eef4e7;border-color:#91ab7b;color:#3e5d2c}.db-view .db-tab.is-current>b{border-color:#c6d7b7;color:#496c34;background:#f8fbf4}.db-view .db-tab:disabled{cursor:wait;opacity:.7}.db-message{margin:0 0 16px;padding:13px 16px;background:#f1f4ed;border:1px solid #dfe6d8;border-radius:9px;color:#6e7e60;font-size:13px;line-height:1.6}.db-message-error{color:#8c6030;background:#fff7e8;border-color:#ead4ad}.db-records{min-width:0;background:#fff;border:1px solid #dce3d5;border-radius:12px;overflow:hidden}.db-records-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;border-bottom:1px solid #e5eadf}.db-records-heading h2{font-size:18px;font-weight:500;color:#405632;margin:0}.db-records-heading>span{font-size:12px;line-height:1.5;color:#82916f}.db-table-scroll{overflow:auto;max-height:600px;overscroll-behavior:contain;min-width:0}.db-table{border-collapse:collapse;min-width:100%;width:max-content;max-width:none;font-size:12px;white-space:normal}.db-table th{position:sticky;top:0;z-index:1;text-align:left;background:#f4f6ef;border-top:0;border-bottom:1px solid #dfe6d7;color:#71825e;font-size:10px;font-weight:600;letter-spacing:.4px;padding:13px 17px;min-width:105px;max-width:260px;white-space:nowrap}.db-table td{vertical-align:top;height:auto;padding:14px 17px;border-bottom:1px solid #edf0e7;max-width:300px;line-height:1.6;color:#4d6040}.db-table tr:last-child td{border-bottom:0}.db-table tbody tr:hover{background:#fbfcf8}.db-cell-text{display:block;min-width:65px;max-width:270px;overflow-wrap:anywhere}.db-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;line-height:1.7;min-width:130px;max-width:220px;color:#718260}.db-null{color:#b2baa9}.db-flag{display:inline-flex;align-items:center;justify-content:center;min-width:33px;font-size:11px;color:#869076;background:#f1f3eb;border-radius:5px;padding:3px 7px}.db-flag-yes{color:#4e713a;background:#edf5e6}.db-json{min-width:110px;max-width:300px}.db-json summary{cursor:pointer;min-height:32px;padding:3px 0;font-size:11px;color:#657e52;line-height:1.8;white-space:nowrap}.db-json pre{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;line-height:1.7;background:#f5f7f0;border:1px solid #e2e8d9;border-radius:7px;padding:10px;margin:7px 0 0;max-height:260px;overflow:auto;min-width:220px;max-width:280px;white-space:pre-wrap;overflow-wrap:anywhere;color:#6c7f5b}.db-table .db-empty,.db-empty{padding:35px 20px;text-align:center;color:#8d9a7d;font-size:13px;line-height:1.7}.db-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:13px;padding:15px 18px;background:#fafbf7;border-top:1px solid #e4eadc}.db-pagination>span{font-size:11px;line-height:1.6;color:#7f8f6b}.db-pagination>div{display:flex;gap:8px}.db-pagination .button{min-height:45px;padding:10px 14px;font-size:12px;line-height:1.4}.db-pagination .button:disabled{opacity:.45}.db-table-scroll:focus-visible{outline:3px solid #799363;outline-offset:-3px}
@media(max-width:650px){.db-heading{align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:16px}.db-heading h1{font-size:27px}.db-heading>div>p:last-child{font-size:12px;line-height:1.7}.db-heading>.button{min-height:46px;padding:10px 14px;font-size:12px}.db-connection{padding:11px 13px;font-size:11px;gap:7px}.db-connection small{margin-left:0;flex-basis:100%;padding-left:15px;font-size:10px}.db-view .db-tabs{gap:8px}.db-view .db-tab{min-width:140px;min-height:52px;padding:11px 13px;font-size:12px;gap:12px}.db-records-heading{padding:15px}.db-records-heading h2{font-size:16px}.db-records-heading>span{font-size:10px}.db-table-scroll{max-height:520px}.db-table th{padding:11px 13px;font-size:9px}.db-table td{padding:12px 13px;font-size:11px}.db-cell-text{max-width:220px}.db-mono{font-size:9px}.db-pagination{padding:13px;gap:11px;align-items:stretch}.db-pagination>span{flex-basis:100%;font-size:10px}.db-pagination>div{width:100%}.db-pagination .button{flex:1;min-height:46px;font-size:11px}.db-message{font-size:12px;padding:12px 13px}}

@media(min-width:1051px){body[data-role="admin"] nav{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(min-width:761px) and (max-width:1050px){body[data-role="admin"] nav{grid-template-columns:repeat(3,minmax(0,1fr))}}
.sheets-card{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid #d6e2cd;border-radius:14px;padding:24px;margin-bottom:18px}.sheets-icon{display:grid;place-items:center;width:58px;height:65px;background:#e9f3e2;color:#477336;font-size:34px;border-radius:10px;flex:none}.sheets-copy{flex:1}.sheets-copy strong{font-size:17px;color:#38582c}.sheets-copy p{font-size:12px;line-height:1.6;color:#78856e;margin:6px 0 0}.sheets-actions{display:flex;gap:9px;flex-wrap:wrap}.sheets-actions .button{min-height:46px;font-size:12px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.sheets-pending,.sheets-error,.sheets-not_configured{border-color:#e3d8bd;background:#fffdf7}.sheets-pending .sheets-copy strong,.sheets-error .sheets-copy strong,.sheets-not_configured .sheets-copy strong{color:#937232}@media(max-width:850px){.sheets-card{flex-wrap:wrap;padding:18px;gap:12px}.sheets-actions{flex-basis:100%}.sheets-actions .button{flex:1}.sheets-icon{width:44px;height:52px;font-size:29px}.sheets-copy strong{font-size:15px}}
