:root{--ink:#17231e;--muted:#718078;--line:#e4ebe7;--bg:#f4f7f5;--panel:#fff;--green:#167b58;--green2:#24a776;--lime:#dcf8c9;--danger:#d95858;--shadow:0 18px 55px rgba(26,58,45,.14)}*{box-sizing:border-box}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.18fr) minmax(380px,.82fr);background:#10251e;position:relative;overflow:hidden}.auth-brand{position:absolute;z-index:2;left:54px;top:40px;display:flex;align-items:center;gap:12px;color:#fff;font-weight:800;font-size:22px}.brand-mark{width:38px;height:38px;border-radius:12px;display:inline-grid;place-items:center;background:#dffcce;color:#164d39;font-weight:900;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}.auth-copy{padding:150px 8vw 70px;color:white;position:relative}.eyebrow{letter-spacing:.16em;font-size:11px;font-weight:800;color:#5f9b83;margin:0 0 14px}.auth-copy .eyebrow{color:#8ee3bd}.auth-copy h1{font-size:clamp(46px,5.2vw,76px);line-height:.98;letter-spacing:-.055em;margin:0 0 26px;max-width:720px}.auth-copy>p:not(.eyebrow){color:#b7cac1;max-width:520px;font-size:17px;line-height:1.65}.auth-card{align-self:center;justify-self:center;width:min(440px,calc(100% - 48px));background:#fff;border-radius:28px;padding:28px 34px 34px;box-shadow:0 40px 80px rgba(0,0,0,.28);z-index:2}.auth-tabs{display:flex;background:#f1f4f2;border-radius:12px;padding:4px;margin-bottom:34px}.auth-tabs button{border:0;background:transparent;padding:10px;flex:1;border-radius:9px;color:var(--muted);font-weight:700}.auth-tabs .active{background:#fff;color:var(--ink);box-shadow:0 3px 12px rgba(20,50,38,.08)}form h2{font-size:28px;margin:0 0 8px;letter-spacing:-.03em}form>p{color:var(--muted);margin:0 0 26px}label{display:grid;gap:8px;font-weight:650;margin:16px 0}input,textarea,select{border:1px solid #dce5e0;background:#fbfdfc;border-radius:12px;padding:13px 14px;outline:none;color:var(--ink)}input:focus,textarea:focus{border-color:#63b994;box-shadow:0 0 0 3px rgba(45,164,116,.11)}.primary,.secondary{border:0;border-radius:12px;font-weight:750;padding:13px 17px}.primary{background:var(--green);color:#fff;box-shadow:0 7px 20px rgba(22,123,88,.2)}.primary:hover{background:#106b4b}.wide{width:100%;display:flex;justify-content:center;gap:12px;margin-top:22px}.hint{display:block;text-align:center;color:#99a39e;margin-top:16px}.auth-visual{position:absolute;inset:auto 0 -220px 0;height:570px}.orbit{position:absolute;border:1px solid rgba(180,255,218,.14);border-radius:50%}.o1{width:560px;height:280px;transform:rotate(8deg);left:4%;top:60px}.o2{width:420px;height:420px;left:23%;top:0}.floating-file{position:absolute;width:78px;height:96px;border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.05));backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.18);display:grid;place-items:center;font-size:12px;font-weight:800;color:#c9fbe1}.f1{left:18%;top:70px;transform:rotate(-8deg)}.f2{left:46%;top:20px;transform:rotate(9deg)}.f3{left:65%;top:170px;transform:rotate(-3deg)}
.app-shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{background:#11281f;color:#dce9e3;padding:25px 18px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:250px;z-index:10}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:850;padding:0 8px 24px}.new-button{border:0;border-radius:13px;background:#dffacb;color:#174632;padding:14px 18px;font-weight:800;text-align:left;margin:6px 0 25px}.new-button span{font-size:19px;margin-right:10px}.sidebar nav{display:grid;gap:4px}.nav{border:0;background:transparent;color:#9db2a9;padding:11px 13px;text-align:left;border-radius:10px;display:flex;align-items:center;gap:13px;font-weight:650}.nav span{width:19px;text-align:center;font-size:18px}.nav:hover,.nav.active{color:#fff;background:rgba(255,255,255,.08)}.storage{margin-top:auto;padding:18px 10px}.storage-title{display:flex;justify-content:space-between;font-size:12px;margin-bottom:9px}.storage-title b{color:#8bd4b4}.progress{height:5px;border-radius:4px;background:rgba(255,255,255,.12);overflow:hidden}.progress i{display:block;height:100%;width:0;background:#7bd7ac}.storage small{color:#789187;display:block;margin-top:8px}.profile{border:0;border-top:1px solid rgba(255,255,255,.1);background:transparent;color:#fff;margin:0 -2px;padding:18px 8px 0;display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;text-align:left}.profile>span:first-child{width:36px;height:36px;border-radius:50%;background:#bdedcc;color:#164c37;display:grid;place-items:center;font-weight:800}.profile b,.profile small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:132px}.profile small{color:#829b91;margin-top:3px;font-size:11px}.profile i{color:#6d837a;font-style:normal}main{grid-column:2;min-width:0}header{height:76px;background:rgba(255,255,255,.83);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 34px;gap:10px;position:sticky;top:0;z-index:5}.search{flex:1;max-width:690px;position:relative}.search span{position:absolute;left:14px;top:9px;font-size:23px;color:#829087}.search input{width:100%;padding:11px 50px 11px 43px;background:#f2f6f3;border:0}.search kbd{position:absolute;right:10px;top:10px;background:#fff;border:1px solid #dde5e0;border-radius:6px;padding:3px 7px;color:#87948d}.icon{border:1px solid var(--line);background:#fff;border-radius:10px;width:40px;height:40px;color:#5e6d65}.icon.active{background:#e9f6ee;color:var(--green);border-color:#d8ecdf}.mobile{display:none}.content{padding:36px 42px 70px;max-width:1500px;margin:auto}.title-row{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:27px}.title-row h1{font-size:32px;letter-spacing:-.035em;margin:5px 0 7px}.title-row p{color:var(--muted);margin:0}.breadcrumbs{display:flex;gap:6px}.breadcrumbs button{border:0;background:none;padding:0;color:#6d7f75;font-size:12px}.view-actions{display:flex;gap:9px}.secondary{background:#fff;border:1px solid #dfe8e3;color:var(--ink)}.dropzone{border:1.5px dashed #b9d7c7;border-radius:14px;background:#f4fbf6;padding:17px;text-align:center;display:none;gap:6px;color:#2c7658;margin-bottom:18px}.dropzone.show{display:grid}.dropzone span{font-size:12px;color:#739183}.table-wrap{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;min-height:260px}table{border-collapse:collapse;width:100%}th{text-align:left;padding:13px 18px;color:#829087;font-size:11px;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--line)}td{padding:14px 18px;border-bottom:1px solid #edf1ef;color:#617068}tbody tr{transition:.15s}tbody tr:hover{background:#f8fbf9}td:first-child{color:var(--ink);font-weight:650}.file-name{display:flex;align-items:center;gap:12px}.file-icon{width:38px;height:38px;border-radius:11px;background:#e6f4eb;display:grid;place-items:center;color:#23805c;font-size:11px;font-weight:800}.file-icon.pdf{background:#fff0ec;color:#d55c4d}.file-icon.image{background:#eef0ff;color:#665bd4}.file-icon.video{background:#f9edff;color:#9b4cc1}.row-menu{border:0;background:transparent;font-size:19px;color:#86938c;padding:8px}.empty{text-align:center;padding:55px;color:#87948d}.empty div{font-size:44px;color:#b5c7bd}.empty h3{color:#3a4a42;margin-bottom:6px}.popover{position:fixed;left:20px;top:105px;z-index:30;width:280px;background:#fff;border-radius:16px;padding:8px;box-shadow:var(--shadow);border:1px solid var(--line)}.popover button{border:0;background:transparent;width:100%;display:grid;grid-template-columns:40px 1fr;text-align:left;padding:11px;border-radius:10px}.popover button:hover{background:#f2f7f4}.popover span{grid-row:1/3;width:34px;height:34px;border-radius:9px;background:#e4f5e9;display:grid;place-items:center;color:var(--green)}.popover b{font-size:13px}.popover small{color:#84928b;margin-top:3px}.modal{position:fixed;inset:0;background:rgba(8,24,17,.52);backdrop-filter:blur(5px);z-index:50;display:grid;place-items:center;padding:18px}.modal-box{position:relative;width:min(740px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;padding:28px;box-shadow:var(--shadow)}.modal-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:27px;color:#839089}.modal h2{margin:0 35px 8px 0}.modal p{color:var(--muted)}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.preview{width:100%;max-height:60vh;object-fit:contain;border-radius:12px;background:#eef2ef}.editor{width:100%;min-height:48vh;resize:vertical;font-family:"Cascadia Code",monospace;line-height:1.6}.action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:20px}.action-grid button{padding:12px;border:1px solid var(--line);background:#f8fbf9;border-radius:10px}.toast{position:fixed;right:24px;bottom:24px;background:#183429;color:#fff;padding:13px 18px;border-radius:11px;box-shadow:var(--shadow);z-index:100;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:none}.toast.error{background:#8c3434}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.stat{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px}.stat small{color:var(--muted)}.stat b{display:block;font-size:27px;margin-top:10px}.admin-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.7fr);gap:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.panel-head{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.panel-head h2{font-size:17px;margin:0}.panel-head input{padding:8px 10px}.user{display:grid;grid-template-columns:1.4fr 1fr .8fr auto;gap:10px;align-items:center;padding:14px 20px;border-bottom:1px solid #edf1ef}.user small{display:block;color:var(--muted);margin-top:3px}.badge{padding:5px 9px;border-radius:20px;background:#e8f5ed;color:#267756;font-size:11px;font-weight:750;width:max-content}.badge.off{background:#f7eaea;color:#a34e4e}.user select{padding:7px}.audit{max-height:540px;overflow:auto}.event{padding:13px 18px;border-bottom:1px solid #edf1ef}.event b{font-size:12px}.event p{font-size:12px;margin:5px 0;color:var(--muted)}.event time{font-size:10px;color:#9aa69f}
@media(max-width:900px){.auth-shell{display:block;padding:85px 0 40px}.auth-copy{display:none}.auth-brand{left:24px;top:22px}.auth-card{margin:auto}.app-shell{display:block}.sidebar{transform:translateX(-100%);transition:.25s;box-shadow:var(--shadow)}.sidebar.open{transform:none}main{margin:0}.mobile{display:block}.content{padding:24px 18px 60px}header{padding:0 16px}.title-row{align-items:flex-start}.view-actions .icon{display:none}.stats{grid-template-columns:1fr 1fr}.admin-grid{grid-template-columns:1fr}.audit-panel{display:none}th:nth-child(2),th:nth-child(3),td:nth-child(2),td:nth-child(3){display:none}.popover{left:18px;top:85px}.user{grid-template-columns:1fr auto}.user>span:nth-child(2){display:none}}
@media(max-width:520px){.auth-card{width:calc(100% - 28px);padding:24px}.title-row{display:block}.view-actions{margin-top:18px}.content{padding-left:12px;padding-right:12px}th,td{padding:12px 10px}th:nth-child(4),td:nth-child(4){display:none}.stats{grid-template-columns:1fr}.action-grid{grid-template-columns:1fr}.search kbd{display:none}.modal-box{padding:22px 17px}}
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.svg-icon{width:20px;height:20px;display:inline-block;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.wide .svg-icon{width:18px;height:18px}.new-button{display:flex;align-items:center;gap:10px}.new-button .svg-icon{width:19px;height:19px}.nav .svg-icon{width:19px;height:19px}.profile>.svg-icon{width:20px;height:20px;color:#6d837a}.icon{display:inline-grid;place-items:center}.icon .svg-icon{width:19px;height:19px}.search>.svg-icon{position:absolute;left:14px;top:11px;width:19px;height:19px;color:#829087}.secondary{display:inline-flex;align-items:center;gap:8px}.secondary .svg-icon{width:17px;height:17px}.file-icon .svg-icon{width:21px;height:21px}.row-menu{display:inline-grid;place-items:center}.row-menu .svg-icon{width:20px;height:20px}.empty div>.svg-icon{width:44px;height:44px}.popover span .svg-icon{width:19px;height:19px}.modal-close{display:grid;place-items:center;width:36px;height:36px}.modal-close .svg-icon{width:21px;height:21px}
.icon.mobile{display:none}@media(max-width:900px){.icon.mobile{display:inline-grid}}
.nav-divider{height:1px;background:rgba(255,255,255,.09);margin:9px 10px}.view-actions{align-items:center;flex-wrap:wrap}.compact-select{padding:9px 32px 9px 12px;background:#fff;border-color:var(--line);height:40px}.layout-switch{display:flex}.layout-switch .icon{border-radius:0}.layout-switch .icon:first-child{border-radius:10px 0 0 10px}.layout-switch .icon:last-child{border-radius:0 10px 10px 0;margin-left:-1px}.selection-bar{display:flex;align-items:center;gap:12px;min-height:50px;padding:8px 12px 8px 16px;margin:-10px 0 16px;background:#e7f3eb;border:1px solid #d2e8da;border-radius:12px;color:#37614e}.selection-bar b{color:#183c2d}.selection-bar span{font-size:12px}.selection-bar .icon{margin-left:auto;background:transparent;border:0}.table-wrap tr.selected{background:#eaf4ed}.item-star{display:inline-flex;color:#d29a21}.item-star .svg-icon{width:15px;height:15px;fill:currentColor}.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;padding:18px;background:var(--bg)}.file-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;min-width:0;transition:.15s}.file-card:hover{box-shadow:0 7px 22px rgba(29,65,49,.1);border-color:#bfd5c9}.file-card.selected{background:#eaf4ed;border-color:#80b79c;box-shadow:0 0 0 2px rgba(49,132,93,.12)}.card-menu{position:absolute;right:8px;top:8px;border:0;background:rgba(255,255,255,.85);color:#6e7c75;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;z-index:2}.card-menu .svg-icon{width:18px}.card-preview{height:116px;border-radius:10px;background:#edf5f0;display:grid;place-items:center;color:#32805e}.card-preview .svg-icon{width:48px;height:48px}.card-preview.image{background:#eef0ff;color:#665bd4}.card-preview.video{background:#f9edff;color:#9b4cc1}.card-preview.pdf{background:#fff0ec;color:#d55c4d}.card-name{display:flex;align-items:center;gap:7px;font-weight:700;padding:11px 3px 5px;white-space:nowrap;overflow:hidden}.card-name>span:last-child{overflow:hidden;text-overflow:ellipsis}.file-card>small{display:block;color:#87948d;padding:0 3px}.details-panel{position:fixed;right:0;top:76px;bottom:0;width:340px;background:#fff;border-left:1px solid var(--line);z-index:8;box-shadow:-12px 0 30px rgba(34,61,49,.08);overflow:auto}.details-head{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--line)}.details-head h2{font-size:18px;margin:0}.details-content{padding:22px}.details-file{text-align:center;padding:10px 0 24px}.details-file .file-icon{width:58px;height:58px;margin:auto}.details-file .file-icon .svg-icon{width:31px;height:31px}.details-file h3{font-size:16px;word-break:break-word}.details-content dl{display:grid;grid-template-columns:95px 1fr;gap:13px 8px;border-top:1px solid var(--line);padding-top:20px}.details-content dt{color:#839088}.details-content dd{margin:0;word-break:break-word}.details-content label{margin-top:24px}.help-list{display:grid;gap:2px}.help-list p{margin:0;padding:12px 0;border-bottom:1px solid var(--line);color:#52625a}.activity-list{max-height:60vh;overflow:auto}
.card-preview.thumbnail{overflow:hidden;background:#e9eeeb}.card-preview.thumbnail img{width:100%;height:100%;display:block;object-fit:cover}
@media(max-width:900px){.compact-select{display:none}.layout-switch{display:none}.details-panel{top:0;width:min(360px,92vw);z-index:20}.selection-bar span{display:none}.file-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:10px}.card-preview{height:92px}.view-actions{margin-top:18px}.view-actions #details-btn{display:inline-grid}.sidebar nav{overflow:auto}.sidebar{padding-bottom:12px}}
@media(max-width:520px){.file-grid{grid-template-columns:1fr 1fr}.card-preview{height:80px}.file-card{padding:9px}.card-name{font-size:12px}.file-card>small{font-size:10px}.title-row h1{font-size:28px}.selection-bar{margin-top:0}}
#selection-bar[hidden]{display:none!important}
.sidebar-close{display:none;position:absolute;right:14px;top:24px;width:38px;height:38px;border:0;border-radius:10px;background:rgba(255,255,255,.08);color:#dce9e3;place-items:center}.sidebar-close:hover{background:rgba(255,255,255,.14)}.sidebar-close .svg-icon{width:21px;height:21px}.sidebar-backdrop{display:none}.nav-open{overflow:hidden}@media(max-width:900px){.sidebar-close{display:grid}.sidebar-backdrop{display:block;position:fixed;inset:0;border:0;background:rgba(8,24,17,.48);backdrop-filter:blur(2px);z-index:9}.sidebar-backdrop[hidden]{display:none!important}.brand{padding-right:48px}}
.upload-center{position:fixed;right:24px;bottom:24px;width:min(380px,calc(100vw - 28px));background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);z-index:90;overflow:hidden;animation:panelIn .28s ease-out}.upload-center-head{display:flex;justify-content:space-between;padding:15px 17px;background:#173a2c;color:#fff}.upload-center-head span{color:#a9d8c4;font-size:12px}.upload-job{padding:13px 17px;border-top:1px solid var(--line);animation:fileIn .25s ease-out}.upload-job>div:first-child{display:flex;justify-content:space-between;gap:12px}.upload-job b{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.upload-status{font-size:11px;color:var(--muted)}.upload-job.done .upload-status{color:var(--green)}.upload-job.failed .upload-status{color:var(--danger)}.upload-track{height:4px;background:#e6eee9;border-radius:4px;margin-top:9px;overflow:hidden}.upload-track i{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--green),#66c99e);border-radius:4px;transition:width .18s ease}.activity-button{position:relative}.activity-dot{position:absolute;right:7px;top:7px;width:7px;height:7px;border-radius:50%;background:#e55d52;box-shadow:0 0 0 2px #fff;animation:pulse 1.8s infinite}.modal{animation:fadeIn .18s ease-out}.modal-box{animation:modalIn .24s cubic-bezier(.2,.8,.2,1)}tbody tr,.file-card{animation:fileIn .24s ease-out}.toast.show{animation:toastIn .24s ease-out}.sidebar{will-change:transform}.nav,.icon,.secondary,.primary,.new-button{transition:background .18s ease,color .18s ease,border-color .18s ease,transform .15s ease}.icon:active,.secondary:active,.primary:active,.new-button:active{transform:scale(.96)}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes modalIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}@keyframes panelIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}@keyframes fileIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes toastIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.45);opacity:.65}}@media(max-width:600px){.upload-center{right:14px;bottom:14px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.danger{border:1px solid #f0caca!important;background:#fff4f4!important;color:#a43f3f!important;border-radius:12px;padding:12px 16px;font-weight:750}.danger:hover{background:#fce8e8!important}.auth-link{display:block;margin:16px auto 0;border:0;background:transparent;color:var(--green);font-weight:700}.check-label{display:flex;align-items:center;gap:10px}.check-label input{width:18px;height:18px}.user{grid-template-columns:1.4fr 1fr .8fr auto 40px}.session-row{display:grid;grid-template-columns:1fr auto}.session-row p,.session-row time{grid-column:1}.session-row .revoke-session{grid-column:2;grid-row:1/4;align-self:center}@media(max-width:900px){.user{grid-template-columns:1fr auto auto}.user .role{display:none}.title-row{flex-wrap:wrap}.title-row>.view-actions{width:100%;flex-wrap:wrap}}
.preview-stage{position:relative;min-height:320px;border-radius:14px;background:#eef2ef;overflow:hidden;display:grid;place-items:center}.preview-stage .preview{margin:0;background:transparent}.preview-loading{min-height:320px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:34px;text-align:center;color:#355246}.preview-loading span{color:var(--muted);font-size:12px}.preview-spinner{width:42px;height:42px;border:4px solid #d8e7df;border-top-color:var(--green);border-radius:50%;animation:previewSpin .75s linear infinite;margin-bottom:5px}.preview-loading.error{color:#8c3434}.preview-loading.error>.svg-icon{width:42px;height:42px}.preview-retry{margin-top:7px}.preview-image{opacity:0;transform:scale(.99);transition:opacity .22s ease,transform .22s ease}.preview-image.loaded{opacity:1;transform:none}@keyframes previewSpin{to{transform:rotate(360deg)}}@media(max-width:520px){.preview-stage,.preview-loading{min-height:230px}}
.office-stage{min-height:420px;max-height:62vh;overflow:auto;border:1px solid var(--line);border-radius:14px;background:#dfe4e1;padding:22px}.office-stage .office-loading{min-height:370px;border-radius:8px;background:#fff}.office-preview{width:min(720px,100%);min-width:0;min-height:620px;margin:0 auto;background:#fff;padding:64px 70px;box-shadow:0 7px 24px rgba(32,50,42,.12);color:#202521;line-height:1.58;overflow-wrap:anywhere;opacity:0;transform:translateY(5px);transition:opacity .2s ease,transform .2s ease}.office-preview.loaded{opacity:1;transform:none}.office-preview p{margin:0 0 12px;color:inherit}.office-preview h1,.office-preview h2,.office-preview h3,.office-preview h4,.office-preview h5,.office-preview h6{margin:22px 0 12px;line-height:1.25}.office-preview h1{font-size:28px}.office-preview h2{font-size:23px}.office-preview h3{font-size:19px}.office-preview .docx-list{position:relative;padding-left:24px}.docx-bullet{position:absolute;left:6px;top:0}.docx-image{display:block;max-width:100%;height:auto;margin:16px auto}.docx-table-wrap{max-width:100%;overflow:auto;margin:18px 0}.docx-table{border-collapse:collapse;width:100%}.docx-table td{border:1px solid #aeb8b2;padding:8px 10px;vertical-align:top;color:inherit;font-weight:400}.docx-table p{margin:0 0 6px}.docx-empty{text-align:center;color:var(--muted)!important;padding-top:150px}.office-retry{margin-top:8px}@media(max-width:600px){.office-stage{padding:8px;max-height:66vh}.office-preview{padding:34px 24px;min-height:520px}.office-stage .office-loading{min-height:330px}}
.modal-box.office-modal{width:min(1040px,100%);padding-bottom:20px}.office-toolbar{position:sticky;top:-28px;z-index:4;display:flex;align-items:center;gap:4px;margin:16px -8px 10px;padding:8px 10px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:12px;box-shadow:0 5px 18px rgba(28,55,43,.08)}.office-toolbar button{width:34px;height:34px;border:0;border-radius:7px;background:transparent;color:#43544b}.office-toolbar button:hover{background:#eaf3ed;color:var(--green)}.office-toolbar select{width:auto;min-width:150px;padding:8px 30px 8px 10px;border-radius:8px;background:#fff}.toolbar-divider{width:1px;height:24px;background:var(--line);margin:0 3px}.office-save-state{margin-left:auto;color:#8a9690;font-size:11px;white-space:nowrap}.office-preview.editing .docx-content[contenteditable="true"]{display:inline;min-width:1em;border-radius:4px;outline:1px dashed transparent;transition:background .15s,outline-color .15s}.office-preview.editing .docx-content[contenteditable="true"]:hover{background:#f1f8f4;outline-color:#b9d7c7}.office-preview.editing .docx-content[contenteditable="true"]:focus{background:#f5fbf7;outline:2px solid rgba(36,167,118,.28);box-shadow:0 0 0 4px rgba(36,167,118,.07)}.office-preview.editing .docx-content[contenteditable="false"]{cursor:not-allowed}.office-actions{align-items:center}.office-actions .office-download{margin-right:auto}.office-save:disabled{opacity:.65;cursor:wait}@media(max-width:700px){.modal-box.office-modal{padding:20px 12px}.office-toolbar{top:-20px;overflow-x:auto;margin-left:0;margin-right:0}.office-save-state{display:none}.office-toolbar select{min-width:132px}.office-actions{flex-wrap:wrap}.office-actions .office-download{margin-right:0}.office-actions>*{flex:1;justify-content:center}.office-meta{font-size:12px}}
.office-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;min-height:56px}.office-title-row h2{margin-bottom:5px}.office-title-row .office-meta{margin:0}.office-saving{display:grid;grid-template-columns:28px auto;grid-template-rows:auto auto;align-items:center;column-gap:9px;min-width:210px;padding:9px 12px;border-radius:11px;background:#eef7f2;color:#256548}.office-saving>i,.office-saving>.svg-icon{grid-row:1/3;width:24px;height:24px}.office-saving b{font-size:12px}.office-saving small{font-size:10px;color:#6f8077}.office-saving.saved{background:#e9f7ee;color:#167b58}.office-saving.failed{background:#fbecec;color:#973f3f}.mini-spinner,.button-spinner{display:inline-block;border-radius:50%;border:3px solid #cde1d6;border-top-color:var(--green);animation:previewSpin .7s linear infinite}.mini-spinner{width:24px;height:24px}.button-spinner{width:15px;height:15px;border-width:2px;margin-right:8px;vertical-align:-2px;border-color:rgba(255,255,255,.45);border-top-color:#fff}.modal.office-edit-mode{padding:0;background:#edf1ef;backdrop-filter:none}.modal-box.office-modal.office-editing{position:fixed;inset:0;width:100%;max-height:none;height:100vh;border-radius:0;padding:18px 24px;overflow:hidden}.office-modal.office-editing #modal-body{height:100%;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto}.office-modal.office-editing .modal-close{top:17px;right:18px}.office-modal.office-editing .office-title-row{padding-right:45px}.office-modal.office-editing .office-toolbar{position:relative;top:auto;margin:6px 0 10px}.office-modal.office-editing .office-stage{max-height:none;min-height:0;height:auto;overflow-y:auto;overflow-x:auto;overscroll-behavior:contain;touch-action:pan-y pan-x;scrollbar-gutter:stable;border-radius:10px}.office-modal.office-editing .office-actions{margin-top:10px}.office-modal.office-editing .office-preview{min-height:calc(100vh - 240px)}@media(max-width:700px){.office-title-row{display:block}.office-saving{position:absolute;right:54px;top:13px;min-width:0;padding:7px 9px}.office-saving small{display:none}.modal-box.office-modal.office-editing{padding:12px 10px}.office-modal.office-editing .office-title-row{padding-right:42px}.office-modal.office-editing .office-toolbar{margin-top:4px}}
[hidden]{display:none!important}
.brand-mark{width:40px;height:40px;border-radius:12px;background:#dffcce;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5),0 5px 16px rgba(0,0,0,.16);overflow:hidden}.brand-mark img{display:block;width:36px;height:36px;object-fit:contain}
.office-stage{scrollbar-gutter:stable;overscroll-behavior:contain;touch-action:pan-y pan-x}.office-stage:focus-visible{outline:3px solid rgba(36,167,118,.28);outline-offset:2px}
.antivirus-badge{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;flex:0 0 auto}.antivirus-badge .svg-icon{width:13px;height:13px}.antivirus-badge.clean{color:#16835a;background:#e4f6eb}.antivirus-badge.pending{color:#256b9c;background:#e5f2fb;animation:pulse 1.8s infinite}.antivirus-badge.infected{color:#b73d3d;background:#fbe4e4}.antivirus-badge.error{color:#a36b18;background:#fff1d5}.antivirus-badge.unscanned{color:#819088;background:#edf1ef}
