.cabinet-tabs{display:flex;align-items:center;gap:4px;margin-left:auto;margin-right:22px;min-width:0}.cabinet-tab{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 11px;border-radius:8px;color:#99998d;font-size:11px;white-space:nowrap;transition:background .2s,color .2s}.cabinet-tab .icon{width:15px;height:15px}.cabinet-tab:hover{color:#24241e;background:#f0f0ea}.cabinet-tab.active{background:#e9e9e1;color:#24241e}.header-notes{min-height:36px;padding:0 11px;border:1px solid #deded5;background:transparent;color:#77776d;font-size:11px;gap:7px}.header-notes .icon{width:15px;height:15px}.header-notes:hover{background:#efefe8;color:#22221d}.notes-shell{max-width:1440px;margin:0 auto;min-height:calc(100vh - 108px)}.notes-route-loading{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg)}.notes-route-loading .transfer-spinner{width:24px;height:24px}.notes-unavailable{max-width:560px;margin:clamp(80px,13vh,140px) auto;padding:0 28px;text-align:center}.notes-empty-icon{width:64px;height:64px;margin:0 auto 24px;border:1px solid #deded5;background:#eeeeE7;border-radius:18px;display:flex;align-items:center;justify-content:center;color:#77776d}.notes-empty-icon .icon{width:29px;height:29px}.notes-unavailable .eyebrow{justify-content:center}.notes-unavailable h1{font-size:42px;letter-spacing:-2px;font-weight:500;margin:17px 0}.notes-unavailable p{font-size:13px;line-height:1.7;color:#929287;margin:0 auto 28px;max-width:430px}.minimal-account-actions .header-notes{margin-right:3px;border:0}.minimal-account-actions .header-notes .icon{width:18px;height:18px}@media(max-width:1150px){.cabinet-tabs{margin-right:10px}.cabinet-tab{padding:0 8px;font-size:10px}.header-notes{padding:0 8px}.notes-shell{min-height:calc(100vh - 92px)}}@media(max-width:850px){.site-header:not(.minimal-header){gap:13px}.cabinet-tabs{order:3;flex:1;justify-content:flex-end;margin:0}.cabinet-tab{padding:0 8px;min-height:34px}.main-nav{margin-left:20px}.site-header:not(.minimal-header) .header-actions{gap:5px}.site-header:not(.minimal-header) .header-actions .header-drive{display:none}.site-header:not(.minimal-header) .header-actions .header-plans{font-size:0;gap:0}.site-header:not(.minimal-header) .header-actions .header-plans:before{content:'✦';font-size:14px}.notes-shell{min-height:calc(100vh - 86px)}}@media(max-width:640px){.site-header:not(.minimal-header){height:76px;padding:0 14px;gap:7px}.site-header:not(.minimal-header) .brand>span:nth-child(2){display:none}.site-header:not(.minimal-header) .brand{gap:0}.site-header:not(.minimal-header) .brand-mark{width:35px;height:35px}.site-header:not(.minimal-header) .main-nav{display:none}.cabinet-tabs{gap:2px;justify-content:center;margin:0 1px}.cabinet-tab{width:36px;height:36px;min-height:36px;padding:0;border-radius:9px}.cabinet-tab span{display:none}.cabinet-tab .icon{width:17px;height:17px}.site-header:not(.minimal-header) .header-actions{margin-left:auto}.site-header:not(.minimal-header) .header-actions .header-plans,.site-header:not(.minimal-header) .header-actions .mobile-logout{display:none}.notes-shell{min-height:calc(100vh - 76px)}.notes-unavailable{margin-top:70px;padding:0 21px}.notes-unavailable h1{font-size:34px}.minimal-account-actions .header-notes{padding:0 5px;min-width:32px}.minimal-account-actions .header-notes span{display:none}.minimal-account-actions .header-notes .icon{width:18px;height:18px}.minimal-account-actions{gap:5px}}

/* Cabinet layout refinement: a calmer hierarchy and larger touch targets. */
.drive-main{grid-template-columns:256px minmax(0,1fr)}
.drive-sidebar{padding:38px 26px 0 34px;background:linear-gradient(180deg,#fafaf7 0%,#f7f7f3 100%)}
.sidebar-item{min-height:44px;padding:0 13px;margin:4px -5px;border:1px solid transparent;font-size:12px;transition:background .18s ease,border-color .18s ease,color .18s ease}
.sidebar-item:hover{background:#f0f0e9;border-color:#e6e6dc;color:#33332c}
.sidebar-item.active{background:#e8e8df;border-color:#dfdfd5;box-shadow:inset 0 1px #ffffffa8}
.sidebar-bottom{padding-top:56px}
.storage-bar{height:5px;margin-top:14px;background:#e5e5dc}
.drive-content{padding:42px clamp(34px,4.4vw,64px) 0}
.drive-title-row{margin:30px 0 34px}
.drive-title-row h1{font-size:clamp(40px,3.2vw,52px);letter-spacing:-2.6px}
.drive-toolbar{padding:18px 0}
.search-field{max-width:360px;min-height:38px;padding:0 12px;border:1px solid #e4e4da;border-radius:10px;background:#fff}
.search-field:focus-within{border-color:#bbbbae;box-shadow:0 0 0 3px #edede5}
.search-field>input{font-size:12px}
.drive-tools>.button{min-height:38px;border-radius:9px;font-size:10px;background:#fff}
.drive-tools>.button:hover{background:#f3f3ed;border-color:#d2d2c6}
.folder-grid{gap:14px}
.folder-card{background:#f4f4ed;border-radius:12px}
.folder-open{min-height:86px;padding:20px 16px}
.file-grid{gap:17px}
.drive-file{border-radius:12px;background:#fff;box-shadow:0 2px 8px #00000006}
.drive-file:hover{box-shadow:0 12px 28px #0000000d;border-color:#c8c8ba}
.drive-file-info{padding:14px 34px 15px 14px}
.drive-file-info>strong{font-size:11px}
.drive-file-info>span{font-size:9px;margin-top:7px}
.file-menu{width:28px;height:28px;right:7px;bottom:11px;border-radius:7px}
.file-menu:hover{background:#eeeeE7}
.file-select{width:24px;height:24px;left:10px;top:10px;border-radius:7px}
.drive-empty{padding:90px 15px 82px}
.selection-inner{border:1px solid #ddddcf;box-shadow:0 7px 22px #0000000a}
@media(max-width:1100px) and (min-width:851px){.drive-main{grid-template-columns:224px minmax(0,1fr)}.drive-sidebar{padding-left:24px;padding-right:20px}.drive-content{padding-left:34px;padding-right:34px}.search-field{max-width:280px}.drive-title-row h1{font-size:42px}}
@media(max-width:850px){.drive-content{padding:34px 38px 0}.drive-title-row{margin-top:24px}.search-field{min-height:36px}.drive-tools>.button{min-height:36px}}
@media(max-width:640px){.drive-content{padding:27px 20px 0}.drive-title-row{margin:22px 0 25px}.drive-title-row h1{font-size:36px}.drive-toolbar{margin-inline:-20px;padding-inline:20px;background:rgba(255,255,252,.97)}.search-field{min-height:38px}.file-grid{gap:12px}.folder-grid{gap:11px}.folder-open{min-height:76px}.drive-empty{padding:72px 0}.selection-inner{border-radius:10px}}

/* cabinet polish */
.drive-content{background:linear-gradient(180deg,#fcfcf9 0%,#fff 220px)}
.mobile-drive-account{padding:11px 13px;border:1px solid #e5e4da;border-radius:10px;background:#f8f8f3}
.mobile-drive-account .text-button{min-height:32px;padding:4px 8px;border-radius:6px}
.folder-card,.drive-file{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.folder-card:hover,.drive-file:hover{transform:translateY(-2px);box-shadow:0 9px 24px rgba(31,31,25,.07)}
@media(max-width:850px){.drive-toolbar{position:sticky;top:86px;z-index:5;background:rgba(255,255,252,.96);backdrop-filter:blur(10px)}.mobile-drive-account{margin-bottom:20px}}
@media(max-width:640px){.drive-toolbar{top:76px}.mobile-drive-account>div{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.mobile-drive-account .text-button{text-align:left;min-height:34px}.drive-toolbar{margin-inline:-23px;padding-inline:23px}.folder-card:hover,.drive-file:hover{transform:none;box-shadow:none}.drive-file:active,.folder-card:active{transform:scale(.99)}}
