html[data-service="drive"] {
  --ink:#27251f;--muted:#665d47;--edge:#e5dfce;--accent:#765100;--bg:#faf9f5;
}
html[data-service="drive"] header {background:#fff4d2;color:#27251f;border-bottom:1px solid #e8ddb9}
html[data-service="drive"] .create-link {color:#624700}
html[data-service="drive"] #nav [aria-current="true"] {background:#ffedaf;color:#493400}
.drive-storage {margin-top:1rem;font-size:.85rem;padding:10px;border:1px solid #e5dfce;border-radius:8px}
.drive-storage p {margin:0 0 .45rem}
.drive-storage progress {width:100%;accent-color:#c99521}
.drive-row {display:flex;align-items:center;justify-content:flex-start;gap:12px;border-radius:4px;background:white}
.drive-row:hover,.drive-row:focus-within {background:#fff7de}
.drive-icon {width:1.55rem;font-size:1.5rem;color:#986a00;text-align:center}
.drive-row[data-kind="sheet"] .drive-icon {color:#217346}
.drive-row[data-kind="doc"] .drive-icon {color:#245b9e}
.drive-row[data-kind="form"] .drive-icon {color:#7045aa}
.drive-menu {position:fixed;z-index:90;min-width:145px;background:#fff;padding:4px;border:1px solid #e3dcc7;border-radius:7px;box-shadow:0 8px 22px #28201428}
.drive-menu button {display:block;text-align:start;width:100%;border:0;background:#fff;color:#2d2b24}
.drive-menu button:hover,.drive-menu button:focus-visible {background:#fff2c8}
.drive-users {display:flex;flex-wrap:wrap;gap:6px;margin-block-end:12px}
.drive-users [aria-pressed="true"] {background:#ffedaf}
html[data-service="sheets"] header {background:#175638;color:#fff}
html[data-service="sheets"] #sharedTools {background:#edf7ef;border-color:#cbded0}
html[data-service="sheets"] [aria-selected="true"],html[data-service="sheets"] .selected {outline-color:#247348}
html[data-service="sheets"] #headerSharedTools a {color:white}
html[data-service="apps"] header {background:#653896}
html[data-service="apps"]:has(#view[data-kind="doc"]) header,html[data-service="apps"]:has(#docs-tab[aria-current="page"]) header {background:#1e4f91}
html[data-service="apps"]:has(#view[data-kind="doc"]) .tabs {background:#e8f1ff}
html[data-service="apps"]:has(#view[data-kind="form"]) .tabs {background:#f1e8fb}
.suite-language {margin-inline:.35rem;background:#fff;color:#222;border:1px solid #d5dacd;border-radius:6px;padding:.3rem .6rem;font:inherit;cursor:pointer}
html[lang="fa"] dialog,html[lang="fa"] .drive-menu {direction:rtl;text-align:start}
html[data-service="sheets"] #ribbon {background:#f1faf3;border-color:#c8ddce}
html[data-service="sheets"] #ribbon button:hover {background:#dcefe1}
html[data-service="sheets"] #grid td.selected {outline-color:#247348}
html[data-service="apps"]:has(#view[data-kind="doc"]) form button {background:#255ca4;color:white}
html[data-service="apps"]:has(#view[data-kind="doc"]) form button:hover {background:#194780}
html[data-service="apps"]:has(#view[data-kind="form"]) form button {background:#6f42a1;color:white}

/* Online Drive branding v1.5.1 */
.od-brand {display:inline-flex;align-items:center;gap:8px}
.od-brand-logo {display:inline-block;object-fit:contain;vertical-align:middle;flex:none}
html[data-auth-page] body {
  background:radial-gradient(ellipse at 20% 5%,#ffe8a0,transparent 58%),#fff8e4;
  color:#34280f;
}
html[data-auth-page] main {
  border-color:#eedaa1;
  box-shadow:0 18px 52px #6b44001c;
}
html[data-auth-page] main > .od-brand-logo {width:64px;height:64px}
html[data-auth-page] label {color:#493720}
html[data-auth-page] input {border-color:#d6c498}
html[data-auth-page] input:focus-visible,
html[data-auth-page] button:focus-visible,
html[data-auth-page] a:focus-visible {outline:2px solid #aa6b00;outline-offset:3px}
html[data-auth-page] form button {background:#ffc84c;color:#352500}
html[data-auth-page] form button:hover {background:#ffbc26}
html[data-auth-page] a {color:#795000}
