/* ClipWisdom V20.8: one visual entry point. Established editor and tool rules follow. */
:root{--cw-ink:#12234e; --cw-blue:#0876ff; --cw-muted:#5b7098; --cw-line:#dfebfb;
  --cw-shadow:0 18px 44px -25px rgba(28,86,169,.30),0 3px 9px -5px rgba(42,96,169,.13);
  font-family:"Plus Jakarta Sans", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color:var(--cw-ink); font-synthesis:none;}
button,input,select,textarea{font:inherit}
.hidden,[hidden]{display:none!important}
.cw-history-entry{padding:15px;border:1px solid #e0ebf9;border-radius:12px;background:#f8fbff;margin-bottom:12px;display:grid;gap:8px}
.cw-history-entry strong{font-size:12px;color:#395b83}
.cw-history-entry small{font-size:11px}
.cw-detail .account-attachment-view-row{display:flex;flex-direction:column;gap:8px;align-items:stretch;border:1px solid #e0eafb;border-radius:12px;padding:12px;margin-bottom:10px}
.cw-detail .account-attachment-name{font-size:12px;color:#2c497a;overflow-wrap:anywhere;word-break:break-word}
.cw-detail .account-attachment-meta{font-size:11px;color:#8194b2}
.cw-detail .account-attachment-actions{display:flex;gap:7px}
body:has(.cw-shell) .modal{border:1px solid #d8e6fa;border-radius:21px;background:linear-gradient(145deg,#fff,#f7fbff);box-shadow:0 28px 85px -22px #385d9670;color:var(--cw-ink)}
body:has(.cw-shell) .modal h2{font-size:24px;letter-spacing:-.025em;line-height:1.3}
body:has(.cw-shell) .modal-backdrop{background:rgba(27,50,84,.24)}
body:has(.cw-shell) .modal input,body:has(.cw-shell) .modal textarea,body:has(.cw-shell) .modal select{border-color:#d8e5f6;border-radius:10px;color:#25436e;font-size:14px}
body:has(.cw-shell) .modal .btn-primary{background:linear-gradient(#3693ff,#0873ff);border:1px solid #167df5;color:white;border-radius:11px}
body:has(.cw-shell) .modal .btn-secondary{background:#eef5fd;border:1px solid #dce7f7;color:#2c4874;border-radius:11px}
#languageSelect{display:none!important}
.settings-row:has(#languageSelect),label:has(>#languageSelect){display:none!important}
.cw-sidebar-heading{padding:3px 10px 12px;margin-bottom:8px;border-bottom:1px solid #e5eefb}
.cw-sidebar-heading h2{margin:0 0 3px;font-size:25px;line-height:1.12;font-weight:700;letter-spacing:-.035em;color:var(--cw-ink)}
.cw-sidebar-heading p{margin:0;font-size:12.5px;line-height:1.4;font-weight:600;color:#6b82a8}
.modal-close-x::before{content:'';position:absolute;left:50%;top:50%;width:15px;height:2px;border-radius:2px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg)}
.modal-close-x::after{content:'';position:absolute;left:50%;top:50%;width:15px;height:2px;border-radius:2px;background:currentColor;transform:translate(-50%,-50%) rotate(-45deg)}
body:has(.cw-shell) .modal-backdrop{background:rgba(19,45,80,.34);backdrop-filter:blur(8px) saturate(.94);padding:20px}
body:has(.cw-shell) .modal{color:var(--cw-ink);border:1px solid #d4e4f8;border-radius:24px;background:linear-gradient(148deg,#fff 0%,#fbfdff 58%,#f0f7ff 100%);box-shadow:var(--cw-shadow-strong);font-family:inherit}
body:has(.cw-shell) .modal h2{font-size:25px;font-weight:700;letter-spacing:-.035em;line-height:1.18;color:var(--cw-ink)}
body:has(.cw-shell) .modal h3{font-weight:700;color:#173767}
body:has(.cw-shell) .modal p,body:has(.cw-shell) .modal .muted{color:#687fa4;font-weight:600}
body:has(.cw-shell) .modal input,body:has(.cw-shell) .modal textarea,body:has(.cw-shell) .modal select{border:1px solid #d5e4f6;border-radius:12px;background:#fff;color:#244573;font-size:14px;box-shadow:inset 0 1px 1px rgba(33,79,135,.03)}
body:has(.cw-shell) .modal input:focus,body:has(.cw-shell) .modal textarea:focus,body:has(.cw-shell) .modal select:focus{border-color:#8bbcff;box-shadow:0 0 0 3px rgba(8,118,255,.10);outline:0}
body:has(.cw-shell) .modal .btn{min-height:40px;border-radius:11px;font-size:13px;font-weight:700}
body:has(.cw-shell) .modal .btn-primary{background:linear-gradient(180deg,#3d98ff,#0872f7);border:1px solid #167df5;color:white;box-shadow:0 8px 17px -12px #176ecb}
body:has(.cw-shell) .modal .btn-secondary{background:linear-gradient(145deg,#fff,#eef5fd);border:1px solid #d7e5f7;color:#274a78}
body:has(.cw-shell) .modal .btn-danger{background:#fff6f6;border:1px solid #f3d8dc;color:#bb4a5b}
body:has(.cw-shell) .secret-modal-window-head{min-height:82px;padding:17px 18px 15px 22px;background:linear-gradient(126deg,#fff 0%,#f4f9ff 58%,#e5f2ff 100%);border-bottom:1px solid #dce9f8;box-shadow:inset 0 1px 0 #fff}
body:has(.cw-shell) .secret-modal-window-head h2{font-size:25px;font-weight:700;letter-spacing:-.035em}
body:has(.cw-shell) .secret-modal-window-controls{gap:7px}
body:has(.cw-shell) .modal-close-x,body:has(.cw-shell) .modal-window-toggle{width:40px;height:40px;min-width:40px;border:1px solid #d7e5f6;border-radius:12px;background:linear-gradient(145deg,#fff,#eef5fd);color:#607ba2;box-shadow:0 7px 15px -13px #326ead;display:grid;place-items:center}
body:has(.cw-shell) .modal-close-x{font-size:0;line-height:1;position:absolute;top:15px;right:15px}
body:has(.cw-shell) .secret-modal-window-head .modal-close-x{position:relative;top:auto;right:auto}
body:has(.cw-shell) .modal-close-x:hover,body:has(.cw-shell) .modal-window-toggle:hover{background:#e7f2ff;color:#0872f7;border-color:#bedcff}
body:has(.cw-shell) .modal-window-toggle .window-toggle-icon{width:14px;height:12px;border-width:1.8px}
body:has(.cw-shell) .secret-modal-scroll{padding:18px 22px 24px;background:radial-gradient(circle at 100% 0%,#f0f7ff 0,transparent 28%),#fbfdff}
body:has(.cw-shell) .login-view-modal,body:has(.cw-shell) .note-view-modal{width:min(820px,calc(100vw - 44px));border-radius:25px}
body:has(.cw-shell) .login-view-modal .secret-view-content,body:has(.cw-shell) .note-view-modal .secret-view-content{display:grid;gap:12px;margin-top:4px}
body:has(.cw-shell) .login-view-modal .secret-view-field,body:has(.cw-shell) .note-view-modal .secret-view-field{padding:12px 13px;border:1px solid #dfeaf8;border-radius:14px;background:linear-gradient(145deg,#fff,#f5f9fe)}
body:has(.cw-shell) .login-view-modal .secret-view-label,body:has(.cw-shell) .note-view-modal .secret-view-label{font-size:12px;font-weight:700;color:#5a729a}
body:has(.cw-shell) .login-view-modal .secret-view-value,body:has(.cw-shell) .note-view-modal .secret-view-value{font-size:14px;color:#214473;font-weight:600}
body:has(.cw-shell) .secret-modal{border-radius:25px;background:linear-gradient(148deg,#fff,#fbfdff 58%,#eef6ff)}
body:has(.cw-shell) .secret-modal .secret-modal-workspace>section,body:has(.cw-shell) .secret-modal .password-generator,body:has(.cw-shell) .secret-modal .totp-editor,body:has(.cw-shell) .secret-modal .tags-editor,body:has(.cw-shell) .secret-modal .custom-fields-editor,body:has(.cw-shell) .secret-modal .attachments-editor{border-radius:15px}
body:has(.cw-shell) .space-modal-card,body:has(.cw-shell) .compact-confirm-modal,body:has(.cw-shell) .discard-changes-modal,body:has(.cw-shell) .app-confirm-modal,body:has(.cw-shell) .app-message-modal{width:min(590px,calc(100vw - 40px));padding:28px 28px 25px;border-radius:23px}
body:has(.cw-shell) .space-modal-card>h2,body:has(.cw-shell) .compact-confirm-modal h2,body:has(.cw-shell) .discard-changes-modal h2{padding-right:46px}
body:has(.cw-shell) .password-health-modal{width:min(760px,calc(100vw - 44px));padding:0;overflow:hidden;border-radius:25px}
body:has(.cw-shell) .password-health-modal-head{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 74px 19px 24px;background:linear-gradient(124deg,#fff 0%,#f3f9ff 58%,#e5f2ff 100%);border-bottom:1px solid #dce8f7}
body:has(.cw-shell) .password-health-modal-head h2{font-size:27px;margin:0 0 5px}
body:has(.cw-shell) .password-health-modal-head .muted{font-size:13.5px;line-height:1.5;margin:0}
body:has(.cw-shell) .password-health-content{display:grid;gap:12px;max-height:min(540px,calc(100dvh - 260px));overflow:auto;padding:18px 22px 12px;background:#fbfdff}
body:has(.cw-shell) .password-health-section{display:grid;gap:8px;padding:13px;border:1px solid #dfe9f7;border-radius:15px;background:linear-gradient(145deg,#fff,#f7faff);box-shadow:0 8px 18px -18px #376aa0}
body:has(.cw-shell) .password-health-section-title{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;font-weight:700;color:#183b70}
body:has(.cw-shell) .password-health-section-title::before{content:'';width:10px;height:10px;border-radius:50%;background:#ffbd42;box-shadow:0 0 0 5px #fff4d9}
body:has(.cw-shell) .password-health-section.is-reused .password-health-section-title::before{background:#ff8d5a;box-shadow:0 0 0 5px #fff0e7}
body:has(.cw-shell) .password-health-section.is-missing .password-health-section-title::before{background:#f09b63;box-shadow:0 0 0 5px #fff0e6}
body:has(.cw-shell) .password-health-finding{padding:11px 12px;border:1px solid #e3ebf6;border-radius:12px;background:#fff}
body:has(.cw-shell) .password-health-finding-title{font-size:13.5px;font-weight:700;color:#183a6c;margin-bottom:3px}
body:has(.cw-shell) .password-health-finding-detail{font-size:12.5px;line-height:1.45;color:#647ca2}
body:has(.cw-shell) .password-health-good-card,body:has(.cw-shell) .password-health-empty{padding:16px;border:1px solid #dce9f8;border-radius:14px;background:#f4f9ff;color:#365b8d;font-size:13.5px;font-weight:600}
body:has(.cw-shell) .password-health-good-card{border-color:#cfeada;background:#f0fbf5;color:#25704f}
body:has(.cw-shell) .password-health-footnote{margin:0;padding:13px 22px 17px;border-top:1px solid #e5edf8;background:#f6f9fd;font-size:11.5px;line-height:1.45;color:#7285a4}
body:has(.cw-shell) #settingsModal{padding:20px}
body:has(.cw-shell) .settings-modal-window{width:min(900px,calc(100vw - 40px));height:min(610px,calc(100dvh - 40px));max-width:900px;max-height:610px;border-radius:25px!important;background:linear-gradient(145deg,#fff 0%,#f8fbff 55%,#edf6ff 100%)!important}
body:has(.cw-shell) #settingsModal .secret-modal-window-head{min-height:100px;padding:20px 22px 17px;background:linear-gradient(124deg,#fff 0%,#f0f7ff 62%,#dceeff 100%);position:relative;overflow:hidden}
body:has(.cw-shell) #settingsModal .secret-modal-window-head::after{content:'';position:absolute;right:82px;top:-24px;width:132px;height:132px;background:url('security.webp') center/contain no-repeat;opacity:.68;pointer-events:none;filter:drop-shadow(0 14px 20px rgba(20,91,180,.10))}
body:has(.cw-shell) #settingsModal .secret-modal-window-head>div:first-child{position:relative;z-index:1;max-width:470px}
body:has(.cw-shell) #settingsModal h2{font-size:27px;font-weight:700}
body:has(.cw-shell) #settingsModal .settings-workspace{grid-template-columns:195px minmax(0,1fr);height:calc(100% - 100px)}
body:has(.cw-shell) #settingsModal .settings-nav{padding:14px 10px;gap:6px}
body:has(.cw-shell) #settingsModal .settings-nav-btn{min-height:43px;font-size:14px;font-weight:700;border-radius:12px;padding:10px 12px}
body:has(.cw-shell) #settingsModal .settings-content{padding:18px 20px 22px;background:radial-gradient(circle at 100% 0%,#eff7ff 0,transparent 34%),#fbfdff}
body:has(.cw-shell) #settingsModal .settings-page>h3{font-size:21px;font-weight:700;margin-bottom:12px}
body:has(.cw-shell) #settingsModal .settings-row,body:has(.cw-shell) #settingsModal .trusted-devices-section,body:has(.cw-shell) #settingsModal .settings-export-note,body:has(.cw-shell) #settingsModal .danger-zone{border-radius:14px;padding:13px 14px;margin-bottom:9px}
body:has(.cw-shell) #settingsModal .settings-label{font-size:13.5px;font-weight:700}
body:has(.cw-shell) #settingsModal .settings-note{font-size:12.5px;line-height:1.45}
body:has(.cw-shell) #settingsModal .settings-language-row{display:none!important}
.settings-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}
.settings-overview-card{display:flex;gap:11px;align-items:flex-start;border:1px solid #dfe9f7;border-radius:15px;background:linear-gradient(145deg,#fff,#f5f9ff);padding:14px;box-shadow:0 8px 18px -20px #245f9f}
.settings-overview-icon{width:38px;height:38px;flex:0 0 38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#e7f3ff,#d9ecff);border:1px solid #cfe4ff;color:#0872f8;font-weight:700;font-size:13px;box-shadow:inset 0 1px 0 #fff,0 5px 12px -9px #3178c8}
#languageSelect{display:none!important}
.settings-row:has(#languageSelect),label:has(>#languageSelect){display:none!important}
@media(max-width:1320px) and (min-width:961px){
.cw-sidebar-heading h2{font-size:23px}
.cw-sidebar-heading p{font-size:11.5px}
}
@media(max-width:960px){
.cw-sidebar-heading{display:none}
body:has(.cw-shell) #settingsModal{padding:10px}
body:has(.cw-shell) .settings-modal-window{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:none;border-radius:20px!important}
body:has(.cw-shell) #settingsModal .secret-modal-window-head::after{display:none}
body:has(.cw-shell) #settingsModal .settings-workspace{grid-template-columns:1fr;height:calc(100% - 92px)}
body:has(.cw-shell) #settingsModal .settings-nav{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid #dce8f7;padding:10px}
body:has(.cw-shell) #settingsModal .settings-nav-btn{white-space:nowrap;min-height:38px;padding:8px 10px}
.settings-overview-grid{grid-template-columns:1fr}
}
@media(max-width:780px){
body:has(.cw-shell) .modal-backdrop{padding:10px}
body:has(.cw-shell) .modal{border-radius:20px}
body:has(.cw-shell) .secret-modal-window-head{min-height:72px;padding:14px 12px 12px 16px}
body:has(.cw-shell) .modal-close-x,body:has(.cw-shell) .modal-window-toggle{width:38px;height:38px;min-width:38px}
}
:root{--cw19-blue:#0874f9;
  --cw19-blue-2:#4da6ff;
  --cw19-ink:#17355f;
  --cw19-muted:#7186a5;
  --cw19-line:#dfeaf7;
  --cw19-panel:#ffffff;
  --cw19-soft:#f5f9ff;
  --cw19-shadow:0 18px 50px -34px rgba(30,87,151,.48),0 8px 22px -18px rgba(36,84,138,.24);
  --cw19-shadow-strong:0 28px 72px -36px rgba(29,84,147,.55),0 12px 30px -20px rgba(20,69,126,.30);
  --cw19-radius:22px;}
.cw-space-add-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.cw-v19-detail-attachments{margin:14px 0 4px;padding:12px;border:1px solid #dfeaf7;border-radius:14px;background:linear-gradient(145deg,#fbfdff,#f5f9ff)}
.cw-v19-detail-attachments-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.cw-v19-detail-attachments-head h3{margin:0;font-size:11.5px;font-weight:700;color:#36577f}
.cw-detail .cw-attachment-add-btn{min-height:30px;padding:5px 8px;border-radius:9px;background:#fff;border:1px solid #d5e4f6;color:#176fd5;font-size:9px;font-weight:700}
.cw-v19-attachment-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.cw-v19-attachment-cards .account-attachment-card{min-width:0;border-radius:11px;padding:7px;background:#fff;border:1px solid #e0eaf6}
.cw-v19-attachment-cards .account-attachment-name{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cw-v19-attachment-cards .btn{min-height:28px;padding:4px 6px;font-size:8.5px}
body:has(.cw-shell) .modal-backdrop{background:rgba(34,57,91,.34);backdrop-filter:blur(4px)}
body:has(.cw-shell) .modal,body:has(.cw-shell) .secret-modal-window{border:1px solid #d7e6f8;border-radius:20px;box-shadow:var(--cw19-shadow-strong);font-family:inherit;background:linear-gradient(155deg,#fff,#fbfdff)}
body:has(.cw-shell) .secret-modal-window-head{padding:14px 16px;border-bottom:1px solid #e5eef9;background:linear-gradient(130deg,#fff,#f4f9ff)}
body:has(.cw-shell) .modal-close-x,body:has(.cw-shell) .modal-window-toggle{width:36px;height:36px;min-width:36px;border-radius:11px;font-size:19px}
body:has(.cw-shell) .password-health-finding.is-clickable{width:100%;text-align:left;cursor:pointer;color:inherit;font:inherit}
body:has(.cw-shell) .password-health-finding.is-clickable:hover{border-color:#c3daf6;background:#f3f8ff;box-shadow:0 7px 16px -15px #2f6dad}
.cw-v19-capture-modal{width:min(720px,calc(100vw - 28px));padding:0!important;overflow:hidden}
.cw-v19-capture-modal .secret-modal-window-head,.cw-v19-text-capture-modal .secret-modal-window-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.cw-v19-capture-modal h2,.cw-v19-text-capture-modal h2{margin:0;font-size:21px;font-weight:700;letter-spacing:-.03em;color:#23456f}
.cw-v19-capture-modal .muted,.cw-v19-text-capture-modal .muted{margin:4px 0 0;font-size:11.5px;line-height:1.4}
.cw-v19-capture-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px}
.cw-v19-capture-choice{min-height:110px;padding:13px;border:1px solid #dbe8f7;border-radius:16px;background:linear-gradient(145deg,#fff,#f3f8ff);display:grid;grid-template-columns:45px 1fr;grid-template-rows:auto auto;column-gap:11px;align-items:center;text-align:left;cursor:pointer;color:#2e547f;box-shadow:0 11px 26px -25px rgba(27,83,145,.55)}
.cw-v19-capture-choice:hover{border-color:#bcd7f5;background:linear-gradient(145deg,#fff,#eaf4ff);transform:translateY(-1px)}
.cw-v19-capture-icon{grid-row:1/3;width:45px;height:45px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#eaf5ff,#d9ebff);border:1px solid #cee0f5;color:#0e72e6;font-size:18px;font-weight:700}
.cw-v19-capture-choice strong{font-size:13px;font-weight:700}
.cw-v19-capture-choice small{align-self:start;font-size:10px;line-height:1.35;color:#8a9cb3}
.cw-v19-text-capture-modal{width:min(650px,calc(100vw - 28px));padding:0!important;overflow:hidden}
.cw-v19-text-capture-body{padding:14px 16px 16px}
.cw-v19-text-capture-body label{font-size:11px;font-weight:700;color:#5f789b}
.cw-v19-text-actions{justify-content:flex-end}
@media (max-width:1320px) and (min-width:821px){
.cw-v19-attachment-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:820px){
.cw-signout-dot{width:19px;height:19px;border-radius:7px;border:2px solid #8aa0bb;position:relative}
.cw-signout-dot::after{content:"";position:absolute;right:-5px;top:7px;width:8px;height:2px;background:#8aa0bb}
.cw-v19-attachment-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.cw-v19-capture-modal,.cw-v19-text-capture-modal{width:calc(100vw - 18px);border-radius:20px}
.cw-v19-capture-grid{grid-template-columns:1fr;gap:7px;padding:10px}
.cw-v19-capture-choice{min-height:74px;grid-template-columns:39px 1fr;column-gap:10px;padding:9px 11px;border-radius:13px}
.cw-v19-capture-icon{width:39px;height:39px;border-radius:11px}
.cw-v19-capture-choice strong{font-size:12px}
.cw-v19-capture-choice small{font-size:9px}
.cw-v19-capture-modal h2,.cw-v19-text-capture-modal h2{font-size:18px}
}
@media (min-width:821px){
.cw-v19-detail-attachments{padding:13px;border-radius:15px}
.cw-v19-detail-attachments-head h3{font-size:13px}
.cw-detail .cw-attachment-add-btn{font-size:10.5px;min-height:32px}
.cw-v19-attachment-cards .account-attachment-name{font-size:10.5px}
.cw-v19-attachment-cards .btn{font-size:9.5px;min-height:30px}
}
body:has(.modal-backdrop:not(.hidden)){overflow:hidden}
body:has(.cw-shell) .modal-backdrop{position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100dvh!important;
  min-height:100dvh!important;
  padding:24px!important;
  margin:0!important;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden!important;
  background:rgba(24,47,79,.38)!important;
  backdrop-filter:blur(7px) saturate(.96)!important;
  z-index:4000!important;
  box-sizing:border-box;}
body:has(.cw-shell) .modal-backdrop[role="alertdialog"]{z-index:4300!important}
body:has(.cw-shell) .modal-backdrop.hidden{display:none!important}
body:has(.cw-shell) .cw-window-backdrop{position:fixed!important;inset:0!important}
body:has(.cw-shell) .cw-window-dialog{position:fixed!important;margin:0!important;z-index:4005!important;box-sizing:border-box}
body:has(.cw-shell) #secretModalDialog.capture-edit-modal{width:min(1160px,calc(100vw - 48px));max-width:1160px}
body:has(.cw-shell) #secretModalDialog .secret-modal-window-head{position:relative!important;
  z-index:12!important;
  flex:0 0 auto;
  min-height:76px;
  padding:17px 18px 16px 22px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px;
  overflow:visible!important;
  border-bottom:1px solid #d9e7f7!important;
  background:linear-gradient(124deg,#fff 0%,#f4f9ff 58%,#e5f2ff 100%)!important;
  box-shadow:inset 0 1px 0 #fff,0 9px 20px -22px rgba(31,80,137,.55);
  cursor:move;
  user-select:none;}
body:has(.cw-shell) #secretModalDialog .secret-modal-window-head h2{margin:0;font-size:27px!important;line-height:1.16;font-weight:700!important;letter-spacing:-.035em;color:#173965}
body:has(.cw-shell) #secretModalDialog .secret-modal-window-controls{display:flex!important;align-items:center!important;gap:8px!important;margin-left:auto;position:relative;z-index:20}
body:has(.cw-shell) #secretModalDialog .modal-close-x,body:has(.cw-shell) #secretModalDialog .modal-window-toggle{position:relative!important;
  inset:auto!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  border:1px solid #cfe0f4!important;
  border-radius:13px!important;
  background:linear-gradient(145deg,#fff,#eaf3ff)!important;
  color:#55749d!important;
  box-shadow:0 8px 18px -15px rgba(38,89,146,.52)!important;
  cursor:pointer;}
body:has(.cw-shell) #secretModalDialog .modal-close-x:hover,body:has(.cw-shell) #secretModalDialog .modal-window-toggle:hover{background:#e6f2ff!important;border-color:#add0f6!important;color:#086fe7!important}
body:has(.cw-shell) #secretModalDialog .modal-close-x::before,body:has(.cw-shell) #secretModalDialog .modal-close-x::after{width:17px;height:2.2px}
body:has(.cw-shell) #secretModalDialog .secret-modal-scroll{flex:1 1 auto;
  min-height:0;
  overflow:auto!important;
  overscroll-behavior:contain;
  padding:19px 22px 26px!important;
  background:radial-gradient(circle at 100% 0%,rgba(219,237,255,.55),transparent 26%),#fbfdff!important;
  scrollbar-width:thin;
  scrollbar-color:#bfd3eb transparent;}
body:has(.cw-shell) #secretModal .secret-modal-workspace{min-width:0}
body:has(.cw-shell) #secretModal .secret-modal-workspace.capture-split{display:grid!important;grid-template-columns:minmax(330px,.92fr) minmax(430px,1.08fr)!important;gap:20px!important;align-items:start!important}
body:has(.cw-shell) #secretModal .secret-form-pane{gap:14px!important;min-width:0}
body:has(.cw-shell) #secretModal .secret-form-pane label,body:has(.cw-shell) #secretModal .password-generator label,body:has(.cw-shell) #secretModal .attachments-editor label{font-size:13.5px!important;font-weight:700!important;line-height:1.35;color:#385577!important}
body:has(.cw-shell) #secretModal .password-generator,body:has(.cw-shell) #secretModal .totp-editor,body:has(.cw-shell) #secretModal .attachments-editor{border:1px solid #dce8f6!important;background:linear-gradient(145deg,#fff,#f7fbff)!important;padding:14px!important;border-radius:16px!important}
body:has(.cw-shell) #secretModal .password-generator-title,body:has(.cw-shell) #secretModal .totp-editor-title,body:has(.cw-shell) #secretModal .attachments-editor-title{font-size:15px!important;font-weight:700!important;color:#24466e!important}
body:has(.cw-shell) #secretModal .password-generator-help,body:has(.cw-shell) #secretModal .attachments-editor-help,body:has(.cw-shell) #secretModal .totp-qr-note{font-size:12px!important;line-height:1.45!important;color:#7489a8!important}
body:has(.cw-shell) #secretModal .totp-editor-state{font-size:11.5px!important}
body:has(.cw-shell) .settings-modal-window,body:has(.cw-shell) .export-modal-window,body:has(.cw-shell) .import-modal-window,body:has(.cw-shell) .login-view-modal,body:has(.cw-shell) .note-view-modal{z-index:4005!important}
body:has(.cw-shell) .secret-modal-window-head{position:relative;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:16px}
body:has(.cw-shell) .secret-modal-window-head h2{font-size:25px;font-weight:700}
body:has(.cw-shell) .secret-modal-window-head .modal-close-x{position:relative!important;inset:auto!important;flex:0 0 auto}
@media (max-width:820px){
body:has(.cw-shell) .modal-backdrop{padding:8px!important;align-items:center!important;justify-content:center!important}
body:has(.cw-shell) #secretModalDialog.capture-edit-modal{width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;max-width:none!important;max-height:none!important;border-radius:22px!important}
body:has(.cw-shell) #secretModalDialog .secret-modal-window-head{min-height:68px;padding:12px 12px 11px 16px!important;cursor:default}
body:has(.cw-shell) #secretModalDialog .secret-modal-window-head h2{font-size:23px!important}
body:has(.cw-shell) #secretModalDialog .modal-close-x,body:has(.cw-shell) #secretModalDialog .modal-window-toggle{width:42px!important;height:42px!important;min-width:42px!important}
body:has(.cw-shell) #secretModalDialog .secret-modal-scroll{padding:15px 14px 20px!important}
body:has(.cw-shell) #secretModal .secret-modal-workspace.capture-split{display:block!important}
body:has(.cw-shell) #secretModal .secret-form-pane label{font-size:13.5px!important}
}
@media (min-width:821px){
.cw-v19-detail-attachments{padding:14px;border-radius:16px;background:linear-gradient(145deg,#fff,#f6faff);border-color:#dce8f5}
.cw-v19-detail-attachments-head h3{font-size:14px}
.cw-detail .cw-attachment-add-btn{min-height:34px;font-size:11px;padding:6px 9px}
.cw-v19-attachment-cards .account-attachment-name{font-size:11px}
.cw-v19-attachment-cards .btn{font-size:10px;min-height:31px}
}
@media (min-width:1420px){
#cwDesktopAddAccountBtn{min-width:126px}
#cwDesktopQuickCaptureBtn{min-width:142px}
}
:root{--cw-ink:#102f58;
  --cw-muted:#536f97;
  --cw-line:#d4e3f5;}
@media (min-width:821px){
.cw-v19-detail-attachments-head h3{font-size:14px!important;font-weight:700!important;color:#274e79!important}
.cw-detail .account-attachment-name{font-size:12.5px;font-weight:700;color:#24496f}
.cw-detail .account-attachment-meta{font-size:11.5px;color:#657f9f}
.cw-detail .cw-attachment-add-btn{font-size:11.5px!important;font-weight:700!important}
}
:root{--cw-shadow-strong:0 24px 60px -30px rgba(33,88,170,.34),0 12px 26px -18px rgba(42,96,169,.18);
  --cw-panel-bg:rgba(255,255,255,.93);
  --cw-panel-bg-2:rgba(247,251,255,.96);}
.cw-detail .account-attachment-meta{color:#647ea6!important}
.cw-detail .account-attachment-name{color:#224372!important}
.cw-detail .account-attachment-view-row,.cw-history-entry{background:linear-gradient(180deg, rgba(255,255,255,.82), rgba(248,251,255,.94));
  border:1px solid #deebfb;
  box-shadow:0 8px 24px -26px rgba(38,92,164,.25);}
:root{--cw-v199-ink:#12345f;
  --cw-v199-ink-strong:#0b2c58;
  --cw-v199-body:#405d83;
  --cw-v199-muted:#587094;
  --cw-v199-line:#c7d9ef;
  --cw-v199-line-strong:#b7cce6;
  --cw-v199-panel:#ffffff;
  --cw-v199-panel-alt:#f7fbff;
  --cw-v199-selected:#e9f3ff;
  --cw-v199-blue:#0a70ef;}
.cw-detail .account-attachment-name{color:var(--cw-v199-ink-strong)!important;
  font-weight:700!important;
  text-shadow:none!important;}
.cw-detail .account-attachment-meta{color:var(--cw-v199-body)!important;
  font-weight:600!important;}
.cw-detail .account-attachment-view-row,.cw-history-entry{background:#fbfdff!important;
  border:1px solid #cddff2!important;
  box-shadow:none!important;}
.cw-detail .account-attachment-view-row{display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:10px;
  padding:12px;
  border:1px solid #cfdff3;
  border-radius:15px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 10px 26px -22px rgba(33,82,145,.28);}
.cw-detail .account-attachment-info{display:grid;
  grid-template-columns:118px minmax(0,1fr);
  gap:13px;
  align-items:center;
  min-width:0;}
.cw-detail .account-attachment-copy{min-width:0}
.cw-detail .account-attachment-name{font-size:13px;
  font-weight:700;
  line-height:1.35;
  color:#173d6d!important;
  overflow-wrap:anywhere;}
.cw-detail .account-attachment-meta{margin-top:5px;
  font-size:11px;
  line-height:1.35;
  color:#465870!important;
  overflow-wrap:anywhere;}
.cw-detail .account-attachment-actions{display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding-left:131px;}
.cw-attachment-preview{position:relative;
  width:118px;
  height:84px;
  overflow:hidden;
  border:1px solid #d7e4f5;
  border-radius:12px;
  background:linear-gradient(145deg,#f8fbff,#edf5ff);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 8px 18px -16px rgba(33,87,152,.34);}
.cw-attachment-preview img{width:100%;
  height:100%;
  object-fit:cover;
  display:block;}
.cw-attachment-preview-page{position:absolute;
  inset:10px 18px 9px 18px;
  border:1px solid rgba(188,207,231,.95);
  border-radius:7px;
  background:#fff;
  box-shadow:0 5px 12px -10px rgba(23,69,124,.25);
  padding:12px 8px 8px;}
.cw-attachment-preview-page i{display:block;
  height:4px;
  margin-bottom:7px;
  border-radius:999px;
  background:#dce8f6;}
.cw-attachment-preview-page i:nth-child(2){width:82%}
.cw-attachment-preview-page i:nth-child(3){width:62%}
.cw-attachment-preview-badge{position:absolute;
  left:7px;
  bottom:6px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:22px;
  padding:0 6px;
  border-radius:7px;
  background:#173d6d;
  color:#fff;
  font-size:9px;
  font-weight:700;
  letter-spacing:.04em;
  box-shadow:0 5px 12px -8px rgba(11,50,97,.5);}
.cw-attachment-preview-image .cw-attachment-preview-badge{background:#0a70ef}
.cw-attachment-preview-pdf .cw-attachment-preview-badge{background:#d94b4b}
.cw-attachment-preview-word .cw-attachment-preview-badge{background:#2b67c7}
.cw-attachment-preview-powerpoint .cw-attachment-preview-badge{background:#d96b36}
.cw-attachment-preview-excel .cw-attachment-preview-badge{background:#21875a}
.cw-attachment-preview-text .cw-attachment-preview-badge{background:#60789a}
.cw-attachment-preview-archive .cw-attachment-preview-badge{background:#7a5ca8}
.cw-attachment-preview-text-page{inset:8px;
  padding:8px;
  overflow:hidden;}
.cw-attachment-preview-text-page span{display:block;
  color:#5a7190;
  font-size:7.5px;
  line-height:1.35;
  word-break:break-word;}
@media(max-width:900px){
.cw-detail .account-attachment-info{grid-template-columns:92px minmax(0,1fr)}
.cw-attachment-preview{width:92px;height:70px}
.cw-detail .account-attachment-actions{padding-left:105px}
}
@media(max-width:560px){
.cw-detail .account-attachment-info{grid-template-columns:1fr;align-items:start}
.cw-attachment-preview{width:100%;height:118px}
.cw-detail .account-attachment-actions{padding-left:0}
}
.cw-pdf-preview-ready{width:min(720px,100%);
  margin:42px auto;
  padding:34px;
  border:1px solid #d5e4f6;
  border-radius:22px;
  background:linear-gradient(145deg,#fff,#f7fbff);
  box-shadow:0 24px 54px -36px rgba(26,87,158,.30);
  text-align:center;}
.cw-pdf-preview-badge{width:64px;height:64px;margin:0 auto 14px;border-radius:18px;display:grid;place-items:center;
  background:linear-gradient(180deg,#fff3f3,#ffe6e6);border:1px solid #f3c8c8;color:#bf3e3e;font-weight:700;font-size:16px;letter-spacing:.04em;}
.cw-pdf-preview-ready h3{margin:0 0 8px;color:#17396c;font-size:18px;overflow-wrap:anywhere}
.cw-pdf-preview-ready p{margin:0 auto 18px;max-width:520px;color:#5d7596;font-size:13px;line-height:1.55}
.cw-inline-pdf-card{cursor:pointer;text-align:left;width:100%;border:1px solid #d5e4f6;color:#17396c}
body:has(.cw-shell) #secretModal .password-generator{margin-top:2px!important;
  margin-bottom:2px!important;}
body:has(.cw-shell) #secretModal .password-generator-preview{display:grid!important;
  grid-template-columns:minmax(0,1fr) 76px!important;
  gap:10px!important;
  align-items:stretch!important;}
body:has(.cw-shell) #secretModal .password-generator-preview .text-input{min-width:0!important;
  width:100%!important;}
@media(max-width:620px){
body:has(.cw-shell) #secretModal .password-generator-preview{grid-template-columns:minmax(0,1fr) 72px!important;}
}
.password-history-modal{width:min(760px,calc(100vw - 36px))!important;}
.password-history-value-row{display:grid!important;grid-template-columns:minmax(0,1fr) 66px 66px!important;gap:10px!important;align-items:stretch!important;}
.password-history-value-row .secret-action-btn{min-width:66px!important;
  width:66px!important;
  padding-inline:9px!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  writing-mode:horizontal-tb!important;}
.password-history-entry-title{line-height:1.35!important;}
.password-history-entry-date{line-height:1.4!important;}
@media(max-width:620px){
.password-history-value-row{grid-template-columns:minmax(0,1fr) 62px 62px!important;gap:7px!important;}
.password-history-value-row .secret-action-btn{min-width:62px!important;width:62px!important;}
}
:root{--cw-ink:#0b2f63;
  --cw-blue:#0a70ef;
  --cw-muted:#476585;
  --cw-line:#c7d9ec;
  --cw-shadow:0 10px 28px -20px rgba(28,72,121,.34),0 2px 8px -6px rgba(28,72,121,.16);}
.cw-detail .account-attachment-view-row,.cw-v19-attachment-cards .account-attachment-card{background:#fff!important;
  border-color:#bfd3e8!important;
  box-shadow:0 5px 13px -12px rgba(31,77,129,.28)!important;}
.cw-detail .account-attachment-name{color:#123862!important;font-weight:700!important}
.cw-detail .account-attachment-meta{color:#465870!important;font-weight:600!important}
.cw-attachment-preview{background:linear-gradient(145deg,#fff,#edf5fd)!important;
  border-color:#bfd3e8!important;}
body:has(.cw-shell) .modal,body:has(.cw-shell) .secret-modal-window{background:#fff!important;
  border-color:#bcd1e7!important;
  box-shadow:0 22px 56px -28px rgba(23,59,101,.42)!important;}
body:has(.cw-shell) .secret-modal-window-head{background:linear-gradient(180deg,#fff,#f8fbfe)!important;
  border-bottom-color:#cfddea!important;}

/* Mountain Glass workspace — one responsive system, native live account UI. */
:root {
  --cw-ink:#172d4d; --cw-navy:#102749; --cw-text:#334c6c; --cw-muted:#465870;
  --cw-blue:#0671ff; --cw-blue-dark:#005be6; --cw-line:#cbd5e1;
  --cw-shadow:0 12px 30px -22px rgba(15,45,85,.28),inset 0 1px 0 #fff;
  --cw19-shadow:var(--cw-shadow); --cw19-shadow-strong:0 30px 80px -30px rgba(4,47,109,.5);
  --cw-glass:linear-gradient(145deg,rgba(255,255,255,.96),rgba(244,248,253,.94));
  --cw-surface:#fff;
  --cw-panel-height:calc(100dvh - 140px); --cw-page-width:min(1710px,calc(100% - 56px));
}
* {box-sizing:border-box}
html {min-width:0;min-height:100%;background:#b4dbff;color-scheme:light}
body {display:flow-root;margin:0;min-width:0;min-height:100dvh;isolation:isolate;background:#b4dbff;color:var(--cw-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei UI","PingFang SC",sans-serif;font-size:15px;line-height:1.5;-webkit-font-smoothing:auto}
body::before {content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,.25)),url('/assets/cw-dashboard/mountain-lake-v20.7.webp') center/cover no-repeat;filter:none;}
button,input,select,textarea {font:inherit}
button {cursor:pointer}
a {color:#0066ed}
button:disabled {cursor:not-allowed;opacity:.48}
.hidden,[hidden] {display:none!important}
:focus-visible {outline:3px solid #56a6ff;outline-offset:3px}
h1,h2,h3,p {margin-top:0}
.muted {color:var(--cw-muted)}
.shell {display:flow-root;min-height:100dvh;background:transparent}
.row {display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.stack {display:flex;flex-direction:column;gap:17px}
.mt-18 {margin-top:18px}
label {display:block;font-weight:600;color:var(--cw-text)}
:where(input:not([type=checkbox]):not([type=radio]),textarea,select) {min-width:0;border:1px solid #c8dcf4;border-radius:12px;padding:11px 12px;color:var(--cw-ink);background:#fff;max-width:100%}
label>input:not([type=checkbox]):not([type=radio]),label>textarea {display:block;width:100%;margin-top:7px}
textarea {resize:vertical}
input::placeholder,textarea::placeholder {color:#465870;opacity:1}
.btn {min-height:44px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #c9dff7;border-radius:13px;font-size:13px;line-height:1.25;font-weight:700;text-decoration:none;white-space:normal;transition:background .15s,box-shadow .15s}
.btn img {width:19px;height:19px;object-fit:contain;flex-shrink:0}
.btn-primary {color:#fff;background:linear-gradient(180deg,#3298ff,#0774ff 56%,#0063ed);border-color:#1683ff;box-shadow:inset 0 2px 2px rgba(255,255,255,.48),0 7px 15px -8px rgba(0,91,235,.5)}
.btn-secondary {color:var(--cw-ink);background:linear-gradient(180deg,#fff,#f3f8ff);border-color:#c8dffb;box-shadow:inset 0 1px 0 #fff,0 5px 11px -8px rgba(17,89,171,.25)}
.btn-danger {background:#fff4f4;color:#bf3149;border-color:#efcad2}
.btn:hover {filter:brightness(.985);box-shadow:0 7px 16px -9px rgba(6,84,184,.36)}
.btn:active {transform:translateY(1px)}
.badge {display:inline-flex;align-items:center;gap:7px;border-radius:99px;padding:4px 9px;color:#07835b;background:#e1faf0;font-size:11px;font-weight:700}
.dot {width:6px;height:6px;background:#09b080;border-radius:50%}
.status {min-height:18px;margin-top:10px;color:var(--cw-muted);font-size:13px;overflow-wrap:anywhere}
.status.error {color:#bd2943}
.status:empty {margin:0;min-height:0}
.spinner {display:inline-block;width:15px;height:15px;vertical-align:middle;margin-right:7px;border:2px solid #c3dcfa;border-top-color:#0075ff;border-radius:50%;animation:cw-spin 1s linear infinite}
@keyframes cw-spin {to{transform:rotate(360deg)}}
.warning {padding:13px;border:1px solid #eedcab;background:#fffaf0;border-radius:12px;font-size:13px;font-weight:400;color:#745c1b}
.trusted-device-choice {display:flex;gap:10px;align-items:flex-start;font-size:14px}
.trusted-device-choice small {display:block;margin-top:3px;font-size:12px;font-weight:400;line-height:1.5}
.trusted-device-choice input {margin-top:4px;accent-color:var(--cw-blue)}
.auth-card {width:min(530px,100%);margin:64px auto;padding:34px;border:1px solid rgba(170,209,249,.75);border-radius:27px;background:var(--cw-surface);box-shadow:var(--cw-shadow);backdrop-filter:blur(18px)}
.auth-card h1,.auth-card h2 {margin:0 0 13px;font-size:30px;line-height:1.2;letter-spacing:-.035em}
.auth-card p {line-height:1.7}
.auth-card .btn-primary {min-height:48px}

/* Header moves live actions into the toolbar, releasing height for the list. */
.topbar {position:relative;z-index:1000;display:flex;align-items:center;gap:18px;width:var(--cw-page-width);min-height:84px;margin:22px auto 14px;padding:10px 16px 10px 21px;border:1px solid rgba(255,255,255,.82);border-radius:27px;background:var(--cw-glass);box-shadow:var(--cw-shadow);backdrop-filter:blur(10px)}
.brand {display:flex;align-items:center;flex:0 0 220px;text-decoration:none;min-width:0}
.brand img {display:block;width:220px;height:auto;max-height:62px;object-fit:contain;filter:none}
.cw-desktop-vault-toolbar {display:none}
body:has(#dashboardView:not(.hidden)) .cw-desktop-vault-toolbar {display:flex;align-items:center;gap:12px;flex:1;min-width:0;padding:7px 9px 7px 12px;border:1px solid rgba(166,207,250,.45);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.85),rgba(228,242,255,.55));box-shadow:inset 0 1px 0 #fff}
.cw-desktop-vault-summary {display:flex;align-items:center;gap:10px;flex:1;min-width:0}
.cw-desktop-vault-art {width:42px;height:42px;object-fit:contain;flex:0 0 42px}
.cw-desktop-vault-copy {display:flex;flex-direction:column;gap:3px;min-width:0}
.cw-desktop-vault-title-row {display:flex;align-items:center;gap:9px;white-space:nowrap}
.cw-desktop-vault-title-row strong {font-size:21px;font-weight:700;letter-spacing:-.035em}
.cw-desktop-vault-status {display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:99px;color:#087951;background:#e7f5ed;font-size:11px;font-weight:700}
.cw-desktop-vault-status i {width:6px;height:6px;border-radius:50%;background:#0dbf85}
.cw-desktop-vault-subtitle {font-size:12px;line-height:1.3;color:var(--cw-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:320px}
.cw-desktop-vault-actions {display:flex;align-items:center;gap:8px;flex-shrink:0}
.cw-desktop-vault-actions .btn {min-height:45px;padding:9px 14px;font-size:13px;white-space:nowrap}
.top-actions {display:flex;align-items:center;gap:7px;margin-left:auto;flex-shrink:0}
.top-actions .btn {min-height:44px;padding:9px 12px;font-size:13px;white-space:nowrap}
.desktop-language-switcher {display:flex;align-items:center;gap:3px;min-height:44px;padding:3px 6px;border:1px solid #c7ddf7;border-radius:13px;background:rgba(255,255,255,.8)}
.language-quick-btn {display:block;padding:6px 7px;min-height:34px;border:0;border-radius:8px;background:transparent;color:#465870;font-size:12px;font-weight:700;white-space:nowrap}
.language-quick-btn[aria-pressed=true],.language-quick-btn.active {background:#e4f2ff;color:var(--cw-blue)}
.language-quick-divider {color:#aac3e4}
.user-pill {display:flex;align-items:center;max-width:145px;min-width:0;min-height:44px;padding:8px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:1px solid #c7ddf7;border-radius:13px;background:rgba(255,255,255,.95);font-size:12px;font-weight:600}
.user-pill:empty {display:none}
.cw-mobile-menu-btn {display:none}

/* Three viewport panels keep native scrolling inside list and account details. */
main {width:var(--cw-page-width);margin:0 auto;padding:0 0 20px}
#dashboardView {border:0;padding:0;margin:0;background:none;box-shadow:none}
#dashboardView>.vault-workspace {display:grid;grid-template-columns:220px minmax(0,1fr);gap:14px;align-items:stretch;min-width:0}
.cw-body {display:flex;flex-direction:column;min-width:0;gap:12px}
.cw-v19-hero {display:none}
.cw-content-grid {display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:14px;min-width:0;align-items:stretch}
.spaces-sidebar,.vault-main,.cw-detail {height:var(--cw-panel-height);min-height:500px;min-width:0;border:1px solid #c4d0df;border-radius:27px;box-shadow:0 12px 28px -20px rgba(18,48,82,.25);backdrop-filter:none}
.spaces-sidebar {display:flex;flex-direction:column;padding:21px 15px 20px;gap:4px;background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(246,249,253,.95));overflow:hidden}
.spaces-sidebar-head {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 9px 11px;min-height:44px}
.spaces-sidebar-title {font-size:17px;font-weight:700;letter-spacing:-.025em}
.space-add-btn {display:grid;place-items:center;width:38px;height:38px;min-width:38px;padding:8px;border:1px solid #c4ddff;border-radius:12px;background:linear-gradient(#fff,#eef7ff);color:var(--cw-blue);box-shadow:none}
.space-add-icon {width:22px;height:22px}
.cw-space-add-label {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.spaces-list {display:flex;flex-direction:column;gap:5px;overflow-y:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#b9d8fc transparent}
.space-nav-item {display:flex;align-items:center;width:100%;min-height:53px;padding:7px 11px;gap:12px;text-align:left;border:1px solid transparent;border-radius:15px;background:transparent;color:var(--cw-ink);font-size:14px}
.space-nav-item:hover {background:#eef7ff;border-color:#c5ddf8}
.space-nav-item.active,.space-nav-item[aria-current=page] {background:#e7effc;border-color:#80a9df;box-shadow:inset 4px 0 0 var(--cw-blue);color:#0047ab}
.space-nav-icon {display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid #c9defa;border-radius:12px;background:#fff;box-shadow:none;font-size:16px;font-weight:600}
.space-nav-icon img {width:25px;height:25px;object-fit:contain}
.space-nav-name {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.space-nav-row {position:relative;display:flex;align-items:center;gap:6px;width:100%;flex-shrink:0}
.space-nav-row .space-nav-item {flex:1;min-width:0}
.space-nav-row:has(.cw-space-menu) .space-nav-item {padding-right:47px}
.space-nav-row .cw-space-menu {position:absolute;right:7px;top:50%;transform:translateY(-50%);z-index:12;margin:0}
.space-nav-row .cw-space-menu summary {width:32px;height:32px;border-radius:10px;font-size:19px}
.space-context-head>.cw-space-menu {display:none}
.deleted-spaces-btn {display:flex;align-items:center;gap:7px;min-height:36px;padding:8px 12px;margin:5px 0;border:0;border-radius:9px;background:transparent;text-align:left;color:#465870;font-size:11px}
.deleted-spaces-count {background:#e2efff;border-radius:7px;padding:1px 5px}
.cw-side-bottom {margin-top:auto;padding:15px 6px 0;border-top:1px solid #c9def8}
.cw-utility-label {padding:0 7px 9px;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:700;color:#465870}
.cw-side-bottom button,.cw-mobile-session-actions button {display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:8px;border:0;border-radius:11px;color:var(--cw-ink);background:transparent;text-align:left;font-size:13px;font-weight:600}
.cw-side-bottom button:hover,.cw-side-bottom button.active {background:#e3f1ff;color:#005ee8}
.cw-side-bottom img,.cw-mobile-session-actions img {width:23px;height:23px}
.cw-mobile-session-actions,.cw-mobile-drawer-backdrop,.cw-mobile-space-switcher,#cwMobileBack {display:none}
.vault-main,.cw-detail {display:flex;flex-direction:column;overflow:hidden;background:var(--cw-surface)}
.space-context-head {display:flex;align-items:flex-start;gap:8px;min-height:97px;padding:18px 22px 12px;border-bottom:1px solid rgba(181,213,247,.6);background:#f8fafc}
.cw-space-context-copy {min-width:0;flex:1}
.space-context-kicker {margin-bottom:4px;color:#465870;font-size:12px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.space-context-title {margin:0;font-size:27px;font-weight:700;letter-spacing:-.035em;line-height:1.15;overflow-wrap:anywhere}
.space-context-subtitle {margin:5px 0 0;font-size:13px;font-weight:500;line-height:1.35;overflow-wrap:anywhere}
.cw-space-menu {position:relative;z-index:8;margin-left:auto}
.cw-space-menu summary {display:grid;place-items:center;width:36px;height:36px;list-style:none;font-size:21px;color:#465870;border:1px solid #d0e4ff;border-radius:10px;background:#fff;cursor:pointer}
.cw-space-menu summary::-webkit-details-marker {display:none}
.cw-space-menu .row {position:absolute;top:42px;right:0;min-width:180px;display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:8px;border:1px solid #bdd9fb;border-radius:13px;background:#fff;box-shadow:0 15px 32px -17px #3b75b8}
.cw-space-menu .row .btn {font-size:12px;justify-content:flex-start}
.secrets-box {display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;border:0;background:none;box-shadow:none;margin:0}
.secrets-head {padding:8px 15px;border-bottom:1px solid #d5e6fc;background:rgba(255,255,255,.67)}
.items-toolbar-right {display:grid;grid-template-columns:minmax(0,1fr) 132px;align-items:center;gap:9px;min-width:0}
.item-search {position:relative;min-width:0}
.item-search input {width:100%;min-height:46px;padding:10px 12px 10px 38px;border-radius:12px;font-size:13px;background:#fff;border-color:#c6dcfb;font-weight:500}
.item-search img.cw-search-svg {position:absolute;left:13px;top:50%;transform:translateY(-50%);width:18px;height:18px;pointer-events:none}
.item-sort {width:100%;min-height:46px;padding:9px 10px;border-radius:12px;border-color:#c6dcfb;font-size:13px;font-weight:600;background:#fff}
#secretCount,.secret-custom-fields-meta {display:none}
#secretsContent,#filesContent {flex:1;min-height:0;max-height:none;overflow:auto;padding:4px 12px 12px;scrollbar-width:thin;scrollbar-color:#bcdafa transparent}
#secretsContent.empty,#filesContent.empty {display:grid;place-items:center;min-height:160px;padding:24px;text-align:center;color:#465870;font-size:13px}
.secret-row,.file-row {position:relative;display:flex;align-items:center;gap:9px;min-width:0;min-height:78px;margin:5px 0;padding:10px 13px;border:1px solid #d2e5fc;border-radius:16px;background:#fff;box-shadow:none;cursor:pointer}
.secret-row:hover,.file-row:hover {background:#f4faff;border-color:#acd1ff}
.secret-row.cw-selected,.file-row.cw-selected {background:#e8f0fc;border-color:#4e88cc;box-shadow:inset 4px 0 0 #0064dc}
.secret-main,.file-main {min-width:0;flex:1;padding-right:52px}
.secret-title {display:flex;align-items:center;gap:12px;min-width:0;font-size:16px;line-height:1.25;font-weight:700;letter-spacing:0;color:var(--cw-ink)}
.secret-title-text {min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.secret-title:not(.secret-title-with-brand) {min-height:43px;overflow-wrap:anywhere}
.secret-meta {margin-left:62px;margin-top:-11px;padding-top:2px;max-width:calc(100% - 62px);font-size:13px;line-height:1.45;color:#465870;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}
.secret-note-preview {margin-left:62px;max-height:32px;overflow:hidden;white-space:nowrap}
.secret-row-tags {display:flex;gap:5px;margin:5px 0 0 62px;max-height:22px;overflow:hidden}
.tag-chip {padding:3px 6px;border-radius:7px;background:#e8f3ff;color:#477ec4;font-size:10px}
.secret-row-actions {display:flex;align-items:center;gap:5px;flex-shrink:0}
.secret-row-actions>button,.secret-kind {display:none}
.account-brand-icon,.cw-note-list-icon {position:relative;display:inline-flex;align-items:center;justify-content:center;width:50px;height:50px;min-width:50px;flex:0 0 50px;overflow:hidden;border:1px solid #c3ddfb;border-radius:14px;background:#fff;color:var(--brand-fg,#172d4d);box-shadow:none;font-size:22px;font-weight:600}
.account-brand-icon-image,.account-brand-icon img {display:block;width:43px;height:43px;max-width:43px;max-height:43px;object-fit:contain;padding:0;border-radius:9px}
.account-brand-icon::after {content:none}
.cw-row-select {position:absolute;right:9px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:21px;min-height:34px;padding:0;border:0;background:transparent;color:#3c7dcb;font-size:0}
.cw-row-select::after {content:"›";font-size:25px;font-weight:400}
.cw-row-updated {position:absolute;right:32px;top:50%;transform:translateY(-50%);color:#465870;font-size:10px}
.cw-list-quick-actions {position:absolute;right:31px;top:50%;transform:translateY(-50%);display:flex;gap:5px;z-index:4;opacity:0;pointer-events:none}
.cw-list-row:hover .cw-list-quick-actions,.cw-list-row:focus-within .cw-list-quick-actions,.cw-list-row.cw-selected .cw-list-quick-actions {opacity:1;pointer-events:auto}
.cw-list-row:hover .cw-row-updated,.cw-list-row:focus-within .cw-row-updated,.cw-list-row.cw-selected .cw-row-updated {opacity:0}
.cw-list-quick-action {display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #cce1fb;border-radius:11px;background:rgba(255,255,255,.88);color:#1469cc;font-size:0}
.cw-list-quick-action::before {content:"";width:16px;height:16px;background:currentColor;mask:var(--cw-row-icon) center/contain no-repeat;-webkit-mask:var(--cw-row-icon) center/contain no-repeat}
.cw-list-quick-delete,.cw-list-quick-purge {--cw-row-icon:url('ui-icons/delete.svg')}
.cw-list-quick-restore {--cw-row-icon:url('ui-icons/restore.svg')}
.cw-list-quick-purge {color:#bb3154;background:#fff2f5}

/* Details have a quiet, opaque reading surface within the brighter glass rim. */
.cw-detail-head {display:flex;align-items:center;gap:15px;min-height:101px;padding:18px 22px 15px;border-bottom:1px solid #d2e5fc;background:#f8fafc}
.cw-detail-mark {display:flex;align-items:center;justify-content:center;width:62px;height:62px;flex:0 0 62px}
.cw-detail-mark>img,.account-brand-icon-large {width:62px;height:62px;min-width:62px;flex-basis:62px;object-fit:contain;border-radius:18px}
.account-brand-icon-large .account-brand-icon-image {width:54px;height:54px;max-width:54px;max-height:54px}
.cw-detail-identity {min-width:0;flex:1}
.cw-detail-identity h2 {margin:0 0 5px;font-size:23px;font-weight:700;line-height:1.2;letter-spacing:-.035em;overflow-wrap:anywhere}
.cw-kind-pill {display:inline-flex;min-height:20px;align-items:center;padding:3px 7px;border-radius:7px;background:#e2f0ff;color:#0068f5;font-size:10px;font-weight:600;line-height:1}
.cw-detail-tools {display:flex;align-items:center;gap:9px;margin-left:auto}
.cw-detail-edit-btn {min-height:44px;min-width:71px;border-color:#c7dfff;background:linear-gradient(#fff,#f0f7ff);color:#006bfb;font-size:12px}
.cw-detail-edit-btn::before {content:"";width:16px;height:16px;background:currentColor;mask:url('ui-icons/edit.svg') center/contain no-repeat;-webkit-mask:url('ui-icons/edit.svg') center/contain no-repeat}
.cw-icon-button {display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #c7dfff;border-radius:13px;background:linear-gradient(#fff,#f0f7ff);color:#006bfb;font-size:25px;font-weight:400;line-height:1}
.cw-detail-tabs {display:flex;gap:22px;margin:0 23px;border-bottom:1px solid #cde1fa}
.cw-tab {min-height:42px;padding:10px 1px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:#465870;font-size:13px;font-weight:600;box-shadow:none}
.cw-tab.active {color:#0071ff;border-bottom-color:#0071ff}
.cw-detail-body {flex:1;min-height:0;max-height:none;overflow:auto;padding:17px 25px 25px;font-size:14px;background:#fff;scrollbar-width:thin;scrollbar-color:#bcd9f8 transparent}
.cw-detail-body .secret-view-field {margin:0 0 14px;padding:0;border:0;background:none}
.cw-detail-body .secret-view-label {margin-bottom:6px;color:#40566f;font-size:14px;font-weight:600}
.cw-detail-body .secret-view-controls {display:flex;align-items:center;gap:6px;min-width:0;min-height:46px;padding:5px 7px 5px 12px;border:1px solid #c8dffc;border-radius:12px;background:rgba(255,255,255,.95);box-shadow:inset 0 1px 0 #fff}
.cw-detail-body .secret-view-value {min-width:0;flex:1;width:100%;padding:4px 0;border:0;border-radius:0;box-shadow:none;background:none;color:var(--cw-ink);font-family:inherit;font-size:15px;font-weight:500;text-overflow:ellipsis}
.cw-detail-body .secret-view-value[type=password] {letter-spacing:.12em}
.cw-detail-body .secret-action-btn {min-height:32px;padding:6px 10px;border:1px solid #d7e8ff;border-radius:9px;background:#f2f8ff;color:#0062d1;font-size:13px;font-weight:600;white-space:nowrap}
.cw-detail-body .secret-view-multiline {padding:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;border:1px solid #d0e4fb;border-radius:12px;background:#fff;color:#465870;font-size:13px}
.cw-strength {display:flex;align-items:center;gap:13px;margin:4px 0 14px;color:#00a371;font-size:12px;font-weight:700}
.cw-strength meter {height:7px;max-width:240px;flex:1;border:0;border-radius:99px;appearance:none;background:#d4f1e6}
.cw-strength meter::-webkit-meter-bar {height:7px;border:0;border-radius:99px;background:#d4f1e6}
.cw-strength meter::-webkit-meter-optimum-value {background:#08bd87;border-radius:99px}
.cw-strength-weak {color:#c47919}.cw-strength-weak meter::-webkit-meter-optimum-value {background:#e5a63e}
.cw-strength-normal {color:#3188ce}.cw-strength-normal meter::-webkit-meter-optimum-value {background:#4f9fe5}
.cw-detail-actions {display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 17px}
.cw-detail-actions .btn {min-height:45px;padding:10px 19px;font-size:12px;flex:1;min-width:150px;white-space:nowrap}
.cw-password-actions .btn-primary::before {content:"";width:18px;height:18px;background:#fff;mask:url('ui-icons/copy.svg') center/contain no-repeat;-webkit-mask:url('ui-icons/copy.svg') center/contain no-repeat}
.cw-open-website {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px;padding:11px 14px;margin:0 0 17px;border:1px solid #d0e4ff;border-radius:13px;background:rgba(255,255,255,.88);text-decoration:none;color:#0064e9}
.cw-open-website strong {font-size:12px}
.cw-open-website .cw-user-content {grid-column:1;font-size:12px;color:#465870;overflow-wrap:anywhere}
.cw-open-website>span:last-child {grid-column:2;grid-row:1/3;align-self:center;font-size:23px;color:#465870}
.cw-detail .cw-v19-detail-attachments {padding:12px 14px;margin:15px 0;border:1px solid #d5e6fc;border-radius:16px;background:#f8fafc}
.cw-v19-detail-attachments-head {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.cw-v19-detail-attachments-head h3 {margin:0;font-size:13px;font-weight:600;color:var(--cw-ink)}
.cw-detail .cw-attachment-add-btn {min-height:35px;padding:7px 10px;font-size:11px;color:#006bff;background:#fff;border-color:#c8dfff}
.cw-v19-attachment-cards {display:block;min-width:0;width:100%}
.cw-detail .account-attachments-view,.cw-detail .account-attachments-view-list {display:block;min-width:0;width:100%}
.cw-detail .secret-view-section-title {font-size:13px;color:#465870;margin:7px 0 9px}
.cw-detail .account-attachment-name {font-size:14px;font-weight:600;overflow-wrap:anywhere;word-break:break-word}
.cw-detail .account-attachment-meta {font-size:13px;color:#465870}
.cw-detail .account-attachment-actions {display:flex;gap:6px;flex-wrap:wrap}
.cw-detail .account-attachment-actions .btn {min-height:36px;padding:7px 9px;font-size:12px}
.cw-detail .account-attachment-view-row {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;margin-bottom:8px;border-radius:12px}
.cw-detail .account-attachment-info {display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;align-items:center;min-width:0}
.cw-detail .account-attachment-actions {padding-left:0;flex-wrap:wrap;justify-content:flex-end;gap:5px}
.cw-detail .account-attachment-view-row .file-download-status {grid-column:1/-1}
.cw-detail .account-attachment-view-row .file-download-status:empty {display:none}
.cw-detail .cw-attachment-preview {width:52px;height:52px;border-radius:11px}
.cw-detail .cw-attachment-preview-page {inset:5px 9px;padding:8px 5px}
.cw-detail .cw-attachment-preview-page i {height:2px;margin-bottom:4px}
.cw-detail .cw-attachment-preview-badge {left:3px;bottom:4px;min-width:30px;height:17px;padding:0 4px;border-radius:4px;font-size:7px}
.cw-detail-footer {display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:17px;padding-top:17px;border-top:1px solid #d4e5fc}
.cw-detail-footer .btn {min-height:40px;padding:8px 11px;font-size:13px}
.cw-detail-dates {display:grid;grid-template-columns:auto 1fr;gap:6px 15px;margin:16px 0;color:#465870;font-size:13px}
.cw-detail-empty {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;flex:1;text-align:center;padding:32px;min-height:0;background:#fff}
.cw-detail-empty h3 {margin:4px 0 8px;font-size:18px;font-weight:600;letter-spacing:0}
.cw-detail-empty p {max-width:310px;margin:0;color:#465870;line-height:1.6;font-size:14px}
.cw-empty-art {width:52px;height:52px;max-width:52px;max-height:52px;object-fit:contain;filter:none;box-shadow:none}
.cw-file-detail-art,.cw-related-art {display:block;width:56px;height:56px;object-fit:contain;margin:0 auto 16px;filter:none}
.cw-note-body {padding:18px;border:1px solid #cfe2fb;border-radius:13px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;color:#365c8a;background:#fff}
.cw-history-entry {display:grid;gap:7px;padding:15px;margin-bottom:10px;border:1px solid #cfe2fb;border-radius:13px;background:#fff}
.cw-history-entry small {color:#465870}
.cw-linked-account {width:100%;justify-content:flex-start;margin-bottom:8px}
.cw-file-detail-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
.cw-recycle-actions {display:flex;flex-wrap:wrap;gap:9px;margin-top:18px;padding-top:16px;border-top:1px solid #cfe2fa}
.cw-recycle-actions .btn {flex:1}
.cw-recycle-context {padding:11px;margin-bottom:14px;border:1px solid #d0e2fa;border-radius:13px;background:#f7fbff}
.cw-recycle-readonly {display:inline-block;padding:4px 7px;margin-bottom:9px;background:#e8f2ff;color:#465870;border-radius:6px;font-size:10px}
.cw-recycle-preview-actions {display:flex;flex-wrap:wrap;gap:8px}
.cw-account-trash-toolbar {display:none;margin:9px 15px;padding:12px;border:1px solid #d0e1fa;border-radius:13px;background:#f5faff}
.cw-trash-mode .cw-account-trash-toolbar {display:flex;align-items:center;justify-content:space-between;gap:9px}
.cw-trash-account-label strong {display:block;font-size:13px}
.cw-trash-account-label span {display:block;font-size:11px;color:var(--cw-muted)}
.cw-trash-space-filter {max-width:150px;min-height:40px;font-size:12px}
.cw-v19-compat {display:none!important}
.upload-panel:not(.hidden) {min-width:0;background:#f7fbff;border:1px solid #c7dffb;border-radius:15px;padding:12px}
.file-name {font-weight:600;font-size:14px;display:flex;align-items:center;gap:11px}
.file-name::before {content:"";flex:0 0 45px;height:45px;background:url('files.webp') center/contain no-repeat}
.file-meta {margin:0 0 0 56px;color:#465870;font-size:11px}
.file-actions {display:none}

/* Compact empty states; constrain native SVG intrinsic size in live DOM. */
#secretsContent.cw-trash-empty-state,.cw-trash-empty-detail,.cw-empty-state {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  flex:1;min-width:0;min-height:240px;gap:10px;padding:30px 24px;text-align:center;
  color:var(--cw-ink);background:#fff;
}
.cw-empty-copy {display:flex;flex-direction:column;align-items:center;max-width:340px;gap:6px}
#secretsContent.cw-trash-empty-state>img,.cw-trash-empty-detail>img,
.cw-empty-state>img,.cw-empty-state>svg,.cw-empty-state .cw-empty-icon,
.cw-detail-empty img,.cw-detail-empty svg {
  display:block;flex:0 0 52px;width:52px;height:52px;max-width:56px;max-height:56px;
  margin:0 0 4px;object-fit:contain;filter:none;box-shadow:none;
}
#secretsContent.cw-trash-empty-state>h3,.cw-trash-empty-detail>h3,.cw-empty-state h3 {
  margin:0;font-size:18px;font-weight:600;line-height:1.35;letter-spacing:0;color:var(--cw-ink);
}
#secretsContent.cw-trash-empty-state>p,.cw-trash-empty-detail>p,.cw-empty-state p {
  max-width:310px;margin:0;font-size:14px;font-weight:400;line-height:1.6;color:#465870;
}
.cw-shell button svg,.cw-shell .space-nav-icon svg,.cw-shell .cw-detail-tools svg {
  display:block;flex-shrink:0;width:20px;height:20px;max-width:24px;max-height:24px;
  filter:none;shape-rendering:geometricPrecision;
}
.cw-shell .space-nav-icon img,.cw-shell .cw-side-bottom img,.cw-shell .btn img,
.cw-shell .account-brand-icon img {filter:none;box-shadow:none}
.cw-shell .btn-primary img {filter:brightness(0) invert(1)}

/* Application windows retain their established geometry and all native tools. */
.modal-backdrop {position:fixed;inset:0;z-index:4000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(13,42,81,.32);backdrop-filter:blur(8px)}
.modal {position:relative;width:min(570px,100%);max-height:calc(100dvh - 40px);padding:28px;overflow:auto;border:1px solid #bcd8f7;border-radius:23px;background:linear-gradient(145deg,#fff,#f1f8ff);box-shadow:0 32px 85px -34px rgba(4,41,101,.56)}
.modal h2 {margin:0 0 10px;font-size:23px;line-height:1.3;letter-spacing:-.025em}
.modal .muted {font-size:13px;line-height:1.7}
.modal-close-x {display:grid;place-items:center;position:absolute;top:14px;right:14px;width:36px;height:36px;min-width:36px;border:1px solid #cee2fb;border-radius:11px;background:#f4f9ff;color:#37699f;font-size:24px}
.modal-label {margin-bottom:7px}
.modal-field {margin-top:17px}
.modal-field input {width:100%}
.space-modal-card>h2 {padding-right:38px}
.modal input[type=checkbox],.modal input[type=radio] {accent-color:#0073ff}
.text-input,.text-area {width:100%}
.secret-password-field {display:flex;align-items:center;gap:8px;min-width:0;margin-top:7px}
.secret-password-field input {flex:1;min-width:0}
.secret-modal-window-controls {display:flex;align-items:center;gap:8px;flex-shrink:0}
.modal-window-toggle {display:grid;place-items:center;width:36px;height:36px;min-width:36px;border:1px solid #cee2fb;border-radius:11px;color:#37699f;background:#f4f9ff}
.window-toggle-icon {position:relative;display:block;width:14px;height:12px;border:1.8px solid currentColor;border-radius:2px;color:inherit}
.is-restoring .window-toggle-icon::after {content:"";position:absolute;width:11px;height:9px;top:-5px;left:3px;border:1.5px solid currentColor;border-radius:2px;background:inherit}
.cw-small-dialog-floating {position:fixed!important;margin:0!important}
.cw-small-dialog-moving,.cw-window-moving,.cw-window-resizing {user-select:none}
.cw-window-dialog.cw-window-maximized {max-width:none!important;max-height:none!important;border-radius:14px!important}
.cw-window-resize-handle {display:none;position:absolute;z-index:40;touch-action:none;background:transparent}
.cw-window-dialog>.cw-window-resize-handle {display:block}
.cw-window-dialog.cw-window-maximized>.cw-window-resize-handle {display:none}
.cw-window-resize-n,.cw-window-resize-s {left:16px;right:16px;height:9px;cursor:ns-resize}
.cw-window-resize-n {top:0}.cw-window-resize-s {bottom:0}
.cw-window-resize-e,.cw-window-resize-w {top:16px;bottom:16px;width:9px;cursor:ew-resize}
.cw-window-resize-e {right:0}.cw-window-resize-w {left:0}
.cw-window-resize-ne,.cw-window-resize-se,.cw-window-resize-sw,.cw-window-resize-nw {width:17px;height:17px}
.cw-window-resize-ne {top:0;right:0;cursor:nesw-resize}.cw-window-resize-sw {bottom:0;left:0;cursor:nesw-resize}
.cw-window-resize-nw {top:0;left:0;cursor:nwse-resize}.cw-window-resize-se {bottom:0;right:0;cursor:nwse-resize}
.password-strength-info-btn {display:inline-grid;place-items:center;width:24px;height:24px;min-width:24px;padding:0;border:1px solid #bfd7f4;border-radius:50%;color:#2b71c2;background:#eef6ff;font-family:Georgia,serif;font-size:14px;font-weight:700}
.password-strength-inline {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px}
.password-generator-head,.totp-editor-head {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.password-generator-close-x {display:grid;place-items:center;width:32px;height:32px;min-width:32px;border:1px solid #cce0f7;border-radius:10px;color:#3c6caa;background:#f0f7ff;font-size:21px}
.password-generator-options {display:flex;align-items:center;flex-wrap:wrap;gap:11px 18px;margin-top:12px}
.password-option {display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500}
.password-length-field {display:flex;align-items:center;gap:8px;font-size:12px}
.password-length-input {width:74px}
.password-generator-actions {display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px}
.password-review-row {display:flex;gap:10px;align-items:flex-end;min-width:0}
.password-review-main {flex:1;min-width:0}.password-review-custom {flex:0 0 95px;min-width:0}
.totp-editor-heading {display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.totp-qr-actions,.totp-editor-preview {display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.totp-code {font-family:ui-monospace,Consolas,monospace;font-size:24px;letter-spacing:.12em}
.totp-editor-preview {padding:12px;border:1px solid #cfe2fb;border-radius:12px;background:#f3f9ff}
body:has(.cw-shell) .export-modal-window,body:has(.cw-shell) .import-modal-window,body:has(.cw-shell) .choose-files-modal {display:flex;flex-direction:column;padding:0;overflow:hidden;width:min(850px,calc(100vw - 40px));height:min(730px,calc(100dvh - 40px))}
body:has(.cw-shell) #secretModalDialog,body:has(.cw-shell) .login-view-modal,body:has(.cw-shell) .note-view-modal {display:flex;flex-direction:column;padding:0;overflow:hidden;width:min(840px,calc(100vw - 40px));height:min(760px,calc(100dvh - 40px))}
.secret-modal-window-head {flex:0 0 auto}
.secret-modal-scroll,.export-modal-scroll,.import-modal-scroll,.choose-files-body {flex:1;min-height:0;overflow:auto;padding:20px 22px 24px;scrollbar-width:thin;scrollbar-color:#b7d4f5 transparent}
.export-section,.import-section {padding:15px;margin-bottom:14px;border:1px solid #d2e3f7;border-radius:14px;background:#fff}
.export-section h3,.import-section h3 {margin-bottom:9px;font-size:15px}
.import-help {font-size:12px;color:#6684ac;line-height:1.6}
.export-choice {display:flex;align-items:flex-start;gap:9px;padding:9px 0;font-weight:500;font-size:13px}
.export-choice small {display:block;color:#6684ac;font-size:11px;line-height:1.6;margin-top:3px}
.export-actions,.choose-files-actions {display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:18px}
.export-source-field,.import-section>label {margin-top:12px}
.import-drop-zone {display:grid;place-items:center;gap:5px;min-height:110px;padding:15px;border:1px dashed #86b8f7;border-radius:14px;background:#f3f9ff;text-align:center;cursor:pointer;color:#1e5fa8}
.import-drop-zone strong {font-size:13px}.import-drop-zone span {color:#6f8cad;font-size:12px}
.import-preview-table-wrap {overflow:auto;max-width:100%;border:1px solid #d3e2f6;border-radius:12px}
.import-preview-table {width:100%;border-collapse:collapse;font-size:12px}
.import-preview-table th,.import-preview-table td {padding:9px;border-bottom:1px solid #dde9f8;text-align:left;white-space:nowrap}
.import-preview-table th {color:#426590;background:#edf5ff}
.export-account-picker,.choose-files-list {display:flex;flex-direction:column;gap:7px;min-height:0;max-height:340px;overflow:auto;margin-top:12px}
.choose-files-actions {padding-top:12px;border-top:1px solid #d1e3f9}
.cw-app-dialog {padding:0}
.cw-app-dialog-body {padding:20px 23px 23px}
.cw-app-dialog-head h2 {margin:0;font-size:21px}
.capture-preview-modal {display:flex;flex-direction:column;min-width:0;width:min(1000px,calc(100vw - 40px));height:min(800px,calc(100dvh - 40px));padding:0;overflow:hidden}
.capture-preview-head {display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 22px;border-bottom:1px solid #d4e5f7}
.capture-preview-head .modal-close-x {position:relative;inset:auto}
.capture-preview-content {flex:1;min-width:0;min-height:0;padding:17px;overflow:auto;display:grid;place-items:center}
.capture-preview-content img,.quick-capture-preview img {display:block;max-width:100%;max-height:65dvh;height:auto;object-fit:contain}
.capture-preview-content pre,.quick-capture-preview pre {width:100%;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7}
.password-strength-modal-head {display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}
.password-strength-modal-close {display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:0;border:1px solid #cee0f7;border-radius:11px;background:#f1f7ff;color:#3e70b0;font-size:22px}
.totp-qr-camera-wrap {position:relative;width:100%;overflow:hidden;border-radius:14px;background:#0f2340}
.totp-qr-video {display:block;width:100%;max-height:55dvh;object-fit:cover}
.password-health-content {overflow:auto;max-height:60dvh;min-height:0}
.settings-page {display:none}
.settings-page.active {display:block}
body:has(.cw-shell) .settings-modal-window {display:flex;flex-direction:column;padding:0;overflow:hidden}
body:has(.cw-shell) #settingsModal .secret-modal-window-head {flex:0 0 auto}
body:has(.cw-shell) #settingsModal .settings-workspace {display:grid;flex:1;height:auto;min-height:0;grid-template-columns:195px minmax(0,1fr)}
.settings-nav {display:flex;flex-direction:column;align-items:stretch;min-width:0;gap:7px;padding:16px 12px;background:#f2f8ff;border-right:1px solid #d4e5fa}
.settings-nav-btn {min-height:44px;padding:10px 12px;text-align:left;border:1px solid transparent;border-radius:12px;background:transparent;color:#4b6f9b;font-size:13px;font-weight:600}
.settings-nav-btn:hover {background:#e9f4ff}
.settings-nav-btn.active {background:#e0efff;border-color:#bcd8fc;color:#0067ef}
.settings-content {min-width:0;min-height:0;overflow:auto;padding:20px;scrollbar-width:thin;scrollbar-color:#bbd8f8 transparent}
.settings-page h3 {margin-bottom:14px;font-size:21px}
.settings-row {display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px;margin-bottom:10px;border:1px solid #d7e6f9;border-radius:13px;background:#fff}
.settings-row>div {min-width:0;flex:1}.settings-row select {flex-shrink:0;max-width:150px}
.settings-note {color:#465870;font-size:12px;line-height:1.6;margin-top:4px;overflow-wrap:anywhere}
.settings-label {font-size:13px;font-weight:700}
.settings-export-note {padding:14px;border:1px solid #d3e5fa;border-radius:13px;background:#f0f7ff;color:#51729d;line-height:1.65;font-size:12px}
.settings-content .danger-zone {margin-top:20px;border:1px solid #ecd3da;background:#fff7f8;border-radius:13px}
.settings-content .trusted-devices-section {border:1px solid #d8e6fa;background:#fff}
.settings-select {min-height:44px}
.capture-floating-viewer-body {background:#eff6ff;min-width:320px;overflow:hidden}
.capture-floating-viewer-body::before {display:none}
.capture-floating-viewer-shell {height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr)}
.capture-floating-viewer-head {padding:17px 22px;background:#fff;border-bottom:1px solid #cddff4}
.capture-floating-viewer-brand {color:#0073ff;font-weight:700;font-size:14px;margin-bottom:5px}
.capture-floating-viewer-title {font-size:20px;font-weight:700;overflow-wrap:anywhere}
.capture-floating-viewer-meta {margin-top:4px;color:#465870;font-size:12px;overflow-wrap:anywhere}
.capture-floating-viewer-content {min-width:0;min-height:0;overflow:auto;padding:20px}
.capture-floating-viewer-image {display:block;max-width:100%;height:auto;margin:auto;object-fit:contain}
.capture-floating-viewer-text {margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,Consolas,monospace;font-size:14px;line-height:1.7}
.capture-floating-viewer-content.is-pdf {display:grid;place-items:center}
.capture-floating-viewer-pdf-card {width:min(560px,100%);padding:28px;text-align:center;background:#fff;border:1px solid #cfdef1;border-radius:17px}
.cw-v19-capture-modal,.cw-v19-text-capture-modal {padding:0}
.cw-v19-capture-grid {display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:17px}
.cw-v19-capture-choice {min-height:104px;padding:13px;border:1px solid #cee1fb;border-radius:16px;display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:11px;text-align:left;align-items:center;color:var(--cw-ink);background:linear-gradient(#fff,#f2f8ff)}
.cw-v19-capture-icon {grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;color:#0073ff;background:#e7f3ff;font-size:18px;font-weight:700}
.cw-v19-capture-choice strong {font-size:13px}
.cw-v19-capture-choice small {font-size:11px;color:#465870;align-self:start}
.cw-v19-text-capture-body {padding:17px}
.cw-v19-text-actions {justify-content:flex-end}

@media (min-width:1800px) {
  :root {--cw-panel-height:calc(100dvh - 155px);--cw-page-width:min(1810px,calc(100% - 100px))}
  .topbar {margin-top:27px;min-height:91px;margin-bottom:17px;gap:22px}
  #dashboardView>.vault-workspace {grid-template-columns:245px minmax(0,1fr);gap:16px}
  .cw-content-grid {gap:16px}
  .spaces-sidebar {padding:24px 17px}
  .secret-row,.file-row {min-height:85px}
  .secret-title {font-size:16px}
  .account-brand-icon {width:54px;height:54px;min-width:54px;flex-basis:54px}
  .account-brand-icon-image,.account-brand-icon img {width:46px;height:46px;max-width:46px;max-height:46px}
  .secret-meta {margin-left:66px;max-width:calc(100% - 66px);font-size:13px}
  .cw-detail-body {padding:20px 29px 29px}
  .cw-detail-body .secret-view-controls {min-height:50px}
  .cw-detail-body .secret-view-value {font-size:15px}
  .cw-detail-body .secret-view-label {font-size:14px}
}
@media (max-width:1500px) and (min-width:1101px) {
  .topbar {gap:12px;padding-left:15px}
  .brand {flex-basis:190px}.brand img {width:190px}
  .cw-desktop-vault-art {width:35px;height:35px;flex-basis:35px}
  .cw-desktop-vault-title-row {gap:6px}.cw-desktop-vault-title-row strong {font-size:18px}
  .cw-desktop-vault-status {font-size:11px;padding:3px 6px}
  .cw-desktop-vault-subtitle {max-width:210px;font-size:12px}
  .cw-desktop-vault-actions .btn {padding:8px 10px;font-size:12px}
  .top-actions .btn {padding:8px 10px;font-size:12px}
  .user-pill {max-width:120px;font-size:12px}
}
@media (max-width:1250px) and (min-width:1101px) {
  .cw-desktop-vault-summary {display:none}
  .cw-desktop-vault-actions {margin:auto}
  #dashboardView>.vault-workspace {grid-template-columns:185px minmax(0,1fr);gap:11px}
  .cw-content-grid {grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:11px}
  .spaces-sidebar {padding:17px 10px}.space-nav-item {padding-inline:8px;gap:9px;font-size:13px}
  .space-nav-icon {width:34px;height:34px;flex-basis:34px}
  .cw-detail-head {padding:16px;gap:10px}.cw-detail-body {padding:17px}
  .cw-detail-identity h2 {font-size:20px}
  .items-toolbar-right {grid-template-columns:minmax(0,1fr) 110px}
  .space-context-head {padding:18px 16px 12px}
  .secret-main {padding-right:43px}.secret-title {font-size:15px}
  .secret-row {padding:10px}.secret-meta {font-size:13px}
}

/* Tablet and phone use a real single panel: list → details, plus a drawer. */
@media (max-width:1100px) {
  :root {--cw-page-width:calc(100% - 28px);--cw-panel-height:auto}
  .topbar {position:sticky;top:10px;min-height:68px;margin:10px auto 12px;padding:8px 13px;border-radius:22px;gap:11px}
  .brand {flex:1;min-width:0}.brand img {width:190px;max-width:100%;max-height:50px}
  body:has(#dashboardView:not(.hidden)) .cw-desktop-vault-toolbar {display:none}
  .top-actions {margin-left:0;gap:7px}
  .user-pill,#settingsBtn,#lockVaultBtn,#signOutBtn {display:none!important}
  body:has(#dashboardView:not(.hidden)) .cw-mobile-menu-btn {display:flex}
  .cw-mobile-menu-btn {flex-direction:column;justify-content:center;align-items:center;gap:4px;order:3;width:44px;height:44px;min-width:44px;padding:9px;border:1px solid #c1dcff;border-radius:13px;background:linear-gradient(#fff,#ecf6ff)}
  .cw-mobile-menu-btn span {width:19px;height:2px;border-radius:2px;background:#0075ff}
  #dashboardView>.vault-workspace {display:block}
  .spaces-sidebar {position:fixed;left:0;top:0;bottom:0;z-index:1900;width:min(86vw,330px);height:100dvh;min-height:0;max-height:none;padding:23px 15px 18px;border-radius:0 26px 26px 0;border:1px solid #c2ddff;background:#f8fafc;transform:translateX(-105%);visibility:hidden;transition:transform .2s,visibility .2s;box-shadow:0 18px 80px -20px rgba(0,45,105,.6)}
  #dashboardView.cw-mobile-menu-open .spaces-sidebar {transform:translateX(0);visibility:visible}
  .spaces-sidebar-title {font-size:21px}.spaces-sidebar-head {padding-bottom:17px}
  .space-nav-item {min-height:55px;font-size:15px}
  .space-nav-row .cw-space-menu summary {width:44px;height:44px}
  .space-nav-row:has(.cw-space-menu) .space-nav-item {padding-right:55px}
  .spaces-list {flex:1}
  .cw-side-bottom {margin-top:12px;padding-top:15px}
  .cw-side-bottom button,.cw-mobile-session-actions button {min-height:44px;font-size:14px}
  .cw-mobile-session-actions {display:flex;flex-direction:column;gap:4px;margin-top:10px;padding:11px 6px 0;border-top:1px solid #c9def8}
  .cw-signout-dot {width:19px;height:19px;border:2px solid #6b94c4;border-radius:5px;position:relative}
  .cw-signout-dot::after {content:"";position:absolute;right:-5px;top:6px;width:8px;height:2px;background:#6b94c4}
  .cw-mobile-drawer-backdrop {display:block;position:fixed;inset:0;z-index:1850;border:0;background:rgba(11,40,82,.3);backdrop-filter:blur(4px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,visibility .2s}
  #dashboardView.cw-mobile-menu-open .cw-mobile-drawer-backdrop {opacity:1;visibility:visible;pointer-events:auto}
  body.cw-mobile-drawer-active {overflow:hidden}
  .cw-v19-hero {display:block;padding:20px;border:1px solid rgba(255,255,255,.9);border-radius:24px;background:var(--cw-glass);box-shadow:var(--cw-shadow);backdrop-filter:none}
  .cw-v19-hero-copy {display:block;width:100%;padding:0}
  .cw-v19-unlocked-badge {margin-bottom:8px;font-size:10px}
  .cw-v19-hero h1 {margin:0;font-size:32px;line-height:1.1;letter-spacing:-.04em}
  .cw-v19-hero p {margin:7px 0 0;font-size:13px;line-height:1.5;max-width:580px}
  .cw-v19-hero-visual {display:none}
  .cw-v19-primary-actions {display:flex;gap:10px;margin-top:15px}
  .cw-v19-primary-actions .btn {min-height:46px;padding:10px 15px;font-size:13px;flex:1}
  .cw-v19-action-copy strong {font-size:13px}
  .cw-v19-action-copy small {display:none}
  .cw-mobile-space-switcher {display:flex;align-items:center;gap:10px;min-width:0;padding:7px 9px;border:1px solid rgba(255,255,255,.8);border-radius:16px;background:rgba(255,255,255,.88);box-shadow:var(--cw-shadow);backdrop-filter:blur(12px)}
  .cw-mobile-space-label {font-size:11px;font-weight:700;color:#465870;flex:0 0 auto;padding-left:3px}
  .cw-mobile-space-pills {display:flex;gap:6px;min-width:0;overflow-x:auto;scrollbar-width:none}
  .cw-mobile-space-pills::-webkit-scrollbar {display:none}
  .cw-mobile-space-pill {flex:0 0 auto;min-height:44px;padding:8px 13px;border:1px solid #d3e4fb;border-radius:11px;background:#f7fbff;color:#365f91;font-size:12px;font-weight:600;white-space:nowrap}
  .cw-mobile-space-pill.active {border-color:#7cb8ff;background:#dfefff;color:#006be9}
  .cw-content-grid {display:block}
  .vault-main {height:auto;min-height:0;border-radius:24px}
  .space-context-head {min-height:85px;padding:16px 18px 12px}
  .space-context-title {font-size:26px}.space-context-subtitle {font-size:13px}
  .secrets-head {padding:10px 12px}
  #secretsContent {flex:none;max-height:none;min-height:0;overflow:visible;padding:3px 9px 10px}
  .secret-row {min-height:80px;margin:5px 0}
  .cw-list-quick-action {width:40px;height:40px}
  .cw-detail {display:none}
  #dashboardView.cw-has-selection .vault-main,#dashboardView.cw-has-selection .cw-v19-hero,#dashboardView.cw-has-selection .cw-mobile-space-switcher {display:none}
  #dashboardView.cw-has-selection .cw-detail {display:flex;position:relative;min-height:calc(100dvh - 145px);height:auto;border-radius:24px}
  #dashboardView.cw-has-selection #cwMobileBack {display:inline-flex;align-items:center;gap:6px;align-self:flex-start;min-height:44px;padding:9px 13px;border:1px solid #c1dfff;border-radius:12px;background:rgba(255,255,255,.94);box-shadow:var(--cw-shadow);color:#005de0;font-size:13px;font-weight:600}
  .cw-detail-head {min-height:96px;padding:17px 20px}.cw-detail-body {max-height:none;min-height:0;overflow:visible;padding:18px 22px 24px}
  .cw-detail-tabs {margin-inline:22px}
  .cw-detail-body .secret-action-btn {min-height:44px;font-size:13px}
  .cw-detail-body .secret-view-value {font-size:15px}
  .cw-detail-actions .btn {min-height:46px}
  .cw-detail .cw-attachment-add-btn {min-height:44px}
  .cw-detail-edit-btn {min-height:44px}
}
@media (max-width:600px) {
  :root {--cw-page-width:calc(100% - 20px)}
  body::before {background-position:58% center}
  .topbar {top:7px;gap:6px;min-height:64px;padding:7px 10px;margin:7px auto 10px;border-radius:20px}
  .brand img {width:158px;max-height:46px}
  .desktop-language-switcher {gap:0;padding:2px 3px;min-height:44px;border-radius:12px}
  .language-quick-btn {min-height:38px;padding:6px;font-size:11px}
  .language-quick-divider {font-size:10px}
  .cw-mobile-menu-btn {width:42px;height:44px;min-width:42px;border-radius:12px}
  main {padding-bottom:14px}
  .cw-body {gap:9px}
  .cw-v19-hero {padding:17px;border-radius:20px}
  .cw-v19-hero h1 {font-size:28px}
  .cw-v19-hero p {font-size:14px;line-height:1.5}
  .cw-v19-primary-actions {gap:8px;margin-top:13px}
  .cw-v19-primary-actions .btn {min-height:47px;padding:9px 10px;font-size:12px}
  .cw-v19-primary-actions .btn img {width:19px;height:19px}
  .cw-v19-action-copy strong {font-size:12px}
  .cw-mobile-space-label {display:none}
  .cw-mobile-space-switcher {padding:6px}
  .cw-mobile-space-pill {font-size:12px;padding:8px 11px}
  .vault-main,#dashboardView.cw-has-selection .cw-detail {border-radius:20px}
  .space-context-head {padding:14px 16px 11px;min-height:87px}
  .space-context-kicker {font-size:12px}.space-context-title {font-size:24px}
  .space-context-subtitle {font-size:13px}
  .items-toolbar-right {grid-template-columns:minmax(0,1fr) 102px;gap:6px}
  .item-sort {min-height:44px;padding:9px 6px;font-size:11px}
  .item-search input {min-height:44px;padding-left:32px;font-size:13px}
  .item-search img.cw-search-svg {left:10px;width:16px;height:16px}
  #secretsContent {padding-inline:7px}
  .secret-row {min-height:74px;padding:10px 9px;border-radius:14px}
  .secret-main {padding-right:40px}.secret-title {font-size:15px;gap:10px}
  .account-brand-icon,.cw-note-list-icon {width:44px;height:44px;min-width:44px;flex-basis:44px;border-radius:12px;font-size:20px}
  .account-brand-icon-image,.account-brand-icon img {width:38px;height:38px;max-width:38px;max-height:38px;border-radius:8px}
  .secret-meta {margin-left:54px;max-width:calc(100% - 54px);margin-top:-9px;font-size:13px}
  .secret-row-tags {margin-left:54px}
  .cw-list-quick-actions {right:26px;gap:3px}.cw-row-select {right:5px}
  .cw-list-quick-action {width:36px;height:40px;border-radius:10px}
  .cw-row-updated {font-size:11px;right:27px}
  .cw-detail-head {gap:10px;padding:16px 14px;min-height:93px}
  .cw-detail-mark {width:48px;height:48px;flex-basis:48px}
  .cw-detail-mark>img,.account-brand-icon-large {width:48px;height:48px;min-width:48px;flex-basis:48px;border-radius:14px}
  .account-brand-icon-large .account-brand-icon-image {width:42px;height:42px;max-width:42px;max-height:42px}
  .cw-detail-identity h2 {font-size:19px}
  .cw-detail-tools {gap:6px}
  .cw-detail-edit-btn {min-width:52px;padding:9px;font-size:11px;border-radius:11px}
  .cw-icon-button {width:40px;min-width:40px;height:44px;border-radius:11px}
  .cw-detail-body {padding:15px 14px 21px}
  .cw-detail-tabs {margin-inline:15px}
  .cw-detail-body .secret-view-label {font-size:14px}
  .cw-detail-body .secret-view-controls {padding-left:10px;min-height:48px}
  .cw-detail-body .secret-view-value {font-size:15px}
  .cw-detail-body .secret-action-btn {padding:7px 9px;font-size:13px}
  .cw-detail-actions {gap:7px}
  .cw-detail-actions .btn {min-width:0;padding:10px 9px;font-size:12px;white-space:normal}
  .cw-v19-attachment-cards {grid-template-columns:1fr}
  .cw-detail .account-attachment-view-row {grid-template-columns:1fr}
  .cw-detail .account-attachment-actions .btn {min-height:44px;padding-inline:13px}
  .cw-trash-mode .cw-account-trash-toolbar {flex-direction:column;align-items:stretch}
  .cw-trash-space-filter {max-width:none}
  .auth-card {margin:30px auto;padding:25px 22px;border-radius:22px}
  .auth-card h1,.auth-card h2 {font-size:26px}
  .modal-backdrop {padding:10px}
  .modal {max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:23px 18px}
  .cw-v19-capture-grid {grid-template-columns:1fr;padding:13px;gap:8px}
  .cw-v19-capture-choice {min-height:77px}
  .cw-v19-capture-modal,.cw-v19-text-capture-modal {padding:0}
  body:has(.cw-shell) #settingsModal .settings-workspace {grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
  body:has(.cw-shell) #settingsModal .settings-nav {display:flex;flex-direction:row;align-items:center;overflow-x:auto;gap:6px;padding:8px;min-width:0;border-right:0;border-bottom:1px solid #d4e5fa}
  body:has(.cw-shell) #settingsModal .settings-nav-btn {flex:0 0 auto;min-height:44px;padding:9px 12px;font-size:12px;white-space:nowrap}
  body:has(.cw-shell) #settingsModal .settings-content {padding:15px}
  .settings-row {align-items:flex-start;flex-direction:column;gap:10px}
  .settings-row select {max-width:100%;width:100%}
  .modal-close-x,.modal-window-toggle {min-width:44px;width:44px;min-height:44px;height:44px}
  .secret-modal-scroll,.export-modal-scroll,.import-modal-scroll,.choose-files-body {padding:15px}
  body:has(.cw-shell) .export-modal-window,body:has(.cw-shell) .import-modal-window,body:has(.cw-shell) .choose-files-modal,body:has(.cw-shell) #secretModalDialog,body:has(.cw-shell) .login-view-modal,body:has(.cw-shell) .note-view-modal {width:calc(100vw - 20px);height:calc(100dvh - 20px)}
  .secret-password-field {flex-wrap:wrap}
  .secret-password-field input {flex-basis:100%}
  .password-generator-actions .btn {flex:1;min-height:44px;padding-inline:10px;font-size:11px}
  .password-strength-info-btn {width:32px;height:32px;min-width:32px}
  .password-generator-close-x,.password-strength-modal-close {width:44px;height:44px;min-width:44px}
}
@media (max-width:350px) {
  .brand img {width:136px}
  .topbar {padding-inline:8px;gap:4px}
  .language-quick-btn {padding-inline:4px;font-size:10px}
  .cw-mobile-menu-btn {width:39px;min-width:39px}
  .cw-detail-head {gap:7px;padding:13px 11px}
  .cw-detail-identity h2 {font-size:17px}
  .cw-detail-edit-btn {min-width:45px;padding:7px}
  .cw-icon-button {width:36px;min-width:36px}
}
@media (max-width:960px) {
  body:has(.cw-shell) #settingsModal .settings-workspace {grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
  body:has(.cw-shell) #settingsModal .settings-nav {display:flex;flex-direction:row;align-items:center;overflow-x:auto;gap:6px;padding:8px;min-width:0;border-right:0;border-bottom:1px solid #d4e5fa}
  body:has(.cw-shell) #settingsModal .settings-nav-btn {flex:0 0 auto;min-height:44px;padding:9px 12px;font-size:12px;white-space:nowrap}
  body:has(.cw-shell) #settingsModal .settings-content {padding:15px}
}
@media (min-width:821px) and (max-width:1100px) {
  .cw-v19-hero,#dashboardView.cw-has-selection .cw-v19-hero {display:block;padding:13px 17px;border-radius:21px}
  .cw-v19-hero-copy {display:flex;align-items:center;justify-content:space-between;gap:12px}
  .cw-v19-unlocked-badge,.cw-v19-hero p {display:none}
  .cw-v19-hero h1 {font-size:25px;white-space:nowrap}
  .cw-v19-primary-actions {flex:0 0 310px;margin:0;gap:8px}
  .cw-v19-primary-actions .btn {font-size:12px}
  .cw-mobile-space-switcher,#dashboardView.cw-has-selection .cw-mobile-space-switcher {display:flex}
  .cw-content-grid {display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:12px}
  .vault-main,#dashboardView.cw-has-selection .vault-main {display:flex;height:calc(100dvh - 244px);min-height:450px}
  .cw-detail,#dashboardView.cw-has-selection .cw-detail {display:flex;position:relative;height:calc(100dvh - 244px);min-height:450px;border-radius:24px}
  #dashboardView.cw-has-selection #cwMobileBack {display:none}
  #secretsContent {flex:1;min-height:0;overflow:auto}
  .cw-detail-body {overflow:auto;min-height:0}
  .cw-detail-head {padding:16px;gap:9px}.cw-detail-body {padding:15px}
  .cw-detail-mark {width:48px;height:48px;flex-basis:48px}
  .cw-detail-mark>img,.account-brand-icon-large {width:48px;height:48px;min-width:48px;flex-basis:48px;border-radius:14px}
  .account-brand-icon-large .account-brand-icon-image {width:42px;height:42px;max-width:42px;max-height:42px}
  .cw-detail-identity h2 {font-size:19px}.cw-detail-tools {gap:6px}
  .cw-detail-edit-btn {min-width:58px;padding:8px 9px;font-size:11px}
  .cw-icon-button {width:40px;min-width:40px}
  .secret-title {font-size:15px}.secret-meta {font-size:13px}
  .items-toolbar-right {grid-template-columns:minmax(0,1fr) 110px}
  .cw-detail-body .secret-view-value {font-size:15px}
  .cw-detail .account-attachment-view-row {grid-template-columns:1fr}
  .cw-detail .account-attachment-actions .btn {min-height:40px}
}
html[lang=zh-CN] body {font-family:"Microsoft YaHei UI","PingFang SC","Segoe UI",sans-serif}
html[lang=zh-CN] .cw-desktop-vault-title-row strong,html[lang=zh-CN] .space-context-title,html[lang=zh-CN] .cw-detail-identity h2 {letter-spacing:0}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}




