/* Tools4U Word Design 1 / V7. Dashboard only; original document ribbon untouched. */
.wv4-start{background:#080f21;color:#e9efff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color-scheme:dark}
.wv4-nav{flex-basis:238px;background:#071326;border-color:#1b3556;padding:19px 14px}
.wv4-mark{padding:0 8px 30px;gap:12px;font-size:23px}
.wv4-mark img{height:44px;width:44px}
.wv4-nav h2{margin-bottom:4px;font-size:20px;color:#f3f6ff}
.wv4-nav nav{gap:5px}
.wv4-nav nav button{color:#bccae0;min-height:43px;border-radius:10px;font-size:14px;padding:10px 13px}
.wv4-nav nav button:hover,.wv4-nav nav button.active{background:#19448f;color:#fff;border-color:#2e6bca}
.wv4-nav-lower{border-top:1px solid #1c3151;gap:11px;padding:17px 11px 12px}
.wv4-main{background:radial-gradient(circle at 47% -20%,#1c2b5b7d,transparent 45%),#081326;padding:0 24px 30px;scrollbar-color:#2b4265 #081326}
.wv7-global{min-height:57px;border-bottom:1px solid #1b3255;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 -24px 25px;padding:0 24px;position:sticky;top:0;z-index:6;background:#09162bea;backdrop-filter:blur(12px)}
.wv7-global .wv7-links{display:flex;align-items:center;gap:17px;min-width:0;overflow:auto;scrollbar-width:none}
.wv7-global a{font-size:12px;font-weight:650;white-space:nowrap;color:#aebfdb;text-decoration:none}
.wv7-global a:hover,.wv7-global a[aria-current=page]{color:#fff}
.wv7-top-right{display:flex;align-items:center;gap:9px}
.wv7-top-right a{border:1px solid #2d4366;border-radius:8px;padding:8px 12px;background:#10223c}
.wv7-global .wv7-plan{font-size:11px;white-space:nowrap;padding:6px 10px;border-radius:999px;color:#c8d7ff;background:#1b3157;border:1px solid #37588e}
.wv4-head{margin-bottom:18px;align-items:center}
.wv4-overline{color:#85a9ff;letter-spacing:.17em}
.wv4-head h1{font-size:clamp(23px,2.8vw,32px);margin:4px 0 7px}
.wv4-head p{color:#a6bdd8}
.wv4-close{background:#203d73;color:#e9f3ff;border:1px solid #3c649b}
.wv4-notice{margin:10px 0 16px}
.wv7-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,345px);gap:18px;align-items:start}
.wv7-left,.wv7-right{min-width:0}
.wv7-hero{background:linear-gradient(125deg,#0a376d 0%,#0a234f 50%,#1e1b5a 100%);border:1px solid #2454a1;border-radius:17px;min-height:181px;padding:23px;display:flex;justify-content:space-between;align-items:center;gap:16px;box-shadow:0 8px 30px #0003;position:relative;overflow:hidden}
.wv7-hero:after{content:'';height:195px;width:195px;border-radius:50%;background:#7154eb3a;position:absolute;right:-76px;top:-65px;filter:blur(9px);pointer-events:none}
.wv7-overline{font-size:10px;letter-spacing:.17em;font-weight:800;color:#9bbcff;text-transform:uppercase}
.wv7-hero h2{font-size:clamp(23px,2.8vw,32px);line-height:1.17;margin:10px 0 7px;letter-spacing:-.7px}
.wv7-hero p{font-size:13px;line-height:1.6;color:#c4d5f0;max-width:480px;margin:0 0 15px}
.wv7-hero-points{display:flex;flex-wrap:wrap;gap:9px;font-size:10px;color:#e5f0ff}
.wv7-hero-points span{border:1px solid #466aa6;border-radius:999px;background:#102f5a;padding:6px 10px}
.wv7-hero img{width:116px;height:116px;object-fit:contain;filter:drop-shadow(0 15px 15px #05092180);flex:0 0 auto;position:relative;z-index:1}
.wv7-left .wv4-start-section,.wv7-right .wv4-start-section{margin:17px 0 20px}
.wv7-left .wv4-start-section h2,.wv7-right .wv4-start-section h2{font-size:17px;margin:0}
.wv4-section-title{margin-bottom:13px}
.wv4-action{background:#173c82;border:1px solid #3967b6;color:#e8f2ff;font-size:12px}
.wv4-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.wv4-tiles>button{min-height:155px;gap:7px;padding:13px!important;background:#122846;border:1px solid #274b79;border-radius:12px;box-shadow:0 7px 14px #050c1a27}
.wv4-tiles>button:hover{background:#1a3760;border-color:#4d84d6}
.wv4-tiles .wv4-tile-symbol{height:51px;width:52px;border-radius:11px;font-size:24px;color:#d5e7ff;background:#1a458b;border:1px solid #3970ca}
.wv4-tiles .wv4-tile-symbol.wv4-blank{background:#e8f1ff;color:#2357a5}
.wv4-tiles strong{font-size:13px}
.wv4-tiles small{font-size:11px;line-height:1.5;color:#a9c4e6}
#wv4-advanced-tile{display:none!important}
.wv7-templates-home{margin:15px 0 20px;padding:16px 16px 18px;background:#0e213c;border:1px solid #254165;border-radius:15px}
.wv7-heading-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.wv7-heading-row h2{margin:0;color:#f1f5ff;font-size:17px}
.wv7-heading-row button{border:0;background:transparent;color:#98bfff;font-size:12px;font-weight:700;cursor:pointer;padding:7px}
.wv7-mini-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}
.wv7-mini-filters button{background:#172e4d;color:#bdcfea;border:1px solid #2b4a73;border-radius:8px;font-size:11px;padding:7px 12px;cursor:pointer}
.wv7-mini-filters button[aria-pressed=true]{color:#fff;background:#2359b3;border-color:#3d76d3}
.wv7-template-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.wv7-template{background:#0d1b30;border:1px solid #274266;border-radius:9px;min-width:0;text-align:left;padding:9px;color:#fff;cursor:pointer;transition:background .15s}
.wv7-template:hover{background:#172b4c;border-color:#497fce}
.wv7-paper{background:#edf3fe;height:110px;border-radius:5px;display:flex;flex-direction:column;padding:13px 11px;gap:7px;box-shadow:0 4px 12px #030a1680;position:relative}
.wv7-paper:before{content:'';width:39%;height:4px;border-radius:3px;background:#3471cc;display:block;margin-bottom:5px}
.wv7-paper i{width:100%;display:block;height:3px;border-radius:4px;background:#b0c2de}
.wv7-paper i:nth-of-type(2){width:77%}.wv7-paper i:nth-of-type(3){width:88%}.wv7-paper i:nth-of-type(4){width:56%}
.wv7-template.premium .wv7-paper:before{background:#875eea}
.wv7-tier{position:absolute;bottom:6px;right:7px;background:#e0f4ff;color:#17558b;border-radius:4px;font-size:9px;font-weight:800;padding:3px 5px}
.wv7-template.premium .wv7-tier{background:#fff0ce;color:#935e0b}
.wv7-template strong{font-size:11px;line-height:1.4;display:block;margin-top:9px;min-height:30px}
.wv7-template small{display:block;color:#91aace;font-size:10px;line-height:1.35}
.wv7-right>.wv7-premium{border-radius:15px;border:1px solid #58358d;background:linear-gradient(140deg,#2b205e,#32145f);padding:19px;box-shadow:0 10px 28px #0002}
.wv7-premium h3{margin:0 0 8px;font-size:18px;display:flex;align-items:center;gap:7px;color:#f7efff}
.wv7-premium p{font-size:12px;color:#d3c6f8;line-height:1.55;margin:0 0 14px}
.wv7-premium .wv7-premium-items{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:10px;border-top:1px solid #654e9c}
.wv7-premium .wv7-premium-items span{font-size:11px;color:#e1d4fb}
.wv7-premium button,.wv7-premium a{display:inline-flex;border:0;background:linear-gradient(110deg,#7b4bef,#9046ec);padding:10px 16px;border-radius:9px;color:#fff;text-decoration:none;font-size:12px;font-weight:750;margin-bottom:13px;cursor:pointer}
.wv7-right .wv4-start-section[aria-label='Recent Word documents']{background:#10213b;border:1px solid #284363;border-radius:15px;padding:16px}
.wv7-right .wv4-section-title{flex-direction:column;align-items:stretch;gap:10px}
.wv7-right .wv4-search input{width:100%;background:#0d1b30;border-color:#324d77}
.wv7-right .wv4-doc{padding:10px 9px;gap:7px;border-color:#2a466d;background:#142a49}
.wv7-right .wv4-doc-actions{padding-left:0;width:100%;justify-content:flex-start}
.wv7-right .wv4-doc-actions button{padding:5px 8px;font-size:10px;min-height:28px}
.wv7-right .wv4-doc-icon{width:29px;height:31px}
.wv7-right .wv4-doc-icon img{width:28px;height:28px}
.wv7-right .wv4-doc-info strong{font-size:12px}
.wv7-right .wv4-doc-info small{font-size:10px}
.wv7-right .wv7-privacy-tile{border:1px solid #24466b;border-radius:13px;background:#0f2340;margin-top:16px;padding:14px;color:#b7ccea;font-size:11px;line-height:1.55}
.wv7-privacy-tile strong{display:block;color:#edf5ff;font-size:13px;margin-bottom:5px}
.wv7-left>.wv4-services{margin:15px 0;background:#111f36}
.wv4-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.wv4-service-grid button{background:#172b4b;border-color:#2d4d79}
.wv4-privacy{max-width:100%;margin:18px 0;color:#7f95b9}
.wv4-start :focus-visible{outline:2px solid #8eb8ff;outline-offset:3px}
.wv7-progress{height:5px;border-radius:4px;background:#29456b;margin-top:6px;overflow:hidden}
.wv7-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#3c92ff,#9360ff)}
.wv7-editor-tag{font-size:11px;color:#c2d9f7;background:#123667;border:1px solid #315ba4;border-radius:7px;padding:5px 9px;white-space:nowrap}
@media(max-width:1250px){.wv7-layout{grid-template-columns:minmax(0,1fr) 290px}.wv7-template-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){.wv7-layout{grid-template-columns:minmax(0,1fr)}.wv7-right{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wv7-right .wv4-start-section{margin:0}.wv7-right .wv7-privacy-tile{grid-column:1/-1;margin:0}.wv7-template-list{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.wv4-main{padding:0 14px 22px;overflow:visible}.wv7-global{position:static;min-height:46px;margin:0 -14px 14px;padding:0 14px}.wv7-global .wv7-links{gap:12px}.wv7-top-right a{display:none}.wv4-head{gap:8px;flex-direction:row;align-items:start}.wv4-close{font-size:11px}.wv7-layout{grid-template-columns:1fr}.wv7-hero{min-height:160px}.wv7-right{grid-template-columns:1fr}.wv7-right .wv4-start-section{margin:0}.wv7-template-list{grid-template-columns:repeat(3,minmax(0,1fr))}.wv4-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.wv4-tiles>button{min-height:136px;padding:10px!important}.wv4-tiles .wv4-tile-symbol{width:44px;height:44px;font-size:20px}.wv7-left .wv4-start-section{margin:13px 0 17px}}
@media(max-width:480px){.wv4-main{padding:0 11px 16px}.wv7-global{margin:0 -11px 12px;padding:0 11px}.wv7-global a{font-size:11px}.wv7-top-right{display:none}.wv4-head{flex-direction:column;margin-bottom:12px}.wv4-head h1{font-size:23px}.wv7-hero{padding:16px;min-height:132px}.wv7-hero h2{font-size:21px}.wv7-hero p{font-size:11px}.wv7-hero img{width:67px;height:67px}.wv7-hero-points span{font-size:9px;padding:5px 7px}.wv7-template-list{grid-template-columns:repeat(2,minmax(0,1fr))}.wv4-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.wv4-tiles>button{padding:8px!important;min-height:126px;gap:4px}.wv4-tiles strong{font-size:11px}.wv4-tiles small{font-size:9px;line-height:1.3}.wv4-tiles .wv4-tile-symbol{height:37px;width:37px;font-size:19px}.wv4-section-title h2{font-size:16px}.wv7-premium{padding:15px}.wv7-templates-home{padding:12px}.wv4-nav{border-bottom:1px solid #1c3559}}
@media(max-width:340px){.wv4-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.wv7-hero img{display:none}.wv7-global .wv7-links{gap:10px}}
@media print{.wv7-global,.wv7-hero,.wv7-templates-home{display:none!important}}
/* Mobile finishing pass: old desktop sidebar basis must not reserve 238px. */
@media(max-width:760px){
 .wv4-nav{flex:0 0 auto!important;min-height:0!important;padding:9px 11px!important}
 .wv4-mark{padding:0 3px 7px!important;font-size:18px!important}
 .wv4-mark img{height:34px!important;width:34px!important}
 .wv4-nav nav{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
 .wv4-nav nav button{min-width:0;white-space:nowrap;min-height:36px!important;font-size:12px!important}
}
@media(max-width:480px){
 .wv4-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .wv4-tiles>button:nth-child(3){grid-column:1/-1;min-height:96px!important}
 .wv4-tiles strong{font-size:12px}
 .wv4-tiles small{font-size:10px}
 .wv7-global{overflow:hidden}
}
