@import url('https://fonts.googleapis.com/css2?family=Homemade+Apple&display=swap');
.swatch-blue { background: #23283a; }
.swatch-purple { background: #3c2e50; }
.swatch-red { background: #5f2222; }
.swatch-green { background: #3c543d; }
.swatch-orange { background: #ffb74da3; }
.swatch-yellow { background: #fff176a3; }
.note-yellow .note-close-btn,
.note-orange .note-close-btn {
  color: #23283a !important;
}
.tab-color-blue {
  background: #23283a !important;
  color: #e0e6f0 !important;
}
.tab-color-purple {
  background: #3c2e50 !important;
  color: #fff !important;
}
.tab-color-red {
  background: #5f2222 !important;
  color: #fff !important;
}
.tab-color-green {
  background: #3c543d !important;
}
.tab-color-orange {
  background: #ffb74da3 !important;
  color: #222 !important;
}
.tab-color-yellow {
  background: #fff176a3 !important;
  color: #222 !important;
}
.note-blue { background: #23283a !important; }
.note-purple { background: #3c2e50 !important; }
.note-red { background: #5f2222 !important; }
.note-green { background: #3c543d !important; }
.note-orange { background: #ffb74da3 !important; }
.note-yellow { background: #fff176a3 !important; }
.note-yellow .large-textarea,
.note-orange .large-textarea {
  color: #222 !important;
}
.note-blue .large-textarea,
.note-purple .large-textarea,
.note-red .large-textarea,
.note-green .large-textarea {
  color: #e0e6f0 !important;
}
.note-title-main {
  font-family: 'Homemade Apple', cursive;
  text-transform: lowercase;
  width: calc(90% - 20px);
  height: 75px;
  max-width: 980px;
  min-width: 450px;
  overflow: hidden;
  margin: 0 auto;
  text-align: left;
  font-size: 2.1rem;
  color: #1a1e29;
  margin-top: 20px;
  margin-bottom: 12px;
  margin-left: auto;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(31,38,135,0.18), 0 1px 0 #23283a;
  user-select: none;
}
.note-swatches, .note-info-bar {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  padding: 20px;
  background: #1a1e29;
  border-top: 3px solid #2c3142;
}
.note-info-bar {
  font-size: 0.8rem;
  padding: 15px 20px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.note-info-bar span, .note-info-bar p, .note-info-bar a {
  font-size: 0.8rem;
}
.swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  outline: 2px solid #b0bad6;
  cursor: pointer;
  transition: outline 0.2s, border 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(31,38,135,0.10);
  margin: 0 2px;
  position: relative;
}
.swatch.selected {
  outline: 3px solid #7ba0cf;
  border: 2px solid #23283a;
}
.note-close-btn {
  position: absolute;
  top: 0;
  right: 0;
  color: #b0bad6;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  padding: 28px 38px;
  line-height: 1;
  opacity: 0.7;
  transition: color 0.2s, opacity 0.2s;
  z-index: 10;
}
.note-close-btn:hover {
  color: #a3c0e9;
  opacity: 1;
}

.tab-content {
  position: relative;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Source Code Pro', monospace, Arial, sans-serif;
  background: #cac8e4;
  color: #e0e6f0;
  height: 100vh;
}
body::before {
  content: '';
  position: fixed;
  top: 0; 
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: repeating-linear-gradient(to bottom, rgba(26, 30, 41, 0.15) 0, rgba(26, 30, 41, 0.15) 1px, transparent 1px, transparent 30px), repeating-linear-gradient(to right, rgba(26, 30, 41, 0.15) 0, rgba(26, 30, 41, 0.15) 1px, transparent 1px, transparent 30px);
  background-size: 30px 30px;
  transform: rotate(0);
  z-index: 0;
  overflow: hidden;
}
.tabbed-container {
  z-index: 1000;
  width: 90%;
  max-width: 1000px;
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  background: #23283a;
  border: 3px solid #2c3142;
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tabs {
  display: flex;
  flex-direction: row;
  background: #1a1e29;
  border-bottom: 1px solid #2c3142;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
  scrollbar-color: #7ba0cf #23283a;
}

.tab {
  min-width: 90px;
  max-width: 180px;
  padding: 14px 18px;
  background: none;
  border: none;
  color: #b0bad6;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  outline: none;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.tab.active {
  background: #23283a;
  color: #fff;
  font-weight: bold;
  border-bottom: 3px solid #1a1e29;
}

.tab.add-tab {
  margin-left: auto;
  color: #b0bad6;
  font-size: 1.3rem;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.tab.add-tab:hover {
  color: #a3c0e9;
}

.tab-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.large-textarea {
  width: 100%;
  height: 100%;
  resize: none;
  border: none;
  outline: none;
  background: transparent;
  color: #e0e6f0;
  font-size: 1.2rem;
  padding: 32px;
  padding-left: 20px;
  padding-right: 75px;
  box-sizing: border-box;
  border-radius: 0 0 16px 16px;
  font-family: 'Source Code Pro', monospace, Arial, sans-serif;
}

@media (max-width: 700px) {
  .tabbed-container {
    max-width: 100vw;
    min-height: calc(100vh - 140px);
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .large-textarea {
    padding: 16px;
    font-size: 1rem;
  }
  .tabs {
    max-width: 100vw;
    overflow-x: auto;
  }
  .tab {
    min-width: 70px;
    max-width: 120px;
    padding: 10px 18px;
    font-size: 0.95rem;
  }
  .note-close-btn {
    padding: 16px;
    padding-right: 30px;
    font-size: 1.25em;
  }
  .note-swatches {
    padding: 16px;
  }
}
html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article, aside, footer, header, nav, section {
  display: block;
}

h1 {
  font-size: 1.5em;
  margin: 0;
  color: #1a1e29;
}

figcaption, figure, main {
  display: block;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b, strong {
  font-weight: inherit;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

audio, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button, input, optgroup, select, textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox], [type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details, menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: "";
  clear: both;
  height: 0;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

@font-face {
  font-family: "Source Code Pro";
  src: url(/fonts/source_code_pro/SourceCodePro-VariableFont_wght.ttf) format("truetype");
  font-display: swap;
}
* {
  font-size: 15px;
}

body, header, footer, button, select, a {
  color: #c0c5d2;
}

@media only screen and (max-width: 970px) {
  a {
    color: #84A59D;
  }
}

body, button, input, select {
  font-family: "Source Code Pro", monospace;
  font-display: swap;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
}

footer p, footer a {
  width: calc(90% - 20px);
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a1e29;
  max-width: 1000px;
  margin: 0;
}
@media only screen and (max-width: 970px) {
  footer p, footer a {
    width: 100%;
    font-size: 0.75rem;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

footer {
  height: 70px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 25px;
}

@media only screen and (max-width: 700px) {
  .note-title-main {
    min-width: 0;
    width: 100vw;
    font-size: 1.2rem;
    text-align: center;
    margin: 0 auto 10px auto;
    padding: 12px 0 0 0;
    height: auto;
    letter-spacing: 0.01em;
  }
  .tabbed-container {
    min-width: 0;
    width: 100%;
    max-width: 100vw;
    border-radius: 0;
  }
  footer {
    align-items: center;
    text-align: center;
  }
  footer p, footer a {
    width: 100%;
    text-align: center;
  }
}