/* 1:1 port of the Android Diary app (com.adpog.diary). 1 CSS px == 1 dp. Values come from the
   decoded layouts/drawables (see notes in each block). */

@font-face { font-family: Yesteryear; src: url(../assets/fonts/Yesteryear-Regular.ttf); font-display: block; }
@font-face { font-family: Handlee; src: url(../assets/fonts/Handlee-Regular.ttf); }
@font-face { font-family: 'Roboto Medium'; src: url(../assets/fonts/Roboto-Medium.ttf); }

:root {
  /* Theme.AppCompat (dark) */
  --primary: #212121;          /* colorPrimary: toolbar */
  --status: #303030;
  --android-accent: #80cbc4;           /* colorAccent: seek thumb, checkbox, dialog buttons */
  --dialog-bg: #424242;
  --drawer-bg: #303030;
  --menu-icon: #f4d936;        /* color/menu_icon */
  --row-bg: #ffffff;
  --row-pressed: #e5e5e5;      /* list_item1 pressed */
  --divider: #eeeeee;          /* list_divider */
  --badge-bg: #d8d8d8;
  --input-text: #222222;       /* color/textColor */
  --input-hint: #555555;       /* color/textColorHint */
  --edit-line: #dcdcdc;        /* LinedEditText rule (measured on device) */
  --note-lh: 1.103;            /* measured: 18.75dp line pitch at 17sp */
  --pitch: round(calc(var(--note-size) * var(--note-lh)), 1px);
  --semi: rgba(0, 0, 0, .333); /* #55000000 */
  --semi-pressed: rgba(0, 0, 0, .467);
  --theme: #dd0099;
  --theme-dark: #940066;
  --text: #313131;
  --note-size: 17px;
  --note-font: Roboto, system-ui, sans-serif;
  --note-weight: 400;
  --note-style: normal;
  --ui-font: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  --medium-font: 'Roboto Medium', var(--ui-font);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body {
  font: 14px/1.4 var(--ui-font);
  color: #fff;
  background: var(--status);
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; user-select: text; -webkit-user-select: text; }
svg { display: block; width: 100%; height: 100%; }
[hidden] { display: none !important; }

/* ---------- screens ---------- */
#app { position: fixed; inset: 0; background: var(--status); }
.screen {
  position: absolute; inset: var(--safe-top) 0 0 0;
  display: flex; flex-direction: column;
  background: var(--theme);
  overflow: hidden;
}

/* Toolbar: 56dp, title 20sp medium at x = 72dp */
.toolbar {
  flex: none; height: 56px; display: flex; align-items: center;
  background: var(--primary); color: #fff; padding: 0 4px;
  position: relative; z-index: 2;
}
.toolbar .title { flex: 1; margin-left: 20px; font-size: 20px; font-family: var(--medium-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { width: 48px; height: 48px; padding: 12px; border-radius: 50%; flex: none; color: #fff; }
.icon-btn:active { background: rgba(255, 255, 255, .15); }

/* ---------- note list (activity_main_content) ---------- */
.list-body { flex: 1; position: relative; overflow: hidden; }
.list-body .decor {
  position: absolute; right: 0; bottom: 0; width: 100%; height: auto;
  pointer-events: none;
}
.list-scroll { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 110px; }
.note-list { list-style: none; margin: 0; padding: 0; }
.note-row {
  display: flex; background: var(--row-bg); border-bottom: 1px solid var(--divider);
  cursor: pointer; position: relative;
}
.note-row:active { background: var(--row-pressed); }
.note-row .indicator { width: 4px; flex: none; margin-right: 6px; }
.note-row .content { flex: 1; min-width: 0; display: flex; align-items: center; padding: 6px 0; }
.note-row .texts { flex: 1; min-width: 0; margin: 0 10px; }
.note-row .title, .note-row .body {
  color: var(--text); overflow: hidden; text-overflow: ellipsis;
  unicode-bidi: plaintext; text-align: left;
}
.note-row .title { font-size: 16px; font-weight: 700; white-space: nowrap; line-height: 27px; }
.note-row .body { font-size: 14px; line-height: 23px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: pre-line; }
.note-row .body:empty { display: none; }

/* activity_main_list_item_date: 50dp min width, grey body, coloured band */
.badge { min-width: 50px; background: var(--badge-bg); text-align: center; flex: none; line-height: 1.25; }
.badge .b1 { font-size: 12px; font-weight: 700; color: #fff; background: #990000; padding: 0 3px; line-height: 16px; }
.badge .b2 { font-size: 16px; font-weight: 700; color: #000; line-height: 22px; }
.badge .b3 { font-size: 8px; font-weight: 700; color: #000; line-height: 11px; padding-bottom: 1px; font-family: var(--ui-font); }
.badge.s3 .b2 { font-size: 16px; }

/* search_result_bg */
.search-result {
  display: flex; align-items: center; margin: 10px; padding: 10px;
  background: var(--semi); border-radius: 4px; color: #fff;
}
.search-result .lbl { font-size: 12px; }
.search-result .q { font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result .grow { flex: 1; min-width: 0; }
.search-result .icon-btn { margin-left: 5px; }

/* FAB: 75dp, margin 16dp, icon 35dp, colour = theme darkened */
.fab {
  position: absolute; right: 16px; bottom: calc(16px + var(--safe-bottom));
  width: 75px; height: 75px; border-radius: 50%;
  background: var(--theme-dark); color: #fff; padding: 20px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, .3), 0 6px 10px rgba(0, 0, 0, .14);
  z-index: 3;
}
.fab:active { filter: brightness(1.15); }

/* ---------- navigation drawer ---------- */
.scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 10; }
.drawer {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(280px, calc(100vw - 56px));
  background: var(--drawer-bg); transform: translateX(-100%); transition: transform .25s cubic-bezier(.4, 0, .2, 1);
  z-index: 11; overflow-y: auto; display: flex; flex-direction: column;
  box-shadow: 0 0 16px rgba(0, 0, 0, .4);
}
.drawer-open .scrim { opacity: 1; pointer-events: auto; }
.drawer-open .drawer { transform: none; }
.nav-header { position: relative; min-height: 170px; background: var(--theme); display: flex; align-items: flex-end; flex: none; }
.nav-header .grad { position: absolute; inset: 0; }
.nav-header .grad svg { width: 100%; height: 100%; }
.nav-header .inner { position: relative; width: 100%; padding: 10px; }
.nav-header .row { display: flex; align-items: center; }
.nav-header .avatar { width: 75px; height: 75px; margin-left: 10px; color: #fff; flex: none; }
.nav-header .sp1 { flex: 1; } .nav-header .sp3 { flex: 3; }
.btn-rounded {
  background: var(--semi); color: #fff; border-radius: 28px; padding: 5px 20px;
  font-size: 18px; font-weight: 700; min-height: 48px; margin-right: 10px;
}
.btn-rounded:active { background: var(--semi-pressed); }
.nav-header .email { text-align: right; margin-right: 10px; min-height: 19px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-menu { padding: 8px 0; }
.nav-item { display: flex; align-items: center; height: 48px; width: 100%; padding: 0 16px; text-align: left; font-size: 14px; font-family: var(--medium-font); color: #fff; }
.nav-item:active { background: rgba(255, 255, 255, .08); }
.nav-item .ic { width: 24px; height: 24px; color: var(--menu-icon); margin-right: 32px; flex: none; }
/* NavigationView itemIconTint recolours every icon, including the multi-colour crown/facebook ones */
.nav-item .ic path:not([fill="none"]) { fill: currentColor; fill-opacity: 1; }
.nav-sep { height: 1px; background: #494949; margin: 8px 0; }

/* ---------- forms shared by note / codelock (input_nopad, input_form) ---------- */
.pad10 { padding: 10px; }
.field {
  display: flex; align-items: center; min-height: 48px;
  background: #fff; border: 1px solid #eee; border-radius: 7px; padding: 0 10px;
}
.field .ic { width: 48px; height: 48px; padding: 13px; color: var(--input-hint); flex: none; margin-left: -10px; }
.field input {
  flex: 1; min-width: 0; min-height: 48px; border: 0; outline: 0; background: #fff;
  font-size: 17px; color: var(--text); margin-left: 10px; padding: 0;
  unicode-bidi: plaintext;
}
.field input::placeholder { color: var(--input-hint); opacity: 1; }
.field.date { cursor: pointer; }
.field.date:active { background: #eee; }
.field.date input { pointer-events: none; background: transparent; }

/* ---------- note editor (activity_note) ---------- */
.note-scroll { flex: 1; display: flex; flex-direction: column; overflow: hidden; padding: 10px; gap: 10px; }
.editor-box {
  flex: 1; min-height: 0; background: #fff; border: 1px solid #eee; border-radius: 7px; padding: 10px; display: flex;
}
.lined {
  flex: 1; width: 100%; border: 0; outline: 0; resize: none; padding: 0; margin: 0;
  background-color: #fff;
  color: var(--text);
  font-family: var(--note-font); font-weight: var(--note-weight); font-style: var(--note-style);
  font-size: var(--note-size); line-height: var(--pitch);
  /* LinedEditText: a 1px line under every text line, scrolling with the text */
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--pitch) - 1px), var(--edit-line) calc(var(--pitch) - 1px), var(--edit-line) var(--pitch));
  background-attachment: local;
  unicode-bidi: plaintext;
}
.no-lines .lined { background-image: none; }
.lined::placeholder { color: var(--input-hint); opacity: 1; }
.field input.note-title { font-family: var(--ui-font); }

.emoji-bar { flex: none; background: #eee; overflow-x: auto; white-space: nowrap; padding-bottom: var(--safe-bottom); scrollbar-width: none; }
.emoji-bar::-webkit-scrollbar { display: none; }
.emoji-sheet { display: inline-grid; grid-template-columns: repeat(7, 50px); grid-auto-rows: 50px; vertical-align: top; }
.emoji-sheet button { font-size: 22px; line-height: 50px; text-align: center; color: #777; }
.emoji-sheet button:active { background: rgba(0, 0, 0, .1); }

/* ---------- centred info screens (export / reminder / about / codelock) ---------- */
.page { flex: 1; overflow-y: auto; display: flex; flex-direction: column; align-items: stretch; color: #fff; }
.page > .spacer { flex: 1 1 0; min-height: 16px; }
.page .big-icon { display: block; width: 100px; height: 100px; align-self: center; color: #fff; flex: none; }
.page .h1 { font-size: 25px; font-weight: 700; text-align: center; }
.page .h2 { font-size: 20px; font-weight: 700; text-align: center; margin: 20px 20px 0; }
.page .p { text-align: center; margin: 0 20px; font-size: 14px; }
.page .bold { font-weight: 700; }
.btn-semi {
  display: block; width: 100%; background: var(--semi); color: #fff; font-size: 15px; font-weight: 700;
  text-align: center; min-height: 48px; padding: 0 16px; text-transform: uppercase;
}
.btn-semi:active { background: var(--semi-pressed); }
.btn-semi.tall { min-height: 70px; }
.btn-semi + .btn-semi { margin-top: 3px; }
.btn-semi.small { font-size: 13px; margin-top: 1px; }
.page .bottom { padding-bottom: var(--safe-bottom); }

/* inc_diary_heading: "Diary" 75sp Yesteryear + slogan 15sp italic */
.heading { text-align: center; color: #fff; }
.heading .brand { font-family: Yesteryear, cursive; font-size: 75px; line-height: 1.3; text-shadow: 1px 3px 2px rgba(85, 85, 85, .33); }
.heading .slogan { font-size: 15px; font-style: italic; text-shadow: 1px 4px 1px rgba(85, 85, 85, .33); font-weight: 300; }

/* splash */
.splash { align-items: center; justify-content: center; text-align: center; z-index: 50; }
.splash .version { font-weight: 700; margin-top: 10px; }
.spinner { width: 48px; height: 48px; border-radius: 50%; border: 4px solid transparent; border-top-color: #fff; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- colours and style (activity_personalize) ---------- */
.style-page { padding: 20px; overflow-y: auto; flex: 1; color: #fff; display: flex; flex-direction: column; }
.style-page > .spacer { flex: 1 1 0; }
.style-page h3 { font-size: 18px; font-weight: 700; margin: 20px 0 10px; }
.style-page h3.first { margin-top: 0; }
.swatch-row { display: flex; align-items: center; }
.swatch-scroll { flex: 1; min-width: 0; overflow-x: auto; margin-right: 12px; scrollbar-width: none; }
.swatch-scroll::-webkit-scrollbar { display: none; }
.swatches { display: inline-flex; background: #fff; padding: 2px; gap: 2px; }
.swatches button { width: 48px; height: 48px; flex: none; }
.circle-btn { width: 48px; height: 48px; border-radius: 50%; background: #fff; padding: 1px; flex: none; position: relative; overflow: hidden; }
.circle-btn:active { background: rgba(255, 255, 255, .33); }
.circle-btn input[type=color] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.text-row { display: flex; align-items: flex-start; }
.preview {
  flex: 1; min-width: 0; max-height: 107px; overflow: hidden; margin-right: 12px;
  background: #fff; border: 1px solid #eee; border-radius: 7px; padding: 10px;
  color: var(--text); font-family: var(--note-font); font-weight: var(--note-weight); font-style: var(--note-style);
  font-size: var(--note-size); line-height: var(--pitch);
}
.preview {
  /* rules clipped to the content box; white fill on its own layer */
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--pitch) - 1px), #d4d4d4 calc(var(--pitch) - 1px), #d4d4d4 var(--pitch)), linear-gradient(#fff, #fff);
  background-origin: content-box, border-box;
  background-clip: content-box, border-box;
  background-repeat: no-repeat; /* stripes repeat inside the gradient; no tile above the text */
}
.no-lines .preview { background-image: linear-gradient(#fff, #fff); }
/* keep the colour-emoji fallback font from stretching the first line box */
.preview .emo { line-height: 0; }
.text-tools { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.font-btn { width: 48px; height: 48px; padding: 13px; color: #fff; border-radius: 4px; }
.font-btn:active { background: rgba(0, 0, 0, .13); }
.size-row { display: flex; align-items: center; margin-top: 10px; min-height: 48px; }
.seek { flex: 1; -webkit-appearance: none; appearance: none; height: 48px; background: transparent; margin: 0 16px; }
.seek::-webkit-slider-runnable-track { height: 16px; border-radius: 7px; background: rgba(255, 255, 255, .333); border: 1px solid rgba(255, 255, 255, .13); }
.seek::-moz-range-track { height: 16px; border-radius: 7px; background: rgba(255, 255, 255, .333); }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--android-accent); margin-top: 1px; }
.seek::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--android-accent); border: 0; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 700; min-height: 48px; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 2px solid #fff; border-radius: 2px; margin: 0 4px 0 0; display: grid; place-content: center; }
.check input:checked { background: var(--android-accent); border-color: var(--android-accent); }
.check input:checked::after { content: ""; width: 10px; height: 5px; border: solid var(--theme); border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.hr { height: 1px; margin: 16px 0 0; }
.date-styles { display: flex; justify-content: space-between; }
.date-styles button { padding: 3px; min-width: 48px; min-height: 48px; }
.date-styles button.sel { background: rgba(255, 255, 255, .45); }
.icon-row { display: flex; justify-content: space-between; margin-top: 10px; }
.icon-row button { width: 48px; height: 48px; border-radius: 50%; background: #fff; padding: 7px; }
.icon-row img { width: 100%; height: 100%; display: block; }

/* ---------- reminder ---------- */
.reminder-seek { margin: 20px 36px 0; }
.reminder-seek .seek { width: 100%; margin: 0; }

/* ---------- codelock ---------- */
.lock-form { margin: 10px 30px 0; background: #fff; border-radius: 7px; padding: 0 10px; color: var(--input-text); }
.lock-form .line { display: flex; align-items: center; }
.lock-form .ic { width: 48px; height: 48px; padding: 13px; color: var(--input-hint); flex: none; }
.lock-form input, .lock-form .q {
  flex: 1; min-width: 0; min-height: 48px; border: 0; outline: 0; background: #fff; padding: 10px;
  font-size: 17px; color: var(--input-text); text-align: left;
}
.lock-form .q { font-size: 18px; }
.lock-form .q.empty { color: var(--input-hint); }
.lock-form input::placeholder { color: var(--input-hint); opacity: 1; }
.lock-form .sep { height: 1px; background: #ccc; margin: 5px 0; }
.lock-screen .lock-form { margin: 0 30px; }

/* ---------- dialogs (AppCompat dark AlertDialog) ---------- */
.dialog-wrap { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 24px; }
.dialog {
  background: var(--dialog-bg); color: #fff; border-radius: 2px; width: 100%; max-width: 320px;
  box-shadow: 0 11px 15px rgba(0, 0, 0, .2), 0 24px 38px rgba(0, 0, 0, .14);
  max-height: 100%; display: flex; flex-direction: column;
}
.dialog .d-title { font-size: 20px; font-family: var(--medium-font); padding: 24px 24px 0; }
.dialog .d-msg { font-size: 16px; color: rgba(255, 255, 255, .7); padding: 20px 24px 0; white-space: pre-line; }
.dialog .d-body { padding: 20px 24px 0; overflow-y: auto; }
.dialog .d-actions { display: flex; justify-content: flex-end; padding: 8px 8px 8px 24px; margin-top: 16px; gap: 4px; flex-wrap: wrap; }
.dialog .d-actions button { min-width: 64px; min-height: 36px; padding: 0 8px; color: var(--android-accent); font-family: var(--medium-font); text-transform: uppercase; font-size: 14px; border-radius: 2px; }
.dialog .d-actions button:active { background: rgba(255, 255, 255, .1); }
.dialog .d-label { font-size: 14px; color: rgba(255, 255, 255, .7); }
.dialog input[type=text], .dialog input[type=search], .dialog select {
  width: 100%; background: transparent; border: 0; border-bottom: 2px solid var(--android-accent); color: #fff;
  font-size: 18px; padding: 8px 0; outline: 0; min-height: 48px; border-radius: 0;
}
.dialog select option { color: #000; }
.dialog .search-grid { display: flex; gap: 8px; }
.dialog .search-grid > div:first-child { width: 90px; flex: none; }
.dialog .search-grid > div:last-child { flex: 1; }
.dialog .list-choice button { display: block; width: 100%; text-align: left; padding: 14px 0; font-size: 16px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.dialog.light { background: #fff; color: #222; }
.dialog.light .d-body { padding: 0; }
.font-list button {
  display: block; width: 100%; height: 50px; padding: 0 25px; font-size: 25px; line-height: 50px; color: #222; background: #fff;
  text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px solid #eee;
}
.font-list button.sel { background: #e5e5e5; }
.progress-bar { height: 4px; background: rgba(128, 203, 196, .3); margin-top: 20px; overflow: hidden; }
.progress-bar::after { content: ""; display: block; height: 100%; width: 40%; background: var(--android-accent); animation: slide 1.2s infinite ease-in-out; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* popup menu (AppTheme.PopupOverlay = light) */
.popup-wrap { position: fixed; inset: 0; z-index: 90; }
.popup {
  position: absolute; background: #fff; color: #000; min-width: 196px; border-radius: 2px; padding: 8px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 8px 16px rgba(0, 0, 0, .2);
}
.popup button { display: flex; align-items: center; width: 100%; height: 48px; padding: 0 16px; font-size: 16px; text-align: left; }
.popup button:active { background: #eee; }

/* status_msg_bg: "Saving…" pill */
.status-msg {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: #ccc; color: #000; padding: 10px; border-radius: 10px; z-index: 120; text-shadow: 0 0 1px #fff;
  font-size: 14px; pointer-events: none;
}
.toast {
  position: fixed; left: 50%; bottom: calc(64px + var(--safe-bottom)); transform: translateX(-50%);
  background: #323232; color: #fff; padding: 12px 18px; border-radius: 24px; z-index: 120; font-size: 14px;
  max-width: calc(100vw - 32px); text-align: center; pointer-events: none;
}

/* MaterialDateTimePicker (wdullaer) v1 look: teal header, month grid, teal buttons */
.dialog.light .d-actions button { color: #009688; }
.dp { width: 100%; color: #212121; }
.dp-head { background: #009688; color: #fff; text-align: center; }
.dp-wd { background: #00796b; padding: 6px; font-size: 14px; }
.dp-sel { padding: 10px 0 14px; line-height: 1.05; }
.dp-m { font-size: 22px; opacity: .8; text-transform: uppercase; }
.dp-d { font-size: 64px; }
.dp-y { font-size: 22px; opacity: .8; }
.dp-nav { display: flex; align-items: center; padding: 8px 8px 0; }
.dp-month { flex: 1; text-align: center; font-weight: 700; font-size: 14px; }
.dp-arrow { width: 40px; height: 40px; font-size: 28px; color: #757575; border-radius: 50%; }
.dp-arrow:active { background: #eee; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); padding: 4px 12px 0; text-align: center; }
.dp-dow { font-size: 12px; font-weight: 700; color: #757575; line-height: 32px; }
.dp-day { height: 38px; font-size: 14px; color: #212121; border-radius: 50%; aspect-ratio: 1; margin: 1px auto; }
.dp-day.today { color: #009688; font-weight: 700; }
.dp-day.sel { background: #009688; color: #fff; font-weight: 700; }

/* ---------- account (activity_account_interim) ---------- */
.page .cloud-icon { display: block; width: 100%; height: 80px; color: #fff; flex: none; }
.page .cloud-icon svg { width: auto; height: 100%; margin: 0 auto; }
.page .h3 { font-size: 20px; text-align: center; margin: 0 20px; }
.benefits { margin: 0 20px; }
.benefit { display: flex; align-items: flex-start; font-size: 14px; }
.benefit .tick { width: 15px; height: 15px; margin: 2px 10px 0 0; color: #fff; flex: none; }

/* secret key dialog (fragment_import_dialog) */
.dialog input[type=password] {
  width: 100%; background: transparent; border: 0; border-bottom: 2px solid var(--android-accent); color: #fff;
  font-size: 18px; padding: 8px 0; outline: 0; min-height: 48px; border-radius: 0;
}
.dialog .d-error { color: #ff6e40; min-height: 20px; margin-top: 6px; font-size: 14px; }

/* codelock: recovery question button has a hairline on its left like the Android button */
.lock-form .q { border-left: 1px solid #e0e0e0; }

/* ---------- cloud account ---------- */
/* activity_main_list_item1 › sync_error: 16dp red rounded square, bottom-start, white icon */
.note-row .sync-error {
  position: absolute; left: 6px; bottom: 3px; width: 16px; height: 16px; padding: 2px;
  background: #ff0000; border-radius: 3px; color: #fff;
}
.status-icon { display: block; width: 30px; height: 30px; color: #fff; flex: none; }
.status-icon.spin { animation: spin 1.2s linear infinite; }
.auth-head { display: flex; align-items: center; gap: 16px; margin: 0 30px 20px; font-size: 22px; color: #fff; }
.auth-head .auth-cloud { width: 65px; height: 48px; flex: none; color: #fff; }
.page .lock-form input[type=email] { flex: 1; }
.page .bottom.row2 { display: flex; gap: 1px; }
.page .bottom.row2 .btn-semi { flex: 1; min-height: 70px; margin: 0; }
