:root{font-family:Manrope,system-ui,sans-serif;color:#172b4d;background:#6e4c9b;font-synthesis:none}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;min-width:320px;overflow:hidden}button,input,textarea,select{font:inherit}button{color:inherit}.topbar{height:52px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#372057d1;color:#fff;border-bottom:1px solid rgba(255,255,255,.12);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.top-left,.top-actions{display:flex;align-items:center;gap:8px;min-width:0}.brand{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-weight:800;white-space:nowrap}.brand>span{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:#d8ff3e;color:#263400}.nav-button{height:32px;padding:0 10px;border:0;border-radius:6px;background:#ffffff21;color:#fff;font-weight:700;cursor:pointer}.nav-button:hover{background:#ffffff38}.board-name{padding-left:8px;border-left:1px solid rgba(255,255,255,.28);font-size:.88rem;font-weight:700;white-space:nowrap}.search{width:min(28vw,300px);height:32px;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid rgba(255,255,255,.3);border-radius:6px;background:#ffffff26;color:#fff}.search:focus-within{background:#fff;color:#172b4d}.search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:inherit;font-size:.8rem}.search input::placeholder{color:currentColor;opacity:.7}.search kbd{padding:1px 5px;border:1px solid currentColor;border-radius:4px;font-size:.62rem;opacity:.6}.primary,.secondary,.danger{height:36px;padding:0 14px;border:0;border-radius:7px;font-weight:700;cursor:pointer}.primary{background:#d8ff3e;color:#263400}.primary:hover{filter:brightness(.96)}.primary:disabled{opacity:.55;cursor:not-allowed}.topbar .primary{height:32px}.secondary{background:#dfe1e6}.danger{color:#ae2e24;background:#ffedeb}.avatar{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto;border:2px solid rgba(255,255,255,.7);border-radius:50%;background:#f4b860;color:#422d0d;font-size:.75rem;font-weight:800;cursor:pointer}.logout-button{height:30px;padding:0 8px;border:0;border-radius:6px;background:#ffffff1f;color:#fff;font-size:.72rem;cursor:pointer}.logout-button:hover{background:#fff3}main{height:calc(100% - 52px);padding:14px 12px 12px;overflow:hidden;background:radial-gradient(circle at 80% -20%,rgba(255,255,255,.16),transparent 40%),linear-gradient(135deg,#7651a7,#5c408b)}.board{height:100%;display:flex;align-items:flex-start;gap:12px;overflow-x:auto;overflow-y:hidden;padding:0 0 12px;scrollbar-color:rgba(255,255,255,.35) rgba(0,0,0,.12);-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.column{width:286px;max-height:100%;flex:0 0 286px;display:flex;flex-direction:column;padding:8px;border-radius:10px;background:#f1f2f4;box-shadow:0 1px #091e422e}.column[draggable=true]>header{cursor:grab}.column[draggable=true]>header:active{cursor:grabbing}.column>header{min-height:34px;display:flex;align-items:center;gap:8px;padding:2px 6px 8px}.column>header i{width:9px;height:9px;border-radius:50%}.column>header h2{margin:0;font-size:.88rem;font-weight:800;color:#172b4d}.column>header span{margin-left:auto;min-width:22px;height:22px;display:grid;place-items:center;border-radius:6px;background:#dfe1e6;color:#44546f;font-size:.7rem}.column>header button{width:26px;height:26px;border:0;border-radius:6px;background:transparent;font-size:1.05rem;cursor:pointer}.column>header button:hover{background:#dfe1e6}.card-list{min-height:8px;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:0 1px 2px;scrollbar-width:thin}.empty{margin:0;padding:18px 10px;border:1px dashed #b6bdc8;border-radius:8px;color:#626f86;text-align:center;font-size:.76rem}.add-card-inline{width:100%;margin-top:5px;padding:8px 9px;border:0;border-radius:7px;background:transparent;color:#44546f;text-align:left;font-size:.8rem;cursor:pointer}.add-card-inline:hover{background:#dfe1e6;color:#172b4d}.task-card{overflow:hidden;flex:0 0 auto;border-radius:8px;background:#fff;box-shadow:0 1px 1px #091e4240;cursor:grab;transition:box-shadow .15s,transform .15s}.task-card:hover{box-shadow:0 2px 5px #091e424d;transform:translateY(-1px)}.task-card:active{cursor:grabbing}.task-card.synced,.task-card.synced:active{cursor:pointer}.card-cover{position:relative}.card-cover>img{display:block;width:100%;max-height:150px;object-fit:cover}.card-cover>span{position:absolute;right:7px;bottom:7px;padding:3px 7px;border-radius:10px;background:#091e42c7;color:#fff;font-size:.68rem}.card-body{padding:10px 10px 8px}.label{width:42px;height:6px;display:block;overflow:hidden;margin-bottom:8px;border-radius:4px;background:var(--label-color);color:transparent;font-size:0}.task-card h3{margin:0;color:#172b4d;font-size:.86rem;line-height:1.35;font-weight:600}.task-card p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:6px 0 0;color:#626f86;font-size:.73rem;line-height:1.45}.task-card footer{display:flex;align-items:center;margin-top:8px;color:#626f86;font-size:.67rem}.task-card footer b{font-weight:600}.task-card footer>button{margin-left:auto;padding:1px 4px;border:0;border-radius:4px;background:transparent;color:inherit;cursor:pointer}.task-card footer button:hover{background:#f1f2f4}.mobile-card-move,.mobile-column-move{display:none}.card-meta{display:flex;flex-wrap:wrap;gap:5px 9px;margin-top:9px;color:#44546f;font-size:.68rem}.card-meta span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.new-column{width:286px;flex:0 0 286px;padding:8px;border-radius:10px;background:#fff3}.new-column>button{width:100%;padding:9px 10px;border:0;border-radius:7px;background:transparent;color:#fff;text-align:left;font-weight:700;cursor:pointer}.new-column>button:hover{background:#ffffff24}.new-column input{width:100%;padding:9px 10px;border:2px solid #7b61a8;border-radius:7px;outline:0;background:#fff;color:#172b4d}.new-column>div{display:flex;align-items:center;gap:7px;margin-top:7px}.cancel-column{width:34px;height:34px;border:0;border-radius:6px;background:transparent;color:#fff;font-size:1.4rem;cursor:pointer}.cancel-column:hover{background:#ffffff24}.error-banner{margin-bottom:10px;padding:9px 12px;border-radius:7px;background:#ffedeb;color:#ae2e24;font-size:.78rem;font-weight:600}.modal{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:14px;background:#091e428c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog{width:min(600px,100%);max-height:calc(100vh - 28px);overflow:auto;padding:24px;border-radius:12px;background:#f1f2f4;box-shadow:0 18px 60px #091e4261}.dialog>header{display:flex;justify-content:space-between;margin-bottom:18px}.eyebrow{margin:0 0 5px;color:#626f86;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.dialog h2{margin:0;color:#172b4d;font-size:1.35rem}.close{width:34px;height:34px;border:0;border-radius:7px;background:transparent;font-size:1.4rem;cursor:pointer}.close:hover{background:#dfe1e6}.image-drop{position:relative;min-height:130px;display:grid;place-items:center;overflow:hidden;margin-bottom:16px;border:1px dashed #a6afbf;border-radius:8px;background:#fff;cursor:pointer}.image-drop input{display:none}.image-drop>span{display:grid;justify-items:center;gap:4px;padding:20px;color:#626f86}.image-drop>span b{font-size:1.4rem}.image-drop>span strong{color:#172b4d;font-size:.82rem}.image-drop small{font-size:.68rem}.image-drop img{display:block;width:100%;height:190px;object-fit:cover}.image-drop button{position:absolute;right:9px;bottom:9px;padding:7px 9px;border:0;border-radius:6px;background:#091e42cc;color:#fff;font-size:.68rem}.image-drop.compact{min-height:74px}.image-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px;margin-bottom:10px}.image-gallery figure{position:relative;overflow:hidden;aspect-ratio:4 / 3;margin:0;border-radius:8px;background:#dfe1e6}.image-gallery img{width:100%;height:100%;object-fit:cover}.image-gallery button{position:absolute;top:5px;right:5px;width:25px;height:25px;border:0;border-radius:50%;background:#091e42cc;color:#fff;cursor:pointer}.image-gallery small{position:absolute;left:5px;bottom:5px;padding:2px 6px;border-radius:8px;background:#091e42bf;color:#fff;font-size:.62rem}.external-links{display:grid;gap:5px;margin:0 0 13px;padding:10px 12px;border-radius:7px;background:#fff;box-shadow:inset 0 0 0 1px #d5d9e0}.external-links strong{color:#44546f;font-size:.75rem}.external-links a{overflow:hidden;color:#3159a7;font-size:.73rem;text-overflow:ellipsis;white-space:nowrap}.field{display:grid;gap:6px;margin-bottom:13px}.field>span{color:#44546f;font-size:.75rem;font-weight:700}.field input,.field textarea,.field select{width:100%;padding:10px 11px;border:2px solid transparent;border-radius:7px;background:#fff;color:#172b4d;outline:0;resize:vertical;box-shadow:inset 0 0 0 1px #b6bdc8}.field input:focus,.field textarea:focus,.field select:focus{border-color:#7b61a8;box-shadow:none}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dialog>footer{display:flex;align-items:center;gap:8px;margin-top:20px}.dialog>footer>span{flex:1}.form-error{color:#ae2e24;font-size:.76rem}.sync-note{margin:4px 0 0;padding:10px 12px;border-radius:7px;background:#e9f0ff;color:#3159a7;font-size:.76rem}.login-shell{width:100%;height:100%;min-height:100%;display:grid;place-items:center;padding:20px;overflow:auto;background:linear-gradient(145deg,#7651a7,#4e3478)}.login-card{width:min(390px,100%);padding:30px;border-radius:16px;background:#f7f8fa;box-shadow:0 22px 70px #1f123259}.login-logo{width:48px;height:48px;display:grid;place-items:center;margin-bottom:18px;border-radius:12px;background:#d8ff3e;color:#263400;font-size:1.3rem;font-weight:800}.login-card h1{margin:0;color:#172b4d;font-size:1.55rem}.login-card>p{margin:7px 0 24px;color:#626f86;font-size:.85rem}.login-submit{width:100%;margin-top:5px}.users-dialog{width:min(720px,100%)}.login-link{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;padding:12px;border-radius:8px;background:#fff;box-shadow:inset 0 0 0 1px #d5d9e0}.login-link div{min-width:0;display:grid;gap:3px}.login-link span{color:#626f86;font-size:.7rem}.login-link strong{overflow:hidden;color:#172b4d;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.add-user-form{padding:16px;border-radius:9px;background:#fff;box-shadow:inset 0 0 0 1px #d5d9e0}.add-user-form h3,.users-list h3{margin:0 0 14px;font-size:.9rem}.users-list{margin-top:20px}.user-row{display:flex;align-items:center;gap:10px;padding:10px 2px;border-bottom:1px solid #dfe1e6}.user-avatar{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:#7b61a8;color:#fff;font-size:.75rem;font-weight:800}.user-row>div{min-width:0;display:grid}.user-row strong{font-size:.78rem}.user-row small{overflow:hidden;color:#626f86;font-size:.7rem;text-overflow:ellipsis}.user-row em{margin-left:auto;color:#626f86;font-size:.68rem;font-style:normal}@media(max-width:760px){.topbar{padding:0 8px}.nav-button,.board-name,.search kbd{display:none}.search{width:36px}.search input{display:none}.new-card{width:34px;padding:0}.new-card span,.logout-button{display:none}main{padding:10px 8px 8px}.board{scroll-snap-type:x mandatory;scroll-padding-left:8px;gap:10px}.column,.new-column{width:86vw;flex-basis:86vw;scroll-snap-align:start}.column>header{min-height:42px}.column>header h2{flex:1;min-width:0}.column>header>span{margin-left:0}.column>header>button{width:36px;height:36px;flex:0 0 auto}.mobile-column-move{display:flex;gap:3px}.mobile-column-move button{width:34px;height:34px;border:0;border-radius:6px;background:#dfe1e6;color:#44546f;font-size:1.25rem}.mobile-column-move button:disabled{opacity:.32}.add-card-inline{min-height:42px;font-size:.84rem}.mobile-card-move{display:flex;gap:5px;margin-left:auto;margin-right:6px}.mobile-card-move button{width:36px;height:32px;border:0;border-radius:6px;background:#f1f2f4;color:#44546f;font-size:1.25rem}.mobile-card-move button:disabled{opacity:.3}.task-card footer>button{width:34px;height:32px;margin-left:0}}@media(max-width:520px){.field-grid{grid-template-columns:1fr;gap:0}.dialog{padding:18px}.dialog>footer{flex-wrap:wrap}.login-card{padding:24px 20px}.login-link{align-items:stretch;flex-direction:column}.login-link .secondary{width:100%}.users-dialog{padding:18px}}
