/* Compact spreadsheet surface: the table, not dashboard cards, is the main workspace. */
.sheet-mode .content{padding:0 20px 15px}.sheet-mode .topbar{height:48px}.sheet-mode .sidebar{width:188px;padding:20px 12px}.sheet-mode .main{margin-left:188px;width:calc(100% - 188px);min-width:680px}.sheet-mode .brand{font-size:16px;padding-bottom:20px}.sheet-mode .guide-card{display:none}.sheet-mode .workspace{margin-bottom:20px}.sheet-mode .nav-btn{font-size:13px}.sheet-title{display:flex;align-items:center;justify-content:space-between;padding:21px 3px 18px;gap:20px}.sheet-title h1{font-size:21px;display:flex;align-items:center;gap:10px;letter-spacing:0}.sheet-title h1 svg{color:#337f69;width:21px;height:21px}.sheet-subtitle{font-size:11px;color:#8995a3;margin-top:5px;display:block}.sheet-summary{display:flex;align-items:center;gap:8px;font-size:12px;color:#718096;white-space:nowrap}.sheet-summary b{color:#344454;font-size:15px}.sheet-summary>span{height:13px;width:1px;background:#dce3e8;margin:0 7px}#save-state{font-size:11px;color:#39866d}.save-error{color:#b14343!important}.sheet-views{display:flex;gap:4px;padding:0 5px;border-bottom:1px solid #dde4e9;overflow:auto}.sheet-view{display:flex;align-items:center;gap:7px;white-space:nowrap;padding:11px 17px;color:#768493;font-size:13px;border-bottom:2px solid transparent}.sheet-view svg{width:15px;height:15px}.sheet-view.active{background:#fff;color:#27745e;border-bottom-color:#27745e;border-radius:6px 6px 0 0;font-weight:600}.sheet-card{background:#fff;border:1px solid #dfe5eb;border-top:0;border-radius:0 0 7px 7px;overflow:hidden}.sheet-toolbar{display:flex;align-items:center;gap:9px;padding:11px 12px}.sheet-divider{height:19px;width:1px;background:#e2e7ec;margin:0 3px}.sheet-toolbar .search{max-width:270px}.sheet-toolbar .btn{min-height:32px;padding:6px 10px}.sheet-tip{display:flex;align-items:center;gap:5px;font-size:11px;padding:8px 15px;background:#f9fbfd;border-top:1px solid #eef1f4;color:#8b97a4}.sheet-tip span{margin-left:14px;color:#7b8a99}.sheet-tip kbd{font:10px Consolas,monospace;background:white;border:1px solid #e2e7ed;border-radius:3px;padding:0 4px}.sheet-scroll{overflow:auto;height:calc(100vh - 276px);min-height:350px;position:relative;background:repeating-linear-gradient(to bottom,#fff 0,#fff 39px,#edf0f4 39px,#edf0f4 40px);background-position:0 38px}.sheet-grid{table-layout:fixed;width:max-content;border-collapse:separate;border-spacing:0;font-size:13px}.sheet-grid th,.sheet-grid td{border-right:1px solid #e6ebf0;border-bottom:1px solid #e6ebf0;border-top:0;padding:0 11px;height:40px;max-height:40px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#344354;background:white;font-weight:400}.sheet-grid th{position:sticky;top:0;background:#f5f7fa;z-index:4;height:38px;font-size:12px;color:#617083}.sheet-grid .row-number{position:sticky;left:0;width:44px;min-width:44px;text-align:center;padding:0;background:#f9fafc;z-index:2;font-size:11px;color:#929daa}.sheet-grid th.row-number{z-index:7}.sheet-grid .account-fixed{position:sticky;left:44px;z-index:2;border-right:2px solid #dce5e9;background:#fff}.sheet-grid th.account-fixed{z-index:6;background:#f5f7fa}.sheet-grid td.account-fixed{color:#26394a;font-weight:500}.sheet-grid tbody tr:hover td{background:#f8fbfe}.sheet-grid .draft-row td{background:#fcfefd;color:#7d9189}.grid-cell.writable{cursor:cell}.grid-cell.writable:hover{box-shadow:inset 0 0 0 1px #90b8df;background:#f2f8ff!important}.grid-cell:focus-visible{outline:2px solid #418dd5;outline-offset:-2px}.grid-cell.editing{padding:0;box-shadow:inset 0 0 0 2px #418dd5!important;overflow:visible}.grid-editor{border:2px solid #418dd5;border-radius:0;background:white;width:100%;height:39px;padding:0 8px;color:#25384b;outline:none!important;font-size:13px;min-width:0}.field-type{color:#99a4b1;font-size:11px;margin-right:7px}.auto-mark{font-size:9px;color:#a0aab4;margin-left:7px}.grid-check{display:inline-flex;width:15px;height:15px;border:1px solid #bbc7d1;border-radius:3px;background:white;vertical-align:middle;align-items:center;justify-content:center;font-size:12px}.grid-check.checked{background:#3786d2;border-color:#3786d2;color:white}.grid-tag{background:#e9f3ee;border-radius:4px;padding:3px 7px;color:#35735c;font-size:12px}.grid-tag.red{background:#fde9e9;color:#b84747}.grid-tag.amber{background:#fff3d9;color:#98732d}.grid-tag.purple{background:#eeeafd;color:#7663a8}.grid-warning{color:#bc8046;font-size:11px}.grid-person{color:#48768f;font-size:12px}.cell-placeholder{color:#a8b4c0;font-weight:400;font-size:12px}.history-button{margin-left:8px;color:#8090a2;padding:0 5px}.sheet-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 15px;font-size:11px;color:#8a98a6;border-top:1px solid #dfe5eb;background:white;min-height:44px}.sheet-footer .btn{min-height:25px;padding:2px 9px}.sheet-grid .num-width{width:44px}.sheet-grid .col-account{width:200px}.sheet-grid .col-urgency{width:94px}.sheet-grid .col-contact_date{width:132px}.sheet-grid .col-contact_person{width:90px}.sheet-grid .col-sales_id{width:110px}.sheet-grid .col-product{width:118px}.sheet-grid .col-group_type{width:146px}.sheet-grid .col-channel{width:140px}.sheet-grid .col-license_type{width:106px}.sheet-grid .col-fee_category{width:116px}.sheet-grid .col-follow_status{width:110px}.sheet-grid .col-no_follow{width:108px}.sheet-grid .col-note{width:240px}.sheet-grid .col-fee{width:120px}.sheet-grid .col-payment_no{width:240px}.sheet-grid .col-pay_date{width:138px}.sheet-grid .col-manual_pay_date{width:138px}.sheet-grid .col-received_date{width:138px}.sheet-grid .col-fee_result{width:166px}.sheet-grid .col-warning{width:265px}.sheet-grid .col-filing_assignee{width:156px}.sheet-grid .col-cert_done{width:100px}.sheet-grid .col-handoff{width:110px}.sheet-grid .col-operation{width:118px}@media(max-width:1200px){.sheet-summary{display:none}.sheet-tip span{display:none}.sheet-toolbar .search{max-width:210px}.sheet-toolbar{gap:5px}.sheet-mode .content{padding:0 12px 10px}}@media(min-width:1800px){.sheet-grid th,.sheet-grid td{font-size:14px}.sheet-grid .field-type{font-size:12px}}

.sheet-mode .main{height:100vh;overflow:hidden}.sheet-mode .content{height:calc(100vh - 48px);display:flex;flex-direction:column}.sheet-title,.sheet-views,.sheet-toolbar,.sheet-tip,.sheet-footer{flex-shrink:0}.sheet-card{flex:1;min-height:0;display:flex;flex-direction:column}.sheet-scroll{height:auto;min-height:160px;flex:1}

.col-system_version{width:180px;min-width:180px}.version-note{padding:8px 15px;background:#fff8f0;color:#8b5b37;font-size:12px;border-top:1px solid #f0e5da}
