:root{--oa-primary: #2563EB;--oa-primary-soft: #EFF6FF;--oa-bg: #F6F8FB;--oa-surface: #FFFFFF;--oa-border: #E6EAF2;--oa-text: #0F172A;--oa-text-secondary: #475569;--oa-text-muted: #94A3B8;--oa-success: #16A34A;--oa-warning: #D97706;--oa-danger: #DC2626;--oa-radius: 12px;--oa-shadow: 0 1px 2px rgba(15, 23, 42, .06);color-scheme:light}*{box-sizing:border-box}html,body,#app{margin:0;padding:0;min-height:100%;height:100%}body{background:var(--oa-bg);color:var(--oa-text);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,HarmonyOS Sans SC,Microsoft YaHei,system-ui,sans-serif;font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}.oa-page{padding:24px;max-width:1440px;margin:0 auto}.oa-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px}.oa-page-title{margin:0;font-size:22px;line-height:30px;font-weight:650;letter-spacing:-.01em}.oa-page-subtitle{margin:4px 0 0;color:var(--oa-text-muted);font-size:13px}.oa-card{background:var(--oa-surface);border:1px solid var(--oa-border);border-radius:var(--oa-radius);box-shadow:var(--oa-shadow)}.oa-empty{padding:40px 20px;text-align:center;color:var(--oa-text-muted)}.oa-muted{color:var(--oa-text-muted)}.oa-secondary{color:var(--oa-text-secondary)}@media (max-width: 900px){.oa-page{padding:16px}}table.oa-table,table.file-table,table.acl-table,table.mini-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;background:transparent}table.oa-table thead th,table.file-table thead th,table.acl-table thead th,table.mini-table thead th{background:#f8fafc!important;color:#64748b!important;font-size:11px!important;font-weight:600!important;letter-spacing:.01em;padding:10px 12px!important;border-bottom:1px solid #E6EAF2!important;position:sticky;top:0;z-index:2;white-space:nowrap}table.oa-table tbody td,table.file-table tbody td,table.acl-table tbody td,table.mini-table tbody td{padding:11px 12px!important;border-bottom:1px solid #F1F5F9!important;color:var(--oa-text-secondary);vertical-align:middle;background:transparent}table.oa-table tbody tr:nth-child(2n) td,table.file-table tbody tr:nth-child(2n) td,table.acl-table tbody tr:nth-child(2n) td,table.mini-table tbody tr:nth-child(2n) td{background:#fcfdff}table.oa-table tbody tr:hover td,table.file-table tbody tr:hover td,table.acl-table tbody tr:hover td,table.mini-table tbody tr:hover td{background:#f5f9ff!important}table.oa-table tbody tr:last-child td,table.file-table tbody tr:last-child td,table.acl-table tbody tr:last-child td,table.mini-table tbody tr:last-child td{border-bottom:0!important}table.oa-table tbody tr:first-child td:first-child{border-top-left-radius:7px}table.oa-table tbody tr:first-child td:last-child{border-top-right-radius:7px}table.oa-table tbody tr:last-child td:first-child{border-bottom-left-radius:7px}table.oa-table tbody tr:last-child td:last-child{border-bottom-right-radius:7px}table.oa-table td strong{color:var(--oa-text);font-weight:600}table.oa-table td .oa-muted{font-size:11px}.oa-card>.oa-empty{margin:0}@media (max-width: 760px){table.oa-table thead th,table.file-table thead th{padding:8px!important}table.oa-table tbody td,table.file-table tbody td{padding:9px 8px!important}}table.oa-table td.right,table.file-table td.right{white-space:nowrap}table.oa-table td.right .n-button+.n-button,table.oa-table td.right button+button{margin-left:8px}table.oa-table td.right .n-button{padding:2px 3px}@media (max-width: 760px){html,body,#app{overflow-x:hidden}body{font-size:13px}.oa-page{padding:12px 10px 28px}.oa-page-header{flex-direction:column;align-items:stretch;gap:10px;margin-bottom:14px}.oa-page-title{font-size:20px;line-height:28px}.oa-page-subtitle{font-size:12px}.head-actions,.header-actions,.templates-head,.detail-head,.title-row,.section-head,.panel-head{flex-wrap:wrap;gap:8px}.head-actions .n-button,.header-actions .n-button{flex:1 1 auto}.oa-card,.panel{border-radius:10px}.oa-card,.panel{overflow-x:auto;-webkit-overflow-scrolling:touch}.oa-empty{padding:28px 14px}.form-row{grid-template-columns:1fr!important;gap:10px!important}.form-row>*{min-width:0;width:100%}.form-field input,.form-field select,.form-field textarea,.native-select{font-size:16px!important}.stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.stats .stat{padding:10px 12px;font-size:11px}.stats .stat strong{font-size:18px}.modal-actions{flex-wrap:wrap;justify-content:flex-end}.report-filter{flex-wrap:wrap;gap:8px}.report-filter label{width:100%}.report-filter input,.report-filter .n-input{width:100%!important;flex:1 1 100%!important}.tabs,.n-tabs-nav{overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}table.oa-table,table.file-table,table.acl-table,table.mini-table{min-width:620px}table.oa-table td.right,table.file-table td.right{white-space:nowrap}.n-modal-body-wrapper{align-items:flex-start!important;padding:0!important}.n-modal{width:100vw!important;max-width:100vw!important;height:100vh!important;min-height:100vh!important;max-height:100vh!important;margin:0!important;border-radius:0!important;transform:none!important}.n-modal>.n-card-header{padding:14px 16px}.n-modal>.n-card__content{max-height:calc(100vh - 118px);overflow-y:auto;-webkit-overflow-scrolling:touch;padding:14px 16px}.n-modal>.n-card__footer{padding:10px 16px}.topbar{height:56px;flex-basis:56px;padding:0 10px}.topbar-left{min-width:0;gap:8px}.topbar-left>div{min-width:0}.breadcrumb,.app-version{display:none!important}.topbar-title{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-right{gap:5px}.search-box{width:34px;height:34px;padding:0;justify-content:center;border:0;background:transparent}.search-box span,.search-box kbd{display:none}.n-drawer{width:100vw!important;max-width:100vw!important}.n-data-table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch}.n-form-item .n-form-item-label{font-size:12px}.messages-layout{grid-template-columns:1fr!important;height:auto!important;min-height:0!important}.messages-layout .conversations{max-height:230px}.messages-layout .chat{min-height:58vh}.share-preview{min-height:180px;padding:8px}.preview-body{min-height:160px!important;max-height:calc(100vh - 150px)!important}.preview-frame{height:62vh!important}.preview-image{max-height:62vh!important}.code-frame,.git-frame iframe{width:100%!important}}@media (max-width: 380px){.stats{grid-template-columns:1fr!important}.oa-page{padding:10px 8px 24px}.oa-page-title{font-size:18px}}@media (max-width: 760px){.files-toolbar{flex-direction:column;align-items:stretch;gap:10px}.toolbar-actions{width:100%;display:flex;flex-wrap:wrap;gap:8px}.toolbar-actions>*{flex:1 1 auto}.toolbar-actions .n-input{flex:1 1 100%}.file-table{min-width:0!important;width:100%!important;display:block}.file-table thead{display:none}.file-table tbody,.file-table tr,.file-table td{display:block;width:100%;box-sizing:border-box}.file-table tr{border:1px solid var(--oa-border);border-radius:10px;padding:12px;margin:0 0 10px;background:#fff}.file-table td{border:0!important;padding:0!important}.file-table td:nth-child(2),.file-table td:nth-child(3),.file-table td:nth-child(4){display:inline-block;width:auto!important;margin:7px 12px 0 0;font-size:11px;color:var(--oa-text-muted)}.file-table td:nth-child(2):before{content:"大小 "}.file-table td:nth-child(3):before{content:"版本 "}.file-table td:nth-child(4):before{content:"更新 "}.file-table td.right{display:flex;flex-wrap:wrap;gap:4px 14px;justify-content:flex-start;margin-top:10px;padding-top:9px!important;border-top:1px solid #F1F5F9!important;text-align:left;white-space:normal}.file-table td.right .n-button{min-height:30px;padding:0 2px}.file-name{min-width:0;align-items:flex-start}.file-copy .name{max-width:none;white-space:normal;word-break:break-all;line-height:1.45}.file-copy .meta{margin-top:3px}.oa-card:has(.file-table){overflow-x:visible}}
