:root{
  --postit-shadow:0 14px 36px rgba(20,44,42,.22),0 2px 7px rgba(20,44,42,.16);
  --postit-yellow:#fff2a9;
  --postit-blue:#cfeeff;
  --postit-green:#d8f4c7;
  --postit-pink:#ffd8e6;
  --postit-lilac:#e8dcff;
}
.top-actions .postit20-top-actions{display:flex;gap:8px;align-items:center;flex:0 0 auto}
.postit20-quick,.postit20-bell{white-space:nowrap}
.postit20-bell{position:relative}
.postit20-bell[data-state="active"]::after{content:"";position:absolute;right:5px;top:5px;width:8px;height:8px;border-radius:50%;background:#63b536;border:2px solid white}
.postit20-bell[data-state="blocked"]::after{content:"!";position:absolute;right:3px;top:1px;display:grid;place-items:center;width:14px;height:14px;border-radius:50%;font:bold 10px/1 system-ui;color:white;background:#b42318}
#postit20-layer{position:fixed;inset:0;pointer-events:none;z-index:850}
.postit20-note{position:fixed;display:flex;flex-direction:column;min-width:220px;min-height:120px;border:1px solid rgba(62,64,41,.19);border-radius:5px 5px 10px 10px;box-shadow:var(--postit-shadow);color:#303026;overflow:auto;resize:both;pointer-events:auto;isolation:isolate}
.postit20-note[data-color="yellow"]{background:linear-gradient(145deg,#fff8c8,var(--postit-yellow))}
.postit20-note[data-color="blue"]{background:linear-gradient(145deg,#e9f8ff,var(--postit-blue))}
.postit20-note[data-color="green"]{background:linear-gradient(145deg,#effbe7,var(--postit-green))}
.postit20-note[data-color="pink"]{background:linear-gradient(145deg,#ffedf3,var(--postit-pink))}
.postit20-note[data-color="lilac"]{background:linear-gradient(145deg,#f5efff,var(--postit-lilac))}
.postit20-note::before{content:"";position:absolute;inset:0 0 auto;height:8px;background:rgba(255,255,255,.36);pointer-events:none}
.postit20-note.is-overdue{border-color:#b42318}
.postit20-note.is-collapsed{height:48px!important;min-height:48px;resize:none;overflow:hidden}
.postit20-note.is-collapsed .postit20-body,.postit20-note.is-collapsed .postit20-footer{display:none}
.postit20-head{display:flex;align-items:center;gap:8px;padding:12px 10px 8px;cursor:grab;touch-action:none;user-select:none;border-bottom:1px solid rgba(62,64,41,.13)}
.postit20-head:active{cursor:grabbing}
.postit20-head strong{min-width:0;flex:1;font-size:15px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.postit20-head button{border:0;background:transparent;color:inherit;padding:3px 5px;line-height:1;border-radius:4px;cursor:pointer}
.postit20-head button:hover{background:rgba(255,255,255,.55)}
.postit20-body{flex:1;padding:10px 12px;overflow:auto;white-space:pre-wrap;font-size:14px;line-height:1.45}
.postit20-body p{margin:0 0 10px}
.postit20-meta{display:grid;gap:3px;margin-top:8px;padding-top:8px;border-top:1px dashed rgba(62,64,41,.24);font-size:11px;color:#5e604f}
.postit20-footer{display:flex;gap:6px;justify-content:flex-end;padding:8px 10px;background:rgba(255,255,255,.18)}
.postit20-footer button{border:1px solid rgba(62,64,41,.22);background:rgba(255,255,255,.55);color:#303026;border-radius:5px;padding:5px 8px;font:600 11px/1.2 system-ui;cursor:pointer}
.postit20-footer button:hover{background:white}
.postit20-footer .complete{color:#245d19}
.postit20-context{position:fixed;z-index:1300;min-width:228px;padding:6px;background:white;border:1px solid #cbd9d6;border-radius:8px;box-shadow:0 14px 40px rgba(9,47,43,.24)}
.postit20-context button{display:block;width:100%;padding:9px 11px;border:0;border-radius:5px;background:transparent;text-align:left;color:#173d39;cursor:pointer}
.postit20-context button:hover{background:#edf5f2}
.postit20-context hr{border:0;border-top:1px solid #e2ece9;margin:5px}
.postit20-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:14px}
.postit20-list-card{position:relative;border-top:5px solid #e7c746}
.postit20-list-card[data-color="blue"]{border-top-color:#62a8cf}.postit20-list-card[data-color="green"]{border-top-color:#79b85a}.postit20-list-card[data-color="pink"]{border-top-color:#d77da0}.postit20-list-card[data-color="lilac"]{border-top-color:#9d7acb}
.postit20-list-card .postit20-card-note{min-height:42px;white-space:pre-wrap}
.postit20-state{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.postit20-filter{display:flex;gap:8px;align-items:end;flex-wrap:wrap}
.postit20-filter label{min-width:190px}
.postit20-color-options{display:flex;gap:9px;flex-wrap:wrap}
.postit20-color-options label{display:flex;align-items:center;gap:5px;min-width:0}
.postit20-swatch{width:22px;height:22px;border-radius:50%;border:1px solid rgba(0,0,0,.2)}
.postit20-swatch.yellow{background:var(--postit-yellow)}.postit20-swatch.blue{background:var(--postit-blue)}.postit20-swatch.green{background:var(--postit-green)}.postit20-swatch.pink{background:var(--postit-pink)}.postit20-swatch.lilac{background:var(--postit-lilac)}
.postit20-help{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}
.postit20-help>div{padding:12px;border-radius:7px;background:#f0f6f4}
.postit20-help b{display:block;margin-bottom:4px}
@media(max-width:980px){.postit20-quick span{display:none}.postit20-note{max-width:calc(100vw - 16px)}.postit20-help{grid-template-columns:1fr}}
@media(max-width:720px){.top-actions{flex-wrap:wrap}.top-actions #globalSearch{order:2;width:100%}.postit20-note{left:8px!important;width:calc(100vw - 16px)!important;min-width:0;resize:vertical}.postit20-grid{grid-template-columns:1fr}}
@media print{#postit20-layer,.postit20-context,.postit20-top-actions{display:none!important}}
