/* Windows has no flag emoji in Chrome, Edge or Opera; this font draws only the flags (Twemoji, CC-BY 4.0) and everything else stays DM Sans. */@font-face{font-family:'Twemoji Country Flags';src:url('/assets/twemoji-country-flags.woff2') format('woff2');unicode-range:U+1F1E6-1F1FF,U+1F3F4,U+E0062-E0063,U+E0065,U+E0067,U+E006C,U+E006E,U+E0073-E0074,U+E0077,U+E007F;font-display:swap}:root{--purple:#be00fd;--purple-dark:#9800cb;--ink:#252229;--muted:#857b8d;--bg:#fff;--line:#ebe5ef;--radius:22px;--shadow:0 8px 30px #39284508;font-family:'Twemoji Country Flags','DM Sans',Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.58}a{color:inherit;text-decoration:none}button{color:inherit}button,input,textarea,select{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #be00fd60;outline-offset:3px}button svg{pointer-events:none}.icon{width:20px;height:20px;display:block;flex-shrink:0}[hidden]{display:none!important}.sr-only{position:absolute!important;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap}.skip-link{position:fixed;top:-60px;left:16px;padding:12px;background:white;z-index:100}.skip-link:focus{top:12px}.boot-screen{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:30px}.loader{display:inline-block;width:22px;height:22px;border-radius:50%;border:2px solid #eadaef;border-top-color:var(--purple);animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 19px;min-height:43px;border:1px solid transparent;border-radius:100px;font-size:13px;line-height:1.4;font-weight:650;white-space:nowrap;transition:background .15s,box-shadow .15s,transform .15s}.button .icon{height:17px;width:17px}.button-primary{background:linear-gradient(180deg,#c811ff,#ad00e8);border-color:#d45aff;color:#fff;box-shadow:inset 0 1px 0 #ffffff30,0 4px 14px #be00fd18}.button-primary:hover{background:linear-gradient(180deg,#cf31ff,#bb08f6);box-shadow:0 6px 20px #be00fd28;transform:translateY(-1px)}.button-secondary{background:#fff;border-color:var(--line);color:#6d6376}.button-secondary:hover{background:#faf7fc;border-color:#d9cde2}.button-quiet{background:transparent;color:#817689;padding-inline:12px}.button-quiet:hover{background:#eee8f3;color:#43384d}.button-danger{background:#fff1f2;color:#a93645;border-color:#f6dadd}.button-danger:hover{background:#ffe5e9}.icon-button{display:grid;place-items:center;width:34px;height:34px;padding:6px;border:0;background:transparent;border-radius:10px;color:#8c8197}.icon-button:hover{background:#eee7f4;color:#5f516d}.icon-button .icon{width:18px;height:18px}.pill{display:inline-flex;align-items:center;gap:7px;border-radius:100px;padding:7px 10px;background:#f2edf6;color:#7d6d89;font-size:11px;font-weight:550}.pill-dot{width:6px;height:6px;border-radius:50%;background:#9a85aa}.muted{color:var(--muted)}
.workspace{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:240px minmax(0,1fr)}.sidebar{position:sticky;top:0;align-self:start;height:100dvh;background:#fff;border-right:1px solid #f0ebf4;padding:32px 20px 20px;display:flex;flex-direction:column}.brand{display:inline-flex;align-self:flex-start;padding:0 13px}.brand img{width:136px;height:auto;display:block}.workspace-name{display:flex;align-items:center;gap:11px;margin:39px 4px 32px;padding:12px;border:1px solid var(--line);border-radius:15px}.workspace-mark{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#f5e7fc;color:var(--purple);font-size:15px;font-weight:700}.workspace-name strong{font-size:12px;font-weight:650;display:block}.workspace-name small{display:block;font-size:10px;color:#9b90a3;margin-top:2px}.sidebar-label{font-size:9px;font-weight:650;letter-spacing:.14em;color:#a99caf;padding-left:15px;margin:0 0 12px}.nav-item{display:flex;align-items:center;gap:11px;border-radius:12px;padding:13px 15px;font-size:13px;font-weight:600;color:#9529b6;background:#f7edfc}.nav-item .icon{width:18px;height:18px}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-note{padding:15px 13px 23px;color:#a89eaf;font-size:11px;line-height:1.7}.user-button{width:100%;display:flex;align-items:center;gap:10px;text-align:left;background:#f5e9fb;border:1px solid #f0eaf4;border-radius:14px;padding:12px;cursor:pointer;transition:background .15s ease}.user-button:hover{background:#ecdaf5}.avatar{width:33px;height:33px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;font-weight:650;font-size:12px;color:#a327c9;background:#edddf6}
.user-button .avatar{background:var(--purple);color:#fff;border:0}.user-details{min-width:0;flex:1}.user-details strong{display:block;font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis}.user-details small{display:block;font-size:10px;color:#a398ab;margin-top:1px}.user-button>.icon{width:16px;height:16px;color:#a598ae}
.main{min-width:0;min-height:100dvh;padding:31px 38px 36px;display:flex;flex-direction:column;max-width:1920px;width:100%;margin:auto}.breadcrumb{display:flex;align-items:center;gap:10px}.breadcrumb .icon{height:14px;width:14px}.breadcrumb strong{color:#6b5c79;font-weight:500}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 30px}.page-eyebrow{font-size:9px;font-weight:650;letter-spacing:.15em;text-transform:uppercase;color:#a18eae;margin:0 0 9px}h1{font-size:34px;line-height:1.13;font-weight:650;letter-spacing:-.05em;margin:0}.heading-actions{display:flex;gap:10px}.board-panel{background:#fff;border-radius:24px;padding:23px;box-shadow:var(--shadow);min-height:calc(100dvh - 263px);display:flex;flex-direction:column;flex:1}.board-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:1px 0 23px;flex-wrap:wrap}.view-label{display:flex;align-items:center;gap:8px;color:#615069;font-size:12px;font-weight:600}.view-label .icon{width:16px;height:16px;color:#a73fca}.view-label small{font-size:10px;font-weight:450;color:#a698ae;margin-left:5px}.toolbar-actions{display:flex;align-items:center;gap:8px}.search{position:relative}.search .icon{position:absolute;width:15px;height:15px;top:11px;left:11px;color:#aa9daf}.search input{height:36px;width:200px;border:1px solid #eee8f3;border-radius:10px;background:#fbf9fc;padding:7px 12px 7px 34px;font-size:11px;color:#5d4f69}.search input::placeholder{color:#aa9daf}.search input:focus{border-color:#d398e7}.toolbar-actions .button{min-height:36px;font-size:11px;padding:8px 12px}.toolbar-actions .button .icon{width:15px;height:15px}.board-scroll{overflow:auto;padding:2px 2px 14px;scrollbar-width:thin;scrollbar-color:#e4d7eb transparent;flex:1}.board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,1fr);align-items:stretch;min-height:390px;height:100%;gap:15px}.column{min-width:0;background:var(--column-bg,#f7f4fa);border:1px solid transparent;border-radius:16px;padding:15px 12px 12px;display:flex;flex-direction:column;transition:border-color .16s,box-shadow .16s}.column.is-drop-target{border-color:#c57cdc;box-shadow:inset 0 0 0 1px #c57cdc60}.column-header{display:flex;align-items:center;gap:7px;padding:0 1px 12px}.column-title{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:650;margin:0;min-width:0;flex:1}.column-title .color-dot{width:8px;height:8px;background:var(--column-accent,#927ca7);border-radius:50%;flex-shrink:0}.column-title .title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.column-count{font-size:10px;font-weight:500;color:var(--column-accent);border-radius:6px;padding:2px 5px;min-width:18px;text-align:center;background:#ffffffa8}.column-header .icon-button{width:26px;height:26px;border-radius:8px}.column-header .icon-button .icon{height:15px;width:15px}.task-list{display:flex;flex-direction:column;gap:10px;min-height:40px;flex:1}.empty-column{padding:42px 8px 36px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px;color:#b4a9bf;user-select:none}.empty-column .icon{height:28px;width:28px;margin-bottom:6px;color:var(--column-accent);opacity:.55}.empty-column strong{font-size:11px;font-weight:500;color:#9b8ca7}.empty-column p{font-size:10px;line-height:1.6;margin:0;max-width:170px;color:#b0a2ba}.column-add{display:flex;align-items:center;gap:7px;border:0;padding:11px 9px;border-radius:9px;background:transparent;font-size:11px;color:#9b89a7;flex-shrink:0;text-align:left;min-height:38px;margin-top:10px}.column-add:hover{background:#ffffffa8;color:#715680}.column-add .icon{height:15px;width:15px}.task-card{background:#fff;border:1px solid #eae2ef;border-radius:12px;padding:14px;box-shadow:0 2px 5px #39284503;cursor:grab;position:relative;transition:box-shadow .16s,opacity .16s,transform .16s}.task-card:hover{box-shadow:0 5px 15px #3928450b;border-color:#d9cce4}.task-card.is-dragging{opacity:.45;transform:rotate(-1deg)}.task-open{border:0;background:none;display:block;padding:0;text-align:left;width:100%;line-height:1.5;font-size:12px;font-weight:550;color:#4c4057;overflow-wrap:anywhere}.task-description{font-size:10px;color:#a195a8;line-height:1.6;margin:8px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;pointer-events:none}.task-meta{display:flex;gap:7px;align-items:center;margin-top:12px;flex-wrap:wrap;pointer-events:none}.priority{font-size:9px;font-weight:550;padding:3px 6px;border-radius:5px;color:#859180;background:#f1f5ed}.priority-medium{color:#a98a50;background:#fbf4e7}.priority-high{color:#c77a79;background:#fcf0ed}.due-date{font-size:9px;display:flex;gap:4px;align-items:center;color:#ab9db4}.due-date .icon{height:12px;width:12px}.due-date.overdue{color:#c37579}.board-footnote{font-size:10px;color:#b2a6bb;display:flex;align-items:center;gap:6px;padding:18px 1px 0;margin:0}.board-footnote .icon{height:13px;width:13px}.board-error{margin:0 0 16px;padding:12px 15px;font-size:12px;line-height:1.5;border:1px solid #ecdcc0;border-radius:12px;background:#fffaef;color:#9b7442;display:flex;gap:12px;align-items:center;justify-content:space-between}.board-error button{border:0;background:transparent;padding:3px;font:inherit;color:inherit;font-weight:650}
.auth-shell{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:30px 20px;background:var(--bg)}.auth-card{width:100%;max-width:420px;background:#fff;border-radius:28px;box-shadow:0 18px 60px #50376608;padding:37px}.auth-logo{width:133px;display:block;margin-bottom:35px}.auth-card h1{font-size:29px;line-height:1.2}.auth-card .intro{font-size:13px;line-height:1.7;color:#928397;margin:9px 0 27px}.auth-card .button-primary{width:100%;margin-top:9px}.auth-note{font-size:10px;text-align:center;color:#aa9caf;margin:25px 0 0}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:19px;min-width:0}.field>label,.field>legend{font-size:12px;font-weight:550;color:#6d5c79}.field>label small{font-size:10px;color:#b0a0ba;font-weight:400;margin-left:5px}.field input,.field textarea,.field select{width:100%;min-width:0;background:#fdfbfe;border:1px solid #e8dfef;border-radius:11px;padding:12px 13px;color:#51465c;font-size:13px;line-height:1.45;transition:border-color .15s}.field input::placeholder,.field textarea::placeholder{color:#b4a7bd}.field input:focus,.field textarea:focus,.field select:focus{border-color:#c35ddb;background:#fff}.field textarea{resize:vertical;min-height:118px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field-help{font-size:10px;line-height:1.6;color:#a698af;margin:0}.password-input{position:relative}.password-input input{padding-right:47px}.password-input .icon-button{position:absolute;right:7px;top:6px}.form-error{font-size:12px;line-height:1.6;color:#b15b66;background:#fff1f3;padding:10px 12px;border-radius:9px;margin:0 0 18px}.form-error:empty{display:none}.account-email{padding:15px;background:#f8f4fb;border-radius:12px;display:flex;flex-direction:column;gap:3px;margin:22px 0;font-size:13px;overflow-wrap:anywhere}.account-email span{font-size:10px;color:#a18bad}.account-actions{display:flex;flex-direction:column;gap:10px}.account-actions button{justify-content:flex-start;border-radius:12px;width:100%;font-size:12px}
body.has-dialog{overflow:hidden}.dialog-overlay{position:fixed;inset:0;background:#2715314d;backdrop-filter:blur(5px);z-index:50;display:flex;align-items:center;justify-content:center;padding:24px}.dialog{display:flex;flex-direction:column;width:min(100%,510px);max-height:calc(100dvh - 48px);overflow:hidden;background:#fff;border-radius:24px;box-shadow:0 25px 90px #27153130;padding:0}.dialog-header{display:flex;flex:none;align-items:flex-start;justify-content:space-between;gap:15px;margin:0;padding:28px 28px 18px;border-bottom:1px solid #f0e9f5}.dialog-header h2{margin:0;font-size:24px;font-weight:650;letter-spacing:-.04em;line-height:1.25}.dialog-header p{margin:4px 0 0;font-size:12px;line-height:1.6;color:#a08fac}.dialog-header .icon-button{margin-top:-5px;margin-right:-5px;flex-shrink:0}.dialog-footer{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin-top:9px}.dialog-footer .delete-button{margin-right:auto;color:#bc8993;padding-inline:4px}.dialog-footer .delete-button:hover{color:#a74254;background:#fff0f3}.dialog-body-copy{font-size:13px;color:#9984a5;line-height:1.75;margin:0 0 23px}.dialog .field-row .field{margin-bottom:20px}.color-picker{border:0;padding:0;margin:0 0 24px;display:flex;flex-wrap:wrap;gap:10px}.color-picker legend{font-size:12px;color:#6d5c79;font-weight:550;margin-bottom:12px}.color-option{position:relative;display:block;cursor:pointer}.color-option input{position:absolute;opacity:0;width:32px;height:32px;margin:0}.color-option span{display:block;width:32px;height:32px;background:var(--swatch);border:5px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #eee4f4;transition:box-shadow .12s}.color-option input:checked+span{box-shadow:0 0 0 2px var(--swatch)}.color-option input:focus-visible+span{outline:3px solid #be00fd60;outline-offset:5px}.read-only-note{font-size:11px;color:#aa8f72;background:#fbf5ec;padding:12px;border-radius:10px;line-height:1.6;margin:0 0 18px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,12px);opacity:0;pointer-events:none;border:1px solid #e7deed;background:#fff;color:#7c698b;padding:12px 19px;font-size:12px;border-radius:14px;box-shadow:0 8px 35px #43304f18;z-index:80;transition:opacity .2s,transform .2s;max-width:calc(100% - 32px);text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}
/* Desktop spacing scales continuously; only the mobile layout needs a switch. */
@media(width > 760px){
  .workspace{grid-template-columns:clamp(220px,20vw,240px) minmax(0,1fr)}
  .sidebar{padding-inline:clamp(13px,1.6vw,20px)}
  .main{padding:clamp(25px,2vw,34px) clamp(25px,2.4vw,52px) clamp(25px,2.25vw,42px)}
  .board-panel{padding:clamp(19px,1.5vw,28px)}
  .board{grid-auto-columns:minmax(clamp(235px,20vw,250px),1fr);gap:clamp(12px,1vw,20px)}
  .column{padding:clamp(15px,1.2vw,19px) clamp(12px,1vw,15px) clamp(12px,1vw,15px)}
  .brand img{width:clamp(126px,11vw,136px)}
}
@media(max-width:760px){.workspace{display:block}.sidebar{position:relative;top:auto;height:auto;padding:20px 22px 15px;border:0;background:transparent;display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px}.brand{padding:0}.brand img{width:112px}.workspace-name,.sidebar-label,.sidebar-note{display:none}.sidebar nav{grid-row:2;grid-column:1/-1}.nav-item{padding:10px 13px;font-size:12px;background:#efe4f6;width:max-content}.sidebar-bottom{grid-column:2;grid-row:1;padding:0;margin:0}.user-button{border:0;background:#fff;width:37px;height:37px;padding:2px;border-radius:50%}.user-details,.user-button>.icon{display:none}.avatar{width:33px;height:33px}.main{padding:9px 19px 25px;min-height:0}.breadcrumb{font-size:10px}.page-heading{margin:12px 0 23px;align-items:center;gap:14px}h1{font-size:28px}.page-eyebrow{font-size:8px;margin-bottom:8px}.heading-actions .button{padding:10px 14px;font-size:11px;min-height:38px}.heading-actions .icon{height:14px;width:14px}.board-panel{border-radius:19px;padding:16px 13px 13px;min-height:460px}.board-toolbar{gap:15px;margin:1px 2px 18px}.view-label{font-size:11px}.toolbar-actions{width:100%;justify-content:space-between;gap:10px}.search{flex:1}.search input{width:100%;font-size:11px}.board{grid-auto-columns:minmax(240px,calc(100vw - 85px));gap:12px;min-height:350px}.board-scroll{scroll-snap-type:x proximity;overscroll-behavior-x:contain;padding-bottom:10px}.column{scroll-snap-align:start;padding:14px 11px 11px}.column-title{font-size:12px}.task-open{font-size:13px}.task-description{font-size:11px}.column-add{font-size:12px}.empty-column{padding-top:46px}.board-footnote{font-size:9px;padding-top:12px;line-height:1.6}.board-error{font-size:11px;align-items:flex-start}.dialog-overlay{padding:12px}.dialog{max-height:calc(100dvh - 24px);border-radius:21px}.dialog-header h2{font-size:24px}.field input,.field textarea,.field select{font-size:16px;padding:11px 12px}.field-help{font-size:11px}.dialog .button{min-height:42px;font-size:12px;padding-inline:16px}.dialog-footer{gap:7px}.dialog-footer .delete-button{padding-inline:0}.dialog-header{padding:24px 22px 16px}.auth-card{padding:29px;border-radius:24px}.auth-logo{width:126px}.auth-card h1{font-size:27px}.auth-shell{padding:20px}.auth-card .intro{font-size:12px}.field-row{gap:12px}.color-option span{width:34px;height:34px}#toast{bottom:18px}}
/* Keep the soft palette readable for everyday work. */
.sidebar-note,.user-details small,.breadcrumb,.view-label small,.board-footnote{color:#81708d}
.search input::placeholder,.field input::placeholder,.field textarea::placeholder{color:#897592}
.task-description,.column-add,.empty-column strong,.empty-column p,.field-help,.field>label small,.dialog-header p,.auth-card .intro,.dialog-body-copy{color:#796684}
.due-date,.account-email span,.auth-note{color:#83708e}
.priority{color:#526d49}.priority-medium{color:#8a6524}.priority-high{color:#a35150}

/* Native date controls must fit their grid track, including in iOS Safari. */
.dialog,.dialog form,.field-row,.password-input{min-width:0;max-width:100%}
.field-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.field input,.field textarea,.field select{min-inline-size:0;max-width:100%;max-inline-size:100%}
.field input:not([type="hidden"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]),.field select{height:45px;min-height:45px}
.field input[type="date"]{display:block;appearance:none;-webkit-appearance:none;inline-size:100%;min-width:0;min-inline-size:0;max-width:100%;max-inline-size:100%;overflow:hidden;text-align:left}
.field input[type="date"]::-webkit-date-and-time-value{min-width:0;min-height:1.45em;text-align:left}
.field input[type="date"]::-webkit-datetime-edit{min-width:0;padding:0}
.field input[type="date"]::-webkit-calendar-picker-indicator{flex:0 0 auto;margin:0;padding:0}
@media(max-width:760px){.field input:not([type="hidden"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]),.field select{height:48px;min-height:48px}}

/* An inset second border keeps the field dimensions fixed when focused. */
.field input:focus,.field textarea:focus,.field select:focus,.search input:focus{outline:none;border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple);background:#fff}
.field input:focus-visible,.field textarea:focus-visible,.field select:focus-visible,.search input:focus-visible{outline:none;outline-offset:0}


.sidebar nav{display:flex;flex-direction:column;gap:7px;margin-top:36px}
.nav-item{background:transparent;color:#796c84;transition:background .15s ease,color .15s ease;white-space:nowrap}
.nav-item:not(.is-disabled):not([aria-disabled="true"]):not(:disabled):hover{background:#ecdaf5;color:#9529b6}
.nav-item[aria-current="page"]{background:#f5e9fb;color:#9529b6}
.nav-item .icon{flex-shrink:0}
.nav-item.is-disabled{border:0;background:transparent;color:#a398ae;opacity:1;cursor:default;text-align:left;user-select:none}
.nav-item.is-disabled:hover{background:transparent;color:#a398ae}
.nav-item.is-disabled>span{white-space:nowrap}
.nav-status{font-size:9px;font-weight:450;color:#ad9fb7;white-space:nowrap}

/* Each undo notice owns its timer and remains individually actionable. */
#toast{display:flex;flex-direction:column;align-items:center;gap:8px;width:max-content;max-width:calc(100% - 32px);padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;opacity:1;transform:translateX(-50%);transition:none;text-align:left;pointer-events:none;bottom:calc(20px + env(safe-area-inset-bottom,0px))}
#toast:empty{display:none}
#toast.show{transform:translateX(-50%)}
.toast-item{position:relative;display:flex;align-items:center;gap:17px;width:100%;max-width:min(440px,calc(100vw - 32px));min-width:0;padding:12px 16px;border:1px solid #e7deed;border-radius:14px;background:#fff;color:#73617f;box-shadow:0 8px 35px #43304f18;overflow:hidden;opacity:0;transform:translateY(10px);transition:opacity .18s ease,transform .18s ease;pointer-events:none}
.toast-item.is-visible{opacity:1;transform:translateY(0);pointer-events:auto}
.toast-message{min-width:0;flex:1;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.toast-undo{flex:0 0 auto;min-height:34px;padding:7px 11px;border:0;border-radius:8px;background:#f5e9fb;color:#9722b7;font-size:12px;font-weight:650;line-height:1.35;transition:background .15s,color .15s}
.toast-undo:hover{background:#ecd5f6;color:#7d139d}
.toast-undo:disabled{cursor:wait}
.toast-progress{position:absolute;inset:auto 0 0;height:3px;background:#f0e4f6;pointer-events:none}
.toast-progress-fill{display:block;width:100%;height:100%;background:var(--purple);transform:scaleX(var(--toast-progress,1));transform-origin:left center}

@media(max-width:760px){
  :root{--workspace-bottom-nav:calc(68px + env(safe-area-inset-bottom,0px))}
  .workspace .sidebar{position:sticky;top:0;z-index:35;background:#fff;border-bottom:1px solid #eee6f2;box-shadow:0 5px 24px #39284508;padding-top:calc(16px + env(safe-area-inset-top,0px));padding-bottom:16px;padding-left:max(22px,env(safe-area-inset-left,0px));padding-right:max(22px,env(safe-area-inset-right,0px))}
  .workspace .brand{align-self:center}
  .workspace .brand img{width:104px}
  .workspace .main{padding-bottom:calc(25px + var(--workspace-bottom-nav));padding-left:max(19px,env(safe-area-inset-left,0px));padding-right:max(19px,env(safe-area-inset-right,0px))}
  .sidebar nav{position:fixed;inset:auto 0 0;z-index:35;grid-area:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:3px;height:var(--workspace-bottom-nav);margin:0;padding:7px max(12px,env(safe-area-inset-right,0px)) calc(7px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));border-top:1px solid #eee6f2;background:#fff;box-shadow:0 -5px 24px #39284508}
  .sidebar nav .nav-item{position:relative;flex-direction:column;justify-content:center;gap:4px;width:100%;min-width:0;min-height:54px;padding:7px 2px;border-radius:0;font-size:10px;font-weight:550;line-height:1.2;text-align:center}
  .sidebar nav .nav-item .icon{width:20px;height:20px}
  .sidebar nav .nav-item,.sidebar nav .nav-item:hover,.sidebar nav .nav-item[aria-current="page"],.sidebar nav .nav-item:not(.is-disabled):not([aria-disabled="true"]):not(:disabled):hover{color:#796c84;background:transparent}
  .sidebar nav .nav-item[aria-current="page"]>.icon{color:var(--purple)}
  .sidebar nav .nav-item::before{content:"";position:absolute;top:-7px;left:50%;width:28px;height:3px;border-radius:0 0 3px 3px;background:var(--purple);transform:translateX(-50%) scaleX(0);transition:transform .16s ease}
  .sidebar nav .nav-item[aria-current="page"]::before{transform:translateX(-50%) scaleX(1)}
  .sidebar nav .nav-item:focus-visible{outline-offset:-2px}
  .dialog-overlay{padding:max(12px,env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) max(12px,env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px))}
  .dialog{max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
  /* Let columns reach the white panel edges without crossing its rounded frame. */
  .board-panel{--board-breakout:13px;--board-edge-space:15px;overflow:hidden}
  .board-scroll{flex-shrink:0;width:calc(100% + 2 * var(--board-breakout));max-width:none;margin-inline:calc(-1 * var(--board-breakout));padding-inline:var(--board-edge-space);scroll-padding-inline:var(--board-edge-space);-webkit-overflow-scrolling:touch}
  .board{width:max-content;min-width:100%}
  .toast-item{gap:12px;padding:11px 13px;max-width:calc(100vw - 28px);border-radius:12px}
  #toast{max-width:calc(100% - 28px);bottom:calc(14px + env(safe-area-inset-bottom,0px))}
  #app:has(.workspace)~#toast{bottom:calc(14px + var(--workspace-bottom-nav))}
  .toast-undo{min-height:38px;padding-inline:12px}
}
@media(max-width:380px){
  .field-row{grid-template-columns:minmax(0,1fr);gap:0}
}
.avatar{overflow:hidden}
.avatar img{display:block;width:100%;height:100%;object-fit:cover}
.profile-photo{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:14px 18px;margin:0 0 22px}
.profile-photo .avatar-large{width:76px;height:76px;font-size:24px;box-shadow:0 0 0 1px #eadff0}
.profile-photo-details{min-width:0}
.profile-photo-details h3{margin:0 0 3px;font-size:14px;font-weight:650;color:#4c4057}
.profile-photo-help{margin:0 0 12px;color:#796684;font-size:11px;line-height:1.5}
.profile-photo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.profile-photo-actions .button{padding:7px 11px;min-height:34px;font-size:11px;border-radius:10px}
.profile-photo-actions .button-quiet{padding-inline:8px}
.profile-photo-status{grid-column:1/-1;color:#796684;font-size:12px;line-height:1.6}
.profile-photo-status:empty{display:none}
.profile-photo-save{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;padding-top:2px}
.profile-photo-save .button{min-height:39px;font-size:12px}
.profile-photo~.form-error{margin-top:18px;margin-bottom:0}
.profile-name-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:0 10px;margin:0 0 22px}
.profile-name-form .field{margin-bottom:0;min-width:0}
.profile-name-form>.button{min-height:44px;padding-inline:15px;border-radius:11px;font-size:12px}
.profile-name-form>.form-error{grid-column:1/-1;margin:12px 0 0}
.assignee-picker{min-width:0}
.assignee-control{display:flex;align-items:center;gap:6px;min-height:45px;padding:5px 6px 5px 9px;background:#fdfbfe;border:1px solid #e8dfef;border-radius:11px}
.assignee-control:focus-within{border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple);background:#fff}
.assignee-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;flex:1;min-width:0}
.assignee-placeholder{font-size:13px;color:#897592;padding-left:2px}
.assignee-trigger{flex:0 0 30px;width:30px;height:32px;padding:6px}
.assignee-trigger>.icon{width:17px;height:17px;color:#8c8197}
.assignee-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:3px 5px 3px 3px;border-radius:8px;background:#f0e7f6;color:#6d537c;font-size:11px;line-height:1.4}
.assignee-chip>button{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;margin:0;padding:3px;border:0;border-radius:5px;background:transparent;color:#8c729c}
.assignee-chip>button:hover{background:#e2d1ec;color:#614171}
.assignee-chip>button .icon{width:12px;height:12px}
.assignee-chip .member-avatar{width:22px;height:22px;flex-basis:22px;font-size:8px}
.member-avatar{width:25px;height:25px;font-size:9px;font-weight:650;flex:0 0 25px}
.member-avatar .icon{width:13px;height:13px}
.member-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.assignee-options{max-height:205px;overflow:auto;margin-top:7px;padding:5px;border:1px solid #e8dfef;border-radius:12px;background:#fff;box-shadow:0 7px 20px #3928450a;scrollbar-width:thin}
.assignee-option{display:flex;align-items:center;gap:9px;width:100%;min-height:42px;padding:8px;border:0;border-radius:8px;background:transparent;text-align:left;font-size:13px;color:#51465c}
.assignee-option-check{display:grid;place-items:center;flex:0 0 16px;width:16px;height:16px;border:1px solid #d5c6df;border-radius:4px;background:#fff;color:#fff}
.assignee-option-check>.icon{width:11px;height:11px;visibility:hidden}
.assignee-option[aria-selected="true"]{background:#f5eafb}
.assignee-option[aria-selected="true"] .assignee-option-check{background:var(--purple);border-color:var(--purple)}
.assignee-option[aria-selected="true"] .assignee-option-check>.icon{visibility:visible}
.assignee-option:hover{background:#faf4fd}
.assignee-option:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--purple);background:#faf4fd}
.assignee-error{margin:9px 0 0;color:#b15b66;font-size:11px;line-height:1.5}
.assignee-error:empty{display:none}
.task-card{padding:12px}
.task-heading{display:flex;align-items:flex-start;gap:9px;margin-bottom:7px;min-width:0}
.task-heading .task-tags{flex:1;min-width:0;margin-bottom:0}
.task-title-row{display:flex;align-items:flex-start;gap:9px;min-width:0}
.task-title-row>.task-open{flex:1;min-width:0}
.task-top-meta{display:flex;align-items:center;gap:5px;flex:0 0 auto;white-space:nowrap;pointer-events:none}
.task-title-row .task-top-meta{margin-top:1px}
.task-description{margin-top:4px}
.task-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;min-width:0}
.task-assignees{display:flex;flex-wrap:wrap;flex:1;gap:5px 8px;min-width:0;pointer-events:none}
.task-assignee{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;color:#796684;font-size:10px;pointer-events:none}
.task-assignee .member-avatar{width:20px;height:20px;flex-basis:20px;font-size:8px}
.subtask-count{display:inline-flex;align-items:center;gap:4px;margin-left:auto;color:#83708e;font-size:10px;line-height:1.5}
.subtask-count .icon{width:13px;height:13px}
.subtask-count.is-complete{color:#4d825d}
.subtasks-panel{margin:0 0 22px;padding:15px 14px;border:1px solid #eee6f3;border-radius:13px;background:#fdfbfe;min-width:0}
.subtasks-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.subtasks-heading h3{margin:0;color:#6d5c79;font-size:12px;font-weight:550}
.subtasks-heading>span{font-size:10px;color:#83708e;line-height:1.5;text-align:right}
.subtask-list{list-style:none;padding:0;margin:0 0 10px;max-height:240px;overflow:auto;scrollbar-width:thin;scrollbar-color:#e4d7eb transparent}
.subtask-row{display:grid;grid-template-columns:20px minmax(0,1fr) 28px;gap:7px;align-items:center;padding:4px 0}
.subtask-checkbox{width:17px;height:17px;min-width:17px;margin:0;accent-color:var(--purple);cursor:pointer}
.subtask-title{display:block;min-width:0;width:100%;height:35px;margin:0;padding:6px 7px;border:1px solid transparent;border-radius:7px;background:transparent;color:#51465c;font-size:12px;line-height:1.5}
.subtask-title:hover{background:#fff;border-color:#eee6f3}
.subtask-title:focus{outline:none;border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple);background:#fff}
.subtask-row.is-complete .subtask-title{color:#918398;text-decoration:line-through}
.subtask-remove{width:28px;height:30px;border-radius:7px;padding:5px}
.subtask-remove .icon{width:14px;height:14px}
.subtask-remove:hover{background:#fff0f3;color:#a74254}
.subtask-add{display:flex;align-items:center;gap:8px;min-width:0}
.subtask-entry{min-width:0;width:100%;height:38px;padding:8px 10px;border:1px solid #e8dfef;border-radius:9px;background:#fff;color:#51465c;font-size:12px;line-height:1.5}
.subtask-entry::placeholder{color:#897592}
.subtask-entry:focus{outline:none;border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple)}
.subtask-add .button{min-height:38px;padding:8px 11px;border-radius:9px;font-size:11px;flex-shrink:0}
.subtask-add .icon{width:14px;height:14px}
.subtask-error{margin:10px 0 0;color:#b15b66;font-size:11px;line-height:1.5}
.subtask-error:empty{display:none}
.tag-picker{min-width:0}
.tag-control{display:flex;align-items:center;gap:6px;min-height:45px;padding:5px 6px 5px 10px;border:1px solid #e8dfef;border-radius:11px;background:#fdfbfe}
.tag-control:focus-within{border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple);background:#fff}
.tag-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;flex:1;min-width:0}
.tag-placeholder{font-size:13px;color:#897592}
.tag-toggle{flex:0 0 30px;width:30px;height:32px;padding:6px}
.tag-chip{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:4px 7px;border-radius:6px;background:color-mix(in srgb,var(--tag-color) 10%,white);color:color-mix(in srgb,var(--tag-color) 75%,#252229);font-size:10px;font-weight:550;line-height:1.4}
.tag-chip>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tag-chip>button{display:grid;place-items:center;width:18px;height:18px;flex:0 0 18px;margin:-1px -3px -1px 0;padding:2px;border:0;border-radius:4px;background:transparent;color:inherit}
.tag-chip>button:hover{background:color-mix(in srgb,var(--tag-color) 13%,transparent)}
.tag-chip>button .icon{width:12px;height:12px}
.tag-dropdown{margin-top:7px;padding:9px;border:1px solid #e8dfef;border-radius:12px;background:#fff;box-shadow:0 7px 20px #3928450a}
.tag-field #tag-search{height:36px;min-height:36px;padding:7px 10px;font-size:12px;border-radius:8px;background:#fcf9fe}
.tag-options{max-height:184px;overflow:auto;margin-top:7px;scrollbar-width:thin;scrollbar-color:#e4d7eb transparent}
.tag-option{display:flex;align-items:center;gap:9px;width:100%;min-height:36px;padding:8px;border:0;border-radius:7px;background:transparent;text-align:left;font-size:12px;color:#51465c}
.tag-option>span:not(.tag-option-dot){min-width:0;overflow-wrap:anywhere}
.tag-option-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:var(--tag-color)}
.tag-option>.icon{width:15px;height:15px;visibility:hidden;margin-left:auto;color:#a327c9}
.tag-option[aria-checked="true"]{background:#f5eafb}
.tag-option[aria-checked="true"]>.icon{visibility:visible}
.tag-option:hover,.tag-option:focus-visible{background:#faf4fd}
.tag-option:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--purple)}
.tag-option-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 4px;flex:none}
.tag-option-row .tag-option{min-width:0}
.tag-manage{width:32px;height:32px;border-radius:8px}
.tag-manage .icon{width:17px;height:17px}
.tag-manage[aria-expanded="true"]{background:#f5eafb;color:#9529b6}
.tag-option-actions{grid-column:1/-1;display:flex;gap:4px;padding:3px 5px 7px 22px}
.tag-option-actions button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:6px 10px;border:0;border-radius:7px;background:transparent;color:#796c84;font-size:11px;transition:background .15s,color .15s}
.tag-option-actions button:hover{background:#f5eafb;color:#9529b6}
.tag-option-actions button[data-action="delete-tag"]{color:#a64e62}
.tag-option-actions button[data-action="delete-tag"]:hover{background:#fff0f3;color:#94394e}
.tag-option-actions .icon{width:14px;height:14px}
.tag-create{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;margin-top:5px;padding:8px;border:0;border-radius:7px;background:#faf4fd;color:#932bb1;text-align:left;font-size:12px}
.tag-create .icon{width:15px;height:15px}
.tag-create>span{min-width:0;overflow-wrap:anywhere}
.tag-create:hover{background:#f0def8}
.tag-no-results{margin:11px 8px;color:#83708e;font-size:11px;line-height:1.5}
.tag-error{margin:9px 0 0;color:#b15b66;font-size:11px;line-height:1.5}
.tag-error:empty{display:none}
.assignee-control,.tag-control{cursor:pointer;transition:border-color .15s,background .15s}
.assignee-control:hover,.tag-control:hover{border-color:#cdb7dc;background:#fcf8fe}
.assignee-control:focus-within:hover,.tag-control:focus-within:hover{border-color:var(--purple);background:#fff}
.assignee-options,.tag-options{display:flex;flex-direction:column;gap:4px}
.assignee-option,.tag-option{flex-shrink:0}
.assignee-trigger>.icon,.tag-toggle>.icon,.single-trigger>.icon{width:17px;height:17px;flex-shrink:0;color:#8c8197;transition:transform .16s ease}
.assignee-trigger[aria-expanded="true"]>.icon,.tag-toggle[aria-expanded="true"]>.icon,.single-trigger:not(.date-trigger)[aria-expanded="true"]>.icon{transform:rotate(180deg)}
.single-picker{min-width:0}
.single-picker input[type="hidden"]{display:none}
.single-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;height:45px;min-height:45px;padding:11px 12px;border:1px solid #e8dfef;border-radius:11px;background:#fdfbfe;color:#51465c;font-size:13px;line-height:1.45;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}
.single-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.single-trigger:hover{border-color:#cdb7dc;background:#fcf8fe}
.single-trigger:focus-visible,.single-trigger[aria-expanded="true"]{outline:none;border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple);background:#fff}
.single-trigger:disabled{cursor:wait;opacity:.65}
.single-options{display:flex;flex-direction:column;gap:4px;max-height:205px;overflow:auto;margin-top:7px;padding:5px;border:1px solid #e8dfef;border-radius:12px;background:#fff;box-shadow:0 7px 20px #3928450a;scrollbar-width:thin}
.single-option{display:flex;align-items:center;gap:9px;flex-shrink:0;width:100%;min-height:40px;padding:8px;border:0;border-radius:8px;background:transparent;text-align:left;font-size:13px;line-height:1.45;color:#51465c}
.single-option-label{min-width:0;overflow-wrap:anywhere}
.single-option>.icon{width:15px;height:15px;margin-left:auto;flex-shrink:0;visibility:hidden;color:#a327c9}
.single-option[aria-selected="true"]{background:#f5eafb}
.single-option[aria-selected="true"]>.icon{visibility:visible}
.single-option:hover,.single-option:focus-visible{background:#faf4fd}
.single-option:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--purple)}
.task-tags{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:9px}
.task-tags .tag-chip{font-size:9px;padding:3px 6px}
@media(max-width:760px){
  .profile-photo{grid-template-columns:64px minmax(0,1fr);gap:12px 14px}
  .profile-photo .avatar-large{width:64px;height:64px;font-size:21px}
  .profile-photo-actions .button{min-height:38px;padding:8px 10px;font-size:11px}
  .profile-photo-help{font-size:10px}
  .profile-name-form>.button{min-height:46px;padding-inline:12px}
  .assignee-control{min-height:48px}
  .assignee-placeholder{font-size:16px}
  .assignee-chip{font-size:12px}
  .assignee-chip>button{width:24px;height:24px;flex-basis:24px}
  .assignee-option{min-height:46px;font-size:14px}
  .task-assignee{font-size:11px}
  .subtasks-panel{padding:14px 11px}
  .subtask-row{grid-template-columns:22px minmax(0,1fr) 30px;gap:5px}
  .subtask-title,.subtask-entry{height:42px;font-size:16px}
  .subtask-checkbox{width:19px;height:19px;min-width:19px}
  .subtask-remove{width:30px;height:38px}
  .subtask-add .button{height:42px;min-height:42px;padding-inline:10px;font-size:12px}
  .tag-control{min-height:48px}
  .tag-placeholder{font-size:16px}
  .tag-chip{font-size:11px}
  .tag-chip>button{width:22px;height:22px;flex-basis:22px}
  .tag-field #tag-search{height:42px;min-height:42px;font-size:16px}
  .tag-option,.tag-create{min-height:42px;font-size:13px}
  .single-trigger{height:48px;min-height:48px;font-size:16px}
  .single-option{min-height:46px;font-size:14px}
  .task-tags .tag-chip{font-size:10px}
}
.column-header-actions{display:flex;align-items:center;gap:2px;flex-shrink:0}
@media(pointer:coarse){.column-header .icon-button{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.task-save-status{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap;margin:5px 0 0;font-size:11px;color:#85728f;line-height:1.5;overflow-wrap:anywhere}
.task-save-message{display:flex;align-items:center;gap:7px;min-width:0;flex:1 1 170px}
.task-save-message::before{content:"";width:6px;height:6px;border-radius:50%;background:#79a38c;flex:none}
.task-save-status[data-status="unsaved"] .task-save-message::before,.task-save-status[data-status="saving"] .task-save-message::before{background:#be00fd}
.task-save-status[data-status="saving"] .task-save-message::before{animation:task-saving-pulse .8s ease-in-out infinite alternate}
.task-save-status[data-status="error"]{color:#a64b65}
.task-save-status[data-status="error"] .task-save-message::before{background:currentColor}
.task-save-actions{display:flex;gap:12px;flex-wrap:wrap}.task-save-actions[hidden]{display:none}
.task-save-actions button{border:0;padding:3px 0;background:none;color:#a900dd;font:inherit;font-weight:600;cursor:pointer}
.task-save-actions button:last-child{color:#867090;font-weight:400}
@keyframes task-saving-pulse{to{opacity:.35}}
@media(prefers-reduced-motion:reduce){.task-save-status[data-status="saving"] .task-save-message::before{animation:none}}
.date-trigger{width:100%;text-align:left}.date-trigger .date-placeholder{color:#a494af}.date-trigger>.icon{width:17px;height:17px;flex:none;color:#947fa0}

/* The shell clips its rounded corners; only the inset body scrolls. */
.dialog-heading{min-width:0;flex:1}
.dialog-body{min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;margin:0 8px 14px 0;padding:20px 20px 14px 28px;scroll-padding-block:20px;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#d8c1e3 transparent}
.dialog-body::-webkit-scrollbar{width:6px}
.dialog-body::-webkit-scrollbar-track{background:transparent}
.dialog-body::-webkit-scrollbar-thumb{background:#d8c1e3;border-radius:999px}
.dialog-body::-webkit-scrollbar-thumb:hover{background:#bc92d0}
.dialog-body::-webkit-scrollbar-button{display:none;width:0;height:0}
@media(max-width:760px){.dialog-body{margin-right:6px;margin-bottom:12px;padding:18px 16px 12px 22px;scroll-padding-block:18px}}

/* The timeline shares the modal's scroll area and remains compact until opened. */
.task-history{margin-top:22px;border-top:1px solid var(--line);min-width:0}
.task-history>summary{display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 12px;padding:16px 0 4px;list-style:none;cursor:pointer;border-radius:8px;color:#776483}
.task-history>summary::-webkit-details-marker{display:none}
.task-history>summary::marker{content:""}
.task-history>summary:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--purple)}
.task-history>summary:hover .task-history-heading{color:var(--purple)}
.task-history-heading{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:600;transition:color .15s}
.task-history-heading .icon{width:17px;height:17px;color:#a582b6}
.task-history-summary{grid-column:1;grid-row:2;font-size:11px;line-height:1.5;color:#8e7c98;padding-left:25px;overflow-wrap:anywhere}
.task-history>summary>.icon{grid-column:2;grid-row:1/3;width:17px;height:17px;transition:transform .18s}
.task-history[open]>summary>.icon{transform:rotate(180deg)}
.task-history-content{padding-top:15px;min-width:0}
.task-history-list{margin:0;padding:0;list-style:none}
.task-history-entry{position:relative;margin:0 0 15px;padding:0 0 15px 17px;border-left:1px solid #e6d9ed}
.task-history-entry::before{content:"";position:absolute;left:-4px;top:9px;width:7px;height:7px;border-radius:50%;background:#c9a0dd;box-shadow:0 0 0 4px #fff}
.task-history-entry:last-child{margin-bottom:0;padding-bottom:5px;border-left-color:transparent}
.task-history-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 10px;min-width:0;margin-bottom:7px}
.task-history-person{display:flex;align-items:center;gap:7px;min-width:0;color:#6f597b;font-size:12px;font-weight:550}
.task-history-person .member-name{white-space:normal;overflow-wrap:anywhere}
.task-history-person .member-avatar{width:23px;height:23px;flex-basis:23px;font-size:8px}
.task-history-meta time{font-size:10px;color:#8e7c98;line-height:1.5}
.task-history-system{font-weight:500;color:#8e7c98}
.task-history-messages{list-style:none;padding:0;margin:0;display:grid;gap:4px;font-size:12px;color:#796684;line-height:1.6;overflow-wrap:anywhere}
.task-history-empty,.task-history-error p{margin:0 0 10px;font-size:12px;line-height:1.6;color:#8e7c98}
.task-history-error p{color:#a64b65}
.task-history-action{display:block;border:0;border-radius:8px;background:#f8f1fc;color:#a100d4;padding:9px 12px;margin-top:12px;min-height:38px;font-size:11px;font-weight:550}
.task-history-action:hover{background:#f0e3f8}
.task-history-action:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--purple)}
.task-history-action[aria-disabled="true"]{opacity:.65;cursor:wait}
@media(prefers-reduced-motion:reduce){.task-history>summary>.icon,.task-history-heading{transition:none}}

/* Planning fills the viewport; each list owns its vertical scroll position. */
.workspace-planning{height:100vh;height:100dvh;min-height:0;grid-template-rows:minmax(0,1fr);overflow:hidden}
.workspace-planning .sidebar{height:100%;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d8c1e3 transparent}
.workspace-planning .main{height:100%;min-height:0;margin:0 auto;overflow:hidden}
.workspace-planning .page-heading,.workspace-planning .board-error,.workspace-planning .board-toolbar,.workspace-planning .board-footnote{flex:none}
.workspace-planning .board-panel{flex:1 1 0;min-height:0;overflow:hidden}
.workspace-planning .board-scroll{flex:1 1 0;min-height:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;padding-bottom:9px;scrollbar-width:thin;scrollbar-color:#d8c1e3 transparent}
.workspace-planning .board{height:100%;min-height:0;grid-template-rows:minmax(0,1fr)}
.workspace-planning .column{height:100%;min-height:0;overflow:hidden}
.workspace-planning .column-header{flex:none}
/* Extend only the scrollport: the track sits 8px from the column edge. */
.workspace-planning .task-list-frame{display:flex;flex:1 1 0;min-height:0;margin-left:-2px;margin-right:-5px;overflow:hidden;border-radius:12px}
.workspace-planning .task-list{flex:1 1 0;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;padding:3px 4px 4px 2px;margin-left:-2px;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#d1b7df transparent;scroll-padding-block:10px;border-radius:12px;-webkit-overflow-scrolling:touch}
.workspace-planning .task-list:focus-visible{outline:2px solid #be00fd70;outline-offset:-2px}
.workspace-planning .task-list-frame>.task-list{width:100%;margin-left:0}
.workspace-planning .task-card,.workspace-planning .empty-column{flex:none}
.workspace-planning .empty-column{padding-block:clamp(18px,4vh,42px) 24px}
.workspace-planning .board-scroll::-webkit-scrollbar{height:6px}
.workspace-planning .task-list::-webkit-scrollbar,.workspace-planning .sidebar::-webkit-scrollbar{width:6px}
.workspace-planning .board-scroll::-webkit-scrollbar-track,.workspace-planning .task-list::-webkit-scrollbar-track,.workspace-planning .sidebar::-webkit-scrollbar-track{background:transparent}
.workspace-planning .board-scroll::-webkit-scrollbar-thumb,.workspace-planning .task-list::-webkit-scrollbar-thumb,.workspace-planning .sidebar::-webkit-scrollbar-thumb{background:#d1b7df;border-radius:999px}
.workspace-planning .board-scroll::-webkit-scrollbar-thumb:hover,.workspace-planning .task-list::-webkit-scrollbar-thumb:hover,.workspace-planning .sidebar::-webkit-scrollbar-thumb:hover{background:#bc92d0}
.workspace-planning .board-scroll::-webkit-scrollbar-button,.workspace-planning .task-list::-webkit-scrollbar-button,.workspace-planning .sidebar::-webkit-scrollbar-button{display:none;width:0;height:0}
.workspace-planning .board-scroll:focus-visible{outline:2px solid #be00fd70;outline-offset:-2px;border-radius:12px}
@media(max-width:760px){
  .workspace-planning{display:flex;flex-direction:column;overflow:clip}
  .workspace-planning .sidebar{height:auto;flex:none;align-self:stretch;overflow:visible}
  .workspace-planning .main{height:auto;flex:1 1 0;padding-bottom:calc(12px + var(--workspace-bottom-nav))}
  .workspace-planning .board-scroll{padding-bottom:8px}
  .workspace-planning .task-list-frame{margin-right:-4px}
  .workspace-planning .board-footnote{padding-top:8px}
}
@media(max-height:650px){
  .workspace-planning .main{padding-top:14px}
  .workspace-planning .page-heading{margin-top:0;margin-bottom:14px}
  .workspace-planning .board-toolbar{margin-bottom:12px;gap:10px}
  .workspace-planning .board-footnote{padding-top:7px}
  .workspace-planning .column-header{padding-bottom:8px}
}
@media(max-height:650px) and (width > 760px){
  .workspace-planning .main{padding-bottom:16px}
  .workspace-planning .board-panel{padding:14px}
}
@media(max-height:650px) and (max-width:760px){
  .workspace-planning .sidebar{padding-top:calc(9px + env(safe-area-inset-top,0px));padding-bottom:9px}
  .workspace-planning .main{padding-top:0}
}
/* At extreme zoom or landscape heights, keep every control reachable. */
@media(max-height:479px){.workspace-planning{height:480px}}

/* Planning is a set of separate white columns, not a card around the board. */
.workspace-planning .board-panel{
  border:0;
  border-radius:0;
  padding:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
.workspace-planning .board-toolbar{margin:0 0 24px;gap:0}
.workspace-planning .board-toolbar .search{flex:1;min-width:0;width:100%;border-radius:10px;background:#fff}
.workspace-planning .board-toolbar .search input{width:100%;height:42px;background:#fff}
.workspace-planning .board-toolbar .search .icon{top:14px}
/* Bleed only the scrollport into the page gutter so column shadows can paint.
   Compensating padding keeps the first/last columns aligned with the search.
   Keep its bottom inside the main area so the rail clears mobile navigation. */
.workspace-planning .board-scroll{
  --board-shadow-space:24px;
  width:calc(100% + 2 * var(--board-shadow-space));
  max-width:none;
  margin:calc(-1 * var(--board-shadow-space)) calc(-1 * var(--board-shadow-space)) 0;
  padding:var(--board-shadow-space);
  scroll-padding-inline:var(--board-shadow-space);
}
.workspace-planning .board{gap:20px}
.workspace-planning .column{
  --column-color:var(--column-accent,#927ca7);
  background:#fff;
  border-color:#eee8f3;
}
.workspace-planning .column-title{
  flex:0 1 auto;
  gap:7px;
  max-width:100%;
  padding:6px 10px;
  border-radius:999px;
  background:color-mix(in srgb,var(--column-color) 14%,white);
  color:color-mix(in srgb,var(--column-color) 55%,#282232);
  line-height:18px;
}
.workspace-planning .column-title .color-dot{width:7px;height:7px;background:var(--column-color)}
.workspace-planning .column-count{flex-shrink:0;min-width:0;padding:0;background:transparent;color:inherit;font-size:11px;font-weight:600}
.workspace-planning .column-header-actions{margin-left:auto}
.workspace-planning .column.is-drop-target{border-color:#d8c9e2}
.workspace-planning .task-card{
  --ticket-shadow:0 3px 7px -3px rgb(57 40 69 / .10),0 1px 2px rgb(57 40 69 / .035);
  border-color:#e8e1ee;
  box-shadow:var(--ticket-shadow);
  transition:box-shadow 220ms ease,background-color 400ms cubic-bezier(.4,0,.2,1),opacity 160ms ease,translate 250ms cubic-bezier(.22,.8,.25,1);
}
.workspace-planning .task-card:hover{
  --ticket-shadow:0 3px 7px -3px rgb(57 40 69 / .13),0 1px 2px rgb(57 40 69 / .045);
  box-shadow:var(--ticket-shadow);
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .workspace-planning .board-scroll:not(.is-task-reordering) .task-card:not(.is-dragging):not(.is-drag-source):not(.task-drag-image):hover:not(:active){translate:0 -2px}
  /* Keep the original bottom edge inside the hover area while the card lifts. */
  .workspace-planning .board-scroll:not(.is-task-reordering) .task-card:not(.is-dragging):not(.is-drag-source):not(.task-drag-image)::after{content:"";position:absolute;inset:auto 0 -2px;height:2px;background:transparent}
}
.workspace-planning .task-card:active,.workspace-planning .task-card.is-drag-source{
  box-shadow:0 3px 7px -3px rgb(57 40 69 / 0),0 1px 2px rgb(57 40 69 / 0);
}
/* The browser freezes this image at dragstart. Keep it shadowless; the live
   slot and returned card handle the shadow transition in the document. */
.workspace-planning .task-card.task-drag-image{
  position:fixed;
  z-index:1000;
  margin:0;
  box-shadow:none!important;
  opacity:1!important;
  transform:none!important;
  translate:none!important;
  transition:none!important;
  pointer-events:none;
}
.workspace-planning .task-list{position:relative}
.board-scroll.is-task-reordering .task-list{overflow-anchor:none}
/* Fixed 10px dashes / 7px gaps: native dashed borders vary too much by browser. */
.task-drop-placeholder{--drop-outline:#d8d2df;position:relative;box-sizing:border-box;flex:none;width:100%;border:0;border-radius:12px;background:#f2f0f5;pointer-events:none}
.task-drop-placeholder::before{
  content:"";position:absolute;inset:0;border-radius:inherit;background:var(--drop-outline);
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect x='1' y='1' style='width:calc(100%25 - 2px);height:calc(100%25 - 2px)' rx='11' fill='none' stroke='black' stroke-width='2' stroke-dasharray='10 7'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.task-card.is-drag-source{position:absolute;top:0;left:0;width:100%;visibility:hidden;pointer-events:none}
.task-list:has(.task-drop-placeholder, .task-card:not(.is-drag-source)) .empty-column{display:none}
@media(prefers-reduced-motion:reduce){
  .workspace-planning .task-card{transition:none}
}
.workspace-planning .heading-actions button[data-action="add-column"]{
  background:transparent;
  border-color:transparent;
  box-shadow:none;
  color:#817689;
  transition:color 200ms ease,transform 200ms ease;
}
.workspace-planning .heading-actions button[data-action="add-column"]:is(:hover,:focus-visible){
  background:transparent;
  border-color:transparent;
  box-shadow:none;
  color:#43384d;
}
@media(width > 760px){
  /* The navigation floats above horizontally scrolling Planning columns. */
  #app .workspace.workspace-planning > .sidebar{
    --surface-depth-shadow:initial;
    box-shadow:var(--surface-depth-soft);
    z-index:2;
  }
  .workspace-planning .column{--surface-depth-scroll-edge:soft}
  /* The three columns end at the same 24px viewport inset as the sidebar. */
  .workspace-planning .board-scroll{padding-bottom:var(--board-scrollbar-padding,0px);margin-bottom:calc(-1 * (var(--board-horizontal-scrollbar,0px) + var(--board-scrollbar-padding,0px)))}
}
@media(max-width:760px){
  .workspace-planning .board-scroll{--board-shadow-space:19px}
  .workspace-planning .board{gap:16px}
  /* iOS zooms focused inputs below 16px; preserve the user's viewport and pinch zoom. */
  .workspace .search input{font-size:16px}
}
@media(max-width:480px){
  .workspace-planning .page-heading{flex-wrap:wrap}
  .workspace-planning .heading-actions{margin-left:auto}
}

html .workspace-planning .due-date.is-complete{color:var(--ui-success,#358565)}
