.document-card{align-items:stretch}.document-open{display:flex;align-items:center;gap:12px;flex:1;min-width:0;background:transparent;color:inherit;text-align:left}.document-open>span:nth-child(2){display:grid;gap:4px;min-width:0}.document-open i{margin-left:auto;color:#8a77f7;font-style:normal}.document-card-actions{display:flex;align-items:center;gap:7px}.document-edit,.document-history,.document-delete{min-height:31px;padding:0 9px;border:1px solid #dfe2ec;border-radius:7px;background:#fff;color:#4e556a;font-size:11px;font-weight:800}.document-edit{border-color:#cbbfff;background:#f5f2ff;color:#6048e4}.document-history{color:#52657e}.document-delete{border-color:#ffd3d9;background:#fff5f6;color:#d74757}.file-icon.xlsx{background:#e7f8ee;color:#17864d}

/* Çalışma kitabı penceresi, tüm ekranı kaplayan katmanda gerçek merkeze yerleşir. */
.workbook-backdrop{position:fixed!important;inset:0!important;z-index:40!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:auto!important;padding:24px!important}
.workbook-modal{display:flex;flex:0 0 auto;flex-direction:column;width:min(1420px,calc(100vw - 48px))!important;max-width:calc(100vw - 48px)!important;max-height:calc(100dvh - 48px);margin:auto!important;padding:22px}.workbook-modal .modal-head{margin-bottom:12px}.workbook-modal .modal-head p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.workbook-tabs{display:flex;gap:7px;overflow:auto;padding:0 0 11px}.workbook-tabs button{flex:0 0 auto;min-height:32px;padding:0 12px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#667087;font-size:12px;font-weight:800}.workbook-tabs button.active{border-color:#aa9cff;background:#f2efff;color:#5c43dc}.workbook-grid-scroll{max-height:min(58vh,670px);overflow:auto;border:1px solid var(--line);border-radius:9px;background:#fff}.workbook-grid{min-width:max-content;border-collapse:separate;border-spacing:0}.workbook-grid th{position:sticky;top:0;z-index:2;padding:9px 12px;border:0;border-right:1px solid #e9ecf3;border-bottom:1px solid #dfe3ed;background:#f6f7fb;color:#687189;font-size:11px;text-align:center}.workbook-grid tbody th{left:0;z-index:1;background:#f9fafc}.workbook-grid td{padding:0;border-right:1px solid #eceef4;border-bottom:1px solid #eceef4}.workbook-grid td input{width:145px;height:32px;padding:0 8px;border:0;border-radius:0;background:transparent;color:#283047;font-size:12px;outline:none}.workbook-grid td input:focus{position:relative;z-index:3;box-shadow:inset 0 0 0 2px #7257f7;background:#faf9ff}.workbook-grid-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 2px 0;color:#838a9d;font-size:11px}.workbook-grid-actions .secondary{min-height:33px;font-size:12px}.workbook-limit{margin:0 0 10px;padding:10px 12px;border:1px solid #ffe4ad;border-radius:8px;background:#fff9ed;color:#87601a;font-size:12px;line-height:1.45}.workbook-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px}.workbook-footer small{max-width:590px;color:#737b90;font-size:11px;line-height:1.45}.workbook-footer>div{display:flex;gap:9px}.workbook-history-modal{width:min(720px,calc(100vw - 48px))!important}.workbook-version-list{display:grid;gap:9px;max-height:60vh;overflow:auto}.workbook-version{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px;border:1px solid var(--line);border-radius:9px}.workbook-version.current{border-color:#bcaeff;background:#f8f6ff}.workbook-version>div{display:grid;gap:3px;min-width:0}.workbook-version b{font-size:13px}.workbook-version small,.workbook-version em{color:#798197;font-size:11px;font-style:normal}.workbook-version .secondary{flex:0 0 auto;font-size:11px;min-height:34px}

@media(max-width:760px){.document-card{display:block}.document-card-actions{padding-top:10px}.workbook-backdrop{align-items:flex-start!important;padding:10px!important}.workbook-modal{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 20px);padding:15px}.workbook-footer{align-items:stretch;flex-direction:column}.workbook-footer>div{justify-content:flex-end}.workbook-grid-scroll{max-height:56vh}.workbook-grid td input{width:116px}.workbook-version{align-items:flex-start;flex-direction:column}.workbook-version .secondary{width:100%}}
